Get Nexal Leaderboards on the Nexal Studios store
Ranking Order
Most leaderboards put the highest value first: the most money, the most kills. Some need the opposite. The fastest parkour time is the lowest time; the best survivor has the fewest deaths. For those, set the leaderboard to rank the lowest value first.
Setting it
/lb admin → Leaderboards → a leaderboard → Ranking Order, and click it. The lore says
which way it ranks now:
- Ranks first: Highest value (the default, a plain arrow)
- Ranks first: Lowest value (a spectral arrow)
It is saved in config.yml:
lowest-first:
- parkour_best_time
- statistic_deaths
What changes
Everything that ranks follows it: the menu, /lb top, holograms, signs, heads, NPCs, the rank
placeholders, the arrows, and who wins rewards. On a lowest first leaderboard,
%nexalleaderboards_parkour_best_time_1% is the player with the best (lowest) time.
Periods follow it too, but think about what they mean there. A period score is "value now minus value at the start", and only players whose value changed are ranked. On a deaths board, This Week lowest first ranks the players who died this week, the fewest deaths first; players who did not die at all are not on it. For a best lap time, a period score is "how much the best time changed", which is rarely what you want: show the all time board for times.
Counting from the other end: _reversed
You do not have to change the order of a whole leaderboard to show the other end of it once.
Add _reversed to a placeholder and it counts from the bottom:
%nexalleaderboards_vault_eco_balance_1% → the richest player
%nexalleaderboards_vault_eco_balance_1_reversed% → the poorest ranked player
%nexalleaderboards_vault_eco_balance_rank_reversed% → the viewer's rank from the bottom
On a lowest first board, _reversed gives the highest values.
Values players must be ranked on first
A player who never did the thing has no value, or a value of 0. On a lowest first board, 0 would
beat everyone. Rank only placeholders that give a real value once a player has one (a parkour
plugin that has no time for a player who never finished), or check how the placeholder behaves
with /papi parse <player> %placeholder% for a new player first.
A step-by-step example: Rank the best times.