
Pointed place without effect
Player is still in original group
plz help me fix this problem
be deeply grate ful
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
https://github.com/lucko/LuckPerms/wiki/Developer-API:-Usage#modifying-usergroup-data
thank you
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