Most of the core logic in this resource is handled by the bridge. The open source files are provided so you can customize minigames, add hooks for custom systems, and extend the script without touching escrow.Documentation Index
Fetch the complete documentation index at: https://docs.projectx.gg/llms.txt
Use this file to discover all available pages before exploring further.
opensource/client/client.lua
This file handles zone creation, drawtext, evidence, stress, and most importantly, the minigame callback. If you want to change the minigames used for each step, this is the only file you need to edit.Minigame Callback
Each robbery step triggers theprojectx-sandybankrobbery-prompt:client:Minigames callback with the step name. You can swap any minigame by replacing the export call inside the matching elseif block.
You can return
true unconditionally inside any step block to skip that minigame entirely. This can be useful for testing or for steps you want to make automatic.| Step | Minigame Resource | Function |
|---|---|---|
BackdoorKeypad | bl_ui | PrintLock |
PlantBreachFuse | bl_ui | CircleProgress |
ManagerKeypad | pure-minigames | numberCounter |
OfficeComputer | bl_ui | RapidLines |
GeneralComputer | bl_ui | MineSweeper |
CodeComputer | bl_ui | Untangle |
SecurityDoor | bl_ui | KeySpam |
BreachServer | bl_ui | WaveMatch |
JamServers | bl_ui | KeySpam |
LaptopVault | bl_ui | RapidLines |
SecurityPC | xdecrypto | StartHack |
PickupLaptop | bl_ui | CircleProgress |
LaptopLasers | bl_ui | PathFind |
Drill | bl_ui | CircleShake |
opensource/server/server.lua
This file handles dispatch, item/money functions, logging, and exposes several hooks you can use to run custom logic at specific points in the robbery.Hooks
SuccessfulStep(source, step)
SuccessfulStep(source, step)
Called whenever a player successfully completes a robbery step. Use this to award XP, trigger events, or log individual step completions.All available step names can be found in
Config.SandyBankSteps inside config/config.lua.FailedStep(source, step)
FailedStep(source, step)
Called whenever a player fails a robbery step. Use this to remove XP, items, or apply penalties.
InitialCheck(Interaction)
InitialCheck(Interaction)
Called before a player can start the robbery. Return
false to block them.RobberyResetHook()
RobberyResetHook()
Called whenever the heist resets. Use this to update a scoreboard, trigger an external event, or notify players.
