
Chest Spawn
ChestSpawnPlugin is a flexible and fully customizable plugin for Paper Spigot Bukkit Purpur servers that automatically spawns random loot chests at configurable intervals and locations.
Список изменений
SpawnChestPlugin v4.2.0 - Release Notes
Custom Loot System Overhaul
Version 4.2 introduces a complete redesign of the custom loot editor with advanced configuration options and improved safety features.
Major Changes
Dynamic Chest Sizing
- Toggle between single chest (27 slots) and double chest (54 slots)
- Items automatically transfer when expanding chest size
- Excess items safely drop at player's location when downsizing
- Configuration settings persist through size changes
Configurable Drop Rates
New fraction system allows precise control over item spawning:
- 10 options: All items, 1/2, 1/3, 1/4, 1/5, 1/6, 1/7, 1/8, 1/9, 1/10
- Items are shuffled randomly on each spawn
- Allows fine-tuning of loot balance per tier
- Current setting displayed in edit menu
Protected Reset System
Two-step confirmation prevents accidental data loss:
- First confirmation menu shows current item count and warns about deletion
- Second confirmation menu requires final approval
- Settings (chest type, drop rate) are preserved during reset
- Only item list is cleared
- Cancel option available at both stages
Configuration Preservation
Reset now intelligently preserves your settings:
- Chest type setting retained
- Drop rate fraction retained
- Only removes items from loot table
- Enables faster reconfiguration
Technical Improvements
GUI Stability
- Fixed bug where control buttons could be moved despite protection
- Fixed button click responsiveness issues
- Improved inventory state management during menu transitions
- Better session tracking across multiple menu changes
- Fixed timing issue that caused buttons to stop working
Validation and Safety
- Fixed inventory size validation errors (63 slot error)
- Added proper checks for chest area boundaries
- Improved item transfer logic
- Added atomic save operations for custom loot data
- Enhanced drag and drop protection
Localization
- Added 30+ new translation keys for all features
- Updated all 10 supported languages
- Context-aware messages throughout new system
- Consistent terminology across menus
Bug Fixes
- Fixed control buttons becoming movable in certain scenarios
- Fixed edit menu buttons not responding after opening from main menu
- Fixed inventory close event clearing state prematurely
- Fixed drag protection not blocking all control area slots
- Fixed shift-click allowing items into control buttons
- Fixed number keys bypassing protection
- Resolved session state conflicts during rapid menu switching
Upgrade Instructions
- Backup your current SpawnChestPlugin folder
- Replace the old JAR file with version 4.2
- Restart your server
- Existing custom loot configurations will be automatically migrated
- No manual configuration changes required
Your custom loot tables will remain intact and functional.
Configuration Example
After upgrading, you can now configure loot like this:
Balanced Rare Chest:
- 30 items configured in double chest (45 usable slots)
- Drop rate set to 1/3
- Result: Each chest spawns with 10 random items from the pool
High-tier Legendary Chest:
- All 9 legendary items plus 20 support items
- Drop rate set to All
- Result: Every configured item spawns in every chest
Command Changes
No new commands added. The /putintothechest command now opens the improved editor interface.
API Notes
No breaking changes for developers. All existing API methods remain functional. New methods added to CustomLootManager class for accessing chest size and fraction settings.
Performance
- All GUI operations are thread-safe
- No performance impact from new features
- Inventory management optimized for servers with high player counts
- Atomic file operations prevent corruption during saves
Documentation
Full documentation updated on GitHub Wiki covering:
- Step-by-step custom loot editor guide
- Chest type and fraction system explanation
- Reset system walkthrough
- Best practices for loot configuration
- Troubleshooting common issues
Feedback
Report bugs or suggest features:
- Issues: GitHub Issues
- Discord: Join our Discord
Version 4.2.0 - February 2026
