Track Deaths on a Scoreboard
Automatically count how many times each player dies
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Creates an objective using the deathCount criterion, which automatically increases by one every time that player dies. Combine it with /scoreboard objectives setdisplay sidebar deaths for a live death-count board, or with belowName to show deaths under each player's name tag. Scores persist across sessions until reset.
/scoreboard objectives add deaths deathCount {text:"Deaths"}60 characters
- Java: yes
- Bedrock: no
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java).
- Paste the command to create the death-tracking objective.
- Press Enter.
- Reset a player's count any time with /scoreboard players set <player> deaths 0.
Related commands
Set up a scoreboard counter to track a value
/scoreboard objectives add points dummy {text:"Points"}Display an objective's scores on the right side of the screen
/scoreboard objectives setdisplay sidebar pointsAutomatically count how many players each player kills
/scoreboard objectives add kills playerKillCount {text:"Kills"}Become nearly invincible
/effect give @p resistance 999999 255 true