Promocionar servidor
csb-server-adverts / csb.json
47 lines 1.8 KiB JSON Raw Permalink History
{
    "name": "CSB Server Adverts",
    "category": "hud-info",
    "tags": "adverts, announcements, chat, amxmodx, hud",
    "image": "",
    "original_author": "counter-strike-boost.com",
    "original_url": "",
    "license": "GPL-3.0",
    "title": "CSB Server Adverts",
    "short_desc": "Rotating chat announcements for your CS 1.6 server — timed, coloured, and config-driven.",
    "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 adverts.amxx in addons/amxmodx/plugins/\n2. Add 'adverts.amxx' to addons/amxmodx/configs/plugins.ini\n3. Create addons/amxmodx/configs/csb_adverts.ini (see csb_adverts.ini below)\n4. Change map or restart the server\n\nRequires AMX Mod X 1.9 or newer (1.8.2 is NOT supported — it lacks client_print_color).",
    "known_conflicts": "Disable other advert/announcement plugins to avoid duplicate chat spam.",
    "cvars": [
        {
            "name": "csb_adverts_enabled",
            "default": "1",
            "description": "Enable (1) or disable (0) the advert rotation."
        },
        {
            "name": "csb_adverts_interval",
            "default": "90.0",
            "description": "Seconds between adverts. Minimum 10."
        },
        {
            "name": "csb_adverts_prefix",
            "default": "[INFO]",
            "description": "Prefix shown before every advert."
        }
    ],
    "commands": [
        {
            "name": "say /adverts",
            "access": "ADMIN_CFG",
            "description": "List the loaded adverts in console."
        }
    ],
    "main": "addons/amxmodx/scripting/adverts.sma"
}