Autorank

Autorank

380k Downloads

multiple requirememnts

Diefelix opened this issue ยท 0 comments

commented

If i were to make a path with multiple requirements for items, for example, i want the person to gather 4 different materials, like wood, stone, gravel and iron, would the code be like this?

Master:
prerequisites:
in group:
value: 'bedrock'
requirements:
time:
value: '130h'
has item:
value: 'COAL;15'
has item:
value: 'GRAVEL;30'
has item:
value: 'IRON_INGOT;30'
has item:
value: 'OAK_LOG;45'
results:
command:
value: 'lp user &p parent set master'

I know the question might sound stupid because it's all listed in the wiki, but i was still in huge doubt because it only mentions the functionality of the requirements for each node and not how to apply them on the requirements page.

And can i put the integers over 64, or is it limited to be just 64?