#placeholder-api

1 messages ยท Page 84 of 1

austere hawk
#

as i said it does not update

mint fable
#

o rip

austere hawk
#

it only happens on latest papi anyway.

#

@bronze bison i dont see it

bronze bison
#

the js?

austere hawk
#

where do you set the date

bronze bison
#

Not that handy ik, but i wanna update that ||dunno when tho||

austere hawk
#

ah ok

#

'[console] papi parse %player_name% %javascript_cooldown_1_start'

#

so example

#

when i execute that

#

the player get a cooldown right?

#

i wanna use that for something else

#

thats why i ask

bronze bison
#

Yes but thats another thing ๐Ÿ˜„

austere hawk
#

yes but that is exactly where i was looking for a few weeks ago

bronze bison
#

Oh, well yea

austere hawk
#

javascript_cooldown_1_start is 1 day?

bronze bison
#

the ID for that cooldown is 1

#

so %javascript_cooldown_1% will show that cooldown

#

iirc

austere hawk
#

oh like that

bronze bison
#

oh no, its javascript_cooldown_<ID>_<Cooldown>

#

cooldown in seconds

austere hawk
#

can i execute commands when a cooldown ended?

mint fable
#

my vault placeholder seems to be updating fine on latest papi and latest vault expansion

#

Using titlemanager for the scoreboard

#

Using %vault_eco_balance_commas%

austere hawk
#

The main issue is, my server is getting large. And i run 3 proxies under 1 port. using redisbungee to get playercounts of them. the main issue is that the playercount does mostly not update or stays at 0

bronze bison
#

@austere hawk Yes, will start it again

mint fable
#

maybe redisbungee is causing some sort of hang up

#

the placeholders*

bronze bison
#

iirc that just start it again, whether its ended or not

austere hawk
#

i guess cooldown works in ms right?

bronze bison
#

seconds

austere hawk
#

ah mk

bronze bison
#

if u mean in the placeholder, then yea seconds

#

check the description

#

everything should be there

austere hawk
#

I was looking for something to execute a command when cooldown is ended. Bcs i was busy with a area players can enter with tickets they can buy. But i wanted when the time is over that they get teleported back to spawn.

bronze bison
#

ah, dont think u can do that with it

austere hawk
#

rip

austere hawk
#

yo

#

Savage Facs supporting feather board?

bronze bison
#

SF got papi placeholders,
MVdWPlaceholderAPI supports papi
FB uses mvdwpapi

#

๐Ÿ˜„

#

So yes.

#

{placeholderapi_<Any PAPI placeholders without <> and %%>}

austere hawk
#

well

#

none placeholders

#

work on fb

#

never had that issue before

#

even the regular placeholders

#

I tried getting the default scoreboard config

bronze bison
#

Well, earlier today we got someone here having the same issue

#

Guess its an issue with FB or something, contact the author.

austere hawk
#

to see if the placeholders

#

will work

#

and no

#

they didnt ๐Ÿ˜„

#

sorry my internet crashed for a sec

#

xd

bronze bison
#

All good ๐Ÿ˜„

austere hawk
#

What could it be from?

#

{} %% ()

#

none work

bronze bison
#

I have no idea sorry. Contact the author of FB

austere hawk
#

How can I contact him?

bronze bison
#

FB uses {} tho

austere hawk
#

ik

bronze bison
#

Idk too, check the plugin page?

#

Unfortunately, Not a mvdw plugins user

austere hawk
#

didnt saw any contacts

#

welp

bronze bison
#

Sure he does have a way to support

#

If you didn't find any, open a thread on spigot about this and he will probably help u there.

#

Used to see him helping people, not sure if he still does

austere hawk
#

Ill figure it out

#

anyways thanks for helping

bronze bison
#

Ok, cool! Goos luck ๐Ÿ˜ƒ

austere hawk
#

@bronze bison Fixed it, I just updated the plugin xd

bronze bison
#

๐Ÿ‘ always stay up to date

austere hawk
#

tell that guy

#

that he needs to update the plugin ^

bronze bison
#

Hello @sacred hull,
Don't know if you managed to fix that FB issue, but seems like Arrydzn has fixed it by updating the plugin. SeeAbove

austere hawk
#

Or if he has downloaded the black spigot version

fresh thorn
#

hello, I'm facing an issue with placeholder-api plugin

#

may I have help?

tender vaporBOT
#
FAQ Answer:
fresh thorn
#

when I utilise the command /papi ecloud download, I receive this err No cloud expansions are available at this time

tender vaporBOT
#
FAQ Answer:

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

austere hawk
#

Featherboard and superior skyblock support?

#

Can someone help me out? Bought a plugin that hooks into placeholderapi but theres no explansion for it :c

vivid sparrow
#

Contact the author?

warm oriole
#

@austere hawk

#

?asktoask

tender vaporBOT
#
FAQ Answer:
upper violet
#

java.lang.NullPointerException: null
02.01 17:43:11 [Server] WARN [PlaceholderAPI] Plugin PlaceholderAPI v2.10.5-DEV-83 generated an exception while executing task 643

balmy marten
#

We need the whole error

mild radish
#

getting this error

#

no idea what it means

balmy marten
mild radish
#

huh?

balmy marten
#

You'll need to link ur spigot account, since its to do with DeluxeChat

mild radish
#

I haven't purchased it, helping someone with the plugin.

balmy marten
#

Then get them to come here

#

to at least vouch for you

mild radish
#

jfc

#

lmao

balmy marten
#

Blame the plugin leakers, wouldn't need such a system if they didn't exist

mild radish
#

Hopefully you could answer this at least?

balmy marten
#

Update luckperms

#

to v5 or higher

buoyant hedge
#

Hey, is it possible to make a placeholder for a specific player being online or not?

warm oriole
#

explain in more detail?

buoyant hedge
#

Will do hold on.

buoyant hedge
#

So right here, next to the "&7Status: ".

#

I would like it to say whether the player is online or not. Do I need to make a java placeholder or is there one that already exists?

leaden kraken
#

%player_online%

buoyant hedge
#

Won't that return true or false?

balmy marten
buoyant hedge
#

Alright, the plan is to make it so if player is online I get "&aOnline" and if not "&cOffline".

balmy marten
#

Yeah so if you watch the placeholder for true or false. if (%placeholder%){ return "Online"} else { return "Offline"} Exmaple Code, will be similar not copa pasta

buoyant hedge
#

%parseother_{username}_{placeholder_without_percent_signs}%, i don't keep the {} right?

#

I get script error: if(%parseother_pvpstryker_player_online){ return "&aOnline" } else{ return "&cOffline" }

balmy marten
#

