Can anyone point me to an updated tutorial?

Discussion in 'Plugin Development' started by Viklove, May 8, 2011.

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

    Viklove

    I know Java, but I seem to have found an old tutorial on the Wiki, as I already had to change some of my imports to match newer ones. Also, I have no idea what I'm doing. Can anyone point me to an updated tutorial? Thanks in advance.

    Also, I'm having a bit of trouble with these two lines of code:
    Code:
    getCommand("pos").setExecutor(new SamplePosCommand(this));
    getCommand("debug").setExecutor(new SampleDebugCommand(this));
    I got them straight from the tutorial, along with the other guideline code, and I don't know how to fix the errors with "SamplePosCommand" and "SampleDebugCommand." Anyone know what I need to do? Thanks.
     
  2. Offline

    mughi

    moved your thread to plugin development, since that will get you more help
     
  3. Offline

    alta189

    http://wiki.bukkit.org/HUGE_Plugin_Tutorial
     
  4. Offline

    MichaelBurge

    The only things you really need to get started are:

    1.) Set up your Eclipse environment, and include the craftBukkit JAR.
    2.) Note that Bukkit signals various events to Listener classes you create to listen for them(and then act on them).

    If you know that, just download the source for your favorite plugin and you can now track the structure of it and start learning how to make your own.
     
  5. Offline

    alta189

    You also need to add bukkit.jar
     
Thread Status:
Not open for further replies.

Share This Page