Autorank

Autorank

380k Downloads

Can I add two values for a result?

huangwarrior opened this issue ยท 2 comments

commented

Like title says.
I tried this in paths/yml


Example: (Didn't work)

pathTEST:
prerequisites:
in group:
value: "default"
requirements:
time:
value: "8h"
results:
command:
value: 'lp user &p group set veteran'
value: 'f powerboost player &p 2'
message:
value: '&6You have been promoted to &7veteran&6, &p'

commented

SOLVED!

Instead of this:
command:
value: 'lp user &p group set veteran'
value: 'f powerboost player &p 2'

This:
command: 'lp user &p group set veteran'
command2: 'f powerboost player &p 2'

I think you should add examples of adding more than one value for a prequisite/result in the example section of the wiki.

commented

Bump^ Close