---
title: "How to Enable or Disable PVP on PocketMine-MP"
description: "Learn how to easily enable or disable Player vs Player (PVP) combat on your PocketMine-MP server using the server.properties file on the Winheberg gaming panel."
category: jeux
subcategory: minecraft-bedrock
docGroup: pocketmine
docGroupIcon: tabler:brand-minecraft
icon: tabler:file-text
date: 2026-07-24
author: Winheberg
slug: "enable-disable-pvp-pocketmine"
order: 55
image: /statics/images/docs/en/gaming/minecraft-bedrock/enable-disable-pvp-pocketmine.webp
tags: [pocketmine, minecraft, pvp, configuration, gaming-panel]
keywords: [pvp pocketmine-mp, enable pvp minecraft, disable pvp, winheberg gaming panel, server.properties bedrock, minecraft pvp configuration, vps pocketmine pvp]
link_fr: "/docs/minecraft-bedrock/activer-desactiver-pvp-pocketmine"
---

## Contexte

Managing Player versus Player (PVP) combat is a fundamental configuration choice for any Minecraft Bedrock server. Whether you are building a secure spawn lobby, a peaceful Creative world, a story-driven adventure map, or a competitive Faction server, PocketMine-MP allows you to toggle this gameplay mechanic globally with a single configuration line.

## Access the File Manager

Any structural modification to your server options requires direct interaction with its internal configuration files.

1. Log in to your management panel at [panel.winheberg.com](https://panel.winheberg.com/).
2. Select your PocketMine-MP instance.
3. In the left sidebar menu, click on the **File manager** tab.

<img src="/statics/images/docs/en/gaming/minecraft-bedrock/enable-disable-pvp-pocketmine-1781091064793-a737880c187bda0a9334bf3c.webp" alt="Accessing the File Manager tab on the Winheberg management panel" width="800" />

## Configure PVP: Step-by-Step

Follow these instructions carefully to alter physical interaction behaviors across your entire server.

### 1. Stop the Server Process

> [!IMPORTANT]
> Before editing any system or configuration file, you must completely shut down your server. If the instance remains active in the background, PocketMine-MP will automatically overwrite your changes during its next write cycle or upon restart.

### 2. Edit the Main Configuration File

At the root of your server directory (`/`), locate and open the following document:

```properties
server.properties
```

Click on the file to open it within the text editor built into your management panel.

### 3. Modify the PVP Directive

Scroll through the parameters until you locate the line containing the `pvp` directive. Generally, this variable is found around line 15 in the default configuration file.

- **To fully disable PVP (Peaceful Mode):**
  ```ini
  pvp=off
  ```
- **To enable combat between players (Competitive Mode):**
  ```ini
  pvp=on
  ```

<img src="/statics/images/docs/en/gaming/minecraft-bedrock/enable-disable-pvp-pocketmine-1781091129438-5a4a20c6a0cf8eb7d3a6178d.webp" alt="Modifying the pvp variable inside the server.properties file" width="800" />

### 4. Save Your Changes

Save your edits by clicking the **Save Content** button on the editor interface, or use the standard keyboard shortcut <kbd>Ctrl</kbd> + <kbd>S</kbd> (<kbd>Cmd</kbd> + <kbd>S</kbd> on macOS).

### 5. Boot the Server

Navigate to the **Console** tab of your panel and click the start button. The server will initialize and immediately apply your new combat rules.

## Configuration Variables Behavior

| Applied Value | Direct In-Game Effect | Arrows and Potions Behavior |
| :--- | :--- | :--- |
| **`pvp=on`** | Players can inflict damage on each other across the entire map. | Projectiles (arrows, tridents) and harmful potion effects will damage other users. |
| **`pvp=off`** | Physical attacks between users are entirely ignored by the engine. | Arrows bounce off without causing harm, and splash potions apply no negative status effects. |

## Troubleshooting

### ❌ PVP remains active despite setting `pvp=off`
- **World management plugin interference**: Multi-world or plot management utilities (such as *MultiWorld* or *MyPlot*) often manage PVP independently. Access those extensions' directories (e.g., `/plugins/MyPlot/config.yml`) to set their values to `false` or `off`.
- **Startup overwrites**: Ensure you completely stopped the server (using the **Stop** button) before editing `server.properties`, otherwise the manual changes will be ignored.

### ❌ Combat is blocked in specific areas while global `pvp=on`
- **Regional protection zones**: If you use world protection extensions (such as *WorldGuard* or *FAWE*), a region flag is likely blocking local PVP. Verify area permissions using the appropriate command (e.g., `/rg flag [name] pvp allow`).

## Best Practices

- **World Granularity**: If your project requires both safe spaces (Lobby, Market) and combat zones (Arena, Survival world), keep the global directive `pvp=on` in `server.properties` and use a region management plugin to locally restrict combat where needed.
- **Community Notifications**: Changing combat rules mid-season can drastically impact the player experience. Always broadcast a global announcement before altering the `pvp` variable.
- **Restoration Points**: Make it a habit to generate a backup via the **Backups** tab before manually editing any system configuration files to safeguard against potential syntax errors.

## Need Help?

If combat mechanics do not behave as expected despite following this tutorial, or if your configuration files fail to load properly, our technical team is here to assist you.

You can submit a support ticket to our **Technical** department from your client area at [billing.winheberg.com](https://billing.winheberg.com) by linking your PocketMine-MP subscription for personalized troubleshooting.

Happy configuring and have a great game on your PocketMine-MP infrastructure! 🎮
