Skip to main content
Scoreboard is the central object managing players, teams, and sidebars. Obtain one via ScoreboardHandler.createScoreboard(). Every player you track, team you configure, and sidebar you display belongs to a single Scoreboard instance.

Player management

Register players with the scoreboard before creating sidebars or assigning them to teams.

Team management

Teams group players under shared visual properties such as colors, prefixes, and collision rules. A scoreboard can manage per-player sidebars (PlayerSidebar) and shared sidebars (SharedSidebar) simultaneously.

Example