Terraria Dedicated Server: Hardware Specs, TShock Setup, and Tuning

A Terraria dedicated server for 8 players runs comfortably on a single 2 GHz core and 1–2 GB of RAM. Push to 16 players with TShock, world backups, and a few plugins, and you still stay under 4 GB. By dedicated server standards this is a featherweight workload — the decisions that actually matter are disk speed for world saves and stable single-core performance for the 60-tick simulation loop.

Because the footprint is so small, Terraria is an ideal second or third instance on a box you already rent for another game, or a first server for a community that wants to dip into self-hosting without buying enterprise hardware. If you are picking a machine, compare dedicated server plans side by side — even the entry tier is overkill in the best way for Terraria alone.

Hardware sizing that matches your player count

Terraria’s server is a single process with modest threading; it does not scale across many cores, so prioritize clock speed over core count. The table below is what we recommend based on measured usage across community servers.

PlayersCPURAMDisk (free space)
41 core @ 2 GHz1 GB1 GB
82 cores @ 2.5 GHz2 GB5 GB
16 (TShock + plugins)2–4 cores @ 3 GHz4 GB10 GB

RAM usage grows with world size and player count because the server holds the loaded world in memory; a large world with heavy builds sits near the top of those ranges. World files themselves are small (tens of MB), so disk is rarely a concern unless you keep many backup generations.

Setting up the vanilla server and TShock

The official server is distributed through SteamCMD under app ID 1281930, and it runs natively on Linux — no Wine required. Install it with steamcmd +login anonymous +app_update 1281930 +quit, then launch with ./TerrariaServer.bin to generate a config. For anything beyond a handful of friends, install TShock on top: it adds per-user permissions, banned-item control, anti-cheat, region protection, and a web-based remote console that makes moderation much easier.

Key config values live in serverconfig.txt: worldname, autocreate (world size), maxplayers, port (7777 by default, TCP and UDP), and npcstream, which controls how many NPC updates are sent per tick and is the main dial for reducing lag on weak connections. TShock adds its own config.json for permissions and server settings on top of the vanilla file.

Networking is the part people get wrong. Terraria’s server listens on port 7777 for both TCP and UDP — TCP carries the bulk of the game traffic while UDP handles some status queries — and both must be open in your firewall and forwarded on any router between the box and the internet. The server also registers itself on Steam’s server list, which requires outbound access to Steam’s matchmaking endpoints. If players can connect directly by IP but the server does not show up in the in-game browser, it is almost always a UDP rule or Steam query port issue rather than a hardware one.

Tuning and maintenance that prevent heartbreak

  • Back up .wld and .twld files on a schedule — a corrupted world after a crash is the most common community disaster, and the files are small enough to snapshot hourly.
  • Schedule a daily restart; Terraria’s server leaks memory slowly over long uptimes, and a 5-minute restart window at 5 AM beats a crash at peak time.
  • Watch RAM with free -h; if a 16-player server climbs past its budget, TShock’s maxplayers and npcstream settings are your first levers.
  • Keep the server binary updated — Terraria updates add content, and clients can only join servers running the same version.

The case: a 12-player community on spare capacity

A community we profiled runs Terraria on a dedicated box that primarily hosts a Valheim server. The Terraria instance (TShock, 12 regular players, hourly world backups) uses 2.6 GB of RAM and one core at about 40 percent utilization. Total cost: the price of the disk space for the backups. They added a second world for events by simply duplicating the config and changing the port — something that takes minutes on a dedicated box and often impossible on shared hosting.

If you want to host Terraria alongside other games without fighting for resources, check the current InterServer dedicated server plans — even the entry configuration leaves plenty of headroom for a full game network.

Terraria is the easy win

Terraria is the lowest-risk game server you can host: tiny footprint, native Linux support, mature admin tooling in TShock, and backups measured in megabytes. It is the perfect first instance on a new dedicated box and the perfect filler instance on an existing one. For the full picture on what a machine for this (plus room to grow) looks like, see the full specs and pricing on the provider comparison page.

Leave a Reply