#placeholder-api
1 messages ยท Page 61 of 1
any errors?
possible the jar version doesnt match the listed version on the cloud
the ecloud is 1.3 the jar is 1.3.0
no errors
i think its /papi ecloud refresh or something
still saying it needs a update?
I deleted the old expansion and download again now it works
๐
hence the importance of keeping the versions the same jar and cloud @mint fable ๐
means 1.2 was also always needing an update
I will have ot check but I think they change file name
not really
hey, I updated mine you can't wink at me anymore
my statement was correct still ๐
and I also said was
keyword
||maybe somebody should check the version next time before verifying||
i blame the person who verified the author
and when I mess up, I'll blame the person who verified me, since I guess I'm verified now
so whats thing about removing expansions not being used?
Lol cj
@austere hawk this should be here,
/papi parse me %checkitem_mat:STONE,amt:1,data:1% what it returns?
ok```/papi ecloud download checkitem
/papi reload
but how
The format like what do u want instead of d and m etc
just type it here
now it say yes
@austere hawk ok then now its working, ur shop should too if u setup it correctly
did u add a command to do that?
yes
- '[console] clear %player_name% CobbleStone 1'
this
oh no
i found the big issue
could not pass event InventoryCLickEvent to DeluxeMenus v1.10.5
hm?
heyy pls help me
Spigot version?
1.14
1.14 broke it
@obsidian niche can u be patient, gaby went to eat and he will be back after.
U didn't send him the full list btw
this is sad :<
just only when i sell item
sry oke
its because dm uses inventory.getdisplayname or smth
What did u do? Since dm works in 1.14
oh it does?
oh I didn't know clip already added support
on my testing server DeluxeMenus-1.10.5 has been working with no errors
possible latest dev build of 1.14 killed it dead
he didn't :P @sharp burrow
latest 1.14 ironic?
it said cant find player with this name
function newDateFormat() {
var date = '%server_countdown_dd/MM/yyyy-HH:mm_01/06/2019-06:30%';
var day = 'gรผn';
var hour = 'saat';
return date.replace(/d/, day).replace(/h/, hour);
}
newDateFormat();```
@obsidian niche
even thought buying it work fine
/papi ecloud download player
/papi reload ``` @austere hawk
updated yesterday will double check things
had a couple of people ask about it dying completely in 1.14
u have to download player expansion (by running this commands) to make all player placeholders work
my testing menus may not have enough going on
i already have papi player as well
still says couldn't find the player?
well then u dont have player expansion
@vivid sparrow
/papi list is it there?
@obsidian niche https://github.com/PlaceholderAPI/Javascript-Expansion/wiki but use his code instead
And use /papi reload instead of /papijsp reload
@austere hawk are you using ess?
ess is still got tons of bugs in 1.14
yes
ok then it should work? Run the command in-game and see what u get
Without the Placeholder
i run this /clear ShiroBunnyPie cobblestone 1
but still say player dont fuind
weird
=paste
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
https://paste.helpch.at/eqadijoxuv.makefile
but i have 6 on me
pls look @vivid sparrow
/clear name 4:0 1
``` try this
not progress
um
well then i guess ess's command is broken. Not dm issue
no issues running give commands from console on my 1.14 test server that's 2 versions behind
okie i gona test something
I am not running essx due to it randomly makes it day, and many other things thats was being glitchy
The clear command isnt working ironi not the give
do u think cmi will work with it?
ok, but that is one thing in ess thats is buggy
o nice
who need ess when u can just use /minecraft:clear <player> <item> <amount> instead
ahahaha
o didn't know mc had a clear command
this is silly
Anyways, glad u got it working
t got it to work using lowercase for material
aBoo cough #development cough
ah, legit this me that error every time
Someone will help u soon, hopefully ๐
function newDateFormat() {
var date = '%server_countdown_dd/MM/yyyy-HH:mm_01/06/2019-06:30%';
var day = ' gรผn';
var hour = ' saat';
var minute = ' dakika';
var second = ' saniye';
return date.replace(/d/, day).replace(/h/, hour).replace(/m/, minute).replace(/s/, second);
}
newDateFormat();
but seconds not working
@vivid sparrow

