WorldGuard

WorldGuard

8M Downloads

PVP flag is ignored if you are op - WorldGuard 6.0

LadyCailinBot opened this issue ยท 8 comments

commented

WORLDGUARD-3221 - Reported by nathampa0909

Hello, the new WorldGuard builds (even the Dev Builds) has an error in the PvP flag, when PvP flag is true, the players can still damage each other, the only fix is using the invincible flag, but still, this could affect others who want to disable the PvP, but still allow players to be damaged by others means.

commented

Comment by PseudoKnight

You mean "pvp deny", correct? Are they members of the region?

commented

Comment by nathampa0909

Yes, I have found that between players the flag works but if a player is OP can attack any one in any area.

commented

Comment by PseudoKnight

Ah, yes, that applies to any player with the worldguard.region.bypass permission or ops, as well as owners/members by default, I believe. This didn't occur in 5.9 because PVP flag didn't also check build permissions. Now it does. You can sort of see the different class of flags here:

https://github.com/sk89q/WorldGuard/blob/master/src/main/java/com/sk89q/worldguard/protection/flags/DefaultFlag.java

commented

Comment by nathampa0909

Ok, thanks for reply. You know that place I change the messages in this new version?

commented

Comment by PseudoKnight

The deny-message flag?

commented

Comment by sk89q

Is this still a problem for you?

commented

Comment by nathampa0909

@sk89q Yes. thanks. And how do I edit all messages in the source? I don't find the messages.

commented

Comment by PseudoKnight

deny-message flag is probably what you're looking for.