Gui Plugin

Discussion in 'Plugin Development' started by Nonliker1000, Oct 19, 2014.

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

    Nonliker1000

    Plugin category: gui

    Suggested name: GUI
    What I want: Hey Guys, i am currently coding a kitpvp plugin but i got a problem.
    I just can´t code the gui. All i need is a "Gui Plugin".

    You spawn with a chest and when your right/left click it it opens a gui.
    You can also open the gui by typing /kit

    On the gui text it should say "§a§lKit Selector"
    And in the chest there are 2 Items that do a command.

    First Chest slot should be a Diaomond Sword (it says on it "PvP")
    and when you click on the sword it does the command /pvp
    The second chest slot should be a Bow (It says on it "Archer")
    and when you click on it, it does 2 commands, it does: /archer and /warp feast
    (if 2 commands at the same time arn´t possible then just leave it :) )

    And the chest should have 6 rows.

    Also i would like to have this plugin in two classes, i´lld like it in the class "Main" and "Gui"
    I am still pretty new to coding thats why i would just like to have a template :)

    Ideas for commands: /kit

    Ideas for permissions: wiktm.kit

    When I'd like it by: Tommorow? If not possible its okey :)
     
  2. Offline

    mrCookieSlime

    Nonliker1000
    ChestCommands can do all of that.
    Might take some time to configure though. But is definitely worth it ;)
     
  3. Offline

    XgXXSnipz

    Nonliker1000 simple plugin I have a plugin similar to this thats already made, check it out :D
     
  4. Offline

    Nonliker1000


    I am making a custom plugin, and need a template, "chestcommands" wont help me any further
     
  5. Offline

    mrCookieSlime

    Nonliker1000
    If you are making your own Plugin and just need an example how to do this, why did you then post it in "Plugin Requests"...
    This belongs into "Plugin Developement" then.
     
  6. Offline

    Nonliker1000


    Because i want someone to make this plugin so i can see the code via jd-gui


    Thats not excactly what i want, i want that what i wrote :,D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 14, 2016
  7. Offline

    mrCookieSlime

    Still, wrong Section then.

    And that is really pointless.
    Why don't you just ask how to do this in the Plugin Developements Section... Instead of having someone code the Plugin just so you can copy it.
     
  8. Offline

    Nonliker1000


    I just wanna see the code so i can learn from it
     
  9. Offline

    mrCookieSlime

    Nonliker1000
    As I said, ask in the Developement Section, people there can help you out and maybe also post Code Examples...
     
  10. Offline

    eyamaz

    Moved to Dev
     
  11. Offline

    teej107

    Don't learn from decompiled code, learn from the official tutorials and most importantly learn Java.
     
    Luke_Lax likes this.
  12. Offline

    Nonliker1000


    easier for me to learn from a code :confused:
     
  13. Offline

    mythbusterma

    Nonliker1000

    And Oracle's Java tutorial is positively awash with code!
     
    teej107 and FerusGrim like this.
  14. Offline

    teej107

    Nonliker1000 Don't learn, but understand. You can't understand how to code from looking at code if you don't know how to code. If you try, it'll be very hard. You might see that doing this does that but you don't understand the why part of it. Spoonfed code doesn't help much in the long run to tell you the truth. Spoonfed code doesn't explain things. Learn the Java rather than the code.

    Not to mention that they explain it so you can understand.

    EDIT: Nobody is stopping you from learning from your preferred way. This is just my opinion from one developer to a soon-to-be dev.
     
  15. Offline

    Nonliker1000



    thanks alot for your advice, i´ll do what you say :)
     
    teej107 likes this.
Thread Status:
Not open for further replies.

Share This Page