Skip to content

A Minecraft Spigot plugin that creates a chest containing your items when you die, instead of scattering them on the ground.

License

Notifications You must be signed in to change notification settings

McKenzieJDan/FriendlyDeathChest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FriendlyDeathChest

A Minecraft Spigot plugin that creates a chest containing your items when you die, instead of scattering them on the ground.

SpigotMC Donate

Features

  • 📦 Automatically creates a chest at death location containing all your items
  • 📍 Sends coordinates of the chest to the player in chat
  • 🔒 Protection system to prevent other players from accessing your death chest
  • 🪧 Customizable signs and holograms with time remaining display
  • ⚙️ Highly configurable with experience storage, automatic cleanup, and more

Installation

  1. Download the latest release from Spigot or GitHub Releases
  2. Place the JAR file in your server's plugins folder
  3. Restart your server
  4. Configure the plugin in the config.yml file

Usage

When a player dies, a chest will automatically be created at their death location containing all their items. The player will receive a message with the coordinates of the chest. The chest will be protected so only the owner can access it.

Commands

  • /fdc reload - Reload the configuration
  • /fdc version - Display the plugin version

Permissions

  • friendlydeathchest.chest - Allows players to have a death chest created when they die (default: true)
  • friendlydeathchest.admin - Access to admin commands and bypass chest protection (default: op)

Configuration

The plugin's configuration file (config.yml) is organized into logical sections:

# General Settings
enabled: true
create-chest: true
chest-lifetime: 15  # Minutes, -1 for no limit

# Death Chest Settings
protect-chest: true
named-chest: true
store-experience: true

# Hologram Settings
enable-hologram: true
hologram-text: "&4{player}'s Death Chest &7({time})"
show-time-remaining: true

# Sign Settings
enable-sign: true
sign-material: OAK

For detailed configuration options, see the comments in the generated config.yml file.

Requirements

  • Spigot/Paper 1.21.4
  • Java 21+

Development

To build the plugin yourself:

  1. Clone the repository
  2. Run mvn clean package
  3. Find the built jar in the target folder

Support

If you find this plugin helpful, consider buying me a coffee

License

MIT License

Made with ❤️ by McKenzieJDan

About

A Minecraft Spigot plugin that creates a chest containing your items when you die, instead of scattering them on the ground.

Topics

Resources

License

Stars

Watchers

Forks

Languages