EngineHub / WorldGuard

🛡️ Protect your Minecraft server and lets players claim areas
https://enginehub.org/worldguard/
Other
833 stars 546 forks source link

If PvP flag doesn't set, owner can hit other players, but they can't #2126

Closed StKillReal closed 3 months ago

StKillReal commented 3 months ago

WorldEdit Version

7.3.6

WorldGuard Version

2.0.11

Platform Version

purpur-2280 | 1.21

Confirmations

Bug Description

If player set pvp flag in his region without true or false and just make it neutral, he can hit other players which not owners/members of the region

Expected Behavior

In this case PvP should be disabled or enabled for all players

Reproduction Steps

  1. Create a worldguard region /rg claim <name>
  2. Use /rg flag <name> pvp without true or false
  3. Invite any player who is not memeber of the region and try to fight with him. He doesn't even have any chances as he can't even hit you

Optional WorldGuard-Report

-

Anything Else?

-

wizjany commented 3 months ago

expected behavior. just globally allow or deny pvp if you want to enforce one or the other.