Skip to main content

Signs, Heads and NPCs

A hologram shows a whole top 10. Signs, heads and NPCs show one rank each, and make it feel real: the actual player standing on a podium, their head on a pedestal, their name on a sign. Together they are called displays.

DisplayShowsNeeds
SignFour lines: rank, name, value and arrow, and the periodNothing
HeadA player head with the skin of the player at that rankNothing
NPCA player NPC with their skin, and a name tag with rank, name and valueFancyNpcs or Citizens

Each display shows one leaderboard, one rank (1 to 100) and all time or one period. When the player at that rank changes, the display changes with them: the sign gets the new name, the head and the NPC the new skin.

Placing one​

  1. /lb admin → Signs, Heads and NPCs → New Sign, New Head or New NPC.
  2. Pick the leaderboard.
  3. Place it:
    • Sign or head: the menu closes and you right click a block. The display goes on the side you clicked, facing you: click the top of a block for a standing sign or a head on top, the side of a block for one against it. Placing a sign on an existing sign (or a head on a head) turns that one into the display. Type cancel in chat to stop.
    • NPC: it appears where you stand, facing the way you face.
  4. It starts at rank #1, all time, and its screen opens.

A sign or head needs room: an empty block, or one with grass or flowers, which are replaced. Into a solid block it says That block is taken.

Changing it​

The display's screen:

ButtonWhat it does
LeaderboardShow another leaderboard
PeriodAll Time, or any period: left click for the next, right click for the previous
RankLeft click +1, right click -1, shift click 10 at a time
TeleportGo to it
MoveA sign or head: right click a new block. An NPC: moves to where you stand
DeleteShift right click: removes it, and the sign or head block with it

Protected​

Signs and heads that are displays cannot be broken, edited or blown up by creepers or TNT. Even in creative, hitting one does nothing. Remove them from their screen, or with /lb admin display delete <name>.

Clicking it​

A player who right clicks a sign, head or NPC opens the leaderboard menu on the same period, if they have nexalleaderboards.use (everyone does by default).

NPCs: FancyNpcs or Citizens​

Install one of them and restart: the console says Leaderboard NPCs use FancyNpcs. (or Citizens). Without either, New NPC shows as a barrier.

The NPCs belong to Nexal Leaderboards: they are not saved in FancyNpcs' or Citizens' files, and are shown again every time the server starts. Do not edit or remove them with those plugins' commands; use their screen in /lb admin instead.

The text​

In messages.yml:

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>"

Placeholders: %rank%, %player%, %value%, %change%, %placeholder% (the leaderboard's display name, or its placeholder), %period%. A sign has four lines; dark colours read best on wood. While nobody holds the rank, the name is - and the value 0.

From the console​

lb admin display create sign top1_sign vault_eco_balance 1 weekly at world 10 70 5
lb admin display create npc top1 vault_eco_balance 1 weekly at world 10.5 70 4.5 180
lb admin display set top1 rank 2
lb admin display list

The number after the coordinates of an NPC (or a sign or head) is the direction it faces: 0 is south, 90 west, 180 north, 270 east. More: Build from the console.