GamesTerraria

Server Configuration

Configurable options for your Terraria server, including serverconfig.txt.

Top Tip

Changes made to serverconfig.txt require a server restart to take effect.

serverconfig.txt

This file is located in your server's root directory and can be edited using SFTP or the file manager.

NameDescriptionExample
worldThe path to the world file to load.worlds/MyWorld.wld
worldnameThe name used when auto-creating a new world.MyWorld
autocreateAutomatically creates a world if one isn't found at the world path. 1 = small, 2 = medium, 3 = large.2
difficultyWorld difficulty, only applies when auto-creating a new world. 0 normal, 1 expert, 2 master, 3 journey.0
maxplayersThe max players that can join at once. This value can only be modified by upgrading it on your billing panel8
portReference Only, please set via the startup values7777
passwordPassword required to join the server. Leave empty for a public server.""
motdThe message shown to players when they join."Welcome!"
secureEnables extra anti-cheat checks.1
languageThe server console/log language.en-US

Not exhaustive

Terraria adds new serverconfig.txt options with major updates. See the official Terraria Wiki server setup guide for the full, current list.

On this page