Bukkit Coding – (1) Downloading and Preparing

Before we get into it, I would like to give you some resources where you may get some help if you need it.

Bukkit Plugin Wiki – The Bukkit Plugin tutorial on the wiki is how I learned the process of creating Bukkit plugins. If you ever find that you don’t quite understand what I’m saying, this is a great place to go for help. You’ll also find some other topics that I may not cover in this series.

Bukkit Forums – Over at the Bukkit forums, you’ll find some very helpful users who are eager to help you with any of your problems. It’s always a good idea to use the search function first. Many questions have been asked already.

Spigot Plugin WikiThe Spigot Plugin Wiki is a good alternative to the Bukkit Plugin Wiki. It covers some of the same concepts, and it’s more geared towards Java beginners.

Spigot Forums – The Spigot forums contains lots of helpful topics much like the Bukkit forums.

Now that you know how to get help, let’s get or hands dirty.

There’s not a whole lot that any Java programmer can do, without first downloading some preliminary software. The first bit of software that we’ll need, is the Java Developer Kit, or JDK for short. This is required for any Java programmer to begin developing Java projects. The Java JDK can be found by going to the following link.

http://www.oracle.com/technetwork/java/javase/downloads/index.html

Once there, you will have to click on the blue download button below the JDK column. After reading and accepting the license agreement, you will next have to click on your current operating system, at which point an EXE file will begin to download. This is the Java JDK installation program. Launching the program will then instruct you to install the Java JDK. This will also install the Java JRE, or Java Runtime Environment, if you don’t already have it. This will allow you to run Bukkit, and the plugins that you’ve created. Chances are, if you’re already running a Bukkit server on your computer, you already have some type of JRE.

There we go! We now have the bare minimum of what’s required to create Bukkit plugins. However, to actually create Bukkit plugins without any more software can be very difficult. That’s where the wonderful software programmers call IDE’s come in. IDE stands for Integrated Development Environment. An IDE will give us advanced features that allow us to easily write, and compile our code. You’ll see these features once we start using our IDE.

Although there are many IDE’s we could choose from, the most popular among Bukkit programmers, and even Java programmers, is Eclipse. You can get Eclipse from the following link.

http://www.eclipse.org/downloads/

Simply click on the Eclipse Standard download for your operating system, and run the EXE that downloads, following the simple steps to install the program. The download is quite big, over 200 MB, so download time make take a while depending on your internet speed. No worries though, I’ll be right here when the download is finished.

Finally, we must begin downloading BuildTools. BuildTools will allow us to obtain Bukkit, Craftbukkit and Spigot by compiling them. The Spigot wiki already has a very lovely guide on how to use BuildTools which you can find using the link below

https://www.spigotmc.org/wiki/buildtools/#prerequisites

Once you finish the prerequisites and the Running BuildTools sections, you should have Spigot-API.jar, Craftbukkit.jar and Spigot.jar. If you would like to run a server, you can run it using either Craftbukkit.jar or Spigot.jar.

Be the first to comment

Leave a Reply

Your email address will not be published.


*