Skip to content

Hytale Chapter I: Out of the Breach is live. Start a world for your group. Friends on Windows, Mac and Linux play together. Host Hytale

How to set up a Terraria dedicated server

Rent a Terraria server or run the free dedicated server. Pick Vanilla, TShock or tModLoader, set the world, open TCP 7777, then add the server by address.

TL;DR: A Terraria dedicated server keeps your world online when the host logs off. Pick Vanilla for normal Terraria, TShock for admin tools, or tModLoader for mods.

You can rent a server or run the free one on your own PC. Players then add it by address and port (TCP 7777 by default).

Want the port and updates handled for you? Start a Terraria server on berrybyte, from $6.95/mo.

Pick a server type first

The server type and the game client must match, or the join fails.

Server typeWhat it's forPlayers join with
VanillaNormal Terraria. Xbox and PlayStation can join since 1.4.6The normal Terraria client
TShockAdmin tools, groups and permissionsThe normal Terraria client
tModLoaderModsThe tModLoader client (a separate app on Steam)

TShock plugins and tModLoader mods don't mix, so modded groups pick tModLoader.

Xbox and PlayStation friends need a Vanilla server on berrybyte. Per Re-Logic's 1.4.6 post, they join PC dedicated servers with an online subscription. Switch can't join dedicated servers.

Set up a Terraria server on berrybyte

Order the server

Open Terraria server hosting and pick a plan. Plans are sold by player slots: 8 slots is $6.95/mo, 16 slots is $10.95/mo (the plan we recommend for most groups) and 32 slots is $18.95/mo. Pick the location closest to your group.

Choose the server type

Under Server type, pick Terraria Vanilla, TShock or tModLoader, then check out.

Wait for the install

Setup usually takes a few minutes. Watch Console until it shows "Type 'help' for a list of commands". That means the world is loaded.

Set the world and password

Open Game settings in the server sidebar and set World Name. On Vanilla and tModLoader, you can also set a password for a private server. Click Save & restart, or Save if the server is stopped.

Join the server

Copy Server address from Overview. On vanilla Terraria 1.4.6 for PC, open Multiplayer, click + Add Server and enter the address and port. In tModLoader, which is still built on Terraria 1.4.4, use Multiplayer → Join via IP.

We open the server's port for you, so there's nothing to forward. If someone can't get in, work through can't connect to a Terraria server.

Settings on berrybyte

Game settings lists the options by name. Most changes apply on restart, but a version change needs Reinstall server (see below). What you see depends on the server type:

  • Terraria Vanilla: Terraria version, World Name, World Size, Difficulty, MOTD, World Seed, Password and NPCStream.
  • tModLoader: World Name, World Size, tModloader Version, Difficulty, Server Password, MOTD and Language.
  • TShock: World Name only. Admin setup happens in TShock itself (see below).

World size, difficulty and seed only shape a new world. On Vanilla, Difficulty starts at 3 (Journey), so set it before the first world is made if you want Normal (0), Expert (1) or Master (2). Your plan sets the player slots.

Updating the server

A restart doesn't download a new Terraria build. To update, open Settings → Software & updates → Maintenance and click Reinstall server. It keeps your worlds, but on Vanilla it rewrites serverconfig.txt, so note any hand edits first.

If you pinned a version in Game settings, set it back to latest before you reinstall.

Run a tModLoader server

tModLoader is a separate app on Steam, and its stable release is still built on Terraria 1.4.4. Its December 2026 update says tModLoader multiplayer with console or mobile players "will still not be possible". So a tModLoader server is for PC players who run tModLoader.

Per tModLoader's server notes, the server loads only the mods listed in enabled.json. berrybyte doesn't run the install.txt Workshop installer, so upload the .tmod files instead.

Save your mod list as a pack

In tModLoader on your PC, open Workshop → Mod Packs and save your enabled mods as a new mod pack. This gives you the pack's enabled.json file.

Add the mods to the server

On berrybyte, stop the server and open Files. Upload enabled.json and the .tmod file of every mod it lists to the server's mods folder (lowercase). You can also use SFTP.

