7 Days to Die Whitelist: Add Friends Without Lockout
Set up a 7 Days to Die whitelist with the current add, list and remove commands, and avoid locking out yourself or your friends.
You will need
- A 7 Days to Die dedicated server with admin access
- Each player’s exact in-game name or platform user ID
A 7 Days to Die whitelist lets approved player IDs join; on the current V3.4 command reference, adding the first entry turns on whitelist-only admission, and an empty list turns it off. Add yourself and every friend who should play, then verify the list before sharing the server address. That order avoids the easy mistake: enabling the restriction before the host account is on it. For the broader privacy choices, see our private server setup for friends.
What a 7 Days to Die whitelist changes#
A whitelist (also called an allowlist) restricts admission to the player identities on the server’s permitted list. It is different from a password: a password is a shared secret, while a whitelist is a set of approved accounts. You can use both, but neither hides a server from a public browser. For passwords and listing visibility, use the private server guide.
The current V3.4 command reference says the first whitelist entry enables whitelist-only admission. When the list is empty, that restriction is off; it does not show a separate enable command. So treat adding the first player as a change to who can get in, not as a harmless list edit. The reference describes the setting, but this guide did not test how an already connected, unlisted player is handled or capture the exact message a rejected player sees.
Before changing anything, decide who needs access and collect their exact IDs. Add the server owner first, then the rest of the group. If you use the list for moderation, record who each ID belongs to and remove entries when a player should lose access. The admin moderation command guide covers related ban and player-management commands; this page stays focused on whitelist access.
Find the right player name or platform ID#
Use a player name or entity ID only when that player is online. For someone who has not joined yet, use the exact platform and platform user ID they will use on your server. The V3.4 command reference lists these as separate target forms; a display name alone is not a reliable substitute for an offline ID.
If the player is connected, copy the identifier shown by the server’s online-player list or hosting panel. Current IDs can include prefixes such as Steam_ or EOS_; Game Hosting’s Players panel shows those forms for online players. Some server builds can also store other platform IDs. Keep the full value, including its prefix, and don’t assume a Steam ID covers an account that joins through another platform.
If you are unsure which value belongs to the account, use our guide to find a player’s Steam or EOS ID before you restrict admission.
For a player who is not online, ask them for the platform identifier associated with the account they will use, then check the command syntax on your server before entering it. The public V3.4 reference describes a platform plus platform user ID as the offline form. It does not establish every console join scenario or prove that every platform combination works with every server configuration, so don’t treat a correctly formatted ID as a crossplay compatibility test.
Add a player with the whitelist command#
Run whitelist commands through an admin-capable server console or the host’s supported command interface. The V3.4 reference gives this form:
whitelist add <name / entity id / platform + platform user id> [displayname]Replace the angle-bracketed part with either an online player name/entity ID or the target’s platform and user ID. The optional displayname is a label; the command reference does not require it. Do not type the brackets literally, and don’t copy old instructions that make a quoted display name mandatory.
Add the server owner first
Use the owner’s online name/entity ID if they are currently connected, or their exact platform and user ID if they are offline. If you have not confirmed the owner’s ID, wait until they appear in the online list and copy it from there before restricting admission.
Add the rest of the group
Repeat the command for each person who should be allowed to join. Keep a private note pairing each ID with the person who supplied it so you can review the list later.
Read the list back
Run
whitelist listand compare every returned entry against the group roster before inviting people. The list command is the check that the server accepted the entries; it does not prove that a player can connect from a particular platform.
For example, the command shape is whitelist add Steam_<platform_user_id>. Replace the placeholder with the full ID from the server or the player’s account details. If your server’s help whitelist prints a different argument order, follow that running build’s help instead of forcing this reference syntax.
Run the command on the server you mean to restrict. Depending on how you host, that may be an admin-capable in-game console, a local server console or a hosting panel that sends game commands. Keep the command response and the following whitelist list check together: the response tells you whether the command was accepted, while the list lets you review the stored entries. Avoid retrying an edit because the interface took a moment to respond; check the list first so you do not create confusing duplicate work.
Check or change the permitted list#
Use whitelist list to review the entries before a session and after an edit. Compare the complete platform and user ID, not just the display name. If an entry is missing or looks unfamiliar, pause and confirm the account with the person who supplied it rather than guessing which ID to keep.
The command reference also lists whitelist addgroup and whitelist removegroup for Steam groups. Those are separate from adding a single player. This guide focuses on individual friend accounts; check the running server’s help before using group commands, since this run did not test their behavior or membership updates.
Game Hosting’s current 7 Days to Die panel provides a Players → Permitted list for adding or removing player IDs, and its Online view shows identifiers for connected players. The code routes changes through the game while it is running and updates serveradmin.xml while it is stopped. This documents what the panel implements; it is not a live test of a customer server. If you prefer a panel over entering IDs or editing files, the 7 Days to Die hosting page describes the available control panel.
Avoid hand-editing an old serveradmin.xml example from an Alpha-era guide. The file format and paths have changed across releases. If you need the file-level explanation, use our current serveradmin.xml reference and match it to the build installed on your server.
Remove a player or turn whitelist-only mode off#
To remove a single entry, use the same target form with remove:
whitelist remove <name / entity id / platform + platform user id>Use an online name or entity ID only while the player is online; for an offline player, use the exact platform and user ID. Then run whitelist list and confirm the intended entry is gone. If you remove the wrong person, add their exact ID again and verify the list before the group reconnects.
The documented V3.4 behavior is that whitelist-only admission switches off when the list is empty. To turn it off, remove every entry and check the list again. That means the final removal changes the admission rule for the server. Decide whether that is intended before clearing the list, especially if you use the whitelist as the main access control. A password or private address does a different job and should not be assumed to replace an allowlist automatically.
The reference does not say that removing a player immediately disconnects them if they are already online. It also does not document the exact rejection text shown when someone outside the list tries to join. If either behavior matters to your group, test it on a private server build with a spare account before depending on it for moderation.
Why your friend still can’t join#
Start with the simplest checks: confirm the entry appears in whitelist list, compare the full ID character by character, and verify the friend is signing in with the same account that supplied that ID. A display name may be different from the target identifier, and an ID from another platform or account will not fix a mismatch.
Next, confirm you ran the command on the intended server and that it is on a compatible build with the player’s client. The Fun Pimps’ V3.4.0 Stable announcement identifies the current stable release as of this guide’s review. The command syntax cited here comes from a V3.4 command reference that reproduces server help; if the installed build differs, use its own help whitelist output. Do not copy Alpha-era XML fields or old serverconfig.xml gameplay settings into a current V3 server.
If the ID and build look right but the player still cannot join, separate the whitelist question from connection, version, password, or platform eligibility. Our server admin command reference covers the wider command set, while the moderation guide covers bans and other player actions. Change one thing at a time and check the list again so you know which change mattered.
Before you invite your friends, check that the intended server is running and that the permitted list contains each account they will use. Then ask one player to connect and confirm the session behaves as expected. If those checks pass, you’re ready to share the address and play.
Quest complete
Before you invite your friends, check that the intended world loaded and that each player can connect. If those checks pass, you're ready for a session; if you'd rather not keep a PC on, that's what we're here for.
Quick answers
How do I enable a whitelist on a 7 Days to Die server?
Add the first permitted player with `whitelist add`, then check `whitelist list`. On the documented V3.4 command reference, a nonempty list turns on whitelist-only admission automatically.
Can I whitelist a player who is offline?
Yes. Use the player’s exact platform and platform user ID; names and entity IDs are for players who are online.
How do I turn off the 7 Days to Die whitelist?
Remove each entry with `whitelist remove` until the list is empty. The documented server behavior turns whitelist-only admission off when no entries remain.
Why can my friend still not join after I whitelisted them?
Check the exact ID, server build, and whether the player is using the same account that supplied the ID. The server’s own `help whitelist` output is the final syntax check.




