Changelog
TogglePVPCustom v1.4.2
Added
- Added configurable
/pvpcommand cooldown. - Added
pvp-command-cooldown-secondssetting inconfig.yml. - Added
pvp-toggle-block-secondssetting for local combat toggle protection. - Added
togglepvp.cooldown.bypasspermission. - Added local combat tracking after successful PvP hits.
- Added protection against changing PvP status while combat tagged.
- Added
cannot-toggle-in-combatmessage. - Added
command-cooldownmessage with%time%placeholder.
Changed
/pvp,/pvp on, and/pvp offare now blocked while the player is in combat./pvp statuscan 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.bypassnow defaults tofalse, 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 offremoving 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