Minecraft /scoreboard command
Java EditionBedrock EditionSince Java 1.5 (13w04a) / Pocket 1.7.0
Quick answer: Creates scoreboard objectives and tracks scores for players and entities. Syntax:
scoreboard <objectives|players> <add|remove|list|setdisplay|set|get|add|remove|reset|operation|enable|display> .../scoreboard is the backbone of maps, minigames and server economies. An objective defines what is tracked (dummy points, deaths, mined blocks, health...), and players subcommands set, add, remove, reset and compare scores. Scores feed into /execute conditions, team displays, sidebar boards and boss bar logic.
Syntax
| Edition | Syntax |
|---|---|
| Java | scoreboard <objectives|players> <add|remove|list|setdisplay|set|get|add|remove|reset|operation|enable|display> ... |
| Bedrock | scoreboard <objectives|players> <add|remove|list|setdisplay|set|add|remove|reset|random> ... |
Targets / arguments: Objectives (name + criteria) and score holders (players or entities). Requires: Cheats enabled / operator level 2 (Java), 1 (Bedrock).
Examples
/scoreboard objectives add kills dummyCreate a dummy objective called kills
/scoreboard objectives setdisplay sidebar killsShow the kills objective in the sidebar
/scoreboard players add @a money 100Give every player 100 money points
Tips
- dummy objectives only change via commands - perfect for currency and timers.
- Java supports many tracked criteria like minecraft.mined:minecraft.stone; Bedrock is limited to dummy.
- Test scores with /execute if score @s money matches 100..