mlus-asuka / PlayerSync

This is a Minecraft forge mod using Mysql backend to make player data synchronization between different servers.
GNU General Public License v3.0
5 stars 1 forks source link

Lag/ optmiseing #19

Closed killbot24 closed 3 months ago

killbot24 commented 5 months ago

Noticed my server lagged a fair bit with the mod on https://spark.lucko.me/19QDWjqXae Anything can be done about that?

mlus-asuka commented 5 months ago

ok, just disable the chat sync.

killbot24 commented 5 months ago

Even with it off and set to sync just world https://spark.lucko.me/nEjafAb4oR Weirdly does still say chat sync

mlus-asuka commented 5 months ago

Even with it off and set to sync just world https://spark.lucko.me/nEjafAb4oR Weirdly does still say chat sync

Have you restarted the server?

killbot24 commented 5 months ago

Yes

mlus-asuka commented 5 months ago

Thanks for testing. No one met this problem before. Try the newest action https://github.com/mlus-asuka/PlayerSync/actions/runs/9418399285

killbot24 commented 5 months ago

Running 20 now, I will see how it does under load later

mlus-asuka commented 5 months ago

I refactored chat sync implementation, it use web socket instead of mysql now. if you are interested, you could try it by download the newest action. Thanks

killbot24 commented 5 months ago

Haven't got around to testing it yet, Server in development I did notice that it doesn't always load the player's data when they join a server

killbot24 commented 3 months ago

Tryed on the newer version I get [14:50:49] [Server thread/ERROR] [minecraft/MinecraftServer]: Uncaught exception in server thread java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-Sync' at line 1 & No suitable driver found for jdbc:mysql

mlus-asuka commented 3 months ago

Tryed on the newer version I get [14:50:49] [Server thread/ERROR] [minecraft/MinecraftServer]: Uncaught exception in server thread java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-Sync' at line 1 & No suitable driver found for jdbc:mysql

Use the all one. And I can't found any string with '-Sync' in my codes, see through your config

killbot24 commented 3 months ago

My database contains a -Sync in the db name

Likely the issue Cant change that

mlus-asuka commented 3 months ago

https://github.com/mlus-asuka/PlayerSync/actions/runs/10010511237 this one might fix the issue

killbot24 commented 3 months ago

Still a issue java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''s3899_Player-Sync'' at line 1

killbot24 commented 3 months ago

Nvm, that's a me issue....

killbot24 commented 3 months ago

Nope still have it java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 's3899_player' ' at line 1

mlus-asuka commented 3 months ago

