Compatibility
Minecraft: Java Edition
Platforms
Creators
Details
PerPlayer PVP (or P2 PVP for short) is a simple plugin that ensures that both parties consent to PVP before it can commence.
Features
- Toggling own PVP
- Toggling others PVP
- Toggleable modes (receiving or shared)
- Easy onboarding for players by default

Toggle PVP
In order to toggle PVP simply run the /pvpToggle command with your choice of PVP being either true or false (true: on, false: off).
Toggling others PVP
You can toggle PVP for other players using the same /pvpToggle <true|false> command from above but by prepending a username onto the end so it becomes /pvpToggle <true|false> <username>.
Note: This currently only works with players that are online, offline player support is soon™
Permission required: p2pvp.edit while notifying players with p2pvp.edit.invisible doing so without notification
Edit Config
Config can be edited using the /pvpManage command followed by the option to edit or reloadto load the config from the plugins config.yml file. The syntax for the command is as follows:
- Loading from
config.yml:/pvpManage reload - Viewing the current value of a config:
/pvpManage <option> - Set the value of a config:
/pvpManage <option> <value>(Value should autocomplete depending on the option)
Permission required: p2pvp.manage
All configuration options can be modified with the /pvpManage command or via editing the file in the plugin's folder.
Mode
The mode determines how the mod should behave when one player attacks another. Can be one of the following:
- receiving
- shared
Default: shared
And this table determines whether the attack will go through in that mode
| Mode | Attacker | Victim | Allowed? |
|---|---|---|---|
| receiving | ❌ | ✅ | ✅ |
| receiving | ✅ | ❌ | ❌ |
| receiving | ✅ | ✅ | ✅ |
| shared | ❌ | ✅ | ❌ |
| shared | ✅ | ❌ | ❌ |
| shared | ✅ | ✅ | ✅ |
Default
This decides whether the user should be opted into PVP without having to choose.
Default: false
Greeter
Whether players should be made aware of the plugins presence when first joining the server.
Default: true
Note: This is actually greeter.enabled. There is also greeter.message to configure what the greeter says however this can only be edited by the file
All permissions below are prefixed with p2pvp. and are all lowercase.
Manage
Grants access to editing the config via the /pvpManage command.
Default: op
Edit
Allows editing of other players pvp status, players will be notified when this happens to them unless you havep2pvp.edit.invisible.
Default: op
Set
Lets players set their own PVP preference.
Default: true


