EssentialsX

EssentialsX

2M Downloads

Command works regardless of perms

fabmm opened this issue ยท 3 comments

commented

Information

Full output of /ess version:

image

config.txt

EssentialsX config:

Details

Description:
I can see perms in /help that I'm not supposed to. Not only the plugin Angelchest, but many others
I don't have OP or *

Steps to reproduce:
typing /help

Expected behavior:
Commands that I don't have no perms for not to show

Screenshots:

image
image

commented

At the very least you have the angelchest.use permission, which allows you to use the /aclist command, so the plugin appears in the help list.

commented

At the very least you have the angelchest.use permission, which allows you to use the /aclist command, so the plugin appears in the help list.

That's ridiculous though, I disabled its help in LuckPerms, it should not show no matter what if the essentials.help.angelchest.* Is set to False

commented

@fabmm This is intended. As stated in the Essentials wiki's Help Files tutorial:

In this mode Essentials will loop through all available plugin information and build a customised /help list, of just commands it is certain players can use.
[...]
If a plugin does not provide the appropriate permissions node in its plugin.yml, the commands listed within will be ignored. You can manually add plugins to this list by giving the group access to a special permission.

If a plugin registers permissions for commands in plugin.yml, those permissions alone are checked to determine whether a command should show up in the help menu. essentials.help.<pluginname> permissions are only used to add commands that do not have permissions defined in plugin.yml, and does not remove commands that already have permissions.