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
.wldand a.twldfile – back up both.
Option 1: Workshop mods via mod pack (recommended)
The server doesn't recognise Workshop mods by name but through a mod pack. According to the official tModLoader guide:
- Start tModLoader on your PC and subscribe to and enable the mods you want.
- Choose Workshop → Mod Packs → "Save Enabled as New Mod Pack".
- Click "Open Mod Pack Folder".
- Upload
install.txtandenabled.jsonfrom that folder into the server'sModsfolder (file manager or SFTP). - Restart the server. It downloads the Workshop mods listed in
install.txtand enables the mods listed inenabled.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.jsontModLoader/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.tmodfiles 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) andclient.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
.wldinto tModLoader's world folder and set it inworld=.
Related guides
Sources: tModLoader wiki and DedicatedServerUtils README (GitHub), official Terraria wiki · Rent a server: Terraria server at NexoraHost