TModLoader

TModLoader

Docker app from JACOBSMILE's Repository

Overview

Easily and quickly set up a configurable Terraria tModLoader server that automatically downloads mods using Steam Workshop IDs. . Features -Easy download of tModLoader mods from Steam Workshop -Scheduled world saving -Graceful shutdowns -Optional server config for precise setting control -GitHub automation to stay up-to-date with tModLoader's release cycle

Runtime arguments

Network
bridge
Shell
sh
Privileged
false

Template configuration

Data DirectoryPathrw

Container Path: /data

Target
/data
Value
/mnt/user/appdata/tmodloader/data
Config FilePathrw

Container Path: /terraria/terraria-server/serverconfig.txt

Target
/terraria/terraria-server/serverconfig.txt
Shutdown MessageVariable

The message which will be sent to the in-game chat upon container shutdown.

Target
TMOD_SHUTDOWN_MESSAGE
Default
Server is shutting down NOW!
Value
Server is shutting down NOW!
Autosave IntervalVariable

The autosave interval (in minutes) in which the World will be saved.

Target
TMOD_AUTOSAVE_INTERVAL
Default
10
Value
10
Auto Download Mod ListVariable

A Comma Separated list of Workshop Mod IDs to download from Steam upon container startup. More information on Mod Workshop IDs can be found on the Github README.

Target
TMOD_AUTODOWNLOAD
Value
2909886416
Enabled ModsVariable

A Comma Separated list of Workshop Mod IDs to enable on the tModLoader server upon startup. More information on Mod Workshop IDs can be found on the Github README.

Target
TMOD_ENABLEDMODS
Value
2909886416
MOTDVariable

The Message of the Day which prints in the chat upon joining the server.

Target
TMOD_MOTD
Value
Welcome to the TModLoader Server!
Server PassworrdVariable

The password players must supply to join the server. Set this variable to N/A to disable.

Target
TMOD_PASS
Default
docker
Value
docker
Max PlayersVariable

The maximum number of players which can join the server at once.

Target
TMOD_MAXPLAYERS
Default
8
Value
8
World NameVariable

The name of the world file. This is seen in-game as well as will be used for the name of the .WLD file.

Target
TMOD_WORLDNAME
Value
World
World SizeVariable

When generating a new world, this variable will be used to designate the size. 1 = Small, 2 = Medium, 3 = Large

Target
TMOD_WORLDSIZE
Value
3
World SeedVariable

The seed for a new world.

Target
TMOD_WORLDSEED
Value
WorldSeed
Use Config FileVariable

If you wish to use a config file to specify MOTD, Password, Max Players, World Name, World Size, World Seed, and a few other additional settings, set this to Yes

Target
TMOD_USECONFIGFILE
Default
No
Value
No
Server PortPorttcp

The port the server will run on. Terraria's default is 7777.

Target
7777
Default
7777
Value
7777
DifficultyVariable

When generating a new world (and only when generating a new world), this variable will set the difficulty of the world. 1 = Normal, 2 = Master, 3 = Journey.

Target
TMOD_DIFFICULTY
Value
1
Secure ModeVariable

Adds additional cheat protection. 0 = off, 1 = on

Target
TMOD_SECURE
Value
0
LanguageVariable

Sets the language for the server. Available options are: en-US (English), de-DE (German), it-IT (Italian), fr-FR (French), es-ES (Spanish), ru-RU (Russian), zh-Hans (Chinese), pt-BR (Portuguese), pl-PL (Polish).

Target
TMOD_LANGUAGE
Value
en-US
NPC StreamVariable

Reduces enemy skipping, but increases bandwidth usage. The lower the number, the less skipping will happeb, but more data is sent. 0 is off.

Target
TMOD_NPCSTREAM
Value
60

Categories

Download Statistics

202,231
Total Downloads
13,890
This Month
10,503
Avg / Month

Total Downloads Over Time

Loading chart...

Details

Repository
jacobsmile/tmodloader1.4:latest
Last Updated2026-05-28
First Seen2023-02-08

Run TModLoader on Unraid.

TModLoader is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.