How to set a password on a Terraria server
On SLASHPLAY, turn on the join password on the General tab and restart. On your own server, set password=SecretPass in serverconfig.txt.
password
The password players must enter to join. Empty means no password. At the server console, password shows it and password <pass> changes it.
password=<password> Examples
password=SecretPass In serverconfig.txt.
-password SecretPass As a launch option.
password NewPass At the server console: change it while running.
Arguments
passwordRequired- The join password.
What it does
Terraria asks for it after the address and port.
Good to know
- SLASHPLAY manages this one: turn on the join password on the General tab, then restart the server, because Terraria reads it when it starts.
- A line in the server config file (serverconfig.txt), read when the server starts with
-config. SLASHPLAY starts Terraria without a config file, so the line has no effect there.
Run it on your server
On SLASHPLAY, Terraria's server can't take commands from the dashboard: the Console tab only shows what it prints. SLASHPLAY sets the world, the 8-player limit and the join password at each start, and the chat commands work for every player in game. New to this? Start a Terraria server first.
Your own
Terraria server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.