Autorank

Autorank

380k Downloads

Promotion Issue

AntZaro opened this issue ยท 4 comments

commented

I'm having an issue with the way Autorank is promoting people. This is with me using a permissions plugin called LuckPerms (my normal server is GroupManager, but I'm testing LuckPerms). So basically, Autorank is adding parent groups for each rank up, but it's not changing the person's primary group.

What Autorank must be doing:
/perm user [user] parent add [rank]
This is adding the new rank as a parent, and removing the previous parent rank, whilst leaving the default server rank as their primary group.

What I want Autorank to do:
/perm user [user] parent set [rank]
This command would set the user's primary group as the new rank.

Is there anyway this could be changed? I want to switch off of GroupManager, but Autorank would have to be ranking people correctly for me to do that.

commented

The solution to this is to not use the option "rank change rank1:rank2" but set the command you want yourselv in the option "commands"

commented

@Nesseley is right. Autorank uses the standard approach provided by Vault, but sometimes this doesn't result in the correct outcome. You can also let Autorank perform commands, so you would add the following command: perm user &p parent set [rank name of your desired rank]

commented

Thank you guys. I was using the simple config, and even though I looked at the advanced one, I didn't realise I was able to do that. So glad this is sorted; hopefully the new update doesn't confuse me again haha. Thanks again!

commented

Glad it got solved!