promotional bannermobile promotional banner

DeathChest999

Death Chests - A plugin that leaves a chest containing all your items when you die, announces your death coordinates in chat, and automatically removes the chest after a customizable time period.

File Details

DeathChest-1.0.8.jar

  • R
  • Jan 5, 2026
  • 56.53 KB
  • 88
  • 1.21.11+8

File Name

DeathChest-1.0.8.jar

Supported Versions

  • 1.21.5-Snapshot
  • 1.21.11
  • 1.21.10
  • 1.21.9
  • 1.21.8
  • 1.21.7
  • 1.21.6
  • 1.21.5
  • 1.21.4
### New Features

#### Customizable Messages System
- Added full message customization through config.yml
- All plugin messages can now be edited by server administrators
- Support for color codes using the ampersand (&) symbol
- Placeholder support for dynamic values including:
  - %player% - Player name
  - %world% - World name
  - %x%, %y%, %z% - Coordinates
  - %time% - Time remaining or delay
  - %items% - Item count
  - %xp% - Experience points
  - %cost% - Economy cost
  - %max% - Maximum chest limit
  - %distance% - Distance to chest
  - %created% - Creation timestamp
  - %count% - Restored chest count
  - %amount% - Item amount
  - %item% - Item name
- Configurable message prefix

#### Per-World Settings
- Death chests can now be enabled or disabled per world
- Configurable chest lifetime per world
- Configurable economy cost per world
- Configurable XP storage percentage per world
- Default world settings for unlisted worlds
- Useful for disabling death chests in minigame worlds or adjusting settings for different dimensions

#### Particle and Sound Effects
- Configurable particle effects when a death chest is created
- Configurable particle effects when a death chest is opened
- Configurable particle effects when a death chest expires
- Ambient particle effects around active death chests
- Configurable sound effects for chest creation, opening, and expiration
- Adjustable particle count for all effect types
- Adjustable sound volume and pitch
- Configurable ambient effect interval
- All effects can be individually enabled or disabled

#### Floating Holograms
- Floating text display above death chests using invisible armor stands
- Displays owner name above the chest
- Displays countdown timer showing time remaining
- Displays item count stored in the chest
- Displays XP amount stored in the chest
- Fully customizable hologram lines through config
- Configurable hologram height offset
- Configurable hologram update interval
- Holograms automatically update to show current time remaining
- Holograms automatically removed when chest expires or is emptied

#### XP Storage System
- Player experience points are now saved when dying
- XP is stored in the death chest along with items
- XP is returned to the player when opening the death chest
- Configurable XP storage percentage (0-100%)
- Per-world XP storage percentage settings
- XP amount displayed in hologram and info command

#### Admin Commands
- New /deathchest admin command group for server administrators
- /deathchest admin list - View all active death chests on the server with owner, location, and time remaining
- /deathchest admin delete <player> - Delete a specific player's death chest
- /deathchest admin tp <player> - Teleport to a player's death chest location
- /deathchest admin view <player> - View the contents of a player's death chest without opening it
- /deathchest admin restore - Restore all recently expired death chests
- Admin permission to open other players' death chests
- Admin permission to break other players' death chests

#### Info Command
- New /deathchest info command for players
- Displays detailed information about all active death chests
- Shows exact chest location with world and coordinates
- Shows detailed time remaining in hours, minutes, and seconds
- Shows total item count stored in each chest
- Shows XP amount stored in each chest
- Shows distance from player's current location to each chest
- Shows creation timestamp for each chest

#### Expired Chest System
- Expired death chests are now saved to a separate file
- Administrators can restore expired chests using the restore command
- Expired chest data includes original location, contents, owner, and XP
- Restoration creates new death chests with the saved contents

#### Tab Completion
- Full tab completion support for all commands
- Tab completion for subcommands (list, back, info, reload, admin)
- Tab completion for admin subcommands (list, delete, tp, view, restore)
- Tab completion for player names in admin commands
- Permission-aware tab completion (only shows commands player has access to)

### Improvements

#### Command System
- Reorganized command structure with proper subcommand handling
- Better help messages showing available commands
- Permission-based help display (only shows commands player can use)
- Improved error messages with customizable text
- Console command support where applicable

#### Chest Management
- Improved chest creation with world settings support
- Better handling of chest contents serialization
- Automatic chest removal when emptied by player
- Improved chest lookup by owner name (supports offline players)
- Added chest ID tracking for better management

#### Configuration
- Expanded config.yml with all new settings
- Organized configuration sections for clarity
- Default values provided for all settings
- Comments describing each configuration option

#### Permissions
- New permission: deathchest.admin - Access to admin commands
- New permission: deathchest.admin.open - Open other players' chests
- New permission: deathchest.admin.break - Break other players' chests
- Updated permission hierarchy with deathchest.* wildcard

#### Data Storage
- New expired_chests.yml file for storing expired chest data
- Improved chests.yml structure with additional data fields
- Added storedXp field to chest data
- Added customLifetime field for per-world lifetime support

---