Skip to main content
Server Proxied to ug-core. See Guard for owners and Security.

Flag

UgViolation
required
A value of UgCore.Enums.Violations.
string
Written to server logs only.
Adds the violation weight to the score, emits ug-core:Guard:Flagged and runs warn, kick or ban when a threshold is passed.

GetScore

number
After decay. 0 for unknown players.

IsNear

vector3
required
The position of the action, known by the server.
number
required
Reads the ped position on the server through OneSync. Never pass coordinates the client sent.

Replacing actions

Actions run through the Guard:BeforeAction hook. An anticheat MAY cancel or change them. See Hooks.