Skip to content
[/craft]

Disable Death Messages

Hide death messages from the chat

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

Sets showDeathMessages to false so no 'Player was slain by...' lines appear in chat. Useful on servers wanting a cleaner feed or to hide base locations revealed by death coordinates. Re-enable it with the same command and true.

/gamerule showDeathMessages false
33 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste the command and press Enter.
  3. Death messages no longer appear in chat.

Related commands

Keep your items when you die instead of dropping them

/gamerule keepInventory true

Freeze time so it's permanently daytime

/gamerule doDaylightCycle false

Stop rain and keep the weather clear

/gamerule doWeatherCycle false

Stop creepers, endermen, and other mobs from changing blocks

/gamerule mobGriefing false

Turn off fall damage

/gamerule fallDamage false

Stop fire from spreading to nearby blocks

/gamerule doFireTick false