{
"name": "CSB Adverts",
"category": "hud-info",
"tags": "adverts, messages, rotation",
"image": "",
"original_author": "",
"original_url": "",
"license": "GPL-3.0",
"title": "CSB Adverts",
"short_desc": "Rotating server messages from a file, shown as coloured chat, HUD or DHUD, with placeholders and a per-player mute.",
"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_adverts.amxx in addons/amxmodx/plugins/\n2. Add it to plugins.ini\n3. Edit configs/csb_adverts.ini (a default is written on first run)\n4. Uses client_print_color, so AMX Mod X 1.9+ is required",
"known_conflicts": "",
"cvars": [
{
"name": "csb_adverts",
"default": "1",
"description": "Enable the plugin."
},
{
"name": "csb_adverts_interval",
"default": "45",
"description": "Seconds between messages (minimum 5)."
},
{
"name": "csb_adverts_random",
"default": "0",
"description": "1 = pick a random line each time; 0 = go in order."
},
{
"name": "csb_adverts_prefix",
"default": "[Server]",
"description": "Prefix shown in front of chat adverts."
}
],
"commands": [
{
"name": "say /noads",
"access": "",
"description": "Toggle the adverts on or off for yourself."
}
],
"main": "addons/amxmodx/scripting/csb_adverts.sma"
}