#placeholder-api
1 messages ยท Page 120 of 1
it works!
thank you for helping me out
One more question. is it possible to get this with clearlagg aswell?
like this
so i need to install an extenstion
i have the repo for it, i just dont know how to install it
i downloaded the jar, how do i register it?
I'm struggling turning stats from my plugin into a PAPI placeholder to use across public plugins, I have this error:
https://hastebin.com/ixelaxehit.sql
I have PAPI in my project, I have it on my server too
Nevermind fixed it
@austere hawk doesn't seem like ClearLag has placeholders so you'll probably have to make your own (using java or kotlin or some other programming languages)
no worries don't like clearlag
why?
@compact swallow so you want to download a placeholder extension? then you can either use the /papi ecloud downloade EXPANSIONNAME or just download it from the ecloud or some are on spigot or wherever you want to download from and add it to plugins/PlaceholderAPI/expansions
Gils because its not the best. for some servers it even causes more lag than its suppose to clear
yeah for some situations like Prison servers where you could get a lot of items on the ground you can have it
but for the rests there are other better ways to optimize your server
ohh for real? what plugin would you recommend that does the same job as clearlagg?
well I'm not talking about clearing items
its just unless you rly have a lot of items
on the ground all the time
you don't need it
Yeah I've heard about clearlagg causing more lagg before. The thing is that I don't know how to optimize my server anymore. Done alot of things but whenever someone uses an elytra with fireworks, the tps drops alot. Even when the world is pre-generated.
Thank you!
I just installed the new placeholder api version
and all my placeholders broke lol
so can someone help me fix this pls? xD
๐
oh nvm xD
I just fixed it lol
ty anyways xD
๐
@lofty pine,
As part of the 2.10.7 PlaceholderAPI update we broke some methods, please download and test with the latest DEV build of PlaceholderAPI found here.
yeah then you'll have to wait a bit until the ChatControl updates
just use 2.10.6
its not a lot you'll lose
just the tab completion
the rest are mostly just on the development side
might be wrong haven't fully looked at the update log yet
Hmm I see, since with 2.10.8 the old methods should work again I thought
I'll forward this on
Thank you
Hey, whats up with the statistic placeholders?
They aren't working for me, I downloaded it and put it in expansions folder.
@lofty pine can you test build 85
Literally tons of plugins dont work with the new papi update lmao - even plugins such as ezblocks
should now in #85
Hmm alright ill try that out
pretty sure that adds back everything that was removed which would break stuff
Alright ill try it out now and let you know ๐
are statistic placeholders working
@final shadow
WARN [PlaceholderAPI] tokenenchant is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
A few plugins are doing this - does this mean they gotta update?
Yep that will need to be on them to fix
alr cheers
But no more errors tho right ?
Nope seems good
Thanks, I did not test it out yet since I went to bed
Sikatsu I added back the missing method so chat control should not break now
Awesome stuff, will test it in the morning!
Statistic placeholders dont work on newest dev version either ๐ฆ
Define "don't work". Any errors?
im testing now
Ahh rip
Clip should ezrankspro placeholders work? As they currently dont along with some others - (im aware i dont have the role, someone on my staff team has purchased it so we're using his until i can buy it myself which is soon)
I understand if i am denied support due to this though as hes not here to vouch for that.
hold iup
nvm
they should
Yeah the expansion just needed to be re-downloaded
Im dumb sorry
Do I download via the jar or in game
both didn't work..
They dont even come up for me with parse
whats ur server version?
1.8.8 (paper)
/papi ecloud download Statistic 1.7.0
/papi reload
Doesntr work
what placeholder are u trying to use?
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.
Yeah that's going to be an F.
I tried the newest.
cindy_k?
So what do I do?
Hi! so I have a 1.16.1 spigot test server and a plugin I am working on that uses PlaceholderApi. I downloaded 2.10.7 and put it on my server and am trying to use it but I can't get it to parse anything.
I'm thinking we need to split up the statistics expansion. Introduce a legacy one.
I am trying to call even the statistics and I am not getting anything. Am I missing something? /papi parse me %statistic_time_played%
If we can't make a new version work across all versions, that is.
:) ahh that decision. I go with abandoning the old and working on the new.
@trim mist gaby updated it and it was pinned in one of the channels. idk what happened to it
cindy 2.10.7 seemed to break a lot of things but we are updating tonight with a version that will fix the issues you are having
oh goody :) I will wait. Thank you!
you can use a dev build if you would like
How about the statistics? Did I do something wrong
would be nice to know if we already fixed your issues
Duke, you'll have to use PAPI 2.10.6
I mean it's literally just one update back
waffle we can just create a new expansion for legacy stats
Need to see if Gaby is ready to merge his statistics update
Cause apparently his open PR makes it work
I didnt mean it in a mean way sorry
Across all versions
I was just surprised
I mean you're using like 5 year old software
basically an updated 1.7 stat expansion
Yes, that's what https://github.com/PlaceholderAPI/Statistics-Expansion/pull/17 is
why havent we merged it? lol
1.8.8 seems to work best ๐คท
Cause I never got 100% confirmation it worked as needed.
I can go ahead and just merge it if you want
Actually I told him in April to merge when ready
ยฏ_(ใ)_/ยฏ
Oh..? Ok
lol!
jenkins should
Not if we don't merge it
I don't want to merge it if it doesn't work
I'll just compile it.
Give me a min or 2.
duke try that on #85 or later
shouldn't matter as long as its registered properly
I thought the dev builds were deployed somewhere
they are
<repository>
<id>dev</id>
<url>https://repo.extendedclip.com/content/repositories/dev/</url>
</repository>
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.10.8-DEV-86</version>
</dependency>
Idk if that jar will work in the latest. I'll need to change this to use offline player and then just cast it to online
Sec
HEY
@faint jay sorry gotta know
hey bbs
Hey Gaby, we're working on pulling in your PR you made ont he Statistics awhile back.
where is that from :0
Afaik it's ready to go
Does xconomy have an expansion in PAPI?
I dont remember, statistics are a pain to work with
Why would multiple materials share the same value
@flint kayak if it hooks into Vault you can just use that
attempt to parse a placeholder? lol
logs?
parse now auto completes so it shouldnt be hard to find one to test
Erm it's not on 1.8.8
clip thats only for 1.13+ iirc
ah right...
send it
try a material one idk
actually let me test it on 1.16
like a block broken statistic
Is block breaking statistics a thing in 1.8.8?
Doesn't look like it
@final shadow :D yep
Use item looks to be one.
even if it doesnt work in some areas, ig its better than it being completely broken ๐
The problem its blocks_broken
Ye
tbh I thought I did that
yeah
but will need some modification to support things like arguments of material types
for things like use item
block broken etc
Okay so it looks like this new one works. That means that when 2.10.8 is ready, I'll compile off the release of it and push this to the ecloud as like 2.0 for statistics expansion.
we can always make those changes later
the good thing is it works
are you going to wait to merge until release of 2.10.8
or merge now and then update dependency to the plugin release later
then update the expansion after
tbh I think we are going to wait until after release to merge frostys pr
it has some work to be done
that can be included in 2.11
I can go ahead and merge statistics now if you want.
If you want to, sure.
Okay, awesome.
tbh you can just drop that to the ecloud now
I don't want to lol
nothing is going to change
If you want to, go ahead.
ok
I need to go pick up dinner. I'll be back in a few hours.
if its not going on the ecloud then pin the jenkins build ig
Just leave me a message in #papi or whatever if I need to do something before the next update. I assume we aren't updating it tonight.
Alrighty
Just text me or something if you need me to look at anythign
I'm off for a bit. ๐
done and all good. Ty
๐
did someone say the player expansion was broken though?
ive been using it but i swear someone said it was broken since 2.10.7
probably a user issue otherwise more reports wouldve been coming in idk
Go through every expansion that we have a repo in the org for and look for the old expansion method
For placeholders
I think the EssX one needs to be updated too
i can help out if u like
Go for it. Just talk to clip about it all. Gotta drive. Ttyl.
hf ๐
kotlin if ur down to help i wont mind
just have to make sure no expansions use
PlaceholderAPI#registerPlaceholderHook
yea ill pr and change any if they do
TYVM
Tbh most shouldnโt although I canโt guarantee it
I might have overridden register and called that instead of super.register
So in terms of functionality
Dev builds are a-1 in my test cases
The only thing I really have left is going through visual stuff to make commands look pleasing
Then formatting
After that I feel itโs ready
awesome
disappointing the fact that half of the expansions arent using build tools ๐
scoreboard objectives, checkitem
not mine lol
ya
So if thatโs not using maven or a build system how the heck should we compile
No just register
Papi calls it
Just make sure if the expansion overrides register it calls super.register
this expansion calls both methods ๐ค
Thatโs fine
alr lol
Chatcontrol works fine now, but premiumvanish doesn't
There is no error, and I know premiumvanish updated for papi even.. but the placeholders do not parse
While on 2.10.6 they do
3 expansions down
@warm topaz what about mine :p
i already updated urs ๐
Just make sure if the expansion overrides register it calls super.register
@final shadow did u mean this? as this is deprecated
@warm topaz,
Please respect the rules, be patient and don't ping staff members!
Don't all expansions need to be changed from onPlaceholderRequest to just onRequest?
Oh really? I couldn't even compile the statistic expansion when I switched to the dev build
Maybe my IDE was being dumb, or I was.
whats the placeholder for clearlag timer?
when updating PAPI my deluxetags stop working on my 1.16.1 server if I then change it back the work again, please @jagged venture ping me when you reply, thank you
What papi version?
latest
/papi dump
2.10.8
and grab the 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.
@jagged venture 
still wont work
send over the startup log
Hey Clip, can i make a placeholder listen a SQL query?
you can make a placeholder do whatever you want
Thank you!
There is no problem if i build with maven using mvn clean package right?
I'm having troubles while trying to make a new placeholder expansion for my plugin
i can't receive ecloud register mail
my address is not using capital letters
username?
@bitter knoll what username you use? cursan?
yes
Aight you should be able to login now
thanks you ๐
@bitter knoll you don't need to upload tests to the ecloud
Hi
The Statistic & PlayerPoints expansions are not working
Any solutions?
When they will be available?
Run /papi dump are share the link here
what is the placeholder for player default name?
Hi, I'm getting the following error when starting the server: https://paste.helpch.at/raw/hiraberilu
I'm running the latest version of both Paper and PAPI
Any idea what to do?
I have no idea why, but that worked...
Thx
what is the placeholder for player default name?
@dim compass%player_name%
okay thx
Run
/papi dumpare share the link here
@balmy marten https://paste.helpch.at/zasocozuqe
@west socket,
Please respect the rules, be patient and don't ping staff members!
what happend with the new update? my placeholders are broken.
https://imgur.com/a/QzXcDN2
im trying to use PAPI in game to download griefprevention placeholders but when i go to register the file it downloads it tells me the file it downloaded is out of date, i even tried older files this is making me crazy lol
i super want it just to show who owns a claim in holographic display
i think they haven't updated yet with the latest PAPI
the latest PAPI broke alot of placeholders lately.
:C
but its a better system.
i dont think so ill try that, i added papi like 3 days ago
if that doesnt work ill poke griefprevention discord lul
well you could because the dev builds only add those methods back as deprecated
so developers have time to switch
ooooh they stopped support and went premium it looks like ๐ฎ
bruh im like following breadcrumbs in the dark at this point
btw I saw a lot of people recommend GriefDefender over GriefPrevention
its premium
but its open source
so you can compile it you just won't get support from their discord most likely
well thank you, this quickly became more than i was looking for so ima just turn back now lol
xD
bro what a twist
i joined an OLD discord
griefprevention is still up lol and someone else was asking about the same thing in their actual discord
we submitted the issue to the github hopefully they update ๐
the latest update of papi made it so the plugin "Coins" https://www.spigotmc.org/resources/coins-1-8-x-1-12-x-mysql-sqlite-api.48536/ stop working
i can't get support for that plugin as the dev is inactive, and it seemed like it was a problem with papi.
can someone help
its not a problem with papi
its just that papi removed some methods
you can try using latest dev build of PAPI
you can download the latest update from yesterday (2.10.8) on SpigotMC
i did
from today*
2.10.8 or 2.10.7 ?
2.10.8
theyre probably using the PlaceholderHook method which was removed entirely
most likely
considering it hasnt been updated since 2018 thats my guess
or get rid of it
i dont really have much java knowledge
though
so whats an alternative method
that hasn't been removed
extend PlaceholderExpansion
then change onPlaceholderRequest to onRequest and pass an OfflinePlayer instead
kk
i put the archive file in eclipse but it says there were no projects found
nvm
i found a different way
what is the placeholder for numer of online players on the server and server status (online, offline)?
:(
%pinger_online_testplugins.com:25565% this one?
@turbid tide where can i get the 2.10.7-Dev
i'll stick for it in a meanwhile
it seems like it was removed from the pin
Good afternoon
same to you.
on updating to lastest papi i got an error with griefprevention placeholders
ugh I think its because 2.10.8 was suppose to fix the issue
%pinger_online_testplugins.com:25565% this one?
@minor hamlet yes
I mean what you can do is downgrade to 2.10.6
I have 2.10.7
so i need that for now
also yeah papi provides a hook but some methods were removed and they should update. just sending you here won't solve anything
it doesnt let me send it here tho
because the methods are going to be added back just as deprecated
also yeah papi provides a hook but some methods were removed and they should update. just sending you here won't solve anything
@turbid tide what should i do
report to papi github?
well I mean its known about it
I kinda lost track of what updates
got out
and what you should use xD
oof
give me 2 seconds
nvm the 2.10.7 is on the version history on spigot
yeah it is
thanks anyway @cunning elk
ty
nope griefprevention has not yet keep up to date with the new expansion update
Blitz, how can I reference the github issue i sent you hre
from gp
on papi's
i wanna report it just referencing it so they just see what i already have posted and analyzed
I don't think that papi's github is public unfortunately
I'm already talking with funnycube tho
hello!
java.lang.NoSuchMethodError: me.clip.placeholderapi.PlaceholderAPI.registerPlaceholderHook(Ljava/lang/String;Lme/clip/placeholderapi/PlaceholderHook;)Z
at kernitus.plugin.OldCombatMechanics.hooks.PlaceholderAPIHook.init(PlaceholderAPIHook.java:13) ~[?:?]
at kernitus.plugin.OldCombatMechanics.OCMMain.lambda$onEnable$0(OCMMain.java:61) ~[?:?]
at java.util.ArrayList.forEach(ArrayList.java:1257) ~[?:1.8.0_252]
at kernitus.plugin.OldCombatMechanics.OCMMain.onEnable(OCMMain.java:61) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[patched_1.12.2.jar:git-Paper-1618]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316) ~[patched_1.12.2.jar:git-Paper-1618]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) ~[patched_1.12.2.jar:git-Paper-1618]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:395) ~[patched_1.12.2.jar:git-Paper-1618]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:344) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:442) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:403) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:341) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:289) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616) ~[patched_1.12.2.jar:git-Paper-1618]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]
[09:48:09 INFO]: [OldCombatMechanics] Disabling OldCombatMechanics v1.8.1
[09:48:09 INFO]: [OldCombatMechanics] OldCombatMechanics v1.8.1 has been disabled
@daring basin,
As part of the 2.10.7 PlaceholderAPI update we broke some methods, please update to the latest PlaceholderAPI release found here to fix these issues.
^
well GP should update
just give us 2 minutes
we'll check how they are hooking into papi
thank you!
Okay
Tag me if you need me
https://github.com/TechFortress/GriefPrevention/issues/923
Here is their response to the issue
is it okay with 1.16?
the 2.10.7-Dev was working fine though this is strange.
Blitz?
๐ฆ
expansion
perfect.
wew
Whoโs the author of the gp expansion
Maybe we should fork and maintain it if he doesnโt
im happy for me to maintain it
people use it, i can try to provide updates to it frequently
I did at one time but Pixar took it over
ah i see
Donโt really matter to me who does tho lol
as long as its up to date 
its 1 less thing for u, so im happy to do it
i believe its a win-win to everyone
- i already updated it

