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

Anti Camping

Detects players who stay in the same spot for too long and punishes them (by damage), discouraging camping.
Version: v1.01

⬇ Download Anti Camping

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 Anti Camping 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:

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

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

anticamping.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
anticamping1Master switch for the plugin (1 = on, 0 = off).
anticamping_camptime5.0Seconds a player may stay still before being flagged as a camper.
anticamping_healthpunish10Health removed from a detected camper each punishment tick.
anticamping_meter100Movement radius (units) the player must leave to not count as camping.

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