Problem
A prefix plugin that uses LuckPerms group weights to determine tablist order produces an incorrect order when groups use very large weights.
Expected behavior
Players should be ordered consistently by their configured LuckPerms group weights, including large values. A higher weight should take precedence over a lower weight.
Actual behavior
With a group weight of 9999 and another group weight of 1000, the tablist order was incorrect. A player whose group weight was 0 appeared in the expected position.
Reproduction details
- Configure the prefix plugin to use LuckPerms group weights for tablist ordering.
- Assign one group a weight of
9999 and another a weight of 1000.
- Assign players to those groups and inspect the tablist order.
- Observe that the ordering does not follow the configured weights.
Observed workaround
Reducing the group weights to values around 100 made the ordering work as expected.
Acceptance criteria
- Tablist ordering correctly respects LuckPerms group weights across the supported weight range.
- Large weights do not result in an incorrect sort order.
- Any supported weight limits or ordering caveats are documented.
Problem
A prefix plugin that uses LuckPerms group weights to determine tablist order produces an incorrect order when groups use very large weights.
Expected behavior
Players should be ordered consistently by their configured LuckPerms group weights, including large values. A higher weight should take precedence over a lower weight.
Actual behavior
With a group weight of
9999and another group weight of1000, the tablist order was incorrect. A player whose group weight was0appeared in the expected position.Reproduction details
9999and another a weight of1000.Observed workaround
Reducing the group weights to values around
100made the ordering work as expected.Acceptance criteria