#placeholder-api

1 messages · Page 190 of 1

mental night
#

👍

lunar agate
#

Protocollib don't work with 1.18.2 ?

#

@sharp jay don't working anymore 😦

tender vaporBOT
lunar agate
mental night
#

probably need to update it

lunar agate
#

I have all the plugins in the latests version

#

Like Placeholders can't download the extensions for any plugins

#

"[09:56:54] [Server thread/WARN]: [HolographicDisplays] The plugin HolographicExtension registered the placeholder {fast} with the old v2 API, but it doesn't comply with the new format. In order to display it, you must use {{fast}} instead.
[09:56:54] [Server thread/WARN]: [HolographicDisplays] The plugin HolographicExtension registered the placeholder {medium} with the old v2 API, but it doesn't comply with the new format. In order to display it, you must use {{medium}} instead.
[09:56:54] [Server thread/WARN]: [HolographicDisplays] The plugin HolographicExtension registered the placeholder {slowest} with the old v2 API, but it doesn't comply with the new format. In order to display it, you must use {{slowest}} instead.
[09:56:54] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[09:56:54] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[09:56:54] [Server thread/INFO]: Done (88.439s)! For help, type "help"
container@pterodactyl~ Server marked as running...
[09:56:54] [Server thread/ERROR]: [PlaceholderAPI] failed to load class files of expansions
[09:56:54] [Craft Scheduler Thread - 3/INFO]: [SUCCESS] CustomJoinAndQuitMessages is up to date!
"

#

Oh I fianlly fixed my problem ty everyone !

violet vector
#

I have a strange issue. I want to use placeholderapi scoreboard objectives in holographicdisplay plugin. The placeholders from papi looks like this: %objective_score_{<obj-name>}%

but in HolographicDisplays looks like this: {papi: name_of_placeholder}

so assuming it will be sth like this: {papi: objective_score_{ts_Deaths}}

I mean two }} near to each other. It does not work.

mint fable
#

other than that you can try using javascript as a workaround

#

making a js placeholder that just returns the value of the other placeholder you want

flat pulsar
#

me too (mven)

untold crater
#

have you added the papi repository

tardy rain
#

Anyone know the placeholder for battlepass_available_quests__%week%?

simple nova
#

is there update for papi ?

#

or not needed

warm topaz
#

for what?

#

there was the 2.11.1 update that came out like 3 months ago

high hemlock
#

some one help me

#

this error

#

[19:51:29 WARN]: [PlaceholderAPI] Task #141 for PlaceholderAPI v2.11.1 generated an exception
org.bukkit.plugin.messaging.ChannelNotRegisteredException: Attempted to send a plugin message through the unregistered channel BungeeCord'. at org.bukkit.plugin.messaging.StandardMessenger.validatePluginMessage(StandardMessenger.java:544) ~[patched_1.17.1.jar:git-Paper-409] at org.bukkit.craftbukkit.v1_17_R1.entity.CraftPlayer.sendPluginMessage(CraftPlayer.java:1722) ~[patched_1.17.1.jar:git-Paper-409] at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.getServers(BungeeCordExpansion.java:108) ~[?:?] at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.access$100(BungeeCordExpansion.java:45) ~[?:?] at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion$1.run(BungeeCordExpansion.java:201) ~[?:?] at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Paper-409] at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[patched_1.17.1.jar:git-Paper-409] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1567) ~[patched_1.17.1.jar:git-Paper-409] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:490) ~[patched_1.17.1.jar:git-Paper-409] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483) ~[patched_1.17.1.jar:git-Paper-409] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282) ~[patched_1.17.1.jar:git-Paper-409] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-409] at java.lang.Thread.run(Thread.java:833) ~[?:?] [19:51:43 INFO]: 1B_nxy issued server command: /hd delete testing

tender vaporBOT
high hemlock
#

[19:51:59 WARN]: [PlaceholderAPI] Task #141 for PlaceholderAPI v2.11.1 generated an exception org.bukkit.plugin.messaging.ChannelNotRegisteredException: Attempted to send a plugin message through the unregistered channel BungeeCord'.
at org.bukkit.plugin.messaging.StandardMessenger.validatePluginMessage(StandardMessenger.java:544) ~[patched_1.17.1.jar:git-Paper-409]
at org.bukkit.craftbukkit.v1_17_R1.entity.CraftPlayer.sendPluginMessage(CraftPlayer.java:1722) ~[patched_1.17.1.jar:git-Paper-409]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.getServers(BungeeCordExpansion.java:108) ~[?:?]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.access$100(BungeeCordExpansion.java:45) ~[?:?]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion$1.run(BungeeCordExpansion.java:201) ~[?:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Paper-409]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1567) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:490) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-409]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[19:52:29 WARN]: [PlaceholderAPI] Task #141 for PlaceholderAPI v2.11.1 generated an exception

tender vaporBOT
high hemlock
#

oops

radiant plaza
steady field
#

Hey!

I am trying to get a placeholder for amount of sugar cane the player as break, anyone know how to do this?

radiant plaza
#

%statistic_break_item:<material>%

steady field
radiant plaza
#

%statistic_mine_block:SUGAR_CANE%

#

@steady field

steady field
#

Thank you, I will give that a try now.

#

[14:07:20 ERROR]: [PlaceholderAPI] [Statistic Expansion] Could not get the statistic 'MINE_BLOCK' for 'SUGAR_CANE'
java.lang.IllegalArgumentException: The supplied Material does not have a corresponding statistic
at org.apache.commons.lang.Validate.notNull(Validate.java:192) ~[server.jar:git-TacoSpigot-bf023c7d]
at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.getStatistic(CraftPlayer.java:701) ~[server.jar:git-TacoSpigot-bf023c7d]
at com.extendedclip.papi.expansion.mcstatistics.StatisticsExpansion.onRequest(StatisticsExpansion.java:195) [Expansion-Statistic.jar:2.0.1]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:237) [PlaceholderAPI.jar:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:377) [PlaceholderAPI.jar:?]
at me.clip.deluxemenus.menu.MenuItem.getItemStack(MenuItem.java:320) [DeluxeMenus.jar:?]
at me.clip.deluxemenus.menu.Menu$2.run(Menu.java:246) [DeluxeMenus.jar:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59) [server.jar:git-TacoSpigot-bf023c7d]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) [server.jar:git-TacoSpigot-bf023c7d]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_312]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_312]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]

radiant plaza
#

Ummm

#

Staffs might help ig

steady field
#

Yeah, thanks anyway 😄

void jungle
untold crater
high hemlock
#

i cant use bungee placeholders

#

helpppp

#

