Sorry i'm not english, be cool ! Thanks you for your amazing plugin ! EDIT : I have an idea, why not add iConomy5 support ?
Sorry I can't think of it now, but there is a plugin that allows people to buy ranks. Edit: @Shooty you could try this time based plugin too http://forums.bukkit.org/threads/ad...t-nodes-groups-economy-support-860-953.21465/
If you put leaves on your head with /hat and then press F5 you will see that your stuff is colored green!
@nmc94 Just bringing it out there, it would be a lot of better performance to just cancel the damage event and set remaining air to max air with the water helmet In my private plugin, I used Code: if (event.getCause().equals(DamageCause.DROWNING)) { Player player = event.getPlayer(); if (player.getInventory().getHelmet().getType().equals(Material.GLASS)) { if (!plugin.hasPermissions(p, "general.divinghelmet")) return; event.setCancelled(true); player.setRemainingAir(player.getMaximumAir()); } }
Thanks for that! I have been working on a config file to turn of the glass helmet, never thought about using permissions instead ^.^ You don't mind if I use that do you?
nope, that is exactly why I posted it here edit: note its the EntityDamageEvent where this is in, you must cast the Entity to the player
Version 1.4 is out!!!!! Here are the changes made: Version 1.4: - Performance improvements to the glass helmet- New permissions node for the glass helmet
I didn't see this already.. But is the glass helmet underwater breathing unlimited? or is it duration based? Would be great if it was duration based or eventually breaks.
I have the nodrown permission node on my players but for some reason only me (admin and op) and the other admins can stay under water with glass.
@nmc94 Requesting an ability to either: 1) completely disable the extras or 2) Lightweight version that *only* does /hat
Version 1.4.1 is out which releases the source code in the .jar file I am planing to release a version with only the hat features or possible disabling it all together if a few more people request it. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I would also like a lightweight or completely toggleabble version if at all possible. Very awesome plugin btw.
Sweet. Not that the work you've done is bad, we're just an extremely large server and even the slightest new features can upset the balance of performance to higher capacity.
Just an update, I have chosen to remove the glass helmet features and make the plugin simply putting blocks on your head. I will implement this in version 1.5 which is going to be released after the next bukkit RB.
Decided to figure out why the not drowning thing was utterly failing at life. Code: private boolean checkPermission(Player player, String string) { return false; } ...fucking seriously? What the hell?