This plugin will detect some basic aimbots and provide warnings to connected admins via a number of methods.
If you have any of the following plugins installed, they will be used to report this:
BAT (admin_chat)
Mani (ma_chat)
IRCRelay
SourceMod (Print a message to all connected users with the access to Kick)
The warnings printed look like this:
Code:
Warning: Player NAME (STEAMID): 10 (55.5 percent) hits to the HEAD
The plugin provides the following cvars:
aim_minimum_data - The minimum number of hit's needed to display a warning. 20 is the default, and is the lowest I would recommend going.
aim_minimum_percentage - This is the minimum number of hits needed to a certain body part to cause a warning. Defaults to 55%.
aim_torso_weight and aim_limb_weight - These allow you to scale the warnings for each type of hitbox. By default each is set to "0.50" which means that warnings will never occur for either (to get above 55% they would need to have 110% hits to have a warning occur)
aim_irc_channel - Which IRC channel to broadcast alerts to.
The plugin provides the following client command:
aim_info - This will bring up a display showing the data for the current player.
Changes:
v0.0.2.0:
Removed snap speed/distance as this wasn't calculated correctly
Changed to IRC Relay API rather then console command
Cleaned up a bunch of code
Removed mod-dependent code, this should now work for any game with mostly standard hitboxes (and sends the player_hurt event)
Installation:
Place the compiled plugin in your sourcemod\plugins directory.
Place the weapondata.ini file in your sourcemod\configs directory.
Notes:
This will not detect every aimbot. In fact, it will only detect the more obvious ones. This works out rather nicely, as the obvious ones are the ones that tend to drive people away.