Terraria guide

Run a tModLoader dedicated server

Get the tModLoader server from GitHub, start it with .NET 8, fix the Linux container errors, move a .wld and .twld world, and join it.

Updated · By the HostForge team

tModLoader is Terraria's free modding version, with its own dedicated server. It runs an older game version than vanilla, Terraria 1.4.4 for tModLoader 2026.9, so players join with tModLoader, not plain Terraria. Everything else works like the vanilla server.

1. Download the server

Take tModLoader.zip from tModLoader's latest GitHub release and unzip it. On Steam, the tModLoader app downloads nothing for an anonymous SteamCMD login, so the GitHub release is the way to get it on a server.

2. Start it

./start-tModLoaderServer.sh -nosteam -config serverconfig.txt

On its first start the script downloads .NET 8 into dotnet/ beside it, which takes a few minutes, then starts the server. serverconfig.txt takes the same keys as vanilla's. The server prints tModLoader v2026.9.3.1, Terraria Server v1.4.4.9 and Server started.

Running it in a container

If you start tModLoader.dll yourself, as in a Docker image:

  • Put Libraries/Native/Linux on LD_LIBRARY_PATH and link libSDL2.so to the libSDL2-2.0.so.0 there, as the start script does. Without it, the server stops with a fatal SDL error.
  • It writes tModLoader-Logs beside its program, so that folder must be writable; a read-only install fails with "Failed to create the folder".
  • The start script sets DOTNET_ROLL_FORWARD=Disable, which demands exactly .NET 8.0.0. Leave it unset to run on a newer .NET 8 patch.

Worlds

A tModLoader world is a .wld with a .twld beside it, which holds what mods add. Move both. A player's are in Documents/My Games/Terraria/tModLoader/Worlds.

Join a tModLoader server

Start tModLoader (on Steam, beside Terraria), choose Multiplayer › Join via IP, and enter the address, port and password, as for vanilla.

On HostForge

A tModLoader server in a click

On HostForge, choose tModLoader as the server when you create it, or in its Settings later; it keeps its own world beside the vanilla one. Add Workshop mods on its Mods tab; see adding mods to a tModLoader server.

Terraria server hosting

More Terraria guides