Creating an Allowlist (Whitelist) for Your Terraria Server
Creating an Allowlist for your Terraria server is easy with TShock. Vanilla Terraria sadly doesnât have an allowlist feature by default, so youâll need to add the modding software TShock to your server.
Installing TShock To Your Server
Remember that if you Install TShock, you cannot add tModLoader mods to your server. TShock and tModLoader are two different modding softwares for Terraria.
If youâve created a TShock server from your Nodecraft Dashboard, skip to the Adding Players to the Allowlist section of this article.
If youâve been playing vanilla Terraria, continue reading, and weâll show you how to install TShock and continue using the world youâve been playing on.
Create a Backup
First things first, and something thatâs generally a good idea to do whenever you make any significant changes to your server (for any game) is creating a backup to have a fallback point.
Click on the Backups tab on the left-hand side of the panel, and click the Create Backup button on the upper right portion of the panel.
Install TShock Using the One Click Installer
Once your backup is completed, click on the One Click Installer tab on the left-hand side of the panel, scroll down a little until you see TShock, click on it, and Install via the default option Archive.
After that, click on the Server Files tab in the panel, and near the top will be an _old_files
folder. This is where your serverâs previous files got relocated for safekeeping.
Select your worlds
folder and the serverconfig.txt
file, click the Move button in the upper right, and use the dropdown menu to select /(Main Folder)
.
Adding Players to the Allowlist
Next, youâll want to turn your server on using the Start button.
From there, click on the Console tab in the panel, and near the bottom will be a text field for you to input commands to the server.
Issue the command /whitelist IP
replacing IP
with the player's IP address, and youâre all set!
You can also use this command in-game if youâve given yourself admin. Furthermore, you can review our guide on how to make yourself an admin.
Alternatively, you can directly edit the whitelist.txt
file in the /config
folder in the Server Files. Restart the server for any changes youâve made to apply.