
6.7K
18
Список изменений
v1.6 - Overhaul & Data Safety Update
🎁 New Features
-
More Accurate Extra Inventory Slots
- Rank #1-2: Now get 54 slots (was 30/27) - Full double chest!
- Rank #3-10: New progressive formula gives 15-50 slots (was 3-24)
- Top ranks now have significantly more storage space
-
Rank Stealing Toggle (NEW Config Option)
- Added
gameplay.keep-ranksoption in config. yml - Set to
trueto disable rank stealing on death - Defaults to
false(rank stealing enabled as before) - Allows for different server playstyles
- Added
-
Automatic Database Migration System
- New
DatabaseMigrator.javahandles format upgrades automatically - Safely migrates old inventory data to new format
- Tracks migration status to prevent duplicate migrations
- No manual action required - happens automatically on first startup
- New
🔧 Improved
-
Dynamic Inventory Resizing
- Extra inventories now automatically resize when rank changes
- Items preserved during resize - excess items drop naturally
- Better handling of inventory size calculations
- Fixes issues with rank changes while inventory is open
-
Better Access Control
- New
hasExtraInventoryAccess(rank)method for cleaner code - New
getSlotsForRank(rank)centralizes slot calculation - More consistent access checking throughout plugin
- Easier to maintain and modify in future updates
- New
-
Improved Inventory Management
- Better handling of inventory state during rank changes
- More robust item preservation logic
- Proper cleanup when losing inventory access
- Fixed edge cases with inventory opening/closing
📊 Extra Inventory Slot Changes
| Rank | v1.5 Slots | v1.6 Slots | Change |
|---|---|---|---|
| #1 | 30 slots | 54 slots | +24 slots |
| #2 | 27 slots | 54 slots | +27 slots |
| #3 | 24 slots | 50 slots | +26 slots |
| #4 | 21 slots | 45 slots | +24 slots |
| #5 | 18 slots | 40 slots | +22 slots |
| #6 | 15 slots | 35 slots | +20 slots |
| #7 | 12 slots | 30 slots | +18 slots |
| #8 | 9 slots | 25 slots | +16 slots |
| #9 | 6 slots | 20 slots | +14 slots |
| #10 | 3 slots | 15 slots | +12 slots |
🔄 Migration Notes
- ✅ NO BREAKING CHANGES - Update safely from v1.5 or v1.4!
- Database migration happens automatically on first startup
- Existing extra inventories are preserved
- No manual steps required
📝 Config Changes
gameplay:
keep-ranks: false # NEW - Set to true to disable rank stealing
🐛 Fixed
- Fixed inventory size mismatches when rank changes rapidly
- Fixed potential item duplication during inventory resize
- Improved inventory state consistency
- Better error handling for database operations
📦 Technical Details
- Refactored inventory slot calculation logic
- Better code maintainability and extensibility
Файлы
RankedSMP-1.6.jar(78.24 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.6
Загрузчики
BukkitPaperPurpurSpigot
Версии игры
1.21–1.21.11
Загрузок
636
Дата публикации
2 мес. назад
