How to Enable/Disable PvP in Your World
Master the PvP toggle. Learn how to turn player-versus-player combat on or off in Singleplayer and Servers.
Reading time: 2 min read
How to Enable/Disable PvP in Your World
Whether you're hosting a peaceful building server or a competitive survival world, knowing how to toggle Player-Versus-Player (PvP) combat is essential for managing your community.
1. Minecraft: Bedrock Edition (Console, Mobile, Windows 10)
In Bedrock Edition, the PvP toggle is built directly into the game settings and is very easy to find.
- Pause the game and go to Settings.
- Stay in the Game tab.
- Scroll down to the World Options section.
- Find Friendly Fire and toggle it to OFF to disable PvP.
This will also prevent you from accidentally hitting your teammates with arrows or lingering potions!
2. Minecraft: Java Edition (PC)
In Java Edition, there is no single toggle for PvP in the settings menu. You can control it using Team Commands or Server Properties.
Using the Team Command
- Create a team:
/team add <TeamName> - Add players to the team:
/team join <TeamName> <PlayerName> - Disable PvP for that team:
/team modify <TeamName> friendlyFire false
3. Dedicated Server PvP Settings
If you are running a dedicated server (like LeafMC or Paper), you can control PvP for the entire world in the following places:
- server.properties: Open this file and set
pvp=trueorpvp=false. - Multiverse-Core: If you use multiple worlds, use
/mvm set pvp falsein the specific world you want to protect. - WorldGuard: For fine-grained control, use
/rg flag <RegionName> pvp denyto protect specific areas like a spawn or shopping district.
Related Tutorials:
- Mastering Spear & Mace PvP Skills
- How to Join a Minecraft Java Server
- Ultimate Guide to Crystal PvP Mastery
Related posts
How to Disable Mob Griefing in Minecraft
Stop Creepers from blowing up your house and Endermen from stealing blocks by disabling Mob Griefing using game rules.
How to Find Your Minecraft World Seed (Java & Bedrock)
Found a beautiful landscape and want to share it? Learn how to find your Minecraft world seed in any version of the game.
How to Teleport in Minecraft (Full /tp Guide)
Master the teleport command. Learn how to teleport to players, specific coordinates, and across dimensions in Java and Bedrock.
