LuckPerms

LuckPerms

41.4k Downloads

Parent meta gets also applied to user meta

ItsMacs opened this issue · 11 comments

commented

Description

When I set a user to a group and then change their group to another, the user now has the first group's meta set as their personal meta.

Reproduction steps

  1. Run the command /lp user parent set
  2. Run the same command but with a different group
  3. The user now has the meta of the first group as their personal meta

Expected behavior

That not to happen.

Environment details

  • Server type/version: YAPFA-1.15.2 (PaperSpigot)
  • LuckPerms version: vBukkit 5.2.38
commented

I suggest you send screenshots of lp user USER info and lp user USER meta info

commented

User info before

User meta info before

User info after

User meta info after

commented

The issue is you have prefix Manager set for your own self (not group perms) with a higher weight. You should see https://luckperms.net/wiki/Weight

commented

Or maybe what you want to do is also to remove the prefix to set to yourself, since it seems you want the prefix from the group instead. You can use the command or the web editor

commented

The prefix "Manager" was set by the plugin when I set the group "tecnico" to me

commented

image

"inherit from self" means you as a player has it, nothing to do with the group.

commented
commented

no, clearing prefix wont cause any prefix to be set unless you are doing the command wrong. What exact command did you do to "clear the group’s prefix". And note you already have the Manager prefix set as a user node, so clearing group prefix doesn't nothing to remove that.

The main issue is you have a prefix set to the user itself, and you got confused that it was given due to the first group the player was in, when this not the case.

commented
commented

interesting, so do

  1. add user to a group and screenshot /lp user USER meta info
  2. do /lp user <user> meta clear
  3. screenshot /lp user USER meta info again
commented

Ok so,

By doing that I just found out that my groups were incorrectly set.

Thank you for your help.