Enable or Disable PVP

Configure player-vs-player combat settings on your Project Zomboid server, including the safety system and PVP toggle timers.

Project Zomboid lets you control whether players can attack each other. You can enable full PVP, disable it entirely, or use the Safety System to let individual players choose.

Toggle PVP

Open your server config

On XGamingServer, go to Files and open:

Zomboid/Server/[servername].ini

Set the PVP option

[servername].ini
PVP=true

Set to true to enable PVP, or false to disable it completely.

Restart your server

Restart from the Dashboard.

Safety System (Per-Player PVP Toggle)

The Safety System lets individual players opt in or out of PVP. When enabled, players can toggle their PVP status independently.

[servername].ini
SafetySystem=true
SafetyToggleTimer=2
SafetyCooldownTimer=3
SettingDefaultDescription
SafetySystemtrueEnable per-player PVP toggle
SafetyToggleTimer2Minutes to wait after toggling PVP on
SafetyCooldownTimer3Minutes before you can toggle PVP off again

📝 Note: The Safety System only works when PVP=true. With PVP=false, no player-on-player damage is possible regardless of safety settings.

How Players Use Safety

Players toggle their PVP status from the in-game menu. When a player turns PVP on:

  1. A timer counts down (SafetyToggleTimer)
  2. After the timer, they can attack and be attacked by other PVP-enabled players
  3. They must wait (SafetyCooldownTimer) before they can turn PVP off again

Common Configurations

Full PVP Server

PVP=true
SafetySystem=false

Everyone can attack everyone at all times.

PVE Only (No PVP)

PVP=false

No player-on-player damage at all.

PVP=true
SafetySystem=true
SafetyToggleTimer=5
SafetyCooldownTimer=10

Players choose whether to participate in PVP. Longer timers prevent people from quickly toggling to ambush others.

PVP and Safehouses

When PVP is enabled, safehouse settings become important:

SafehouseAllowTrepass=true
SafehouseAllowFire=false
SafehouseAllowLoot=false

See Configure Safehouses for detailed safehouse settings.

See also: Safehouses | Ban and Unban Players | Configure Your Server

If you need help, join our Discord.

How is this guide?

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

On this page