[19:52:59 WARN]: [PlaceholderAPI] Task #141 for PlaceholderAPI v2.11.1 generated an exception
org.bukkit.plugin.messaging.ChannelNotRegisteredException: Attempted to send a plugin message through the unregistered channel `BungeeCord'.
at org.bukkit.plugin.messaging.StandardMessenger.validatePluginMessage(StandardMessenger.java:544) ~[patched_1.17.1.jar:git-Paper-409]
at org.bukkit.craftbukkit.v1_17_R1.entity.CraftPlayer.sendPluginMessage(CraftPlayer.java:1722) ~[patched_1.17.1.jar:git-Paper-409]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.getServers(BungeeCordExpansion.java:108) ~[?:?]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.access$100(BungeeCordExpansion.java:45) ~[?:?]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion$1.run(BungeeCordExpansion.java:201) ~[?:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Paper-409]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1567) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:490) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-409]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[19:53:29 WARN]: [PlaceholderAPI] Task #141 for PlaceholderAPI v2.11.1 generated an exception

tender vaporBOT
high hemlock
void jungle
ashen storm
#

help

grand shard
#

%player_has_permission_mysqleconomybank.use%
this is always returning yes even the permission is removed froma player
any possible fix?

#
lp user narayanadi2017 permission set mysqleconomybank.use slimefun false
[17:50:51 INFO]: [LP] narayanadi2017 already has mysqleconomybank.use set in context server=slimefun, world=false.
papi parse narayanadi2017 %player_has_permission_mysqleconomybank.use%
[17:50:54 INFO]: yes
#

console output to show that i set perms to false

lusty sparrow
#

i need help for this error 🤔

warm topaz
#

we don't support modded servers

#

only spigot servers

vivid sparrow
#

as you can see, the permission is set on server=slimefun and world=false

#

put false after the node

lusty sparrow
#

ok thx

grand shard
vivid sparrow
#

Np

radiant plaza
steady field
radiant plaza
#

%statistic_mine_block:SUGAR_CANE_BLOCK%

radiant plaza
steady field
#

Will try that when I get back on my pc 🙂

radiant plaza
#

okay

void jungle
simple nova
#

gaby

vivid sparrow
#

?

sharp jay
#

?

turbid tide
#

?

untold crater
#

?

hasty sage
#

How can i do edit expansion or create?

stark shard
#

to add an expansion do /papi ecloud download <expansion> then /papi reload to remove one go to plugins > placeholderapi > expansions > then remove the expansion

fading tundra
#

https://gyazo.com/06b25ceb0e3bf9f62f2440cbce9dfc07.png
https://gyazo.com/e4598fb42a74c4baf109c539ddc2ffd3.png

     material: head-%essentials_baltop_player_0%
     slot: 12
     update: true
     display_name: '&b&l[!] &f&n%essentials_baltop_player_0%&7 (#1)'
     lore:
     - ''
     - '&f&l* &b&lBalance &7$%vault_eco_top_balance_commas_1%'
     left_click_commands:
     - '[close]'
     right_click_commands:
     - '[close]'```

I have the PAPI extension from [#placeholder-api message](/guild/164280494874165248/channel/573429521554866178/) installed for the Baltop placeholders. When I run the /baltop command, it shows this; https://gyazo.com/decfaa316dab021b3a6d5c87d374e4eb.png, Although both me and another user have more than $0.

When I open up my DeluxeMenu, This is what shows up.

https://gyazo.com/03badc9ffe2f348ab423adf14796975a.png
compact wharf
#

https://paste.helpch.at/ofukehiner.md anybody know what that means? it happens on startup, i just recently got back into minecraft servers and the old papi plugin was outdated and i didnt want to start over with /papi ecloud download every plugin i have. so i just left the folder in and tried to start it up but not sure what to do now.

vivid sparrow
#

Update the server expansion @compact wharf

compact wharf
#

how do i do that?

vivid sparrow
#

/papi ecloud download server

compact wharf
#

ah lol thanks

hasty sage
fervent spire
radiant plaza
steady field
radiant plaza
steady field
high hemlock
#

sry abt the caps

potent spear
#

Is there any point using Placeholder API asynchronously for PlayerQuitEvent? It means I can't use the display name, and I think there's a reason why the event itself isn't async. I just don't want to lag the server.

high hemlock
#

hey im getting this error

#

[11:30:25 WARN]: [PlaceholderAPI] [math] Placeholder: %math_0_{player_health}/2%
[11:30:25 WARN]: [PlaceholderAPI] [math] '{player_health}/2' is not a valid Math Expression.

#

can someone guide me

high hemlock
#

am i supposed to use this?

radiant plaza
high hemlock
radiant plaza
high hemlock
radiant plaza
high hemlock
#

it worked thanks!

radiant plaza
#

👍

high hemlock
# radiant plaza 👍

btw is there any placeholder that shows the number of hearts a player has(in number) instead of the health

#

eg - ❤️10

#

like that

radiant plaza
#

Try both , idk which one is that

high hemlock
high hemlock
radiant plaza
#

🤦‍♂️

high hemlock
radiant plaza
radiant plaza
high hemlock
high hemlock
radiant plaza
high hemlock
tribal grove
#

are there dev builds of this plugin?

potent spear
potent spear
austere hawk
#

Unless you're doing something dumb in it

potent spear
#

I was more worried about the placeholder processing taking time.

cold adder
#

when I type /papi ecloud download Player or any other expansions it says there is no expansion named Player. can someone help?

austere hawk
#

Of course not as quick as getting the actual data from somewhere though instead of passing it through a placeholder

potent spear
#

I plan to make it public. That's why.

austere hawk
#

You can probably make a pretty simple performance test if it worries you that much

potent spear
#

Even if it's 1ms, that a thousand times a second isn't good. Although that hypothetical server should probably get a queue plugin.

austere hawk
#

Yeah I don't really think any server has a thousand players joining every second :P

potent spear
#

Join event can be async

#

But why is there an async chat event in that case?

austere hawk
#

iirc if the chat event is not async, it listens on the main thread and it delays chat a bit so

#

async, not delayed. I really need to get some sleep lmao

potent spear
#

Okay. Don't want to keep you awake!

#

I'm pretty sure there's a sync chat event too that works perfectly fine.

austere hawk
#

Oh yeah there is

#

Hold on.

#

But you really shouldn't have to worry too much about doing your join/leave events on a different thread.

potent spear
#

I'm just a bit worried because the event sometimes takes 19ms.

austere hawk
#

What placeholder are you parsing?

potent spear
#

And the chat events are on another thread.

#

Just a simple %player_displayname%. It's probably because it needs to initialise its cache the first time thinking about it.

austere hawk
#

Right, why do you need to use a placeholder for that though?

potent spear
#

So it can be configured to display other info.

#

It's also calling the placeholder function quite a lot of times.

austere hawk
#

Oh are you adding like a configurable message when a player leaves?

potent spear
#

I'm creating a Discord bridge. I just want it to be more object-based, extendable and customisable than alternatives.

The config will probably help you understand more: https://paste.helpch.at/eponunotip.yaml.

#

No pressure to help me if you don't want to and need some sleep.

austere hawk
#

Very interesting. But yeah I think you're good to use any placeholders there. If performance ever becomes a problem you can probably look into making it async, but I doubt that'd really happen

potent spear
#

I just wanted consistency because I don't want chat to be async and other events to be sync

#

I'm probably just obsessed with making things work in every possible situation.

#

I guess 0.5-2 ms isn't bad, then?

austere hawk
#

It most definitely is not haha

potent spear
#

A tick has to take longer than 50 ms to lag the server.

#

So probably not.

austere hawk
#

Did you do any performance tests to get that?

potent spear
#

Just a subtraction xD

#
long start = System.nanoTime();

plugin.sendEventToDiscord("quit",
                    new MinecraftToDiscordEvent(event.getPlayer()));

System.out.println(((System.nanoTime() - start) / 1000000F) + "ms");
#

Very advanced performance tests

austere hawk
#

beautiful

#

It seems like you're putting in the whole event to the test too, not just the placeholders. Would be even quicker if I had to guess

#

Unless that's the async one you talked about

potent spear
#

It sometimes even takes 6ms, but I guess servers don't usually have a web browser and IDE in the background, and a better CPU would probably not even care.

austere hawk
#

Yeah, and also in the extreme case that like, a hundred players join at the same time or whatever, I'm pretty certain there'd be some other things bogging down the server WAY more than your placeholders haha

potent spear
#

It would matter more if the competition was better.

#

The competition being the Minecraft server.

ocean fiber
#

Is it possible to have in my scoreboard:

Players alive: 77
Death players: 23

(And the players who have died are in spectator)

potent spear
mental night
cold adder
tender vaporBOT
#
FAQ Answer:

Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.

turbid tide
#

see ^^

cold adder
#

thanks

gloomy harbor
#

how to install papi of bedwars 1058 ?

radiant plaza
gloomy harbor
#

ty

gloomy harbor
#

uh thank u im very stupid

radiant plaza
gloomy harbor
#

I'm on spigot 1.8.8

radiant plaza
placid thorn
#

having an annoying issue

#

papi world name doesn't wanna work with my scoreboard(s)

#

I've tried a couple

#

none wanna work

#

it just shows nothing

mint fable
#

@placid thorn Have you downloaded the expansion?

placid thorn
#

mmhmm

#

and reinstalled the plugin multiple times

mint fable
#

do other papi placeholders work?

placid thorn
#

yup-

#

perfectly fine

#

as one of the alternate scoreboards had placeholders by default

mint fable
placid thorn
#

the only one I want rn is the world one

#

wait which scoreboard?

mint fable
#

couple expansions have a way to do that

#

nah, I thought you meant a couple placeholders

placid thorn
#

oh n

#

no I tried multiple scoreboards

mint fable
#

%player_world% is one way

placid thorn
#

ohh

mint fable
#

try that

placid thorn
#

ok

#

k that worked

#

thx]

