#placeholder-api
1 messages ยท Page 144 of 1
there are placeholders that can tell you if the advancement is completed. if you want you can use javascript with that and count them all manually.
don't ping piggy
you can also request in #794429923698802708 / #794429922454142986
try %parseother_{{target}}_{player_name}%
huh can I see your menu?
like the entire menu
?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
you restarted your server since you registered the command?
ok please do that and see if it changes anything
have you downloaded the parseother expansion?
and the player you're trying to open the menu for is online?
can you do /papi parse %parseother_{Stellss}_{player_name}% and tell me what it says?
so it works.
what did it show in the menu again?
can you try and just put {target} in the lore and see what that shows as well
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
oh it still errors. what the hell
its {{target}} not {target}
oh
what version of deluxemenus are you using?
@vast anchor
ok update. to 105
hmm actually idk if that will help. I thought this is the bug with update: true but your menu doesn't have it
?dm-builds
You can find the latest DeluxeMenus dev builds here: https://ci.extendedclip.com/job/DeluxeMenus/
oh never mind you do use update: true
so yeah an update might fix
try removing it yeah. I guess
that might help
where is the information for the expansion statistics saved?
like if i wanted to reset statistics, where do i delete from
please ping
its in the world playerdata folder I think.
its just the vanilla statistics.
Hey!
I've been trying to set up AdvancedModRequest with DiscordSRV, however when I tried to include a role mention in the message to be sent to Discord, it would swap the & for a ยง.
After talking to both plugin support, they said it was a 3rd party plugin affecting it..
So today I've removed plugins one by one, and it appears to be PAPI causing the issue, without PAPI everything works fine, with PAPI the & is swapped.
Any solution to this?
don't think it is. Are you trying to use it in deluxemenus? then you can use the javascript type to check multiple groups not just one
there is a %luckperms_groups% placeholder that could show multiple groups if you set it in config.yml
that works too. xD
with a bit of Meta and a custom command or something like that it might be possible yeah.
there's no easy way to do that just some weird stuff
Greetings when Im trying /papi parse Ghostx0013 %javascript_cooldown_Kit-Member-i_start% it returns empty line
server version 1.8
any ideas why papi returns empty line?
output: '0s' always if you're using string equals
nothing changed
on 1.12 it works fine
only 1.8 doesnt like
maybe javascript doesnt support 1.8?
issues was cooldown: file: cooldown.js
oh I see
thanks
Any help here? ๐
hmm you'll need to explain a bit more. how does PAPI interfere if you're not using placeholders?
Not a clue, but the issue is something to do with PAPI interfering with the message being sent from AMR->SRV.
As if I remove PAPI from my server it send the message with the &.
and if you have all other plugins and just papi it sends them with &?
If I have all my plugins in (including papi), it converts the & to the formatting symbol.
I went through removing plugins chunk by chunk and it continued converting to the formatting symbol, until I removed papi, where it then sent the &
So all plugins besides papi leaves it as an &, yeah.
Hello! I was wondering if someone has a placeholder when a staff is in vanish he/she is not in the count on the tab list.
So a global player count placeholder - the vanished staff.
back once again, is there an expansion or a placeholder in the player expansion that gives total health including absorption? The ones in player dont seem to take that into account, so a player with an extra 9 absorption hearts appears to have no extra health
or just an expansion I can use to get absorption hearts
Dumb question, I'm trying to list the high scores, I'm assuming I'd use %chatreaction_top_player_<placement>% I'm not sure what the <placement> is for?
the placement of the leaderboard
so #1 player would be 1, #2 2 etc
%chatreaction_top_player_1%
for the #1 player for example
Ah thanks
Everytime I restart/reload my server the EZPrestiges expansion has to be manually re-registered is there anyway to avoid this?
@sharp jay
@austere hawk,
Please respect the rules, be patient and don't ping staff members!
oof sorry
never seen this happen
whats your server version
and are you on the latest version of placeholderapi /
I'm running on 1.16.5 and papi version 2.20.9
I deleted it and reinstalled it and had to register it
Still need help with this ^^
@sharp jay
@austere hawk,
Please respect the rules, be patient and don't ping staff members!
That doesn't really help me and I said I reinstalled the EZBlocks expansion to see if it would fix it and it didn't register on its own upon downloading.
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
When i made my scoreboard so that i can see how much poer the person has it just stays at 9 does anybody know how to fix this
poer?
power sorry typo
faction power like how may chunks you can claim
ah
^
also what plugin are you using for the scoreboard?

