Преминете към основното съдържание

AFK Control

Watches for idle players, warns them, moves them to spectators after ~45 seconds and finally kicks them if they stay AFK — keeping slots free for active players.
Version: v1.4

⬇ Download AFK Control

Installation​

Step 1) Open your console and select your Counter-Strike 1.6 server.

Step 2) Go to TOOLS → Plugins (the in-panel installer).

Step 3) Find AFK Control in the list and click INSTALL — the panel downloads it and places every file for you automatically.

Step 4) Set the CVARs / configuration shown below (if any), then RESTART the server.

Manual installation (FTP / File Manager)​

Step 1) Download the archive above and unzip it on your computer.

Step 2) Open your console → File Manager (or connect over FTP) and upload the plugin files:

  • afk_control.amxx → cstrike/addons/amxmodx/plugins/

Step 3) Open cstrike/addons/amxmodx/configs/plugins.ini and add the plugin on a new line:

afk_control.amxx

Step 4) Restart the server. Check that it loaded with amxx plugins in the server console.

Съвет

Need the basics first? See How to upload plugins and How to compile a plugin.

CVARs​

CVARDefaultDescription
afk_max_afk_warns3Warnings an idle player gets before being moved to spectators.
afk_max_spec_warns3Warnings a spectator gets before being kicked.
afk_min_spec_players1Only start checking spectators once at least this many players are connected.
afk_transfer_bomb11 = if an AFK terrorist is carrying the C4 it is dropped/transferred.
afk_time_afk_check45Seconds a player may be idle before the AFK countdown starts.
afk_time_spec_check60Seconds a spectator may stay idle before being kicked.
afk_immunity_flagsaAdmin flags that are never touched by the plugin.

Where to set them: add the CVARs to cstrike/addons/amxmodx/configs/amxx.cfg (one per line, e.g. amx_vampire_hp 15). Changes take effect after a map change or a server restart.

QGS Hosting