Skip to content

How to Kick and Ban Players on Your DayZ Server

You can kick players using in-game chat commands or permanently ban them via a configuration file.

Requirement

You must be an admin on your server. Here you can find a guide on how to add an admin.

Tip

Here you can find a guide on how to find a player's SteamID64.

Kick players via chat command

  1. Join the server
    Join your DayZ server and log in as admin.

  2. Open the chat
    Press Enter to open the chat.

  3. Kick a player
    Enter the following command:

    #kick <SteamID64>
    #kick <SteamID64>

Permanently ban players via ban.txt

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

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

  3. Open ban.txt
    Open the file ban.txt in the root directory of your server. Create the file if it does not exist.

  4. Add player to the ban list
    Enter the player's SteamID64 on a new line:

    76561198012345678
    76561198012345678
  5. Start the server
    Save the file and start your server.

Ban players via chat command

You can also ban players directly via chat command without manually editing the ban.txt:

  1. Open the chat
    Press Enter to open the chat.

  2. Ban a player
    Enter the following command:

    #exec ban <name>
    #exec ban <name>

Command overview

CommandDescription
#kick <SteamID64>Kick a player from the server
#exec ban <name>Permanently ban a player
#shutdownShut down the server