Skip to content

[Bug] mcMMO requirements return 0 in placeholders #87

@A53o

Description

@A53o

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions