Getting started on Bukkit Plugin creating

Discussion in 'Plugin Development' started by mattmcmullen1, Jul 22, 2013.

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

    mattmcmullen1

    Ok... here we go.

    I want to start creating Bukkit Plugins. I think it would be fun and a learning experience.
    I know like absolutely nothing about java, and I know you have to learn that first.
    Now, before you attack me for saying "I think it would be fun" I know how stressful and time taking this is. But, I'm seriously up for the hard task, and I'm ready to take it.

    So here's what I need to know:
    Videos to help me with anything I need to know starting from step 1, the most basic stuff.
    Text tutorials to help me with anything I need to know starting from step 1, the most basic stuff.
    Anything that helped you learn any of what you know.
    Anything else, whatsoever that helped you, the tiniest piece of information.

    Thanks for the help, I really appreciate it!
     
  2. Offline

    xTrollxDudex

    mattmcmullen1
    How I learned was borrowing a copy of Dummies Java 5th Edition from the Library.
    Other than that, a basic plugin tutorial I found was from betterphp from YouTube. And after I saw that I went around on the forums looking for threads that answers my questions.
     
  3. Offline

    mattmcmullen1

    Thank you :D. I really like the idea of people posting links and everything so it's all in this one thread I can look back to

    EDIT: Also, when I come back, I hope your signature is some kind of joke hidden in java language ;)
     
  4. Offline

    Vexil

    I actually learned Java at the same time I was learning bukkit. I caught on, so it was fairly easy after a while. Once I started actually creating more advanced plugins privately for servers, I needed to get a bit better at java its self, not just what is needed for basic bukkit plugins. I watched these tutorials http://thenewboston.org/list.php?cat=31 (those are the beginner tutorials) and then I watched the intermediate tutorials http://thenewboston.org/list.php?cat=25. That should be all that you need, along with plugin tutorials, http://www.youtube.com/playlist?list=PL4A0C6138F3F5AA41 (This is thebcbroz, you can look for other ones, like pogostick29dev for example.) and also the javadocs http://jd.bukkit.org/dev/doxygen/. Good luck! :D
     
  5. Offline

    mattmcmullen1

    Thank you so much! I love the bukkit community because of people like you! If anyone that is trying to find video tutorials for java, go to http://www.javavideotutes.com! I'm watching him now, but I will definitely look at everyone's recommendations!
     
    BenCS_ likes this.
  6. Offline

    SnipsRevival

    And how about a link to the good old Bukkit Plugin Tutorial http://wiki.bukkit.org/Plugin_Tutorial

    This will help you get your plugin started, but you will need to take a look at tutorials others have posted if you want to get anywhere with your plugin.
     
  7. Offline

    Compressions

    mattmcmullen1 Personally, I learn best using textbooks as I can proceed at my own pace.
     
  8. Offline

    JPG2000

    mattmcmullen1 I first started with the Bcbroz youtube serious, which gets you into bukkit. Then I just messed around with it for about a month. Then I watched thenewbostons vids (Thoose REALLY HELPED ME) and went on from therr.
     
  9. Offline

    mattmcmullen1

    JPG2000 BenCS_ I'm watching thenewbostons videos now! He is really good at explaining, and has a little humor

    So just an update for everyone.
    I just made my very first java calculator!
    Thanks so much guys for the links and everything!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 3, 2016
  10. Offline

    JPG2000

    mattmcmullen1 Np. And once you feel comfrotble with the newbostones videos, move to thebcbroz. Search thebcbrox and click there first video for plugins. Izt will help you make a easy plugin and get into minecraft stuff. It will really help you. Also, they teach you neat stuff like healing players. And BTW if you have a question feel free to msg me or add me on skype!
     
  11. Offline

    mattmcmullen1

    Thanks! Could you PM me your skype just for future use?
     
  12. Offline

    psanker

    A fat Java reference book would do. I personally started on C++ so the transition to Java wasn't too hard. Though I still grumble about references as opposed to pointers and true variables...
     
  13. Offline

    Loogeh

    JPG2000 mattmcmullen1 TheBCBroz are a very good place to learn how to program bukkit plugins but some of the early are outdated. I think the main thing which is outdated is the PluginManager section which goes into the main class. Just look out for that.
     
  14. Offline

    JPG2000

    Loogeh Yes. Looking back thebcbroz make everything longer then it shoud be...but a amzing starting point.
     
    BenCS_ likes this.
  15. Offline

    mattmcmullen1

  16. Offline

    creepers84

    I learnt basic java by getting stuck in and remembering how thinks link together. I'm starting to progress onto larger scale projects. :)
     
  17. Offline

    xTrollxDudex

    mattmcmullen1
    Lol of course my sig is a joke. It does work though, but it doesnt have the imports or the plugin.yml. Now I found like 2 people who got ideas off of it :p

    Good luck
     
  18. Offline

    jflory7

    mattmcmullen1
    I recently posted this in another thread, and I hope you will find it of use.

    A great page to reference first before anything is the BukkitDev "Setting up your workspace" page, seen HERE. I will also help break things down for you on the page, as many people don't completely understand it when they are first getting started coding.

    JDK: An Explanation (open)

    The first part is about the JDK, or Java Development Kit. The programming language that is used to code plugins for Bukkit is Java. Pretty much all computers have Java installed on their computer, but people programming with Java have to have a special package, or development kit, to be able to fully use Java for programming.


    Git: An Explanation (open)

    The next part is Git. Git is a version control software, which means you can access backups of your code. Think of Git like an online backup drive, where you can make backups of your code that you can go back to at any time. It's also the best way to do group projects where you would be sharing and working on the code with others at the same time. You will need to download the actual Git software on your computer. The actual way Git works is through a command line (kind of like the console of a server), and it's rather difficult to learn.

    However, that's where GitHub comes in. GitHub is a website that lets you make the repositories (a.k.a. places where you back up your code) for free, and it includes tools that make working on code together with others easier. GitHub also has a standalone application that makes Git much easier to use. You'll want to download and install this after you install Git, and you have made a GitHub account for free at http://github.com.


    Maven: Kind of an Explanation (open)

    Apache Maven is really this thing that I don't really understand. I have it installed on my computer, and it's apparently essential for coding for Bukkit. I think you can just install it and forget it. The download link for it is here.http://maven.apache.org/download.cgi


    IDE: An Explanation (open)

    Finally, your IDE - or Integrated Development Environment. That's a fancy way of saying what program you're using to actually do all the coding. The most popular free one (and the one that I use) is Eclipse. You'll want to download that so you can actually create packages and classes for your plugin.


    If you have any more questions, just ask!
     
  19. Offline

    mattmcmullen1

    Thanks a bunch!
     
  20. Offline

    psanker

    Maven is an XML-based project type that's standard in Java environments. There's also the Ant project type which is pretty much only in Eclipse.
     
  21. Offline

    jflory7

    psanker
    If you don't mind explaining it to me, what exactly is its function? I know it's for creating builds of things (e.g. the Bukkit API), but I don't understand how it works or what the benefits of using it are.
     
  22. Offline

    psanker

    Maven is a highly extensible project build environment. Numerous plugins can be linked into Maven, such as packaging a bunch of files and the exported jarfile into a ZIP, replacing certain strings in files with other strings e.g. using the Maven version project number and replacing the string "MAVEN_VERSION" with the Maven version in the plugin.yml file, etc.
     
Thread Status:
Not open for further replies.

Share This Page