#placeholder-api

150650 messages · Page 112 of 151

twin breach
#

no error

junior musk
#

then what doesn't work?

#

can you send a screenshot?

#

wait

#

are you using TAB ?

twin breach
#

simply the placeholderAPI of essentials and vault does not work in 1.20.1

twin breach
junior musk
#

oh god

#

he's using TAB

#

where did you download the update?

twin breach
junior musk
#

did you read the changelogs?

twin breach
#

thanks ❤️

#

guy practically ruined it with /nick and now there is another placeholderAPI that has a way for players to change their nickname and appear in the tab

junior musk
#

what?

twin breach
#

when i use /nick &4&lName it would show on the tab the color of my nickname i could customize

junior musk
#

?

twin breach
#

with essentials now removed from the tab, is there another palceholderAPI that pulls from essentials?

junior musk
#

from the link I sent

#

NEZ wouldn't have removed the placeholders if there wasn't an alternative

twin breach
#

I didn't find this alternative

junior musk
#

uh?

#

I just sent a screenshot of the changelogs I linked earlier

#

/papi parse me %essentials_nickname%

#

/tab debug

twin breach
#

already solved thanks just have to see about this afk that now he broke me

junior musk
#

oh

#

should have said so

#

just replace %afk% by %essentials_afk% in your placeholder-output-replacements in config.yml

twin breach
#

but the old afk he was invisible and when I type /afk he appeared in the tab this essentials he gets the message " no and yes ".

junior musk
#

just replace %afk% by %essentials_afk% in your placeholder-output-replacements in config.yml

twin breach
#

placeholder-output-replacements is placeholderAPI?

junior musk
#

TAB's config.yml

twin breach
#

thank you very much you helped me a lot ❤️

junior musk
#

yeah, even though I shouldn't

#

I'm supposed to only help people who bought the plugin but I help everyone 🥲

mint fable
#

fyi see pinned

junior musk
#

yeah I mentioned it

mint fable
#

i see

#

nice

#

@warm topaz does it just need to be merged and uploaded to ecloud?

vivid sparrow
#

looks fine

mint fable
#

will do

stone edge
#

verify my expansions too please

#

😢

mint fable
#

done, if you want to unpin it

#

only think that is a little off to me is CheckMoney

#

I don't really see the need for it

#

@stone edge all others are verified

#

I get it's specific for money, but changeoutput is pretty similar and provides other benefits as well

warm topaz
mint fable
#

oof i did say 1.20.x too

#

2 sec

junior musk
#

it's checking versions for the field name, so it should work fine imo

mint fable
#

hopefully 1.20.1 didn't change the ping field again

#

but I would never put it past them

junior musk
#

don't think it did

mint fable
#

it would help if i verified Player

#

smh

junior musk
#

we would have had complaints about it not working in TAB on 1.20.1 🥲

mint fable
#

nice i got a fat 0

#

instead of an error

vivid sparrow
#

1.20.1 ??

mint fable
#

👍

mint fable
vivid sparrow
#

wth already?

junior musk
#

yeah

mint fable
#

it was day 2

junior musk
#

3 days after iirc

mint fable
#

i think

#

or

vivid sparrow
#

💀

junior musk
#

yeah 2 or 3

vivid sparrow
#

anything new?

mint fable
#

real fast

vivid sparrow
#

at least on the api

stone edge
junior musk
#

because of a Realms button icon being glitched LOL

vivid sparrow
#

lol

stone edge
#

its just {money} - yes - no

mint fable
#

changeoutput very similar only thing

#

little harder syntax

#

%changeoutput_>=_input:{vault_eco_balance}_matcher:10_ifmatch:Yes_else:No%

#

but very similar

#

and has things more than just >=

sacred hazel
#

When 1.20.1 update fixing errors?

vivid sparrow
#

When people ask proper questions?

stone edge
mint fable
#

it was for me

#

/papi ecloud refresh
/papi ecloud download player - should be v.2.0.5
/papi reload

sacred hazel
#

okay

vivid sparrow
mint fable
vivid sparrow
#

you get 0?

mint fable
#

localhost

#

but no error

#

👍

vivid sparrow
#

ah great

#

because in case of an error it should be -1 kek

mint fable
#

I'm ahead of the server!

covert yarrow
#

wont let me parse ping anymore

vivid sparrow
#

make sure you use the latest version of the expansion

covert yarrow
#

what expansion is that joint

vivid sparrow
#

player

#

the first part of a placeholder is the identifier aka the name of the expansion

covert yarrow
#

i just did /papi ecloud refresh

#

now when i do /papi ecloud download player

#

failed to find

#

only playerlist,stats,time

#

are available

covert yarrow
#

bro dont abandon me

mint fable
#

@covert yarrow download it manually

covert yarrow
#

o bet

mint fable
#

did you find it @covert yarrow ? I know the bot disappears after a while

covert yarrow
#

Ecloud downloaded something called PAPI-Expansion-Player_scjTuQq.jar

#

am i infected now

#

what is that

mint fable
#

lol

#

no

#

it should be available in-game tbh, but i guess how certain servers work maybe not yet

covert yarrow
#

how much did gian pay u

mint fable
#

idk how the internet works

covert yarrow
#

okok bet ill just download and put manually

#

we shall see on reboot

#

papi reload hasnt worked in years for me

#

so

#

reboot it is

mint fable
#

gian paying people? how else would he stay rich?

#

c'mon

#

#1 rule of being rich

covert yarrow
#

facts

mint fable
#

don't give away your money

mint fable
covert yarrow
#

griefpreventions placeholders wont register after papi reload

#

is the problem

#

idk ill just yolo and try lets see

#

every placeholder on the server broke

mint fable
#

idk if you have Skungee, but one guy found that was an issue

covert yarrow
#

skungee?

#

what in the fk is that

mint fable
#

also if you have Animabossbar (or a select other few) they override the player expansion for some reason

covert yarrow
#

i dont have dat either

mint fable
#

causing some placeholders not to work right

#

idk what skungee is

#

seems you're in the boat with the unknown

#

f

covert yarrow
#

noooo no f

vivid sparrow
#

use papi 2.11.2

mint fable
covert yarrow
#

nono its always broken all CURRENT placeholders

mint fable
#

ok just making sure

covert yarrow
#

i cannot reload only reboot server

#

but i just rebooted

#

its all working now

#

including PLAYER

mint fable
#

nice

covert yarrow
#

ty

mint fable
#

think gaby said use 2.11.2 to avoid the reload issue maybe?

vivid sparrow
#

yeah

#

I will try to fix this for the next update, I just need to finish my exams first

vast veldt
#

Do you know if PlaceholderAPI is already available for version 1.20?

junior musk
#

it works fine so far

vivid sparrow
stone edge
#

aaaa

#

nice, i'll make sure i use it for future updates 👀

marble gyro
#

Hey so my
/papi ecloud update all doesn't seem to work theirs no errors in console however when I run /papi ecloud update player I get the following error

