Skip to content

Anuken/MindustryPluginTemplate

Repository files navigation

Setup

Clone this repository first. To edit the plugin display name and other data, take a look at plugin.json.

Basic Usage

See src/example/ExamplePlugin.java for some basic commands and event handlers.
Every main plugin class must extend Plugin. Make sure that plugin.json points to the correct main plugin class.

Building a Jar

gradlew jar / ./gradlew jar

Output jar should be in build/libs.

Installing

Simply place the output jar from the step above in your server's config/mods directory and restart the server. List your currently installed plugins/mods by running the mods command.

Updating Dependencies

By default, this template depends on the latest (stable) release of Mindustry. Gradle caches the JARs it fetches; to refresh them, run: ./gradlew --refresh-dependencies jar

About

The template & example repository for Mindustry server plugins

Resources

Stars

41 stars

Watchers

3 watching

Forks

Packages

 
 
 

Contributors

Languages