βοΈSecurity Config
Discover security options within our resource, protecting against cheaters for an enjoyable gameplay.
Last updated
Discover security options within our resource, protecting against cheaters for an enjoyable gameplay.
Last updated
Security.Debug = falseSecurity.AuthorizedResources = {
"example",
}Security.DropPlayer = trueRegisterServerEvent('cis:anticheat:server:alert')
AddEventHandler('cis:anticheat:server:alert', function(message, src)
if(src == nil)then
src = source
end
TriggerEvent(Security.EventPrefix .. ":server:log", message, "cheating")
if(Security.DropPlayer)then
cisAnticheatDropPlayer(src)
end
end)function cisAnticheatDropPlayer(src)
DropPlayer(src, "cis_anticheat: Kicked for cheating. If you believe this is a mistake, please contact the server owner.")
end