Skip to content

Placeholder returning "Error" when parsing places other than the 1st Place #5

@audeze

Description

@audeze

Hi Alessandro4,

I'm encountering this issue where while making a DecentHologram leaderboard with the BuycrafAPI PAPI placeholders, I get this error spam. Here's the stacktrace:

https://pastes.dev/bXhcyKfysw

I'm using the placeholders:

%buycraftAPI_top_donor_current_month_name_1%
%buycraftAPI_top_donor_current_month_name_2%
%buycraftAPI_top_donor_current_month_name_3%

Yet even running /papi parse me %buycraftAPI_top_donor_current_month_name_2% returns with Error

Since the placeholder only allow for 1-3, that means I literally can't have a leaderboard in place with places 1-10 (and just have the empty placeholder return with nothing), but instead I have to manually change it every month.

This issue is to suggest allowing having places other than existing payments, so it can be left in place and refreshed every month.

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