Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 2 KB

Readme.md

File metadata and controls

42 lines (28 loc) · 2 KB

Build Status GitHub release (latest SemVer including pre-releases) Commitizen friendly semantic-release

Workspace Setup

You can use this template to develop your own Spigot plugins with Gradle.

Supported Versions

Version Support
1.8.8 ✔️
1.12.2 ✔️
1.13.2 ✔️
1.14.4 ✔️
1.15.2 ✔️

Setup Template

Note This setup is actual only for IntelliJ

  • Create a new Github project using this template
  • Clone this repository and open it in IntelliJ
  • Import the project with gradle
  • Go into the gradle.properties file and update the variables.
  • Then execute the setupServer run configuration and the template will download the server jar file.

Then you can start coding :)

Deploy Task

You can export your plugin to the plugins directory from your working directory with the Gradle deploy task. The task will build and copy your plugin automatically.

Debugging the Server

You can use and debug the installed test server by running the Server run configuration. Every time you start the server, the plugin will be deployed. You can disable it, when you edit the Server run configuration.

Important info

By using this template and starting the server, you agree to the Minecraft EULA automatically, because in this template is the eula file, because then you dont have to agree manually.