Repository navigation
BravenSpawner 1.2.1 — SQLite fix, hex colours, safe storage, UI polish
Highlights
- Fix: startup crash
UnsatisfiedLinkError: ...libs.sqlite.core.NativeDB._open_utf8. It came from stale1.2.0-devjars with relocatedorg.sqlite. Every build now opens SQLite through the shipped jar (ShadedSqliteTest). - Colours and Unicode:
&#RRGGBB,{#RRGGBB},<#RRGGBB>,&x&R&R…, MiniMessage (<gradient>,<rainbow>, …),\uXXXX/\U0001F525escapes. 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 doctorshows 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.ymlwith 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.ymlandgui/log.ymlso they regenerate. The old files have no content rows. - Holograms now respect
holograms.yml: enabled(defaultfalse). - The SQL schema migrates automatically to v2 (
corrupted_at). - The chunk limit now counts spawner blocks; set
spawner-limit-in-chunk-mode: stacksfor the old behaviour. - Removed the plain-material
boosters.itemsoption: 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