Here is an example of a main plugin class for the plugin "MyPlugin": package // for the jar you downloaded before starting these topics. By convention it is good to give this class the same name as your plugin. It is a class that extends JavaPlugin and only one instance of it should be created by your plugin. The plugin's main class is the entry point for Bukkit to load an interact with your plugin. The other is to add it as a Maven dependency, by adding the following lines to your pom.xml : ![]() Legacy versions of Bukkit can be found at the Bukkit Repository. ![]() The simplest method to add the Bukkit API to your project is to download the Bukkit.jar directly from the Spigot Repository and add it to your project's classpath.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |