Promuj serwer
csb-rank-mysql / csb.json
57 lines 2 KiB JSON Raw Permalink History
{
    "name": "CSB MySQL Ranks",
    "category": "stats",
    "tags": "rank, mysql, sqlx",
    "image": "",
    "original_author": "PsychoStats",
    "original_url": "",
    "license": "GPL-3.0",
    "title": "CSB MySQL Ranks",
    "short_desc": "The same stats model as the nVault ranks, stored in MySQL with threaded SQLx queries, so several servers share one ladder the website can read.",
    "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": "hamsandwich,sqlx",
    "install_notes": "1. Put csb_rank_mysql.amxx in addons/amxmodx/plugins/\n2. Add it to plugins.ini\n3. Make sure the sqlx and hamsandwich modules are enabled\n4. Set csb_rank_host/user/pass/db (e.g. in amxx.cfg or a server cfg)\n5. The table is created automatically, or import csb_ranks.sql\n6. Uses client_print_color, so AMX Mod X 1.9+ is required",
    "known_conflicts": "Run only one CSB rank plugin (nVault or MySQL), not both.",
    "cvars": [
        {
            "name": "csb_rank_host",
            "default": "127.0.0.1",
            "description": "MySQL host."
        },
        {
            "name": "csb_rank_user",
            "default": "csb",
            "description": "MySQL user."
        },
        {
            "name": "csb_rank_pass",
            "default": "",
            "description": "MySQL password."
        },
        {
            "name": "csb_rank_db",
            "default": "csb",
            "description": "MySQL database name."
        }
    ],
    "commands": [
        {
            "name": "say /rank",
            "access": "",
            "description": "Show your stats, score and exact ladder position."
        },
        {
            "name": "say /stats",
            "access": "",
            "description": "Alias of /rank."
        }
    ],
    "main": "addons/amxmodx/scripting/csb_rank_mysql.sma"
}