#placeholder-api
1 messages ยท Page 129 of 1
yeah see I have downloaded vault and player
and when I type /papi parse me %superior_island_top_worth_position% it does return a number
are you sure that's the one that's failing?
it says 40... which that adds up to ~36
which
if you combine with your entry and suffix of it
is way over 40
yeah ight
got it to work now thanks!
?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
?luckperms
This error occurs when there is a mismatch in versions between the expansion and luckperms itself.
Make sure you have the very latest LuckPerms and the latest LuckPerms Expansion.
Once installed restart your server.
If you want to keep using v4 please download the version 4.1 of the LuckPerms expansion.
@warped flower,
Please respect the rules, be patient and don't ping staff members!
@idle coral
@warped flower,
Please respect the rules, be patient and don't ping staff members!
Jesus dude, are we supposed to read your mind? "Help me", yes with what?
And please stop pinging us and adding as friend
Don't ask to ask, explain your problem and someone will help
do not go placeholders but I can not put the picture to show you
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
Did you download the vault expansion?
Yes
yes
and what else?
on skyblock goes but I did not add that , and I tried and survival and does not work
and it's the same version
??
@idle coral
@warped flower,
Please respect the rules, be patient and don't ping staff members!
๐
i tried /papi ecloud download Vault but it says Failed to find an expansion named: Vault. i also manually downloaded it and put it in /plugins/PlaceholderAPI/expansions but it does not work ๐ฉ
Somebody help me please
I downloaded it here: https://api.extendedclip.com/expansions/vault/
hi
Good evening!
Currently on the latest build of PlaceholderAPI.
Why does it make all texts lowercase"? even when I type for example: 'HELLO' it shows as ''hello'' in-game chat. On version 2.10.6 this is working correct.
All plugins messages also fully lowercased on latest version
@mint fable ? ๐ Sorry
@barren zephyr,
Please respect the rules, be patient and don't ping staff members!
Ow
so many pingers today
Why does it make all texts lowercase"? where?
does it do that with /papi parse me %placeholder%?
@barren zephyr,
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
Yes Cj
/papi parse me Hello
Shows ''hello'' in the game chat
This is from version 2.10.9 and up
yes currently on the latest dev build
@mint fable Not bad thanks, lol
@heady falcon โค๏ธ
PlaceholderAPI-2.10.10-DEV-110.jar
from september 26th
It makes all texts, literally all texts lowercase.
Where else are you able to test it?
do you have deluxemenus or a scoreboard to test on?
e.g. Essentials MOTD, Automessages, when I type /papi ecloud download <plugin> it shows all text in lowercase.
The Scoreboard from AnimatedScoreborad is working good.
Tablist is also correct
Its just the chat box.
EssentialsXChat (latest) and ChatInjector
and do the placeholders show uppercase when used in esschat format?
try removing chatinjector
I know the placeholder will break obv
but test that and run the parse again
see what happens
well you might have to switch chat plugins, what server version are you on?
Ah I just came across this new ChatInjector: https://www.spigotmc.org/resources/chatinjector-1-13.81201/updates
- Fixed support for PlaceholderAPI 2.10.9 (you now need to use version 2.10.9 as opposed to 2.10.6 for this plugin to work properly)
I was about to ask you that as well
let me try this
Ah great that worked!
v nice
Thnx for the help - im sorry for the interupting ping
๐ just don't do it again ๐
alright
im having trouble
with an ecloud addon
pinger to be specific
doesnt work
for me
@queen spade NEVER say "doesn't work", describe what doesn't work
What do you expect it to do and what is it doing instead
oh
so
im trying
to make it say online
and the serevr is online
yet its still showing offline
Is there anyway I can display a placeholder like %VotingPlugin_Points% but for a custom player like %player%
Yes there is. Use the "ParseOther" expansion.
The placeholder would be %parseother_{username}_{VotingPlugin_Points}%
@twin sluice ^
@warped flower,
Please respect the rules, be patient and don't ping staff members!
Hey,
How can I use powers in %math_<math expression>%?
Would %math_10*1.03^5% work?
Thanks
?tryandsee
I forgot about /papi parse ๐ฎ
/papi parse me %math_10*1.03^5%
I'm pretty sure it does? https://github.com/PlaceholderAPI/PlaceholderAPI/wiki
i got an issue with the latest version of papi in 1.15, where it makes everything in lower case any idea why that is?
that's ChatInjector on versions 2.10.7+
clip looked thru ChatInjector's code but couldn't find what could cause it
so the placeholders for Autorank not working on latest Papi is caused by the expansion or the the code in Autorank?
so I guess I will bug clip
which is a deprecated method. Well now removed
clip is away
he won't update anything for a while
yes I know, my expansion I updated last month
I sent him a message
k
did they fix the issue I was having with Papi?
what issue exactly?
when I ran /papi reload the expansions loaded list would not display
oh no idea. Never seen it and dk if it got fixed.
only seem to do it when I had my Statz expansion installed
they all still work, just not seen in the list
guess I can't even download more then one expansion before it breaks, to fix I need to reboot the server
OK when I first noticed this issue I felt it was my Expansion, still thinking that, been told my code looks good. could it be something we can see in the jar?
send the code
https://imgur.com/5JOfVa8 how can I fix this?
At the first click, the placeholders are simply not loaded, and then, as luck would have it, they may or may not
after several attempts it loads normally BUT after restarting everything is the same as when you first clicked
sorry for writing, and here I need to fix this error as soon as possible (
Hey! Papi is not showing placeholders and i cant install them
Please help
@prisma gust is there any errors in server logs?
@warped flower,
Please respect the rules, be patient and don't ping staff members!
Stop
@warped flower its not setting the placeholders
make sure you have the player expansion isntalled
and make sure the plugin you are using to run commands actually parses placeholders
@sharp jay Unknown expansion.
I didn't understand ... what should I do to make it work?
@warped flower
/papi ecloud download player /papi reload
@limber ice make the expansion persistent
Not sure what you mean
Is a method you have to override that tell papi not to unregister an expansion after /papi reload
wait im dumb different people
is there any pvp stat plugin that works in 1.16?
pvpstats and killstats not working
im currently making one 
no ETA for a release yet, but its like 70% complete id say
in how much you will get it done? @warm topaz
no ETA means no Estimated Time of Arrival.
There is no time to wait! Ask your question @hollow marsh!
What factions plugin do you have?
saber
welp the rel placeholders are just for FactionsUUID and MasiveCore Factions
?
well unless the plugin has them itself then no idea how you can do them.
support good af
no problem dude
did you come here expecting me to make an expansion for you? that's not called support anymore. If you want someone to make it for you then you have the #761129130321772564 or #761129129730900028 options
๐
is it posibble to do papi in command blocks?
don't think so
k
but I mean you can use @p if all you want is to use the player's name
hey
i think luckperms api is broken look at this
well i can't do pictures
any way when try to do this %luckperms_prefix%%player%
it will look like this
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
Does it work in /papi parse me %luckperms_prefix%
i can test
Looks like you just ran out of characters in the scoreboard line, but we'll double check the placeholder is still working
k. but it says %luckperms_prefix%
and to get scoreboard longer am just gonna do the " " longer?
Depends on your version and scoreboard plugin
execute those 2 commands ^
๐
@prisma gust is there any errors in server logs?
@limber ice [16:01:30] [Server thread/INFO]: Rafaelox issued server command: /papi ecloud download vault only this
but i found something with my jar file
so did you get it to work?
no
ill send it
here: [15:55:07] [Server thread/ERROR]: [PlaceholderAPI] failed to load class files of expansions java.util.concurrent.CompletionException: java.lang.ClassNotFoundException: com.extendedclip.papi.expansion.vault.BalTopTask at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$4(LocalExpansionManager.java:324) ~[?:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) ~[?:1.8.0_212] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212] Caused by: java.lang.ClassNotFoundException: com.extendedclip.papi.expansion.vault.BalTopTask at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[?:1.8.0_212] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_212] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_212] at me.clip.placeholderapi.util.FileUtil.findClass(FileUtil.java:63) ~[?:?] at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$4(LocalExpansionManager.java:317) ~[?:?] ... 2 more
@limber ice
did you update the vault expansion?
yes rename folder then start over
Hello in my server if i use last version i have this problem
all text are lowercase
If i use Version PlaceholderAPI-2.10.7-DEV.jar
Work fine
do you use chat injector by chance?
Yes
what server version
1.16.3
report back if it works ๐
Work fine thank you! โค๏ธ
๐
I just downloaded the mcmmo expansion via papi-command and then reloaded the server. But I can still not validate mcmmo? please help ๐ฆ
[LeaderHeadsRevamped] The specified placeholder mcmmo is not an MVdWPlaceholderAPI or PlaceholderAPI placeholder
^ is the error that im getting, no clue what im doing wrong
It even says that the mcmmo statistic is enabled in leaderheads, this makes no sense
@brazen breach,
Please respect the rules, be patient and don't ping staff members!
[14:40:20] [Server thread/WARN]: [PAPI] [Javascript-Expansion] ScriptEngine type for javascript placeholder renk isn't initialized! Defaulting to global
any idea?
its a warning not an error
in javascript_placeholders.yml you can specify the engine: for each placeholder
engine: nashron is the default one. and I'm pretty sure its the only one as well
so if you don't want to get that message anymore just add that line to each placeholder declaration in javascript_placeholders.yml file
Wait, did i get ignored on purpose? :b
ok now that I see it has to do with LeaderHeads
Followed your guide too
you need to contact @steep thorn
he asked us to send everyone asking for LH support to him
add him on Discord
Dm me pls
It's ok, he bought it
But he's a bit confused about what a placeholder is
I'm a bit busy at the moment thugh
YEah sorry, I have no idea how this works D:
well its a place holder its basically text that gets replaced by data.
I thought i just had to run the "/papi ecloud download McMMO" forexample
so for example %player_name% as the name suggests will return the player's name
yeah and then /papi reload
ok now let me check what placeholders they have
try doing /papi parse me %mcmmo_in_party% and tell me what does it return?
well no
it works
the placeholder works
if it wouldn't work it would return the placeholder itself %mcmmo_in_party%
oh
so this placeholder returns true or false based of if you are in a party or not
if you were in a party it would have returned true
oh okay
sory incoputing but you can't download craftingstore api and i would want it so yea
is ther away to get it?
So what does this mean
well the placeholder you tried to use was a wrong one
it means it doesn't exist since LeaderHeads was not finding it
hmm..
what placeholder were you trying to use?
ehm
here's a list of placeohlders for mcmmo: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#mcmmo
Yeah okay, It might just work then. I'll try to make a sign again with leaderheads
omg yes
@twilit walrus the api should be inside the plugin itself
It does, just work
I actually did the things right, I just didn't understand what was what then haha
Well thank you so freakin much Blitz n Robin
its inside the plugin
ok.
so if you want to use it in your own plugin you need to use the jar as a library
You are welcome Jackboi.
โค๏ธ
its a warning not an error
@turbid tide but its not working?
@dull mango,
Please respect the rules, be patient and don't ping staff members!
uh
I think he has a warning that his javascript placeholder doesn't specify an engine to use
but that doesn't mean the palceholder doesn't work hyperion. if it doesn't work its probably messed up. Like the code for it.
so uh...
if i parse %server_countdown_dd.MM.yyyy_27.10.2020% it returns 23d 26h 39m 50s which is correct
if i parse %server_countdown_dd.MM.yyyy_28.10.2020% it returns 50h 39m 50s which is far from correct lol
Are you on the latest version of the server expansion? I believe this was recently fixed or there's a PR in the pipeline to fix it.
yeah, just ran update after you replied
I should clarify, i ran update, reloaded, and still not resolved*
Yeah alright it looks like that fix is still in the works for the time being. It's a known issue ๐
sounds good, thanks for the clarification
Yeah, thanks for reminding us!
Player Expansion Development Jar
Hey guys, we have a great update coming to the Player Expansion here very shortly and we'd appreciate anyone who would test it out for us. We want to make sure this still works properly across 1.8.8 - 1.16.3 so that everyone can properly utilize it.
Changes for this update:
- Added
%player_yaw% - Added
%player_pitch% - Added
%player_has_potioneffect_<effect>% - Added
%player_direct_xz% - Added
%player_light_level% - Added
%player_world_type% - Fixed formatting for
%player_biome%and%player_biome_capitalized% - Changed
%player_max_health%and%player_max_health_rounded%to utilize attributes. - Changed
%player_ping%to use cached reflection and colored the ping properly
As you can see, there's a ton of changes in this update, so we want to make sure it's all stable before we release it to the world!
Phew. That was a lot to type.
๐
If you want something to do Kalibear, you could take a look at open issues in https://github.com/PlaceholderAPI/Server-Expansion.
Specifically on what Carson was talking about above.
Good catch
wasnt it also fixed in a papi dev build?
@cloud shard mind trying out the papi dev builds? https://ci.extendedclip.com/job/placeholderapi
Yeah it looks like it was via https://github.com/PlaceholderAPI/PlaceholderAPI/pull/423
installing now
glare, would u like a job to do? i have plenty of PRs open for the expansion repos in PlaceholderAPI GH
ayy, its all good on the dev build
Yeah I can take a look at those tomorrow. I have to head to an event I'm running today IRL and I won't be back until around midnight my-time. The reason I haven't gone through those yet is that I will have to convert the projects from maven to gradle in the Jenkins projects.
Sounds good Carson, thanks for letting us know.
ill be happy to convert them to gradle for u if u want
this post was made by gradle gang
Only clip can give you access to that unfortunately. I know how to convert them, I just need to find the time to sit down and do it ๐
Yup!
hey guys, i'm using a suffix and a prefix placeholder from LuckPerms. Is there a way to show a message if the players doesn't have a prefix or suffix? Like a "when empty" option?
javascript placeholder
Should've edited wiki for that next time lol
There are features I added that weren't in the wiki
How do you check for an empty string in js ?
Check if it's ""?
if("%luckperms_prefix_element_highest_on_track_donor%" == " ")
{
"&bDonor Rank: &aNot a donor"
}
else
{
"&a%luckperms_prefix_element_highest_on_track_donor%"
}```
tried that, it just returns the palceholder i have
Is that in function?
nah but its worked previously on other placeholders
Essentials placeholder are fuked up I guess
lore:
- "&8"
- "&7Left click to reedem kit."
- "&f"
- "&6Cooldown: %essentials_kit_time_until_available_starter%"
Quick question do you give DeluxeChat away for free? https://i.imgur.com/GhO8DKv.png
Yea no, that's not how it works lmao
ty, bippity boppity bannity
The guy was muted here yesterday for being a nuisance, so I'm not surprised he's saying that
lol
He got the jar DMed to him from someone else according to a DM screenshot he helpfully sent us.
anyways back to LP, ty frosty
I dmed glare, dw bros
br0s
Anyone know how to use any of these?
%buycraftAPI_recent_name_<number>%
%buycraftAPI_recent_price_<number>%
%buycraftapi_top_donator_currency%
%buycraftapi_top_donator_name%
%buycraftapi_top_donator_price%```
More so, what does the <number> mean in the placeholder?
ugh its literally a number
you replace the <number> part with a number
for example %buycraftAPI_recent_name_1% will show the last buyer
%buycraftAPI_recent_name_2% will show the second to last buyer. etc.
I can not locate the Day Placeholder you refer too BlitzZ
Does Leaderheads support recent craftingstore donators placeholder? If so, how would one utilize it?
@glad glen
@pseudo spruce,
Please respect the rules, be patient and don't ping staff members!
ty Blitz
?help
ยป Give the helpers some details
ยป Ask suitable questions
ยป Be polite
ยป Wait
kk
What would type be set as for this? https://paste.helpch.at/werixuwata.coffeescript
No idea who is able to fix this but I believe line 45 of https://github.com/HelpChat/DeluxeMenus/blob/master/gui_menus/kits.yml
Is meant to be
output: 'no'
otherwise it always shows cooldown even when available ๐
So i've set it up correctly but just need to add output 'no' and players wnt be able to claim until that time and date?
Oh, my message is unrelated to your issue if you're replying to me
oh ok
left_click_requirement:
requirements:
date_time_requirement:
type: string equals ignorecase
input: '%server_time_dd.MM.yyyy%'
output: '01.12.2020'``` @reef sparrow
@robust patrol I know the example is a bit broken. I'll fix it. Thanks for reminding me.
ty
fixed Dyyce. Seems like that's all that was wrong there. Thanks once again.
Is there a placeholder that only allows a player to claim 1 time only? Or will i have to give then remove a permission?
you can give them a permission and if you're on 1.14+ you can just use DMenus meta
im on 1.15.2 using Deluxemenus
then you can use meta for that. Check the wiki for some info on that
The Meta info is quite vague, it only shows how to setup add and subtract open attempts
yeah well what you do is make a meta with a special name that represents your reward or whatever and make it go up by 1 when they collect the reward. Then add a view requirement that says the meta must be 0.
Way over my head, i've looked at what info is available and can't make heads nor tails of it.
I get the view requirement part, just not the meta part.
ok I'll make a quick example
left_click_commands:
- '[meta] add Day1 INTEGER 1'
view_requirement:
requirements:
meta:
type: has meta
input: "Day1"
meta_type: INTEGER
value: 0```
this is all you have to add to your reward item.
and for each day
you change the key which in this case is Day1
you can name it whatever
but your best solution here is Day1, Day2 or just the day 01October, 02October etc.
@reef sparrow ^
also instead of view requirement you can use it as a click requirement.
So I've attempted it https://paste.helpch.at/ukohuzeqey.bash
and?
make sure you are not OP btw
and set it to the date of today
not 01.12
because thats 01 December
@reef sparrow,
There seems to be some invalid syntax in your config! You can paste it into https://yaml.helpch.at/ in order to find out where your issue is!
everythings working accept for it's not restricting to only one claim, i can click it multiple times and redeem
ugh lets see
try this one then: https://paste.helpch.at/eciripenet.bash
and as I said make sure you're not OP
Got one of my testers on to check, working fine now. thanks for the help, just an idea, advent calender maybe a little perk to showcase in deluxemenu's.
Vault Expansion Changes
This is just a heads up that the baltop placeholders will be removed from Vault here shortly. The reason behind this is that all they do is connect into EssentialsX for the information. Due to this, I've been working with other members among the EssentialsX development team to make some changes to the APIs and include a proper API to the balance of users. With this comes a proper API implementation for EssentialsX baltop. That means the baltop placeholders will be moved from Vault to EssentialsX, fully rewritten, and in result will skyrocket the performance of the placeholders compared to how they were before.
pog

