PermissionsEx

PermissionsEx

14M Downloads

Mod perms not working

fcpwiz opened this issue · 11 comments

commented

Hi,

For some reason, a certain rank/group's perms don't work (moderator), but other groups do. Moderators can't access the /ban, /kick, or /socialspy commands even though those perms are in the file. Take a look at the permissions:

https://gist.github.com/fcpwiz/0a1439fc0d3f49a2965d1014c101b38f#file-gistfile1-txt-L107-L127

commented

• Vanilla Permissions have issues and can't be trusted to function correctly. There's nothing PEX can do to fix those. (And since you're using Essentials, why aren't you using Essentials for the kick function anyway? That's a rhetorical question. Don't answer that. Use Essentials for all 3 functions.)

• What did Debug Mode tell you about the other permissions?

commented

@Stormbow

11:36:44 PM CONSOLE: [INFO] Debug mode for user 12bf7dab-3e52-4a78-8077-bbd6d8579810/fcpwiz enabled!
11:36:50 PM PermissionsEx: User 12bf7dab-3e52-4a78-8077-bbd6d8579810 checked for "worldguard.region.bypass.world", no permission found
11:36:50 PM CONSOLE: [INFO] fcpwiz issued server command: /ban
11:36:50 PM CONSOLE: [INFO] cfcpwiz 4was denied access to command.

So I added worldguard.region.bypass.world, reloaded PEX, still couldn't do /ban, tried debug mode and got:

PermissionsEx: User 12bf7dab-3e52-4a78-8077-bbd6d8579810 checked for "worldguard.region.bypass.world", "worldguard.region.bypass.world" found
commented

Did you update the group to using Essentials' ban?

commented

Group doesn't have essentials.ban which gives access to the slash command /ban.

See the Permissions List.

commented

It has essentials.ban.*. Should it be changed to essentials.ban?

commented

You need both if you want to do everything related to banning. (Except banip, of course, since it's also its own node.)

commented

Yep. Like I said. ;)

commented

Ah so changing essentials.ban.* to essentials.ban worked! So essentials.ban is for /ban while essentials.ban.* allows the other slash ban commands?

commented

Thank you!

commented

You're welcome. :)