File Details
Level-2.26.0.jar
- R
- May 7, 2026
- 267.51 KB
- 3
- 26.1.2+10
File Name
Level-2.26.0.jar
Supported Versions
- 26.1.2
- 26.1.1
- 26.1
- 1.21.5-Snapshot
- 1.21.11
- 1.21.10
- 1.21.9
- 1.21.8
- 1.21.7
- 1.21.6
- 1.21.5
๐ 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.ymltemplate 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-shownis 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
LevelsManagerTestandEquationEvaluatorTestmigrated 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
- Stop the server
- Back up your BentoBox folder
- Drop the new
Level-2.26.0.jarinto the addons folder and remove the old one - 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