This is a template for creating a Paper plugin in Scala.
Firstly, clone this repository via git clone https://github.com/Bluheir/scala-plugin-template
. You will then need to change a few things.
- Rename the project in
plugin.yml
andbuild.gradle
to the name you would like for your plugin. - Rename the group in
build.gradle
to your group. - Move
Plugin.scala
to the appropriate directory for your group. - Rename the package in
Plugin.scala
. - In
plugin.yml
, change the value formain
to the canonical class name for your plugin.
gradle build
The jar file plugin will be located in ./build/libs