Music Player
by SpirT
WARNING: Some people did send some messages on discord and steam complaining about some games that were having issues with the keyvalues. I have only tested on CS:GO, therefore this is the only source game currently supported. If you found that other games work, please reply at this post, otherwise, leave a pull request at github with the game that doesn't work. In the future, I may release a version for the game that does not work. Most likely to the older games, because this is only happening with old source engine servers.
Games tested that do not work:
- Half-Life 2: DeathMatch
- Counter-Strike: Source
- No More Room in Hell
What is this?
A Music Player. This will allow you to play any song inside your server if they're setup at the config files.
Commands
sm_music - Opens a menu where players are able to choose any music to play.
sm_stop - Stops the current playing music.
sm_playervol - Sets the volume that all the musics will be played with.
Requirements
- SourceMod Installed on your server (plugin was tested on 1.10 build 6502)
- MetaMod Installed on your server (plugin was tested on 1.11 build 1144)
Installation- Upload all files to your server
- Upload your music files to 'sound/SpirT'
- Restart your server / change map / type this command in your server console: 'sm plugins reload spirt_musicplayer'
- Config files are located at 'csgo/addons/sourcemod/configs/SpirT/Music-Player/'
- Follow the config samples
ToDo List
GitHub Repo
Latest Release
Releases
-------------
1.0.2:
-> Fixed an error where the player won't be able to play the music on the next round if he had music player.
-> Added a function to add all music files to the downloads table and to precache them on map start.
-------------
1.0.1:
-> Fixed some "invalid handles" that were being spammed to the server console
-------------
1.0.0:
-> Plugin Release
-------------
For any issue or bug, reply to the post or contact me on
steam.