ResurrectionChest
ResurrectionChest sends a player's death drops to a registered chest instead of leaving everything at the death site.
What It Currently Does
- one registered death chest per player
- single and double chest support
- optional XP storage and later return
- optional durability loss on worn armor when death drops are routed into the chest
- overflow items dropping at the death location if the chest is full
- world blacklist support
- WorldGuard / GriefPrevention aware chest registration
- optional FreeMinecraftModels chest visuals (Wooden Chest free pack, Angelic Chest premium pack)
- chest registrations persist across chunk unloads, world unloads, and restarts; uncollected XP is held in memory and is lost on restart, plugin reload, or a restart-free plugin update
- a first-boot reminder for admins and a Nightbreak-style setup menu for managing content and updates
Important Behavior
- ResurrectionChest provides the
/resurrectionchestcommand with the following subcommands:initializeopens the guided first-time setup menusetup— opens the Nightbreak setup menu (browse/toggle chest packs, check plugin updates, see recommended plugins, toggle automatic updates)recommendedplugins— opens (or lists, for the console) the recommended companion pluginsdownloadall— downloads the plugin update (if any) and every available ResurrectionChest content pack from Nightbreakdownloadallcontent— downloads every available content pack from Nightbreakupdatecontent(aliasupdateallcontent) — re-downloads only outdated installed content packsforcereinstallcontent <package|all>— re-downloads a pack even when the installed version is already currentdownloadpluginupdate— downloads a ResurrectionChest plugin update if one is availableapplypluginupdateapplies a downloaded plugin update without a server restart (see Config and Permissions)reload— reloads the plugin, including its configuration and chest registrations; uncollected XP is discardedclear— clears all tracked ResurrectionChest blocks, dropping each tracked chest's contents and removing the chest and sign blocks
- Chest registration and death-drop routing both depend on
resurrectionchest.use. - Registering a chest is treated as building: if WorldGuard or GriefPrevention denies the player build access at the chest block, or a shared location-ownership provider reports it as protected, the registration is refused.
- The plugin does not lock or protect the chest. If your server allows another player to open or break that chest, ResurrectionChest does not stop them.
- If
keepInventoryis active on death, ResurrectionChest does not move items. - If the chest's chunk is unloaded when the player dies, the plugin loads the chunk before accessing the chest. For a double chest that crosses a chunk border it also loads the other half's chunk, so both halves take items (see Single And Double Chests).
- If the registered chest is missing when the player dies, the registration is removed.
- Only a normal chest works. Trapped chests, barrels, shulker boxes, and other containers are ignored when the sign is placed.
- A chest that is already registered to a different player cannot be claimed; the second player is told the chest belongs to someone else.
- Registering a new chest replaces the player's previous registration. The old chest block and everything in it stay put; only the registration and the old setup sign are removed.
Start Here
Integration Note
FreeMinecraftModels is optional. ResurrectionChest still works as a normal chest-based plugin without it. Custom chest props (the Wooden and Angelic packs) only display when FreeMinecraftModels is installed.
Requirements
- Java 21, or the newer Java version your server requires.
- A Spigot or Paper server.
plugin.ymldeclaresapi-version: 1.21.4, and the current source compiles against the Spigot26.3-R0.1-SNAPSHOTAPI. The download page lists the Minecraft versions each release supports. - No required plugins. FreeMinecraftModels only adds the custom chest models.
plugin.ymlalso lists Multiverse-Core as a soft dependency, which only makes ResurrectionChest load after it. MagmaCore is shaded into the plugin JAR.
Building From Source
ResurrectionChest builds with JDK 21 and the included Gradle wrapper. From the repository root, run:
./gradlew shadowJar
On Windows, run .\gradlew.bat shadowJar. The plugin JAR is written to build/libs/ResurrectionChest.jar. If the MC_DIST_DIR environment variable or the mcDistDir Gradle property is set, the build also copies the JAR into that folder. The test suite runs on a Java 25 toolchain, so ./gradlew build also needs JDK 25.
MagmaCore resolves from Maven Local before MagmaGuy's Maven repository. When the source needs MagmaCore changes newer than the published build, publish MagmaCore to Maven Local first, as described in Building a consumer after library changes.
The Java plugin API page covers the Maven artifact and what an integration can rely on.