How to make a simple plugin

Discussion in 'Plugin Development' started by Tom Heek, May 31, 2011.

  1. Offline

    Tom Heek

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hello,

    I want to learn how to make a simple plugin, I think it should be pretty easy for me to make some plugins, because I am pretty good at other programming languages and because almost every programming language is the same, it should be easy.

    I like to know:
    What to download to code Java.
    How to decompile and compile a .jar file.

    Greetings,
    Me.
  2. Offline

    Gandalf

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  3. Offline

    RoGER.ONeill

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    The easy or the hard way?

    The easy way would be to download an IDE with the Java Compiler included. Such as Netbeans.
    The hard way would be to write your Code with Notepad, download JDK and compile it via runtime.

    I would recomment Netbeans. Download it here. Now depends on what you want to code with it. If it is only for Java you can go with the "JAVA EE". Just download, install and run it.

    If you are familiar with C or any other IDE such as Eclipse it should be pretty self-explanatory.
  4. Offline

    Adamki11s

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Read my tutorial, it's on the Bukkit wiki homepage and the link's in my signature.
  5. Offline

    Tom Heek

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Oke, thanks for the answers, but can you also help me with client side mods?
  6. Offline

    Adamki11s

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I don't do clientside mods.
  7. Offline

    Ziden

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ive learned about plugin making by decompiling (ops) and editing opensourced plugins

    I think seeing an actual plugin makes it easyer to understand the plugin mechanics then actually getting one from the scratch

    Get some simple 2/3 class plugins , decompile them (or get source) and try to add it on Netbeans and compile it ( adding the crafbukkit jar etc ). If you can do this you have 50% way done. After this is just "fuzzyng around' the plugins and you may get how things goes.
  8. Offline

    Tom Heek

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Does anybody knows a good video tutorial about how to decompile and compile?
  9. Offline

    ThreeDGuy I steal plugins as my own

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey there!
    How do you make a simple folder with files such as README in a plugins folder ?

Share This Page