Winds-Studio / Leaf

Personal Performance fork, A Minecraft Server Software aim to find balance between performance, vanilla and stability
Other
294 stars 35 forks source link

leaf 1.20.2 lag issue #35

Closed wcdfilll closed 6 months ago

wcdfilll commented 6 months ago

12:52:42 ERROR: net.minecraft.server.MinecraftServer$$Lambda$5346/0x0000000801664380.run(Unknown Source)

12:52:42 ERROR: --- DO NOT REPORT THIS TO PAPER - If you think this is a Leaf bug, please report it at https://github.com/Winds-Studio/Leaf/issues - THIS IS NOT A PAPER BUG OR CRASH ---

12:53:06 ERROR: --- DO NOT REPORT THIS TO PAPER - If you think this is a Leaf bug, please report it at https://github.com/Winds-Studio/Leaf/issues - THIS IS NOT A PAPER BUG OR CRASH - git-Leaf-"972fd89" (MC: 1.20.2) --- 12:53:06 ERROR: The server has not responded for 10 seconds! Creating thread dump

12:53:06 ERROR: Server thread dump (Look for plugins here before reporting to Leaf!):

12:53:07 ERROR: Current Thread: Server thread 12:53:07 ERROR: PID: 49 | Suspended: false | Native: false | State: RUNNABLE

12:53:09 ERROR: net.minecraft.network.protocol.PlayerConnectionUtils$$Lambda$8554/0x00000008020c9da8.run(Unknown Source)

12:53:09 ERROR: net.minecraft.server.MinecraftServer$$Lambda$5346/0x0000000801664380.run(Unknown Source)

12:53:09 ERROR: --- DO NOT REPORT THIS TO PAPER - If you think this is a Leaf bug, please report it at https://github.com/Winds-Studio/Leaf/issues - THIS IS NOT A PAPER BUG OR CRASH ---

Dreeam-qwq commented 6 months ago

It seems like caused by player using hacks to fly with very high speed, (I guess), You can try to adjust packet threshold of packet-limiter in paper-global.yml, or add anti cheat, or provides spark profiler report to prove that this lag caused by Leaf.

In the end, I recommend you to use Leaf 1.20.4