New

EmeraldHost 2.0 is here: faster, more intuitive, and made for everyone - the new panel!

Learn more
Guides
How to Kick and Ban Players on Your 7 Days to Die Server
7 Days to Die7 Days to DieKick & Ban Players

How to Kick and Ban Players on Your 7 Days to Die Server

Kick and ban players on a 7 Days to Die server

1 min read
Apr 11, 2026

You can kick and ban players using console commands or by editing the serveradmin.xml file.

Kick or ban players via console command

  1. Join the server
    Join your 7 Days to Die server.

  2. Open the console
    Press F1 to open the console.

  3. List players
    Enter the command listplayers to display all connected players.

  4. Kick or ban a player
    Use one of the following commands:

    kick <Name>
    
    ban add <Name> <Duration> <Unit> [Reason]
    

    Example:

    ban add PlayerName 1 year cheating
    

Ban players via serveradmin.xml

  1. Stop the server
    Stop your server via the dashboard.

  2. Connect via SFTP
    Connect to your server via SFTP.

  3. Open serveradmin.xml
    Open the file serveradmin.xml in the directory:

    /Saves/serveradmin.xml
    
  4. Add player to the blacklist
    Add a new entry in the <blacklist> section:

    <blacklist>
      <blacklisted platform="Steam" userid="PLAYER_STEAMID64" name="PlayerName"
        unbandate="" reason="Reason" />
    </blacklist>
    
  1. Start the server
    Save the file and start your server.

Command overview

Command Description
listplayers List all connected players
kick <Name> Kick a player from the server
ban add <Name> <Duration> <Unit> [Reason] Ban a player (e.g. ban add PlayerName 1 year cheating)
ban remove <Name> Unban a player
Written byEmeraldHost Team
Last updated on Apr 11, 2026 Edit on GitHub

Did this article help you?

Your feedback helps us improve our guides.

Help shape the guides

€10.00 in credit for every new guide, €5.00 for every improvement.

Contact Support

Create a support ticket and our team will get back to you as soon as possible – personal and professional.

Go to Support
1257 members online

Discord Community

Connect with other players, get quick help from the community, and stay up to date with the latest news.

Join Discord
7 Days to Die

Ready to get started?

Rent your 7 Days to Die Server now

Join our Discord community 1257 members online right now