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
Join the server
Join your DayZ server and log in as admin.Open the chat
PressEnterto open the chat.Kick a player
Enter the following command:#kick <SteamID64>#kick <SteamID64>
Permanently ban players via ban.txt
Stop the server
Stop your server via the dashboard.Connect via SFTP
Connect to your server via SFTP.Open ban.txt
Open the fileban.txtin the root directory of your server. Create the file if it does not exist.Add player to the ban list
Enter the player's SteamID64 on a new line:7656119801234567876561198012345678Start 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:
Open the chat
PressEnterto open the chat.Ban a player
Enter the following command:#exec ban <name>#exec ban <name>
Command overview
| Command | Description |
|---|---|
#kick <SteamID64> | Kick a player from the server |
#exec ban <name> | Permanently ban a player |
#shutdown | Shut down the server |