LuckPerms

LuckPerms

41.4k Downloads

small chat-style "bug"

RedstoneFuture opened this issue ยท 3 comments

commented

With the feature:

group-name-rewrite:
moderator: '&2Moderator'

the group-color uverwrite the first character color:

2018-08-21_23 42 04

Maybe the plugin can add a "&r" at the end of add renamed group-name for a better usability. ^^

commented

It's not really easy for me to fix this - the brackets are applied inline, before the format.

Potential options are:

  • Stripping all color from display names when they're formatted
  • Disallowing color codes in display names completely

Neither of those are particularly attractive to me - so I think it's just going to have to stay the way it is.

So yea, this will just be a quirk if you choose to use color codes for the aliased names. Simply appending the reset char doesn't work, as it just makes the following bracket white.

commented

And a "&b" bevore the ")" isn't a solution too? Okay. ^^

commented

No because

the brackets are applied inline, before the format

In other words, when the brackets are added, it's not known that &b will be the color - that's applied later.