Animated-TabList

Animated-TabList

65.2k Downloads

Problem in showing PREFIX in dev 359

tantrum90 opened this issue ยท 13 comments

commented

Type of bug

Compatibility issue

TabList version

17.06 18:26:32 [Server] INFO TabList version 5.7.5 17.06 18:26:32 [Server] INFO An alternative tablist plugin to replace vanilla empty tab 17.06 18:26:32 [Server] INFO Author: montlikadani. /## I am using #359 latest build

Software version

17.06 18:27:49 [Server] INFO This server is running Paper version 1.20.6-129-master@0513374 (2024-05-31T15:53:34Z) (Implementing API version 1.20.6-R0.1-SNAPSHOT) 17.06 18:27:49 [Server] INFO You are 17 version(s) behind 17.06 18:27:49 [Server] INFO Download the new version at: https://papermc.io/downloads/paper 17.06 18:27:49 [Server] INFO Previous version: git-Paper-286 (MC: 1.20.2)

Relevant plugins

No response

Console error (if applicable)

no consol error

TabList configuration files

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

Bug description

The PREFIX of the groups is not showed:
https://paste.gg/p/anonymous/bba3172460324be7b13c4907067efb11 - groups config.
This was not problem when the server was on 1.20.2 and 1.20.4

image
commented

Is it possible this problem to be connected to EssentialX or LuckPerms plugins, or some other plugin?
Currently I have:
LuckPerms v5.4.134
EssentialsX-2.21.0-dev+93-3a6fdd9
EssentialsXChat-2.21.0-dev+93-3a6fdd9

Using Essentials Chat plugin, the prefixes, groups and player-name colours are showed accurately in chat.

commented

I see prefixes with:
Paper 1.21-9
EssentialsX 2.21.0-dev+93-3a6fdd9
LuckPerms 5.4.134
TabList 5.7.5-b361

I don't use EssentialsXChat

commented

EssentialsChat only modifies player list name once when the user sets someone's nick name through command and TL updates groups (which is player list name basically) every 4 (or the value set in config) milliseconds (server ticks). So it shouldn't be the case

commented

I see prefixes with: Paper 1.21-9

I was seeing prefixes on Paper 1.20.2 and 1.20.4. After updating to 1.20.6-129 there is some problem

commented

I am unable to reproduce this, it works for me.

commented

I updated the Paper to latest 1.20.6 # 147 version, and still have the same problem.
https://paste.gg/p/anonymous/059d7cd1356a4e1bb78154e295a2366d

image
commented

image
Still works for me

commented

While trying different solutions, i find out that if I set prefix per player it is working, but groups are not loaded.

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

image

and I know for sure that groups are set correctly:
Chat:
image

Console:
image

There must be something related to Vault or Luckperms that is preventing to read groups in 1.20.6

commented

I have the same problem

Paper 1.21 Dev9
EssentialsX-2.21.0-dev+93-3a6fdd9.jar
LuckPerms-Bukkit-5.4.134.jar
TabList-bukkit-v5.7.5.jar

Prefix wont show in Tablist.

image

image

commented

@montlikadani Are you willing to share your tablist config? Maybe we do something wrong

This is my config:

https://pastebin.com/1yjwvWYC

And this is my groups.yml

# This global group will be applied to all players
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: '&7'
    tabname: '%player%'
    suffix: ''
  
  Admin:
    prefix: '&7<62>&r %anim:Admin%'
    tabname: '%player%'
    suffix: '&7 <62>'
  
  PlayerName:
    prefix: '&a[MyGroup]&7'
    tabname: '%player%'
    suffix: ''
  owner:
    prefix: '&#00b4fcOWNER '
commented

you can close the issue. I find it out what was the problem:

The order of the groups matters
If a player has more than one group added, such as VIP and moderator, you want the moderator prefix to be visible. To do this, move the moderator at the bottom after the last group, or set a sort-priority value that the plugin will sort.
Or set priority for each group, please refer to this document how priorities are working.

I moved the default group as last, and now everything works great

commented

Oh yeah, I didn't thought about this multiple groups.

commented

Welll... i think this should be easier.
Tip for the owner:
Let add custom groups through luckperms, with prio's higher than the example groups.

Thanks to both however. I fixed my problem as well!

groups:

owner:
  prefix: '&#00b4fcOWNER '
  tabname: '%player%'
  suffix: ''
  sort-priority: 2
default:
  prefix: '&#ffaa00MEMBER'
  tabname: '%player%'
  suffix: ''
  sort-priority: 1