Building & Publishing
📦 Building Your Addon
To compile your addon into a JAR file that can be installed on a Pano server:
- Open your terminal in the project root.
- Run the build command:bash
./gradlew build - The compiled plugin will be located in:
build/libs/your-plugin-id-version.jar
TIP
If you are using external dependencies that are not provided by Pano, make sure to use the shadowJar task to bundle them.
🚀 Publishing
Versioning
Ensure your gradle.properties file has the correct version number before building.
Distribution
Currently, Pano addons are distributed via:
- GitHub Releases
- The Official Pano Marketplace
To release on GitHub:
- Tag your commit.
- Create a new Release.
- Upload the JAR file from
build/libs.
🤖 Automation
You can automate your build and release process using GitHub Actions.
GitHub Actions
The Pano Boilerplate Plugin comes with a pre-configured .github/workflows/release.yml file. This workflow builds your plugin and creates a release automatically.
Pano Deploy API Token
To automate deployment to the Pano Marketplace, you need a Pano Deploy API Token.
- Log in to the Pano Website.
- Navigate to Profile -> Settings -> API Tokens.
- Click Create to generate a new token.
IMPORTANT
The API token will only be shown once in the modal immediately after creation. Store this token in a secure place, such as your GitHub Secrets or environment variables. Never commit it to a public repository.
Semantic Releases
Deployment is handled using Semantic Releases. You can check the Pano Plugin Pages repository for a real-world example of how to configure .releaserc.json for deployment.
Example configuration uses the @PanoMC/semantic-release-pano plugin to handle the upload to Pano.