Raised This Month: $7 Target: $400
 1% 

[ANY] SoundCloud ( v1.7.3 Updated 7/10/2017 )


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Alienmario
Senior Member
Join Date: Aug 2013
Plugin ID:
4632
Plugin Version:
1.7.3
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    50 
    Plugin Description:
    Background SoundCloud player
    Old 05-14-2015 , 19:06   [ANY] SoundCloud ( v1.7.3 Updated 7/10/2017 )
    Reply With Quote #1

    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
    Attached Files
    File Type: sp Get Plugin or Get Source (soundcloud.sp - 2207 views - 12.9 KB)
    File Type: zip soundcloud.zip (869 Bytes, 553 views)

    Last edited by Alienmario; 12-02-2018 at 11:57. Reason: Updated
    Alienmario is offline
    painn
    Member
    Join Date: Mar 2009
    Old 05-15-2015 , 11:47   Re: [ANY] SoundCloud
    Reply With Quote #2

    server.cfg cvar sm_sc_url "my.webhosting/soundcloud.php" ?

    consol say
    ] sm_scall Epic Sax Guy - Epic Sax
    FF9900[SoundCloud]DDDD55 Admin -=pain=- played FF9900Epic Sax Guy - Epic SaxDDDD55. Use FF9900!scstopDDDD55 to stop playback.

    chat [SoundCloud] Admin -=pain=- played Epic Sax Guy - Epic Sax. Use !scstop to stop

    music not work play help me i Noob
    painn is offline
    Alienmario
    Senior Member
    Join Date: Aug 2013
    Old 05-15-2015 , 12:44   Re: [ANY] SoundCloud
    Reply With Quote #3

    Turns out only the embedded player is supported in in-game browser.
    Files updated, redownload please. Autoplay removed as result
    Alienmario is offline
    Lukarika
    New Member
    Join Date: Dec 2014
    Old 05-16-2015 , 16:49   Re: [ANY] SoundCloud
    Reply With Quote #4

    Great plugin! but when I type "!sc sound name~" I see something like this game - csgo
    Can you fix it?

    Last edited by Lukarika; 05-16-2015 at 16:51.
    Lukarika is offline
    Alienmario
    Senior Member
    Join Date: Aug 2013
    Old 05-16-2015 , 18:38   Re: [ANY] SoundCloud
    Reply With Quote #5

    Thanks! Can you try again now?
    Alienmario is offline
    Lukarika
    New Member
    Join Date: Dec 2014
    Old 05-16-2015 , 19:32   Re: [ANY] SoundCloud
    Reply With Quote #6

    Quote:
    Originally Posted by Alienmario View Post
    Thanks! Can you try again now?
    Now it works great! Thankies~
    Lukarika is offline
    Electr000999
    Senior Member
    Join Date: Aug 2011
    Old 05-18-2015 , 05:08   Re: [ANY] SoundCloud
    Reply With Quote #7

    how change sound voume?)
    Electr000999 is offline
    Send a message via Skype™ to Electr000999
    Delusional.
    Junior Member
    Join Date: Mar 2015
    Old 05-19-2015 , 03:14   Re: [ANY] SoundCloud
    Reply With Quote #8

    Works really well! However I recompiled a version, where you needed root access to use the !scall command.
    Delusional. is offline
    Dragonidas
    AlliedModders Donor
    Join Date: Jun 2014
    Old 05-19-2015 , 08:07   Re: [ANY] SoundCloud
    Reply With Quote #9

    cool plugin but we need to change volume
    __________________
    Dragonidas is offline
    Alienmario
    Senior Member
    Join Date: Aug 2013
    Old 05-20-2015 , 10:27   Re: [ANY] SoundCloud
    Reply With Quote #10

    Version 1.4
    Added an experimental volume control (!scvol 1-10)
    Update both the php script (now with some javascript inside) and the smx file please.

    If you change the volume while playing, it will reload the page and try to seek the last position.

    Report any bugs / if you wanna see any changes.

    Last edited by Alienmario; 05-20-2015 at 10:55.
    Alienmario is offline
    Reply


    Thread Tools
    Display Modes

    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 04:33.


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