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

Console formatting is broken in Pterodactyl #73

Closed zohfur closed 3 months ago

zohfur commented 3 months ago

image image

All console output just overwrites the same two lines. This only seems to start after plugin remapping completes. I do not have this issue with any other Paper binary or fork, I have only experienced this when running the Leaf 1.21 binary. I am unsure if this behavior happens in any other server host platforms, I tested locally in Powershell and a Linux terminal but did not get this behavior.

image

zohfur commented 3 months ago

https://github.com/Winds-Studio/Leaf/assets/6598846/f58f9dc8-f59b-467b-bf3b-14d2b1afa4e9

T14D3 commented 3 months ago

Add -Dterminal.jline=false -Dterminal.ansi=true to your startup flags, will fix the issue

Dreeam-qwq commented 3 months ago

↑ solution

zohfur commented 3 months ago

Ah yep, I couldn't remember which flag it was. That seems to have fixed an issue, but it's likely still a bug with Leaf. Might want to add a note to the Readme for pterodactyl users or fix the underlying issue. Otherwise feel free to close :)

Dreeam-qwq commented 3 months ago

Fixed in fac22f81bc8c47229c6c4bec023a0097aca457b2

Can you remove -Dterminal.jline=false -Dterminal.ansi=true these two flags and test this new build to see the issue fixed?

zohfur commented 3 months ago

Yep, the new build fixes the issue. It also fixed another issue I was going to post which caused the FAWE plugin to fail remapping, but everything is working great now. Fantastic work.