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.
@erdrickk
Sounds awesome!
Do glowstone hats give you a light radius? Its a nice feature for mining.
I'm looking into it.
Update :D Haha
Please update
Still generating the error as kukelekuuk00 posted. However hat is going on head. - Bug report from here: http://www.ecocitycraft.com/forum/viewtopic.php?f=7&t=10772
@andrewkm
That's because of Spout or something, it works perfectly fine for me.
Not working on 1.2.3 r0.2 Getting same error as kukelekuuk00 below :(
http://pastie.org/3521016
Could you fix this?
@andrewkm
This only uses the onCommand feature and there's no event listener, afaik, so no reason to "update" for R5. I will recompile soon though. Also, no Jenkins and no GitHub. It's a single class file and too much hassle to GitHub and/or Jenkins it.
Can you please provide an R5 development version? As well do you have a Jenkins/Github ?
What permission node do i use to make it where non-op people can use the /hat command Help please, this is the last bug i need to work out Thank you
@deleted_6835265
Would it be a hassle if I could receive it now? :) A PM would be lovely.
Were is the permissions!?
@VoltageB
I've updated this plugin to the new events system and also added a warning message if you don't have permission to use it. I'll release it as soon as a recommended build with the deprecated code is released.
The next recommended build is for Minecraft 1.2, R5, and I and everyone who uses this plugin will greatly appreciate it if you can get a head start on the plugin so it's update to support the new revision when Minecraft 1.2 is officially released along with Bukkit R5..
Works fine with PEX because of SuperPerms compatibility.
Doesn't work with PermissionsEX I suppose. *sigh* :[
@Shooty_
Against the point of the plugin. No.
@deleted_6835265
Can you add an option for make torch/glowstone make light like GlowHat ?