NEW 📢 Limited launch offer: up to 70% off your first month on every game!See plans

How to set a password on your Terraria server

TerrariaUpdated Oct 24, 20263 min read

Open Settings, Game Settings, type a password in Password (Terraria Vanilla) or Server Password (TShock and tModLoader), and restart the server. Players then type it when they join. Leave the field empty to run a public server that anyone with the address can join.

Set the password

  1. Open your server in the panel and click the Settings tab.
  2. Click Game Settings in the Server Settings card.
  3. Type the password in Password or Server Password, then click outside the field or press Enter.
The Password setting in Game Settings
  1. Click Restart now in the banner, or restart the server yourself. The new password applies from the next start.

To make the server public again, empty the field and restart.

What the password may contain

Server typeFieldRules
Terraria VanillaPasswordPlain letters, numbers, spaces and punctuation, 64 characters at most. No accented letters, emoji, double quotes or backslashes.
TShockServer PasswordNo double quotes or backslashes, 20 characters at most.
tModLoaderServer PasswordNo double quotes or backslashes, 20 characters at most.

If the panel refuses a password, it says why: The panel will not save your Terraria world name or password.

Share it

The Play with friends card on Overview shows the password in its Password row, and Copy invite message puts it in the invite. Someone on your team without the View startup permission sees Hidden for your account, and their invite says It has a password: ask me for it. See How to invite friends to your Terraria server.

Good to know

Already hosting it somewhere else? Move your server to us

CREATE YOUR GAME SERVER
READY TO GET STARTED?

Save up to 30% on your new game server.
Premium performance, instant activation, and unbeatable reliability all at a better price.

OUR LATEST BLOGS