Auto detect teams based on map blocks when creating an arena (Thanks to @MetallicGoat )
Config changes:
Added
Added diein-boundary-y-level (Thanks to @MetallicGoat )
Added shop layout properties (for "HypixelV2"):
quickbuy-icon
seperator-material-inactive
seperator-material-active
Removed (redundant):
spectator-joinmessage config
Replaced diein-* configs with a single enum config "diein-boundary-method"
Improvements:
Last eliminated player is now spectating in end lobby phase as well (Thanks to @MetallicGoat )
Improved room for maneuver when custom GUIs are open
It is no longer possible to double-click in the player's inventory to interact with the open GUI
It is now possible to drag items, merge items by double clicking and drop items
It is now possible to only display the text of a spawner holo by setting its block to AIR
SWM/Plugins may no longer delete slime worlds handled and stored within MBedwars
Stats placeholders: Async (on non-main thread) fetchings now wait up to 50ms to load stats before showing the "Loading..." message
Performance improvements:
Improved performance and removed potential memory leaks by avoiding usage of Bukkit's metadata system
Greatly improved performance of message parser by using custom implementation instead of regex
Greatly improved performance of internal method to fetch all spectators of an arena
API additions:
PlayerProperties#isReadOnly()
PlayerStats#isReadOnly()
PlayerAchievements#isReadOnly()
ThrowingRunnable class
Arena#broadcast(VarSound)
PlayerAchievement#isEnabled()
PlayerAchievement#setEnabled(boolean)
Fixed bugs:
Fixed not saving newly configured properties and world file from SWM when saving blocks
Fixed resetting player data when there was an error on load
Fixed very rare "PROCEDURE * does not exist" error on a multi-server setup while using SQL
Fixed potential NPE when guard dogs get damaged from an unknown source
Fixed potential "Plugin (MBedwars) cannot be disabled" error on server stop and hidden players on 1.13+
Fixed empty space before messages if no prefix was configured
Fixed spectators not seeing certain messages, titles etc.
Fixed serialized NBT string-lists got corrupted on 1.11 and older (only case known is when migrating from an old shop format to a new one that contains Lore within its items)
Fixed player NPCs not working on 1.19.3 and 1.19.4
Fixed anvil GUI not opening on 1.21
Fixed regeneration process not starting again after a reload or server stop
Fixed arena sometimes either stopping or not restarting regeneration after server start