SimpleHat
SimpleHat allows you to put the current item in your hand into your helmet slot. By using Bukkit's built-in permissions system, you can define who can put what, and whatnot, on their head, per player, per group, per world. Which means a lot of control over who can use SimpleHat. Want to only allow wool on Guest's heads? No problem.
This plugin is an alternative to BlockHat and BlockHead. I was unhappy that BlockHead was inactive and BlockHat was adding unwanted features and bloat to the plugin. SimpleHat is extremely lightweight and has a very low memory footprint. SimpleHat uses Bukkit's built-in permission system to control who can use SimpleHat.
The command for SimpleHat is /hat. Upon running the command in-game, SimpleHat will automagically take the item and swap it with the item in your helmet slot, so nothing gets lost. SimpleHat has a in-genius permissions node to restrict access. If you want a group to be able to use all blocks and items as hats, use the permissions node "simplehat.*". If you would like to restrict access and only allow wool, use the permissions node "simplehat.35". You must use the item id, not the item's name.
Current Features
- Swap the current item in your hand with the item in your helmet slot.
- Extremely lightweight and memory efficient.
Upcoming Features
Fix stack glitchFixed!- None planned
Command
- /hat - Swaps the current item in your hand with the item in your helmet slot.
Source
In main .jar
Changelog
- Version 1.1: *Latest Version*
- Fixed the null pointer exception.
- Version 1.0:
- Compiled with latest Bukkit. If you are getting errors, it's the Spout team's fault for interfering with the server through reflection.
- Version 0.9:
- Fixed permissions not working properly. Compiled with latest Bukkit.
- Version 0.8:
- Fixes the "eat stacks of same item type" caveat. Yes, it's finally here Kane_Hart. Lots of love to Celeixen.
- Version 0.7:
- Now exclusively uses Bukkit's built-in permissions system.
Love it. also, DAT LICENSE.
@imaxorz
Try editing the plugin.yml of the plugin inside of the acctual plugin jar. I dont know that this will actually work for your situation, but it works for certain plugins.
@houba1970
This plugin works with the latest RB.
please update
Is there anyway I can change the command to something else so it doesn't interfere with the UtilitiesHat plugin?
@andrewkm
@deleted_6835265
So you can't code that out? Instead, I have to add FIFTEEEN negative permission nodes per group? My permissions file is already huge, now to add this?
Could you hard-code it out, so that way it's not an option? I don't think anyone wants their users to be able to put the wrong armor piece as a helmet.
Will you update?
@andrewkm
Yes it can, negate the permission node for the item ids of unwanted items.
@deleted_6835265
Hmm so nothing can be done to bypass this issue? More info and another report of it: http://www.ecocitycraft.com/forum/viewtopic.php?f=7&t=15070
How do you take your hat off? O.o
Great plugin btw :D
@andrewkm
Minecraft bug :(
@deleted_6835265
Bug: http://www.ecocitycraft.com/forum/viewtopic.php?f=7&t=14451
@MrPokeDSDude
Then you need to switch to normal, remove it, and go back to creative.
@ivals what if you are in creative and have the MultiInv plugin?
@MrPokeDSDude
Open your inventory and click on the hat and drag it away.
Btw, Love this plugin! One the ones which are completely pointless, but funny to laugh at or joke around with friends! Keep this plugin going!
How do I get rid of the Hat?!
Awesome, continue this!
Awesome, I am using this :) ty
@ricsaka
I find it sad that you can't even read the two main paragraphs. They clearly explain how the permissions work.
Is there any permissions, or just ops can use it?