still 10
you're using the wrong placeholder then
that will show the total power of the faction it seems
could be
Premium Factions for premium people.
maybe it's broken
might have to contact the factionsuuid team
but
%factionsuuid_faction_claims% Number of claimed chunks```
you could maybe use that
and either subtract it, or just use like a 5/10 system
il try it later cant right now
the claimed chunks worked so i think il use that for now
what do i do when papi is failing to find the vault_eco_balance expansion?
also what is the placeholder to show a player's health?
/papi ecloud download Vault
/papi reload
%player_health%
i really need help to delete something
delete what?
ty.
that doesn't have anything to do with #placeholder-api, so you should probably go in #off-topic
do i have to download something in order to use %player_health%?
nope cuz i already downloaded it
/papi ecloud download Player
/papi reload
is there any way for it to show the hearts instead of the number?
healthbar_default?
yeah
hi, do you have the list of the placeholderrs avaliables on this plugin? https://www.spigotmc.org/resources/guilds-30-holiday-sale.66176/
check it's wiki, the link is on the page
Everytime I restart/reload my server the EZPrestiges and EZBlocks expansion has to be manually re-registered is there anyway to avoid this? I am on 1.16.5 and running papi version 2.20.9 also running the newest version of EZBlocks and EZPrestige
Hi there. I'm trying to download the placeholders for the Buycraft plugin, but there's no link on the Spigot site to download it. Where and what is the download link?
hey, I'm having issues with the expansion Pinger, every time i run %pinger_isonline_[server]%
it shows offline - [server] is in place for everything i tried, domain, local ip, public ip etc
hey. I think this is the one: https://www.spigotmc.org/resources/buycraft-expansion-placeholderapi.82261/
> [07:17:32] [Server thread/INFO]: Successfully registered expansion: ezblocks
> [07:17:32] [pool-43-thread-1/WARN]: [PlaceholderAPI] Loaded class me.clip.ezblocks.EZBlocks from EZBlocks v1.4.1 which is not a depend, softdepend or loadbefore of this plugin.
>papi register Expansion-ezprestige.jar
> [07:17:38] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: ezprestige
> [07:17:38] [Server thread/INFO]: Successfully registered expansion: ezprestige
> [07:17:38] [pool-43-thread-1/WARN]: [PlaceholderAPI] Loaded class me.clip.ezprestige.PrestigeManager from EZPrestige v1.2.2 which is not a depend, softdepend or loadbefore of this plugin.```
wtf does this mean
It tells you it works. Loaded class ... etc ... is a message from spigot you can't really disable. Its not a problem tho. you can just ignore
Hello guys I have a little question with Vault Extension. The baltop check_delay and cache_size is in ticks ? Or second ?
And what is the cache_size please ๐ Ping me guys ๐
%localtime_timezone_271,hh:mm:ss%
country code is 271 and even if i change country code time its not changing
its so weird
yeah
whats wrong with that
i downloaded expension
i checked that too
even if i change country code its not changing
it is TimeZoneID not country code
whatever
idk if you're being sarcastic or what but he told you to use the name not the number so basically %localtime_timezone_Asia/Istanbul,hh:mm:ss%
๐
There is no time to wait! Ask your question @austere hawk!
Okey
Uhhhhmmm....
I use the Tablist from Bukkit,
And they say : Use Placeholder-API, i use it now but in the Tablist is "%ontime_time_played_total%" not working... why?
do you have the OnTime plugin installed?
Okay thank you very
much
i try it
mhhh no
its not working
why?
i use this plugin
wait
oh i cant send it in
https:/
/dev.bukkit.org/p rojects/ tablist
this
can you help me pls?
why do you use that plugin? Use a newer plugin like TAB. also don't use %ontime_time..% since that's a placeholder from a plugin. use a placeholder like %statistic_time_played% instead which doesn't require a plugin. make sure you do /papi ecloud download Statistic then /papi reload
oke
yeah yeah
but there is : 2d - 5h - 6m - 1s
but how i can do that there are
in german
2 T - 5 S - 6M
you can't I'm afraid.
I mean you can if you know JavaScript. But I doubt you do.
oh what's your server version?
1.8.9
and your PlaceholderAPI version?
?papi-builds
PlayerholderAPI-2.10.9
You can find the latest PlaceholderAPI dev builds here: https://ci.extendedclip.com/job/PlaceholderAPI/
can you update to the development builds of PAPI please? ^
yeah from the link above
which?
can you send me dm?
pls
ahh this
i get it
mhh no
i download the newest
but there still is : 2d - 48h
hmm I just checked and they seemed to have not fixed this yet. Oh you either have to wait for them to fix it or you can use another plugin for the playtime like this one: https://www.spigotmc.org/resources/playertime-offline-player-mysql-bungeecord-placeholderapi-supported.58915/
%playertime_time%
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.
i dont have log permissions
i am only admin
but in the tablist is only %playertime_time%
do /papi parse %playertime_time% and tell me what does it say?
oh yeah my bad do /papi parse me %playertime_time%
oh try doing /papi ecloud download PlayerTime then /papi reload
i gtg real quick to the store as they close in a bit. brb
will help you later
okey
uhmm
i have a another questin
for AConomy
i mean, it it gives a placerholder api?
oder something
it does not.
hmm can you go to plugins/PlayerTime/config.yml and give me the config? use a pastebin like: https://paste.helpch.at
okey
here
do you see?
@turbid tide
I use AConomy and in the Config is : %balance%, but how i can use it?
or download it
?
ah yeah. sorry I'm back. so I've looked at this and it doesn't seem like you can change it unfortunately.
I'm trying to integrate PlaceholderAPI with my plugin, but hook.onPlaceholderRequest() keeps returning null. I have the expansion being used enabled. Is there a different method I should use to get the placeholder?
https://gist.github.com/MagentaRuby/6da3ed691ada83333244253a6fbb08a2
that would be more difficult to do with the way I have things set up. it already parses variables, like <player.name>, but I'd like to add support for placeholders without adding a new syntax
I don't see how it could be any more simple than saying 'hey PlaceholderAPI replace this placeholder with its value'
This feels very much like this, what are you actually trying to do?
Btw wrong channel, use #development
that channel is already in use though
I'm trying to add placeholders support to an existing system that does a similar-ish thing as placeholderapi, but in a different way. I just need a way of getting the placeholder value without telling PlaceholderAPI to do its own parsing
That's what this function does?
Just pass it a placeholder and is returns the value
I suggest to not reinvent the parsing logic that PlaceholderAPI already has, you can probably just apply it on whatever string you have without using your own logic to extract only the placeholders
that function does its own parsing, but I already have my own tokenizer and parser
Explain how it does its own parsing if you just pass it '%player_name%'
I can't imagine any scenario where using that function on that input would give a different result than calling a placeholder hook directly
oh, just pass the placeholder itself. I'll try that
it works. thank you
Hello, I would like to do a placeholder that displays &6max!&r only if %viewdistancetweaks_no_tick_view_distance% is 16 and %viewdistancetweaks_view_distance% is 12. Is there some kind of "if" placeholder ?
javascript
I'm trying to download the buycraft placeholders, but there's nothing on the wiki or spigot page about how to get them. Does anyone know what the link or command for this is?
whats the placeholders for autosell and ezprestige
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#townychat
Search for the plugins you want to find the placeholders for here @austere hawk
ty
No problem
That is not an option, I won't install and run JavaScript just for that
@south mist,
Please respect the rules, be patient and don't ping staff members!
you don't have to install and run javascript. you have to download the JavaScript expansion and make your own placeholder using that and javascript
Whenver my server restarts my add-ons don't load, I have to redownload my addon from ecloud then reload papi every restart
Still need help
expansions?
Which ones?
Just vault
Hey Hey.. there was somewhere a little javascript where i can make a custom placeholder for showing tps.. like 19-20 tps = low workload .. or something like that
var tps = "%server_tps_1%";
function TPS() {
if (tps >= 15)
return "&a" + tps ;
else if (tps >= 10)
return "&e" + tps ;
else if (tps >= 5)
return "&6" + tps ;
else if (tps >= 0)
return "&c" + tps ;
}
TPS();
but I think there's %server_tps_1_colored% which can do the same
yeah. it does
thanks :3 โค๏ธ
Hello,
I got a problem since i switched to Graalvm 11, I got issues with placeholderAPI :
[21:22:36 WARN]: javax.script.ScriptException: org.graalvm.polyglot.PolyglotException: TypeError: invokeMember (hasPermission) on org.bukkit.craftbukkit.v1_16_R3.entity.CraftPlayer@3d173737 failed due to: Unknown identifier: hasPermission [21:22:36 WARN]: at org.graalvm.js.scriptengine/com.oracle.truffle.js.scriptengine.GraalJSScriptEngine.toScriptException(GraalJSScriptEngine.java:453)```
(All message from console)
https://pastebin.com/U2mqTn3p
Using latest papi dev build on yatopia 1.16.4
fixed โซ, had to use engine: graal.js instead of nashorn
wait was graal added already?
I think it just the expansion just tries to load the script engine from the given string
so it doesn't need to add support for script engines
can i change place holders if they equal something to something else? example placeholder that shows world player is in, if it = world_nether then change to Nether
you can do that with the Javascript Expansion
Thank you for the response. Is that a plugin?
Actually, would I use /papi ecloud download <expansion> [version]
it's an expansion for PlaceholderAPI which you can download using the command you found, simply use Javascript as <expansion> then reload PAPI and it'll be up
Got it, then where would I go to configure such a thing?
you can go check its wiki to get some info on how to create scripts
Appreciate it!
Hey guys currently using Skript for chat, and also running Factions, ive set up all the placeholders i need except the most important, and thats the relation color between the players.
It keeps coming out as <none>
No idea how to fix
set {_fac1} to placeholder "rel_factionsuuid_relation_color"
Hello, please help guys, my error says Failed to find an expansion named: Player
?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.
How do i allow it without downloading them
Anyone know how to use the javascript placeholder for permissions conditionals?
If you have perm a you get this but if you have perm b you get this
soo did anyone know how i can get the date as placeholder like %date% or something like that ?
Everytime I restart/reload my server the EZPrestiges and EZBlocks expansion has to be manually re-registered is there anyway to avoid this? I am on 1.16.5 and running papi version 2.20.9 also running the newest version of EZBlocks and EZPrestige
Does anyone know why revrankup placeholders doesnt work in chat or in scoreboard?
Do they work when you parse them manually?
Always do that first to make sure the problem is not in some third party plugin
@sage magnet if you mean a yml checker http://www.yamllint.com/
Validate and Verify your YAML documents, optimized for Ruby on Rails
Nope, I was asking for a site by HelpChat, if I'm correct there's one. I remember once one of the supporters here linked it to me.
to help you build the menu?
Something like that.
If I'm correct, it also highlights the errors and that's what I'd need.
the site I gave you will highlight the format errors
This isn't yaml format error.
dm questions should be asked in general plugins
I wanted to figure it out myself haha, that's why I've asked for that editor site. But sure I'll just pop a message there.
Have a great day.
someone in there might know what your asking for
it's not up to date anymore
=pl DeluxeMenus
wrong cmd =/
The all in one GUI menu plugin!
โข Spigot
โข Wiki
โข GUI Creator
โข Placeholders
you still have it here if you want but it's not recommended
Ahh, they've stopped supporting it?
yeah
Thanks btw.
Hello, anyone know why placeholders doesnt work in scoreboard an chat?
that isn't how papi works
make sure the scoreboard plugin supports papi
and if you want chat support.. you'd need a separate plugin for that
Hi, please why server_uptime placeholder doesn't work?
It's throwing bunch of errors
update PlaceholderAPI if it's not already up to date and do /papi ecloud download Server
and /papi reload
both should be
if it doesn't work then I'm not sure what's wrong
I have 2.10.9 and the error is: https://pastebin.com/7P8w1H5M
@agile bramble,
As part of the 2.10.7 PlaceholderAPI update we broke some methods, please update to the latest PlaceholderAPI release found here to fix these issues.
I know that this issue with this placeholder had been reported a lot of times, but iirc redownloading the expansion worked for some
nope didn't help
welp, maybe that comes from that aswell
who's the author? And don't you know alternative?
I've never searched
Clip, and it says" Thanks for HexedHero for fixing some issues with %server_uptime%
17d ago, but still deosn't work
yeah I remember that "fix" aswell, but it seems like it didn't work
just to be sure, can you do /papi info Server
or /papi ecloud info Server
I don't remember what's the command
and tell me what the version of the expansion is?
yes
both command work
Could you please report this to clip if you can? Or to someone to fix?
what version does it tell you?
and you can still open an issue here if you want to report it to the devs https://github.com/PlaceholderAPI/Server-Expansion/issues
OH WAIT
I have old ver, but why it didn't download now?
I have 2.2.3 instead of 2.4.0
thank you for finally answering
/papi ecloud download Server
/papi reload
use %essentials_safeonline% instead
I think that's the placeholder
%essentials_safe_online%
you also need to execute the commands
/papi ecloud download Essentials
and /papi reload
to download the Essentials expansion and load it
yes?
try to download it manually from the ecloud then
oh wait
check your Expansions folder in your PlaceholderAPI folder
and see of you don't have 2 jars
for the Essentials expansion
if you do, delete both and redownload with the command
oh yeah it helped me except I've needed server not essentials ๐
oh yea nd it works
thanks
right, I mixed both ๐
idk, a PAPI update changed the way it names files I guess
mhm same for luckperms, so now all files are with small letters?
should I redownload everything?
ok
I don't think I implemented that unfortunately
there's the cansee subtype
and do you think that I can convert somehow this time to 1 number?
now it's in format 1m 50s for ex.
I'm trying to download the buycraft placeholders, but there's nothing on the wiki or spigot page about how to get them. Does anyone know what the link or command for this is?
also, be aware that you can't mix subtypes, which is one thing I wanted to do but will only be in the plugin version I'm making based on the PAPI expansion
yeah but you won't be able to use the permission =/
Perfect, thank you @junior musk !
and any idea how to do it via javascript?
What type of javascript? @agile bramble
@vast anchor what are you trying to do?
Broken I want to convert time from %server_uptime% to just one number, for ex. just minutes, or I don't need to convert seconds there, wanna check just minutes
cause I wanna use it in CMI in CHECK: and use if it's higher than specific time etc.
I told you, you can't
I would code it for you tomorrow but I've got homeworks and tons of things to do ;-;
I'll try maybe this weekend
Which scoreboard plugin is compatible with placeholderapi, several have come out with errors
TAB Premium, Kiteboard, QuickBoard, Scoreboard-R...
Ty
@vast anchor actually I may have another idea involving Javascript which would be simple to do, I can try to make it
oright, i think is not impossible. If not some one can help you, I can try too look on it tomorrow and see if i get the placeholder working (hard to test if the placeholder give me errors :)).
I can't take just numbers or something?
/papi ecloud download Javascript
/papi reload
go into your PlaceholderAPI folder in your plugins folder
open javascript_placeholders.yml
add this at the bottom:
staff:
file: staff.js
go in the javascripts folder and create a file called staff.js and add
var list = "%playerlist_online,perm,yes,list,staff.admin%".split(", ")
var vanished = "%playerlist_online,cansee,no,list%".split(", ")
var newlist = []
for (var i=0; i<list.size();i++) {
if (vanished.indexOf(list[i]) == -1) {
newlist.push(list[i])
}
}
newlist.size()
And then /papi reload
then you can use %javascript_staff%
try that
yay
show the rest of the error
=paste
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
Well ....
the error you get in console
var list = "%playerlist_online,perm,yes,list,staff.admin%".split(", ")
var vanished = "%playerlist_online,cansee,no,list%".split(", ")
var newlist = []
for (var i=0; i<newlist.length;i++) {
if (vanished.indexOf(list[i]) == -1) {
newlist.push(list[i])
}
}
newlist.size() ```
try that
right
replace the last line of the script with newlist.length
do /papi parse me %playerlist_online,perm,yes,list,staff.admin%
then do /papi parse me %playerlist_online,cansee,no,list%
and tell me what both returns
wdym by not working?
oh ok
so it's not even working ๐
yeah nah I'm too tired to continue trying this
I need sleep
sorry
Is there placeholders for 1.16 like bells rung, raids triggered etc. Is there a link?
Hi, and don't you think similar thing wouldn't work for me too?
you can reply tomorrow np ๐
So I have downloaded Essentials, Bungee and player and keeps showing %player_displayname%. How can I fix that?
That is probably not a valid placeholder?
Wait isnโt just player_name ?
My name
Oo well
where are you trying to use it where it's still showing %player_displayname%?
what plugin?
HolographicDisplays
You need that plugin for PAPI placeholders to work on holographic displays, it doesn't naturally support it.
Thank you @mint fable
๐
It sure worked. Thank you.
no, the server canโt differentiate between 1.16.4 and 1.16.5 as there was no protocol change
try it
no, the server canโt differentiate between 1.16.4 and 1.16.5 as there was no protocol change
Ya boi strikes again with a Pr
how can i make a command like this /bw join %map%
that does mean, if i have 3 maps for example volcano, ashore, rooftop and i do command /bw join %map% , the command will gonna pick 1 of these 3 maps.
i wanna use %map% placeholder using extension. is there someone knows how to make this?
is there a list of vanilla placeholders for 1.16?
@carmine veldt can you look at my Papi pr? I'm not sure how it looks and I wanna change it quick if its not right because of my schedule
link
Big oof close
because people depend on JSONMessage through papi even though I've told people not to
That's, uh, not your problem. But I see why you'd want to keep it anyway. Fair enough.
last time we did an api break people got mad
eh
@carmine veldt https://github.com/PlaceholderAPI/PlaceholderAPI/pull/549#issuecomment-768040017 are you suggesting that I make a PR where we keep JSONMessage, but implement Adventure for the messages (and just not use JSONMessage)?
Oh wait nvm
wait no i think i'm just an idiot
fixed my comment
what about this? I am assuming you're just keeping it so no
yeah we're keeping jsonmessage
oof outdated
I'll try something but I have school so it'll be in 9-10h ๐
did it anyways x)
/papi ecloud download Javascript
/papi reload
go into your PlaceholderAPI folder in your plugins folder
open javascript_placeholders.yml
add this at the bottom:
uptime:
file: uptime.js
go in the javascripts folder and create a file called staff.js and add
var uptime = "%server_uptime%".split(" ")
var num = 0
for (var i=0; i<uptime.length;i++) {
var type = uptime[i].slice(-1)
var time = parseInt(uptime[i].replace(type,""))
if (type == "d") {
time = time*24*60*60
} else if (type=="h") {
time = time*60*60
} else if (type=="m") {
time = time*60
}
num = num+time
}
num
And then /papi reload
then you can use %javascript_uptime%
tell me if it works
var output = ""
var placeholder = "%placeholder%"
if (placeholder == "" ) {
output = placeholder
}
output
@vast anchor
no just put the placeholder that returns the prefix or the placeholder that returns the suffix there
%vault_prefix% for example
then how do you get the prefix and suffix?
oh, should have said that before
var output = ""
var placeholder = "%staff%"
if (placeholder == "" ) {
output = "("+placeholder+" Staff)"
}
output
but I don't think that %staff% is a valid PlaceholderAPI placeholder, so it probably won't work
I mean why all that?
if ("%playerlist_online,perm,yes,amount,xmishocraft.staff%" == "0") {
""
}
else {
"(" + "%playerlist_online,perm,yes,amount,xmishocraft.staff%" + " Staff)"
}```
actually
there's probably even betters way to improve I gues
Hey, when using the placeholder %time%, i get this weird character
oh i can't send images
@lost belfry,
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
It's setup like this:
time:
change-interval: 900
texts:
- "&7Hora &b%time%"
- "&7> Hora &b%time% &7<"
- "&7>> Hora &b%time% &7<<"
- "&7>>> Hora &b%time% &7<<<"
- "&7Fecha &b%date%"
- "&7> Fecha &b%date% &7<"
- "&7>> Fecha &b%date% &7<<"
- "&7>>> Fecha &b%date% &7<<<"
please @ me ^^
I'm afraid that %time% is not a PlaceholderAPI placeholder. If you're using TAB I think you need to fix the format in config.yml the option is called placeholders.time-format:
I have a problem on the minecraft server. Specifically with %javascript_rewards-delay_Bank_15% it won't display in the game and I already typed the command /papi ecloud download javascript and I don't know how to fix it. Please help
javascript expansion is meant for you to create your own javascript placeholders. have you created the rewards-delay.js placeholder? that's not something that comes with the expansion.
Okay thanks for your help I didn't know how it worked until the end and this is what I found on the internet and thought would work but oh well
can someone help me for some reason players cant see how many players are in other servers like the placeholder just shows 0 all the time but it works for total players
Hi I am trying to look into a way where I can remove the empty space from placeholders with no data, any ideas
Theres a free alternative now
AjLeaderboards
LeaderHeads isn't great. The API is broke as hell
ive made a javascript but how can i add it to my feathboard scoreboard thru placeholderapi?
can you create your own placeholders?
does anyone know a placehold to count how much of a specific entity exists in a region?
@coarse carbon yeah
@austere hawk,
Please respect the rules, be patient and don't ping staff members!
@mint fable
@austere hawk,
Please respect the rules, be patient and don't ping staff members!
@brisk coral
@austere hawk,
Please respect the rules, be patient and don't ping staff members!
Is there someone who can help with placeholderapi?
?help
ยป Give the helpers some details
ยป Ask suitable questions
ยป Be polite
ยป Wait
why your last 5 messages are 3 pings and two "can someone help me with papi?" @austere hawk
@austere hawk Follow the #rules, don't ping staff. Ask your question, don't ask to ask.
can someone help me for some reason players cant see how many players are in other servers like the placeholder just shows 0 all the time but it works for total players
Anyne have a clue why this happenes
Is there a way you can reset specific statistics?
Can i enable redisbungee support for placeholders?
does anyone know a placehold to count how much of a specific entity exists in a region?
I have one that lists how many players are in a WG region, but not one for entities
/papi ecloud download PlayerList
/papi ecloud download WorldGuard
/papi reload
then use %playerlist_online,placeholder,yes,list,worldguard_region_name||spawn%
if you want it for players
I have a village and I would like to show how many villagers there are
not sure if there's a placeholder for that๐คท
tanguygab can u look at my question
here ill put it here again
can someone help me for some reason players cant see how many players are in other servers like the placeholder just shows 0 all the time but it works for total players
is that placeholders problem or bungee
idk
If I've made an expansion - how would I go about submitting it to the PlaceholderAPI ECloud?
do u have an account on the ecloud already?
if not contact funnycube#0001. Also I recommend adding the expansions directly in the plugin if you own the plugin.
It's a standalone expansion for hex colors - I do not have an ecloud account. Would just shooting him a DM probably be best?
yeah. just don't spam him.
just let him know what you want and wait for him to wake up
because you most likely used the wrong server name or the check interval is very high
yes. But you have to do it for each player manually. I mean probably an automated way could be done but the statistics are saved in the world folder in the playerstats folder or whatever its called
Is there a way to get papi placeholders to work on holographic displays? (server version 1.16.4)
holographic displays extension used to work but is outdated i believe
yes sir.; use HolographicExtension. its a plugin you can find on spigot. together with holograpihc dispaly
and no its not outdated
it works 100%
hmm, i've got it installed but doesn't seem to take affect. Is there something i need to do apart from restart the server?
ProtocolLib
https://www.spigotmc.org/resources/holographicextension.18461/
their page says it only supports Supports 1.8-1.15.1โ
damn. Let me try again, thanks guys ๐
Gotcha. His DM's are closed - should I attempt to add him as a friend? I'm in no rush, just looking for some guidance lol
Hi I created this expansion https://www.spigotmc.org/resources/buycraft-expansion-placeholderapi.82261/ . It's possibile to create an account here? https://api.extendedclip.com/register/
@balmy marten when you got time please help both of this people make an account? ^ thanks
Could you pm pls. I don't see notifications
Hey I am not sure if this is the right place but for some reason I cant make mysql queries work
there is this placeholder in the config {player} it seems to not be working
What am I missing?
what plugin are you talking about? because {player} is not a placeholderAPI placeholder
PlaceholderAPI/expansions/MySQL/config.yml
I tried /papi ecloud download player
yeah then use %player_name% instead of {player}
/papi ecloud download Player then you have to do /papi reload
I tried that
I am still not getting what I am quering for
Even tho the syntax is right and working in phpmyadmin (changing the placeholder with my username)
The world expandsion is returning the wrong world time when using the %world_time_world% placeholder. is there a way to change it's offset or something?
I've already fixed it in my fork of the expansion.
I'll make a pr in a bit
Accept the friend request and you'll be able to DM me, then send over an email and username you'd like.
@cosmic glen You'll need to do the same.
Can anyone help me
how i can remove the console output from checkitem
[13:42:06 INFO]: 1 [13:42:06 INFO]: 2: 1 [13:42:06 INFO]: 2: 1 [13:42:06 INFO]: 2: 1 [13:42:06 INFO]: 2: 1 [13:42:06 INFO]: yes
O.o
what version
#ecloud-updates @tawdry pecan
you can't get permissions of offline players
it's stored in whatever perm plugin you use's database
not kept in memory
And no, it's not possible to get the perm of offline players
and if you could, it would be insanely resource heavy as those placeholders could be called multiple times a second
Hi !, the placeholders %player_health_rounded% and %player_health_scale%, how do they work? I wanted to know
Wdym โHow do they work?โ
The health rounded is their current health, the health scale is the highest it could potentially be i believe.
thanks ๐
Hello I am looking for a variable to have the number of plugins on the server
Version 2.10.9
@tawdry pecan,
Please respect the rules, be patient and don't ping staff members!
I meant of checkitem, and I fixed your issue
Ah 2.0.4
How can I update a placeholder on ecloud?
click on ur expansion -> versions -> add version
Thanks
is there a way to add a battlelevels placeholder?
Q: i got some placeholders that are not acting corectly for one player, anyone got any ideas? i updated [ecloud download] all of the expansions
player has 10070 exp (63 levels), but the placehollders i have all show 33966
I assign the same exact exp to myself and it reports correctly/as expected
Question: Am I allowed to use bStat for an expansion?
s
I'm pretty much sure I broke papi in my server..
no placeholders are working big oops
error: https://paste.helpch.at/efaqadimad.apache & https://paste.helpch.at/fehikejequ.bash
apparently vault/player ain't even in the list? https://prnt.sc/xuoeim
they was before and I tried installing again but it ain't working still ๐ค
help pls
seems like the EzRanksProExpansion isvrokeb
the broken expansion probably loaded before, stopping the loading process
exact same issue x) EzRanksPro Expansion broken
what's your PAPI version btw?
latest
just remove EzRanksPro?
also make sure it still works on /papi reload
oh well that will work yeah lol
/PlaceholderAPI/Expansions/
check for a (or multiple, which may be the issue) jar with EzRanksPro in the name and remove it/them
yeah all good now
thanks
weird we didnt have this issue on our old machine
just swapped the server to a new one, and noting worked
I need to apply placeholders in a string without a player/offlineplayer object. Is there a formal way of doing this or should i just use the setPlaceholders(null, String). Intended usecase is things like %random_player% or %server_tps%. Wasn't sure if this belong #development or here but cheers in advance ๐
Hi
Can I get some help
I'm using latest PlaceholderAPI
but Skript's placeholders doesn't work
I know null can be used, i was asking about best practice (if its the propper way of doing it) @junior musk
I think that's how it's intended
Ah ok cheers
%math_{bungee_kitpvp1}+{bungee_kitpvp2}[precision:0]%
for the math ye 
function totalPlayers() {
var total = 0;
var serverPrefix = "kitPvP"
for(var i=1;i<=30;i++){
total = total + parseInt(PlaceholderAPI.static.setPlaceholders("%bungee_"+serverPrefix+i+"%"));
}
return total;
}
totalPlayers();
Tanguygab do I need to add any PlaceholderAPI.setPlaceholders() in that for it to work nowadays?
I think yeah
I can never remember what works and what doesn't
or else, it will either not parse it or count the " and + inside of the placeholder x)
I think I made that one with the version aboody made a while back
and I think you need static before .setPlaceholders
o
that sounds right
@jade bane so you can make that loop any number you want
currently the top loop will do 1-30 for bungee_sw
so bungee_sw1 bungee_sw2 etc.
and the bottom one does skywars 2 and 3 I guess
idk why it starts at 2
but
oh that's why
because he didn't have a bungee_skywars1
it was bungee_skywars bungee_skywars2 bungee_skywars3
(I made this for somebody)
ye
I fixed it up a bit
that should work, and it looks better
๐
?
how did you define it in the javascript placeholders file
you have to define the placeholder in the file
ah ye
where it says static.setPlaceholders
do
setPlaceholders(BukkitPlayer, <the rest>
so just add BukkitPlayer,
should work
no
sorry
PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%bungee_"+serverPrefix+i+"%")
s
setPlaceholders
it was me
you're missing a )
i'm just sending examples here you definitely gotta make sure the formatting/spelling is correct lol
it's all pseudocode in discord for me
that's weird...
it's an int
what script do you have now?
weird
ah...
so maybe it's not parsing the placeholder
/papi parse me %bungee_kitpvp1%
what does that return
and you have 30 servers?
your loop is still configured for 1-30
wait you only have 2
you don't need the javascript placeholder...
i see
either way, just change the 30 to 2
hmm
send script
?codeblocks
Use codeblocks for formatting code or configuration files:
```<language name>
<your code here>
```
For example:
```yaml
test:
- โhiโ
- โthereโ
```
Produces:
test:
- โhiโ
- โthereโ```
btw 
interesting
ugh it makes no sense
you could try restarting
see if that fixes anything
if not, just use the math placeholder for now I guess?
it should be working
/papi parse me %javascript_kitpvp%
no
can you try "5" instead of PlaceholderAPI.static....
just parseInt("5")
see what happens
so
/papi parse me %bungee_kitpvp1% %bungee_kitpvp2%

