LuckPerms

LuckPerms

41.4k Downloads

apply-bukkit-default-permissions function NOT working

misterjacket opened this issue ยท 3 comments

commented

Hello,

Even though the default group in my server has a count of 0 permissions and I have disabled these settings:

apply-bukkit-child-permissions: false
apply-bukkit-default-permissions: false
apply-bukkit-attachment-permissions: false

They are still able to execute commands like /home, /sethome, /back, /tpa etc.

commented

I have this to please fix this soon

commented

Do you have any other mods/plugins that include these commands?
Turn on LuckPerms verbose and have someone run one of those commands to see what permissions are being called.

commented

This isn't a LuckPerms bug, rather a design flaw (in my opinion) with Essentials.

When Vault is not installed, Essentials will check it's own config for permissions BEFORE checking with the permissions plugin.

You either need to install Vault, or set use-bukkit-permissions to true in your Essentials config.

# Use this option to force superperms-based permissions handler regardless of detected installed perms plugin.
# This is useful if you want superperms-based permissions (with wildcards) for custom permissions plugins.
# Default is false. 
use-bukkit-permissions: false

This is because the Essentials config handler is selected if Vault is not installed.
https://github.com/drtshock/Essentials/blob/2.x/Essentials/src/com/earth2me/essentials/perm/impl/ConfigPermissionsHandler.java#L23

https://github.com/drtshock/Essentials/blob/2.x/Essentials/src/com/earth2me/essentials/perm/PermissionsHandler.java#L113-L117