VGKAMI
Advertise Get listed

Game Guides

How to Make a Mindustry Server: Step-by-Step Setup Guide

Published 11 min read

To make a Mindustry server, install Java on a computer or VPS, download the Mindustry server JAR, launch it from a terminal, and start a map with the host command. Players then join using the host’s reachable IP address or DNS name and the configured port. For the standard setup, allow port 6567 for both TCP and UDP; home hosts must also forward that port from the router to the server computer.

The process is free in software terms, but a public server still needs an always-available host and correct firewall rules. The steps below cover a private LAN server, a home-hosted Internet server, and a continuously running VPS or managed host.

What is a dedicated Mindustry server?

A dedicated Mindustry server is a standalone, headless program that runs the server JAR without launching the normal game interface. It exists to provide multiplayer sessions while the host computer or VPS supplies the process, files, network connection, and administration console. The official Mindustry server guide describes this as a server focused only on providing multiplayer.

Players still use the regular Mindustry client. The server process loads maps, applies gameplay and access settings, accepts connections, and writes its save and configuration data. Because the server is separate from a player’s game window, the host can be a machine used mainly for server duties.

Which type of host should you use?

Choose the host based on how often the server must be online and how much networking work you want to handle. A home computer is practical for a small private group, while a VPS or managed game host is better when friends need reliable access without depending on a home PC and router.

Hosting choice Best fit Network work Control and uptime
Home computer Small private group or occasional sessions Local play needs no public forwarding; Internet play requires a router rule and host-firewall rule Full control of files and mods; uptime depends on the computer staying online
Linux or Windows VPS Continuous public availability Configure the operating-system firewall and, where applicable, the provider’s cloud firewall; no home-router forwarding Direct control of the server files and process; suited to long-running uptime
Managed game host People who want the provider to handle much of the underlying hosting setup Usually avoids home-router tasks; follow the provider’s port and connection instructions Convenient deployment, with file and mod access determined by the service

The official documentation recommends a dedicated Linux or Windows machine. A Mindustry-compatible VPS or managed game-hosting service can be useful when you need continuous uptime, but verify its current Java support, file access, backup policy, and firewall controls before committing.

What do you need before installing the server?

  • A computer, VPS, or managed host that can stay online for the sessions you want to run.
  • Java installed on that host. Java is the first prerequisite in the official setup sequence.
  • The Mindustry server release JAR downloaded from the project’s current release channel.
  • A dedicated folder for the JAR and the files it creates.
  • Permission to open the server port in the host firewall. Public home hosting additionally requires access to the router’s port-forwarding controls.
  • The Mindustry version and mod list you intend to require from players.

The cited official setup documents do not promise one universal CPU, RAM, bandwidth, or player limit. Workload, map, mods, simulation activity, and connection quality determine the practical capacity, so start with a small group and watch the server’s behavior rather than relying on a generic specification.

How do you make a Mindustry server step by step?

1. Choose and prepare the host

For a local or small private server, use a home Windows or Linux computer that can remain powered on. For a public server that should run continuously, a VPS or managed host avoids many home-router tasks and is less dependent on someone’s personal computer. Give the machine a stable local address if you will forward a home-router port; otherwise, the forwarding rule can point to the wrong device after a DHCP change.

2. Install Java

Install a supported Java runtime on the host before launching Mindustry. On a VPS, follow the operating system’s package instructions; the Hetzner Mindustry tutorial demonstrates the Java installation stage on Linux. On Windows, install Java and open a new Command Prompt or PowerShell window so the java command is available.

Check that Java is visible by running java -version. If the command is not found, finish the Java installation or correct the system PATH before troubleshooting Mindustry itself.

3. Download the server release

Download the server release you want from Mindustry’s current release channels. The file is commonly named server.jar or server-release.jar; Windows may hide the .jar extension, so confirm the complete filename in the file properties or by listing the directory contents.

4. Put the JAR in its own folder

Create a folder used only by this server, such as a directory named mindustry-server. Keeping the JAR and the files it creates together makes backups, upgrades, and recovery easier. Do not start the command from an unrelated download folder unless that is intentionally where you want the server state stored.

5. Open a terminal in that folder

Start a terminal on Linux or a Command Prompt/PowerShell window on Windows, then change into the server directory with cd. For example, after navigating to the folder in a graphical file manager, use its “Open in Terminal” option when available. A working-directory mistake is the usual reason Java reports that it cannot access the JAR.

6. Launch the server process

Run the exact filename you downloaded:

java -jar server-release.jar

If your file is named server.jar, use java -jar server.jar instead. Keep the terminal open so startup errors remain visible. Once the console is running, type help to display the commands available in that release.

7. Start a map

Use the console’s host command to create a session:

host <mapname> [mode]

Replace <mapname> with the map you want and optionally provide a mode. The brackets indicate an optional argument, not characters to type. If you need to discover available maps first, use maps; then confirm the running session with status.

8. Configure the server

Set the server name and description, listening port, logging behavior, whitelist, player limit, autosave, anti-spam controls, and other gameplay options in the configuration supported by your current release. Use the version-matched keys in the Mindustry wiki server documentation rather than copying settings from an old tutorial.

Useful console commands include:

Command Purpose
help Shows commands supported by the running server release
status Checks the current server session
version Displays the server version for compatibility checks
maps Lists maps available to host
mods Lists installed server mods
config Inspects or changes documented configuration
stop Stops the active server session
exit Exits the server process

Make configuration changes deliberately and confirm the key name in the documentation for the exact release. If a setting appears ignored, stop the server before editing the active configuration and start it again after saving the change.

