Get Nexal Leaderboards on the Nexal Studios store
Customize the Look
Every word players see comes from plugins/NexalLeaderboards/messages.yml: chat messages, the
menu, holograms, signs, NPC names, the arrows and the winner announcement. This page shows the
parts you are most likely to change and how the text format works.
The text format
Texts use MiniMessage, a tag format:
| You write | You get |
|---|---|
<gold>Top</gold> | Gold text |
<bold>Top</bold> | Bold text |
<gradient:#9B59B6:#A569BD>Top</gradient> | A colour gradient |
<#FF5252>Top</#FF5252> | Any colour by its hex code |
<gray>a</gray> <white>b</white> | Several colours in one line |
Every tag you open, close again. The MiniMessage viewer shows a line as it will look.
Chat messages start with %prefix%, which is the prefix at the top of the file. Change it once
to rename the plugin's tag in every message.
Changes apply right away
Save the file and the new text is used: holograms, signs and NPCs redraw at once, the menu the next time it opens. Remove a key you do not want to keep, and the plugin uses its default text for it.
The usual changes
The hologram title
hologram:
header:
- "<gold><bold>TOP PLAYERS</bold></gold>"
- "<gray>%period%</gray>"
line: "<yellow>#%rank%</yellow> <white>%player%</white> <gray>%value%</gray> %change%"
empty-line: "<dark_gray>#%rank% -</dark_gray>"
footer:
- "<gray>Click to see everyone</gray>"
The header is the same on every hologram, so use %placeholder% (the leaderboard's
display name) or %period% to tell them apart.
More: Holograms.
The menu
The heads' names and lore, the buttons and the title are in leaderboard-gui, gui-leaderboard
and gui-leaderboard-period. See The leaderboard menu.
Signs and NPCs
sign.lines (four lines) and npc.name. Dark colours read best on a sign.
See Signs, Heads and NPCs.
The arrows
rank-change.up, down, same and new.
See Rank change arrows.
The winner announcement
reward-broadcast-header and reward-broadcast-entry, with %winner% for the name.
/lb top in chat
leaderboard-top-header, leaderboard-top-header-period and leaderboard-top-entry. Add
%change% to the entry to show the arrows there too.
Sounds
Most messages have a sound: line, with a Bukkit sound name.
Remove the line for a message without a sound.
Numbers and times in another language
The number-format section: the letters for thousands, millions and so on, and for days, hours,
minutes and seconds. See Number formats.
Check it
- Open
/lb gui <leaderboard>and look at a hologram after saving. - A broken line (a tag that is not closed) shows its tags as plain text: look for the missing
</...>. - Want the original back? Rename your
messages.yml, restart, and the plugin writes a fresh one. Then copy over what you changed.
The whole file, with every key: messages.yml.