I see, so your database name is s3899_player. Just write your config like this db_name = "s3899_Player-Sync" have ` on both before and after

mlus-asuka commented 3 months ago

image image

killbot24 commented 3 months ago

I did figure it out, keept giveing me errors on the -Sync so just put down playersync, Oddly also had errors on s3899_player

killbot24 commented 3 months ago

So new issue, At times on relog in after restart players wont have their stuff, no errors

mlus-asuka commented 3 months ago

So new issue, At times on relog in after restart players wont have their stuff, no errors

what's their inventory data in database look like? (when quit game and join game again) I mean would their data in database be updated if they don't have their stuff? And server_info enable would be true or false?

x051130x commented 3 months ago

Same problem founded on my 1.20.1 server
Noticed that players can't send chat
they can get their inventory normally
disabled chat sync

[13:55:56] [ForkJoinPool.commonPool-worker-3/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: No database selected
        Index: 3
        Listeners:
                0: HIGH
                1: ASM: class dev.architectury.event.forge.EventHandlerImplCommon event(Lnet/minecraftforge/event/ServerChatEvent;)V
                2: NORMAL
                3: ASM: class vip.fubuki.playersync.sync.ChatSync onPlayerChat(Lnet/minecraftforge/event/ServerChatEvent;)V
                4: ASM: me.desht.pneumaticcraft.common.event.MiscEventHandler@1d8f08e0 quetziMoo(Lnet/minecraftforge/event/ServerChatEvent;)V
                5: ASM: net.montoyo.wd.WebDisplays@6736aa5f onServerChat(Lnet/minecraftforge/event/ServerChatEvent;)V
                6: ASM: class vip.fubuki.playersync.sync.VanillaSync onUpdate(Lnet/minecraftforge/eventbus/api/Event;)V
                7: LOWEST
                8: ASM: class dev.architectury.event.forge.EventHandlerImplCommon eventAfter(Lnet/minecraftforge/event/ServerChatEvent;)V
java.sql.SQLException: No database selected
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1098)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1046)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1371)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1031)
        at TRANSFORMER/playersync@1.20.1-1.3.2/vip.fubuki.playersync.sync.ChatSync.onPlayerChat(ChatSync.java:29)
        at TRANSFORMER/playersync@1.20.1-1.3.2/vip.fubuki.playersync.sync.__ChatSync_onPlayerChat_ServerChatEvent.invoke(.dynamic)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
        at TRANSFORMER/forge@47.2.0/net.minecraftforge.common.ForgeHooks.onServerChatSubmittedEvent(ForgeHooks.java:412)
        at TRANSFORMER/forge@47.2.0/net.minecraftforge.common.ForgeHooks.lambda$getServerChatSubmittedDecorator$0(ForgeHooks.java:422)
        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1311)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1840)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1806)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

[13:55:56] [ForkJoinPool.commonPool-worker-3/ERROR] [minecraft/FutureChain]: Chain link failed, continuing to next one
java.sql.SQLException: No database selected
        at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129) ~[?:?] {re:classloading}
        at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[?:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953) ~[?:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1098) ~[?:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1046) ~[?:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1371) ~[?:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1031) ~[?:?] {re:classloading}
        at vip.fubuki.playersync.sync.ChatSync.onPlayerChat(ChatSync.java:29) ~[?:?] {re:classloading}
        at vip.fubuki.playersync.sync.__ChatSync_onPlayerChat_ServerChatEvent.invoke(.dynamic) ~[?:?] {re:classloading,pl:eventbus:B}
        at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2352!/:?] {}
        at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2352!/:?] {}
        at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2352!/:?] {}
        at net.minecraftforge.common.ForgeHooks.onServerChatSubmittedEvent(ForgeHooks.java:412) ~[?:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.hammerlib.json:ForgeHooksMixin,pl:mixin:A}
        at net.minecraftforge.common.ForgeHooks.lambda$getServerChatSubmittedDecorator$0(ForgeHooks.java:422) ~[?:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.hammerlib.json:ForgeHooksMixin,pl:mixin:A}
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?] {}
        at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?] {}
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?] {}
        at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1311) ~[?:?] {}
        at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1840) ~[?:?] {re:mixin,re:computing_frames}
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1806) ~[?:?] {re:mixin,re:computing_frames}
        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) ~[?:?] {re:mixin}

https://spark.lucko.me/OwB4eq3cuT

mlus-asuka commented 3 months ago

Same problem founded on my 1.20.1 server Noticed that players can't send chat they can get their inventory normally disabled chat sync

[13:55:56] [ForkJoinPool.commonPool-worker-3/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: No database selected
        Index: 3
        Listeners:
                0: HIGH
                1: ASM: class dev.architectury.event.forge.EventHandlerImplCommon event(Lnet/minecraftforge/event/ServerChatEvent;)V
                2: NORMAL
                3: ASM: class vip.fubuki.playersync.sync.ChatSync onPlayerChat(Lnet/minecraftforge/event/ServerChatEvent;)V
                4: ASM: me.desht.pneumaticcraft.common.event.MiscEventHandler@1d8f08e0 quetziMoo(Lnet/minecraftforge/event/ServerChatEvent;)V
                5: ASM: net.montoyo.wd.WebDisplays@6736aa5f onServerChat(Lnet/minecraftforge/event/ServerChatEvent;)V
                6: ASM: class vip.fubuki.playersync.sync.VanillaSync onUpdate(Lnet/minecraftforge/eventbus/api/Event;)V
                7: LOWEST
                8: ASM: class dev.architectury.event.forge.EventHandlerImplCommon eventAfter(Lnet/minecraftforge/event/ServerChatEvent;)V
java.sql.SQLException: No database selected
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1098)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1046)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1371)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1031)
        at TRANSFORMER/playersync@1.20.1-1.3.2/vip.fubuki.playersync.sync.ChatSync.onPlayerChat(ChatSync.java:29)
        at TRANSFORMER/playersync@1.20.1-1.3.2/vip.fubuki.playersync.sync.__ChatSync_onPlayerChat_ServerChatEvent.invoke(.dynamic)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
        at TRANSFORMER/forge@47.2.0/net.minecraftforge.common.ForgeHooks.onServerChatSubmittedEvent(ForgeHooks.java:412)
        at TRANSFORMER/forge@47.2.0/net.minecraftforge.common.ForgeHooks.lambda$getServerChatSubmittedDecorator$0(ForgeHooks.java:422)
        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1311)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1840)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1806)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

[13:55:56] [ForkJoinPool.commonPool-worker-3/ERROR] [minecraft/FutureChain]: Chain link failed, continuing to next one
java.sql.SQLException: No database selected
        at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129) ~[?:?] {re:classloading}
        at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[?:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953) ~[?:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1098) ~[?:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1046) ~[?:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1371) ~[?:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1031) ~[?:?] {re:classloading}
        at vip.fubuki.playersync.sync.ChatSync.onPlayerChat(ChatSync.java:29) ~[?:?] {re:classloading}
        at vip.fubuki.playersync.sync.__ChatSync_onPlayerChat_ServerChatEvent.invoke(.dynamic) ~[?:?] {re:classloading,pl:eventbus:B}
        at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2352!/:?] {}
        at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2352!/:?] {}
        at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2352!/:?] {}
        at net.minecraftforge.common.ForgeHooks.onServerChatSubmittedEvent(ForgeHooks.java:412) ~[?:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.hammerlib.json:ForgeHooksMixin,pl:mixin:A}
        at net.minecraftforge.common.ForgeHooks.lambda$getServerChatSubmittedDecorator$0(ForgeHooks.java:422) ~[?:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.hammerlib.json:ForgeHooksMixin,pl:mixin:A}
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?] {}
        at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?] {}
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?] {}
        at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1311) ~[?:?] {}
        at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1840) ~[?:?] {re:mixin,re:computing_frames}
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1806) ~[?:?] {re:mixin,re:computing_frames}
        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) ~[?:?] {re:mixin}�

https://spark.lucko.me/OwB4eq3cuT�

https://github.com/mlus-asuka/PlayerSync/actions/runs/10234080310 this one for 1.20.1

x051130x commented 3 months ago

server crashed

[15:25:35] [Worker-Main-7/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''playersync'' at line 1
        Index: 8
        Listeners:
                0: HIGH
                1: ASM: class dev.architectury.event.forge.EventHandlerImplCommon event(Lnet/minecraftforge/event/LootTableLoadEvent;)V
                2: NORMAL
                3: net.minecraftforge.eventbus.EventBus$$Lambda$1576/0x0000000801732938@231afcb2
                4: ASM: class dan200.computercraft.shared.ForgeCommonHooks lootLoad(Lnet/minecraftforge/event/LootTableLoadEvent;)V
                5: net.minecraftforge.eventbus.EventBus$$Lambda$1576/0x0000000801732938@1dfe15b8
                6: net.minecraftforge.eventbus.EventBus$$Lambda$1576/0x0000000801732938@48e3e8d5
                7: net.minecraftforge.eventbus.EventBus$$Lambda$1576/0x0000000801732938@464c2fb4
                8: ASM: class vip.fubuki.playersync.sync.VanillaSync onUpdate(Lnet/minecraftforge/eventbus/api/Event;)V
java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''playersync'' at line 1
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1098)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1046)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1371)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1031)
        at TRANSFORMER/playersync@1.20.1-1.3.3/vip.fubuki.playersync.util.JDBCsetUp.executeUpdate(JDBCsetUp.java:31)
        at TRANSFORMER/playersync@1.20.1-1.3.3/vip.fubuki.playersync.sync.VanillaSync.onUpdate(VanillaSync.java:287)
        at TRANSFORMER/playersync@1.20.1-1.3.3/vip.fubuki.playersync.sync.__VanillaSync_onUpdate_Event.invoke(.dynamic)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
        at TRANSFORMER/forge@47.2.0/net.minecraftforge.event.ForgeEventFactory.loadLootTable(ForgeEventFactory.java:691)
        at TRANSFORMER/forge@47.2.0/net.minecraftforge.common.ForgeHooks.loadLootTable(ForgeHooks.java:884)
        at TRANSFORMER/forge@47.2.0/net.minecraftforge.common.ForgeHooks.lambda$getLootTableDeserializer$3(ForgeHooks.java:848)
        at TRANSFORMER/minecraft@1.20.1/net.minecraft.world.level.storage.loot.LootDataType.deserialize(LootDataType.java:45)
        at TRANSFORMER/minecraft@1.20.1/net.minecraft.world.level.storage.loot.LootDataManager.lambda$scheduleElementParse$4(LootDataManager.java:56)
        at java.base/java.util.HashMap.forEach(HashMap.java:1429)
        at TRANSFORMER/minecraft@1.20.1/net.minecraft.world.level.storage.loot.LootDataManager.m_278660_(LootDataManager.java:55)
        at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
        at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1311)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1840)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1806)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

[15:25:35] [Worker-Main-7/ERROR] [ne.mi.co.ForgeHooks/]: Couldn't parse element loot_tables:mekanismadditions:blocks/green_slick_plastic
java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''playersync'' at line 1
        at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) ~[MySQL-561280-3685108.jar%23748!/:?] {re:classloading}
        at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[MySQL-561280-3685108.jar%23748!/:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953) ~[MySQL-561280-3685108.jar%23748!/:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1098) ~[MySQL-561280-3685108.jar%23748!/:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1046) ~[MySQL-561280-3685108.jar%23748!/:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1371) ~[MySQL-561280-3685108.jar%23748!/:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1031) ~[MySQL-561280-3685108.jar%23748!/:?] {re:classloading}
        at vip.fubuki.playersync.util.JDBCsetUp.executeUpdate(JDBCsetUp.java:31) ~[playersync-1.20.1-1.3.3-all.jar%23533!/:1.20.1-1.3.3] {re:classloading}
        at vip.fubuki.playersync.sync.VanillaSync.onUpdate(VanillaSync.java:287) ~[playersync-1.20.1-1.3.3-all.jar%23533!/:1.20.1-1.3.3] {re:classloading}
        at vip.fubuki.playersync.sync.__VanillaSync_onUpdate_Event.invoke(.dynamic) ~[playersync-1.20.1-1.3.3-all.jar%23533!/:1.20.1-1.3.3] {re:classloading,pl:eventbus:B}
        at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2352!/:?] {}
        at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2352!/:?] {}
        at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2352!/:?] {}
        at net.minecraftforge.event.ForgeEventFactory.loadLootTable(ForgeEventFactory.java:691) ~[forge-1.20.1-47.2.0-universal.jar%23602!/:?] {re:mixin,re:classloading,pl:mixin:A}
        at net.minecraftforge.common.ForgeHooks.loadLootTable(ForgeHooks.java:884) ~[forge-1.20.1-47.2.0-universal.jar%23602!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.hammerlib.json:ForgeHooksMixin,pl:mixin:A}
        at net.minecraftforge.common.ForgeHooks.lambda$getLootTableDeserializer$3(ForgeHooks.java:848) ~[forge-1.20.1-47.2.0-universal.jar%23602!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.hammerlib.json:ForgeHooksMixin,pl:mixin:A}
        at net.minecraft.world.level.storage.loot.LootDataType.deserialize(LootDataType.java:45) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:mixin,re:classloading}
        at net.minecraft.world.level.storage.loot.LootDataManager.lambda$scheduleElementParse$4(LootDataManager.java:56) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:mixin,re:classloading,pl:mixin:APP:kubejs-common.mixins.json:LootTablesMixin,pl:mixin:APP:puzzleslib.forge.mixins.json:LootDataManagerForgeMixin,pl:mixin:APP:railways.mixins.json:MixinLootDataManager,pl:mixin:APP:architectury.mixins.json:MixinLootDataManager,pl:mixin:APP:probejs.common.mixins.json:LootTableMixin,pl:mixin:A}
        at java.util.HashMap.forEach(HashMap.java:1429) ~[?:?] {re:mixin}
        at net.minecraft.world.level.storage.loot.LootDataManager.m_278660_(LootDataManager.java:55) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:mixin,re:classloading,pl:mixin:APP:kubejs-common.mixins.json:LootTablesMixin,pl:mixin:APP:puzzleslib.forge.mixins.json:LootDataManagerForgeMixin,pl:mixin:APP:railways.mixins.json:MixinLootDataManager,pl:mixin:APP:architectury.mixins.json:MixinLootDataManager,pl:mixin:APP:probejs.common.mixins.json:LootTableMixin,pl:mixin:A}
        at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}
        at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {}
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?] {}
        at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1311) ~[?:?] {}
        at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1840) ~[?:?] {re:mixin,re:computing_frames}
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1806) ~[?:?] {re:mixin,re:computing_frames}
        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) ~[?:?] {re:mixin}
[15:25:35] [Worker-Main-7/ERROR] [ne.mi.co.ForgeHooks/]: Couldn't parse element loot_tables:yuushya:blocks/showblock
com.google.gson.JsonSyntaxException: Expected name to be an item, was unknown string 'yuushya:showblock'
        at net.minecraft.util.GsonHelper.m_13866_(GsonHelper.java:145) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading,re:mixin}
        at java.util.Optional.orElseThrow(Optional.java:403) ~[?:?] {re:mixin}
        at net.minecraft.util.GsonHelper.m_13874_(GsonHelper.java:145) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading,re:mixin}
        at net.minecraft.util.GsonHelper.m_13909_(GsonHelper.java:153) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading,re:mixin}
        at net.minecraft.world.level.storage.loot.entries.LootItem$Serializer.m_7267_(LootItem.java:55) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at net.minecraft.world.level.storage.loot.entries.LootItem$Serializer.m_7267_(LootItem.java:40) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer$Serializer.m_5921_(LootPoolSingletonContainer.java:151) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer$Serializer.m_5921_(LootPoolSingletonContainer.java:129) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer$Serializer.m_7561_(LootPoolEntryContainer.java:86) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer$Serializer.m_7561_(LootPoolEntryContainer.java:74) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at net.minecraft.world.level.storage.loot.GsonAdapterFactory$JsonAdapter.deserialize(GsonAdapterFactory.java:102) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:76) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.internal.bind.ArrayTypeAdapter.read(ArrayTypeAdapter.java:72) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.Gson.fromJson(Gson.java:1214) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.Gson.fromJson(Gson.java:1319) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.Gson.fromJson(Gson.java:1290) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.internal.bind.TreeTypeAdapter$GsonContextImpl.deserialize(TreeTypeAdapter.java:179) ~[gson-2.10.jar%2372!/:?] {}
        at net.minecraft.util.GsonHelper.m_13808_(GsonHelper.java:463) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading,re:mixin}
        at net.minecraft.util.GsonHelper.m_13836_(GsonHelper.java:471) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading,re:mixin}
        at net.minecraft.world.level.storage.loot.LootPool$Serializer.deserialize(LootPool.java:192) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at net.minecraft.world.level.storage.loot.LootPool$Serializer.deserialize(LootPool.java:189) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:76) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.internal.bind.ArrayTypeAdapter.read(ArrayTypeAdapter.java:72) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.Gson.fromJson(Gson.java:1214) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.Gson.fromJson(Gson.java:1319) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.Gson.fromJson(Gson.java:1290) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.internal.bind.TreeTypeAdapter$GsonContextImpl.deserialize(TreeTypeAdapter.java:179) ~[gson-2.10.jar%2372!/:?] {}
        at net.minecraft.util.GsonHelper.m_13808_(GsonHelper.java:463) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading,re:mixin}
        at net.minecraft.util.GsonHelper.m_13845_(GsonHelper.java:481) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading,re:mixin}
        at net.minecraft.world.level.storage.loot.LootTable$Serializer.deserialize(LootTable.java:294) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at net.minecraft.world.level.storage.loot.LootTable$Serializer.deserialize(LootTable.java:291) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:76) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.Gson.fromJson(Gson.java:1214) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.Gson.fromJson(Gson.java:1319) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.Gson.fromJson(Gson.java:1261) ~[gson-2.10.jar%2372!/:?] {}
        at net.minecraftforge.common.ForgeHooks.loadLootTable(ForgeHooks.java:871) ~[forge-1.20.1-47.2.0-universal.jar%23602!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.hammerlib.json:ForgeHooksMixin,pl:mixin:A}
        at net.minecraftforge.common.ForgeHooks.lambda$getLootTableDeserializer$3(ForgeHooks.java:848) ~[forge-1.20.1-47.2.0-universal.jar%23602!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.hammerlib.json:ForgeHooksMixin,pl:mixin:A}
        at net.minecraft.world.level.storage.loot.LootDataType.deserialize(LootDataType.java:45) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:mixin,re:classloading}
        at net.minecraft.world.level.storage.loot.LootDataManager.lambda$scheduleElementParse$4(LootDataManager.java:56) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:mixin,re:classloading,pl:mixin:APP:kubejs-common.mixins.json:LootTablesMixin,pl:mixin:APP:puzzleslib.forge.mixins.json:LootDataManagerForgeMixin,pl:mixin:APP:railways.mixins.json:MixinLootDataManager,pl:mixin:APP:architectury.mixins.json:MixinLootDataManager,pl:mixin:APP:probejs.common.mixins.json:LootTableMixin,pl:mixin:A}
        at java.util.HashMap.forEach(HashMap.java:1429) ~[?:?] {re:mixin}
        at net.minecraft.world.level.storage.loot.LootDataManager.m_278660_(LootDataManager.java:55) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:mixin,re:classloading,pl:mixin:APP:kubejs-common.mixins.json:LootTablesMixin,pl:mixin:APP:puzzleslib.forge.mixins.json:LootDataManagerForgeMixin,pl:mixin:APP:railways.mixins.json:MixinLootDataManager,pl:mixin:APP:architectury.mixins.json:MixinLootDataManager,pl:mixin:APP:probejs.common.mixins.json:LootTableMixin,pl:mixin:A}
        at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}
        at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {}
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?] {}
        at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1311) ~[?:?] {}
        at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1840) ~[?:?] {re:mixin,re:computing_frames}
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1806) ~[?:?] {re:mixin,re:computing_frames}
        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) ~[?:?] {re:mixin}
mlus-asuka commented 3 months ago

server crashed

[15:25:35] [Worker-Main-7/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''playersync'' at line 1
        Index: 8
        Listeners:
                0: HIGH
                1: ASM: class dev.architectury.event.forge.EventHandlerImplCommon event(Lnet/minecraftforge/event/LootTableLoadEvent;)V
                2: NORMAL
                3: net.minecraftforge.eventbus.EventBus$$Lambda$1576/0x0000000801732938@231afcb2
                4: ASM: class dan200.computercraft.shared.ForgeCommonHooks lootLoad(Lnet/minecraftforge/event/LootTableLoadEvent;)V
                5: net.minecraftforge.eventbus.EventBus$$Lambda$1576/0x0000000801732938@1dfe15b8
                6: net.minecraftforge.eventbus.EventBus$$Lambda$1576/0x0000000801732938@48e3e8d5
                7: net.minecraftforge.eventbus.EventBus$$Lambda$1576/0x0000000801732938@464c2fb4
                8: ASM: class vip.fubuki.playersync.sync.VanillaSync onUpdate(Lnet/minecraftforge/eventbus/api/Event;)V
java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''playersync'' at line 1
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1098)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1046)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1371)
        at TRANSFORMER/mysql_jdbc@8.0.28+20220312/com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1031)
        at TRANSFORMER/playersync@1.20.1-1.3.3/vip.fubuki.playersync.util.JDBCsetUp.executeUpdate(JDBCsetUp.java:31)
        at TRANSFORMER/playersync@1.20.1-1.3.3/vip.fubuki.playersync.sync.VanillaSync.onUpdate(VanillaSync.java:287)
        at TRANSFORMER/playersync@1.20.1-1.3.3/vip.fubuki.playersync.sync.__VanillaSync_onUpdate_Event.invoke(.dynamic)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
        at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
        at TRANSFORMER/forge@47.2.0/net.minecraftforge.event.ForgeEventFactory.loadLootTable(ForgeEventFactory.java:691)
        at TRANSFORMER/forge@47.2.0/net.minecraftforge.common.ForgeHooks.loadLootTable(ForgeHooks.java:884)
        at TRANSFORMER/forge@47.2.0/net.minecraftforge.common.ForgeHooks.lambda$getLootTableDeserializer$3(ForgeHooks.java:848)
        at TRANSFORMER/minecraft@1.20.1/net.minecraft.world.level.storage.loot.LootDataType.deserialize(LootDataType.java:45)
        at TRANSFORMER/minecraft@1.20.1/net.minecraft.world.level.storage.loot.LootDataManager.lambda$scheduleElementParse$4(LootDataManager.java:56)
        at java.base/java.util.HashMap.forEach(HashMap.java:1429)
        at TRANSFORMER/minecraft@1.20.1/net.minecraft.world.level.storage.loot.LootDataManager.m_278660_(LootDataManager.java:55)
        at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
        at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1311)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1840)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1806)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

[15:25:35] [Worker-Main-7/ERROR] [ne.mi.co.ForgeHooks/]: Couldn't parse element loot_tables:mekanismadditions:blocks/green_slick_plastic
java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''playersync'' at line 1
        at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120) ~[MySQL-561280-3685108.jar%23748!/:?] {re:classloading}
        at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[MySQL-561280-3685108.jar%23748!/:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953) ~[MySQL-561280-3685108.jar%23748!/:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1098) ~[MySQL-561280-3685108.jar%23748!/:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1046) ~[MySQL-561280-3685108.jar%23748!/:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1371) ~[MySQL-561280-3685108.jar%23748!/:?] {re:classloading}
        at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1031) ~[MySQL-561280-3685108.jar%23748!/:?] {re:classloading}
        at vip.fubuki.playersync.util.JDBCsetUp.executeUpdate(JDBCsetUp.java:31) ~[playersync-1.20.1-1.3.3-all.jar%23533!/:1.20.1-1.3.3] {re:classloading}
        at vip.fubuki.playersync.sync.VanillaSync.onUpdate(VanillaSync.java:287) ~[playersync-1.20.1-1.3.3-all.jar%23533!/:1.20.1-1.3.3] {re:classloading}
        at vip.fubuki.playersync.sync.__VanillaSync_onUpdate_Event.invoke(.dynamic) ~[playersync-1.20.1-1.3.3-all.jar%23533!/:1.20.1-1.3.3] {re:classloading,pl:eventbus:B}
        at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2352!/:?] {}
        at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2352!/:?] {}
        at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2352!/:?] {}
        at net.minecraftforge.event.ForgeEventFactory.loadLootTable(ForgeEventFactory.java:691) ~[forge-1.20.1-47.2.0-universal.jar%23602!/:?] {re:mixin,re:classloading,pl:mixin:A}
        at net.minecraftforge.common.ForgeHooks.loadLootTable(ForgeHooks.java:884) ~[forge-1.20.1-47.2.0-universal.jar%23602!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.hammerlib.json:ForgeHooksMixin,pl:mixin:A}
        at net.minecraftforge.common.ForgeHooks.lambda$getLootTableDeserializer$3(ForgeHooks.java:848) ~[forge-1.20.1-47.2.0-universal.jar%23602!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.hammerlib.json:ForgeHooksMixin,pl:mixin:A}
        at net.minecraft.world.level.storage.loot.LootDataType.deserialize(LootDataType.java:45) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:mixin,re:classloading}
        at net.minecraft.world.level.storage.loot.LootDataManager.lambda$scheduleElementParse$4(LootDataManager.java:56) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:mixin,re:classloading,pl:mixin:APP:kubejs-common.mixins.json:LootTablesMixin,pl:mixin:APP:puzzleslib.forge.mixins.json:LootDataManagerForgeMixin,pl:mixin:APP:railways.mixins.json:MixinLootDataManager,pl:mixin:APP:architectury.mixins.json:MixinLootDataManager,pl:mixin:APP:probejs.common.mixins.json:LootTableMixin,pl:mixin:A}
        at java.util.HashMap.forEach(HashMap.java:1429) ~[?:?] {re:mixin}
        at net.minecraft.world.level.storage.loot.LootDataManager.m_278660_(LootDataManager.java:55) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:mixin,re:classloading,pl:mixin:APP:kubejs-common.mixins.json:LootTablesMixin,pl:mixin:APP:puzzleslib.forge.mixins.json:LootDataManagerForgeMixin,pl:mixin:APP:railways.mixins.json:MixinLootDataManager,pl:mixin:APP:architectury.mixins.json:MixinLootDataManager,pl:mixin:APP:probejs.common.mixins.json:LootTableMixin,pl:mixin:A}
        at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}
        at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {}
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?] {}
        at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1311) ~[?:?] {}
        at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1840) ~[?:?] {re:mixin,re:computing_frames}
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1806) ~[?:?] {re:mixin,re:computing_frames}
        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) ~[?:?] {re:mixin}
[15:25:35] [Worker-Main-7/ERROR] [ne.mi.co.ForgeHooks/]: Couldn't parse element loot_tables:yuushya:blocks/showblock
com.google.gson.JsonSyntaxException: Expected name to be an item, was unknown string 'yuushya:showblock'
        at net.minecraft.util.GsonHelper.m_13866_(GsonHelper.java:145) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading,re:mixin}
        at java.util.Optional.orElseThrow(Optional.java:403) ~[?:?] {re:mixin}
        at net.minecraft.util.GsonHelper.m_13874_(GsonHelper.java:145) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading,re:mixin}
        at net.minecraft.util.GsonHelper.m_13909_(GsonHelper.java:153) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading,re:mixin}
        at net.minecraft.world.level.storage.loot.entries.LootItem$Serializer.m_7267_(LootItem.java:55) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at net.minecraft.world.level.storage.loot.entries.LootItem$Serializer.m_7267_(LootItem.java:40) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer$Serializer.m_5921_(LootPoolSingletonContainer.java:151) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer$Serializer.m_5921_(LootPoolSingletonContainer.java:129) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer$Serializer.m_7561_(LootPoolEntryContainer.java:86) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer$Serializer.m_7561_(LootPoolEntryContainer.java:74) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at net.minecraft.world.level.storage.loot.GsonAdapterFactory$JsonAdapter.deserialize(GsonAdapterFactory.java:102) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:76) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.internal.bind.ArrayTypeAdapter.read(ArrayTypeAdapter.java:72) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.Gson.fromJson(Gson.java:1214) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.Gson.fromJson(Gson.java:1319) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.Gson.fromJson(Gson.java:1290) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.internal.bind.TreeTypeAdapter$GsonContextImpl.deserialize(TreeTypeAdapter.java:179) ~[gson-2.10.jar%2372!/:?] {}
        at net.minecraft.util.GsonHelper.m_13808_(GsonHelper.java:463) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading,re:mixin}
        at net.minecraft.util.GsonHelper.m_13836_(GsonHelper.java:471) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading,re:mixin}
        at net.minecraft.world.level.storage.loot.LootPool$Serializer.deserialize(LootPool.java:192) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at net.minecraft.world.level.storage.loot.LootPool$Serializer.deserialize(LootPool.java:189) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:76) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:40) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.internal.bind.ArrayTypeAdapter.read(ArrayTypeAdapter.java:72) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.Gson.fromJson(Gson.java:1214) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.Gson.fromJson(Gson.java:1319) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.Gson.fromJson(Gson.java:1290) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.internal.bind.TreeTypeAdapter$GsonContextImpl.deserialize(TreeTypeAdapter.java:179) ~[gson-2.10.jar%2372!/:?] {}
        at net.minecraft.util.GsonHelper.m_13808_(GsonHelper.java:463) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading,re:mixin}
        at net.minecraft.util.GsonHelper.m_13845_(GsonHelper.java:481) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading,re:mixin}
        at net.minecraft.world.level.storage.loot.LootTable$Serializer.deserialize(LootTable.java:294) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at net.minecraft.world.level.storage.loot.LootTable$Serializer.deserialize(LootTable.java:291) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:classloading}
        at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:76) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.Gson.fromJson(Gson.java:1214) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.Gson.fromJson(Gson.java:1319) ~[gson-2.10.jar%2372!/:?] {}
        at com.google.gson.Gson.fromJson(Gson.java:1261) ~[gson-2.10.jar%2372!/:?] {}
        at net.minecraftforge.common.ForgeHooks.loadLootTable(ForgeHooks.java:871) ~[forge-1.20.1-47.2.0-universal.jar%23602!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.hammerlib.json:ForgeHooksMixin,pl:mixin:A}
        at net.minecraftforge.common.ForgeHooks.lambda$getLootTableDeserializer$3(ForgeHooks.java:848) ~[forge-1.20.1-47.2.0-universal.jar%23602!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.hammerlib.json:ForgeHooksMixin,pl:mixin:A}
        at net.minecraft.world.level.storage.loot.LootDataType.deserialize(LootDataType.java:45) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:mixin,re:classloading}
        at net.minecraft.world.level.storage.loot.LootDataManager.lambda$scheduleElementParse$4(LootDataManager.java:56) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:mixin,re:classloading,pl:mixin:APP:kubejs-common.mixins.json:LootTablesMixin,pl:mixin:APP:puzzleslib.forge.mixins.json:LootDataManagerForgeMixin,pl:mixin:APP:railways.mixins.json:MixinLootDataManager,pl:mixin:APP:architectury.mixins.json:MixinLootDataManager,pl:mixin:APP:probejs.common.mixins.json:LootTableMixin,pl:mixin:A}
        at java.util.HashMap.forEach(HashMap.java:1429) ~[?:?] {re:mixin}
        at net.minecraft.world.level.storage.loot.LootDataManager.m_278660_(LootDataManager.java:55) ~[server-1.20.1-20230612.114412-srg.jar%23597!/:?] {re:mixin,re:classloading,pl:mixin:APP:kubejs-common.mixins.json:LootTablesMixin,pl:mixin:APP:puzzleslib.forge.mixins.json:LootDataManagerForgeMixin,pl:mixin:APP:railways.mixins.json:MixinLootDataManager,pl:mixin:APP:architectury.mixins.json:MixinLootDataManager,pl:mixin:APP:probejs.common.mixins.json:LootTableMixin,pl:mixin:A}
        at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) ~[?:?] {}
        at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) ~[?:?] {}
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?] {}
        at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1311) ~[?:?] {}
        at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1840) ~[?:?] {re:mixin,re:computing_frames}
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1806) ~[?:?] {re:mixin,re:computing_frames}
        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177) ~[?:?] {re:mixin}�

remove excessive '

x051130x commented 3 months ago

deleted configuration file and generated a new one still crashes

#General settings
[general]
    #The host of the database
    host = "localhost"
    #database port
    #Range: 0 ~ 65535
    db_port = 3306
    #whether use SSL
    use_ssl = false
    #username
    user_name = "playerdata"
    #password
    password = "playerdata"
    #database name
    db_name = "playersync"
    #the server id should be unique
    Server_id = 1439955226
    #The worlds that will be synchronized.If running in server it is supposed to have only one
    sync_world = []
    #Whether synchronize chat
    sync_chat = true
    #Whether recieve messages from other servers as host
    IsChatServer = false
    ChatServerIP = "127.0.0.1"
    #Range: 0 ~ 65535
    ChatServerPort = 7900

Which part should I modify

mlus-asuka commented 3 months ago

deleted configuration file and generated a new one still crashes

#General settings
[general]
  #The host of the database
  host = "localhost"
  #database port
  #Range: 0 ~ 65535
  db_port = 3306
  #whether use SSL
  use_ssl = false
  #username
  user_name = "playerdata"
  #password
  password = "playerdata"
  #database name
  db_name = "playersync"
  #the server id should be unique
  Server_id = 1439955226
  #The worlds that will be synchronized.If running in server it is supposed to have only one
  sync_world = []
  #Whether synchronize chat
  sync_chat = true
  #Whether recieve messages from other servers as host
  IsChatServer = false
  ChatServerIP = "127.0.0.1"
  #Range: 0 ~ 65535
  ChatServerPort = 7900

Which part should I modify

https://github.com/mlus-asuka/PlayerSync/actions/runs/10235273916

x051130x commented 3 months ago

works well except causing lags https://spark.lucko.me/a5Wp6jl5Ur 这个卡顿只在中途加上 playersync 的服务器上出现了 另一个新的服务端上没有出现卡顿 服务器启动过程中没有注意到相关的报错 配置文件如上,没有修改

mlus-asuka commented 3 months ago

works well except causing lags https://spark.lucko.me/a5Wp6jl5Ur 这个卡顿只在中途加上 playersync 的服务器上出现了 另一个新的服务端上没有出现卡顿 服务器启动过程中没有注意到相关的报错 配置文件如上,没有修改

https://github.com/mlus-asuka/PlayerSync/actions/runs/10238368607 订阅了事件父类导致服务器信息更新频率异常。同时把原定的1分钟更新一次改成了1分半一次。

x051130x commented 3 months ago

可以正常工作了
辛苦了orz