---
title: Creating an Allowlist (Whitelist) for Your Terraria Server
description: Learn how to create and add players to an allowlist (whitelist) for your Terraria server using TShock hosted with Nodecraft!
source: "https://nodecraft.com/support/games/terraria/creating-an-allowlist-whitelist-for-your-terraria-server"
image: "https://dynamic-assets.nodecraft.com/signedurl/w7vokBAexMnVlnMZ1Q/image.jpg?modifications=W3sibmFtZSI6ImdhbWVfYmciLCJpbWFnZV91cmwiOiJodHRwczovL2Ntcy1hLm5vZGVjcmFmdC5jb20vZi8xMzM5MzIvMjAwMHg1NTAvOGIwZjdhNWNjMC90ZXJyYXJpYS1sYW5kaW5nLXBhZ2UtMS0yLTAucG5nL20vIn0seyJuYW1lIjoiZ2FtZV9sb2dvIiwiaW1hZ2VfdXJsIjoiaHR0cHM6Ly9jbXMtYS5ub2RlY3JhZnQuY29tL2YvMTMzOTMyLzM3NXgxNTAvOGM1NTVhZWQwZi9sb2dvLnBuZy9tLyJ9LHsibmFtZSI6ImN0YV90ZXh0IiwidGV4dCI6IkNyZWF0ZSB5b3VyIG93biBzZXJ2ZXIhIn0seyJuYW1lIjoidGV4dCIsInRleHQiOiJDcmVhdGluZyBhbiBBbGxvd2xpc3QgKFdoaXRlbGlzdCkgZm9yIFlvdXIgVGVycmFyaWEgU2VydmVyIn1d&s=bd6b2be1bbb3f6b91dfa374a7f250e0ceb2980a2190d00d44e00ca603b344575"
published: "2023-02-16T18:21:21.413Z"
updated: "2024-09-23T21:38:00.000Z"
---

# Creating an Allowlist (Whitelist) for Your Terraria Server

Learn how to create and add players to an allowlist (whitelist) for your Terraria server using TShock hosted with Nodecraft!

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.

![A view of Nodecraft Pro's Backups GUI](https://cms-a.nodecraft.com/f/133932/1900x760/a0a31536bd/create-backup.png/m/1000x0/smart)

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

![A view of Nodecraft Pro's One Click Installer, with TShock highlighted for a Terraria server](https://cms-a.nodecraft.com/f/133932/1886x940/645ca4d6fd/oci-tshock.png/m/1000x0/smart)![A view of Nodecraft Pro's One Click Installer with the Archive install method highlighted](https://cms-a.nodecraft.com/f/133932/1300x480/70fc390923/archive-install.png/m/1000x0/smart)

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)`.

![A view of Nodecraft Pro's file editor, moving the world files for Terraria](https://cms-a.nodecraft.com/f/133932/1895x789/dc77561556/move-world.png/m/1000x0/smart)![A view of Nodecraft Pro's file editor, selecting a destination folder for moving files for Terraria](https://cms-a.nodecraft.com/f/133932/403x765/94da50d635/move-main-folder.png/m/)

## 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!

![A view of Nodecraft Pro's Console for a TShock Terraria server, using the whitelist command](https://cms-a.nodecraft.com/f/133932/1664x782/820f774a5e/console-whitelist.png/m/1000x0/smart)

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](https://nodecraft.com/support/games/terraria/how-to-become-super-admin-in-tshock-terarria).

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.

![A view of the whitelist.txt location within Nodecraft Pro for TShock Terraria](https://cms-a.nodecraft.com/f/133932/1911x530/03489fddef/whitelisttxt.png/m/1000x0/smart)
