PerPlayer PVP

Lets individual players decide if they want PVP enabled.

65

PerPlayer PVP

A red banner that says "P2 PVP"

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

A red banner that says "Usage"

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).<br/>

--- Toggling others PVP<br/> 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>`.<br/> Note: This currently only works with players that are online, offline player support is soon™<br/> 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 `reload`to load the config from the plugins `config.yml` file. The syntax for the command is as follows:<br/> * 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)<br/>

Permission required: `p2pvp.manage`

A red banner that says "Config"

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<br/>

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.<br/> Default: `false`

Greeter

Whether players should be made aware of the plugins presence when first joining the server.<br/> Default: `true`<br/> 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

A red banner that says "Permissions"

All permissions below are prefixed with `p2pvp.` and are all lowercase.

Manage

Grants access to editing the config via the `/pvpManage` command.<br/> Default: op

Edit

Allows editing of other players pvp status, players will be notified when this happens to them unless you have`p2pvp.edit.invisible`.<br/> Default: op

Set

Lets players set their own PVP preference.<br/> Default: true

ADS