#placeholder-api
1 messages ยท Page 145 of 1
Hi. I have problems with Math placeholders: %math_{server_online} - {premiumvanish_playercount}%
Returns zero.
any help?
do /papi parse me %server_online% then /papi parse me %premiumvanish_playercount% and tell me what both return
okei
yes. if you want to learn how to set one up yourself here is the wiki: https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
5 and 2
now do /papi parse me %math_3-1%
0
huh
yes. zero.
do /papi ecloud download Math then /papi reload to be sure you have the latest version of Math
you make an update?
and you're 100% sure you've used this /papi parse me %math_3-1% ?
and not another command?
hmm what's your server version?
i can't send a photo
@little ridge,
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
1.15.2
hmm I'm very confused. I've been looking and can't seem to find anything like this.
https://pastebin.com/7mQhMFbG what does this mean?
okei
?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.
@twin sluice ^
How do I PlaceholderAPI#setPlaceholders() without converting my & to a \u00A7
Is there a way I can do a calculation with the value of 2 placeholders? Want to show the total claim points, but the only way that seams possible is sum the amount accrued with the bonus amount
the Math expansion do /papi ecloud download Math then /papi reload and you can use it like this: %math_{placeholder_1}+{placeholder_2}%
what does MVDW have to do with this?
I'm using featherboard, that uses mvdw
ah yeah that won't work
you'll have to make a custom javascript then or I think they have their own math expansion
tysm
Does anyone in here have experience with RedisBungee and its placeholders?
they don't seem to want to work for featherboard
Featherboard doesn't support PAPI
You have to use MVDW placeholders (I believe there is a placeholder to get papis tho)
right
maybe that's why it doesn't work ๐คท
forgot to mention that's not why
okay
bc I did the mvdw placeholder :p
Tux doesn't really maintain it anymore so I may need to search for another solution
check ur last mentions history ๐คทโโ๏ธ
Can i know why when i reload the jsexpansion /jsexpansion reload, it said 0 script reloaded? I already follow the instructions on https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
0 script loaded
Well yeah , i tried putting my own script at first, then it showed this. So i tried follow the instructions from github but same also
can you show me your plugins/PlaceholderAPI/javascript_placeholders.yml file?
copy paste here?
?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
use one of these ^
and now can you make a screenshot of your plugins/PlaceholderAPI/javascripts folder?
like show me what files exist
yep
also before you do that. do /papi reload
it might just fix it xD
if not send the photo
hmm
i mean like even the hello_world expansion doesnt work..
can you do again and check the console? or maybe even a server restart
and send a startup log
?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.
If your java version is in jdk 15, you'll probably not gonna see the engine
To confirm, check config.yml in placeholderapi and enable debug mode
if they're on java 15 they have to set engine to graal
and it looks like this based on the error
That is, when they have GraalVM on their machine
I dont understand well, mind explain more?
Busy rn, sorry
what's your java version?
ah I see so idk what GrallVM is but you can try and see if you have it. in your plugins/PlaceholderAPI/javascript_placeholders.yml do this: yml example: file: example.js engine: graal hello_world: file: hello_world.js engine: graal test: file: test.js engine: graal test2: file: test2.js engine: graal
see if it works. if not you'll have to either get GraalVM which idk how or downgrade to a java lower than 15
Sure, let me try
it graal.js =)
but that only works if your server has the GraalVM jdk on it and not simply jdk 15
Welp, its not worked. I guess i downgrade to lower java and see if it works again. Btw thanks guys
people use 8 or 11 generally
go with 11 btw
paper 1.17 won't support lower anymore
so its better to be ready xD
probably to be updated as its generally a good thing ยฏ_(ใ)_/ยฏ
Hi. Any news about the Math expansion placeholder bug?
anyone knows how to use placeholder api on holographics displays?
Depends on the plugin doing the holographic displays. If it has placeholderapi support
Hello i get a error with a JavaScript placeholder that i downloaded.
lore.js code https://paste.helpch.at/eyovowojaw.js
Version: 1.12.2
ERROR [PAPI] [Javascript-Expansion] An error occurred while executing the script 'lore':
INFO TypeError: null has no such function "hasLore" in <eval> at line number 9
does papi support a identifier that is made out of multiple underscores? like: %myplugin_deaths_top1%
oh nvm. Seems like it does
I'm assuming papi3 is still whenever it's ready
Hello, could you help me with this problem?
( In Console: https://pastebin.com/Rhw6LCPX )
Could someone update placeholders list on github? (BuyCraftAPI)
you'll have to do that yourself thru a PR
PR?
Pull Request
y api %vault_eco_balance% is not working?
and y vault expansion is not even showing at the papi list ?
its about?
i have in my 1.16.5 MC Server Featherboard, but placeholders are not working.
have you downloaded it? /papi ecloud download Vault then /papi reload
PAPI placeholders?
and how are you using it? {placeholderapi_PLACEHOLDER} ?
Wym?
Yes
I also restarted the server
what is the exact placeholder you're putting in the scoreboard Aultra?
and you're 100% sure you got Vault the plugin installed?
?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.
then send this ^
Im trying use that tho, but it isnt working.
I also checked the expansion file
what is that? Like show me what you're using. that's what I mean
can you send the startup log then? Follow the instructions from the bot
Ok
I cant use placeholders in my featherboard,.
I have no idea how to fix.
Is there a 1.16.5 version of placeholdersAPI?
You can find the latest PlaceholderAPI dev builds here: https://ci.extendedclip.com/job/PlaceholderAPI/
here @delicate vapor ^
Thanks
lets try if its working now
Okay
its still not working in my featherboard
Im using now featherboard
But i want to use X, Y and Z
And i want The balance in my scoreboard, but i cant get it in.
but the exact placeholder
%player_x%
And i have %vault_eco_balance%
for that use {placeholderapi_vault_eco_balance}
well its just adding {placeholderapi_ }
and removing the %
so for %player_y% is {placeholderapi_player_y}
do you see the pattern?
{placeholderapi_statistic_player_kills}
yeah /papi ecloud download Statistic then /papi reload
{placeholderapi_statistic_deaths}
In my scoreboard is says "Unknown statistic'player_deaths, chekc (link)' "
Thanks!
Its fixd all
Really nice, someone fix new gradients placeholder extension some work. It is big update to my menus ๐
If you meant me, it was one I try some get last update in June or July, some not work.
And new person release a own version for couple of days. Really nice done.
Only send thanks here.
can I get link?
because its not on the ecloud
I find it in ecloud updates on dc, is name is RGBPlaceholders
Only manually downloads work so far.
ah its a new expansion. yep yep. thought its the gradient expansion. k then
Rip ๐ซ yea that one is dead, has send issue on his github (and still nothing has happened).
This what I see, do same thing (almost, the biggest difference is this one work).
yeah the developer stopped working on it.
I'm getting this error https://paste.helpch.at/umisovobus.cs
not sure why papi is giving me a hard time tonight
figured out the above error, now I need to figure out why it don't like this line on a javascript placeholder return Math.trunc(weeklytemp);
probably nashorn doesn't have Math.trunc. it might also want it as a number not a string.
you can just do return parseInt(weeklytemp)I think
it will automaticly truncate
weeklytemp is anumber
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
well then do toFixed(0)
when I make changes it seems to give errors it I use papi reload
try the one I just gave you
yes it returned NaN
do /papi parse me %autorank_weekly_time_of_player% and tell me what does it say?
not working now
Staartvin has put the expansion in Autorank now, does it still need ot be registered on the ecloud
no
rebooting server to see if fixes it
make sure you don't have the old expansion still. go to plugins/placeholderapi/expansions and make sure there isn't an autorank one in there
now I can parse the placeholder
not sure how I get 2 out of 111
should be 1 hour, since 111 is 1 hour 51 mins
ugh with my placeholder?
maybe I'm doing th math wrong in my head
you're using this right? https://paste.helpch.at/xiqanexuku.js
almost
test your now
but when I make changes it breaks placeholders for autorank
not sure if any other placeholders break
yours returns 2 also, guess it rounds up
what if you return it without .toFixed(0) ?
1.9333333333333333333333
engine: nashorn
try return Math.floor(number) then
any
java isn't javascript
dkim
what engine can I use for javascript placeholders
it matters wwhat java version you are
everytime I make changes to the javascript and then reload papi the Autorank placeholders stop working
math.floor threw error https://paste.helpch.at/nodipeqego.bash
to use math.floor do I have to use a different engine?
different engines do not exist yet.
ok, I think my server is on java 8 should I update?
not sure if the OS will handle 11

well I was able to find the commands to update to Java 11 and math.floor works fine
?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
welp @icy crypt turns out you don't have Vault installed. The plugin I mean
wait
nvm Its working
nice
?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
UMBER) which is not a depend. softdepend or loadbefore of this plugin.``` what should i do?
Unfortunately you can't
absolutely nothing. that's not an error. its just spigot letting you know something is happening.
why is it a warning tho?
I see those a lot. Just ignore them. Just spigot being picky.
Hello, could you help me with this problem?
( In Console: https://pastebin.com/Rhw6LCPX )
@thick sinew Did you try uploading something in a zip file.
No
I downloaded it from the site and immediately put it in plugins
Downloaded what
Plugins, papi and chatty
Btw everything was fine before.
Before I installed the latest version of the paper core
Hello, what can i do:
command: /cmi tpaccept %player%
conditions:
placeholder_api:
- "%parseother_{%player%}_{checkitem_namecontains:&9testitem}%;equals;Yes"```
%player% in parseother does not work, right? But my plugin has to check the other player name. How do I do that? Without %% it doesn't work either.
how can I fix this
so I setted a delay for a kit of 7 days
but when I use %essentials_kit_time_until_available_kitname%
it returns 6 days 48 hours
why does papi not hook into plugins which has built in placeholders after a reload?
make sure the expansion has persiste() set as true
they work fine until I reload papi
where do I find this setting?
It's not a setting. It's a method that the expansion's dev needs to add if the expansion is internal (in the plugin)
It's all on the wiki
Ideas? ๐
Been fixed by plug-in developer
- "%parseother_{player_name}_{checkitem_namecontains:&9testitem}%;equals;Yes"
This does not work because /cmi tpaccept %player% only outputs the other player. The CommandConditions plugin only seems to read the %player% variable. or do placeholders also work in commands?
So when I use "%parseother_{player_name}_{checkitem_namecontains:&9testitem}%;equals;Yes", only my inventory is checked for the item, but not that of the other player.
Has a plugin too some not can handle reload (placeholders stop work), seams like he has stop update the plugin too (no update for at least 8 moth).
you dont use dev build on papi? If not update
I use the latest version from spigot
of placeholderapi
however, this issue happens only if the delay is greater than 6 days
yea is known bug. He is slow update on spigot, so use dev build it is fixed ๐
how do make sure that all groups are checked ?
view_requirement:
requirements:
permission:
type: has permission
permission: group.shell1
permission: group.shell2
permission: group.shell3
permission: group.shell4
permission: group.shell5
permission: group.shell6
permission: group.shell7
permission: group.shell8
permission: group.shell9```
And you can use an example of what I want through ( javascript)
hello, I recently got placeholder api and I'm wondering if I can use it with holographicdisplays (the plugin) to show how many players are online, in a hologram
u can, but holographicdisplays doesnt support PAPI natively, so u have to use the holographic extension plugin to allow this
=plugin HolographicExtension
๐
๐คฃ
You can make it like this. you need add all other groups, only show part of this (more or less copy and paste).
view_requirement:
requirements:
permission:
type: has permission
permission: group.shell1
permission1:
type: has permission
permission: group.shell2```
or java-script like this,you only need one of the perms (you need javascript expansion too). all info how to download here https://api.extendedclip.com/expansions/javascript/
view_requirement:
requirements:
permission:
type: javascript
expression: '"%player_has_permission_group.shell1%" == "yes" || "%player_has_permission_group.shell2%" == "yes"'
If it shall check you has all groups is like this.
view_requirement:
requirements:
permission:
type: javascript
expression: '"%player_has_permission_group.shell1%" == "yes" && "%player_has_permission_group.shell2%" == "yes"'
hello! why is it that when i do /papi ecloud download Factions and /papi reload it doesn't add factions? it just doesn't put it on the list and placeholder doesn't work, i assume this is a common issue.
@slate holly Try restarting the server
hello
how I use %checkitem_enchantments:<>% placeholder?
I cannot perform it well
and this error appears
@sturdy raft can you try this?
oh nice
Hi I need some help. My players want me to add a hologram infront of each portal that leads to each world like SMP that shows how many players are in that world currently. And I was told to first test if the PAPI is working so I did %player% in the holograms and it didn't work, my PAPI is up to date, holographic displays up to date, protocollib up to date, HolographicExtension was just downloaded. What am I missing?
you want to show how many players are in certain world right?
Yes, I it's all one server btw, so I want it to show how many players are in a world, like SotF, SMP, Spleef, etc
./papi ecloud download server
and use %server_online_<world>%
for %player% use {player}
requires protocollib
or you can do
{world: <world name>, [other world names]}
Players online in a specific world (example: {online: world_nether}). Combine multiple worlds by separating them with a comma (example: {world: world, world_nether}).
It surprisingly actually works now lmao, even though I did /papi ecloud download server and /papi reload early and it didn't work. But now slight problem. When I did the %server_online_sotf% it replaced it with the number, but it just says 0. And there are 9 people in there
try {online: soft}
Same thing, 0
Would that mean something in the config is messed up? Cos I doubt it. I'm using PAPI/Protocollib for another hologram in spleef with everyones wins, and it works
hm
0 again
playerlist can be used for this iirc
yeah but server has one as well but seems to not work for him.
It literally just puts that whole thing in the hologram XD
did you download the expansion?
/papi ecloud download PlayerList then /papi reload ?
ye he's using HD+HE
I have NO clue what HotKinsS is lmao
@visual yacht is a person
indeed
OH
xD
XD
XD
the person that suggested %world_players_<world>%
I thought that was a plugin lmaoo
lmao
sry my bad
Yeah no, it literally just shows the literal text I typed in the hologram lmao. I'm doing something wrong 100% XD
We got SOMEWHERE with the ProtocolLib way {whatever} but it just kept saying 0
/papi parse me <placeholder>
can you parse it and see if it outputs?
ah yes 
I... think...? XD
maybe he's just been using an invalid world name this entire time?
we guys are just confusing him lmao with all these options
Yeah I'm confused af lmao, Also I parsed myself (Just learned what that is) it works
%server_online_<world>%
%world_players_<world>%
%playerlist_online,world,yes,amount,<world>%
lol
The worlds I have are named Lobby, SotF, Spleef, and SMP, right now I'm trying to set up holograms in the Lobby to say how many people are in the other worlds, like SotF
Like literally that's what they're called, I created them with multiverse
also <world> will become lobby not <lobby>
so be careful with that as well
seen people not removing <>
Nah I always remove the <> I aint dumb XD but lemme try again
wouldn't it become Lobby
you sure HolographicExtension is working?
did it work in the parse? (don't know if we checked)
well Lobby yeah if your world is uppercase
I did /papi parse me yeet and it said yeet to me, so
/papi parse me %server_online_SofT%
oh xD
that command is to see what placeholders return xD
it will literally return any text you put in but will also try to parse placeholders xD
It returned with 5 which is... lemme check...
idk lmao, I can see everyone in the server. We'll say it's correct
ok now if you add that to a hologram?
GASP holy sht it works, IT SAYS 6!!
๐ค
xD nice
Idk what I did different but hey XD
maybe the world name is case sensitive?
probably wrong world name or something.
i dunno
it is case sensitive
๐
rofl
Oh last question lmao, how long does it take for the online number to update. Cos someone joined SMP while it said 0 online, and after I think 30 seconds it didn't change until I changed the text
I think it's in the papi config
Gracias. And now this is my very last question. Why do I always pronounce PAPI, as papi, like, dad, or whatever XD
because
cause its papi
just like herobrine
/daddy
xd
but you can still add it with the Daddy expansion
/papi ecloud download daddy then /papi relaod
LMAO
and then /daddy parse will work
Holy sht it does XD It doesn't autofill but it's a command
lmao, well either way thank you guys so much XD at one point my brain did light on fire cos y'all were suggesting completely different things at the same time, but aye, it works XD
Plugins, papi and chatty
Btw everything was fine before.
Before I installed the latest version of the paper core
i have and it did not work.
the expansion is infact in the expansions folder but reloading papi does not count it in, it says 3 placeholders enabled when Factions is the 4th.
@slate holly Do you get any errors in the console?
when i start the server or when i reload papi?
Either one
[13:58:43 WARN]: [PlaceholderAPI] factions is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
@thick sinew Paper core? You mean paper spigot?
@slate holly The dev of factions needs to update the expansion.
would using an older version of factions work? or is the issue with papi
The issue is that the expansion is outdated and needs to be updated.
alright, thank you.
hi i use expansions MySQL
Can it be done somehow? (what's below)
query: SELECT name,id FROM XYZ WHERE `id` = '%mysql_ZYX%'
why ? ๐ฆ
because there can be sql injections if you don't want use prepared statements
Is there another way to use %player% from another plugin in paseother?
player_name does not work. The plugin only checks the %player% variable.
what I was trying to do
command:
/cmi tpaccept %player% ->
condition:
%parseother_{player_name}_{checkitem_namecontains:&9Testitem}%;equals;Yes
%parseother_{player}_{checkitem_namecontains:&9Testitem}%;equals;Yes
%parseother_{%player%}_{checkitem_namecontains:&9Testitem}%;equals;Yes
Hi, is there a way for the placeholder %essentials_kit_time_until_available_kitname% to output just a number value, rather than #s (has s for seconds after it)
I have a problem with luckperms, I use the placeholder %luckperms_expiry_time_perms% and doesn t show the corect time for 1 month, in my console it says that the permission was suscesful set for 1 month and when I check the placeholder with parse me and on on other line that contains the placeholder shows 6 days and 10 hours
but for 1 day works
Hi, I'm trying to use CrazyEnvoy's cooldown timer in a hologram, it says you can use {envoy_cooldown} to show the timer but it doesn't work, am I missing something? my Papi, protocollib, holographic displays and holographic displays extension are all up to date
(Yes I know this isn't CrazyEnvoy but Im hoping someone might know, cos I can't join their discord since Spigot website it down)
ask on discord.gg/luckperms
:/
Hi guys, i'm having issue with PAPI and specifically the bungee plugin. Can anyone help. It's showing 0 for total even though, it's not 0 lol
I tried to post an image but the bot didn't like it
I noticed there is a 30 second delay. I have run the command and wait 1 minute, then run it again and it still displays 0
Restarting the proxy doesn't help at all sadly
has you check config.yml in PlaceholderAPI folder?
And for images, use imgur
That's all thats in there
@cedar hinge wdym
So when i load up the server my placeholders work fine. Then when i download an expansion then reload the plugin my plugins placeholders no longer work. If i restart the server they do.
oh wait as in you are writing a plugin.
yes
#development was the right place but just override the persist method and make it return true
in which class?
the one that extends PlaceholderExpansion or whatever its called
working for me, but I run it in the lobby/hub (I donยดt know were you try it). And with lobby i mean server where the proxy run.
how would i do that?
@Override
public boolean persist() { return true; }``` iirc
In all servers i run it in i get 0 :/ I am reall yunsure what to do
np
and you has done it in lobby/proxy?
What version of papi and bungee you use?
I run it in the lobby, i can't run it in the proxy because its a spigot plugin...?
Plugin: PlaceholderAPI (2.10.9)
Proxy: Waterfall #395
I try on PlaceholderAPI-2.10.10-DEV-118 and bungee 2.0 and waterfall-1.16-390 server is on paper 400
I mean on the server connected to the bungee (but should be no different what server you try on, I realize now).
Does someone know why my placeholdersAPI not working on bungee cord?
Don't forget to download the Expansions
I PMed you.
@limber ice Unknown expansion.
can someone help me find a marker that shows the current world time please?
where do i find the world expansion?
/papi ecloud download World Then /papi reload
says it failed to find the world expansion
try world Instead of World
also does not work = (
o thanks
https://i.imgur.com/GY3fzPe.png Then this lies ๐
it does not. it used to be. idk what happened
thien updated it or something?
Lol, okay I know it used to work. That's why I mentioned to try it. As i suspected it still did. Obviously it needs to be updated then
i kinda removed the expansion from ecloud and then added it back
There were a lot of versions that are conflicted, so I wanted a clean version
Hello I have issue with server server placeholders. So, if I'm not restarting server about 24 hour the it show 1 day 25 hours 10 minutes 39 seconds, so 25 hours will be 1 hour because it added 1 day, how to fix that problem?
I use server ecloud
%server_uptime%
For example https://imgur.com/6xByqJQ
Has you updated placeholderapi to a dev build?
Does anyone know the correct placeholder for bungee server
vvvvv
For a server selector it shows server, but it is showing 0/0 , why it is not recognizing that server max slots?
Is there a placeholder to put the players latest messages so then you can add it as a name tag above their name
@shell coyote
@kindred wigeon nope I recommend looking into a custom JS placeholder you can request one in #805698757411995648 or #805698761442590730
Do you know how to solve this problem? @fervent spire
Bump.
if you format it yourself using the javascript expansion
Does anybody know why this doesn't work?
%math_([precision:0]({quests_category:mining_completed}/9)*100)%
do /papi parse me %quests_category:mining_completed% what does it return?
0
and what does /papi parse me %math_([precision:0]({quests_category:mining_completed}/9)*100)% return ?
the placeholder itself
have you downloaded the Math expansion? /papi ecloud download math then /papi reload
Yep
can you try something simple like /papi parse me %math_1+2%
yep that works (returned 3.000)
oh ok then lets try something else
/papi parse me %math_[precision:0]({quests_category:mining_completed}/9)*100%
returns the placeholder
if this doesn't work then try this: /papi parse me %math_[precision:0](1/9)*100%
also returns the placeholder
returns the placeholder
i'm on 2.10.9
try /papi parse me %math_[precision:0]2+1%
Returns the placeholder again
and now /papi parse me %math_2+1%
3.000
There is no expansion loaded with the identifier: Match
Wait am I missing something then?
Match
oh sorry
misspleing
Status: Registered
Author: Andre_601
Version: 1.2.0
Uhhh I can't send images but it works I guess?
@gaunt cargo,
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
probably not
like I'm very confused. it works for me
can you try one more thing? /papi parse me %math_(({quests_category:mining_completed}/9)*100)% ?
0.000
ok last thing
/papi parse me %math_([precision:1]({quests_category:mining_completed}/9)*100)%
returns placeholder
hmm so it seems like [precision:x] is broken. what's your server Java version?
yep, if i downgrade a version it works
do you know that?
hmm it might be the java version then maybe. idk for sure
I'll just use the downgraded version for now
Thanks for the help though
no prob
He has change it in last version, check #ecloud-updates ๐
ohhh @gaunt cargo download latest and use this: /papi parse me %math_0:_({quests_category:mining_completed}/9)*100%
is there a updated version for https://www.spigotmc.org/resources/team-color-placeholder-extension.74959/ ?
because i want to have teams prefix as a placeholder
what's wrong with that one?
it dont work with 1.16
you tried it?
yes
there isn't a more updated one. Maybe there's another one. I think there's one called Scoreboard Objectives or something like that
maybe you can use that one
seems like its missing a plugin or something
idk what Vannillanames is but its missing that class that's why it doesn't work
idk i downloaded https://www.spigotmc.org/resources/team-color-placeholder-extension.74959/ and put i in my plugins folder
oh wait ...
yeah
you have to put it in plugins/PLACEHOLDERAPI/expansions
not in the plugins folder
no problem
thanks
yep
i checked all plugins configs
and nothing with mining blocks did not found
its like randomly, if i mine cobblestone i get +3, if sand +2, if clay +1
wtf
so exciting
AdvancedEnchantments, Jobs, one of your ultimate plugins or something is my guess
try removing the jars and running the server without those plugins
and just keep removing some plugins till it works then you will have found the issue 
Is the javascript expansion no longer downloadable? I did /papi ecloud download Javascript and it says that it has failed to find the expansion.
hey all, does anyone know if paper breaks placeholder api on mc 1.12.2? used to run spigot and it worked fine and not I am getting a ClassNotFoundException
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
try manually downloading it off the ecloud
my ecloud downloads keep reseting and i dont know why
First of all. Don't use plug man. Second. Whatever that expansion is, it's old and outdate
me.chemmic.Main
This one. Whoever made it forgot to use actual good names so Idk which one it is
[Fri, 5. Feb 2021 15:38:22 UTC WARN] Plugin PlaceholderAPI v2.10.9 generated an exception while executing task 8809 Has anyone seemed to have this error recently?
pls
[10:55:55 INFO]: [PlaceholderAPI] Successfully registered expansion: tab [10:55:55 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing... My server is not starting up, have tried restarting 3 times, this is where it keeps stopping at.
I open 3000 port for bungee and 3001-3005 port for my serveral paper server. I try to use Pinger to show if the server is online but it doesn't work on 3001-3005 port
It just work on 3000 port which is my bungee
Does anyone at all have any single idea why this returns 0
/papi parse me %bungee_total%
Is it just me or the repo of extendedclip (repo.extendedclip.com) is kinda slow...?
thank you, i updated server placeholders to latest( 2.40) and it fixed
Hey I am trying /papi ecloud download KillStats and when i do /papi reload it says "no expansions registered!"
me no understando >:(
helo?
hello?
what is in plugins/PlaceholderAPI/Expansions folder?
some expansions break papi's expansion loader, that's happened to me before ๐คท
hi i have a problem i use vote party but the placeholder is nnot working for feahterboard
@austere hawk,
Please respect the rules, be patient and don't ping staff members!
?spigot @austere hawk
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.
@silver minnow i ytry to connect but isnt work
oh ic
iirc featureboard uses mvdw placeholders, and I think you have to do like {papi_placeholder_here} or something like that
@silver minnow it dosnt work
if you have the latest version of math then [precision:0] was removed
use %math_0:_{premiumvanish_playercount}-1%
@bold mesa
btw latest is 1.2.0. you can check by doing /papi info Math
Boost
do you even have the KillStats plugin installed?
that expansion only works with the plugin installed: https://dev.bukkit.org/projects/killstats-v1-0
Sad
well I mean if you want couple killstats the Statistic expansion offers them. just do /papi ecloud download Statistic then /papi reload and you can use %statistic_player_kills% for kills and %statistic_deaths% for deaths
if you also want top kills and deaths you'll have to use LeaderHeads to make the leaderboards
have you tried doing /papi parse me %premiumvanish_playercount% ?
to see if its not 0?
because if that is 0 it will return -1
Theres a new free alternative now btw
@lilac oxide,
Please respect the rules, be patient and don't ping staff members!
o ok then. is it as good tho? XD
I think it is
But I'm bias since the dev is cool and I talk to him a bit
It doesn't have all the hooks lh does, but its free soo
I open 3000 port for bungee and 3001-3005 port for my serveral paper server. I try to use Pinger to show if the server is online but it doesn't work on 3001-3005 port
It just work on 3000 port which is my bungee
I've noticed that registration is closed, so I came here. What's the process to get an account?
feel free to ping me, I'm pretty bad at keeping up with discord notifications
you have to contact funnycube#0001 when he's online and ask him to make you one.
coolio. Does my base plugin have to be on spigot/bukkitdev/etc, or can I upload something to the ecloud without it being released?
ugh idk. you'll have to discuss that with him.
also did you know that you can include the expansions inside your plugin?
yeah, but the wiki mentioned that being a bad idea
Am I allowed to post links?
Since it would be weird (and also make no real sense) to have this inside your plugin, we assume you make a separate jar-file as an expansion.
Unless I've misinterpreted the page, which is a possibility. This is my first time working with PAPI
oh that's just missunderstanding xD
that is an expansion that doesn't need a plugin
like the Statistic ones for example
ah ok
there's 2 types of expansions
Without an external plugin
With external plugin```
and those with external plugins
are 2 types as well
Ah ok I see
in external jar or internal
So it's a good idea to put the class in my plugin itself?
in my opinion its a lot better since it improves the user experience
only thing that differs between internal and external
Right. Then users don't have to do anything but /reload?
well /papi ecloud download ENAME then /papi reload and believe me the times we get people that don't even know that.
its a lot.
ah ok the plugin provides a local file to e'cloud'
I mean external jar is just a class that is put in another folder. its just the same
but with more steps
looked at the wiki, is this the new method?
public boolean persist(){
return true;
}```
right
yeah
thank you very much for the help. Is there any benifit to registering my plugin in eCloud after I add the internal extension?
you can't. only external expansions are for the ecloud and that is just to make it easier for people to install external expansions
cool. If you don't mind me asking, how is it that essentialsX etc have an ecloud option but no external expansion?
they have an external expansion only. they don't have internal
that's why they have an ecloud option
Ah ok. I'm having a little bit of trouble understanding it, but I'm starting to
Is it a way to fix soo %server_online% only show online players? In discordsvr it include even vanish players. Ingame in tab it work fine, but not when run /papi parse me %server_online%
well vanished players are online xD. So it works.
server_online its not suppose to hide vanished players. you can use math to subtract the vanished players if there is a placeholder for that
Yea, but the strange is it work in tab (i guess it you some math as you say). As more trouble to get discordsrv to accept some placeholders.
yea when you parse %server_online% true my vanish plugin it remove vanish players and show only players some are "online".
Has no placeholders for show numbers of vanish players :/
Do I have to make a js for this soo it run true my vanish plugin somehow?
what's your vanish plugin?
cmi, but i find one placeholder, but not work in discordsrv. So if discordsrv support js placeholders maybe if it can read %cmi_server_online% placeholders.
if DiscordSRV supports PlaceholderAPI, then it must support CMI's placeholders
No not one for vanish has only %cmi_user_vanished_symbol% , but i find %cmi_server_online% . perhaps need server restart for it shall show numbers, work with papi parse at least.
It say # PlaceholderAPI placeholders are also supported. will see if it will work with restart later ๐
if it works with the parse command, then it's a problem with DiscordSRV I guess
yea, and talk to discordsrv is somthing i will avoid :/ (they always get on my nerves).
well rip
yes 3 things are likely to happen when I ask. Either no answer, answer in riddles or say it's cmiยดs fault (or even papi is to blame).
with the 'Server' package, with %server_time_<SimpleDateFormat>% what would the simpledateformat bit be?
had an idea it would be that, tyty!
you have 2 copies of the expansions. go to plugins/placeholderapi/expansions and delete the bungeecord expansions then just do /papi eclou download Bungee /papi reload
kk
org.bukkit.plugin.messaging.ChannelNotRegisteredException: Attempted to send a plugin message through the unregistered channel `BungeeCord'.
at org.bukkit.plugin.messaging.StandardMessenger.validatePluginMessage(StandardMessenger.java:482) ~[server.jar:git-TacoSpigot-fd3209f3]
at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.sendPluginMessage(CraftPlayer.java:1187) ~[server.jar:git-TacoSpigot-fd3209f3]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.getPlayers(BungeeCordExpansion.java:120) ~[?:?]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.access$200(BungeeCordExpansion.java:45) ~[?:?]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion$1.run(BungeeCordExpansion.java:207) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59) ~[server.jar:git-TacoSpigot-fd3209f3]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:349) [server.jar:git-TacoSpigot-fd3209f3]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:863) [server.jar:git-TacoSpigot-fd3209f3]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:462) [server.jar:git-TacoSpigot-fd3209f3]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:786) [server.jar:git-TacoSpigot-fd3209f3]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:680) [server.jar:git-TacoSpigot-fd3209f3]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275]```
Heyo, Does anyone know how to fix this error
go to plugins/PlaceholderAPI/expansiosn and download all the BungeeCord jars you find in there
then do /papi ecloud download BUngee and /papi reload again
Any idea how to fix this?
[WARNING] [PlaceholderAPI] factions is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
It is causing some of my factions placeholders like relation colors to no longer work after I updated. My server is on 1.14.4
contact the developer of Factions
Why ranks with RGB format are not showing corretly in Scoreboard Placeholder?
scoreboard placeholder?
not much to go off there, but probably ur scoreboard doesnt support hex colours
Has anyone calculated the performance impact of papi?
As rn I have 2 placeholders being parsed 20 times per second for 100 players
Which is 4000/parses per second
Is it most up to how well the expansion was developed?
yes
Fair enough
you can always run timings ๐คท
Well that hasmt actually happened yet, but I have a week until it does
An event
another event? ๐
Yes
aha
:P
lol
This time we're planning it with more than 5 days notice tho lol
lol
I try other scoreboards but I have to ask if its a problem with the placeholder that Hex colors dont work
Evening all. Having a few issues with the javascript extension.. firstly I dont know much about API, and secondly, I dont know javascript. ๐คฃ
Am hoping someone can point me in the right direction.
Nevermind, worked it out..
you cannot. well you might be able to get a custom plugin for that but with just PlaceholderAPI you can't.
oh ok
Some plugins (eg. Tab) have bridges built
Tab-BukkitBridge
maybe i'm stupid or can't read but i can't find anything about linking Ezrankspro with essentialschat
installed ezrankspro from papi, put the placeholder in config and all i get is {ezrankspro_rankup} (rest of chat)
follow the instructions ins #spigot-linking please. thanks
oh, alright
tokenmanager, isborder, trs, crazycrates
are these papi extensions nolonger available?
if they're not on the ecloud website then they're not available using the /papi ecloud download command. Most likely they got added to the plugin. if not idk
but TokenManager is still there
what placeholder?
did you download the expansion and reload papi?
yes
ok
what does it say?
hello, im have a problem with Animations expansion, please help me.
Error code:
[20:10:13] [ForkJoinPool.commonPool-worker-0/WARN]: [PlaceholderAPI] failed to download expansion information
java.util.concurrent.CompletionException: java.lang.NullPointerException
at java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source) ~[?:1.8.0_231]
at java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.CompletableFuture.uniApply(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.CompletableFuture$Completion.exec(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) [?:1.8.0_231]
Caused by: java.lang.NullPointerException
at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$null$7(CloudExpansionManager.java:199) ~[?:?]
at java.util.HashMap.forEach(Unknown Source) ~[?:1.8.0_231]
at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$fetch$8(CloudExpansionManager.java:192) ~[?:?]
... 7 more
>
do you have the plugins installed? The Vault and LuckPerms plugin?
well you need LuckPerms on your backend server as PAPI does not support bungee
^
but vault on my server with papi
hmmm
i'm pretty sure it won't
you need LP on backend as well
because vault is not connected to bungee either
so there is no way for it to take the info from lp either
ok
what are more plugins that from the same makers as placeholder api i want more plugins and i dont now good plugins
You don't just "get plugins", you get plugins that your server needs
๐คท
you don't need to do anything. you jsut need to install the plugin and PlaceholderAPI and they'll work
no, it doesn't
?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.
send a startuplog then
Heya Folks!
I made a plugin that extends Placeholders expansion. I'm trying to upload it to Placeholder eCloud but registrations are currently blocked. Who would I contact to register an account?
funnycube#0001
Thank you
It seems that he accepts messages from only friends. I'm not sure if he accepts friend requests. Is there a better method than DMing?
wait for him to come online and ping him.
Hay, im have a problem with download expansion "ListPlayers"
Error: https://paste.helpch.at/yayusepopa.bash
does anyone know if there is any placeholder for the block's lighting level?
I could be wrong, but I don't think here is.
For a player there may be one, but not a block
what I wanted is for you to show the lighting level in the block where the player is!
what is the placeholder I need to download to show me the /money balance and what is the placeholder I need to use? (I use vault and Essentials)
ping me if yuo know
tried %money%, %balance% nope didin't work
my papi cant load all expansions.
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_281] {}
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_281] {}
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_281] {}
at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_281] {}
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.createExpansionInstance(LocalExpansionManager.java:336) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading}
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:138) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading}
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) ~[?:1.8.0_281] {}
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) ~[?:1.8.0_281] {}
at java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:1.8.0_281] {}
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:1.8.0_281] {}
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) ~[?:1.8.0_281] {}```
server is 1.16.5 in spigot
im brand new to this and im just trying to add a couple things to the elitemobs plugin which would show the amount of coins a player has as well as what rank they are, but ive been just looking around the wikis trying to learn and im still lost
anyone willing to guide
%vault_eco_top_balance_formatted_#%
doesn't work for some reason
returns 0
it has been removed in the latest version of the Vault expansion due of it causing lots of lags because of poor implementation. If you still want to use it then you have to go in plugins/placeholderapi/config.yml and enable it from there and I think you also have to download an older expansion. I don't think the latest works even if enabled in config
I'll go make my own placeholder then I guess
I mean I think you can still use LeaderHeads or once ago go for an older version of the Vault expansion. I know its going to be moved in the essentials expansion after they rework it so if you use essentials's economy sometimes in the future it will be updated
doesn't work for leaderheads aswell
So first of all for money. If its Vault economy then you can use the Vault expansion and show them using %vault_eco_balance%. If its not, then you have to make sure the plugin that handles the coins has a PAPI expansion. For permissions same as economy you need to either make sure the Permissions plugin uses Vault and then you can do /papi ecloud download Vault /papi relaod then use %vault_group% or %vault_prefix% to show the group they're in.
oh you tried the correct placeholder? %vault_eco_balance_fixed% ?
yeah formatted it won't work
because LeaderHeads only takes Ints and Doubles
so no formatted numbers
Okay back to just getting the top user then getting the value
only xxxx,xx or xxxx
Looking for a plugin, which is something like AccountGuard (IP Protection)
Is there still a way to show certain statistics of my skyblock server if PAPI doesn't support it?
Hi, I need help, I try to register the World expansion that I downloaded from eCloud but it fails. Failed to register expansion from World-Expansion-1.2.0_uKI59jk.jar
Solved
well that's because PlaceholderAPI was only made for backend. not for bungee.
bungee support will be added with PAPI v3 but idk when that will be released.
ok
but i use the TAB Plugin on the Bungee and now it doesnt Work because Placeholderapi doesnt Support Bungee
well the tab plugin cannot support placeholderapi, if placeholderapi doesn't support bungee
TAB has a bridge. you don't need PAPI on bungee you just need it on the backend. make sure you've followed all TAB's installation steps for bungee
i dont understand how that workd
ohhh
i need a Bridge Plugin sorry stupid me
Can someone tell me why this is not working
requirements:
holdingpick:
type: string equals
input: "%player_item_in_hand%"
output: "DIAMOND_PICKAXE"
deny_commands:
- "[message] &3[&b&lRename&3] &7You must be holding a &fDiamond Pickaxe &7to rename."
type /papi parse me %player_item_in_hand%
PAPI keeps throwing this exception:
[06:38:26] [Craft Scheduler Thread - 2948/WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.9 generated an exception while executing task 8826
java.lang.NullPointerException: null
at java.util.TreeMap.rotateLeft(TreeMap.java:2224) ~[?:1.8.0_271]
at java.util.TreeMap.fixAfterInsertion(TreeMap.java:2291) ~[?:1.8.0_271]
at java.util.TreeMap.put(TreeMap.java:582) ~[?:1.8.0_271]
at com.extendedclip.papi.expansion.vault.VaultEcoHook.setBalTop(VaultEcoHook.java:110) ~[?:?]
at com.extendedclip.papi.expansion.vault.BalTopTask.run(BalTopTask.java:56) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.5.jar:git-Paper-445]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.16.5.jar:git-Paper-445]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.5.jar:git-Paper-445]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_271]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_271]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_271]
What could be causing it? And is there anything I can do to fix it?
make sure that you have an economy plugin ๐คท
We have one though, we use essentials for our economy
Make sure you have Vault installed as well
yep, vault is intalled too
So i did /papi ecould download PlayTime, and it installed, i did /papi reload, but it says no expansions found
it says it successfully installed it too.
and it is in the expansions folder, its just not found.
yo is there any way to parse an expression of a placeholder as a placeholder?
ie
%16(placeholder)%
if placeholder is 2, output is 32
prease ping
math
how could i put a placeholder in that?
use {} instead of %%
%math_16*{placeholder}%?
ye
did you download it
yes lol
type /papi parse me %metro_iotw_price%
yessir yessir
lemme drop a reboot and see wassup
jesus christ it works
dude you saved me like 2 hours of work
๐ฟ
yer a beast lad
do you know of any way to parse it with just 2 decimals?
oh nevermind i think i found it
thanks again :)
๐
is there a marker to inform the current world climate?
So I am trying to use the formatter placeholders to format the %player_exp% placeholder while also using it in Featherboard, this is what I currently have:
{placeholderapi_formatter_number_format_{placeholderapi_player_total_exp}}
but its returns:
{placeholderapi_formatter_number_format_1000}
I have downloaded both Player and Formatter with PAPI and reloaded Featherboard and PAPI
Any ideas?
When I do a number instead of the player exp placeholder, it works
Even parsing using /papi parse, it returns everything instead of 1,000
Is there a papi expansion to check if a placeholder is numerical, and if not return 0?
I don't really want to use js
But I will if I need to
Good evening, I have entered this discord because I present a problem with the Vault Placeholders, since I installed them both manually and internally in the game and it still does not mark it, how can I solve this?
What do you mean by "does not mark it"
@lilac oxide Nope so use JS
@twin lintel marker??
@sour oxide Your doing it wrong
{placeholderapi_player_total_exp}
function f() {
let result = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, args[0])
return isNaN(result) ? 0 : result
}
f()```
You would need the Papi.setPlaceholders thing though
Ahhh
