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"}- 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
Create a Scoreboard Objective
Set up a scoreboard counter to track a value
Show a Scoreboard on the Sidebar
Display an objective's scores on the right side of the screen
Track Player Kills on a Scoreboard
Automatically count how many players each player kills
God Mode (Resistance + Regeneration)
Become nearly invincible
Set Gamemode to Creative
Switch yourself into Creative mode
Kill All Mobs
Instantly remove every mob from the world except players