Skip to content

BravenSpawner 1.2.1 — SQLite fix, hex colours, safe storage, UI polish

Choose a tag to compare

@YanIanZ YanIanZ released this 30 Oct 06:11
· 66 commits to main since this release
a498f42

Highlights

  • Fix: startup crash UnsatisfiedLinkError: ...libs.sqlite.core.NativeDB._open_utf8. It came from stale 1.2.0-dev jars with relocated org.sqlite. Every build now opens SQLite through the shipped jar (ShadedSqliteTest).
  • Colours and Unicode: &#RRGGBB, {#RRGGBB}, <#RRGGBB>, &x&R&R…, MiniMessage (<gradient>, <rainbow>, …), \uXXXX / \U0001F525 escapes. Item text is no longer italic.
  • Safe storage: if the database can't be opened, the plugin enters safe mode instead of silently switching to YAML (which could dupe items). /bspawner doctor shows the cause.
  • Exploits closed: spawner XP farming, vanilla items acting as boosters, tier upgrades that slowed spawners, over-max stacks from "take all".
  • UI/UX: new messages.yml with a gradient prefix. Every menu placeholder and action works (Bedrock buttons, right-click take 64 / sell). Sell all, Collect all and Buy max ask for confirmation. Added GUI sounds, owner-visible history and tidier menus.
  • Modernised: Gradle version catalog; sqlite-jdbc 3.54, HikariCP 7.1, MySQL 26.10, MongoDB 5.14; protobuf relocated.

Upgrade notes

  • Delete plugins/BravenSpawner/gui/storage.yml and gui/log.yml so they regenerate. The old files have no content rows.
  • Holograms now respect holograms.yml: enabled (default false).
  • The SQL schema migrates automatically to v2 (corrupted_at).
  • The chunk limit now counts spawner blocks; set spawner-limit-in-chunk-mode: stacks for the old behaviour.
  • Removed the plain-material boosters.items option: only tagged booster items work.

Verification

  • 148 tests passing; CI green.
  • Live smoke test on Paper 1.21.1-133 / Java 21: SQLite storage, doctor, reload, and safe mode with MySQL unreachable.
  • Not yet tested: in-game player interaction, Folia, live MySQL/Mongo, shop plugins.

SHA-256: 97b2e9e9db0002600ee34e3163f076256407b14b7de0f78c4e10c34506c34d45

Full changelog: CHANGELOG.md