UtilityHats
Are you new to the idea of hats? Perhaps you're a server owner trying to find a new mechanic for your survival worlds. Either way, as the TF2 developers say, hats make a game 200% more satisfying. (Or something like that...)
Description:
UtilityHats presents your server with a new dynamic in the form of hat effects. The effects for each added hat were designed to keep a balance between head-wear marginal utility and costs. We've also made sure not to diminish the value of potions and enchantments by working parallel to them.
Tutorial/Demo (First 4 hats):
Features:
- Works right out of the box
- Configuration updates along with our releases. (New hats are no issue)
- The help is understandable to those who can read books
- Supports most popular permissions systems, including: Bukkit SuperPerms (Yes that includes PEX) and Legacy Permissions
- Players only need to know one 3-letter command.
- Players are only shown a list of what hats they have permissions for.
How-To:
- With a book in your hand, use "/hat" to get a list of available hats.
- Put the hat/block in your hand, and type "/hat".
- You now have a specialized hat on your cranium.
Dynamics:
Book: -Gives help output Glowstone **(Unavailable in the newest version as Minecraft does lighting client side now)**: -Pro: Lights up the area around you -Con: Attracts mobs at a greater range and through blocks Glass: -Pro: Can breath underwater -Con: Food depletes quicker -Con: Squids impede you, but will not drop ink or exp -Con: Your hat breaks upon taking damage Spawner: -Pro: 2x less damage from mobs that can naturally be found in spawners -Con: 2x more damage from mobs that aren't found in spawners Obsidian: -Pro: No damage from explosions -Con: Fall damage is increased by 2x -Con: Cannot sprint TNT: -Pro: Explode upon taking any damage -Pro: Explosion is as powerful as that of a charged creeper -Con: Removing hat from head will deplete all food -Con: Trying to sneak reveals your location Ice: -Pro: Water source blocks walked over temporarily turn to ice -Con: Any damage melts your ice -Con: Walking over oceans reduces food faster Piston: -Pro: With a redstone torch in hand, you can launch others upward -Con: Redstone power launches you upward -Con: Overheat upon dropping below half health Snow: -Pro: Negates fall damage -Con: One time use
Permissions:
The nodes only affects what happens when they use the "/hat" command.
- utilityhats.*: Can use any hat.
- utilityhats.book: Can receive the help output.
- utilityhats.glowstone: Can wear glowstone on head. (Unavailable in the newest version as Minecraft does lighting client side now)
- utilityhats.glass: Can wear glass on head.
- utilityhats.spawner: Can wear a spawner on head.
- utilityhats.obsidian: Can wear obsidian on head.
- utilityhats.tnt: Can wear tnt on head.
- utilityhats.ice: Can wear ice on head.
- utilityhats.piston: Can wear a piston on head.
- utilityhats.snow: Can wear a snow block on head. By default, these permissions are given to everybody.
What if some effects don't work out with my server?: No worries, just deny the permission for that hat, surely the many other unique hats will be able to keep your players content. Because players only see a list of hats which they have access to, it'd just be like that hat doesn't exist!
Note: Please put any suggestions in a ticket. We are still adding hats and tailoring a balance, so we may be less accepting of ideas than usual in the effort to give the best result without losing efficiency.
Some hats may be consistent of usually unobtainable blocks (such as spawners or ice). In these occasions, silk touch or other plugins are meant to be used. The pro/con balance is often based on certain plugins, (such as MonsterBox and IceExtractor) but any plugin that will allow for obtaining these blocks in moderation should be fine.
@cvxx7q
Hopefully the piston and obsidian hat code didn't get mashed together.
lmfao, i was doing a demo of obsidian hat and well<sub> the explosion blocking didnt work and i died and got sent sky high XD</sub>
@Devil_Boy
i teleported to a player in water, then disconnected that player, and i was out of the water, his source stayed, and i went back to where i TP'd from and that one had stayed too :P
@cvxx7q
Oh that's just onTeleport then.
@Devil_Boy
well i was using two clients and the one i TP'd to was in water i DC'd it and the source stayed, and the source stayed where i TP'd from
HandyTorch had the issue if u were in water the light source wouldnt be created, wate rmust mess with the method
@cvxx7q
onQuit while in water? O.o
No idea how that one happens.... I don't think I'd be able to fix that.
Light remains onTeleport also onQuit While in water
@Devil_Boy
will do ;)
also doing a demo vid for you lol, maybe u will hate it maybe love it idk :P
my plan is to do each block in its own clip then XviD Quant 2 shud be fine ;)
@cvxx7q
So you confirmed it's onDeath? Also test teleporting.
okay done, its not on Disconnect, altho i think it has been, maybe u have fixed it and they rogue light sources are from older build
it happens onDeath
@Devil_Boy
ill run a "clean room" sort of test on it then, shud be able to report back in a bout 5 mins
@cvxx7q
Make sure the bug isn't from the other plugin. I'm fairly it's already been covered in UH: https://gitorious.org/utilityhats/utilityhats/blobs/master/src/pgDev/bukkit/UtilityHats/UHPlayerListener.java#line132
Funny thought:
while wearing this Chest Hat my friend can open and shut my head XD!
not for real i know, is just a jk :P
@Devil_Boy
lemme check, i am using newer bukkit tho, idk if that could be the issue but it was the same from R1>R4 (now)
13:50:05 [INFO] This server is running Craftbukkit version git-Bukkit-1.1-R1-4-gb5f9808-b1824jnks (MC: 1.1) (Implementing API version 1.1-R2-SNAPSHOT)
13:50:07 [INFO] UtilityHats version 0.9 is enabled!
http://cvx.power.on.net/MCServer
(this is my server directory, the server and its data are fully public ;) )
@cvxx7q What version of UtilityHats are you using? I covered that bug in a version awhile ago. The light area is removed onQuit.
@Devil_Boy
well i didnt know if i should suggest the chets or not, because its 'special" since it moves nowadays, but if its possible then sure thats cool, its definitely good in the underground situation
EDIT: added link below, image seems to have failed
by the wya i dont mean to complain but, i used to use HandyTorch (plugin), and what it did was when u carry a glowstone or torch in ur hand, it lights the area exactly the same as your glowstone hat, so EXACT even that u have the same lighting bug, if i fly clos to the ground and Disconnect and come back there will be a lihgt source there and the only way to remove it to wear the glowstone hat and position myself on the AIR block that has the light source, its not a huge deal but it can be a problem if loads of ppl disconnect and join etc u have the spotty mess of ligh sources everywhere, is it not possible to remove or some weird unreliable hack would be needed?
i was thinking using glowstone hat would create glowstone under ur feet like the ice block, but i dont know if thats anymore "reliable" or too much work for your interests, but hey just lettin you know
EDIT: is it just me or is the damn image not showing? link
@cvxx7q
XD Yea, currently the EnderDragon flies backwards. I'm making a Spout-integrated plugin that hooks into MobDisguise's API to spin it around. This'll actually be the first time I've coded anything for Spout...
We could always do the chest thing for a chest hat O.O
Pro being you can make dud chests. They could use it to get over things and such. It would sort of help explain the utility more because you can't go through chests like you can torches.
@Devil_Boy im glad ;P and yeha thy can still use the torch. i mean fom the outside persepctive using a chest when ur wearing a torch looks stupid but its the more reliable/simpler solution ;) no need to worry about item counting or chunks unloading etc
i wasnt wondering actually lol :P but if u needed a simple demo video of using the book/hats i cud do that, if u want voice over or something, thats ur job lol
i used that once, back in 1.7.3, it doesn't even need spout, i was good fun :P i foled my brother into thinking the wolf that kept following him was my friends tamed wolf... XD
@cvxx7q
I love the idea and how well it can be coded, but should it still be with the torch hat/sling?
And if you were wondering what's been taking me so long to do the vid so that I could work on UtilityHats again. I've been helping out with MobDisguise lately as ticket manager. It does what it's meant to do but people want it to be perfect XD