#placeholder-api

1 messages Β· Page 196 of 1

supple fiber
#

brUH

#

thanks

turbid tide
#

no problem

supple fiber
#

wait

#

it doesn't work

#
[20:09:46 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[20:09:46 INFO]: [PlaceholderAPI] Successfully registered expansion: player [2.0.2]
[20:09:46 INFO]: 1 placeholder hook(s) registered!```
The only placeholder hooked isn't mine.
#

I can try by putting the jar into the expansion folder idk

turbid tide
#

the expansion is registering. how are you testing the placeholder?

supple fiber
turbid tide
#

yeah those only list the ecloud expansions

#

the external* ones

#

that's fine

#

all you need to look for is this [PlaceholderAPI] Successfully registered expansion: creditcards [1.0]

supple fiber
#

works

#

thanks

desert mulch
#

Hi, Quick question hopefully. Is there a way I can phase placeholders in chat when typing it in example. I type %player_name% and it would say my name

#

nvm me dumb, I just noticed it has bcparse or cmdparse

ripe ocean
#

how can i do that with the money placeholder, i can make it so when in my "deluxemenu" baltop, i choose to see the daily or semester or menstrual or always baltop? is it possible to do that?

indigo grail
#

Is there a placeholder to see if the user has a certain effect? and another to see how much time is left of this effect? or a placeholder that just checks how much time is left on a certain effect? I already tried to use %player_has_potioneffect_<effect>% but it doesn't return anything

radiant plaza
#

/papi ecloud download Player

indigo grail
hallow ravine
#

hi guys
how to add money/balance in scoreboard

indigo grail
#

It depends on the plugin you have for the economy, for example, for vault it is "%vault_eco_balance%"

hallow ravine
#

i use ShopGui+ plugin'

#

%vault_eco_balance% not working :/

ripe ocean
radiant plaza
radiant plaza
ripe ocean
# radiant plaza What are you trying to achieve

a baltop that allows you to see the money, daily, semester, menstrual and total that a player has earned

So when I click on a menu item or choose daily, semester, menstrual and total

it shows me the ranking with either by day the richest and what they have earned today or another type like menstrual

graceful holly
#

Hello! when I try to load expansions, an error is thrown in my console

#

[PlaceholderAPI] failed to load class files of expansions
java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: net/ess3/api/IEssentials

turbid tide
#

or I guess you could install essentials if you want it

austere hawk
#

Ofc there is a way! A bear lernt me!

frosty burrow
#
[21:20:45] [Server thread/ERROR]: [PAPI] [Javascript-Expansion] An error occurred while executing the script 'stock_store
javax.script.ScriptException: ReferenceError: "BukkitPlayer" is not defined in <eval> at line number 173

I don't know why 'BukkitPlayer ' could be undefined in javascript expansion.

#

I can't even handle this error by type guard in js side because this error occurred at java eval...

#
final Map<String, Object> additionalBindings = new HashMap<>();
additionalBindings.put("args", arguments);
if (player != null && player.isOnline()) {
    additionalBindings.put("BukkitPlayer", player.getPlayer());
    additionalBindings.put("Player", player.getPlayer());
}
additionalBindings.put("OfflinePlayer", player);
try {
    Object result = evaluator.execute(additionalBindings, parsedScript);
    return result != null ? PlaceholderAPI.setBracketPlaceholders(player, result.toString()) : "";
} catch (RuntimeException | ScriptException exception) { // todo:: prepare specific exception and catch that instead of all runtime exceptions
    ExpansionUtils.errorLog("An error occurred while executing the script '" + identifier , exception);
}

According to this part of the expansion's code that error means player is null or player is offline.
But I double checked that the placeholder parsed by player who is online.
https://paste.helpch.at/rimuposidi.xml

crystal prawn
#

none of my placeholders are showing correctly

#

%player_health%

#

oones that are not working and

#

%math_0_{player_max_health}/2% %math_0_{player_health}/2%

#

the health ones none are working for me

radiant plaza
crystal prawn
#

i have it

radiant plaza
#

check for errors in console if any

crystal prawn
#

no erros

radiant plaza
crystal prawn
#

errors*

#

parsing?

radiant plaza
#

/papi parse me %player_health%

crystal prawn
#

shows up with 40

#

thats all

#

what is it meant to do

radiant plaza
#

wait

#

what's the issue

#

not clear to me

crystal prawn
#

were can i send screenshot

radiant plaza
#

and paste link

crystal prawn
#

it shows

#

20

#

when i have 30

#

and it shows that on everything else

#

for everyone else*

radiant plaza
#

you have to change tab plugin config for that

crystal prawn
#

cahnge what

radiant plaza
#

goto tab plugin folder

crystal prawn
#

ok

radiant plaza
#

i'll guide you, dm me

crystal prawn
#

ok

red abyss
#

Hi, I need help with Parseother on Javascript Expansion. When I try to use parseother on a variable, It parses the placeholder (The one without percent sign) first before being parsed as parseother placeholder. For example,
var ParseOther = "%parseother_{Alink}_{player_item_in_hand}%";

It parses first the "player_item_in_hand" ending up messing the parseother. If i have a bow It will return as %parseother_{Alink}_{BOW}% instead of %parseother_{Alink}_{player_item_in_hand}%

Anyone know how to resolve this?

ripe ocean
# radiant plaza What are you trying to achieve

a baltop that allows you to see the money, daily, semester, menstrual and total that a player has earned

So when I click on a menu item or choose daily, semester, menstrual and total

it shows me the ranking with either by day the richest and what they have earned today or another type like menstrual

woven oriole
#

i have ignored this stacktrace till now but came here to ask about it

#

i cant attach images here

tender vaporBOT
woven oriole
mint fable
#
PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%"+"parseother_{"+"Alink"+"}_{"+"player_item_in_hand"+"}%")```
#

probably don't need to go as much as I did, but πŸ€·β€β™‚οΈ

austere hawk
#

%server_countdowndd.MM.yyyy-HH:mm%server_time_dd.MM.yyyy%-20:00%
not working
invaild format and time
i need daily countdown

turbid tide
#

if you do something like %server_countdown_HH:mm:ss_20:30:00% it will count down until 20:30:00 but after that it will show 0

#

until 00:00

austere hawk
#

i need every sunday

turbid tide
#

at 00:00 it will start counting down again since the day changed

austere hawk
#

at 20:00

turbid tide
austere hawk
#

so how can i do

turbid tide
#

yeah idk if its possible

tidal needle
#

Hi guys. [14:23:09 WARN]: [PlaceholderAPI] Loaded class net.ess3.api.IEssentials from Essentials v2.19.4 which is not a depend or softdepend of this plugin. I wanted to display the top balance in HolographicDisplays, but it does not work. Vault does not work, writes the same error 😦

turbid tide
#

Those are just warnings from spigot telling you that the essentials expansion hooked into the essentials plugin

#

The problem is that you're most likely using the wrong placeholder format in HolographicDisplay

#

HD uses a different format. Not the usual %placeholder_here%

#

but rather {papi:placeholder_here}

lavish sail
#

Does anyone know if it is possible to make the placeholder of EXP (%player_current_exp%) formatted like %vault_eco_balance_formatted%? So instead of saying 10000 it would say 10k for an example πŸ™‚ Maybe with javascript? idk, I am not experienced with it, so any help would be appreciated!

lavish sail
tender vaporBOT
lavish sail
#

sorry!

turbid tide
#

change that to 0, 1, 2, etc.

lavish sail
turbid tide
#

the script will have to be changed quite a bit for that. I don't really have the time or patience to do that.

mint fable
# lavish sail I want the decimals to be there, just not if it is 0
var num = Number(args[0]);

function formatNum(num) {
    var suffixes = ['', 'k', 'm', 'b', 't', 'qd', 'qn', 's']; //More Suffixes: 'sp', 'o', 'n', 'd', 'ud', 'dd', 'td'
    var decimals = 2;
    for (i = 0; i < suffixes.length; i++) {
        if (num >= 1000) {
            num = (num / 1000);
        } else {
            return parseFloat(num.toFixed(decimals)) + suffixes[i];
        }
    }
    return parseFloat((num * 1000).toFixed(decimals)) + suffixes[suffixes.length - 1];
}
#

I think I got it

#

50000 > 50k
50005 > 50.01k
50050 > 50.05k
50500 > 50.5k

turbid tide
mint fable
#

o no

turbid tide
#

just parseFloat the toFixed number

mint fable
#

Oh?

#

does that remove all zeros?

turbid tide
#

yeah

#

I went for a very complex attempt at first as well

#

like 100000 will actually just be displayed as 100k. its pretty nice

#

it does all the job for you

mint fable
#

ok

#

good to know

#

so that should work all fine and dandy right?

turbid tide
#

YEAH

#

yeah*

mint fable
#

sick

tulip dew
#

Hello, Im kinda new to advanced papi stuff so please stick with me. But what ecloud addon would I have to add to have a condition or something for like if this than display this?
Ex: a player joins server and isn’t part of a faction. So the scoreboard on the right just shows...
'world: whateverworld
money: $
Rank: whateverrank'

They then create a faction and now the scoreboard shows…
'faction: factionname
world: whateverworld
money: $
rank: whateverrank'
Basically j if the player isnt part of a faction or whatever input set, it doesnt show so I dont just have a "faction: " randomly.
Thank you!

frosty burrow
wary rivet
#

is it possible to use your own scoreboards in PAPI?

#

?

#

lol

wary rivet
#

you know what a scoreboard in minecraft is right?

radiant plaza
#

Ofc

#

I know

radiant plaza
wary rivet
#

how?

radiant plaza
wary rivet
#

non im using scoreboards

#

scoreboard objective

radiant plaza
#

Then what is PJM_coins???

wary rivet
#

/scoreboard objective add PJM_coins dummy

radiant plaza
#

What you wanna display in scoreboard

wary rivet
#

yes

#

i want to display a scoreboard in a placeholder

radiant plaza
wary rivet
#

what??

radiant plaza
#

I don't think that's possible

#

If you have any image or something send it

wary rivet
#

πŸ’€

radiant plaza
#

Use imgur

wary rivet
#

what

#

if you dont know then its fine

#

ill see if anyone else knows

prisma sonnet
#

Hi! I'm getting this error:

[PlaceholderAPI] Failed to download expansion information
tulip dew
frosty burrow
#

If you don't know js syntax I don't recommend this expansion

coarse oar
#

Can anyone help me understand why when I use this placeholder in an enchanted book with protection 4 it returns? 'no' %checkitem_getinfo,inhand:main,nbtstrings:StoredEnchantments={id:protection,lvl:4}%

wary rivet
#

Is there a way to use scoreboards in placeholder API?

dusk fern
#

Assistance needed with Javascript Placeholder:

`function formatEnchantCost() {
return PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + Java.type("java.lang.String").join("_", args) + "%").replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1,");
}

formatEnchantCost();`

Does anyone know how I could replicate the result of this placeholder on the latest version of the javascript expansion?

#

Ever since updating to 1.18, it no longer works and I can't use the old expansion where it used to work

#

Please @ me if you can help!

mint fable
#

I forgot the papi bot disappears

#

should've pinged ye JM, mb

coarse oar
keen spear
#

I cant install javascript expansion I used /papi ecloud download JavaScript and /papi reload but there is no expansion-js.jar created in my expansions folder

mint fable
#

/papi dump

mint fable
#

not nbtstrings

keen spear
#

[INFO] MexBot issued server command: /papi dump
[04.06 17:55:34] [Server] [WARN] [PlaceholderAPI] failed to post dump details
[04.06 17:55:34] [Server] java.util.concurrent.CompletionExceptionjava.io.IOException: Server returned HTTP response code: 500 for URL: https://paste.helpch.at/documents
[04.06 17:55:34] [Server] at me.clip.placeholderapi.commands.impl.local.CommandDump.lambda$postDump$1(CommandDump.java:114) ~[PlaceholderAPI-2.11.1.jar:?]
[04.06 17:55:34] [Server] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
[04.06 17:55:34] [Server] at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]
[04.06 17:55:34] [Server] at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
[04.06 17:55:34] [Server] at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
[04.06 17:55:34] [Server] at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
[04.06 17:55:34] [Server] at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
[04.06 17:55:34] [Server] at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
[04.06 17:55:34] [Server] Caused byjava.io.IOException: Server returned HTTP response code: 500 for URL: https://paste.helpch.at/documents
[04.06 17:55:34] [Server] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1997) ~[?:?]
[04.06 17:55:34] [Server] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) ~[?:?]
[04.06 17:55:34] [Server] at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224) ~[?:?]
[04.06 17:55:34] [Server] at me.clip.placeholderapi.commands.impl.local.CommandDump.lambda$postDump$1(CommandDump.java:108) ~[PlaceholderAPI-2.11.1.jar:?]
[04.06 17:55:34] [Server] ... more