#

k @mint fable is there a world to make it use the world alias instead (I use multiverse)

mint fable
#

yes multiverse has placeholders

wet basinBOT
#

@mint fable Unknown expansion.

mint fable
#

ah well, it's on the link I sent

mint fable
mint fable
#

blame discord

#

it's their embed system

sharp jay
#

ayo

placid thorn
#

ah

#

worked

#

tysm

sharp jay
#

👍

terse ocean
#

Hey maybe I misunderstand how the placeholder api works. But how often does placeholder api refresh? Especially if you make custom player data?

errant iron
#

It doesn't refresh

#

It is just an API. You have to update your parsing of the placeholder however often you want it to refresh

terse ocean
#

Thanks

soft ocean
#

opes

deep hollow
#

Hey, it's possible to create a javascript to show average blocks mined per day of one player having %ezblocks_blocks% for example?

I could pay for it, thanks!

mental night
empty wyvern
#

help
i have installed the plugin and started my server
but when i do /papi ecloud download [what i need] it says unknown command

#

and if i do /pl it says there is no PAPI

radiant plaza
#

the plugin is enabled or not

empty wyvern
#

yea there is a very long error

radiant plaza
empty wyvern
#

maximum characters

radiant plaza
#

use /paste

tender vaporBOT
empty wyvern
untold crater
#

can you send the rest of the error below it

radiant plaza
#

yeah

untold crater
#

probably a load of lines starting with 'at'

#

@empty wyvern are you using bukkit 1.7?!

empty wyvern
untold crater
empty wyvern
#

lol

slate adder
#

hi guys i really need a support to help me

empty wyvern
#

7 years?

turbid tide
#

almost 8

slate adder
#

blitz i need a support pls

#

papi is not working nice on my server idk why

turbid tide
#

with what mate? I can't guess what your problem is

#

what does "is not working nice" mean? what's not working exactly?

slate adder
#

when i enter the command /papi ecloud download ... it say the command is not reconise

turbid tide
#

Mimmoll btw PAPI doesn't support 1.7.# anymore. so that's probably what's going on there.

slate adder
#

yes

slate adder
#

spongeforge

#

mod + plugins

#

so maybe this ...

turbid tide
#

I mean PAPI was never meant to work on modded servers so maybe. can you restart your server and send a startup log?

tender vaporBOT
#
FAQ Answer:

Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.

slate adder
#

ok

#

can i mp u ?

turbid tide
#

nope. my dms are closed. you should put it in a paste bin and send it here.

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
HelpChat Paste - How To Use

slate adder
#

ok

#

how can i send u a picture i can't get the logs

#

i will send u the error message on minecraft

turbid tide
#

why can't you get the logs?

tender vaporBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.

slate adder
#

because there is command blocks how is spamming on the cmd

#

when i enter the command /papi ecloud download MVdW it saying "inpout command ecloud was not a valid subcommand" usage: /papi reload:enable:disable:parse:list:info

#

can i download manually the MVdW ?

turbid tide
#

I guess

slate adder
#

thx a lot

#

and where i put the file ?

turbid tide
#

plugins/PlaceholderAPI/expansions

slate adder
#

thx

foggy crown
#

Hi, is this where I can ask for questions/concerns for Javascript?

random apex
#

Hey guys, wanted to ask if Papi is also available for version 1.18.2?

turbid tide
#

yeah

amber silo
radiant plaza
amber silo
radiant plaza
amber silo
#

GemsEconomy

radiant plaza
#

Use it's placeholder

amber silo
#

or any other that you recommend me to use?

radiant plaza
amber silo
#

for 1.8?

#

or 1.18?

radiant plaza
#

There are several plugins on spigot, search some

amber silo
#

Yes, but I don't understand why vault doesn't work for me a few days ago it worked fine for me Thanks

amber silo
#

If it is your latest version

clear dust
#

I have this crazy idea to give players a command like /nft that adds a unique code to the lore of the item they are holding.
Only issue is im not too sure how to go about making said code. I was thinking some placeholder in the command. like I could use their UUID but i feel eeeh about having that viewable by other players. is there some kind of way i could add SALT to the UUID so it cant be reversed back but still be unique?

clear dust
#

Im not sure that's quite what i'm after. Would be nice if they could make more than 1 stack the same and couldnt someone else get the same random number?

#

the idea was to be unique to a player. I guess to that extent just their name would work..

radiant plaza
radiant plaza
clear dust
#

Hmm yes indeed.
I may be able to let the players type in their own code. and auto gen the permission node part for them. IE check if they have XX.Name if not add it. then rest of command to add lore.

#

nvm wont work as the placeholder would be in the lore of the item it would not update depending on who is looking at it.

#

