Support system message formatting?
Hello everyone,
I'm encountering an issue with how certain messages are displayed in chat, and I could use your support.
I'm running a Fabric server on version 1.21.1 and using the Styled Chat mod by Padbox (version 2.6.1 for Minecraft 1.21.1). The mod is currently working fine with LuckPerms prefixes and suffixes.
However, I'm noticing a formatting issue when using certain commands — for example, when I use /tpa, /smg, or /suicide, the messages have a strange layout (see Attachment 1). This formatting does not align with the rest of the styled chat output.
Essential-commands version: 0.35.2 MCversion: 1.21.1
In addition, I have the Essential Commands mod installed (by John-Paul R) and I’m wondering whether these formatting issues might be related to system message formatting. Could this be causing the inconsistent output? And more importantly: is system message formatting currently supported by Styled Chat?
Interestingly, I experienced a similar issue with the Styled Player List mod, which has since been resolved. I’m including the config files for Styled Chat, Styled Player List, and other relevant mods in the attachments.
Thanks in advance for your help and clarification!
This is the correct line in the StyledChat config: "display_name": "%player:name%" You still keep the LuckPerms prefixes in the chat format.
This is also an issue for Mod Garden because we allow users to type emojis in chat, and our Cantilever bridge translates those emojis into their in-game emoji form. Because we use a custom font for this, we need to be able to use <font:'modgarden:emoji'>emoji character here</*>. However, system messages are not able to be formatted, so we cannot show Minecraft players these emojis.
https://ci.lucko.me/job/LuckPermsPlaceholders/12/artifact/fabric-placeholderapi/build/libs/LuckPerms-Fabric-PlaceholderAPI-Hook.jar
🤔
This is also an issue for Mod Garden because we allow users to type emojis in chat, and our Cantilever bridge translates those emojis into their in-game emoji form. Because we use a custom font for this, we need to be able to use
<font:'modgarden:emoji'>emoji character here</*>. However, system messages are not able to be formatted, so we cannot show Minecraft players these emojis.
Or it occurred to me that you might have this problém:
"Invalid JSON syntax in the config file": This is most likely caused by having a command with unescaped double quotes. To fix it: Check what the exception says in the line below. It will indicate exactly where the error is. Escape any double quotes inside the action with backslashes like " -> " "Invalid escape sequence" This is caused because of an improperly escaped escape sequence like \n or \u. To fix it, just add a backslash before the escape sequence backslash, for example \n -> \n or \u -> \\u
This is also an issue for Mod Garden because we allow users to type emojis in chat, and our Cantilever bridge translates those emojis into their in-game emoji form. Because we use a custom font for this, we need to be able to use
<font:'modgarden:emoji'>emoji character here</*>. However, system messages are not able to be formatted, so we cannot show Minecraft players these emojis.Or it occurred to me that you might have this problém:
"Invalid JSON syntax in the config file": This is most likely caused by having a command with unescaped double quotes. To fix it: Check what the exception says in the line below. It will indicate exactly where the error is. Escape any double quotes inside the action with backslashes like " -> " "Invalid escape sequence" This is caused because of an improperly escaped escape sequence like \n or \u. To fix it, just add a backslash before the escape sequence backslash, for example \n -> \n or \u -> \u
Are you using AI to reply to me? I haven't seen that error before, nor did I ever send anything like that. Also, I know how to use JSON and how errors work.