mint fable
#

o true

#

/papi list

#

you can try the manual download from there Mex

coarse oar
mint fable
#

hmm, it should

#

I thought I tested it

keen spear
mint fable
#

hold the book and type /papi parse me %checkitem_getinfo:mainhand% and send the picture here @coarse oar

coarse oar
mint fable
#

just nbt:?

#

can you send the picture

keen spear
coarse oar
mint fable
#

?imgur

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.

keen spear
#

well I placed the file and /papi reload but nothing seems to happen

#

MexBot issued server command: /papi reload
[04.06 17:58:25] [Server] [INFO] [PlaceholderAPI] Placeholder expansion registration initializing...
[04.06 17:58:25] [Server] [INFO] [PlaceholderAPI] Fetching available expansion information...
[04.06 17:58:27] [Server] [INFO] [PAPI] [Javascript-Expansion] 1 script loaded!
[04.06 17:58:27] [Server] [INFO] [PlaceholderAPI] Successfully registered expansion: javascript [2.1.0]
[04.06 17:58:27] [Server] [INFO] [PlaceholderAPI] Successfully registered expansion: math [1.3.2]
[04.06 17:58:27] [Server] [INFO] [PlaceholderAPI] Successfully registered expansion: armor [1.0.0]
[04.06 17:58:27] [Server] [INFO] [PlaceholderAPI] Successfully registered expansion: checkitem [2.6.0]
[04.06 17:58:27] [Server] [INFO] [PlaceholderAPI] Successfully registered expansion: player [2.0.2]
[04.06 17:58:27] [Server] [INFO] [PlaceholderAPI] Successfully registered expansion: healthbar [0.6]
[04.06 17:58:28] [Server] [INFO] MexBot issued server command: /papi list
[04.06 17:59:17] [Server] [INFO] MexBot issued server command: /papi reload
[04.06 17:59:17] [Server] [INFO] [PlaceholderAPI] Placeholder expansion registration initializing...
[04.06 17:59:17] [Server] [INFO] [PlaceholderAPI] Fetching available expansion information...
[04.06 17:59:19] [Server] [INFO] [PAPI] [Javascript-Expansion] 1 script loaded!
[04.06 17:59:19] [Server] [INFO] [PlaceholderAPI] Successfully registered expansion: javascript [2.1.0]
[04.06 17:59:19] [Server] [INFO] [PlaceholderAPI] Successfully registered expansion: math [1.3.2]
[04.06 17:59:19] [Server] [INFO] [PlaceholderAPI] Successfully registered expansion: armor [1.0.0]
[04.06 17:59:19] [Server] [INFO] [PlaceholderAPI] Successfully registered expansion: checkitem [2.6.0]
[04.06 17:59:19] [Server] [INFO] [PlaceholderAPI] Successfully registered expansion: player [2.0.2]
[04.06 17:59:19] [Server] [INFO] [PlaceholderAPI] Successfully registered expansion: healthbar [0.6]

mint fable
#

?startuplog

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.

mint fable
#

it loaded

keen spear
#

I will reload server

#

oh

#

I guess it wont work on java 16

#

right?

#

I need 17

mint fable
#

possibly so, not entirely sure

coarse oar
keen spear
#

oh there we go, updating java worked

wary rivet
#

in %objective_displayname_{<obj-name>}% where do i put PJM_JUNGLE_PVP_COINS ?

mint fable
#

does that say yes?

mint fable
#

%objective_displayname_{PJM_JUNGLE_PVP_COINS}%

coarse oar
mint fable
#

shit sorry

#

with the {}

wary rivet
#

"does not give a numberical value"

#

im running /ajlb add %objective_displayname_{PJM_JUNGLE_PVP_COINS}%

mint fable
#

what does it give

#

/papi parse me %placeholder% test it

#

wait, you're getting the displayname

#

%objective_score_{PJM_JUNGLE_PVP_COINS}%

#

that's probably what you want

wary rivet
#

%objective_score_{PJM_JUNGLE_PVP_COINS}%?

mint fable
#

?imgur

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.

mint fable
#

send picture

mint fable
#

but I can try and we can see

wary rivet
#

/ajlb add %objective_score_{PJM_JUNGLE_PVP_COINS}% will not work due to : " this placeholder does not give a numerical value"

mint fable
mint fable
#

ooh yikes I think 4s is short, I only do strings and ints

wary rivet
#

just says %objective_score_{PJM_JUNGLE_PVP_COINS}%

#

that good?

mint fable
#

%checkitem_mat:enchanted_book,nbtstrings:StoredEnchantments..id=minecraft:protection,nbtints:StoredEnchantments..lvl=4% probably won't work

#

no

#

did you download the expansion @wary rivet ?

mint fable
#

and reload?

wary rivet
#

ohhhhh

#

ok now i think i should run it lol

#

1311 it says

wary rivet
#

/dh l set PJM_JUNGLE_PVP_COINS 1 1 &6%objective_score_PJM_JUNGLE_PVP_COINS_1_name% &e- %objective_score_PJM_JUNGLE_PVP_COINS_1_value% Does anyone know why this is not working?

