How to Enable or Disable PvP on Your 7 Days to Die Server
Toggle player killing modes on your 7 Days to Die server — disable PvP, allow allies only, strangers only, or full PvP.
Change PvP Settings
Stop the server
In the XGamingServer Panel, go to Console and stop the server.
Edit serverconfig.xml
Click Files in the sidebar and open serverconfig.xml. Set:
<property name="PlayerKillingMode" value="3" />Save and start
Click Save Content and start from Console.
Player Killing Modes
| Value | Mode | Description |
|---|---|---|
0 | No PvP | Players cannot damage each other |
1 | Allies only | Can only kill allied players |
2 | Strangers only | Can only kill non-allied players |
3 | Everyone | Full PvP (default) |
Drop on Death Settings
These pair with PvP mode to control the death penalty:
| Setting | Default | Values |
|---|---|---|
DropOnDeath | 1 | 0 = Nothing, 1 = Everything, 2 = Toolbelt only, 3 = Backpack only, 4 = Delete all |
DropOnQuit | 0 | Same values — applied when a player disconnects |
Changing
DropOnDeathorDropOnQuitfrom defaults flags the server as "Modded" in the browser.
Related Guides
How is this guide?

40% Off — Limited TimeGet your 7 Days to Die server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server