Studios
Govhouse-3.jpg

Troubleshooting

SoonGovQbox
PAGE 05 OF 06  ·  EXAMPLES → TROUBLESHOOTING → COMMANDS & EXPORTSdocs.glitchstudios.dev
Browse docs

The terminal opens but all figures are zero#

The figures come from the glitch-treasury ledger. Check that glitch-treasury starts before glitch-gov and that your Config.State.Routes match the ledger kinds it writes.

No budget email arrives#

Emails go through sd-phone, and the sender picture needs the Glitch Studios patched sd-phone (the from.avatar field). Without sd-phone a save still works and nothing is sent. Also check that Config.State.Settings.announce is true.

The Boss office or Wardrobe option is missing#

Both are hidden when their target is not configured or not running. Set Config.State.Actions to a resource and event that exist on your server.

/govadmin does nothing#

It needs glitch-uiElements running and the command.govadmin ACE permission from the installation steps. The command is restricted to group.admin, and every admin callback checks the permission again on the server.

A lever has no effect#

Industry levers only act when the matching resource runs and reads GlobalState['glitch-gov:levers'] or the glitch-gov:meta state. A lever whose resource you do not run is harmless. Delete the levers you do not need.

Members cannot change a lever#

Check the member's job grade against allRank and ministerRank, and the lever's portfolio. Levers with rank = 100 are admin only. A lever is also locked during its cooldown, and cost levers can only go down while a treasury is bankrupt.

The armoury or workshop does nothing#

They are only data. They need a qbx_police build that reads GlobalState['glitch-gov:armoury'] and GlobalState['glitch-gov:workshop']. Armoury items also need to exist in your inventory.

The resource will not start#

glitch-treasury is a manifest dependency. Start it before glitch-gov, and make sure qbx_core, ox_lib, oxmysql and ox_target are started as well.

Getting help#

Include the resource version, your framework, the console output from startup and the steps to reproduce the problem in a support ticket.