Improvements:
Fixed bugs:
- Updated Jedis library to 5.0.1 -> now requires Redis 6.0 or newer
- Rewrote player status synchronization to better compensate fast server switching and to avoid potential race conditions during that
- Increased Redis timeout from 2s to 10s
- Greatly reduced size of jar
- Fixed a case that caused weird bugs
- Fixed RemotePlayer#isSpectating() would return false for non-local players who were spectating during a reconnect
- Fixed various problems related to general functionality
Improvements:
- Players now get spawned at the proper location when they switch servers without any delay
- Arenas now never show the "MISSING_GAME_DONE_LOCATION" warning in case the "moveToHubOnLeave" is set to true
Improvements:
Fixed bugs:
- Now making use of MBedwars' Parties API instead of hooking into the parties plugin individually
- Improved performance by using more optimized data types throughout the code
- Fixed modifying the customname wouldn't immediately, dynamically update the components on other servers (e.g. arenas gui. You'd have to reopen the GUI first)
- Fixed that the enable state of custom names wouldn't be persistent
- Fixed potential desync problems when using SQL due to messages possibly not being received in the correct order
- Fixed possible, unintended cross-server recursion that could cause player desyncs
- Fixed rare players count desync spam when switching servers
- Fixed "Out of sync warning (3)" when party members joined an arena and follow was enabled
- Fixed error "NegativeArraySizeException" if the payload of a message is too large
Fixed bug:
Integration of new MBedwars API feature:
- Fixed "java.nio.file.NoSuchFileException" when starting it for the first time
- It is now possible to send custom messages to certain/all servers on the network using the API. Read more on the MBedwars update page for 5.2.5
Miscellaneous:
Fixed bugs:
- Added warning when configured wrong channel name
- Shutdown now awaits for NetworkTicker thread to stop (Fixes "Not running anymore" error on stop)
- Added DISCONNECTING connection state
- Fixed "Out of sync warning" when starting a server when active matches already exist
- Fixed that "sync-player-data" could cause stats corruption
- Fixed not loading/saving configs as UTF8 if your server wasn't configured to use it by default
Added feature:
Miscellaneous:
- Added player data syncer. Eliminates stats and properties desyncs of players
Fixed bugs:
- Updated Jedis to 4.3.1 and Netty to 4.1.90
- Now executing a forced reconnection in case of a protocol error
- Fixed "Unexpected end of stream." error
- Fixed desync problems
- Fixed arena / player out of sync warnings
- Now muting rare "Socket is closed" error when shutting down Redis protocol (it had no meaning)
