Mod perms not working
fcpwiz opened this issue · 11 comments
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
• 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?
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
@Stormbow Yes, here's the new file:
https://gist.github.com/fcpwiz/5ba58b74add6a00d3d7eb73ce76365d3#file-gistfile1-txt-L107-L125
Group doesn't have essentials.ban
which gives access to the slash command /ban
.
See the Permissions List.
You need both if you want to do everything related to banning. (Except banip, of course, since it's also its own node.)
Ah so changing essentials.ban.*
to essentials.ban
worked! So essentials.ban
is for /ban
while essentials.ban.*
allows the other slash ban commands?