We are your new 5-Star Hosting Company. At least according to ★ Trustpilot

Following along with a 7 Days to Die server? Deploy yours in minutes.

All servers come with a 24-Hour Trial, Free Backups, and 40Gbps DDoS Protection included!

Use code SAVE15 to take 15% OFF Your First Invoice with ChicagoServers! Limited Time!
7 Days to Die guide

7 Days to Die Admin Setup: admin add, Permission Levels, Whitelist and Bans

By the ChicagoServers team · Updated · 7 min read

On a 7 Days to Die server you make someone an admin with the admin add command from the Console tab. A permission level of 0 is the highest, and 1000 is the default for anyone with no entry. The commands write the list to serveradmin.xml for you, so you rarely need to edit the file.

This guide covers finding the right ID, adding and removing admins, how the levels work, locking individual commands behind a level, and the whitelist, kick and ban commands. It was checked on 2026-11-15 against 7 Days to Die's community command wiki and two hosting guides that agree on the syntax. The ID format a player shows can vary by platform, so always copy it from the game's own output. For the rest of your settings, see the serverconfig guide.

Quick answer
  • Have the player join, run listplayerids (or lpi) on the Console tab, and copy the ID shown.
  • Run admin add ID 0 Name for full admin. Lower numbers mean more power: 0 is the top and 1000 is everyone else.
  • A player's name or entity ID works only while they are online. The platform plus user ID form also works for players who are offline.
  • Once the whitelist has any entry, anyone not on it cannot join.
  • serveradmin.xml lives in the save game folder, named by AdminFileName in serverconfig.xml. If you edit it by hand, stop the server first.
On this page
  1. Find the player's ID
  2. Add and remove admins
  3. How permission levels work
  4. Change what a command needs
  5. Whitelist
  6. Kick and ban
  7. Troubleshooting
  8. Frequently asked questions

Find the player's ID

  1. Have them join

    The player joins the server and spawns in.

  2. List players with IDs

    Open the Console tab and run either command. The output includes the identifiers that the other commands accept.

    listplayerids
  3. Copy the ID exactly

    Copy the value from the output rather than retyping it. The platform's ID format is not the same as a plain name, so a typo gives access to nobody or to the wrong account.

Add and remove admins

Syntax
admin add <name / entity id / platform + platform user id> <level> [displayname]
admin remove <name / entity id / platform + platform user id>
admin list
Example using an entity ID from listplayerids
admin add 23 0 Pedrotski
  • Online or offline: a name or entity ID needs the player to be connected. The platform plus platform user ID form works for a player who is offline.
  • Check the result: run admin list to confirm the entry.
  • Remove access with admin remove and the same identifier.
  • The display name is optional. It is only a label in the file.

How permission levels work

Permission levels run from 0 to 1000. Level 0 is the highest. A player with no entry has level 1000, which is the default for everyone. Each command has a level too, and a player can use it only if their level is equal to or lower than the command's level.

LevelMeaning
0Full access to every command.
Between 0 and 1000Partial access, depending on each command's level.
1000The default for players with no entry. A command at 1000 is available to everyone.

Because a lower number is stronger, a command set to level 1000 can be used by every player, and a command set to 0 only by full admins.

Change what a command needs

To restrict or open one command, add a line inside the commands section of serveradmin.xml, using a level from 0 to 1000:

Example line (use the exact command name)
<permission cmd="commandname" permission_level="0" />
  • The file's name is set by the AdminFileName property in serverconfig.xml, and its path is relative to SaveGameFolder. Open the Files tab to find it.
  • Stop the server before editing by hand. One host's guide says to restart after saving, and another warns the server should be fully stopped while you edit.
  • Running admin add writes the entry for you, so only edit the file for command levels or bulk changes.
  • Take a backup first on the Backups tab.

Whitelist

Syntax
whitelist add <name / entity id / platform + platform user id> [displayname]
whitelist remove <name / entity id / platform + platform user id>
whitelist list

Kick and ban

CommandWhat it does
kick PlayerName "reason"Kicks a player. The reason is optional.
kickall "reason"Kicks everyone.
ban add <player> <duration> <unit> [reason] [displayname]Bans for a set time. Units: minute(s), hour(s), day(s), week(s), month(s), year(s).
ban remove <player>Lifts a ban.
ban listShows current bans.
Example
ban add madmole 2 minutes "Time for a break" "Joel"

Bans expire on their own when the time is up. For commands to manage time, saves and the world, see the console commands guide. Looking for a host? See 7 Days to Die server hosting.

Troubleshooting

ProblemLikely cause and fix
admin add does nothingThe player is offline and you used a name or entity ID. Use the platform plus user ID, or have them join.
The new admin has no powersCheck admin list. Make sure the level is 0 or low enough for the command, and that you used the right ID.
Nobody can join after a whitelist changeA whitelist entry exists, so everyone else is blocked. Add the players or remove the entries.
Hand edits vanishThe server was running and rewrote the file. Stop it before editing.
You cannot find serveradmin.xmlLook in the save game folder, and check AdminFileName in serverconfig.xml.

Frequently asked questions

How do I make someone admin on a 7 Days to Die server?

Have them join, run listplayerids on the console, then run admin add ID 0 Name using the ID from the list.

What are 7 Days to Die permission levels?

Levels run from 0 to 1000. Zero is full access, and 1000 is the default for players with no entry. Lower numbers have more power.

Where is serveradmin.xml?

In the save game folder. Its name is set by the AdminFileName property in serverconfig.xml and its path is relative to SaveGameFolder.

Why can nobody join my 7 Days to Die server after adding a whitelist?

Once any whitelist entry exists, players who are not on it cannot join. Add them with whitelist add, or remove the entries.

How do I ban a player on 7 Days to Die?

Use ban add with the player, a duration and a unit, for example ban add madmole 2 minutes. Bans lift automatically when the time ends.

We are your new 5-Star Hosting Company. At least according to ★ Trustpilot

Following along with a 7 Days to Die server? Deploy yours in minutes.

All servers come with a 24-Hour Trial, Free Backups, and 40Gbps DDoS Protection included!

We offer quality support, a detailed knowledgebase, video tutorials on most topics, and even live support in case you prefer a live human.

Use code SAVE15 to take 15% OFF Your First Invoice with ChicagoServers! Limited Time!