Get started

Free trial Try a game free for 3 days. No card needed. Start a free trial Start a free trial

Game servers

All games

Guides / Terraria / Server settings

tModLoader Config Editor: serverconfig.txt and mod configs

On a tModLoader server the Config Editor edits serverconfig.txt and each mod's config file. See what you can change, what is locked, and when it applies.

Updated , checked on Terraria tModLoader v2026.09.3.1

On a tModLoader server, the Config Editor lists the serverconfig.txt settings as named rows, plus one file for each mod that has a config. Locked rows are set by Loafhosts from other pages. Changes apply the next time the server starts.

This is the tModLoader side of the Terraria Config Editor. That guide lists every row. This one covers what is special about tModLoader. It applies to a Terraria server that runs tModLoader. The program is chosen on the World page.

Open it

  1. Open the server’s Config Editor tab.
  2. Choose a file from the row of buttons under the page title.

The buttons are:

  • Server settings: the file serverconfig.txt.
  • One button per mod config, named like “(Mod): (Config)”. The panel shows the first underscore in the file name as a colon and a space. A file MyMod_ServerConfig.json in tModLoader/ModConfigs shows as “MyMod: ServerConfig”.
  • Passwords: the join password.

The editor lists up to 60 mod config files, in alphabetical order.

Server settings

The rows are the same as on every Terraria server, and a row shows only when serverconfig.txt has its line:

  • Server: Cheat protection, Server language, NPC updates.
  • World: World backups kept, Slow liquids, Announcement boxes off, Announcement box range.
  • Journey powers: fifteen rows for Journey worlds only, each set to Nobody, Nobody (host only) or Every player.

The Terraria guide describes each row.

Server settings file open in the Config Editor, with Cheat protection, Server language and NPC updates, and the locked rows beside them
  1. Cheat protection
  2. Server language
  3. NPC updates

The picture is from a TShock server, so its row of file buttons also has TShock. The rows of Server settings are the same on tModLoader.

One thing is different on tModLoader. tModLoader stable runs Terraria 1.4.4, so it cannot open a world that 1.4.5 saved. The World page marks such a world “Too new for tModLoader” (1). To switch a new server: choose tModLoader on the World page and confirm “Run tModLoader?”, then use New world to make a world (tModLoader makes it at the next start), or upload a 1.4.4 world and choose Play this world. Then restart. On tModLoader the world’s evil is random whatever World evil says: only TShock follows it.

World page on a tModLoader server with the Too new for tModLoader tag on a world saved by Terraria 1.4.5
  1. Too new for tModLoader

The locked rows

Thirteen rows sit under Set by Loafhosts. Each reads “The panel sets this every time the server starts, so it cannot be changed here.” The panel writes them from the server’s own settings at every start. This is why you will not find your player limit, world name, password or message of the day as editable rows. They are set here:

SettingWhere to change it
World file, World name, new world size, difficulty, seedThe World page
Max players, Message of the dayThe Startup page
Join passwordPasswords
PortThe server’s network settings
Ban list fileThe Players page
UPnP, Process priorityNot used here

If you edit these lines in serverconfig.txt by hand in Files, the next start writes them again.

Mod config files

Many mods keep their own settings in a JSON file in tModLoader/ModConfigs. The editor shows each as its own file, with each setting as a row. What a setting does is up to the mod’s author. Read the mod’s page on the Steam Workshop.

To change a mod’s setting:

  1. Open the mod’s file button.
  2. Change the row and choose Save.
  3. Restart the server. A saved change applies at the next start. Warn players first: a restart drops everyone who is on.

If the file you want is not listed, the mod has not written it yet. The page says “(file) does not exist yet. The game creates it the first time the server starts.” Start the server once with the mod on, then look again.

Saving, and when it applies

After a change, a bar reads “Unsaved changes: (n)” with Discard and Save.

  • Running server: the page says “Saved. Restart the server to apply the changes.” Use Restart at the top of the server page. A restart drops everyone who is on, so warn them first with Message everyone on the Players page.
  • Stopped server: the page says “Saved. The changes apply when the server starts.”

If you only have read access, the page says “You can see these settings but not change them.”

If it does not work

  • A mod’s file is missing. Start the server once with the mod on. If it still does not appear, open the Mods page and check the mod loaded.
  • The page says the file cannot be read. Try again in a moment. A very large file is not listed at all.
  • A row went back after a restart. It is one of the locked rows. Change it on the page named in the table above.
  • The world will not open. Check the World page for “Too new for tModLoader”.

Sources: terraria.wiki.gg: Server

Terraria serversAll Terraria guides