Home Page Icon
Home Page
Table of Contents for
Index
Close
Index
by Cody M. Sommer
Building Minecraft Server Modifications - Second Edition
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
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
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
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
3. Creating Your First Bukkit Plugin
Installing an IDE
Creating a new project
Adding Bukkit as a library
The essentials of a Bukkit plugin
The plugin.yml file
The plugin's main class
Making and calling new methods
Expanding your code
Summary
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
5. Plugin Commands
Adding a command to plugin.yml
Programming the command actions
Assigning the executor for the enchant command
Summary
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
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 occurs
Creating more plugins on your own
Summary
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
Types of data that can be saved
Which data to save and when
A sample teleportation plugin
Writing a ConfigurationSerializable class
Saving data to a YAML configuration
Loading data from a YAML configuration
Summary
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
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Summary
Index
A
abstract class
about /
Creating a BukkitRunnable class
API
defining /
Introduction to APIs
API docs
URL /
Programming the command actions
asynchronous tasks
versus synchronous tasks /
Synchronous versus asynchronous tasks
B
bugs
about /
Debugging the code
build tools JAR file
URL /
Installing a new Spigot server
Bukkit
about /
Introduction to Spigot
adding, as library /
Adding Bukkit as a library
Bukkit API
defining /
Exploring the Bukkit API
Bukkit API documentation
defining /
The Bukkit API documentation
URL /
The Bukkit API documentation
navigating through /
Navigating through the Bukkit API documentation
Bukkit class
URL /
Making and calling new methods
Bukkit events
reference link /
Choosing an event
Bukkit library
reference /
Adding Bukkit as a library
Bukkit plugin
defining /
The essentials of a Bukkit plugin
plugin.yml file /
The plugin.yml file
main class /
The plugin's main class
Bukkit plugins
URL /
Setting up a new server
BukkitRunnable class
creating /
Creating a BukkitRunnable class
reference link /
Creating a BukkitRunnable class
task, running from /
Running a task from a BukkitRunnable class
task, running later from /
Running a task later from a BukkitRunnable class
task timer, running from /
Running a task timer from a BukkitRunnable class
C
chunk
about /
Setting up a new server
class
variables, accessing from /
Accessing variables from another class
client
about /
Installing a new Spigot server
code
expanding /
Expanding your code
debugging /
Debugging the code
plugin, writing /
Learning from your mistakes
researching /
When researching is not enough
stack trace, reading /
Reading the stack trace
breaking down /
Breaking down the code
debug messages, adding /
Adding debug messages
Javadoc /
Referring back to the Javadoc
bug, fixing /
Fixing the bug only after you understand it
executing, asynchronously /
Executing code asynchronously
CodsPerms
about /
Using a third-party permissions plugin
reference link /
Using a third-party permissions plugin
command
adding, to plugin.yml /
Adding a command to plugin.yml
command actions
programming /
Programming the command actions
config.yml file
writing /
Writing a config.yml file
config file
saving /
Saving, loading, and reloading the config file
loading /
Saving, loading, and reloading the config file
reloading /
Saving, loading, and reloading the config file
configurable data types
about /
Configurable data types
ConfigurationSerializable class
writing /
Writing a ConfigurationSerializable class
configuration values
storing, as variables /
Storing configuration values as variables
configured settings
using, within plugin /
Using configured settings within your plugin
configured values
reading /
Reading and storing the configured values
storing /
Reading and storing the configured values
console
about /
Minecraft/Bukkit server commands
CraftBukkit
about /
Introduction to Spigot
D
data
saving, to YAML configuration /
Saving data to a YAML configuration
loading, from YAML configuration /
Loading data from a YAML configuration
data types
saving /
Types of data that can be saved
,
Which data to save and when
debugging
about /
Debugging the code
delayed task
adding, to plugin /
Adding a delayed task to a plugin
E
enchant command
parameters /
Programming the command actions
executor, assigning for /
Assigning the executor for the enchant command
/
Understanding permission nodes
Enchanter plugin
about /
Understanding permission nodes
permission node, creating for /
Understanding permission nodes
EntityEquipment
reference link /
Storing configuration values as variables
EntityType class
reference link /
Modifying an event as it occurs
,
Writing a config.yml file
event
selecting /
Choosing an event
listening for /
Listening for an event
canceling /
Canceling an event
communicating among /
Communicating among events
modifying /
Modifying an event as it occurs
event listener
registering /
Registering an event listener
executor
assigning, for enchant command /
Assigning the executor for the enchant command
F
formatting codes
reference link /
Assigning a permission node to a plugin command
G
Git for Windows
URL /
Installing a new Spigot server
H
hardcoded
about /
Using configured settings within your plugin
hashmaps
about /
Saving data to a YAML configuration
I
IDE
installing /
Installing an IDE
interface
about /
Introduction to APIs
ItemStack, within configuration
about /
ItemStack within a configuration
ItemStack class
URL /
Programming the command actions
J
JAR file
building /
Building a JAR file
Java
URL /
Installing a new Spigot server
Java Development Kit (JDK)
about /
Installing an IDE
Javadoc
about /
Navigating through the Bukkit API documentation
,
Writing a ConfigurationSerializable class
Java documentation
defining /
Understanding the Java documentation
M
Maps
reference link /
Writing a ConfigurationSerializable class
meta
about /
ItemStack within a configuration
meta value
about /
ItemStack within a configuration
methods
creating /
Making and calling new methods
calling /
Making and calling new methods
Minecraft
URL /
Introduction to Spigot
,
Setting up a new server
Minecraft/Bukkit
server commands /
Minecraft/Bukkit server commands
Minecraft Wiki
URL /
Programming the command actions
Mojang
URL /
Installing a new Spigot server
MOTD (Message Of The Day)
about /
Setting up a new server
N
NetBeans
new project, creating /
Creating a new project
NetBeans IDE
URL /
Installing an IDE
new server
setting up /
Setting up a new server
null object
about /
When researching is not enough
NullPointerException
about /
When researching is not enough
O
operator (op)
about /
Minecraft/Bukkit server commands
org.bukkit.entity
reference link /
Modifying an event as it occurs
org.bukkit.Material
reference link /
ItemStack within a configuration
P
permission node
about /
Understanding permission nodes
creating, for Enchanter plugin /
Understanding permission nodes
adding, to plugin.yml file /
Adding a permission node to plugin.yml
assigning, to plugin command /
Assigning a permission node to a plugin command
using, throughout plugins /
Using permission nodes throughout your plugins
permission node, Bukkit
reference link /
Using permission nodes throughout your plugins
permissions
about /
The benefits of permissions
benefits /
The benefits of permissions
permissions, Bukkit commands
reference link /
Using a third-party permissions plugin
Player class
URL /
Programming the command actions
player permissions
testing /
Testing player permissions
plugin
installing /
Installing the plugin
testing /
Testing your plugin
new versions, testing /
Testing new versions of the plugin
configured settings, using within /
Using configured settings within your plugin
repeating task, writing for /
Writing a repeating task for a plugin
delayed task, adding to /
Adding a delayed task to a plugin
plugin.yml
command, adding to /
Adding a command to plugin.yml
plugin.yml file
permission node, adding to /
Adding a permission node to plugin.yml
reference link /
Adding a permission node to plugin.yml
plugin command
permission node, assigning to /
Assigning a permission node to a plugin command
plugins
defining /
Exploring the Bukkit API
permission node, using throughout /
Using permission nodes throughout your plugins
creating /
Creating more plugins on your own
port forwarding
defining /
Port forwarding
URL /
Port forwarding
about /
Port forwarding
programming concepts
URL /
Programming the command actions
property explanations
URL /
Setting up a new server
Pumpkin Bread
about /
Introduction to APIs
PvP (Player versus Player)
about /
Setting up a new server
PvP arena plugin
about /
Which data to save and when
R
refactoring
about /
Accessing variables from another class
repeating task
writing, for plugin /
Writing a repeating task for a plugin
S
sample teleportation plugin
about /
A sample teleportation plugin
serialization
about /
Writing a ConfigurationSerializable class
server commands, Minecraft/Bukkit
references /
Minecraft/Bukkit server commands
softcoded
about /
Using configured settings within your plugin
Spigot
defining /
Introduction to Spigot
about /
Introduction to Spigot
Spigot API
URL /
The Bukkit API documentation
Spigot server
installing /
Installing a new Spigot server
references /
Installing a new Spigot server
Stack Overflow
URL /
Learning from your mistakes
stack trace
about /
Reading the stack trace
superset
about /
The Bukkit API documentation
synchronous tasks
versus asynchronous tasks /
Synchronous versus asynchronous tasks
T
task
running, from BukkitRunnable class /
Running a task from a BukkitRunnable class
running, later from BukkitRunnable class /
Running a task later from a BukkitRunnable class
task timer
running, from BukkitRunnable class /
Running a task timer from a BukkitRunnable class
third-party permissions plugin
using /
Using a third-party permissions plugin
ticks
about /
Setting up a new server
U
UUID (Universal Unique Identifier) /
Types of data that can be saved
V
Vanilla
about /
Introduction to Spigot
variables
configuration values, storing as /
Storing configuration values as variables
accessing, from class /
Accessing variables from another class
version numbers
URL /
The plugin.yml file
W
warp delay
adding, to Warper plugin /
Adding a delayed task to a plugin
Warper plugin
warp delay, adding to /
Adding a delayed task to a plugin
Y
YAML configuration
data, saving to /
Saving data to a YAML configuration
data, loading from /
Loading data from a YAML configuration
YAML configuration hierarchy
about /
YAML configuration hierarchy
YAML language
URL /
Adding a command to plugin.yml
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset