Skip to main content

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.

Default: empty · Valid: up to 200 characters

autocreate In the panel

If the world file does not exist yet, the server creates a world of this size.

Default: Small · Valid: 1, 2, 3

seed In the panel

Decides what the new world looks like. Special seeds such as “for the worthy” work too. Empty: random seed.

Default: empty · Valid: up to 40 characters

worldname In the panel

Name of the new world. To apply it in the panel use at most 20 letters, digits, hyphens and underscores.

Default: Terraria · Valid: up to 27 characters

difficulty In the panel

Difficulty of the new world. Only characters created in Journey mode can play in a Journey world.

Default: Classic · Valid: 0, 1, 2, 3

maxplayers

How many players may be connected at the same time. On our servers your plan sets this value.

Default: 8 · Valid: 1 to 255

port

TCP port the server listens on. On our servers the panel assigns it.

Default: 7777 · Valid: 1 to 65535

password In the panel

Players have to enter it to join. Empty: the server is open.

Default: empty · Valid: up to 20 characters

motd In the panel

Text players see in chat when they join. The panel allows 40 characters.

Default: empty · Valid: up to 128 characters

worldpath

The server looks for worlds here and saves them here. Empty: default folder of the game.

Default: empty · Valid: up to 200 characters

banlist

File with the banned players. Without a path it sits in the server folder.

Default: banlist.txt · Valid: up to 200 characters

secure

On: the server checks player actions more strictly.

Default: Off · Valid: 1

language In the panel

Language of the console and the server messages. The panel offers English, German, Italian, French and Spanish.

Default: English · Valid: en-US, de-DE, it-IT, fr-FR, es-ES, ru-RU, zh-Hans, pt-BR, pl-PL

upnp

Only for servers at home: the server asks the router to open the port.

Default: On · Valid: 1, 0

npcstream

Reduces enemies skipping around but uses more bandwidth. The lower the value, the more data is sent. 0 turns it off.

Default: 60 · Valid: 0 or more, no documented maximum

priority

How much priority the server gets on your computer.

Default: High · Valid: 0, 1, 2, 3, 4, 5

modpath

tModLoader loads mods you placed by hand from this folder. Empty: default folder.

Default: empty · Valid: up to 200 characters

modpack

Name of a mod pack. tModLoader then loads only the mods in it. Empty: all enabled mods.

Default: empty · Valid: up to 100 characters

Continue on your server

Open your server dashboard if needed. Confirm changes to settings and worlds there yourself.