{
"name": "CSB Admin Password",
"category": "admin",
"tags": "password, lock, server",
"image": "",
"original_author": "",
"original_url": "",
"license": "GPL-3.0",
"title": "CSB Admin Password",
"short_desc": "amx_lock sets sv_password (random or given) and shows it to admins only; amx_unlock clears it. A HUD reminder keeps admins aware the server is locked.",
"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": "",
"install_notes": "1. Put csb_admin_password.amxx in addons/amxmodx/plugins/\n2. Add it to addons/amxmodx/configs/plugins.ini\n3. Change map",
"known_conflicts": "Any plugin or RCON script that also manages sv_password can override the lock.",
"cvars": [
{
"name": "csb_lock_len",
"default": "6",
"description": "Length of the generated password when amx_lock is used with no argument (clamped 4-20)."
}
],
"commands": [
{
"name": "amx_lock",
"access": "i (ADMIN_PASSWORD)",
"description": "amx_lock [password] - lock the server (random password if omitted)."
},
{
"name": "amx_unlock",
"access": "i (ADMIN_PASSWORD)",
"description": "Unlock the server (clears sv_password)."
}
],
"main": "addons/amxmodx/scripting/csb_admin_password.sma"
}