How to Make a Terraria Server with tModLoader
Published on 27 October 2026
To make a Terraria server with mods, you use tModLoader, the free modding version of Terraria on Steam. You start the server with the script that comes with tModLoader, create or load a world, and open port 7777 (TCP) if you host at home. Your friends start tModLoader too, choose Multiplayer and then Join via IP. Rather not keep a PC running for it? Then you can also rent a Terraria server with tModLoader.
One thing first: as of 27 October 2026, tModLoader still runs on the Terraria 1.4.4 base, while Terraria itself has been on 1.4.5 since January. Below you’ll find what that means for your server, how to set it up, which world to pick and what to do when your friends can’t get in.
Vanilla Terraria or tModLoader?
Regular Terraria has its own dedicated server, TerrariaServer, for playing without mods. For a server with mods you need tModLoader. It’s a separate app on Steam, free for anyone who owns Terraria, with its own worlds and characters. According to the tModLoader wiki it doesn’t touch your vanilla world and player files, so your old saves stay where they are.
A player with regular Terraria can’t join a tModLoader server: everyone who plays along starts tModLoader. tModLoader only exists for PC, so friends on console or mobile can’t join.
Terraria 1.4.5, the Bigger and Boulder update, came out on 27 January 2026, and the latest hotfix is 1.4.5.8. The tModLoader team is moving to 1.4.5 on a beta branch called 1.4.5-dev. In its October 2026 update it said progress is going smoothly, and its update page says the move will take many months yet. Until then your modded world plays the 1.4.4 content. The team also says the 1.4.4 version stays available after the move.
Start a tModLoader server yourself
- Install tModLoader through Steam. In its install folder you’ll find
start-tModLoaderServer.batfor Windows andstart-tModLoaderServer.shfor Linux and Mac. - Run the script. It asks whether to turn on Steam support and which world to load or create. Without a config file it also asks for the maximum number of players, the port, port forwarding and a password.
- Save your choices in
serverconfig.txtand start the server with the-configoption pointing to that file. If the config names a world and you pass a Steam option such as-nosteam, the server starts without questions. - Open port 7777 (TCP) in your router and forward it to the PC running the server. On Windows, also allow
dotnet.exethrough the firewall, as the tModLoader wiki advises. - Connect: in tModLoader choose Multiplayer, then Join via IP, and enter your public IP address and the port.
On Linux, the wiki recommends running the server inside screen or tmux, so it keeps running when you log out. The script manage-tModLoaderServer.sh from the DedicatedServerUtils folder can install and update the server through SteamCMD.
| Option | What it does |
|---|---|
| world | Full path to the .wld file to load |
| autocreate | Creates a world if none is found: 1 small, 2 medium, 3 large |
| worldname, seed | Name and seed for a world made with autocreate |
| difficulty | 0 normal (Classic), 1 Expert, 2 Master, 3 Journey |
| maxplayers | 1 to 255; tModLoader uses 8 by default |
| port | The port, 7777 by default |
| password, motd | A join password and the welcome message |
| modpath, modpack | The folder with your mods, or a mod pack for this world |
Which world should you pick?
Terraria has three world sizes. A small world is 4200 by 1200 tiles, a medium one 6400 by 1800 and a large one 8400 by 2400. According to the Terraria wiki, a small world generates, saves and loads faster. For a few friends, small or medium is plenty. A large world gives you more to explore, but it needs more memory, especially with mods.
You choose the difficulty when you create the world: Journey, Classic, Expert or Master. The wiki mentions no way to change it in the game afterwards, only third-party tools. Journey worlds can only be played with Journey characters, and Journey characters can only play in Journey worlds. So agree on the mode with your group before you start.
Mods on your server
- Same mods, same version: everyone needs the same mods and the same tModLoader version as the server.
- One list for the whole group: in tModLoader, open Workshop, then Mod Packs, and save your enabled mods as a new pack. The file
enabled.jsonin that pack lists every mod that should be on, and that’s the list the server uses. - A pack per world: with
modpack=inserverconfig.txtyou can give each world its own pack. - Change mods safely: turn mods on or off while the server is stopped, and make a backup of your world first.
On a CakeHosting server you put your mods in the mods folder with the file manager or SFTP.
Put an existing world on the server
A tModLoader world is two files with the same name: a .wld file and a .twld file that holds the modded data. On Windows you’ll find them in %UserProfile%\. Copy both to the server and load the world with world= and the full path to the .wld file, not the .twld.
On a server from us, upload both files to saves/Worlds and set World Name in the Startup tab to the file name without .wld. Make a backup of what’s already there first, see Create and restore a backup.
Rather start playing straight away? A Terraria server at CakeHosting runs tModLoader and has 8 player slots by default, from €2.95 a month. You set the world, size, difficulty and tModLoader version in the Startup tab of the game panel.
Friends cannot connect
- “You are not using the same version as this server”: tModLoader on the server and on every PC must be exactly the same build. tModLoader releases a stable update at the start of most months, so update the server when Steam updates your game. On a CakeHosting server, you pick the version in the Startup tab.
- Regular Terraria: anyone who starts Terraria without tModLoader can’t get in.
- Wrong address: an address that starts with 192.168 only works inside your own home. Friends elsewhere need your public IP address.
- Port blocked or taken: port 7777 must be reachable from outside. If another program already uses it, run the server on another port and give your friends that port.
- Stuck on “Connecting” or mods turned off: according to the tModLoader wiki this is usually a badly made mod. Check the server console or
server.logfor errors that name a mod, and add mods back in small batches.
How much memory does a Terraria server need?
Without mods, very little: the Terraria wiki lists 500 MB of free RAM for a small world, and says the need grows with the world size and the number of players. Mods change that a lot. In tModLoader you can turn on Show Mod Memory Estimates (Settings, tModLoader Settings) to see a graph of how much memory each mod uses.
For a group of friends without big mods, our smallest plan of 2 GB is enough. With big content mods or a long mod list, choose 4 GB or more. Terraria is a light game for a server, so the Standard line is usually fine; see Standard or Premium for when Premium makes sense.