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.
Daemon666
1.0.0 - Initial release.
| csb_music_player.sma main | 4799813 | 4.9 KB |
README.md
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.
Instalare
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
Cvar-uri
| CVAR | Default | Description |
|---|---|---|
csb_dj_enabled |
1 |
Enable or disable the DJ menu. |
csb_dj_cooldown |
8 |
Seconds between tracks an admin can play. |
Comenzi
| Command | Access | Description |
|---|---|---|
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. |
Jurnal de modificări — v1.0.0
1.0.0 - Initial release.Versiuni →
Evaluare
No ratings yet.
Despre
Download v1.0.0
Cerințe
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | Opțional |
| ReAPI | Opțional |
| Metamod | Metamod / Metamod-r |
| Conflicte cunoscute | MP3 playback relies on the client mp3 command; some custom clients disable it. |
Contribuitori









