This is an update for 1.21.10
Two things of note, other than the changelogs.
1. Maven and Jenkins has moved.
For quite a number of years Lib's Disguises has been hosted by md_5 on his own servers, which was very kind of him. This was both jenkins and the repository.
However it's time for the plugin to move to my own servers, which has happened in the last few weeks as you may have noticed.
Jenkins:
https://ci.lib.co.nz/
Repository:
https://mvn.lib.co.nz/
If you are a developer, you should change the repository url from
Code (Text):
https://repo.md-5.net/content/repositories/public/
to
Code (Text):
https://mvn.lib.co.nz/public
The old repository will remain available for the foreseeable future, but it will not receive any new updates. Old builds are available on the repository.
2. Deprecation of old minor versions
I hope to, in the future, remove support for 1.18 to 1.18.1, 1.19 to 1.19.3, 1.20 to 1.20.2 as those versions are older without any reason to stay on them.
This is not a removal of support for 1.18.2, 1.19.4, 1.20.4
I do want to remove support for 1.21 to 1.21.3 but that will be quite a while away.
There are quite a few notable changes in this, in the interest of being brief
* 1.21.10 update, and better support for older versions
* Lots of bugfixes
* A few tiny performance boosts
* Sounds can now have their category controlled
The longer changelog is
* Update for 1.21.10
* A fix for metadata issues, took me long enough to come up with a decent solution!
* Sound categories can now be controlled for volume sliders in clients, default category is what the disguise type would be (eg, zombie = hostile)
* Fixed 1.12 not working properly
* Fixed cache being rebuilt too often on older versions
* Disguise animation cache is now built on start, not later
* Added warning that'll take effect in a month for plugins that should be using DisguiseAPI.disguiseNextEntity, basically helps prevent a "flicker" of the real mob for newly spawned mobs
* Cleaned up some comments in a config file or two that were confusing
* Added ability to have placeholders in the name above heads, using PlaceholderAPI
* Fixed a check for 'disguise already in use' not being right
* Tried to fix an extremely rare and I'm not sure they'd be able to reproduce it, bug with sound packet
* Cleaned up skin resolution handling for player skins
* Updated grab head command, now works reliably across multiple versions
* Cleaned up some stuff for slight performance boosts, such as file checks and entity.isValid
* Fixed some messages being logged as an error when it should be a warning
* Fixed some parameters not being converted back to short form, eg, entity variants. Instead it was doing long json form for no gain
* Saved disguises will no longer require permissions for their arguments, arguments in a saved disguise are skipped.
* Relocated from md_5's jenkins and repo to my own
* Remove saved disguises folder if its unused and unneeded
* Bumped required packetevents
* Added method to Undisguise event to see if it can be cancelled by another plugin
* Separated 1.18 nms enum into two enums, 1.18.0-1 and 1.18.2. This is for consistency.
* Updated some messages for warning about old versions of Minecraft