Hats (Hat Plugin For Hubs)

Discussion in 'Archived: Plugin Requests' started by Verringer, Sep 23, 2014.

  1. Offline

    Verringer

    Name:
    Hats (?)​
    Commands:
    /hat
    /hat off

    Permissions:
    hat.open (default: all)
    hat.off (default: all)
    hat.use.(1-28) (default: op)
    hat.use.all (default: op)

    Config:
    Code:
    NOPERMISSION: '&cYou do not have permission to use this hat'
    INVENTORYTITLE: '&cHats'
    HATS:
        1:
            NAME: '&cBlock One'
            ID: 35
            DATA-VALUE: 1
        2:
            NAME: '&cBlock Two'
            ID: 35
            DATA-VALUE: 2
        3:
            NAME: '&cBlock Three'
            ID: 35
            DATA-VALUE: 5
        4:
            NAME: '&cBlock Four'
            ID: 35
            DATA-VALUE: 7
    Explanation:
    The plugin will bring up a GUI when you use /hat where you can choose a hat to put on your head, once it is on you can not remove it via dragging it into your inventory or dropping it (it's a hub plugin). You can type /hat off to remove the hat. The GUI has 3 lines totaling 28 slots (I did 4 in the config example).

    If anyone could do this, it'd be greatly appreciated.
     

Share This Page