Prodvigat server
csb-mix-elo / csb.json
77 lines 2.4 KiB JSON Raw Permalink History
{
    "name": "CSB Mix ELO",
    "category": "match",
    "tags": "elo, ranking, mix",
    "image": "",
    "original_author": "",
    "original_url": "",
    "license": "GPL-3.0",
    "title": "CSB Mix ELO",
    "short_desc": "ELO rating for mix/match play in MySQL: winners gain and losers lose points by the rating gap, with /elo, /topelo and ELO-balanced teams.",
    "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": "sqlx",
    "install_notes": "1. Enable the sqlx module in addons/amxmodx/configs/modules.ini\n2. Set the csb_elo_* cvars to your DB credentials\n3. Put csb_mix_elo.amxx in addons/amxmodx/plugins/ and add it to plugins.ini\n4. Change map",
    "known_conflicts": "Other ranking plugins that use /elo or /topelo chat triggers will collide.",
    "cvars": [
        {
            "name": "csb_elo_host",
            "default": "127.0.0.1",
            "description": "MySQL host."
        },
        {
            "name": "csb_elo_user",
            "default": "csb",
            "description": "MySQL user."
        },
        {
            "name": "csb_elo_pass",
            "default": "",
            "description": "MySQL password."
        },
        {
            "name": "csb_elo_db",
            "default": "csb",
            "description": "MySQL database name."
        },
        {
            "name": "csb_elo_k",
            "default": "32",
            "description": "ELO K factor (points at stake)."
        },
        {
            "name": "csb_elo_start",
            "default": "1000",
            "description": "Starting rating for new players."
        }
    ],
    "commands": [
        {
            "name": "say /elo",
            "access": "",
            "description": "Show your ELO rating."
        },
        {
            "name": "say /topelo",
            "access": "",
            "description": "Show the ELO ladder (top 10)."
        },
        {
            "name": "amx_elo_result",
            "access": "d (ADMIN_BAN)",
            "description": "amx_elo_result <T|CT> - apply the match result."
        },
        {
            "name": "amx_elobalance",
            "access": "d (ADMIN_BAN)",
            "description": "Print ELO-balanced teams."
        }
    ],
    "main": "addons/amxmodx/scripting/csb_mix_elo.sma"
}