Blog Games 3 min read

Create a Terraria server: vanilla, TShock or tModLoader

Create a Terraria server to play with friends: vanilla, TShock or tModLoader for mods, creating or importing a world, password and administration. One of the cheapest servers to host.

On this page
  1. Vanilla, TShock or tModLoader?
  2. Creating the server
  3. Importing your world
  4. Connecting
  5. Playing with mods (tModLoader)
  6. Administering a TShock server
  7. Administering a vanilla server
  8. Frequently asked questions

A Terraria server is lightweight: 2 GB of memory is enough for a group of friends. You choose between three types: vanilla (the game as it is), TShock, which adds accounts, permissions, zone protection and plugins, and tModLoader for playing with mods. You then create a world (size, difficulty, corruption or crimson) or import your own, and give the address to your friends.

Vanilla, TShock or tModLoader?

VanillaTShocktModLoader
Best forSmall group of friendsPublic or semi-public serverGroup that wants mods (Calamity, Thorium…)
Accounts and passwords per playerNoYesNo
Zone protection, anti-cheatNoYesDepends on the mods
Server-side pluginsNoYesNo
Content modsNoNoYes (players install them too)

All three types are offered on our plans: you can switch between them under More options › Server type and reinstallation.

Creating the server

  1. Choose your plan on the Terraria server page. The Discovery Eco plan (2 GB) can be tried for 3 days without a bank card.
  2. Choose the type (Terraria Vanilla, TShock or tModLoader) and the game version.
  3. In Settings, enter the world name, its size, its difficulty, the number of players and the password.
  4. Start it: the world is generated on first launch.

Importing your world

  1. On your PC, worlds are in Documents\My Games\Terraria\Worlds (.wld files).
  2. Stop the server, then upload the .wld file to the server's worlds folder via Files.
  3. Enter the name of that file as the world to load in the settings, then start.

Connecting

In Terraria, go to Multiplayer › Join via IP, choose your character, enter the IP and then the port shown at the top of the panel, and the password if there is one.

Playing with mods (tModLoader)

  1. Switch the server to tModLoader (with the command or under More options › Server type and reinstallation).
  2. On your PC, enable the mods you want in tModLoader, then collect their .tmod files (folder Documents\My Games\Terraria\tModLoader\Mods) along with the enabled.json file.
  3. Upload them to the server's Mods folder via Files, then restart.
  4. Your friends install the same mods; tModLoader offers to download them from the server when they connect.

A large pack such as Calamity needs more memory: plan for 3 to 4 GB.

Administering a TShock server

When it first starts, TShock displays a one-time setup code in the console.

  1. Connect to the server.
  2. In the chat, type /setup <code>.
  3. Create your account: /user add YourName yourpassword owner.
  4. Log in: /login yourpassword, then /setup to turn off setup mode.

Useful commands: /kick, /ban add, /region define (protect an area), /group addperm, /save, /time day.

TShock plugins (.dll files) go in the ServerPlugins folder, then restart.

Administering a vanilla server

The vanilla server has no in-game commands for the administrator: you act from the panel's Console with kick <player>, ban <player>, save, dawn, noon, settle, exit.

Frequently asked questions

How many players? The game accepts up to 255 players in theory. In practice, 2 GB suits about ten players; plan for 3 to 4 GB for a public TShock server with a large world.

My friend says "different version". Update the game on both sides, or choose the server version that matches under the Version page.

Is the world saved automatically? Terraria saves the world regularly and on shutdown. Add server backups on the Backups page.

Dig in together: Terraria server, from 0.85 € per month, with a 3-day free trial.

By Équipe Artaun