I don't know why, but even on 2.10.8, chatcontrol and premiumvanish still don't parse the placeholders
And I can't find anything in my console about what is going wrong
tell them to update their shit then 
I thought that was not needed anymore (for now)?
2 methods have been removed enitrely afaik
and theyre probably still using them
the rest are deprecated for now
BossShopPro also doesn't parse placeholders.. that's a problem since it probably doesn't get an update anytime soon
BossShop is still alive? ๐ฎ
Not as much as I hoped
Never heard of that
What ever happened to the big TrMenu update?
https://github.com/Arasple/TrMenu/actionsWhy did you put that as a spoiler, lol?
yeah =/
I'm not sure if the dev will add one because he said that it's very complex
๐
Could be a way lol
And since the DM migrator wasn't updated for TrMenu v2....
BSP -> DM -> TrMenu v1 -> TrMenu v2 x)
๐
Ahh.. doubt that converts 100% correct that way.
the DM -> TrMenu v2 should be done soon anyways I guess
Ahh.. doubt that converts 100% correct that way.
at least we would have tried
ยฏ_(ใ)_/ยฏ
But TrMenu doesn't seem to have much updates either, last one was 6 march.. even BSP that I thought was dead received 1.16 + hexcode support though
ive used gabys converter before (to convert chestcommands to DM), it works fine. just not sure on TrMenus end. i assume its fine
That just removes the updater, not really an actual update in my eyes
TrMenu v2 will come on Spigot as Premium , but will still be open source and free to download on GitHub
I see, i'll consider it
Ah, I know the reason you hid the link, is it because people shit talk you for saying TrMenu? ๐
not all but some can ยฏ_(ใ)_/ยฏ
Why did you hide it, I must know ๐ค
I have no idea x)
What if I get a virus? ๐ญ
it's GitHub.....
and you can also build it yourself since it's open-source ยฏ_(ใ)_/ยฏ
I'm so scared, ๐ญ
anyways, it's not really the channel for that
Yeah okay, anyways, hope your having a good day ๐ฅณ
And what does x) mean? Is that like a EU thing?
x) is like xD and is like lol
oh ok
Does TruMenu V2 support all versions 1.8-1.16?
Pretty sure it's because he's from EU, idk.
Normal people: looks at $20 resource no thanks ๐ญ
Github users: Let me compile it hold up.
I mean you could classify normal people as the same ๐
actually github users: let's make my own plugin
Just some normal people don't know how to compile, and some do.
by copying the code from the open source plugin
weirdo
;-;
๐
I will never skid :kappa:
actually github users: let's make my own plugin
by copying the code from the open source plugin
that's exatcly that https://github.com/Proximyst/TAB-1
yeah
is that just the downloaded source like nothing changed at all?
What do you wanna do with it Blitz ๐
with what?
is that just the downloaded source like nothing changed at all?
Added spaces, removed spaces, add protocollib dependency while useless, and some useless things
@austere hawk hey can you update your placeholders for the HealthBar expansion?
Also maybe use 6 x instead of 5, just so people don't get confused about the hex
You gotta go to Expansions > Your Expansions and then you should see the edit button (looks like a gear)
Hi, will a Bungee version be released some day?
I would like to you know, hook my plugins with PAPI on bungee and for example be able to show them on my motd with no effort
And hook them together with a good api instead of directly doing it
its suppose to come out with papi v3. so SOONโข๏ธ
Hello, I need help with the PlaceHolderAPI. I am using the Clans - Clan System plugin. But the Prefixes of the clans do not appear to me
I've made it use 6 x's probably didn't check correctly before uploading also I'm not able to modify this in the update log?
i don't think so
Any can help me? :C
you added the placeholder anywhere you want to show the clan prefix?
why are all setRelationalPlaceholders(Player, Player, ...) methods deprecated and tell us to use setPlaceholders(OfflinePlayer, String) instead?
what version are you on?
what is the Math variable to make the sum of 2 servers (skywars1 and skywars2)
%premiumvanish_bungeeplayercount% i tried using this command in a scoreboard but it doesn't show players count
what type of scoreboard?
as in what scoreboard plugin
also do /papi parse me %premiumvanish_bungeeplayercount% and see what it returns
Anyone got chatreaction working with papi?
I have downloaded and parsed the placeholders but none of them seem to work. Never had this issue with any other plugon.
i think i PRd this
prd?
A nice was just here to report the same issue as you Firosee
yeah i did
but i have no idea where to report this
pull requested
Ah
do u know how to compile urself or shall i
ok ill do it
awesome thanks
yea i updated it
the dev build?
no the expansion
oh ok
i see you guys got this all under control already,
have a nice day guys o/
you updated it on the cloud or do i gotta add it manually ๐
alr
obviously
do you have the update
^
i don't see pr
did i not pr it?
the pr was already done i see
i definitely committed
ye i will
bet
@glad glen do you have access to that stuff? (updating other ecloud expansions)
it doesnt have maven/gradle so i gotta do it the long way ๐
i don't
rip
ay ty
@austere hawk 
awesome tyty guys
please test it ๐
all of em 
and made it the best
it really is the best
you did