I'm not super sure but I think you do keep them

buoyant hedge
#

Oh okay, let me try.

balmy marten
#

You can always try it with /papi parse me %placeholder% in game

#

to see which works

buoyant hedge
#

With or without the {}, it says error.

balmy marten
#

As in internal error?

#

or just error

buoyant hedge
#

Internal

#

Expected an operand but found %

balmy marten
#

Paste the cmd here that you're trying

buoyant hedge
#

/papi parse me %parseother_pvpstryker_player_online%

balmy marten
#

Yeah you're missing the second % in that js file

buoyant hedge
balmy marten
#

Wild guess at the issue but are you pvpstryker?

#

wait nvm that doesnt explain it

buoyant hedge
#

Nope, one of my staff.

balmy marten
#

That internal happen with the {}'s aswell?

buoyant hedge
#

I'm not testing the javascript, just the parseother.

#

The parseother doesn't work.

balmy marten
buoyant hedge
#

Ahhh yeah, I had forgotten the {}s.

balmy marten
#

Yeah ๐Ÿ˜‰

buoyant hedge
#

Okay but the Javascript doesn't work.

balmy marten
#

Yeah you need to change it to if (%placeholder% == "yes")

#

I thought it was true/false but its yes/no for some reason

buoyant hedge
#

Ohh I thought it returned a 0 or 1.

#

0 being No and 1 being Yes.

balmy marten
#

Nope, uses yes/no

buoyant hedge
#

Still get error when I run: "/papi parse me %javascript_pvpstryker%".

#
    return "&aOnline"
}
else{
    return "&cOffline"
}```
leaden kraken
#
var placeholder = "%parseother_{pvpstryker}_{player_online}%";

function online() {
    if (placeholder === "yes") {
        return "&aOnline";
    } else {
        return "&cOffline";
    }
}

online();
#

Try that @buoyant hedge

buoyant hedge
#

No more errors but now it always says he's offline even when he is online.

#

Never mind.

#

It works perfectly fine now, thanks a lot.

balmy marten
#

Ah Yeah, needed the function. Thanks @leaden kraken

trim mist
#

Not sure where it went, but whoever posted the error they had with PAPI earlier, that error is usually due to starting and stopping the server too fast, or your host is just mad.

indigo anchor
#

Hello, im working on my plugin. And i need hook PlaceHolderAPI. I hooked and placeholders doesnt work with placeholderapi plugin, downloaded extension. Any ideas please?

alpine anvil
#

any error?

#

if no, give the code that will help the support team

indigo anchor
#

No.

#

Ok ok

#

I want in settitle on menu use the placeholder

alpine anvil
#

you didnt tell the api to replace the placeholder

indigo anchor
#

and how i can?

#

im beginner with programing so..

indigo anchor
#

You mean this?

alpine anvil
#

yeah

indigo anchor
#

Its not worked, so i deleted it

#

but i can test it again

alpine anvil
#

how did it not work

indigo anchor
#

How resolve this?

alpine anvil
#

show more code

#

why did you copy it?

indigo anchor
#

Idk you say that, or i dont understand you

alpine anvil
#

I just said to you to use PlaceHolderAPI.setPlaceholders()

indigo anchor
#

in setTitle or what?

alpine anvil
#

yeah

indigo anchor
#

Idk how..

alpine anvil
#

setTitle(PlaceHolderAPI.setPlaceholders(player instance, "the title"))

junior musk
#

you have to ask to Jobs Reborn author

#

didn't know that existed lol

meager vault
#

I asked him and he doesn't answer since many months ( I asked him on discord, on spigot page and in private in spigot )

alpine anvil
#

@meager vault is there a placeholder that tells you the amount of xp and the total xp?

#

if so use the Progress placeholder expansion

#

shown above

meager vault
#

No, I also asked him to do this placeholder :c

#

Yeah that's what I wanted to do

#

but there's only the actual and max XP ( for the whole job ) placeholder

#

so, not for the actual level

alpine anvil
#

%jobsr_user_jexp_(jname/number)%

junior musk
#

%progress_bar_{jobsr_user_jexp_Fermier}%

#

try with that

alpine anvil
#

%jobsr_user_jmaxexp_(jname/number)%

#

that too

junior musk
#

yeah

alpine anvil
#

thats exactly what you need

meager vault
#

oh

#

whut

#

when I checked I didn't see that ๐Ÿ˜ฎ

#

thanks a lot ^^

alpine anvil
#

Np

meager vault
#

we can use placeholder for the maximum value in progressbar ?

alpine anvil
#

yeah

meager vault
#

didn't knew that, seems nice ^^

meager vault
#

I have another "request" ( sorry for you guys ๐Ÿ˜‚ )
It would be to take a placeholder and just add +1 to it ( if placeholder returns 5, then it will returns 6 )
if someone can do this for me it would be perfect please ( I'm a noob with javascript ๐Ÿ˜ฆ )

junior musk
#

you can use the Math expansion

meager vault
#

oh you're right :p

#

I didn't think about it

#

thanks a lot ^^

junior musk
#

%math_{placeholder}+1%

sacred bronze
#

is there a faq for when DM 1.15 compat comes out

brisk coral
#

Nope

sacred bronze
#

damn

meager vault
#

Is it possible to use placeholderapi placeholder's into skript ? ^^
(Or is there any expansion for this ?)

warm oriole
#

nope.

#

get out of here skript

meager vault
#

I need it to create a custom display message in the chat using placeholders :c

trim mist
warm oriole
#

Could always get DeluxeChat too but idk about any good free chat plugins.

meager vault
#

this is the oposit ^^ Glade, this expansion allow to create skript placeholders

#

I'm using deluxechat

warm oriole
meager vault
#

but I want to make a command ( like /aa ) that would display some informations

warm oriole
#

Verify you are a buyer of it.

#

Could use mycommand but idk if it supports PAPI

#

There's also I believe DeluxeCommands

meager vault
#

Here it is

warm oriole
#

look above at what I mentioned

meager vault
#

Oh yes, deluxecommands, thanks ^^

warm oriole
#

np.

trim mist
#

I'm pretty sure someone was looking at remaking it like a week ago but I can't recall who.

trim mist
#

Nope, as I don't remember who was going to try and do it. It wasn't anyone associated with us.

warm oriole
#

I was going to try to remake it ~ a week ago, but I don't have the plugin to do it.

trim mist
#

It's open source

warm oriole
#

the jar? will look into it tonight then.

trim mist
#

Link to GitHub is on plugin page.

warm oriole
#

atm buying some domains.

#

and some company domains.

#

So will look into remaking it sometime tonight.

velvet holly
#

Hey, I'm trying to use one of the PAPI placeholders (%multiverse_world_alias%) in the TAB plugin config file. In their description they say, that it is fully supported, in every other plugin this placeholder works for me, but not in TAB, it only shows 0. I'm trying to show world alias in the tab next to the player's nickname, is it possible?

warm oriole
#

Did you download the expansion for Multiverse?

#

with PlaceholderAPI?

velvet holly
#

yes, the titlemanager shows it right in the header of the tablist

warm oriole
#

As you'd need PAPI and the Muliverse expansion so you could use the placeholders properly.

velvet holly
#

oh wait, now I see that it can only show numbers there, any ideas how to use this placeholder to show world alias in the playerlist not in the header or footer?

warm oriole
#

No idea never used that plugin for placeholders.

#

I'd look on the official ecloud site

velvet holly
#

Okay, thanks for help

buoyant hedge
#

Yesterday I was here and made the Online/Offline placeholder, but now I want it to check if the player is vanished because if so I want it to say offline.

leaden kraken
#

You forgot the {}

vivid sparrow
#

add {} around the essentials placeholder

leaden kraken
#

%parseother_{pvpstryker}_{essentials_vanished}%

#

@buoyant hedge

sacred olive
#

is there a placeholder to see how many players are surrounding another player within a radius?

trim mist
#

Afaik no.

mint fable
#

seems javascriptable

upper violet
#

So my question is I download a placeholder addon from ecloud then do a reload it just tells me still 0 have been hooked

balmy marten
#

Either it didn't actually download, you don't have the required plugin to use the expansion or it's just spewing out errors and isn't a happy camper

random ingot
alpine anvil
#

@random ingot what version of luckperms do you have

random ingot
#

done

#

ty

alpine anvil
#

glad u fixed it

full sequoia
#

Is there anyway I can reference placeholders from other plugins within my code?

tender vaporBOT
#
Placeholderapi
Useful Links & Information:

A resource that allows information from your favorite plugins be shown practically anywhere!
โ€ข Spigot
โ€ข Wiki
โ€ข Placeholder-List
โ€ข GitHub
โ€ข eCloud

vivid sparrow
#

Check the wiki.

full sequoia
#

ah found it, thanks

#

Just to clarify that I'm doing it correctly,
String money = PlaceholderAPI.setPlaceholders(player,"%gemseconomy_balance_default%");
String money should equal whatever the players balance is right?

trim mist
#

Ya

full sequoia
#

alrighty, thanks!

rigid slate
#

how can I use placeholderapi placeholders in javascript?

vivid sparrow
#

You just type them.

#

var name = "%player_name%";

rigid slate
#

oh tax

austere hawk
#

thanks ฤฑ love you

#

function abbrNum() {
    var number = "%askyblock_island_level%";

    return number;

}

abbrNum();```
#

