ForgeEssentials

ForgeEssentials

339k Downloads

[1.12.2] [FEATURE]Global username Color

Petschko opened this issue · 1 comments

commented

Is your feature request related to a problem? Please describe.
Well since the chat is rather hard to read when usernames and the text is purely white, I want to have the usernames all in a unique color.

Describe the solution you'd like
Beeing able to format the Chat as I like via the chat config, for example like this:
S:ChatFormat=%s%s<&e%s&r>:%s%s
But without the color codes beeing ignored.

Describe alternatives you've considered

  • Prefix & Suffix: Sadly this is NOT possible via Prefixes and Suffixes, they are ignored, tried both & and §.
  • chat.cfg: It's not possible to add color codes to the chat.cfg, they are just ignored, tried both & and §.
    • Tried Config:
      • S:ChatFormat=%s%s<&e%s&r>:%s%s -> Name stays white
      • S:ChatFormat=%s%s<§e%s§r>:%s%s -> Name stays white
  • /nick: Having the players choose their own color is nice, but we want a tidy chat and no rainbow chat. (Currently we will be forced to use that since its better than white usernames and text)
  • Command-Block auto-/nick on join: I even tried to auto- /nick the players when they join with a Command-Block, sadly your /nick command ignores @p values, which don't let me add the color code in front of their username.
    • Tried Commands:
      • /doas @p nick &e@p -> Executed Command as Angel_Tigercloud - Nickname changed to @p (its actually yellow though)
      • /nick @p &e@p -> Nickname of @p changed to @p (completely ignores the @p value and just takes it as raw text

Additional context
untitled

The Prefix/Suffix issue exists since a longer time too: #1568

commented

You can format the username itself with the permission node 'fe.chat.playerformat'
e.q. /p group _OPS_ value fe.chat.playerformat &4. However, I will investigate making some improvements to the format.