lol
funny?
javascript lol
gabby
do we know what the id for stone?
Why are we using #placeholder-api channel then?
me?
Yes you.
which channel
#development exists :3
It's javascript expansion from papi @austere hawk
I guess you will have to replace it manually
last question
&c%essentials_kit_time_until_available_gold%
how d= gun
doing countdown
same thing, just replace the date with that placeholder
if you give me a few I can make it accept arguments so you wont need 1 for each kit
nam, I'm good
@obsidian niche
Please be patient and don't ping helpful or staff members!
I said no, don't insist.
Try this https://paste.helpch.at/ubicojavet.js
usage %javascript_(name)_kit name here%
but all kits have the same time period
- ' &7Durumu&8: &c%javascript_kit_diamond%'
i dont now
lol?
Test it?
check what this returns var cooldown = '%essentials_kit_time_until_available_' + kit + '%';
ye
remove the dot
Yes
not working
pls dm go
Im not so good at JS so i probably wont be able to help you.
skript papi?
Hello, I have a problem with color PlaceHolder, like Bedwars team color and faction relation, color are not working
https://i.imgur.com/QpV86Nh.png
Someone have this issue to ?
{teamcolor} isn't a placeholderapi placeholder.
I use %bw1058_player_team%
And /papi parse <player> %bw1058_player_team%
And I have the same issue with %rel_factions_relation_color%
No color not appear and the place holder stay visible like this in the chat
chat plugin?
Ok, thanks
Does luckperms have its own expansion or does vault prefix work?
=papi faction
so when is the factions expansion going to get updated???????????????
Mcore faction was updated to 1.13.2 a while back and now it has been updated to 1.14 and many of the placeholders are broke
Why even play factions on 1.14 tho 
to complain about it?
either way it's not working, and it should be updated to the last 3 placeholders work again
why do people write plugins using skript
possibly 2.10.0 broke something?
then nvm xD
I know they changed api when they updated factions
You gotta hop on the bandwagon, make an update that breaks everything
just like spigot
I had to update a plugin I used that hooks into it
ok, that will not be hard for me since I do that often when I work on my plugins
my brain thinks faster then my hands can type and they are not in sync with each other
@sharp burrow it does have an expansion but the vault placeholders work too
oh I just found it
@sharp burrow
Anyone know how to make a simple 24 countdown?
-papi server
yea
but why the bot isnt working hmmmmmmmm
eg
%server_countdown_dd.MM.yyyy_5.5.2019%
so the format then the date u want same as the format
no problem ๐
will add one
i just hosted my minecraft server and i see the time is wrong.. how can i adjust?
date is correct but the time is -3 hours
Change timezone if possible?
from my pc? my pc show t he right time
Server != PC
your BIOS time might be off
before i host my server, the time was right
or the time zone could be wrong, and you adjusted time to fix the 3 hour difference, but was not correct way to fix
WHat is your OS version?
windows 10
windows 1.0
I can say if you have the clock set right in windows it should be right on your server
i cant send photos
imgur
You submit it and we will look at it when we get time.
where?
To the ecloud.
no like submit it where?
...?
where do i submit my request
To the ecloud.
yeh
Is there any reason Vault Placeholders unload themselves when the server starts? I did recently update to the latest version of Vault. All other placeholders load fine and if I do a /papi reload it will load the Vault placeholders just fine. Thanks in advance!
wrong version possibly
no
what spigot version are you on?
1.12?
You need the older version of the vault placeholder expansion
Could try the dev build of papi

