Basic Bukkit Programming Tutorials.

Discussion in 'Resources' started by Torrent, Jun 11, 2011.

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

    Torrent

    Hey all :)

    I run a YouTube channel with @Samkio You may be familiar with his Basic Bukkit Plugin Tutorial.

    We had a lot of comments saying things along the lines of 'please explain how the code relates back to Minecraft' and many more.

    So I decided to throw together a small series on how to programme plugins for Bukkit.

    Heads Up: You need a basic understanding of Java to follow these tutorials.

    Description:
    In this series I go about explaining the code that we use to make a simple plugin that sends the player a message when they place a torch. I try my best to explain what each bit of the code does and how it relates back to Bukkit.

    It has gone down well with my subscribers so I hope it has the similar effect on here :)

    Also note: I'm a novice at Java myself; so things in these videos may be incorrect - feel free to correct me. I produce these videos to help others and my self. 'The best way to learn Java is to teach it' - Samkio


    Videos:



    Don't mean to double post. But I just uploaded episode 4 ^^


    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
    Chris32, JWhy, The Angry kat and 4 others like this.
  2. Offline

    David K

    Thanks man, because of you I've started creating my own plugin :)
     
    olimoli123 likes this.
  3. Offline

    Torrent

    Good to hear! :)
    Hope it helps :)
     
    mbsuperstar1 likes this.
  4. Offline

    Torrent

    New videos were uploaded in the past few days:


     
    mbsuperstar1 likes this.
  5. Offline

    olimoli123

    Having a look, thanks for these tuts :]
     
    Torrent likes this.
  6. Offline

    Styx Reborn

    I understand you're trying to teach stuff, but the first 4 parts are just chaos. Errors everywhere D:
     
    Torrent likes this.
  7. Offline

    Torrent

    Hope it helps!

    Errors in your code? or mine? Looking back through the videos, yes there are some mistakes - but they get cleaned up before the video ends. Regarding the onCommand boolean, that gets added in episode 7. (Which was a pretty big mistake from me i agree :p)

    Episode eight is out though ^^

     
  8. Offline

    HolyRane

    Loving the videos man keep doing them :D
     
  9. Offline

    Torrent

    I plan to :)
     
  10. Offline

    Kanaryux

    Having a problem with the super (); line.. Tells me "constructor call must be the first statement in a constructor
     
  11. Offline

    Torrent

    Remove the super(); line, it's not needed :)

    Mistake on my part - episode 7 explains all the needed fixes.
     
  12. Offline

    HolyRane

    Is there still a player.listener? I'm working on a very simple plugin atm and I'm getting errors about it and cant import it

    EDIT nvm got it :D
     
    Torrent likes this.
  13. Offline

    pomo4ka

    Excellent documentation, sorry I cannot understand spoken English =)
     
  14. Offline

    Torrent

    :)
     
    pomo4ka likes this.
  15. Offline

    _ScrPt

    Certainly a great help to me, Torrent. +1 kudos or whatever it is you collect around here ;)
     
  16. Offline

    Torrent

    Haha thanks, glad it helped! :)
     
  17. Offline

    pomo4ka

    Excuse me, of course, but I don't understand what this plugin does =)
     
  18. Offline

    Torrent

    Just notifies the player when they place a torch :p
    Something simple for new members to understand :)
     
  19. Offline

    Torrent

    Episode 9 went live a few days ago; just forgot to post it here :p
    In this episode I display what the code does so far within game.​
    It's still a work in progress though!​
     
  20. Offline

    King Rat

    I [meat] you. Really helpful tuts :D
     
    Torrent likes this.
  21. Offline

    Creaz

    :) Thanks!

    I am trying to create a Bukkit Plugins but i don't know how to (I'm sorry by my bad english, I speak Spanish).

    Let's try it!
     
    Torrent likes this.
  22. Offline

    Torrent

    Glad it helped!

    Good luck :)
     
    Creaz likes this.
  23. Offline

    Creaz

    When you write BasicPlayerListener, I need to put (MYPROYECTNAME)PlayerListener or just BasicPlayerListener?

    Yes, I am a noob :(
     
  24. Offline

    Torrent

    It can be called YOURPROJECTNAMEPlayerListener
    Doesn't have to be BasicPlayerListener :)
     
    Creaz likes this.
  25. Offline

    oxguy3

    Hate to be the bearer of embarrassment, but in the title image for episodes #2-9 (i.e. the preview image), you spelled "Programming" wrong (forgot an 'm'). Otherwise, thanks so much for making these! Very useful
     
  26. Offline

    Torrent

    Oh dear god, lmao!
    Was very tired when making those thumbnails, so that would explain why xD

    Cheers for pointing that out.
     
  27. Offline

    adde

    what files do I need to download to start make plugins?
     
  28. You need:
    • Java JDK (Java 6 or Java 7 will work fine, but if you choose 7 make sure you don't use methods not in 6). NOTE this must be the JDK (Which you use to develop programs), not the JRE (Which you use for running programs)
    • Bukkit API
    • Eclipse or another Java IDE
     
    Torrent likes this.
Thread Status:
Not open for further replies.

Share This Page