Server bewerben
csb-discord-webhook / csb.json
51 lines 1.7 KiB JSON Raw Permalink History
{
    "name": "CSB Discord Relay",
    "category": "utility",
    "tags": "discord, webhook, relay",
    "image": "",
    "original_author": "",
    "original_url": "",
    "license": "GPL-3.0",
    "title": "CSB Discord Relay",
    "short_desc": "Relays map changes, connects and optional chat to Discord via a queued, rate-limited local HTTP relay.",
    "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": "sockets",
    "install_notes": "1. Enable the sockets module in addons/amxmodx/configs/modules.ini\n2. Run a local HTTP->HTTPS relay for your Discord webhook and set the csb_discord_* cvars\n3. Compile, install, add to plugins.ini, change map",
    "known_conflicts": "",
    "cvars": [
        {
            "name": "csb_discord_host",
            "default": "127.0.0.1",
            "description": "Relay host."
        },
        {
            "name": "csb_discord_port",
            "default": "8080",
            "description": "Relay port."
        },
        {
            "name": "csb_discord_path",
            "default": "/relay",
            "description": "Relay URL path."
        },
        {
            "name": "csb_discord_rate",
            "default": "2.0",
            "description": "Minimum seconds between sent messages."
        },
        {
            "name": "csb_discord_chat",
            "default": "0",
            "description": "Also relay public chat (1) or not (0)."
        }
    ],
    "commands": [],
    "main": "addons/amxmodx/scripting/csb_discord_webhook.sma"
}