Promover servidor
csb-ammo-packs / csb.json
62 lines 2.2 KiB JSON Raw Permalink History
{
    "name": "CSB Ammo Packs",
    "category": "zombie",
    "tags": "ammo packs, economy, zombie",
    "image": "",
    "original_author": "Zombie Plague (ammo-pack economy)",
    "original_url": "",
    "license": "GPL-3.0",
    "title": "CSB Ammo Packs",
    "short_desc": "An nVault-backed ammo-pack currency: earn packs for kills, headshots and round wins, persisted by SteamID, with natives so a shop plugin can spend them. /packs shows the balance.",
    "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": "nvault",
    "install_notes": "1. Enable the nvault module in addons/amxmodx/configs/modules.ini\n2. Put csb_ammo_packs.amxx in addons/amxmodx/plugins/\n3. Add it to plugins.ini ABOVE any shop plugin that uses its natives\n4. Change map",
    "known_conflicts": "Other ammo-pack/credit plugins that register the same csb_*_packs native names will clash - run only one currency provider.",
    "cvars": [
        {
            "name": "csb_packs_start",
            "default": "5",
            "description": "Ammo packs a brand-new SteamID starts with."
        },
        {
            "name": "csb_packs_kill",
            "default": "1",
            "description": "Packs awarded for a kill."
        },
        {
            "name": "csb_packs_headshot",
            "default": "1",
            "description": "Extra packs for a headshot kill."
        },
        {
            "name": "csb_packs_roundwin",
            "default": "2",
            "description": "Packs awarded to alive players on the winning team."
        },
        {
            "name": "csb_packs_max",
            "default": "1000000",
            "description": "Maximum packs a player may hold (0 = no cap)."
        }
    ],
    "commands": [
        {
            "name": "say /packs",
            "access": "",
            "description": "Show your ammo-pack balance."
        },
        {
            "name": "csb_givepacks",
            "access": "g (ADMIN_LEVEL_A)",
            "description": "csb_givepacks <name or #userid> <amount>"
        }
    ],
    "main": "addons/amxmodx/scripting/csb_ammo_packs.sma"
}