Skip to content
Puranode

Guide

Terraria Server Setup: TShock or tModLoader

A Terraria dedicated server is a small console program that loads one world file and listens on TCP port 7777. The first decision is which of three builds to run: the vanilla server from Re-Logic for an unmodified game among friends, TShock when you need accounts, permissions and protection on a public server, or tModLoader when you want content mods. The official wiki puts the vanilla server at about 500 MB of free memory for a small world, and everything else is one config file, serverconfig.txt, and one world file you should back up.

Published

FAQ

Frequently asked

How much RAM does a Terraria server need?

The official wiki gives 500 MB of free memory for a small vanilla world and says the figure rises with world size and player count. TShock's documentation says it generally needs at least 1 GB. A tModLoader server has no official figure, because memory use depends on which mods are loaded.

Which port does a Terraria server use?

TCP 7777 by default. Change it with port= in serverconfig.txt or -port on the command line. Players connect through Multiplayer, Join via IP, using the address and that port.

Can I run TShock and tModLoader on the same server?

Not as standard. They are separate server programs for different jobs: TShock serves the unmodified game with admin tools, and tModLoader serves modded clients only. Decide whether you need administration or content mods and run the matching build for that world.

Do players have to install mods to join a tModLoader server?

They need tModLoader itself, on exactly the same version as the server. For the mods, tModLoader can download what is missing from the server and reload before joining, unless the player has switched automatic downloading off or only accepts mods signed by the mod browser.

How do I move my single-player world to a server?

Upload the world's .wld file, plus the .twld with the same name if it is a tModLoader world, and set world= in serverconfig.txt to the full path of the .wld. Characters stay on each player's own PC and come with them.

How much does a Terraria server cost at Puranode?

2 GB for €5.99 a month, VAT included, no setup fee, no minimum term.

Projects referenced

This guide names other people’s work. These are their own pages, so you get the current documentation rather than our summary of it.

  • Server (official Terraria wiki) — The source for the default port, serverconfig.txt options, console commands and the memory note.
  • World size (official Terraria wiki) — The tile dimensions of small, medium and large worlds the guide compares.
  • Terraria (Re-Logic) — Where Re-Logic publishes the dedicated server download the guide points to.
  • TShock documentation — The install steps, the setup code, the config options and the server-side character notes the guide repeats.
  • TShock on GitHub — The releases page the guide tells readers to match against their Terraria version.
  • tModLoader on GitHub — The project the guide describes, with the wiki pages on branches, save folders and backups.
  • tModLoader DedicatedServerUtils — The official dedicated server instructions: the management script, install.txt and enabled.json.
  • SteamCMD — The tool tModLoader's management script uses for its recommended install.

Related guides

How Much RAM Does a Minecraft Server Need?

Size a Minecraft server heap by player count and modpack weight, learn to read MSPT and GC, and find out when more RAM genuinely will not help.

Read the guide

Paper vs Forge vs Fabric for a Minecraft Server

Paper runs plugins; Forge, NeoForge and Fabric run mods. Which to pick, which Java you need, what 26.1 changed, and how to move a world.

Read the guide

Minecraft Server Lagging? How to Diagnose and Fix TPS

Your Minecraft server lags: is it TPS, ping or client FPS? Diagnose the right one in 60 seconds, then fix it with settings changes that cost nothing.

Read the guide

How to Host a Rust Server: Wipes, Oxide, Map Seeds

A working guide to hosting Rust: force wipe mechanics and the exact files to delete, Oxide vs Carbon, worldsize versus RAM, and a first-wipe checklist.

Read the guide

Self-Hosting vs Renting a Game Server: Honest Costs

Real numbers on self-hosting versus renting a game server: upload per player, CGNAT, DDoS exposure, watts, uptime, and when self-hosting wins.

Read the guide

How to Commission a Custom Minecraft Plugin

When a custom Minecraft plugin is worth paying for, how to write a brief that gets a fixed price, a worked Varo example, and what to own at handover.

Read the guide

How to Host a Discord Bot 24/7 Without a Laptop

Keep a Discord or Telegram bot online 24/7: supervised restarts, gateway reconnects, intents, token leaks, honest sizing, backups and safe AI API calls.

Read the guide

How to Set Up a CS2 Server With Plugins

Set up a Counter-Strike 2 dedicated server: disk and RAM it really needs, the Steam login token, Metamod:Source, CounterStrikeSharp and Workshop maps.

Read the guide

CS:GO Server Hosting in 2026: Move to CS2?

Looking for CS:GO server hosting? What changed when CS2 replaced CS:GO, what still works, and how to move a community, retake or practice server across.

Read the guide

Valheim Dedicated Server: Mods, RAM and Cost

Run a Valheim dedicated server with BepInEx mods: how much RAM it needs, which mods go on the server, crossplay, world backups and what it costs to rent.

Read the guide

How Much Does an ARK Ascended Server Cost?

What an ARK: Survival Ascended server costs to rent and why: RAM per map, why player slots are not the price, clusters, mods and what to check before you pay.

Read the guide

How Game Server Hosting Works at Puranode

What happens from the moment you ask for a game server to the moment friends join: setup, the control panel, mods, billing and what the price includes.

Read the guide

How Custom Plugin Development Works: Brief to Build

How commissioning a custom plugin or mod works at Puranode: the brief, the fixed quote, building and testing, delivery, and what you own at the end.

Read the guide

How AI Agent and Bot Hosting Works at Puranode

How hosting a Discord bot, Telegram bot or AI agent works: deploying your code, keeping API keys out of it, automatic restarts, storage and plans.

Read the guide

How Puranode Web Hosting Works: Containers, SSL, Domains

How website hosting in an isolated container works: what you get on day one, the free subdomain and SSL, uploading a site, and pointing your own domain.

Read the guide

How the Trading Bot Builder Works: Backtest to Export

How the Puranode trading bot builder works: setting rules, backtesting on real hourly candles in your browser, and exporting Python and TradingView code.

Read the guide

Enshrouded 1.0 Dedicated Server Setup Guide

Set up an Enshrouded 1.0 dedicated server: the RAM and port it needs, enshrouded_server.json explained, moving your world and launch day updates.

Read the guide

Palworld Dedicated Server Setup: RAM and Ports

Set up a Palworld dedicated server: Pocketpair's RAM and CPU figures, UDP port 8211, PalWorldSettings.ini, the REST API, moving saves and restarts.

Read the guide

Satisfactory Dedicated Server Setup and Ports

Set up a Satisfactory dedicated server: ports 7777 and 8888 explained, RAM and CPU by factory size, claiming it, uploading a save, autosaves and updates.

Read the guide

Project Zomboid Dedicated Server Setup Guide

Set up a Project Zomboid dedicated server on Build 42: the two UDP ports, Java memory, servertest.ini, admin, Workshop mods, saves and wipes.

Read the guide

7 Days to Die Dedicated Server Setup Guide

Set up a 7 Days to Die dedicated server on V3: ports 26900 to 26903, serverconfig.xml and SandboxCode, world choice, admins, telnet, EAC and updates.

Read the guide

Want a Terraria server without the setup?

2 GB for €5.99/mo, VAT included. Online within a few minutes.