17.06 00:53:34 [Server] WARN [PlaceholderAPI] Cannot load expansion player due to an unknown issue.```

I also have this issue for mcmmo
faint veldt
#

how do i fix when ever i restart my server and try use any type of %player_xxxxx% placeholder it always comes back as the players name, but when i reload papi it fixes its self

tender vaporBOT
mint fable
#

can you send that over @faint veldt this

faint veldt
#

?paste

tender vaporBOT
mint fable
#

most likely what is happening is that you have some weird plugin that, for some reason, has created their own player expansion inside of their plugi

#

instead of using their own identifier, or just having the users use the player expansion

faint veldt
#

[04:01:34] [Server thread/WARN]: [PlaceholderAPI] Failed to load expansion player. Identifier is already in use.
[04:01:34] [Server thread/WARN]: [PlaceholderAPI] Cannot load expansion player due to an unknown issue.

is this what you were saying?

mint fable
#

yes, but I would like the entire log

#

would help a lot

faint veldt
versed warren
#

i guess not

onyx orchid
#

whats the placeholder for player kills?

tame willow
tender vaporBOT
noble lake
#

hey, quick question, does it work for 1.20?

vivid sparrow
#

yes

noble lake
#

ty

sharp bloom
#

(very not obvious)

bronze needle
#

hello is placeholder api plugin updated for 1.20 ?

sharp jay
#

latest version should work report any bugs you find and they should be resolved quick

sharp jay
#

np

bronze needle
sharp jay
#

on spigot ?

#

;P

bronze needle
#

its still 1.19 on spigot

sharp jay
#

again that should work

#

try it out

neon nymph
#

hello, can't seem to find the placeholder that tells the real-life time and date of the server. I saw it was the "server" addon in one place, another called it "server time" but either way nothing starting with "server" is in /papi ecloud download

bronze needle
neon nymph
#

oh my bad, bad typing lol

sharp jay
neon nymph
#

yeah, i found it

sharp jay
#

kk

neon nymph
#

thank you 🙂

sharp jay
#

whats it called?

neon nymph
#

oh it's called servertime

#

i was mistyping the commands lol

#

but it's nice to be able to have a clock when fullscreen now. no more lifting my hands to look at my phone 😅

sharp haven
#

how to make "top mob kills"?

#

For example
%statistic_mob_kills_top_1%
%statistic_mob_kills_top_2%
%statistic_mob_kills_top_3%

junior musk
#

Hey, just realized that 1.17 added a getPing method in the Player class, it could be better to use that in the Player Expansion in case another version changes the ping field, so you use reflection as usual for 1.16- (the field is just "ping" I think) and on 1.17+ you use the method
It would prevent the placeholder to break on new MC versions, again 😅

vivid sparrow
#

interesting

tender vaporBOT
marble gyro
#

Really the staff member pinged me -.- xD

#

Hey so my
/papi ecloud update all doesn't seem to work theirs no errors in console however when I run /papi ecloud update player I get the following error

17.06 00:53:34 [Server] WARN [PlaceholderAPI] Cannot load expansion player due to an unknown issue.```

I also have this issue for mcmmo

https://paste.helpch.at/mohafijihi
tender vaporBOT
marble gyro
#

?paste

tender vaporBOT
marble gyro
carmine siren
#

pleaceholderapi for 1.20?

mint fable
#

you have 2 player expansions, sorry @marble gyro

#

delete them both and get a new one

#

either in-game or manually

mint fable
marble gyro
mint fable
#

I gotta head to work, sorry

marble gyro
#

17.06 20:41:18 [Server] ERROR [PlaceholderAPI] Failed to load expansion Expansion-quests.jar (is a dependency missing?)

#

Anyone know a fix for this

indigo valve
#

Does anyone know why placeholder api cant register any hooks? No errors appeared

mint fable
#

if not, just delete it

mint fable
marble gyro
mint fable
#

hmm

#

where did you get mcmmoplus @marble gyro ?

#

oh wait that's mmoplus

#

not mcmmo plus

#

hmm, can you send an updated log?

#

?startuplog

tender vaporBOT
marble gyro
#

?paste

tender vaporBOT
marble gyro
mint fable
#

you must have something else loading it tho

marble gyro
#

Please tell me its not something as stupid as I've accidently renamed the expansion lol

mint fable
#

hmmmmmmmm

marble gyro
#

2 expansions?

mint fable
#

yes

#

you have something that is registering as the mcmmo expansion v1.0

#

the one from the ecloud is 1.0.2

#

i've seen this before with plugins using the player identifier and breaking the player expansion

#

but not mcmmo

#

oh i see, the 1.0 is just wrongly named

#

the author messed up

marble gyro
#

I've just renamed the mcmmoplus to mmoplus 🤣

mint fable
#

renaming will not matter

marble gyro
#

Oh how do I fix it then?

mint fable
#

maybe clear your expansion folder and redownload them

marble gyro
#

All expansions or just mcmmo and plus?

mint fable
#

I would say all

#

javascript will have to be manually downloaded but i think all the other ones are available via /papi ecloud download <expansion>

#

I would put mmoplus to the side

#

because I don't know where it comes from to download a new copy

marble gyro
#

Tbh I'm not even using javascript. I just grab it so it would remove a WARN that it was missing 😅🤣

mint fable
#

interesting

#

what WARN?

marble gyro
#

I can't remember it was last week

mint fable
#

well you might get it again

marble gyro
#

Any chance you'd have an idea on another slight issue.
I keep getting /papi ecloud update quests.

Quests plugin doesn't have any expansions

#

It's not a massive issue like

marble gyro
mint fable
#

do you need the placeholders?

#

it should only say /papi ecloud update quests if you have it and it's outdated

#

just checked the latest is 1.6

marble gyro
#

I have the plugin but not the expansion. I will do a download for it now and see if that removes it from appearing on the update list

mint fable
#

hmm, it seems to have an expansion included

#

you're using 3.13.3 of quests?

#

latest is 4.8.2

marble gyro
#

It's showing as 3.13.3 on spigotmc

mint fable
#

maybe it's a different quests plugin

#

which you don't need the expansion for

mint fable
#

Did you delete the quests expansion?

marble gyro
mint fable
#

okay, I'm thinking it tells you to update because you have a plugin using the quests name

#

and the version is just not the "latest" one on the ecloud

#

so you can't really fix the message

#

but no problems with it

marble gyro
#

I just downloaded a fresh copy of mcmmo to see if that fixes that warn

#

These warns arent really causing any issues. Just annoying to have them

mint fable
#

okay so

#

the mcmmo "expansion" is actually a full plugin

#

put it in your plugins folder

#

instead of expansions

#

if it works, i will unverify the expansion

#

because that's... not right

#

i'm already gonna do it tbh, version mismatches

marble gyro
#

I'm just restarting the server after making the changes

#

See if it's okay

#

All fixed PlusOne

mint fable
#

nice

marble gyro
#

No warning from placeholderapi and mcmmo loaded correctly

mint fable
#

we will contact mcmmo and see if they want to get that fixed in future

#

see what's up, the one on the ecloud now is... odd

marble gyro
#

mcMMO is still appearing on the ecloud update

mint fable
#

ya, same thing

#

well, similar

#

it shoul disappear actually since i unverified it

#

maybe /papi ecloud refresh

#

might take time

marble gyro
#

I know the expansion for mcmmo covers some of the placeholders in the GUI and mmoplus cover the other half

mint fable
#

is mmoplus for mcmmo?

marble gyro
#

Yeah

#

I can't send a screenshot here 😅

tender vaporBOT
mint fable
#

weirdly named

#

lol

#

where did u get it from again?

marble gyro
#

I think I just did /papi ecloud download mmoplus

If not I must have grabbed it from google somewhere

mint fable
#

