Promotiraj s'rv'r
csb-backup-round / csb.json
47 lines 1.6 KiB JSON Raw Permalink History
{
    "name": "CSB Round Backup",
    "category": "match",
    "tags": "backup, restore, match",
    "image": "",
    "original_author": "",
    "original_url": "",
    "license": "GPL-3.0",
    "title": "CSB Round Backup",
    "short_desc": "Saves score, money, teams and frags every round; amx_restore <round> re-applies them and restarts after a crash.",
    "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": "cstrike,fun",
    "install_notes": "1. Enable the cstrike and fun modules in addons/amxmodx/configs/modules.ini\n2. Put csb_backup_round.amxx in addons/amxmodx/plugins/ and add it to plugins.ini\n3. Change map",
    "known_conflicts": "Other plugins that also send TeamScore or force team changes can interfere with a restore.",
    "cvars": [
        {
            "name": "csb_backup_enabled",
            "default": "1",
            "description": "Enable or disable per-round snapshots."
        },
        {
            "name": "csb_backup_keep",
            "default": "30",
            "description": "How many recent round snapshots to keep on disk."
        }
    ],
    "commands": [
        {
            "name": "amx_restore",
            "access": "h (ADMIN_MAP)",
            "description": "amx_restore <round> - restore a saved round snapshot."
        },
        {
            "name": "amx_backups",
            "access": "h (ADMIN_MAP)",
            "description": "Show the current round number."
        }
    ],
    "main": "addons/amxmodx/scripting/csb_backup_round.sma"
}