LuckPerms: Primary groups does not take context
Hi there,
I ran into an issue (I think ?) or it behave weirdly. I’ve created 2 other groups: citizens and staff-context to keep the track as : default > citizens > staff-context
cf:

Then I try to /lp user bathman18 parent set staff-context server=skyblock but it looks like LuckPerms consider that bathman18 lost his primary group and add default back. But LuckPerms consider the context to be matching and print his prefix and so on.
Yet, his prefix does not apply in game.
I’ve run a verbose here:

Yet, if I remove the context server=skyblock for bathman18 it looks like the group is applied correctly and prefix is attached as well

I thought I was running the same issue as https://github.com/lucko/LuckPerms/issues/2270 but here is my config.yml:
server: skyblock
include-global: true
include-global-world: true
apply-global-groups: true
apply-global-world-groups: true
primary-group-calculation: all-parents-by-weight # I've also tried parents-by-weight with no success
meta-value-selection-default: highest-number # I've tried inheritance with no success
The idea below that is to have one staff per server and not sharing permissions all around.
Thank you 😃
PS: The 2nd example is strictly what we’re looking for: https://github.com/lucko/LuckPerms/wiki/Advanced-Setup
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 23 (1 by maintainers)
Pretty sure alll but the first are default values there.
Guys. Please don’t randomly change these values if you don’t understand them. The defaults are perfectly fine.
Will need to look into this in a bit more detail - very limited on time at the moment but I’ll try get to it soon.