Staartvin / Autorank-2

Autorank is a Spigot/Bukkit plugin for automatically ranking players based on requirements
Other
56 stars 62 forks source link

multiple requirememnts #784

Open Diefelix opened 3 years ago

Diefelix commented 3 years ago

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?