Advanced Documentation
Developer Documentation and other advanced configuration options of the ATM Robbery system.
Custom Permission Systems
If you view your config.lua
you will find a function to be defined with your permissions check. The same function is called to check for permission to receive notifications and to check if they are allowed to place new ATMs. The requests are differentiated through the type argument. It will be equal to 0
if the permissions check is to see if they can place a ATM, 1
to check if they can currently receive notifications, or 2
to check if they are allowed to initiate the stealing of an ATM, The permission check will be called on every attempted placement, every notification sent, and every attempted robbery.
If you need assistance setting this up you can hire a dev by going here and selecting "Hire a Developer".
Developer Documentation
When an ATM is being drilled initially, the sonoran-atmrobbery::ATM::Drilling_s
event will fire to the server
. The data table can be seen below. Upon completion of the final drilling, if Config.permissionMode
is set to ace
, the event Sonoran::ATM::Payout
will be fired to the server
. The data table can be seen below. Example event handlers can also be found below.
Event List
Sonoran::ATM::Payout
sonoran-atmrobbery::ATM::Drilling_s
Data Table Structure For Sonoran::ATM::Payout
Sonoran::ATM::Payout
Index | Description | Example |
---|---|---|
| This will be the payout amount recieved from drilling into the ATM |
|
| This will be the type of money from the |
|
| This will contain the items the ATM gives out after drilling. Configurable in the |
|
Data Table Structure For sonoran-atmrobbery::ATM::Drilling_s
sonoran-atmrobbery::ATM::Drilling_s
Index | Description | Example |
---|---|---|
| This will be the street name the robbery is taking place on |
|
| This will be the postal where the robbery is happening |
|
| This will be the vector3 coordinates of where the ATM is being stolen |
|
| This will be the hash of the ATM that is being stolen |
|
Example Handler
Last updated