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

Island Level & Leaderboards

Island level calculator and server leaderboards. Track progression and compete across all BentoBox game modes.

Оцените первым
1.0K
2

2.26.0

Release04.05.2026

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

🎁 What's new

Level 2.26.0 makes the donation GUI fully configurable. Server admins can now resize the donate panel from 1 to 6 rows, relocate the four named buttons (INFO / CANCEL / PREVIEW / CONFIRM), swap their icons, and add decorative items — all by editing a new panels/donation_panel.yml template, exactly the way the value, detail, and top-ten panels already work. The donation grid auto-fills every cell that isn't a border or named button, so changing the layout doesn't require touching any code.

This is otherwise a quiet release — no API breaks, no locale changes, and no config.yml migrations. The bulk of the diff is internal: SonarCloud cleanup on the new panel code and a long-overdue JUnit 4 → JUnit 5 migration that turned on 18 previously-skipped tests.

✨ Highlights

⚙️ Configurable Donation Panel (#420)

  • New panels/donation_panel.yml template controls panel size, button positions, and icons
  • force-shown: [1,2,3,4] controls how many rows the panel uses (1–6 supported)
  • The four named buttons are placed by data.type: INFO, CANCEL, PREVIEW, CONFIRM
  • Decorative items (any cell with no recognised data.type) reserve their slot so donated blocks won't stomp them
  • If the template is missing or any of the four required buttons isn't present, the panel falls back to the previous hardcoded 4-row layout — never renders a half-broken UI
  • Listener logic (drag, click, validation, item return) is unchanged; only slot resolution is template-driven

🐛 Donation Panel Polish

  • Decorative template items now actually render in the inventory (previously their slots were reserved but the icon wasn't placed)
  • Custom title: on the donation panel template is now respected
  • force-shown is parsed as a list (consistent with the other panel YAMLs) instead of a scalar
  • The "could not load template" error log no longer appends the noisy missing-resource exception message

🧪 Internal — Test Suite Modernisation

  • LevelsManagerTest and EquationEvaluatorTest migrated from JUnit 4 to JUnit 5; without the vintage engine on the classpath they had been silently skipped, so 18 tests are now actually running again
  • All JUnit 5 test classes and methods lowered to default visibility per Sonar S5786
  • SonarCloud findings on the new donation panel code addressed (cognitive complexity, parameter count, method references)

⚙️ Compatibility

✔️ BentoBox API 3.14.0+ ✔️ Minecraft 1.21.x ✔️ Java 21

🔺 Updating — important notes

⚙️ Donation panel layout. A new panels/donation_panel.yml is shipped in the addon's data folder on first launch. To customise the layout, edit that file — the comments inside walk through what each section does. If you don't touch it, the panel renders identically to 2.25.0.

📥 How to update

  1. Stop the server
  2. Back up your BentoBox folder
  3. Drop the new Level-2.26.0.jar into the addons folder and remove the old one
  4. Start the server

Legend

  • ⚙️ config options have been removed, renamed, or added

What's Changed

  • ⚙️ feat: make donation panel size and layout configurable by @tastybento in https://github.com/BentoBoxWorld/Level/pull/420

Full Changelog: https://github.com/BentoBoxWorld/Level/compare/2.25.0...2.26.0

Файлы

Level-2.26.0.jar(267.42 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

2.26.0

Загрузчики

Paper
Purpur

Версии игры

1.21.5–26.1.1

Загрузок

24

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

04.05.2026

Загрузил

ID версии

Главная