Skip to content

Vault .getPrimaryGroup() returns null #201

@KateHutch

Description

@KateHutch

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions