Animated-TabList

Animated-TabList

65.2k Downloads

Unable to use nicknames with multiple hex codes

zerebos opened this issue ยท 2 comments

commented

Type of bug

Other

TabList version

  [Wed 23:54:49 INFO ] TabList version 5.6.4
  [Wed 23:54:49 INFO ] An ultimate animated tablist
  [Wed 23:54:49 INFO ] Author: montlikadani

Software version

  [Wed 23:55:03 INFO ] Checking version, please wait...
  [Wed 23:55:03 INFO ] This server is running Paper version git-Paper-206 (MC: 1.19.2) (Implementing API version 1.19.2-R0.1-SNAPSHOT) (Git: b9cf1ac)
  You are 1 version(s) behind
  Download the new version at: https://papermc.io/downloads
  Previous version: git-Paper-200 (MC: 1.19.2)

Relevant plugins

[email protected]
[email protected]

Console error (if applicable)

No response

TabList configuration files

config.yml: https://paste.gg/p/anonymous/f71bbf8e434b4a6889758955bfd25ead

groups.yml:

globalGroup:
  prefix: ''
  tabname: ''
  suffix: ''

groups:
  # Vault group name OR player name OR custom group name (custom is assigned via permission)
  exampleGroup:
    prefix: '&a[&cStaff&a]&6 '
    tabname: '%player-displayname%'
    suffix: '&7 <12>'
  
  Default:
    prefix: '&f '
    tabname: '%essentials_nickname%'
    suffix: ''
  
  Admin:
    prefix: " &c[Admin] "
    tabname: '%essentials_nickname%'
    suffix: ""

Bug description

When using multiple hex values in a single nickname (e.g. to create a gradient effect), essentials correctly colors the nickname, however in the TabList, only the first hex color code gets interpreted properly, the rest are treated as just part of the name.

How essentials displays it:
image

In the TabList
image

commented

Can you try this issue if it is the same with the newest build from Actions page?

commented

Ah yep that fixes it, must've been this commit fb3680b

I'll leave it up to you whether you want to close this as resolved or if you want to leave this open until (versioned) release in case others come across this.

Cheers!