Urgent.News

What's breaking now, across hundreds of outlets.

Tech

I built a death-chest plugin for Minecraft that never eats your items (Paper 1.21)

I lost a full diamond kit to a lava pool one time too many, so I built GraveGuard — a death-chest plugin for Paper 1.21.x that drops a protected grave where you die instead of scattering your items into the void. What it does On death, your items + XP go into a chest at the death location A hologram shows a live countdown of the protection timer Only you can open the grave while it's protected —…

Minecraft player creates death-chest plugin to prevent loss of items upon death. GraveGuard is a death-chest plugin for Paper 1.21.x that drops a protected grave where the player dies, instead of scattering their items into the void. When the player dies, their items and XP are placed in a chest at the death location. A hologram displays a countdown timer for the protection period.

Only the player can open the grave while it's protected, after which it becomes accessible to anyone (or it may despawn, depending on the configuration). A compass is provided to guide the player back to their grave. All settings are customizable in the config.yml file, including protection duration, whether graves despawn, hologram text, and messages.

Existing death-chest plugins either haven't been updated for modern Paper, have complex configuration formats, or silently delete items in edge cases. GraveGuard addresses these issues by searching for a valid grave spot and, if none can be found, dropping the items normally. It includes a restore-on-failure path to avoid silently deleting the player's inventory.

The plugin is MIT-licensed and has a small codebase, making it easy to understand and maintain. It can be downloaded from GitHub (https://github.com/SecondWindMC/GraveGuard) or the PaperMC releases page (https://hangar.papermc.io/SecondWindMC/GraveGuard). The plugin is standalone, with no dependencies. Additionally, a companion plugin called SecondWind adds DBNO (down but not out) revives, allowing teammates to revive downed players and return them to the game.

This plugin is also open source and compatible with Paper 1.21.x (https://github.com/SecondWindMC/SecondWindRevive).

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Other reports of this story

Every outlet that reported this, and when →

Read the original at dev.to →

Report a problem with this story

More in Tech

I built a fully local alternative to Wispr Flow in Rust

I wanted dictation like Wispr Flow, but without the subscription and without my voice being uploaded to someone's cloud. So I built Hamsa, and it is now open source.

  • Author creates Hamsa, open-source dictation tool in Rust
  • Utilizes Phonon speech model running on user's GPU or CPU
  • Stores data locally, no subscription required

Windows DHCP Server Not Leasing: A Read-First Event 1046, Event 1042, Unauthorized-in-AD, and Scope Exhausted Triage

Helpdesk: "Half the floor has 169.254 addresses. The DHCP server's System log has Event 1046 saying it is not authorized, and last month somebody mentioned the scope was almost full.

  • Half of a floor received 169.254 addresses, indicating DHCP issues.
  • Event 1046 in System log shows server not authorized by AD.
  • Scope exhaustion (Event 1063) and unauthorized-in-AD (Event 1042) need separate attention.

More from Tuesday 24 November →