Terraria Server Setup: Complete Guide 2026

Terraria is one of the best-selling games ever, and with the latest updates it is still hugely popular. A dedicated server lets you play with friends without the host needing to be online. In this guide, we explain everything.

Hardware requirements

Terraria servers are lightweight compared to most games:

PlayersRAMNote
1-8512 MB - 1 GBMinimal configuration
8-161-2 GBSufficient for most servers
16+2-4 GBLarge servers with mods

Terraria primarily uses a single CPU thread. High clock speed is more important than many cores.

Installing the server

  1. Download the Terraria dedicated server from the official website or via SteamCMD.
  2. Extract the archive to a folder on your server.
  3. Start the server: ./TerrariaServer.bin.x86_64 (Linux) or TerrariaServer.exe (Windows).
  4. Select or create a world.
  5. Set a password (optional but recommended).

serverconfig.txt

Use a configuration file for automatic startup:

world=/path/to/world.wld
autocreate=3
worldname=MyWorld
difficulty=1
maxplayers=16
port=7777
password=secret
secure=1
language=en
npcstream=60

Start with config: ./TerrariaServer -config serverconfig.txt

World settings

  • autocreate: 1=small, 2=medium, 3=large.
  • difficulty: 0=normal, 1=expert, 2=master, 3=journey.
  • seed: use a specific seed for reproducible worlds, or leave empty for random.

tModLoader: installing mods

tModLoader is the standard mod loader for Terraria. It is available as free DLC on Steam:

  1. Install tModLoader via Steam or manually on your server.
  2. Mods are managed via the in-game Mod Browser.
  3. On a server: place .tmod files in the mods folder and restart.

Popular mods: Calamity (new bosses and items), Thorium (extra content), Magic Storage (storage upgrade).

Firewall and ports

The default port is 7777 (TCP). Open it in your firewall:

ufw allow 7777/tcp

Can I run a Terraria server on a VPS?

Yes, and it is the ideal solution. Terraria servers use few resources. A small VPS plan with 1-2 GB RAM is more than enough for most groups.

Does cross-play work between PC and console?

No, Terraria does not have cross-play between PC and consoles. A dedicated server is only for PC players (Steam). Console players must use the built-in multiplayer system.

How do I back up my Terraria world?

Copy the .wld file in the Worlds folder. Do this regularly, especially for large worlds with a lot of work put into them. Automate it with a cron job for daily backups.

Start your Terraria server at HostValues game hosting with direct access.

Ready to get started?

View our plans and pricing, or order directly.

View plans Order now

Still stuck? Open a support ticket and our team will help you out.

Back to the blog