%progress_bar_cronicas_cap3_c:&aโ _p:&eโ _r:&7โ _l:10_m:900_fullbar:&aCompletado!%'
im trying to use this placeholder of progress bar
.
[20:10:31 INFO]: [Progress] Couldn't get the number from cronicas. The progress will be 0%.
[
but it says that
the placeholder is cronicas_cap3
but it detects it as cronicas
there is a way for make it read cronicas_3 ?
and not only cronicas?
ugh what?
use {}
to let it know its a placeholder
%progress_bar_{cronicas_cap3}_c:&aโ _p:&eโ _r:&7โ _l:10_m:900_fullbar:&aCompletado!% I think should work
@dim nexus ^
ohh thanks
I can use amount: 1 but it will show every number accept 1. how would i use a placeholder to achieve the same outcome?
what?
I've created a calender, you know when an item is stacked it displays the number of items stacked in the bottom right corner of the material item
yes
you can't. I'm pretty sure minecraft removes the number when you have just 1
its a minecraft thing.
hmm, a calender plugin has achieved it so there must be a way to do it though
ok
Is there an expansion to obtain how much time is left for a certain date?
Can I make a placeholder that does it with Javascript expansion and epoch time?
I got this when I tried to update all my PAPI ecloud expansions: https://hastebin.com/vamanenaxa.rb
Does someone know why?
Why does %bungee_total% show 0? do i have to install papi on bungee?
it takes 30 seconds to update.ffs im a dumbass
Is there an expansion to obtain how much time is left for a certain date?
Can I make a placeholder that does it with Javascript expansion and epoch time?
@fervent jackal Server_Countdown.
I got this when I tried to update all my PAPI ecloud expansions: https://hastebin.com/vamanenaxa.rb
Caused by: java.lang.IllegalArgumentException: This registration already exists
I think you have 2 bungee expansions installed.
go to plugins/PlaceholderAPI/expansions and make sure you have just one
were can i get the bungee version ?
thanks fixed it!
@hollow lantern,
Please respect the rules, be patient and don't ping staff members!
whoops my bad
arran papi is not available for bungeecord, but you can install Bungeecord placeholders by using /papi ecloud download Bungee, and then /papi reload
^
guys what's that
[WARNING] .... [PlaceholderAPI] Loaded class net.luckperms.api.LuckPerms from LuckPerms v5.1.93 which is not a depend, softdepend or loadbefore of this plugin.
why it's also says about vault
its just letting you know
how can i fix it or just leave
I think there's a plugin that can remove console spam
don't remember its name
or if it can remove those
then you'll have to live with those warnings
yeah he knows but he doesn't like the plugin apparently.
f
ConsoleSpamFix should not exist. If something is spamming your console, figure out what it is and fix it instead of hiding it.
And for that warn, blame md_5.
it's an "improvement to the api"
why does it return only the placeholder without the "%"'s? the script: ```function language_active()
{
var ding1 = "%denizen_<player.flag[";
var ding2 = args[0];
var ding3 = "]>%";
var status = "";
return status.concat(ding1,ding2,ding3);
}
language_active();``` btw it's just a test script who will do something different
because the javascript only parses the palceholder when starting the script. It doesn't parse it after or on return. So you need to make sure it gets parsed using PAPI's parse method
function language_active()
{
var ding1 = "%denizen_<player.flag[";
var ding2 = args[0];
var ding3 = "]>%";
var status = ding1 + ding2 + ding3;
return PlaceholderAPI.setPlaceholders(BukkitPlayer, status);
}
language_active();``` I think this should work
isn't it setPlaceholders? ๐ค
๐
Hi there
ugh anyone in here ever used the gradient expansion? It seems to not work. I might have done something wrong. Here is some more info:
I tried this command:
/papi parse me %gradient_message_{#ffffff}_{#000000}_message with colors%
I got this error: https://paste.helpch.at/mifutigure.bash
I also have Gradient v 2.0 which seems to be latest even tho it is colored orange. Any info on this is welcomed. Thanks.
function language_active() { var ding1 = "%denizen_<player.flag["; var ding2 = args[0]; var ding3 = "]>%"; var status = ding1 + ding2 + ding3; return PlaceholderAPI.setPlaceholders(BukkitPlayer, status); } language_active();``` I think this should work
@turbid tide wdym? it is a javascript placeholder
yeah
but you made your own placeholder
but its not parsed
isnide
the %denizen_<player.flag[arg[0]]>% is not going to get parsed
you need to use PlaceholderAPI.setPlaceholders
because otherwise it is just a string
not a placeholder
Blitz when u able can u look my error please
already did and no idea what that is
&a%statistic_mine_block:Emerald_ore%&7/&240000
I have something in DeluxeMenu
it says in menu invalid stat
what's your server version?
1.12.2
and if you do /papi parse me %statistic_mine_block:Emerald_ore% the error appears in console ?
also are you sure you're using the latest Statistic expansion?
same error
ok read last question and answer please.
Yes i am sure
hmm what's the version of Statistic you have?
do /papi info Statistic
it will tell you there
2.0.0
hmm
very weird.
I can parse the same placeholder with no problem.
I am on 1.16.3 tho
hmm weird.
heya, I'm getting this error when stopping the server
what may be causing it
it happens to ~10 plugins
yeah because they all use outdated methods
the expansions of those plugins need to be updated or you need to downgrade to PAPI 2.10.6
?json
Here you can find a couple of online JSON creators
Hey there, does anyone know of a way I can use placeholder API to parse JSON? I've been looking through the eCloud but nothing obvious is standing out.
I don't believe we have a json parsing expansion. Can you elaborate a little more on what you're trying to do?
I'm trying to implement On Hover to usenames so that it can display things like rank, towny residence, etc without clogging chat with prefixes and postfixes.
I tried the plugin Hover but it was conflicting with other plugins (or just doesn't work on 1.16) and the plugin dev hasn't been around for a few years.
Also, side note, I love your role's title.
So the content itself from Towny is in JSON?
so you want every time you do /papi parse me %player_name% to get a json? then that is not possible. But if you want like everytime a player types something in chat you can hover over their name then you need a json plugin. A premium one is DeluxeChat but there are some free alternatives
Deluxe Chat? I'll have to look into that, that sounds closer to what I was looking for.
here are 2 free examples https://www.spigotmc.org/resources/ultimatechat-1-7-1-16.23767/
This is exactly what I was looking for. I hadn't considered looking for a different chat plugin that had the feature I was looking for and Papi support. Thank you!
But yeah, to answer Waffle King's question. The goal was that I was going to either use a prefix with placeholder that would contain the JSON, and upon hover it would display things like "Rank: Owner, Town: Nomad" etc
Yeah, DeluxeChat is great for that.
Or whichever alternative you find that supports PlaceholderAPI ๐
Thank you again! ๐บ
Yup!
/papi ecloud download Animations registers it as downloaded, but it doesn't load.
/papi reload Shows all working papi modules, but lists the mcmmo module twice. It also only registers "16" out of an actual 17 of my PAPI modules. ๐
Hey everyone! I'm getting something weird happening with PAPI. I am using the inbuilt function of the "PlotSquared" placeholder, and when I install it and reload PAPI, it does not show in the list. Is there any particular way this can be fixed?
-papi plotsquared
hm?
?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.
^
the
%denizen_<player.flag[arg[0]]>%is not going to get parsed
@turbid tide denizen is not made by me and it's supported by papi
@stone parcel,
Please respect the rules, be patient and don't ping staff members!
yeah I know but that doesn't matter
I added PlaceholderAPI.setPlaceholders(BukkitPlayer, Placeholder) for the placeholder to get parsed again
the script I sent should work
okay i'll try
console says TypeError: PlaceholderAPI.setPlaceholders is not a function in <eval> at line number 1
try PlaceholderAPI.static.setPlaceholders(BukkitPlayer, Placeholder)
Im still looking for someone who would be willing to update mcMMO expansion to have placeholders to pull the mctop # and mctop player name. It should be possible correct?
The PAPI placeholder "%essentials_kit_time_untilavailable<kitname>%" displays an incorrect time for any/all kits. The hours shown with the placeholder is incorrect. Days/Minutes/Seconds seems to be okay. Running on Version 2.10.9
%server_countdown % Fixed
Few days ago I had some errors when trying to use this placeholder. So I downloaded and edited server expansion.
This edited version has some changes, for example:
-
%server_countdown_MM/dd_12/25_formatted% displays texts like "2 months 15 days" or "1 month 29 days"
-
%server_countdown_dd HH:mm:ss_10 09:30:00_formatted% displays texts like "3 days 23 hours 10 minutes 5 seconds"
(You can edit texts in config) -
%server_countdown_MM/dd_12/25_days% displays the number in days
Download link: https://mega.nz/file/iLp2HaYY#i8RHpNixA3-3vBbrBYu5Bs_aB3yr-n4YKP3M21grxCo
I share it here in case anyone is interested in using that placeholder in a more complex way
||Source code: https://mega.nz/file/LXYyjRLC#mTXfRSKqpDTAo90RSQT81y6K426lMq_vUrEAQLTnwJ8||
hey hey! I know this might seem like a weird one, but is there an easy way to run placeholders on a target person? Like as an admin, if i'm wanting to run a placeholder on all online people but it only spits out the output to myself, not the target person
check out /papi parse. It can for sure run placeholders on 1 person, although I don't know about everyone at once
@fervent jackal this is unnecessary, the papi dev builds fixes this lol
check out
/papi parse. It can for sure run placeholders on 1 person, although I don't know about everyone at once
@high star
Oh sweet, I always thought by the wording of the help command that it sent the output to the other person whose name you use. I use parse quite a bit in testing so that will be useful
afaik it only sends it to the command runner
yup just tested it ๐
where to request a placeholder update in placeholder list from github
here.
xD
I'm bored since my server console is fucked up. Send me a friend request and what you want modified. I'll do it rn
@stone edge
add RNG expansion to github 
thank
what was it? rng_random, rng_val1,val2 and rng_valMax ?
time to go to the expansion's github xD
it says reqiored instead of required :,v
well I mean I know where it does just making sure that's what he wants changed xD
I'm checking the spigot page tho
ok ok
@stone edge are you sure its a spelling mistake on the wiki only and not in the plugin as well?
kk changing it

done
ohhhh

Arigato ^^
I'm too lazy to ask for other plugins to be added to the list :sad:
dw. I'm lazier. Even if you would have asked I wouldn't have added them xD
if u really bored u can add the new chatreaction placeholders too blitz 
(find them all on the ecloud)
yo @warm topaz what does %chatreaction_time_in_seconds% do? Same as time_remaining just in seconds?
welp I hope it does that because I saved it like that xD
uh it gets the time from when it was started, whereas time remaining is the time it has left until the reaction timer has stopped
[14:22:31] [Server thread/WARN]: [AutoSell] AutoSmelt break material: WOOL has an invalid material set! and [14:22:31] [Server thread/WARN]: [AutoSell] Failed to establish a hook for area handling.those are the only things I can still see
Hi, is there a placeholder that truncates other placeholders?
So it would change
123456789 to 12345 if the length is set to 5
javascript placeholder
Welp, time to learn JavaScript.
@tacit vigil here
?
you went back to #development
I've alerted people you want to make an account, just gotta sit and wait.
Somebody will probably tag you here
What expansion are you uploading?
My own for SkyBlock https://www.spigotmc.org/resources/sky-block.84541/
why not include it in your plugin?
I'd recommend including it
๐คทโโ๏ธ
anyway thanks
can i somehow change quantity of decimal symbols?
%jobsr_plimit_money% placeholder give me 255.014250000000001
instead of 255.0
double value = 34.766674;
String result = String.format("%.3f",value);
System.out.print(result);// 34,767
can place 1 instead of 3 here
i need some help with my Bedwars plugin, because we have each map on its own server the Bedwars plugin doesn't have the placeholder support for multi servers so players wont be able tell if the game is currently going on or ready to join in the lobby
is there anything you can do to sync Placeholderapi across servers?
@static needle afaik papi doesn't support bungee placeholders
well
bungee syncing of placeholders between servers
you can send like online count and stuff
No like can i sync placeholders from a plugin in one server to another?
If plugin supports sql already
using placeholder api?
placeholders should by synced
it does
papi can only display placeholders from that server
your bedwards plugin needs to provide the placeholder that will give data from different servers
papi can only display placeholders from that server
@crisp hound Depends on how the Expansion gets results)
im pretty sure this isn't a papi thing and you should contact the author of that plugin for support with this
they will need to provide the placeholder
alright thanks for your help
The placeholder %rel_factionsuuid_relation_color% also returns green for you when you have a faction, and I wanted to create a javascript to work as that placeholder with a condition to return blank whenever the objective is yourself, I am struggling to make this and I don't even know if it is possible to do, can someone help me please?
I don't think relationnal placeholders are supported with the js expansion, not sure
The script is per-player, so you can have a check condition
I have no single idea on how to do that xD
neither do I
lmao
You mean the "relational" thing? From what I know yes, I read somewhere on the updates of PAPI, that the method to detect the player 1 and player 2 most be done by the server, idk Im not sure
I'm talking about the factions relationnal placeholders colors
doesn't it take those colors from your faction plugin?
Yea, from factionsuuid
I would need a javascript placeholder that will be located on the players's tags and would act as %rel_factionsuuid_relational_color% but, if it is you it would return blank, but if its not you, it would return that placeholder.
but the problem is that idk how to get that "%rel_player_name%"
And you can't just make a condition that it will make it blank if it has "&a" on it since it would also affect players that are on your faction
If anyone has any idea or knows if it is or isnt possible to do, it would be much appreciated
Yup, I concluded in that just a few seconds ago xD
or open an issue on the Javascript expansion's github to add a way to get a BukkitPlayer2 variable for relationnal placeholders
Sp๐ky
lol
i need some help
ยป Give the helpers some details
ยป Ask suitable questions
ยป Be polite
ยป Wait
im trying to install "playtime" expansion, but after doing /papi reload nothing loads
you need a plugin for that expansion to work
that is an expansion for a plugin. its not its own expansion
it's registered now thanks
I need some help with PAPI please
@raven quartz,
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
i'll just describe it then
I try download the expansion for SuperbVote
I then type /papi reload
it says configuration reloaded
then it says An internal error occurred while attempting to perform this command.
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.
Failed to register expansion from Expansion-Superbvote.jar
That doesn't really help, hence why the message above provides you with instructions.
?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
Failed to load due to a [NoClassDefFoundError], attempted to use io/minimum/minecraft/superbvote/SuperbVote
Right, how shall I proceed? Thanks
Sounds like the expansion is outdated.
As in, it hasn't been updated to support the latest versions of PlaceholderAPI.
anything I can do / can be done?
Afaik, I believe this author said he was not interested in maintaining the expansion, so, that puts us in a pickle.
O, I see..
And you cannot do anything yourself can you? - the author would have to, right?
I could, but not for a few days most likely.
If you could that would be great- I can wait.
can i somehow change quantity of decimal symbols?
%jobsr_plimit_money% placeholder give me 255.014250000000001
instead of 255.0
@raven quartz did you see the new message?
This looks like it could do it
with the : thing
I will try it @trim mist
What do I have to do in game?
do I need to type /papi ecloud download SuperbVote again
I downloaded that jar and put it into expansions btw
I did /papi reload
And make sure you deleted the old jars
That too
Probably best off stopping the server fully, delete the old jar, put that one I sent, then start up the server again.
On it
Did it work?
ยป Give the helpers some details
ยป Ask suitable questions
ยป Be polite
ยป Wait
PlaceholderAPI is only coming up as percentplayerpercent in chat instead of %player% and outputting the player name, placeholderapi is also not working on scoreboards
Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload
Still not working
What scoreboard plugin are you using?
Scoreboard-Revision
Got a link to the SpigotMC page?
but it's also not working in chat with UltraPermissions
Does /papi parse me %player_name% return your Minecraft username?
Scoreboard:: https://www.spigotmc.org/resources/scoreboard.14754/
it's not just player placeholders
it's every placeholder I try
Sounds like a problem with the scoreboard plugin then.
Have you tried contacting the developer of the plugin?
Okay, have you reached out to them to ask for help?
Yeah, no response :/
If the parsing works, that tells me that PlaceholderAPI is working just fine. Someone else here might know about UltraPermissions but I have never personally used it. Most likely will have to wait to see if anyone else knows about it.
Can I set the timezone for the date placeholder?
@raven quartz Any chance you were able to try that jar and see if it started working again?
Waffle King is there a way to set the timezone for the %server_time_<SimpleDateFormat>% placeholder?
You'd have to check Java wiki for SDF
I can make a placeholder with my own separate plugin with the timezone I want but can I not do it through PAPI?
Anyone know how to fix this error in Intellij?
Could not find artifact me.clip:placeholderapi:pom: in spigot-repo (https://hub.spigotmc.org/nexus/content/repositories/snapshots/)
Fixed โ
Hi I am trying to rig https://ajneb97.gitbook.io/conditionalevents/ with a vote listener. I want rewards to be given based on the world that a player is in. i.e., when in skyblock theyll receive 2 diamonds and when in survival they receive 1 diamond and 8 iron, while in creative they get 10 minutes of WorldEdit. Something like that. I am unsure as to what event to define for this to work. Do I need to find a vote listener that hooks into PAPI and has a 'confirmed vote' placeholder?
Hi. When I try to download any expansion the console says Failed to load due to a [NoClassDefFoundError]
LuckPerms but I tried with others and I get the same error
?luckperms
This error occurs when there is a mismatch in versions between the expansion and luckperms itself.
Make sure you have the very latest LuckPerms and the latest LuckPerms Expansion.
Once installed restart your server.
If you want to keep using v4 please download the version 4.1 of the LuckPerms expansion.
probably this is the issue then
Oh okay thanks
Is there a way to reset placeholders data for all players?? Thx
player staistics
delete their player data, or delete their statistics part on their data
I have deleted the player data, but still it keep the same data
ahmm wait
ok
user cache?
btw playerdata is at each world.
and u have to delete the stats part
which is world > stats
I have tried deleting the cache, and playerdata i will give stats a go thx
good
cache: saves unique id's I think
Playerdata: inventory and stuff
stats: stats xD
I will let you know if it worked ๐
ok
Yesss Thanks @wise goblet it worked
great, I know that too now ๐
Hello,
I have a survival server with griefprevention. I also have a presentman so ppl that come every day can claim claimblocks, because they are online every day. But the placeholder %player% doesnt work. I downloaded the placeholders for Griefprevention from /papi. I also use a /title command from vanilla itself to let ppl know they have gotten the claimblocks. The plugin I use is RewardPro, but they dont give any support what so ever. Maybe you guys can help?
?player
Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload
@supple dawn ^
ok thanks. I downloaded the Player placeholder to, but that didnt work. Il try this
well if you've downloaded it you have to use %player_name% not %player%
Dude thanks man! I have been working on this for weeks. It works!
I don't know what i did, but when i use /papi ecloud download, the list doesn't appear anymore
This list
When i first installed Papi, i could download all of the placeholders just changing the end of the command, like /papi ecloud download vault and /papi ecloud download players
But now i can only install one per server reinstall
Is it possible to input a placeholder into another placeholder? I'm trying to input %essentials_nickname% into the Formatter Expansion's %formatter_text_substring_start:end_<text>% to remove the color formatting at the beginning of a player's nickname. It would look like this (though not functional): %formatter_text_substring_2:_%essentials_nickname%% because the first two characters would be the '&' and the color code
I think it's {}
Yes! That was it. Thanks so much
helo
i need help with placeholders
- '{fast}&b%leaderheads_name_bw1058statswins_alltime_1% &f- &b%leaderheads_value_bw1058statswins_alltime_1%'
- '{fast}&b%leaderheads_name_bw1058statsbedsdestroyed_alltime_2% &f- &b%leaderheads_value_bw1058statsbedsdestroyed_alltime_2%'
- '{fast}&b%leaderheads_name_bw1058statsbedsdestroyed_alltime_3% &f- &b%leaderheads_value_bw1058statsbedsdestroyed_alltime_3%'
Robin#7385 please contact him if your problem is with leaderheads.
Did i disable anything to the /papi ecloud download autocompletion/download stopped work?
playtime placeholder isn't working. I used /papi ecloud download PlayTime and I'm using VentureChat with {playtime_time}
anyone can help me?
you need the plugin PlayTime for that expansion to work
its an expansion for a plugin
ye I have
if you do /papi parse me %palytime_time% does that work?
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.
this is how you get the log ^
?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
@turbid tide https://pastebin.com/VcWGcV9W
ok now please do /papi parse me %playtime_time% again and send the error that you get in the console
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
11.10 08:16:55 [Server] INFO Caused by: java.lang.NoSuchFieldError: PLAY_ONE_TICK seems like PlayTime is using an old Field. I think on 1.13+ Its called PLAY_ONE_MINUTE or something like that. what's your server version?
1.16.3
well PlayTime only supports 1.8-1.13 I think
so you'll need to find another plugin or use the Statistic expansion
does Statistic expansion accurate?
it should.
does that plugin support placeholders as requirements?
I think so
well then you can use it why not.
what's the best placeholder for KDR?
probably math + statistics
%math_[precision:1]{statistic_player_kills}/{statistic_deaths}%
it will be formatted like xx.x if you want 0 precision so xx only then just change precision:1 to precision:0
if you want more precision like for example xx.xx use precision:2
etc.
The provided value was invalid!. Reason: Empty expression.
I have put {math_[precision:1]}
@turbid tide
@mild gale,
Please respect the rules, be patient and don't ping staff members!
well that's because just the math itself won't do anything if oyu don't provide an expression
you didn't copy the statistic part
&f{math_[precision:1]}&e&l{statistic_player_kills}&f/&6&l{statistic_deaths}
yes
so i will just use statistics kills and deaths
whats the placeholder to show someone's kills
it doesnt work dude ngl
oh it works xd
i m noob srsly
i didnt do ecloud stuff
@turbid tide and what is the placeholder for essentialsEconomy
balance
What is papi??
A list with abbreviations that you will see here:
CR - ChatReaction
DChat - DeluxeChat
DJoin- DeluxeJoin
DM - DeluxeMenus | Direct Message
Ess - EssentialsX
HD - HolographicDisplays
HDB - HeadDatabase
HEXT - Holographic Displays
JS - .. | JavaScript, Just saying
LP - LuckPerms
PAPI - PlaceholderAPI
PEx - PermissionsEx
VP - VoteParty
SS - SilkSpawners | Screenshot
PlaceholderAPI ? its a minecraft plugin