still a really cool placeholder tho ty

surreal escarp
#

hi i want to use this %server_time_MMM dd, yyyy% but coz im greek it shows the Mar (MMM) with greek letters. How can i change that to english?

radiant plaza
wet scaffold
#

How can I get a placeholder of a other player? e.g. %luckperms_prefix%

wet scaffold
#

I want in a msg-system to get the prefix of a other player

#

Not of the player that sees the message

radiant plaza
#

/papi ecloud download ParseOther

turbid tide
#

the parseother expansion allows you to parse placeholders for other players

radiant plaza
turbid tide
#

%parseother_{OTHER-PLAYER-NAME}_{PLACEHOLDER-WITHOUT-%}%

wet scaffold
amber rivet
#

How can I write a space in a placeholder argument?

radiant notch
#

hey none of my placeholders are showing up

#

error on console ^

trim mist
#

You have an expansion for MineReset and you don't have the plugin for it. Remove the expansion.

radiant plaza
#

in expansions folder

amber rivet
# radiant plaza ?

I want to use the ChangeOutput expansion to display a text if a placeholder is not null

winter kindle
edgy thunder
#

hello every1 is there a way to display with placeholders multiples luckperms suffix? something like the same person have the group 1, 2 and 3, and i want to display in the chat the suffix of rank 1, 2 and 3 at the same time

winter kindle
#

Hello all!

thonking I come with my beginner question.
Currently i am trying to configure server running tab/holographic display with papi and i am not able to insert anything vault related.

#

I wanted to make scoreboard with some statistics and put there players balance as well, but this happens (Image)
I tried use it in holographoc display but neither is it working there.

#

Is vault / papi not working properly or i am just ret*rded and made some mistake along the way?

edgy thunder
#

@winter kindledo you have installed the ecloud expansion for vault?

winter kindle
winter kindle
edgy thunder
winter kindle
#

bro... ❤️
ⁿᵒ ʰᵒᵐᵒ

#

but... hd i still refusing to cooperate

#

what was that neat thingy to tell it that i want papi placeholders, not it's own?

edgy thunder
#

i dont use hd btw but check out the config or try making a reload

mental night
#

as well as enabled the vault eco top in the placeholderapi config

winter kindle
#

no, and no

#

where can i download that extension?

tender vaporBOT
#

v1.10.9 by Niall7459
Animations and placeholders in Holographic Displays

Downloads:

108,718

Rating:

4.4★

Reviews:

82

winter kindle
#

it doesnt show up un ecloud download

mental night
#

I believe

#

its an extra plugin

winter kindle
#

❤️
ⁿᵒ ʰᵒᵐᵒ ᵃˢ ʷᵉˡˡ

mental night
#

let me know how it goes

austere hawk
#

how do I make it so when I put the vault economy placeholder, instead of $0.0 it should be $0

mental night
#

or use the math expansion to get rid of decimals if u have a preferred placeholder but it keeps the .0

torn forge
#

I'm trying to make a leaderboard scoreboard for breaking the most diamond ore, however I can't seem to find a way to tie the player's name to the amount of blocks broken. I'm using the Scoreboard Objective expansion, but not sure how to tie a playername to the ranking on the objective.

austere hawk
fading tundra
#

https://gyazo.com/06b25ceb0e3bf9f62f2440cbce9dfc07.png
https://gyazo.com/e4598fb42a74c4baf109c539ddc2ffd3.png

     material: head-%essentials_baltop_player_0%
     slot: 12
     update: true
     display_name: '&b&l[!] &f&n%essentials_baltop_player_0%&7 (#1)'
     lore:
     - ''
     - '&f&l* &b&lBalance &7$%vault_eco_top_balance_commas_1%'
     left_click_commands:
     - '[close]'
     right_click_commands:
     - '[close]'```
I have the PAPI extension from [#placeholder-api message](/guild/164280494874165248/channel/573429521554866178/) installed for the Baltop placeholders. When I run the /baltop command, it shows this; https://gyazo.com/decfaa316dab021b3a6d5c87d374e4eb.png, Although both me and another user have more than $0.

When I open up my DeluxeMenu, This is what shows up.

https://gyazo.com/03badc9ffe2f348ab423adf14796975a.png
mint fable
#

Also looks like you should update deluxemenus and maybe essentials

surreal escarp
#

same thing

#

can anyone else help me? i want to show the date like Apr 1 2022 but the Apr is shown with greek letters coz im greek and i wanna change that to english

short shoal
#

Hello, could I somehow prevent that from spamming my console when new player joins? It happens only because he has 0 from both of the placeholders, for other players it works fine without spamming

12:57:27[WARN] [PlaceholderAPI] [math] Placeholder: %math_{statistic_player_kills}/{statistic_deaths}%
12:57:27[WARN] [PlaceholderAPI] [math] '0/0' is not a valid Math Expression.```
radiant plaza
torn forge
potent spear
surreal escarp
#

In start.bat?

radiant plaza
radiant plaza
surreal escarp
#

Ok i'll try

#

So there is not other way to do it with papi expansion

#

Only with that way or if it don't work then i must find a plugin for that thing

tender vaporBOT
# fading tundra yeah
Hey!

Please respect the rules, be patient and don't ping staff members!

fading tundra
#

Meanie, He asked me a question

mint fable
#

in you run /baltop twice does it load or nah?

compact wharf
#

has deluxetags been removed from papi?

#

tried /papi ecloud download DeluxeTags and it said couldnt find expansion

balmy marten
#

It's built in to deluxetags now

#

No need for an external expansion

compact wharf
tender vaporBOT
# compact wharf https://paste.helpch.at/ipimoziyix.sql
Possible Solution Found:

DeluxeTags no longer requires an expansion! Go to plugins/PlaceholderAPI/expansions and delete the DeluxeTags expansion. Restart the server afterwards.

compact wharf
#

hmm mr barry i shall see if that works

#

jesus im talking to a bot i need some sleep lol

mental night
#

he’s a good bot it’s okay

cunning bloom
#

hi can anyone help me?

#

@mint fable can you help pls?

tender vaporBOT
cunning bloom
#

oh okay

#

sry

mental night
#

use %player_name%

#

make sure you have the Player Expansion installed

#

/papi ecloud download Player
/papi reload

cunning bloom
#

i have

#

but no works

cunning bloom
#

i have alr downalod

#

but no works

mental night
#

What plugin?

#

are you using

cunning bloom
#

gui+

#

is that

#

with the menu

#

ohh now

#

i need to reset server

mental night
#

never heard of gui+ but i recommend using deluxemenus for any guis

radiant plaza
mental night
#

download the expansions from the website instead ig

dawn hedge
#

guys, if my identifier is player_vote_event

what does the 'params' actually returns in public String onRequest(OfflinePlayer player, String params) ?

#

example player_vote_event_XYZ ?

#

I mean, does it returns "XYZ" ?

warm topaz
#

yes

dawn hedge
#

hmm, but for some reason, when I parse

#

