Skip to content
You are not logged in |Login  
     
Limit search to available items
Record:   Prev Next
Resources
More Information
Bestseller
BestsellerE-book
Author Sommer, Cody M., author.

Title Building Minecraft server modifications : create and customize your very own Minecraft server using Java and the Spigot API / Cody M. Sommer.

Publication Info. Birmingham, UK : Packt Publishing, 2015.

Item Status

Edition Second edition.
Description 1 online resource (1 volume) : illustrations.
Physical Medium polychrome
Description text file
Series Community experience distilled
Community experience distilled.
Note Includes index.
Summary Create and customize your very own Minecraft server using Java and the Spigot APIAbout 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 friendsWho This Book Is ForThis 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 restartsIn DetailMinecraft 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 approachThis 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.
Contents Cover ; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Preface; Chapter 1: Deploying a Spigot Server ; Introduction to Spigot; Installing a new Spigot server; Setting up a new server; Minecraft/Bukkit server commands; Port forwarding; Summary; Chapter 2: Learning the Bukkit API ; Introduction to APIs; The Bukkit API documentation; Navigating through the Bukkit API documentation; Understanding the Java documentation; Exploring the Bukkit API; Summary; Chapter 3: Creating Your First Bukkit Plugin ; Installing an IDE; Creating a new project.
Adding Bukkit as a libraryThe essentials of a Bukkit plugin; The plugin.yml file; The plugin's main class; Making and calling new methods; Expanding your code; Summary; Chapter 4: Testing on the Spigot Server ; Building a JAR file; Installing the plugin; Testing your plugin; Testing new versions of the plugin; Debugging the code; Learning from your mistakes; When researching is not enough; Reading the stack trace; Breaking down the code; Adding debug messages; Referring back to the Javadoc; Fixing the bug only after you understand it; Summary; Chapter 5 : Plugin Commands.
Adding a command to plugin.ymlProgramming the command actions; Assigning the executor for the enchant command; Summary; Chapter 6: Player Permissions ; The benefits of permissions; Understanding permission nodes; Adding a permission node to plugin.yml; Assigning a permission node to a plugin command; Testing player permissions; Using a third-party permissions plugin; Using permission nodes throughout your plugins; Summary; Chapter 7: The Bukkit Event System ; Choosing an event; Registering an event listener; Listening for an event; Canceling an event; Communicating among events.
Modifying an event as it occursCreating more plugins on your own; Summary; Chapter 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; Chapter 9: Saving Your Data ; Types of data that can be saved; Which data to save and when; A sample teleportation plugin.
Writing a ConfigurationSerializable classSaving data to a YAML configuration; Loading data from a YAML configuration; Summary; Chapter 10 : The Bukkit Scheduler; Creating a BukkitRunnable class; Synchronous versus asynchronous tasks; Running a task from a BukkitRunnable class; Running a task later from a BukkitRunnable class; Running a task timer from a BukkitRunnable class; Writing a repeating task for a plugin; Adding a delayed task to a plugin; Executing code asynchronously; Summary; Index.
Local Note eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - North America
Subject Minecraft (Game)
Minecraft (Game)
Video games -- Programming.
Video games -- Programming.
Client/server computing.
Client/server computing.
Genre/Form Electronic books.
Other Form: Print version: Sommer, Cody M. Building Minecraft Server Modifications. Birmingham : Packt Publishing, ©1900
ISBN 9781785886874 (electronic book)
1785886878 (electronic book)
178588302X
9781785883026
9781785883026
178588302X
Standard No. 9781785883026