Book Image

Building Minecraft Server Modifications - Second Edition

By : Cody M. Sommer
4 (1)
Book Image

Building Minecraft Server Modifications - Second Edition

4 (1)
By: Cody M. Sommer

Overview of this book

Minecraft is a sandbox game that allows you to play it in any way you want. Coupled with a multiplayer server powered by Spigot, you can customize the game even more! Using the Bukkit API, anyone interested in learning how to program can control their Minecraft world by developing server plugins. This book is a great introduction to software development through the wonderful world of Minecraft. We start by instructing you through how to set up your home PC for Minecraft server development. This includes an IDE complete with the required libraries as well as a Spigot server to test on. You will be guided through writing code for several different plugins. Each chapter teaches you new skills to create plugins of increasing complexity, and each plugin adds a new concept of the Bukkit API By the end of the book, you will have all the knowledge you need about the API to successfully create any type of plugin. You can then practice and build your Java skills through developing more mods for their server.
Table of Contents (17 chapters)
Building Minecraft Server Modifications Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Installing an IDE


In this book, we will use NetBeans as our IDE. There are other popular IDEs too, such as Eclipse and IntelliJ IDEA. You can use a different IDE if you wish. However, in this chapter, it will be assumed that you are using NetBeans. No matter which IDE you choose, the Java code will be the same. Therefore, as long as you set up the code properly, you can use any IDE for the remaining chapters. If you are fairly new to programming, then I suggest that you use NetBeans for now, and after you are more comfortable with programming, try other IDEs and choose the one that you prefer.

The NetBeans IDE can be downloaded from http://www.oracle.com/technetwork/java/javase/downloads/. Downloading the program from Oracle will also allow us to download the required Java Development Kit (JDK) at the same time. You will see several download links. Click on the NetBeans link to visit the JDK 8 with NetBeans download page. Once you select Accept License Agreement, you will be allowed to download...