% player_vote_event_acBee %, it does not parses an integer
` @Override
public String onRequest(OfflinePlayer player, String params) {

    if (plugin.getStatsCache().containsKey(params)) {
        return plugin.getStatsCache().get(params).toString();
    }

    return null; // Placeholder is unknown by the Expansion
}`
dawn hedge
#

it seems there are problems if identifier contains '_'

#

my bad then

worldly pendant
#

nvm i forgot to put it in my softdepend

cunning bloom
#

how i can do that

#

with placehodler

#

holder*

untold crater
#

which part of it?

cunning bloom
#

of lobby

untold crater
#

just set that per npc

cunning bloom
#

okay no problem

#

more

#

i need that not

crisp fractal
#

Guys

#

Look I need help!

pallid stone
#

Guys my custom placeholders are not working and i can't understand why

#

this is my code


public class Placeholders extends PlaceholderExpansion {

    private final Knockffa plugin;

    public Placeholders(Knockffa plugin) {
        this.plugin = plugin;
    }

    @Override
    public @NotNull String getIdentifier() {
        return "techwolfx";
    }

    @Override
    public @NotNull String getAuthor() {
        return "MasterWolfx";
    }

    @Override
    public @NotNull String getVersion() {
        return "1.0";
    }

    @Override
    public boolean persist() {
        return true;
    }

    @Override
    public boolean canRegister(){
        return true;
    }

    @Override
    public String onRequest(OfflinePlayer player, @NotNull String params) {

        /*if (params.equalsIgnoreCase("name")) {
            return player == null ? null : player.getName();
        }*/

        User user = plugin.getDb().getUser(player.getUniqueId().toString());
        if (user == null)
            return "error";

        if(params.equalsIgnoreCase("kffa_kills")) {
            return Integer.toString(user.getKills());
        }
        if(params.equalsIgnoreCase("kffa_deaths")) {
            return Integer.toString(user.getDeaths());
        }
        if(params.equalsIgnoreCase("kffa_test")) {
            return "hello";
        }

        return null;
    }
}

#

This is what i get on console when loading plugins: [PlaceholderAPI] Successfully registered expansion: techwolfx [1.0]

#

and when i try papi parse is not working

#

it just show the placeholder

untold crater
#

what placeholder are you giving it?

#

it should be formatted as %identifier_params%

#

so there, %techwolfx_kffa_kills%

pallid stone
#

oh

#

i was just giving %kffa_kills%

#

thank you

burnt island
#

Hey there, i'm trying to use PAPI for a DeluxeTags placeholder in animated scoreboard, but it's not working-

When I run "/papi ecloud download DeluxeTags" it says "Failed to find an expansion named: DeluxeTags"

And when I run "/papi parse me %deluxetags_tag% it says
"An internal error occurred while attempting to permorm this command"

Can anyone pretty please help?

tender vaporBOT
# burnt island https://pastebin.com/aHdJFLae
Possible Solution Found:

DeluxeTags no longer requires an expansion! Go to plugins/PlaceholderAPI/expansions and delete the DeluxeTags expansion. Restart the server afterwards.

burnt island
#

Huh

#

Smart bot

#

Thankyou mister bot, very well done

untold crater
#

barry is a good man

daring holly
#

what are possible reasons that my placeholder isn't registering?

untold crater
#

good question

#

it would be helpful to have some more context

proper pike
#

Hi there my friend got my IP stolen on my server what should i do

untold crater
#

what

#

are you looking for discord support by any chance

#

?not-discord

tender vaporBOT
#
FAQ Answer:

Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.

high hemlock
#

how do i get the placeholder that shows the number of players online in sub server (im using bungee)

untold crater
#

?papi bungee

#

that was not the command

#

that is the command

#

what was it btw

sharp jay
untold crater
#

ah thanks

sharp jay
#

yup

high hemlock
#

?papi bungee

#

@untold crater i forgot send xd

#

ty

untold crater
#

the second one is what you need i presume

radiant notch
#

my vault and griefprevention placeholders arent working for some reason

untold crater
#

have you recently removed a quests plugin

#

if so, you still have the papi expansion installed and should remove the jarfile

radiant notch
#

i have not removed quest plugin

untold crater
#

is anything red in /pl

radiant notch
turbid tide
#

@radiant notch exactly. you have the quest expansion but not the plugin. the plugin is disabled so the expansion breaks

radiant notch
#

no before i had the expansion and the plugin it was working fine
all of a sudden it broke and i disabled the expansion and its working fine now

turbid tide
#

yes. exactly. the expansion breaks and it takes down the entire loader with it

dense trail
#

%armor_amount_SLOT%
Is this the only placeholder to parse item armor that a user is wearing ?

turbid tide
#

which means no expansion after the quest one loads

radiant notch
#

ah okay

thin pine
tender vaporBOT
tender crown
#

i need help for Placeholder APi

#

so the new Version not work

untold crater
#

what do you mean by "not work"?

#

?help

tender vaporBOT
#
FAQ Answer:
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait

Source

high hemlock
#

does papi world with holograms???

#

cuz idk the bungee placeholders isnt working with holograms

stoic grove
high hemlock
stoic grove
#

If you're using v2, you need to install the HolographicExtention, or whatever is called; otherwise join their discord server for support

stoic grove
#

otherwise join their discord server for support

tender vaporBOT
#
Available FAQ Answers:
FAQ Keys
arrow-code
autosellapi
best-vps-deal
bug-with-dd
challenges
checkitem
codeblocks
colors
database
dc-fuuid
dc-towny
di
dictionary
discorddev
dm-1.10.5
dm-base64
dm-builds
dm-deny
dm-editor
dm-external
dm-filler
dm-glow
dm-heads
dm-requirements
dm-update
docs```
FAQ Keys
ecloudblock
enchant-format
enchants
entities
ess-builds
flags
help
hidden-roles
hosting
hosting-free
hosting-paid
hotswap
imgur
item-data
javadocs
jdk
js-factionname
js-tag
json
learn-java
luckperms
materials
mf
need-help
nojquery
not-discord```
FAQ Keys
open_requirement
open_requirement:

