When using mcMMO requirements with PAPI or internal strings (e.g., %rankup_requirement_mcmmo mining_percent_done%), the value always returns 0.
The plugin doesn't seem to recognize which requirement the placeholder is referring to. While I can successfully use indexing like [0] inside the rankups.yml to select requirements, PAPI does not support this context, causing it to default to 0 even when progress has been made.
This is what i am using in rankups.yml for selection under requirements-not-met: and it works
{{ rank.requirements[0].progress | simple }}/{{ rank.requirements[0].total | simple }}
Am I doing something wrong? if so it would be great to have it more in detail on the wiki, thanks.
When using mcMMO requirements with PAPI or internal strings (e.g., %rankup_requirement_mcmmo mining_percent_done%), the value always returns 0.
The plugin doesn't seem to recognize which requirement the placeholder is referring to. While I can successfully use indexing like [0] inside the rankups.yml to select requirements, PAPI does not support this context, causing it to default to 0 even when progress has been made.
This is what i am using in rankups.yml for selection under requirements-not-met: and it works
{{ rank.requirements[0].progress | simple }}/{{ rank.requirements[0].total | simple }}Am I doing something wrong? if so it would be great to have it more in detail on the wiki, thanks.