11/30/2023 0 Comments Iconomy bukkit 1.8If you do use Java 1.8 or 11 features, Eclipse will suggest changing the language level when you hover over the code "error". Please note that according to BStats, a sizeable number of servers run Java 8 (~64% as of April 2021), so compiling for Java 11 will result in many server owners being unable to run your plugin. You may use other levels, such as 1.8 for Java 8 or 11 for Java 11. Copy and paste this (specifies that the project should be built under Java 7) before : If you wish to use Java 6+ language features, you must specify the Java version that the project should be built on. Click the pom.xml tab at the bottom, and you should see something like this: Now, you should have a window that looks like this:Ĭlick the arrow to the left of your artifact name, and let's get started!īefore you begin developing your plugin you will need to add the Bukkit API library to your project as a dependency, you can also add any other API's you may want to use.ĭouble-click pom.xml, which is at the bottom of your project's folder. If this is your first time using Eclipse, close the Welcome tab by clicking the "X" next to the Welcome tab on the tab bar. For the version, simply stick with the default for now. If you are creating a plugin called TestPlugin your full group name would be io.github., and your artifact name would be TestPlugin. Lets use the GitHub Pages example for this. Once you have the base group name, you will want to finish it off with the plugin name. There are several things that your group must not begin with and those are: Simply use any unique group naming, again, use this as your last resort.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |