---
title: Adding an Allowlist to Your Valheim Server
description: Learn how to add an Allowlist (Whitelist) to your Valheim dedicated server hosted with Nodecraft!
source: "https://nodecraft.com/support/games/valheim/adding-an-allowlist-to-your-valheim-server"
image: "https://dynamic-assets.nodecraft.com/signedurl/w7vokBAexMnVlnMZ1Q/image.jpg?modifications=W3sibmFtZSI6ImdhbWVfYmciLCJpbWFnZV91cmwiOiJodHRwczovL2Ntcy1hLm5vZGVjcmFmdC5jb20vZi8xMzM5MzIvMjAwMHg1NTAvZjY2ZTY0Y2JjNS92YWxoZWltLTEtMi0wLnBuZy9tLyJ9LHsibmFtZSI6ImdhbWVfbG9nbyIsImltYWdlX3VybCI6Imh0dHBzOi8vY21zLWEubm9kZWNyYWZ0LmNvbS9mLzEzMzkzMi8zNzV4MTUwL2MwZGEwNmUzMzAvdmFsaGVpbS5wbmcvbS8ifSx7Im5hbWUiOiJjdGFfdGV4dCIsInRleHQiOiJDcmVhdGUgeW91ciBvd24gc2VydmVyISJ9LHsibmFtZSI6InRleHQiLCJ0ZXh0IjoiQWRkaW5nIGFuIEFsbG93bGlzdCB0byBZb3VyIFZhbGhlaW0gU2VydmVyIn1d&s=4fa3dc88f74f4c9ec446458e863691ad3bfa85bcc40b42dfe6818088dd1d2db6"
published: "2021-02-05T21:20:00.000Z"
updated: "2024-09-23T21:21:00.000Z"
---

# Adding an Allowlist to Your Valheim Server

Learn how to add an Allowlist (Whitelist) to your Valheim dedicated server hosted with Nodecraft!

This article will guide you through the process of adding an Allowlist (Permitted list) to your Valheim server.

## Edit the `permittedlist.txt` File

First, you must find the player ID of the player you want to add to the permit. There are two places where you can easily find this. One will be in your server's Console. When a player joins the server, you will see two lines that will provide their ID.

![A view of a Valheim's Console in Nodecraft Pro showcasing the player join events](https://cms-a.nodecraft.com/f/133932/1919x898/6c36aabbf9/console-steamid.png/m/1000x0/smart)

You can also get their ID in-game by pressing the F2 key on your keyboard. In the lower section "Players", you will see their in-game name and their player ID, which we have crossed out in the screenshot.

![Valheim's in-game GUI to get a Player ID number](https://s3-assets.nodecraft.com/attachments/HnODTcKTxemYPaF9CLYn_Screenshot%202021-02-05%20115932.png)

Now you'll need to add that number to the `permittedlist.txt` file located in `/.config/unity3d/IronGate/Valheim` of "Server Files" in Nodecraft Pro.

![The permittedlist.txt location for Valheim in Nodecraft Pro](https://cms-a.nodecraft.com/f/133932/1919x901/13496e5b44/edit-permittedlist.png/m/1000x0/smart)![Adding SteamIDs to the permittedlist.txt file for Valheim in Nodecraft Pro](https://cms-a.nodecraft.com/f/133932/1919x787/70a0167f78/permittedlist.png/m/1000x0/smart)

Remember to **Save** your changes and **Restart** your server.

When a player not on the list tries to join the server, they will see in their game client the following message:

![The rejection notification for a Valheim server when not added to the allowlist](https://s3-assets.nodecraft.com/attachments/c5wqH8OLTiaWIgHPhvec_Screenshot%202021-02-05%20152118.png)
