"Operating System Detector" updated: Adds commands, utilizes LuaJIT if available

TPH
2025-08-16T13:49:29Z
release

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