Server Event
The script contains some simple but effective measures against cheaters attempting to utilise stungrenades, these can be found in the server.lua file inside the stungrenade:explosion
event. It includes distance checks, spam prevention and some basic bug checks.
It is highly advisable that you add your own logs to the script, replacing the Log function that is included by default (discord webhook for example). You can also add a whitelist check inside the event if desired, but this is something you'll have to set up yourself if needed.
Anti-Cheat Scripts
If you use an anti-cheat script you may need to allow certain types of explosions, by default the explosion type used is GRENADE (0), this can be changed in the config.lua file under Config.ExplosionType.
Last updated