idk but im happy to take over some of the more obscure ones like chatreaction for example
nbt?
%checkitem_add_mat:stone_amt:1%
ye ye
i thought about it
maybe next time I update it
it just kind of ruins the purpose of checkitem
whats wrong with with the give commands
it's not checking jack shit
it just kind of ruins the purpose of checkitem
(those were sent backwards)
and a give command would just be better
the mc give command is the best
nobody uses it lmao
I made a giveall command yesterday xD
for my plugin xD
lame
do you have special stuff?
like lore and what not
in front of them
and plays a pop sound
not for /giveall
but if I do /giveall hand it just copies the itemstack
so everything stays the same
so I can give special items from hand
1 sec brb
also
a cool thing
is that if you don't specify the amount
just /giveall dirt or something
it takes the maxStackSize
and uses that
not like essentials which just gives 64 of everything
xD
what I need to add is custom potion names so I can just do /giveall speed_potion or /giveall speed_throwable_potion and stuff like that
but that's for another day xD
also this kinda went off topic :)))
noice
ty for dat
0
during a chat reaction?
nope
i think you should make it return a number instead of nope @warm topaz, kinda weird
๐
xD
im thinking of maintaining this myself
i have a few placeholders in mind that i can add
if clip is happy with it ofc
Whole of chatreaction? If so go for it cos it needs updating
nono
just the expansion xD
xdd
@final shadow ๐
@pulsar siren,
Please respect the rules, be patient and don't ping staff members!
been over a year since an update xd
has it really?
omg
also, can we get the source for deluxetags expansion on github ๐๏ธ
the repo was created but theres no code ๐
Hello, the Statistic Expansions is working correctly?
Wow, now for older versions we can use the command, cool solved.
xD
%server_uptime% is broken :/
clip is aware
|| apparently someone changed something in the expansion but clip isnt naming names ||
=paste
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
@amber dirge,
As part of the 2.10.7 PlaceholderAPI update we broke some methods, please update to the latest PlaceholderAPI release found here to fix these issues.
bruh im on 2.10.8
dw about it you'll need to wait for a fix
Is there a way to return a placeholder argument? For Example, the %onlineplayers_names% placeholder, is there a way to grab just the 2nd name in that string?
what name? server_online returns an integer
sorry let me rephrase
Hey! is there a way to list placeholders through commands for hooks that aren't on the ecloud?
or a listplayers placeholder
@static crescent you want to get the list of online players and get the 2 player in that list?
ah
For any placeholder that prints multiple values
๐ค idk
Thanks for you help
so you want to get the second value of a random placeholder that returns a list/
then your best bet is javascript expansion
Is there any example expansion like that that i could use?
var placeholder = args[0];
fun getSecond(){
var list = placeholder.split(",");
return list[1];
}
getSecond();```
just made it
I think it should work as long as they are separated by just a comma
if its like string1, string2, string3 then change .split(",") to .split(", ")
could anyone tell me what the permission nodes are for PlaceholderAPI
thank you
Hey
For some reason my placeholderAPI is not updating in realtime
it only updates when i reset the holographic Display
Itโs the refresh placeholder not being used probably
that'd do it
๐ฎ
@turbid tide i used this command and it said "%premiumvanish_bungeeplayercount%" white text in chat
@minor hamlet,
Please respect the rules, be patient and don't ping staff members!
Is there a section for deluxe chat
@lofty mulch #spigot-linking
Ok, so, i am unsure if this is an issue for here, or an issue for the original plugin, but since I found the support channel for here first... Vault does not seem to want to register with placeholderAPI. I ran the download command (/papi ecloud download Vault) and then did a /papi reload. I do get an error on the console, which suggests that Vault does not have the placeholderapi as a soft depend in their latest version, but the ecloud expansion viewer does give correct link to where I got Vault from, so errm..
Long story short, I am confused on who to ask about this issue
[20:57:24 WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[20:57:24 WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[20:57:24 WARN]: at java.lang.Thread.run(Unknown Source)
This error occurs when connecting to the server.
A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.
A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.
im unable to register unofficial expansions that are downloaded using papi ecloud command. theres no errors in console. In game chat, it says 'unable to register <expansion name>'
Do you have any ideas?
I think you have to manually download them and add them to plugins/PlaceholderAPI/expansions folder
^ Then /papi reload
i did
go here: https://api.extendedclip.com/all/ and download them manually
do i delete all or only the ones that it cant load
playertime
doesnt load
all the ones that can load are the official ones
like server, pinger, player
and it didnt load
smae error
do you have the plugin?
because the playertime is an expansion for a plugin
and only works with that plugin
oof
ty
if you click https://i.imgur.com/PA21llD.png
also statistic time played no work
you downloaded the expansion@?
/papi parse A68AGaming %statistic_time_played%
wait
bruh
statistics expansion
ok
yep
no problem
On 2.10.8, my premiumvanish placeholders do not parse. PremiumVanish did update for 2.10.7 however..
Using 2.10.6 they do parse, so it's quite odd
Can we store papi info to mysql?
Not via papi itself
The plugins providing the data should be storing the data to mysql
do placeholders work for kiteboard?
hey, I wanted to ask, I'm making an economy plugin, and I need it to load on startup, but placeholder api wont load till later, what should I do to register the placeholders after the plugins onEnable triggers?
@minor hamlet they should
i tried but they dont 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.
me or him?
you
?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
hey, I wanted to ask, I'm making an economy plugin, and I need it to load on startup, but placeholder api wont load till later, what should I do to register the placeholders after the plugins onEnable triggers?
@karmic granite spigot should already do this if u have papi defined as a depends/softdepend in ur plugin.yml
it doesn't save...
@warm topaz I do have it as a softdepend, but it still loads before papi does
it doesn't save on hastepin
@minor hamlet press ctrl+s then copy the link
i do that but it doesn't respod
@karmic granite just schedule a sync delayed task onEnable and register in that
It will register after the โdoneโ message in the startup log
Also donโt check if the plugin is enabled just check if papi is not null
....
I was simply trying to link to my question that got lost in here lol
Ok, copy and pasting then
Ok, so, i am unsure if this is an issue for here, or an issue for the original plugin, but since I found the support channel for here first... Vault does not seem to want to register with placeholderAPI. I ran the download command (/papi ecloud download Vault) and then did a /papi reload. I do get an error on the console, which suggests that Vault does not have the placeholderapi as a soft depend in their latest version, but the ecloud expansion viewer does give correct link to where I got Vault from, so errm..
Long story short, I am confused on who to ask about this issue
=paste
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
Can you show the error
I can try. The SSH is on a machine that doesn't have discord on it, so may be a sec
[Server thread/WARN]: [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend, softdepend or loadbefore of this plugin.
Yea that's not an error, that's a warning you can safelly ignore
Ok, but that only message and the vault extention does not load
Ant the placeholders for vault don't work
If you parse the placeholder using /papi parse, does it parse it?
Let me try it with each of the placeholders. Give me a sec
It doesn't parse
And /papi list does not show Vault, though Expansion-vault.jar is located in plugins/PlaceholderAPI/expansions
I can get around it by using a vault compatible Economy plugin that has its own PlaceholderAPI hooks
how to solve this error with luckperms expansion
[14:07:40 ERROR]: [PlaceholderAPI] expansion class EssentialsExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use net/ess3/api/IEssentials
[14:07:40 ERROR]: [PlaceholderAPI] expansion class LuckPermsExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use net/luckperms/api/LuckPerms
[14:07:40 INFO]: [PlaceholderAPI] Successfully registered expansion: server
[14:07:40 INFO]: 5 placeholder hooks successfully registered!```
does anybody know any good plugin which sends papi data to mysql?
I mean, papi data is typically retrieved from plugins
A nice one as well 
https://paste.helpch.at/muximereyi.md placeholders don't work with kiteboard :<
any help ?
I mean it gives you the answer in the error you sent expansion class LuckPermsExpansion is outdated:
I understand, how should I proceed to get back to work?
I tried exactly that but I was unsuccessful
try deleting the current .jar file and redownloading
i have no clue but it might help lel
Any additional views an the vault issue before I just bypass it in its entirety?
Hello guys! Who know how to fix this https://pastebin.com/rV3JaQyp?
And this one https://pastebin.com/Js8XUsQw
And if i try to this from game https://pastebin.com/LS7pMD5H
/papi ecloud download Vault
/papi reload
does the javascript cooldown still work? cant get it to work on 1.16.1
You have any console log?
Failed to set ScriptEngine for javascript placeholder: cooldown - https://paste.md-5.net/suyizisatu.css
what the cooldown: file: cooldown.js?
its there
it was working before on 1.15.2 but somewhere it broke and no longer works for either that or 1.16.1 paper
idk maybe its the new placeholdeapi update ill have to downgrade and check not sure
Why my js placeholder broken when i update to latest papi ? https://paste.helpch.at/ekocovuveq.js
did you test the guilds placeholders?
