Replacing permissions that already exist
Closed this issue ยท 16 comments
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.
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.
Then setup an alias https://bukkit.gamepedia.com/Commands.yml
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 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 #668 (comment)
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.
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
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.