CSB Music Player

v1.0.0 8 downloads Daemon666 Last updated: Jul 16, 2026

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.
  • /dj menu (admin), /djstop to stop, /djmute to opt out.
  • Cooldown via csb_dj_cooldown prevents track spam.
  • Muted players are skipped so their choice is respected.

Installation

  1. Create addons/amxmodx/configs/csb_music.ini with one MP3 path per line (relative to the game folder).
  2. Compile csb_music_player.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Change the map.

Installation

1. Create addons/amxmodx/configs/csb_music.ini (one mp3 path per line)
2. Put csb_music_player.amxx in addons/amxmodx/plugins/ and add it to plugins.ini
3. Change map

CVARs

CVARDefaultDescription
csb_dj_enabled 1 Enable or disable the DJ menu.
csb_dj_cooldown 8 Seconds between tracks an admin can play.

Commands

CommandAccessDescription
say /dj a (ADMIN_LEVEL_A) Open the track menu (admin only).
say /djstop a (ADMIN_LEVEL_A) Stop the music for everyone.
say /djmute Mute or unmute the DJ for yourself.

Changelog — v1.0.0

1.0.0 - Initial release.
Versions →
Contributors: Daemon666 ✦
Original author: DJ Plugin / Music Menu (concept) License: GPL-3.0

Rating

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
Download source (.sma)
Files:
csb_music_player.sma main 4.9 KB

Requirements

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Not required
ReAPI Not required
Metamod Metamod / Metamod-r
Known conflicts MP3 playback relies on the client mp3 command; some custom clients disable it.
Back to Plugins