Skip to content
CyberNex Logo
Back to Tutorials
Minecraft3 min readJuly 15, 2026

Enabling/Disabling PvP in a Minecraft Server

Ganidu Sathishka
Support Engineer at CyberNex | 4+ years customer technical support

Step-by-Step Instructions

<ol><li>Open your server's console page and click the Files tab.</li><li>Open server.properties and find the line starting with pvp=.</li><li>Set pvp=true to enable, or pvp=false to disable player-vs-player combat.</li><li>Save the file and click Restart.</li><li>Join the server to confirm the setting works.</li></ol>

Code / Configuration

<pre><code># in server.properties pvp=true # enabled pvp=false # disabled</code></pre>

Related Hosting Services

Was this guide helpful?

Join our Discord for more guides and direct help from our engineering team.

Enabling/Disabling PvP in a Minecraft Server | CyberNex