Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getPrimaryGroup #551

Closed
cpybus opened this issue Jun 7, 2014 · 3 comments
Closed

getPrimaryGroup #551

cpybus opened this issue Jun 7, 2014 · 3 comments

Comments

@cpybus
Copy link

cpybus commented Jun 7, 2014

Afternoon,

I seem to be having some trouble using any method in Vault that returns the group(s) that a player is in. I am not using (and have never used) the depreciated methods. I am only getting null responses from getPrimaryGroup(Player) and getPrimaryGroup(world, offlineplayer), and an empty array from getPlayerGroups(player)

I am running PermissionBukkit version 2.3 and Vault version 1.4.1-b436

I believe this problem is originating somewhere in the connection between permsBukkit and Vault, probably has something to do with the UUID system.

Thank you
Chris

@Sleaker
Copy link
Member

Sleaker commented Jun 7, 2014

this is a bug in PermsBukkit, none of the API was changed in 2.3 and everything seems the same. The author shold be keeping compatibility to old versions, if he doesn't there isn't much I can patch in until a working UUID based system is available.

It Appears @SpaceManiac has chosen to convert all backend to UUID storage giving absolutely no possibility of backwards compatibility. This basically means if you convert, nothing will work with vault until ALL plugins you use utilize offlineplayer methods AND Vault is able to patch in the UUID changes (not able to yet as no release available).

Basically, someone did a conversion without thinking about the ramifications. I suggest you look for a better Permission plugin that wont do this.

@Sleaker Sleaker closed this as completed Jun 7, 2014
@cpybus
Copy link
Author

cpybus commented Jun 7, 2014

Thank you Sleaker for the quick reply. It looks like we might have to go out and look for another perms plugin. Thanks.

@Sleaker
Copy link
Member

Sleaker commented Jun 8, 2014

@hotshot2162 the other option is @SpaceManiac patches the methods so they work again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants