Cyber Week: 25% off for life on new servers with .Ends in 6d 15hSee plans

Terraria: server config, worlds, and tModLoader mods

Set world name, difficulty, MOTD and password on the Startup tab, use serverconfig.txt for the rest, bring your own world, and add mods with tModLoader.

Last updated November 29, 2026

A Terraria server gets its main settings (world name, difficulty, MOTD, password) from the Startup tab, and everything else from serverconfig.txt in the Files tab. This guide shows which goes where, how to bring your own world, and how to add mods with tModLoader.

World name, difficulty, MOTD and password: use the Startup tab

Your server rewrites these settings from the Startup tab every time it starts. If you change them in serverconfig.txt instead, they jump back to the Startup values at the next restart, which can look like your world was reset.

  1. Open your server and click Startup.
  2. Change the values you want and save.
  3. Restart the server from the Console tab. The new values apply from the next start.
Startup setting What it does
World Name The world to load. If no world with that name exists yet, a new one is created. Up to 20 characters.
World Size Size of a newly created world: 1 small, 2 medium, 3 large.
Difficulty 0 Classic, 1 Expert, 2 Master, 3 Journey. Applies when a new world is created.
MOTD The message players see when they join.
Password Set a value to make the server private. Leave it empty for an open server.
World Seed Optional seed for a newly created world.

The player limit and the game port come from your plan and allocation, so you don't need to set them.

tModLoader servers use the same Startup settings (the password is called Server Password there). TShock servers take the World Name from the Startup tab and keep their own settings, including the server password, in tshock/config.json in the Files tab.

Everything else: serverconfig.txt in the Files tab

Settings that are not on the Startup tab stay as you set them in the file.

  1. Click Files and open serverconfig.txt in the root folder.
  2. Change values, save, then restart from the Console tab.

Useful ones include secure=1 (built-in cheat protection), banlist, priority and the Journey mode journeypermission_... lines. The lines for world name, world file, difficulty, size, seed, MOTD, password, player limit, port and npcstream are overwritten at every start, so change those on the Startup tab instead.

Worlds

Worlds are .wld files in saves/Worlds. On TShock the console shows the world path when the server boots.

  • New world: set World Name, World Size, Difficulty and, if you like, World Seed on the Startup tab, then restart. The server creates the world on the first start.
  • Upload an existing world: upload your .wld file (and its .twld companion on tModLoader) to saves/Worlds with the Files tab or SFTP. Then set World Name on the Startup tab to the file name without .wld and restart. See File Manager & SFTP.

Add mods with tModLoader

Vanilla Terraria servers can't run mods. tModLoader is a separate server type for that.

  1. Make sure your server runs tModLoader. You can pick it when you order, or switch on the Change Runtime tab. Take a backup first: mods and worlds are not interchangeable with vanilla.
  2. Set up your mod list in single-player first, with mods from the in-game Mod Browser.
  3. Upload the mods (.tmod files) and enabled.json to the server's mods folder, then restart.
  4. Every player must have the same mods enabled to join.

Common issues

  • Settings reset after a restart: you changed world name, difficulty, MOTD or password in serverconfig.txt. Set them on the Startup tab instead.
  • My world is gone after a restart: the World Name on the Startup tab doesn't match your world, so a new one was created. Your old .wld file is still in saves/Worlds: set World Name to its name and restart.
  • Changes ignored: you didn't restart after saving.
  • "Password incorrect": a password is set on the Startup tab. Share it, or clear it and restart.
  • World won't load: the World Name doesn't match the uploaded .wld file name, or the .twld companion is missing on tModLoader.
  • Mods don't work: the server runs vanilla, not tModLoader, or players don't have the same mods enabled.

Still stuck? Open a support ticket and we'll take a look.