Terraria serverconfig.txt Generator
World, size, difficulty, password, network and mods: every option of the serverconfig.txt for Terraria and tModLoader with an explanation, its default and its valid range. Copy the finished file or download it.
Source: the serverconfig.txt that ships with tModLoader (Steam app 1281930, release v2026.10.3.0) and the start command of our tModLoader servers. As of December 1, 2026.
world
Path of the .wld file the server loads on start. Empty: the line is left out and the server asks for a world. On our servers the start command already contains the path.
autocreate
In the panel If the world file does not exist yet, the server creates a world of this size.
seed
In the panel Decides what the new world looks like. Special seeds such as “for the worthy” work too. Empty: random seed.
worldname
In the panel Name of the new world. To apply it in the panel use at most 20 letters, digits, hyphens and underscores.
difficulty
In the panel Difficulty of the new world. Only characters created in Journey mode can play in a Journey world.
maxplayers
How many players may be connected at the same time. On our servers your plan sets this value.
port
TCP port the server listens on. On our servers the panel assigns it.
password
In the panel Players have to enter it to join. Empty: the server is open.
motd
In the panel Text players see in chat when they join. The panel allows 40 characters.
worldpath
The server looks for worlds here and saves them here. Empty: default folder of the game.
banlist
File with the banned players. Without a path it sits in the server folder.
secure
On: the server checks player actions more strictly.
language
In the panel Language of the console and the server messages. The panel offers English, German, Italian, French and Spanish.
upnp
Only for servers at home: the server asks the router to open the port.
npcstream
Reduces enemies skipping around but uses more bandwidth. The lower the value, the more data is sent. 0 turns it off.
priority
How much priority the server gets on your computer.
modpath
tModLoader loads mods you placed by hand from this folder. Empty: default folder.
modpack
Name of a mod pack. tModLoader then loads only the mods in it. Empty: all enabled mods.
Continue on your server
Open your server dashboard if needed. Confirm changes to settings and worlds there yourself.