Repository navigation
Releases
Releases · BetterLite/BetterBedWars
Release 1.4.0
Full Changelog: 1.3.0...1.4.0
Release 1.3.0
Release 1.2.2
Release 1.2.0
BetterBedWars v1.2.0
A complete BedWars minigame for PocketMine-MP 5.0 — fork of Sergittos/BedWars (BedwarsPM), maintained under the BetterLite name.
🛠️ Bug fixes (25+)
Crashes
- Fixed crash on every player quit (session removed before game cleanup)
- Fixed
Game::reset()loop that spammed world deletion tasks - Fixed
CreateMapTask/DeleteMapTaskstoring non-serializableWorldobjects in AsyncTasks - Fixed MySQL
LoadSessionTaskcrash on empty results - Fixed exception when using setup items with uppercase names ("Claiming_wand", ...)
- Fixed "It's a trap" name mismatch (trap was purchasable unlimited times)
Logic
- Tracker Shop now works (own team no longer blocks the check)
- Claim protection now checks the actual placed blocks
- Player-placed TNT now ignites correctly
- Fixed
unset($arr[array_search()])removing the wrong player - Fixed MySQL
loading_datarace (redundant DB writes / stat loss) ColorUtils::getDyeno longer crashes on unknown colorsSession::kill()without a team no longer crashes on respawn- Map deletion now cleans up active games and the waiting world
- Listener side effects (
onExhaust,onExplosionPrime,onMerge) scoped to BedWars only - Spectator settings now persist (SQLite & MySQL)
- Spectators get the proper game scoreboard
- Added
hasTeam()guards on chest/bed interactions - Map names with illegal characters are now rejected
Robustness
- Default values for uninitialized
Sessionproperties - Safe registry lookups for bedwars items
- Defaults for missing JSON/SQLite data and corrupt
maps.json
✨ Completed TODOs
- Final kill detection (40 coins + "FINAL KILL!" broadcast)
- Trap trigger sounds
Modeenum for players-per-team (Solo/Duos/Squads)ShopIdenum for shops- Deduplicated maps.json read/write into
MapFactory
Full details: see changelogs/1.2.0.md