Raised This Month: $ Target: $400
 0% 

[CS:GO/?] Music Player


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
SpirT
Senior Member
Join Date: Sep 2018
Location: Portugal
Plugin ID:
7464
Plugin Version:
1.0.2
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A music player
    Old 01-16-2021 , 10:06   [CS:GO/?] Music Player
    Reply With Quote #1

    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
    • Nothing for now


    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.
    Attached Files
    File Type: zip Music & Sound Player (1.0).zip (13.2 KB, 326 views)
    File Type: zip Music & Sound Player (1.0.1).zip (13.7 KB, 251 views)
    File Type: zip Music & Sound Player (1.0.2).zip (15.0 KB, 501 views)
    __________________

    Last edited by SpirT; 09-02-2021 at 04:43. Reason: Update - v.1.0.2
    SpirT is offline
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 23:52.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode