Removed debug message from console
Removed the need for static lore text! Now you can fully customize the lore of your wearable disguise!
Disguises using lore text will stop working on this update they can be fixed using /wadconvert
Uploaded wrong version number
I have tidied up a bit, and added another dependency, ArmorEquipEvent.
This means you will need to install this in your plugins folder, this is the link to the jar
https://jenkins.arnah.ca/view/Minecraft/job/ArmorEquipEvent/
Thanks to ArmorEquipEvent Wearables will also do a better job at detecting disguises being equip!
updated api version so some compatibility may fall off in this version if you are running 1.13.X or lower and have trouble try the latest 3.X release in the versions section.
Made my undisguise events a bit smarter, they now only listen for wearable disguises. This means opening and closing your inventory will not undisguise you if you are using a /d disguise.
Additionally wearables now listens for player death and respawn events, making player deaths a bit more seamless, this works in both keepinventory modes
Thanks to LibraryAddict for the idea.
I assumed that players could only trigger disguise events it seems with a plugin or some other odd case these events can be triggered by a non player causing console spam.
Quick fix for right click equip bug, also moved the api version back to 1.13 for backward compatibility
Code has been vastly improved, plugin is much smaller and some messy code has been cleaned. A feature was also added to the /wad command, by holding a hat with a disguise on it and using the command /wad perm you can find the correct perm to give to a player to use that disguise.
/wad Cat will make a cat disguise that changes breed randomly on equip
/wad Tabby Cat will make a disguise exclusive to the Tabby breed
same applies to all breeds, all are supported
Added console logs for new updates into console
Added Gridlock to the config.yml when enabled players disguised as blocks will only show in areas a real block can occupy this is disabled by default and will needed to be changed to true to enable,
Fixed an issue where all held items (Not wearable disguise items) were being perm checked from wearables.
setting WearableVisable to false will make the wearable helmet invisible on the disguise
setting WearableVisable to true will make the wearable helmet visible on the disguise
This is set to true by default
Thanks to libraryaddict for the idea!
Removed those ugly gui flashes
These disguises should all be functional as of this update
Zombie horse
Cave spider
Vindicator
Vex
Drowned
Squid
Guardian
Elder guardian
Witch
Cod
Tropical fish
Salmon
Pufferfish
Husk
Fox
Snowman
Iron golem
Polar bear
Spider
Magma Cube
Slime
Pillager
Stray
Skeleton Wither
skeleton
Huge thanks again to addy_8 for helping me find problem disguises! Wearable Disguises has had multiple updates to fix bugs that addy has found, and this update is no different.
All known mobs with issues have been fixed if you have any issues please let me know so I can fix them
missed something small it is now fixed
Fixed a bug that was causing certain disguises to error
Updated api version to 1.15
I have added a way to customize mob disguise names.
example if you want to make a wearable called Moo Disguise that disguises as a cow in the config you would add the entry MOO: COW
Ill be continuing to improve how this works in future updates
I forgot to remove a message I was using while testing sorry!
Moving into version 2.0 now for one of the biggest updates! Code is much faster and now has full block support! You can now disguise as any mob baby or adult and any block!
Now I can focus on adding features such as custom lore, or maybe dropped items. Thanks everyone for your support so far!
Fixed a npe cause by trying to use /wad with no item in hand
Added perms to give access to a wearable give the player the wad.disguisenamehere perm
example
wad.wolf gives access to the wolf wearable
wad.babyturtle gives access to the baby turtle command
wad.* to give all wearable disguise permissions (this excludes the /wad command)
Also the perm wad.lore was moved to wadcmd.lore
after spending time with my /wad command I realized whats the point of typing Disguise at the end of every /wad command. This is the way it should have been /wad Zombie will now make a zombie disguise
No more lengthy give commands! I am now including a /wad command that set the lore of any item in hand!
example holding a leather helm and typing /wad Baby Chicken Disguise will result in a wearable leather chicken disguise.
Fixed issue with player names only being visible up close
You can now see players name tags while they are disguised!
Added a Disguise to show appreciation to my first donor! You can now make a Addy_8 Disguise
Added some blocks most common blocks should work for the most part
Fixed all npe errors that were spamming the console when ever a player would disguise or equip with right click
Fixed a bug that allowed players to fool the undisguise code by swapping there disguise with any other helmet and still stay disguised. There will be no more undisguise issues like this.
Fixed the right click issue, So players can now right click equip their disguises
This version is what its really suppose to be removed playerinteract entirely due an issue of how events work
The player interact event was to buggy to be in the release working hard to bring it back!
Fixed bug that would cause right click actions to be blocked