lmao

#

/papi parse me %mcmmo_level_mining%

#

what does it say

marble gyro
#

says %mcmmo_level_mining%

mint fable
#

/papi dump

marble gyro
#

I removed the 2 expansions to grab the screenshot

mint fable
#

wait

#

why

#

i'm confused

#

is there a problem

marble gyro
#

Ah sorry no problem now. I was just showing that the Expansion-mcmmo and mmoplus were both being used for the plugin

mint fable
#

oh...

#

but mmoplus is for mcmmo?

#

orfor another plugin

marble gyro
#

its for mcmmo

mint fable
#

so curious as to where it came from lol

#

did you buy a prefab?

marble gyro
#

I purchased a config as mcmmo didnt come with a GUI interface

mint fable
#

ohh that's prob it

#

oh i see how it works

#

it just returns a yes/no checkmark/X if you have or don't have the level

#

right rght

#

simple placeholders just for the gui

marble gyro
#

Yeah thats right

mint fable
#

makes sense

marble gyro
#

According to expansion usage its on 216 servers while mcmmo is on 1067

#

Yet I dont remember how I found it lmao

mint fable
#

def from the prefab menu

marble gyro
#

Yeah I just found where I got it from lol

#

thank you for your help through this lol

mint fable
#

ye, no problem

#

thanks for helping me find that weird ass mcmmo expansion/plugin

prisma rapids
#

Hi! I was wondering what is more recommended? Just adding the expansion in my plugin or adding it in ecloud?

junior musk
#

if it's your own plugin, then adding it within it is recommended yes

#

(don't forget to override the persist method as well so it stays on /papi reload)

prisma rapids
#

done

#

thx

stone edge
#
  1. any placeholder that returns if player has blocks above or not? Like if there is a block "between" player and sky
  2. any placeholder that returns player current weather? like if its raining where player is?
#

couldn't find anything in the wiki

junior musk
#

I don't think the first one exists but I believe the second one does

#

I found %player_weather_duration%

sacred wasp
#

hi

#

its placeholder api avaible in 1.20?

junior musk
#

it should work

junior musk
stone edge
#

i mean using placeholderapi

#

js is slow af

junior musk
#

I didn't see any other placeholder for that

#

that's why I gave you the JS placeholder

#

too lazy to make an expansion just for that rn

stone edge
#

someone should make a pull request thonking

#

for Player expansion

junior musk
#

I'll make one later if you want

stone edge
#

would be useful for people

player_weather (returns DOWNFALL, CLEAR or something)
player_gethighestblocky (returns -1 if no blocks found above or Y level if found)
player_isinrain (maybe, idk to save time instead of using both above xd)

stone edge
sharp bloom
stone edge
vivid sparrow
stone edge
#

not sure tbh, i mean is player data

#

unless there is a Location expansion

vivid sparrow
#

Isnt the weather per world? It can be added in the server expansion ig

junior musk
#

maybe world expansion?

vivid sparrow
#

Wtf are these placeholders in the world expansion

#

But yeah, sounds good, I wasn't sure we have a world expansion

junior musk
stone edge
#

technically, its weather per player

#

but i mean that it can return directly from player location

#

without need to use worldname

#

and as long as i could see, no way to check if raining/snowing using world expansion either

junior musk
#

oh didn't see that, I only saw the getWeatherDuration in World

stone edge
#

would be a good help for users looking for a way to make the well-known acid rain

#

checking player hightest block and weather for player location

austere hawk
#

Hey! Currently I am using PlaceholderAPI as an API for my scoreboard. I added the support everything works fine, but the error cames when I want to load the scoreboard.

Error code:

#
java.lang.NoClassDefFoundError: me/clip/placeholderapi/PlaceholderAPI
    at dev.mochilla.kobalt.features.ScoreboardManager.lambda$setScoreboard$0(ScoreboardManager.java:33) ~[Kobalt-1.0-SNAPSHOT.jar:?]
    at java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:104) ~[?:?]
    at java.util.stream.IntPipeline$Head.forEach(IntPipeline.java:617) ~[?:?]
    at dev.mochilla.kobalt.features.ScoreboardManager.setScoreboard(ScoreboardManager.java:31) ~[Kobalt-1.0-SNAPSHOT.jar:?]
    at dev.mochilla.kobalt.listeners.GeneralListener.onJoin(GeneralListener.java:11) ~[Kobalt-1.0-SNAPSHOT.jar:?]
    at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor6.execute(Unknown Source) ~[?:?]
    at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[purpur-api-1.19.4-R0.1-SNAPSHOT.jar:?]
junior musk
#

do you have the plugin installed?

austere hawk
#

Of course.

junior musk
#

did you shade the api?

austere hawk
#

wdym shade.

#

you mean in maven?

junior musk
#

you probably didn't then, that should be good

#

well

#

to make sure

#

do you have <scope>provided<scope> under your PAPI dependency?

austere hawk
#

yes.

junior musk
#

then it should be fine