@vivid sparrow

tender vaporBOT
#

@austere hawk

Hey,

Please be patient and don't ping staff members!

vivid sparrow
#

What

rigid slate
#

it retuns as string

vivid sparrow
#

And?

rigid slate
#

I want it as int

vivid sparrow
#

You pass a string, ofc you get a string

#

parseInt("%%")

rigid slate
#

oh

#

thx

austere hawk
#

it returns NaN

#

@vivid sparrow

vivid sparrow
#

it only does that if the placeholder doesnt return a number.

bronze bison
#

Whats that placeholder for thonking

austere hawk
#

Hey guys i'm having some issues trying to get PAPI to work. When i do /papi parse me %player_name% it correctly returns my username, but trying to put it in chat, console or in the essentialsx config just puts the raw text. Any pointers?

#

I've restarted the server a few times, running the latest PAPI 2.10.4 and also did /papi reload after every install so far

vivid sparrow
#

because essentialsx doesnt support placeholderapi.

#

You will need another plugin for that, called ChatInjector

austere hawk
#

You got any experience with VentureChat?

#

doesn't work when i type it in chat or console either i mean

#

but ill take a look at that plugin

#

works well, thanks @vivid sparrow c:

cloud salmon
#

I'm having problems with placeholderapi ecloud

leaden kraken
#

And what may those problems be?

cloud salmon
#

it won't download jobs

bronze bison
#

Its built into the plugin now

cloud salmon
#

oh ok

#

thank you

bronze bison
#

No problem ๐Ÿ‘

cobalt cradle
#

killStats expansion doesn't work for 1.15.1

#

It doesn't get loaded

vivid sparrow
latent bane
#

My placeholders downloading is not working, everytime it just sends "No cloud expansions are available at this time."

tender vaporBOT
#
FAQ Answer:

If placeholders are not showing correctly,

  • Ensure you have downloaded and install PlaceholderAPI.
  • Ensure you have the correct expansion installed. (/papi ecloud list all -> /papi ecloud download [Expansion])
  • Use /papi reload
  • Test the placeholder in /papi parse %placeholder%
  • Check https://helpch.at/placeholders for valid placeholders.
#
FAQ Answer:

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

sly spear
#

whats the placeholder for the player played time?
%player_time_played_hours% doesnt work for me while i have already downloaded Player from ecloud

wet basinBOT
#

@limber ice Unknown expansion.

#

@limber ice Unknown expansion.

vague pine
#

How to display a red potion color in menu? ~~"

turbid tide
#

you can't display different potions in menus. Only the purple default one

fringe pewter
#

How do I get a custom placeholder to update every x amount of seconds?

vivid sparrow
#

Depends on the plugin that display them.

#

PlaceholderAPI itself doesnt handle the update interval.

warm oriole
#

@fringe pewter the plugin itself using the expansion is using its own update time

#

So youโ€™d need to make the plugin itself update the stats that the expansion grabs which is hopefully on a runnable to get updated

#

If you have any questions you can leave them below.

fringe pewter
#

Figured as much, thanks.

austere hawk
#

Hello. Having trouble with latest PlaceholderAPI version on latest PaperSpigot build for 1.15.1

#

Please help

tender vaporBOT
#
๐Ÿ“‹ Your paste, Fibre_L
https://paste.helpch.at/turapupise

A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.

#
FAQ Answer:

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

vivid sparrow
#

@austere hawk

austere hawk
#

thank you

crude dawn
#

How to open another menu?

#

[open]?

brisk coral
#

[openguimenu] menuname

cyan meadow
#

Is there anyway to put papi placeholders in essentials chat format?

bronze bison
#

Yes, using ChatInjector

tender vaporBOT
#
Chatinjector
Useful Links & Information:

Allows you to parse PlaceholderAPI placeholders in chat!
โ€ข Spigot
โ€ข GitHub

cyan meadow
#

Omg thank you so much

bronze bison
#

