HaruHost

tModLoader (Terraria) server guide

How to set up a tModLoader dedicated server

Install HaruHost on a Windows PC or an Ubuntu server and create a tModLoader server. HaruHost downloads it without SteamCMD, gives it its port and runs it; serverconfig.txt opens in the browser, and friends join with Join via IP.

What HaruHost does for you

  • SteamCMD: not needed. HaruHost downloads tModLoader's dedicated server and updates it with one button.
  • Visual C++, DirectX and .NET on Windows: offered as prerequisites, installed in one click.
  • serverconfig.txt: opens in the browser on Manual Config, on Windows and Linux.
  • Getting friends in: with the Tunnel, no port forwarding, even behind CGNAT.

On Windows

  1. Download HaruHost for Windows and sign in.
  2. Choose Add → New game server, pick this PC, then tModLoader.
  3. On the Connection step, choose Tunnel to skip router setup, or Ports to use your own address.
  4. Create the server and start it. If HaruHost lists missing prerequisites, press Install selected.
  5. Send friends the Server Address from the server's Details tab.

Install HaruHost on Linux

On Ubuntu (x86-64), run:

curl -fsSL https://haruhost.com/install.sh | sudo bash

HaruHost installs as a service. Sign in with the QR code it shows in your SSH session, then open the web panel from any browser. On Ubuntu it installs Docker with one click when you create your first server.

On Linux

  1. In the web panel, choose Add → New game server, pick your Linux server, then tModLoader.
  2. On the Connection step, choose Tunnel, or Ports to use the server's own address. The Tunnel needs HaruHost running as a service, as the install command sets it up.
  3. Create the server. If Docker isn't installed yet, HaruHost asks first; press Install, then Create Server.
  4. Start the server and send friends the Server Address from the Details tab.

Questions

Does the server keep running when I stop playing?

Yes. It runs on its own, so friends can play while you are offline. On Linux and with the Windows background service it also runs without anyone signed in.

Related guides

Everything HaruHost does for tModLoader (Terraria)

The complete community suite, one command away.

One command on an Ubuntu VPS, or an installer on Windows. One plan for every server you run, from €4.99 a month.