Requirements#
| Framework | None needed. Works with qbx_core (Qbox), qb-core, es_extended or no framework at all. |
| Resources | ox_lib. Tested with ox_lib 3.40.0 and qbx_core 1.24.0. |
| Database | None. There is no SQL to run. |
| Items | None. |
| Optional | glitch-xpSystem (hacking XP and perks), glitch-uiElements (keycap controls HUD and the Zero day prompt), glitch-notifications (result and perk popups), glitch-poolcleaning (net event reports). All of them are checked at run time, and the matching feature is skipped when one is not running. |
With qbx_core, qb-core or es_extended running, the XP cooldown and hourly cap are counted per character. Without a framework they are counted per licence.
Installation steps#
Download glitch-minigames and extract the whole resource, including the
uifolder.Name the folder
glitch-minigames(remove any-mainsuffix) and put it in yourresourcesfolder. The name is case-sensitive, and other scripts callexports['glitch-minigames'].Add it to
server.cfgafter ox_lib. Start any optional Glitch Studios resources you use before it:ensure ox_lib ensure glitch-uiElements # optional ensure glitch-notifications # optional ensure glitch-xpSystem # optional ensure glitch-minigamesOpen
shared/config.lua. The defaults work as they are, but decide how XP is awarded (see XP and Perks) and pick your themes.Optional: apply the ox_lib patch from Commands & Exports to route
lib.skillCheckto Circle Click.To try the games, set
config.DebugCommands = true, restart, and run/testall. Set it back tofalsebefore players join.
No ACE permissions are needed. The resource adds no player commands, and the test commands only exist while config.DebugCommands is on.
Updating#
Back up shared/config.lua, replace the rest of the folder, then merge any new settings from the new config into yours. Read CHANGELOG.md first. Version 2.6.0 renamed some perk keys and removed the old firewall-pulse:*, backdoor-sequence:*, circuit-rhythm:completeGame and bruteforce:uiSequenceComplete events, so scripts that used them should call the exports instead. If you patched ox_lib for the skill check redirect, apply the patch again after every ox_lib update.