austere hawk
#
            <groupId>me.clip</groupId>
            <artifactId>placeholderapi</artifactId>
            <version>2.11.3</version>
            <scope>provided</scope>
        </dependency>```
junior musk
#

can you send your server logs?

#

?paste

tender vaporBOT
austere hawk
junior musk
#

o_O

austere hawk
#

mh

junior musk
#

I'm out of ideas, sorry =/

austere hawk
#

Oh okay.

junior musk
#

can you maybe send your pom.xml ? maybe there could be something else, but I have no idea

austere hawk
#

Yeah, sure.

junior musk
#

maybe someone else will figure it out

austere hawk
junior musk
#

oh and forgot to ask but

#

can you open your Jar file with 7Zip or WinRar and check if you have PAPI's classes?

#

in case it did shade it for some reason

austere hawk
#

yes

#

Can't send images.

tender vaporBOT
austere hawk
junior musk
#

=/

austere hawk
#

But when I set the scope to compile then I get other errors, like NullPointerException

#

but then it can find the class

#

but it should work without compile.

junior musk
#

yeah that's because it shades the api into the plugin

#

but if you don't shade, it should work

#

I don't understand ;-;

austere hawk
#

;-;

#

Let me try with softdepend.

#

I don't think thats the case, but yeah.

junior musk
#

I don't think either since Kobalt did load after PAPI (and either way, the error is on join)

#

but try it anyways

austere hawk
#

Nope.

junior musk
#

=/

#

you'll have to wait for someone else to figure it out

austere hawk
#

yep

#

Hey

#

I fixed it.

#

@junior musk

junior musk
#

👀

#

how?

austere hawk
#

The issue was I used Paper in Intellij IDEA (there is some plugin for minecraft), not Bukkit so it doesn't load.

junior musk
#

uh

#

weird

austere hawk
#

like paper-plugin.yml

#

and the platformType was PAPER as well.

#

but after I changed it to BUKKIT now it works, and also to plugin.yml.

junior musk
#

I didn't think that would have been an issue o_O

austere hawk
#

but it was.

junior musk
#

yeah

#

weird

austere hawk
#

yeah, thanks a lot of btw.

junior musk
#

I didn't do anything ;-;

austere hawk
#

but you still tried to help me

#

thats why i thank

bitter crypt
#

mmm...

#

i can't send a screenshot

tender vaporBOT
bitter crypt
#

In short, I have a question. What is the difference between these two placeholders? One with a colon, the other type of time. And which one is responsible for the real simulated time, and not the time in Minecraft?
https://imgur.com/a/3ukGSNa

vivid sparrow
#

time_played returns the time played formatted as #d #h #m #s and the ones with a colon gives you each value individually
E.g. if the first returns 1d 6h, :days will be 1 and :hours will be 6 iirc

vivid sparrow
#

Hm?

#

Ah the others above time_played will return the total time played as ticks, seconds, minutes, etc.
If you play 1h, seconds_played will be 3600, minutes_played 60 and ticks_played 3600*20 (720000?)

bitter crypt
#

Ah, got it. That is, if I use the placeholder "%statistic_days_played%", everything else will be output to me along with seconds, minutes, and so on, but the first word will change, depending on the placeholder. And the one that will display separately with a colon, for example, the placeholder "%statistic_time_played:days%" will display only the value "1", without minutes, seconds, and so on.

vivid sparrow
#

yeah

#

Try and see

bitter crypt
#

And they both count real time, and accurate?

open locust
#

Hi !
Sorry but I don't understand...
I see [X] PlaceholderAPI [X] = Production-Ready Builds Available

But when I go on spigot PlaceHolderApi has not update to 1.20...
Can you explain me ?

#

Tested Minecraft Versions:
1.81.91.101.111.121.131.141.151.161.171.181.19

warm topaz
#

it should already work on 1.20

open locust
#

"should" or it's work fine ? 🥲
Because I don't understand what that means " [X] PlaceholderAPI [X] = Production-Ready Builds Available " ? 😅

sharp bloom
#

ye it works fine :/

#

just also update the expansions

open locust
#

Hmm

open locust
#

But on spigot it's not still 1.20 compatible 😦

junior musk
#

it doesn't matter

#

it's just that the page hasn't been updated, but the plugin works fine

#

it doesn't have any version-dependant code

#

it's only the expansions that you use that may or may not break, for example, the Player expansion requires an updated because the ping placeholder broke

#

not all expansions will break, but some may

open locust
#

Mhhh okey thk

runic prism
#

does the plugin work for 1.20?

junior musk
#

check previous messages

sharp bloom
carmine siren
#

Where do I find the pleaseholderapi for 1.20? @idle coral

carmine siren
#

sorry

sharp bloom
#

just make sure to also update the expansions

carmine siren
#

ok

#

finish

sharp bloom
naive venture
#

Hello, can you help me on how I can change this no or yes of the variable %essentialsx_afk%?

analog warren
#

how i can change the server timezone? example for console

shows https://skr.sh/sKOslkdA2mC

||date on linux connection: Mon Jun 19 02:59:13 AM MSK 2023||

onyx quail
#

%player_ping%😋👍

austere hawk
#

Im trying to make it where my gui takes money and not coins

#

what should this be

#

click_requirement:
requirements:
check_balance:
type: '>='
input: '%vault_eco%'
output: '150000'

#

the input?

#

to take 150k?

#

pls ping me if u respond

sacred wasp
#

Hi its an ETA for placeholder api in 1.20?

stone edge
#

isnt working?

mint fable
vale barn
#

What? PlaceholderAPI 2.11.3 support to run on 1.20?
what does the above message mean

mint fable
#

it works on 1.20

mint fable
vale barn
#

I read in the comments that it does not support 1.20 running

mint fable
#

do you have any errors

#

what comments?

vale barn
#

not no

mint fable
#

it works 👍

#

try and see

vale barn
#

Yes, I just ran it.
But is this 2.11.3 really fully compatible with 1.20?

mint fable
#

2.7.3???

#

wtf

austere hawk
vale barn
#

2.11.3

mint fable
#

2.11.3 you mean?

#

Yes, I've said it like 3 times it works

#

scroll up

vale barn
#

ok

mint fable
#

there are 5 other messages asking/answering the same question

#

in a row

vale barn
#

lm, you may want to mark 1.20 on the spigot version

mint fable
#

🙂

#

we will

vale barn
#

lm

analog warren
#

how i can change the server timezone? example for console

shows https://skr.sh/sKOslkdA2mC

||date on linux connection: Mon Jun 19 02:59:13 AM MSK 2023||

oblique tide
#

Hello, I'm using craftbukkit 1.19.4 instead of paper or spigot due to their incompatibilities with vanilla farms and mechanics (despite numerous attempts to configure them, they don't behave like vanilla). I can't get the tps with placeholder %server_tps% or %server_tps_1_colored% to show up. Here is the console warning:

vivid sparrow
#

CraftBukkit is not supported.

oblique tide
#

I can´t drop image or file and text is too long

oblique tide
vivid sparrow
#

¯_(ツ)_/¯

oblique tide
#

(shortened version due to character limitations)
This is the only error shown:

||[WARNING] [PlaceholderAPI] Could not resolve TPS handling! [WARNING] java.lang.NoSuchFieldException: recentTps [WARNING] at java.base/java.lang.Class.getField(Class.java:2167) [WARNING] at com.extendedclip.papi.expansion.server.ServerUtils.resolveTPSHandler(ServerUtils.java:124) [WARNING] at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftTask.run(CraftTask.java:77) [WARNING] at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:414)||

And also when calling protocol lib it gives error, could it be the same thing, the use of bukkit?

||[INFO] Error Cannot perform automatic updates. (java.lang.NullPointerException: Cannot invoke "com.comphenix.protocol.updater.Updater.isChecking()" because "this.updater" is null) occurred in ProtocolLib v5.0.0. [ERROR] [ProtocolLib] INTERNAL ERROR: Cannot perform automatic updates. minecraftVersion=(MC: 1.19.4) Java Version: 19.0.2 Server: 3763-Bukkit-5a5e43e (MC: 1.19.4)||
Thank you and sorry for the inconvenience.

#

I notice that the PAPI bug brings up version "v1_19_R3" but wouldn't it be in v1_19_R4? Maybe I have something out of date?

vivid sparrow
#

As I've said, craft bukkit is not supported.

oblique tide
#

ok, Thank you and sorry for the inconvenience. Have a good day!

austere hawk
open locust
#

Hi,
I have a question...
I just downloaded "Bungee" expantion and the total number of players connected to the server takes about 30 seconds to refresh, is it possible to reduce this time?

Other question what is the real "stringexpansion" ?
This https://github.com/BlitzOffline/StringExpansion or the jar give by the plugin with /papi ecloud download String ?

junior musk
#

they're the same, this is just the source code

#

and you can reduce the update time for the bungee expansion in your PAPI config

open locust
#

This ?

junior musk
#

yes

open locust
#

thk a lot

ebon quartz
#

Hello everyone. I have a question.

/papi parse me %checkitem_getinfo:mainhand_nbtstrings:%
How to get more detailed nbt data from information obtained using ?

I want to get the value of the tag starting with [emf-fish-] or the value of the owner .

https://pastebin.com/D9ehJZdX

/papi parse me %checkitem_getinfo:mainhand_nbtstrings:evenmorefish=emf-fish-name%
This seems wrong.

thank you

vivid sparrow
#

Try to use .. instead of =

ebon quartz
#

/papi parse me %checkitem_getinfo:mainhand_nbtstrings:evenmorefish.emf-fish-name%

evenmorefish.emf-fish-name
is this right? Still showing full nbt..

vivid sparrow
#

Two dots

#

nbtstrings:<string>=<string>;<string>=<string>
nbtints:<string>=<integer>;<string>=<integer>

For nbt data you can use compounds by putting .. inside your string Example %checkitem_nbtstrings:PublicBukkitValues..executableitems:ei-id=Free_Money%

From the wiki

ebon quartz
#

After several experiments, I finally got the results I wanted. Thank you for your help. The normal command is:

/papi parse me %checkitem_getinfo:mainhand_nbtstrings:evenmorefish..emf-fish-name=string%

fickle elbow
#

i need some help

#

im trying to configure the "playerlist" extension

#

however

#

it tells me i have to make an entry in the config

#

and theres no config or config.yml in the placeholder api folder

#

so idk where im supposed to config

mint fable
fickle elbow
#

like

mint fable
#

is papi even loading?

tender vaporBOT
mint fable
#

send that over this

fickle elbow
#

papi is indeed loading, i can run and download ecloud expansions and stuff or reload

#

let me find he logs thingy

mint fable
#

are you 100% sure there is no config.yml file?

#

do your other plugins have config files?

#

Where did you get your papi from?

#

I see it's 2.11.4-dev-null

#

just very odd to have a plugin not generate the config

#

seems like it could be a permission issue, but you never know

fickle elbow
#

all other plugins have config.yml files with no issue and i never had any issues with them, this seems to be a papi fault
in the PlaceholderAPI/ folder, theres just another "expansions" folder containing the jar of the expansion i downloaded, but no config to be seen anywhere
also the jar is named papi-2.11.3.jar

mint fable
fickle elbow
#

i unfortunately cannot download custom jars with the hosting im using, however the hosting seems to source the papi from spigotmc.org, i downloaded the 2.11.3 jar

mint fable
#

no idea without seeing the logs

#

works fine for me

fickle elbow
#

if i can access the logs or find any new updates about the situation ill let u know asap

vivid sparrow
mint fable
#

host doing some weird shit ||maybe||

plush dove
#

Is there a way to prevent checkitem give placehlolder from being parsed in normal commands?

mint fable
#

not without disabling it entirely

#

disabling giving/removing*

#

I guess it is weird when arguments get parsed as placeholders

#

but sadly no way to pick and choose where you can use the specific placeholder

#

@plush dove

#

hopefully the players don't think of that 😂

#

kind of breaks all deluxemenus checkitem shops that use arguments because the player could just type /shopbuy %checkitem_give_mat:diamond,amt:64% and it'll probably be parsed at least once even if the menu doesn't open

#

thinking maybe a plugin that can disable %% input from any player-run commands

plush dove
#

I'm trying to do that right now, but the placeholder gets parsed before I can get the args

mint fable
#

in deluxemenus or coding a plugin?

plush dove
#

another plugin

#

ExecutableEvents

mint fable
#

ah

#

oh

#

i see

plush dove
#

like if I was to parse %checkitem_give_mat:bedrock,amt:2304% it would out 2304 in the args

#

so I can't exactly check

mint fable
#

does that allow you to cancel events

plush dove
#

yea

#

If I cancel the event it works

#

nvm

mint fable
#

but ee is parsing it?

plush dove
#

canceling the event still gave it to me

mint fable
#

I'm thinking you might need to have something custom coded

plush dove
#

kk

mint fable
#

but should be doable

plush dove
#

thanks

proper hinge
#

make that shit off by default or you are ruining so many servers

#

i dont see how this is on by default

#

i dont know who is in charge of CheckItem but I refuse to accept that giving items in a placeholder should be turned on by default

plush dove
#

My friend got hit by it

proper hinge
#

its literally unacceptable

#

!ticket

#

!support

proper hinge
#

Well imma go upload some game breaking expansion because it’s not papis fault or issue if they’re hosting it

#

Cringe logic

mint fable
#

nobody forces you to download checkitem expansion

#

you have to do that yourself

#

placeholders being parsed from commands does end up causing issues, like if you use a deluxemenus command with an argument it will end up parsing it

#

now, even if I do set the option to false by default, it will not fix any servers you currently have it on

#

but can be done

#

@plush dove Do you recommend give and remove both off by default?

#

or just give

plush dove
#

I'd recommend to have them off. People normally install checkitem to check items, not give or remove. Most people would not be aware of the fact that this would allow normal people to do this, and they don't look any further. If they needed it, they would do extra research, figure out the consequences, and enable it if they really needed it and they now know what might happen.

mint fable
#

absolutely not an issue

mint fable
plush dove
#

Updated my message

#

I think it's easier on your end to make it disabled by default rather than have to deal with people who get hit by it and didn't fully understand that regular players can parse any placeholder

mint fable
#

Yep, updated on ecloud

#

I think there are 1 or 2 other expansions that run things when parsed, but not sure which ones

austere hawk
#

😔

shut delta
#

I am having an issue where my %player_name% isnt working properly in certain instances, I have this issue with the plugins: TAB and AJLeaderboards, on the leaderboard holograms, if a user is on one and sees it through their account it just says You, I have this same issue for the name plates above players heads, when they press f5 to view their own name plate it says You with their rank placeholders, but then when I parse %player_name% it parses my username properly

#

I have tried redownloading it through ecloud

mint fable
#

can you send a startuplog

#

?startuplog

tender vaporBOT
mint fable
#

you most likely have some random plugin that is overriding the player expansion

#

improper usage

#

@halcyon frost Did you open the checkitem issue?

raw fable
#

Do I need to delete / re-download the Advancement placeholder for it to show the proper # with the new 1.20 advancements? Or has it just not been updated yet?

static dragon
#

@bronze bison I'm having some issues with the LocalTime expansion, every player seems to fail to get the timezone.

static dragon
#

But Barry, it's their expansion! I need their help :(

#

Going to the API url shows the correct timezone for myself (America/New_York), but doesn't work in game.

Please ping me if you reply :)

analog warren
#

how i can change the server timezone? example for console

shows https://skr.sh/sKOslkdA2mC

date cmd on ssh connection: Mon Jun 19 17:41:05 PM MSK 2023

vivid sparrow
vivid sparrow
austere hawk
#

thx I will try it 🙂

proud tide
#

is there a minimessage converter for placeholderapi?

restive nova
#

wtf is this expansion

vivid sparrow
unborn elm
#

java.lang.IllegalArgumentException: Attempt to get net.minecraft.server.level.PlayerInteractManager field "net.minecraft.server.level.EntityPlayer.e" with illegal data type conversion to int

#

thonking1 1.20.1 error

#

spam my console

junior musk
unborn elm
#

哟西!

unborn elm
onyx moss
#

hello

#

i need help with placehoder

#

idk how to reset it

#

can som1 tell me?

vivid sparrow
#

you are probably talking about the statistic placeholders, the data is got from the world file @onyx moss

craggy turtle
#

does anyone know if i would run into performance issues if i was checking luckperms meta every tick with %luckperms_meta_<key>% Im making a very stat driven pvp/pve server and i want to know if it will lag before I configure all of this.

#

actually, its prob gonna be more like 50 parses per tick if I use a lot of stats and modifiers. so will that lag my server or nah?

#

mostly on edbe event

vivid sparrow
#

try to look into a more direct way to check the meta, with the luckperms api

craggy turtle
#

after researching some, it looks like if im going the coding route i mine as well use PersistentDataContainers

wheat basin
#

Is there a placeholder that displays a given message depending on the rank?

shy furnace
#

is there any placeholder that show where you are in the world like coords?

vivid sparrow
shy furnace
#

yea i got it^^

vivid sparrow
sinful pendant
#

yoo

#

any reason why PLAYERS ONLINE: &r(%bungee_<servername>%/100)

#

the player cont dosen't update?

nocturne parcel
#

%player_ping% & %afk% in not working

polar oar
#

wheres the download for 1.20?

pallid arch
vivid sparrow
#

bungee_total shows all players from the network

pallid arch
junior musk
green crow
#

Is it possible to do something like the nth root of a value using the math expansion?

vivid sparrow
#

do you mean like 4th √625 = 5 ? Looks like you need x^(1/n) where x is the number under the sqrt and n is the nth root you want to calculate
=> 625^(1/4) = 5

tender vaporBOT
wide sleet
tender vaporBOT
green crow
#

Oops

#

How do I make it so that something like this %math_2.5*(1000000^(1/4))% will return a number without decimal places. I did %math_0:_2.5*(1000000^(1/4))% but it returns 3 instead of 79

junior musk
#

what's your Math expansion version? (/papi info math)
There was an issue in 2.0.0/1 but it seem to have been fixed in 2.0.2 (just checked), so try to redownload it

green crow
#

2.0.2

junior musk
#

o_O

green crow
#

Oh wait

#

Nevermind I did /papi ecloud

#

LMAO

junior musk
#

bruh

green crow
#

Oh there we go

#

Thank you

vivid sparrow
#

update the player expansion

velvet valley
#

where can i download it?

tender vaporBOT
warm topaz
velvet valley
#

tnx

polar oar
#

this says theres a 1.20 build of papi available, any ideas where i could find it?
#1-20 message

polar oar
#

perfect, thanks

sharp jay
#

yup

upbeat kettle
#

Hello, I have errors in console. Server version 1.19.2

stone edge
upbeat kettle
#

Will this support premium vanish when I have turn it on ?

stone edge
#

i have no clue, test it

upbeat kettle
#

I change the placeholder to %bungee_count% and there is 0 players but there are 2

mortal plinth
#

Quick question. Is there a reason why Player-extension does parse %player% and only %player_name%. Somehow it stopped working when updating to 1.19.4. I know i can just use the new placeholder but that will break some of the items (MMOItems saves command in NBT tags) ?

covert pier
#

all of my papi dependent plugins just completely died with the 1.20 build, is there something I need to do to activate it or update properly?

vivid sparrow
#

Papi doesnt need an update for 1.20, expansions do

covert pier
#

I'm not using any extensions though

#

other than Expansion-player.jar but that's just default right?

vivid sparrow
#

No expansion is "default".

#

There's expansions made by us and by other people, and player is one of those that need to be updated.

covert pier
#

oh!

vivid sparrow
#

The latest version works on 1.20

#

Make sure to update

covert pier
#

so that's PAPI-Expansion-Player.jar right?

#

even though the old one was just Expansion-Player.jar?

vivid sparrow
#

The name of the jar doesnt matter

covert pier
#

alr

vivid sparrow
#

I think the plugin changes it on download

covert pier
#

hmm
I updated the expansions and I'm still having issues
can I DM you a picture of the issue?

vivid sparrow
#

No, errors are sent via a paste

tender vaporBOT
covert pier
#

there is no error message, it just isn't registering some placeholders
I mean, I could send logs anyways but it'd be really boring

vivid sparrow
#

What placeholders are not registered?

covert pier
#

I'm using mmoitems and all the stats are just # symbol

vivid sparrow
#

Hm?

covert pier
#

If I recall correctly, mmoitems uses placeholder api for displaying lore and stats, but it isn't displaying properly

#

also, tablist has %afk% next to everyone's name

vivid sparrow
#

%afk% is not a papi placeholder

#

Player placeholders start with player_

covert pier
#

hmm

grim hawk
#

Does PlaceholderAPI need to be on the Proxy Server of an Bungeecord Network? or on the server behind the Proxy or both?

mint fable
tender vaporBOT
near peak
#

smh

#

I was posting the same link

#

Anyway

#

They added placeholders back on 4.0.2

#

vault ones*

upbeat kettle
#

Bungee placeholders doesn't support vanish

sacred wasp
#

Hi

#

I have a question

tender vaporBOT
#

There is no time to wait! Ask your question @sacred wasp!

sacred wasp
#

How i can do a progress bar of player list?

#

Like a variable

#

Like: If its 10 persons ■

#

If its 20 personas ■■

#

Like that

austere hawk
#

left_click_requirement:
expression: '%vault_eco_balance% > 45000'
expression: '%VotingPlugin_alltimetotal% > 80'

Did I write this correctly? I dont think so because I can still purchasea the item without have the right amount of server votes

austere hawk
sacred wasp
austere hawk
#

I think I remember he did but it might have been for his premium version, it was a long time ago but if my memories not wrong it was alonsolevels premium

sacred wasp
#

mmm

#

i contact to some people and they say me thath its with placeholder api

austere hawk
#

yes placeholder api but the placeholder is alonsolevels

#

its been awhile but idk I could be wrong

sacred wasp
#

No, i cant do it with alonsolevels

solid crane
#

is there a way of making like a placeholder track? for example i have protectionstones and worldguard placeholders i would want to display on scoreboard, but i would want to make it so only one displays, and if theres none the other one displays.

prisma stump
#

Hey, I just updated from 1.19.2 to 1.20.1 and it seems like I get errors with player_ping from papi, is there a specific build I should update to or what could cause this?
https://pastebin.com/274Pe2nM

balmy marten
#

Make sure your expansions are up to date

prisma stump
#

Updated them alrdy via papi ecloud update all, still occurs

#

Is there a specific dev version I should use or smth?

balmy marten
#

Run /papi dump for us and provide the link it generates so we can take a better look

vivid sparrow
#

The expansion is definitely not updated

vivid sparrow
#

Do you want to display the name of the region or protection at player's location?

solid crane
#

Basically: display placeholder 1, if there is no info to display, display placeholder 2

#

Something like that

sharp bloom
#

bruh i have to move from nested to utils now ;-; ?

#

btw is there any plugin(besides changeoutput) that i can use to change a format that is 5m 10s to 5 only?

sharp bloom
#

any idea how i can fix this
%utils_math_{changeoutput_contains_input:{{luckperms_expiry_time_test}}_matcher:5m_ifmatch:5_else:}*100% cause it doesnt return an error or smth :/ ?
what i wanna do is format the %luckperms_expiry_time_test% from 5minutes to 5 and then multiply it by 100 idk why it can be done with math only cause i didnt rly get it to work only with it either so i gave a chance to utils :/ and btw the %changeoutput_contains_input:{luckperms_expiry_time_test}_matcher:5m_ifmatch:5_else:% works fine on its own when it matches the 5m

thin sparrow
#

Is there a person who fully knows the DeluxMenu plugin and can help with it? Send me a pm who can help!

junior musk
#

else is empty though, is that normal?

junior musk
sharp bloom
#

ye empty else is normal :/

#

it returns no value

junior musk
#

you're returning an empty value in a math placeholder?

#

that's gonna throw an error

#

use 0 in the else if you want to return 0

sharp bloom
#

well i m not turning it when it's empty :/

junior musk
#

eh?

sharp bloom
#

eh nvm lemme try that too :/

junior musk
#

I'm not even sure what you're trying to do

vagrant horizon
#

Does anyone know if the plugin "CombatTagPlus" has any placeholders?

austere hawk
#

Yo, is there like a vault or luckperms group color placeholder I can use? That only parses the color of the player group

sharp bloom
#

it returns the whole placeholder

sharp bloom
#

so i can then multiply it with 100

sharp bloom
#

oops forget to remove the tag on this reply :/

junior musk
#

have fun

#

I'd use JS instead of changeoutput

sharp bloom
#

😬

#

ye there is an js thingie for that but i havent rly got it to work

junior musk
#
var placeholder = "%placeholder%" 
if (time.contains("m"))
  return time.substring(0,time.indexOf("m"))
return 0
frank cradle
#

please help error

#

[13:58:32 ERROR]: [PlaceholderAPI] Failed to load class files of expansion.
java.util.concurrent.CompletionException: java.lang.UnsupportedClassVersionError: com/ezylang/evalex/EvaluationException 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
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) ~[?:1.8.0_372]
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) ~[?:1.8.0_372]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1606) ~[?:1.8.0_372]
at java.lang.Thread.run(Thread.java:750) [?:1.8.0_372]
Caused by: java.lang.UnsupportedClassVersionError: com/ezylang/evalex/EvaluationException 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
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_372]
at java.lang.ClassLoader.defineClass(ClassLoader.java:756) ~[?:1.8.0_372]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_372]
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473) ~[?:1.8.0_372]
at java.net.URLClassLoader.access$100(URLClassLoader.java:74) ~[?:1.8.0_372]
at java.net.URLClassLoader$1.run(URLClassLoader.java:369) ~[?:1.8.0_372]
at java.net.URLClassLoader$1.run(URLClassLoader.java:363) ~[?:1.8.0_372]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_372]
at java.net.URLClassLoader.findClass(URLClassLoader.java:362) ~[?:1.8.0_372]
at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_372]
at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_372]
at me.clip.placeholderapi.util.FileUtil.findClass(FileUtil.java:62) ~[?:?]
at

frank cradle
#

PlaceholderAPI for java 8?

vivid sparrow
#

Papi works with java 8, but not the math expansion

fossil barn
#

Hi imagine i have an item with multiple slots is there a way to pass the slot to the material placeholder?

austere hawk
#
[15:11:57] [Server thread/WARN]: Could not pass incoming plugin message to PlaceholderAPI v2.11.3
java.lang.IllegalStateException: java.io.EOFException
    at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:449) ~[patched_1.8.8.jar:git-PaperSpigot-445]
    at com.extendedclip.papi.bungeeexpansion.BungeeExpansion.onPluginMessageReceived(BungeeExpansion.java:123) ~[?:?]
    at org.bukkit.plugin.messaging.StandardMessenger.dispatchIncomingMessage(StandardMessenger.java:429) [patched_1.8.8.jar:git-PaperSpigot-445]
    at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:2154) [patched_1.8.8.jar:git-PaperSpigot-445]
    at net.minecraft.server.v1_8_R3.PacketPlayInCustomPayload.a(SourceFile:55) [patched_1.8.8.jar:git-PaperSpigot-445]
    at net.minecraft.server.v1_8_R3.PacketPlayInCustomPayload.a(SourceFile:8) [patched_1.8.8.jar:git-PaperSpigot-445]
    at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [patched_1.8.8.jar:git-PaperSpigot-445]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_312]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_312]
    at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [patched_1.8.8.jar:git-PaperSpigot-445]
    at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [patched_1.8.8.jar:git-PaperSpigot-445]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [patched_1.8.8.jar:git-PaperSpigot-445]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [patched_1.8.8.jar:git-PaperSpigot-445]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [patched_1.8.8.jar:git-PaperSpigot-445]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]
Caused by: java.io.EOFException
    at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:340) ~[?:1.8.0_312]
    at java.io.DataInputStream.readUTF(DataInputStream.java:589) ~[?:1.8.0_312]
    at java.io.DataInputStream.readUTF(DataInputStream.java:564) ~[?:1.8.0_312]
    at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:447) ~[patched_1.8.8.jar:git-PaperSpigot-445]
    ... 14 more

fix

#

hlep

frank cradle
#

the error was caused by the math extension, I installed an old version and it was solved

fossil barn
#

is there a way to add placeholder to the commands?

#

like

#

commands:

#
  • 'mycustomplaceholder'?
stone edge
#

maybe pinned messsages

late jungle
#

Hi, what is the correct syntax to use placeholder CheckItem with another player? I need to check another player's item and not mine....

%checkitem_getinfo:<slot><modifier1>,<modifier2>,<...>%
But for another player. Like:
%another_player checkitem_getinfo:<slot>
<modifier1>%

#

MESSAGE:%changeoutput_equals_input:{victim checkitem_getinfo:38_mat:}_matcher:DIAMOND_CHESTPLATE_ifmatch:10_else:0%

this checks whether the victim (another player)
is wearing a diamond breastplate, if so return 10 otherwise return 0.

But the results are based on me and not the other player.

sharp bloom
#

do the use_quick_js: true make the js work faster?

hollow depot
#

vault placeholders aren't working at all %vault_eco_balance_commas% for example

mint fable
#

ex: %parseother_{cj89898}_{checkitem_getinfo:38_mat:}%

sonic heart
#

I installed placeholderapi but it didn't work
Where I do %player_name% the player's name is not written

tender vaporBOT
mint fable
#

you need the expansion this @sonic heart

humble oak
#

any expansion to convert numbers to numerals?

mint fable
#

don't believe so

fossil barn
#

hi can i import a js o json file to a placeholde js file?

leaden slate
#

26.06 20:33:59 [Server] ERROR [PlaceholderAPI] Failed to load expansion Expansion-WorldGuard.jar (is a dependency missing?)

#

D:?

tender vaporBOT
still thorn
#

so, having issues with the placeholders for simple gems and deluxemenus what do i use for getting a players gems and checking if they have enough for what they want not sure if this is a them issue or a me issue can anyone help please

uncut smelt
#

hello everyone (:

i'm having a problem, i use the TAB plugin and need to reset the death statistics, i believe i'm pulling the deaths from the placeholder, how can i reset them?

ancient locust
#

Hello, why is the %bungee_total% placeholder not working for me, for some reason it doesn't count all the players on the servers, we have a velocity

plush dove
#

With a placeholder, is there a way to make it so if I input a word, it can remove a certain section of that word. For example putting in CHISELED_STONE_BRICKS gives me STONE_BRICKS, inputting CHISELED_DEEPSLATE gives me DEEPSLATE

exotic sphinx
#

Hello. How do I display the total online on all servers in a tab? The placeholders (bungee_total, bungee_all) work, but give me 0. Although there are many players... I use Velocity

boreal juniper
#

"For example, I want the Deluxechat plugin to display the player's profile on the GUI screen, along with their kill count, death count, and server ranking. How can I accomplish this?"

storm comet
#

Placeholders like %player_ping% does not work ^

#

this is the error it throws

junior musk
#

redownload the player expansion

storm comet
#

Thank you!

mossy matrix
#

I was referred here by the EssentialsX team for my issue below,

%essentials_baltop_player_stripped_1% &b| &2$%essentials_baltop_balance_formatted_1%

Im using these placeholders to show top balances, and they have stopped updating the balance/top player. I have tried a reload and full restart so far

summer swift
#

does anyone know why the names in the tab menu appear as %essentialnick%%afk%?

#

same issue with the player names above heads

mint fable
#

nothing to do with papi, but tab removed those in 4.0.1 and added them back in 4.0.2 I believe @summer swift

mint fable
left sand
#

%player_ping% doesn`t work on 1.20 builds, is it bug or my mistake? found solution above

