Skip to content

Andreychik32/kotlin-paper-plugin

Repository files navigation

Kotlin Paper Plugin Template

This is starter template for developing Paper plugins in Kotlin language.

Cloning Template

Be sure to use this template as follows:

  1. Clone the repository;
  2. Rename the plugin group name in build.gradle and main class in plugin.yml;
  3. Rename the direstory structure in src/main/java according to your changes;
  4. Do not forget to change package name in KotlinPlugin.kt;
  5. That's all!

Building Plugin

To build plugin, use ./gradlew shadowJar command in project root.

Debugging Plugin

To debug plugin, use gradle's devServer subcommand.

It starts development server, which will take your jar from shadowJar and reload plugin in server each time you build jar using shadowJar. The breakpoints also works in IDE's like IntelliJ.

For more info, please visit PaperMake's Github repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages