Mindustry

Router Pi


A Raspberry pi running a Mindustry server!

I thought it was harder than it should be to find relevant or correct information about what i was trying to accomplish from search results.

I'm documenting what I have done so I can have repeatable results.

If this helps any one else even better.

Feel free to use, copy, claim ownership authorship or whatever.

I'm not responsible for wasting your time or corrupting your installation or hardware.

Usfull links

https://github.com/Anuken/Mindustry/releases/download/v140.4/server-release.jar

https://mindustrygame.github.io/wiki/serve4aQrs/#dedicated-servers

https://mindustrygame.github.io/docs/mindustry/game/Rules.html

https://www.raspberrypi.com/software/

https://www.raspberrypi.com/software/000000000

https://www.tomshardware.com/reviews/raspberry-pi-headless-setup-how-to,6028.html

https://foojay.io/today/installing-java-with-sdkman-on-raspberry-pi/

https://snapcraft.io/install/openjdk/raspbian

https://github.com/Kieaer/Essentials/blob/main/README.md

https://termux.dev/en/

https://pimylifeup.com/raspberry-pi-ftp/

https://https://github.com/Anuken/Mindustry/blob/master/servers_v7.json

https://mindustry.dev/

Required equipment

Raspberry pi 3 or 4 running 64 bit OS

16GB sd card or larger

A decent Router with port forwarding

DDNS some kind of Dynamic DNS Update Client

Where's that SD card?

Make sure that you setup ssh passwords before you flash the SD card.

Copy Pasta

ssh pi@192.168.1.3

sudo apt update

sudo apt upgrade

sudo reboot

sudo raspi-config (Enable vnc or any additional stuff)

sudo apt -y install wget curl

curl -s "https://get.sdkman.io" | bash

sudo !!

sdk list java

sdk install java 19.0.1-oracle

exit & reboot

cd ..

ls

sudo mkdir mindustry

cd mindustry

wget https://github.com/Anuken/Mindustry/releases/download/v140.4/server-release.jar

java -jar server-release.jar

Dedicated Server Commands

host

config name Router Pi Project v0.1

config desc hello world

config autoPause true

rules add coreIncinerates true

rules add disableWorldProcessors true

rules add bannedBlocks ["logic-display", "large-logic-display","foreshadow"]