Querying Bans
Retrieve detailed information about active bans using IDs or player identifiers.
Exports need to always be invoked on ElectronAC, even if you renamed the resource.
Server-side
These exports are server-side only.
Get Ban by ID
Retrieves a specific ban record using its unique ID.
local ban = exports["ElectronAC"]:getBanInfo(banId)Prop
Type
Ban Record Object
Prop
Type
Get Player Bans
Retrieves all bans associated with a set of player identifiers.
local bans = exports["ElectronAC"]:getPlayerBans(identifiers)Prop
Type