Promotiraj s'rv'r
57 lines 2 KiB JSON Raw Permalink History
{
    "name": "CSB Match Stats Export",
    "category": "match",
    "tags": "export, mysql, match",
    "image": "",
    "original_author": "",
    "original_url": "",
    "license": "GPL-3.0",
    "title": "CSB Match Stats Export",
    "short_desc": "Exports the full match scoreboard (kills/deaths/hs/damage/ADR per player) to MySQL with threaded SQLx, or to a text file when the DB is down.",
    "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. Enable the sqlx and hamsandwich modules in addons/amxmodx/configs/modules.ini\n2. Set the csb_export_* cvars to your DB credentials\n3. Put csb_match_stats_export.amxx in addons/amxmodx/plugins/ and add it to plugins.ini\n4. Change map",
    "known_conflicts": "Other stats plugins hooking Ham_TakeDamage or DeathMsg track their own numbers independently.",
    "cvars": [
        {
            "name": "csb_export_host",
            "default": "127.0.0.1",
            "description": "MySQL host."
        },
        {
            "name": "csb_export_user",
            "default": "csb",
            "description": "MySQL user."
        },
        {
            "name": "csb_export_pass",
            "default": "",
            "description": "MySQL password."
        },
        {
            "name": "csb_export_db",
            "default": "csb",
            "description": "MySQL database name."
        }
    ],
    "commands": [
        {
            "name": "amx_exportstats",
            "access": "d (ADMIN_BAN)",
            "description": "Export the current match scoreboard."
        },
        {
            "name": "amx_resetstats",
            "access": "d (ADMIN_BAN)",
            "description": "Clear the tracked match stats."
        }
    ],
    "main": "addons/amxmodx/scripting/csb_match_stats_export.sma"
}