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.
@WegFetZ
thanks :), but still not working. not right file format. i tried everythink
@maxiking913
For reasons you will find in the FAQ, I won't give support for unofficial builds. If you want to make your own version, you will have to find out how to compile it, yourself.
@maxiking913
As stated in the news and the changelog, since version 0.3, the plugin will no longer support streaming from the gameserver. you can still use version 0.2, but you won't benefit from new features then. If you're having trouble adding files, make sure your url is pointing directly to the file. You can test this by opening the url with the browser. If it does not immediately start to download or play the file, you do not have the correct url.
and he say that my file is not am mp3. But it is an mp3. tried with google drive and dropbox and mega. pls add the old local adding by select file!
v0.305 get it with own compiling? and with wich programm i can compile it?
tryed eclipse
For those of you who had trouble with voice chat:
In client v0.305 all voice chat issues have finally been fixed. If you use the standalone version, please update to 0.305. The integrated applet on sound-center.com is always up-to-date.
@WegFetZ Yes of course! The IP is pp.mcjoin.it(:25811)
@timvango
Would you allow me to join your server so that I can try myself?
@WegFetZ It isn't stuck at loading data anymore, and I can set an area an add music to it. But the music is not starting! When I use /sc play, it does, but with WG regions and normal area's it doesn't...
What could make this error?
@timvango
Thanks, I will review this and get back to you.
Update: I checked your logfile. For some reason all your log messages have the SoundCenter prefix. Only the first error is caused by SoundCenter. I will fix this one tomorrow, but I have no idea whats wrong with the logger.
Oh yeah, didn't think about that! I've only copied the part of SoundCenter. Booting server:
[15:42:14] [Server thread/INFO]: [SoundCenter] Enabling SoundCenter v0.3 [15:42:14] [SoundCenter Plugin/WARN]: [SoundCenter] Error while loading data. [15:42:14] [SoundCenter Plugin/WARN]: [SoundCenter] [DEBUG] null java.lang.NullPointerException at com.soundcenter.soundcenter.plugin.SoundCenter.onEnable(SoundCenter.java:84) [SoundCenter(1).jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) [custom.jar:git-Spigot-1473] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [custom.jar:git-Spigot-1473] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [custom.jar:git-Spigot-1473] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.loadPlugin(CraftServer.java:465) [custom.jar:git-Spigot-1473] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.enablePlugins(CraftServer.java:383) [custom.jar:git-Spigot-1473] at net.minecraft.server.v1_7_R3.MinecraftServer.n(MinecraftServer.java:359) [custom.jar:git-Spigot-1473] at net.minecraft.server.v1_7_R3.MinecraftServer.g(MinecraftServer.java:333) [custom.jar:git-Spigot-1473] at net.minecraft.server.v1_7_R3.MinecraftServer.a(MinecraftServer.java:289) [custom.jar:git-Spigot-1473] at net.minecraft.server.v1_7_R3.DedicatedServer.init(DedicatedServer.java:193) [custom.jar:git-Spigot-1473] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:450) [custom.jar:git-Spigot-1473] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [custom.jar:git-Spigot-1473] [15:42:14] [Thread-13/INFO]: [SoundCenter] TCP-Server started on 0.0.0.0:8321. [15:42:14] [Thread-14/INFO]: [SoundCenter] UDP-Server started on 0.0.0.0:8321.
A bit further in the log: [15:43:13] [Thread-13/INFO]: [SoundCenter] [DEBUG] Error while opening TCP-streams for user:/212.187.8.247 (IP). [15:43:13] [Thread-13/INFO]: [SoundCenter] [DEBUG] invalid stream header: 47455420 java.io.StreamCorruptedException: invalid stream header: 47455420 at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:804) [?:1.7.0_55] at java.io.ObjectInputStream.<init>(ObjectInputStream.java:299) [?:1.7.0_55] at com.soundcenter.soundcenter.plugin.data.ServerUser.<init>(ServerUser.java:61) [SoundCenter(1).jar:?] at com.soundcenter.soundcenter.plugin.network.tcp.TcpUserConnection.<init>(TcpUserConnection.java:27) [SoundCenter(1).jar:?] at com.soundcenter.soundcenter.plugin.network.tcp.TcpServer.run(TcpServer.java:52) [SoundCenter(1).jar:?] at java.lang.Thread.run(Thread.java:744) [?:1.7.0_55] [15:43:13] [TcpUserConnection/INFO]: [SoundCenter] Closed TCP-connection to user null on /212.187.8.247. Reason: Unknown.
Again a bit further: [15:43:27] [SoundCenter Plugin/INFO]: [NoCheatPlus] McAccess set to: 1.7.8|1.7.9 / CB3043 [15:43:27] [SoundCenter Plugin/INFO]: [NoCheatPlus] Added block-info for Minecraft 1.5 blocks. [15:43:27] [SoundCenter Plugin/INFO]: [NoCheatPlus] Added block-info for Minecraft 1.6.1 blocks. [15:43:27] [SoundCenter Plugin/INFO]: [NoCheatPlus] Added block-info for Minecraft 1.7.2 blocks. [15:43:28] [SoundCenter Plugin/INFO]: [NoCheatPlus] Inventory checks: FastConsume is available, disabled InstantEat. [15:43:28] [SoundCenter Plugin/INFO]: Adding packet level hooks for ProtocolLib (MC 1.7.9)... [15:43:28] [SoundCenter Plugin/INFO]: [NoCheatPlus] Version 3.11.1-RC-sMD5NET-b743 is enabled. [15:43:28] [SoundCenter Plugin/INFO]: [EssentialsSpawn] Enabling EssentialsSpawn v2.13.1 [15:43:28] [SoundCenter Plugin/INFO]: [LibsDisguises] Enabling LibsDisguises v8.2.6 [15:43:28] [SoundCenter Plugin/INFO]: [EssentialsChat] Enabling EssentialsChat v2.13.1 [15:43:28] [SoundCenter Plugin/INFO]: [Citizens] Enabling Citizens v2.0.13-SNAPSHOT (build 1130) [15:43:28] [SoundCenter Plugin/ERROR]: [Citizens] Unable to find Rhino classes - javascript scripts won't see non-CraftBukkit classes [15:43:28] [SoundCenter Plugin/INFO]: [BlockHunt] Enabling BlockHunt v0.2.0_BETA_B5 [15:43:28] [SoundCenter Plugin/ERROR]: Could not call method 'public static nl.Steffion.BlockHunt.Serializables.LocationSerializable nl.Steffion.BlockHunt.Serializables.LocationSerializable.deserialize(java.util.Map)' of class nl.Steffion.BlockHunt.Serializables.LocationSerializable for deserialization java.lang.NullPointerException
[15:43:28] [SoundCenter Plugin/ERROR]: Could not call method 'public static nl.Steffion.BlockHunt.Serializables.LocationSerializable nl.Steffion.BlockHunt.Serializables.LocationSerializable.deserialize(java.util.Map)' of class nl.Steffion.BlockHunt.Serializables.LocationSerializable for deserialization java.lang.NullPointerException
(The error above is occured much times in about one second, is it possible BlockHunt conflicts?)
Complete log: https://dl.dropboxusercontent.com/u/77236550/logs/latest.log
@timvango
Okay, do you think you can somehow get the error message? The server log should also be saved in a .txt file in the log directory. You should be able to copy it from there. That would help me a lot! Thanks for your patience!
@WegFetZ
So, I deleted the file after the server was shut down, restarted it, and the file didn't come back indeed. also, the plugin made an error while booting, but it was gone before i could copy it, I use Multicraft... But it still keeps loading.
I'm sorry if I misunderstand you...
@timvango
This is the error when you are connecting. After deleting the file, what does it say when the plugin is loaded? Please delete the file after the plugin is disabled, because it will generate a new one, when it is shutdown.
@WegFetZ
Exactly the same:
29.12 11:27:02 [Server] WARN at java.lang.Thread.run(Thread.java:744) 29.12 11:27:02 [Server] WARN at com.soundcenter.soundcenter.plugin.network.tcp.TcpUserConnection.run(TcpUserConnection.java:44) 29.12 11:27:02 [Server] WARN at com.soundcenter.soundcenter.plugin.network.tcp.protocol.MainProtocol.processPacket(MainProtocol.java:30) 29.12 11:27:02 [Server] WARN at com.soundcenter.soundcenter.plugin.network.tcp.protocol.DataProtocol.processPacket(DataProtocol.java:232) 29.12 11:27:02 [Server] WARN java.lang.NullPointerException 29.12 11:27:02 [Server] WARN Exception in thread "TcpUserConnection Name: timmievg" 29.12 11:27:02 [Server] INFO [DEBUG] User /212.187.8.247 is connected to SoundCenter with id 32474.
But the client and the game do have connection, because the chat in MC says 'AudioClient initialized'!. but it did also before I renamed the data.scdb file.
Any other ideas?
@timvango
Okay, this is the same as Ticket 21. Please try to delete the old data.scdb file. Or give it a different name if you want to keep it, because it contains your old configuration.
@WegFetZ This is with debug enabled:
29.12 10:52:36 [Server] WARN at java.lang.Thread.run(Thread.java:744) 29.12 10:52:36 [Server] WARN at com.soundcenter.soundcenter.plugin.network.tcp.TcpUserConnection.run(TcpUserConnection.java:44) 29.12 10:52:36 [Server] WARN at com.soundcenter.soundcenter.plugin.network.tcp.protocol.MainProtocol.processPacket(MainProtocol.java:30) 29.12 10:52:36 [Server] WARN at com.soundcenter.soundcenter.plugin.network.tcp.protocol.DataProtocol.processPacket(DataProtocol.java:232) 29.12 10:52:36 [Server] WARN java.lang.NullPointerException 29.12 10:52:36 [Server] WARN Exception in thread "TcpUserConnection Name: timmievg" 29.12 10:52:36 [Server] INFO [DEBUG] User /212.187.8.247 is connected to SoundCenter with id 6288.
@timvango
Hi, Please set the debug-mode in the config.yml to true. then reload the plugin. Check if any error occures when the plugin is enabled, or when you are trying to connect with the client.
It shouldn't be necessary to delete the whole folder.
Hello!
I just updated to version 0.3. Since 0.2, I wasn't able to connect anymore, and now I am.
But now the client is stuck at ''Loading data...'.
It's the same problem for the online as the standalone version of the applet. Do I have to remove my whole SoundCenter folder and let the plugin regenerate it, because 0.3 is a major update and isn't compatible with existing setups and previous versions?
Thanks already for helping!
(I'm sorry if my English isn't very well)
@WegFetZ
Hey, I tried it with 2 different computers, both music works fine and everything, voice chat not so far :/
Any ideas? / trouble shoot debug?
@UnitedFactions
The voice chat is very simple and does not yet offer any configuration. It should use your OS' default recording device. I will likely work on the voice chat to allow to select the microphone (and maybe even voice activation). I'm also planning voice chat channels.