reef harness
#

Hi, I have a question for using the placeholder api. can I use this and conditionally write "yes" or "no" in either green or red

mint fable
#

it may mess with any pre-existing setups relying on default values

reef harness
#

right on, thank you!

karmic notch
#

Hi, I keep getting this error Cannot invoke "me.clip.placeholderapi.PlaceholderAPIPlugin.getLocalExpansionManager()" because the return value of "me.clip.placeholderapi.PlaceholderAPIPlugin.getInstance()" is null What do I need to provide so that someone can help me out?

hearty orchid
#

Can you take a look at your console and see if your plugin loads before or after papi

karmic notch
#

It starts after

28.06 15:17:03 [Server] [INFO] [PlaceholderAPI] Fetching available expansion information...```
but before

28.06 15:17:14 [Server] [INFO] [PlaceholderAPI] Successfully registered expansion: betterrtp [3.6.10]
28.06 15:17:15 [Server] [INFO] [PlaceholderAPI] Placeholder expansion registration initializing...
28.06 15:17:16 [Server] [INFO] [PlaceholderAPI] Successfully registered expansion: player [2.0.5]
28.06 15:17:16 [Server] [INFO] [PlaceholderAPI] Successfully registered expansion: luckperms [5.4-R2]
28.06 15:17:16 [Server] [INFO] [PlaceholderAPI] Successfully registered expansion: server [2.6.2]
28.06 15:17:16 [Server] [INFO] [PlaceholderAPI] Successfully registered expansion: essentials [1.5.2]
28.06 15:17:16 [Server] Startup4 placeholder hook(s) registered!

#

Any ideas?

tender vaporBOT
karmic notch
mint fable
#

can you provide the entire log

karmic notch
#

Yes, one minute please

reef harness
#

is it possible with placeholders alone to have conditional output? (and i dont just mean changing the global boolean value)

reef harness
#

thank you! ❤️

reef harness
# warm topaz changeoutput expansion

could you maybe help with the syntax? what is <matcher> in %changeoutput_<options>_input:<input>_matcher:<matcher>_ifmatch:<output-if-matched>_else:<output-if-not-matched>%? so far i have this: %changeoutput_equals_input:yes_matcher:<matcher>

reef harness
#

sorry. not meaning to ping anyone. just trying to keep the messages together

warm topaz
#

matcher is what ur matching the input against
so lets say u have an input of %player_name%
the matcher would be Kaliber

#

basically whatever the input equals

reef harness
#

oh so the placeholder permission check would be a matcher?

#

sounds good! thanks

gray cradle
#

Is there any placeholder to do something like this?

foo:
  bar: baz

test: %anyplaceholder_foo.bar%
vivid sparrow
#

config expansion

gray cradle
gray cradle
#

?

vivid sparrow
#

😳 let me see if I still have the src

gray cradle
#

ok

gray cradle
#

@vivid sparrow I don't like tag, but any updates?

gray cradle
#

Without that I can't do anything...

vivid sparrow
#

looks like I don't have it ugh

gray cradle
#

F

#

and do you know another solutions without it?

warm topaz
vivid sparrow
vivid sparrow
#

it should be smth like

expansions:
  config:
    configs:
      example: '/plugins/PlaceholderAPI/configs/example.yml'```
