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.mdfile that will be updated automatically when you create a release on GitHub.
-
Update the
build.gradle.kts,settings.gradle.ktsandplugin.jsonfiles with your plugin data. -
Clear
CHANGELOG.mdand updateLICENSE.mdwith 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.mdfile will be updated with the release notes of the GitHub release.
This plugin requires :
-
Java 17 or above.
-
Mindustry v146 or above.
-
./gradlew shadowJarto compile the plugin into a usable jar (will be located atbuilds/libs/(plugin-name).jar). -
./gradlew runMindustryServerto run the plugin in a local Mindustry server. -
./gradlew runMindustryDesktopto start a local Mindustry client that will let you test the plugin.