Activate whitelist in Terraria
A whitelist is especially important if you want to play with your friends without other users. For this you have to install TShock on your server, then you can configure the whitelist.
{warningbox}}To configure the whitelist in Terraria you need to have TShock installed first.{{/warningbox}}
Activate whitelist
- stop your server
- connect via FTP to your Terraria server
- open the configuration file
config.json
in thetshock
directory - search for the option
"EnableWhiteList": false
- enable the whitelist by changing
false
totrue
- start your server so that the changes are applied
Add players to the whitelist
The whitelist in Terraria works based on the IP address of the player. Unfortunately, there is no function to add a player name or player ID.
Via console
- Open the server console
- Sdd a new IP address with the command
whitelist IP-ADDRESS
- Example:
whitelist 127.0.0.1
- Example:
Via FTP (file)
- Connect again via FTP to your Terraria server
- Open the
whitelist.txt
file - Enter one IP address per line in the following format
whitelist IP ADDRESS
- Example:
whitelist 127.0.0.1
- Example: