I'm running into an issue using LuckPerms with Vault - I can't get the primary group of offline players.
I need the primary group because my vote plugin, VoteRoulette, uses it to determine who gets what reward.
At the moment using .getPrimaryGroup(String world, OfflinePlayer player) returns null if the player is offline or on another server within the bungeecord network, which means they just get the default reward.
It works 100% fine if the player is online, but doesn't work if they are offline.
Any ideas on ways I can try troubleshooting this issue?
I'm running into an issue using LuckPerms with Vault - I can't get the primary group of offline players.
I need the primary group because my vote plugin, VoteRoulette, uses it to determine who gets what reward.
At the moment using .getPrimaryGroup(String world, OfflinePlayer player) returns null if the player is offline or on another server within the bungeecord network, which means they just get the default reward.
It works 100% fine if the player is online, but doesn't work if they are offline.
Any ideas on ways I can try troubleshooting this issue?