Skip to content

Release 1.1.0

Latest

Choose a tag to compare

@tastybento tastybento released this 08 Aug 20:12
06524f8

ChunkBlock 1.1.0

Claiming chunks is now a deliberate, two-step act that a stray swing cannot trigger, and islands can decide for themselves who is allowed to spend their level credit. This release also carries a data-loss fix ported from AOneBlock — and with it, a new minimum BentoBox version.

Highlights

  • 🔺 ⚙️ 🔡 Claims are confirmed before they are paid for — hitting the border used to spend the island's levels on the very first swing, so one stray click near the frontier cost a chunk's worth of credit with no way back. Now the first hit outlines the target chunk and quotes its price, and only a second hit made while sneaking pays for it. A hit that could not claim anyway — no credit, beyond the protection range, not adjacent — skips the preview and behaves exactly as before. [PR #17]
  • ⚙️ 🔡 Islands choose who may claim — expansion was hard-coded to the island owner, and a teammate who hit the border got no message at all, which read as a broken mechanic rather than a permission. Who may spend credit is now the CHUNKBLOCK_CLAIM_CHUNKS island setting, so an island can open expansion to sub-owners, members, trusted or coop from the normal settings GUI. It defaults to owner rank, so nothing changes until an island says otherwise. Teammates below the rank are now told why. Part of #6 [PR #19]
  • 🔺 ⚙️ Island progress survives a server restart — a player could break 30 blocks, the server would restart while they were online, and they would come back with those blocks un-broken, every time. ChunkBlock is a Pladdon, so the server disables it before BentoBox: the shutdown save was queued rather than written, and older cores discarded that queue silently. The shutdown save is now written directly, and the periodic checkpoint is configurable (island.save-every, default 10, was a hardcoded 50). Ported from AOneBlock#550. [PR #18]

🔺 ChunkBlock now requires BentoBox 3.22.0 or newer. The shutdown fix uses saveObjectNow(), which is 3.22.0 API, so addon.yml api-version moved from 3.13.0 to 3.22.0. This is deliberate rather than cosmetic: on an older core the addon would otherwise load and then throw NoSuchMethodError at shutdown, which is worse than the bug being fixed. With the bump, BentoBox refuses to load it and tells you to update. Update BentoBox before updating ChunkBlock.

⚙️ Config note: new keys chunkblock.claim.require-confirmation (default true), chunkblock.claim.confirmation-timeout (default 15 seconds), and island.save-every (default 10). CHUNKBLOCK_CLAIM_CHUNKS: 1000 is added to default-island-flags. Existing config files gain the new keys with defaults on first load.

🔺 Claim confirmation is on by default, which changes how claiming feels on an existing server mid-season. If you would rather keep the old one-hit claim, set chunkblock.claim.require-confirmation: false.

🔡 Locale note: new keys chunkblock.chunks.claim-confirm and protection.flags.CHUNKBLOCK_CLAIM_CHUNKS.* (name, description, hint). Non-English locales will show the raw key until translated; regenerate or update customized locale files.

Compatibility

✔️ BentoBox API 3.22.0+
✔️ Minecraft 1.21+
✔️ Java 21

Upgrading

  1. Take backups of your server, for safety.
  2. Stop the server.
  3. Update BentoBox to 3.22.0 or newer first — ChunkBlock will not load on an older core.
  4. Replace the ChunkBlock jar in plugins/BentoBox/addons/ and delete the old one.
  5. Start the server.
  6. Optionally set chunkblock.claim.require-confirmation: false if you prefer the old one-hit claim, and adjust island.save-every if you want a tighter or looser checkpoint.
  7. If you customized your locale files, add the new keys listed above.

How claiming works now

  1. Walk into the border — you get the usual claim hint.
  2. Hit the border — the target chunk is outlined in yellow and you are quoted the price, including the credit you will have left.
  3. Sneak and hit the same chunk again within 15 seconds — the credit is spent and the chunk opens up.

Aiming at a different chunk re-quotes instead of confirming, an expired quote re-quotes, and logging out drops it. Sneaking is what separates the confirming gesture from an ordinary swing: normal mining cadence lands a second hit about a quarter of a second after the first, which would otherwise confirm on its own.

Legend

  • 🔡 — locale files may need to be regenerated or updated.
  • ⚙️ — config options have been removed, renamed, or added.
  • 🔺 — special attention needed.

What's Changed

  • 🔺 ⚙️ 🔡 Confirm chunk claims before spending level credit by @tastybento in #17
  • 🔺 ⚙️ fix: do not lose island progress when the server restarts by @tastybento in #18
  • ⚙️ 🔡 Let islands choose who may claim chunks by @tastybento in #19
  • ci: build on JDK 25 so BentoBox 3.22.0 class files can be read by @tastybento in #18
  • Remove AOneBlock's CurseForge id from the publish workflow by @tastybento

Full Changelog: 1.0.1...1.1.0