HomeJavaModsAgreedPvP
AgreedPvP
Civilised Player versus Player combat. Players can only pvp if both players agree!

Players are protected from PvP at all times, unless both have agreed to pvp with the other. Players can easily agree to PvP with patented (not really) sneak & slap technology! Players simply hold their sneak button (default: shift) and slap (default: left click) the other player to challenge them to a duel! The second player can sneak+slap back to agree to pvp. Once both players have agreed to the duel, they can freely hurt each other.

Version 1.5+ is fully compatible with the 1.13 API, as-well as spigot versions from 1.8 through 1.12.2.

SectionHeader_Features.png

SectionHeader_Config.png

config.yml

Code (Text):
messages:
  attacker:
    bypass: You are bypassing AgreedPvP!
    nopvp: You must agree to pvp before you can attack %v!
    nopvpvictim: '%v must agree to pvp before you may hurt them.'
    generic: You were protected from %a.
  victim:
    nopvp: You must agree to pvp before %a can hurt you.
    nopvpattacker: '%a must agree to pvp before they may hurt you.'
    generic: You were protected from %a.
  toggle:
    off:
      player: You no longer agree to pvp with %p.
      playernotify: %p no longer agrees to pvp with you.
    on:
      player: You have invited %p to PvP!
      playernotify: %p has invited you to PvP!
      bothagree: %p has agreed to PvP with you!
  commands:
    disabled: You cannot use this command whilst you have agreed to pvp!
autotoggle:
  death: false
enable:
  sneakandslap: true
commands:
  onAgree: []
  onDisagree: []
  onEnable: []
  onDisable: []
  disable:
    onAgree: []
 
world/world.yml

Code (Text):
enabled: true
commands:
  onAgree: []
  onDisagree: []
  onEnable: []
  onDisable: []
 

SectionHeader_Setup.png

Installation is easy, just drop it into your plugins folder. Everything should be ready to go with no configuration necessary!

Configuration explained

The default plugin config contains some messages the plugin uses, you can change these as desired.

The per-world configs contain settings for each world individually.



SectionHeader_Screenshot.png

Coming soon...

SectionHeader_Notes.png

This plugin uses the TextAPI library by theluca98, which is included in this plugin's jar.
You do not need to install any other plugin dependencies in order to use this plugin.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

AgreedPvP is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 1,179 times (via Spigot). Download it and open it directly in the game.

Explore more