CUSTOM MODEL DATA SUPPORT!
You can now enable the use of Custom Model Data in config!
customModelData:
use: false
materia: DIAMOND_HOE
In case you are using it, skins value must be integers representing the model data!
MYSQL SUPPORT, BASE64 HEADS SUPPORT AND MORE
+ MySQL support, in config you can enable MySQL and set user, password, port and address, I recommend saving and resetting your config!
+ Base64 heads support, working for every minecraft version
+ Major optimization, code cleanup
1.12 FIX
GUIs and Pets were not showing correctly sometimes in 1.12
SORRY, UPDATE FIX
I uploaded the wrong file in the last one, sorry
NATIVE PACKET SUPPORT - 1.12 to 1.17
Now the plugin is only using packets, supporting every listed version
NEW 1.8 - 1.14 SUPPORT! FIXES AND MORE
+ Added support for Real entities instead of packet ones
+ The plugin will automatically switch between packet entities and real Armorstands in unsupported versions, (1.8 - 1.14)
+ Improved HeadDatabase API usage
DEVELOPER API:
+ added hasUserPet(Player) - whether the player has a pet
+ added isItPacketSide() - if it is using packet side entities
QUICK MESSAGE FIX
I just found out that in the default config there was a message missing, this could cause problems with the plugin, added it back, now in case some messages are missing they will replaced with an Auto generated text, sorry
DEVELOPER API ADDED, SYNCED WITH SPIGOT
DEVELOPER API:
Get the API: Pet.getAPI();
Get UserPet: api.getUserPet(Player player);
Events:
- PetSelectEvent
- PetRemoveEvent
- PetUpdateEvent
NEW DEVELOPER API!
Now you can get the API by using Pet.getAPI(), from there you can use the method getPlayerPet(Player p) to get player's pet!