Building from source
Build both plugin JARs and their Javadocs with Maven.
Both projects are plain Maven builds targeting Java 8 bytecode, so the same JAR runs from 1.13.2 up to 26.x and on Folia.
Requirements
- A JDK, 8 or newer
- Maven 3
Build
From each project’s folder:
mvn -B clean verify javadoc:javadoc
| Output | GlacierHub | GlacierStaff |
|---|---|---|
| Plugin JAR | target/GlacierHub-2.0.1.jar |
target/GlacierStaff-3.0.0.jar |
| API docs | target/site/apidocs/index.html |
target/site/apidocs/index.html |
verify runs the test suite, including the architecture checks that stop one module from importing another.
Install the API locally
To compile your own plugin against a local build:
mvn -B install -DskipTests
Then depend on the artifact with provided scope, as shown in the GlacierHub API and GlacierStaff API pages.
Before you ship a change
- Enable, disable and re-enable every module you touched.
- Stop the server with players online and check their inventories come back.
- Run it once on Folia if the change touches scheduling, teleports or player state.