Skip to content

BravenSpawner 1.4.0 — exact-count vault, crash-safe selling, SuperiorSkyblock2 and island worlds

Choose a tag to compare

@YanIanZ YanIanZ released this 01 Nov 14:59
· 14 commits to main since this release
ef9e080

Supports Paper 1.21.1 → 26.2, Folia, and region-threaded SourbyCraft.

New

  • Exact-count virtual storage. Each item kind is stored as one entry with an exact 64-bit count (no more int ceiling around 2.1 billion), using checked arithmetic. New limits: storage-limits.max-distinct-items and max-per-item, alongside the product's total cap.
  • Crash-safe selling. A sale first moves the priced items into an escrow inside the spawner record, saves it, and only then asks the economy to pay. A crash can no longer duplicate value. Sales whose payment outcome is unknown after a restart are held and resolved with /bspawner escrow list|refund|confirm.
  • SuperiorSkyblock2:
    • island privileges for use, place and break (CHEST_ACCESS, BUILD, SPAWNER_BREAK by default);
    • island members share their island's spawners;
    • spawner-rates and mob-drops upgrade multipliers apply;
    • spawner records are cleaned up when an island is disbanded;
    • autosell pays only current island members.
  • Island worlds: SourbyCraft Aurora World Fabric and InfernalSuite AdvancedSlimePaper. Production and holograms pause when an island world unloads and resume when it loads. Aurora MultiProfile purses stay separate: a spawner on one profile's island never pays into another profile.
  • Per-action permissions: bravenspawner.action.sell|xp|upgrade|buy (all default true).
  • More chat lines are configurable in messages.yml; the stacking and booster sounds play.

Fixes and performance

  • Production: each spawner runs one delayed-task chain instead of reinstalling a repeating task every cycle, and the next delay is computed outside the shared lock.
  • Hoppers: spawners without a hopper no longer cost a region task every 8 ticks.
  • Ninja mode: only spawners within view distance are checked.
  • Missing blocks: a spawner whose block vanished (explosion, WorldEdit) pauses with one warning instead of producing invisibly.
  • Restore: restore-missing-spawners is now audited.
  • Sell wand: uses are charged at the click; switching slots no longer keeps a use.

Upgrade notes

  • No schema migration. Stored data loads unchanged, and entries of the same item kind are merged on load.
  • Downgrading to 1.3.x: values above 2,147,483,647 of one item are clamped, and records saved mid-sale (codec v3) are quarantined (kept, not loaded). Back up first and resolve /bspawner escrow.
  • The new config sections (storage-limits, superiorskyblock) are optional; defaults keep existing behaviour.

Verification

  • 305 unit tests; CI green.
  • An independent code review of the release found 10 issues: 9 are fixed and 1 is accepted, see CODE_REVIEW.md.
  • Not yet tested live: in-game player flows, Folia/SourbyCraft, SuperiorSkyblock2, AWF/ASP worlds, economy/shop providers, MySQL/Mongo, and crash recovery. See TESTER_OWNER.md, OWN-13 and OWN-17 to OWN-26.

SHA-256: ada2617c09c9d5a19a5a0679737dc1aa76ced2bea0b0ca669cd7372492b2998a

Full changelog: CHANGELOG.md