LuckPerms

LuckPerms

41.4k Downloads

Adding permission to all players having another permission

Kryniowesegryderiusz opened this issue ยท 6 comments

commented

Is ot possible to add (ex. via bulk) permission to all players that have another permission?

commented

Bulk edit only allows the edit or deletion of a permission.
There isn't a way, to mass-add a permission to users.

Also depending on what you want to achieve, can you simply give a role, that has the permission, to a user.

commented

I want to add all users who has permission shop.access.witch.nether_star new permission shop.access.witch_vip.nether_star. Is it possible somehow?

commented

This is what groups are for. You will not be able to bulk add a permission like that, you can edit the permission, however.

If you have a MySQL database then it should be possible with a query.

commented

Okay, so if i have a group, can i add it to players that have certain permission?

commented

Oh. I know, what you mean. Updating a permission with group and add two permissions to group. Thanks guys.

commented

What you could do is create a group, add the permissions to the group, then bulk edit that original permission updating it to group.<groupname>.