[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

    WegFetZ

    @vigge42
    Just ignore this kind of comments.

    @Hypo2010
    It's supposed to do this. It would be pretty annoying if the song started at the beginning every time you come in range of the box.
    This makes it also possible to synchronize the position of the song. Every player listens to the same song at the same position. If you go out of a box's range for 2 minutes the song will be proceeded 2 minutes at the time you come back.

    @maciek1o3s
    You need to set a port in the config.
     
  3. Offline

    maciek1o3s

    Yes, but how can i check my port if i have VPS on CentOS 5.0? Or should i write one of this ports 4224-4227?

    I have port 5901 but it's port to VNC (Virtual Network Computing).
     
  4. Offline

    WegFetZ

    @maciek1o3s
    It must be the same port as in the cm.properties file (4224 by default).
    Take a look at point 3 of the FAQ
     
  5. Offline

    maciek1o3s

    Ok, it works but i have all time this shitty error:
    [​IMG]

    There is also some error while server is starting - should i do sth with that?
    [​IMG]
     
  6. Offline

    Solest

    Hello everyone! Excellent plugin, at least what I can gather from reading, but I seem to be having a problem. I'm running CB860 (Also tried 927 if that could have been the problem, as well as 935) and I'm on Linux. I fixed the audioclient's original ".bat" to be a ".sh" and run it. After booting it up and logging into minecraft, it initializes, but then feeds me the following 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:103)
        at de.WegFetZ.AudioClient.otherFuncs.upload(otherFuncs.java:16)
        at de.WegFetZ.AudioClient.Client.main(Client.java:111)
        ... 5 more
    
    Any help would be much appreciated :)
     
  7. Offline

    nick4980

    Great plugin, works perfectly on my server. Just as a suggestion, is there any way you could make the range of the boxes within a cuboid instead of a sphere? And could you possibly make it so that one can define this cuboid with WorldEdit or something like that? Again, the plugin works SPECTACULARLY, just making a suggestion.
     
  8. Offline

    Hypo2010

    Ok ehm im not the best in english so can you say something more to this?
    Did that mean that if I start a Box to play and I and another hear this, he goes out of the range and i will hear it the whole time and if he comes back the song is for him at the position where he left the range?

    Edit: Ich hab in deiner Beschreibung gesehen das du Deutscher bist XD

    Oke ich klärs mal auf Deutsch, Ich und ein anderer hören dieselbe Musik, er geht - ich sag mal Minute 1 des Liedes - aus der Range der Box und ich höre das Lied weiter. Wenn er wieder kommt startet er dann wieder bei Minute 1 oder wie läuft das?
     
  9. Offline

    WegFetZ

    @maciek1o3s
    What does the audioclient say if you put a song into the music folder (not the music folder of the plugin) and type /upload in it?

    @Solest
    This error seems to occur only on linux. Which version of java do you use?
    How much songs do you have in your music folder?
    Does it upload the songs before this happens?

    @nick4980
    I will think about adding this.

    @Hypo2010
    No, when he comes back the song will be at the same position for him as it is for you.
    It is like when you listen to the radio, go outside for a minute and then come back.
     
  10. Offline

    maciek1o3s

    - There is nothing - all time black field in putty :/
     
  11. Offline

    WegFetZ

    @maciek1o3s
    You open the audioclient with putty?
    there should be a directory "Music/CraftPlayer{name=YourName}/" next to your MC_AudioClient.jar. You need to put in the songs there.
     
  12. Offline

    maciek1o3s

  13. Offline

    WegFetZ

    @maciek1o3s
    Ok now i see your problem:
    You don't need the audio client on your server.
    Delete MC_AudioClient.jar, AudioClient.properties and startclient.bat from your server.
    You need to run it on your PC where you are playing minecraft. Start the startclient.bat from there and it will generate a new directory called "Music/CraftPlayer{name=RefleX}" next to the MC_AudioClient.jar file and the startclient.sh. When you put a song in there it will be copied into the Music folder on the server.
     
  14. Offline

    Solest

    Thanks for the quick reply and yes, after a little research of the error itself, this seems to be the case with Linux : /

    The version I am currently running, if I understand you correctly, is OpenJDK Java 6 Runtime.

    Is that the information you were looking for or did I misunderstand?

    And there is only one song in my music folder currently for testing purposes and, yes, it also uploads the music, it just doesn't seem to recognize my song list as existing, even though it has been uploaded.

    Addition: Okay, I just used VisualVM to take a look at the heap dump it created and look around to see if it's diagnosable.

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

    WegFetZ

    Version 0.6b (Plugin only):
    -fixed bug that music fades when other players are walking around
    -fixed /cm status using the default range setting instead of the boxes specific setting


    @Solest
    I will take a look at this bug later this week. You could try to add a parameter to the startclient.bat so that it looks like:
    Code:
    java -Xmx128M -jar MC_AudioClient.jar yourName
     
  16. Offline

    maciek1o3s

    Now there is sth like this:
    [​IMG]

    Uploaded with ImageShack.us
     
  17. Offline

    WegFetZ

    @maciek1o3s
    Could you translate this into english? :D
    Maybe you should take a look at FAQ point 4
     
  18. Offline

    maciek1o3s

    Ok:
    The name "java" is not recognized as internal or external command, executable program or batch file

    To continue, press any key

    I editet startclient.bat to:
    Code:
    L:\Program Files (x86)\Java\jre6\bin\java.exe -jar "MC_AudioClient.jar" RefleX
    pause
    And this shitty error occurs all time.
     
  19. Offline

    WegFetZ

    Yes, point 4 ;)
    I'm going to bed now, gn8
     
  20. Offline

    Kartus

    haha, that's what i wanted to be fixed in this issuereport 2 weeks ago, thanks ;)
     
  21. Offline

    pacha

    I have a problem, when I try to open the startclient.bat, it opens and closes fast. What can I do?
     
  22. Offline

    SilentZPro

    How do I make it so the player chooses the song that everyone hears?
     
  23. Offline

    MrMArs

    is there any way you can have this so you put the file in the /pluggins/CustomMusic/music folder and bypass the audio client so the server admin could put songs up for everyone, even the ones without the audio client
     
  24. Offline

    WegFetZ

    @pacha
    FAQ

    @SilentZPro
    /cm songlist <page> to get the songnumbers
    /cm choose <boxnumber> <songnumbers (or "all")>
    songnumbers must be seperated by comma

    @MrMArs
    No there isn't. The audio client is needed to play the files.
     
  25. Offline

    pacha

    I tried the FAQ 4, but it don't works
     
  26. Offline

    colin8696909

    you are GOD!!!
     
  27. Offline

    Fermi

    why do i only hear the music??
     
  28. Offline

    WegFetZ

    Actually i meant FAQ point 2. What's the error message?

    I'm pretty sure i'm not ;)

    What else do you want to hear? :D
    Everyone who wants to hear it needs to run the audio client.
     
  29. Offline

    Russian potato

    I spent like forever looking for a plugin that would do this and by forever i mean all of two minutes great job

    when i try playing it says i dont have any music so then i go to my terminal /whatever it is for a pc it says out memory error anyway to give it memory?

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

    WegFetZ

    Are you using linux?
    Are you maybe running the audioclient on your server instead of your PC?
    Take a look at what i wrote @Solest before
     
  31. Offline

    Russian potato

    no its a mac
     

Share This Page