Start and test with one player

Start the server and read Console for mod errors. Then join with one player before you invite the group.

Not sure where your .tmod files are? Ask support and we'll help you add the mods.

Every player needs the same mods as the server. If someone can't join, see can't connect. If a big mod list runs out of memory, move up a plan.

Run a TShock server

TShock adds anti-cheat tools, server-side characters, groups, permissions and item bans, per TShock's GitHub page. Players join it from the normal Terraria client, not from tModLoader.

For first-run admin setup, follow TShock's own docs and release notes. On berrybyte, console players can join only Terraria Vanilla servers, not TShock.

Self-host the free dedicated server

The server software is free from Re-Logic. These steps follow the official Terraria wiki's Server page.

Get the server files

Download the dedicated server from the Downloads section of the wiki's Server page. On Windows, the main file is TerrariaServer.exe. On Linux, it's TerrariaServer.bin.x86_64.

Start it and make a world

Run the server file. With no config file, it asks you for the world and server settings in the window. On Windows, start-server.bat skips the questions by reading serverconfig.txt.

Open TCP 7777

The server runs on TCP port 7777 by default. Behind a home router, forward that port to the PC that runs the server. If the PC is not behind a router, allow the port through its firewall instead.

Share your address

Give players your public IP and the port. They add it with + Add Server on vanilla 1.4.6 for PC, or Join via IP in tModLoader.

The wiki says a small world needs about 500 MB of free RAM, and more for bigger worlds and more players. The PC has to stay on for the world to stay online.

Move an existing world to the server

On Windows, your worlds are .wld files in %USERPROFILE%\Documents\My Games\Terraria\Worlds, per the official wiki. These steps are for a Terraria Vanilla server.

Back up and stop the server

Make a backup under Backups first. Then stop the server.

Upload the world

In Files, open saves/Worlds and upload your .wld file. You can also use SFTP.

Point the server at it

In Game settings, set World Name to the file name without .wld (MyWorld.wld becomes MyWorld). Names can be up to 20 characters, so rename a longer file before you upload it. Then start the server.

Moving a tModLoader or TShock world? Ask support and we'll help you move it for free.

Self-host or rent?

Your own PCberrybyte
CostFree server, plus your PC and powerFrom $6.95/mo
Online when you log offOnly if the PC stays onYes
Port forwardingYou set it upNot needed
BackupsYou make your ownAutomatic backups on every plan
Server typeInstall it yourselfPick Vanilla, TShock or tModLoader at checkout

Self-hosting suits a small group with a spare PC. Rent a server when people play at different times, or when your router won't forward ports.

Want your world online between sessions? Start a Terraria server.

Frequently asked questions

How do I make a Terraria dedicated server?

Rent one, or run the free dedicated server: TerrariaServer.exe on Windows or TerrariaServer.bin.x86_64 on Linux. Make or load a world. Then let players in on TCP port 7777.

Is port 7777 safe to open?

Opening a port lets anyone who has your public IP reach the Terraria server on that port. Forward it only to the PC that runs the server, set a server password, and close the forward when you stop hosting. A rented server keeps your home IP out of it.

How do I run a dedicated tModLoader server?

Run tModLoader's own server, not the vanilla one. The server loads only the mods listed in its enabled.json file. Players join with the tModLoader client and the same mods as the server.

How much RAM does a Terraria server need?

About 500 MB of free RAM for a small world, and more for bigger worlds and more players. berrybyte plans have 3 GB (8 slots), 4 GB (16 slots) and 8 GB (32 slots).

Can Xbox and PlayStation players join a Terraria dedicated server?

Yes, on vanilla Terraria 1.4.6 or newer, if they have their console's online subscription. Switch players can't join dedicated servers. Consoles can't join TShock or tModLoader servers on berrybyte.

How much does a Terraria server cost?

The dedicated server software is free. On berrybyte, plans start at $6.95/mo for 8 slots, and the 16-slot plan we recommend for most groups is $10.95/mo.

Start a game
server with friends

Join the Discord