Paper
Paper copied to clipboard
GUI console shows legacy formatting codes
Expected behavior
No formatting codes in the GUI console
Observed/Actual behavior
Legacy formatting codes show up in the GUI console
Steps/models to reproduce
- Run Paper by double-clicking the .jar
- Produce a vanilla message in chat, for example by joining the server.
Plugin and Datapack List
none
Paper version
This server is running Paper version git-Paper-334 (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT) (Git: 8d1de8d) You are running the latest version Previous version: git-Paper-71 (MC: 1.18.1)
Other
Tested on vanilla, they do not show up there.
I cannot replicate this on the latest version. Please re-open this issue if you are capable of reproducing it on latest.
Same issue on build 379.
I also just tried running the server on WSL2. Same result, but instead of a space a � character is displayed.
Disabling/enabling use-rgb-for-named-text-colors
changes nothing.
I don't think this is important at all, the GUI is kinda meh anyways. But its not happening on vanilla so I made an issue.
Ah I see what you mean, yeah I can reproduce this on 1.18.2. I'll reopen this for now, with a low priority. As you already said, GUI is definitely not the highest of priorities here and it appears the GUI is simply not capable of properly rendering these colour codes.
Or to be more specific, the gui in spigots case just filters out any form of ANSI colour coding, however the regex seems broken for hex-ansi codes.