name: PvPToggle
version: 3.0.3
main: dev.majek.pvptoggle.PvPToggle
api-version: 1.13
prefix: PvPToggle
softdepend: [ WorldGuard, GriefPrevention, RegionProtection, PlaceholderAPI, Lands ]
authors: [ Majekdor ]
description: A simple plugin that allows players to easily toggle their PvP preference.
website: https://majek.dev
commands:
  pvp:
    description: Toggle your PvP preference.
    usage: /pvp <on|off> [player]
    aliases: [ pvptoggle ]
    permission: pvptoggle.use
  allpvp:
    description: Toggle all online players' PvP preference.
    usage: /allpvp <on|off>
    permission: pvptoggle.allpvp
  blockpvp:
    description: Block players from toggling PvP.
    usage: /blockpvp <true|false> <all|player>
    permission: pvptoggle.blockpvp
  pvptogglereload:
    description: Reload the plugin.
    usage: /pvptogglereload
    permission: pvptoggle.reload
permissions:
  pvptoggle.others:
    description: Allows users to modify other player's PvP preference.
    default: op
  pvptoggle.use:
    description: Allows players to use /pvp.
    default: true
  pvptoggle.allpvp:
    description: Allows players to toggle the pvp status of all online players.
    default: op
  pvptoggle.blockpvp:
    description: Allows player to block pvp status changes.
    default: op
  pvptoggle.cooldown.bypass:
    description: Allows players to bypass the cooldown for /pvp.
    default: op
  pvptoggle.reload:
    description: Allows players to reload the plugin.
    default: op