Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

xpdustry/NoPayloadConveyorCrash

Repository files navigation

NoPayloadConveyorCrash

Build status Mindustry 7.0 Downloads

This plugin prevents players from crashing a server by constantly changing the direction of a payload conveyor. It accomplishes this by :

  • Replacing the broken blocks with a patched version using reflection, unlike this mod that does this by reloading the entire game.

  • Preventing players from binding logic processors to payload conveyors.

Warning: Mindustry v141 fixed the bug, this plugin is no longer necessary.

Installation

Requirements

  • Java 17 or above.

  • Mindustry v140 or above.

Deployment

Download the plugin jar in the releases and move it in the config/mods directory of your server.

Building

  • ./gradlew shadowJar to compile the plugin into a usable jar (will be located at builds/libs/NoPayloadConveyorCrashPlugin.jar).

  • ./gradlew jar for a plain jar that contains only the plugin code.

  • ./gradlew runMindustryServer to run the plugin in a local Mindustry server.