Ana içeriğe geç

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

⬇ Download Advanced Bans

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 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.

ipucu

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

CVARs​

CVARDefaultDescription
ab_website(empty)Website shown to banned players in the kick message. Leave empty to hide it.
ab_immunity11 = admins with the immunity flag cannot be banned.
ab_bandelay2.0Delay (seconds) before the banned player is actually kicked, so they can read the reason.
ab_unbancheck11 = verify on connect whether a player's ban already expired and let them in.
amx_show_activity2Standard 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​

CommandAccessDescription
amx_ban <nick|#uid|authid> <minutes> <reason>ADMIN_BANBan a player for the given time (0 = permanent).
amx_banip <nick|#uid|authid> <minutes> <reason>ADMIN_BANBan a player by IP address.
amx_addban <name> <authid|ip> <minutes> <reason>ADMIN_BANAdd a ban for someone who is offline.
amx_unban <authid|ip>ADMIN_BANRemove an active ban.
amx_banlistADMIN_BANOpen the list of everyone who is banned.

QGS Hosting