[FUN] SoundCenter - Music, Sounds and Voice Chat for your Server! [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by WegFetZ, Mar 18, 2011.

  1. Offline


    SoundCenter - Music, Sounds and Voice Chat for your Server!

    Version: v0.1

    CustomMusic is back! Now as SoundCenter!

    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.
    In the future SoundCenter will add a lot of cool audio features to minecraft, such as sound effects on events.

    To give you a very little idea of what it does (video is not up-to-date):

    More info on:

    or on BukkitDev

    • You can set imaginary jukeboxes, cuboid areas or worlds and biomes as music stations
    • Stations can either play your own music or sound effects, or webradio streams
    • You can also play music globally on the whole server
    • You can upload your own music files easily via the SoundCenter client
    • Supported audio formats: mp3, midi, ogg (for webradio only)
    • Everything is easily and intuitively managable with the clients user interface
    • Every feature is configurable and 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 to do now?
    It's easy: Login to your server. If you are not running the client yet, you will see a message with a link to www.sound-center.com. If you follow this link, the SoundCenter client will load and automatically fill in the required information to connect to your server.
    Press connect - now you can add and upload your songs in the "Music" tab, or add biomes or worlds to your stations. If you want to set boxes and areas, you can do this ingame via /sc set <area|box>. 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 on how to install or use the commands visit the HOW TO USE section on BukkitDev.

    Before you post any Issues/ Bugs:
    Goblom, Maxster99, gnftoxic and 10 others like this.
  2. Offline


    Should be fixed now in 0.4a.

    To be honest: I don't know different MP3 formats but actually every MP3 should work, if it's not corrupted.

    I think this won't possible for me but i am planning to add biome support.

    It's on the to-do list.

    Maybe i can get some time tomorrow. Just send me a PM when you're online.
  3. Offline


    Two items.

    First, just a bit of unasked for assistance to anyone who would like it. I found a small rewrite of the bat for the client can prevent an issue with having to re-launch the client if you get disconnected from server. I personally almost deleted the mod for this issue as I log in and out alot, and quickly lost interest in relaunching an application each time.

    java -jar "MC_AudioClient.jar" UserNameHere
    Second, I have a request. I'm wondering if there's any possibility of midi support. There are a couple of mods that allow songs to be played via midi/mml, but they use noteblocks and sound rather.... ghastly. No offense to those modders, I'm sure their work is stellar, but note blocks themselves leave sooooo much to be desired (almost as much as redstone wiring). This mod/client method is definitely far superior to using noteblocks, but, as you're aware mp3 is a rather large chunk to be sending out on a larger server, where all some people require is simple instrumentals, which are often handled far better by midi, which also has a much smaller overhead for transfer than an mp3. (For my own music it's the difference between 5MB and 10kb)
  4. Offline


    1) Good idea, i'll add this to the FAQ
    2)it's already on the to-do list
  5. Offline


    Another question -- As I'm about to start delving into modding this game (I really don't want to teach myself java...) is there any reason the client side for something like this can not be built into a mod for the game itself?
  6. Offline


    Ok I'm going crazy ...

    Unable to establish connection between my audioclient to my server.

    I noticed it in my AudioClient.Propreties

    #=== MC-AudioClient configuration ===
     # Wed Apr 20 2011 2:29:18 p.m. EST
     Server-IP =
     Server Port = 4224 
    my starclient.bat has its:
     "C: \ Program Files \ Java \ jre6 \ bin \ java.exe"-jar "MC_AudioClient.jar" proximo021
    and my cm.propreties:
    #=== CustomMusic configuration ===#
     Wed Apr 20 9:02:55 EST 2011
     Max-per-MP3-Player = 5
     Max-Boxes-per-player = 3
     Server Port = 4224
     Max-MP3-Size-MB = 15
     Music-range = 15

    I'm really going crazy ...

    once I run my startclient.bat, it makes no connection, it simply noted that the path of java.exe, my name (proximo021), and the path of my audio client, and pause ....

    and it's over ! Not a error or i don't know...


    ps: I've open the port 4224 and 25565 TCP/UDP on my modem
  7. Offline


    You also need to open the ports 4225-4227. Note that you should open them on your server's firewall if the server isn't on the same router as your pc.
    Remove the port from the Server-IP in the AudioClient.properties.

    This can be done, but not by me.
  8. Offline

    Bradley Hilton

    Now that I've updated to 0.4a I get a File not found (or something, I don't remember what since I'm not at my computer). What doesn't make sense is that it just got done uploading... And all file names are lower case.

    Also Linux users can add ./startclient.sh and it'll do the same as on Windows.
  9. Offline


    Oh, did you try to choose yor songs again? Or delete the box and set it again?
  10. Offline


    Thanks, it's ok :)

    But Now, my friends can't listen the sound...

    I've writen - cm.init in the permission's group, but it's the same,

    Thanks for ur help :)
  11. Offline

    Bradley Hilton

    Yeah o can choose them, but then it's the client side that says File not found
  12. Offline

    The PC Tech Guy

    I like the way you made it to choose songs, I was thinking you'd make it different, more limited way. :)
    Can you make the login message (when you aren't running the Audio client) customizable in the next version?
  13. Offline


    okay i just got this and i have it working and everything but i ran into a strange error but there's no error report at all it just all of a sudden started playing all of the songs at the same time and even played the same songs at alternate timing as well
    to clarify it played song 1-3 at the same time while playing song 2 at 30 seconds off as well and song 1 15 seconds off so i had 5 things playing at once and whats worse is i toggled the music off and they kept going

    also i only had 2 boxes set and they are about 200 blocks away from each other
  14. Offline


    Do they use the audio client?

    hmm, it's difficult for me to find this bug, because i don't use Linux. Does it write a stacktrace again or does it just say "Missing MP3!"?

    I'm glad you like it :D
    I will add the customizable message in the next version, thanks for the good idea :D

    This is really strange. Wait for the next version. I rewrote a lot of code that handles the starting/ stopping of songs to make it possible to set boxes in range of each other and to add per-box range.
  15. Offline

    Bradley Hilton

    I'll have to verify in an hour or two, but I think it only said "Missing MP3!".
  16. Offline


    Im the owner of a server and if i do /cm init or other commands of that music it says U DONT GOT PERMISSION TO DO THAT rlly help me?
  17. Offline

    The PC Tech Guy

    Hey, keep your cool. Hy don't you post your Permissions config file? Or CB build? We need more information than just a message that's client-side.
  18. Offline


    Can you make music loop?
  19. Offline


    its pousible send over shoutcast
    on the plugin?
  20. Offline


  21. Offline


    Actually it should loop if you stay until the song is finished.

    No, it's not.

    Version 0.5:
    • added per box-range configuration
    • added possibility to set a box that overlaps with the range of another box (requires permision 'cm.setbox.overlap')
    • added more specific permissions (check the permissions section in the how-to)
    • added possibility to delete other player's boxes: Use /cm deletebox <number> [player] (requires 'permission cm.deletebox.player')
    • added possibility to list other player's songs: Use /cm list [player] (requires permission 'cm.list.player')
    • added customizable "Initialization failed" login-message
    • finally fixed "Missing MP3!" error on Linux? (couldn't test)
    • fixed NullPointerException being displayed in the AC
    • some more little bugfixes (and hopefully no new bugs ;) )
    I also worked on ogg and midi support but i ran into some issues so i decided to release 0.5 without it, because i won't be at home for a week from tomorrow.
    Unfortunately i couldn't get the distortion bug fixed yet. Maybe anyone knows a good mp3 player lib for java?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 12, 2016
  22. Offline

    Bradley Hilton

    I will test the "Missing MP3!" in Linux and let you know.
  23. Offline


    Awesome work on 0.5. Thank you very much for implementing my permission suggestion ;)

    How i can customize this? No new config avaible in AudioClient (ZIP).
  24. Offline


    Thank you very much for the suggestion ;)
    You can customize the message in the cm.properties file (in the CustomMusic folder on your server)
  25. Offline


    Thanks. I will let recreate cm.properties file at restart and hope there is the setting.

    How about to implement redstone support for boxes? Suggest: You need to "/cm setwire <boxnumber>" and then link it with a rightclick on a redstone torch. (again a feature like used in plugin DropChest with "/dropchest which" or "/dropchest add") Or you will do this with signposts like other redstone plugins work. This feature/command must be in range of new permissionvalue "cm.maxWireRange".
  26. Offline


    OK, I know you are saying I am using a corrupted MP3, but it is doing it to all of my files:

  27. Offline


    I really like this, but one thing I would change is the /cm list feature.
    Since you can't scroll through the chat in Minecraft, if there's more than 20 songs on the list, a lot won't be visible. For example, let's say you have 54 songs. It would only list 35-54.
    So maybe have it so that it lists them in "pages".
    Meaning, have them type /cm list 1 for the first 20, /cm list 2 for the next 20, etc.
  28. Offline


    getting the same error as ChadTheDJ :/ Tried with many different MP3's and all the same issue :( (Well almost same error)

    Exception in thread "Player" java.lang.IllegalArgumentException: No line matching interface SourceDataLine supporting format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian is supported.
            at javax.sound.sampled.AudioSystem.getLine(AudioSystem.java:476)
            at javazoom.jlgui.basicplayer.BasicPlayer.createLine(BasicPlayer.java:426)
            at javazoom.jlgui.basicplayer.BasicPlayer.initAudioInputStream(BasicPlayer.java:270)
            at javazoom.jlgui.basicplayer.BasicPlayer.open(BasicPlayer.java:218)
            at de.WegFetZ.BasicMP3Player.Mp3Player.play(Mp3Player.java:33)
            at de.WegFetZ.AudioClient.Player.createPlayer(Player.java:59)
            at de.WegFetZ.AudioClient.Player.run(Player.java:45)
  29. Offline


    suggest 1: a command like "/cm list", probably "/cm boxlist [player]" to get a list of all players boxes with boxnumber/choosensongnumber/range/x,y,z. for existing permission "cm.list.player" would be nice.

    Then move existing "cm list" to new command "/cm songlist"

    suggest 2: /cm list showing me songnumbers starting at "0". Can you please make it starting at 1? this will help a lot with handling songs ;)
  30. Offline


    Exception in thread "Player" java.lang.IllegalArgumentException: No line matchin
    g interface SourceDataLine supporting format PCM_SIGNED 44100.0 Hz, 16 bit, ster
    eo, 4 bytes/frame, little-endian is supported.
    at javax.sound.sampled.AudioSystem.getLine(Unknown Source)
    at javazoom.jlgui.basicplayer.BasicPlayer.createLine(BasicPlayer.java:42
    at javazoom.jlgui.basicplayer.BasicPlayer.initAudioInputStream(BasicPlay
    at javazoom.jlgui.basicplayer.BasicPlayer.open(BasicPlayer.java:218)
    at de.WegFetZ.BasicMP3Player.Mp3Player.play(Mp3Player.java:33)
    at de.WegFetZ.AudioClient.Player.createPlayer(Player.java:59)
    at de.WegFetZ.AudioClient.Player.run(Player.java:45)

    what now?
  31. Offline


    When I boot Bukkit it tells me that audioclient has no plugin.yml, i unzipped the jar to see it in fact didn't have one. Yes I have the latest version. Could someone upload theirs or something?

Share This Page