No problem!

cyan meadow
#

I didnt know this plugin was a thing lol

mint fable
#

@heady falcon

#

I got no idea how to use it

worthy zodiac
#

Found out nvm

mint fable
#

Oh?

#

Can you share? I want to put it on the github wiki

worthy zodiac
#

%animations_rainbow?key1=4,key2=3_Yourrainbowtexthere!%

#

replace with text of your choice

mint fable
#

Do you know the valid types?

worthy zodiac
#

have no idea if it can do more

#

but probably

mint fable
#

ah

#

Welp, Niall if you want to make a write-up I can add it to the wiki on github

vivid sparrow
#

Check his spigot

tender vaporBOT
#
Unknown Resource!

I couldn't find a resource with the name or id of animations expansion

mint fable
#

aha!

#

no idea what the key1 and key2 stuff is

worthy zodiac
#

same

#

put some random numbers and it worked

mint fable
#

on the plugin page it says this is valid: %animations_<type>_Your text%

#

Can you test if that's still true?

worthy zodiac
#

sure 1 sec

#

yeah still works

#

got no idea for keys then they just show up when you search for the palceholders

mint fable
#

Hopefully Niall can explain a bit on that

worthy zodiac
#

i d love that

vivid sparrow
#

@heady falcon

worthy zodiac
#

might be able to do some cool stuff but we are just nto aware how

#

Found the types

mint fable
#

ye

#

I got em all on the list now

worthy zodiac
#

can t figure out the speed down for the rainbow. it s kinda fast but might be bcs of my scorteboard

mint fable
#

Just need the key1 key2 stuff

worthy zodiac
#

kept trying to modify them but won t do anything

#

even tried replacing โ€žkeyโ€œ with speed

#

does not break but does not do anything either

mint fable
#

might stay as key1 key2

#

who knows

#

ooh

#

might be for options

worthy zodiac
#

they might be for other types tho

#

yeah

mint fable
#

if he has those built into the expansion as well

worthy zodiac
#

let me try

mint fable
#

wave is probably an easy one to test

vivid sparrow
#

Decompile the expansion and see

mint fable
#

too lazy

worthy zodiac
#

same thing. nothing

mint fable
#

it is that

worthy zodiac
#

ooh

#

wait

mint fable
#

Send the placeholder you used

#

decompiled and checked, there are options and the key1=whatever is correct for those

worthy zodiac
#

yeah

#

i got it

#

used glow

#

you can do start middle collors

#

pause

#

size

mint fable
#

I don't really want to add this all to the github

#

it's already on the kiteboard wiki :L

vivid sparrow
#

people barely check ours, dont expect them to find the way to the wiki themselves lol xd

mint fable
#

ik, but I just don't know how to write it, or should I reference it? no idea

vivid sparrow
#

well

worthy zodiac
#

Examples seem the best thing here

heady falcon
#

@worthy zodiac @mint fable Unfortunately thereโ€™s no way to change the speed of animations, it would be down to how fast your scoreboard is refreshing

tender vaporBOT
#

@heady falcon

Hey!

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

worthy zodiac
#

got it thanks

heady falcon
#

As for the keys, they are optional, you can leave them out like this:
%animations_rainbow_Rainbow Text!%

mint fable
#

ya, we were just trying to find what they did

#

found out it's the options for each type

heady falcon
#

The spigot download is not the latest version, the one on ecloud would be

#

Yeah, the options are the same as in KiteBoard

mint fable
#

Added it to our placeholderapi wiki, but not the options yet

heady falcon
#

Animations and their options

#

Note that round is not available in the expansion

mint fable
#

๐Ÿ‘

#

anything else?

#

for options, do you need to start with a ?

#

@heady falcon

#

?key1=value1,key2=value2

heady falcon
#

Yes

austere hawk
#

%server_online% is returning 0

#

even when there are players online

#

the expansion server is installed

vivid sparrow
#

when you parse it in chat or?

mint fable
austere hawk
#

lol papi can not find me

#

sec

vivid sparrow
#

rejoin

heady falcon
#

Yep thatโ€™s good CJ

austere hawk
#

already did 5 times

mint fable
#

๐Ÿ‘

austere hawk
#

still not working

vivid sparrow
#

restart?

#

It shouldt break at it just read a simple bukkit method

#

Bukkit.getServer().getOnlinePlayers().size()

mint fable
#

any errors or no?

austere hawk
#

even restart did not work.

mint fable
#

Are you the only one online?
Are you in vanish?

austere hawk
#

nope

#

and nope

mint fable
#

server version?

austere hawk
#

1.8.8

#

okay somehow it updated now the placeholder.

#

guess i had to redownload the expansion

mint fable
#

๐Ÿ‘

austere hawk
#

Do you guys know why pinger placeholder is not returning anything

bronze bison
austere hawk
#

expansion is installed

#

oh i see the issue

potent dawn
#

Im using latest version

#

in spigot 1.15.1

bronze bison
#

Its a known issue, hopefully will be fixed in next versions.

#

Sorry about that.

potent dawn
#

sure, thanks

fervent jackal
#

What is the process used by Barry to get connected to the servers?

#

A friend has trouble establishing the connection with one of the server nodes, it is only his PC that does not connect.
I assumed that his pc uses the same process as Barry since the bot can't connect to my server either.

#

He used other PCs with the same router and if they were able to establish connection

#

(I don't know if this is the right channel to ask this)

warm oriole
#

"server nodes"?

#

what do you mean by connected to the servers @fervent jackal.

fervent jackal
#

Cannot connect to servers hosted on the same node.

warm oriole
#

I need more info then that mate.

#

this is nothing with Barry..

#

@fervent jackal

hollow basin
#

Hi does anyone know the placeholder for essentials balance thanks

#

pls need help]

mental night
#

||%vault_eco_balance%
%vault_eco_balance_commas%||

leaden kraken
#

could of put it in a code block

mental night
#

On phone and doesnโ€™t work ๐Ÿ˜ข

hollow basin
#

@mental night That didnt work any idea why?

warm topaz
#

make sure u have the expansion downloaded
/papi ecloud download vault /papi reload

bronze bison
mental night
#

^

median kindle
#

Boody

bronze bison
#

bruptum

median kindle
#

Jellooo

bronze bison
#

Hi

median kindle
#

So I was asking if I would be able to make a javascript to make it think the placeholder is getting executed in other world

#

Like %javascript%_(world):(placeholder)%

#

Or something alike with only one placeholder and world

brisk coral
#

Which placeholder are you trying to trick?

median kindle
#

So the output would be like if the player were there

bronze bison
#

Parse it as a player in that world.

median kindle
#

