Luckperms: Replacing permissions that already exist

Created on 3 Jan 2018  路  16Comments  路  Source: lucko/LuckPerms

I propose to add the possibility of replacing the permissions that are already available. When I give the right to the player, and then take it back, it is written that this right already exists. I have to clean this right, and then return it. It is not comfortable.

question suggestion

All 16 comments

https://github.com/lucko/LuckPerms/wiki/Command-Usage#lp-usergroup-usergroup-permission-unset

I'm telling you, I have to pick up the permit and then give it back. It's not convenient, I need it to be replaced by one command, not two.

Yes, it's like a solution. But I think that the developer implements the substitution of permissions in Luckperms

What you are asking for is as clear as mud. No, the way all permission systems work is that a command only takes or only gives or only sets a context/node - it doesn't perform both at the same time.

The only exception to this is bulkupdate

I can suggest adding an argument that would replace the resolution. For example: /lp user DarkFort permission set -r player.perm true survival

I don't think so

I can suggest adding an argument that would replace the resolution. For example: /lp user DarkFort permission set -r player.perm true survival

That is the exact same as what I already mentioned here https://github.com/lucko/LuckPerms/issues/668#issuecomment-355089963

But if this permission is already exist there with another value, then there will be a message that this permission is already there

As I already stated, as you are as clear as mud as to what you are trying to do, as you won't (or refuse) to read the wiki there are many commands to either unset or remove or to set permission nodes.

The -r parameter must replace the resolution even when it is already exist

OK, how do I take and give a permission that already exists if these commands are executed together when you click on the menu?

If the permission is the exact same in every way then you don't need to add that same permission again - unless its a temp node. Again - this is on the wiki - https://github.com/lucko/LuckPerms/wiki/Configuration#temporary-add-behaviour

Again read the wiki

but for permanent permission how?

OK, how do I take and give a permission that already exists if these commands are executed together when you click on the menu?

Make sure you're using the latest version - commands are executed in order.

Regarding the original suggestion, what most don't realise is that a false value is still a setting. It's a unique entry in the file - and therefore, replacing it when another unique entry makes no sense.

Hopefully that makes sense.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PhanaticD picture PhanaticD  路  3Comments

TheoRetisch1 picture TheoRetisch1  路  3Comments

Eustiya picture Eustiya  路  3Comments

Zekrin picture Zekrin  路  3Comments

Aberdeener picture Aberdeener  路  3Comments