9. Open the network path

The standard documented Mindustry port is 6567 TCP and UDP. Allow both protocols in the host firewall. A VPS may need a rule in both its operating-system firewall and its cloud-provider firewall.

For home Internet hosting, create a router port-forwarding rule that sends TCP and UDP traffic on external port 6567 to the server computer’s local IP address. A server intended only for devices on the same local network does not require public port forwarding; players can connect to the host’s local address instead. If you choose a different server port, update the server configuration, every firewall rule, the router forwarding rule, and the port players enter.

10. Test locally, then from outside

First connect from the host or another device on the same network. This confirms that Java, the JAR, the map, and the local firewall path work before you add Internet routing.

Next test from outside the home network, or ask a friend on another connection to join. If local play works but the external test fails, check the public address, the configured port, both firewall protocols, the router’s destination address, and any upstream NAT restriction. A VPS test should include the provider’s cloud firewall as well as the operating-system rule.

11. Share the connection details

Give players the server’s reachable public IP address or DNS name and port. Also tell them the exact Mindustry version and required mods. The official FAQ notes that devices can connect across platforms when they run the same version, so a Windows player and a mobile player can join the same server when their versions and mod requirements match.

How do players join the server?

From the Mindustry multiplayer screen, players enter the address that can reach your host and the server port. Use a local IP address for LAN-only play, or the public IP address/DNS name for Internet play. The address must point to the machine actually running the server, and the port must match the server configuration and forwarding rules.

For a public server, share a complete connection example such as public-address:6567, replacing the address with your real IP or DNS name. Keep the version and mod instructions beside the address; a successful network connection can still fail to load a session when the client and server do not agree on versions or mods.

Why can’t friends join my Mindustry server?

Diagnose the failure in order: confirm the server process is running, test locally, then verify the public route. The following checks cover the common documented failure modes.

Symptom Checks and fixes
Server will not start Confirm Java is installed, verify the JAR filename and working directory, and run the command in a visible terminal so the error remains on screen.
Local players can join but remote players cannot Recheck the public address, TCP and UDP rules for port 6567, the router’s forwarding destination, any VPS cloud firewall, and upstream NAT restrictions.
Port already in use Identify the process holding the configured port and stop it safely, or choose another port and change the server, firewall, and forwarding rules together.
Version or mod mismatch Align the client and server versions, compare the exact mod set, and remove or update incompatible mods.
Configuration appears ignored Stop the server before editing, change the active configuration, verify the key name against the version-matched documentation, and restart.

If a home connection uses carrier-grade or other upstream NAT, the router may not receive a directly reachable public address even when local forwarding is correct. In that case, a VPS or managed host with an Internet-reachable address avoids the home-network path.

How should you administer and maintain the server?

Use the console for routine checks

Keep help, status, version, maps, mods, and config available as your first-line administration tools. Use stop before planned maintenance and exit when you need to terminate the process completely.

Back up the operational files

Back up the save files, map data, and configuration files before changing the Mindustry version or installing, removing, or updating mods. Those files contain the server’s operational state; a copy lets you restore a working session if an update changes behavior or a configuration edit is wrong.

Update clients and server together

Schedule updates so the server and players move to compatible versions. After an update, recheck the current server documentation because command names and configuration options can change. Test a local connection before announcing the updated server to everyone.

Monitor a public server

For a public instance, watch the console logs, uptime, available disk space, and administrator credentials. The official sources do not prescribe a particular monitoring stack, so choose tools that match your host and make sure alerts reach someone who can restart the process or investigate a failed connection.

How many players can a Mindustry server support?

There is no single official CPU, RAM, bandwidth, or player-capacity number that applies to every Mindustry server. The cited setup documentation leaves capacity dependent on the workload. Map complexity, active simulation, mods, save activity, network quality, and the number of connected players all affect the result.

Start with the group you actually intend to host, observe logs and responsiveness, and increase resources or reduce workload if the process struggles. Treat a provider’s generic plan size as a starting point rather than a guaranteed player count, because the official sources do not publish a universal promise.

What is a safe pre-launch checklist?

  • Java runs successfully with java -version.
  • The JAR filename in the launch command exactly matches the downloaded file.
  • The terminal is opened in the directory that contains the JAR.
  • A map starts with host <mapname> [mode].
  • The server name, description, whitelist, player limit, autosave, logging, and anti-spam settings match your plan.
  • Port 6567 TCP and UDP are allowed, or every rule has been changed consistently for a custom port.
  • Home hosting forwards the port to the correct local IP address.
  • A local connection succeeds before an external connection is attempted.
  • Players have the same Mindustry version and required mods.
  • Save, map, and configuration backups exist before updates.

Frequently Asked Questions

Do I need a domain name to let friends connect?

No. A reachable IP address and port are sufficient for a Mindustry connection. A DNS name is simply an alternative label that can be easier to share when your hosting arrangement provides one.

Can I change Mindustry’s default port?

Yes, but every part of the path must agree. Change the server configuration, allow the replacement port for both required protocols in the firewall, update any router or cloud-firewall rule, and give players the new port.

What should I do when a mod update breaks the server?

Stop the process, restore the backed-up save, map, and configuration files if necessary, and compare the server’s mod list with each player’s exact list. Remove or update the incompatible mod, then test locally before reopening the public server.

Can I move my Mindustry server from a home PC to a VPS?

Install Java and the same server release on the VPS, copy the backed-up save, map, and configuration data into the new server directory, and reproduce the documented firewall rule there. Test the VPS locally or through its reachable address before changing the address you share with players.