Look, Plotsquared doesnโ€™t allow me to use placeholders around the server

bronze bison
#

PAPI asks for a player to parse the placeholder for, not a world.

median kindle
#

I can only execute the placeholders in their plots world

#

How?

bronze bison
#

Well you need to parse it as a player in that world. You need a player to be there.

median kindle
#

But I donโ€™t want him to be there

#

Because I have another world as main world

bronze bison
#

Also its not possible with the current JS version, you need to use my fork.

median kindle
#

What fork?

bronze bison
#

My js fork. Anyway will think about it and see if it will be possible anyhow but dont think so.

median kindle
#

And how will I know if you found a way to

bronze bison
#

Guess obviously I'll let you know?

#

Btw, u didn't answer Frosty's question.

median kindle
#

Yes I did

#

A Plotsquared placeholder

#

%plotsquared_has_plot%

bronze bison
#

Oh i didn't see your message mb. And that's stupid?

#

Well i mean that kind of placeholder needs the player only.

#

If it supports more than one world then you might need to ask the author to add a new placeholder like %ps_has_plot_<world>%

#

Because you pretty much can't parse it for the same player in different world and act as the player is in another world.

brisk coral
#

Bit confused, you using multiple plot worlds?

bronze bison
#

Well from what i understood, seems like you can have multiple plots in different worlds in PS, so that placeholder return whether you have one in the world ure currently on or not.

median kindle
#

No

#

Im using a plots world and a spawn one

#

With mines and more

#

I have asked the developer to add it but he says that they donโ€™t need it

bronze bison
#

they don't need it

Lol ๐Ÿ‘Œ

#

Well iirc, its OS so you can do whatever you want.

austere hawk
#

I Need help

iron sierraBOT
#

Theres not time to wait! Ask your question @austere hawk!

austere hawk
#

I'm using 1.12.2 and lastest version of PlaceHoldersAPI. But my scoreboard (titlemanager) doesn't work. There is no error in console. Why this is happen ?

sharp jay
#

@austere hawk which placeholders you trying to put?

warm oriole
#

Scoreboard? TitleManager is for tablist

#

Not a scoreboard

median kindle
#

Boody

#

//Well iirc, its OS so you can do whatever you want.

#

Whats this

brisk coral
#

The expansion is open sourced meaning you can modify it yourself

austere hawk
#

@sharp jay %askyblock_level%

tender vaporBOT
#

@austere hawk

Hey!

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

austere hawk
#

sori

sharp jay
#

@austere hawk titlemanager needs to be like {placeholderapi_askyblock_level}

austere hawk
#

it's not working

median kindle
#

And how do I add that terfs

austere hawk
#

hey I'm trying to set up Deluxe tags for my server, is it really not working in 1.15 ? or is it just that I missed something, I did everything to toggle to essentials chat which worked but then do I have to add a format in the essentials config ? ^^ ๐Ÿ˜„

sharp jay
#

@austere hawk did you install the expansion ?

#

@median kindle ?

#

@austere hawk dont think it was tested yet for 1.15

trim mist
#

I'm fairly sure you have to add it to the essentials format, yes.

sharp jay
#

^^^

austere hawk
#

Thank you guys i'll try stuff ^^

austere hawk
#

ok wow so excited I finally made it work, so yeah needs {deluxetags_tag} in essentials config but also I noticed I had Chatex plugin and it was actually messing around, when I removed chatex it worked! So yes Deluxetags works in 1.15 ๐Ÿ˜„

bronze bison
exotic cosmos
#

Is there a reason why I got this error?

vivid sparrow
#

If you arent using luckperms, remove the expansion otherwise, what version are you using?

exotic cosmos
#

I am using luckperms

#

1.14.4

vivid sparrow
#

No, I mean plugin version xd

exotic cosmos
#

o

#

latest

vivid sparrow
#

Then upgrade the expansion version

exotic cosmos
#

er

#

how

vivid sparrow
#

remove it manually and reinstall it from the ecloud.

exotic cosmos
#

/papi ecloud download LuckPerms

#

@vivid sparrow is that the command?

tender vaporBOT
#

@exotic cosmos

Hey!

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

exotic cosmos
#

or do I need to manually put it in

vivid sparrow
#

That's it

exotic cosmos
#

I did that last time

#

and thats when I got the error

#

just got it again

vivid sparrow
#

do /lp and send the output

exotic cosmos
#

ok

#

/lp works just fine

#

Im also trying to fix the %player% issue with DeluxeJoin

#

figured it might be associated

vivid sparrow
#

Do /ver luckperms

exotic cosmos
#

4.0.80

vivid sparrow
#

Ok, do /papi ecloud download luckperms 4.0

#

Latest is v5

exotic cosmos
#

oh

#

that explains a lot

#

let me update it in that case

#

any reason deluxejoin is stuck with the %player% variable?

vivid sparrow
#

By the time when the deluxejoin config was made, papi had only one player placeholder, %player%, over time more placeholders were added but the config wasnt updated.

exotic cosmos
#

gotcha

#

ty

vivid sparrow
#

Np

exotic cosmos
#

currently setting up a VR server, should be fun

vivid sparrow
#

Dammmn sounds cool, good luck with that ๐Ÿคž

sacred olive
#

is there a placeholder to see if a player has executed a certain command?

trim mist
#

No

warm oriole
#

what do you mean placeholder?

#

no there isn't a placeholder for that you are looking for a command logger plugin.

sacred olive
#

ok, thank you

radiant hearth
#

Hello My placeholder api isnt working when I type in chat it just shows the placeholder text same in the scorboard

#

[PlaceholderAPI] Failed to init placeholder expansion from class: com.extendedclip.papi.expansion.mcstatistics.StatisticsExpansion
08.01 06:52:36 [Server] ERROR [PlaceholderAPI] org.bukkit.Material.isItem()Z

#

says failed to register exspansion

brisk coral
#

/papi ecloud download static 1.7.0

radiant hearth
#

no expansion found named that

leaden kraken
#

statistic

brisk coral
#

Autocorrect smh

radiant hearth
#

/papi ecloud download statistic 1.7.0

#

like this with the space

#

Fixed my playtime placeholder but not the luckperms one

warm oriole
#

LuckPerms jar needs to be updated then mate lol

#

to a beta build

brisk coral
#

/papi ecloud download luckeperms 4.0

bronze bison
#

4.1 for latest v4 one

brisk coral
#

Close enough

radiant hearth
#

ok

#

Hmmm says no exspansion found

#

/papi ecloud download luck(e) perms 4.0 you added e but as soon as I did this the whole papi broke

bronze bison
#

Wew there's a typo luckperms

#

