Skip to content

Release 2.1.1

Choose a tag to compare

@tastybento tastybento released this 27 Aug 04:34
· 3 commits to master since this release
610aee5

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

  1. Stop the server.
  2. Replace the old TopBlock jar in plugins/BentoBox/addons/ with the new one.
  3. 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