PLEASE READ THE CONFIGURATION CAREFULLY BEFORE YOU RUN THIS SCRIPT
The anti-aimbot script statistically analyzes player behavior to kick or ban aimbots. The description of all the configuration options are all commented in the script.
Here is a brief overview of the different detection methods using the default values. The values are of course completely configurable.
- Headshot snap detection: Kick/ban if the player's orientation changes more than 90 degrees to align with the head of an enemy 6 or more times in 20 seconds
- Hit percent: Kick/ban if hit accuracy exceeds 90% (rifle), 80% (smg), or 90% (shotgun) and the minimum number of shots is met (45 rifle, 90 smg, 45 shotgun)
- Detect damage hack: Invalid damage values are ignored. The current aimbot doesn't actually modify the damage values, but keep this on just in case.
- Detect kills in time: Kick/ban the player if they kill 15 enemies in 20 seconds (grenade and airstrike kills don't count)
- Detect multiple bullets: Kick/ban the player if the server receives 8 or more hit packets in 0.25 seconds (rifle) or 0.05 seconds (smg). Note that this method should kick aimbotters with 100% accuracy with an extremely small chance of false positives.
This script also contains a command available to all players to check on how accurate someone's shots are. The name parameter is optional.
- Code: Select all
/accuracy name
What should I do if I'm worried about false positives?
Feel free to change the configuration of the script to your liking. For the person extremely paranoid about false positives, I recommend this setting:
- Code: Select all
DETECT_SNAP_HEADSHOT = False
DETECT_HIT_PERCENT = False
DETECT_DAMAGE_HACK = True
DETECT_KILLS_IN_TIME = False
DETECT_MULTIPLE_BULLETS = True