#placeholder-api
1 messages Β· Page 140 of 1
maybe it doesn't support papi in its menus
oof but I've seen server's they can show how many keys they have in their menus
or they use CC but with a menu plugin 
that's what I thought.
every time I add an ecloud I have to restart the server for it to detect it ??
no just do /papi reload
oks thanks
Is there a way to make a timer with some placeholder? a time remaining.
If that, thank you. The last question is if there is any placeholder for a kils counter and for detecting live players.
It is for a uhc, to tell how many players are left.
so alive players basically?
yes
I wonder if PlayerList has that option
what does alive mean?
does it mean survival gamemode?
playerlist doesn't have gamemode detection unfortunately
If that means, too bad it doesn't have gamemode detection, okay, thanks for your patience.

I'm sure it had
or actually
you could use placeholder detection
ooh
how would that work
oh wait
I see all the info on your expansion page
it says it has gamemode
yeah I remember someone asking for that a while ago
Use the server countdown and the number comes out but the counter does not advance.
ugh where are you using it?
because it does advance but most likely the placeholder doesn't update
I am using it with the animated scoreboards.
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?
It was not updated, it was 0 in the chat and the scoreboard remains the same. I have it as %server_countdown_s_10%
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
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.
ok
spawn
and what happens when you parse the javascript placeholder?
nothing
return nothing. Just an empty line
var zona = "%worldguard_region_name%";
if(zona == "spawn"){
"&eCiudadela";
}else{
"&eLugar desconocido.";
}
try that
no function
.... [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
you returning in a function?
okay edited again
Omg, that works. Thank you so much.
π
what's it showing if you do /papi parse me %bungee_bedwars ?
uh 1 sec
0
and when i do it for skypvp
it says 4
oh it works then. what plugin are you using to show the placeholders?
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
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.
alright
Is thier any other placeholder that can replace LocalTime addon bc it pretty broken
Are you sure
100% xD
I try it
I thought its broken til like last week
The mm get buged
In a scoreboard
Really
Yes
yeah happened to another guy a couple days ago as well.
Dd/mm/yyyy
dd
Aa
you can see all that on the link I sent
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
they know how to use placeholders %statistic_seconds_played%
%statistic_minutes_played% and %statistic_seconds_played_remaining%
%statistic_minutes_played_remaining%
?
'they know'?
What is the question?
probably google translate
What is this question @steep thorn lol
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>
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
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
%formatter_number_format_{math_{something}+{something_else}[precision:0]}%
both formatter and math have support
make a javascript placeholders instead of using the math placeholder
got a link to a github explaining how?
yeah but it will still break because they probably don't support placeholders inside placeholders
ty
π
@warm plover fixed with 2.0.2 #ecloud-updates
Epic! Thank you SO much!
π
@primal nebula,
Please respect the rules, be patient and don't ping staff members!
wanted to know how to download mypet expansion?
- huh?
- Don't spam channels
mypet doesn't have an expansion, it's included in the plugin
@primal nebula What do you mean by that?
@mint fable I want to have a placeholder show up in the lore of an item
what item?
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
rip
I want to know about right click command
#general-plugins for deluxemenus (assuming) and plugins in general
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
also deluxemenus (assuming you're talking about it) has a wiki - https://wiki.helpch.at/clips-plugins/deluxemenus
need help
....
@mint fable my bad, im using gui plus
@primal nebula,
Please respect the rules, be patient and don't ping staff members!
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
yes it supports PAPI, to use the lp placeholders just install the expansion
@primal nebula 
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
What is the placeholder api for Multiplier? π
what plugin you talking about? AutoSell?
yes
When have you purchased the plugin?
today
thanks
no problem
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.
that's not an error
and nothing you can do about it. its just some info spigot tells you.
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
ugh have you tested the placeholder with /papi parse ?
well then idk . its something to do with your gui plugin.
I think cj checked and said it supports PAPI?
No well, im just trying to add the placeholder to an items lore
for now
And it wont work
well I mean
depends what you're using
for that
like that's not something you can just do
Im using a plugin called simple rename
and does it specify that you can use placeholders from PAPI?
Nope
you'll need to find a plugin that does
placeholders won't just work everywhere. the plugins you use need to support them
π
Hi, how would I put a placeholder in essentialsx kit item lores?
not sure if you can, but IF you can, the placeholder won't update
oh so it might work, what placeholder are you using?
oh that's what you meant
yeah
yep exactly
I don't think it's possible
BUT
I have a better idea
that might work
can I see the kit config?
yep
=paste
Please use a paste service to share configs, errors, code and long logs.
β’ HelpChat Paste
hmm
I had an idea
but it won't work
I actually don't even know how I would make it work
is there maybe an external kit plugin that could be used instead
can you use commands in kits or no?
I believe so
do you have deluxemenus by chance?
yep!
okay
so /dm execute [console] give %player_name% ...
that might work
make sure to get the player expansion if you don't have it
A little confused, how would deluxemenus work in that instance?
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
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
Yessir
now I'm trying to figure out how to add commands to kits
/papi parse me %essentials_worth% what does that return?
2 secs
what is worth?
idk xd
or what do you think it is?
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
my bad
that's what I figured Tanguygab
sorry
https://paste.helpch.at/xocohicaro.rb @neat garnet try that
except replace it with {USERNAME} because i'm dumb
doesn't seem to be giving me a pickaxe π¦
do you have the player expansion?
yep
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
Doesn't seem to be working unfortunately
THe data thing in the javascript expansion is so inconsistent with saving to the file
are these the only placeholders for DeluxeChat (1.12.0+)
@grave veldt,
Please respect the rules, be patient and don't ping staff members!
how so @lofty grove ?
well that's in the player expansion
that entire list of placeholders is available through papi
those are just the ones that deluxechat provides
yes, I've done /papi ecloud download etc, but when i do it, it doesn;t work
when did you buy dchat
Does it need to be exact date?
around may - june
?spigot
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.
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
Like I am using Placeholder.saveData() and it still is not consistently saving the data to file
Please use a paste service to share configs, errors, code and long logs.
β’ HelpChat Paste
is there a placeholder to parse a nickname without colour codes?
e.g. &3er&en ---> ern
you could probably make a custom javascript placeholder to replace all color codes
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
if i used the placeholder on a plugin like TAB wouldn't this cause a decent amount of lag?
probably not.
what placeholders? I can't find an expansion or a list of placeholders from PAPI from LeakBanking. also why did you pay 13$ for that plugin? seems like a very bad investition
It seems to have its own expansion, shows when i do /papi list https://prnt.sc/wdcn4n
right but there isn't a list of available placeholders
on the spigot page
that's what I'm saying
oh its here https://www.mc-market.org/resources/15955/
When i /papi parse %leakBanking_bank% it works but it just doesn't show there which is weird
and what are you using to create the /bal command?
are u using essentials for the nicknames?
yes
i can add this placeholder to the expansion (in a fork), seems useful
haha if its not too much for yourself
yes useful ||not||
i have a couple different niche use-cases for it, im not particularly sure many other people would use it for the same thing
I mean its going to be just a fork anyways.
indeed, but they're still spending the time to work on it
π
π
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
and if you do /papi parse me %placeholder% for the balance placeholder it works?
yes
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?
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
I tried to give one of my staff perms, didn't work. Is it possible there is something wrong with the placeholder itself?
Please use imgur to share screenshots and other images.
β’ Imgur
When I type it: https://prnt.sc/wdcyrc
When someone else types it: https://prnt.sc/wdcz1z
ah. leakbanking has a discord
also, if you type /papi parse <otherplayer> %leakBanking_bank% does it work?
@serene raven
huge error in console if i do that
contact leakbanking
alright
is there no placeholders for pex?
vault handles permission
ah
(also u should use LuckPerms instead, even the dev of pex recommends it)
Yeah, but its sort of confusing for me. I like editing the file rather than online editor and cmds in game..
u can have flatfile storage too π
or yaml
I assume in the luckperms folder
not sure about restart, I would've changed that setting when the server was shut down
Dont edit files manually @brazen atlas
wot
Things can change while you are editing it and your changes will 99% override them
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
i just deleted luckperms, pex is working fine and much more "old skool" which I appreciate π
I've always edited group files to remove/add perms while the server is live
"Pex is working fine" π
XD
groupmanager best
π€’
there's no reason not to gaby
pex to lp converter π
Luck made an entire web interface for this to be easier and you edit the file manually @mint fable ??
i will need better reasoning to convert hehe
yaml = best
^^
Wait until you will need timed perms and will notice that pex is broken
People will think this is true lol
think? I know
Or should be used
iirc it's actually very outdated
Yes
no reason to use out of date
ermm
especially when luckperms also has yaml storage
and you can keep doing what you've been doing
yeah but its ugly
Idk why people say luckperms is complicated to use LOL
the yaml storage?
yes
Commands are just structured very well
pex has everything on one file
Which is horrible
ngl
ehh
Is called STRUCTURE
that is a file you shouldn't update while server is live lol
^
i found that out a few months ago
ya... luckperms live editing is okay
mainly because when you make a change, it automatically loads that change
but maybe i just need a better understanding for lp
it detects it
That is nothing a cool LP user will encounter π₯±
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
lul
All commands are self explanatory though
i will have to play with it more
Smh cj
but hopefully pex2 comes out soon..
π³π΄
I remember having to use some stupid plugin that cost 10$ for that back in the days I used to do setups
interesting
@wraith goblet what placeholder?
ummm
did you actually type %placeholder%
no
i type %placeholderhere%
%player_name%
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
do that
then type /papi parse me %player_name%
wait
it should return your name
?
huh?
did you run the commands?
yes
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.
correct, so I can identify the issue
you said you ran the download command
reloaded
and it still isn't working
so
Please use a paste service to share configs, errors, code and long logs.
β’ HelpChat Paste
wait download?
its works when i try
#placeholder-api message
what works?
thanks love u β£οΈ
π
?player
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
is there anyway for money or balance?? like %balance% or %money%
A resource that allows information from your favorite plugins be shown practically anywhere!
β’ Spigot
β’ Wiki
β’ Placeholder-List
β’ GitHub
β’ eCloud
@wraith goblet you can see the vault placeholders for balance.
Checkout the Placeholder-List for almost all available placeholders
oh ok
I am using QuickBoard and the placeholder %Level_bskyblock_island_level% and its showing up blank
yes
3
im pretty sure it does
yeah just checked their spigot page
island owner and island name is working
its working on the scoreboard?
yes
lol
but not level
π€
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,
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
u can also use lightshot 
or just make an imgur account and use ShareX
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
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
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
what hook
luckperms or whatever, not sure if its called hook mb
/papi ecloud download LuckPerms
and then reloaded
you use guiplus right?
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%
you can't
hm so it doesnt work in lore?
unless you have a plugin that is consistently managing that item
you're phrasing it weird tho
work in lore
lore is not a constantly updated thing
neither are item names
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
any examples?
what item are you trying to put it on?
just a book i guess
what does the book do
ooh does that support papi tho
i didn't even check
https://www.spigotmc.org/resources/customgui-1-16-updates-are-here.7386/ I have this plugin purchased
Apparently it has PAPI support
ah that's the one
Can someone help me on how to put the games win of tntrun with the PAPI
Alrighty, so when i try to ecloud download player it says "Failed to find an expansion named: Player" - 1.16.4
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!
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.
Try to download them from the website and upload them into the files
Why isn't %player_name% working for me
I am using this function to save data https://paste.helpch.at/xeyecuyuti.js But whenever I try to save data it still does not get saved to the file and gets lost if I reload
@lofty grove,
Please respect the rules, be patient and don't ping staff members!
π
could it be that I am using _ in the path and is not putting it in quotes and that breaks YAML somehow?
I did and they said that the script looks good and they didnβt know..
@brazen atlas,
Please respect the rules, be patient and don't ping staff members!
Scam link, do not click.
use this link for 1.16.4: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Statistic.html
@lofty grove can you send the entire script you're using?
That can't be the entire thing...
@brazen atlas unfortunately I have no idea. You can try asking the dev of level add on but i got nothing
Is there a PAPI expansion that formats text for other placeholders? e.g. main_arena to "Main Arena"
javascript
i see...
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
do you have enough storage left on your server?
yes , my disk is 50gb and i use some 11gb
try redownloading the plugin from spigot then. it might've been corrupted
ok , i will try , tanks
I did, but nothing has changed, continues to report the error.
That error is usually from a corrupted jar file, i'll give you an alternative download link, 1 sec
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
Is there an essentials placeholder expansion pack that would allow be to have say %nearby% to see the closest warp?
Could you show the whole error?
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.
You got papi as a depend?
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.
#development is a better place ig
well. it's still an error with papi
technically speaking I should post it here...
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
Hi is their a placeholder that give you your total playtime
?
tried to add papi placeholders to an open src plugin, got this error https://paste.helpch.at/ugenekazuz.sql anyone able to help? q.q
Is that the complete error?
yeah
Could you send the placeholder here?
Alrighty, so when i try to ecloud download player it says "Failed to find an expansion named: Player" - 1.16.4
I mean it isnβt, but the script is very long and I donβt think any of the rest of it is relevant to the saving?
@lofty grove,
Please respect the rules, be patient and don't ping staff members!
if I don't know how you're using that function then I don't know if you're doing it correctly
You can always open an issue on the github though https://github.com/PlaceholderAPI/Javascript-Expansion/issues
I just have no way to help with what I've seen so far really
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.
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 π )
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
go to #spigot-linking to gain access to #voteparty
ah okay ty
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
Is it a way to remove the . in here? https://imgur.com/a/ZayIMPt
so it is not 4.0 (I part of it to work, but need more work).
Get ^ in <eval> at line number 11 at column number 24 errors when try other method to get right data.
https://paste.helpch.at/lumekemabe.js So I am trying to do %javascript_data_set,Shocck.treasure1,1% and it is not saving the data to the file and get does not work once I reload
?paste
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
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
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
@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
Looks like i gotta give this a shotP
π©
rofl
damn the typo
function format(){
var d = parseInt("%vault_eco_balance_fixed%".replace(/,/g, "")).toFixed();```
one of my old placeholders to format 
i think u should spoon feed me on this one
π
@mental night
function numberWithCommas(x) {
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
}
numberWithCommas("%your_placeholder_here%");
How about this
Can you show what the placeholder itself shows?
The original one
How is it showing 25,,618 then??
try that?
Maybe try numberWithCommas(parseInt("%your_placeholder_here%")); instead
for the last line
still doubling
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%"));```
I have no clue, sorry
all good ty for your help though appreciate it
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 π
o
Is it possible to add an "else if" after another "else if"?
Thank you
I use to do this more because I personally feel like its more organized lol
if () {
} else if () {
} else if () {
well I mean whatever works for you I just typed it really fast xD
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 ...
check the console. does it say anything?
sure
[WARNING] [PlaceholderAPI] heroes is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
I get this tho.
ah the expansion is very outdated. contact the person who made the expansion and ask them to update it.
π
I remember PAPI having a json api placeholder. Am I hallucinating?
json API?
oh xD
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
can this one do it?
ugh don't think so. I might've not understood your question fully tho
yeah
so basically you want to connect to an online api and get some data from there?
and then display it ingame?
yep!
shouldnt it be possible with this?
we'll see if thien can answer that.
Thanks!
Unforunately no, there isn't a feature like that yet
btw this is the more updated one: https://github.com/thienbao860/Javascript-Expansion
huh?
hmmm is a papi ecloud placeholder allowed to connect to the internet?
maybe i can make the placeholder myself?
But the json thing has already been on my to-do list
I'm gonna implement that after I finished everything
can i ask for a ballpark eta?
@rare lily you can maybe use this for some inspiration: https://stedolan.github.io/jq/
It's a really nice way to work with JSON
http://prntscr.com/wenkz7
Sometimes I just straight up hate mvdw plugins
then don't use them xD
its {placeholderapi_vault_eco_balance}
{placeholderapi_server_online}
etc.
;-;
starts server back up again just cuz of this
where can i download develΔoper build
You can find the latest PlaceholderAPI dev builds here: https://ci.extendedclip.com/job/PlaceholderAPI/
here ^
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
so you're trying to download the pinger expansion but you can't?
try going here: https://api.extendedclip.com/all/
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
its not working
oh and you're sure its not installed?
like if you do /papi ecloud list installed
does it show there or not?
there is
ehm it sould work
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
oh
@turbid tide can we go to dms cuz i want to show some pics
for pinger and placholder
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
^
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
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
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
i did
which version of placeholderapi should i use for 1.8.8?
Any version
i tried the newest version, but it can't download placeholders for skript
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
ok thanks
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
I don't think you can as {placeholder}s will automatically be parsed
ah cool then i dont need that at all
yeah they should always parse iirc, but if they don't you could simply do var arg = PlaceholderAPI.static.setBracketPlaceholders(BukkitPlayer,args[0]);
Need help, when i run command /papi ecloud list all it said that "No Expansions available to list.". Can anyone help me?
@winged mountain you can manually install expansions
actually, i already installed it, but it cant be listed
did you reload
i tried /papi ecloud list all and /papi ecloud list installed but say that
type /papi reload
type /papi list
try to restart your server
not /papi ecloud list
^^
ah i see.. why is my ecloud not working eh?
?ecloudblock
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.
host blocking possibly
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
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?
via javascript ye
var placeholder = "%placeholder%";
if(parseInt(placeholder) == 1){
"true";
}else if(parseInt(placeholder) == 0){
"false";
}```
somethin like that
[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?
doesn't really matter
you can ignore it
well no
that would return papi boolean
parseInt(placeholder) == 1 ? "true" : "false";
no return
What's wrong with it returning papi boolean, if you don't have it set to true/false you're a monster anyways
That's disgusting
π€·ββοΈ
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"
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
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"
Thanks for your help π
π
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?
β
If a plugin's placeholder is breaking after a /papi reload then yes, contact the dev, but I don't really understand your question
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.
It's possible, but you'll need to do one of these
- Search online for 10000 hours to find a plugin or expansion (list of expansions on PAPI wiki)
- go to #794429923698802708
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
After reload I get only %"the placeholder"% not the numbers it should translate too.
need help with this
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.

> 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!
and it doesn't work at all?
nope
go in the expansion folder see if there's any vault expansion or if there are more
Just one, it get's downloaded, just not enabled for some odd reason
you sure you got vault installed? xD
yes blitz I'm sure
tried downloading it from the ecloud manually?
effort
you don't need to be dumb to make that mistake
smh
I wont be so sure π€£
:sad:
Kiss
Need help with Voting Plugin placeholder, it worked before but then suddenly it doesnt work anymore..
https://imgur.com/a/R7BKuWB
Not really sure but Izmeer, could you send what had been changed.
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
Gotcha, might just be a connection issue from localhost
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
try using Β§ instead of & in your replace function
in your regex I mean @hollow heart
π
ok
Not sure too, will try checking if the expansion is updated or not. Thanks anyway
It currently does not no
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 π
use %vault_eco_top_balance_#%
for the balance
can anyone help?
@copper turret do u have leaderheads installed?
also is anyone able to help me with papi javascripts?
@jade hare No, The server host i am using (Minehut) Does not support Leaderheads
I need help with the %player_name% problem, it's showing "%player_name% exactly instead of the actual player's name.
in chat
?player
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
I already did both
/papi ecloud download player
/papi reload
PAPI isn't reloading at all
any errors in console when reloading?
try removing every papi expansion in plugins/placeholderapi/expansions and see if it works, sometimes some expansions can mess things up
chat control, deluxemenus, gadgetsmenu, leaderheads, levelpoints, playtimes, spark, supervanish
bungee, deluxechat, levelpoints, mysql jar, player jar, vault, voting plugin
uh
wut
where is the chat control, deluxemenus, gadgetsmenu, leaderheads, playtimes, spark, and supervanish?
No idea, is it safe to just reinstall PAPI?
ugh
inside the plugins?
