Studios
Minigamesmini-2.jpg

Installation

FreeMinigamesStandalone
PAGE 02 OF 08  ·  OVERVIEW → INSTALLATION → CONFIGURATIONdocs.glitchstudios.dev
Browse docs

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#

  1. Download glitch-minigames and extract the whole resource, including the ui folder.

  2. Name the folder glitch-minigames (remove any -main suffix) and put it in your resources folder. The name is case-sensitive, and other scripts call exports['glitch-minigames'].

  3. Add it to server.cfg after 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-minigames
    
  4. Open shared/config.lua. The defaults work as they are, but decide how XP is awarded (see XP and Perks) and pick your themes.

  5. Optional: apply the ox_lib patch from Commands & Exports to route lib.skillCheck to Circle Click.

  6. To try the games, set config.DebugCommands = true, restart, and run /testall. Set it back to false before 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.