Prodvigat server
csb-buy-hp / csb.json
67 lines 2 KiB JSON Raw Permalink History
{
    "name": "CSB Buy HP",
    "category": "vip-shop",
    "tags": "hp, shop, health",
    "image": "",
    "original_author": "",
    "original_url": "",
    "license": "GPL-3.0",
    "title": "CSB Buy HP",
    "short_desc": "Spend credits earned from kills on +HP, capped, with a per-round purchase limit and a HUD confirmation.",
    "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": "fun",
    "install_notes": "1. Enable the fun module in modules.ini\n2. Put csb_buy_hp.amxx in addons/amxmodx/plugins/ and add it to plugins.ini\n3. Tune the csb_buyhp_* cvars, change map",
    "known_conflicts": "",
    "cvars": [
        {
            "name": "csb_buyhp_enabled",
            "default": "1",
            "description": "Enable or disable the buy-HP item."
        },
        {
            "name": "csb_buyhp_cost",
            "default": "10",
            "description": "Credit cost of one purchase."
        },
        {
            "name": "csb_buyhp_amount",
            "default": "25",
            "description": "HP granted per purchase."
        },
        {
            "name": "csb_buyhp_maxhp",
            "default": "150",
            "description": "Maximum HP a player can reach through the shop."
        },
        {
            "name": "csb_buyhp_limit",
            "default": "3",
            "description": "Purchases allowed per round (0 = unlimited)."
        },
        {
            "name": "csb_buyhp_reward",
            "default": "2",
            "description": "Credits earned per kill."
        }
    ],
    "commands": [
        {
            "name": "say /buyhp",
            "access": "",
            "description": "Buy extra health with credits."
        },
        {
            "name": "say /credits",
            "access": "",
            "description": "Show your current credit balance."
        }
    ],
    "main": "addons/amxmodx/scripting/csb_buy_hp.sma"
}