||watch out for andre, frosty ๐Ÿ˜‚ ||

radiant hearth
#

lol yeah but after I did this my whole placeholder api broke

#

Says internal error now

bronze bison
#

Which version if lp do u have?

radiant hearth
#

5.0.39

bronze bison
#

Ok then

/papi ecloud download Luckperms
/papi reload
radiant hearth
#

fixed papi but not luckperms hmmm

bronze bison
#

Whats wrong with lp?

#

Where are u using the placeholders tho

brisk coral
#

You're getting a console error then

radiant hearth
#

%luckperms_group_expiry_time_<groupname>%

#

trying to use this in my title manager scoreboard

bronze bison
#

/papi parse me %that placeholder here% does it work?

radiant hearth
#

it show : %luckperms_group_expirytime<groupname>%

#

no it doesnt

brisk coral
#

Check console and see what error it's spewing out

radiant hearth
#

[NametagEdit] As the error above suggests, you do NOT have any placeholder plugins installed. The placeholder API is merely an interface, it requires other plugins to function. This is NOT an issue with NametagEdit.

#

just this

#

I did /papi list and luckperms is not in the list

#

also vault isnt either and it isnt working

#

but I did /papi ecloud download vault and luckperms

brisk coral
#

What's your papi version?

radiant hearth
#

2.10.4

#

I try to /papi register luckperms and it says faild to register exspansion from luckperms

#

What you thinking

junior musk
#

@radiant hearth Or update LuckPerms to V5 or do /papi ecloud download LuckPerms 4.0

radiant hearth
#

luckperms is on ver 5

#

if I download 4.0 it breaks papi

junior musk
#

then try to redownload the luckperms expansion

radiant hearth
#

i did still nothing

brisk coral
#

Show the error which is showing in console when downloading the expansion

#

=paste

tender vaporBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
โ€ข HelpChat Paste

radiant hearth
#

ok

junior musk
#

what's the error in that ?

radiant hearth
#

There isnt one

#

Thats the prob says everything loaded

junior musk
#

and what's the problem again ?

radiant hearth
#

on my scoreboard the %vault_rank% prefix wont work neither will the %luckperms_group% prefix

brisk coral
#

Does your scoreboard plugin even support papi?

junior musk
#

what's your scoreboard plugin ?

radiant hearth
#

yes

#

Title Manager

junior musk
#

do Vault and LuckPerms show in /papi list ?

warm oriole
#

Title Manager is a tablist plugin not a scoreboard plugin lol @radiant hearth

#

Unless itโ€™s a random one that I donโ€™t know of

radiant hearth
#

yeah it has scoreboard and tab

junior musk
#

TitleManager adds floating messages, a header/footer for your player list and a scoreboard sidebar.

#

and as I said,

do Vault and LuckPerms show in /papi list ?
runner2121

radiant hearth
#

no

junior musk
#

and is there an error when you do /papi ecloud download Vault and /papi ecloud download LuckPerms ?

radiant hearth
#

No it lets me download them

junior musk
#

and when you do /papi reload ?

radiant hearth
#

it reloads but the placeholders dont change

leaden kraken
#

Is the luckperms expansion in your plugins folder?

#

@radiant hearth

radiant hearth
#

yes

leaden kraken
#

That needs to go in the PlaceholderAPI expansions folder

#

Not in the plugins

high vortex
#

@radiant hearth i suggest moving to another plugin

#

NTE is kinda outdated

radiant hearth
#

Nte ?

austere hawk
#

What is the placerholder for just money? From Essentials?

#

Needs to be used in DeluxeMenus^

radiant hearth
#

ranks

#

and I want to show when rank expires for luckperms

vivid sparrow
#

@austere hawk vault
-papi vault

junior musk
#

@high vortex he's using TitleManager, not NameTagEdit
@radiant hearth the expansion must be in the Expansion folder inside PlaceholderAPI's folder, not in the Plugins folder

radiant hearth
#

I fixed it I disconected from the db I was using now everything works

#

so idk

austere hawk
#

Thanks GabyTM! :-)

turbid tide
#

is it possible that a javascript placeholder returns a math placeholder?

#

i want to do something like this

#

and it is not working

junior musk
#

what does it shows?

turbid tide
#

Script error

#

oh let me check the console as well

bronze bison
#

Return needs to be in a function

warm oriole
#

issue is with your code as you are trying to do a else after a ; also

bronze bison
#

Code is fine. Just put it inside a function and call that function.

turbid tide
#

ahh forgot

#

sorry ๐Ÿ™‚

bronze bison
#

All good ๐Ÿ˜„ ๐Ÿ‘

turbid tide
#

yeah works fine now

#

thanks a lot

bronze bison
#

No problem!

turbid tide
#

is it possible to use a javascript placeholder in another javascript placeholder? i am assuming it is

#

but is better to be sure ๐Ÿ™‚

bronze bison
#

Yes.

turbid tide
#

ok thanks

dire vigil
#

im making an custom voteshop menu and i have some trouble with the votepoints placeholder... can anyone help me with this maybe?

  'playerVotePoints':
    material: prismarine_crystals
    amount: 1
    slot: 8
    priority: 2
    display_name: '%player_name%'s &a&lVote &b&lPoints'
    lore: 
    - '&bYou have &3&l%VotingPlugin_Points% &bVote Points'
    left_click_commands:
    - '[message] &bYou have &3%VotingPlugin_Points% &bVote Points'
warm oriole
#

do you have the expansion?

#

for the plugin?

dire vigil
#

what do you mean?

warm oriole
#

/papi ecloud download VotingPlugin

#

if there's no expansion it won't work..

#

lol

#

/papi reload

dire vigil
#

yeah that is what i was surching for

#

ill try that holdon

warm oriole
#

well if there isn't one and the author doesn't mention it's supported then it won't work.

#

also check the ecloud or check the placeholders wiki.

dire vigil
#

well that was easy

#

it works

#

thx @warm oriole !!

warm oriole
#

np.

warm hazel
#

Does anyone know why putting / papi ecloud download PLUGINX, tells me that it is not available, and those that are already installed does not work for me

#

plugin x is for example

rich turret
#

could someone help me with this error:
[PlaceholderAPI] BattleLevels is currently using a deprecated method to hook into PlaceholderAPI. PlaceholderAPI for that plugin no longer work. Please consult [RobiRami] and urge them to update it ASAP.

vivid sparrow
#

Its not an error

mint fable
#

cough

vivid sparrow
#

Are you ok cj?

mint fable
#

nah

rich turret
#

How do I solve it?

mint fable
#

that plugin is just not updated for 2 years

vivid sparrow
#

Man, it's just a text

#

