Terraria Server Config Generator (serverconfig.txt)
Adjust multipliers below or pick a preset, then copy or download your ready-to-use serverconfig.txt.
World
World Name
worldname
Name of the world when auto-creating a new world.
Auto-Create World Size
autocreate
1 = Small, 2 = Medium, 3 = Large (used if world file doesn't exist).
World Seed
seed
Optional world generation seed (supports special seeds like fortheworthy).
World File Path
world
Full or relative path to the .wld file.
Worlds Directory
worldpath
Folder where world files are stored.
Gameplay
World Difficulty
difficulty
0 = Normal, 1 = Expert, 2 = Master, 3 = Journey.
Server Limits
Max Players
maxplayers
Maximum concurrent players allowed.
Network
Server Port
port
TCP/UDP port for Terraria connections.
Server Password
password
Leave empty for an open/public server.
Enable UPnP
upnp
Automatically forwards port via UPnP if supported by router.
General
MOTD Banner
motd
Message displayed in chat when players join.
Server Language
language
Language code for server console messages.
Security
Anti-Cheat (Secure)
secure
1 enables built-in cheat protection, 0 disables it.
Banlist File
banlist
Path to the server banlist file.
Performance
NPC Stream Throttle
npcstream
Reduces NPC position packet frequency (0 = disabled, 60 = default).
Process Priority
priority
CPU scheduling priority (0 = Realtime, 1 = High, 2 = AboveNormal, 3 = Normal).
Journey Mode
Journey: Freeze Time
journeypermission_time_setfrozen
0 = Locked, 1 = Host only, 2 = Everyone.
Journey: Godmode
journeypermission_godmode
0 = Locked, 1 = Host only, 2 = Everyone.
serverconfig.txt
#Terraria Dedicated Server Config worldname=AxtGameWorld autocreate=2 difficulty=0 maxplayers=16 port=7777 motd=Welcome to AxtGame Terraria Server! world=./Worlds/AxtGameWorld.wld worldpath=./Worlds/ secure=1 upnp=1 npcstream=60 priority=1 language=en-US banlist=banlist.txt journeypermission_time_setfrozen=2 journeypermission_godmode=2
Finished configuring your Terraria server?
List your public server for free on our directory or browse active Terraria servers.
