Skip to content
/SLASHPLAY

How to kill a player with a command in 7 Days to Die

As an admin, type kill PlayerName in the in-game console (F1).

kill

Kills an entity by ID, or a player by name or Steam ID.

kill <entity id> kill <player name / steam id>

Examples

kill Kate

Kills the player Kate.

Arguments

entity idOptional
Any killable entity's ID.
player name / steam idOptional
A player.

What it does

Entity IDs cover zombies and players; a name or Steam ID only works for players.

Good to know

  • Type it in the in-game console (F1) as an admin from serveradmin.xml. SLASHPLAY's **Console** tab shows the server's output but can't send commands to 7 Days to Die.
  • Only admins can run it by default (permission level 0); commandpermission changes that.

Run it on your server

Admin commands are typed in the in-game console (F1) by a player on the admin list in UserData/Saves/serveradmin.xml; the server page's Console tab shows the server's output but can't send commands. Settings go in sdtd.xml on the Files tab and apply at the next start. New to this? Start a 7 Days to Die server first.

Your own
7 Days to Die server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.