Luckperms: How to change the player group?

Created on 16 Aug 2018  路  3Comments  路  Source: lucko/LuckPerms

image
Pointed place without effect
Player is still in original group
plz help me fix this problem
be deeply grate ful

Most helpful comment

setPrimaryGroup only works if the player has the group. See https://gitlab.com/nightborn_mc/bungee_side_plugins/blob/master/src/main/kotlin/me/voidcrafted/bungeeplugins/DiscordAuthenticator.kt#L37 for an example. If you wanted to set the group, replace my predicate in my if statement with one that returns true if the node is a group node

All 3 comments

setPrimaryGroup only works if the player has the group. See https://gitlab.com/nightborn_mc/bungee_side_plugins/blob/master/src/main/kotlin/me/voidcrafted/bungeeplugins/DiscordAuthenticator.kt#L37 for an example. If you wanted to set the group, replace my predicate in my if statement with one that returns true if the node is a group node

thank you

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Zekrin picture Zekrin  路  3Comments

Aberdeener picture Aberdeener  路  3Comments

netherstar picture netherstar  路  4Comments

GiaNTizmO picture GiaNTizmO  路  3Comments

PhanaticD picture PhanaticD  路  3Comments