Hate to bring up a thread from the dead, but I find myself in a similar position as scso1502. I wish to autoban players after X detections in X minutes/seconds. The solution above by allienaded is good, but too aggressive and can cause many false positive bans, hence the need for a customizable number of detections in a certain time period. Is anyone able to do this?
Edit: I've "fixed" El Diablo War3Evo's plugin on page 1 to allow a value more than 1, haven't tested it however. Change line 23 to:
PHP Code:
g_hAutoBanSpinHack = CreateConVar("smac_spinhack_ban", "6", "0 - Disabled.\nBans a player if detects spinhack this number of times.", FCVAR_PLUGIN, true, 0.0, true, 10.0);
Note the change of the last number from 1 to 10, makes the maximum detections 10. Change it to something higher if you prefer.
Edit 2: Works well! Triggers bans after X amount of detections.