How to create plugins?

Discussion in 'Plugin Development' started by Valcorb, Dec 1, 2011.

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

    Valcorb

    I know it is done with Java, but where can i find a guide which has a very good explanation of java (bukkit-based preferred).

    Also, where can i find the events?

    Thanks.
     
  2. Offline

    Jogy34

    Do you know how to program in java?
    If not leave and don't come back until you learn.
    Otherwise here are a few links:
    Plugin Tutorial
    Java Docs
     
  3. Offline

    DDoS

    Leave? Sure, you need some programming basics, but the Bukkit API is easy to use, and a great way to learn Java. I personally got most of my programming knowledge through it, using it to try what I had learned.

    The only thing I'd say, is make sure your plugins are well coded, and that you have sufficient Java knowledge before you start submitting anything. If you want to learn Java, Bukkit is a great way to start, but don't submit stuff you've created while learning, as they might be flawed.

    The first plugin I did, which I used as a learning tool, I recoded it entirely two months later so I could release it
     
  4. Offline

    bergerkiller

    @DDoS I partly agree, but if you never touched source code before it is better to start off writing console applications first and following some simple tutorials about the syntax. Otherwise you end up asking every single thing here, from 'how do I display a message to the player' to 'how do I create a house'.
     
  5. Offline

    DDoS


    Your right about that, I did have Python programming knowledge when I started.

    So I suggest you start with that language, it's really simple and straight forward, and handles a lot of stuff for you. You should start by learning basic data types, and control flow statements before starting Java.
     
  6. Offline

    Daniel Heppner

    Java is a great language to start with. He doesn't need to start with Python beforehand. Java manages a ton of stuff for you that other languages (read: C++) don't.

    Anyway, to the OP: I suggest getting a book on the subject. Thinking in Java by Bruce Eckel is a very good choice. Another great alternative is Head First Java. Ebook editions work fine, but make that you don't skip over anything.
     
  7. Offline

    Valcorb

    Thanks for those answers :)
    This will keep me busy for a while :)
     
Thread Status:
Not open for further replies.

Share This Page