selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
tmodloader1.4 logo

Self-host tmodloader1.4

v2026.09.2.1

Docker image for self-hosted tModLoader Terraria servers

ReleaseSource AvailableOther
Updatedyesterday
LanguageShell
Setup difficultyEasy
Stars
259
Port
7777 (tModLoader game server)
Docker
jacobsmile/tmodloader1.4
Install with Docker

What is tmodloader1.4?

tModLoader Docker provides a ready-to-run container for hosting a Terraria server with tModLoader 1.4 mods. It automates downloading mods from Steam Workshop by Workshop ID, enables mods on startup, handles scheduled world saving, and supports graceful shutdowns. All server settings — world name, size, difficulty, max players, password, MOTD, language, and Journey Mode permissions — are configured through environment variables. The image is rebuilt daily via GitHub Actions to track upstream tModLoader releases, and versioned tags correspond to tModLoader release versions. Data persists in a host-mounted /data directory containing worlds, mods, and Steam Workshop cache. The container exposes port 7777 and includes an inject script for sending commands to the running server.

tmodloader1.4 alternatives

Should you self-host tmodloader1.4?

tmodloader1.4 scores 45/100 on selfhost.directory (how scoring works) and ranks #46 of 62 in Game Servers. It has 259 GitHub stars.

It shipped 12 stable releases in the past year. The latest, v2026.06.2.0, came out on 3 July 2026. New versions land roughly every 3 days.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is Other-licensed and written mostly in Shell.

Its closest alternative on selfhost.directory is minecraft (78/100, 14 494 stars). It scores higher overall, so compare the two before you pick. See tmodloader1.4 vs minecraft side by side.

Features

  • Automated daily image updates
  • Automated mod downloads
  • Command injection
  • Environment Variable Configuration
  • Graceful Shutdown
  • Journey Mode permissions
  • Mod enable/disable management
  • Multi-language Support
  • Scheduled world saving
  • UPnP Port ForwardingUntested, may not work in all network configurations
  • Versioned image tags

tmodloader1.4 README

tModLoader Powered By Docker

Discord

Auto-Update Badge

How to install tmodloader1.4

Install tmodloader1.4 with Docker

Environment variables
TMOD_SHUTDOWN_MESSAGE, TMOD_AUTOSAVE_INTERVAL, TMOD_AUTODOWNLOAD, TMOD_ENABLEDMODS, TMOD_USECONFIGFILE, TMOD_MOTD, TMOD_PASS, TMOD_MAXPLAYERS, TMOD_WORLDNAME, TMOD_WORLDSIZE, TMOD_WORLDSEED, TMOD_DIFFICULTY, TMOD_SECURE, TMOD_LANGUAGE, TMOD_NPCSTREAM, TMOD_UPNP, TMOD_PORT, and Journey Mode variables

Pull the image

docker pull jacobsmile/tmodloader1.4:latest

Execute the container

docker run -p 7777:7777 --name tmodloader --rm
-v /path/to/data:/data
-e TMOD_SHUTDOWN_MESSAGE='Goodbye!'
-e TMOD_AUTOSAVE_INTERVAL='15'
-e TMOD_AUTODOWNLOAD='2824688072,2824688266'
-e TMOD_ENABLEDMODS='2824688072,2824688266'
-e TMOD_MOTD='Welcome to my tModLoader Server!'
-e TMOD_PASS='secret'
-e TMOD_MAXPLAYERS='16'
-e TMOD_WORLDNAME='Earth'
-e TMOD_WORLDSIZE='2'
-e TMOD_WORLDSEED='not the bees!'
-e TMOD_DIFFICULTY='3'
jacobsmile/tmodloader1.4

Mount a host directory to /data for persistence. Set TMOD_AUTODOWNLOAD for initial mod downloads, then remove it to speed up subsequent starts while keeping TMOD_ENABLEDMODS.

How to configure tmodloader1.4

  • TMOD_SHUTDOWN_MESSAGEServer is shutting down NOW!The message which will be sent to the in-game chat upon container shutdown.
  • TMOD_AUTOSAVE_INTERVAL10The autosave interval (in minutes) in which the World will be saved.
  • TMOD_AUTODOWNLOADA Comma Separated list of Workshop Mod IDs to download from Steam upon container startup.
  • TMOD_ENABLEDMODSA Comma Separated list of Workshop Mod IDs to enable on the tModLoader server upon startup.
  • TMOD_USECONFIGFILENoIf you wish to use a config file to specify server settings, set this variable to "Yes". Deprecated.

    values: Yes, No

tmodloader1.4 releases & version history

More in Game Servers

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…