Get your Mindustry plugin started with this awesome template repository, it features:
-
GitHub actions for easier testing (the plugin is built for each commit and pull request).
-
Toxopid Gradle plugin for faster Mindustry plugin development and testing.
-
Indra Gradle plugin for easier java development.
-
Bundling and automatic relocation with the Shadow gradle plugin.
- Unused classes are removed from the final jar.
-
A
CHANGELOG.md
file that will be updated automatically when you create a release on GitHub.
-
Update the
build.gradle.kts
,settings.gradle.kts
andplugin.json
files with your plugin data. -
Clear
CHANGELOG.md
and updateLICENSE.md
with your name (or completely changing the license if needed) -
Start K O D I N G.
-
When ready for a release, push your last changes with the release version. Then create a release on GitHub. Once published, the plugin jar will be built and added to the release and the
CHANGELOG.md
file will be updated with the release notes of the GitHub release.
This plugin requires :
-
Java 17 or above.
-
Mindustry v146 or above.
-
./gradlew shadowJar
to compile the plugin into a usable jar (will be located atbuilds/libs/(plugin-name).jar
). -
./gradlew runMindustryServer
to run the plugin in a local Mindustry server. -
./gradlew runMindustryDesktop
to start a local Mindustry client that will let you test the plugin.