Death Backup is a mod which saves the inventory of a player right before their death to a file in the world folder. If a player has cheat-access, they can reload the inventory via the '/deathbackup load <index>' command. '/deathbackup list' shows all the latest deaths with indices which can be retrieved. The inventories are saved in a folder with the players' name, so it works in server environments as well as singleplayer.
All available config options:
sendBackupReminderMessageToThoseWithAccessOnDeath default true
When enabled, sends a message to a player when they die and have cheat-access that a backup has been created and can be loaded.
backupReminderMessage default "A backup of your inventory before your death has been created and can be loaded with '/deathbackup load 0'."
The message sent to players with cheat-access when 'sendBackupReminderMessageToThoseWithAccessOnDeath' is enabled.
/deathbackup - Shows the commands available.
/deathbackup list - Shows a list of the latest death with indices.
/deathbackup load <index> - Loads the death backup specified by <index> in '/deathbackup list'. Index 0 is always the latest death.
Whenever a player dies, their inventory and gear is saved to './world-folder/data/deathbackup/time.txt'. By default a message is sent to the player with a reminder if they have cheat-access, but this can be disabled in the config.
With the command '/deathbackup list' all recent death backups can be seen. Index 0 is always the latest.
Using the '/deathbackup load 0' command to load the latest inventory prior to the latest death.
Another example with items with NBT tags such as enchantments and written books:
The last inventory is loaded without problems by doing '/deathbackup load 0'.
You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.
Serilum.com contains an overview and more information on all mods available.
Comments are disabled as I'm unable to keep track of them across so many separate mod pages.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21.11, 1.21, 1.21.1
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on CurseForge — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Death Backup is a free Minecraft Java mod. Compatible with Minecraft 1.21.11, 1.21, 1.21.1, 1.20.1 and newer. Downloaded 5,374,190 times (via CurseForge). Download it and open it directly in the game.
