Files
PreventStabby/readme.md
T
2020-08-19 17:55:38 +02:00

1.4 KiB

TogglePvP ⚔

Plugin is under heavy development and things will change often.

Use Issues section to report bugs or submit suggestions.

Commands

Permission: togglepvp.command (given by default) :
  • /pvp help- displays help message

Permission: togglepvp.command.toggle (given by default) :

  • /pvp toggle - toggles PvP
  • /pvp on - enables PvP (aliases: enable)
  • /pvp off - disables PvP (aliases: disable)

Permission: togglepvp.command.toggle.others (given by default) :

  • /pvp toggle [player] - toggles other player's PvP
  • /pvp on [player] - enables other player's PvP (aliases: enable)
  • /pvp off [player] - disables other player's PvP (aliases: disable)

Features

Player who disables PvP cannot get hurt by any player induced damage. They also can't deal any damage to other players. This includes basic attacks, projectiles, splash potions, lingering potions and lightning strikes from channeling trident enchant. Additionally lightning strikes from channeling cannot spawn fire under players, who have pvp disabled and it's impossible to use fishing rod on players who have pvp disabled.

There is also a feature that disallows pouring lava or using flint and steel nearby players with disabled pvp. You can either disable it in config or set its radius.

Tamed wolves will not attack players with pvp off.