Can't automatically assign path, or use /ar choose
SnowyMar opened this issue ยท 13 comments
Autorank wont automatically choose a path for my player.
This is my path config
FNG:
prerequisites:
in group:
value: FNG
requirements:
time:
value: 3m
results:
command:
value: "pex user &p group set Private"
options:
infinite pathing: false
auto choose: true
Priority: 10
Private:
prerequisites:
in group:
value: Private
requirements:
time:
value: 7m
results:
command:
value: "pex user &p group set Coroporal"
options:
infinite pathing: false
auto choose: true
priority: 9
Coroporal:
prerequisites:
in group:
value: Coroporal
requirements:
time:
value: 1h
results:
command:
value: "pex user &p group set RarestPepe"
options:
infinite pathing: false
auto choose: true
Priority: 8
/ar check also does not allow me to see the time played, it goes straight into /ar view and etc.
lastly, If I wanted to do /ar choose, it wouldnt work. It would say "An internal error occured while attempting to perform this command" with or without setting auto choose to true or false.
I have pretty much the same as you. Player plays for X amount of time, then is promoted. Then plays for X amount of more time, then is promoted. I did this like the following -
Apprentice:
prerequisites:
in group:
value: Apprentice
requirements:
global time: 2d
results:
rank change: Wizard
command: say &p just got a promotion to Wizard!
command2: pp user &p setrank Wizard
message: to your activity, you are now a Wizard!
options:
auto choose: true
infinite pathing: true
However. Now I have the issue that every time they come on the server it says Apprentice Path selected. Dev needs to make those messages a toggle. It seems the dev had different intentions to how he wanted the plugin to go. As apposed to the way most people actually wish to use it. :(
@Killertom63
Are you running Autorank 4.0.2? If so, remove the rank change result and set infinite pathing to false, that's why Autorank keeps selecting the rank for you! You told it to do so.
I tried using /ar choose it says "an internal error occured while attempting to perform this command. Although I don't want to have to use /ar choose (want it to work automatically, I have auto choose:true. My paths come up fine with /ar view list. But it does not actually rank up with my players time.
FNG:
prerequisites:
in group:
value: FNG
requirements:
time:
value: 12h
results:
command:
value: "pex user &p group add Private"
options:
auto choose: true
Private:
prerequisites:
in group:
value: Private
requirements:
time:
value: 1d
results:
command:
value: "pex user &p group add Corporal"
options:
auto choose: true
Corporal:
prerequisites:
in group:
value: Corporal
requirements:
time:
value: 2d
results:
command:
value: "pex user &p group add SadPepe"
options:
auto choose: true