LuckPerms: How to add a parent group without setting it as primary group?

/lp user <name> parent add <group> sets it to primary instead of the previously primary group. how to prevent this? without needing to revert?
13 Replies
Admincraft Meta
Admincraft Metaā€¢2y ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by pixel_life#5664
ProGamingDk
ProGamingDkā€¢2y ago
just add group.(groupname) as a permission works just as well
pixel_life
pixel_lifeOPā€¢2y ago
oh I had setting "parents by weight" its telling me and I will do this thanks not working, I have this error:
pixel_life
pixel_lifeOPā€¢2y ago
No description
pixel_life
pixel_lifeOPā€¢2y ago
when i switchprimary group of a user that pops up i cant find on google or in documentation
Discount Milk
Discount Milkā€¢2y ago
What are you trying to do?
Lunaiskey
Lunaiskeyā€¢2y ago
afaik the primary group is set based on the groups the player has and the groups set weight so if you want a group to not become the primary group, then it should have a weight lower then what the current primary group is tho really the question is what mr milk said, what are you trying to do
pixel_life
pixel_lifeOPā€¢2y ago
I'm using TAB to sort the player list on the tab menu. There's one group that is like an additional group and not a regular track group. This group shows at the bottom of tab when in my TAB conf's GROUPS:... it should appear near the top. I found a workaround by using PERMISSIONS: instead of GROUPS: on the TAB config and appending group. to the front of the groups. I'm fairly sure this will work and will test soon. Also, I can't set the weight higher because the group that is producing the higher weight needs to overide a prefix. it's kind of a messy setup for hiding and showing prefixes but essentials and lp chat didn't make it any easier.
Lunaiskey
Lunaiskeyā€¢2y ago
cause its possible that whatever your trying to do or resolve might not be related to the primary group changing i see, your trying to resolve group tags not showing in the right place on your tab mind posting a screenshot of your tab how it currently is and maybe a screenshot of your group list?
Discount Milk
Discount Milkā€¢2y ago
an lp editor link would be helpful in explaining what you're trying to do šŸ‘€
Lunaiskey
Lunaiskeyā€¢2y ago
or even a /lp editor link, we cant change anything unless you give the session the go ahead by clicking the button it gives in chat
Discount Milk
Discount Milkā€¢2y ago
If you make the editor link in console, you can only trust a browser by putting the code in from the browser into the console very pog
pixel_life
pixel_lifeOPā€¢2y ago
hey folks, I would like to excitedly let you know that the issue was resolved by using PERMISSIONS:group.admin,group.mod,group.rank1,group.rank2 to replace GROUPS:admin,mod,rank1,rank2 in TAB config I realized I also forgot to add a weight to the group I wanted to show at the top, but if I do this it won't work as expected as people may want to choose a different group and still be in the other.. the solution #1 work best, "Permisssions" instead of "Groups" i would share my stuff with you but it is resolved and I am very cautious to share it, but thank you for the help

Did you find this page helpful?