7 Days to Die Dedicated Server: serveradmin.xml Explained
The 7 Days to Die dedicated server serveradmin XML file stores access lists. Find its active path, read V3 sections, and edit the right copy safely.
You will need
- Access to the dedicated server files or hosting panel
- Permission to stop and restart the server
- A copy of the server’s active serverconfig.xml and serveradmin.xml
The 7 Days to Die dedicated server serveradmin XML file stores player access lists, command permissions and web or API sections. The current V3.4.0 b10 file is different from old Alpha examples that use an <admins> block. Start by finding which file your server actually loads, then read only the sections you need. This guide explains the current structure without guessing at the contents of empty or undocumented sections.
The structure described here comes from the dedicated server’s V3.4.0 b10 build, 26310339, and the official V3.4 Stable line. The Fun Pimps’ V3.4.0 Stable announcement identifies the release; their V3.0 release notes explain why older gameplay options moved into SandboxCode. The XML details below are from the generated V3.4 server file, not from an older community template.
Find the active serveradmin.xml from the server config#
The default filename is serveradmin.xml, but the active path depends on the dedicated server’s own configuration. In the V3.4 file, AdminFileName is resolved relative to UserDataFolder/Saves. If you changed either value, the file may be in a different folder or have a different name.
Use the config the server actually starts with. Open your host’s file manager or the machine’s server directory, locate the active serverconfig.xml, and look for these entries:
<property name="UserDataFolder" value="..." />
<property name="AdminFileName" value="serveradmin.xml" />The first line can be commented out, in which case the server uses its normal data location for the account or container that runs it. That is why a Windows service, Linux service, container and interactive shell may not show the same default folder. Do not assume the client’s local save directory is also the dedicated server’s file location.
Resolve the active file as <UserDataFolder>/Saves/<AdminFileName>, using the actual values and startup context. If you cannot identify the loaded config, check the server’s startup log or host panel before editing anything. Our 7 Days to Die server-files map explains how the install directory, data directory and world folders differ.
If serveradmin.xml is missing, first check the active AdminFileName, UserDataFolder and startup log. Some setups create the file only after the server starts once. Creating an empty file in the wrong folder can leave you with two plausible copies and no change in the running server.
Read the current V3 users section#
In the tested V3.4.0 b10 file, admin users sit under <adminTools><users>. Each <user> entry can store a platform, the platform’s account ID, a display name and an optional permission level:
<adminTools>
<users>
<user platform="Steam" userid="YOUR_STEAMID64" name="Example player" />
</users>
</adminTools>The ID is a placeholder, not a real Steam account. This example has no explicit permission level. The tested V3.4 file says a missing level defaults to 1000, so the example is not an admin grant. A Steam record stores platform="Steam" and the numeric SteamID64; an EOS record uses platform="EOS" and the account ID the game supplied. The player-facing ID may include a prefix such as Steam_, while the XML separates platform and ID into two attributes.
Use the file your server generated as the template. Do not copy an Alpha-era <admins> example into the current <users> section, and do not paste a Steam value into an EOS record. If your goal is to add your own account, follow the V3.4 first-admin steps; that guide covers the account action and how to confirm it with the server. For a practical explanation of 7 Days to Die admin permission levels, keep the user’s level separate from the per-command threshold.
Recognize the whitelist and blacklist sections#
The V3.4.0 b10 generated file also contains separate <whitelist> and <blacklist> sections beneath adminTools. They hold access-list data, not the world map or the server’s gameplay settings. In the captured default file both sections were empty, so the file did not reveal an example list record to copy.
Treat the sections as names to recognize, not a reason to hand-build a new record. The server can manage these lists through its own commands, and a hosting panel may expose the same tasks in a player view. If you add or remove someone through a control, confirm that the expected account appears in the resulting list. If the server blocks someone unexpectedly, check the active file and the precise platform ID before changing unrelated XML.
Game Hosting’s 7 Days to Die Players tab reads and manages the game’s admin, whitelist and ban lists; its server code uses the game’s live command route while the server is running and the file route while it is stopped. That can spare you from hand-editing common player lists. The panel does not turn every section in serveradmin.xml into a form. See the 7 Days to Die hosting details for the documented player controls.
For the player-by-player access steps, see the 7 Days to Die whitelist setup guide. D04 is a file reference; it does not explain who should be allowed or how to recover if the owner locks themselves out.
Separate command permissions from admin users#
<commands> is a separate section from <users>. The tested V3.4.0 b10 file contained 28 <permission> entries, each with a cmd and a permission_level attribute. The structure looks like this; both values are placeholders, so keep the values generated for your build:
<commands>
<permission cmd="command-name" permission_level="LEVEL_FROM_EXISTING_FILE" />
</commands>The exact command names and levels come from the file generated by your build. Avoid replacing the whole block with a list from a different version or lowering a value without knowing who it affects. A player’s admin entry and the permission threshold for a command are related, but they are not the same list.
The regular server console can show command help for the build it is running. Our 7 Days to Die server-admin command guide covers how to run commands and check their current names. Do not use a guessed number from an old forum post as a safe moderator role.
Leave the web and API sections intact#
The V3.4.0 b10 generated file includes <apitokens>, <webmodules /> and <webusers /> after the command permissions. These sections were empty in the file we inspected. That verifies the section names in that build, but it does not show the format of a token or user record, which modules are enabled, or what each module exposes.
Do not add guessed XML nodes just because a guide from another version includes them. Never publish a real token, password or private account ID in an article, screenshot or support post. If you need a Web Dashboard or API feature, use the instructions that match your server build and keep its credentials private. This guide does not recommend opening dashboard or Telnet ports to the public internet.
The V3.0 update also moved many older gameplay options out of serverconfig.xml and into SandboxCode. Those options are not command-permission entries, and this guide does not try to decode or modify them. Use the official V3.0 explanation and a current settings reference for that separate job.
Stop the server before editing a known list#
The game manages these access lists while it runs. Its generated V3.4 file recommends using the matching console commands or Web Dashboard, and Game Hosting’s panel follows the same distinction: it uses live server commands when the process is running and edits the XML when stopped. A manual edit made to an older copy—or while the game is writing its active list—can appear to disappear on the next save or startup.
“The file reset” is a report, not a diagnosis. First compare the file path with the active AdminFileName and UserDataFolder. Then ask whether the server or panel changed the list after your edit. The V3.4 test confirmed how the current users structure loads after startup, but it did not reproduce every report about a reset or prove one cause for all hosts.
If you need to edit the file directly, use a cautious order:
Stop the dedicated server
Wait for the panel or service to show that the process has stopped. Do not replace a file while the game is managing player lists.
Copy the active file first
Save a separate copy of the exact file resolved from
AdminFileNameandUserDataFolder/Saves. Keep the copy outside the live file path so it cannot be mistaken for the active one.Change one known section
Preserve the existing XML structure. Edit only the entry you understand, and keep unknown
commands,apitokens,webmodulesandwebuserssections intact.Check the file and restart
Confirm the XML is well formed with an XML-aware editor or validator, then start the server. Check the startup log and the relevant player list before making a second change.
If the change is missing, do not keep editing every copy you find. Recheck the loaded config and actual data folder, make sure the process was stopped during the edit, and compare the file again after a deliberate server command. That narrows the cause without assuming a provider panel or game build handles the file exactly like another one.
Copy the access file separately from the world#
serveradmin.xml is server access configuration, not the saved world. Copying it alone will not move a map, generated terrain, player progress, mods or the SandboxCode that sets gameplay rules. Conversely, keeping the world save does not automatically preserve every server list.
Before moving a server, identify the active user-data directory and save the files your group needs as separate parts of the export. The Fun Pimps’ save-file guide covers local saves and generated-world locations; the server-side folder layout depends on the config and account that launched it. Our server-files guide maps those folders.
If you copy serveradmin.xml to another server, check the destination’s AdminFileName and data folder, then confirm each intended ID and list after startup. The file can contain platform-specific entries, so do not treat a matching display name as proof that the same account is present. We did not test a cross-host migration or restoration here; use the current backup or migration instructions for that task, and keep the source copy until you have checked the destination.
Use the V3.4 file generated by your own server as the reference when an older article disagrees. Change only the list you intend to change, keep unknown sections intact, and verify the active list after the server starts.
Quick answers
Where is serveradmin.xml on a 7 Days to Die dedicated server?
Check the active serverconfig.xml. AdminFileName defaults to serveradmin.xml, relative to UserDataFolder/Saves; a custom folder or file name changes the path.
Why did serveradmin.xml change after I edited it?
Check that you edited the active file and that the server was stopped. The game manages its access lists while running and may write its current list back to the file.
Can I copy serveradmin.xml to another server?
You can copy the file, but that does not prove the new server will use the same path, IDs, game version or settings. Check its active config and confirm each list after startup.

