TABI CLOUD
Terraria

Terraria serverconfig.txt Explained: Every Important Setting

5 min read · Updated October 2026 · By Tabi Cloud

Terraria reads its settings from serverconfig.txt. On a panel, some of these may be controlled through startup variables, so check both places if a change does not apply.

How it is used

The server starts with a command such as TerrariaServer -config serverconfig.txt. Lines starting with # are comments. Remove the # to enable a setting. Always stop the server before editing.

Important settings

World size and existing worlds

If world points to an existing file, the server loads it and ignores autocreate and difficulty, which only affect new worlds. To change world size, you need a new world.

Apply changes

  1. Stop the server.
  2. Edit serverconfig.txt in the Files tab.
  3. Save and start the server.
  4. Watch the console for the world name and port to confirm it loaded.

Tips

Need help? Ask on Discord.

Want your own server? Join our Discord and tell us the game. We set it up and send you the details. Need help with an error from this guide? Open a ticket there.

GET STARTED ON DISCORD

More guides

TerrariaHow to set up a Terraria server (vanilla and tModLoader)TerrariaHow to Set Up TShock on a Terraria ServerTerrariaHow to Run a tModLoader Server and Install Mods