Book description
Create and customize your very own Minecraft server using Java and the Spigot API
About This Book
- Set up a Minecraft server that you control
- Use object-oriented programming to modify Minecraft regardless of your level of experience
- This interactive guide will help you create a unique experience for you and your friends
Who This Book Is For
This book is great for anyone who is interested in customizing their Minecraft server. Whether you are new to programming, Java, Bukkit, or even Minecraft itself, this book has you covered. All you need is a valid Minecraft account. If you are interested in programming as a career or hobby, this book will get you started. If you are simply interested in playing Minecraft with your friends, then this book will help you make that experience even more enjoyable.
What You Will Learn
- Install and run a Spigot server for free on your home PC
- Adjust the server settings to customize Minecraft to your liking
- Install an IDE and configure a project to write code
- Install and test plugins on a Spigot server
- Test your plugins through debugging the code
- Program in game commands and permissions
- Get to know advanced programming concepts such as event-driven programming, configuration files, saving/loading data, and scheduled tasks
- Implement configuration files to make your plugins customizable
- Save and load your plugin's data to persist across server restarts
In Detail
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.
Style and approach
This hands-on guide is filled with interactive examples to help you modify Minecraft. Programming terms and concepts are explained along the way so even those who have never written code before can keep up.
Table of contents
-
Building Minecraft Server Modifications Second Edition
- Table of Contents
- Building Minecraft Server Modifications Second Edition
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Deploying a Spigot Server
- 2. Learning the Bukkit API
- 3. Creating Your First Bukkit Plugin
- 4. Testing on the Spigot Server
- 5. Plugin Commands
- 6. Player Permissions
- 7. The Bukkit Event System
-
8. Making Your Plugin Configurable
- Configurable data types
- Writing a config.yml file
- Saving, loading, and reloading the config file
- Reading and storing the configured values
- Using configured settings within your plugin
- ItemStack within a configuration
- YAML configuration hierarchy
- Storing configuration values as variables
- Accessing variables from another class
- Summary
- 9. Saving Your Data
- 10. The Bukkit Scheduler
- Index
Product information
- Title: Building Minecraft Server Modifications - Second Edition
- Author(s):
- Release date: December 2015
- Publisher(s): Packt Publishing
- ISBN: 9781785883026
You might also like
book
The Ultimate Guide to Minecraft Server
Run your own Minecraft server: take total control of your Minecraft experience! What’s more fun than …
video
Minecraft Modding with Forge
In this Minecraft Modding with Forge training course, expert author Arun Gupta, along with his son …
book
Minecraft Modding with Forge
Playing Minecraft is a lot of fun, but the game is more engaging, entertaining, and educational …
video
'Minecraft Redstone Essentials and Must-Do Projects'
This downloadable video explores exactly what redstone is, how we can use it, and the tools …