lament leaf
#

(sorry for my english)

Hello, I have a problem with the javascript expansion and playerlist expansion
I made sure (by an outside plugin) that a player in a guild gets the guild.name.NOM_OF_HIS_GUILD permission
I wanted to list players in a guild with placeholder %playerlist_online,perm,yes,list,guild.name.{guilds_name}%, but that doesn't work, the PlayerList expansion doesn't seem to support a placeholder inside another placeholder using brackets {}
So I went through the javascript expansion, and I created this javascript (knowing that I tested before and javascript supports placeholders inside another placeholder) :

Placeholder : %javascript_guildmembers_{guilds_name}%

guildmembers.js :
function members() {
return "%playerlist_online,perm,yes,list,guild.name." + arg[0] + "%";
}
members();

But it does not work 😟
Could you help me ?

wary rivet
#

im being driven insane lol

mint fable
#

in the last 2 parts of the placeholder*

#

which you were trying

#

maybe try the [] instead see if that works

wary rivet
#

i figured i was doing it wrong lol

#

the vid was out of date

dapper orbit
bitter timber
#

Heyo! Im looking for some help with DeluxeChat and Placeholderapi.
I'm trying to setup chat and the only issue I'm having is getting my factions name to be colored in reference to relations.

Here is my current deluxechat config
https://gyazo.com/b76ed78744e3682d984a12330e3bea1c

I've tried using the placeholder for factionsuuid relations but it does absolutely nothing (defaults to white)
https://gyazo.com/7502ef52d9a6918986c3861d65ed5655

any help would be amazing and much appreciated

Here is a shot of why chat currently looks like for reference:
https://gyazo.com/bf78d1ed5885843b7f8d1097f71a75d5

wary rivet
tender vaporBOT
wary rivet
#

