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.