Skip to main content

Keeping Players Off the Leaderboards

Staff with creative money, test accounts and bots make a leaderboard meaningless for everyone else. Give them a permission and they disappear from the boards, without losing anything.

The permissions​

PermissionKeeps the player off
nexalleaderboards.excludeEvery leaderboard
nexalleaderboards.exclude.<leaderboard>One leaderboard, such as nexalleaderboards.exclude.vault_eco_balance

With LuckPerms:

/lp group admin permission set nexalleaderboards.exclude true
/lp user Steve permission set nexalleaderboards.exclude.vault_eco_balance true

Being op is not enough​

Operators are not excluded on their own. Only players who are given the permission are. This is on purpose: a small server where the owner plays too should not lose its owner from the boards just because they are op. If you want your op account off the boards, give it the permission like anyone else.

Watch out for wildcards. A group with * or nexalleaderboards.* in your permissions plugin has the exclude permission too, so everyone in it disappears. If that happens, set it to false for that group:

/lp group admin permission set nexalleaderboards.exclude false

What happens​

  • The permission is checked at every refresh while the player is online. From the next refresh they are not on the leaderboard, nor on any hologram, sign, NPC, placeholder or period.
  • Their scores keep being recorded. When you take the permission away, they come back at the next refresh with their real values, and their period scores are right too.
  • While they are offline, they stay excluded: the plugin remembers it.
  • They never win rewards, and the player below them moves up.

Seeing who is excluded​

The leaderboard's screen in /lb admin (and /lb info <leaderboard>) shows how many players are excluded. To check one player, use your permissions plugin, for example /lp user Steve permission check nexalleaderboards.exclude.