Manual Safe Events
With Safe Events you can protect your events from being abused by cheaters.
Exports for Safe Events
-- CLIENT-SIDE
exports["anticheat-name"]:ExecuteServerEvent(EventName, ...)
exports["anticheat-name"]:ExecuteLatentServerEvent(EventName, bps, ...)
-- SERVER-SIDE
exports["anticheat-name"]:RegisterSafeEvent(EventName, config, cross_scripts)
exports["anticheat-name"]:VerifyToken(source)-- RegisterSafeEvent default config :
{
log = true,
ban = true
}ExecuteServerEvent export:
Executes Safe Event
RegisterSafeEvent export:
Registers Event in Safe Events System
VerifyToken export:
Stops the event from being executed if the player got banned by Safe Events System
Example Of Code
Last updated