LuckPerms

LuckPerms

41.4k Downloads

LuckPerms does not handle group meta inheritance properly, it seems

ryall opened this issue ยท 4 comments

commented
  • LuckPerms v2.16.31
  • Sponge
  • Minecraft 1.10.2

I seem to be having problems with meta inheritance when it comes to groups. Specifically, I am trying to set more homes for a donator with the home-count meta tag from Nucleus.

Perms are as follows:

default:

  • meta.home-count.2

donator:

  • group.default
  • meta.home-count.5

With the donator rank, the meta value 2 is returned incorrectly. The perms are definitely set correctly. Also, setting the meta tag directly on the user works, just not through group inheritance.

This is a consistent issue I'm finding across all meta tags I'm using within Nucleus. Above is just one example.

commented

Are the donator users also a member of default?

commented

Yes, they are.

If this is the problem then I guess I need some kind of weighting to prioritise one rank over another.

commented

Added the following command:

/lp group <group> setweight <weight>

Should fix your issue. :)

commented

Amazing, thanks Lucko!