#placeholder-api

1 messages Β· Page 140 of 1

mild gale
#

it's built in. I didn't make this gui

silver minnow
#

maybe it doesn't support papi in its menus

mild gale
#

oof but I've seen server's they can show how many keys they have in their menus

silver minnow
#

they use other plugins

#

not everyone uses CrazyCrates

junior musk
#

or they use CC but with a menu plugin ThinkSmart

loud pier
#

every time I add an ecloud I have to restart the server for it to detect it ??

loud pier
#

oks thanks

loud pier
#

Is there a way to make a timer with some placeholder? a time remaining.

turbid tide
#

well you could use the %server_countdown one

#

I guess if that's what you want

loud pier
#

If that, thank you. The last question is if there is any placeholder for a kils counter and for detecting live players.

turbid tide
#

live players? what does that mean

#

but kill counter %statistic_player_kills%

loud pier
#

It is for a uhc, to tell how many players are left.

turbid tide
#

so alive players basically?

loud pier
#

yes

turbid tide
#

I wonder if PlayerList has that option

#

what does alive mean?

#

does it mean survival gamemode?

mint fable
#

playerlist doesn't have gamemode detection unfortunately

loud pier
#

If that means, too bad it doesn't have gamemode detection, okay, thanks for your patience.

mint fable
#

@junior musk

#

gamemode detection playerlist expansion?

junior musk
#

I'm sure it had

#

or actually

mint fable
#

perm detection

#

but not gamemode

junior musk
#

you could use placeholder detection

mint fable
#

ooh

#

how would that work

#

oh wait

#

I see all the info on your expansion page

#

it says it has gamemode

junior musk
#

yeah I remember someone asking for that a while ago

loud pier
#

Use the server countdown and the number comes out but the counter does not advance.

turbid tide
#

ugh where are you using it?

#

because it does advance but most likely the placeholder doesn't update

loud pier
#

I am using it with the animated scoreboards.

turbid tide
#

and you're sure the scoreboard updates?

#

what if you do /papi parse me %placeholder% and after a few seconds you do it again

#

does it updatE?

loud pier
#

It was not updated, it was 0 in the chat and the scoreboard remains the same. I have it as %server_countdown_s_10%

turbid tide
#

oh well that will just count untill the seconds hit 10 then it will stay at 0 until they reach 0 again

#

like every minute

wispy crow
#

Anyone know why when using %statistic_mine_block% it counts destroying ONE block as two ? By this I mean if i have 0 blocks mined, if I destroy 1 block it will show as 2 blocks mined.

mint fable
#

@pastel oracle let's take it over here

#

it's not really development stuff

pastel oracle
#

ok

mint fable
#

type /papi parse me %worldguard_region_name%

#

what does it return

pastel oracle
#

spawn

mint fable
#

and what happens when you parse the javascript placeholder?

pastel oracle
#

nothing

mint fable
#

how did you set it up?

#

does nothing return? or does it return the placeholder?

pastel oracle
#

return nothing. Just an empty line

mint fable
#
var zona = "%worldguard_region_name%";
if(zona == "spawn"){
    "&eCiudadela";
}else{
    "&eLugar desconocido.";
}
#

try that

#

no function

pastel oracle
#

.... [22:27:42 ERROR]: [PAPI] [Javascript-Expansion] An error occurred while executing the script 'ubicacion':
<eval>:3:4 Invalid return statement
return "&eCiudadela";
^ in <eval> at line number 3 at column number 4

mint fable
#

o

turbid tide
#

you returning in a function?

mint fable
#

okay i edited it

#

wait

turbid tide
#

second return

#

as well

mint fable
#

okay edited again

pastel oracle
#

Omg, that works. Thank you so much.

mint fable
#

πŸ‘

grizzled pumice
#

any idea why this isn't working?

turbid tide
grizzled pumice
#

uh 1 sec

grizzled pumice
#

and when i do it for skypvp

#

it says 4

turbid tide
#

oh it works then. what plugin are you using to show the placeholders?

grizzled pumice
#

which is correct

#

I am only using Citizens

#

which worked before

#

and showed placeholders fine

#

i do update citizens fairly often while using dev builds

#

using the latest dev build right now

turbid tide
#

oh idk how citizens works. it seems to be a problem with that but I can't say for sure. Never used citizens names to display placeholders.

grizzled pumice
#

alright

scarlet valve
#

Is thier any other placeholder that can replace LocalTime addon bc it pretty broken

turbid tide
#

its not broken actually

#

it works pretty well

scarlet valve
#

Are you sure

turbid tide
#

100% xD

scarlet valve
#

I try it

turbid tide
#

I thought its broken til like last week

scarlet valve
#

The mm get buged

turbid tide
#

how are you using it?

#

mm is minutes

scarlet valve
#

In a scoreboard

turbid tide
#

no like the placeholder you're using

#

MM is months

#

mm is minutes

scarlet valve
#

Really

turbid tide
#

yeahj

#

there is a link

#

to all of them explained

#

under the expansion on the wiki

scarlet valve
#

Ok

#

Ty

#

I was using mm

turbid tide
#

for months I assume?

scarlet valve
#

Yes

turbid tide
#

yeah happened to another guy a couple days ago as well.

scarlet valve
#

Dd/mm/yyyy

turbid tide
#

yeah

#

btw Dd

scarlet valve
#

dd

turbid tide
#

ah that's fine

#

D is different than d as well

#

D is day in year

#

d is day in month

scarlet valve
#

Aa

turbid tide
#

you can see all that on the link I sent

scarlet valve
#

That ciol

#

Cool*

#

Well thank you so much

turbid tide
#

yeah its the default java Date Fomrat

#

no probl

turbid tide
#

Nashron won't work on java 15. They removed it. A new engine is being added to the js expansion tho. Graal if I'm not mistaking.

#

by they I don't mean the developers of the js expansion but the developers of java.

#

you have to wait for it yes. Are there gone be such informations if its working or something? by this you mean what the stage of the integration is? then I don't think so

