{
"name": "CSB Ban Manager",
"category": "admin",
"tags": "ban, mysql, bans, sqlx",
"image": "",
"original_author": "AMXBans team (Kanagava)",
"original_url": "",
"license": "GPL-3.0",
"title": "CSB Ban Manager",
"short_desc": "MySQL bans with reason, admin and expiry, checked asynchronously on connect with threaded SQLx.",
"version": "1.0.0",
"amxx_min": "1.9",
"amxx_compile_default": "1.9",
"rehlds_ok": true,
"hlds_ok": true,
"regamedll_required": false,
"metamod_flavor": "any",
"reapi_required": false,
"modules": "sqlx",
"install_notes": "1. Enable the mysql module in addons/amxmodx/configs/modules.ini\n2. Put csb_ban_manager.amxx in addons/amxmodx/plugins/ and add it to plugins.ini\n3. Set csb_ban_host / csb_ban_user / csb_ban_pass / csb_ban_db in amxx.cfg\n4. Change map - the csb_bans table is created automatically",
"known_conflicts": "Do not run it together with AMXBans; both will try to reject the same clients and you will get double kicks.",
"cvars": [
{
"name": "csb_ban_host",
"default": "127.0.0.1",
"description": "MySQL host."
},
{
"name": "csb_ban_user",
"default": "csb",
"description": "MySQL user."
},
{
"name": "csb_ban_pass",
"default": "",
"description": "MySQL password."
},
{
"name": "csb_ban_db",
"default": "csb",
"description": "MySQL database name."
},
{
"name": "csb_ban_kickmsg",
"default": "You are banned on this server",
"description": "Kick message and MOTD title shown to banned players."
}
],
"commands": [
{
"name": "amx_ban",
"access": "d (ADMIN_BAN)",
"description": "amx_ban <name or #userid> <minutes, 0 = permanent> [reason]"
},
{
"name": "amx_unban",
"access": "d (ADMIN_BAN)",
"description": "amx_unban <steamid>"
},
{
"name": "amx_bans",
"access": "d (ADMIN_BAN)",
"description": "Shows the 20 most recent bans in a MOTD."
}
],
"main": "addons/amxmodx/scripting/csb_ban_manager.sma"
}