GameplayJavaBedrock

/scoreboard

Manage scoreboard objectives and player scores.

What is /scoreboard used for?

What /scoreboard is for

Creates and manages objectives (tracked numbers) and assigns scores to players and entities, plus display slots like the sidebar, list, and below-name.

When to use /scoreboard

Track kills, deaths, custom currencies, timers, and quest progress; drive datapack logic; and show a live sidebar in minigames.

Tips for /scoreboard

Use criteria like dummy for values you set yourself, and stats like minecraft.custom:minecraft.jump to track automatically. Combine with /execute store to capture command results into a score.

Syntax

Parameters

domain
literal
objectives (define) or players (read/write).
action
literal
add / remove / list / set / get / operation, etc.

Command builder

Configure the options below to generate a ready-to-paste /scoreboard command.

dummy = manual; or e.g. health, deathCount.
Optional friendly name shown in sidebars.

Examples

  • Track each player's deaths in an objective named 'deaths'.

  • Set the nearest player's 'coins' score to 100.

  • Show the 'deaths' objective on the right-side HUD.

Common questions

How do I make a sidebar scoreboard?

Add an objective, then run /scoreboard objectives setdisplay sidebar <objective>. Set values with /scoreboard players set <target> <objective> <value>.

How do I track player kills with a scoreboard?

Use a built-in criterion: /scoreboard objectives add kills playerKillCount. It then updates automatically whenever a player gets a kill.

Permission level

/scoreboard requires Cheats (op level 2). In single-player you need the world's "Allow Cheats" toggle on. On a multiplayer server you need to be opped — see /op.