Release 2.1.1
Patch release that fixes periodic server lag spikes caused by the top ten refresh.
🐛 Bug Fixes
- Top ten refresh no longer stalls the main thread — the refresh task (default every 5 minutes) read the game mode's entire island database synchronously on the main thread, which profiled at up to ~1 second per cycle on servers with many islands (and ran twice when both AOneBlock and ChunkBlock were hooked). The database read now runs on an async task, and only the cheap island/permission lookups happen on the main thread, eliminating the periodic lag spike. [PR #18]
There are no config, locale, or data format changes — this is a drop-in replacement for 2.1.0.
Compatibility
✔️ BentoBox API 3.14.0
✔️ Minecraft 1.21.x (Paper)
✔️ Java 21
Upgrading
- Stop the server.
- Replace the old TopBlock jar in
plugins/BentoBox/addons/with the new one. - Restart the server.
What's Changed
- Load island data off the main thread to fix periodic lag spikes by @tastybento in #18
Full Changelog: 2.1.0...2.1.1