SavedLoot
PluginCC-BY-4.0

SavedLoot

Saves the player's inventory upon death.

5
Downloads
0
Followers
2 months ago
Updated
📦
1
Versions

📖About SavedLoot

SavedLoot.mechanics

LootInventory

LootInventory is a Minecraft plugin that automatically spawns a chest containing a player’s items upon death. This ensures that lost items can be safely retrieved, even if other players are nearby.


Features

  • Death Chest: Spawns a chest at the player’s death location containing their inventory.
  • Claim Items: Players can right-click the chest to reclaim their items. Any player can access the items if necessary.
  • Configurable Worlds: Chests only spawn in enabled worlds.
  • Survival Mode Only: The chest spawns only if the player was in Survival mode.
  • Customizable Messages: Display messages on signs and in chat with HTML color codes.
  • Custom Chest Blocks: Choose which block types can replace the default loot chest.
  • Inventory Retention: If inventory retention is enabled in the world, chests will not appear

Configuration

The plugin settings are stored in config.yml in the plugin folder:

  • table_text – the message displayed on the sign above the chest.
  • worlds – list of worlds where loot chests can spawn.
  • messages – customizable messages with HTML color codes.
  • blocks – names of the block types that can replace the loot chest.

Commands

The plugin provides the /lootinventory command (alias /li):

  • /lootinventory recovery <player> <chest> – gives the specified player the contents of a selected loot chest. command
  • /lootinventory addworld <world> – adds a world to the list of allowed worlds where chests can spawn.command2

Requirements

  • Minecraft server with Survival mode enabled for the plugin to spawn death chests.
  • Inventory saving should be disabled to ensure proper functionality.