How to turn off PvP in 7 Days to Die
Set <property name="PlayerKillingMode" value="0"/> in sdtd.xml on the Files tab and restart the server.
PlayerKillingMode
Who players can kill: 0 no one, 1 allies only, 2 strangers only, 3 everyone. Default 3.
<property name="PlayerKillingMode" value="<number>"/> Examples
<property name="PlayerKillingMode" value="0"/> No player killing.
Values
| Value | What it does |
|---|---|
| 0 | No killing |
| 1 | Kill allies only |
| 2 | Kill strangers only |
| 3Default | Kill everyone |
What it does
Set 0 for a PvE server.
Good to know
- Edit
sdtd.xmlon the **Files** tab (under **Advanced**) and restart the server.
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.