[FUN] BlockHat v 1.4.1 - [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by nmc94, Jun 25, 2011.

  1. Offline


    Oh, can we totally desactivate the glass feature (iD 20) :( ?
  2. Offline


    Working on a config file.

    For example:

  3. Offline


    I have no config file ??
  4. Offline


    I said working. Its not in the plugin just yet.

    And you were the 100th person to post here!!!!
  5. Offline


    fair play
  6. Offline


    Sorry i'm not english, be cool :) ! Thanks you for your amazing plugin !

    EDIT : I have an idea, why not add iConomy5 support :) ?
  7. Offline


    You mean so you buy the hat? That sounds interesting.
  8. Offline


    No buy the permissions, or like each time the players want to have an hat.
  9. Offline


  10. Offline


    No response?

    All I'm asking is an option to use a config file rather than permissions.
  11. Offline


    It would be great if the hat would stay after I re-loggin :)
  12. Offline


    If you put leaves on your head with /hat and then press F5 you will see that your stuff is colored green! :D
  13. Offline


    It stays for me, have you got any plugins that mess with people's inventories?
  14. @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
            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;
  15. Offline


    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?
  16. 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
  17. Offline


    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
  18. 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.
  19. Offline


    The glass helmet is not duration based. It allows you to stay underwater for as long as you want.
  20. Offline


    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.
  21. Offline


    Requesting an ability to either:
    1) completely disable the extras
    2) Lightweight version that *only* does /hat
  22. Offline


    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.
    Last edited by a moderator: May 17, 2016
  23. Offline


    I would also like a lightweight or completely toggleabble version if at all possible. Very awesome plugin btw.
  24. Offline


    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.
  25. Offline


    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.
  26. Offline


    Bug detected :D
    [​IMG] [​IMG] [​IMG] [​IMG]

    Thx for this fun plugin !
  27. Offline


    Thats not a bug, and it can't be fixed. :p
  28. Offline


    Ok ! Thx ! It's so fun :D
  29. Offline


    oink.. lol love the plugin
  30. Offline


    Decided to figure out why the not drowning thing was utterly failing at life.

      private boolean checkPermission(Player player, String string) {
        return false;
    ...fucking seriously? What the hell?
    nmc94 likes this.

Share This Page