Allow for players with an essentials.hat permission to put on anything as a hat without having to type the command /hat.
mibby opened this issue ยท 7 comments
Would it be possible to implement a new permission for the Essentials /hat
feature to allow for players to be able to drag anything in the hat slot and put it on instead of having to type /hat every time?
Not sure how easy that is - you'd have to listen to cancelled inventory events for the helmet slot and uncancel them hoping another plugin doesn't break it.
MassiveHat (https://github.com/MassiveCraft/MassiveHat) and some other Hat plugins I've come across have this behavior. So it was mainly just something I was wondering could be done in Essentials to simplify or expand upon the hat functionality.
@Trickster489 Was going to look at it some point as well; the reason I held back was because the last time I recall an event listener being added in a PR it caused issues with poor implementations of Bukkit.
@foxehc I submitted the pull request and had it merged, and encouraged the last maintained 1.7.10 implementation to actually fix their implementation so people would stop reporting EssentialsX bugs which weren't EssentialsX's fault.
@SupaHam Any update to this issue? I also noticed you can't wear tools on your head as it says you cannot use that item as a hat. I have a custom resource pack that changes some tools to equippable hat items..
This has been added by #960 - grab the latest build from the build server.