MajekDev / PvPToggle

Small plugin that allows players to change their PvP Status to reflect whether or not they want to fight other players.
MIT License
1 stars 0 forks source link

PvP Broken in WG region #34

Closed VeganFN closed 2 years ago

VeganFN commented 2 years ago

Describe the bug I am having issues with PvPing in WorldGuard regions. [Spawn(Arena)] Arena Priority is 1,000, Spawn is 1. Players enter spawn where PvP is on deny, the enter Arena where PvP is allow, but cannot PvP because when executing command /pvptoggle players get the message You are in a region with pvp forced on. That's good. The arena is supposed to force pvp on. However, when players go to pvp, they cannot. When checking their PvPToggle status, it is still toggled off.

To Reproduce Steps to reproduce the behavior: N/A (will provide more info if needed)

Expected behavior Players will automatically be set to PvP on and can PvP

Screenshots N/A (will provide more info if needed)

Software (please complete the following information):

Additional context N/A

A note from me: It could be due to not having a hook between PvPToggle and WG. If this is the issue, could you help me through the steps as I have never used hooks before. If the issue is something else, I will help to figure this out as much as I can.

Majekdor commented 2 years ago

Fixed in latest update in my testing.