gray cradle
#

No, It wasnt created because crashes

#

I put that?

vivid sparrow
#

ok, then add this and try again

gray cradle
#

now don't crashed

vivid sparrow
#

great

gray cradle
#

and what are path and default? %config_[config]_[datatype]_[path]_(default)% I can't find any docs

#

I guess that config will be for example configs and datatype STRING

vivid sparrow
gray cradle
#

Ok thx for all Gaby

vivid sparrow
#

np I hope that makes sense

reef harness
#

is there a placeholder to format colors using hex values?

ancient locust
#

Hi, why is my %bungee_total% placeholder not working? I'm using Velocity

gray cradle
#

Is possible interpolate variables of yaml (&name) in a string?

#

Like 'example string *name'

vivid sparrow
#

hm?

gray cradle
#

Example

foo: &foo 'bar'
buz: (value of foo and 'asd' concatenated)
#

I tried with + or using *foo inside string

#

but doesn't work idk if there is any way to do that

vivid sparrow
#

no

gray cradle
#

ok thx

gray cradle
fossil barn
#

Im getting this error what is the reight way to load files to a js expansion

green crow
#

Is there a rand for the Math expansion? I know that there is an RNG expansion to do this, but I can't seem to get it to work with decimals. I just need to generate a random number from 0-2 with 1 decimal place. Something like 0.3, 1.5, etc.

