QBESXStandalone
Agency-Anticheat Exports & API
An anticheat for FiveM that gets to know your server.
v1.0.0Paid5 PagesFrom October 3, 2026, 20:00 CEST

01Server Exports
| Export | Description |
|---|---|
AllowTeleport(source: number, seconds?: number) | Call it right before your script moves a player, then the jump is not counted as a teleport. Default 5 seconds. |
SetExempt(source: number, seconds: number) | Exempts one player from every check for a while, for example during an event with godmode. 0 ends it. |
Flag(source: number, detail: string) | Your own detection. Counts like any other hit, under the detection external. |
BanPlayer(source: number, reason: string, duration?: number, by?: string) | Bans an online player by identifiers and hardware tokens. Duration in seconds, 0 is permanent. Returns the ban ID. |
KickPlayer(source: number, reason: string, by?: string) | Kicks a player and logs it to Discord. |
Unban(banId: string, by?: string) | Lifts a ban, for example AC-7K3P9. |
SetMode(mode: string) | Switches the mode live: learning, relaxed, balanced or strict. |
SetDetection(key: string, enabled: boolean) | Switches one detection on or off live. |
SetLockdown(on: boolean, by?: string) | Starts or ends a lockdown. |
IsExempt(source: number) | Returns whether a player is exempt from the checks. |
IsKnownPlayer(source: number) | Returns whether a player has played here long enough without hits to count as known. |
GetStatus() | Returns everything the panel shows: mode, layers, knowledge, today's numbers, server load and every detection with its rule. |
GetDetections(limit?: number) | Returns the latest detections, newest first. |
GetBans() | Returns every active ban with its evidence. |
GetPlayers() | Returns the online players with risk score and open strikes, highest risk first. |
02Events
| Name | Side | Description |
|---|---|---|
Agency-Anticheat:detection | Server | Fires on every hit with player, detection, detail, action and strikes. |
Agency-Anticheat:banned | Server | Fires after every ban with the full ban record. |
Agency-Anticheat:unbanned | Server | Fires after a ban was lifted. |
Agency-Anticheat:lockdown | Server | Fires when a lockdown starts or ends. |
Agency-Anticheat:learned | Server | Fires when the anticheat learned a new teleport point of your server. |