Prodvigat server
csb-mapchooser / csb.json
72 lines 2.4 KiB JSON Raw Permalink History
{
    "name": "CSB Map Chooser",
    "category": "utility",
    "tags": "mapchooser, vote, nextmap",
    "image": "",
    "original_author": "AMX Mod X Dev Team",
    "original_url": "",
    "license": "GPL-3.0",
    "title": "CSB Map Chooser",
    "short_desc": "End-of-map vote with random maps from the map cycle, a HUD countdown, recent-map exclusion and an optional extend option.",
    "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_mapchooser.amxx in addons/amxmodx/plugins/\n2. Add it to plugins.ini\n3. Requires mp_timelimit > 0\n4. Uses client_print_color, so AMX Mod X 1.9+ is required",
    "known_conflicts": "The stock AMX Mod X mapchooser.amxx - run only one map-vote plugin.",
    "cvars": [
        {
            "name": "csb_mc_enabled",
            "default": "1",
            "description": "Enable the plugin."
        },
        {
            "name": "csb_mc_start",
            "default": "90",
            "description": "Seconds before the time limit to open the vote."
        },
        {
            "name": "csb_mc_choices",
            "default": "5",
            "description": "Number of map choices (max 6)."
        },
        {
            "name": "csb_mc_duration",
            "default": "20",
            "description": "How long the vote stays open, in seconds."
        },
        {
            "name": "csb_mc_extend",
            "default": "1",
            "description": "Offer an 'extend current map' option."
        },
        {
            "name": "csb_mc_extendstep",
            "default": "15",
            "description": "Minutes added to mp_timelimit per extension."
        },
        {
            "name": "csb_mc_extendmax",
            "default": "2",
            "description": "Maximum number of extensions per map."
        },
        {
            "name": "csb_mc_recent",
            "default": "3",
            "description": "How many recently played maps to exclude from the choices."
        }
    ],
    "commands": [
        {
            "name": "say /nextmap",
            "access": "",
            "description": "Show the map that won the vote."
        }
    ],
    "main": "addons/amxmodx/scripting/csb_mapchooser.sma"
}