Skip to content
[/craft]

Track Deaths on a Scoreboard

Automatically count how many times each player dies

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Creates 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

How to use

  1. Open chat (T on Java).
  2. Paste the command to create the death-tracking objective.
  3. Press Enter.
  4. 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 points

Automatically count how many players each player kills

/scoreboard objectives add kills playerKillCount {text:"Kills"}

Become nearly invincible

/effect give @p resistance 999999 255 true

Switch yourself into Creative mode

/gamemode creative

Instantly remove every mob from the world except players

/kill @e[type=!player]