Skip to content

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

Open

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.

Activity

  1. alexdev03 commented on Feb 16, 2024

    @alexdev03
    Owner

    Hi, could you try this jar for me, please?
    BuyCraftAPI-4.5.zip

  2. audeze commented on Feb 16, 2024

    @audeze
    Author

    Screenshot_17
    Same error during server startup

  3. alexdev03 commented on Feb 16, 2024

    @alexdev03
    Owner

    BuyCraftAPI-4.7.0.zip
    Sorry I sent you the wrong jar, this should work.

  4. audeze commented on Feb 16, 2024

    @audeze
    Author

    Screenshot_19

  5. alexdev03 commented on Feb 16, 2024

    @alexdev03
    Owner

    Have you tried restarting the server?

  6. audeze commented on Feb 16, 2024

    @audeze
    Author

    It gives the same error during startup

  7. alexdev03 commented on Feb 17, 2024

    @alexdev03
    Owner

    Send the full log please. I tried on my test server and it worked fine.

  8. audeze commented on Feb 17, 2024

    @audeze
    Author

    Full startup log: https://mclo.gs/m5GZV2j

  9. alexdev03 commented on Feb 19, 2024

    @alexdev03
    Owner

    Try the expansion on a clean server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions