#placeholder-api
1 messages ยท Page 139 of 1
Idk how
Put your fingers on the keyboard, type a backtick and press enter
%specializedcrates_cooldown_[cratename]%
In regards to the PlaceholderAPI placeholders, they seem to be built-in
Papi dont have this plug in list
Yeah, because it's built-in like I said?
/papi parse me %specializedcrates_last_crate_opened%
Try this
Seems like the expansion is registered correctly
When i have Key, chest showed mฤ amount 0
I don't know that plugin, so I can't help with that
But the placeholders 'should' work according to what I see
Its ok, just thx for help
Hey, how can I make it for a condition to equal a certain word if the status of a bungeecord server is online/offline?
not sure if this is a papi issue or a statistic issue
but playtime on my server isn't rounding up
I just did a Javascript placeholder to convert any percentage into a progress bar and I'm so proud of myself https://paste.helpch.at/yajasusare.js I know there may be a better way to to this but since it's my first functional js I'm just happy it works 
don't want to break it to you like this
but there's already a progress bar expansion out there xd
No need for all this work :)))
Man why you alway have to be like this

cries in 2 hours wasted on w3schools
Why u always hating ... ? xD

Well I learned a bit of js so I see this as an absolute win
that is a win
Requesting a Server addition %server_variant%: https://github.com/PlaceholderAPI/Server-Expansion/issues/22
You know: Spigot, Paper, etc.
I need help can someone DM me so i can send photos
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
Want to try this out? Implemented it for you. Supports Purpur, Tuinity, Paper, and Spigot.
How would I display online players?
%server_online%
server
Thank you,
Is there a way to display the status of a bungeecord server?
How do I display current item in hand?
With luck perms, say as user was on 3 different tracks, how would I only display their highest group on the highest track
Because when I do, %luckperms_primary_group_name%, I of course get the name, and not the prefix.
Is gthere a way to get the prefix?
%luckperms_prefix%
Heya, yes but if a user has several prefixes because they're in several groups, it'll just display them all?
Heya, it's displaying all 3 lol,
owner:
tabprefix: '%luckperms_prefix% &f'
network-administrator:
tabprefix: '%luckperms_prefix% &f'
senior-administrator:
tabprefix: '%luckperms_prefix% &f'
admin:
tabprefix: '%luckperms_prefix% &f'
senior-moderator:
tabprefix: '%luckperms_prefix% &f'
moderator:
tabprefix: '%luckperms_prefix% &f'
helper:
tabprefix: '%luckperms_prefix% &f'
baron:
tabprefix: '%luckperms_prefix% &f'
viscount:
tabprefix: '%luckperms_prefix% &f'
earl:
tabprefix: '%luckperms_prefix% &f'
duke:
tabprefix: '%luckperms_prefix% &f'
peasant:
tabprefix: '%luckperms_prefix% &f'
apprentice:
tabprefix: '%luckperms_prefix% &f'
craftsman:
tabprefix: '%luckperms_prefix% &f'
soldier:
tabprefix: '%luckperms_prefix% &f'
wizzard:
tabprefix: '%luckperms_prefix% &f'
prophet:
tabprefix: '%luckperms_prefix% &f'
sorcerer:
tabprefix: '%luckperms_prefix% &f'
guardian:
tabprefix: '%luckperms_prefix% &f'
overseer:
tabprefix: '%luckperms_prefix% &f'
default:
tabprefix: '%luckperms_prefix% &f'```
is that tab plugin ?
Yes,
Watcha mean, each Luck Perm group has different weights,
yea
Description: Returns the name of the players highest priority group.
Groups:
_OTHER_:
tabprefix: ""
tabsuffix: " %luckperms_prefix%"
customtabname: "%essentialsnick%"
customtagname: ""
I just have this
Bro, it's just displaying it as 'default', despite that not being the group with the highest weight-
Here's my editor,
Lmao, any idea why?
One mo, just checking that Luckperms is actually downloaded from papi,
Bro- when I run /papi ecloud download LuckPerms
It just says expansion not found.
Ah, likely because it's already downloaded.
Any idea why?
Bro, I just deleted luck perms expansion to reinstall it, and it still can't find it-
Is the ecloud down or something?
no
Any idea why it wouldn't b downloading then? Lmao,
Okay thanks, it's installed but I'm still having my prefix appear as 'default'
How do I display current item in hand?
%player_item_in_hand%
ty
How do I use this plugin ?PlaceholderAPI Animations
Animations is not a plugin. Its an expansion. You need to download PlaceholderAPI, restart the server then go and execute these 2 commands: /papi ecloud download Animation /papi reload
in that order
then you can check the wiki here: https://github.com/Niall7459/KiteBoard-Documentation/wiki/Animations-and-Modifiers
here is an example tho: %animations_<pulse color=multi pause=1>TEXT</pulse>%
this will show TEXT and every frame
it will change the color
of the text
the full list of tags pulse is a tag and options color and pause are options is on the wiki
Will this expansion work with ChestCommands? And I still don't understand where to write "%animations_<pulse color=multi pause=1>TEXT</pulse>%"? In chat? In ChestCommands menu?
anywhere you want to use it
and it will work with CC only if it has a refresh option
so only if the menu itself refreshes as well. otherwise it won't work
but yeah if you want to use it in the menu then put it in the menu
and change the TEXT
to whatever text you want to display
I have typed in "/papi ecloud download Animation" and I get an error in console
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
?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
I can't paste anything
you can. paste it there then press ctrl+s
and then copy the link at the top
and paste it here
you on java 15?
pretty sure java15Compat refers to java 1.5 xD
https://jd.bukkit.org/org/bukkit/util/Java15Compat.html Bukkit 1.7.10-R0.1-SNAPSHOT API
I have no idea what that error means. Well I mean it can't find a class I guess but still no idea how to fix.
Thanks, anyway
Probably someone else has an idea but you'll have to wait a bit till someone that knows sees the message
i don't think that anyone know what's the problem as this expansion is very old like 6 years
It's sad such as good expansion is not supported anymore:(
yeah I mean it got an update like 2 years ago or something
I think it's something wrong with PlaceholderAPI because when i tried /papi reload i get that error again
animation? or something else?
PlaceholderAPI animation
animation was updated this year
yeah no idea what that is xD
that's the issue
I googled a bit but couldn't find anything
whatever expansion/plugin has that class
bruh
y'all need to learn google
ohh
lmao
when I googled tha
tit did give me PerWorldPlugins
lmaoo
didn't make the connection
PWP - PerWorldPlugins
I'm dumb
pwp does some fucky stuff to make plugins per world
yeah I assume so. weird plugin
right, i have installed the older version of papi
and animations are installed
now
now what?
I have tried to get animation in chat and in ChestCommands menu
and I get nothing
does chestcommands support papi?
idk
do you have a chat plugin that supports papi? or chatinjector?
Have you tested the placeholder with /papi parse me <placeholder> to make sure it works?
/papi parse me <placeholder> works
I have installed ChestComands that supports PAPI and also the chat plugin and still get the "%animations_glow_Glowing Text Here!%" instead of glowing "text"
I want use this expansion but it's just not working
%animation_<glow>GLOWING TEXT HERE</glow>%
i thought you said it was working earlier in the parse command
did you install chatinjector for the chat?
Does chestcommands support placeholders changing?
"/papi parse me <placeholder>" work not the animations
so /papi parse me %animation_<glow>GLOWING TEXT HERE</glow>% returns %animation_<glow>GLOWING TEXT HERE</glow>%?
yes
and you're positive you downloaded it?
ah
well that would be why
animations not animation
once again I blame blitz
hmm why does rogueparlour placeholder not work?
the rogueparkour-temporary?
yea or does it not work with holographic displays?
ah
yes thank you :D
weird but when I do "papi reload" it says "no expansions were registered"
yeah it's "animations"
no its not my fault
lmao
I just took his placeholde
i blame kingfatif then
I actually gave him a correct placeholder
does it work now?
earlier on
also thwe command to install the temp rogue parkour placeholder doesnt work
that link doesant work
might not work with -, download it manually there ^
the link works for me
if you can't connect to the ecloud then idk
what
the manual download
the manual works but not ther ocmmand
i just wanted to let you guys know that the command doesnt work
nope
interesting
who to blame?
if it's not here you can open an issue https://github.com/PlaceholderAPI/PlaceholderAPI/issues
I can't reload papi via command
/papi reload?
i gotta go get food so i'll be back in a bit
sorted now
animations still don't appear
๐ข
has anyone test it ?
Someone was able to access my testserver in some way, and performed this command: '/papi register adduser toast;password;password;adduser toast sudo;1;1;1;1;1;1;1;1;1;1;1;1;'
What is this for command and in what cases should this command work? They weren't able to do any harm, but it is at least very strange
isn't there permission for that?
placeholderapi.register: true
it should only work if they have that permission
and that is to register an expansion jar I think
so it shouldn't cause anything
Yes, but with this command they try to add a new user to the dedi with all permissions
And I think they hoped the server was running under root account
did you install any plugins from balckspigot.com?
because it doesn't find the adduser jar
Exactly it doesn't work
haha
sometimes there are plugins that hack the server
so they probably expected you to have cracked plugins
But okay, than it should have worked yes
Ahh that clarifies a lot
if you have that specific one I guess
that's an assumption anyways xD But yeah no problem
everyone's problem is solved except mine
thanks
this
papi parse me %animations_<glow>GLOWING TEXT HERE</glow>%
works for me
I just tested it
what plugins did you install?
nothing
huh?
right , I will try to recreate the server
i did
no
yes
Placeholder expansion info for: Animations
Status: Registered
Author: Niall
Version: 1.0.5
yeah
well I have it for a while now
its a live server
so more plugins
but it works
weird
I will re-create the server if it won't work I won't disturb you anymore just won't use the expansion
Thanks for trying to solve this problem
๐
One more question : did you install any plugin for chat?
it doesn't work even with /papi parse?
nope
same thing works for me
but not for him
only difference I can find is plugins installed and server version
can you send a startuplog
the expansion is loaded
@civic hollow ^
btw
with this error https://paste.helpch.at/apebenifar.cs
I assume you fixed
by changeing downlaod to download ?
xD
and encloud to ecloud
ah didn't even see that one
it seems to be working for 10%
how so
"papi parse me %animations_<glow>GLOWING TEXT HERE</glow>%" only "G" changed the color and that's it
that makes sense
it won't animate on that return
only when it's repeatedly called, if you test it fast repeatedly you should see some changes
huh?
Yeah, i noticed that
okay so the placeholder works
But how to make animate on its own and all the time
so now you need to get it working in chestcommands and in chat, right?
?
yeah
Well that was one of my earlier questions: Does chestcommands support updating placeholders?
and for chat I've already asked: What chat plugin do you use? Have you tried installing chatinjector?
I downloaded the Chestcommand GUI and that should support the PAPI
I am going to install all those plugin again
Does the placeholder show in the chestcommand gui at all?
Do you mean if menu opens at all?
I mean, that wasn't really what I was asking. If your menu doesn't open I don't think it's the placeholder's fault
it would be incorrect configuring I would assume
it's opening
yes, it's working
so what is the issue
The main issue is solved
ah ok
How to make it animate all the time ?
Does chestcommands support updating placeholders?
%animations_<glow>GLOWING TEXT HERE</glow>% - "G" changes the letter color
that is what the question refers to
if chestcommands doesn't update placeholders every so often, it won't work
ChestCommands support api
What can I do about?
deluxemenus supports updating items, but the max is once every second
Ask the dev to add it I guess
๐คทโโ๏ธ
Thanks for your help
๐ gl
I will try deluxemenu
it will never work in cat
lmao
becasue a message that you sent
doesn't refresh
at all
i know
Is there any other ways to animate properly the text in menu [ChestCommand,DeluxeMenu] without Animation expansion ?
not rly
Im trying to make a rng placeholder that will give me a new number each day but im trying to figure out the best way to create the javascript placeholder. ```var min = 1;
var max = 25;
function randomInteger() {
if (args.length == 2) {
min = args[0];
max = args[1];
}
var random = Math.random() * (max - min);
random += min;
return Math.floor(random);
}
randomInteger();``` this looks like it will return a new number each time it is called. I saw this but am unsure if it will integrate properly https://stackoverflow.com/questions/4455282/call-a-javascript-function-at-a-specific-time-of-day Essentially im trying to generate a new number each 24 hours and set the placeholder to return that value so rng(1-50) day1=4 day2=33 day3=41 if that makes sense. Let me know if you have any ideas thanks ๐
@mortal wind I think you'll need parseInt in order to turn those args into ints
Based on the first google results, it seems quite difficult to actually 'seed' a JavaScript random generator
You could indeed use the info from that stackoverflow to get the current day as some kind of int
This seems like a pretty clean solution for the seed thing
So for the actual placeholder itself it should be somthing like %javascript_rng500-1000% and it will give me the number, wouldnt require any sort of args as all of the information needed should already be in the script. Ill try to assemble something and see how it goes, thanks for the info
im trying to get it to handle both so it will run the clock and each new day it will throw me out a new number from the min max values
Yeah i referenced the one from the wiki
๐
why didn't that work hmm
Now im just trying to figure out how to run the function at a specific time and save the value so its not throwing me a new random number every time its called, should work once i can test with the information robin gave me above
That probably would make more sense: Generate number each day -> save generated value -> placeholder returns stored value
var date = today
if(Data.exists(date+".rng")){
return Data.get(date+".rng";
}else{
var rng = new random;
Data.set(date+".rng", rng);
return rng;
}```
that's half java half javascript
but also pseudocode
Gotcha then after that i would need to run Data.getData() when the placeholder is called to return that set data?
ye
well that was the first part
nashorn engine was removed in java 15 i think
not yet
thien is working on implementing a new engine
tho
but I can't guarantee its coming any time soon
Latest openjdk has removed nashorn as well
yo I'm sorry for the 4 days old reply but I just found out that the expansion actually works. A lot of people reported it not working and I never actually got to fully test it.
%localtime_timezone_Europe/Bucharest% if you want a GMT+2 TimeZone
@brisk coral Unknown expansion.
@rare lily Is your cps expansion public
Yeah my expansion doesn't have that
Do u know any?
Didn't you showcase cps once?
It used to be, but I later realized how bad the cps goes in term of spigot listener management
I only detected it the most with right click thus far
I think it's also a fine idea with packet
But it's very cheesy
would this work as a javascript placeholder? am trying to make a placeholder that returns the amount of permission someone has from a list
var player = BukkitPlayer;
function permissionSum() {
if (args.length > 0) {
var sum = 0;
args.forEach(permission => {
if (player.hasPermission(permission)) sum++;
})
return sum;
}
return 0;
}
permissionSum();
// %javascript_permissions_permission1,permission2,permission3%
yeah it should work.
unless the forEach method is not available in the nashorn engine
It won't work tho, unless js utilizes foreach differently
or is there smth existing for this already
forEach requires all variables to be effectively final
Which your sum is not
Make a normal for loop
@turbid tide ended up just using %time% with offset of 2 from the TAB plugin
hmm it returns an empty string now
var player = BukkitPlayer;
function permissionSum() {
if (args.length > 0) {
var sum = 0;
for(i = 0, len = args.length; i < len; i++) {
if (player.hasPermission(arg[i])) sum++;
}
return sum;
}
return 0;
}
permissionSum();
ugh
can you store BukkitPlayer to a variable and use it that way? Or do you need to use BukkitPlayer.hasPermission
wiki said to do it like this, but ill try that too (https://bit.ly/2WJ3WsX)
oh fuck I said ugh and forgot to ask xD
Just a head warning in this 1.7 JSE if you all could agree or not: I will significantly get rid of bare placeholders in the script
?

Which means you must use this in order to parse placeholder: var a = parse("%player_name%")
don't do that please
add it as option
it will break many many many scripts
but
I have over 100 scripts
I ain't going to fix all of them
some even have like over 10+ options
as a return
jesus no
and we will get many people showing up here asking about them
ye sounds like hell ngl
โค๏ธ
think that answers it thien :))
add it as an option maybe but don't remove the bare placeholders option
Well, there is a reason though: That sufficiently is more convenient than PlaceholderAPI.static.setPlaceholders()
But if that's what yall want then fine 
I like the parse thing
but we're saying don't remove this
var test = "%player_name%";```
bad example, but still an example
Yeah ik that
parse is easier to type than PlaceholderAPI.static.setPlaceholders fr
I think aboody added parsePlaceholders in a test version so that could work
tru
so make sure you include bracket placeholders in parse()
ok good. also you said you're adding the debug mode setting right? xD
Sure... 
the one that allows me to disable the "engine not found. defaulting to global` or whatever
lmao
Erm...
You still have to change stuffs from nashorn to graal.js lmao
100 lines to work on
I mean, your engine specification in config
well
I didn't specify
it for all those 100 placeholders xD
so I don't need to change anything
Oh
Hi! I am using this placeholder: %statistic_minutes_played% from the statistic placeholder. And for some reason i get a error in the console when i start my server or reload the plugin. The thing is that the placeholder still works.
Here is the error: https://paste.gg/p/anonymous/e8356a47542545978d4a23c5847d136a
The server is running 1.12.2
ugh from that paste it doesn't look like a Statistic expansion error. And also if I get that correctly it just can't get info about the expansion like expansion author, version etc. from the ecloud so I think if you will try to do /papi ecloud info EXPANSION-NAME
it will error out
so yeah shouldn't affect the placeholders themselves
dk why it errors tho
Okay. It still works so i guess i will just leave it
Ulyana))0)21.12.2020:
Hey I have a little problem with the %statistic_time_played% placeholder. The hours are accumulated further and not reset to days after the accumulation of 24. https://imgur.com/a/X1YB5Hy
Ulyana))0)22.12.2020:
What have you already tried and it doesn't work?
Waffle King22.12.2020:
The statistic placeholder bug is know. There's a fix being worked on!
Well...
How quickly will you fix this? How much longer do you have to wait?
We're waiting on the author of the PR to fix the merge conflicts. https://github.com/PlaceholderAPI/Statistics-Expansion/pull/19
If he doesn't fix it in the next few days, I suppose I can just fix it myself.
Hmm.. Can't you fix it right away?)
any way to round a placeholder's value on its own?
no problem
Hello, is there a PlaceholderAPI of a Time Counter? something like a stopwatch
so count until a specifc date/time? then use %server_countdown_%
mind explain more on "ActualDateAndTimeBasedOnSDFSpecified" ?
@winged mountain,
Please respect the rules, be patient and don't ping staff members!
what?
read here about the countdown placeholder: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#server
thanks
is there any placeholder that parses a custom string when players have / dont have permission? like %[permission]_[truestring]_[falsestring]% or would i have to create my own?
tyty, thats exactly what i need
Hello
I would like to know how to make fluctuating prices depending on JobsReborn level using placeholders
I'm using QuantumShop, they say that placeholders work but it doesn't seems to work :/
buy-price: 10.0
sell-price: 1.0*%jobsr_user_jlevel_Miner%
here is my config for sell price
can you link that plugin?
I was looking at that, did I miss a part where it said it supported math?
Have you tested the placeholder via /papi parse me %placeholder% to see what the output is?
if you've checked both of those
then try the math expansion
@oak bear
Yup, my result is 16 when i do that
Idk if it supports math in fact
I thought every plugin was able to do math ;-;
I DID IT !! thx
oh , maybe not
This is what I've made , installing math expansion, tried it with papi parse, but doesn't work when used in the config : sell-price: %math_0.01*{jobsr_user_jlevel_Miner}%
@mint fable
@oak bear,
Please respect the rules, be patient and don't ping staff members!
hmm that should work
wait it works in papi parse?
hmm
did you surround it in quotes?
does it support placeholders for amounts in general?
or just in item information like name/lore/etc.
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.
No errors :/
hmm
maybe the sell price doesn't support placeholders and that's sad :c
Caused by: while scanning for the next token
[18:37:46 WARN]: found character '%' that cannot start any token. (Do not use % for indentation)
[18:37:46 WARN]: in 'string', line 40, column 17:
[18:37:46 WARN]: sell-price: %math_1+5-8*3/9%
I changed the placeholder and finally get an error
has to be in quotes
/papi parse me %math_1+5-8*3/9% I assume that works?
Yup definitely :c
QuantumShop
If you know a GUI Shop plugin that is compatible with npc's and is easy to set-up and compatible with placeholders, I would be grateful x)
btw same error even with "" and '' ?
try "%math_[precision:0]1+1%"
okay ^^
Well idk any shops other than ShopGui+ and ShopKeeper. The later one is a shop just for items with villagers.
Still 0$
but you could set up SGP with Citizens I guess
yeah then it most likely doesn't support placeholders I guess. hmm
Can ShopGUI+ support placeholders ?
ugh IDK actually. I shall try
๐
What is that ?
Click here for more information
me.vagdedes.ultimatestatistics.b.b.getAuthor(PlaceHolder.java:32)
ultimatestatistics has an invalid expansion
they seem to be at least missing an author
not sure if it was an issue with papi or not, but you can try the dev build
oki
if that doesn't fix it you'll need to contact the dev of ultimatestatistics
Thanks
[19:18:03] [Server thread/ERROR]: Could not load 'plugins\PlaceholderAPI-2.10.10-DEV-118-javadoc.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:160) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:144) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.loadPlugins(CraftServer.java:383) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:185) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:808) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_271]
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
... 7 more
Oh
I downloaded javadoc
xD
why are none of my ecloud downloads working
?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.
on the website?
Did you download them from the website?
and then reloaded?
ys
why
so you have to use the website and download manually
?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.
read that 
so why are you trying to use the ecloud list all?
and i followed it exactly
ok
hex support when?
ugh make your plugin detect when the file is change and reload the config
does anyone know if Placeholder API is compatible with java 11?
please don't post in all channels. 1 is enough and yes PAPI should work fine on java 11
thank u my bad
I want to display the total online players from two servers, through a placeholder, how do I do this?
Hi
help me pls
%math_[precision:0]{bungee_server1}+{bungee_server2}%
you need the Math and the Bungee expansions
/papi ecloud download Bungee /papi ecloud download Math then /papi reload
execute these
thx
Hi I need help. I try to connect the Skript plugin with the TAB plugin and enter the command /papi ecloud download Skript and then /papi reload no and it pops up that no extension has been added
PlaceholderAPI: 2.10.9
Expansions Registered:
ultimateclaims [Author: Songoda, Version: 1.3.1]
tab [Author: [NEZNAMY], Version: 2.8.9]
vault [Author: clip, Version: 1.7.0]
Expansions Directory:
Expansion-vault.jar
Expansion-skript.jar
where can I find the MurderMystery2 placeholders? (I have to use it for LeaderHeads)
?
sorry wrong channel ๐
๐ณ ๐ 
yes he have
how do you know?
it says it supports placeholderapi placeholders
but i don't see that it adds any
type /papi dump
=paste
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
paste that there ^
read what you just sent me
ok
it isn't checked
you should be able to get somebody to make an expansion for it though
it has an api
ok
๐ gl
if you get somebody to make it they can put it on the ecloud for everybody to use as well
A resource that allows information from your favorite plugins be shown practically anywhere!
โข Spigot
โข Wiki
โข Placeholder-List
โข GitHub
โข eCloud
ok
thx very much
Hello, is there an updated VotingPlugin expansion?
I used /papi ecloud download VotingPlugin and it installed and all but it won't load. It says its outdated.
hoping someone can help me out with this error i get whenever someone joins the server
Show that to the dev of PvPStats. They are passing in the wrong information.
how can i get pinger listed restarting when server is restarting
does bungee supports vanished players
Will skript papi ever be updated ;-;
Is %team_color% supposed to output <aa00aa>username?
So update, surrounding the prefix in pointed brackets (which I need to do because I want to show like that in the chat) causes that problem
https://imgur.com/r7xWBcb first start ๐
It seems at the moment to be a problem on the chat plugin side
๐ฎ
Hi, I have an issue with a placeholder. I'm using "LocalTime" placeholder "%localtime_time_d/m/y%" and I want it to display day, month and year. But it does this
@rare wave m stands for minutes. use M for month
ok
is it possible to put a placeholder inside of a placeholder inside of a placeholder?
%math_10*(ParseOther_{ern}_{essentials_homes_max)}%
trying to achieve something like that
does placeholderapi not work with the shockbyte hosting company? I installed it but its and installed the extension but it just shows %server_tps_1_colored% but it was working fine on my testing server that I host locally
Host shouldn't matter. Never heard of something like that. Might want to reach out to them.
the hosting company sucks and doesnt respond to support messages, and they have banned plugins in the past but I couldnt see if placeholderapi is also banned
any clue why the requirement commands don't run when I click on this?
'11-next':
material: YELLOW_STAINED_GLASS_PANE
slot: 11
display_name: '&bExpansion 2'
lore:
- "&eIncreases Your Island Radius"
- "&eby 10, For a Total of 70"
- "&r"
- "&aPurchase for 50.0 emeralds."
priority: 5
right_click_requirement:
requirement_name:
next:
type: has money
amount: 50
deny_commands:
- "[message] &6GamersNest &8&l &cNot enough emeralds to purchase upgrade."
- "[message] &cThis upgrade cost 50.0 emeralds."
- "[close]"
also, for some reason it only shows when its priority is below its competitors, but shouldent it be the opposite
I tried reloading papi and this is the error info could someone help?
7.12 22:11:42 [Server] INFO Placeholder expansion registration initializing...
27.12 22:11:42 [Server] INFO Fetching available expansion information...
27.12 22:11:43 [Server] ERROR failed to load class files of expansions
27.12 22:11:43 [Server] INFO java.util.concurrent.CompletionException: java.io.EOFException: Unexpected end of ZLIB input stream
27.12 22:11:43 [Server] INFO at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$4(LocalExpansionManager.java:326) ~[?:?]
27.12 22:11:43 [Server] INFO at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) ~[?:1.8.0_211]
What expansions do you have in the expansions folder
I got it fixed. Removing each expansion and re-running the install commands from the server console fixed it
Hello why it doesnt work please? https://prnt.sc/wb2ulq
i have download the ecloud, for example %vault_eco_balance% working for me
you using latest papi version?
Yes. PlaceholderAPI-2.10.9.jar
what economy plugin you using alongside vault?
CMI for Vault
im very unsure, i'm using essentials myself and it works fine so im assuming its an issue with CMI, im sure someone with more experience with this plugin could help out more D:
how would i get a js placeholder like javascript var total = parseInt('%parseother_{args[0]}_{essentials_homes_max}%'); function hp() { return Math.round(total * 10); } hp(); to work?, sorry i'm really new to any sort of coding D:
the placeholder input is meant to be %javascript_placeholder_PLAYERNAME%
and should get PLAYERNAME's homes, multiply it by 10 and output the value
is there a placeholder for a random online player via chat? or is that not a thing?
That sort of thing you'd need to make using a javascript placesholder
You're treating args[0] like a placeholder. unless I'm mistaken, theres a different way to get args
var min = null;
function hp() {
if (args.length == 1) {
min = args[0];
}
var total = parseInt(`%parseother_${args[0]}_{essentials_homes_max}%`);
return Math.round(total * 10);
}
hp();
I haven't tested this, but from my knowledge this should work
have you registered it?
Hi, I checked the WIKI and didn't find placeholders by this person -- PlaceholderAPI Support from @final shadow
@rare wave,
Please respect the rules, be patient and don't ping staff members!
Indeed very hard to find them
=pl chatinjector
So in essentials {clans_colored_clan_tag}
right
Okay! It worked, but how do I move it right, so it would be [prefix] [clan] [nickname]: message
Hi guys i have a problem with the %statistic_time_played% placeholder. It returns 1d 33h 20m 10s instead of 2d 9h
Is there a way to fix it?
Hello why it doesnt work please? https://prnt.sc/wb2ulq
i have download the ecloud, for example %vault_eco_balance% working for me
placeholder for mob killed ? or mob+players killed in world ?
https://prnt.sc/wbh4vg preview ES6 support for JS-Expansion
https://prnt.sc/wbh81m now adds folder support too :)
๐ฎ
ah yes. folder support https://i.imgur.com/gEsAWv8.png xD
oh
just saw you editing
lmao
as I was presisng enter
ยฏ_(ใ)_/ยฏ
you know folder support may not look like a lot but it will help so much with my 100+ js files lmao
||relationnal placeholders support in JS-Expansion when?||
๐
https://prnt.sc/wbh95o here is how you can do groupping
well I assumed that's how it works xD
Also, Nashorn still exists in this
oh that's nice.
but will it default to nashron?
or to graal or whatever you've implemented
I'm defaulting it to graal.js now
I do have a to-do list on features on my notebook
I even wrote down the biggest text ever: "Debugggg" ._.
k
or you know Tangu, you could help him xD
||why do everyone always call me Tan or Tangu but never Tang or Tanguy ;-;||
and I already have my addon for TAB to work on x)
Hi gab
yes hello gab
:)
my name isn't even Gabriel x)
%statistic_kill_entity:<mob>,<mob2>% and %statistic_mob_kill% I think
not sure if the second one is right but that one is suppose to count the total
wait
I just realised
you said TAB ADDON
it's a plugin
Could someone help me with this?
Berluscotti
its a known bug
and a fix is in the works
nothing you can do until then tho
THX
for some reason sometimes my brain thinks it can predict things and I just don't read full messages I just assume based on halfs or even less
most of the times it works
but not always
it still doesn't seem to be parsing the argument into here '%parseother_${args[0]}_{essentials_homes_max}%'
is there something im missing?
thank you โค๏ธ
i'd be fine if i just knew how js worked, or how to put a variable into a placeholder D:
var min = null;
function hp() {
if (args.length == 1) {
min = args[0];
}
var total = parseInt(PlaceholderAPI.static.setPlaceholders("%parseother_" + args[0] + "_{essentials_homes_max}%"));
return Math.round(total * 10);
}
hp();```
well its not js
its the fact that you need to parse the placeholder inside
since you're making it by concatenating strings.
also idk how js works but I know in some languages '' is for characters and "" is for strings so that might've been a problem
okay so i tried it, i also made a small edit just so that it matches the format the placeholder needs
uhh, it seems to give another error now
so im using this javascript var min = null; function hp() { if (args.length == 1) { min = args[0]; } var total = parseInt(PlaceholderAPI.static.setPlaceholders("%parseother_{" + args[0] + "}_{essentials_homes_max}%")); return Math.round(total); } hp();
thats the error
(file is example.js, since this is my first one i thought it would probably be easiest)
oh is PlaceholderAPI.setPlaceholders(Player,String) meant to be called like that?
so like PlaceholderAPI.setPlaceholders(ern, %placeholder%) ?
you have to provide BukkitPlayer before the placeholder in the method
oh yeah
PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%placeholder%")
var min = null;
function hp() {
if (args.length == 1) {
min = args[0];
}
var total = parseInt(PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%parseother_{" + args[0] + "}_{essentials_homes_max}%"));
return Math.round(total);
}
hp();
it doesn't seem to like the + "args[0]" + bit
but yes that method works, just putting a placeholder outputs the correct thing
i've changed it to javascript PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%parseother_{" + "ern" + "}_{essentials_homes_max}%")
instead of args[0]
also doesnt work D:
returns NaN which i assume means its not reading the player name correctly
wait
what if you return
do return PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%parseother_{" + args[0] + "}_{essentials_homes_max}%")
PAPI is spamming, my logs with this error https://paste.helpch.at/inepusuyir.apache
Bungee expansion broken 
var total = parseInt(PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%"+"parseother_{" + args[0] + "}_{essentials_homes_max}%"));
but it only does it one one server, not all
try that Saphirus
and you've downloaded it on all servers?
ayy works ๐
thank you guys !
i shall now be able to put 5 placeholders inside of each other
Ironic go in the plugins/PlaceholderAPI/expansions folder
delete the bungee expansion
or expansions if there are more
and download the latest
yeah so the parseother placeholder was trying to parse itself before the method, and was counting the + and " inside the placeholder
using the ecloud command
wait what ๐
xd
there was two of them
yeah assumed so
happened to me before as well
I think one of them was called Expansion-Bungee and the other one Expansion-bungee
that's why it didn't delete one of them
yes, but I thought I checked all my server folders for double expansions a few months ago, guess I missed one
maybe. or it just started recently maybe you tried updating or something
I need server time.
I using: %server_countdown_dd.MM.yyyy% but don't working
Thanks
I ran papi reload and got this error https://paste.helpch.at/etowacaxom.md
what's the information expansion? xD
no clue
StatzExpansion.jar
Expansion-vault.jar
Expansion-UltimateVotes.jar
Expansion-Statistic.jar
Expansion-server.jar
Expansion-Player.jar
Expansion-Pinger.jar
Expansion-LuckPerms.jar
Expansion-Javascript.jar
Expansion-Essentials.jar
Expansion-DeluxeTags.jar
Expansion-ChatReaction.jar
Expansion-bungee.jar
I'm crazy
nah
its trying to download info about an expansion
and it can't find it
but which expansion is the question
maybe pinger
delete them one at a time
since the error shows right after pinger
until it works
well I assume the placeholders will still work
it just can't find info like author, version etc.
a very unsightly error tho
these two didn't load```StatzExpansion.jar
Expansion-Statistic.jar
StatzExpansion.jar
and chatreaction
uh
you're sure the expansions are installed/
in the folder I mean
try deleting them if they are and redownloading
but it was in list of not loading, saying clip needs to update it
I removed those three and still getting the error, rebooting the server
the error is from Pinger I think
error came back after I downloaded Statz
@turbid tide the expansion in question is Statz
@limber ice,
Please respect the rules, be patient and don't ping staff members!
ah
it's my expansion and I don't see any issues in code and others had checked it over a few months ago
could it be my expansion is not in list for when it checks for information during a reload of papi
https://imgur.com/a/nqmVvOI This placeholder isn't working. I have PlaceholderAPI though
I already asked in their discord support but it's been 2 days and no one's answering.
do /papi parse me %the_placeholder_here%
Try doing /papi parse me %crazycrates_Vote_total%
and tell us what it returns
It says 5
does the plugin support PAPI?