:( I was just thanking them

mint fable
#

πŸ‘πŸ»

wary rivet
#

with placeholder API is it possible to give a players score ?

#

say if im looking at it, it will display my stats but if someone else it looking it will display there stats?

mint fable
wet basinBOT
#

@mint fable Unknown expansion.

mint fable
#

[otherEntry]

#

%objective_score_{<obj-name>}_{[otherEntry]}%

#

if that's what you're talking about

wary rivet
mint fable
#

well no

wary rivet
#

ah

mint fable
#

that would just be %objective_score_{<obj-name>}%

mint fable
#

you see the placeholders for yourself

#

everybody else sees the placeholders for them

wary rivet
#

my hologram is gone

#

how do i get it back

#

please

wary rivet
#

'&6&lYou &r&e- %ajlb_lb_objective_score_{PJM_JUNGLE_PVP_COINS}%' im trying this but its just "blank"

#

i have found out how to do it but it keeps flickering from "You - 2756" to "You - 0"

turbid tide
tender vaporBOT
#
FAQ Answer:

Spigot Account Linking
To get support for a premium plugin owned by Clip or Glare you will need to verify your spigot account using /spigot in the #bot-commands channel. After you have successfully linked your spigot account you should ask your question in the coresponding channel for that plugin. If you have already linked your account and want to update your roles, run this command /spigot check.

turbid tide
austere hawk
#
[09:30:56 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[09:30:56 INFO]: [PlaceholderAPI] Fetching available expansion information...
[09:30:58 ERROR]: [PlaceholderAPI] failed to load class files of expansions
java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: net/ess3/api/IEssentials
        at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
        at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770) ~[?:?]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.NoClassDefFoundError: net/ess3/api/IEssentials
        at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
        at java.lang.Class.privateGetDeclaredMethods(Class.java:3402) ~[?:?]
        at java.lang.Class.getDeclaredMethods(Class.java:2504) ~[?:?]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:396) ~[PlaceholderAPI-2.11.1.jar:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
        ... 1 more
Caused by: java.lang.ClassNotFoundException: net.ess3.api.IEssentials
        at java.net.URLClassLoader.findClass(URLClassLoader.java:445) ~[?:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:587) ~[?:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
        at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
        at java.lang.Class.privateGetDeclaredMethods(Class.java:3402) ~[?:?]
        at java.lang.Class.getDeclaredMethods(Class.java:2504) ~[?:?]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:396) ~[PlaceholderAPI-2.11.1.jar:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
        ... 1 more```
#

what is this error ?

paper field
#

idk if I'm being a dumbass or what

#

wdym

tender vaporBOT
# austere hawk ..
Hey!

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

turbid tide
turbid tide
#

then delete the essentials expansion

austere hawk
turbid tide
#

/papi dump and send the generated link here

austere hawk
#

wait

austere hawk
# turbid tide `/papi dump` and send the generated link here

[09:55:59 INFO]: Atharvanh issued server command: /papi dump
[09:56:00 WARN]: [PlaceholderAPI] failed to post dump details
java.util.concurrent.CompletionException: java.io.IOException: Server returned HTTP response code: 500 for URL: https://paste.helpch.at/documents
        at me.clip.placeholderapi.commands.impl.local.CommandDump.lambda$postDump$1(CommandDump.java:114) ~[PlaceholderAPI-2.11.1.jar:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: https://paste.helpch.at/documents
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1997) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) ~[?:?]
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224) ~[?:?]
        at me.clip.placeholderapi.commands.impl.local.CommandDump.lambda$postDump$1(CommandDump.java:108) ~[PlaceholderAPI-2.11.1.jar:?]
        ... 2 more```
turbid tide
#

hmm

lament leaf
# mint fable PlayerList expansion does support `[placeholder]` and `{placeholder}`

I tried %playerlist_online,perm,yes,list,guild.name.{guilds_name}% and %playerlist_online,perm,yes,list,guild.name.[guilds_name]% but neither of the 2 work, going through luckperms I was able to discover that permissions guild.name.{guilds_name} and guild.name.[guilds_name] (literally, with the brackets) had appeared, which means that playerlist does not detect placeholders with {} or [] πŸ™

tender vaporBOT
lament leaf
#

oops sorry for the ping, i didn't think replying to the message was going to be considered as such πŸ™

austere hawk
balmy marten
#

We're looking into that 500 error the dump is returning, looks to be an issue on our side.

ember wharf
tender vaporBOT
turbid tide
#

but anyways I really recommend you guys check the plugins/PlaceholderAPI/expansions folder for the Essentials expansion

#

and delete it

ember wharf
ember wharf
turbid tide
#

the expansions one

#

also try restarting the server

lament leaf
#

I found the solution for my problem ! πŸ˜„
I'll explain it here, at least the next ones facing the problem will know how to solve it

Actually, playerlist expansion does support placeholders inside it, but directly after a comma, so %playerlist_online,perm,yes,list,guild.name.{guilds_name}% doesn't work, but %playerlist_online,perm,yes,list,{guilds_name}% works ! πŸ‘
So I created this javascript :

guildperm.js :
function guildperm() {
var guild = '%guilds_name%';
return "guild.name."+guild;
}
guildperm();

And this placeholder : %playerlist_online,perm,yes,list,{javascript_guildperm}%

Which solved my problem πŸ˜‰

turbid tide
wary rivet
#

am i doing this right? /ajlb add %statistic_minutes_played%

wary rivet
#

how can i check my boards i have made?

silent cave
wary rivet
#
    height: 0.3
  - content: '&6&l1st &r&6%ajlb_lb_statistic_minutes_played_1_alltime_name%
      - &e%ajbl_bl_statistic_minutes_played_1_alltime_value%'```
#

this is saying board does not exis

#

t

turbid tide
turbid tide
silent cave
#

That's fine then. ^_^

turbid tide
#

see if statistic_minutes_played is listed in there

turbid tide
turbid tide
# wary rivet nope

when you execute /ajlb add %statistic_minutes_played% does it say anything?

wary rivet
#

does not give a numberical value

#

also how do i get my name on the boards? everyones names are on the board apart from mine

dapper orbit
turbid tide
#

this is how the enchantments option should look

#

remove it if you don't actually want to look for items that have an enchantment

turbid tide
turbid tide
wary rivet
#

%statistic_minutes_played%

turbid tide
wary rivet
#

oh i did not have it, tis a lmao moment

#

how do i find all the statisitc placeholders?

#

im looking for the one that displays H-, M-, S,-

turbid tide
#

%statistic_time_played%?

lost venture
#

Why cant i display my superiorskyblock stats on a hologram?I have PlacerholderAPI

lost venture
#

HolographicDisplays.jar

turbid tide
lost venture
#

{papi: superior_island_top_level_1} Like this?

turbid tide
#

yeah

lost venture
#

Ty!

austere hawk
tender vaporBOT
austere hawk
tender vaporBOT
wary rivet
#

how do i allow my name on the scoreboard?

radiant plaza
#

install player expansion first

wary rivet
wary rivet
# turbid tide

so would i run /ajleaderboards.dontupdate.<board> JMMC101

turbid tide
#

no.

#

you would set that permission to false for tyourself

#

yourself*

#

that's a permission not a command

elder palm
#

for luckperms: /lp user <yourname> permission set ajleaderboards.dontupdate.* false

wary rivet
elder palm
#

then try specifying the leaderboard instead of using *

#

also reload ajlb perhaps

turbid tide
#

yeah. A server restart might even be needed. I forgot exactly what I did but I had to deal with this a while ago as well.

elder palm
#

yea quite annoying

wary rivet
elder palm
#

the picture blitz sent clearly states that after 'ajleaderboards.dontupdate' comes another period and then the board

#

you cant just cut that off

#

use .* or .<board> at the end

wary rivet
#

the * makes it red tho

elder palm
#

.*

#

not just *

wary rivet
#

/lp user JMMC101 permission set ajleaderboards.dontupdate.* false is not supposed to be red right?

elder palm
#

again, may or may not work

turbid tide
#

this .if that doesn't work, specify the board name instead of *

wary rivet
#

like this? /lp user JMMC101 permission set ajleaderboards.dontupdate.objective_score_{pjm_jungle_pvp_coins} false

turbid tide
#

/lp user JMMC101 permission set ajleaderboards.dontupdate.statitic_minutes_played false

#

pr whatever

turbid tide
elder palm
#

the board name, not the placeholder the board uses

turbid tide
#

you can see the board names using /ajlb list

wary rivet
elder palm
#

doesnt mean it wont work

turbid tide
#

yeah.

elder palm
#

actually try it

wary rivet
#

OH

#

haha it worked πŸ˜…

#

ill need to change all the other holograms now but thank you both for helping me fix this!

serene saddle
#

Hey what is the placeholder for "The date" and "The time" for example
Date: 18/07/2022
Time: 17:55

austere hawk
#

Hi guys, do you support Velocity?

turbid tide
mint fable
lament leaf
lament leaf
#

Thanks for the help though, if you hadn't confirmed that PlayerList supports placeholders with brackets, I probably would have missed the solution ! πŸ˜„

mint fable
#

Nice

#

Good workaround, exactly as I suspected

austere hawk
#

hi, i have a problem, when mi server is restarted the plugin place holder api it doesn't work unless i use /papi reload

#

example:

#

oh, i can't send images

tender vaporBOT
burnt isle
#

i have an problem about %player_ping% placeholder

#

i get an error
where i can send logs?

scarlet lake
#

8 placeholder hook(s) registered! 2 placeholder hook(s) have an update available.

#

how to knoow which is which?

#

the white ones ig on doing /papi list nvm

#

deluxemenus nolonger has expansion?

#

idk still there s 2 white maybe my launcher going dumb

frosty burrow
#

and if you want more detail info like versions or update available use /papi ecloud list installed instead

#

That shows u something like this

Installed Expansions
    Name        Author     Verified  Version
----------------------------------------------
1.  CheckItem   cj89898    Y         2.6.0
2.  Formatter   andre_601  Y         1.9.0
3.  Javascript  clip       Y         2.1.0
4.  Math        andre_601  Y         1.4.0
5.  Player      clip       Y         2.0.2
6.  Sound       clip       Y         1.0.0
7.  WorldGuard  clip       Y         1.4.2
crude crater
#

Hey, I was trying to use the pinger expansion to get the status of other servers on my network and it seems to only show me Offline

#

doesn't work on hypixel or any other server in general

warped cipher
#

How can I use Placeholder API on BungeeCord?

short shoal
warped cipher
#

OK

short shoal
#

But there are expansions for bungeecord, that can tell you player count of specific server, if the server is online/offline etc

steep knot
#

Update from github to ecloud expansions: vault, player, server!!! I use vault expansion 1.7.1, and have message in console: new expansion vault have 1.7.0!!!!!!

#

I compile self vault expansion from github

queen kelp
#

sss

keen dirge
#

How long does it usually take for PAPI to update to a newer version of Minecraft?

scarlet lake
frosty burrow
#

np

wind panther
#

%bungee_total% placeholder is not working. I have installed the "Bungee" ecloud addon.

radiant plaza
#

/papi parse me %bungee_total%

deft crest
#

Hi guys, is it possible to make a check in the js to see if the person has the right?

frosty burrow
deft crest
# frosty burrow Whats the exact goal you want

For example, the player has the right to fly, in which case papi outputs the text that he can fly. And if the player has no right, then he writes that he is not allowed to fly. I need to implement this for the hologram.

frosty burrow
#

you can execute luck perm command through js placeholder or just store state and return it

#

for data store, check the community script at js expansion github

radiant plaza
#

I have better way

#

by using%player_has_permission_<permission>%

frosty burrow
#

if the right u said is permission yes

deft crest
steep knot
#

Update from github to ecloud expansions: vault, player, server!!! I use vault expansion 1.7.1, and have message in console: new expansion vault have 1.7.0!!!!!!
I compile self vault expansion from github

smoky egret
#

hi guys, does this have anything to do with papi? on holographic displays my hologram shows {slowest} update speed in the holographic display when it should be hidden like so https://prnt.sc/TdE2A6qkhSA1
or is this something else? thank you.

wary rivet
#

with PAPI how do i display someoes hours minutes and time?

#

is it %statistics_time%

warm topaz
#

@wary rivet ^

wary rivet
#

does %statistic_days_played% mean irl days or mc days?

warm topaz
#

whatever value is given in the statistics menu ingame

austere hawk
warm topaz
#

what doesn't work about it, the placeholders?

#

restart the server, run /papi dump, then send the latest.log here

wary rivet
#

how do i check the statistics commands

warm topaz
#

-papi <expansion>

wary rivet
#

hmmm...

#

what expansion is used for time displayed as " 1w 4d 13h 34m 1s" on the spigot mc

wet basinBOT
#

@wary rivet Unknown expansion.

#

@wary rivet Unknown expansion.

#

@wary rivet Unknown expansion.

warm topaz
#

what does %statistic_time_played% return? I'm unsure if that returns the time in ticks or if its formatted

tender vaporBOT
mint fable
#

@foggy oak let's chat here

#

run those commands

#

then type /papi parse me %killstats_kills%

foggy oak
#

okay

#

same thing

mint fable
#

?startuplog

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.

mint fable
#

send that over

foggy oak
mint fable
#

you're getting tons of errors

#

[22:48:13] [Server thread/WARN]: [OthelloSkyPvP] Task #9 for OthelloSkyPvP v1.0 generated an exception java.lang.IllegalArgumentException: Entry cannot be longer than 40 characters!

foggy oak
#

probably cant get entry cuz it is so so long

#

okay let me try something

mint fable
#

but more importantly, you don't have the killstats plugin

foggy oak
#

hmm

#

wait

#

this one ?

mint fable
#

yes

foggy oak
#

now it works

#

but when mob kills me i dont get that im dead

#

is that fine

#

does it only count player kills ?

mint fable
#

πŸ€·β€β™‚οΈ

foggy oak
#

hmm

#

would need to try

void nova
#

%vault_eco_top_rank% isn't working & I already did /papi ecloud download Vault

#

did they update it

glad pumice
#

Hello, I was wondering if anyone could help me with papi for mcmmo, I have the expansion installed but it says that whenever I install it there is "1 placeholder hook that has an update" Im not sure what this means or how to update that but the placeholder that is not working for me that I need to work is %mcmmo_power_level%

radiant plaza
#

download expansion manually from here

#

and place it inside /plugins/PlaceholderAPI/expansions/

#

after that /papi reload
or server restart

glad pumice
#

thanks!

#

not I am having problems with mcmmo saying there is an error in the experience.yml that wold value should be over 0 even though I have it set to 500, wouldnt happen to know anything about that?

lost venture
#

Help!

#

My placeholders in my hologram does not work. im typing {papi: superior_island_top_level_leader_10}

ancient spire
#

hey

#

Is there a placeholder that lets you display the attacker/ killer?

#

So the player or mob/ fall damage etc.

austere hawk
#

Hello,

Plugin: PlaceHolderAPI ( Statistics )

Do you know how to display the number of crops the player harvests?

deft crest
# radiant plaza πŸ˜‰

function PlaceholderCheck() {
  
  if (prem == "%player_has_permission_license.furnace%") {
      return "&a&lΠ—ΠΠšΠžΠΠΠž";
  }
  if (prem != "%player_has_permission_license.furnace%") {
      return "&c&lΠΠ•Π—ΠΠšΠžΠΠΠž";
  }
  
}

PlaceholderCheck();```
#

Sorry about the ping( that's not how it works if anything.

vivid sparrow
#

what is this even supposed to do?

#

it will always return "&a&lΠ—ΠΠšΠžΠΠΠž" because %player_has_permission_license.furnace% == %player_has_permission_license.furnace%

deft crest
#

I want to check if the player has the right. If he has it, to display one text, and if not - another.

#

I fixed itβ™₯ checked what the placeholder was outputting and it was outputting yes or no

#

β™₯

indigo grail
#

Is there a placeholder to see if the user has a certain effect? and another to see how much time is left of this effect? or a placeholder that just checks how much time is left on a certain effect? I already tried to use %player_haspotioneffect<effect>% but it doesn't return anything

neon tartan
#

Is it possible to solve %statistic_ placeholders when the player quits the game? Using PAPIs API

turbid tide
neon tartan
#

Ah fuck, for my plugin owners want to be able to enter placeholders like the statistic ones, which I resolve on quit event

turbid tide
#

is the event fired after the player left? I forget but I remember there being something weird about the quit event.

neon tartan
austere hawk
#

My place holder api plugin gets an error with failed to load class
Evertime i restart the server
I have to manually reload

austere hawk
#

Hello,

Plugin: PlaceHolderAPI ( Statistics )

Do you know how to display the number of crops the player harvests?

sudden olive
#

Y

austere hawk
#

Plugin placeholders do not work, nor /papi reload, but plugin is enabled.. :/

java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: me/blackvein/quests/quests/IQuest
        at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?]
        at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1766) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1756) ~[?:?]
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295) ~[?:?]
        at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) ~[?:?]
        at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) ~[?:?]
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) ~[?:?]
        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) ~[?:?]
Caused by: java.lang.NoClassDefFoundError: me/blackvein/quests/quests/IQuest
        at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
        at java.lang.Class.privateGetDeclaredMethods(Class.java:3334) ~[?:?]
        at java.lang.Class.getDeclaredMethods(Class.java:2446) ~[?:?]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:396) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) ~[?:?]
        ... 6 more
Caused by: java.lang.ClassNotFoundException: me.blackvein.quests.quests.IQuest
        at java.net.URLClassLoader.findClass(URLClassLoader.java:433) ~[?:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:586) ~[?:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?]
        at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
        at java.lang.Class.privateGetDeclaredMethods(Class.java:3334) ~[?:?]
        at java.lang.Class.getDeclaredMethods(Class.java:2446) ~[?:?]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:396) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) ~[?:?]
        ... 6 more```
tender vaporBOT
austere hawk
#

πŸ’‹

austere hawk
#

Have to do /papi reload when server restart

08.06 15:01:34 [Server] ERROR failed to load class files of expansions
08.06 15:01:34 [Server] INFO java.util.concurrent.CompletionException: java.lang.ClassNotFoundException: com.extendedclip.papi.expansion.server.caffeine.cache.LocalCacheFactory$WILoEMWW
08.06 15:01:34 [Server] INFO at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:412) ~[PlaceholderAPI-2.11.1.jar:?]
08.06 15:01:34 [Server] INFO at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
08.06 15:01:34 [Server] INFO at java.lang.Thread.run(Thread.java:833) ~[?:?]
08.06 15:01:34 [Server] INFO Caused by: java.lang.ClassNotFoundException: com.extendedclip.papi.expansion.server.caffeine.cache.LocalCacheFactory$WILoEMWW
08.06 15:01:34 [Server] INFO at java.net.URLClassLoader$1.run(URLClassLoader.java:429) ~[?:?]
08.06 15:01:34 [Server] INFO at java.net.URLClassLoader$1.run(URLClassLoader.java:421) ~[?:?]
08.06 15:01:34 [Server] INFO at java.security.AccessController.doPrivileged(AccessController.java:712) ~[?:?]
08.06 15:01:34 [Server] INFO at java.net.URLClassLoader.findClass(URLClassLoader.java:420) ~[?:?]
08.06 15:01:34 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:587) ~[?:?]
08.06 15:01:34 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
08.06 15:01:34 [Server] INFO at me.clip.placeholderapi.util.FileUtil.findClass(FileUtil.java:62) ~[PlaceholderAPI-2.11.1.jar:?]
08.06 15:01:34 [Server] INFO at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:388) ~[PlaceholderAPI-2.11.1.jar:?]
08.06 15:01:34 [Server] INFO ... 2 more
08.06 15:01:34 [Server] INFO Caused by: java.io.EOFException
08.06 15:01:34 [Server] INFO at java.io.RandomAccessFile.readFully(RandomAccessFile.java:471) ~[?:?]
08.06 15:01:34 [Server] INFO at java.util.zip.ZipFile$Source.readFullyAt(ZipFile.java:1348) ~[?:?]
08.06 15:01:34 [Server] INFO at java.util.zip.ZipFile$ZipFileInputStream.initDataOffset(ZipFile.java:915) ~[?:?]
08.06 15:01:34 [Server] INFO at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:931) ~[?:?]
08.06 15:01:34 [Server] INFO at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:448) ~[?:?]
08.06 15:01:34 [Server] INFO at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) ~[?:?]
08.06 15:01:34 [Server] INFO at jdk.internal.loader.Resource.getBytes(Resource.java:126) ~[?:?]
08.06 15:01:34 [Server] INFO at jdk.internal.loader.URLClassPath$JarLoader$2.getBytes(URLClassPath.java:893) ~[?:?]
08.06 15:01:34 [Server] INFO at java.net.URLClassLoader.defineClass(URLClassLoader.java:519) ~[?:?]
08.06 15:01:34 [Server] INFO at java.net.URLClassLoader$1.run(URLClassLoader.java:427) ~[?:?]
08.06 15:01:34 [Server] INFO at java.net.URLClassLoader$1.run(URLClassLoader.java:421) ~[?:?]
08.06 15:01:34 [Server] INFO at java.security.AccessController.doPrivileged(AccessController.java:712) ~[?:?]
08.06 15:01:34 [Server] INFO at java.net.URLClassLoader.findClass(URLClassLoader.java:420) ~[?:?]
08.06 15:01:34 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:587) ~[?:?]
08.06 15:01:34 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
08.06 15:01:34 [Server] INFO at me.clip.placeholderapi.util.FileUtil.findClass(FileUtil.java:62) ~[PlaceholderAPI-2.11.1.jar:?]
08.06 15:01:34 [Server] INFO at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:388) ~[PlaceholderAPI-2.11.1.jar:?]
08.06 15:01:34 [Server] INFO ... 2 more
#

