Leaderboard Placeholders
Leaderboard placeholders display top players on scoreboards, holograms, menus, and chat.
Syntax
Section titled “Syntax”%kotl_leaderboard:<statistic>:<position>:<type>%| Argument | Description |
|---|---|
<statistic> | Global statistic key or an arena leaderboard ID. |
<position> | One-based rank such as 1, 2, or 10. |
<type> | name, uuid, value, or formatted_value. |
formatted_value currently returns the same numeric text as value.
Available Statistics
Section titled “Available Statistics”killdeathscoretours_playedarena_score_<arena_id>
Numeric entries with a value of 0 are excluded.
Examples
Section titled “Examples”| Goal | Placeholder |
|---|---|
| Name of the top overall scorer | %kotl_leaderboard:score:1:name% |
| Score of the top overall scorer | %kotl_leaderboard:score:1:value% |
| UUID of the third-ranked killer | %kotl_leaderboard:kill:3:uuid% |
| Name of the most active player | %kotl_leaderboard:tours_played:1:name% |
Top player in arena tower | %kotl_leaderboard:arena_score_tower:1:name% |
Top score in arena tower | %kotl_leaderboard:arena_score_tower:1:formatted_value% |
Empty Positions
Section titled “Empty Positions”If a requested position does not exist:
namereturnsNo Player.valueandformatted_valuereturn0.uuidreturns a generated placeholder UUID.
Design external displays so empty positions are either hidden or shown as an unclaimed rank.