Thread
:
[TF2] Anti-NameHack
View Single Post
Author
Message
Mitch
Junior Member
Join Date: Aug 2011
04-13-2013 , 00:33 [TF2] Anti-NameHack
#
1
Description:
A plugin to add basic protection against hackers that use namestealers or players that spam name changes to avoid admins.
Info:
The detection methods that i use are the most common that i have seen used on the servers i have tested it on. This plugin at the time of posting is based on detections in 5 minute increments and the default value of the "sv_namechange_cooldown_seconds" which is 20 seconds. ex, 10 name changes in 5 minutes will result in a ban, or 4 name steals in 5 minutes will result in a ban.
The name change detections are reset every 5 minutes and the name steal detections are reset every 5 minutes with the condition that they haven't changed their name in the last 5 minute period. Any player banned for name stealing is also ip banned. Has support for sourcebans.
Cvars:
sm_anh_version ; Version Cvar.
sm_anh_changes "10" ; Number of name changes before a player is banned. Default is 10
sm_anh_matches "4" ; Number of name matches before a player is banned. Default is 4
Ban Messages:
If the plugin detects name change spamming it will ban with this message,
"[Auto]Detected Namehacking #1-<name changes>-<name matches>"
ex, "[Auto]Detected Namehacking #1-10-0"
If the plugin detects name stealing it will ban with this message,
"[Auto]Detected Namehacking #2-<name changes>-<name matches>"
ex, "[Auto]Detected Namehacking #2-4-4"
Commands:
None
Installation:
Place AntiNameHack.smx into the addons/sourcemod/plugins/ folder.
Versions:
1.1, Initial release;
Attached Files
Get Plugin
or
Get Source
(AntiNameHack.sp - 1238 views - 5.6 KB)
AntiNameHack.smx
(4.7 KB, 2151 views)
Last edited by Mitch; 04-13-2013 at
00:44
.
Mitch
View Public Profile
Send a private message to Mitch
Find More Posts by Mitch