Lets players listen to any music from soundcloud in the background.
Possible replacement for the grooveshark plugin.
Player Commands:
Quote:
- !sc - Play a song on soundcloud. Format: !sc song_name
- !scnext - Plays next song from last played song
- !sclisten - Listen to current song set by admin (with !scset).
- !scstop - Stops song playback
- !scvol, !scvolume - Sets soundcloud volume (0-10). This is saved in clientprefs (see databases.cfg)
- !scopen, !scbring - Opens the playing window
- !schelp - Prints out plugin commands in chat
|
Admin Commands (kick flag) :
Quote:
- !scall - Play a song on soundcloud to all players. Format: !scall song_name
- !scset - Sets the song that others can !sclisten to. Format: !scset song_name
- !scstopall - Stops song playback for everyone
|
Cvars:
Quote:
sm_soundcloud_version Plugin version
sm_sc_url yourhost.com/soundcloud.php Soundcloud php script location. Needs to follow the default format
sm_sc_visible [def=0] 1 = makes the window popup, 0 = plays in background
sm_sc_volume [def=3] 0-10 default volume
|
Installation:
Drop soundcloud.smx in addons/sourcemod/plugins.
You will need to host the included php script and then set sm_sc_url to match your host (must match the default format) in server.cfg
You can use any free web-host you can find that supports PHP.
To verify your php script is hosted correctly, in your browser go to yourhost.com/soundcloud.php?search=epic%20sax