View Single Post
Author Message
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 04-09-2016 , 17:50   [ANY] Simple AFK kicker (1.0 ~ 10/April/2016)
Reply With Quote #1

AFK-Kicker
Kicks AFK players after verifying they're actually AFK.
If the player doesn't do anything difference within X seconds since the round started, he will be prompted with a captcha-like random menu. Every menu option except for one ('Don't kick me!'), will kick the player as he was verified as a bot/AFK. He will also be kicked if he chooses nothing within Y seconds.
Verification durations (X/Y) are definable. Check `cfg/sourcemod/plugin.afk_kicker.cfg` for CVars.
Also respects admins (b flag or "afk-kicker-immunity" override).

Note
This plugin is for servers with rounds, such as casual and jailbreak servers.
The plugin will most likely not function properly in MG/KZ/bhop/deathmatch!

Latest code is always available in my GitHub repository: https://github.com/shavitush/AFK-Kicker (which you should star if you like the plugin!)

Report issues here please.
Attached Files
File Type: sp Get Plugin or Get Source (afk_kicker.sp - 2170 views - 6.5 KB)
__________________
retired

Last edited by shavit; 05-13-2016 at 15:01.
shavit is offline