Terraria: connect to and set up your server

Start your Terraria server, join via IP and set the world, password, player count and difficulty.

2 minute read Updated 14.11.2026

Here's how to connect to your Terraria server and adjust the most important settings.

Connecting

  1. Open the server page in the client area and click Start.
  2. Wait until the status shows “running”. You can follow the progress in the Console tab.
  3. Copy the address (IP:Port) at the top of the server page.
  4. In Terraria, choose Multiplayer → Join → Join via IP, select your character and enter the IP and port from the server page.

Important settings

In the Startup variables tab:

  • World name (WORLD_NAME) – name of the world file.
  • Password (PASSWORD) – password for joining.
  • Max. players (MAX_PLAYERS) – maximum number of players.
  • World size (WORLD_SIZE) – 1 (small), 2 (medium), 3 (large).
  • Difficulty (WORLD_DIFFICULTY) – 0 (classic), 1 (expert), 2 (master), 3 (journey).
  • Welcome message (SERVER_MOTD) – message of the day.

The configuration is in serverconfig.txt in the Files tab. Changes in the Startup variables tab take effect on the next restart.

Console commands

In the Console tab, you control your server without a slash:

  • save – saves the world immediately
  • kick playername and ban playername – remove players
  • password NewPassword – change the password
  • dawn, noon, dusk, midnight – set the time of day
  • settle – lets all water settle
  • exit – saves and shuts down the server

Creating a new world

World size, seed and difficulty only apply to a new world. For a fresh world, enter a new name under World name and restart. The old world is kept and can be loaded again with the old name.

More options with TShock

If you need user permissions, region protection or plugins, our Terraria TShock variant is the better choice. It runs with the normal Terraria version, so your players do not need to install anything.

Good to know

  • World size, seed and difficulty only apply when creating a new world.
Was this helpful?