Set up a Mindustry server: map, version and joining

How a Torchlite Mindustry server starts, what the Startup settings do, how to pick a map or a version, how players add the address, and what to check when they cannot join.

5 min readBy Torchlite teamUpdated

Set up a Mindustry server: map, version and joining
On this page

A Mindustry server on Torchlite runs the official server release from the game's GitHub page, on Java. It is a small program: about 20 MB on disk and about 235 MB of RAM while it runs. This guide explains what the panel does for you, which settings you can change, how to choose a version, and how your players get in.

What happens on the first start

When you create the server, the installer downloads server-release.jar into your server's files. On every start, the panel runs that file on Java with three things filled in for you: the port, the server name and the map.

The Java heap is set automatically to your plan's memory minus 192 MB, so the same server works on Lite and on Turbo without any change from you. You cannot edit the startup command, only the settings on Startup.

Open the Console. When it prints Opened a server on port, the server is ready for players. The port in that line is the one assigned to your server. It is also the one shown in the panel, and it cannot be changed.

The Startup settings

Three settings are on the Startup page.

VariableWhat it does
Server NameThe name the server gets in the game. Letters, numbers, spaces, ., _ and -, up to 48 characters. Default My Mindustry Server.
Map NameThe map the server hosts when it starts. Same characters, up to 48. Default Tendrils.
Versionlatest, or a release tag such as v146. Default latest.

The panel passes these to the server on every start, so edit them on Startup and restart. Stop the server first if it is running, change the value and press Start.

Choose a map

The default maps named in the panel are Ancient Caldera, Fork, Fortress, Glacier, Islands, Labyrinth, Maze, Shattered, Tendrils, Triad, Veins and Wasteland. Type the name into Map Name as it is written there, then restart.

If the name does not match a map the server has, the server cannot host it. Check the Console for the message and set the name back to a default map to get running again. To use a map of your own, upload it through Files or SFTP, and look in the server's files for the folder where the default maps live, so the file sits next to them. Then enter its name in Map Name.

Pick a version

Mindustry players and servers must be on the same build. The simplest setup is to leave Version on latest and ask your players to update the game.

To match an older game version instead:

  1. Find the release tag on the game's releases page on GitHub. The tag looks like v146. Write it without anything before the v.
  2. Stop the server.
  3. Set Version on Startup to that tag.
  4. Under Settings, use Reinstall Server.
  5. Press Start and read the Console.

The version is only read when the server is installed, so step 4 matters. If the tag does not exist, the installer falls back to the latest release instead of failing, so check the console of the new start and tell your players which version you ended up with. Download a copy of anything you care about before you reinstall.

How players join

Send your players the address shown in the panel, with the port, for example mindustry.play.torchlite.host:14400. The name part depends on the node your server is on.

In the game, a player opens the multiplayer menu, chooses to add a server and types the address and port. The exact menu names change between game versions, so if a label looks different, look for the option that adds a server by address. After it is saved, the server shows in their list.

No port needs to be opened anywhere. The server is in Bucharest, behind zero.ms DDoS protection.

Console commands

The Console accepts the server's own commands. Type help to list them for your version. Two are useful early:

  • status shows whether the server is hosting and which map is loaded.
  • players lists who is connected.

To make a friend an admin, use the server's admin add command with their player name or ID, as described in the output of help. Check there first, because command details can change between releases.

Files and backups

Everything the server saves lives in your server's files. Open Files to see them, or connect with SFTP for large uploads. Free backups are on the Backups page, and the backups guide explains what they keep. Make one before you reinstall or try a new version.

Renewal and stopping

A running server must be renewed from the panel before its time runs out, or it stops. Your files are kept. Lite asks every 50 minutes and Turbo every 40. Before each start or renew, the panel shows a short sponsor break. The renewal guide has the details.

A server with nothing done on it for 5 days is deleted, and we send an email one day before. Starting the server or opening the Console counts as activity.

Common problems

The console never prints Opened a server on port

Wait a little after Start, since Java needs a moment. If an error appears instead, read the lines above it. A wrong Map Name or a Version that did not install are the usual causes. Set Map Name to Tendrils and Version to latest, then reinstall.

Players cannot find the server in the list

Ask them to add the server by address and port. Use exactly what the panel shows. Showing up in a public list is not guaranteed.

A player gets a version error

The game and the server are on different builds. Either the player updates or downgrades their game, or you set Version to match and reinstall.

The map is not the one I typed

Map Name must match a map the server has, written the same way. Fix it on Startup and restart.

I set a Version and still got the latest

The tag was not found, so the installer used the latest release. Check the spelling against the releases page, keep the v and use no other prefix.

The server stopped by itself

The renewal timer ran out. Keep the panel open, press Renew when it asks, and press Start to bring it back.

Stuck on a step?

Ask on the forum. Your question links back to this guide, so whoever answers knows where you are.

Ask about this guide

About the author

Torchlite team

The people who run Torchlite

We build and run the Torchlite panel and the nodes. Every guide is checked on our own servers before it goes up, and updated when the panel changes.

Found a mistake? Tell us on Discord

Related guides

All guides →