HuskSync 3.8 makes major improvements to map syncing, optimises data rotation, and improves syncing.
Added support for Minecraft 1.21.5 on Spigot/Paper. Fabric support for 1.21.5 to follow later on when it's ready.
Overhauled the logic behind locked map synchronisation, courtesy of @solaluset (#464)
Before, locked maps stopped tracking position after the player returned to the map's origin server. Having several copies of the same map in different slots also would cause it to be saved several times
Maps in bundles were also not being synced, and saving map pixels in items directly made snapshots quite big
This has been addressed by this update, which adds two new data tables to your database and will persist additional keys to Redis to handle locked map syncing.
The result: more stable, smaller, and performant map syncing
Added /husksync dump (permission: husksync.command.husksync.dump) to produce a system status dump of the plugin to the web (#460)
Added /userdata save (permission: husksync.command.userdata.save) to let you manually save data snapshots of users
Changed /userdata dump to use pastes.dev for web dump uploads, instead of mclo.gs (snapshots are easier to read)
Improved data syncing through the addition of "check-in petitions"
This improves data fetching speed in cases where a user logs out during sync application; when they log back in, the server will petition the server they are checked out on to check them out.
We also now unlock users after saving sync on a server to accommodate this, and track user disconnection status to avoid inconsistencies with what platforms return for isOnline
Optimised data rotation to not load snapshots when rotating (could cause performance issues on servers with high snapshot counts per player).
Thanks to @ilightwas for their help with fixing an issue with this (#485)
Fabric: Fixed an issue where unserializable item stack data elements wouldn't be skipped
Updated the Simplified Chinese locales (zh-cn), courtesy of @jhqwqmc (#472)
Overhauled build logic for much simpler release preparation by flattening all version builds to one branch (#463)
API: Fixed inconsistencies with equality checks on data Identifiers
To update, drag+drop and regenerate your messages-xx-xx.yml file. Please note upgrading to 1.21.5 from 1.21.4 servers and below is an irreversible action; all HuskSync servers must be on the same version of Minecraft & Paper.