Rษ™aฤ

mint fable
#

Can't use placeholders in it I'm pretty sure

#

the placeholders for it should still work iirc

rich turret
#

I can't :c

vivid sparrow
#

It just use EZPlaceholderHook instead of PlaceholderExpansion or what the new method is (iirc)

mint fable
#

it stops stuff from working though it seems

rich turret
#

my placeholders just stopped working

mint fable
#

and I have no idea if @glad glen want to update it or if somebody else has

vivid sparrow
#

Wrong robi

mint fable
#

if you updated PlaceholderAPI, that is what caused them to stop working

#

oh shoot it is

vivid sparrow
#

Isnt the same guy that has Leaderheads?

mint fable
#

I think he's in here

vivid sparrow
#

Ye

mint fable
#

@steep thorn

#

aha

#

sorry Robi :L

#

Somebody released an external expansion

#

you can get it there

vivid sparrow
#

Cmon, it's just papi ..

mint fable
#

just papi

#

uses papi for everything

rich turret
#

Should I use the plugin that says it is compatible with placeholdersapi?

vivid sparrow
#

I mean, it's not that hard to add placeholders or support for them

mint fable
#

wait this isn't an expansion, it's legit a plugin

#

Go ahead and try that guy's plugin

vivid sparrow
#

Lol what

#

Direct link

vivid sparrow
#

=3

#

Tf is that

rich turret
#

I will use it and let you know

#

lol the plugin was uploaded today xD

steep thorn
#

๐Ÿ˜

dusk fern
#

the jetsprisonmines placeholder is uninstalling on restart. Any idea how I can fix this?

trim mist
#

How do you know it's "uninstalling"?

dusk fern
#

So I download it once my server is on, then I papi reload. Then I restart, and its back to uninstalled (or gold, idk if that means uninstalled or not updated) @trim mist

trim mist
#

Gold means not updated iirc.

dusk fern
#

Okay, so then I guess its un-updating lol

#

How can I fix this? Is this a problem with the JPM plugin? or Papi?

trim mist
#

Unsure. Might go ask the author if they are aware of anyone else having issues with it.

dusk fern
#

Okay, thanks @trim mist

versed warren
#

@rich phoenix

rich phoenix
#

Thanks

#

Not sure what's wrong..

#

If someone can help, that'd be great ๐Ÿ˜„

warm oriole
#

Well you need to provide your config or whatever obviously towards that

bronze bison
#

=paste

tender vaporBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
โ€ข HelpChat Paste

coral sequoia
tender vaporBOT
#
FAQ Answer:

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

coral sequoia
#

Thanks ill try it

#

Link isnt working?

bronze bison
coral sequoia
#

It just loaded haha. ๐Ÿ™‚ took awhile. Thanks

bronze bison
#

๐Ÿ‘

earnest oxide
#

how to delete a placeholder

junior musk
#

what do you mean ?

#

remove it from somewhere or delete the expansion ?

earnest oxide
#

Delete the placeholder I downloaded with papi ecloud download

bronze bison
#

Delete the jar of the expansion you downloaded in plugins/PlaceholderAPI/expansions folder.

earnest oxide
#

thanks

bronze bison
#

No problem ๐Ÿ‘

earnest oxide
trim mist
#

If you're beta testing the new VP, and you used to use the eCloud version of the expansion, remove it.

earnest oxide
#

Command ? because im delete expansion on folder expansion on placeholder, but it is always present when I execute the command

trim mist
#

There is no command. You go into your expansion folder and delete the jar.

earnest oxide
#

it's already done except that when I do / papi list it always appears

trim mist
#

Well yeah, in the beta, it's built in now so it's using the correct placeholders.

#

According to that error you're still using the old expansion.

earnest oxide
#

Okay weird i'll see at the next reboot thanks you

queen solstice
#

heya so i'm using Papi and deluxe menus together, when i use the multiargs option for deluxe menus %luckperms_group_expiry_time_<group name>% will show the duration left for the player who typed the command not the multiargs option, is there a fix to this?

vivid sparrow
#

Wdym?

queen solstice
#

i want it to display the time left for the player i typed the command to view

#

whereas it doesnt show it due to the multiargs not noticing i meant their ign now mine

tender vaporBOT
#
๐Ÿ“‹ Your paste, Pablo
https://paste.helpch.at/rujajufoyo

A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.

trim mist
#

Update LuckPerms

austere hawk
#

Thanks that fixed it

#

Is there a placeholder that shows the users version of Minecraft they are on?

trim mist
#

Nope

#

At least not under that.

vivid sparrow
#

@austere hawk

austere hawk
#

why does placeholderapi not work when skyblockX is in the plugins too

brisk coral
#

Elaborate doesn't work

austere hawk
#

it doesnt show up in plugins

#

and the commands do nothing

#

I downgraded my skyblockX

#

must be something wrong with the new versions

brisk coral
#

You're saying placeholderapi is not showing up or skyblockx?

austere hawk
#

when I had skyblock X in my plugins folder placeholderAPI wasnt showing up

brisk coral
#

=paste

tender vaporBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
โ€ข HelpChat Paste

austere hawk
#

I downgraded the version of my skyblockX and its fine

brisk coral
#

Show the startup log

austere hawk
#

i already fixed it tho

brisk coral
#

Using the newest version of the plugin

austere hawk
#

ok

tender vaporBOT
#
โœจ Channel Cleaned!

โ€ข Removed 19 messages.

wheat heath
#

%statistic_minutes_played% isn't working for me it says the plugin is working when I type /plugins and it made a folder aswell

#

And when I typed /papi parse me %statistic_minutes_played% it says %statistic_minutes_played% back to me I think that means it is not working

turbid tide
#

do /papi ecloud download Statistics

#

and after /papi reload

wheat heath
#

ill try that real quick

turbid tide
#

you need to download the expansions for the placeholders to work

wheat heath
#

oh thankyou so much it works

turbid tide
#

Is there a placeholder that returns the date and time for the player? thank you!

#

i know there is %player_time% but it can't be formatted for what i know at least.

brisk coral
#

JS

turbid tide
#

oh didn't think about that ๐Ÿ™‚

#

i have to learn to use js more often

austere hawk
#

Is there a papi placeholder for the coords of a players bed?

#

That would be mega useful

leaden kraken
#
%player_bed_x%
%player_bed_y%
%player_bed_z%
%player_bed_world%
#

@austere hawk

austere hawk
#

Oh thank you

leaden kraken
#

Make sure you have the Player expansion installed as well
/papi ecloud download Player

austere hawk
#

Yeah I had it already but was just blind to those placeholders

fair rock
#

Hey I need help

#

