Summary
Your first plugin is complete and ready for testing 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 are capable of creating more complex plugins. Each plugin that you create from now on will always start similarly to the way this one was started.
Create a new project.
Add Bukkit as a library.
Fill out
plugin.yml
.Setup your main class as a
JavaPlugin
with theonEnable()
method.