Tried it today on a non-Coop
INSURGENCY (
Standalone) Server, just for testing, but wanted to limit it to just kicking Spectators after a certain amount of time. Didn't work at all.
Code:
// Should the AFK Manager kick AFK clients? [0 = DISABLED, 1 = KICK ALL, 2 = ALL EXCEPT SPECTATORS, 3 = SPECTATORS ONLY]
// -
// Default: "1"
sm_afk_kick_players "3"
Code:
// Time in seconds (total) client must be AFK before being kicked. [0 = DISABLED, DEFAULT: 120.0 seconds]
// -
// Default: "120.0"
sm_afk_kick_time "60"
Code:
// Time in seconds remaining, player should be warned before being kicked for AFK. [DEFAULT: 30.0 seconds]
// -
// Default: "30.0"
sm_afk_kick_warn_time "30.0"
Code:
// Should the AFK manager exclude checking dead players? [0 = FALSE, 1 = TRUE]
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_exclude_dead "1"
Didn't even start up that plugin. Normally on each Server start, the Plugin creates or continues a new/previous logfile. Kinda like that ...
afkm_20140624.log
But it didn't even do that. Works on
Coop, but not on
PVP. Also no error logs of any kind.