optimize
papi-builds
papibot
particles
paste
placeholders
player
pls-no
plsnoarrowcode
plsnolombok
roleperks
site
solid
sounds
spigot
spigotid
startuplog
tagess
tryandsee
welcome-screen
wiki
xy
yaml```
austere hawk
#

Hey, Placeholder api support AdvancedNMotd plugin?

granite galleon
#

Hi there guys!

#

This placeholder of MATH, doesnt parse when both placeholder equals 0
Basically when a new player joins

#

%math_2:2_{statistic_player_kills}/{statistic_deaths}%

turbid tide
austere hawk
#

do you know if it supports?

turbid tide
turbid tide
carmine veldt
#

do js or python throw errors for division by 0?

granite galleon
#

Mmm i see

carmine veldt
#

they seem like the kind of languages which wouldn't

granite galleon
#

Any way to resolve this?

turbid tide
turbid tide
carmine veldt
#

javascript has a value for infinity?

carmine veldt
#

lol

granite galleon
#

I was thinking maybe, when you divide something by 0, then apply the first value?

#

Like if its 5/0, then it would apply 5?

turbid tide
surreal escarp
#

is there any placeholder that shows something that &aonline and &coffline depending on server's status?

vivid sparrow
#

Pinger

surreal escarp
#

and how does it work

round herald
#

How to use Expansions in config.

I put

essentials_afk
  'true': 'Absent'
  'false': 'Online'

But nothing change.

surreal escarp
tender vaporBOT
surreal escarp
#

sry

#

i mean my server is bungeecord and i won't open the backend servers ports

jolly herald
#

could anyone helo by chance? having many errors with papi and im on latest 18.2

#

heres pastebin

austere hawk
#

Jokes aside seems like its having issues with the %player_ping% placeholder

#
  1. Try updating the expansion with /papi ecloud update Player
  2. try to just not use %player_ping%
jolly herald
#

oki

#

an heyooo lol

#

i think that fixed it..

#

yep

austere hawk
#

woohoo

jolly herald
#

no more panel spam

#

now i gotta somehow fix some rank plugin i use

austere hawk
#

Good luck! 👍

jolly herald
#

LOL i did papi update all andd wallah

#

what a blessing

#

only plugin thats broken rn is nte [nametagedit'

sour flower
#

Is there a placeholder for adding two bungee network online players together to get the total?

Survival 1 + survival 2 = survival total playing

sharp jay
#

use math placeholder

sour flower
#

Wrong channel 😭 sorry

#

But thank you.

crude crater
#

I had a problem with papi where everytime I restarted the server i had to register the jar files for expansions

#

and it's getting tedious

short bramble
tender vaporBOT
short bramble
#

i do not understand this

#

why does it say this

#

i litterly didnt have this error when i did the same thing

elder palm
#

Would be good to see the file it's complaining about.

short bramble
#

how do i know that?

#

oh wait i migth know why

#

i accedently deleted my ondisable

short bramble
#

nope

#

not it

heady oar
#

hello to everyone who needs a developer of servers and assemblies

austere hawk
#

hello

#

I want to display the number of block pose I saw on placeholderapi that the placeholder %aach_total_places% but I can not put it in the tab is this normal?

raven dragon
#

Hey

#

Does anyone know the palceholder for online played amount of player?

raven dragon
#

also what do you have in the expansion folder

austere hawk
#

i search a good place holder for block places player

raven dragon
#

Try this

#

%statz_blocks_placed%

#

first do

#

./papi ecloud download Stats

#

Statz*

austere hawk
#

can you give me in dm wiki

#

statz

#

?

raven dragon
#

Found the placeholder

#

%playertime_time%

#

but

#

here u

#

go

#

o

#

Does anyone know?

austere hawk
#

%statz_blocks_placed% no work with tab

hasty sage
#

help me

sharp jay
#

You can make a JS papi extension

#

to make that happen

rigid wharf
#

I know this is a very niche request, but does anyone know a placeholderapi expansion which I could use to randomly divide players into groups?

#

So like player 1 would be group A and player 2 would be group B

livid falcon
#

add " java "

#

javascript orr javaskript

#

first one

#

Bingo

#

javascript is broken

#

Idk, i've been asking for that for a long time

mint fable
#

wot

#

you can

#

skript expansion

livid falcon
#

We got the same issue where javascript parse is blank

mint fable
#

called skipi or somethin

#

i'm very confused

#

Keomute

#

you are saying javascript

#

Vpx wants Skript variables

mint fable
livid falcon
#

Both come to the same result, blank when parse

mint fable
#

skript is a thing

#

I think you're confused

#

javascript != skript

livid falcon
#

rlly ?

mint fable
#

that's why they use the k

#

to differentiate

livid falcon
mint fable
#

you want this

#

it's called skript/skippi

livid falcon
#

🤔

mint fable
#

did you type skript/skippi

#

or skript and skippi

livid falcon
mint fable
#

okay download it manually from the link

#

oh ya it's not verified

#

my bad

mint fable
#

follow install instructions on website

livid falcon
#

how about javscript thinggy. I saw one in a premade setup. The placeholder is %javascript_example2% and the result when parsing is A location, but when i pasted it into my server, it is a blank line

mint fable
#

@livid falcon skript is a plugin that allows users to basically write events in a scripting language instead of making a java plugin from scratch

livid falcon
mint fable
#

what does the file look like

#

send your js config

#

and your js file

livid falcon
mint fable
#

example of a skript

    player has permission "Skript.boom"
    create explosion with force 3 at targeted block```
#

weird ik

livid falcon
#

Sorry, is not locatio, but still, it returns ranks instead of a blank line like mine

mint fable
#

send picture of /papi parse me %vault_rank%

mint fable
#

@austere hawk Is it working?

#

that's not for you

#

Is your skript working now?

livid falcon
#

It returns my rank

mint fable
#

picture

#

@livid falcon ok fine does it return lowercase or uppercase

livid falcon
#

My parrent just assk me to buy smth, sorry

#

@mint fable

mint fable
#

and your js config?

#

the javascript_placeholders.yml

livid falcon
#

u mean this ?

vestal mason
#

ihy @versed warren

tender vaporBOT
livid falcon
rich phoenix
#

@versed warren

tender vaporBOT
mint fable
#

that's the .js file

#

I need javascript_placeholders.yml

livid falcon
#

oh

#

just found a solution

#

Ty

mint fable
#

oh?

livid falcon
#

I forgot to add example2 to these placeholder

mint fable
#

ah man

#

Keo

#

you've disappointed me

livid falcon
mint fable
livid falcon
#

sorry, sometimes my brain goes stupid

mint fable
#

happens

livid falcon
#

😂

sweet terrace
lone kernel
#

Does PlaceholderAPI support version 1.8? or It only support 1.8.8?

mint fable
#

i think 1.8.8
What's the reason of using 1.8 over 1.8.8?

lone kernel
#

Because I want my server to support version from 1.8 to 1.18

frosty burrow
#

Is it possible to get raw data from item?

radiant plaza
wary haven
#

hello u have this problem

#

[06.04 03:35:43] [Server] [ERROR] [PlaceholderAPI] failed to load class files of expansions
[06.04 03:35:43] [Server] java.util.concurrent.CompletionExceptionjava.lang.UnsupportedClassVersionError: ch/andre601/mathexpansion/depencencies/caffeine/PWAR has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
[06.04 03:35:43] [Server] at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1606) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1067) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1703) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:172) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] Caused byjava.lang.UnsupportedClassVersionError: ch/andre601/mathexpansion/depencencies/caffeine/PWAR has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
[06.04 03:35:43] [Server] at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.lang.ClassLoader.defineClass(ClassLoader.java:756) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.net.URLClassLoader.access$100(URLClassLoader.java:74) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.net.URLClassLoader$1.run(URLClassLoader.java:369) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.net.URLClassLoader$1.run(URLClassLoader.java:363) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.net.URLClassLoader.findClass(URLClassLoader.java:362) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at me.clip.placeholderapi.util.FileUtil.findClass(FileUtil.java:62) ~[?:?]
[06.04 03:35:43] [Server] at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$6(LocalExpansionManager.java:359) ~[?:?]
[06.04 03:35:43] [Server] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] ... more

