Skip to content

Scoreboards, boss bars, tab list

Sidebars, objectives, boss bars, titles, the tab list, nametags and the below-name line.

Type Kind Description
Belowname class Text (and optionally a number) shown under a player’s name, per viewer.
BossBar class A boss bar at the top of the screen, shown to the players who were added as viewers.
BossBarColor enum The colour of a boss bar.
BossBarFlags enum Extra behaviour of a boss bar.
BossBars class Creates boss bars owned by a plugin (plugin.BossBars).
BossBarStyle enum How a boss bar is divided.
DisplaySlot enum Where an objective is displayed.
NametagCollision enum Who a player collides with (bumps into).
Nametags class Nametag styles per viewer: a prefix and a suffix around a player’s name, a team colour, and the rules for seeing and bumping the team’s players.
NametagStyle class The look of a nametag for one viewer (see Nametags.Set).
NametagVisibility enum Who sees a nametag.
Objective class An objective of the server scoreboard (the one /scoreboard edits and the world saves): scores per holder name, shown in a display slot.
PresenceExtensions class The presence API of a plugin: plugin.Tablist, plugin.Nametags and plugin.Belowname, on the plugin base class and on the plugin context.
Scoreboard class The server’s scoreboard (shared by all players, saved with the world, edited by /scoreboard): objectives with scores per holder name and their display slots.
ScoreFormat enum How a score is shown next to its holder.
Sidebar class A sidebar scoreboard (the list of lines at the right of the screen) shown to chosen players.
Sidebars class Creates sidebars owned by a plugin (plugin.Sidebars).
TabEntry class The fields of one player’s tab entry for one viewer.
Tablist class The tab list as one viewer sees it: the name, order, latency and game mode of each player in the list, the header and footer, fake entries (extra slots with their own name and skin) and the objectives shown in the list or under the names.
TitleTimes struct The timings of a title, in ticks (20 per second).