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.
@gotheredsox
What permissions plugin are you using?
This isnt working for me... it just says /hat in the chat log. I have added the permission and i have the item in my inventory. Please help :(
@Andy_Fox
I will be conforming to the bukkitdev submission guide lines soon. The only change was the switch to bukkit permissions. You'll need bPermissions, PermissionsBukkit, or PermissionSex.
Is there a changelog around someplace? I'm just going through all my plugins to see if they have been updated. I see this has updated since the version I am running, and was wondering what changed (Since 0.4.)
@Arton123
Yes.
Hey Dos this work with PermissionsEx ?
@DemmyDemon
You actually copied me. I posted SimpleHat on the 7th of July and you posted PartyHat on the 12th of July.
Ah, nice, this is pretty much the same as my PartyHat plugin, but without the sign, and it allows you to already have a helmet (the swapping out bit).
Looks nice! Good to have "competition" on my plugins to keep me updating them.