Advanced Bans
A realtime ban-management system for admins: ban by name/SteamID/IP, set durations and reasons, and manage the ban list live from inside the game.
Version: v0.8.1
Installation
Install from the game panel (recommended)
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 Advanced Bans 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. It already contains the addons/ folder structure.
Step 2) Open your console → File Manager (or FTP) and upload the extracted addons folder into your server's cstrike directory, merging it. The plugin lands in addons/amxmodx/plugins/ and its config in addons/amxmodx/configs/.
Step 3) Open cstrike/addons/amxmodx/configs/plugins.ini and add:
advanced_bans.amxx
Step 4) Restart the server.
Need the basics first? See How to upload plugins and How to compile a plugin.
CVARs
| CVAR | Default | Description |
|---|---|---|
ab_website | (empty) | Website shown to banned players in the kick message. Leave empty to hide it. |
ab_immunity | 1 | 1 = admins with the immunity flag cannot be banned. |
ab_bandelay | 2.0 | Delay (seconds) before the banned player is actually kicked, so they can read the reason. |
ab_unbancheck | 1 | 1 = verify on connect whether a player's ban already expired and let them in. |
amx_show_activity | 2 | Standard AMXX activity display (who sees the admin's name/action). |
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.
Commands
| Command | Access | Description |
|---|---|---|
amx_ban <nick|#uid|authid> <minutes> <reason> | ADMIN_BAN | Ban a player for the given time (0 = permanent). |
amx_banip <nick|#uid|authid> <minutes> <reason> | ADMIN_BAN | Ban a player by IP address. |
amx_addban <name> <authid|ip> <minutes> <reason> | ADMIN_BAN | Add a ban for someone who is offline. |
amx_unban <authid|ip> | ADMIN_BAN | Remove an active ban. |
amx_banlist | ADMIN_BAN | Open the list of everyone who is banned. |