Hmm

#

How to deal with this

vivid sparrow
#

@arctic loom

arctic loom
#

Glare already made fix

serene saddle
#

Whats the place holder for the date and time separately?

turbid tide
#

so if you want to get the date you could use something like %server_time_dd/MM/yyyy% and for time %server_time_HH:mm:ss%

#

you can read the link above for all available formats

serene saddle
#

Thanks so much

#

Is there any api i have to download?

turbid tide
turbid tide
turbid tide
limber ice
#

My question is for placeholders tab complete that list comes from the ecloud website?

limber ice
#

so people using older versions of Statz expansion will see new placeholders that may not work on the expansion they are using

wary rivet
#

does anyone know the placeholder that displays all time? as in days minutes hours ecyt

turbid tide
#

until I've put it on the ecloud

warm topaz
#

maybe it does with external expansions

#

but I'm pretty sure internal expansions would have to use that method

#

would be cool if there was a tab complete method so we could have full control

turbid tide
#

yeah. I don't know tho. I also remember having the same problem with random teleport. It was showing the placehodlers from the ecloud random teleport expansion not the internal one

austere hawk
#

Hello,

Plugin: PlaceHolderAPI ( Statistics )

Do you know how to display the number of crops the player harvests?

radiant plaza
#

%statistic_break_item:<material>,<material2>%

#

Or
%statistic_mine_block:<material>,<material2>%

lusty mica
#

Hey

#

Would it be possible to display my servers total balance using PAPI? If not, could that be added?

velvet tinsel
#

hi

slate anvil
#

Hi o/ I have problem with placeholders for home set and max in Realscoreboard plugin. When i set in config placeholders like this:
&fHome: &6%essentials_homes_set%&7/&6%essentials_homes_max%'
i have same text on scoreboard, not an count of homes

elder palm
#

/papi ecloud download essentials
/papi reload

  • placeholders not parsing points to the responsible expansion not being present
slate anvil
#

now it works, Thanks

stuck stirrup
#

Hey, upon starting my server I get an error and no placeholders work. I can however reload the plugin and then it will start working as usual, just not when the server starts up. I am running paper 1.18.2 and PAPI 2.11.1
This is the beginning of the error

[11:22:29] [Server thread/ERROR]: [PlaceholderAPI] failed to load class files of expansions
java.util.concurrent.CompletionException: java.lang.IllegalStateException: zip file closed

Any ideas why this could be or how to fix it?

#

I think it might be due to some expansion I've got, is there any way to figure out which one without just having to test them all?

austere frigate
#

Hey !
i'm looking for a way to make work these papi placeholders :

%vault_eco_balance%

I have these papi expension downloaded for now :
-Killstats
-Sever
-servertime
-statistic
-vault
-player

But fir these placeholders i still have the %xxxx% showed in game i'm a bit lost, if anyone can help me 😦

austere frigate
#

Yeap, it's good for this one ^^ just have the vault one

#

But maybe it's because i don't have a proper essential

#

don't really understand how to put essential on my server ahah

stuck stirrup
#

I'm not sure why the vault one isn't working. But you do have vault installed on your server, right?

