Kickstarter - Plugin codegenerator

Discussion in 'Resources' started by s1mpl3x, Jul 28, 2011.

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


    inspired by @Dinnerbone 's plugin generator i tried to push this a litte further and created Kickstarter.

    Kickstarter is a Java Desktop Application which does basically the same thing as the plugin generator but creates a bit more code so repetitive tasks as setup configuration, register listeners and so on is automated and you can start to implement the functionality of the plugin without being hold back by stucture stuff.

    Kickstarter is able to produce the code for:
    • Commands
    • Tasks
    • Listeners
    • Configuration
    • the main-class
    • plugin.yml
    The GUI offers a easy way to enter the data (at least imo) and to export the plugin afterwards.



    Show Spoiler

    The Code generated is (as far as i tested it :3 ) valid and Craftbukkit loads it without problems.
    Although the structure might be not 100% solid but yeah... it works and im happy for every suggestion on how to impove the quality of the code produced.

    So i hope it works and it is useful for someone and any feedback is appreciated


    updated listeners to build 1185
    fixed listener import @ mainfile
  2. Offline


    This will help a lot of people, I'm pretty much a newb and even I can easily use this.
    It also makes it so that you don't have to memorize so many events :3. Thanks a lot!
  3. Offline


    This looks really great! Thought creating this code is not hard, it can be very boring due to the repetition! I'll try this out when I get home.
  4. Offline


    Hitting the DL button nice work :D
  5. Offline


    Do I put the .jar in my plugins folder even though I want to make plugins for my server?
  6. Offline


    you can place it anywhere you want, just doubleclick it like a .exe
  7. Offline


    I just tried this out and it looks amazing! How do you test your new plugin now?
  8. Offline


    create a new project in eclipse, netbeans wherever and copy the output into your new project and from there it is business as usual
  9. Offline


    Okay thanks, hope this works!
  10. This is pretty freakin awesome :p The only thing I would like is to select a custom package name, besides that...tested all the features, passes with flying colors
  11. Offline


    A work of art, I feel no shame using this, why make life harder

    Nice, but not my preffered package format
    Or my code format, good plugin, but not my scene

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 18, 2016
  12. Moar customizable? :D Maybe allow devs to provide the templete or something like that, that would be FREAKIN AWESOME xD
  13. Offline


    hm well make the package customizable is not a problem and stuff like only 1 command executor for all commands or use the onCommand in the MainClass... But what apart from that doesn't fit your code format/style?
  14. Thats good, although I like the command executors :p Apart from that, things like Not defining the Logger in the top, Using a PDF(I use a double for the main version and int for the sub version, as I use a custom Auto-Updater library that requires so), Not defining the prefix in the top.. Just little things, I guess everyone codes in their own way :)
  15. Offline


    Yes and because everyone does code different, the codegen only produces 'basic' code that should fit just fine for the most basic plugins, and even for more complex ones it provide a base to work with. ;)
    Sure you have to change a lot to fit for stuff like an auto updater or whatever extension you want to add. Adding all those stuff to the codegen would just be too much but you can edit the source or the templates so they fit your needs :)
  16. Yea, i guess. I don't know, more configurable = better :p
  17. Offline


    small update:
    added a package textfield
    fixed exit button not working
    fixed event tabs (server/vehicle)

    edit: some more fixes for the package stuff..
    Vynlar and tips48 like this.
  18. Offline


    Make an update for the new command API
  19. Offline


  20. Offline


    I really like this.
  21. Offline


    Great program, but I found a bug:
    It tries to include
    import me.ineentho.worldswitcher.listener.Listener_Player;
    but the package is called
    import me.ineentho.worldswitcher.listeners.Listener_Player;
  22. Offline


    You sir,are epic!
    thehutch likes this.
  23. Offline


    Wow, I like it,but one thing,learning from this,nope.
    Well,yeah it's a newb progrem,It makes life easier,but if you really wanna be a developer,even start yourself,learn basics,then use the plug to make your life easy..,

    ANYWAY,awesome thing,thanks for this.
  24. Offline


    thanks to your feedback, updated to version 0.2.
    • updated listeners to build 1185
    • fixed listener import @ mainfile
    i'll may add permissions and change the configuration gui when i have more time
    undeadmach1ne likes this.
  25. Offline


    Version 2 is having issues with commands (well for me anyways). I configured a command, it said it was going to create that file, but then the commands package is empty and the main class shows: getCommand("/mycommand").setExecutor(new CommandExecutor_/mycommand(this));
  26. Offline


  27. Offline


    You should add a permission field when setting up commands.
  28. Offline


    BUMP: I would love to see this updated :]
  29. Offline


    Same here, update this pls :).
  30. Offline

    Codex Arcanum

    Could you please update this for the new 1.1R5+ changes?
Thread Status:
Not open for further replies.

Share This Page