tender vaporBOT
wary haven
#

can i get a version of math papi extension that works on java 52?

errant iron
#

nope, use Java 11

clear dust
#

any good way to store a players name as a placeholder? for later use.

#

maybe with some unique key to reference it.?

errant iron
#

not sure what you mean

#

%player_name% is already a placeholder

clear dust
#

yes but I need to be able to save that some how. and use that name when another player runs a command.

#

think like a pay command.

#

I have some perks that players can enable for the whole server. Id like to store the name of the player that activated it so when another player say bob right clicks it it can thank the activator.

#

I cant fetch the activators name from anywhere.. 😦

#

so if i could store it when activating.

slate shoal
#

help

#

all my placeholders dont display

#

there is plan text only %placrholdr%

errant iron
#

placeholderapi doesn't store information, it is just an api

clear dust
#

maybe so :/ need a single command /savename <key> <nametosave>
placeholder %savename_<key>% returns name/string saved.

radiant plaza
#

Mysql expansion already available

clear dust
#

that seems like a whole rabbit hole of effort for a small feature.

radiant plaza
#

@clear dust what you exactly wanna do, it's confusing

clear dust
#

I have a Dmenu thats starting timed permissions. I want to save the player that activates the permission ( they click the menu ) and have that name used later by other players right clicking that same menu item.

#

Kind of offtopic for here at this point.

radiant plaza
#

Make a permission and give it to the player opening it for the first time and use %luckperms_has_permission% placeholder to display name of that player to all other players

#

@clear dust sfp

clear dust
#

how would has permission show Player Bob that player Jane has a permission. unless theres a way to list every player with a permission node?

#

also dont has permission return a true or false?

#

I mean I could add a permission node like servername.perk.playername to the default group so every one has it. but then how do i display the last part of that permission node.

oh Idea. maybe i can use meta on the group.

#

oh i feel bad about this but i think its going to work.

#
#we run this on activation of timed permission. in console.

lp group default meta set farmer %player_name%

#we can then fetch this with
%luckperms_meta_farmer%
#display it to other players and use it in commands.

did i mention I love luckperms.

high hemlock
#

why isnt this playerholder not working

#

%bungee_<factions>%

#

i have bungee placeholders downloaded

stark shard
#

Did u reload?

#

Also dont put the <> @high hemlock

#

And make sure “factions” is the name of the server like the name u made it on ur hosting service etc

rare eagle
#

Hello I need help with ajleaderboards.
I want to make separate leaderboards in different worlds but the statistic_player_kills placeholder is the full server. Is there any way to have a player kill placeholder for a certain world?

rough delta
#

Jo guys? do the "Guild" plugin have Expansions? for a Scoreboard?

untold crater
#

does papi always parse & to §? i've seen it happen in some places and im not sure if it's a papi or a plugin thing

rough delta
#

Where do i get Support ?!

austere hawk
#

Here, usually

#

if you're asking about papi though of course

rare eagle
austere hawk
#

No you can't

#

you need a custom plugin to track it

#

Statistic expansion just pulls data from player stats, which don't exactly care which world you got them from

rare eagle
#

Well I can't really find a plugin for that

austere hawk
#

Yeah you might have to commission someone to make a thing for you

broken nest
errant iron
#

The Vault expansion doesn't really have support for baltop, and iirc it only works with Essentials economy

#

We have a copy of the Essentials expansion that includes those placeholders somehwere

#

ah yes this one

#

try this out

broken nest
#

Do you happen to know why /papi parse --null %essentials_baltop_player_0% just returns nothing?

errant iron
#

At the moment, the baltop placeholders might not load when you start the server. You will probably have to run a command like /baltop to load them into cache and then they will work.

#

did you run that?

broken nest
#

yeah I did

#

if I parse it as me it works but as --null it returns blank

errant iron
#

oh probably because in the top of the expansion it checks if player is null

#

no reason to parse as --null in my mind

broken nest
#

I'm trying to use the placeholder for a skin on an NPC

jaunty raft
#

placeholder %date% doesnt work on my scoreboard

tender vaporBOT
#
Uploading Images

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload or similar service to upload images/screenshots.

jaunty raft
fervent zephyr
#

Hi, papi pinger server capacity?

#

help

mental night
mental night
mental night
#

possibly i mean

#

give it a shot

jaunty raft
mental night
#

👍

velvet tinsel
#

how do i change a placeholder from being 40,000

#

to 40000

#

?

broken nest
errant iron
broken nest
#

oh nevermind I had to type /baltop to load the data

errant iron
#

yup

broken nest
#

Is there any plans to have the data automatically load?

errant iron
#

That's on Essentials, not us

broken nest
#

Gotcha, appreciate the help again.

velvet tinsel
compact imp
#

For Essentials, is there a way to grab the value for the teleport cooldown? Like the same way the %essentials_kit_time_until_available_<kitname>% placeholder works

broken nest
#

Are you able to send me the src for the jar you compiled? I seems like you left out a part of the code that calculates balance when the extension registers

turbid tide
#

for Essentials? We are aware. there's a PR waiting to be merged. I believe after that we're also ready to just release to the ecloud

errant iron
#

The problem is that Essentials caches it

#

So we don't want to update that cache on every single placeholder run

#

Hence why that expansion doesn't do it

turbid tide
#

because essentials doesn't do it on register. so if a player joins and doesn't run /baltop for example placeholders will always return empty

errant iron
#

well that's new

#

wow, Glare merged a pull request 1 minute ago

#

no wonder my git was fucking up lol

turbid tide
#

yeah. was talking with him

#

I forgot to mention it when I PRed my change

#

and it was just sitting there

#

we;re ready for a release

errant iron
#

no we're not

turbid tide
#

also discord is going crazy today for me 😦

errant iron
#

there is literally an error in that code

#

you gotta do my PR

turbid tide
errant iron
#

red is master

turbid tide
#

we merged another

errant iron
#

green is my pr

turbid tide
#

pr

#

from andre removing the append

#

completely

errant iron
#

oh my god

turbid tide
#

andre is the one that messed it up in the first place

#

:))))

errant iron
#

move the baltop stuff up

#

before the null player check

turbid tide
#

but he didn't do it with PRs but directly in the main branch

errant iron
#

so that it works with --null

turbid tide
#

undone it but he forgot o undo 1 deletion

turbid tide
errant iron
#

move baltop

#

above

turbid tide
#

1 sec

errant iron
#

i would but glare is probably gonna yoink a PR from under me if I try

trim mist
#

Go for it

#

I'm making food

turbid tide
#

yeah I'm working on chatchat

#

so go for it

#

but careful. bcz I believe some placeholders (might be just the rank one) needs an actual PLayer

#

actually just an OfflinePlayer

errant iron
#

yes just not the baltop ones

turbid tide
#

yeah. well it is under baltop

#

its baltop_rank

#

that one needs to stay where it is. the rest can be moved

errant iron
#

HashMap#containsKey will just return false if it is passed a null, yes?

turbid tide
#

going back to Chat chat before I forget what I Was working on

errant iron
#

then it's fine

