Leaderboard Placeholders
Leaderboard placeholders allow you to display your server’s top-performing players on scoreboards, holograms, or custom in-game menus.
Leaderboard Syntax
Section titled “Leaderboard Syntax”To fetch leaderboard data, use the following format:
%eastereggs_leaderboard:<statistic>:<position>:<type>%
Parameters
Section titled “Parameters”| Argument | Description |
|---|---|
<statistic> | The stat to be ranked (e.g., eggs_collected). |
<position> | The rank position to display (1, 2, 3…). |
<type> | The type of data to return (name for the username, value for the score). |
Available Statistics
Section titled “Available Statistics”Currently, there is only one primary statistic available for the leaderboard system:
eggs_collected— Total number of Easter Eggs successfully collected by the player.
Usage Examples
Section titled “Usage Examples”| Goal | Placeholder |
|---|---|
| Name of the 1st place collector | %eastereggs_leaderboard:eggs_collected:1:name% |
| Amount of eggs found by the 1st place collector | %eastereggs_leaderboard:eggs_collected:1:value% |
| Name of the player in 3rd place | %eastereggs_leaderboard:eggs_collected:3:name% |
| Amount of eggs found by the 5th place player | %eastereggs_leaderboard:eggs_collected:5:value% |