Kill and death messages

Combat Log can replace the vanilla death message with its own, and every message in messages.yml can have a sound.

Kill messages

With kill-messages: true in config.yml, a player killed by another player gets kill-message from messages.yml instead of the vanilla message. The killer is decided like in the stats, so a player who fell to their death in combat shows the player they fought.

PlaceholderShows
{victim}The player who died.
{killer}The player who gets the kill.
{weapon}The name of the item in the killer’s hand. Hover over it in chat to see the whole item.
{killer_health}The killer’s health left, in hearts, for example 7.5.

When the killer has nothing in their hand, kill-message-no-weapon is used instead. A player who logs out in combat gets no kill message, only combat-logged. Set kill-messages: false to keep the vanilla message.

Death messages

With death-messages: true in config.yml, every other death gets a message from death-messages: in messages.yml. {victim} is the player who died, and {mob} the mob that killed them.

yaml
death-messages:
  fall: "&#FF5555☠ &f{victim} &7fell from a high place"
  void: "&#FF5555☠ &f{victim} &7fell out of the world"
  lava: "&#FF5555☠ &f{victim} &7tried to swim in lava"
  fire: "&#FF5555☠ &f{victim} &7burned to death"
  drowning: "&#FF5555☠ &f{victim} &7drowned"
  explosion: "&#FF5555☠ &f{victim} &7blew up"
  mob: "&#FF5555☠ &f{victim} &7was killed by &f{mob}"
  other: "&#FF5555☠ &f{victim} &7died"
MessageWhen it’s used
fallFall damage.
voidFalling out of the world.
lavaLava.
fireFire, burning, magma blocks and campfires.
drowningDrowning.
explosionExplosions that no mob caused.
mobKilled by a mob, also with an arrow or an explosion like a creeper.
otherEvery other death.

Set death-messages: false to keep the vanilla messages for these deaths. An empty message sends nothing for that kind of death.

The show_death_messages game rule
Kill and death messages replace the vanilla death message, so they follow the vanilla game rule. With /gamerule show_death_messages false in a world, no kill or death messages show there.

Sounds

Every message has a sound under sounds: at the bottom of messages.yml. Write the sound, then the volume and pitch, or "none" for no sound.

yaml
sounds:
  combat-entered: "block.note_block.bass 1.0 0.6"
  combat-left: "block.note_block.chime 0.8 1.4"
  combat-logged: "none"
  combat-logged-title: "block.note_block.bass 1.0 0.5"
  command-blocked: "block.note_block.bass 0.6 0.8"
  teleport-blocked: "block.note_block.bass 0.6 0.8"
  item-blocked: "block.note_block.bass 0.6 0.8"
  elytra-blocked: "block.note_block.bass 0.6 0.8"
  safezone-blocked: "block.amethyst_block.hit 1.0 0.7"
  potion-removed: "block.brewing_stand.brew 0.6 1.2"
  potion-restored: "entity.experience_orb.pickup 0.6 1.4"
  potion-blocked: "block.note_block.bass 0.6 0.8"
  status-in-combat: "none"
  status-not-in-combat: "none"
  check-in-combat: "none"
  check-not-in-combat: "none"
  removed: "none"
  reloaded: "none"
  no-permission: "none"
  player-not-found: "none"
  player-only: "none"
  usage: "none"
  stats: "none"
  stats-not-found: "none"
  stats-reset: "none"
  stats-unavailable: "none"
  kill-streak: "entity.player.levelup 0.5 1.5"
  kill-message: "none"
  kill-message-no-weapon: "none"
  death-messages: "none"
  • Use the Minecraft sound ID, for example entity.experience_orb.pickup or block.note_block.pling. Volume and pitch can be left out, they are 1.0 by default.
  • A sound plays even when the message itself is empty, so a sound can be used on its own.
  • Sounds of messages sent to everyone, like kill-streak and combat-logged, play for everyone.
  • death-messages is one sound for every death message.
  • The countdown tick at the end of combat is set under countdown-sound: in config.yml. See What players see and hear.