austere frigate
#

Vault yeap, but no essential, and i think i need them both

stuck stirrup
#

Yea you do need a plugin to handle the economy

mighty basalt
#

Im making a gui for a kits, but there is a problem with placeholders from essentials, they literally didnt work

I ran commands:
papi ecloud download Essentials
papi reload
(still not works)
restart gui plugin
(still not works)
restart server
(still nothing)

whats the problem?

%essentials_kit_is_available_gracz%, yes im sure its correct kit name

mighty basalt
short shoal
#

If you do /papi parse me placeholder, does it work normally?

austere hawk
radiant plaza
austere hawk
radiant plaza
austere hawk
#

%statistic_mine_block:crops% " Could not get the statistic " mine_block ... " "

radiant plaza
#

crops isn't any material

#

Search for minecraft materials on web

austere hawk
#

well what is the stat for harvests?

short shoal
#

Use math and count all crops together

indigo grail
slate anvil
#

i don't understand how this placeholder work:
%world name <world>% (without undercourse because discord have text formatting)

#

i should write something in <world> or just paste it in my scoreboard config?

short shoal
#

Write the name of the world

#

If your world is named lobby, then you do
%world_name_lobby% etc

hasty harness
#

May I ask what is the problem that the parameters will be broken after I restart the server?
paper 1.18.2
Plugin version PlaceholderAPI-2.11.1

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.

turbid tide
#

@hasty harness send the startup log please. read above for more information.

hasty harness
#

Too much text, how can I upload it?

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

night saddle
night saddle
#

I did

turbid tide
#

oh nvm

#

you've placed your expansion in the plugins folder

#

it needs to go in the expansions folder

night saddle
#

oh ops

turbid tide
#

plugins/PlaceholderAPI/expansions

night saddle
#

So PlaceholderAPI already works on 1.19?

#

sorry for this newbie ass question

turbid tide
#

it should yeah

#

the plugin itself at least. the expansions, they might or might not depending on how they work

night saddle
#

Thanks for the info

hasty harness
turbid tide
hasty harness
#

vault

#

How to post pictures?

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.

hasty harness
turbid tide
hasty harness
turbid tide
hasty harness
turbid tide
hasty harness
turbid tide
#

can you try another vault placeholder please? /papi parse me %vault_eco_balance% and also /papi parse me %vault_rank%

hasty harness
#

Although it will be good to hit /papi reload, but every time you restart the server, you have to hit

turbid tide
hasty harness
#

YES

turbid tide
#

can you restart the server, don't execute papi reload and send the newly generated startup log here please?

hasty harness
#

OK

turbid tide
#

I am perplexed. The expansion loads just fine, vault - cmi hook seems to be working just fine, there are no warnings/errors, the loader works just fine.

hasty harness
austere hawk
# turbid tide can you share the error please?
09.06 20:31:49 [Server] ERROR failed to load class files of expansions
09.06 20:31:49 [Server] INFO java.util.concurrent.CompletionException: java.lang.ClassNotFoundException: com.extendedclip.papi.expansion.server.caffeine.cache.LocalCacheFactory$WSLoSMWA
09.06 20:31:49 [Server] INFO at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:412) ~[PlaceholderAPI-2.11.1.jar:?]
09.06 20:31:49 [Server] INFO at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
09.06 20:31:49 [Server] INFO at java.lang.Thread.run(Thread.java:833) ~[?:?]
09.06 20:31:49 [Server] INFO Caused by: java.lang.ClassNotFoundException: com.extendedclip.papi.expansion.server.caffeine.cache.LocalCacheFactory$WSLoSMWA
09.06 20:31:49 [Server] INFO at java.net.URLClassLoader$1.run(URLClassLoader.java:429) ~[?:?]
09.06 20:31:49 [Server] INFO at java.net.URLClassLoader$1.run(URLClassLoader.java:421) ~[?:?]
09.06 20:31:49 [Server] INFO at java.security.AccessController.doPrivileged(AccessController.java:712) ~[?:?]
09.06 20:31:49 [Server] INFO at java.net.URLClassLoader.findClass(URLClassLoader.java:420) ~[?:?]
09.06 20:31:49 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:587) ~[?:?]
09.06 20:31:49 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
09.06 20:31:49 [Server] INFO at me.clip.placeholderapi.util.FileUtil.findClass(FileUtil.java:62) ~[PlaceholderAPI-2.11.1.jar:?]
09.06 20:31:49 [Server] INFO at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:388) ~[PlaceholderAPI-2.11.1.jar:?]
09.06 20:31:49 [Server] INFO ... 2 more
09.06 20:31:49 [Server] INFO Caused by: java.io.EOFException
09.06 20:31:49 [Server] INFO at java.io.RandomAccessFile.readFully(RandomAccessFile.java:471) ~[?:?]
09.06 20:31:49 [Server] INFO at java.util.zip.ZipFile$Source.readFullyAt(ZipFile.java:1348) ~[?:?]
09.06 20:31:49 [Server] INFO at java.util.zip.ZipFile$ZipFileInputStream.initDataOffset(ZipFile.java:915) ~[?:?]
09.06 20:31:49 [Server] INFO at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:931) ~[?:?]
09.06 20:31:49 [Server] INFO at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:448) ~[?:?]
09.06 20:31:49 [Server] INFO at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) ~[?:?]
09.06 20:31:49 [Server] INFO at jdk.internal.loader.Resource.getBytes(Resource.java:126) ~[?:?]
09.06 20:31:49 [Server] INFO at jdk.internal.loader.URLClassPath$JarLoader$2.getBytes(URLClassPath.java:893) ~[?:?]
09.06 20:31:49 [Server] INFO at java.net.URLClassLoader.defineClass(URLClassLoader.java:519) ~[?:?]
09.06 20:31:49 [Server] INFO at java.net.URLClassLoader$1.run(URLClassLoader.java:427) ~[?:?]
09.06 20:31:49 [Server] INFO at java.net.URLClassLoader$1.run(URLClassLoader.java:421) ~[?:?]
09.06 20:31:49 [Server] INFO at java.security.AccessController.doPrivileged(AccessController.java:712) ~[?:?]
09.06 20:31:49 [Server] INFO at java.net.URLClassLoader.findClass(URLClassLoader.java:420) ~[?:?]
09.06 20:31:49 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:587) ~[?:?]
09.06 20:31:49 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
09.06 20:31:49 [Server] INFO at me.clip.placeholderapi.util.FileUtil.findClass(FileUtil.java:62) ~[PlaceholderAPI-2.11.1.jar:?]
09.06 20:31:49 [Server] INFO at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:388) ~[PlaceholderAPI-2.11.1.jar:?]
09.06 20:31:49 [Server] INFO ... 2 more
tender vaporBOT
turbid tide
lapis mortar
#

is there a papi 1.19 branch that i can build to test my plugin?

tender vaporBOT
austere hawk
# turbid tide can you sexecute `/papi dump` and send the generated link here please?
10.06 03:28:49 [Server] WARN failed to post dump details
10.06 03:28:49 [Server] INFO java.util.concurrent.CompletionException: java.io.IOException: Server returned HTTP response code: 500 for URL: https://paste.helpch.at/documents
10.06 03:28:49 [Server] INFO at me.clip.placeholderapi.commands.impl.local.CommandDump.lambda$postDump$1(CommandDump.java:114) ~[PlaceholderAPI-2.11.1.jar:?]
10.06 03:28:49 [Server] INFO at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
10.06 03:28:49 [Server] INFO at java.lang.Thread.run(Thread.java:833) ~[?:?]
10.06 03:28:49 [Server] INFO Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: https://paste.helpch.at/documents
10.06 03:28:49 [Server] INFO at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1997) ~[?:?]
10.06 03:28:49 [Server] INFO at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) ~[?:?]
10.06 03:28:49 [Server] INFO at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224) ~[?:?]
10.06 03:28:49 [Server] INFO at me.clip.placeholderapi.commands.impl.local.CommandDump.lambda$postDump$1(CommandDump.java:108) ~[PlaceholderAPI-2.11.1.jar:?]
10.06 03:28:49 [Server] INFO ... 2 more
10.06 03:28:49 [Server] INFO Failed to post dump details, check console.
tender vaporBOT
tender vaporBOT
balmy marten
hasty harness
tender vaporBOT
native nacelle
#

Hey uh how do I setup deluxemenus to work in a way that

#

I have a portals plugin

#

And when someone enters that portal, deluxemenus should open a menu for that player

#

How do I setup this

elder palm
#

the portal has to send the open command for the player

native nacelle
#

How

elder palm
#

depends what/if at all the portal is handled by a plugin

vapid prairie
#

hey can i install papi on bungee?

elder palm
#

no

tawdry pecan
#

Hello, why my cooldownbar "rdy tag" doesnt work for me? %cooldownbar_{luckperms_expiry_time_work.warmup}_p:&aβ– _i:&eβ– _r:&7β– _l:5_c:5s_rdy:&aRdy!%

