Skip to content
Puranode

Tools / Terraria

Terraria serverconfig.txt generator

Choose your world, slots, port and Journey powers, then copy a serverconfig.txt for a vanilla Terraria server. The password stays a placeholder, and nothing you type leaves this page.

Generator

Your server

World
world. The full path to the .wld file. The server loads it and starts.
autocreate. Only used when no world exists at that path.
Server
maxplayers, 1 to 255
port. Default 7777.
motd. Optional.
language
Journey Mode powers

Only used on a Journey world. Not set leaves the line out.

Output

serverconfig.txt

# Terraria serverconfig.txt
maxplayers=16
port=7777

  • There is no world path, so the server will not start on its own. It will ask in the console which world to load.

Putting it on the server

  1. Save the output as serverconfig.txt next to the server program.
  2. Start the server with -config serverconfig.txt, for example ./TerrariaServer.bin.x86_64 -config serverconfig.txt on Linux or TerrariaServer.exe -config serverconfig.txt on Windows.
  3. On a hosted server, keep the port your host assigned and use the panel's file manager.

This page has no password field. Built in your browser: nothing you enter here is sent or stored.

Method

How the file is put together

FAQ

Terraria config generator: questions

How does the server find serverconfig.txt?

Only through the -config start option, for example TerrariaServer.exe -config serverconfig.txt. A relative path is read from the folder that holds the server program. If the server cannot find the file, it falls back to asking its questions in the console.

Why did my server make a new world?

With autocreate set, the server builds a fresh world whenever nothing exists at the world path. A typo in the folder or file name is enough. Correct the path to point at your .wld file and restart, and the old world is still there.

Does TShock use this file?

Yes, when started with -config, but TShock takes the port, the player limit and preferably the password from tshock/config.json: ServerPort, MaxSlots and ServerPassword. Tick the TShock box and the generator lists the values to set there.

Can I change the difficulty of an existing world?

Not with this file. The size, name, seed and difficulty lines only apply when the server creates a world. An existing world keeps the difficulty it was made with.

Is anything I enter sent to Puranode?

No. The file is built in your browser. The page makes no request with your inputs and stores nothing, and it has no password field: turning on a password writes a placeholder that you replace on your own machine.

Need somewhere to run it?

Puranode hosts Terraria servers on EPYC and NVMe in the EU, with TShock installed and direct file access to your config and worlds.

Terraria hosting

All free tools