Skip to content

TogglePVPCustom 1.4.2

Latest

Choose a tag to compare

@Frwostella Frwostella released this 01 May 04:00
56f9de9

Changelog

TogglePVPCustom v1.4.2

Added

  • Added configurable /pvp command cooldown.
  • Added pvp-command-cooldown-seconds setting in config.yml.
  • Added pvp-toggle-block-seconds setting for local combat toggle protection.
  • Added togglepvp.cooldown.bypass permission.
  • Added local combat tracking after successful PvP hits.
  • Added protection against changing PvP status while combat tagged.
  • Added cannot-toggle-in-combat message.
  • Added command-cooldown message with %time% placeholder.

Changed

  • /pvp, /pvp on, and /pvp off are now blocked while the player is in combat.
  • /pvp status can still be used while in combat.
  • PvP toggle protection now works even if the CombatLog hook fails, because the plugin tracks combat locally.
  • togglepvp.cooldown.bypass now defaults to false, so OPs do not bypass cooldown unless the permission is manually given.

Fixed

  • Fixed an issue where players could escape combat by using /pvp off.
  • Fixed /pvp off removing CombatLog combat status.
  • Fixed command cooldown not working properly for OPs because of the bypass permission default.
  • Fixed combat protection relying only on the external CombatLog plugin.

Config Changes

Added:

settings:
  pvp-command-cooldown-seconds: 5
  pvp-toggle-block-seconds: 15