SpigotPluginTemplate

使い方

  • Use this template を押して、GitHub 上にプロジェクトを作成する。
  • 作成したプロジェクトをクローンする。
  • Gradle の setup タスクを実行して、初期化する。

plugin.yml

ビルド時に自動生成されます。build.gradle.kts の以下の箇所で設定できます。 書き方は https://github.com/Minecrell/plugin-yml の Bukkit kotlin-dsl を見てください。

configure<BukkitPluginDescription> {
    // 内容
}

タスク

プラグインのビルド build

build/libs フォルダに .jar を生成します。

テストサーバーの起動 buildAndLaunchServer

:25565 でテストサーバーを起動します。