How to Enable and Configure a Password on Your Terraria Server

Learn how to set or remove a join password on your Terraria server using the RiverHosting panel to control who can connect.
Adding a password to your Terraria server is a quick way to keep it private. Only players who know the password will be able to join. This guide walks you through setting, changing, and removing the password from your Terraria server using the RiverHosting panel.
Before you start
- Make sure you have an active Terraria server with RiverHosting.
- Log in to the RiverHosting panel at panel.riverhosting.com.
- You will need to restart your server after making changes for them to take effect.
All of these steps are done through the RiverHosting panel. You do not need to edit any files manually or use a terminal.
1. How to set or change your Terraria server password
The easiest way to set a password on your Terraria server is through the game Settings page in the panel. It works on every server type: Vanilla, TShock and tModLoader.
- Log in to the RiverHosting panel.
- Click on your Terraria server from the server list.
- In the GAME section of the left-hand menu, click Terraria, then the Settings tab at the top of the page.

- Look for the field labelled Password in the General card.
- Type your desired password into the field. Choose something easy to share with your friends but not obvious to strangers.
- Click Save Settings.

- Go back to the main server page and click Restart to apply the new password.

Terraria password prompts appear in-game when players try to connect. Keep the password short and easy to type so your friends do not struggle to join.
On TShock the password is stored in tshock/config.json. Stop a TShock server before saving the password, because a running TShock server rewrites its config files when it shuts down.
2. How to remove the password from your Terraria server
If you want to open your server to anyone without a password, you can clear the password field entirely.
- Log in to the RiverHosting panel.
- Click on your Terraria server.
- In the GAME section of the left-hand menu, click Terraria, then the Settings tab at the top of the page.
- Find the Password field and delete any text currently in it, leaving the field blank.
- Click Save Settings.
- Restart your server from the main server page for the change to take effect.
Removing the password means anyone with your server address can join. If your server is publicly listed or your address is shared widely, consider keeping a password in place.
3. How to find or share your server address with friends
Once your password is set, your friends will need your server address and the password to connect. You can find your server address on the main server page in the panel.
- Open your server in the RiverHosting panel.
- On the main server page, look for your server address. It will appear as an IP address and port, such as
123.45.67.89:7777. - Share this address and your chosen password with anyone you want to invite.
If you want a friendlier address to share, such as myserver.playriver.net, you can set one up using the Subdomain Manager in the panel. Terraria still needs the port, so friends enter the subdomain followed by a colon and your port, for example myserver.playriver.net:7777.
Troubleshooting
- Players are still prompted for a password after I removed it. Make sure you restarted the server after clearing the password field. Changes only apply after a restart.
- The password field is not visible. In the GAME section of the left-hand menu, click Terraria, then the Settings tab at the top of the page. If you still cannot find it, contact RiverHosting support for help.
- Players say the password is incorrect. Double-check the password you set on the Settings page. Passwords are case-sensitive, so make sure you share the exact version with your friends.
- Changes do not seem to take effect. Always restart your server after changing the password. On TShock, make sure the server was stopped while you saved. A full restart is required for new settings to load.
Do not post your server password in public places like social media or large Discord servers unless you want unknown players joining your world.
Need help?
If you run into any issues setting up or removing your Terraria server password, the RiverHosting support team is happy to help.
Visit the RiverHosting support page at https://riverhosting.com/support and open a ticket. Include your server name and a description of the issue so the team can assist you quickly.