Promocionar servidor
csb-vote-rewards / csb.json
82 lines 3.1 KiB JSON Raw Permalink History
{
    "name": "CSB Vote Rewards",
    "category": "utility",
    "tags": "vote, rewards, redeem, counter-strike-boost, easyhttp",
    "image": "",
    "original_author": "",
    "original_url": "",
    "license": "GPL-3.0",
    "title": "CSB Vote Rewards",
    "short_desc": "Players type /redeem with the code they got for voting on Counter-Strike Boost and get a reward. Each code pays once.",
    "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,easy_http",
    "install_notes": "1. Install the AmxxEasyHttp module (https://github.com/Next21Team/AmxxEasyHttp/releases) into addons/amxmodx/modules/\n2. Put csb_vote_rewards.amxx in addons/amxmodx/plugins/ and add it to plugins.ini\n3. Make a key on your server's Votes tab on counter-strike-boost.com and add csb_vr_key \"csbv_...\" to amxx.cfg\n4. Change map",
    "known_conflicts": "Another plugin that handles say /vote or say /redeem first will hide these commands; load this plugin earlier in plugins.ini.",
    "cvars": [
        {
            "name": "csb_vr_key",
            "default": "",
            "description": "Your server's vote codes key (starts with csbv_), from the Votes tab of your server page. Required."
        },
        {
            "name": "csb_vr_max_age",
            "default": "24",
            "description": "Only codes from votes in the last N hours pay out. 0 accepts any code that was not used."
        },
        {
            "name": "csb_vr_money",
            "default": "3000",
            "description": "Money given for a redeemed code, capped at 16000. 0 gives none."
        },
        {
            "name": "csb_vr_command",
            "default": "",
            "description": "Server command run on a redeemed code. %userid%, %steamid% and %name% are filled in."
        },
        {
            "name": "csb_vr_announce",
            "default": "1",
            "description": "Tell everyone when a player gets a vote reward."
        },
        {
            "name": "csb_vr_cooldown",
            "default": "5",
            "description": "Seconds a player waits between two /redeem attempts."
        },
        {
            "name": "csb_vr_server",
            "default": "",
            "description": "Public ip:port shown by /vote. Empty uses the server's own address."
        },
        {
            "name": "csb_vr_api",
            "default": "https://api.counter-strike-boost.com",
            "description": "API address. Leave as is."
        }
    ],
    "commands": [
        {
            "name": "say /redeem <code>",
            "access": "",
            "description": "Redeem a vote code for a reward (also !redeem and say_team)."
        },
        {
            "name": "say /vote",
            "access": "",
            "description": "Show where to vote for this server."
        },
        {
            "name": "csb_redeem <code>",
            "access": "",
            "description": "Redeem a code from the console."
        }
    ],
    "main": "addons/amxmodx/scripting/csb_vote_rewards.sma"
}