LuckPerms

LuckPerms

41.4k Downloads

How to prevent from modifying players with certain group.

soswi opened this issue ยท 18 comments

commented

I'm trying to set Moderator group, so it can't change group of player with Admin group, but it's not working.
To do that I'm using Argument based command permissions and Moderator permission looks like that.

luckperms.user.parent.set
luckperms.user.parent.set.modify.others
luckperms.user.parent.set.builder

And now - What should I add to make it work as I want it to ?

commented

How it happens that nobody ever aswers on my questions. ?

commented

Using verbose mode is really the only way to do this properly

commented

https://github.com/lucko/LuckPerms/wiki/Argument-based-command-permissions

  1. did you enabled arguement-based in luckperms config.yml
  2. use verbose to see the perms https://github.com/lucko/LuckPerms/wiki/Verbose
commented
  1. Yes I did
  2. I do
commented

please show your verbose output when doing the relevant commands.

commented

I've read that

commented

and all permission from verbose are there exept for
luckperms.user.parent.set.usecontext.global
and that's all

commented

do send a screenshot of the verbose output.

commented

Zrzut ekranu 2020-11-10 074246

commented

I dont see any issue, if you don't want to be able to add someone to admin, then set luckperms.user.parent.set.admin to false.

commented

but it just prevents form giving this group

commented

I can't believe there is no way to do that...

commented

I mean that's literally the purpose of this feature. Your verbose logs show that everything is true so maybe you've set a wildcard permission somewhere or maybe you're even opped (always deop yourself when doing any permission debugging).

commented

@Turbotailz I think what he wants like if i am a mod, I caant touch the permissions for users in admin group. For me id suggest using tracks instead of parent set command.

commented

Okey so I'll use trakcs then
@benwoo1110 and that's exactly what I meant..
Thanks guys for help

commented

image
image

commented

and so u know how I've don it ^
image