BentoBox icon indicating copy to clipboard operation
BentoBox copied to clipboard

Add a placeholder expansion for Papi

Open MonsterMilo opened this issue 11 months ago • 4 comments

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

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

Other

No response

MonsterMilo avatar Jan 28 '25 00:01 MonsterMilo

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 avatar Jan 28 '25 08:01 BONNe

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.

MonsterMilo avatar Jan 28 '25 15:01 MonsterMilo

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

Can you share the output of /bentobox version command?

BONNe avatar Jan 28 '25 16:01 BONNe

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)

MonsterMilo avatar Jan 28 '25 18:01 MonsterMilo