Skip to main content

Rank the Best Times

A parkour course, a race or a speedrun: the best player is the one with the lowest time. This sets up a leaderboard where the fastest time is #1, written as a time. How it works: Ranking Order.

You need a placeholder that gives each player's best time as a number. Parkour and racing plugins usually have one; this page calls it parkour_best_time and assumes it counts in seconds.

1. Check the placeholder​

/papi parse me %parkour_best_time%

It should print a number such as 42.5. If it prints a time already written out (0:42), look for the plugin's raw placeholder: the first number of 0:42 would be read as 0.

Also check what it gives for a player who never finished. If it gives 0, that player would beat everyone; a placeholder that gives nothing or text for them is what you want.

2. Track it​

/lb admin → Leaderboards → Track a Placeholder, type parkour_best_time.

3. Lowest first​

On its screen, click Ranking Order. It now says Ranks first: Lowest value.

4. Write it as a time​

Number Format → Time, then Time Unit until it says seconds (or what your placeholder counts in). The example on the screen shows your #1's time.

Times under a minute are written as seconds (42s). Fractions of a second are left out of a time; if they matter in your race, keep the Number format instead (42.5).

5. Show it​

  • A hologram: /lb admin → Holograms → Create Hologram, pick parkour_best_time, and change the header in messages.yml if you want it to say Fastest Runners.
  • On a sign at the end of the course: Signs, Heads and NPCs.
  • The player's own place on the scoreboard: %nexalleaderboards_parkour_best_time_rank%.

Use the All Time board for best times. A period score is how much a value changed, which for a best time is not useful.

Check it​

/lb top parkour_best_time 5 lists the five fastest, the lowest time first.