loud pier
#

they know how to use placeholders %statistic_seconds_played%
%statistic_minutes_played% and %statistic_seconds_played_remaining%
%statistic_minutes_played_remaining%

#

?

steep thorn
turbid tide
#

probably google translate

vivid sparrow
#

What is this question @steep thorn lol

steep thorn
#

Assuming he meant 'somebody knows how to use xyz', you need to make sure you installed the Statistic expansion

#

<insert bot command to show fancy info>

glass cypress
#

Anyone know how to use a placeholder inside a placeholder inside a placeholder?

#

Like this: %foo_%bar_%ye%%%

#

Ive only found how to use one inside another

#

by replacing the % with {

#

But I cant put three like the example

turbid tide
#

don't think that's possible. also not all placeholders even accept placeholders using {}. Just those who added support.

#

probably your best bet is to make a javascript placeholder and then use the javascript placeholder inside a placeholder

glass cypress
#

%formatter_number_format_{math_{something}+{something_else}[precision:0]}%

#

both formatter and math have support

turbid tide
#

make a javascript placeholders instead of using the math placeholder

glass cypress
#

got a link to a github explaining how?

turbid tide
#

yeah but it will still break because they probably don't support placeholders inside placeholders

glass cypress
#

ty

turbid tide
#

πŸ‘

mint fable
warm plover
#

Epic! Thank you SO much!

mint fable
#

πŸ‘

primal nebula
#

How can I use papi in item lore?

#

Is that possible

#

@mint fable

tender vaporBOT
#

@primal nebula,

Hey!

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

primal nebula
#

oh

#

my bad

half needle
#

wanted to know how to download mypet expansion?

silver minnow
mint fable
#

mypet doesn't have an expansion, it's included in the plugin

#

@primal nebula What do you mean by that?

primal nebula
#

@mint fable I want to have a placeholder show up in the lore of an item

mint fable
#

what item?

primal nebula
#

I'm doing a custom gui and I want the lore of an item in the gui to have a luckperms placeholder

#

Just any item

mint fable
#

okay now we're getting somewhere

#

what gui plugin are you using

silver minnow
#

rip

half needle
#

I want to know about right click command

silver minnow
half needle
#

how it works

#

can you let me send pictures?

tender vaporBOT
#
FAQ Answer:

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

silver minnow
half needle
#

need help

silver minnow
#

....

primal nebula
#

@mint fable my bad, im using gui plus

tender vaporBOT
#

@primal nebula,

Hey!

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

primal nebula
#

its a drag and drop gui creation plugin

#

and I just wanted a lore of one of the items in the GUI to have a placeholder in the lore

turbid tide
#

gui plus

#

he said in a message above

mint fable
#

yes it supports PAPI, to use the lp placeholders just install the expansion

#

@primal nebula this

#

I must've been away from pc when I got pinged earlier

#

/papi ecloud download luckperms
/papi reload
There it is since it disappeared from the bot

turbid tide
#

it should stay for like an hour I think

#

more reasonable

austere hawk
#

What is the placeholder api for Multiplier? πŸ™‚

turbid tide
#

what plugin you talking about? AutoSell?

austere hawk
#

yes

turbid tide
#

When have you purchased the plugin?

austere hawk
#

today

turbid tide
#

those are the existing placeholders

#

for autosell

austere hawk
#

thanks

turbid tide
#

no problem

dense steeple
#

Hey!

#

I have a warn how can i fix it?

#

[08:09:00 WARN]: [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend, softdepend or loadbefore of this plugin.

turbid tide
#

that's not an error

#

and nothing you can do about it. its just some info spigot tells you.

primal nebula
#

Hey blitzzz

#

or any support

#

still having the issue with placeholders in item lore

#

when I use a placeholder in lore it just shows as the placeholder and not what its supposed to show

turbid tide
#

ugh have you tested the placeholder with /papi parse ?

primal nebula
#

yup it works

#

with parse

turbid tide
#

well then idk . its something to do with your gui plugin.

#

I think cj checked and said it supports PAPI?

primal nebula
#

No well, im just trying to add the placeholder to an items lore

#

for now

#

And it wont work

turbid tide
#

well I mean

#

depends what you're using

#

for that

#

like that's not something you can just do

primal nebula
#

Im using a plugin called simple rename

turbid tide
#

and does it specify that you can use placeholders from PAPI?

primal nebula
#

Nope

turbid tide
#

you'll need to find a plugin that does

#

placeholders won't just work everywhere. the plugins you use need to support them

primal nebula
#

rip

#

alright

rare lily
#

8 more to go with JSE features...

#

JSE = JS-Expansion πŸ‘€

warm topaz
#

πŸ‘

neat garnet
#

Hi, how would I put a placeholder in essentialsx kit item lores?

mint fable
#

not sure if you can, but IF you can, the placeholder won't update

neat garnet
#

that's fine

#

but rn it's just showing a space

mint fable
#

oh so it might work, what placeholder are you using?

neat garnet
mint fable
#

oh that's what you meant

neat garnet
#

yeah

mint fable
#

because _ are replaced with spaces

#

right

neat garnet
#

yep exactly

mint fable
#

I don't think it's possible

#

BUT

#

I have a better idea

#

that might work

#

can I see the kit config?

neat garnet
#

yep

mint fable
#

=paste

tender vaporBOT
#
HelpChat Paste

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

neat garnet
mint fable
#

hmm

#

I had an idea

#

but it won't work

#

I actually don't even know how I would make it work

neat garnet
#

is there maybe an external kit plugin that could be used instead

mint fable
#

can you use commands in kits or no?

neat garnet
#

I believe so

mint fable
#

do you have deluxemenus by chance?

neat garnet
#

yep!

mint fable
#

okay

#

so /dm execute [console] give %player_name% ...

#

that might work

#

make sure to get the player expansion if you don't have it

neat garnet
#

A little confused, how would deluxemenus work in that instance?

mint fable
#

deluxemenus implements the command /dm execute

#

/dm execute <player> [actiontype] <action>

#

o wait

#

hmm

#

/dm execute {player} [console] give %player_name% 278:0 1 dig_speed:10 durability:10 fortune:2 name:§3§lMEMBER_§3|_PICKAXE lore:|&d&lInformation|&d&l⎟&fOwner:&d{USERNAME}||&c&lEnchantments|&c&l⎟&fEfficiency%tokenenchant_token% itemflags:HIDE_ATTRIBUTES,HIDE_ENCHANTS

graceful ravine
#

Heyo, I want to display the user balance(essentials x) in a scoreboard via placeholder, but the essentails_worth isn't working

#

strange is that the essentails_afk works though

mint fable
#

do you have that

#

o

graceful ravine
#

Yessir

neat garnet
#

now I'm trying to figure out how to add commands to kits

mint fable
#

/papi parse me %essentials_worth% what does that return?

graceful ravine
#

2 secs

mint fable
#

oh wait it might be {username}

#

@neat garnet just put /

graceful ravine
#

its just a empty output

mint fable
#

what is worth?

graceful ravine
#

idk xd

mint fable
#

or what do you think it is?

graceful ravine
#

the balance

#

:pepeHands

junior musk
#

it's the worth configured in worths.txt or smth like that of an item, and the placeholder returns the worth of the item in hand

graceful ravine
#

my bad

mint fable
#

that's what I figured Tanguygab

graceful ravine
#

sorry

mint fable
#

except replace it with {USERNAME} because i'm dumb

neat garnet
#

doesn't seem to be giving me a pickaxe 😦

mint fable
#

do you have the player expansion?

neat garnet
#

yep

mint fable
#

what if you type /give <your_name> 278:0 1 dig_speed:10 durability:10 fortune:2 name:§3§lMEMBER_§3|_PICKAXE lore:|&d&lInformation|&d&l⎟&fOwner:&d{USERNAME}||&c&lEnchantments|&c&l⎟&fEfficiency%tokenenchant_token% itemflags:HIDE_ATTRIBUTES,HIDE_ENCHANTS

#

in chat

#

or console

neat garnet
#

Doesn't seem to be working unfortunately

lofty grove
#

THe data thing in the javascript expansion is so inconsistent with saving to the file

grave veldt
#

are these the only placeholders for DeluxeChat (1.12.0+)

tender vaporBOT
#

@grave veldt,

Hey!

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

mint fable
#

how so @lofty grove ?

grave veldt
#

I can't find anything else

mint fable
#

yes

#

what else are you looking for

grave veldt
#

like

#

player name

#

placeholder

mint fable
#

well that's in the player expansion

#

that entire list of placeholders is available through papi

#

those are just the ones that deluxechat provides

grave veldt
#

yes, I've done /papi ecloud download etc, but when i do it, it doesn;t work

mint fable
#

when did you buy dchat

grave veldt
#

Does it need to be exact date?

mint fable
#

rough estimate

#

week ago? month? years?

#

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

grave veldt
#

around may - june

mint fable
#

?spigot

tender vaporBOT
#
FAQ Answer:

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

mint fable
#

can you please link your spigot account for further help with dchat

#

we have a dedicated channel for it that could provide help easier for you

grave veldt
#

I've done that

#

now

#

anyway, carrying on

lofty grove
#

Like I am using Placeholder.saveData() and it still is not consistently saving the data to file

mint fable
#

Can you elaborate on that @lofty grove ?

#

=paste

tender vaporBOT
#
HelpChat Paste

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

mint fable
#

send your javascript

#

how are you testing the placeholder?

runic dirge
#

is there a placeholder to parse a nickname without colour codes?

#

e.g. &3er&en ---> ern

mint fable
#

you could probably make a custom javascript placeholder to replace all color codes

serene raven
#

i haven't been able to figure this out for the past hour, but I'm using a leakbanking placeholder for my /bal and it just won't show the bank balance for players. it works for me just fine though

runic dirge
turbid tide
#

probably not.

turbid tide
serene raven
turbid tide
#

right but there isn't a list of available placeholders

#

on the spigot page

#

that's what I'm saying

serene raven
#

When i /papi parse %leakBanking_bank% it works but it just doesn't show there which is weird

turbid tide
#

and what are you using to create the /bal command?

warm topaz
runic dirge
#

yes

warm topaz
#

i can add this placeholder to the expansion (in a fork), seems useful

runic dirge
#

haha if its not too much for yourself

turbid tide
#

yes useful ||not||

runic dirge
#

i have a couple different niche use-cases for it, im not particularly sure many other people would use it for the same thing

turbid tide
#

I mean its going to be just a fork anyways.

runic dirge
#

indeed, but they're still spending the time to work on it

warm topaz
mint fable
#

πŸ‘€

serene raven
#

I am using CMI for the /bal command. Their custom text should parse the placeholders, procosmetics placeholder works fine

#

I show their coin balance aswell

turbid tide
#

and if you do /papi parse me %placeholder% for the balance placeholder it works?

serene raven
#

yes

turbid tide
#

oh that's strange. and you're sure you don't need to give others some permission or something?

#

maybe it works for you because you're OP?

mint fable
#
sagi.leakBanking.coinscmd : to access the command /lb coins
sagi.leakBanking.openGUI : to access the command /lb Player openGUI```
#

the perms

#

maybe they need the coinscmd perm?

#

or maybe it's a cmi perm

serene raven
#

I tried to give one of my staff perms, didn't work. Is it possible there is something wrong with the placeholder itself?

mint fable
#

what happens when you type it?

#

what happens when somebody else types it?

#

=imgur

tender vaporBOT
#
Uploading Images

Please use imgur to share screenshots and other images.
β€’ Imgur

serene raven
mint fable
#

ah. leakbanking has a discord

#

also, if you type /papi parse <otherplayer> %leakBanking_bank% does it work?

#

@serene raven

serene raven
#

huge error in console if i do that

mint fable
#

contact leakbanking

serene raven
#

alright

brazen atlas
#

is there no placeholders for pex?

warm topaz
#

vault handles permission

brazen atlas
#

ah

warm topaz
#

(also u should use LuckPerms instead, even the dev of pex recommends it)

brazen atlas
#

Yeah, but its sort of confusing for me. I like editing the file rather than online editor and cmds in game..

warm topaz
#

u can have flatfile storage too πŸ™‚

mint fable
#

or yaml

brazen atlas
#

i did yaml

#

where would it save and do I need to restart the server?

mint fable
#

I assume in the luckperms folder

#

not sure about restart, I would've changed that setting when the server was shut down

vivid sparrow
#

Dont edit files manually @brazen atlas

mint fable
#

wot

vivid sparrow
#

Things can change while you are editing it and your changes will 99% override them

mint fable
#

usually you edit the group files which are mostly fine

#

only thing would be a user file that you happen to override when another change happens

brazen atlas
#

i just deleted luckperms, pex is working fine and much more "old skool" which I appreciate πŸ˜„

mint fable
#

I've always edited group files to remove/add perms while the server is live

vivid sparrow
#

"Pex is working fine" πŸ™„

brazen atlas
#

XD

mint fable
#

groupmanager best

mint fable
#

there's no reason not to gaby

warm topaz
#

pex to lp converter πŸ™‚

vivid sparrow
#

Luck made an entire web interface for this to be easier and you edit the file manually @mint fable ??

brazen atlas
#

i will need better reasoning to convert hehe

mint fable
#

correct I would

#

web editor sucks

#

I hate it lmao

#

so clunky

brazen atlas
#

^^

#

^^

mint fable
#

yaml = best

brazen atlas
#

^^

vivid sparrow
mint fable
#

ya

#

pex isn't necessarily "fully functional"

vivid sparrow
mint fable
#

think? I know

vivid sparrow
mint fable
#

iirc it's actually very outdated

vivid sparrow
#

Yes

mint fable
#

no reason to use out of date

brazen atlas
#

ermm

mint fable
#

especially when luckperms also has yaml storage

#

and you can keep doing what you've been doing

brazen atlas
#

yeah but its ugly

vivid sparrow
#

Idk why people say luckperms is complicated to use LOL

mint fable
#

the yaml storage?

brazen atlas
#

yes

vivid sparrow
#

Commands are just structured very well

brazen atlas
#

pex has everything on one file

mint fable
#

oh

#

that's disgusting

vivid sparrow
mint fable
#

ngl

brazen atlas
#

ehh

vivid sparrow
#

Is called STRUCTURE

mint fable
#

that is a file you shouldn't update while server is live lol

vivid sparrow
#

^

brazen atlas
mint fable
#

ya... luckperms live editing is okay

#

mainly because when you make a change, it automatically loads that change

brazen atlas
#

but maybe i just need a better understanding for lp

mint fable
#

it detects it

vivid sparrow
mint fable
#

I think if you check the wiki or even watch a video or 2 you'd switch pretty easy

#

it's just knowing/learning how to do everything at the start

vivid sparrow
#

All commands are self explanatory though

mint fable
#

also true

#

and lp wiki is top tier

vivid sparrow
#

"lp user x permission set y"
lp subcommand target action action value

#

Easy

brazen atlas
#

i will have to play with it more

vivid sparrow
#

Smh cj

brazen atlas
#

but hopefully pex2 comes out soon..

vivid sparrow
#

πŸ‡³πŸ‡΄

brazen atlas
#

but you have me stuck on timed perms ngl

#

thats new to me

vivid sparrow
#

I remember having to use some stupid plugin that cost 10$ for that back in the days I used to do setups

brazen atlas
#

interesting

mint fable
#

@wraith goblet what placeholder?

wraith goblet
#

oh

#

i type command
/papi prase me %placeholder%
it show in chat
%placeholder%

silver minnow
#

ummm

mint fable
#

did you actually type %placeholder%

wraith goblet
#

no

mint fable
#

or did you type the placeholder you're trying to use?

#

what placeholder

wraith goblet
#

i type %placeholderhere%

silver minnow
#

what is the actual placeholder

#

like %player_health%

mint fable
#

what placeholder are you trying to use abdul

#

%placeholderhere% is not a placeholder

wraith goblet
#

%player_name%

tender vaporBOT
#
FAQ Answer:

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

mint fable
#

do that this then type /papi parse me %player_name%

wraith goblet
#

wait

mint fable
#

it should return your name

silver minnow
wraith goblet
#

no it dont do that it return me %player_name%

#

not my name

silver minnow
#

huh?

mint fable
#

did you run the commands?

wraith goblet
#

yes

mint fable
#

can you send a startup log

#

?startuplog

tender vaporBOT
#
FAQ Answer:

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

wraith goblet
#

wait

#

server log???

mint fable
#

correct, so I can identify the issue

#

you said you ran the download command

#

reloaded

#

and it still isn't working

#

so

tender vaporBOT
#
HelpChat Paste

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

wraith goblet
#

wait download?

mint fable
wraith goblet
mint fable
#

what works?

wraith goblet
#

thanks love u ❣️

mint fable
#

oh

#

good

#

πŸ‘ @silver minnow sent the bot msg but ye

silver minnow
#

πŸ‘

wraith goblet
#

?player

tender vaporBOT
#
FAQ Answer:

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

wraith goblet
#

is there anyway for money or balance?? like %balance% or %money%

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

mint fable
#

@wraith goblet you can see the vault placeholders for balance.

#

Checkout the Placeholder-List for almost all available placeholders

wraith goblet
#

oh ok

brazen atlas
#

I am using QuickBoard and the placeholder %Level_bskyblock_island_level% and its showing up blank

mint fable
#

is that the placeholder?

#

I feel it doesn't start with Level_

turbid tide
#

it does if you have the Level addon for bskyblock

#

I think

mint fable
#

ah

#

hmm

#

do you have the level addon @brazen atlas ?

brazen atlas
#

yes

mint fable
#

/papi parse me %Level_bskyblock_island_level%

#

what does that return

brazen atlas
#

3

turbid tide
#

well then QuickBoard is broken xD

#

or does it even support PAPI?

brazen atlas
#

im pretty sure it does

turbid tide
#

yeah just checked their spigot page

brazen atlas
#

island owner and island name is working

turbid tide
#

its working on the scoreboard?

brazen atlas
#

yes

silver minnow
#

lol

brazen atlas
#

but not level

silver minnow
#

πŸ€”

turbid tide
#

so basically it works if you /papi parse it, others work in the scoreboard but this one does't well that's weird. you sure you've not made a spelling mistake?

brazen atlas
#

yea im sure

#

can i not send screenshots?

tender vaporBOT
#

@brazen atlas,

Uploading Images

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

brazen atlas
#

barry thats a lot of work but i got u

silver minnow
#

u can also use lightshot fingerguns

turbid tide
#

or just make an imgur account and use ShareX

brazen atlas
#

yeah idk

#

i asked their support as well. If you guys find a solution please @ me

mint fable
#

I have an idea

#

/papi ecloud download parseother

#

/papi ecloud download player

#

/papi reload

#

and try %parseother_{player_name}_{Level_bskyblock_island_level}%

#

if it works i'm genius

#

@brazen atlas

brazen atlas
#

sorry for late respone

#

sorry, it didn't work. Same result

mint fable
#

rip

#

if the placeholder works with /papi parse me %Level_bskyblock_island_level% you should probably contact the quickboard devs

#

instead of the Level addon dev

primal nebula
#

ive asked this question before, but still cant solve it. Is it possible to have a placeholder in the lore of an item? For example I want the first line of an item to show the luckperm groups of the user who is viewing it. So first line would be %luckperms_groups%

#

but it doesnt do anything

#

already got the hook

#

and parsed and it worked

mint fable
primal nebula
#

luckperms or whatever, not sure if its called hook mb

#

/papi ecloud download LuckPerms

#

and then reloaded

mint fable
#

you use guiplus right?

primal nebula
#

Well the thing is yes, I want it to be used in GUIplus but ignore that part for now. I just want the %luckperms_groups% in the first line of an item

#

like an item of holding, its first lore line to be %luckperms_groups%

mint fable
#

you can't

primal nebula
#

hm so it doesnt work in lore?

mint fable
#

unless you have a plugin that is consistently managing that item

primal nebula
#

ah

#

rip

mint fable
#

you're phrasing it weird tho

#

work in lore

#

lore is not a constantly updated thing

#

neither are item names

primal nebula
#

Ah so only things such as scoreboards work

#

That makes sense

mint fable
#

anything that would be tracked and managed by a plugin

#

there are plugins out there that can make custom items

#

but it might not be what you're looking for

primal nebula
#

any examples?

mint fable
#

what item are you trying to put it on?

primal nebula
#

just a book i guess

mint fable
#

what does the book do

#

ooh does that support papi tho

#

i didn't even check

primal nebula
#

Apparently it has PAPI support

mint fable
#

ah that's the one

primal nebula
#

alright

#

gonna try it

lunar compass
#

Can someone help me on how to put the games win of tntrun with the PAPI

austere hawk
#

Alrighty, so when i try to ecloud download player it says "Failed to find an expansion named: Player" - 1.16.4

austere hawk
#

Hey, can anyone help me with something? I want to like, transform a placefolder, from using default numbers, to use symbols. Also a happy new year!

icy patrol
#

For some reason when I try to download Player, LocalTime, and a ton of other ones, it says Failed to find an expansion named: LocalTime or what ever I am trying to download.

austere hawk
scarlet valve
#

Hi

#

Is their a placeholder that give you your playtime

#

Last join

#

..ect

opaque cave
#

Why isn't %player_name% working for me

median hound
#

Download the ecloud addon

#

./papi ecloud download player

lofty grove
tender vaporBOT
#

@lofty grove,

Hey!

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

lofty grove
#

😞

#

could it be that I am using _ in the path and is not putting it in quotes and that breaks YAML somehow?

brazen atlas
tender vaporBOT
#

@brazen atlas,

Hey!

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

green mason
#

Scam link, do not click.

vocal folio
mint fable
#

@lofty grove can you send the entire script you're using?

#

That can't be the entire thing...

mint fable
#

@brazen atlas unfortunately I have no idea. You can try asking the dev of level add on but i got nothing

dull meadow
#

Is there a PAPI expansion that formats text for other placeholders? e.g. main_arena to "Main Arena"

turbid tide
#

javascript

dull meadow
#

i see...

potent rivet
#

Someone help me ?

tender vaporBOT
#
πŸ“‹ Paste Converted!
https://paste.helpch.at/kujacexeni

A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!

turbid tide
#

do you have enough storage left on your server?

potent rivet
#

yes , my disk is 50gb and i use some 11gb

turbid tide
#

try redownloading the plugin from spigot then. it might've been corrupted

potent rivet
#

ok , i will try , tanks

#

I did, but nothing has changed, continues to report the error.

balmy marten
#

That error is usually from a corrupted jar file, i'll give you an alternative download link, 1 sec

potent rivet
#

The same error

#

is it not a error when downloading the expansion from the cloud?

#

partially solves the error, the solution was,

stop the server
delete the folder = "expansions"
start the server again

unborn smelt
#

Is there an essentials placeholder expansion pack that would allow be to have say %nearby% to see the closest warp?

hybrid stratus
#

uhh

#

y?

#

is this a known issue with the newest version?

#

Expecting large text

twin crater
hybrid stratus
#

That's the error.

#

nothing more

#

you can look...

#

nothing more.,

#

something at PlaceholderAPI is null, idk what, this shouldn't be my problem.. just guessing.. kinda of.

twin crater
#

You got papi as a depend?

hybrid stratus
#

yup

#

you can look at the class...

#

that is the placeholder expansion.

#

if you ask on how my plugin works in depths, my github is on my discord.

#

eh I'ma link it

#

also, the error is thrown at stop of the server.

twin crater
hybrid stratus
#

well. it's still an error with papi

#

technically speaking I should post it here...

stoic grove
#

you're creating the new placeholders instance twice, upon enabling & disabling. Try storing the instance in a field and initialize it & register it when the plugin is enabling and unregister it when the plugin is disabling

scarlet valve
#

Hi is their a placeholder that give you your total playtime

wise goblet
#

statistics, playtime

#

Use maths for formatting

scarlet valve
#

?

wise goblet
#

Try exploring :/

#

"statistics"

#

"playtime"

#

explore the list

jade hare
jade hare
wise goblet
#

Could you send the placeholder here?

jade hare
#

sorry btw went for a shower

austere hawk
#

Alrighty, so when i try to ecloud download player it says "Failed to find an expansion named: Player" - 1.16.4

lofty grove
tender vaporBOT
#

@lofty grove,

Hey!

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

mint fable
#

if I don't know how you're using that function then I don't know if you're doing it correctly

#

I just have no way to help with what I've seen so far really

flint nacelle
#

I try get this working. https://imgur.com/a/HYc9jEL I should not bee 20, 170 is right but somehow it refuse do it correctly (is a placeholder). and i run /papi parse me for try it out.

dawn swan
#

hello I bought VotePartty yesterday and wondering how to get the placeholders working? i have papi installed so not sure why it isnt working? (please tag me if possible πŸ™‚ )

warm topaz
#

someone is working on implementing a new javascript engine right now, i think hes close to finishing from the last update we had from him

warm topaz
dawn swan
#

ah okay ty

warm topaz
#

id imagine as its a big change itll be available through a dev build first, which may be available to download through the discord or the github repo

flint nacelle
flint nacelle
#

Get ^ in <eval> at line number 11 at column number 24 errors when try other method to get right data.

lofty grove
visual yacht
#

?paste

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
β€’ HelpChat Paste - Usage
β€’ Hastebin

warm topaz
#

someone is working on implementing a new javascript engine right now, i think hes close to finishing from the last update we had from him

#

its not ready yet

mental night
#

Anyone got a javascript expansion which allows a placeholder which returns numbers to format with commas example 1300 turns into 1,300 with given placeholder

#

so %tokens% as an example normally outputs 1300 but with the javascript placeholder %javascript_tokens% returns 1,300

steep thorn
#

@mental night I don't, but it would be only like a couple of lines to get that working

#

Parse it to an int first, then pass it to this

mental night
#

Looks like i gotta give this a shotP

steep thorn
#

πŸ’©

mental night
#

rofl

#

damn the typo

#
function format(){
    var d = parseInt("%vault_eco_balance_fixed%".replace(/,/g, "")).toFixed();```
one of my old placeholders to format ![thonk](https://cdn.discordapp.com/emojis/694101150148067429.webp?size=128 "thonk")
#

i think u should spoon feed me on this one

#

πŸ‘

steep thorn
#

You know JavaScript?

#

I could throw it together real quick

mental night
#

Sadly i dont

#

I just got cool friends who help out :P

steep thorn
#

@mental night

#
function numberWithCommas(x) {
    return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
}
numberWithCommas("%your_placeholder_here%");
#

How about this

mental night
#

let me have a go

steep thorn
#

The original one

mental night
steep thorn
mental night
#

its doubleing ,,

steep thorn
mental night
#

try that?

steep thorn
#

Maybe try numberWithCommas(parseInt("%your_placeholder_here%")); instead

#

for the last line

mental night
#

still doubling

steep thorn
#

Yeah that don't make sense to me

#

Unless you changed something

mental night
#

sadly i did not change anything

#
function numberWithCommas(x) {
    var parts = x.toString().split(".");
    parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ",");
    return parts.join(".");
}
numberWithCommas(parseInt("%shards_balance%"));```
steep thorn
#

I have no clue, sorry

mental night
#

all good ty for your help though appreciate it

mental night
#
function numberWithCommas(n) {
    var parts=n.toString().split(".");
    return parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ",") + (parts[1] ? "." + parts[1] : "").replace(/,+/g,',');
}

numberWithCommas(parseInt('%shards_balance%')).replace(/,+/g,',');```
was the fix in the end @steep thorn  πŸ‘
turbid tide
#

o

odd jay
#

Is it possible to add an "else if" after another "else if"?

turbid tide
#

yeah.

#
if ()
{
}
else if()
{
}
else if()
{
}```
odd jay
#

Thank you

#

I use to do this more because I personally feel like its more organized lol

if () {
} else if () {
} else if () {
turbid tide
#

well I mean whatever works for you I just typed it really fast xD

austere hawk
#

Hey quick question. Heroes expansion does not work for me. What could the problem be? As I do /papi reload it dosent load the expansion ...

turbid tide
#

check the console. does it say anything?

austere hawk
#

sure

#

[WARNING] [PlaceholderAPI] heroes is attempting to register placeholders via a PlaceholderHook class which is no longer supported!

#

I get this tho.

turbid tide
#

ah the expansion is very outdated. contact the person who made the expansion and ask them to update it.

austere hawk
#

ok

#

got the latest expansion problem solved thanks!

turbid tide
#

πŸ‘

hollow lantern
#

I remember PAPI having a json api placeholder. Am I hallucinating?

turbid tide
#

json API?

hollow lantern
#

i was hallucinating

turbid tide
#

oh xD

hollow lantern
#

see i have an api online that simply says "Online" or "Offline". I was wondering if i could use PAPI to return that value via an expansion

hollow lantern
turbid tide
#

ugh don't think so. I might've not understood your question fully tho

hollow lantern
#

yeah

turbid tide
#

so basically you want to connect to an online api and get some data from there?

#

and then display it ingame?

hollow lantern
#

yep!

turbid tide
#

yeah don't think its possible

#

@rare lily is that possible?

hollow lantern
turbid tide
#

we'll see if thien can answer that.

hollow lantern
#

Thanks!

rare lily
#

Unforunately no, there isn't a feature like that yet

turbid tide
rare lily
#

Erm.. that's just my cache saving thonk

#

Bug persists on it

turbid tide
#

huh?

rare lily
#

Although it worked from using ES6

#

And sub-folder

hollow lantern
#

hmmm is a papi ecloud placeholder allowed to connect to the internet?

#

maybe i can make the placeholder myself?

rare lily
#

But the json thing has already been on my to-do list

#

I'm gonna implement that after I finished everything

hollow lantern
#

can i ask for a ballpark eta?

steep thorn
#

It's a really nice way to work with JSON

wise goblet
turbid tide
#

then don't use them xD

#

its {placeholderapi_vault_eco_balance}

#

{placeholderapi_server_online}

#

etc.

wise goblet
#

;-;

wise goblet
austere hawk
#

where can i download develčoper build

turbid tide
#

of PAPI?

#

?papi-builds

tender vaporBOT
turbid tide
#

here ^

austere hawk
#

oh i got the latest version...but it says i need to enable the pinger

#

how can i do it

#

i already did /papi ecloud download pinger and /papi reload

#

and i also restarted the server

turbid tide
#

so you're trying to download the pinger expansion but you can't?

#

searching for pinger

#

manually downloading it

#

then go to plugins/PlaceholderAPI/expansions and delete the already existing PingerExpansion.jar

#

or whatever its called

#

and put the new jar you just downloaded instead

#

then do /papi reload

austere hawk
#

its not working

turbid tide
#

oh and you're sure its not installed?

#

like if you do /papi ecloud list installed

#

does it show there or not?

austere hawk
#

there is

turbid tide
#

oh its installed then

#

and what placeholder doesn't work?

austere hawk
#

%status: Survival%

#

it says Status: [Please enable pinger]

turbid tide
#

oh

#

that's not the Pinger from PAPI

#

what plugin is that?

austere hawk
#

ehm it sould work

turbid tide
#

but from what plugin is that? because that's not PlaceholderAPI and Pinger

#

so its maybe something you need to enable in another config or something

austere hawk
#

oh

#

@turbid tide can we go to dms cuz i want to show some pics

#

for pinger and placholder

turbid tide
#

?imgur

tender vaporBOT
#
FAQ Answer:

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

turbid tide
#

^

austere hawk
#

oh

#

In DeluxeMenus i tried this and is not working

#

And i also tried: /papi parse me %pinger_online_mc.hypixel.net:25565%

#

And it says offline

turbid tide
#

well I mean they probably have some sort of protection or something

#

and idk if it works with localhost port.

#

try your actual ip instead

austere hawk
#

internal?

#

non of these works

turbid tide
#

try going to plugins/PlaceholderAPI/config.yml and change the pinger cooldown or delay whatever its named to 1 from 30

#

do /papi reload

#

and then try

#

also your actual server ip

#

or dns if you have dns

austere hawk
#

witch one to use

#

still offline

turbid tide
#

try both.

#

hmm

austere hawk
#

i did

open phoenix
#

which version of placeholderapi should i use for 1.8.8?

wise goblet
#

Any version

open phoenix
#

i tried the newest version, but it can't download placeholders for skript

turbid tide
#

you can but the one from the ecloud is very outdated

#

it will not work with PAPI 2.10.7+

#

there's a more updated one somewhere but no idea where. its not on the ecloud

open phoenix
#

ok thanks

turbid tide
#

nah

#

I'm just cheating you know

#

lmao

sturdy sluice
#

I am trying to parse placeholders within the js placeholders, but is it possible to check if the argument either is a placeholder (in the %javascript_name_{placeholder}% format, or a normal string (so %javascript_name_string%)?

#

cant find the info about that that i need in the wiki

junior musk
#

I don't think you can as {placeholder}s will automatically be parsed

sturdy sluice
#

ah cool then i dont need that at all

junior musk
#

yeah they should always parse iirc, but if they don't you could simply do var arg = PlaceholderAPI.static.setBracketPlaceholders(BukkitPlayer,args[0]);

winged mountain
#

Need help, when i run command /papi ecloud list all it said that "No Expansions available to list.". Can anyone help me?

sharp jay
#

@winged mountain you can manually install expansions

winged mountain
sharp jay
#

did you reload

winged mountain
#

i tried /papi ecloud list all and /papi ecloud list installed but say that

sharp jay
#

type /papi reload

winged mountain
#

i did

#

in the console, it load the expansion but it didnt listed it...

mint fable
#

type /papi list

sharp jay
#

try to restart your server

mint fable
#

not /papi ecloud list

sharp jay
#

^^

winged mountain
mint fable
#

?ecloudblock

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.

mint fable
#

host blocking possibly

winged mountain
#

alright thanks for the info! i got one more problem with Voting Plugin. the placeholder used to be load but now it didnt work. https://imgur.com/a/R7BKuWB

plain walrus
#

Is there a possibility to output a lore based on placeholder value? for example the objectives scoreboard value is 1 that the output in a hover lore is true and for 0 false instead of 0 and 1?

mint fable
#

via javascript ye

#
var placeholder = "%placeholder%";
if(parseInt(placeholder) == 1){
"true";
}else if(parseInt(placeholder) == 0){
"false";
}```
#

somethin like that

twin lintel
#

[15:47:25 WARN]: [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend, softdepend or loadbefore of this plugin.

#

what does this message mean?

mint fable
#

doesn't really matter

silver minnow
#

you can ignore it

brisk coral
#

Ew cj

#
return parseInt(placeholder) == 1;
mint fable
#

well no

#

that would return papi boolean

#
parseInt(placeholder) == 1 ? "true" : "false";
#

no return

brisk coral
#

What's wrong with it returning papi boolean, if you don't have it set to true/false you're a monster anyways

mint fable
#

that makes no sense

#

it's set to yes/no by default and stays that way for 99%

brisk coral
#

That's disgusting

mint fable
#

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

plain walrus
#

We are using it for a little head hunt. Find all ex staff of the server of the past 10 years. We use scoreboard objectives with 0 "not found", 1 "found"

mint fable
#

ah

#

just replace the true false to found not found then

#

ez

#

Wait are they going to be shown on the scoreboard? if you're trying to replace the number value on the right you can't

plain walrus
#

we use commandpanels to make a custom GUI. we add every head in here with a lore. In the lore is: "Found" or "Not Found"

mint fable
#

ah ok

#

noice

plain walrus
#

Thanks for your help πŸ™‚

mint fable
#

πŸ‘

flint nacelle
#

Has have in long time get problems with one placeholder, stop working after papi reload (have to do restart of the server). Is it to the plugin i report the problems?

silver minnow
#

❔

#

If a plugin's placeholder is breaking after a /papi reload then yes, contact the dev, but I don't really understand your question

glad galleon
#

I might be misunderstanding things here, but is it possible to somehow retrieve papi placeholders through a proxy like bungeecord? Ie. I am on server A and want to use placeholder data that is only on server B. What I am trying to do is use placeholders in chat that aren't on every server.

silver minnow
glad galleon
#

I'm surprised its not something that people do more often! Mostly curious if I am being stupid and there is a better way to do it, but sounds like maybe not

flint nacelle
jade compass
#

How do I take minecraft scoreboard objectives and make them into a placeholder, and then how do i get that placeholders name?
I think I may possibly have created the placeholder but I have no clue what it's called, all i know it that it would be something like %objective_score_<obj-name>% but I dont know what I would replace <obj-name> with.

brisk coral
#

thonking

> papi ecloud download vault
[10:26:03 INFO]: Successfully downloaded expansion Vault [1.7.0] to file: Expansion-vault.jar
Make sure to type /papi reload to enable your new expansion!
[10:26:03 INFO]: [PlaceholderAPI] Fetching available expansion information...
> papi reload
[10:26:05 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[10:26:05 INFO]: [PlaceholderAPI] Fetching available expansion information...
[10:26:05 INFO]: [PlaceholderAPI] Successfully registered expansion: player
[10:26:05 INFO]: [PlaceholderAPI] Successfully registered expansion: server
[10:26:05 INFO]: 2 placeholder hooks successfully registered!
turbid tide
#

and it doesn't work at all?

brisk coral
#

nope

turbid tide
#

go in the expansion folder see if there's any vault expansion or if there are more

brisk coral
#

Just one, it get's downloaded, just not enabled for some odd reason

turbid tide
#

you sure you got vault installed? xD

brisk coral
#

yes blitz I'm sure

turbid tide
#

tried downloading it from the ecloud manually?

brisk coral
#

effort

turbid tide
#

welp I got nothing else

#

also just double check you got the Vault jar

brisk coral
#

If only it atleast threw an error or some shit

#

Blitz.. I'm not dumb smh

turbid tide
#

you don't need to be dumb to make that mistake

brisk coral
#

smh

vivid sparrow
brisk coral
#

:sad:

vivid sparrow
#

Kiss

winged mountain
wise goblet
#

Not really sure but Izmeer, could you send what had been changed.

idle coral
#

Is the ecloud down or something?
My test server is screaming at me xD

[PlaceholderAPI] failed to download expansion information
java.util.concurrent.CompletionException: java.net.ConnectException: Connection timed out: connect
vivid sparrow
#

no @idle coral

#

I mean it works fine for me

idle coral
#

Gotcha, might just be a connection issue from localhost

hollow heart
#

hello, i am struggling big time with trying to create a javascript placeholder that strips color codes from a prefix. I've tried both luckperms_prefix and vault_prefix.

#

code:

var prefix = "%vault_prefix%";
function stripColorCodes() {
    return prefix.replace(/\&[0-9A-FK-ORX]/gi, '');
}
stripColorCodes();
#

the problem seems to be that the prefix isn't storing the color codes in the string

#

because if I define prefix as "&cTest", it will return "Test"

#

however if the luckperms prefix is &cTest, it will return a red Test

turbid tide
#

try using Β§ instead of & in your replace function

#

in your regex I mean @hollow heart

hollow heart
#

Yeah I found that

#

Thanks

turbid tide
#

πŸ‘

orchid fog
#

yo

#

wait nvm

mental night
#

ok

winged mountain
languid mango
#

hello

#

i have question

#

placeholderapi supports bungeecord?

#

If not, it will be?

brisk coral
#

It currently does not no

copper turret
#

Hi i am trying to incorporate HolographicDisplays with the Vault Placeholders, To make an economy scoreboard, But for some reason when i write "%vault_eco_top_player_1%" It always puts in nothing even though i have 100 balance. Please help thanks πŸ™‚

wise goblet
#

use %vault_eco_top_balance_#%
for the balance

copper turret
#

I have tried

#

But it just sets it as a 0

copper turret
#

can anyone help?

jade hare
#

@copper turret do u have leaderheads installed?

#

also is anyone able to help me with papi javascripts?

copper turret
#

@jade hare No, The server host i am using (Minehut) Does not support Leaderheads

frosty cosmos
#

I need help with the %player_name% problem, it's showing "%player_name% exactly instead of the actual player's name.

#

in chat

turbid tide
#

?player

tender vaporBOT
#
FAQ Answer:

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

turbid tide
#

execute those commands ^

#

@frosty cosmos

frosty cosmos
#

Still not working

#

Anyone?

frosty cosmos
#

I already did both

/papi ecloud download player
/papi reload

PAPI isn't reloading at all

silver minnow
#

do /papi list installed

#

what shows?

warm topaz
#

any errors in console when reloading?

silver minnow
#

try removing every papi expansion in plugins/placeholderapi/expansions and see if it works, sometimes some expansions can mess things up

frosty cosmos
silver minnow
#

what's in the expansions folder?

#

Make sure it's the same πŸ™‚

frosty cosmos
silver minnow
#

uh

#

wut

#

where is the chat control, deluxemenus, gadgetsmenu, leaderheads, playtimes, spark, and supervanish?

frosty cosmos
#

No idea, is it safe to just reinstall PAPI?