DeathChest999 1.0.2
on Aug 25, 2025Bug Fixes and Improvements
- Player vs Mob Death Handling Added explicit player instance check to prevent chests from spawning when mobs die Ensures the plugin only processes actual player death events
- Command Permission System Fixed broken permission logic that incorrectly allowed console access Now properly restricts commands to players only with appropriate permission checks
- Teleportation Safety Added success verification before removing death location data Death locations are now only cleared after confirmed successful teleportation
- Chest System Improvements Changed from unreliable double chest setup to single chest with custom identification Added custom name "DeathChest" to properly identify and track death chests Improved chest removal logic to only remove properly identified death chests
- Item Handling Enhancements Added comprehensive item restoration when chest creation fails Items are now properly dropped on ground if chest placement or serialization fails Improved overflow handling when chest inventory is full
- Configuration Management Added asynchronous configuration saving to prevent server lag Implemented proper YAML cleanup for expired chest entries Created reusable method for loading chest lifetime configuration
- Chunk Loading Optimization Made chunk loading asynchronous to prevent server performance issues Added safe chunk loading practices
- Chest Placement Safety Added block collision detection to prevent overwriting existing blocks Chests are now only placed in air blocks, with proper feedback to players
- Serialization Improvements Implemented safer ItemStack serialization with proper type checking Added error handling for serialization failures
- Code Cleanup Removed unused command registration for "deathchest999" Streamlined configuration reloading process Added proper error logging throughout the plugin
- Configuration Consistency Ensured chest lifetime configuration is properly loaded after reloads and changes Fixed configuration variable refresh after command executions
- Memory Management Added proper cleanup of expired chest data from configuration files Prevented configuration file size from growing indefinitely
DeathChest999 1.0.1
on Aug 21, 2025🐛 Critical Bug Fixes Location Object Modification Issue:
Resolved an issue where modifying the death location with an offset was causing incorrect path keys and behavior when managing chests. Incorrect Path Management for Chest Deletion:
Fixed the problem of deleting the wrong path from the configuration when removing chests after their expiration. BukkitRunnable Reference Crash:
Corrected the reference in the runTaskLater() method to ensure it points to the plugin class instead of the BukkitRunnable, preventing crashes. Null Pointer Exception Risks:
Added error handling to prevent potential null pointer exceptions when loading chest contents from the configuration, ensuring stability even with corrupted data. ✨ New Features & Improvements Auto-Clear Death Location on /back Command:
Implemented functionality to automatically clear a player's death location from memory and the configuration file after they teleport back to it. Enhanced Double Chest Implementation:
Improved the handling of double chests to ensure proper placement and management without affecting the original death location. Comprehensive Error Handling:
Introduced try-catch blocks for file operations and added null checks throughout the codebase to enhance robustness and prevent crashes. Improved Configuration Management:
Ensured that the chest.yml file is automatically created if it doesn't exist, and improved the saving and loading of death locations to persist across server restarts. 🔧 Technical Improvements Memory Management:
Enhanced the handling of player UUIDs for storing death locations, ensuring efficient memory usage and retrieval.
DeathChests999 V1.0
on Jul 25, 2025the first release