Spliterash / MusicBox

Music plugin for spigot
11 stars 11 forks source link

[BUG] Musicbox stops working on Paper 1.18.1 #18

Closed Tsoccerguy3 closed 2 years ago

Tsoccerguy3 commented 2 years ago

After setting up the Musicbox it will play a few songs and then the plugin breaks . No errors in log , nothing in console . . I need to break this Musicbox and make it again . You can not put records in the box while playing this may break it as well

2021-12-17_04 30 27 2021-12-17_04 31 46 2021-12-17_04 31 56

Tsoccerguy3 commented 2 years ago

After a disc is played or removed from a jukebox or sits in the menu , the discs are recongnised as a Misc Disc and no longer work in your Musicbox

2021-12-17_04 53 10

Spliterash commented 2 years ago

Ok, I'll take a look now

Spliterash commented 2 years ago

I can't repeat, tell me what version of the server you have(spigot, paper or another) with version, and are there any plugins that affect items?

Tsoccerguy3 commented 2 years ago

Paper 1.18.1 build 77

List_Files.txt

Tsoccerguy3 commented 2 years ago

if you want to try out the plugin on Paper 1.18.1 do /plot auto to get a plot in creative mode https://www.planetminecraft.com/server/sanacraft/

Spliterash commented 2 years ago

Dont have pex to take musicbox discs

Tsoccerguy3 commented 2 years ago

I set you to server member iron worker , Try , /plot auto to get a plot to build test musicbox.

Tsoccerguy3 commented 2 years ago

I have Op and doing the tests . The plugin is causing errors with your custom NoteblockAPI . Lots of errors . I dont want to set perms yet , because the plugin is broken on Paper 1.18.1 . The songs are playing in random locations as well .

[17:22:26 ERROR]: An error occurred during the playback of song plugins/MusicBox/songs/Games/TobyFox/Hopes And Dream.nbs ( - Hopes And Dream) [17:22:26 WARN]: java.lang.IllegalStateException: PlayerRangeStateChangeEvent may only be triggered synchronously. [17:22:26 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:616) [17:22:26 WARN]: at NoteBlockAPI-1.6.2-SNAPSHOT.jar//com.xxmicloxx.NoteBlockAPI.songplayer.PositionSongPlayer.playTick(PositionSongPlayer.java:100) [17:22:26 WARN]: at NoteBlockAPI-1.6.2-SNAPSHOT.jar//com.xxmicloxx.NoteBlockAPI.songplayer.SongPlayer.lambda$start$7(SongPlayer.java:440) [17:22:26 WARN]: at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftTask.run(CraftTask.java:101) [17:22:26 WARN]: at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) [17:22:26 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) [17:22:26 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [17:22:26 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [17:22:26 WARN]: at java.base/java.lang.Thread.run(Thread.java:833) [17:22:36 ERROR]: An error occurred during the playback of song plugins/MusicBox/songs/Games/TobyFox/Hopes And Dream.nbs ( - Hopes And Dream) [17:22:59 ERROR]: An error occurred during the playback of song plugins/MusicBox/songs/Games/TobyFox/Scarlet Forest.nbs (Toby Fox - Scarlet Forest) [17:22:59 WARN]: java.lang.IllegalStateException: PlayerRangeStateChangeEvent may only be triggered synchronously. [17:22:59 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:616) [17:22:59 WARN]: at NoteBlockAPI-1.6.2-SNAPSHOT.jar//com.xxmicloxx.NoteBlockAPI.songplayer.PositionSongPlayer.playTick(PositionSongPlayer.java:100) [17:22:59 WARN]: at NoteBlockAPI-1.6.2-SNAPSHOT.jar//com.xxmicloxx.NoteBlockAPI.songplayer.SongPlayer.lambda$start$7(SongPlayer.java:440) [17:22:59 WARN]: at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftTask.run(CraftTask.java:101) [17:22:59 WARN]: at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) [17:22:59 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) [17:22:59 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [17:22:59 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [17:22:59 WARN]: at java.base/java.lang.Thread.run(Thread.java:833) [17:23:01 ERROR]: An error occurred during the playback of song plugins/MusicBox/songs/Games/TobyFox/Spear of Justice.nbs (Tobyfox - Spear of Justice) [17:23:01 WARN]: java.lang.IllegalStateException: PlayerRangeStateChangeEvent may only be triggered synchronously. [17:23:01 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:616) [17:23:01 WARN]: at NoteBlockAPI-1.6.2-SNAPSHOT.jar//com.xxmicloxx.NoteBlockAPI.songplayer.PositionSongPlayer.playTick(PositionSongPlayer.java:100) [17:23:01 WARN]: at NoteBlockAPI-1.6.2-SNAPSHOT.jar//com.xxmicloxx.NoteBlockAPI.songplayer.SongPlayer.lambda$start$7(SongPlayer.java:440) [17:23:01 WARN]: at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftTask.run(CraftTask.java:101) [17:23:01 WARN]: at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) [17:23:01 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) [17:23:01 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [17:23:01 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [17:23:01 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)

Tsoccerguy3 commented 2 years ago

The errors to serious . we stopped testing and removed plugin , sorry