CraftBook 3

CraftBook 3

139k Downloads

CraftBook isn't checking use permissions on WG 6 correctly

LadyCailinBot opened this issue ยท 6 comments

commented

CRAFTBOOK-3057 - Reported by rtcabooservb

WorldGuard 6.0 dev 1407

I have a global region set up to block PVP and deny some commands. Using WorldGuard 6.0, I noticed users now can't use CraftBook features by default. I had to flag use: allow in the global region so players could use CraftBook features again. Shouldn't the global region allow most/all things by default so users don't have to flag specific things to function?

Old region - http://paste.ubuntu.com/8134194/

commented

Comment by sk89q

What are some mechanics that are broken?

commented

Comment by rtcabooservb

Well, 'use' for example is blocked by default in the global region. It wouldn't allow anyone to use any craftbook mechanics like gates, bridges, etc. It states '"You don't have permissions to use that in this area!!'

commented

Comment by sk89q

That might be CraftBook checking with WorldGuard whether players can do something in a region. However, since I changed how the code works a bit, CraftBook might be calling the wrong thing now.

commented

Comment by sk89q

I am going to change this to a CraftBook issue.

commented

Comment by me4502

What is the right thing to call in WG 6? And is it the right time to update to it?

commented

Comment by sk89q

{{WorldGuardPlugin.createProtectionQuery()}} returns an object with a bunch of methods for checking build perms.

I plan to post the beta officially soon.