i got no idea, i gotta take a shower
maybe i can figure out after
function totalPlayers() {
var total = 0;
var serverPrefix = "kitpvp";
for(var i=1;i<=2;i++){
total = total + parseInt(PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%bungee_"+serverPrefix+i+"%"));
}
return total.toFixed();
}
totalPlayers();
that's my last guess
all I did was add toFixed to remove the decimal
and then added a ; after kitpvp
gl
rip
wait but why didn't you go with the math expansion?
oh I see
function totalPlayers() {
var total = 0;
var serverPrefix = "kitpvp";
for(var i=1;i<=2;i++){
total = total + parseInt(PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + "bungee_"+serverPrefix+i+"%"));
}
return total.toFixed();
}
totalPlayers();```
here you go
yep
I mean, it's worth a try, but doesn't change the string itself
I'm pretty sure there's some weird thing where it tries to parse the first string which was %bungee_ which when parsed as an int would be 0
wot
that's inside the setPlaceholders function
parseInt parses the return value of the setPlaceholders function
%bungee_ is not the string though
will try to parse the first thing because it finds %bungee_
and thinks its a placeholder
wot
its weird idk
ugh idk I just remebember something. I might be completely wrong. but remember this weird shit happening to someone else
it might just be me going crazy
because what you did doesn't change the inputted string, just the way it's concatted
like most of the times xD
yeah that's why it felt very very weird
when I first heardd about this
if it's somehow parsing %bungee_ before the script is run, that would make sense of what you're saying
but no sense as to why
yeahhh
that was it
fuck
the placeholder was parsed before the setPlaceholders
I remembered something but not the whole thing xD
but with only 1 %?
yeah. pretty sure that's what's happening
well I mean I'll even try the script after this game of csgo
if you want xD
I can't make an account to upload a papi expansion.
u need someone to manually create an account for u
aka funnycube
so whenever hes online give him a shout
ok thanks
i reloaded the server and dont work
i need to add the placeholders and i do /papi reload and theres nothing
ready i installed a super old version
ok i installed World extencion i cant reload but wtih other extencion i can
HELP?
Oh, let me fix that
anyone can help me?
ยป Give the helpers some details
ยป Ask suitable questions
ยป Be polite
ยป Wait
@eternal nacelle
Perhaps send more than 4 words per message and actually describe your issue
i cant send images
@eternal nacelle,
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
just, I want to put the lives of the players on the scoreboard but I get "PNF"
sorry my english is bad
i need send pics
to show
Then send them.
Hello, with Chatty plugin giving this error, please help me.
https://pastebin.com/Rhw6LCPX
Possible to disable the "yes" console output?
[11:52:37 INFO]: yes
or is there another way to remove the item?
asConsole! papi parse [playerName] %checkitem_remove_namecontains:&9testitem,amt:1%
disabling console output bad
other possibility?
idk what you're trying to achieve
They are parsing a placeholder to remove a certain item from player's inventory @sinful meteor
Thats what checkitem_remove does
But it prints yes to console because the console runs the papi parse cmd
ah okay
Wondering why dm doesnt have a [parse] action yet
Would be good to add that, because it's a bit silly like that. I want a clean console :d
I mean, I guess as long as you don't stop anything from getting logged to the log file then it should be fine
There is this plugins, console spam fix
You can use it to disable certain things from being shown to console
Nobody knows how to help me?
Howdy yall ๐ Im running 1.16.4 and featherboard. I also have version 2.10.9 of Placeholder API.
For some reason when I try using placeholders for iridum skyblock it aint working.
I ran /papi parse me %iridiumskyblock_midnight_minutes% it returned a value so thats fine but in the s coreboard its just showing the placeholder.
- Resolved. It states compatible with both Papi and MVdWP but I changed to {} and it worked.... so meh ๐
FB uses MVdWPAPI which uses {} so yeah :D
Well not resolved. Cos the other placeholder I want is not on MVdWPAPI. Any work arounds or do i need to contact the dev?
oh actually it's the other way around
The home of Spigot a high performance, no lag customized CraftBukkit Minecraft server API, and BungeeCord, the cloud server proxy.
? I have indeed seen this list ๐
Never seen this before ๐ฎ
Looks so simple.
So if u had %placeholder%
u could use {*placeholder)
O boi xD I think I got it hahaha
Resolved! %name% = {placeholderapi_name} thanks Tanguygab
||wait what ๐ since when is %name% a PAPI placeholder? x)||
its not xD its just an example to show format for solution ๐
ah ok lol
Is javascript expansion data saving/loading system completely broken on 1.16.4? Each time i stop the server, use /papi reload or unregister and register the expansion again placeholders cannot load the saved values and keep saving wrong, always the same values onto the file. This happens regardless of my code and persists through server restarts. The only way to fix this is to change the placeholder identifier. Then it starts working as intended but only as long as I do not stop the server, use /papi reload or unregister and etc.
can someone help me
my expansions dont work
https://paste.helpch.at/supelorizu.sql
been compiled by a more recent version of the Java Runtime (class file version 59.0), this version of the Java Runtime only recognizes class file versions up to 52.0
so what i have to do?
did you code that expansion or did you just download it?
yeah ok I see who it's from
can you do /papi info World ?
Problem, all placeholderapi placeholders stopped working
They all return their placeholder
Even papi parse
No errors at all
?startuplog
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.
please send a startup log ^
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
Above
I cant send a screenshot, so I'll just copy it
@undone narwhal,
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
huh that's weird. can you do a full server restart?
and if it doesn't work after that send the new startup log
nice
Hey guys how can i create custom boolean answers without using java script and i already have in config for boolean false and true but i would like to change text depending on placeholder i am using
and if i must use javascript could someone give me a example
javascript expansion?
Hello, could you help me with this problem?
( In Console: https://pastebin.com/Rhw6LCPX )
@thick sinew Did you try installing a plugin that is in a zip folder.....
I didn't find any plugins, could you send me a link please?
If you are talking about PlaceholderAPI, then in plugins I have PlaceholderAPI.JAR
@jade bane,
Please respect the rules, be patient and don't ping staff members!
hmm so i wanted to see the richest players balance and i get 0.0
the richest player has 1.29M
im using 2.10.9
my servers version of bukkit is 1.8.8-RO.1-SNAPSHOT
Hello i need help Vault place holders not working in HolographicDisplays
You need HolographicExtension
i think thats the name
=plugin HolographicExtension
oh ima try that ty ๐
Hi could someone update the expansion's placeholders list on github? "BuyCraftAPI"