mindgamesnl / openaudiomc Goto Github PK
View Code? Open in Web Editor NEWA real time proximity voice chat and music plugin for Minecraft. Doesn't require mods or any user setup.
Home Page: https://openaudiomc.net/
License: Other
A real time proximity voice chat and music plugin for Minecraft. Doesn't require mods or any user setup.
Home Page: https://openaudiomc.net/
License: Other
When I type 'stop' (I never use 'reload') into the console, I'm getting this NullPointerException:
[19:02:12] [Server thread/ERROR]: Error occurred while disabling OpenAudioMc v2.6 (Is it up to date?)
java.lang.NullPointerException: null
at net.openaudiomc.socket.SocketioConnector.close(SocketioConnector.java:106) ~[?:?]
at net.openaudiomc.core.Main.onDisable(Main.java:112) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266) ~[spigot-1.12.2.jar:git-Spigot-4bd94dc-f4ca180]
at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:361) [spigot-1.12.2.jar:git-Spigot-4bd94dc-f4ca180]
at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:422) [spigot-1.12.2.jar:git-Spigot-4bd94dc-f4ca180]
at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:415) [spigot-1.12.2.jar:git-Spigot-4bd94dc-f4ca180]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.disablePlugins(CraftServer.java:349) [spigot-1.12.2.jar:git-Spigot-4bd94dc-f4ca180]
at net.minecraft.server.v1_12_R1.MinecraftServer.stop(MinecraftServer.java:465) [spigot-1.12.2.jar:git-Spigot-4bd94dc-f4ca180]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:613) [spigot-1.12.2.jar:git-Spigot-4bd94dc-f4ca180]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
Feature Request
Hello,
Maby for an next update it will be nice if there is an option to Restart the sound if a player walk out/in an region..
If my players walk out of an region the music stops, but if they walk back in the music will play where it has stopped (So it remembers the playback position)
Maby you can add an string or setting so you can disable this saving of the playback position and the music restarts every time the players walks in and out an region. (Like i said on discord :P)
Bye,
Boyke
Hey, I'm always getting this error on startup: https://pastebin.com/iUyDhEYj
Next to that, everytime I join, it says:
actually a link in the config that can be played if the player is not in a region with sound or in a speaker radius.
Like in the way it is now with the regions. Not that the music would start playing from the beginning. I think you know what I mean, otherwise I will send more clarification :)
thank you.
OpenAudioMc Version: 4.0
Spigot Version: spigot-1.12.2-R0.1-SNAPSHOT-b1605
WorldGuard Version: 6.2.1
Description of the problem: Not sure if at this moment its not working or it hasn't been working at all, but I can't get world edit regions to play area music
How to replicate the issue: Start a web server with the GitHub given web client, and try to get the regions to work :)
Hi,
I need support with my open audio.
I have this error after reloading it:
20:22:58 CONSOLE: [INFO] Fargus5 issued server command: /plugman reload OpenAudioMc 20:22:58 OpenAudioMc: Disabling OpenAudioMc v2.6 20:22:59 CONSOLE: ERROR]: Task threw exception 20:22:59 CONSOLE: java.lang.ClassNotFoundException: io.socket.engineio.client.Socket$20$3 20:22:59 CONSOLE: WARN]: Exception in thread "EventThread" 20:22:59 CONSOLE: WARN]: java.lang.NoClassDefFoundError: io/socket/engineio/client/Socket$20$3 20:22:59 CONSOLE: WARN]: at io.socket.engineio.client.Socket$20.run(Socket.java:738) 20:22:59 CONSOLE: WARN]: at io.socket.thread.EventThread.exec(EventThread.java:55) 20:22:59 CONSOLE: WARN]: at io.socket.engineio.client.Socket.close(Socket.java:711) 20:22:59 CONSOLE: WARN]: at io.socket.client.Manager.close(Manager.java:512) 20:22:59 CONSOLE: WARN]: at io.socket.client.Manager.destroy(Manager.java:452) 20:22:59 CONSOLE: WARN]: at io.socket.client.Socket.destroy(Socket.java:421) 20:22:59 CONSOLE: WARN]: at io.socket.client.Socket.access$1400(Socket.java:19) 20:22:59 CONSOLE: WARN]: at io.socket.client.Socket$8.run(Socket.java:438) 20:22:59 CONSOLE: WARN]: at io.socket.thread.EventThread$2.run(EventThread.java:80) 20:22:59 CONSOLE: WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 20:22:59 CONSOLE: WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 20:22:59 CONSOLE: WARN]: at java.lang.Thread.run(Thread.java:745) 20:22:59 CONSOLE: WARN]: Caused by: java.lang.ClassNotFoundException: io.socket.engineio.client.Socket$20$3 20:22:59 CONSOLE: WARN]: at java.net.URLClassLoader.findClass(URLClassLoader.java:381) 20:22:59 CONSOLE: WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) 20:22:59 CONSOLE: WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) 20:22:59 CONSOLE: WARN]: at java.lang.ClassLoader.loadClass(ClassLoader.java:424) 20:22:59 CONSOLE: WARN]: at java.lang.ClassLoader.loadClass(ClassLoader.java:357) 20:22:59 CONSOLE: WARN]: ... 12 more 20:22:59 OpenAudioMc: Enabling OpenAudioMc v2.6 20:22:59 OpenAudio: All dependencies are detected, regions will be enabled! 20:22:59 OpenAudio: All dependencies are detected, regions will be enabled! 20:22:59 OpenAudio: Requesting id for the first time (requesting static token) 20:22:59 OpenAudio: Loading OpenAudioMc by Mindgamesnl/Me_is_mattyh 20:22:59 OpenAudio: Whoah! just like that! loaded the skript events :D 20:22:59 OpenAudio: Loading speakers. 20:22:59 OpenAudio: Started up.
And speakers doesn't work.
Speakers have never worked... but regions yes. What is wrong?
I have the mc version 1.12 and the latest version of OA
Let me know if u need anything else to solve my problem... Thanks in advance
Describe the bug
When 2 regions with worldguard are in the same area you hear both audio tracks even if 1 has a higher priority then the other
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To only hear 1 audio track which should be the highest region you are currently in
Desktop (please complete the following information):
OpenAudioMc Version:5.2
Spigot Version:1.13.2-R0.1-SNAPSHOT
Description of the problem:Room configuration bug
NL: Als ik mijn openaudio client opstart en ik verbind mijn Hue bridge via de http en ik selecteer mijn kamer dan zou dat normaal denk ik moeten werken.
Maar als ik het hue command "/oa hue set michybox [1,2] 255 0 255 255" gebruik veranderd hij de lampen niet van de geselecteerde kamer maar van een andere kamer.
EN: If I start my open audio client and I connect my Hue bridge via the http and I select my room then I think that should work normally.
But if I use the hue command "/oa hue set michybox [1,2] 255 0 255 255" he does not change the lamps of the selected room but of another room.
[20:33:26] [Server thread/ERROR]: Could not pass event PlayerMoveEvent to OpenAudioMc v2.6
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.10.2.jar:git-Spigot-078e2f8-9ff3d7f]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.10.2.jar:git-Spigot-078e2f8-9ff3d7f]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.10.2.jar:git-Spigot-078e2f8-9ff3d7f]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.10.2.jar:git-Spigot-078e2f8-9ff3d7f]
at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:610) [spigot-1.10.2.jar:git-Spigot-078e2f8-9ff3d7f]
at net.minecraft.server.v1_10_R1.PacketPlayInFlying.a(SourceFile:126) [spigot-1.10.2.jar:git-Spigot-078e2f8-9ff3d7f]
at net.minecraft.server.v1_10_R1.PacketPlayInFlying$PacketPlayInPosition.a(SourceFile:57) [spigot-1.10.2.jar:git-Spigot-078e2f8-9ff3d7f]
at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.10.2.jar:git-Spigot-078e2f8-9ff3d7f]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]
at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [spigot-1.10.2.jar:git-Spigot-078e2f8-9ff3d7f]
at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:732) [spigot-1.10.2.jar:git-Spigot-078e2f8-9ff3d7f]
at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.10.2.jar:git-Spigot-078e2f8-9ff3d7f]
at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668) [spigot-1.10.2.jar:git-Spigot-078e2f8-9ff3d7f]
at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567) [spigot-1.10.2.jar:git-Spigot-078e2f8-9ff3d7f]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
Caused by: java.lang.NullPointerException
It's a simple feature, like we can set the ID, loop, pickup and other media options, we should be able to set the media master volume.
For example:
/oa play @A URL {volume:50}
Will play the audio at 50% of the user selected volume.
If in the browser, the volume is 100%, the volume of this media will be 50% of the volume of the player.
If the volume in the browser is 50%, this media volume would be 50% of that, so it would be 25%.
When this is important
If a player has a Radio system, and speakers set in the world, the speakers would compete with the radio system.
With the capability of setting the volume of the media of the radio to 50%, for example, when near a speaker, the sound from the speaker would be higher than the one from the radio, thus, creating some sort of "priority".
Thanks!
Phillips hue stopped working due to webpack.
The problem is with the Instance Injection.
Small fix, just need to find the time.
Hi all,
Regions file :
Description: Info like region data will be stored here.
region:
isvalid:
ville: 'true'
src:
ville: http://audio.teamkog.com/music/bobmarley/
I want to play all music in the folder bobmarley.
I create the playlist in playlist.yml
Thanks for helping ;-)
Describe the bug
I'm using skript-mirror (reflection addon) to get the event from OA mc.
The connect event works flawless. But the disconnect one isn't working.
To Reproduce
This is the skript mirror code:
import:
com.craftmend.openaudiomc.spigot.modules.players.events.ClientDisconnectEvent
com.craftmend.openaudiomc.spigot.modules.players.events.ClientConnectEvent
on ClientDisconnectEvent:
broadcast "Someone disconnected."
set {_p} to event.getPlayer()
broadcast "Who disconnected is: {_p} = %{_p}%"
on ClientConnectEvent:
broadcast "Someone connected."
set {_p} to event.getPlayer()
broadcast "Who connected is: {_p} = %{_p}%"
The "on ClientConnectEvent" is working.
The "on ClientDisconnectEvent" isn't working.
Expected behavior
Both should work.
Screenshots
This shows that the broadcast works when the player connects (little proof that On Client Connect Event woks):
https://i.imgur.com/yASPOpQ.png
Desktop (please complete the following information):
paper 196
NO bungeecord
OA 6.0.3.4
offline mode
Is your feature request related to a problem? Please describe.
This is something we discuss in discord, and you asked me to report it here to remember you to fix/add as a feature.
Describe the solution you'd like
When you use the stop command, it will prevent the keeptimeout from playing the audio for the players that you used the stop command.
Describe alternatives you've considered
Maybe make a strict rule, to only stop the keeptimeout from playing the audio for new connections if a ID is set and the stop command is made using the ID.
Additional context
https://imgur.com/a/ZW8nAEB
Is your feature request related to a problem? Please describe.
Well now the plugin only support worldguard, although it's good enough, there still have so many server using Residence plugin: https://www.spigotmc.org/resources/residence-1-7-10-up-to-1-15.11480/
Describe the solution you'd like
Can you please add the support for it?
Describe alternatives you've considered
Additional context
https://www.spigotmc.org/resources/residence-1-7-10-up-to-1-15.11480/
https://zrips.net/Residence/
https://www.zrips.net/residence/api/
Is your feature request related to a problem? Please describe.
nope, no problem, just an idea
Describe the solution you'd like
Add randomized speakers/regions with a delay ex.: A speaker that plays audio files from a list of files for for example randomized bird chirping or background music
Describe alternatives you've considered
Maybe stacked regions?
Additional context
none
I'm trying to make a speaker. Current server is 1.8.9 Spigot. The other /oa play works just fine. Only region creation and speaker creation doesn't work. It give off this similar error for both.
[14:48:12] [Server thread/INFO]: ZevexZybez issued server command: /oa speaker create https://www.youtube.com/watch?v=t2rs-OyJ-Q8
[14:48:39] [Server thread/INFO]: [OpenAudioMc] Initializing speaker: https://www----youtube----com/watch?v=t2rs-OyJ-Q8
[14:48:39] [Server thread/INFO]: [OpenAudioMc] Initializing speaker: https://www----youtube----com/watch?v=t2rs-OyJ-Q8
[14:48:39] [Craft Scheduler Thread - 231/INFO]: [OpenAudioMc] Failed to create syncronized speaker, speaker is now in the old default mode: https://www----youtube----com/watch?v=t2rs-OyJ-Q8
[14:48:39] [Craft Scheduler Thread - 231/WARN]: com.mpatric.mp3agic.InvalidDataException: No mpegs frames found
[14:48:39] [Craft Scheduler Thread - 231/WARN]: at com.mpatric.mp3agic.Mp3File.init(Mp3File.java:97)
[14:48:39] [Craft Scheduler Thread - 231/WARN]: at com.mpatric.mp3agic.Mp3File.(Mp3File.java:58)
[14:48:39] [Craft Scheduler Thread - 231/WARN]: at com.mpatric.mp3agic.Mp3File.(Mp3File.java:45)
[14:48:39] [Craft Scheduler Thread - 231/WARN]: at net.openaudiomc.jclient.utils.Mp3Reader.lambda$run$0(Mp3Reader.java:33)
[14:48:39] [Craft Scheduler Thread - 231/WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
[14:48:39] [Craft Scheduler Thread - 231/WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
[14:48:39] [Craft Scheduler Thread - 231/WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[14:48:39] [Craft Scheduler Thread - 231/WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[14:48:39] [Craft Scheduler Thread - 231/WARN]: at java.lang.Thread.run(Unknown Source)
[14:48:39] [Craft Scheduler Thread - 229/INFO]: [OpenAudioMc] Failed to create syncronized speaker, speaker is now in the old default mode: https://www----youtube----com/watch?v=t2rs-OyJ-Q8
[14:48:39] [Craft Scheduler Thread - 229/WARN]: com.mpatric.mp3agic.InvalidDataException: No mpegs frames found
[14:48:39] [Craft Scheduler Thread - 229/WARN]: at com.mpatric.mp3agic.Mp3File.init(Mp3File.java:97)
[14:48:39] [Craft Scheduler Thread - 229/WARN]: at com.mpatric.mp3agic.Mp3File.(Mp3File.java:58)
[14:48:39] [Craft Scheduler Thread - 229/WARN]: at com.mpatric.mp3agic.Mp3File.(Mp3File.java:45)
[14:48:39] [Craft Scheduler Thread - 229/WARN]: at net.openaudiomc.jclient.utils.Mp3Reader.lambda$run$0(Mp3Reader.java:33)
[14:48:39] [Craft Scheduler Thread - 229/WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
[14:48:39] [Craft Scheduler Thread - 229/WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
[14:48:39] [Craft Scheduler Thread - 229/WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[14:48:39] [Craft Scheduler Thread - 229/WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[14:48:39] [Craft Scheduler Thread - 229/WARN]: at java.lang.Thread.run(Unknown Source)
Openaudio 4.0
Spigot 1.12.2
Openaudio seems to be loaded and then crash after these errors.
[06:01:52] [Server thread/INFO]: [OpenAudioMc] Enabling OpenAudioMc v4.0
[06:01:52] [Server thread/WARN]: [AutoSaveWorld] Plugin OpenAudioMc attempted to establish connection https://cdn.snowdns.de/oa.json in main server thread
[06:01:52] [Server thread/WARN]: [AutoSaveWorld] Plugin OpenAudioMc attempted to establish connection socket://cdn.snowdns.de:443 in main server thread
[06:01:52] [Server thread/INFO]: [OpenAudioMc] This is your first time using OpenAudioMc! welcome! (getting client cridentials)
[06:01:52] [Server thread/WARN]: [AutoSaveWorld] Plugin OpenAudioMc attempted to establish connection https://cdn.snowdns.de/oa.json in main server thread
[06:01:52] [Server thread/WARN]: [AutoSaveWorld] Plugin OpenAudioMc attempted to establish connection https://craftmendserver.eu:6969/genid in main server thread
[06:01:52] [Server thread/WARN]: [AutoSaveWorld] Plugin OpenAudioMc attempted to establish connection socket://craftmendserver.eu:6969 in main server thread
[06:03:59] [Server thread/WARN]: java.net.ConnectException: Connection timed out
[06:03:59] [Server thread/WARN]: at java.net.PlainSocketImpl.socketConnect(Native Method)
[06:03:59] [Server thread/WARN]: at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
[06:03:59] [Server thread/WARN]: at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
[06:03:59] [Server thread/WARN]: at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
[06:03:59] [Server thread/WARN]: at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
[06:03:59] [Server thread/WARN]: at java.net.Socket.connect(Socket.java:589)
[06:03:59] [Server thread/WARN]: at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
[06:03:59] [Server thread/WARN]: at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
[06:03:59] [Server thread/WARN]: at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
[06:03:59] [Server thread/WARN]: at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
[06:03:59] [Server thread/WARN]: at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
[06:03:59] [Server thread/WARN]: at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264)
[06:03:59] [Server thread/WARN]: at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367)
[06:03:59] [Server thread/WARN]: at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
[06:03:59] [Server thread/WARN]: at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
[06:03:59] [Server thread/WARN]: at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
[06:03:59] [Server thread/WARN]: at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
[06:03:59] [Server thread/WARN]: at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1513)
[06:03:59] [Server thread/WARN]: at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
[06:03:59] [Server thread/WARN]: at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
[06:03:59] [Server thread/WARN]: at net.openaudiomc.jclient.utils.UrlFetcher.run(UrlFetcher.java:21)
[06:03:59] [Server thread/WARN]: at net.openaudiomc.jclient.modules.socket.objects.KeyHolder.<init>(KeyHolder.java:26)
[06:03:59] [Server thread/WARN]: at net.openaudiomc.jclient.modules.socket.SocketModule.<init>(SocketModule.java:33)
[06:03:59] [Server thread/WARN]: at net.openaudiomc.jclient.OpenAudioMc.onEnable(OpenAudioMc.java:41)
[06:03:59] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
[06:03:59] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
[06:03:59] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403)
[06:03:59] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:382)
[06:03:59] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:331)
[06:03:59] [Server thread/WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422)
[06:03:59] [Server thread/WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383)
[06:03:59] [Server thread/WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338)
[06:03:59] [Server thread/WARN]: at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272)
[06:03:59] [Server thread/WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545)
[06:03:59] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:745)
[06:03:59] [Server thread/ERROR]: Error occurred while enabling OpenAudioMc v4.0 (Is it up to date?)
java.lang.NullPointerException: null
at java.io.StringReader.<init>(StringReader.java:50) ~[?:1.8.0_91]
at org.json.JSONTokener.<init>(JSONTokener.java:85) ~[?:?]
at org.json.JSONObject.<init>(JSONObject.java:319) ~[?:?]
at net.openaudiomc.jclient.modules.socket.objects.KeyHolder.<init>(KeyHolder.java:28) ~[?:?]
at net.openaudiomc.jclient.modules.socket.SocketModule.<init>(SocketModule.java:33) ~[?:?]
at net.openaudiomc.jclient.OpenAudioMc.onEnable(OpenAudioMc.java:41) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:382) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:331) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
[18:41:43] [Server thread/ERROR]: Could not pass event BlockBreakEvent to OpenAudioMc v4.0
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.minecraft.server.v1_12_R1.PlayerInteractManager.breakBlock(PlayerInteractManager.java:290) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.minecraft.server.v1_12_R1.PlayerInteractManager.a(PlayerInteractManager.java:217) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:889) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.minecraft.server.v1_12_R1.PacketPlayInBlockDig.a(SourceFile:40) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.minecraft.server.v1_12_R1.PacketPlayInBlockDig.a(SourceFile:10) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
Caused by: java.lang.NullPointerException
at net.openaudiomc.jclient.modules.player.listeners.SpeakerPlaceBreakListener.onDestroy(SpeakerPlaceBreakListener.java:43) ~[?:?]
at sun.reflect.GeneratedMethodAccessor494.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
... 17 more
**How to replicate the issue:**
<!--- If you can reproduce the issue please tell us as detailed as possible step by step how to do that -->
Hi all,
I've a problem with the plugin.
It seems to not been connected.
See the result here : http://img4.hostingpics.net/pics/176006disconnected.png
Openaudio 2.0.3
Spigot 1.10.2
Message.yml
Description: This is the place to change the messges, host url and more :)
start-sound: http://MYDOMAIN/music/HighwayToHell.mp3
website-url: http://MYDOMAIN/?name=%name%&session=%session%
connect-message: '&9[&bOpenAudioMc&9] &3Click &ehere&3 to connect to our audio server!'
connected-message: '&9[&bOpenAudioMc&9] &3You are now &aConnected&3 our audio server!'
volume-set: '&9[&bVolume&9] &3Your volume has been set to &a%volume%&3%'
volume-error: '&9[&bVolume&9] &4Invalid arguments.'
Is there a port to open on my linux firewall ?
Thanks for your help.
YT support is in there and HUE Bulb fix, plus current build has broken regions :P
Hello! I am receiving an issue where when players are connecting using Chrome, nobody can hear anything. I do not have any error codes, however I have found that it works on Edge, and Firefox. I have told my players to use those, but most of them refuse to do so. If there is any way for you to re-add chrome support that would be amazing! Thanks for all you do! Hope to see new versions coming soon!
Server Version: 1.11.2 Spigot
Plugin Version: 2.5
Problem: Error Loading Speakers
Error Log: https://gist.github.com/Clarkcj12/7c3942fc5cb7f7fa1a950427998bc02c
Description of Problem on loading the plugin it can't load the speakers.
Other Problem, Plugin in Spigot Zip says 1.5 but loads as v2.5
OpenAudioMc Version: 4.0
Spigot Version: This server is running CraftBukkit version git-Spigot-2cf50f0-2b93d83 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
WorldGuard Version: WorldGuard version 6.2.1;84bc322
Description of the problem: The plugin throws an Exception when trying to enable and after server start, it does not respond to commands or anything.
How to replicate the issue: Idk...
My Java-Version:
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-1~deb9u1-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
Just start a Spigot 1.12.2 server I guess.
I did not make any changes to the config.
When a flag "enderpearl-deny" is applied on a region with WorldGuard, worldguard display error message when using enderpearl but teleport the player. If i remove Openaudio plugin the flag work properly and the player is not teleported.
I think the problem is in the code part where enter/exit of the player is managed.
`public enum MovementWay
{
MOVE, TELEPORT, SPAWN, DISCONNECT;
private MovementWay() {}
}`
In fact the teleportation is understanded by WorldGuard but something hoolek with Openaudio and cancel the "Deny" for the player. I think Openaudio has a higer priority on the event occured by the teleportation.
Can you have a look ?
Thank you.
Spigot Version: 1.12.2
OA Version: 4.0
By looking at the title , this should be 2 separated issues, but I believe they are related and one of them is causing the other to happen (it may not be the truth) , but anyways I'm opening one single for 2 of them
First I would like to report the problem (or phenomenon) about the heading 1-2 seconds of audio is being cut out everytime an audio is being played. If it is caused by network delay, it will be better to have the whole audio wait until the delay is done before actually start playing. I'm not blaming anyone for this as this is not something really very major, and a manual hack by adding a bleeding buffer in front of every audio could relieve this problem, but consider adding in this bleeding buffer to EVERY SINGLE audio the server is in use right now is simply unfeasable and redundant as there are more than 30 of them right now. (actually this problem rendered my metro announcement system half-unusable) I hope this one can be fixed in short future
Next is concerning the fade-in and fade-out (specifically fade-in). I notice sometimes the fade-in is responsible for eating up some sounds at the beginning 1-2 seconds of the audio (i dont really know whether it is the real cause, but from my observation, it seems to be) But whether it is the real reason for eating up some audio or not, it will still be very weird to "fade-in" station announcements and sound effects in my metro system. So , I hope there will be a config option to toggle the use of fade-in and fade-out (or at least an option in command to disable fading in and out)
@Mindgamesnl
Is it possible to I make a Hungarian translation for the plugin? (For messages that can not be changed in the configuration)
Thanks in advance for the answer.
poma123
OpenAudioMc Version: 4.0
Spigot Version: Paper version git-Paper-1436 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
WorldGuard Version: 6.2.2-SNAPSHOT;1710-95b88ea
Description of the problem: The plugin seems to be incompatible with Java 10.
11.06 08:16:41 [Server] ERROR [io.socket.thread.EventThread] Task threw exception
11.06 08:16:41 [Server] INFO java.lang.UnsupportedOperationException: clientBuilder.sslSocketFactory(SSLSocketFactory) not supported on JDK 9+
11.06 08:16:41 [Server] INFO at okhttp3.internal.platform.Jdk9Platform.trustManager(Jdk9Platform.java:78) ~[OpenAudioMc.jar:?]
11.06 08:16:41 [Server] INFO at okhttp3.OkHttpClient$Builder.sslSocketFactory(OkHttpClient.java:651) ~[OpenAudioMc.jar:?]
11.06 08:16:41 [Server] INFO at io.socket.engineio.client.transports.WebSocket.doOpen(WebSocket.java:50) ~[OpenAudioMc.jar:?]
11.06 08:16:41 [Server] INFO at io.socket.engineio.client.Transport$1.run(Transport.java:82) ~[OpenAudioMc.jar:?]
11.06 08:16:41 [Server] INFO at io.socket.thread.EventThread.exec(EventThread.java:55) ~[OpenAudioMc.jar:?]
11.06 08:16:41 [Server] INFO at io.socket.engineio.client.Transport.open(Transport.java:77) ~[OpenAudioMc.jar:?]
11.06 08:16:41 [Server] INFO at io.socket.engineio.client.Socket.probe(Socket.java:472) ~[OpenAudioMc.jar:?]
11.06 08:16:41 [Server] INFO at io.socket.engineio.client.Socket.onOpen(Socket.java:485) ~[OpenAudioMc.jar:?]
11.06 08:16:41 [Server] INFO at io.socket.engineio.client.Socket.onHandshake(Socket.java:526) ~[OpenAudioMc.jar:?]
11.06 08:16:41 [Server] INFO at io.socket.engineio.client.Socket.onPacket(Socket.java:499) ~[OpenAudioMc.jar:?]
11.06 08:16:41 [Server] INFO at io.socket.engineio.client.Socket.access$1000(Socket.java:31) ~[OpenAudioMc.jar:?]
11.06 08:16:41 [Server] INFO at io.socket.engineio.client.Socket$5.call(Socket.java:313) ~[OpenAudioMc.jar:?]
11.06 08:16:41 [Server] INFO at io.socket.emitter.Emitter.emit(Emitter.java:117) ~[OpenAudioMc.jar:?]
How to replicate the issue: Install Java 10
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
It would be nice to display the name of the song that is currently playing (when possible) and the link used for it.
It is difficult to find out what song is playing when just using /audio
together with speakers as you (obviously) hear the music, but it may not always be clear what the name of it is.
So having this displayed could help reduce the number of players, that constantly ask "What is that song's name?"
This could/should be an option in the config too, to hide this information in case you might not wanna display it.
Describe alternatives you've considered
The only alternative would be to mention the song name and link somewhere like a sign or hologram or similar which isn't always optimal.
Additional context
OpenAudioMc Version:
4.0
Spigot Version:
PaperSpigot version git-Paper-1341 (MC: 1.12.2)
Description of the problem:
While i was playing an audio for a loop, i see a player leave event fired at the same time the audio server disconnects, but i am still in the server. Console wont show up as a quit event.
How to replicate the issue:
OpenAudioMC 4.0
Spigot 1.12.2
Description :
When i try to clic on the link to open client side it says :
Oh no! :( life has its ups and downs, we could not connect or lost connection to the minecraft server! no need to panic, try again later.
Config :
############################################################
# +------------------------------------------------------+ #
# | Web Client | #
# | Configuration for your web client! | #
# | (can be disabled by using '-' as value) | #
# +------------------------------------------------------+ #
############################################################
web:
url: 'http://audio.teamkog.com/'
title: 'Kogcraft'
background: '-'
startsound: '-'
ambiancesound: '-'
speaker_radius: 10
Is there a step by step tutorial to know how to configure my hosted web client with Openaudio ?
Thank you.
Gaëtan.
Hi all,
OpenAudioMc Version:
4.0
Spigot Version:
1.12.2
WorldGuard Version:
6.2.2
Description of the problem:
The log file is spammed when a player is in another world and type /audio.
It's something about speaker loaded but not in the same world for the source player.
[19:22:52] [Server thread/WARN]: [OpenAudioMc] Task #339 for OpenAudioMc v4.0 generated an exception
java.lang.IllegalArgumentException: Cannot measure distance between Donjon and Licorne
at org.bukkit.Location.distanceSquared(Location.java:460) ~[spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at org.bukkit.Location.distance(Location.java:443) ~[spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.openaudiomc.jclient.modules.player.objects.AudioListener.lambda$updateSpeakers$1(AudioListener.java:60) ~[?:?]
at java.util.ArrayList.removeIf(ArrayList.java:1405) ~[?:1.8.0_91]
at net.openaudiomc.jclient.modules.player.objects.AudioListener.updateSpeakers(AudioListener.java:60) ~[?:?]
at net.openaudiomc.jclient.modules.media.tasks.PlayerSpeakerCheck.run(PlayerSpeakerCheck.java:11) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2-R0.1-SNAPSHOT-b1480.jar:git-Spigot-549c1fa-8c37e2e]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
How to replicate the issue:
Typing /audio command.
Thank you for the help provided ;-)
Hi there,
I'm trying to get internet radio stations working on speakers, but there is no sound.
When I reload/restart the server, i get the following Java exception in the console:
java.lang.IllegalArgumentException: null
at sun.nio.ch.FileChannelImpl.position(FileChannelImpl.java:278) ~[?:1.8.0_151]
at sun.nio.ch.FileChannelImpl.position(FileChannelImpl.java:50) ~[?:1.8.0_151]
at com.mpatric.mp3agic.Mp3File.initId3v1Tag(Mp3File.java:273) ~[?:?]
at com.mpatric.mp3agic.Mp3File.init(Mp3File.java:94) ~[?:?]
at com.mpatric.mp3agic.Mp3File.(Mp3File.java:58) ~[?:?]
at com.mpatric.mp3agic.Mp3File.(Mp3File.java:45) ~[?:?]
at net.openaudiomc.jclient.utils.Mp3Reader.lambda$run$0(Mp3Reader.java:33) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.12.2.jar:git-Spigot-7862817-bd30843]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [spigot-1.12.2.jar:git-Spigot-7862817-bd30843]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_151]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_151]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
Can you fix it or tell me what's wrong?
OpenAudioMc Version: 4.0
Spigot Version: CraftBukkit version git-Spigot-c3093ef-7e94e65 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT)
WorldGuard Version: 6.2.1;84bc322
Description of the problem:
[12:57:35] [Server thread/ERROR]: Could not pass event BlockBreakEvent to OpenAudioMc v4.0
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.12.2.jar:git-Spigot-c3093ef-7e94e65]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.12.2.jar:git-Spigot-c3093ef-7e94e65]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.12.2.jar:git-Spigot-c3093ef-7e94e65]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.12.2.jar:git-Spigot-c3093ef-7e94e65]
at net.minecraft.server.v1_12_R1.PlayerInteractManager.breakBlock(PlayerInteractManager.java:290) [spigot-1.12.2.jar:git-Spigot-c3093ef-7e94e65]
at net.minecraft.server.v1_12_R1.PlayerInteractManager.a(PlayerInteractManager.java:217) [spigot-1.12.2.jar:git-Spigot-c3093ef-7e94e65]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:889) [spigot-1.12.2.jar:git-Spigot-c3093ef-7e94e65]
at net.minecraft.server.v1_12_R1.PacketPlayInBlockDig.a(SourceFile:40) [spigot-1.12.2.jar:git-Spigot-c3093ef-7e94e65]
at net.minecraft.server.v1_12_R1.PacketPlayInBlockDig.a(SourceFile:10) [spigot-1.12.2.jar:git-Spigot-c3093ef-7e94e65]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.2.jar:git-Spigot-c3093ef-7e94e65]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_151]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_151]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.2.jar:git-Spigot-c3093ef-7e94e65]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot-1.12.2.jar:git-Spigot-c3093ef-7e94e65]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar:git-Spigot-c3093ef-7e94e65]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-c3093ef-7e94e65]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-c3093ef-7e94e65]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
Caused by: java.lang.NullPointerException
at net.openaudiomc.jclient.modules.player.listeners.SpeakerPlaceBreakListener.onDestroy(SpeakerPlaceBreakListener.java:43) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_151]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_151]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_151]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_151]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.12.2.jar:git-Spigot-c3093ef-7e94e65]
... 17 more
How to replicate the issue:
I could not replicate the issue. I luckily saw the StackTrace in the console.
Feature request from rambq via discord
Description: If it's possible to link a playlist to a region. That would be awesome.
Result: Possible web side, but needs to be implemented java side.
Ver:6.0.4
We have the plugin on our server, we are also excited. Unfortunately, the plugin does not save the speakers after a reboot. Is it necessary to reset all speakers after each restart of the server?
I felt like adding a milestone so that we know what is done soo far.
It's easier to explain in a video: https://youtu.be/kOHLKSht4Q4
OpenAudioMc Version:
5.0
Spigot Version:
1.13.2-r01-snapshot
WorldGuard Version:
WorldGuard 7.0.0 Beta 3
Description of the problem:
het opslaan van region en speakers werken niet
Openaudio 4.0
Spigot 1.12.2
How to install Web part ? In previous version we get a Zip file with web files to upload. And now how to do it ?
Is your feature request related to a problem? Please describe.
One part of the feature request is related to the lore of the speaker item inside the inventory, where it is too long for GUI settings like "auto"
Describe the solution you'd like
I would like to have the inventory title display the currently set range for the speaker since if the range is bigger than 16 or smaller than 2, none of the noteblocks have the enchanted glow and therefore you aren't able to tell what the current range is set to.
Another issue is, that the lore of the speaker item is way off the screen when using a GUI setting like auto. (See image)
Solutions could be to either have the link in a separate line or having the link only display the source URL instead of https://api.openaudiomc.net/stream.php?u=<link>
Describe alternatives you've considered
There aren't really any alternatives other than switching GUI size temporary, which isn't really a good solution.
Additional context
Running PaperMC 1.14.4 (build 230) and OpenAudioMC 6.0.4
I see that you use Maven, but why do you put so much dependency code into your source folder if there is a Maven dependency available for it.
Then you don't need to put the source files of that projects there and dependencies will be downloaded automatically once you change the version line in the pom.xml.
I get this error when I try to use the regions feature with WG Region Events:
ERROR Could not pass event RegionEnterEvent to OpenAudio v1.4.4 05.12 12:13:02 [Server] INFO org.bukkit.event.EventException 05.12 12:13:02 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[paperspigot-1.8.jar:git-PaperSpigot-"8b18730"] 05.12 12:13:02 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[paperspigot-1.8.jar:git-PaperSpigot-"8b18730"] 05.12 12:13:02 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[paperspigot-1.8.jar:git-PaperSpigot-"8b18730"] 05.12 12:13:02 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [paperspigot-1.8.jar:git-PaperSpigot-"8b18730"] 05.12 12:13:02 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [paperspigot-1.8.jar:git-PaperSpigot-"8b18730"] 05.12 12:13:02 [Server] INFO at com.mewin.WGRegionEvents.WGRegionEventsListener.updateRegions(WGRegionEventsListener.java:134) [WGRegionEvents-1.2.1.jar:?] 05.12 12:13:02 [Server] INFO at com.mewin.WGRegionEvents.WGRegionEventsListener.onPlayerJoin(WGRegionEventsListener.java:88) [WGRegionEvents-1.2.1.jar:?] 05.12 12:13:02 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111] 05.12 12:13:02 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111] 05.12 12:13:02 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111] 05.12 12:13:02 [Server] INFO at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111] 05.12 12:13:02 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) [paperspigot-1.8.jar:git-PaperSpigot-"8b18730"] 05.12 12:13:02 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) [paperspigot-1.8.jar:git-PaperSpigot-"8b18730"] 05.12 12:13:02 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [paperspigot-1.8.jar:git-PaperSpigot-"8b18730"] 05.12 12:13:02 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [paperspigot-1.8.jar:git-PaperSpigot-"8b18730"] 05.12 12:13:02 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [paperspigot-1.8.jar:git-PaperSpigot-"8b18730"] 05.12 12:13:02 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerList.onPlayerJoin(PlayerList.java:314) [paperspigot-1.8.jar:git-PaperSpigot-"8b18730"] 05.12 12:13:02 [Server] INFO at net.minecraft.server.v1_8_R3.PlayerList.a(PlayerList.java:173) [paperspigot-1.8.jar:git-PaperSpigot-"8b18730"] 05.12 12:13:02 [Server] INFO at protocolsupport.protocol.transformer.handlers.AbstractLoginListener.b(AbstractLoginListener.java:145) [ProtocolSupport.jar:?] 05.12 12:13:02 [Server] INFO at protocolsupport.protocol.transformer.handlers.AbstractLoginListener.c(AbstractLoginListener.java:91) [ProtocolSupport.jar:?] 05.12 12:13:02 [Server] INFO at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231) [paperspigot-1.8.jar:git-PaperSpigot-"8b18730"] 05.12 12:13:02 [Server] INFO at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:148) [paperspigot-1.8.jar:git-PaperSpigot-"8b18730"] 05.12 12:13:02 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:875) [paperspigot-1.8.jar:git-PaperSpigot-"8b18730"] 05.12 12:13:02 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [paperspigot-1.8.jar:git-PaperSpigot-"8b18730"] 05.12 12:13:02 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [paperspigot-1.8.jar:git-PaperSpigot-"8b18730"] 05.12 12:13:02 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [paperspigot-1.8.jar:git-PaperSpigot-"8b18730"] 05.12 12:13:02 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
Describe the bug
When i restart the server the speakers 'forget' their range setting
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The range setting is saved.
Screenshots
none
Desktop (please complete the following information):
Describe the bug
The command /oa speaker from the console is broken.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The speaker should work the same way as the one from the /speaker command, but this from console trows a console error.
Screenshots
Little gif showing the error:
https://cdn.discordapp.com/attachments/245498457681428480/621617601969127424/new.gif
Additional context
Using paper 1.14.4 192
OA 6.0.3.4
Console:
12.09 03:55:48 [Server] WARN java.lang.UnsupportedOperationException: Must change block type
12.09 03:55:48 [Server] WARN at org.bukkit.craftbukkit.v1_14_R1.block.CraftSkull.setSkullType(CraftSkull.java:170)
12.09 03:55:48 [Server] WARN at com.craftmend.openaudiomc.spigot.modules.commands.subcommands.SpeakersSubCommand.onExecute(SpeakersSubCommand.java:112)
12.09 03:55:48 [Server] WARN at com.craftmend.openaudiomc.spigot.modules.commands.command.SpigotMainCommand.onCommand(SpigotMainCommand.java:52)
12.09 03:55:48 [Server] WARN at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
12.09 03:55:48 [Server] WARN at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159)
12.09 03:55:48 [Server] WARN at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchCommand(CraftServer.java:739)
12.09 03:55:48 [Server] WARN at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchServerCommand(CraftServer.java:701)
12.09 03:55:48 [Server] WARN at net.minecraft.server.v1_14_R1.DedicatedServer.handleCommandQueue(DedicatedServer.java:456)
12.09 03:55:48 [Server] WARN at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:418)
12.09 03:55:48 [Server] WARN at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1075)
12.09 03:55:48 [Server] WARN at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:919)
12.09 03:55:48 [Server] WARN at java.lang.Thread.run(Thread.java:748)
Fix ideas:
ApocalypsjeNL said this in discord:
ah I see what is wrong, @Mats // Mindgamesnl you're using an legacy api call while you specified the 1.13 version in the plugin.yml because when using api version 1.13 (or higher) you need to set the block to PLAYER_SKULL instead of SKULL to set the skull owner
I was adding this as it doesn't seem to play the files, but I get the media volume option when I try to change the volume. I was hoping if you can fix this please as I can't find a fix for it =/
A long error...
05.01 19:15:34 [Server] ERROR Could not pass event SocketWhisperEvent to OpenAudioMc v2.6
05.01 19:15:34 [Server] INFO org.bukkit.event.EventException: null
05.01 19:15:34 [Server] INFO at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:72) ~[patched_1.12.2.jar:git-Paper-1293]
05.01 19:15:34 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[patched_1.12.2.jar:git-Paper-1293]
05.01 19:15:34 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.12.2.jar:git-Paper-1293]
05.01 19:15:34 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:515) [patched_1.12.2.jar:git-Paper-1293]
05.01 19:15:34 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:500) [patched_1.12.2.jar:git-Paper-1293]
05.01 19:15:34 [Server] INFO at net.openaudiomc.socket.SocketioConnector.whisper(SocketioConnector.java:126) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at net.openaudiomc.socket.SocketioConnector$3.call(SocketioConnector.java:83) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.emitter.Emitter.emit(Emitter.java:117) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.client.Socket.onevent(Socket.java:340) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.client.Socket.onpacket(Socket.java:293) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.client.Socket.access$100(Socket.java:19) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.client.Socket$2$2.call(Socket.java:111) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.emitter.Emitter.emit(Emitter.java:117) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.client.Manager.ondecoded(Manager.java:407) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.client.Manager.access$1600(Manager.java:20) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.client.Manager$7.call(Manager.java:383) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.emitter.Emitter.emit(Emitter.java:117) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.parser.Parser$Decoder.add(Parser.java:157) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.client.Manager.ondata(Manager.java:399) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.client.Manager.access$1000(Manager.java:20) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.client.Manager$2.call(Manager.java:350) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.emitter.Emitter.emit(Emitter.java:117) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.engineio.client.Socket.onPacket(Socket.java:511) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.engineio.client.Socket.access$1000(Socket.java:31) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.engineio.client.Socket$5.call(Socket.java:313) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.emitter.Emitter.emit(Emitter.java:117) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.engineio.client.Transport.onPacket(Transport.java:134) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.engineio.client.Transport.onData(Transport.java:126) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.engineio.client.transports.WebSocket.access$100(WebSocket.java:24) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.engineio.client.transports.WebSocket$2$2.run(WebSocket.java:99) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.thread.EventThread$2.run(EventThread.java:80) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_151]
05.01 19:15:34 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_151]
05.01 19:15:34 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_151]
05.01 19:15:34 [Server] INFO Caused by: org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
05.01 19:15:34 [Server] INFO at org.json.JSONTokener.syntaxError(JSONTokener.java:451) ~[?:?]
05.01 19:15:34 [Server] INFO at org.json.JSONObject.<init>(JSONObject.java:196) ~[?:?]
05.01 19:15:34 [Server] INFO at org.json.JSONObject.<init>(JSONObject.java:320) ~[?:?]
05.01 19:15:34 [Server] INFO at net.openaudiomc.core.EventListener.onSocketWhisperEvent(EventListener.java:72) ~[?:?]
05.01 19:15:34 [Server] INFO at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor317.execute(Unknown Source) ~[?:?]
05.01 19:15:34 [Server] INFO at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.12.2.jar:git-Paper-1293]
05.01 19:15:34 [Server] INFO ... 33 more
05.01 19:15:34 [Server] ERROR Could not pass event SocketWhisperEvent to OpenAudioMc v2.6
05.01 19:15:34 [Server] INFO org.bukkit.event.EventException: null
05.01 19:15:34 [Server] INFO at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:72) ~[patched_1.12.2.jar:git-Paper-1293]
05.01 19:15:34 [Server] INFO at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[patched_1.12.2.jar:git-Paper-1293]
05.01 19:15:34 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.12.2.jar:git-Paper-1293]
05.01 19:15:34 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:515) [patched_1.12.2.jar:git-Paper-1293]
05.01 19:15:34 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:500) [patched_1.12.2.jar:git-Paper-1293]
05.01 19:15:34 [Server] INFO at net.openaudiomc.socket.SocketioConnector.whisper(SocketioConnector.java:126) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at net.openaudiomc.socket.SocketioConnector$3.call(SocketioConnector.java:83) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.emitter.Emitter.emit(Emitter.java:117) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.client.Socket.onevent(Socket.java:340) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.client.Socket.onpacket(Socket.java:293) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.client.Socket.access$100(Socket.java:19) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.client.Socket$2$2.call(Socket.java:111) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.emitter.Emitter.emit(Emitter.java:117) [OpenAudioMc-2.6.jar:?]
05.01 19:15:34 [Server] INFO at io.socket.client.Manager.ondecoded(Manager.java:407) [OpenAudioMc-2.6.jar:?]
OpenAudioMc Version: 5
Audio started via /openaudio start, jukebox and regions aren't played on client on safari navigator (tested versions : 10 -> 12)
Connection is well established between server and client tough. Probably an issue with javascript music playing on safari.
From you github repo for the web-client it is missing the pages folder under files, therefore unsuccessfully loading the webpage. It is included in the spigot zip file though.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.