For quite a few months now I have been coding almost anything that came to my head. In August 2013 I created a Jukebox that simply plays music to everyone on the server. I've re-coded it many times now and I believe I am ready to release it. Please do not repost my code anywhere else without my permission, do not claim it as your own.
Works in both Singleplayer and Multiplayer
[I][B]Features[/B][/I]
- Config for the following
• Max Songs one player can request at a time.
• Use [URL="http://facepunch.com/showthread.php?t=1228438"]Pointshop[/URL]
• Calculable Price (Price per minute of song)
• Points Per Song
• Maximum Queue Size
• Commands
- Add & Remove Songs from in-game
- Favourites
- Queue Tab
- Mute Setting
- Progress Bar on bottom of screen
- Volume Slider
- Now Playing Message
[I][B]Pictures[/B][/I]
[IMG]https://copy.com/zcMulgqCOGupSiui[/IMG]
[IMG]https://copy.com/R3uQRj0OiJxnQkEG[/IMG]
[IMG]https://copy.com/91b6wzffD3Nvt7tN[/IMG]
[IMG]https://copy.com/2Lz7hLGxbV9rTh21[/IMG]
[IMG]https://copy.com/SaygswoUzjqKZCpl[/IMG]
[I][B]Requirements[/B][/I]
VON - [url]https://copy.com/GxrFKh7QKaOItSQA[/url]
[I][B]Installation[/B][/I]
Install VON into the addons folder.
Install Jukebox into the addons folder.
Install blank.png into materials/vgui folder.
[I][B]How To Use[/B][/I]
[B]Adding Songs[/B]: As the 'master rank' (Defined in config) you can add songs by typing one fairly simple command in chat.
!addsong ### IDIDIDIDIDI Display Name
### is the length of the song in seconds. Must be 3 numbers.
IDIDIDIDIDI is the ID of the song. This is the part after v= in the youtube URL
Display Name is how the song is displayed throughout the server.
Example: To add this song [url]http://www.youtube.com/watch?v=gJEoxeW7JvQ[/url] SaveFrom.net you would type the following in chat.
!addsong 224 gJEoxeW7JvQ Imagine Dragons - Bleeding Out
Because the length of the song is 3:44 that in seconds is 224, the part after v= is gJEoxeW7JvQ that is the ID, The display name is "Imagine Dragons - Bleeding Out"
[B]Removing Songs[/B]: As the 'master rank' you can remove songs from the jukebox with one simple command.
!removesong IDIDIDIDIDI
Example: To remove this song [url]http://www.youtube.com/watch?v=gJEoxeW7JvQ[/url] you would type the following in chat.
!removesong gJEoxeW7JvQ
Commands to open the jukebox are also configurable, by default they include !jb, !jukebox, and !radio All of which can also have a "/" instead of an "!"
[I][B]Download[/B][/I]
Jukebox: [url]https://copy.com/jpmCSCUaegl2u0Vf[/url]
Player: [url]https://copy.com/ApAOjQ1MYQe1UFpD[/url]
A webhost is required for the jukebox to play. One is included by default that should work however if for some reason it is ever removed you will need to get your own. The player is included as a second download link.
[I][B]Bug Reports or Suggestions?[/B][/I]
If you have any suggestions for what I can add to this please post them below. If you have any bug reports also post them below and I will look into them.
Feedback would also be appreciated.
[I][B]Donate?[/B][/I]
Donations are appreciate as I put months of work into this. It's a generous gift and not required.
[URL="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=P4KJH8J9C947U&lc=CA&item_name=Jukebox%20Donation¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted"]Donate[/URL]
[I][B]Special Thanks[/B][/I]
A special thanks to [URL="http://facepunch.com/members/member.php?u=257577"]Willox[/URL] who helped me make this whenever I asked for it.
Thanks to Vercas for creating von.
Installed everything according to instructions but it wont work. Pointshop stops working with this as well.
Only error I see from server console is.
[CODE]
player steamidblabla Lua Error:
Couldn't include file 'cl_jukebox.lua' ( File not found ) (@addons/jukebox/lua/autorun/init.lua (line 11))[/CODE]
I experienced both of these on my server and forgot to put the fix on my computer before uploading, sorry about that. Originally my fix for the pointshop was I just copied the entire config file into the other shared file for the pointshop and that fixed it however that makes me think it was a conflict with the name possibly. In this version I renamed the config to sh_jukeboxconfig and fixed the other error. Let me know if this fixes the pointshop conflict as well.
[url]https://dl.dropboxusercontent.com/u/105870951/Jukebox/Jukebox.zip[/url]
For some reason some users can hear the song, while others cannot.
Both incidences the individuals have unmuted the jukebox, is this a known problem?
Install Flash for other browsers and it wont work on mac due to awesomium being broken.
Why is this not more popular? It's a great addon to have on any server.
This is pretty cool actually
Might as well post, I don't use this but I worked with him at the time. The jukebox is really good and he put allot of effort into making it. A great and appealing addon that has little, if any flaws. (In terms of why you want it not the code.. ^.^)
did everything correct and play the song but nothing is playing, i even made sure i unmuted the jukebox. Any suggestions?
Flash for other browsers.
i installed flash for other browsers but it still won't work...any ideas?
If you're on mac (which I don't think you are) then it wont work due to awesomium. Flash for other browsers DOES fix the problem, Shadow however not always. I'll ask 613 to come and post as that's all I know.
You should make this server wide, not just client side, it kinda sucks having to get everyone to download flash for other browsers.
Could you add a list of songs to go with this since adding each song seems to be very time consuming. Its a good addon, don't get me wrong, but you have to get the end part of the link, then calculate the time, then add the display name and then put it all together in one line for one song. Is there no way that the display name could be taken from the YouTube link itself and the time work using 3:23 as 323 instead of having to find the seconds. I like this addon, I just don't think its very time efficient. hey, what can I say though, its free.
I added this to my server, everthing works.. kinda..
Well I can see the jukebox and I can add songs and everything.
I just don't hear anything when I try to play a song.
What can be wrong? :/
Here's the error from console:
Failed to load sound "", file probably missing from disk/repository
Jukebox Retrieved 2 Songs.
Jukebox Retrieved 2 URLs.
Jukebox Retrieved 2 Lengths.
This server is using Six-One-Three's Jukebox Version: 1.2
Failed to load sound "", file probably missing from disk/repository
Failed to load sound "", file probably missing from disk/repository
Or you can use Wolf DJ. :v:
They both offer different things, some good and some bad. It would be hard to compare the two.
As a heads up, the creator of this addon isn't really interested in working with Garry's Mod anymore
For anyone who can't hear the jukebox:
The jukebox is muted by default
You need to have Flash Player installed (I'd install both for IE and for other browsers)
Also this relies on a web player that is hosted on six one three's old community website, however seeing as that's dead now it may have been deleted in which case I'll get it off him and put it up.
[QUOTE=Roag15;45094164]Also this relies on a web player that is hosted on six one three's old community website, however seeing as that's dead now it may have been deleted in which case I'll get it off him and put it up.[/QUOTE]
I have uploaded the files here for anyone to use if you do not have your own webhost. [url]http://services.drsclan.net/player/player.html[/url] (all of the player files are in there). I recommend hosting your own but ours is there as well.
Anybody have the download link for the jukebox?
Download link?
Does anyone have this add-on available somewhere? It appears the download link broke :(
Feel free to PM me if you'd rather not post it here publicly for whatever reason.
Ya, need that working DL link buddy.
As I said back in March, the creator (who I know) lost interest in gmod so unless anyone else can provide the addon/support I should probably close this thread
Eh, I think I have a copy of the old one, but I'll see if I can grab the new one off him and stick a DL link up.
-snip-
[QUOTE=Roag15;45688212]Eh, I think I have a copy of the old one, but I'll see if I can grab the new one off him and stick a DL link up.[/QUOTE]
any update on that link?
Sorry, you need to Log In to post a reply to this thread.