🧮
Advanced
/scoreboard
Create objectives and keep score — the foundation of mini-games.
At a glance
Syntax
Syntax
/scoreboard objectives add <name> <criteria>commandtargetcoordsvaluerequiredoptional
See it
What it does
/
Command executed
Anatomy
Every part, explained
- 1
CommandRequired/scoreboardManages objectives and player scores.
- 2
ActionRequiredobjectives addAlso: 'players add/set/get' to change scores.
- 3
NameRequired<name>Your id for the objective, e.g. kills.
- 4
CriteriaRequired<criteria>What it tracks, e.g. dummy, playerKillCount.
Your turn
Try it yourself
Playground
5 tokens · press Enter to run
Copy & paste
Examples
/scoreboard objectives add kills playerKillCountTrack player kills automatically.
/scoreboard players set @s kills 0Reset your kill score.
/scoreboard players add @s kills 1Manually add a point.
Avoid these
Common mistakes
✕
/scoreboard add kills dummy✓
/scoreboard objectives add kills dummyYou must say 'objectives' (or 'players') first.
✕
/scoreboard objectives add kills kill✓
/scoreboard objectives add kills playerKillCountUse a valid criteria name.
Keep going