Generic AFK Kicker

Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 4444
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

Generic AFK Kicker

Post by greenie »

This AFK Kicker should work with any Half-Life mod.

Incase you don't know, AFK stands for Away From Keyboard.

It has 2 cvars shown below with their default values:

mp_afktime 90 This sets the time a player must be AFK (while alive) before he is kicked.
mp_afkminplayers 8 This is number of players required on the server before people will be kicked for being AFK.

Players will receive warnings from 15 seconds before they are kicked. They will also be notified why they were kicked.

A player is determined to be AFK by simply checking if he has moved since he spawned.
Players are only counted as AFK when they are alive.

The plugin has been tested with Natural-Selection, Day of Defeat and Counter-Strike. If you use it for another mod, please let me know that it works correctly.

plugin
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️

βœ… GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to β€œServer Management”