Essential Commands

Essential Commands

108k Downloads

Rules newline output bugged (CR characters rendered as visible in MC)

ItsaGlitch1 opened this issue ยท 2 comments

commented

When displaying the rules.txt file, all lines with another line under it has a bugged character.

To reproduce:

  1. press the enter key on keyboard to go to a new line
  2. save the config, reload it in game
  3. run /rules

rules

Update: When starting the server or running /rules reload, the console outputs "Failed to Parse String as MinecraftText, trying Fabric Placeholder API...

commented

oh, huh. I really would've thought MC would handle this automatically.

I'll fix this in an upcoming release.

Until then, there is a way to resolve this on your end. You want to save the file you're editing with "LF" line endings instead of "CRLF"

This app claims to convert one to the other automagically, could be worth a shot: https://app.execeratics.com/LFandCRLFonline/?l=en (you want CRLF to LF)

commented

Resolved by #206