
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
2.5K
5
Список изменений
Bug 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
Файлы
DeathChest-1.0.2.jar(14.54 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.0.2
Загрузчики
BukkitPaperPurpurSpigot
Версии игры
1.21–1.21.8
Загрузок
124
Дата публикации
6 мес. назад
