Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| deathbackup-fabric_1.19.x-1.7.jar release | 13.66 KB | Jun 7, 2022 | 1.19 | 5 | Download |
| deathbackup-fabric_1.19.x-1.5.jar release | 13.62 KB | Mar 2, 2022 | 1.19-Snapshot | 52 | Download |
| deathbackup-fabric_1.18.x-1.5.jar release | 16.52 KB | Nov 30, 2021 | 1.18.2 | 9,939 | Download |
| deathbackup-fabric_1.17.x-1.5.jar release | 16.92 KB | Sep 25, 2021 | 1.17.1 | 394 | Download |
| deathbackup-fabric_1.16.x-1.5.jar release | 16.79 KB | Sep 25, 2021 | 1.16.5 | 66 | Download |
Description





Requires the library mod Collective (Fabric) and the Fabric API.
This mod is part of The Vanilla Experience.
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.
Configurable: ( how do I configure? )
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.
Commands:
/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.
Images:
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'.









Get 0.05 TON 💎
Download
Add a comment