Inactive [MECH/FUN] SimpleHat 0.7 - Just hats [Bukkit Permissions] [1060]

Discussion in 'Inactive/Unsupported Plugins' started by ichingpow, Jul 6, 2011.

  1. Offline

    ichingpow

    Last edited by a moderator: May 17, 2016
    andrewkm and Kane like this.
  2. Offline

    ichingpow

    What do you mean by multiworld?

    I'm afraid that feature goes past what I wanted. I want to keep SimpleHat configuration free. If you really want to block something from being on someone's head, block the item with WorldGuard.
     
  3. Offline

    rolandostar

    Forget that thing bout multiworld, forgot about permissions :p
    And about worldguard... I want people to put glass on their head while in a specific world (StyxSpace), and I would have to block every other block except for glass :/

    Or is there a config in worldguard that I dont know about?
     
  4. Offline

    ichingpow

    Hmm, I see what you mean but sorry, I'm not advanced enough to have multiworld configs and stuff. Sorry :(
     
  5. Offline

    Kaikz

    Just add permissions per block ID, then allow that ID in one world. Not hard.
     
  6. Offline

    Applebule5

    The permissions inheritance does not work : (
     
  7. Offline

    heifinator

    you can put a diamond chestplate or any chest on your head and increase your armor. Should add a config so you can limit what blocks the permission lets you wear!
     
  8. Offline

    ichingpow

    I will try to to add the Permissions system that Kaikz recommended. That way you can choose to turn on and off items for certain groups, players, and worlds. @heifinator
     
  9. Offline

    Arton

    Can you do the permssions so we can chose what they can use to put on the head
     
  10. Offline

    ichingpow

    I will try :)
     
  11. Offline

    Kaikz

    PHP:
    if (player.hasPermission("hat." player.getItemInHand().getTypeId())) {
        
    // place hat
    }
     
  12. Offline

    ichingpow

    Haha, thanks.

    Added per item permissions, thanks @Kaikz!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  13. Offline

    Arton

    Thanks :D
     
  14. Offline

    ichingpow

    I added it :) Thanks @Kaikz
     
    Arton likes this.
  15. Offline

    b0rnprox

    change the premission node to simplehat.*

    btw can you add so that no block objects is on top of your head?
    that would be really awesome :)
    and could you make the glowstone actually glow on your head xD
     
  16. Offline

    ichingpow

    You could block non-block objects using permissions, as to glowstone actually glowing, not possible. I'm sorry, it would be really hacky.
     
  17. Offline

    b0rnprox

    ok but thanx anyway
     
  18. Offline

    ichingpow

    Just added bukkit permissions support :)
     
  19. Offline

    RookieBalBoa

  20. Offline

    ichingpow

    No problem :3
     
  21. Offline

    MCTSS

    So is the command like? /hat 1 for a stone hat?

    when i type that it just says /hat? Help?
     
  22. Offline

    ichingpow

    No, read the original post! You must have Permissions bukkit and no, it puts your current item in hand on your head.
     
  23. Offline

    MCTSS

    ok sooo i type /hat if i have a stone block in my hand
     
  24. Offline

    kamild1996

    Nice plugin, but "Bukkit Permissions only" feature totally ruins it...
     
  25. Offline

    ichingpow

    You sticking to an outdated system is ruining your set up.
     
  26. Offline

    Kane

    @ichingpow nasty bug send me a message on irc :p
     
  27. Offline

    ichingpow

    Can you private message me? I'm at school atm.
     
  28. Offline

    Kane

    Well it's not a dupe it's more of a anti dupe haha. If you have lets say 2 diamond blocks 2 diamond blocks 2 diamonds blocks in your quickslots and do /hat on one of the stacks it will break all stacks in the hotbar and only equip the 2.

    This also happens for single items as long as each stack is the same amount in each slot and same item it will break all them but the one you equip hehe.

    Pretty nasty.
     
  29. Offline

    Kaikz

    Any hat plugin will do that if it's just player.setHelmet(player.getItemInHand()).
    You need to manually create a stack of 1 and then remove the item in hand, in the code.
     
  30. Offline

    Kane

    not the last one I used :p
     
  31. Offline

    Kaikz

    It probably created its own ItemStack instead of using the one straight from the inventory.
     

Share This Page