Animated-TabList

Animated-TabList

65.2k Downloads

Essentials nickname isn't hex colored in TabList

Kanin opened this issue ยท 39 comments

commented

Type of bug

Compatibility issue

TabList version

[01:07:41 INFO]: TabList version 5.5.5
[01:07:41 INFO]: An ultimate animated tablist.
[01:07:41 INFO]: Author: montlikadani

Software version

This server is running Purpur version git-Purpur-1308 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: d4afd4e on ver/1.17.1)

Relevant plugins

[01:09:12 INFO]: Plugins (23): BetterSleeping4, BuycraftX, DeluxeChat, DeluxeChatHex, DeluxeTags*, DiscordSRV, EpicRename, Essentials, FastAsyncWorldEdit (WorldEdit), GSit, JustOneMore*, LuckPerms, Maintenance, mcMMO, Orebfuscator, PlaceholderAPI, PlayTime*, ProtocolLib, RightClickHarvest, ServerListPlus, TabList, Towny, TownyChat

Console error (if applicable)

No response

TabList configuration files

https://paste.gg/p/anonymous/f7100b24a0f3448b81db0a0849c5cbd0

Bug description

Nicknames with hex codes in them via Essentials do not appear colored in the tablist.

image
image

commented

Please install the newest build from Actions page, select the first one and find Artifacts.

commented

Please install the newest build from Actions page, select the first one and find Artifacts.

image

commented

Any updates?

commented

f0bd61d

This commit will fixes this issue, install the newest build from Actions page, you can close this issue if resolved.

commented

f0bd61d

This commit will fixes this issue, install the newest build from Actions page, you can close this issue if resolved.

Still having the issue, exact same result as the screenshot above.

commented

Still having the issue, exact same result as the screenshot above.

I can't reproduce

image

You probably installed the wrong file.

commented

Okay it appears to be an issue with the hex code being prefixed by & (&#FA66077) as that's what's in the documentation for using hex codes.

Where in the documentation?

commented

Still having the issue, exact same result as the screenshot above.

I can't reproduce

image

You probably installed the wrong file.

Okay it appears to be an issue with the hex code being prefixed by & (&#FA6607) as that's what's in the documentation for using hex codes. Any chance this could be fixed? For what it's worth it does work in tablist when removing the &, but it does not in chat.

commented

Well, I used essentials's nickname too, I gave this text with the starting hex color &#FA6607Name and worked.

commented

Okay it appears to be an issue with the hex code being prefixed by & (&#FA66077) as that's what's in the documentation for using hex codes.

Where in the documentation?

https://essentialsx.net/wiki/Color-Permissions.html rgb | &#RRGGBB

commented

image
image

commented

It seems to be ignoring #FA660 and just reading &7

commented

It depends from the refresh-interval in config

It actually appears some members join and instantly get a group, while others take a while. image as you can see here JCoDog joined after Mayurr and got the prefix, but Mayurr did not. Yeah of course one moment.

commented

Also, any idea why it takes quite a while to add peoples luckperms prefix to their name in tab after they join? A few minutes it seems.
image

commented

It depends from the refresh-interval in config

commented

Can you show your groups file from TabList?

commented

image

Remove from the admin first time

Okay removing it seemed to fix the hex code color, but broke the ordering?
image

Or have the 2 above me just not updated yet?

commented
# Format of the displayed name: prefix - tabname - suffix
# This will be applied to all players without any other group assigned
globalGroup:
  prefix: "%luckperms_prefix%&r "
  tabname: "%essentials_nickname%"
  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: ""
  #   permission: tablist.staff
  admin:
    prefix: "%luckperms_prefix%&r "
    tabname: "%essentials_nickname%"
    suffix: ""
    permission: tablist.admin
    sort-priority: 4
  mod:
    prefix: "%luckperms_prefix%&r "
    tabname: "%essentials_nickname%"
    suffix: ""
    permission: tablist.mod
    sort-priority: 3
  builder:
    prefix: "%luckperms_prefix%&r "
    tabname: "%essentials_nickname%"
    suffix: ""
    permission: tablist.builder
    sort-priority: 2
  default:
    prefix: "%luckperms_prefix%&r "
    tabname: "%essentials_nickname%"
    suffix: ""
    permission: tablist.default
    sort-priority: 1
commented

Remove the &r reset color after the luckperms prefix placeholder

commented

It actually appears some members join and instantly get a group, while others take a while.

If you have increased refresh interval it will takes more time to retrieve the group. You need to decrease to default 4 or less

commented

Remove the &r reset color after the luckperms prefix placeholder

image

commented

image

Remove from the admin first time

commented

It appears they go below me once they get updated, but it sure is taking a while to update them and it's quite random. Any idea what could be the cause of that?

commented

image people left and I'm now under a noob lol.

commented

Also going AFK seems to break the hex codeu

image

commented

Tested multiple times and now seems to be fixed the coloring, not sure the ordering is fixed with the newest build from Actions, but you can do a try again

commented

okay so it appears the original issue is fixed, however I've noticed a few more. The first time going to vanish when logging in the tablist loses the header and footer:
image

also the grouping does still appear to be very delayed/messed up, when someone goes afk it seems to randomize, as well as on join (delayed to actually sort)

commented

Probably you have enabled hide-tab-when-player-vanished in tablist config

commented

Tested multiple times and now seems to be fixed the coloring, not sure the ordering is fixed with the newest build from Actions, but you can do a try again

When trying to download that from Actions github throws a This page is taking too long to load. unicorn. Any ideas?

commented

Decided to work, I'll give it a shot

commented

Probably you have enabled hide-tab-when-player-vanished in tablist config

Ahh yeah I guess I misunderstood that option, I thought it meant to hide the name in tab. Well I guess there's a bug with that, it only hides on the first vanish.

commented

Any idea on the major delay/misordering?

commented

Well I guess there's a bug with that, it only hides on the first vanish.

It depends from the vanish plugin, if you have essentials installed and a player is vanished the tablist header/footer will be hidden for them.

commented

Well I guess there's a bug with that, it only hides on the first vanish.

It depends from the vanish plugin, if you have essentials installed and a player is vanished the tablist header/footer will be hidden for them.

Fair, I use SuperVanish so that may be the issue. It hides the header/footer on first vanish but not after.

commented

If player vanished the tab is hidden, if the player is unvanished the tab will be visible again.

commented

If player vanished the tab is hidden, if the player is unvanished the tab will be visible again.

Right, but then if the player vanishes again the tab is not hidden

commented

Right, but then if the player vanishes again the tab is not hidden

Fixed in the newest build

commented

Any idea on the major delay/misordering?

Well, you could try to disable prefer-primary-vault-group in config and decrease the refresh-interval at least to 2, I don't have this issue anyway

commented

I haven't had the server open to test, I'll close this as the initial issue is resolved and once I can test it out a bit more, I'll open a new detailed issue if it's a persistent bug.