junior musk
#

%math_RAND()% iirc

green crow
junior musk
#

exactly as I sent it

green crow
#

Doesn't seem to work for me

junior musk
#

maybe it was RANDOM() then

green crow
#

Ah yes it's RANDOM() thank you

junior musk
#

👍

green crow
#

I suppose to make a min and max would just be %math_RANDOM(min, max)%

junior musk
#

no idea

#

doesn't seem to work

green crow
#

Yeah, but does it support min and max or not at the moment?

junior musk
#

I've just said that it doesn't?

green crow
#

Well I just thought there was another way to do it

junior musk
#

there is, I just need to remember how to do it xD

green crow
#

Oh xD

junior musk
#

RANDOM() * (max - min) + min

green crow
#

Thank you very much!

gray cradle
#

Using a Material name inside a placeholder like: %config_prices_INTEGER_OAK_BLOCK_99% results in error because it has a underscore any suggestion to avoid that?

karmic notch
mint fable
tender vaporBOT
karmic notch
#

I figured it out sorry

raw fable
#

Any update for the Advancement placeholders? I deleted/re-uploaded it but it's not taking into account the 1.20 advancements and now goes over 100% with %Advancements_completedAmount%

[04:18:00 INFO]: 110```
junior musk
#

@glad glen

tender vaporBOT
junior musk
glad glen
#

got it, thanks

gray cradle
#

How I can use a Placeholder inside another placeholder?

#

I tried it but isn't working properly

#

For example %math_0:_%config_prices_INTEGER_DIRT_10%*5% this should obtain the price with the Config Expansion and return the price x5 but results in error on load

junior musk
#

%math_0:_{config_prices_INTEGER_DIRT_10}*5%

#

some placeholders support {placeholder} directly (like the math placeholder), though a lot don't and you'd need to use the Utils expansion for that

gray cradle
#

ok thx

spice falcon
#

How do i make the placeholders work for holograms? For example, i have a temporary group that has assigned to players (using LuckPerms), and i need that timer to be displayed on a hologram, altought it doesn't work:

- lines:
  - content: '&#6ab6ce&lPortal open in: &r%luckperms_group_expiry_time%'
    height: 0.3```
#

The hologram in-game looks like this - Portal open in: %luckperms_group_expiry_time%

vivid sparrow
#

This is not a papi question, check the documentation of the hologram plugin

still ibex
#

Does this plugin has modded version for fabric?