[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

    Animosity

    06:52:57 [INFO] [23.09.2011. 06:52:57] [CustomMusic] An error occured while exc
    hanging song information with client: null.
    06:53:23 [INFO] [CustomMusic] Disconnected audioclient: pppcraft.
    06:53:23 [INFO] [CustomMusic] Disconnected audioclient: pppcraft.
    06:53:25 [INFO] [23.09.2011. 06:53:25] [CustomMusic] An error occured while exc
    hanging song information with client: null.


    I can setup remote debugging for you if you are interested.
     
  3. I have the same problem with the webradio (Couldn't get a working URL from 1377200.pls)
    this error came on all the webradios i have tried.
    (sry for my bad english but i´m a german user)
     
  4. Offline

    ColdTequila

    All webradio dont work pls help

     
    Animosity likes this.
  5. Offline

    Spongebob1212

    When I try to run it, it says LAWL PUT ON AUDIOCILENT AND U HEAR MUUSIC. I already have it up and that pops up. Little help?
     
  6. Offline

    tubbytub

    so.. with this i can have Continues Audio mp3 playing on my mc server.. :-D non-stop TRANCE! hellyeah! will it work for 1.8.1? if anyone can create this plugin for 1.8.1 theres real! cash involved here.. ill pay anyone who can create this bukkit plugin! i WANT music mp3s on my server so players can build/create to non-stop Trance music :)
     
  7. Offline

    WegFetZ

    @slimpyman
    It will only download files that don't exist in your Music/craftplayer{name=...}/ directory.

    @Animosity
    What does it say in the debug.txt in the CustomMusic folder?

    @Sebastian_sigges @ColdTequila
    Make sure that the aduioclient doesn't get block by any firewall.

    @Spongebob1212
    Did you press connect? What does it say in the audioclient console?

    @tubbytub
    Actually it should work for Bukkit RB 1185 which is for 1.8.1

    I'm sorry that i can't help you more, as i'm very busy these days.
     
  8. Offline

    Zerver

    Are you going to make a more simplified version of this if so i'd be interested in adding it
     
  9. Offline

    Spongebob1212

    Did you press connect? What does it say in the audioclient console?

    It said it connected correctly but my minecraft server says it can't be used. :L
     
  10. Offline

    WegFetZ

    What does simplified mean to you? It's not that hard to understand once you have got the hang of how the commands work.

    What does it say exactly? I need more detailed information. You can also try to run the plugin in debug mode and see what it writes to the debug.txt in the CustomMusic directory.
     
  11. Offline

    Spongebob1212

    What does it say exactly? I need more detailed information. You can also try to run the plugin in debug mode and see what it writes to the debug.txt in the CustomMusic directory.

    Ah, I'll try that. If it doesn't work. Can you make it work for hamachi servers?


    java.lang.NumberFormatException: null
    at java.lang.Integer.parseInt(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at de.WegFetZ.AudioClient.Client.connect(Client.java:183)
    at de.WegFetZ.AudioClient.gui.guiAction.b_connect(guiAction.java:134)
    at de.WegFetZ.AudioClient.gui.guiAction.run(guiAction.java:53)
    Unsupported answer from server.
    Connections closed.

    :<

    Why does it keep saying "It's outdated. Update place for more updates." :L

    Oh my god! I was blinded by my failure. I figured out. XD

    127.0.0.1 is the IP I needed. XD

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

    PyPKjE

    Pretty good plugin, but a bad system :'(
    Could be accompanied by one person to the list and be able to all the players, not only for person, who attached the music/radio. :rolleyes:
     
  13. Offline

    nathor75

    I keep getting this. It repeats itself about once every 10 seconds. Then in game it spams "CustomMusic: AudioClient initialized"

    in java:

    AudioClient initialized!
    songReceiver couldn't open InputStream: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
    Connections closed.

    Connected!
    nathor75 registered! Log into Minecraft within 60s.
    Use '/cm init' if the audioclient doesn't initialize automatically.
    AudioClient initialized!
    songReceiver couldn't open InputStream: java.io.IOException: The filename, directory name, or volume label syntax is incorrect

    If you could tell me what's causing this, I can fix it
     
  14. Offline

    Ehcko

    Is there a way to set each box to play their own song, and keep playing with out switching to another song?
     
  15. Offline

    WegFetZ

    @nathor75
    Can you run the audioclient and server in debug mode and post the stacktrace here?
    Are you sure you forwarded all 4 needed ports and that your firewall on your PC doesn't block the audioclient?

    @Ehcko
    '/cm bchoose <boxnumber> <songnumbers>'
     
  16. Offline

    AleksBuk

    what if i want to play mms streams? it looks like i only can play shoutcast radio streams :/
     
  17. Offline

    WegFetZ

    You can play any stream that is in audio format mp3 or ogg if you now the direct IP of the streaming server. Create a .txt file with nothing but the IP in the first line. Then rename it to anything with extension '.ram'.
     
  18. Offline

    Blamo27

    WTF?
    18:22:47 [INFO] [CustomMusic] 0 jukeboxe(s) loaded.
    18:22:47 [INFO] [CustomMusic] 0 area(s) loaded.
    18:22:47 [INFO] [CustomMusic] Permissions enabled using: Permissions v3.1.6
    18:22:47 [INFO] [CustomMusic] Starting servers on port 4224-4227...
    18:22:47 [INFO] CustomMusic version 0.8c is enabled!
    18:22:47 [INFO] [09.10.2011. 18:22:47] [CustomMusic] An error occured while bin
    ding to port: 4227.
    18:22:47 [SEVERE] Exception in thread "Thread-1168"
    18:22:47 [SEVERE] java.lang.NullPointerException
    18:22:47 [SEVERE] at de.WegFetZ.CustomMusic.ServerSongDelete.run(ServerSon
    gDelete.java:29)
    18:22:47 [INFO] [09.10.2011. 18:22:47] [CustomMusic] An error occured while bin
    ding to port: 4226.
    18:22:47 [INFO] [09.10.2011. 18:22:47] [CustomMusic] An error occured while bin
    ding to port: 4225.
    18:22:47 [SEVERE] Exception in thread "ServerUploadListener"
    18:22:47 [SEVERE] java.lang.NullPointerException
    18:22:47 [SEVERE] at de.WegFetZ.CustomMusic.ServerUploadListener.run(Serve
    rUploadListener.java:33)
    18:22:47 [INFO] [09.10.2011. 18:22:47] [CustomMusic] An error occured while bin
    ding to port: 4224.
    18:22:47 [SEVERE] Exception in thread "Thread-1169"
    18:22:47 [SEVERE] java.lang.NullPointerException
    18:22:47 [SEVERE] at de.WegFetZ.CustomMusic.ServerSongSender.run(ServerSon
    gSender.java:29)
    18:22:47 [SEVERE] Exception in thread "Thread-1167"
    18:22:47 [SEVERE] java.lang.NullPointerException
    18:22:47 [SEVERE] at de.WegFetZ.CustomMusic.Server.run(Server.java:29)
    AH !!!
    Please help me with the error !
    Thanks ^^
     
  19. Offline

    WegFetZ

    @Blamo27
    Seems like the ports 4224-4227 cannot be used. Try another port (7943) or anything that's far away from 4224. Don't forget to forward the new ports.
     
  20. Offline

    Blamo27

    7:32 PM [INFO] [CustomMusic] Stopping server.
    07:32 PM [INFO] [CustomMusic] Stopping server.
    07:32 PM [SEVERE] Error occurred while disabling CustomMusic v0.8c (Is it up to date?): null
    07:32 PM [INFO] [CustomMusic] 0 jukeboxe(s) loaded.
    07:32 PM [INFO] [CustomMusic] 0 area(s) loaded.
    07:32 PM [INFO] [CustomMusic] Permissions enabled using: Permissions v3.1.6
    07:32 PM [INFO] [CustomMusic] Starting servers on port 7943-7946...
    07:32 PM [INFO] CustomMusic version 0.8c is enabled!
    07:32 PM [INFO] [09.10.2011. 19:32:08] [CustomMusic] An error occured while binding to port: 7945.
    07:32 PM [INFO] [09.10.2011. 19:32:08] [CustomMusic] An error occured while binding to port: 7944.
    07:32 PM [SEVERE] Exception in thread "ServerUploadListener"
    07:32 PM [SEVERE] java.lang.NullPointerException
    07:32 PM [SEVERE] at de.WegFetZ.CustomMusic.ServerUploadListener.run(ServerUploadListener.java:33)
    07:32 PM [INFO] [09.10.2011. 19:32:08] [CustomMusic] An error occured while binding to port: 7946.
    07:32 PM [SEVERE] Exception in thread "Thread-19404"
    07:32 PM [SEVERE] java.lang.NullPointerException
    07:32 PM [SEVERE] at de.WegFetZ.CustomMusic.ServerSongSender.run(ServerSongSender.java:29)
    07:32 PM [INFO] [09.10.2011. 19:32:08] [CustomMusic] An error occured while binding to port: 7943.
    07:32 PM [SEVERE] Exception in thread "Thread-19403"
    07:32 PM [SEVERE] java.lang.NullPointerException
    07:32 PM [SEVERE] at de.WegFetZ.CustomMusic.ServerSongDelete.run(ServerSongDelete.java:29)
    07:32 PM [SEVERE] Exception in thread "Thread-19402"
    07:32 PM [SEVERE] java.lang.NullPointerException
    07:32 PM [SEVERE] at de.WegFetZ.CustomMusic.Server.run(Server.java:29)
    GNGNGNGN!
    Help me i tried on lots of ports :(
    Please help me ^^
     
  21. Offline

    AleksBuk

    well i have "http://wms.yourstation.com/radiobardufosslive" whitout domain "mms://208.43.115.229/RadioBardufossLive "
    i tried to convert "mms://208.43.115.229/RadioBardufossLive" into pls, m3u, asx, xspf and ram with no succes. only the vlc player wants to play them not custom music >.>
     
  22. Offline

    Emiya Shirou

    How is it that someone witout those premissions (but with every other one)

    Code:
    -'cm.upload.mp3' - to allow the user to upload MP3s
    -'cm.upload.midi' - to allow the user to upload Midis
    -'cm.upload.webradio' - to allow the user to upload webradio-stream files (.pls .asx and .ram)
    Can upload files :/ ?
    PS: Some more detailed faq/explanation would be nice
    -'/cm setarea <number> [range] [priority]' - set an area with the previously defined corners
    What the hell I'm suppose to know what is that [priority] thing :/ ?
     
  23. Offline

    Blamo27

    You can't help me? :(
     
  24. Offline

    nathor75

    l syntax is incorrect
    java.io.IOException: The filename, directory name, or volume label syntax is incorrect
    at java.io.WinNTFileSystem.createFileExclusively(Native Method)
    at java.io.File.createNewFile(Unknown Source)
    at de.WegFetZ.AudioClient.songReceiver.run(songReceiver.java:127)
    songReceiver couldn't open InputStream: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
    Connections closed.

    Connected!
    nathor75 registered! Log into Minecraft within 60s.
    Use '/cm init' if the audioclient doesn't initialize automatically.
    AudioClient initialized!
    java.io.IOException: The filename, directory name, or volume label syntax is incorrect
    at java.io.WinNTFileSystem.createFileExclusively(Native Method)
    at java.io.File.createNewFile(Unknown Source)
    at de.WegFetZ.AudioClient.songReceiver.run(songReceiver.java:127)
    songReceiver couldn't open InputStream: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
    java.io.IOException: The filename, directory name, or volume label syntax is incorrect
    at java.io.WinNTFileSystem.createFileExclusively(Native Method)
    at java
     
  25. Offline

    Buckethead

    hey couldnt u upload an .exe and spread a virus that way.

    nvm read more of this plugin

    so i have build 1338. it starts up fine in console. but the debug file shows this
    Code:
    [15.10.2011. 23:54:10] [INFO] CustomMusic version 0.8c is enabled!.
    java.net.SocketException: socket closed
        at java.net.DualStackPlainSocketImpl.accept0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
        at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
        at java.net.PlainSocketImpl.accept(Unknown Source)
        at java.net.ServerSocket.implAccept(Unknown Source)
        at java.net.ServerSocket.accept(Unknown Source)
        at de.WegFetZ.CustomMusic.Server.run(Server.java:20)
    
    java.net.SocketException: socket closed
        at java.net.DualStackPlainSocketImpl.accept0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
        at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
        at java.net.PlainSocketImpl.accept(Unknown Source)
        at java.net.ServerSocket.implAccept(Unknown Source)
        at java.net.ServerSocket.accept(Unknown Source)
        at de.WegFetZ.CustomMusic.ServerSongDelete.run(ServerSongDelete.java:20)
    
    java.net.SocketException: socket closed
        at java.net.DualStackPlainSocketImpl.accept0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
        at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
        at java.net.PlainSocketImpl.accept(Unknown Source)
        at java.net.ServerSocket.implAccept(Unknown Source)
        at java.net.ServerSocket.accept(Unknown Source)
        at de.WegFetZ.CustomMusic.ServerUploadListener.run(ServerUploadListener.java:24)
    
    java.net.SocketException: socket closed
        at java.net.DualStackPlainSocketImpl.accept0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
        at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
        at java.net.PlainSocketImpl.accept(Unknown Source)
        at java.net.ServerSocket.implAccept(Unknown Source)
        at java.net.ServerSocket.accept(Unknown Source)
        at de.WegFetZ.CustomMusic.ServerSongSender.run(ServerSongSender.java:20)
    
    [15.10.2011. 23:54:18] [INFO] CustomMusic version 0.8c is disabled!.
    how to install audio client? video is diffrent

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

    Hryniu

    Would be good if you'd make this plugin work with Spout only, without the Audio Plugin. :)
     
  27. Offline

    WegFetZ

    @Blamo27
    Seems like your server cannot use any ports. I can't help you with that, i'm afraid. Ask your server hoster if there are any restrictions.

    @AleksBuk
    I can't play this stream on any of my media players. I'm sorry, you might want to use another stream.

    @Emiya Shirou
    Are you sure that your permissions configuration is correct?
    Did you enter 'cm.*' or 'cm.upload.*' or anything?

    @nathor75
    If there is any file with special (non-ascii) characters in your server's Music directory delete it. Maybe deleting the whole 'CustomMusic/Music/ directory will help.

    @Buckethead
    If it works, then ignore the error in the debug.txt. They occur if anyone just closes minecraft/ the adioclient without disconnecting. Nothing to worry about.
    You can run the aduioclient with 'java.exe' or run it with the command "java -jar CM_AudioClient_vX.x.jar"

    @Hryniu
    FAQ point 6

    Again i'm sorry that i can't help you more. I hope i will have some time to work on the plugin next month.

    Oh and there's a new video from BukkitDE on youtube:

    Thank you very much @Mamuschkas
     
  28. Offline

    Hryniu

    Cool.. Thanks. :) And its point 5 BTW.
     
  29. Offline

    Buckethead

    ty

    english versin of vid?

    is the song always in infinite loop or does it play from beggining. say i have one at spawn will they always come on at beggining

    sorry another thing. possible for people to download audio client automaticlly when they connect to server. s they dont have to go though trouble on their own. sounds like something that could be done with spout. and yes i already looked at other ones that use spout and do this they suck. possible for any of this by u?

    no node for volume?

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

    Emiya Shirou

    I didn't give cm.* nor cm.upload for anyone ;)
     
  31. Offline

    Blamo27

    I take this error too !
    Code:
    annot get the I/O for 89.87.9.97
    Make sure that you have set the right port and that the ports are forwarded on the Server.
     And that the server is started of course.
    java.net.ConnectException: Connection timed out: connect
        at java.net.DualStackPlainSocketImpl.connect0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
        at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
        at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at de.WegFetZ.AudioClient.Client.connect(Client.java:91)
        at de.WegFetZ.AudioClient.gui.guiAction.b_connect(guiAction.java:134)
        at de.WegFetZ.AudioClient.gui.guiAction.run(guiAction.java:53)
    Connections closed.
    Client will not reconnect.
    
    Thanks :(
     

Share This Page