{
"name": "CSB Warn System",
"category": "admin",
"tags": "warn, punish, nvault",
"image": "",
"original_author": "",
"original_url": "",
"license": "GPL-3.0",
"title": "CSB Warn System",
"short_desc": "amx_warn stores warnings per SteamID in nVault; reaching a count kicks, a higher count bans for a set time. Warnings expire after N days.",
"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": "nvault",
"install_notes": "1. Enable the nvault module in addons/amxmodx/configs/modules.ini\n2. Put csb_warn_system.amxx in addons/amxmodx/plugins/ and add it to plugins.ini\n3. Change map",
"known_conflicts": "Other ban systems may store bans separately from the engine banid list used here.",
"cvars": [
{
"name": "csb_warn_enabled",
"default": "1",
"description": "Enable the warn command."
},
{
"name": "csb_warn_kick",
"default": "3",
"description": "Warning count that triggers a kick."
},
{
"name": "csb_warn_ban",
"default": "5",
"description": "Warning count that triggers a ban."
},
{
"name": "csb_warn_bantime",
"default": "60",
"description": "Ban length in minutes at the ban threshold."
},
{
"name": "csb_warn_expire",
"default": "7",
"description": "Days after which a warning stops counting (0 = never)."
}
],
"commands": [
{
"name": "amx_warn",
"access": "c (ADMIN_KICK)",
"description": "amx_warn <target> [reason] - give a player a warning."
},
{
"name": "amx_warns",
"access": "c (ADMIN_KICK)",
"description": "amx_warns <target> - show a player's warning count."
},
{
"name": "say /warns",
"access": "",
"description": "Show your own active warning count."
}
],
"main": "addons/amxmodx/scripting/csb_warn_system.sma"
}