Home / Docs / Gameserver / Terraria / Mods Installieren

Terraria Server Mods with tModLoader

Installing Terraria mods on a dedicated server with tModLoader: Workshop mods via mod pack, local .tmod files, configuration and common errors.

Quick answer: Mods only run with tModLoader, not on a vanilla server. The easiest way: save a mod pack in the game and copy its install.txt and enabled.json into the server's Mods folder. Server and players need exactly the same tModLoader version.

Requirements

  • A server running tModLoader. A plain vanilla Terraria server does not load mods. If you are unsure which variant your server uses, ask support.
  • tModLoader on your own PC (free on Steam, requires Terraria).
  • A backup of your world. tModLoader worlds consist of a .wld and a .twld file – back up both.

The server doesn't recognise Workshop mods by name but through a mod pack. According to the official tModLoader guide:

  1. Start tModLoader on your PC and subscribe to and enable the mods you want.
  2. Choose Workshop → Mod Packs → "Save Enabled as New Mod Pack".
  3. Click "Open Mod Pack Folder".
  4. Upload install.txt and enabled.json from that folder into the server's Mods folder (file manager or SFTP).
  5. Restart the server. It downloads the Workshop mods listed in install.txt and enables the mods listed in enabled.json.

Important:

  • Without install.txt, no Workshop mods are installed.
  • Without enabled.json, no mod is enabled – not even a local one. The file must list every mod that should run.

Option 2: local .tmod files

If you have mods as .tmod files, upload them straight into the server's Mods folder. Each mod must still be listed in enabled.json to be active.

Folder layout on the server

According to tModLoader's official server tools, the folder looks like this:

  • tModLoader/Mods/ – mods, install.txt, enabled.json
  • tModLoader/Worlds/ – worlds (.wld + .twld)
  • tModLoader/steamapps/ – Workshop downloads (created automatically)
  • tModLoader/serverconfig.txt – optional config

On your rented server the path may differ – look for the Mods folder in the file manager.

serverconfig.txt with tModLoader

tModLoader uses the same keys as vanilla (see Server settings) plus:

  • modpath= – folder the .tmod files are loaded from.
  • modpack= – loads only the mods of a specific mod pack.

Note: world= must point to the .wld file, not the .twld. And worldname only applies to newly created worlds.

Do players have to install the mods themselves?

Usually not. For normal content mods the server sends the mod to joining players who lack it. Exceptions are mods the author marked as client-only or server-only. Players always need tModLoader in the same version as the server, though.

Common errors

  • "You are not using the same version as this server." – players and server run different tModLoader versions. Update both. The same message appears if a vanilla server is running on the port.
  • Vanilla players can't join: a tModLoader server can only be joined with tModLoader.
  • Mods get disabled on join: check server.log (server) and client.log (player) for the faulty mod.
  • A mod doesn't run: not every mod exists for every tModLoader branch. Mods for very old versions (e.g. 1.3) don't run on current tModLoader.
  • World gone after switching: tModLoader stores worlds separately from vanilla. Copy the .wld into tModLoader's world folder and set it in world=.

Sources: tModLoader wiki and DedicatedServerUtils README (GitHub), official Terraria wiki · Rent a server: Terraria server at NexoraHost

Need a server?

Order Gameserver, VPS or Root in Frankfurt.

To shop