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

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

  1. Offline

    WegFetZ

    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



    Features:
    • 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

    QQCucumber

    It doesn't work the same way man, this plays music over a midi player, MidiBanks uses the very limited and laggy noteblocks.
     
  3. Offline

    immac636

    For mac, make a new textedit document, and paste this: java -jar "Location/Of/Audio/Client.jar" (Username).
    Edit it appropriately.
    Save it as start.command, then open terminal
    Type "chmod a+x " and then drag start.command into terminal.
    It should now work.

    Hope I helped.
     
  4. Offline

    sampuig12

    I installed everything good and all but no sound music ^^, just one thing my music from the music file won't stop deleting itself o_o so i put it back when the audio client is [ON] and i /cm init again but no music ( the music delete itself when i launch my server and audio client thank you !
     
  5. Offline

    WegFetZ

    Did you put your music into the directory "Music/craftplayer{name=YourMinecraftName}"?
    Replace YourMinecraftName with your minecraft name :D
     
  6. Offline

    sampuig12

    Music/craftplayer{name=sampuig12}
    Yes

    Oh i didn't see i had this error to :

    [​IMG]

    It says enabled anyway

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

    WegFetZ

    Wait, did you put the AudioClient into your plugins directory?
    You have to start this on your local PC where you play Minecraft.
    Just put it somewhere on your PC and run the startclient.bat.
     
  8. Offline

    Devian50

    well you see the way this plugin works is that it just transfers music files to the client and then plays them adjusting volume as you move around. MidiBanks may use noteblocks but doesnt require a second program(or batch file) to be running to work! But I see what you mean. just a plain old music player like you put a record in the jukebox idea... Just a single block.
     
  9. Offline

    Bradley Hilton

    I'm not sure if I'm doing something wrong or if it's a bug, but I've set a box and uploaded the music and all that as the directions say. In my properties file the "Music-range=15" but it's not working. I know without a doubt that I'm more than 15 blocks away from where I set the box, and I do a "/cm status" and it says I'm not within range of any boxes yet I'm still playing the music loud and clear. Thing is I don't get any errors anywhere. In the server or client. If there's anything I can help with, let me know.


    ---Edit---
    Oh and for those linux users who want to use this, just open up Text Editor or your favorite plain text editing program and type "java -jar "MC_AudioClient.jar" YourUserName". Save it as "startclient.sh" in the location of "MC_AudioClient.jar", then open up the terminal and go to the folder that contains all this. Type "chmod +x startclient.sh". Now you can double-click the startclient.sh and the client will start up. Hope this helps someone.
     
  10. Offline

    Darkwizard98

    I get this to but i Get this error. and then it starts to do that.
    Code:
    Exception in thread "BasicPlayer" java.lang.NullPointerException
            at javazoom.jlgui.basicplayer.BasicPlayer.run(BasicPlayer.java:603)
            at java.lang.Thread.run(Unknown Source)
     
  11. Offline

    Bradley Hilton

    Okay I can confirm too that I too get this error in the AudioClient. It happens after running for a little bit, not immediately.
    Code:
    Exception in thread "BasicPlayer" java.lang.NullPointerException
        at javazoom.jlgui.basicplayer.BasicPlayer.run(BasicPlayer.java:603)
        at java.lang.Thread.run(Thread.java:636)
    
     
  12. Offline

    WegFetZ

    @Darkwizatd98 @Bradley Hilton
    I also get this error but actually it shouldn't do any harm.
    I'll try to fix this when i'm done with the option to choose the songs a box plays.
     
  13. Offline

    Bradley Hilton

    The only thing that it seems to do is not fade away the music and continue to play no matter how far away you are from the jukebox.
    Looking forward to being able to pick the songs!
     
  14. Offline

    theoliverg

    i am having a problem

    whenever i put my name into

    craftplayer{name=yourminecraftname}
    i do it like this
    craftplayer{name=theoliverg}
    then i open startclient.bat
    and it still says
    yourminecraftname
    and when i go back into the music folder i see it made another folder with
    craftplayer{name=yourminecraftname}
    Code:
    C:\Users\Oliver\Desktop\adio>java -jar "MC_AudioClient.jar" YourMinecraftName
    Connected!
    Name registered! Log into Minecraft within 60s or use '/cm init' if you are alre
    ady logged in.
    
    what do i do?
     
  15. Offline

    WegFetZ

    @theoliverg
    Change the bat file, not the folder.
     
  16. Offline

    SeeD419

    It seems really buggy and could use some work. You spelled 'Custom' correctly for the enable message but wrote "Custum" for the disable one. Sometimes the music glitches and sounds totally distorted until you relog and there's no way to select songs.

    Also, the /cm toggle only works for you. The music doesn't play for everyone unless they toggle it. If I shut off the music, it only shuts off for me, and not everyone else...

    Furthermore, the audio isn't synced at all. I'm listening to one song, and the user next to me is listening to a totally different song.

    So it's not really like jukeboxes at all :/
     
  17. Offline

    WegFetZ

    1. It's a typo, thanks for reporting
    2. The distortion is a known bug and can be solved by using /cm toogle twice
    3. Selecting songs is on the to do list. For now you can select songs by uploading only the songs you want.
    4. It is supposed to only toggle it for the player. If you want to toggle it for the whole server, disable it.
    5. Once everybody has downloaded all files, if your system time is set properly it is synced. This will be independant of system time when selecting songs option will be implemented.
     
  18. Offline

    StoutyAlex

  19. Offline

    theoliverg

    the name of the .bat file????

    what program do you run a .bat file in because i went to

    control panel-->programs----->associate a file type with a program---
    and i change the .bat program to open with notepad and now i can run the .bat!
    and i forgot what program you run .bat files in
    i tried command prompt! but what do i have to set as the default program for opening .bat files?
    and how do i find it?

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

    Darkwizard98

    cmd.exe runs bats. its in your windows folder somewhere.
     
  21. Offline

    SeeD419

    Well, thanks for the elaborate reply. I'll see if I can get things running better.

    Although the distortion is killing me. It's really annoying and it keeps happening.

    *tp somewhere
    /cm toggle
    /cm toggle
    *song changes
    /cm toggle
    /cm toggle
    *3 minutes go by
    /cm toggle
    /cm toggle

    Edit: Okay our times are set correctly, but we're in different time zones (obviously) and it is still not synched.
     
  22. Offline

    Josh Harwood

    AudioClient initialized!
    Exception in thread "CPlaying" java.lang.NumberFormatException: For input string: "CraftPlayer{name=Giggaflop}"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:449)
    at java.lang.Integer.parseInt(Integer.java:499)
    at CPlaying.run(CPlaying.java:45)
    ^ happens when you walk backwards through and area, stops client responding
     
  23. Offline

    theoliverg

    i did and when i double click it it comes up like this

    Code:
    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    
    C:\Users\Oliver\Desktop\AA MINECRAFT\audio>
    it doesnt run it
     
  24. Offline

    Entsafter

    Is it normal that every jukebox I set plays EVERY song of my uploaded music? That sucks... I want to choose which track keeps playing :(
     
  25. Offline

    jeddeliso

    HELP, im trying to set up audio client but no success, i suck at java
    directory: C:\Users\John\Desktop\BukkitAC

    can someone make my propety file for me? :D
     
  26. Offline

    madzz

    what to do ?
     

    Attached Files:

    • cmd.jpg
      cmd.jpg
      File size:
      58.5 KB
      Views:
      4
  27. Offline

    kmccmk9

    Hi, I can't get the AudioClient working. This is the error I get when trying to run it as administrator
    Code:
    C:\Users\Kyle\Downloads\CustomMusic_AudioClient>java -jar MC_AudioClient.jar
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
            at Client.main(Client.java:49)
     
  28. Offline

    jmcneely

    I can't seem to get the audioclient to work. I followed all the direction but when I try and start it the window just blinks. Comes up then disappears, nothing happens.
     
  29. Offline

    kmccmk9

    Ok I finally got it working using craftbukkit # 670. If anyone needs help I can make a tutorial on how I did it and post it here...
     
  30. Offline

    Kartus

    probably at first repeat of a mp3 file ca. 4 minutes, i heard this "chchrchr" noise in the musicstream like radios with bad antenna ;)
    and got this error:
    Code:
    Exception in thread "BasicPlayer" java.lang.NullPointerException
            at javazoom.jlgui.basicplayer.BasicPlayer.run(BasicPlayer.java:603)
            at java.lang.Thread.run(Unknown Source)
    
     
  31. Offline

    waytodusk

    Heya. So I've placed the music in my computer's directory
    C:\Users\Yongzheng\Desktop\Audioclient\Music\craftplayer{name=waytodusk}

    When i go into minecraft and type in the command /cm setbox 1, they say that I have no mp3 files in the folder. why is that so? My files are of .mp3 format.

    Go to your audioclient folder, right click startclient.bat.
    Replace the word 'java' with "C:\Program Files (x86)\Java\jre6\bin\java.exe" with the quotes on.
    I'm running Windows 64bit. If you're running on 32bit, replace it with "C:\Program Files\Java\jre6\bin\java.exe" instead.
    Remember to replace YourMinecraftName with your minecraft username :)

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

Share This Page