Clone this repository first. To edit the plugin display name and other data, take a look at plugin.json. Edit the name of the project itself by going into settings.gradle.
See src/example/ExamplePlugin.java for some basic commands and event handlers. Every main plugin class must extend Plugin. Make sure that plugin.json points to the correct main plugin class.
Please note that the plugin system is in beta, and as such is subject to changes.
gradlew jar or ./gradlew jar
Output jar should be in build/libs.
Simply place the output jar from the step above in your server's data/plugins directory and restart the server. List your currently installed plugins by running the mods command.