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?
| Vanilla | TShock | tModLoader | |
|---|---|---|---|
| Best for | Small group of friends | Public or semi-public server | Group that wants mods (Calamity, Thorium…) |
| Accounts and passwords per player | No | Yes | No |
| Zone protection, anti-cheat | No | Yes | Depends on the mods |
| Server-side plugins | No | Yes | No |
| Content mods | No | No | Yes (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
- Choose your plan on the Terraria server page. The Discovery Eco plan (2 GB) can be tried for 3 days without a bank card.
- Choose the type (Terraria Vanilla, TShock or tModLoader) and the game version.
- In Settings, enter the world name, its size, its difficulty, the number of players and the password.
- Start it: the world is generated on first launch.
Importing your world
- On your PC, worlds are in
Documents\My Games\Terraria\Worlds(.wldfiles). - Stop the server, then upload the
.wldfile to the server's worlds folder via Files. - 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)
- Switch the server to tModLoader (with the command or under More options › Server type and reinstallation).
- On your PC, enable the mods you want in tModLoader, then collect their
.tmodfiles (folderDocuments\My Games\Terraria\tModLoader\Mods) along with theenabled.jsonfile. - Upload them to the server's
Modsfolder via Files, then restart. - 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.
- Connect to the server.
- In the chat, type
/setup <code>. - Create your account:
/user add YourName yourpassword owner. - Log in:
/login yourpassword, then/setupto 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.