NametagEdit

721k Downloads

Username Color Approximation Inaccuracy

accLarson opened this issue ยท 2 comments

commented

Bug Report

Type /ver NametagEdit and post the output.
version 4.5.4

What version of Bukkit/Spigot/PaperSpigot are you using? Type /ver
git-paper-81 (mc:1.18.1)

What plugins are you using? Type /plugins
Plugins (5): LuckPerms, NametagEdit, PlaceholderAPI, ProtocolLib, Vault

Please explain your issue. How do you trigger it?
When using hex color codes within groups.yml The actual username itself will not be colored using the hex color. I believe NameTagEdit is making an attempt to use the closest vanilla minecraft color (&a, &b, &c, etc) for the username itself. I believe that to be a limitation of vanilla minecraft nametag usernames. Assuming the intent is to match the hex color with the closest vanilla color (16 options), the color NameTagEdit is choosing, is far off. for example:

Groups:
  administrator:
    Permission: nte.administrator
    Prefix: '&#f2727eTEST'
    Suffix: '&f'
    SortPriority: 1

#f2727e
nametag

Hex color #f2727e is most certainly closest to vanilla &c and not &e.

Are there any errors in the console? Please use: https://pastebin.com
No

commented

UPDATE: I figured out that when using hex color codes in a nametag, it simply uses the last character of the hex code as a single color code for the name itself.

commented

No response. stale, dead project?