/potion won't work for non-op user with potion.* permissions
ProblemsSender opened this issue ยท 1 comments
Type of bug
Other unexpected behaviour
/ess version
output
[11:00:45] [Client thread/INFO]: [CHAT] Server version: 1.12.2-R0.1-SNAPSHOT git-Paper-1618 (MC: 1.12.2)
[11:00:45] [Client thread/INFO]: [CHAT] EssentialsX version: 2.18.2.0
[11:00:45] [Client thread/INFO]: [CHAT] PermissionsEx version: 1.23.4
[11:00:45] [Client thread/INFO]: [CHAT] Vault version: 1.7.3-b131
[11:00:45] [Client thread/INFO]: [CHAT] EssentialsXProtect version: 2.18.2.0
[11:00:45] [Client thread/INFO]: [CHAT] EssentialsXSpawn version: 2.18.2.0
[11:00:45] [Client thread/INFO]: [CHAT] EssentialsXGeoIP version: 2.18.2.0
[11:00:45] [Client thread/INFO]: [CHAT] EssentialsXChat version: 2.18.2.0
[11:00:45] [Client thread/INFO]: [CHAT] EssentialsXAntiBuild version: 2.18.2.0
Server startup log
nothing wrong with this
EssentialsX config files
nothing wrong with this
Error log (if applicable)
nothing wrong with this
Bug description
-Give yourself every possible permission to use /potion
-Enter "/potion effect:absorption amplifier:0 duration:69"
We cannot use /potion
The output always been "Error: You do not have permission to apply potion effect absorption to this potion."
Then
-Give yourself /op
-Enter "/potion effect:absorption amplifier:0 duration:69"
We can use /potion
Steps to reproduce
-Give yourself every possible permission to use /potion
-Enter "/potion effect:absorption amplifier:0 duration:69"
The output always been "Error: You do not have permission to apply potion effect absorption to this potion."
Expected behaviour
We can use /potion
Actual behaviour
We cannot use /potion
The output always been "Error: You do not have permission to apply potion effect absorption to this potion."
The permission to apply a specific effect is essentials.potions.<effect name>
, not potion
.
You can find missing permissions using /ess debug
, which prints checks to the console:
[05:00:40 INFO]: ExplodingGravy issued server command: /potion effect:absorption amplifier:0 duration:69
[05:00:40 INFO]: [Essentials] Searching for alternative to: potion
[05:00:40 INFO]: [Essentials] checking if ExplodingGravy has essentials.mail - true
[05:00:40 INFO]: [Essentials] checking if ExplodingGravy has essentials.potion - true
[05:00:40 INFO]: [Essentials] checking if ExplodingGravy can afford charge.
[05:00:40 INFO]: [Essentials] calculated command (potion) cost for ExplodingGravy as 0
[05:00:40 INFO]: [Essentials] checking if ExplodingGravy has essentials.potions.absorption - true
[05:00:40 INFO]: [Essentials] attempting to charge user ExplodingGravy
[05:00:40 INFO]: [Essentials] calculated command (potion) cost for ExplodingGravy as 0
[05:00:40 INFO]: [Essentials] charge user ExplodingGravy completed
Or by using a permissions tool like LuckPerms' verbose: