Chapter 3Build and Install a Plugin
After completing this chapter you’ll know how to
-
Compile Java source code to .class files, pack them in a jar, and install them on a Minecraft server
-
Run your local server with a new plugin
-
Connect to your local server
Now that you have the tools installed, we’ll build a simple, basic plugin. It won’t do much as plugins go, but it will make sure you can build and run your own plugins, and it will act as starting point (or skeleton) for all the plugins we’ll write in this book.
So how do your typed-in instructions end up running on a Minecraft server? Here’s how the whole process works.
You type Java language instructions (we call that “source code”) and save them into a text file, and then the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access