PermissionsEx

PermissionsEx

14M Downloads

[PEX 1.x] Is there any reason Debug Mode would not be verbose?

Stormbow opened this issue ยท 3 comments

commented

@zml2008 :

Lately, I've been seeing a lot of /pex user name toggle debug that doesn't actually display much of anything in the server consoles. Most of the time, the only permission node being shown is worldguard related. (worldguard.region.bypass.worldname)

For example (Minecraft 1.11.2, PEX 1.23.4):

[22:43:41 INFO]: Stormbow issued server command: /pex user stormbow toggle debug
[22:43:48 INFO]: Stormbow issued server command: /pv 6
[22:43:48 INFO]: [PermissionsEx] User 7090248c-d19f-46e9-801b-2919d43ee918 checked for "worldguard.region.bypass.Etreon", "*" found
[22:43:55 INFO]: Stormbow issued server command: /pex user stormbow toggle debug
[22:43:55 INFO]: [PermissionsEx] User 7090248c-d19f-46e9-801b-2919d43ee918 checked for "worldguard.region.bypass.Etreon", "*" found
[22:43:55 INFO]: [PermissionsEx] User 7090248c-d19f-46e9-801b-2919d43ee918 checked for "permissions.manage.stormbow", "permissions.*" found

To me, this looks like I'm not being checked for the permission node playervaults.amount.6 to open PlayerVault 6. (playervaults.amount.5 is the highest vault this particular group should have access to.)

What am I missing here?

commented

I had a similar problem with this the other day on another server (running mc 1.12 and PEX 1.23.4) which couldn't see the user being checked for /fly or /gamemode permissions and interference.

commented

User-specific debug mode doesn't do anything at the moment -- at one point profiler reports showed that checking per-user debug used up a lot of time in Superperms permissions checks, so I took out the code to print the checks there.

commented

Ahhh. That'll do it.

Thanks.