SoundCenter
SoundCenter - Music, Sound Effects, Webradio and Voice Chat for Minecraft!
Important
Development for SoundCenter is discontinued, but there is a great alternative that I like to recommend: MCJukebox
Version: v0.3
SoundCenter (formerly CustomMusic) allows you to set music boxes or regions that stream your own music, sound effects or webradio to all players in realtime.
It also implements a simple voice chat for Minecraft.
To use the features that SoundCenter offers, you and everyone who wants to hear music and voice chat must download and use the SoundCenter client.
You do not have to download or install anything. The client is running as a java applet on the website. You will get a message with a link to the client when you join the server. When you follow this link, the client will automatically connect. - Could not be easier.
Here's a video that shows how to use the plugin (Thanks to @jithins):
Development discontinued
Unfortunately I will no longer be able to work or give you support on this project. I am sorry that I couldn't implement all your awesome suggestions.
Thank you for almost 5 years of support, criticism, praise and blame ;) You are awesome!
If you are willing to take over this project, feel free to contact me.
Features
- You can set imaginary jukeboxes, cuboid areas or worlds and biomes as music stations
- You can also use WorldGuard regions as stations
- Stations can either play your own music/ sound effects, or webradio streams
- You can use a command or the client to play songs for yourself, all players in a world, or all players on the server
- You can use any supported audio file that is stored on a public webserver. Filehosters like DropBox will work as well.
- Supported audio formats: MP3, for webradio also OGG
- Everything is easily and intuitively managable with the client's user interface
- Every feature is configurable
- You can limit access with permissions
Extra Features:
- Voice chat
- SoundCenter adds a simple voice chat to your Bukkit server
- You can speak locally (only players that are not far from you can hear you. Volume depends on their distance)
- But you can also speak globally (The whole server can hear you)
- You can disable voice chat on your server if you don't like this feature
- many more to come
How does it work?
Okay so I have SoundCenter installed on my server, what can I do now?
It's easy: Before or after logging into Minecraft, run the SoundCenterClient.jar.
Now you can add songs in the "Music" tab, or add stations in the "Stations" tab. Boxes, areas or WorldGuard regions can be created ingame via /sc set <area|box|wgregion>. That's easier, because the box will be created at your coordinates. You can edit all properties of your stations by pressing the "Edit Station" button in the "Stations" tab.
For detailed instructions see the pages below.
Download
- Server-Admins (Plugin for server)
- Minecraft players (Required for everyone who wants to hear the music)
- Developers
How to use
F. A. Q.
Before you ask a question, take a look at the frequently asked questions.
Hey!
I tested this today, works great but the voice chat won't work? I cannot select a microphone either, we tested it from 2 sides, music works great!
But the voice chat, I am unsure which microphone java / the applet is using for the sound? Nevertheless, I get no voice passthrough? I have tried everything, /sc speak global, /sc speak, and /sc toggle voice, etc.
But I get no audio from mic? Can you make a mic test like skype? Or something?
I just wanted to let you know that I'm loving this plugin! It works perfectly! I'd like to suggest some things: Searching (in the java applet). I can see my list getting clogged after a while, so I think that could come in handy if you could implement it. Another thing you could do is make it so that songs cannot overlap (checks priority). This way, if you have a city, it could be playing a music outside that is different from the one inside the homes, shops, etc. Either way, awesome job, great plugin!
@WegFetZ
Thank you! That fixed it right away! Sorry for being so dense hahaha XD I was playing on localhost and trying to connect through the server IP. Now I joined through the server IP instead and it worked. Thanks!
@paragonxx99
That's something we can work with. Here's what I wrote about ip-verification a few posts back:
Ip verification checks if the SoundCenter client is connecting from the same ip-address as the Minecraft game client. This will prevent others from using SoundCenter with your username. But it will only work, if you enter the exact same address in both, the Minecraft and SoundCenter client. As an example, if you are running a server on your local computer you are playing with, you can either use 127.0.0.1 (localhost) to connect to it, or you could use your local network ip address (let's say 192.168.2.102) or you could use your public ip. For SoundCenter it won't matter which one you use, as long as you use same in the Minecraft and SoundCenter client. If it still doesn't work, you can disable ip-verification in the plugin config.
@WegFetZ
Hey, thanks again for your help! I did everything you told me to do, but it still does not work for me. This is what the client says: [INFO] UDP-Client started. [INFO] Shutting down... [INFO] TCP-Client started on: 172.3.8.194:4224. [INFO] TCP-Client was shut down! [INFO] UDP-Client was shut down! [INFO] Configuration saved.
This time around, it also gives me an error in the Minecraft client itself. "IP Verification Failed! Cannot use Audioclient" is what it says.
Thank you! And sorry to burden you with all these issues ^.^"
@WegFetZ
@paragonxx99
Okay, these are all possible causes of the problem:
To solve the problem:
I know that some causes sound a bit obvious, but if you go through these steps, I'm sure we will find a solution.
Alright, so I downloaded the new version and tried getting to work... It still doesn't :( On the server side, everything runs fine. I do not get the same error that I got when I was running before (in fact, I don't get an error at all - server side.)
As for what the issue is, it's on the client. This is what I get:
[INFO] UDP-Client started. [WARNING] Cannot get the I/O for 172.3.8.194:4444. Please make sure that port 4444 is forwarded for TCP and UDP on the server. Connection refused: connect java.net.DualStackPlainSocketImpl.connect0(Native Method) java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) java.net.AbstractPlainSocketImpl.connect(Unknown Source) java.net.PlainSocketImpl.connect(Unknown Source) java.net.SocksSocketImpl.connect(Unknown Source) java.net.Socket.connect(Unknown Source) java.net.Socket.connect(Unknown Source) java.net.Socket.<init>(Unknown Source) java.net.Socket.<init>(Unknown Source) com.soundcenter.soundcenter.client.network.tcp.TcpClient.run(TcpClient.java:40) java.lang.Thread.run(Unknown Source) [INFO] UDP-Client was shut down! [INFO] TCP-Client was shut down!
I'm 100% sure it's port forwarded. I've tried 3 different ports, including the same one my server's being hosted at. Any suggestions?
Again, I can't thank you enough :)
@WegFetZ
Thanks! I'll wait :)
@paragonxx99 Thank's for the screenshot!
I'll release a big update which will be incompatible to older configurations in an hour or two, so before you waste your time, I recommend waiting for the update.
If you want to fix it anyway: Please try to remove the entire Server-IP field in the plugin's config or set the IP to 0.0.0.0. If it will still fail to bind the socket, try to change the port to a higher value.
@WegFetZ
Thanks for the reply, it's awesome to see an active developer after the bukkit crisis XD
Here's what I got:
That's what the server said. This is what the client said: Connection timed out: connect java.net.DualStackPlainSocketImpl.connect0(Native Method) java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) java.net.AbstractPlainSocketImpl.connect(Unknown Source) java.net.PlainSocketImpl.connect(Unknown Source) java.net.SocksSocketImpl.connect(Unknown Source) java.net.Socket.connect(Unknown Source) java.net.Socket.connect(Unknown Source) java.net.Socket.<init>(Unknown Source) java.net.Socket.<init>(Unknown Source) com.soundcenter.soundcenter.client.network.tcp.TcpClient.run(TcpClient.java:42) java.lang.Thread.run(Unknown Source) [INFO] TCP-Client was shut down! [INFO] UDP-Client was shut down!
@paragonxx99
Please activate the debug mode and try again. It should print more information on why it is shutting down the client then.
Hey, I try running the applet, and it gives me an error: [INFO] TCP-Client was shut down! [INFO] UDP-Client was shut down!
How can I fix this (the ports are forwarded)
awesome
@Clayblock
Okay, what about permissions? And the logs?
Oh my gosh, I loved this plugin years ago, thank you so much for reviving it!! :D
@WegFetZ So this is the setup,
Both of our clients are working correctly Were within a 7 block radius We cant hear eachother globaly or loacly
@moisesortiz
Thank's, I know what Bungeecord does. What I don't know is which behaviour you would expect of SoundCenter on servers using Bungeecord. Regardless of the technical feasibility, I still think it would be a lot of work and I will definitely concentrate on my todo-list before thinking about Bungeecord, I'm sorry.
@Clayblock
Can you give me some more details? Is global voice chat working? If you have only tried the local voice chat: Were you and your test-partner close enough to each other? Have you or yourtest-partner seen any errors in the client or server log, while running both, the plugin and the client, in debug mode? Did you have permission to use voice chat? Are you sure you haven't accidently muted voice chat or your test-partner?
@NoGrav710
I'll answer your email.
Everyone that tries to play a song globally on the server gets the same error message "Client has not received an UDP packet for 10 seconds!" Please help.
@Clayblock
.
@WegFetZ
BungeeCord works like a proxy,
BungeeCord is a useful software written in-house by the team at SpigotMC. It acts as a proxy between the player's client and the connected Minecraft servers. End-users of Bungee see no difference between it and a normal Minecraft server.
When the player connects to BungeeCord, it bridges the connection seamlessly to the Minecraft server and allows the player to connect. From there, the player can use integrated commands and/or plugin-operated portals to move themselves to different servers. This system allows for a single server to become a network of seamlessly integrating servers. The possibilities are endless!
There is an api for bungeecord http://www.spigotmc.org/resources/categories/bungee-proxy.3/
I believe it is possible to create