Enable 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.

Written on October 29, 2021

Hint

To configure the whitelist in Terraria you need to have TShock installed first.

Activate whitelist

  1. Stop your server
  2. Connect via FTP to your Terraria server
  3. Open the configuration file config.json in the tshock directory
  4. Search for the option "EnableWhiteList": false
  5. Enable the whitelist by changing false to true
  6. 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

  1. Open the server console
  2. Add a new IP address with the command whitelist IP-ADDRESSE
    1. Example: whitelist 127.0.0.1

Via FTP (file)

  1. Connect again via FTP to your Terraria server
  2. Open the whitelist.txt file
  3. Enter one IP address per line in the following format whitelist IP ADDRESS
    1. Example: whitelist 127.0.0.1
Terraria Logo

Overview

Developer

Re-Logic

Studio

Re-Logic

Release

May 16, 2011

Genres

Open-World, Survival, Sandbox, 2D

Platforms

Playstation 4, Nintendo Switch, Android, Linux, Xbox One, Windows, iOS, Mac OS X