[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

    Tyto26

    I have this on client console

    Code:
    Connected!
    Name registered! Log into Minecraft within 60s or use '/cm init' if you are already logged in.
    AudioClient initialized!
    Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
    Caused by: java.lang.OutOfMemoryError: Java heap space
        at de.WegFetZ.AudioClient.otherFuncs.sendSongList(otherFuncs.java:107)
        at de.WegFetZ.AudioClient.otherFuncs.upload(otherFuncs.java:16)
        at de.WegFetZ.AudioClient.Client.main(Client.java:114)
        ... 5 more
    
    
     
  3. Offline

    TheDarkOne

    now it says that the client version im using is no longer supported and that i should download the latest version.
    What's the latest version and where can i download it?
     
  4. Offline

    burnouthero

    its cool but cant you just play music on a jukebox
    or from itunes
     
  5. Offline

    For Ceral

    What is I don't have an "Open with" option when I right click on the batch file. What do I do then? I probably sound like an idiot, but if you would reply I would be grateful.
     
  6. Offline

    WegFetZ

    exactly

    The others also need to run the client.

    I will think about that when i work on integrating the client into the minecraft client.

    @Tyto26
    Take a look at the known issues- section.
    I'd appreciate if you could give me some more information (e.g. Number of songs/directory in your server's and client's Music folder, OS or anything else you think could have t do with this error)

    The latest version is 0.7 and you can download it in the OP.
    If you update CustomMusic.jar you'll also need to update the audioclient.

    You mean instead of using an audioclient?

    Open it with notepad or any other texteditor program (microsoft word, wordpad, open office...).
     
  7. Offline

    Tyto26

    With or not the prarameters it's the same thing. I have no songs on both of file. No firewall on my pc ans the Os is Linux (Ubuntu) 10.04 LTS.
     
  8. Offline

    portgas123

    i dont use permissions on my server since its all basically like 3 to 10 ppl at most, but the thing with CM is that when i first logged on i could delete my stuff like boxes and stuff, but when i logged off and got back on later it says you do not have permission to delete other ppls stuff... but that im that person who made it >.> lol
     
  9. Offline

    james mccarthy

    so u mean i need to have them download the audio client?
     
  10. Offline

    TheShadow777

    works with audioclient on a root server?
     
  11. Offline

    neo6633

    I want to this.
    I only can start music.
    And others can only listen the music.
    I want to do this.
     
  12. Offline

    DuhDarkDevil

    everytime i run the client.bat it says "it is not recognised as a command prompt or batch file"
    WHY?! i did everything correctly but once i drag it into the desktop or anywhere else it stuffs up
    Well i cant really read what it says but I NEED HELP!

    ok never mind i found a way to make it work :D since it works THIS IS AWESUM!!!!

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

    portgas123

    how do you make the area song louder? because the further away i get i cant hear anything but i want to make it so i acn hear some maybe not super loud but decently
     
  14. Offline

    WegFetZ

    @Tyto26 could you post the path to the audio client's Music folder?

    @portgas123
    Leave out the [player] parameter to delete your own stuff. Only use /cm deletebox <number>
    All parameters in [ ] brackets are optional.

    About the area volume:
    You can set the Area-Fadeout to a low value in cm.properties.
    It is the range at which it will begin to fade out, if you come to a border of the area.
    If your Area-Fadeout value is 10, the music will fadeout if you are less than 10 blocks away from the border of the area. So set your area at least 10 blocks into the underground or the music wont reach the full volume if you are walking on the ground.

    @james mccarthy
    That's what i mean.

    @TheShadow777
    You need to run the audioclient on your local machine, not on your server.
    Of course the plugin works on a root server but the client plays the music, so you have to run it on the PC on which you play minecraft.

    @neo6633
    Take a look at the permission nodes.

    @DuhDarkDevil
    Was it FAQ point 4? If not, how did you solve it? :)
     
  15. Offline

    Tyto26

    @WegFetZ

    Sorry, I,m french and i'm not sure what you want. My Music folder is in the CustomMusic_AudioClient folder.
     
  16. Offline

    DuhDarkDevil

    Everytime i double-click the client.bat out of the .rar file it doesn't work but inside the .rar file it works so i thought if i edit the 'YourMinecraftName' or something to my in-game name i could copy the client.bat from the outside into the .rar file then once i did that all i need to do was did just run my server and then the CutomMusic .bat file :D this plugin is the best :D

    does everyone who doesn't have custommusic hear my own music?

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

    WegFetZ

    @Tyto26
    I mean the full path like C:\Program Files\Minecraft\AudioClient or something like that.
    Thanks for your help :)

    @DuhDarkDevil
    Its not possible to play custom audio files without a client mod. Everyone who wants to hear any custom music needs the audio client.
     
  18. Offline

    Tyto26

    @WegFetZ

    The path is : home/Tyto/Bureau/CustomMusic_AudioClient/Music/craftplayer{name=tyto26}
     
  19. Offline

    DuhDarkDevil

    o okay thx
     
  20. Offline

    worm_gremlin

    Hey I'm trying to get this to work, I've already setup everything else but whenever I run the StartClient batch for the AudioClient I get this message:

    C:\Users\(user)\Desktop\ACCUSTM>C:\program files (x86)\Java\jre6\bin\jave.exe "MC_
    AudioClient.jar" worm_gremlin
    'C:\program' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Users\(user)\Desktop\ACCUSTM>pause
    Press any key to continue . . .
     
  21. Offline

    WegFetZ

    @worm_gremlin
    Put the path into quotes:
    "C:\Users\(user)\Desktop\ACCUSTM>C:\program files (x86)\Java\jre6\bin\jave.exe" "MC_AudioClient.jar" worm_gremlin
     
  22. Offline

    Tomskied

    I can connect with my local ip, as in 192.168.2.* ect. But when using the external it connects, but then will fail after about 20 seconds. Music wont play at all using external, but is fine using my internal. Others can join with my external ip address, but they get the I/o message as i do after around 20 seconds after it had said it had connected. Ports are forwarded, they are 4224 and 4227.
    Anyone have this problem or can help?
     
  23. Offline

    WegFetZ

    @Tomskied
    You need to forward the ports 4224-4227 (4224, 4225, 4226 and 4227). :D
     
  24. Offline

    worm_gremlin

    Ok my problam has not been fixed with the solution. I type in "C:\Users\John)\Desktop\ACCUSTM>C:\program files (x86)\Java\jre6\bin\jave.exe" "MC_AudioClient.jar" worm_gremlin
    pause

    I get:
    C:\Users\(user)\Desktop\ACCUSTM>"C:\Users\john\Desktop\ACCUSTM>C:\program files (x
    86)\Java\jre6\bin\jave.exe" "MC_AudioClient.jar" worm_gremlin
    The filename, directory name, or volume label syntax is incorrect.

    C:\Users\(user)\Desktop\ACCUSTM>pause
    Press any key to continue . . .

    I type: "C:\Program files (x86)\Java\jre6\bin\jave.exe" "MC_AudioClient.jar" worm_gremlin
    pause

    I get:
    C:\Users\(user)\Desktop\ACCUSTM>"C:\Program files (x86)
    \Java\jre6\bin\jave.exe" "MC_AudioClient.jar" worm_gremlin
    '"C:\Program files (x86)\Java\jre6\bin\jave.exe"' is not recognized as an internal
    or external command,
    operable program or batch file.

    C:\Users\(user)\Desktop\ACCUSTM>pause
    Press any key to continue . . .
     
  25. Offline

    BlueChoco

    Personally love the plugin. Will there be a way to stop a specific box from running? Due to it endlessly loops, until you delete the box. I don't mind really if it loops, but given someone might get sick of it after so long. Also a song doesn't start always from the beginning, especially if you stop it mid-playing. Then it goes from there until it ends, which might seem a bit odd to some clients.

    Other than that, I've been having fun messing around with the plugin. :cool:
     
  26. Offline

    Tyto26

    Plug-in work great on windows ... but on linux don't. I still get this error :

    Code:
    Connected!
    Name registered! Log into Minecraft within 60s or use '/cm init' if you are already logged in.
    AudioClient initialized!
    Exception in thread "main" java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
    Caused by: java.lang.OutOfMemoryError: Java heap space
        at de.WegFetZ.AudioClient.otherFuncs.sendSongList(otherFuncs.java:107)
        at de.WegFetZ.AudioClient.otherFuncs.upload(otherFuncs.java:16)
        at de.WegFetZ.AudioClient.Client.main(Client.java:114)
        ... 5 more
    Please make it work on Linux. 86 players need this plug-in =)
     
    DilltheThrill likes this.
  27. Offline

    killertrupp1

    i have widows 7 and i cant upload files with audio client help please
     
  28. Offline

    maladox

    Well, I Certainty Like It. Drag Everyone Has To Download The Client Tho, But, I Cant Think Of Any Other Way To Do It. So... Nicely Done ^.^
     
  29. Offline

    DilltheThrill

    I'm getting the exact same thing, I'm using Ubuntu 11.04
     
  30. Offline

    blacknedvertigo

    My friend try to enter and he is got a problem...
    The program enter and exit automatic....
     
  31. Offline

    WegFetZ

    @worm_gremlin
    Are you sure that C:\Program files (x86)\Java\jre6\bin\jave.exe is the correct path to your java.exe?

    @BlueChoco
    I think it won't be difficult to add a command to ignore specific boxes.
    The boxes / areas act like a cd player that is turned on at 00:00 server time. The audio client will calculate the current position at which it should start playing the right song.
    Otherwise the music wouldn't be synchronal for everyone and a box would start playing at the beginning of a song every time you get in range of it, which, i think, would be pretty annoying.
    If you stay in range of a box until a song ends, the next song will start from the beginning though.

    @Tyto26 @DilltheThrill
    I'm still trying to find the reason for this error, but it's diffucult for me because i can't test on Ubuntu.
    Although it doesn't work for you, your players can use the audio client. You don't need to run the audio client on your server.

    @killertrupp1
    Any error messages, stack traces, crashes, ...?
    Some information wouldn't do any harm.

    @blacknedvertigo
    FAQ 2
     

Share This Page