Death Backup

💾 Creates back-ups of player inventories before death, which can be loaded via commands.

95,56k

Death Backup

<p style="text-align: center;"><center><a href="https://serilum.com/" target="_blank" rel="noopener noreferrer"><img src="https://cdn.serilum.com/description/header/header.png" alt="" width="838" height="400" /></a></p><p style="text-align: center;"><a href="https://curseforge.com/members/serilum/projects" target="_blank" rel="noopener noreferrer"><img src="https://wsrv.nl/?url=https://workflow.serilum.com/badges/svg/curseforge.svg&w=400" width="200" /></a> <a href="https://modrinth.com/user/Serilum" target="_blank" rel="noopener noreferrer"><img src="https://wsrv.nl/?url=https://workflow.serilum.com/badges/svg/modrinth.svg&w=400" width="200" /></a> <a href="https://patreon.com/serilum" target="_blank" rel="noopener noreferrer"><img src="https://wsrv.nl/?url=https://workflow.serilum.com/badges/svg/patreon.svg&w=400" width="200" /></a> <a href="https://youtube.com/@serilum" target="_blank" rel="noopener noreferrer"><img src="https://wsrv.nl/?url=https://workflow.serilum.com/badges/svg/youtube.svg&w=400" width="200" /></a></center></p><p><strong><span style="font-size: 24px;">Requires the library mod <a style="font-size:24px" href="https://modrinth.com/mod/collective" target="_blank" rel="nofollow">Collective</a>.</span></strong><br><br><strong>   This mod is part of <span style="color:#008000"><a style="color:#008000" href="https://modrinth.com/modpack/the-vanilla-experience" target="_blank" rel="nofollow">The Vanilla Experience</a></span> modpack and <span style="color:#804d4f"><a style="color:#804d4f" href="https://modrinth.com/mod/serilums-extra-bundle" target="_blank" rel="nofollow">Serilum's Extra Bundle</a></span> mod.</strong><br><span style="font-size:18px">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 '<em>/deathbackup load <index></em>' command. '<em>/deathbackup list</em>' 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.<br></span><br><br><strong><span style="font-size:20px">Configurable:</span> <span style="color:#008000;font-size:14px"><a style="color:#008000" href="https://github.com/Serilum/.information/wiki/how-to-configure-mods" rel="nofollow">( how do I configure? )</a></span><br></strong><span style="font-size:12px"><strong>sendBackupReminderMessageToThoseWithAccessOnDeath</strong> (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.</span><br><span style="font-size:12px"><strong>backupReminderMessage</strong> (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.</span><br><br><br><span style="font-size:18px"><strong>Commands:</strong></span><br><span style="font-size:14px"><em>/deathbackup</em> - Shows the commands available.</span><br><span style="font-size:14px"><em>/deathbackup list</em> - Shows a list of the latest death with indices.</span><br><span style="font-size:14px"><em>/deathbackup load <index></em> - Loads the death backup specified by <em><index></em> in '<em>/deathbackup list</em>'. Index 0 is always the latest death.</span><br><br><br><span style="font-size:18px"><strong>Images:</strong></span><br><span style="font-size:14px">Whenever a player dies, their inventory and gear is saved to '<em>./world-folder/data/deathbackup/time.txt</em>'. 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.</span><br><img src="https://cdn.serilum.com/projects/death-backup/a.png" width="1142" height="623"><br><br><span style="font-size:14px">With the command '<em>/deathbackup list</em>' all recent death backups can be seen. Index 0 is always the latest.</span><br><img src="https://cdn.serilum.com/projects/death-backup/b.jpg" width="1142" height="623"><br><br><span style="font-size:14px">Using the '<em>/deathbackup load 0</em>' command to load the latest inventory prior to the latest death.</span><br><img src="https://cdn.serilum.com/projects/death-backup/c.jpg" width="1142" height="623"><br><br><span style="font-size:14px">Another example with items with NBT tags such as enchantments and written books:</span><br><img src="https://cdn.serilum.com/projects/death-backup/d.png" width="1142" height="623"><br><br><span style="font-size:14px">The last inventory is loaded without problems by doing '<em>/deathbackup load 0</em>'.</span><br><img src="https://cdn.serilum.com/projects/death-backup/e.png" width="1142" height="623"></p>
<p><br>------------------<br><br><span style="font-size:24px"><strong>You may freely use this mod in any modpack, as long as the download remains hosted within the Modrinth ecosystem.</strong></span><br><br><span style="font-size:18px"><a style="font-size:18px;color:#008000" href="https://serilum.com/" rel="nofollow">Serilum.com</a> contains an overview and more information on all mods available.</span><br><br><span style="font-size:14px">Comments are disabled as I'm unable to keep track of all the separate pages on each mod.</span><span style="font-size:14px"><br>For issues, ideas, suggestions or anything else there is the <a style="font-size:14px;color:#008000" href="https://github.com/Serilum/.issue-tracker" rel="nofollow">Github repo</a>. Thanks!</span><span style="font-size: 6px;"><br /><br /></span></p>

ADS