native nacelle
elder palm
#

does it have 'enter commands' or similar? you'd there add the dm open command

native nacelle
elder palm
#

yea so the portal plugin must have a player selector. go by it's wiki and see what it suggests to use

native nacelle
#

Ok

austere hawk
#

I'm using latest version of PAPI, and every time I restart my server I have to do /papi reload or else placeholders are not automatically loaded. Anyway to fix? (please ping if reply)

austere hawk
#

anyone ?

lost venture
#

Can some1 help me with my placerholders for superiorskyblock not working with HolographicDisplays.jar

turbid tide
turbid tide
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.

lost venture
#

- '&f&l#10 &8&l- &3{papi: superior_island_top_level_leader_10} &8&l➼ &3{papi: superior_island_top_level_value_1O}'

turbid tide
#

if you do then execute /papi parse me %superior_island_top_level_leader_10% and tell me what it returns please.

austere hawk
#

any ideas? @turbid tide sorry for ping

tender vaporBOT
austere hawk
#

using latest version on spigot

plush dove
#

or would it be better to create a different javascript for each one to reduce the amount of placeholders parsed

granite galleon
#

Hello!

#

Im using BungeeCord expansion and after the server is turn on for some hours the placeholder %bungee_<server>% stops updating. It will say there are "10" players but there are more.

#

I tried doing /papi reload but after that placeholder will return "0" in every server.

native nacelle
elder palm
#

πŸ‘

undone owl
#

guys 1 question

#

when 1.19 PlaceholderAPI or it released now?

#

not see

elder palm
undone owl
#

oke ty

ripe wraith
#

so placeholderapi doesnt work with 1.18.2?

trim mist
#

It works just fine?

sharp jay
#

^

ripe wraith
#

ah some expansions where not up to date

subtle oracle
#

Hi, when I open my server Magma 1.12.2 with Player and LuckyPerms expansions my server doesn't open, it stops when the console says it's loading the expansions. When I delete and open them if it works... I'm using version 2.11.1

torpid terrace
#

how can i get something like @p using placeholder?

tender vaporBOT
#
FAQ Answer:

Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload

torpid terrace
#

find out the nearest player near me

#

Does anyone know how to get the name of the player closest to the player?

vivid sparrow
#

Ah, you cant do that with papi

frosty burrow
#

May be use ParseNear and parse %player_name%

torpid terrace
frosty burrow
#
# install expansion
papi ecloud download ParseNear

# reload papi
papi reload

# parse placeholder
papi parse me %parsenear_player_name% 
#

try this

torpid terrace
frosty burrow
twin sluice
#

How can I make a premade placeholder value be divided by 2

#

?

elder palm
#

math expansion?

burnt swift
#

Hello, is it possible to add custom menu for material ?

#

Add image for example

earnest nacelle
#

What's the current status for PAPI? I know there's no 1.19 build, but is it functional? I notice that it runs, but that's as far as I've got thus far lol

turbid tide
#

there's no reason for it to not work really

austere hawk
#

Is there a placeholder that returns the value of a players health + any extra hearts from absorption?

#

so If I had 10 hearts + 2 hearts it would return 24?

turbid tide
#

afaik, there is no placeholder for that. At least not in the Player expansion. It might be in another expansion tho but couldn't find one.

austere hawk
#

Alright, is there any way I can create my own placeholder either with an api or something?

viral dragon
wicked ocean
#

hey

#

i need a help

#

if a factions tag is a empty, i want to replace to: None. (actually is a empty)
if a factions tag is not a empty, show a factions tag

#

how to do that?

limber ice
#

@wicked ocean you can make a javascript placeholder

wicked ocean
#

worked thx

frosty burrow
#

use this js placeholder

#

rename it whatever you want

unique wedge
#

why do i have to register the placeholders everytime i start up my server

#

it just happened today

#

before i didnt have to do it until now

dull flame
#

Is it possible to round down the result from a placeholder? ie my essentials home coords are 12 decimals long, instead of 1

turbid tide
#

%math_1_{essentials_homes}% or whatever.

sacred violet
#

Hello, I created an expansion and it does register but does nothing and onRequest method never gets invoked when I try /papi parse. After couple days of looking found nothing that helped, does anyone have any idea?

Here is the class: https://pastebin.com/kh8hz2Q7

mint fable
sacred violet
#

let me check πŸ˜„

sacred violet
#

I changed the identifier and equalsignorecase checks to lowercase but nothing changed

#

for additional info I'm compiling the plugin with java 11 on spigot 1.15.2

mint fable
#

i mean

#

hol up

sacred violet
#

this is how I register the class

    if (Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null) {
        new Expansion(data).register();
    }
sacred violet
#

yeah

mint fable
#

follow those steps for an internal class

#

few things missing

#

remove onPlaceholderRequest if you don't require the user to be online

sacred violet
#

I did follow it but let me do it again

mint fable
#

might have followed a different one

sacred violet
mint fable
#

I'd recommend passing your plugin instance vs the FileIO instance

#

in case you need to reload it or something at one point

sacred violet
tender vaporBOT
sacred violet
#

it feels weird like I'm missing something so small but can't find it

mint fable
#

you're typing /papi parse me %asic_totalPrizePoolPaid% ye?

sacred violet
#

yeah

#

wait

#

it works

mint fable
#

nice

sacred violet
#

lmfao it worked the whole time

#

I was using macro to test the commands and it removed asic_ from them

#

and I'm gonna go eat my shoes now as I promised

#

Thanks a lot πŸ˜„

#

F************CK

#

πŸ˜„

sacred violet
mint fable
#

you too, good luck with the shoes πŸ‘

dull flame
tender vaporBOT
# dull flame Thanks!
Hey!

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

hallow bramble
#

It seems like %server_ram_used% is reporting a wrong number, using the Server expansion. Am I missing something

#

My server is using 5.25 gb currently but /papi parse me %server_ram_used% returns 1325.

#

never mind

#

should be using %server_ram_total% πŸ™‚

turbid tide
turbid tide
#

just reserved

hallow bramble
#

Yeah, sorry about that :ΓΎ

turbid tide
#

no worries πŸ‘

hallow bramble
#

Is there something I can do to combine %server_ram_total% across multiple servers? Say I have 4 servers and want to return all of them combined?

turbid tide
#

there's no bungee support in PlaceholderAPI as of now no. You'd have to write your own thing to get that.

plush dove
#

https://paste.helpch.at/wifataceyo.php so I have this javascript, and I'm trying to make it so it takes away a raw potato and gives a baked one, but it gives a baked one even if the if statement is false

turbid tide
#

the placeholders are automatically parsed inside strings

plush dove
#

well im not sure how to just parse it

#

ah ok

#

still gives me a baked potato though

#

if i return num, it gives me no

turbid tide
#

oh right. bcz it parses them when the script is initalized

plush dove
#

oh

turbid tide
#

gimme 5 mins

plush dove
#

I think I know what to do

#

yea

turbid tide
#

use the static thing but instead of only 1 string for the placeholder concat multiple ones

plush dove
#

oh, I was gonna make a new variable, and if it equaled yes, then set the var to 1, if no, then set to 0. and have the give baked potato amt: be the new variable

plush dove
pearl pilot
#

what papi command uses %maxplayers%?

turbid tide
pearl pilot
#

hmm

serene solar
#

praying for papi 1.19 rn

sacred violet
#

Hey, Holographic Displays doesn't pick up placeholders from external plugins that works with /papi parse any idea why it might be happening?

limber ice
sacred violet
#

I found this on the wiki of HD

#

The file /plugins/HolographicDisplays/placeholders.yml contains the list of custom placeholders.
Despite having the .yml extension, it's not a normal YAML file.

To add a new placeholder:

Open placeholders.yml.
Add a new line with the format <placeholder> = <replacement>.
Reload the plugin with /hd reload.
You can now use your custom placeholder in holograms and it will be automatically substituted with the replacement.

#

but these makes more sense, thanks!

limber ice
#

that is not papi placeholders, the data will not change

#

use one of the above plugin addons to get papi placeholders to work

sacred violet
#

they worked thanks a lot

#

also looks like v3.0.0 supports these built in

#

gonna try that one also

mint fable
#

I recommend decent holograms

sacred violet
#

just tested it

#

with my custom plugin

mint fable
#

just some weird format for it

sacred violet
#

also shoes were not that bad after resting in oven for couple hours then frying with salted butter

mint fable
#

nice

sacred violet
#

thanks again!

mint fable
#

holographicdisplays fell off

raven sparrow
#

how can i display kills and deaths

mint fable
#

%statistic_deaths% %statistic_player_kills% after running those commands @raven sparrow this

full cedar
#

Can someone help me with math expansion?

#

I want to merge 2 placehoders values how to do that

turbid tide
#

%math_0_{placeholder_1}+{placeholder_2}%

full cedar
#

Thanks!