I'm trying to add the Rankup Placeholder but it's not working

tender vaporBOT
#

@fair rock

Hey!

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

sharp jay
#

did someone ping :?

fair rock
#

Yup

#

I need help ๐Ÿ™‚

sharp jay
#

give me a bit

fair rock
#

Okay

#

Ping me when you're back

trim mist
#

Did you really need to tag all of us?

fair rock
#

Yeah because I need help

leaden kraken
#

You gonna tell us the problem so someone actually can help you?

fair rock
#

I just did

#

I'm trying to add the Rankup Placeholder but it's not working
@fair rock

trim mist
#

Next time you do that, you're getting muted.

fair rock
#

Well no one told me I couldn't tag staff

#

And I just need to get this plugin fixed..

leaden kraken
fair rock
#

Who reads rules when they join lol

#

Also don't mini-mod ๐Ÿ˜‰

leaden kraken
#

I simply pointed out where it says not to do that

fair rock
#

Look, all I need is help on this plugin

vivid sparrow
#

Rules are there for a reason, the channel is opened for everyone and it's your problem if you don't respect them.

fair rock
#

Yeah I get it, I learned from my mistake, I just need help..

wet basinBOT
#

@vivid sparrow Unknown expansion.

vivid sparrow
fair rock
#

I tried those placeholders, they don't work

#

@vivid sparrow ^ (only tagging you because you were already talking to me)

#

I did it in config.yml, is that the wrong place?

#

Sorry, I did it in default scoreboard, not config.yml

bronze bison
#

/papi parse me %any rankup placeholder here% what does this return?

#

You're using the placeholders on scoreboard? Does your scoreboard plugin supports PAPI?

fair rock
#

A

#

And yes

#

It's featherboard

#

(A is the rank of the user)

bronze bison
#

Well, for FB its {placeholderapi_(any papi placeholder without %% and brackets)}

fair rock
#

Oh okay, let me try that

#

Ayyy it worked

bronze bison
#

๐Ÿ‘

fair rock
#

Thanks @bronze bison you're officially my bae

bronze bison
#

No problem! Glad I could help ๐Ÿ˜„

#

Stick to the rules and everyone here will help you if they can.

trim mist
#

He left

austere hawk
#

Haha

wind shadow
#

when will there finally be a fix for the subside''s koth placeholder

final shadow
#

Ask subside

vivid sparrow
#

Fair enough ^

junior musk
#

I'm trying to add Options for the Glow type with the Animations expansion, but it doesn't seem to use them and simply display them instead

#

that's my placeholder %animations_Glow_?normal=&e,middle=&6,pause=10_Urikane%

bronze bison
#

Remove the _ after the Glow

#

%animations_<type>?key1=value1,key2=value2_Yourrainbowtexthere!{player_name}%

cobalt umbra
#

I have a question: How can I get the Vault economy top player?

#

so like the person in 1st place when it comes to his balance

bronze bison
junior musk
#

thank you aBooDyy !

cobalt umbra
#

I can't seem to find it

#

Like it's a bit confusing

junior musk
#

%animations_<type>_?option1=value1,option2=value2_YourTextHere% there is a _ between the type and the options, that's what confused me x)

cobalt umbra
#

@bronze bison Would I do it like this? %vault_eco_top_player_1%?

bronze bison
#

Yes.

#

@junior musk oh, thanks for letting me know. Will fix that

junior musk
#

๐Ÿ‘

bronze bison
#

Done ๐Ÿ‘

frosty mantle
#

Is it possible to parse placeholders in javascript with javascript extension?
I just want to display different messages based on placeholder value unless there's a better way

vivid sparrow
#

Yes, just type them.

frosty mantle
#

are they parsed in javascript as well when ran?

vivid sparrow
#

var message = "Your name is %player_name%";

frosty mantle
#

well i'm not sure if you understand what I mean.
I know that they will be replaced once it's evaluated.
I just want to use a value from parsed placeholder in script itself and depending on that display different things

#

I guess I can still access PlaceholderAPI from the script tho

bronze bison
#

What do you mean by that? Like using a value from inside of the script on a placeholder?

frosty mantle
#

using values from the placeholders yes

bronze bison
#
var placeholder = "%player_name%";

function getValue() {
  if (placeholder === "aBooDyy") return "whatever";

  return "its not aBooDyy";
}
getValue();
``` is that what you want?
frosty mantle
#

yes

bronze bison
#

Then yes, you can do that.

#

The placeholders get parsed, then it executes the script.

frosty mantle
#

oh, good. Thanks

bronze bison
#

No problem!

frosty mantle
#

might be helpful to people looking for es6 support

bronze bison
#

Well, if it doesn't then I don't think that would be added. As most if not all still use Java 8

#

But good to know! Thanks for that.

frosty mantle
#

Hmm I could look up if it actually works on java 8

bronze bison
#

Would be great!!

austere hawk
#

why doesn't it work

#

im using leaderheads

#

also.. i'd like to create a hologram with top 10 played time

junior musk
#

do you have holographic extension ?

#

and protocollib ?

austere hawk
junior musk
#

do you have holographic extension ?
and protocollib ?

austere hawk
#

yes i have

bronze bison
#

And PlaceholderAPI plugin and

/papi ecloud download player
/papi reload
```?
austere hawk
#

i tried but it doesn't work

bronze bison
#

Also, about that leaderboard, you either need a plugin for it that has placeholders or handles all of that.

junior musk
#

what do you mean it doesn't work ?

#

what does it say ?

austere hawk
#

its ok but it doesn't change into my name

junior musk
#

does it work in /papi parse me %player_name% ?

austere hawk
#

@bronze bison I am using leaderheads

#

yes it does

bronze bison
#

Thats what i was gonna suggest. You should be able to do that with it? I don't know how exactly but yeah.

#

For the placeholder, then you dont have holographic extension or protocollib plugins

austere hawk
junior musk
#

you need

  • Holographic Displays
  • Holographic Extension
  • ProtocolLib
#

are you sure you have the 3 ?

#

maybe you forgot Holographic Extension ?

austere hawk
#

i'll check

#

yes.. you're right.. i thought that i had it but.......

#

i didnt

junior musk
#

download it and it should work

austere hawk
#

it works......

#

now.. how to create top 10 played time for the month with leaderheads

junior musk
austere hawk
#

where can i see all the placeholders for leaderheads

junior musk
#

wut

#

that was the old version

austere hawk
#

there's only 1

junior musk
#

2

#
%leaderheads_value_<statistic>_<time>_<rank>%```
#

leaderheads_name is for he player name, and leaderheads_value is for its score

#

it's explained on the page I sent

austere hawk
#

and how to create something like this