sjavi4 / PlayerDoll

Fake Player Plugin for Spigot Paper Folia
36 stars 0 forks source link

In GroupManager, wildcard does't work #65

Closed chinese-wzq closed 1 month ago

chinese-wzq commented 1 month ago

I use playerdoll.command.* in my GroupManager config file groups.yml, but player still doesn't have the permission to execute /doll create, but if I directly write playerdoll.command.create, it works!

In the first case, if I execute /manucheckp playername playerdoll.command.create in console, it says SuperPerms report node: false. But in the second case, the output is SuperPerms report node: true. In my understanding, 'playerdoll.command.*' should be equal to 'playerdoll.command.create'.

sjavi4 commented 1 month ago

After looking the examples from GroupManager wiki. Essentials's permission config Maybe the wildcard node must be manually added in plugin.yml.

PlayerDoll doesn't provide such wildcard node, which is similar to Residence's permission config. Can you use wildcard for Residence permissions?

chinese-wzq commented 1 month ago

I have no idea...Maybe it's impossible. I believe PlayerDoll should use the way of Essentials, which is convinent in most cases.

I don't want to write so many lines in my config file just for giving player the permissions. For command, there still exists groups to do it; but globalflag doesn't have groups, means I have to write all the permissions I needed manually into my config file.

sjavi4 commented 1 month ago

You can ask AI to generate a list for you.

I will try to figure out the wildcard usage.

sjavi4 commented 1 month ago

https://modrinth.com/plugin/playerdoll/version/1.34