Terraria's multiplayer is simple to start from the game itself, but a dedicated server keeps the world online for everyone, survives the host leaving, and lets you add administration and mods. Because Terraria servers use few resources, a small VPS is enough, and you can run several worlds or other game servers on the same machine. This guide covers the three common server types, setup, backups and sizing.
Vanilla, TShock or tModLoader?
| Server | Best for | Notes |
|---|---|---|
| Vanilla dedicated server | Small private groups | Official server from the game's developers; simple and stable |
| TShock | Public or community servers | Adds user accounts, permissions, groups, anti-cheat, region protection and a plugin API |
| tModLoader server | Modded play (Calamity and others) | Runs tModLoader mods; all players need the same mods and versions |
Pick one per world. TShock and tModLoader follow game updates, so check that their current release supports the Terraria version your players run.
Installation
- Create a dedicated system user and directory.
- Download the server you chose (the official dedicated server package, TShock, or the tModLoader server).
- Run the server once to create a world interactively, or point it at an existing world file uploaded from a player's PC.
- Write a configuration file (world path, port, password, max players, MOTD) so the server can start unattended.
- Run it under systemd or a Windows service, ideally inside a
screenortmuxsession or with a console wrapper so you can still type server commands.
Ports and Firewall
Terraria uses TCP port 7777 by default; each additional world needs its own port. Open only those ports, keep SSH key-only, and if TShock's REST API is enabled, restrict it to admin IPs or disable it. Our UFW guide covers firewall basics.
Administering With TShock
- Create an admin account on first start using the setup code TShock prints, then disable the setup code.
- Define groups (guest, member, moderator, admin) with only the permissions each needs.
- Protect spawn and key builds with regions.
- Use server-side characters if you want to prevent players importing modified characters.
- Keep plugins few and current, since each runs inside the server.
Modded Servers With tModLoader
tModLoader servers load mods from the server's mod folder; every player must run the same mods and versions. Large content mods increase memory use and world file size. Before adding or updating mods, back up the world, test with a couple of players, then update everyone together. Publish the mod list in your community so players can prepare.
World Size and Performance
Large worlds with many players exploring different areas, heavy events and complex contraptions increase CPU and memory use, but even busy Terraria servers rarely need more than a few gigabytes of RAM. CPU single-core speed matters more than core count. Restart occasionally (for example daily) to clear long-running state, and avoid extremely large numbers of active items and NPCs lying around.
Sizing
| Setup | Suggested resources |
|---|---|
| One vanilla or TShock world, friends group | 2 vCores / 8 GB |
| Modded tModLoader world with large mods | 2–4 vCores / 8–16 GB |
| Several worlds or other game servers too | 4 vCores / 16 GB |
Terraria's light footprint makes it a good companion on a VPS that also runs another small game server or a Discord bot. See our game server VPS guide for combining workloads.
Backups
World data is a single .wld file plus backup copies the server creates. Copy world files to off-server storage several times a day for active servers and keep a week of history. TShock also keeps a database (SQLite by default) for users and permissions; back it up too. Always back up before game, TShock or mod updates.
Updates and Version Matching
Clients must match the server's game version to join. When Terraria updates, wait for TShock or tModLoader support if you use them, then update the server promptly. Script the routine: stop, back up, update, start. Announce update times so players can update their game first.
DDoS Protection and Location
Public servers may face attacks; network-level DDoS mitigation (see our DDoS guide) keeps them online. Host near your players for smooth combat and building; Indian groups get the best ping from servers in India.
Example: A Community TShock Server
A Discord community runs a large TShock world and a separate tModLoader world for a Calamity playthrough on a 4 vCore / 16 GB VPS, on ports 7777 and 7778. TShock groups give moderators kick and ban permissions only, world files are backed up every two hours with cron (see our cron guide), and both servers restart at 5 AM daily.
Common Mistakes
- Updating the server before TShock or tModLoader supports the new version.
- Leaving the TShock setup code or REST API open.
- Mismatched mod versions between server and players.
- Relying only on the server's automatic world backups on the same disk.
- Giving moderators full admin permissions.
Next Steps
Choose vanilla, TShock or tModLoader, install it on a small VPS near your players, upload or create your world, open the port, and set up backups before inviting everyone.
In Short
Terraria servers are light and easy to host. Pick the right server type, open TCP 7777 per world, manage permissions with TShock, keep mods in sync, back up often and host close to your players.
SkyRainCloud Plans for This Workload
Terraria servers are light: one vanilla or TShock world runs comfortably on 2 vCores / 8 GB, which also leaves room for several worlds or a modded tModLoader server.
AMD EPYC 7C13 VPS
Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — AMD | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Websites, small APIs, bots, staging and VPN servers | Order |
| VPS 2 — AMD | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,299/month | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| VPS 3 — AMD | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,499/month | Production databases, high-traffic sites, multi-container apps | Order |
| VPS 4 — AMD | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,899/month | Large production workloads, SaaS platforms, analytics, in-memory caches | Order |
Intel Xeon Platinum 8269CY VPS
KVM VPS on Intel Xeon Platinum 8269CY (up to 3.80 GHz Turbo) with DDR4 ECC memory, NVMe SSD, full root access and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — Intel | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Business websites, small apps, scheduled jobs and bots | Order |
| VPS 2 — Intel | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,169/month | Business software, mid-size databases, several sites on one server | Check stock |
| VPS 3 — Intel | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,249/month | ERP/CRM stacks, heavier databases, multiple production apps | Check stock |
| VPS 4 — Intel | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,299/month | High-memory workloads and consolidated production servers | Check stock |
Prices are monthly in INR as listed on the SkyRainCloud store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.