CSB Music Player v1.0.0
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.
Установка
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-ы2
| CVAR | Default | Description |
|---|---|---|
csb_dj_enabled | 1 | Enable or disable the DJ menu. |
csb_dj_cooldown | 8 | Seconds between tracks an admin can play. |
Команды3
| 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. |
Рейтинг
Оценок пока нет









