LuckPerms

LuckPerms

41.4k Downloads

[Question] Pex Migrate users primary group

x1p opened this issue ยท 3 comments

commented

I'm trying a migration from Pex.
The basic setup is:
Groups:

  • default
  • group1 (inherites default)
  • group2 (inherites group1)
  • group3 (inherites group2)
  • staff (inherites group3)
  • admin (inherites staff)

When migrating, LP saves admin/staff users like:

uuid: whatever
name: AdminPlayer123
primary-group: admin
parents:
- admin

I noticed that staff/admin doesn't inherit the some of the default permissions.
According to the wiki, if I'm correct, the staff players should be made staff by executing:
lp user AdminPlayer123 parent add admin
This results in:

uuid: whatever
name: AdminPlayer123
primary-group: default
parents:
- admin
- default

From what I understand, the config option primary-group-calculation: parents-by-weight should sense that the primary group for this player should be admin in this case.
The wiki is a bit scarce with examples. So what would be the most basic setup which should work so staff inherits all player groups?

commented

if you are adding admin then remove default. it should inherit

commented

thnx. I know enough for this moment