What is tier 1-9 lol
@idle pumice you can try the version here http://ci.extendedclip.com/job/PlaceholderAPI/
@oblique radish #off-topic pls
Ok @balmy marten
The Dev version(2.10.0-DEV-64) unloads all the placeholders it looks like.
placeholders for kills and deaths statistic?
-papi statistic
ah i find it %statistic_player_kills%
yes ๐
Does PlaceholderAPI support TitleManager and PrisonRanksX?
I'm currently having issues with it not loading the placeholders and it crashing TitleManager
I've talked to both Developers of PrisonRanksX and TitleManager and they redirected me here.
The right question is: Does TitleManager and PrisonRanksX support placeholderapi?
They do.
tm does afaik
TM does
PRX doubtful
but idk about the other plugin
PrisonRanksX does aswell.
What's the crash error?
- PlaceholderAPI Support
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
Nothing ab placeholderapi as far as I can see.
stating it may be an issue with PlaceholderAPI.
what placeholders are u using ?
I reposted a more complete version
- '&c Rank: &7%prisonranksx_currentrank_name%'
%prisonranksx_currentrank_name%
does it work when u use the parse command ?
/papi parse me %prisonranksx_currentrank_name%
Yep (F)
which is my current prison rank.
The issue comes from that the scoreboard completely works until meeting one prisonranksx placeholder
I've run out of options as I've talked with both the Developers.
try to reduce the refresh/update time for the placeholder ?
but that happens on join
apparently
Yeah it happens when I rejoin
so i guess from the titles that tm send on join, are u using prison rank placeholders there?
Clip's plugin is working fine.. the placeholder is working fine too, since it gave no error when u parse it using papi command right?
mhm
and here it gave NullPointerException which is something is returning null that shouldnt
ok
or could be from prisonranksx expansion, idk sorry
Good luck ๐ but sorry i cant help u with that
Latest PAPI
Latest Vault
Expansion installed and reloaded
only works if I do /papi reload
otherwise it wont load on restart
i got the same issue
Grab the dev build
On Jenkins
@austere hawk @brisk coral @latent sparrow
Use build 63
alright thanks
ok tysm!
Report back if that issue was resolved for u in that build
Should be the same issue we fixed the other day
It was an ez fix
We will update officially today
oh wow
You really want to drop another update that soon?
2.10.1.1
2.10.1 ya I think we should since that is a major issue we resolved
That's fine.
Lmao
really spiced up my server
@final shadow that's a noice fix lel https://cdn.discordapp.com/attachments/573153691771863057/574599361594392626/unknown.png
Let us see the startup log
We literally just moved when the placeholders get registered.
It has to be on your end because we've already had multiple testers come back and say issues were fixed.
05.05 14:10:43 [Server] ERROR Plugin PlaceholderAPI v2.10.0-DEV-63 has failed to register events for class me.clip.placeholderapi.PlaceholderListener because org/bukkit/event/server/ServerLoadEvent does not exist.```
Are you on 1.8.8?
1.12.2
O.o
Hm
You've got to be kidding me
oof
yes im kidding you im on 1.6.4
Fix
Glare
Damn ok
1.12.2 = best version
yeah the one before u became alive clip
We move that listener to its own class
I can't believe that event was only added in 1.13.2
If not, load after like 60 seconds.
Ya
I can do it in a few
kk
Would like y'alls opinions on the checkitem expansion
if you have a stone in your inventory with data 1, a displayname, and a lore, should %checkitem_mat:STONE% return yes?
one reason I bring it up: if you're trying to just check for a regular piece of stone so that you can make a shop with deluxemenus
and then clear that said stone, it wouldn't work
Add a part in the placeholder to be strict
Girth
and what would adding that make it do?
Or which one should it return if you don't have strict?
yes or no?
Not having strict would only check the material and not care about the meta
okay I see
Having strict would disregard any stone with a special name and lore
So if strict isnโt defined then any stone would return yes
ye
I think I gotta sleep on that one xD
brain not working rn :L
I think I have an idea
default to data:0 if they don't use the modifier?
@trim mist
i think i know what screws up the loading in 2.10
that wasnt an issue before
Hmm?
That's a PR you approved
ooh
that was from a commit that was introduced in 2.10
Well, get rid of it.
30 seconds.
excited for that possible plugin.yml looking stuff
having that depend will make this easy
30 seconds may be too long?
15 seconds
Wat are you trying to do
is there an event that triggers when the server is fully loaded?
might be a lot for this, but maybe you could get PluginEnableEvent
and if there's not any after 5 seconds, load expansions?
What if the plugin is just running sync and it holds trying to update check?
Quite often, actually.
That's why in Guilds, update checks and announcements are 100% async
ya...
Im sure clip can come up with a good solution.
there's no "perfect" time
yep
that's 1.13 though?
oh i see
oh man
20*15 makes a lot of sense
I've always just written the number ffs
I love 2015
lol
So, what's the verdict Scholtes?
glare
what if in the try catch
if the event isnt avail
go ahead and call register right there
but still run a task to register after 15 seconds
Isn't that what you did?
that way if there is a chance people join the server before the 15 secs are up
the placeholders that could register did
no i only call register in the delayed task
essentially this would have register called twice
I mean yeah that could work.
Why is papi-updates convo 
oh my, gotta love comments
@balmy marten Possibly make it not be every comment?
issues opend/closed, commits, etc.
Not really how github works sadly.
We can either do just pushes or do github stuff
Alright Clip, when are you planning to drop the update today? Tonight? If all goes well.
ah
||had to go do that||
@latent sparrow
@trim mist He's eating pizza rn
oof
you eat a lot of tacos
bon apetit
I need help
Theres not time to wait! Ask your question @crude trail!
Some of my pholders aren't working
And I didn't change anything I just updated the plugin
What version is your server
1.8.8
BOOM
Can u report back and let us know if that works for u
that's how you do testing
now I want tacos
it's 10 am and I haven't gone to sleep and I want tacos
Probs will endu p now doing that.
I slept so good last night
I stayed up till midnight and I thought that was late.
Actually #off-topic so I can continue.
Whelp, there's your answer @final shadow
Crazy Envoy, BattleLevels and FactionsUUID placeholders don't work
any errors @crude trail ?
05.05 17:14:36 [Server] ERROR Failed to init placeholder expansion from class: com.extendedclip.papi.expansion.factions.MCoreFactionsExpansion
05.05 17:14:36 [Server] ERROR com/massivecraft/factions/RelationParticipator
This, but that has always been there
Ah damn yeah
They need to add persist true
Since we delay registration
It removes them
Smh
Weโre gonna remove the delay
Ok Iโm not home so itโll be a bit before I make the changes
That's fine.
hey, so whenever i start my server (spigot 1.14, latest) the vault expansion isn't registered, but when i type /papi register Expansion-Vault or /papi reload, it works fine. any fix to this, other than using skript to run "papi register Expansion-Vault" when the server is fully loaded?
@final shadow so it worked for vault
I got a few things I thought about regarding some other issues with that build
Iโll implement the ideas when I get home
add it back ^^
lmao
Niall read #clips-pings
I dispatch /daddy parse player {placeholder}
can u test that build
all good
holy shit, first time I exported a plugin without errors ๐ฎ
๐
shhh
@heady falcon But how do you make them?
Ooh
Finish yo game
can u send me your startup log
@crude trail
lol
he has like 10 plugins still using EZPlaceholderHook
do u think we should just add it back for now
Oh Lord
until 3.0
well thats the issue
If they don't listen, it's their fault
Fine. Add it back until 3
But at 3, it's going away for good. They'll have had a 2 years notice at that point
That's already what we are doing.
GuiRedeemMCMMO
PvPingMobCoins
CrazyCrates
BattleLevels
CrazyEnvoy
MoreFish
KoTH
all use EZPlaceholderHook
Okay put it back in, I will reach out to the authors today.
Clip, Ima DM you what I'll be messaging them.
@crude trail http://ci.extendedclip.com/job/PlaceholderAPI/67/
try that one
They need to use PlaceholderExpansion even if they want to provide it from their plugin
clip, what are we having them change to, PlaceholderExpansion?
I'll like them that.
u think we should run a check after everything is loaded
and print in console, x plugin still uses EZPlaceholderHook.....etc
basically a warning
we can call out all those pesky plugins that havevnt updated so people will relay the message the importance of switching
We also need to remove ezplaceholderhook examples from the wiki
not good to show them how to use it if we want to remove it
What u think on this
So someone suggested that we could also for some time check if they are using the old hook and then disable the plugin.
That way the plugin author will have to update it.
That would be an action to take after we contact the authors using that old hook.
then they'll remove papi lol
just remove it, they've had long enough tbh
users will come to them out of their own due to the errors
and then they'll have to update it
Correct.
So what we could do for the next update is when a plugin with that hook tries to hook in, add it to a list, sending a warning message. That or just refuse to let it hook.
So keep the class
Just refuse allowing letting the class register
To prevent the other plugin from disabling
For the next update, yes.
Just the placeholders will break
Yes
Rather than the whole plugin
That's for like 2.10.2 or whatever
Yes, that can be the first step.
Refuse to hook, add to a list or something, send console warning.
Alrighty
I updated the docs a bit too
kk
Yup. I was able to reach out to about 30 developers so far.
We'll do our other approaches we talked about earlier too.
You got like 6 devs in cube development alone. Possibly cleser to 8 if the previous managers/staff see it.
xD.
Only a few have seen it so far though.
It's not like it's being removed tomorrow ๐
xD.
If anything, an update tomorrow would just prevent plugins using that method to hook in.
Just simply break the placeholders for it and debug to the console.
The player placeholder "%player_timestamp%" is not working. Other player placeholders however do function properly.
Versions: Spigot 1.13.2, PAPI 2.10.0, Player Expansion 1.7.1
looks like its not a placeholder anymore..
doesnt exist in the source code of player expansion
Oh? Was the placeholder name changed to something else or?
I don't think so
Is this a temporary issue or this is a permanent thing and there wont be a timestamp placeholder? (1 or 2)
idk it just doesnt exist
oof
Yeah strange things are happening to that expansion. cc: @final shadow
Seems a few placeholders were removed by mistake
if u mean the ones that i added/changed, looks like clip fixed that in v1.7.1 but didnt push to gh
damn, exactly what I thought would happen happened
I fell asleep and forgot my idea for checkitem
rip lol
hey guys im using spigot 1.8.8, is it ok to the use the lastest version (2.10.0)? will there be any conflicts?
Papi should work on 1.6+
Doesn't work on 1.4 tho :L:
ok thx
does any chance papi works with essentialsx chat format?
How to get DeluxeTags working using essentials chat:
- Turn off the DeluxeChat option in the DeluxeTags config.
- Turn off the format_chat option in the DeluxeTags config.
- Replace all the %placeholders% with {placeholders}
- Restart the server
oops wrong one xD
does papi?
Papi placeholders works with EssXChat yeah
that's cool
Just need to do %% instead of {}
Oh sorry, yes that one
https://www.spigotmc.org/resources/chatinjector.38327/
Think you need that plugin too
That plugin allows it to ๐
I see, that makes more sense
;D It's pretty nifty
@sharp verge so in conclusion get chatinjector plugin and use placeholders with {} instead of %%
thxc
For some reason since the latest placeholderAPI update, the vault placeholders break after each restart until I do /papi reload
The latest version has some bugs, just try restarting your server instead
(or using an older version)
Use the latest dev build
^my bad
Thanks for the reply, appreciated
@final shadow is the creator himself so he needs to give help or funnycube bans him
I did
Lol

well the main fix in dev #65 was fixing that, but it only ended up fixing vault I think?
try using the latest dev build
Yea
ah, then I can't help I guess :L
I can wait
Hm, why do I have to do /papi reload everytime I restart my server now? The placeholders won't work until I do so.

They may be using older methods to hook in which don't support what you're used to.
We're in the process of removing old methods and rewriting some of the plugin.
Would you be interested in trying our latest development build? http://ci.extendedclip.com/view/Plugins/job/PlaceholderAPI/68/artifact/target/PlaceholderAPI-2.10.0-DEV-68.jar
Sure, I can give it a try ๐
Let us know if it resolves the issue
Many have reported the same issue and not many have got back to us letting us know the issue was resolved so it would be appreciated
I'll give you an answer in 5 ๐
Ty
It seems to have fixed all the previous issues ๐
The placeholders are now loading as they should.
I won't be changing it now, don't worry ๐
so is there going to be a change on papi and expansions?
Yeah when 3.0 is released
does that mean my expansion will be broke
Yeah but we will give u time to update before we actually Release
so I just need to update the expansion to work on 3.0
Yes
guess I will need to work on that now
ok, I'm jumping the gun I see
Weโre still a few months away
oh, thought this it was tomorrow, guess the release tomorrow will not break my expansion
ok, the 3.0 will make it better I assume
There will most likely be many more 2.x updates
Well thatโs the goal lol
Weโre rewriting the entire plugin from scratch
Not using any existing code
Same concept in a way
ok, back to waiting patiently for plugins to update to 1.14
how to use placeholder from IslandWorld since it has no ecloud download?
yeah
it just says there is no download
but it just displays as %islandworld_can_build% when i use it
./papi parse <player> %islandworld_can_build% right?
ok then its probably built-into the plugin
yes
did u try to restart the server? and then try it
yes
idk sorry, ull have to contact the plugin author
@brazen isle what plugin
Islandworld and papi
@brazen isle paid or free?
Never heard of that pl
Paid
I didn't get quite 100% sure answer if the %player_timestamp% placeholder was permanently removed or if it's an temporary bug?
hey
is there any way of like hooking into another plugin's shop
and making a placeholder
i want to make placeholders that return the price of item held in hand/ item specified
Ooh so hooking from the shop plugin into Papi?
yeah kinda
but you'd probably have to do actual coding right?
you can just make a js
Idk if anything like that has been done tbh?
where would you use it?
So basically /worth but it hooks into ShopGUI
yeah
Oh a GUI 
and a placeholder
but a a placeholder
instead of a command
yea
interesting thought
i would attempt just making my own plugin just for placeholders
I don't have the plugin though so I wouldn't be able to make it
no
just because I could have a class of the API doesn't mean I can use it
if I don't have the plugin there's a lot of classes that would be missing
oh i see
like Shop and ShopItem
do you own any shop plugins?
not really, no
why would you need to display worth in a menu?
the menu you should be using is the ones integrated in shopguiplus?
idk
because i want to implement it
with a 3d gui
found this cool plugin
and i want to make use of it
yeah
but if the price never changes you could hard code it
It's hard/impossible to help without having access to the code myself
oh i see
you have to know java and you have to be able to know what you're doing with it really
you could always try #development and see if anybody is able to help you
well i know python, and have some experience in js
but that doesnt mean i know java
๐คท
ya... :L
The daddy expansion will be released on ecloud in a bit
utf
noice ๐
nice
Thank you daddy
lmfao @final shadow
๐
./papi ecloud download daddy
lol
./papi ecloud download GoDaddy

let me know if it works haha
sure
How to use a placeholder in the per world different display name on chat
wut?
Who maintains the vault placeholders?
The new commas placeholder is kind of weird, or atleast for our country.
We use for example 32.280,00 but the placeholder uses 32,280. Would it be possible to add a different format with the dot? So it shows '32.280'?
@lofty pine which placeholder is it
We all maintain it
You'd have to add it in yourself. We did it the normal way for our country so you'll have to modify it to your liking.
Glare at nap time letโs release the update
The source code is public
When it's ready.
Clip, go for it, I'm a little goofy today so idk how much around I'll be.
I had an interesting night.
Btw frosty.
Gaby, I know, I've been shown this picture multiple times
;-;
Here you go Frosty
๐
I mean, I don't code, so editting the source code...
Isn't it possible to add another placeholder into the vault expansion?
It is.
Bro only call me out like that in #off-topic
oof
Kk
Oofy
@final shadow Did you fix sorting?
Na screw it
kk
Didnโt have time to yesterday and these kids are going ham today
Fair enough
Wonโt be able to get on until nap time
kk
after nap time I do my best work...lol
After fap time
Ya
i did it before
Then reload papi
/daddy reload
Naw it's removed
same thing
Check #ecloud-updates
wait
@sharp jay Unknown expansion.
hehe
Oh k