Exports
Use Electron AC from your scripts
Punishing players
These exports can only be invoked by server-sided scripts
source: number
The network Id of the player you wish to punish
reason: string
An arbitrary string containing a reason to appear in logs and the dashboard
details: string
Arbitrary string containing extra details
overrideWhitelist: boolean
If this value is set to true, even whitelisted players will get effected when triggering this event
Events
These event listeners are only available on the server
source: number
The network Id of the player you wish to punish
reason: string
An arbitrary string containing a reason to appear in logs and the dashboard
details: string
Arbitrary string containing extra details
automatic: boolean
True when a players has been banned autonomously, false when player has been banned by an export, or someone using the panel.
Last updated