Enable or disable PvP
The pvp key in server.properties, disabling combat in individual regions and worlds, and why damage still goes through even with pvp=false.
Updated August 13, 2026
pvp=true|false in server.properties globally allows or forbids players from hitting each other.
Fine-grained control
The global flag is blunt. Usually you need something else: combat is forbidden at spawn but allowed in the world. Regions handle this:
/rg flag spawn pvp deny
— WorldGuard. For a single world, the flag is set by a multiworld plugin — Multiverse.
Damage when pvp=false
Disabled PvP does not stop:
- damage from potions and effects;
- fall damage from knockback;
- damage from TNT and creepers;
- damage from pets (wolves attack on their owner's command).
A fully “peaceful” spawn is assembled from region flags: pvp deny, tnt deny, creeper-explosion deny, damage-animals deny.
Traps
With pvp=false, players quickly find ways to kill: lava, pistons, drowning, elytra with fireworks. If the server is meant to be peaceful, set up regions and rules, not a single config line.
Changing combat mechanics
The 1.9+ mechanic with attack cooldown doesn't appeal to many. OldCombatMechanics and similar plugins restore 1.8 behavior without changing the server version — but check compatibility with your anticheat: Anticheat.
