Get Nexal Leaderboards on the Nexal Studios store
Build a Leaderboard Wall
This builds the classic spawn display: a hologram with the top 10, and below it the top three players as NPCs (or player heads), each with a sign showing their rank, name and value. All of it updates by itself, and players open the full leaderboard by clicking any part of it.
Everything is done from /lb admin; you need a tracked leaderboard (here vault_eco_balance).
What each one shows
| Display | Shows | Needs |
|---|---|---|
| Hologram | A title and the top 1 to 20 | Nothing |
| Sign | One rank: rank, name, value and the rank arrow | Nothing |
| Head | One rank, as the head of the player at it | Nothing |
| NPC | One rank, as a player NPC with their skin and a name tag | FancyNpcs or Citizens |
Each one shows all time or one period, and changes as the ranking changes.
1. The hologram
- Stand where the hologram should be. It appears at your eye height, so stand on the block below where its text should start.
/lb admin→ Holograms → Create Hologram → pickvault_eco_balance.- On its screen: Period for a weekly or monthly board, Ranks Shown for how many lines.
Not quite in the right place? Move a little and click Move Here.
2. The top three
For each of ranks 1, 2 and 3:
/lb admin→ Signs, Heads and NPCs → New NPC (or New Head) → pickvault_eco_balance.- An NPC appears where you stand, facing the way you face. A head goes on the next block you right click (see below).
- It starts at rank #1. On its screen, click Rank to set it to #2 or #3 (left click +1, right click -1), and Period to match the hologram.
Then put a sign under each one (more on displays: Signs, Heads and NPCs):
- New Sign → pick
vault_eco_balance. - Right click the block the sign should go on: the side you click is where it goes, facing you. Click the top of a block for a standing sign. Clicking a sign that is already there turns it into the leaderboard sign.
- Set its Rank and Period like the NPC above it.
A sign or head needs an empty spot; grass and flowers are replaced. Type cancel in chat to stop
placing.
3. Check it
- Click the hologram, a sign, a head or an NPC: the leaderboard menu opens, on the same period.
- Hit a sign or a head: it does not break. Explosions do not break them either.
/lb admin→ Signs, Heads and NPCs lists everything you placed, with its rank and place.
Change the text
In messages.yml:
hologram:
header:
- "<gradient:#9B59B6:#A569BD><bold>TOP %lines%</bold></gradient>"
- "<gradient:#B983CE:#C99DDA>%placeholder%</gradient> <gray>(%period%)</gray>"
line: "<white>#%rank%</white> <gradient:#9B59B6:#A569BD>%player%</gradient> <gray>-</gray> <gradient:#B983CE:#C99DDA>%value%</gradient> %change%"
sign:
lines:
- "<dark_purple><bold>#%rank%</bold></dark_purple>"
- "<black>%player%</black>"
- "<dark_gray>%value%</dark_gray> %change%"
- "<gray>%period%</gray>"
npc:
name: "<gradient:#FFD700:#FFA500><bold>#%rank%</bold></gradient> <white>%player%</white> <gray>-</gray> <gradient:#B983CE:#C99DDA>%value%</gradient>"
%placeholder% shows the leaderboard's display name, or the
placeholder itself when it has none. For a nicer title such as Richest Players, give the
leaderboard that display name (/lb admin → Leaderboards → the leaderboard → Display Name)
rather than changing the header: every hologram, sign and NPC uses the same text, and the name
tells them apart. The changes show as
soon as you save the file.
Moving and removing
- On a display's screen: Teleport takes you to it, Move places it again (a new block for a sign or head, where you stand for an NPC), Delete with a shift right click removes it, its sign or head block included.
- Removing a leaderboard removes all its holograms, signs, heads and NPCs.
- NPCs are shown by Nexal Leaderboards on every start; they are not saved in FancyNpcs' or Citizens' own files, so do not edit or remove them there.
From the console
Every step has a command that takes a place instead of your position, for scripts or for building from the console:
lb admin hologram create spawn_top vault_eco_balance 10 weekly at world 0.5 72 0.5
lb admin display create npc spawn_1 vault_eco_balance 1 weekly at world 0.5 70 4.5 180
lb admin display create sign spawn_1_sign vault_eco_balance 1 weekly at world 0 70 5
The full list is on the Commands page, and more in Build from the console.