Add a Whitelist to a 7 Days to Die Server
How to Add a Whitelist to a 7 Days to Die Server
A whitelist can come in handy to only allow certain people on a server. Continue reading to learn how you can add one to your server:
- Find the SteamID64 for each person you want to whitelist. You can use a website such as https://steamid.io/ to lookup a Steam user to find their SteamID64.
- Login to Command Center.
- From the servers page, click the Manage button for your 7 Days to Die server.
- Navigate to the Files tab seen above the console.
- You will see all of your server's files on this page. Navigate to
/7-days-to-die/Saves/
. - Click on
serveradmin.xml
inside the Saves folder. This will open the file in a separate window so you can edit it. If you'd rather use your own editor, you can use our SFTP instructions to connect to your server and open the same file with your favorite text editor. - Scroll to the bottom of the file where you will see the
<whitelist>
tag. - For each person that you want to whitelist, add a new
<whitelisted steamID="" />
entry on a new line between the<whitelist>
tags. Inside the quotation marks forsteamID=
, add the SteamID64 you looked up earlier. Look below for examples. - When you're done editing the whitelist, save the file and restart your server. Your whitelist should be active now.
Examples
Default Whitelist
<whitelist> <!-- <user platform="" userid="" name="" /> --> <!-- <group steamID="" name="" /> --> </whitelist>
Example Whitelist with one player
<whitelist> <user platform="steam" userid="1234567890" name="TraderJen" /> </whitelist>
Code Comments
The
serveradmin.xml
file is written in XML, a type of programming markup language. A code comment makes it so that a program doesn't read the line. In XML<!-- -->
represents a code comment. You have to remove those symbols from each entry to whitelist a player or the game will ignore them.
Updated 10 months ago