Operating System Detector

Operating System Detector by TPH

Name: 1.1
Title: Adds commands, utilizes LuaJIT if available

Adds 2 new functions os_detector.get_architecture - returns "Unknown" if LuaJIT is not detected os_detector.is_mobile - returns true or false depending on if the Operating System's name is detected as being that of a mobile device

Renames global to os_detector, keeping OS_detector for backwards compatibility

Provides several new commands prefixed with /osd command

/osd os - prints operating system's name /osd is_mobile/mobile - tells you whether or not your device is detected as being mobile, mentions operating system name as well /osd architecture/arch - prints the operating system's detected architecture (if LuaJIT is enabled, returns "Unknown" otherwise)

IF SINGLEPLAYER: /osd modpath - prints the modpath for the mod

URL: /uploads/d2ae946fd6.zip

Commit Hash: b6f02b39fd5715586373fea4ca0a2663b991dc48