Skip to content
◆ TTS-STUDIO docs Discord

Plugins / BetterDeathMessages

Configuration reference

This is the config.yml BetterDeathMessages writes on first start, comments included. Every key you see here is the key the plugin reads; there are no hidden ones. Change a value, reload, and it applies.

Top-level sections: config-version, language, last-words, global-broadcast, first-death-of-day, kill-streaks, first-blood, broadcast, inventory-value, death-sound.

# BetterDeathMessages Configuration
# Death message templates and UI strings are in lang/es.yml (or the active locale).
config-version: 3

# Active language. ISO-639-1 two-letter code (lowercase).
# Bundled out of the box: es (Spanish), en (English).
# Missing keys fall back to en automatically. Operators can drop extra
# lang/<code>.yml files in plugins/BetterDeathMessages/lang/.
language: en

# ============================================================
# LAST WORDS  (v1.1.0)
# ============================================================
# Captures a player's last public message and drops it into the death
# message through the {last_words} token in lang/<locale>.yml.
#
# Public chat only — whispers and private channels are ignored and never
# reach the cache. A cached message is cleared automatically after
# cache-seconds.
#
# To use it, edit your templates in lang/<locale>.yml and put
# {last_words} wherever you want the quote to appear.
last-words:
  enabled: true
  cache-seconds: 60
  fallback: ""

# ============================================================
# GLOBAL BROADCAST
# ============================================================
# Deaths from these causes are broadcast to all online players.
# Valid values: pvp, ENDER_DRAGON, WITHER (or any EntityType name).
# hover-stats = true adds a hover tooltip with the victim's KDR.
global-broadcast:
  enabled-causes: [ENDER_DRAGON, WITHER, pvp]
  hover-stats: true

# ============================================================
# FIRST DEATH OF THE DAY
# ============================================================
# Broadcasts a special message for the first player to die each day.
# The message template lives in lang/<locale>.yml under first-death-of-day.message.
first-death-of-day:
  enabled: true

# ============================================================
# KILL STREAKS
# ============================================================
# Broadcast when a player reaches a kill streak milestone.
# Thresholds: list of consecutive kills that trigger a broadcast.
# Message templates in lang/<locale>.yml under kill-streak.<n>.
kill-streaks:
  enabled: true
  thresholds: [3, 5, 10, 20]

# ============================================================
# FIRST BLOOD
# ============================================================
# Broadcast when the first PvP kill of the day happens.
# Message template in lang/<locale>.yml under first-blood.message.
first-blood:
  enabled: true

# ============================================================
# BROADCAST RADIUS
# ============================================================
# -1  = send death message to ALL players online (default).
# >0  = only players within this many blocks in the same world see it.
broadcast:
  radius: -1

# ============================================================
# INVENTORY VALUE  (the {inventory_value} token)
# ============================================================
# What the victim was carrying, added up from the price of each item.
# Items not listed are worth default-price each. Material names as in
# Minecraft (DIAMOND, NETHERITE_SWORD...). Vault is not needed.
inventory-value:
  default-price: 0
  prices:
    IRON_INGOT: 10
    GOLD_INGOT: 10
    IRON_BLOCK: 90
    GOLD_BLOCK: 90
    EMERALD: 50
    EMERALD_BLOCK: 450
    DIAMOND: 100
    DIAMOND_BLOCK: 900
    NETHERITE_INGOT: 500
    NETHERITE_BLOCK: 4500
    DIAMOND_SWORD: 200
    DIAMOND_PICKAXE: 300
    DIAMOND_AXE: 300
    DIAMOND_SHOVEL: 100
    DIAMOND_HELMET: 500
    DIAMOND_CHESTPLATE: 800
    DIAMOND_LEGGINGS: 700
    DIAMOND_BOOTS: 400
    NETHERITE_SWORD: 700
    NETHERITE_PICKAXE: 800
    NETHERITE_AXE: 800
    NETHERITE_SHOVEL: 600
    NETHERITE_HELMET: 1000
    NETHERITE_CHESTPLATE: 1300
    NETHERITE_LEGGINGS: 1200
    NETHERITE_BOOTS: 900
    GOLDEN_APPLE: 80
    ENCHANTED_GOLDEN_APPLE: 1000
    TOTEM_OF_UNDYING: 500
    ELYTRA: 2000
    ENDER_PEARL: 5

# ============================================================
# DEATH SOUND
# ============================================================
# Plays a sound to nearby players when someone dies.
# sound: any Paper Sound enum name.
death-sound:
  enabled: true
  sound: ENTITY_PLAYER_DEATH
  radius: 50
  volume: 1.0
  pitch: 1.0

Keep reading