EssentialsX

EssentialsX

2M Downloads

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

commented

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?

commented

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.

commented

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.

commented

@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.

commented

@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.

commented

@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..

commented

This has been added by #960 - grab the latest build from the build server.

commented

Still can't wear tools on your head with /hat or clicking (tools used for resource pack that sets custom textures for damage values), but you can now just drag most items in the head slot as long as you have permission. :)