▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/Ranked SMP
Ranked SMP

Ranked SMP

plugin inspired by the Ranked SMP Series

6.7K
18
Все версииRanked SMP 1.6

Ranked SMP 1.6

Release2 мес. назад

Список изменений

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-ranks option in config. yml
    • Set to true to disable rank stealing on death
    • Defaults to false (rank stealing enabled as before)
    • Allows for different server playstyles
  • Automatic Database Migration System

    • New DatabaseMigrator.java handles 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

🔧 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
  • 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

Rankv1.5 Slotsv1.6 SlotsChange
#130 slots54 slots+24 slots
#227 slots54 slots+27 slots
#324 slots50 slots+26 slots
#421 slots45 slots+24 slots
#518 slots40 slots+22 slots
#615 slots35 slots+20 slots
#712 slots30 slots+18 slots
#89 slots25 slots+16 slots
#96 slots20 slots+14 slots
#103 slots15 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

Загрузчики

Bukkit
Paper
Purpur
Spigot

Версии игры

1.21–1.21.11

Загрузок

636

Дата публикации

2 мес. назад

Загрузил

ID версии

Главная