NEZNAMY / TAB

"That" TAB plugin.
Apache License 2.0
903 stars 245 forks source link

[Velocity] Sorting doesnt work #1306

Closed ammodev closed 5 months ago

ammodev commented 5 months ago

Server version

Velocity 1.20.4

TAB version

4.1.4, 4.1.5 doesnt work either

Plugin list

Plugins: commandapi, commandwhitelist, luckperms, forceresourcepacks, oneversionremake, packetevents, premiumvanish, signedvelocity, surf-api-velocity, surf-data-velocity, surf-notify-velocity, surf-proxy-velocity, surf-punish, surf-server-selector-velocity, tab, velocitywhitelist

Describe the bug

The players will randomly get unsorted after a while.

Expected behavior

The players should be sorted

Steps to reproduce

Have many players on your server? It's honestly hard to tell when it breaks.

Additional info

Doesnt work either with no other plugins but tab installed.

https://github.com/NEZNAMY/TAB/issues/986 - you closed our issue earlier saying that velocity is not officially supported. Now that it is, we are trying to get this fixed again.

Checklist

NEZNAMY commented 5 months ago

Do you have bridge installed?

ammodev commented 5 months ago

Yes.

NEZNAMY commented 5 months ago

Your steps to reproduce are insufficient. Does /btab reload fix it? What does /btab debug <player> show for you / unsorted players before and after reload?

ammodev commented 5 months ago

I know my steps are insufficient. Thats why I wrote that we dont really know either when it breaks. It works with less players, but once you get to like 100-200 players it breaks completely.

/btab reload doesnt fix it.

debug information is the same, in sorted state and when it breaks

debug

NEZNAMY commented 5 months ago

You should add at least sorting by player name as well. Sorting only by group and nothing else is attempting to sort multiple palyers into the same slot, which is not supported.

ammodev commented 5 months ago

Does this then end up completely failing the sorting? I will try adding it for the next event. We currently have no users on the server.

NEZNAMY commented 5 months ago

There is a detection of attempts to duplicate team names, which is what the last character is reserved for. However, people have reported issues with it regardless. I'll either need more clear steps or just add player name sorting.

NEZNAMY commented 5 months ago

@ammodev did you add sorting by player name too? Did that fix it?

ammodev commented 5 months ago

It works with 5 players, like it did most of the time. Our next event is on the 24th. I can tell you if it works with many players once the event starts.

ammodev commented 5 months ago

Fixed with adding name sorting