Autorank

Autorank

380k Downloads

Users with multiple groups (in different ladders) are excluded

traek opened this issue ยท 3 comments

commented

When trying "/ar check [mycharacter]" from the game, I get the error that my character "is excluded from ranking!" with the exact same result when doing it from the console. However, I was successfully able to check an "/ar check [mycharacter]" to run from the console as long as I'm offline. According to the player data, my last known rank is in our default (member) ladder. However I'm also in another ladder just for staff-related perms (moderation, regions, that sort of thing). I've now tried this with over 20 users and the pattern holds: if I try and check on autorank progress with a user with a rank in two ladders (I have four possible total ladders) and they're online, I get the same error that the user "is excluded from ranking!" while it reports fine if they're offline. Further, if I remove a user from the all but one ladder, /ar check works just fine.

We are using: Spigot 1.7.9 R0.1, PermissionsEx 1.22.3 (MySQL), Stats 2.0.0 (MySQL), Autorank 3.2 (MySQL)

I'm desperate to keep our autoranking in place. Is there a workaround available? There is one other autorank plugin that handles multiple ladders but it's only criteria is time. We're using about 70% of your available criteria for most of our ranks. Help!

commented

The message you're getting means that your character is excluded from ranking. It means that you got the permission 'autorank.exclude'. You should look into your permissions file and see if the groups you are in has this permission, or is inheritanced from another group.

commented

I now use the following permissions the admin group related to your plugin:

autorank.*
-autorank.exclude

This fixed the problem for all users except Admins. I finally removed autorank.* and /ar check works fine for everyone. It seems either Autorank2 or PermissionsEx (which process other exclusions for me just fine) isn't properly applying that exclusionary permission. After that I just manually added each of the required admin permissions.

commented

Okay, it seems the autorank.* (wildcard permission) is buggy. I'll keep this open for future reference.