KIT GUI

Discussion in 'Plugin Requests' started by MrIggyman1234, May 23, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    MrIggyman1234

    I would like a gui to pop up when you type /kit which shows all my kits.
    My kits are:
    Kit Spud || Symbol Potato || Name &e&lSpud
    Kit Supplies || Symbol Cake || Name &d&lSupplies
    Kit Potato || Symbol Potato || Name &6&lPotato
    Kit SS || Symbol Oak Sapling || Name &a&lSpud Shoot
    Kit BP || Symbol Baked Potato || Name &c&lBaked Potato
    Kit RP || Symbol Gold Ingot || Name &e&lRich Potato
    Kit GP || Symbol Gold Block || Name &6&l&k1&e&lGolden Potato&6&l&k1
    Kit OP || Symbol Diamond Axe With Sharpness 6 || Name &c&oKit OP
    Kit DP || Symbol Diamond Block || Name &9&l&k1&b&lDiamond Potato&9&l&k1
    Kit SuperOP || Symbol Diamond Axe With Sharpness 8 || Name &5&oKit SuperOP
    All the kits should have the lore &8&oOnce A Day except for kit supplies which should have the lore &8&oTwice a day, kit op which should have the lore &8&oOnce Every 4 Days and kit SuperOP which should have the lore &8&oOnce Every 5 Days
    My kits are essentials kits.
     
  2. Offline

    Jomens235

    @MrIggyman1234 I'll try to do this. Do you want to inventory to be named "Kits" or something?

    EDIT: I made it, but I can't have the command to open the GUI be /kit because it messes up the essentials kits. What command do you want to use instead? /kits, /lkit (list kits) /kitgui ?
     
    Last edited: May 24, 2015
  3. Offline

    MrIggyman1234

    can it be /kits.
     
  4. Offline

    Jomens235

  5. Offline

    BladdonB

  6. Offline

    Justinian6

    Of course you can use /kit without it screwing with Essentials... just make sure your plugin loads before Essentials and yours will be the main command... (Use priority.<>)
     
  7. Offline

    MrIggyman1234

    If what justian is saying is correct, can you make it /kit please.
    Hopefully not too much to ask.
     
  8. Offline

    Scorpionvssub

    Did there come any permissions with this plugin? XD
     
  9. Offline

    MrIggyman1234

    Also, kit super op doesn't work :(
     
  10. Offline

    Jomens235

    @MrIggyman1234 Is it just /kit superop? @Justinian6 I had it with /kit but then when it'd run the command for /kit [kit] it would just open the inventory again. @Scorpionvssub There can be... Permissions weren't requested.
     
  11. Offline

    Justinian6

    English please, that made no sense... sorry xD
     
  12. Offline

    MrIggyman1234

    Yes kit superop is just /kit superop as it was listed in the original plugin request.
     
  13. Offline

    Scorpionvssub

    haha its that i tried this plugin but no config found the gui was there the pictures were there but when clicking the kits themselves...werent, said no kit made or something. and having a noob kit or starter kit and a super OP kit without permissions...that would mean everyone has super op rest would just not be used :confused:
     
  14. Offline

    xMrPoi

    I believe the way @Jomens235 goes about doing this by simply having the player do /kit [kit] instead of hooking into essentials and giving them the items like that. This means permissions would be handled by whether or not you can use the kit.

    An easy fix for this would to just use /ekit in the plugin instead of /kit. That would avoid confusion and not a lot of people use /ekit as a command.
     
  15. Offline

    Jomens235

    Last edited by a moderator: May 26, 2015
  16. Offline

    Justinian6

    @Jomens235 First, double post, xD. Second, Isn't the goal to get the inventory to open with all the kits?
     
  17. Offline

    xMrPoi

  18. Offline

    Justinian6

    TBH, I personally think that the kits should be treated more as an API (Assuming that the kits are handled by a separate plugin). That way the command log doesn't have to get bogged down with a ton of dumb /kit [Kit] handles...

    private KitManager kitMan = new KitManager();
    kitMan.getKit(<Insert kit>)
     
  19. Offline

    Jomens235

    @Justinian6 it just runs the command for the kit. It doesn't log what kit they chose.

    @xMrPoi Yes, the clicked item is compared with the kit symbol then runs a command if it's the same.
     
  20. Offline

    xXkguyXx

  21. @MrIggyman1234 Please continue using this thread rather than making another.
     
  22. Offline

    MrIggyman1234

    @bwfcwalshy
    It Said RELOADED!
    There are NEW features I want.
    READ the request.
     
  23. @MrIggyman1234 You can edit the post rather than making a brand new one.

    Is not worth a whole new thread and is a bit more than this one.
     
Thread Status:
Not open for further replies.

Share This Page