Auto-Kick Protector
Purpose
-Protects players with a given flag from being kicked due to being AFK.
-Admins, as i know, will come across hackers whom they may need to stay in spectate for a while to watch them for suspicious activity. This protects them from getting kicked for being AFK, as they may appear so.
Commands
-sm_autokick_protector_manual <#userid|name> - Command to manually enable protection for targeted client
(Access to this command is defined by cvar "sm_autokick_protector_manual_flag" - Default 'b' Generic access).
ConVars
-sm_autokick_protector_version - Plugin Version, leave this alone!
-sm_autokick_protector_flag - Admin flag to protect (Default 'a' - Reserved Slot).
-sm_autokick_protector_manual_flag = Admin flag to be able to use command (Default 'b' - Generic).
How to use
-Compile and install AutoKickProtector.smx into <game>/addons/sourcemod/plugins/
-Load plugin (Will auto load next map, or you may do it manually via a restart or other method).
-Configure convars in "<game>/cfg/sourcemod/plugin.autokickprotector.cfg".
-Play!
Notes
-
Root Admins have FULL ACCESS with this plugin; meaning they are always protected and can always use the manual command.
ToDo's
-None (yet)... Suggest something!
Changelog
-1.0 Initial plugin!
-1.1 Fixed client is not in game error if plugin was late loaded, also no longer checks bots if late loaded.
-1.2 Added manual command and cvar to set access to the command.
-1.3 Fixed convar handle errors (typo)
-1.4 Fixed the fix for 1.3 (updating from 1.3 is important)!