Question How do I set up groups so that I can't make changes to a higher ranked group? Paper 1.21.1 LuckPerms

muxira

New member
Nov 8, 2024
1
0
1
I use the LuckPerms plugin for my server.
The idea is that a player with the group “sheriff” could change the groups of those players with group = [“police”, “bandit”, “default”], but players with group = [admin,moderator] can not.
How can this be realized?
List of plugins:
1731068338923.png
 
Version Output
This server is running Paper version 1.21.1-128-master@d348cb8 (2024-10-21T16:23:24Z) (Implementing API version 1.21.1-R0.1-SNAPSHOT)
You are 3 version(s) behind
Download the new version at: https://papermc.io/downloads/paper
Previous version: 1.21.3-12-c6aa61e (MC: 1.21.3)

bettyking

New member
Jun 12, 2024
1
0
1
iogames.games
I use the LuckPerms plugin for my server.
The idea is that a player with the group “sheriff” could change the groups of those players with group = [“police”, “bandit”, “default”], but players with group = [admin,moderator] can not.
How can this be realized? io games

List of plugins:
For the sheriff group, you will need to give them permission to manage the other groups. You can use the following command:
/lp group sheriff permission set luckperms.group.police true
/lp group sheriff permission set luckperms.group.bandit true
/lp group sheriff permission set luckperms.group.default true
For the admin and moderator groups, you should deny them the permissions to modify the police, bandit, and default groups:
/lp group admin permission set luckperms.group.police false
/lp group admin permission set luckperms.group.bandit false
/lp group admin permission set luckperms.group.default false

/lp group moderator permission set luckperms.group.police false
/lp group moderator permission set luckperms.group.bandit false
/lp group moderator permission set luckperms.group.default false