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.
CSB Music Player turns an admin into the server DJ. Track paths are listed one per line in addons/amxmodx/configs/csb_music.ini; an admin opens the menu with /dj and picks a track, which is streamed to everyone using the client mp3 play command. /djstop stops the music for all, players can silence the DJ for themselves with /djmute, and a cooldown stops admins from spamming tracks.
Inspired by the classic DJ / Music Menu plugins. Independent GPL re-implementation.
Features
- Reads a plain-text track list from
csb_music.ini. /djmenu (admin),/djstopto stop,/djmuteto opt out.- Cooldown via
csb_dj_cooldownprevents track spam. - Muted players are skipped so their choice is respected.
Installation
- Create
addons/amxmodx/configs/csb_music.iniwith one MP3 path per line (relative to the game folder). - Compile
csb_music_player.sma, copy it toaddons/amxmodx/plugins/and add it toplugins.ini. - Change the map.









