Death Backup
💾 Creates back-ups of player inventories before death, which can be loaded via commands.
介绍
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:
Show Spoiler
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.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
常见问题
Death Backup 支持哪些 Minecraft 版本?
Death Backup 支持 Minecraft Java 版 1.12.2–26.3,共 39 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。
Death Backup 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge / Quilt,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
Serilum 的其他作品
查看全部 →Collective
🎓 Collective 是 Serilum 所有模组共用的前置库,包含通用代码。
Starter Kit
📦 为加入世界的新玩家提供可配置的初始装备、物品、药水效果、Curios 和 Trinkets 饰品槽位和/或命令。兼容 FTB Team Islands。
Villager Names
为所有村民实体添加默认名称或自定义名称,让世界更加生动。
Double Doors
🚪 多个相同的双开门、活板门和栅栏门可以同时打开。

评论
登录后评论和评分