Spigot MCJukebox 2.6.8

Hosted web audio client, play music without downloads. New Sound Center alternative.

  1. That's possible, but it's a different project. I'm trying to build something that works on any server.
     
  2. Require a client mod and you lose half your potential users right off the bat, if not more. Plenty of the kids that play this game are outright forbidden from downloading third-party mods by their parents (we entertained the idea of resource packs on our server and that idea got shot down pretty fast).

    I get a strong feeling you've never even bothered trying to use this plugin. Your comments reflect the attitude of someone with a certain degree of ignorance.
     
    • Funny Funny x 1
  3. I'm having trouble with the plugin, i made it work for myself, but other cannot hear the music though. how can i fix this?
     
  4. Do they have the website open?
     
  5. Hey Oliver,

    I'm getting the following errors in console lately. Any idea what might be causing it?

    16.06 04:41:11 [Server] EventThread/ERROR Task threw exception 16.06 04:41:11 [Server] INFO java.lang.IllegalStateException: ClientDisconnectEvent cannot be triggered asynchronously from another thread. 16.06 04:41:11 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) ~[spigot-1.14.2.jar:git-Spigot-df0eb25-43431ba] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.sockets.listeners.ClientDisconnectListener.call(ClientDisconnectListener.java:22) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.emitter.Emitter.emit(Emitter.java:117) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.client.Socket.onevent(Socket.java:338) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.client.Socket.onpacket(Socket.java:289) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.client.Socket.access$100(Socket.java:24) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.client.Socket$2$2.call(Socket.java:120) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.emitter.Emitter.emit(Emitter.java:117) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager.ondecoded(Manager.java:427) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager.access$1600(Manager.java:30) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager$7.call(Manager.java:403) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.parser.IOParser$Decoder.add(IOParser.java:105) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager.ondata(Manager.java:419) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager.access$1000(Manager.java:30) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager$2.call(Manager.java:370) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.emitter.Emitter.emit(Emitter.java:117) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Socket.onPacket(Socket.java:551) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Socket.access$1000(Socket.java:36) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Socket$5.call(Socket.java:335) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.emitter.Emitter.emit(Emitter.java:117) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Transport.onPacket(Transport.java:126) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Transport.onData(Transport.java:118) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.transports.WebSocket.access$100(WebSocket.java:24) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.transports.WebSocket$1$2.run(WebSocket.java:71) ~[MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at net.mcjukebox.plugin.bukkit.libs.socket.thread.EventThread$2.run(EventThread.java:80) [MCJukebox.jar:?] 16.06 04:41:11 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212] 16.06 04:41:11 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212] 16.06 04:41:11 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212] 16.06 04:41:11 [Server] EventThread/WARN Exception in thread "EventThread" 16.06 04:41:11 [Server] EventThread/WARN java.lang.IllegalStateException: ClientDisconnectEvent cannot be triggered asynchronously from another thread. 16.06 04:41:11 [Server] EventThread/WARN at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.sockets.listeners.ClientDisconnectListener.call(ClientDisconnectListener.java:22) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.emitter.Emitter.emit(Emitter.java:117) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.client.Socket.onevent(Socket.java:338) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.client.Socket.onpacket(Socket.java:289) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.client.Socket.access$100(Socket.java:24) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.client.Socket$2$2.call(Socket.java:120) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.emitter.Emitter.emit(Emitter.java:117) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager.ondecoded(Manager.java:427) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager.access$1600(Manager.java:30) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager$7.call(Manager.java:403) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.parser.IOParser$Decoder.add(IOParser.java:105) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager.ondata(Manager.java:419) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager.access$1000(Manager.java:30) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager$2.call(Manager.java:370) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.emitter.Emitter.emit(Emitter.java:117) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Socket.onPacket(Socket.java:551) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Socket.access$1000(Socket.java:36) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Socket$5.call(Socket.java:335) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.emitter.Emitter.emit(Emitter.java:117) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Transport.onPacket(Transport.java:126) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Transport.onData(Transport.java:118) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.transports.WebSocket.access$100(WebSocket.java:24) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.transports.WebSocket$1$2.run(WebSocket.java:71) 16.06 04:41:11 [Server] EventThread/WARN at net.mcjukebox.plugin.bukkit.libs.socket.thread.EventThread$2.run(EventThread.java:80) 16.06 04:41:11 [Server] EventThread/WARN at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 16.06 04:41:11 [Server] EventThread/WARN at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 16.06 04:41:11 [Server] EventThread/WARN at java.lang.Thread.run(Thread.java:748)
     
  6. Hmm, this looks like a change in 1.14. If you email [email protected] I'll take a look at fixing it :)
     
  7. [17:25:49] [EventThread/ERROR]: Task threw exception
    java.lang.IllegalStateException: ClientConnectEvent cannot be triggered asynchronously from another thread.
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) ~[spigot-1.14.3.jar:git-Spigot-4d2f30f-f1f3355]
    at net.mcjukebox.plugin.bukkit.sockets.listeners.ClientConnectListener.call(ClientConnectListener.java:21) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.emitter.Emitter.emit(Emitter.java:117) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.client.Socket.onevent(Socket.java:338) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.client.Socket.onpacket(Socket.java:289) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.client.Socket.access$100(Socket.java:24) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.client.Socket$2$2.call(Socket.java:120) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.emitter.Emitter.emit(Emitter.java:117) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager.ondecoded(Manager.java:427) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager.access$1600(Manager.java:30) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager$7.call(Manager.java:403) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.parser.IOParser$Decoder.add(IOParser.java:105) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager.ondata(Manager.java:419) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager.access$1000(Manager.java:30) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager$2.call(Manager.java:370) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.emitter.Emitter.emit(Emitter.java:117) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Socket.onPacket(Socket.java:551) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Socket.access$1000(Socket.java:36) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Socket$5.call(Socket.java:335) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.emitter.Emitter.emit(Emitter.java:117) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Transport.onPacket(Transport.java:126) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Transport.onData(Transport.java:118) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.transports.WebSocket.access$100(WebSocket.java:24) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.transports.WebSocket$1$2.run(WebSocket.java:71) ~[MCJukebox.jar:?]
    at net.mcjukebox.plugin.bukkit.libs.socket.thread.EventThread$2.run(EventThread.java:80) [MCJukebox.jar:?]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
    [17:25:49] [EventThread/WARN]: Exception in thread "EventThread"
    [17:25:49] [EventThread/WARN]: java.lang.IllegalStateException: ClientConnectEvent cannot be triggered asynchronously from another thread.
    [17:25:49] [EventThread/WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.sockets.listeners.ClientConnectListener.call(ClientConnectListener.java:21)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.emitter.Emitter.emit(Emitter.java:117)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.client.Socket.onevent(Socket.java:338)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.client.Socket.onpacket(Socket.java:289)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.client.Socket.access$100(Socket.java:24)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.client.Socket$2$2.call(Socket.java:120)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.emitter.Emitter.emit(Emitter.java:117)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager.ondecoded(Manager.java:427)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager.access$1600(Manager.java:30)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager$7.call(Manager.java:403)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.parser.IOParser$Decoder.add(IOParser.java:105)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager.ondata(Manager.java:419)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager.access$1000(Manager.java:30)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.client.Manager$2.call(Manager.java:370)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.emitter.Emitter.emit(Emitter.java:117)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Socket.onPacket(Socket.java:551)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Socket.access$1000(Socket.java:36)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Socket$5.call(Socket.java:335)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.emitter.Emitter.emit(Emitter.java:117)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Transport.onPacket(Transport.java:126)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.Transport.onData(Transport.java:118)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.transports.WebSocket.access$100(WebSocket.java:24)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.engineio.client.transports.WebSocket$1$2.run(WebSocket.java:71)
    [17:25:49] [EventThread/WARN]: at net.mcjukebox.plugin.bukkit.libs.socket.thread.EventThread$2.run(EventThread.java:80)
    [17:25:49] [EventThread/WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    [17:25:49] [EventThread/WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    [17:25:49] [EventThread/WARN]: at java.lang.Thread.run(Thread.java:745)
     
  8. Hi,


    Please take a look at the message just above yours :)
     
  9. olivervscreeper updated MCJukebox with a new update entry:

    1.14 Support

    Read the rest of this update entry...
     
  10. I got this error after i start my server with the latest version

    Code (Text):
    WARN A connection to https://secure.ws.mcjukebox.net/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
     
  11. Is everything working ok? This looks like a bug in a library we use, so while it shouldn't be happening, I don't think it will break anything.
     
  12. yes, the plugin is working fine, i just want to report this error since i never saw it before
     
  13. I appreciate that, thanks! Don't worry about this one but reporting errors is always good :)
     
  14. Oliver, you know a working API that delivers a direct mp3 link from youtube?
    Also, you guys have a discord? Thanks!
     
  15. Hi, is there any way to save the mcjukebox region? they are saved into worldguard ect but each time i reboot my server i have to manually reenter my region they are not saved permanently
     
  16. Hi Oliver,

    I was wondering if a feature could be added to play certain music based on the Minecraft world time? During the day lets say some peaceful music plays then at night it changes to something more in tune with the night.