lone moth
#
left_click_requirement:
      requirements:
        has_permission:
          type: has permission
          permission: deluxemenus.warrior
        
        has_cooldown:
          type: javascript
          expression: '%mcd_left_test% = 0'```
#

what am i doin wrong ?

#

when i remove the second requirement it works

vivid sparrow
#

== @lone moth

zenith sun
#

hello

zenith sun
#
  • "papi ecloud download Javascript"
  • "papi ecloud download javascript"
#
  • "papi ecloud download Javascript"
  • "papi ecloud download javascript"
frosty burrow
zenith sun
#

it s a bug with javascript

#

someone deleted my server

#

rm -rf ***

#

😭😭

frosty burrow
#

deleted through placedholder?

tranquil forge
#

does papi work for 1.19

#

the lasest version

frosty burrow
#

no builds for 1.19 yet

junior musk
#

should work anyways

frosty burrow
#

yeah still works

hollow fox
#

❀️ just went here to say I love the devs

round folio
#

what should I do to fix it

#

I want to execute some of the commands from the skript

round folio
#

what is that

mint fable
#

expansions

#

click it

round folio
#

okeeey

mint fable
#

both were updated around august 2021, later than the other 2 expansions

round folio
#

ye I see

mint fable
#

there's like 4 skript expansions and none are official

#

lmao

round folio
#

XD

#

so ye, I need to download it to the plugins folder?

mint fable
#

not quite, exact info is on the website

round folio
#

okey

#

thanks ❀️

#

u are really helpfull

#

u saved my life

mint fable
#

πŸ‘

round folio
#

thank u a lot

patent stirrup
#

On some players, placeholder %player_total_exp% give no value, while some other give correct value. How to solve this? Thanks

spice carbon
#

Will 2.11.1 work for 1.19?

patent stirrup
tender vaporBOT
# patent stirrup yes
Hey!

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

mint fable
# patent stirrup yes

Does it seem to have anything identifying who it works for and who it doesn't work for?

#

Can you type /papi dump as well

patent stirrup
#

afaik, the problem is happened randomly, some of staff and normal player both experience this issue. I suspect, this is because the placeholder value is not updated, even though the player has been online for a long time. Is there any way to force update placeholder values?

mint fable
patent stirrup
#

In Skyblock server. On some players, placeholder %player_total_exp% give no value, but some other give correct value.

mint fable
#

Does the issue persist if you test it with /papi parse <player/me> %player_total_exp%?

patent stirrup
#

yes

mint fable
#

I'd recommend updating placeholderapi and try again

patent stirrup
#

the result is like this

#

okay

mint fable
patent stirrup
#

okay, thanks for the info. I will update the plugin and give more info later

eager grove
#

How can I reset placeholder

mint fable
eager grove
#

Are you familiar with ajLeaderboards?

mint fable
#

nevermind me

eager grove
#

yes it works

#

Oh?

mint fable
#

which placeholder do you want to reset

#

nothing to do with ajlb

eager grove
#

So I'm like new with these, I contacted the dev of ajlb and he told me to contact papi to reset the place holder

mint fable
#

Yes, that's why I'm asking which placeholder you want to reset.

#

Every leaderboard you have is based off of a placeholder

eager grove
#

Oh

#

%statistic_hours_played%

#

%statistic_mob_kills%

#

%statistic_time_since_death%

mint fable
#

so that's stored with the player's nbt file itself

#

either you reset the nbt file(s) or you manually edit each one

eager grove
tender vaporBOT
eager grove
#

Hm? I didn’t ping nobody

vast yacht
#

hey why placehoder not spawn in my /spawn

#

in /plugins

#

excuse me

mint fable
#

And if you delete the folder it deletes everybody’s data

#

And technically, reply has an option to disable pinging, but it’s fine we were in conversation.

crisp storm
#

Hi, trying to use placeholders and parsing it to make sure they're valid but they don't work if they're against one another
This doesn't work: &%trainerlevels_rankcolor%%trainerlevels_level% &3(&b%trainerlevels_xp% experience&3)
This works: & %trainerlevels_rankcolor% %trainerlevels_level% &3(&b %trainerlevels_xp% experience&3)

raw depot
#
[17:32:10 WARN]: java.lang.NoSuchFieldException: ping
[17:32:10 WARN]:        at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
[17:32:10 WARN]:        at com.extendedclip.papi.expansion.player.PlayerUtil.getPing(PlayerUtil.java:49)
[17:32:10 WARN]:        at com.extendedclip.papi.expansion.player.PlayerExpansion.onRequest(PlayerExpansion.java:270)
[17:32:10 WARN]:        at PlaceholderAPI-2.11.1.jar//me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:161)
[17:32:10 WARN]:        at PlaceholderAPI-2.11.1.jar//me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:70)
[17:32:10 WARN]:        at PlaceholderAPI-2.11.1.jar//me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:98)
#

why am i getting this warning

vivid sparrow
#

update player expansion

#

if you are using 1.19, see #1-20

raw depot
#

using 1.17.1

raw depot
vivid sparrow
#

/papi ecloud download player iirc

raw depot
#

Can you check your direct messages? @vivid sparrow

mighty pelican
#

Where do i change %server_name% in Server addon?

#

I mean i have no config like this in server properties

crisp storm
#

plugins/PlaceholderAPI/config.yml

dense cloak
#

Or if there are any expansions which include player kdr, player kills, player deaths, and player streak, then that's cool, too.

vivid sparrow
#

KillStats require a plugin, is not a stand alone expansion afaik

dense cloak
#

oh?

vivid sparrow
dense cloak
#

Thank you

#

When trying with the plugin, although this time it successfully registers, the placeholders don't show when using it in scoreboard. The plugin is also marked as red in the /plugins list. Do you know what the issue could be now?

#

When trying to run any command with the plugin, it raises this error:```yaml
[19:51:26 INFO]: MoritzSnek issued server command: /killstats MoritzSnek
[19:51:26 ERROR]: null
org.bukkit.command.CommandException: Cannot execute command 'killstats:killstatsadmin' in plugin killStats v3.0 - plugin is disabled.

#

java.lang.NoSuchMethodError: 'org.bukkit.entity.Player[] org.bukkit.Server.getOnlinePlayers()'
F, NoSuchMethodError, I guess it's because just outdated and i dont think it's fixable

warm plover
#

Is it possible to make remove all text in a string except a players name

#

For example, if someone types "0bviouslee hello", could I use something like formatter to just keep 0bviouslee and remove hello?

warm plover
limber ice
#

@warm ploverIn chat to filter what is sent to screen use a chat filter of some kind

warm plover
#

But I was trying to make it myself without the use of another plugin

turbid tide
#

the script would be, looping thru all player names, seeing if it contains it then you have it.

warm plover
#

Ah, no worries then

#

Thanks for the help!

lament moon
#

ok so

#

I have featherboard working, and I have papi with all my expansions downloaded

#

despite having the scoreboard objectives addon

#

it wont display / parse my scoreboard scores

#

it just always shows as 0

eager grove
wispy canopy
#

dose placeholderapi work with 1.19?

trim mist
#

Yes

merry jetty
#

how come /papi ecloud download DeluxeTags doesn't exist anymore?

errant iron
#

DeluxeTags includes a PAPI expansion by default, you don't need to download a separate one

merry jetty
#

Well it's not recognizing my deluxetags placeholder

errant iron
#

i'm like 99% sure Blitz added it

mint fable
#

ye he did

#

just not sure when, I've been telling people to /papi ecloud download deluxetags lmao

#

πŸ€·β€β™‚οΈ

#

ye 1.8.2

#

fool, I am

errant iron
#

i feel vindicated lol

mint fable
#

lmao

#

I just had no clue

merry jetty
#

In my essentials config yml, I used two placeholders in the chat format section, but it's not showing them in chat, any ideas how to fix? This worked for the longest type, but then I updated my server to 1.18.2 (and updated all other plugins)
format: '{DISPLAYNAME} &8[&r%elitemobs_player_active_guild_rank_name%&8] &r%deluxetags_tag% &8&l>&r {MESSAGE}'

mint fable
#

essentials doesn't support placeholderapi by default

#

you might've been using chatinjector?

merry jetty
#

I'm using chatinjector

#

still am

mint fable
#

ya... that hasn't been updated in a while

#

so it could be broken

#

does it load?

#

?startuplog

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.

merry jetty
#

let me check

#

[19:13:30] [Server thread/INFO]: [Chat-Injector] Enabling ChatInjector v1.1

mint fable
#

ye, I'm gonna say it is prob just broken

#

just to make sure, /papi parse me %elitemobs_player_active_guild_rank_name% %deluxetags_tag% still works right?

#

it returns the correct values?

merry jetty
#

It's weird because I used that version of chatinjector since 1.16-1.18.1, then I update to 1.18.2 and it breaks

mint fable
#

ah

#

can you change any settings on chatinjector

merry jetty
#

Let me check

mint fable
#

and just make sure to restart if you do make any changes

merry jetty
#

That's it

mint fable
#

ah, I got no clue sadly

#

if you get no errors or anything

merry jetty
#

okay, thank you though