Promover servidor
csb-music-player / csb.json
52 lines 1.8 KiB JSON Raw Permalink History
{
    "name": "CSB Music Player",
    "category": "fun",
    "tags": "music, dj, sounds",
    "image": "",
    "original_author": "DJ Plugin / Music Menu (concept)",
    "original_url": "",
    "license": "GPL-3.0",
    "title": "CSB Music Player",
    "short_desc": "An admin DJ menu: play MP3s from a config to everyone via the client mp3 command, with stop, per-player mute and an anti-spam cooldown.",
    "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": "",
    "install_notes": "1. Create addons/amxmodx/configs/csb_music.ini (one mp3 path per line)\n2. Put csb_music_player.amxx in addons/amxmodx/plugins/ and add it to plugins.ini\n3. Change map",
    "known_conflicts": "MP3 playback relies on the client mp3 command; some custom clients disable it.",
    "cvars": [
        {
            "name": "csb_dj_enabled",
            "default": "1",
            "description": "Enable or disable the DJ menu."
        },
        {
            "name": "csb_dj_cooldown",
            "default": "8",
            "description": "Seconds between tracks an admin can play."
        }
    ],
    "commands": [
        {
            "name": "say /dj",
            "access": "a (ADMIN_LEVEL_A)",
            "description": "Open the track menu (admin only)."
        },
        {
            "name": "say /djstop",
            "access": "a (ADMIN_LEVEL_A)",
            "description": "Stop the music for everyone."
        },
        {
            "name": "say /djmute",
            "access": "",
            "description": "Mute or unmute the DJ for yourself."
        }
    ],
    "main": "addons/amxmodx/scripting/csb_music_player.sma"
}