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.
@Devil_Boy
it cud be "blown out" by running ;) another con :P im so negative arent i? haha
the main PRO i see is light, and perhaps its a "cheaper" form of light, glowstone wont blow out or burn out (another con, lol time limit?) but the torch will, makes the glowstone more valuable as a lighting material, im not sure wat kind of pro you can add other than the obvious lighting effect, (just throwin ideas out) the snow hat was very clever, i wondered/dont think its appropriate for the plugin, but could ppl landing on snow tiles (the flat one, or even snow blocks) land with no damage and smash that block? without the use of the hat, i doubt it belongs in this plugin though ;)
@Spaceshipable The only real configurability is numerical values so far. If you understand that java is a compiled programming language, then you may also understand why you'd need to ask a developer to add custom dynamics for you.
@Zombiemold I always thought that people would dislike those back items (because of how they looked [upsidedown]). But I believe you've just put them back on the table.
I don't think we'd have the effect be too similar to glowstone though. I know it'd involve lighting one way or another, but likely with a different usage.
@Zombiemold
what do you mean, if they already do it why would want it added? or do you mean use the torch the same way but add the dynamic lighting?
also if it was implemented, i would add con: you cant go in water, puts out ur torch :P
Any chance to allow a torch to be used as a hat, similar to Glowstone?
Lots of players use torches on my server as hats. It looks like the torch is slung on your back, and is actually pretty cool. Just an idea :D
@Devil_Boy
side note, i thought i had ticked him off somehow haha, even if i didnt (probably didnt) just wanted to clear up where i stood ;)
@Spaceshipable
i think this was suggested below or next page, it doesnt sound like its gonna happen anytime soon if ever, however u can disable certain hats if needed, thats about it
You should definately make the dynamics configurable for each block. So that one could change the blocks that have these effects and combine/use only some of the effects for each block. That my friend would be awesome.
Spaceshipable
@Devil_Boy
well i dont use pure programming im really a script kiddie haha (not the kid part tho ;) ) however i do understand in a "pseudocode" manner ;)
also they only taaught VB and the old one at that...
but yes coding = time not difficulty, the problem solving and making a good algorithm is the "hard" part ;)
@imaxorz
i suggested already :P beat you to the punch! haha
@Devil_Boy
that was mee whoo! XD (shuts up now)
@imaxorz
the ice hat is problematic sometimes, i run my server on lan (is open to internet ofc) and fall off then pop back up alot, sometimes i can wlak fine i even sprinted once, its odd for sure
@Devil_Boy
i used a plugin with this ice thing and the platofrm was 2*2*1 maybe try that out ;)
@imaxorz
Yea it works just like MagicCarpet. When the client doesn't receive block changed updates in time, the person falls. With MagicCarpet, the players don't fall off on the server side. Unlike MagicCarpet, the people do fall off the block in this plugin, because of how much smaller the platform is.
Ah, too bad Safe Creeper isn't open source. It could take a bit of experimentation to find a good way to dish out damage without the explosion.
@Devil_Boy
When I tried the IceHat the server's TPS was at 20. I think it's just nature of the way things are in Minecraft. I'm assuming IceHat works like MagicCarpet, and I know that started to work worse and worse and Minecraft updates came out, ha.
I got this plugin here to manage explosions http://dev.bukkit.org/server-mods/safe-creeper/
@imaxorz
Yea the terrain damage thing was requested in a ticket and is planned to show up soon. We've just been considering the best methods to go about it, and whether or not it'd be a config option or a permission node.
Originally the ice hat was only meant to put you out when burned, but then I considered a water freezing idea. On my test server, with almost no lag due to the short connection, the ice hat works fine, but when any sort of lag is involved, it's a whole different story. There's a short bit of code that teleports people out of the water, but I know ultimately I'm gonna go with making a larger area of ice (instead of that wimpy single ice block below you).
Oh and v0.9 was just a quick update for the new recommended build. They're moving to a new event listening method, and I wanted to be one of the first to implement the system in my plugins. I have no idea if I did it correctly though, so v0.9 could end up being a dud.
BTW, what's the name of the plugin you use to negate the explosions?
@Devil_Boy
I guess it was a fail about the glass hat, it's working fine now, weird. :P
Yeah the permissions just confused me a bit. I got this for my VIPs only, but then everyone was using them, haha.
This is a great plugin. I love the pros and cons concept.
Don't know if hard to do, but it would be great if you can add an option to have the TNT hat damage-terrain: true/false. Not a big problem though as I just got a different plugin to take care of that, but it would be nice if it was in one.
Aaand one last thing :P Not sure if it's because I don't have 0.9, but the Ice hat is pretty much useless, not working well at all. (waiting for server to auto restart)
@imaxorz
Have a public server you can show me the glass hat prob on? The recent v0.9 update is untested so apologies for any coding errors. :s
Yea, I'll add that to the description right now.
Awesome plugin!
The glass hat doesn't seem to work now :P
Also, maybe mention in the description that all permissions are true by default.
@cvxx7q
Tux was merely clarifying the technical aspects behind it.
I wouldn't call programming hard work as it merely requires the ability to type into a keyboard. It's really just about the time consumption. But philosophy is for another time XD
I told you guys to forget about the spout thing
@Tux2
hey, hey, woah, lol i was against spout remember and i said only do it if it was worth it or not and that gauging demand may help you decide, i wasn't convincing you to use spout at all i don't even wanna use spout, for exactly what you said you need everyone on the same page and that's just not always possible, i said it would be hard work and i made it clear i was aware, and i get it, plugins are sort of personal experiments, and you only go as far as you want to explore unless someones paying/giving a benefit that makes it worthwhile to explore something you arent really interested in (donations, dinner, flowers? XD)
i was only giving Kilere a reasonable explanation for a "lack" (take it lightly) of interest in spout, if there was any "sides" im on yours about spout, and only wanted to give another person a soft "no spout isnt a good idea, try this idea" (aka my suggestion of glowstone) no it doesnt look nice cosmetically but it works right? ;)
Kilere, spout isn't a bad idea but its not always applicable or its gains may not outweigh its maintenance/workload it brings with it, in short, you have a great idea but its not in the developers interests, and thats kinda where it counts ;)
Ok err then, lets just forget about this whole spout thing
@Kilere
@cvxx7q
Let me clarify a few things on how spout works. Even if we were to add hats that were spout enabled either everyone on your server would need to use spoutcraft in order to see them, or it would just look like everyone was running around with smooth stone heads for those using regular minecraft. Currently there is no mechanism without a lot of ugly hacking involved to make it so that people without spoutcraft would see glowstone and those with spoutcraft would see a "miners hat". I was going to do something similar with mob spawners when bukkit took the damage data out and trick the clients into seeing a mob spawner when it was a custom spout block for those clients without spoutcraft but I found that I would have to do a lot of extra work to make that a reality. It would just be too much work for not that much reward for either of these possibilities.
@cvxx7q
The addon would only use spout hooks. If I know one thing about Spout integration, it's that most of the work isn't in the original coding, but rather debugging it to work due to the many Spout caveats.
I wouldn't be doing it, so it's up to any of the other team members. Honestly, no matter what the demand is, without compensation making any plugin is not "worth the effort". We mainly program for knowledge and experience. It only becomes "worth" anything more when we're given a commission. I hope you understand what I mean...