#

oh

#

wait no it's not

#

yeah hold on

#

PR made

#

that's git baby

turbid tide
#

I love git man.... it detected your changing as deleting the entire part and adding it on a lower line xD

errant iron
#

yeah it was quite funny

#

when in reality i deleted the baltop and moved it up!

#

you like that little vim commit message

#

i always thought it was cute

turbid tide
#

u tested if it builds right? :)))

errant iron
#

yeah that's what the person who requested the code tested

turbid tide
#

btw the append was removed by andre bcz the location now returns double not int as it used to before. something changed in essentials's stuff I Think

errant iron
#

oh huh

turbid tide
#

so you would literally have 1.1.5 :)))

turbid tide
#

to fix by adding the )

errant iron
#

yeah i get that

#

was weird lol

#

forgot i committed the baltop code somewhere

#

thought it was just a test of stuff on my pc lol

turbid tide
#

nah. I Made you do it

#

a while ago

#

it was just in your pc before

errant iron
#

ah okay makes sense

turbid tide
#

but I wanted to get a build and also fix the debug stuff

#

you left in

errant iron
#

😌

turbid tide
#

lmao

errant iron
#
                int index = 1;
                for (Map.Entry<UUID, BalanceTop.Entry> entry : baltopCache.entrySet()) {
                    if (entry.getKey() == player.getUniqueId()) {
                        return String.valueOf(index);
                    }

                    index++;
                }
#

this feels like it could be improved

turbid tide
#

how?

errant iron
#

i dunno like a stream or something

turbid tide
#

I really couldn't think of a nicer way to do it.

errant iron
#

did I do that or did you

turbid tide
#

idk if stream would work tbh.

#

I did

errant iron
#

ah makes sense

turbid tide
#

:)) I thought about streams

#

but how would I get the index from there?

#

I gave it like 10 minutes but then gave up and just went with this

broken nest
errant iron
#

yes that was made after me by Blitz here

#

we're about to PR the change I made to allow --null into the real one then do a real release

broken nest
#

Alright

errant iron
#

well hold one sec

turbid tide
#

alr 👍

errant iron
#

maybe i can stream this bitch

turbid tide
#

kk

warm topaz
#

maybe like reduce or smth?

turbid tide
#

well all we need to do kaliber is get the index

#

in the map

errant iron
#

is that map even ordered

#

like is that a LinkedHashMap or something

#

oh it is

turbid tide
#

yeah it should be

errant iron
#

god I hate Java

#

why can't the zip just give me like a Pair<first type, second type>

#

awe fuck why is that expansion using Java 8

#

it literally has 1.18.2 in its requirements

#

can I bump that

#

@turbid tide lol

turbid tide
#

I don't think so no.

#

bcz essentials still works on older versions and our expansion needs to as well

errant iron
#

why not it requires a 1.17+ version of Essentials

#

the baltop is new

#

it doesn't work on older versions

turbid tide
#

yeah but doesn't essential still work with java 8?

#

like we should keep it the same as essentials I Think

#

if essentials requires java 11 then go for 11, if it requires 17 then go for 17 I guess

errant iron
#

fuck, target is 8 and minimum toolchain is 17

#

i hate java so much

#

using outdated versions is the worst part of it

#

blitz would you like to test my improvement

#

it's kinda funky though

#
                return String.valueOf(new ArrayList<>(baltopCache.keySet()).indexOf(player.getUniqueId()));
#

if we were in the present day, List#copyOf would've been better than new ArrayList<>

#

@turbid tide

turbid tide
#

I can't really test rn

errant iron
#

hmm okay

turbid tide
#

also will that maintain the order?

#

don't we have to worry about stuff going wrong?

errant iron
#

keySet does maintain order in a LinkedHashMap, yes

turbid tide
#

talking about the constructor of array list

errant iron
#

it's just a reference to the internal ordering LinkedHashMap uses

#

why would it not?

turbid tide
#

idk. bcz java?

#

:)))

#

I have to expect the worse lmao

#

I don't know if it would or would not. that's why I'm asking

errant iron
#

it does

turbid tide
#

also my test server is just 2 players. so not the best testing but I Guess it should be enough

errant iron
#

the constructor just copies over every element

turbid tide
#

send the jar here please

#

lmao

#

not testing it

#

sorry

errant iron
#

wait

#

not tha tone

turbid tide
errant iron
#

yeah yur gettin hacked by the stream

turbid tide
#

😮

errant iron
#

and by a java version that lacked List.of

trim mist
#

@errant iron Is that everything?

#

Looks good otherwise

errant iron
#

waiting for blitz to test a better version of his rank placeholder

trim mist
#

kk

turbid tide
#

better my ass

errant iron
#

well, it's certainly more condensed and clear

#

stupid Java 8 had to make it kinda uggo

turbid tide
#

the ranking should start from 1

errant iron
#

oh I suppose so

turbid tide
#

also

#

it just returns 0 lamo

#

ah amazing

#

might need to update ess

#

1 sec

errant iron
#

yeah might be on your end lol

turbid tide
#

another thing, default to empty string when the player is not found? or something like that

#

seems to be defaulting to 1

#

and also my blatop still not working

#

so maybe that's why

#

wtf is going on

errant iron
#

if player is not found, it returns empty string

turbid tide
#

does it? it just returns 1 for me for everyone. but my /baltop is broken

#

so might be why

errant iron
#

well yeah it's cause it's doing 0 cause your baltop is broken and adding 1

turbid tide
#

ok. executed /baltop force and it updated

#

ok yeah it works. I Think. don't have the --null version of PAPI

#

don't think that was released yet

errant iron
#

yeah I hadn't heard of it until recently

turbid tide
#

is it just on the dev branch?

errant iron
#

dunno

turbid tide
#

ok so something nice, the expansion works even when /baltop doesn't. for /baltop I have to do /baltop force first for some reason

turbid tide
#

and it returns empty string for null

errant iron
#

k im gonna merge

turbid tide
#

alr

errant iron
#

wait

#

what returns empty string for null

#

the part i just changed

turbid tide
#

?

#

when I do /papi parse --null %essentials_baltop_rank% it returns empty string

errant iron
#

okay perfect

turbid tide
#

oh boy. 1 small problem, it doesn't update when I Chnage amount. but that's an essentials problem

errant iron
#

yeah you have to update the cache

#

hence the whole cache thing being a problem and why we didn't want to release lol

#

but whatevs

broken nest
#

I'm getting this error with the new essentials expansion:

[04:39:05 WARN]: org.apache.commons.lang.UnhandledException: Plugin PlaceholderAPI v2.11.2-DEV-152 generated an exception while executing task 1824
        at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
        at java.util.TreeMap.fixAfterInsertion(TreeMap.java:2295)
        at java.util.TreeMap.put(TreeMap.java:582)
        at com.extendedclip.papi.expansion.vault.VaultEcoHook.setBalTop(VaultEcoHook.java:126)
        at com.extendedclip.papi.expansion.vault.BalTopTask.run(BalTopTask.java:58)
        at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:53)
        at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
        ... 3 more```
peak steeple
#

Hello