Terraria Server Config Generator
Fill in the form to generate a ready-to-use serverconfig.txt for a vanilla Terraria dedicated server. The output updates live — copy or download when ready.
Presets
1. World Settings world · size · difficulty · seed
Full path to your .wld file. If the file doesn't exist, Terraria auto-creates it using the world name and size below.
Used when auto-creating a new world. Should match the filename in your world path.
Can be a number or text. Empty = random seed each auto-creation.
Directory where worlds are stored. Include trailing slash.
2. Server Identity motd · password · players · port
Displayed to players when they join.
3. Options security · language · performance
Enable on high-latency connections to reduce NPC packet spam.
Path to the ban list file. Relative paths are resolved from the server executable directory.
Generated serverconfig.txt
Live preview# Terraria Dedicated Server Config # Generated by DustBowl.Games — https://dustbowl.games/tools/terraria-server-config # ─── World Settings ─────────────────────────────────────────── world=/root/terraria/worlds/MyWorld.wld autocreate=3 seed= worldname=MyWorld difficulty=0 worldpath=/root/terraria/worlds/ # ─── Server Identity ────────────────────────────────────────── maxplayers=8 port=7777 password= motd=Welcome to my Terraria server! # ─── Options ────────────────────────────────────────────────── banlist=banlist.txt secure=1 language=en/US upnp=1 npcstream=0 priority=1
Where to place this file:
Save as serverconfig.txt in any directory, then pass it to the server executable.
How to Use This Config
Place your serverconfig.txt anywhere accessible by the server, then start the Terraria dedicated server executable with the -config flag pointing to it:
Linux
./TerrariaServer -config serverconfig.txt
Windows
TerrariaServer.exe -config serverconfig.txt
Tip: You can also pass individual settings as command-line flags (e.g. -port 7777), but the config file is easier to manage and version-control.
On a fresh install, the Terraria server automatically creates the world defined by worldname, autocreate, and difficulty if the world file doesn't already exist at the path specified by world.
