Death chest plugins for Paper 1.21 - what to look for (and why I wrote one)

2026-11-25来源 dev.toEnglish

Running an SMP or lifesteal server on Paper 1.21? A death chest plugin is close to mandatory - players quit when they lose a netherite kit to lava. Here is what to look for, and why I ended up writing my own.

What a death chest plugin needs

  • Item + XP storage - most plugins forget the XP
  • Protection timer - the owner's grave should not be lootable instantly, but it also should not be permanent
  • Overflow handling - a player with a full inventory plus a shulker box can drop more than one chest holds. Items must never silently vanish
  • Findability - a hologram timer helps, a return compass is better
  • Configurability - protection time, hologram text, despawn behavior

Why I wrote GraveGuard

The free options I tried either dropped XP, had no overflow handling (items silently deleted - this is the bug that makes players furious), or were abandoned before 1.21. So I built one and open-sourced it:

  • Death spawns a grave chest with items + XP
  • Hologram countdown over the grave
  • Protection timer in config (default 5 minutes)
  • Return compass points the owner back
  • Excess items drop next to the grave instead of disappearing

It is MIT-licensed, tested on Paper 1.21.11 with automated bot clients.

Links

Happy to answer questions in the comments.

原文:https://www.a8q9.cn/en/article/death-chest-plugins-for-paper-1-21-what-to-look-for-and-why-i-wrote-one-2c0b07.html

相关文章