KitGUI

Discussion in 'Plugin Requests' started by GravedigginSearchBar, Mar 22, 2015.

Thread Status:
Not open for further replies.
  1. Plugin category: EXAMPLE

    Suggested name: ExamplePlugin

    What I want: I'd like to see something similar to a KitGUI that will hook in with Essentials and that has a easily configurable config and what this plugin allows you to do is instead of having boring commands it would instead popup a GUI filled with kits you have access to and for example
    http://gyazo.com/bdbdb0bb6fce3a4950c1061d76025274 is when you haven't use any of you kits
    http://gyazo.com/249666388497e338eea20033df67e31d this is what happens when you use one of your kits

    And it would be highly configurable so you could change the display for when your kit is up and when it is down.

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: kitgui.kit.(essentials kit) (unsure)

    When I'd like it by: Yesterday.
     
  2. Offline

    Zandor300

    Can you use your kit more than once?
     
  3. Uhm well its based off of Essentials so yes, but there is cooldown.

    So for example you use ./kit Tools it will change from green glass pane to red glass pane until its off of cool down.
     
  4. Offline

    Zandor300

    Does essentials manage the cooldown or do i need to code that in this plugin?
     
  5. Essentials should manage the cooldowns
     
  6. Offline

    Zandor300

    Do you really need to use essentials for kits? It will be much easier to just let me code a kit system in a plugin...
     
  7. Offline

    nverdier

    @Zandor300 What's wrong with using Essential's system?
     
    OfficerDeveloper and Faith like this.
  8. Offline

    Zandor300

    Nothing but i dont know how i will get the cooldown status from essentials. How to check if the cooldown has run out...
     
  9. Offline

    Faith

    @Zandor300 It would be much easier to use Essentials kit system.
     
  10. Offline

    nverdier

    It will. That is everything you need.
     
  11. Offline

    Zandor300

    And i hate essentials :) It breaks everything...
     
    cfil360 likes this.
  12. Offline

    nverdier

    @Zandor300 You hate it why? It's much much easier to use it than creating your own.
     
  13. Offline

    Zandor300

    @nverdier @Faith Then tell me how i get if the cooldown has run out?
     
    Last edited: Mar 22, 2015
  14. You should tahg them to get their attention
     
  15. Offline

    Hergarian

  16. I have tried chestcommands, but I do not understand the actual concept of how it works. Could you please do an example one? If this one works out then I would love to use chest commands.
     
  17. Offline

    Hergarian

    @GravedigginSearchBar
    Wait I'm grappin' my laptop

    @GravedigginSearchBar

    Here you go

    Code:
    menu-settings:
      name: '&1Kits'
      rows: 3
      command: 'kits'
      open-action: 'sound: note pling'
    kit1:
      COMMAND: 'kit sword'
      NAME: '&e&oSword Kit'
      LORE:
        - '&4&lSuper Sword Kit of DOOOM'
        - '&7Isn't as badass as it looks'
      ID: DIAMOND_SWORD
      POSITION-X: 1
      POSITION-Y: 1
    kit2:
      COMMAND: 'kit tank'
      NAME: '&e&oTank Kit'
      LORE:
        - '&4&lSuper TANK Kit of DOOOM'
        - '&7Isn't as badass as it looks'
      ID: IRON_BLOCK
      POSITION-X: 2
      POSITION-Y: 1
    
     
    Last edited by a moderator: Mar 22, 2015
  18. Thats 50% of the request, but not what I am looking for, I am looking for

    http://gyazo.com/bdbdb0bb6fce3a4950c1061d76025274 is when you haven't use any of you kits
    http://gyazo.com/249666388497e338eea20033df67e31d this is what happens when you use one of your kits
     
  19. Offline

    Hergarian

  20. Offline

    Faith

    Zandor300 All you have to do is use player.chat("/kit" + getkitnamefromconfig) when it is clicked. Add a line in the config which allows the user to define a cooldown until it can be used again and set it to red for that time(they would have to match it to the kits cooldown).

    There is probably even easier ways
     
  21. Offline

    Zandor300

    Yes but he wanted essentials to manage the cooldowns...
     
  22. Offline

    caderape

    Essentials don't give a way to check the cooldown left. the only way i see it's register the moment when the kit is sent and check in the config file of essentials the cooldown when the player try to get it back again.
     
  23. Offline

    Zandor300

  24. Offline

    caderape

    Work with essentials looks more easier for me
     
  25. Offline

    Faith

    @Zandor300 He can just match the Essentials cooldown into the config. It's not hard, I don't see why you would go through the trouble to hard code your own kit system rather than just writing some config shit.
     
  26. Offline

    Zandor300

    Hardcode? Why? And it is super simple! :D
     
  27. Offline

    Faith

    timtower likes this.
  28. Offline

    Zandor300

    I have it done... I have school you know... I have coded this plugin between lessons!!! Just need to upload it... One sec.

    Edit: Just need to do the config part then it's done...

    EDIT 2:
    @GravedigginSearchBar
    DONE: http://ci.zsinfo.nl/job/UltimateKits/lastSuccessfulBuild/
    Also needed: http://ci.zsinfo.nl/job/ZSUtilities/lastSuccessfulBuild/

    /kit opens the gui...
    It also updates the timer in the lore for every kit.

    [​IMG]
     
    Last edited: Mar 23, 2015
  29. Offline

    FlyingPig_

    @Zandor300

    Be possible to downgrade to 1.7.10?
     
  30. Offline

    Zandor300

Thread Status:
Not open for further replies.

Share This Page