/scoreboard
Manages scoreboard objectives and player scores. The scoreboard system tracks numeric values for entities and can display them in various locations.
Syntax
/scoreboard <objectives|players> ...Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| subcommand | literal | Required | objectives = manage objectives; players = manage scores. |
| arguments | various | Required | Varies by subcommand: objectives (add/list/modify/remove/setdisplay) or players (add/enable/get/list/operation/remove/reset/set). |
Examples
/scoreboard objectives add kills playerKillCountCreates an objective called "kills" that tracks player kill count.
/scoreboard objectives setdisplay sidebar killsDisplays the "kills" objective on the sidebar for all players.
/scoreboard players set @p score 100Sets the nearest player's "score" objective to 100.
Common Mistakes
- Forgetting to create the objective before trying to set scores, objectives must be created with /scoreboard objectives add first.
- Using incorrect criteria types, the criteria determines how the objective is tracked (dummy for manual, playerKillCount for PvP kills, etc.).
Notes
Common criteria: dummy (manual only), health, playerKillCount, totalKillCount, deathCount, trigger, and many more. Display slots: sidebar, list, belowName. The scoreboard is one of the most powerful vanilla systems for custom content.
Related Commands
Need a Minecraft server?
Try these commands on Astroworld or host your own server.
Try Astroworld Hosting