YatopiaMC / Yatopia

The Most Powerful and Feature Rich Minecraft Server Software!
https://yatopiamc.org/
464 stars 78 forks source link

Strange characters in log file #293

Closed andris155 closed 3 years ago

andris155 commented 3 years ago

Expected behavior

Strange characters in log file. I already use the -Dterminal.jline=false -Dterminal.ansi=true flags, but this flags maybe not work on Yatopia. hex-color-support-in-console: true ``` [04:01:47] [Server thread/INFO]: [GPFlags] 1.13+ Version Loaded [04:01:47] [Server thread/INFO]: [GPFlags] Finished loading configuration. [04:01:47] [Server thread/INFO]: [GPFlags] Finished loading data. [04:01:47] [Server thread/INFO]: [GPFlags] Successfully loaded in 0.08 seconds [09:40:04] [Server thread/INFO]: marcika1290 issued server command: /back [09:40:09] [Server thread/INFO]: [Old]Vegita97: Falusi emberek. [09:40:20] [Server thread/INFO]: [Moderátor]Sanszi: Egyszer beszorult a fejem 2 kerítésléc közé mert beesett a labda a szomszédhoz. [09:40:24] [Server thread/INFO]: [Moderátor]Sanszi: Én meg benéztem. [09:40:25] [Server thread/INFO]: [Moderátor]Sanszi: XD [09:40:26] [Server thread/INFO]: [Old]Vegita97: Amikor feloltottak az utcai kozvilagitast gyerkek akkor hazafele. [09:40:33] [Server thread/INFO]: [Old]Vegita97: XD ``` **Observed behavior**

No strange characters in log file.

Steps to reproduce (if known)

Run server on docker container Linux.

Installed plugins

Version

[22:22:06 INFO]: This server is running Yatopia version git-Yatopia-"37e61be" (MC: 1.16.4) (Implementing API version 1.16.4-R0.1-SNAPSHOT)

Timings

Additional context

MrIvanPlays commented 3 years ago

the reason is hex color support. I'm not gonna bother solving it, we port that patch from purpur. if you don't want these characters disable it.

andris155 commented 3 years ago

The GPFlags rows don't use hex colors.

MrIvanPlays commented 3 years ago

ok i give up on this. i tried with a custom TCA fork. all formatting is just broken.... im not gonna bother with that anymore

ishland commented 3 years ago

Does this still happens?

andris155 commented 3 years ago

Yes Screenshot_20210201-181858

Titaniumtown commented 3 years ago

Yea, I'm going to close this issue because hex colors is a config in purpur.yml and this can simply be disabled in @andris155's case.

MrIvanPlays commented 3 years ago

u stupid

duplexsystem commented 3 years ago

👀

Disguys commented 3 years ago

PogChamp

krolik-exe commented 3 years ago

Check with pr/upstream branch, if it still happens, because paper implemented Adventure , and it should now work correctly, thre are still some issues but they only happen in the console but not in logs and not in the in-game chat, from what i know