PowerRanks

PowerRanks

650k Downloads

giving asterisk permission doesnt give any subpermissions

greatericontop opened this issue ยท 0 comments

commented

I'm not a dummy, so I've checked these

  • I am not using any other permission management plugin
  • I use the latest available version of PowerRanks
  • I am a human

Describe the bug
When given a * permission, you don't actually get the permissions inside of it. For example, giving the permission minecraft.command.* doesn't actually give subpermissions such as minecraft.command.gamemode or minecraft.command.effect.

To Reproduce
Steps to reproduce the behavior:

  1. make a rank and give it to yourself (make sure op is off)
  2. add the permission minecraft.command.* to it
  3. now execute /gamemode
  4. you are told that you don't have permission

Expected behavior
The command /gamemode requires minecraft.command.gamemode, which should be covered by minecraft.command.*. The /gamemode should run without any errors but there is a permission message.

Screenshots
shows issue 1: https://cdn.discordapp.com/attachments/521775199662637076/930622993179217950/Screenshot_From_2022-01-11_194301.png
shows issue 2: https://cdn.discordapp.com/attachments/521775199662637076/930622993418297374/Screenshot_From_2022-01-11_194243.png
it tabcompletes: https://cdn.discordapp.com/attachments/521775199662637076/930622993837744168/Screenshot_From_2022-01-11_191632.png

Logs
If applicable, post log files from your server

Desktop (please complete the following information):

  • Linux
  • Paper
  • 1.18.1 build 133
  • 1.10.4

Additional context
Add any other context about the problem here.