WorldGuard

WorldGuard

8M Downloads

Entry/exit has problems when groups/permissions of users change

LadyCailinBot opened this issue ยท 1 comments

commented

WORLDGUARD-3023 - Reported by Mark.Kindy

I have created a cuboid as such:

/rg define tutorial
/rg flag tutorial exit deny
/rg flag tutorial exit -g nonmembers
/rg addmember tutorial g:builder

The idea is that this region, which houses my tutorial, should not allow exits from players in the "default" group they take on first login, and should then be able to exit it when the tutorial script promotes them to the "builder" group. This functionality works fine (builders can leave the region), but when the player is promoted, every move event spams them with the message "You are not permitted to leave this area" no matter where in the game world they are. They have to log out and back in to stop the spam. This is happening whether or not I make the higher group a member or builder and set the "exit -g" switch accordingly. This is also happening whether or not my groups have the "group." permission in them or not. It was happening in WorldGuard 5.8/WorldEdit 5.5.9 and in WorldGuard 5.9/WorldEdit 5.6.

commented

Comment by sk89q

AFAIK this is because WG maintains a cache that doesn't handle sudden changes to the entry/exit state for a certain player very well.