Meta weight inheritance issues [Potentially a feature request?]
See original GitHub issueSo let’s say there’s 2 groups
helper
& officer
default
, has an option set of “home-count 5”, and a group weight of 0
helper
inherits from default, and the group has a weight of 30
officer
has an option set of “home-count 10”, and the group has a weight of 15
User dino
has both helper
and officer
, but the player gets 5 homes because helper
’s weight is higher, despite inheriting the option from default, a lower weighted group.
I don’t particularly want officer
to be weighted higher since helper
is a staff position, and I don’t want certain permissions to be weighted incorrectly by making that change.
I did attempt to try setting meta.home-count.1
false for helper
and in officer
as per recommendation from Turbotailz to someone else around March 9th, but that didn’t seem to have an effect.
If there’s a way to prioritize metas in groups that have higher weights over groups that don’t I think that would make for a great configuration setting. i.e Allowing the Group of weight 15, to take precedent over the group of weight 30 when the meta from weight 30 comes from a weight 0 group.
If that makes sense, I’m finding it difficult to articulate this cleanly.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Added this config section which should allow you to achieve what you want. 😃
https://github.com/lucko/LuckPerms/blob/4d7a6cb6582e96676c1157f44b7df8912d92d68e/sponge/src/main/resources/luckperms.conf#L419-L434
In this issue case I think
parents-by-weight
may be acting likeall-parents-by-weight
.