Summary
Your first plugin is complete and ready to be tested on your server. In the next chapter, we will install your new plugin, learn how to test it, and discover when the onEnable
method is executed by the server. Now that you are familiar with writing and calling methods, you can now create basic plugins. Each plugin that you create from now on will always start in a way that is similar to the way this one was started, that is, first create a new project and add Bukkit as a library then fill out the plugin.yml
file and finally set up your main class as a JavaPlugin
class with the onEnable
method.
Get Building Minecraft Server Modifications - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.