Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a placeholder expansion for Papi #2610

Open
2 tasks done
MonsterMilo opened this issue Jan 28, 2025 · 4 comments
Open
2 tasks done

Add a placeholder expansion for Papi #2610

MonsterMilo opened this issue Jan 28, 2025 · 4 comments
Labels
Type: Question Question or issue related to configuration, API or features.

Comments

@MonsterMilo
Copy link

Is your feature request related to a problem?

I can't use the placeholder %Level_aoneblock_island_level% in the plugin deluxemenus, I assume this is because the placeholders weren't made with a papi expansion.

Describe the solution you'd like.

Put all the placeholders in a papi expansion pack that we can download, that way it'd work in deluxemenus. (Unless that isn't the reason it doesn't work and its some other bug)

Describe alternatives you've considered.

I havent tried alternatives

Agreements

  • I have searched for and ensured there isn't already an open issue regarding this.
  • I have ensured the feature I'm requesting isn't already in the latest supported BentoBox build or Addons.

Other

No response

@BONNe
Copy link
Member

BONNe commented Jan 28, 2025

BentoBox Placeholders for PAPI works without necessity to download anything else:
https://docs.bentobox.world/en/latest/BentoBox/Placeholders/

If placeholder is not working in chat with: /papi parse me <placeholder> then either placeholder is written wrongly or something went wrong.

In most situations, users try to use placeholders without installing addon that provides it.
So do you have Level addon installed?

@BONNe BONNe added the Type: Question Question or issue related to configuration, API or features. label Jan 28, 2025
@MonsterMilo
Copy link
Author

Hi, I do have the addon installed. I'm already using the same placeholder in tab/scoreboard with the plugin TAB and it works, but I copied and pasted it to deluxemenus and it doesn't work.

I'm using it in Deluxemenus as a value, then if that value is greater than or equal to 500 a permission is granted. Since it's a bit complex I'm contacting DM incase I made a mistake in the code, but is there any another reason the placeholder wouldn't work? When I do /papi parse Monster_Milo %Level_aoneblock_island_level% it just returns to me %Level_aoneblock_island_level% instead of my island level.

@BONNe
Copy link
Member

BONNe commented Jan 28, 2025

If /papi parse returned placeholder back, it would mean that Level addon does not work.

Can you share the output of /bentobox version command?

@MonsterMilo
Copy link
Author

bentobox version
[17:58:58] [Server thread/INFO]: Running PAPER 1.21.
[17:58:58] [Server thread/INFO]: (1.21-130-b1b5d4c (MC: 1.21))
[17:58:58] [Server thread/INFO]: BentoBox version: 2.4.1
[17:58:58] [Server thread/INFO]: Database: JSON
[17:58:58] [Server thread/INFO]: Loaded Game Worlds:
[17:58:58] [Server thread/INFO]: oneblock_world (OneBlock): Overworld
[17:58:58] [Server thread/INFO]: Loaded Addons:
[17:58:58] [Server thread/INFO]: AOneBlock 1.17.0 (ENABLED)
[17:58:58] [Server thread/INFO]: Bank 1.7.1 (ENABLED)
[17:58:58] [Server thread/INFO]: Level 2.14.1 (ENABLED)
[17:58:58] [Server thread/INFO]: Limits 1.22.0 (ENABLED)
[17:58:58] [Server thread/INFO]: Upgrades 0.3.0-SNAPSHOT-b133 (ENABLED)
[17:58:58] [Server thread/INFO]: Visit 1.6.0 (ENABLED)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question Question or issue related to configuration, API or features.
Projects
None yet
Development

No branches or pull requests

2 participants