Skip to content

The Advent calendar is open: a new gift every day, and seven lucky doors where you could win £2.50 of server credit.Open today's door

Terraria Server Config Generator

The Terraria dedicated server asks a string of questions every time it starts unless you give it a config file. Pick your settings below and copy a ready serverconfig.txt, so the server starts straight into your world.

World

Also the file name, so keep it simple.

Where world files live, relative to the server or a full path.

Only used when the world is first created.

Journey needs Journey characters to join.

A special seed that changes how the world generates.

Optional. Ignored if a secret seed is picked.

Players

1 to 255.

7777 is the Terraria default.

Leave empty for an open server.

Shown to players when they join.

Safety and networking

serverconfig.txt
# Terraria server config (zerosrp.co.uk/tools)
# Start with: -config serverconfig.txt

# World (created on first start if missing)
world=Worlds/MyWorld.wld
worldpath=Worlds
worldname=MyWorld
autocreate=2
difficulty=0

# Players and connection
maxplayers=8
port=7777
motd=Welcome to our Terraria server!

# Safety and networking
secure=1
upnp=0
banlist=banlist.txt
language=en-US

How to use it

  1. 1Save the text above as serverconfig.txt in your Terraria server folder.
  2. 2Start the server with the -config option, for example: TerrariaServer -config serverconfig.txt
  3. 3The first start creates the world with your size, difficulty and seed. Later starts load it.
  4. 4Share your IP and port with friends so they can join through Join via IP.

Good to know

  • World size, difficulty and seed only apply when a world is created. To change them, make a new world.
  • Since Terraria 1.4.6, friends on Xbox, PlayStation and phones can join a PC server. Nintendo Switch can’t join dedicated servers yet.
  • On a Zeros Host server, max players, password and the join message are one short form in the panel, and the World Manager makes worlds with one-click secret seeds, so there is no config file to edit.

Rather not keep your PC on for your friends? Run a Terraria server free for 48 hours, no card required.

See Terraria hosting →

Want your own Terraria server?

World Manager, secret seeds, Xbox and PlayStation crossplay, backups, and a free trial. Try it free for 48 hours, no credit card required.

Stuck setting up a Terraria server?

Ask in our Discord - we help with hosting questions whether or not you host with us.