Commands#
| Command | Who | What it does |
|---|---|---|
/atmreset |
group.admin (ACE) |
Ends every ATM robbery, clears locks and cooldowns, and puts ripped-out ATMs back in their walls. Server command. |
/atmscan |
Anyone, only while Config.Debug = true |
Prints the ATMs the script finds near you. Client command. |
Exports#
The resource registers no exports of its own.
Integration with other resources#
The resource calls these on resources that are running. Each call is skipped if the resource is not started.
| Resource | Call | Used for |
|---|---|---|
glitch-minigames |
StartTracerouteGame, StartDrilling, IsBusy |
The hack, the drilling and a busy check. The export names are set in Config.Hack.export and Config.TakeApart.export. |
glitch-criminaltablet |
PoliceOnDuty, and the server event glitch_criminaltablet:reportJobComplete |
Police count and booking the finished atm_rob job. |
glitch-xpSystem |
AddPlayerXP, GetEffect |
XP and perk effects. |
glitch-economy |
LogCrime |
Payout ledger. |
glitch-uiElements |
ShowTaskList, FinishTaskList, HideTaskList |
Task list while a robbery runs. |
glitch-abstraction |
getAbstraction |
Notifications, progress bars and framework calls. |
ps-dispatch |
SendTargetedAlert |
Police alert when Config.Dispatch resolves to it. |
Events and callbacks#
The robbery flow uses net events and ox_lib callbacks with the prefix glitch_atmrobbery:. They are internal and validated by the server, so other resources should not trigger them. Rewards are only paid through the validated flow.
Wall ATM state is shared with clients through state bags, including glitchAtmLay for a grounded ATM. Late joiners receive the current state when they stream in.
Stuck on a step?Ask in the Discord →