#placeholder-api
1 messages · Page 179 of 1
just so you understand what's going on, one of your expansion is loading a class from the griefprevention plugin without telling spigot that the plugin is a soft depend
%statistic_player_kills% for kills and %statistic_deaths% for deaths
do i need to download anything?
Sure, I'm not on the PC right now, I'll send it when I get back home
yeah. the statistic expansion. /papi ecloud download statistic then /papi reload
doesnt work sad
have you tested it with the /papi parse command?
So I wanted to know if it is possible to use a placeholder inside a placeholder
that's really up to every expansion and at most you can use placeholder in placeholder. so 2 layers.
Can you show an example of such a placeholder? I don't quite understand
well the math expansion for example: %math_0_{player_health_rounded}/2% where {player_health_rounded} is a placeholder
can anyone send me placeholderapi dev builds? please
Im not know how to use gradlew.
I know how to use maven but grandlew no
You can find the latest PlaceholderAPI dev builds here: https://ci.extendedclip.com/job/PlaceholderAPI/
@austere hawk ^^^
Does anyone else have a problem with Placeholder API /papi reload?
With the current version*
no. do you get any errors? or what exactly is wrong
Updated it to Dev version and works good now! 🙂
👍
im using papi to show the essentials nickname in tab and it just shows in tab %essentials_nickname%
i did /papi parse me %essentials_nickname%
and it just says in chat this %essentials_nickname%
download the essentials expansion then
/papi ecloud download essentials
then /papi reload
then please do a /papi dump and send the generated link over
ok. so seems like the expansion is not loading but is downloaded. can you restart the server and send the fresh startup log over? (use a paste bin for it)
from logs?
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 ^^^
?paste
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
Seems like you have the mysql expansion which is broken and when its loaded it just breaks the loader entirely. I recommend you delete the Expansion-mysql.jar from plugins/PlaceholderAPI/expansions and reastart your server
no worries
can I see the other method from the expansion? the register placeholders one
also if possible use a paste bin
to send the entire class
thanks it works now
no problem
no need for that
Ok
Alright 👍
you need to override the onRequest method. also it takes an offlineplayer not a player
no problem 👍
Thanks for your prompt reply, guys! Good Support!
A bit confused. How are you making the placeholder? Are you making your own expansion? Or what exactly
that's up to the developer of the expansion to provide. we can't force them to do so if they don't want to.
(and yeah the ecloud one is updated by someone else. not clip. the PAPI one hasnt been updated in like 3 years)
i've install plugins: PlaceHolderAPI, ProtocolLib, HolographicDisplays, executed commands /papi ecloud download vault and then /papi reload and still %vault_eco_top_balance_1% doesn't work on HolographicDisplays
Yeah "PlaceholderAPI Support"
You are just using this in bad timezone
Papi is throwing an absolute fit right now when I try and reload after downloading Vault
Your quest expansion doesn't support the version of the expansion you're using
How did you figure that out by looking at it?
java.lang.NoClassDefFoundError: me/blackvein/quests/Quest
Was looking for something that didn't exist
hence Glare's reasoning for it not being support at the current version
any recommendation for how to fix it?
Well turning it on then back off again didn't work but deleting the file and redownloading it worked....
Not sure if you wanted instant support but you might want to know its not even PAPIs fault. HD just doesn't support PAPI. You will have yo also install holographic extension
or decent holograms then you dont need any dependency 😏
Please respect the rules, be patient and don't ping staff members!
does anyone know why it doesn't count statistics from %statistic_deaths%? it is always set to 0.
make sure u have the statistics enabled in the bukkit/spigot.yml, whichever config its in
thanks
So-with.. I want to make a placeholder via plugins/placeholderapi/configs/, which will change values depending on the player's game mode. For example, if the player has a creative mode, then the placeholder will take the value "Hello", if the survival mode, then "Hi".
Please respect the rules, be patient and don't ping staff members!
Don't @mention staff **unless they are actively in a conversation with you. **
I'm not sure if that's possible. this sounds like something you'd do with the javascript expansion instead
yeah I Don't think it considers a 24h old conversation as an active one. lol
Our former technical admin did something similar with the health of the players. For example, when a player has 20 hp, then the color will be green, when 10 hp, then yellow. I can throw off the configs, it's on version 1.8, I don't remember which version PAPI was there.
Aa, I understand, I apologize then xD
I'm afraid I'm not experienced with the config expansion. but I know for sure you can do this with the javascript expansion. you will need to know some javascript tho.
🥲
oh boy. that looks awuful. that'd be 3 lines in javascript.
but looks pretty easy to do tho anyways
Aahahahaha, I forgot to mention that that technician was not famous for straight hands, so to speak.
Can you tell me what it means to do through javascript?
I don't really understand this topic.
config:
configs:
NAME:
file_name: FILE_NAME.yml
paths:
PATH1: PATH1.PATH-OPTION
PATH2: PATH2.PATH-OPTION
file_path: FILE_PATH```
so: NAME is whatever the placeholder name should be,
FILE_NAME is the name of the file you want to put the config in
PATH1/PATH2 the paths to compare to,
FILE_PATH is the where the FILE_NAME file will be located at.
so basically to explain to you what the one you have does exactly
is
take the path hp.%player_health_rounded% which will be basically hp.20 for a player that has 20 health, and display whatever option is at that path in a file called hp.yml that you can find in plugins/PlaceholderAPI/hp.yml
thru the javascript expansion. The javascript expansion allows you to execute javascript code and display an output based on that code
okay.. in this way what will id, data type and the rest of the expansion mean in the config? https://ibb.co/8YsfhFj
By the way, something must have changed in the new version, because, for example, this is what the example configuration looks like. https://ibb.co/4NSYGYm
1can you show me the example.yml file please?
%config_hp_STRING_hp.{player_health_rounded}_VALUE-IF-IT-CAN'T-FIND-ONE-IN-CONFIG% this is probably what you want to use.
you might also have to update the PAPI config.yml for the new path format
There's nothing in it
alright. I still think that this is how you have to do it: <#placeholder-api message>
but you might have to update the config
delete the config so that it is re-created?
from this to:
config:
configs:
hp: /plugins/PlaceholderAPI/configs/hp.yml``` and move the hp.yml file in the `/plugins/PlaceholderAPI/configs/` folder
no. change it to this ^
Ah, got it. But I don't need hp, ahah. I just want to change the labels depending on the gm
I just don't understand how PAPI will understand that the values should change from gm (according to the new format)
okay
go to plugins/PlaceholderAPI/configs and add a gamemode.yml file
oh you already made it. right
Is there no reference to gm, or is it indicated in the placeholder?
then use %config_tabgm_STRING_tabgm.{player_gamemode}_DEFAULT-VALUE%
use this
placeholder
And what if I have the placeholder %health% specified in one of the values? Replace with {health}? https://ibb.co/HhtCrv6
yeah. well {player_health} since it only supports PAPI placeholders
Nope, it doesn't work https://ibb.co/YTvrYHw
I think I realized that hp is the same integer type. Is there any way to make it display both integer and string?
well. that's because you have to make a new file. you can't use tabgm for that.
if you still have your hp.yml file, add it to plugins/PlaceholderAPI/configs
then make sure this is set in plugins/PlaceholderAPI/config.yml: hp: /plugins/PlaceholderAPI/configs/hp.yml
and then use %config_tabgm_STRING_hp.{player_health}%
I did it this way (screenshots: https://ibb.co/kcQRgZ8 https://ibb.co/nD4jTXK). The software doesn't work anyway: https://ibb.co/dQtNQgj
I'm actually very confused. did you misunderstood what I said or what are you trying to even do?
Aahahah. I want the health value to be displayed along with the text
Please respect the rules, be patient and don't ping staff members!
Well, I did it a little differently. I left tabgm alone, created an additional tabgm2 file, where I compared the values. For gm adventure and survival, the value is {player_health_rounded}. As a result, it displays this way, in raw text. And when changing to INTEGER in datatype, it returns the value 0, although I have, for example, 20 hp. (https://ibb.co/w4ZZKGB https://ibb.co/rtT2bZf https://ibb.co/d7Hcxvb)
All... after 100 years, I realized how to do it, this option is working: %config_tabhp_CHAR_tabhp.color depending on the value of {player_health_rounded}%%config_tabgm_STRING_tabgm.{player_gamemode}_{player_health_rounded} &fЗдоровья%
where: tabhp - color depending on the value of {player_health_rounded}
tabgm - text value depending on {player_gamemode}
{player_health_rounded} &fЗдоровья - the default value, with the condition that we will not write anything for SURVIVAL in the tabgm config
Hello
Papi is breaking my plugin by blocking spark tps api.
It always sends 0.
It only happens with placeholderapi on 1.18 server
Btw I know 1.18 is not officialy supported
Fixed by adding as depend
Hi, I have a problem, Placeholder api just isnt working.. I test anything by parse or special PAPI test plugin, but everyplaceholder is shown like %player% or %tps% or just %any_placeholder%, but not the real placeholder
Im using 1.18 latest paper with latest PAPI release
Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload
Ok, so the playerlike works, but from plan, TAB or even basic like %afk% or %world% (shown as Bukkit at wiki) dont work
I dont get it, why are some working and some not ? For example placeholder from plan or tab are not working
Andi have their newest updated versions
Or %vault-prefix% is showing nothing
I think so
the - version is a TAB only placeholder
they won't work in other plugins, so you have to use the PAPI version (aka the one Blitz told you above)
Okey, i got it thanks, but placeholder from PLAN %plan_player_time_active_raw% for example is not working too 😦
Just some are, and some not
you should try to contact the author of the PLAN plugin then
Yea, thanks i will try it, it looks not problem on PAPI side
java.lang.NullPointerException: Cannot invoke "me.clip.placeholderapi.PlaceholderAPIPlugin.getLocalExpansionManager()" because the return value of "me.clip.placeholderapi.expansion.PlaceholderExpansion.getPlaceholderAPI()" is null any help?
or should this go into #development ? 😄
Hello!. any news with javascript extension? my server uses this extension a lot and I can't find any information about it. Thank you
What about it?
for some reason, deluxechat isn’t parsing the placeholder %hexnicks_nick% even though papi can parse it with no stress, any idea why?
any idea why
my half holograms broke and now showing raw placeholders ?
1.17.1
didnt touched anything for months
Hi, I'm trying to use /papi parse me %playerlist_online,world,yes,amount,[playerlist_online\.normal\.yes\.0]House% to list players in a world with placeholders. %playerlist_online,normal,yes,0% parses as my name and the world name is called 0bviousleeHouse. It shows as 0 even if I'm in the world
Is there a papi version that can support Minecraft 1.18?
im sorry
did u find it?
not yet
are u on pc or mobile
top right?
like
What hologram plugin do you use? If you use Holographic Display then make sure you have Holographic Placeholders or Holographic Extension and ProtocolLib
I mean the thing is if it works with /papi parse its not really a PAPI problem. and I'm not really sure how to fix it. its very strange that some holograms work and some dont. never seen that beffore
Does anyone know?
I tried to put the placeholder in a few different ways and it still didn't work ;-;
wait. what is your end goal there? what exactly are you trying to do?
Online players in a world called 0bviousleeHouse
Online players 0 is 0bviouslee
Which is the second placeholder in the placeholder
%playerlist_online,world,yes,list, WORLDNAME% will return a list of all online players in a world
I just want the amount
change list to amount
And it’s using DeluxeMenus so I need to use a placeholder as world name
Yes, a placeholder
%playerlist_online,world,yes,amount,{PAPI-PLACEHOLDER-FOR-WORLD-NAME}%
then
the internal placeholder will use {} instead of %%
It always say 0 though that’s myissue
are you sure the papi placeholder returns a valid world name? and it doesn't modify it at all?
It says my username (0bviouslee) and then I added House to then end and that is a valid world name
I'm still a bit confused. can I see the entire placeholder youre testing?
%playerlist_online,world,yes,amount,{ playerlist_online.normal.yes.0}House%
The . Are supposed to be . As shown to use commas
Backslash
I explained above
showing amount of players in the world House ?
I can’t use player list within player list?
That’s weird it says you can in the wiki
[placeholder] for placeholderapi and {placeholder} for Java script I’ve tried both
nah it's [placeholder] & {placeholder} both for any PAPI placeholders
ah
I see
though I think I have an idea
Sorry for such a weird use of this I’m making a gui that allows you to teleport to a players world with a browsing menu
Couldn’t see any other ways of doing it
%nested_playerlist_online,world,yes,amount,{playerlist_online,normal,yes,0}House%
also requires the NestedPlaceholders expansion
Tanguygab just saving everyone today
I didn’t even know nested existed I really wish I knew sooner lol
So, I'm having an issue where I have PAPI on a Magma 1.12.2 server, and it loads fine on its own but when starting up with expansions, the server hangs as PAPI loads
The current workaround is starting the server with an empty expansions folder, downloading the required expansions with ecloud (currently need Luckperms expansion but I tested with others to make sure Luckperms wasn't causing the problem. Even 1st party expansions such as Player borke the server), and running /papi reload
This is, for obvious reasons, not a feasible solution, especially since we need to be able to have automated restarts
papi doesnt support manga. we know a lot of expansions break there so probably one of the expansions breaks and just crashes everything or something
If you're the same person who opened the GitHub issue earlier, we already said we don't support Hybrid modules so we cannot and will not fix this. 🙂
im not the same person
Please respect the rules, be patient and don't ping staff members!
oops
Yup! 🙂
does deluxechat by any chance support its own placeholders that don't rely on placeholderapi?
owait wrong channel ig
Having an issue with the Statistic addon
Those 2 parase's are 1 second apart
For some reason the playtime is increasing super fast, anyone know the issue and how to fix?
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait
I try to use lp prefix placeholder in deluxe hub 3
.
Have you done /papi ecloud download Luckperms then /papi reload
The rank dissapear
What do you mean it disappear?
What?
where can i download 1.18 developmental build?
Check pins
ah ty
How can I reset placeholders?
%voteparty_player_votes% how can I reset this in code
But it was more so that I wanted to know how to reset it in code that I wrote
it doesn't matter what placeholder it is
Well it pulls from the player data so you'd have to reset the data.
Im dumb
It was because it was running old code before the votes updated cuz its in a bukkit runnable
sorry its fixed
yeah, it jsut adds /vote and a message that runs every interval
to remind the player to vote
Ahh cool!
I was a little suprised at first that VP didn't have it but then i thought that it made sense since its mainly a vote party plugin not mainly a vote plugin
Yeah so it's slowly shifting over to be more of a voting plugin.
Not this upcoming update but soon I'm going to be adding a vote command to it.
Was originally against it since I had the mindset of it doing parties but over the past year I've expanded it to do so much more so I'm going to be adding in some more stuff like that.
oh sick, yeah I was using superbvote but that isnt in development anymore, and plus since VP counts votes and gives rewards I thought it would be a good idea to just make my own plugin to do what superbvote doesn't have yet lmao 😄
Yeah it seems like a very good plugin, I havent had much time with it other than just setting some rewards but it seems great so far
VP is also open source so you could just modify it yourself if you know Kotlin, but if not, you can just hook into it's API 🙂
Oh! Awesome, I didn't know that when I started making this plugin. I may add support for VP later on, but as of rn Im just using PAPI to make it useable for basically anything, since I may use it on a personal server too and I don't own the VP so I cant use it there
You could just compile it yourself and use it, the payment is for the support and to support the time and effort that I put into it 😛
But I'm glad to see you using your resources and making your own projects.
oh okay, I wanna support you but as of rn I dont have the money too lmao
Totally fine 😛
I need to learn Kotlin tho, I just started using InteliJ, switching over from eclipse
That's why all my public plugins are open source. I came from a place of little money so I know what it's like to not be able to buy everything, so I don't require people to pay to use my stuff.
That's a great decision. I used Eclipse for like a week before going full-time IntelliJ
6 years in or so now.
IntelliJ is great, especially with being able to upload directly to github
thats along time
I don't even use that feature, I have a 3rd party git client just to help me manage projects.
Thats awesome, I know that it takes alot of time to make a quality plugin so the fact that you allow people to get it for free is amazing
Oh, is there a reason why you dont use it? or is it just easier to use the 3rd party client
Just easier and what I was used to. I used to use it.
oh, yeah its great using git hub. Until i built my own pc they were breaking alot and I was loosing all my data for plugins. Thats why im getting into it again now after like 3 years cuz I now have a good enough computer too lmao. But if i used intellij before I could just have uploaded it there and it wouldve been safe
I'm off to bed. Take care.
Alright good chat, and thanks for the quick help 😄 Goodnight 😄
Hey, I just randomly got this error when trying to reload my expansions?
[00:07:34 ERROR]: [PlaceholderAPI] failed to load class files of expansions
java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: com/massivecraft/factions/RelationParticipator
Could someone tell me what that is ?
you have one of the factions expansions without having the correct factions plugin. I recommend you go in plugins/PlaceholderAPI/expansions and delete it
then restart the server
Alright thanks.
Hi there, I was wondering if there is a way to only display placeholders on certain worlds or conditions ?
not sure I fully understand. can you give an example?
you have your vault expansion but not the vault plugin
either install the vault plugin or remove the vault expansion
i have vault plugin
idk
for some reason vault placeholders is not working if u dont download expansion xd (at least it didnt work when 1.16 was latest)
try installing the spigot release of vault
i already installed
means
not the 1.7.3 release
b131 is latest on spigot i think (not sure cant decomopile jar rn)
is it? I'll double check just in case
oh you're right. my bad
ok then @eternal yoke can you do /papi dump and send over the generated link?
wait
not papi issue
vault is disabled
then how to enable
what read??
what java version do you use?
also send that papi dump please
/papi ecloud download expansion /papi reload downloads newest expansion if you have that expansion already?
wait i delete placeholder apl
no i think
after what it started happening?
hello, for some reason I can't manage to get PAPI's translation working. this is my code:
PlaceholderAPI.setPlaceholders(player,"%player_name% {player_name} player_name");and I end up with what I started - %player_name% {player_name} player_name.
Any idea why it's not working?
info: using version 2.10.10, dependency (full, not soft) exists, Maven dependency also exists - 2.10.10, PaperMC 1.17.1, Java 16
try to remove servernpc i know there was issue w it
wait
you need to download the expansions
/papi ecloud download player then /papi reload
"BungeeGuard] BungeeGuard is unable to listen for handshakes! The server will now shut down."
ohh
"If your server is using 1.9.4 or newer, please upgrade to Paper - https://papermc.io"
no paper is very laggy

purpur is better than paper
waht
contant author of bungeeguard to add fork support
what
you're currently using spigot not purpur tho
yes
already had it downloaded, for the some reason it worked after I changed cloud_allow_unverified_expansions to true in the config
weird...
thx!
then use purpur xou should be able to use it w bungeeguard
i just deleted bungeeguard
when i delete bungee guard plugin
Any know for What my commands now start with/e?
'%formatter_number_time_hours_{commandtimer_rotate_nextExecution}%'
is there something wrong with this placeholder ?
this should turn a number into hours right ?
what does /papi parse me %commandtimer_rotate_nextExecution% return @scarlet valve ?
I turned off my pc
if it returns a number, maybe try time_fromHours
try it
That placeholder give a number
%formatter_number_time_fromHours_{commandtimer_rotate_nextExecution}%
This will change the tim from a number to hours like
HH:MM:SS?
no
what number does this return?
seconds?
hours?
okay let me get one
I want to change from seconds to time
hmm, i don't think you can do a custom format
it looks like what it shows is 1h 5m 7s
or something like that
is that good or do you want hh:mm:ss
That better
Please respect the rules, be patient and don't ping staff members!
Sorry
okay just use %formatter_number_time_fromSeconds_{commandtimer_rotate_nextExecution}%
Thanks
Hello! Sorry to bother you all, however I seem to have an issue with my placeholders unregistering every so often in my hub server. I'm trying to keep it as the vault and player expansions for the chat to work properly, but they unregister so often, would there be a thing I would have to do to prevent this? Let me know if you need any config files or what not.
does anyone know how I can reset some stats? like I do a reward for whoever has the most kills on thursday, how can I reset the kills every thursday?
Quick update: didnt work
Please respect the rules, be patient and don't ping staff members!
what about didn't work?
I was looking for a placeholder that change
A number
To time
Like a countdown from numbers to hours and minuts
and what does that number give exactly/
ok 1 sec
fromHours assumes you give it hours not seconds
oh wait he did tell you from seconds
Yes
%formatter_number_time_{commandtimer_rotate_nextExecution}% what about this? can yo utest it please
what does it return?
What kt says?
Just give the placeholder
It gives nothing
Doing parse command
Give nothing
I think i fixed it
alr nice
<dependency>
<groupId>me.clip</groupId> //Error
<artifactId>placeholderapi</artifactId> //Error
<version>{VERSION}</version> //Error
<scope>provided</scope>
</dependency>
Does someone know it gives out this error?
Dependency me.clip:placeholderapi:{VERSION} not found
you have to actually use a valid PlaceholderAPI version
yeah replace {VERSION} with 2.10.10
Ok, thx alot!!
it did it again but with "Dependency me.clip:placeholderapi:2.10.10 not found" as the error
did you add the repository?
yes
the one here? https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Hook-into-PlaceholderAPI#import-with-maven
<repository>
<id>placeholderapi</id>
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>
send the whole pom in a paste bin
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
I have the PlaceholderAPI-2.10.10 jar imported as an external library in my project
you don't have to. maven also works. I Just haven't used maven before. probably send the pom in #development
Wait, i'm new to maven. So if you just use maven you don't need to import the jar?
yeah
Hey there, 2.10.10 is compatible with 1.18 spigot right?
check the pinned messages for PAPI with 1.18 support 🙂
Release version will work on 11.18 just expansions using nms methods won't unless you use the pinned dev version.
We should have a release build soon™️
Papi already working on 11.18 an my plugins are stuck on 1.18. Papi is da future
hi guys
i have a problem, after i update the server to java 16 the javascripts are not working anymore
i tried to updated to javascript expansion 2.1.0 but when i join the server i get those errors: https://pastebin.com/KNAs32gF
There way that papi will support mohist?
We don't support anything that isn't spigot or paper
papi 3 may have better support for alternative forks, there's no guarantee though
Plus mohist does weird stuff with plugins
PlaceholderAPI v3
Hello, is it still possible to use OfflinePlayer to parse placeholders in a plugin code?
yes. Player, OfflinePlayer and Null. Should note that some expansions dont support that and will just not work unless there is a Player online
okay
actually i've got a custom expansion that's not supposed to use any player data at all
and when i'm parsing my placeholders they're just empty
I'm trying to make a Discord bot which allows people on my discord server to send messages to the minecraft server chat, and my custom placeholder just gets the discord message string and the MC username that is related to that discord user in my database
so it doesn't interact with an online player's data at all
(and btw, if the person who sends the message on discord is currently online on the server, then it works without any problems, that's why i'm asking about OfflinePlayer)
can anyone help me with that?
what java version does your server run on? I believe you might have to downgrade to version 1.6.0 if you're on java 14 or lower.
Java 16
and server version?
1.8.8
can you remove the javascript placeholders from your holograms and test them with /papi parse? see if it errors then
its up to plugins to support papi not the other way around
it will probably work tho since there's no major modification
other than version support
that is not a PAPI placeholder my friend
that is probably a simple score internal placeholder
yes. %player_ping%. make sure you've downloaded the player expansion /papi ecloud download player then /papi reload
well a huge list of them is here: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/placeholders but a lot of plugins don't list their placeholders there but instead list them on their own plugin page
maybe?
yes. its 1 5 and 15 seconds
use %server_tps_1%
no problem
Use https://paste.helpch.at/ for errors, logs and configs. So we don't spam the discord.
Oof 😄
seems like PAPI is disabled. are you on the latest dev build for 1.18?
You can find the latest PlaceholderAPI dev builds here: https://ci.extendedclip.com/job/PlaceholderAPI/
Let me double check
Yep I am
Expansions? well it depends on what you need. server expansion for example returns nice info about the server, player about the player etc. usually the identifier tells you what they help you with
can you restart the server and generate a /papi dump please?
acc the friend request please, i will send it in dm
I've opened my DMs. send it now
hmm. @thorn thunder can you help us when you got some time? he's running java 16 with javascript 2.1.0 and PAPI 2.10.10 the spigot release
hmm didn't even think about that. but I kinda doubt it. can I see it maybe?
var slots = %bungee_sz1% + %bungee_sz2% + %bungee_sz3% + %bungee_sz4% + %bungee_housing% + %bungee_skymines% + %bungee_oneblock%;
return slots;
}
slots();```
yeah nah. shouldn't be a problem
oh okay
hey
Can some1 tell me the placeholder of tps in minecraft?
would really appreciate it!
%server_tps%
tysm! sir
yeah
You can find the latest PlaceholderAPI dev builds here: https://ci.extendedclip.com/job/PlaceholderAPI/
Why does %server_name% return 'A minecraft Server' while in the server.properties its server-name=Lobby-1
Ah I see, is there a placeholder to get the one from server.properties
yeah. server_name takes the info from plugins/PlaceholderAPI/config.yml
Is there a way to get the one from server.properties?
I dont think there is
Ah okay, I'll write my own one ig
Is it normal that the RedisBungee extension no longer works?
well I mean it hasn't been updated in a long while.
Ah okay 👌
Hi, my papi stopped working for some reason
https://paste.helpch.at/wupojoxeti.sql
https://paste.helpch.at/akezowugak.sql
i only use it to check versions of plugins and stuff cus im lazy
second of all update your essentialsx
then remove the essentials expansion
go to plugins/PlaceholderAPI/expansions
and delete the jar from there
and then restart the server
most plugins will give you commands for that. /papi version for example
The plugman is like a bad plugin or?
well its "reloading" features. so we usually just don't recommend using it at all but if you really just use it for plugin info I Don't think its a problem. I am not actually sure how the info command works for it so can't be sure
works now, thanks
i'm trying to import papi compatability in my plugin, but the docs doesn't tell me what to do
it lets me use placeholders from other plugins or whatever in my plugin
i want to create a placeholder that can be used in other plugins
how would i go about doing this
Is there a working Java 17 JavaScript expansion?
would all of these types work?
what types exactly?
well holographic display doesnt support PAPI
you can however get them to work using the addon called HolographicPlaceholders or the other one called HolographicExtension
and also you'll need ProtocolLib
internalclass most likely
well you can have them either way. internal means it will just come with the plugin. it will be easier for the users to set up (well they'll have to do no setting up) but it will be harder if you want to update just the expansion alone.
I personally just do it inside my plugins (internal class)
:woeisme:
latest will probably work
this is just a custom made plugin for one server and usecase. i want to create some placeholders to use in a scoreboard so this should fit my needs
thanks for your help
<repository>
<id>spigotmc-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/groups/public/</url>
</repository>
<repository>
<id>placeholderapi</id>
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.8.8-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.10.10</version>
<scope>provided</scope>
</dependency>
</dependencies>```
intellij doesn't like the dependency for papi
i ignored the error and when trying to create the class, i cant because it isnt imported properly
any idea?
try restarting IJ
alright
this worked, thanks a ton
no problem
public String onPlaceholderRequest(OfflinePlayer p, String params) {
UUID uuid = p.getUniqueId();
Integer kills = SQLGetter.getKills(uuid);
if(params.equalsIgnoreCase("kills")) {
return kills.toString();
}
return null;
}```
this should make %kills% return the kills from mysql db right
ehm Could not load 'plugins/KitPVP-1.0-BETA.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: PlaceholderAPI
no
it should make %identifier_kills% return the kills
also make sure you have PlaceholderAPI actually installed
oh
smh i uploaded PAPI to the wrong folder
%kitpvp_kills% doesnt return anything - what am i doing wrong?
public String getIdentifier() {
return "kitpvp";
}``` ^ identifier
i removed the @Override from this because intellij was throwing an error
well if you don't override it wont work
"Method does not override method from its superclass" is what intellij throws when i override
are you extending PlaceholderExpansion?
I am
this is my import ```import me.clip.placeholderapi.expansion.PlaceholderExpansion;
any idea?
no. I am not sure
#spigot-linking please
[21:28:52 WARN]: [PlaceholderAPI] [Math] Invalid Placeholder detected!
[21:28:52 WARN]: [PlaceholderAPI] [Math] Placeholder: %math_0_{griefprevention_bonusclaims}+{griefprevention_accruedclaims}%
[21:28:52 WARN]: [PlaceholderAPI] [Math] Cause: '{griefprevention_bonusclaims}+{griefprevention_accruedclaims}' is not a valid Math-Expression.
1.18
done
int progress = -1;
String papiClass = "me.clip.placeholderapi.PlaceholderAPI";
if(ReflectedObject.hasClass(papiClass))
{
ReflectedMethod method = new ReflectedObject(ReflectedObject.getClass(papiClass)).method("setPlaceholders", //Method
new Class[]{Player.class, String.class}); //Parameters (Player, String)
String progressString = method.invoke(String.class, player, "%progress%");
System.out.println(progressString); //%progress%
try
{
progress = Integer.parseInt(progressString);
}
catch(NumberFormatException ignored)
{
}
}
I am trying to replace "%progress%" to a number (EzRanksPro placeholder, is installed), but instead of a number I get the original String back
It is, @high swift sent me
Yes
Welll thats not papi placeholder
%displayname% - players displayname
%world% - players current world
%rank% - players current rank
%rankup% - players next rank (if they have one)
%cost% - cost to rankup
%cost_formatted% - formatted cost to rankup
%balance% - players balance
%balance_formatted% - players formatted balance
%difference% - amount still needed
%difference_formatted% - formatted amount still needed
%progress% - rounded % of rankup cost obtained
%progressexact% - exact % of rankup cost obtained
%rankprefix% - players current rank prefix defined in this file
%rankupprefix% - players next rank prefix defined in this file
%lastrank% - last rank available
%lastrankprefix% - last rank available prefix
%rankup_cost_<rankname>% - show the cost for a specific rank
%rankup_cost_formatted_<rankname>% - show the formatted cost for a specific rank
%rankup_is_completed_<rankname>% - show if a player has completed the specified rank
that's ezrankspro placeholder
I understand that
Placeholders that can be used only on ezranks config. Outside of it, you use placeholders that starts with %ezrankspro_...%
Thanks bro, will try
Why do you use reflections though ..?
Because I also want support with other plugins who don't use PAPI and I also want to make replacing placeholders optional
But for that you have to understand the concept of the plugin
No, I don't
lmao
if Bukkit.getPluginManager().isPluginEnabled("PlaceholderAPI")
then PlaceholderAPI.setPlaceholder(player, string)
Simple as that
Oh it's a static method
Yes
Just use it as check then
What?
you don't have to?
The plugin name is not given by a class
Yes
if(Bukkit.getPluginManager().isPluginEnabled("PlaceholderAPI"))
PlaceholderAPI.setPlaceholders(player, "%ezrankspro_progress%");
There's also a method to get an expansion by id and then replace placeholders iirc
Which one?
Though, for such things I would suggest to do it this way ONLY if there's no api or another way to access the data directly
You will have to find it, cant remember rn
There is no way to access it, I have tried serval ways
Have you tried to add the ezranks jar to your plugin?
The EzRanksPro API just doesn't have a method for it
Since the expansion isnt built into the plugin, it has one for sure
Decompile the expansion and see how it is done
But it always returns 0
?
public int getRankupProgress(final Player player) {
Always returns null, doesn't matter how far your balance is
Where did you got that from?
Also
[21:02:09 INFO]: [AdvancedReplacer] [STDOUT] %ezrankspro_progress%
int progress = -1;
if(Bukkit.getPluginManager().isPluginEnabled("PlaceholderAPI"))
{
String progressString = PlaceholderAPI.setPlaceholders(player, "%ezrankspro_progress%");
System.out.println(progressString);
try
{
progress = Integer.parseInt(progressString);
}
catch(NumberFormatException ignored)
{
}
}
I can't upload images here?
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
Did you find any mistake?
Just tested it and it appears to be still broken
Please respect the rules, be patient and don't ping staff members!
Oh right
do u get any errors/warnings?
or what about it is broken
Yeah I'm about to paste it
Keep in mind it was working fine before updating to java 17 ^
I saw there was an open issue about it on github too from 7 days ago
well until that gets fixed yo uhave to use adoptium instead of using openjdk then if its already reported as an actual issue
Hi cuties, my placeholder stopped working out of nowhere?
I got version 2.10.10-DEV-null
no idea how it just stopped working out of nowhere
Hey guys, is there a way to intercalate 2 different scoreboards from two different plugins using PAPI?
What is the solution to this?
update your java version to 11 or newer
not sure what that means?
server version and java version? try the latest dev builds as well
You can find the latest PlaceholderAPI dev builds here: https://ci.extendedclip.com/job/PlaceholderAPI/
^ this. also you got any errors? if not generate a startup log and send it over
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.
Today I updated the servers, probably like most of them, in connection with this exploid.
I have a problem with PlaceHolderAPI in the Lobby, I do not use Essentials, but I constantly download this library in the extension and after removing it and typing /papi reload everything starts working nicely.
Log:
java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: net / ess3 / api / IEssentials
at java.util.concurrent.CompletableFuture.encodeThrowable (CompletableFuture.java:315) ~ [?:?]
at java.util.concurrent.CompletableFuture.completeThrowable (CompletableFuture.java:320) ~ [?:?]
at java.util.concurrent.CompletableFuture $ AsyncSupply.run (CompletableFuture.java:1770) ~ [?:?]
at java.lang.Thread.run (Thread.java:833) ~ [?:?]
Caused by: java.lang.NoClassDefFoundError: net / ess3 / api / IEssentials
at java.lang.Class.getDeclaredMethods0 (Native Method) ~ [?:?]
at java.lang.Class.privateGetDeclaredMethods (Class.java:3402) ~ [?:?]
at java.lang.Class.getDeclaredMethods (Class.java:2504) ~ [?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda $ findExpansionInFile $ 6 (LocalExpansionManager.java:367) ~ [PlaceholderAPI-2.10.10.jar :?]
at java.util.concurrent.CompletableFuture $ AsyncSupply.run (CompletableFuture.java:1768) ~ [?:?]
... 1 more
Caused by: java.lang.ClassNotFoundException: net.ess3.api.IEssentials
at java.net.URLClassLoader.findClass (URLClassLoader.java:445) ~ [?:?]
at java.lang.ClassLoader.loadClass (ClassLoader.java:587) ~ [?:?]
at java.lang.ClassLoader.loadClass (ClassLoader.java:520) ~ [?:?]
at java.lang.Class.getDeclaredMethods0 (Native Method) ~ [?:?]
at java.lang.Class.privateGetDeclaredMethods (Class.java:3402) ~ [?:?]
at```
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda $ findExpansionInFile $ 6 (LocalExpansionManager.java:367) ~ [PlaceholderAPI-2.10.10.jar :?]
at java.util.concurrent.CompletableFuture $ AsyncSupply.run (CompletableFuture.java:1768) ~ [?:?]
... 1 more```
if you don't use essentials go to plugins/PlaceholderAPI/expansions and delete the essentials expansion
it breaks the expansion logger
since it can't find the essentials plugin
I sincerely apologize for any misunderstandings, but I use the translator 😄
I did it but it gives error, with java 8 it works, with java 11 it gives error.
That's what I do, but the problem is that after restarting the server, this library is downloaded automatically ^^
that error literally says that the math expansion needs java 11 and you use java 8. not sure what to tell you
stop the server first, delete then start back up
Oh, that is, first turn off the server and remove it and then turn it on, right?
yes
Is it not possible to have this expansion in java 8?
no. it uses a library that requires java 11 so the expansion also requires it
you can download an older version maybe but not sure
An older version of Placeholder?
of the math expansion
how?
/papi ecloud download math 1.0.6 then /papi reload
mmm
nice try
xD
Downloading an older version of PlaceholderApi might work or does it not matter?
1.2.0 is works
😮
1.0.3 no works, 1.2.0 yep, 1.3.0 no works, xD
How to use a advenced achievements placeholder?
seems like something might be blocking your connection with the ecloud. double check that you haven't disabled the ecloud feature in plugins/PlaceholderAPI/config.yml
if its set to true then maybe your hosting is blocking connections
All the time is downloading Mi Essentials library, I checked several times by restarting remove and in the logs at the beginning it is ok only when the player sticks to the server then such a library is created and automatically placeholders stops working and after deleting and typing /papi reload is ok.
I'm not really sure why that happens. PAPI shouldn't download the expansion itself. maybe another plugin is but can't really be sure
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.
you just need to have PAPI Installed and Advanced Achievements. then you should just be able to use tthem
Hello, i seem to be having a issue with javascript, if this code is in the js folder, it crashes PAPI, however i do not see a issue with it, could someone help? https://paste.helpch.at/aqizeralup.js
it was working fine before 1.18
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.
here is the error i get with the code in the folder https://paste.helpch.at/ojeyavawex.sql
Are you on the latest PlaceholderAPI dev build? If not, please update to that, and see if that fixes it. If it doesn't, remove the JS expansion, startup PAPI again and give us the results of /papi dump
Fuck yea i fix that!
1. stop server
2. delete extension -> essentials
3. Edit config.yml -> cloud_enabled: false
It is known how we start the server at the beginning, everything has to be downloaded properly and it will not work.
However, if what we need or what we need is already on the server, we do what I wrote above and the problem disappears 🙂 .
I checked 3 times on the server and it's fine.
Please respect the rules, be patient and don't ping staff members!
yes i am on the latest, here is the dump https://paste.helpch.at/ovaciforum
Please respect the rules, be patient and don't ping staff members!
Do you know your exact Java version + build? If you have ssh access to the machine, you should be able to do java -version
container@pterodactyl~ java -version
openjdk version "17.0.1" 2021-10-19
OpenJDK Runtime Environment (build 17.0.1+12-39)
OpenJDK 64-Bit Server VM (build 17.0.1+12-39, mixed mode, sharing)
its the ptero Java default for 17
Fuck.
Okay.
Something in Java 17.0.1 between build +12-36 and +12-39 broke the Javascript Expansion
I just don't have time to figure out what it is for the time being.
ah, that would make sense
Cause I am running +12-35 and have not had any issues. It's so weird.
Yeah, it seems to be fine without code, but as soon as i touch adding code, it loses its mind
real annoyance since its a space in my chat, so if JS is disabled it breaks my chat
cant, do not have SSH
Thats where im fucked, cos i would just install a earlier build of OJDK, or Adoptium, but i cant cos im on a host
Then I suspect this host has classic jave installed. And this java is recommended and is hosted on amazon's servers.
I have been using it for some time and the efficiency is actually higher and the failure rate of the plugs is lower.
its the default java for pterodactyl, see https://github.com/pterodactyl/yolks
Mhm, and how would you write a thread regarding the replacement of this java, they would not be willing to replace it?
My host tried, but without a different yolk, they cannot do it, Pterodactyl could prob add another yolk, but that would prob need to come from PAPI staff rather then some random
and to make another yolk, anyone can do it, but im not that skilled
Mhm, I have to fly myself, I bit my fingers after today's explode and the need to update the servers and I only did it in the Lobby xD.
And this is the fault of these "programmers", God bless Microsoft, they introduce something that should be checked 1000 times.
But this is how only $ counts, unfortunately 😦
(sorry for the mistakes, I'm using the translator)
[22:03:17 WARN]: [PlaceholderAPI] Task #77 for PlaceholderAPI v2.10.4 generated an exception
java.lang.NoSuchMethodError: me.clip.placeholderapi.PlaceholderAPIPlugin.getLocalExpansionManager()Lme/clip/placeholderapi/expansion/manager/LocalExpansionManager;
at alexdev_.buycraftapi.BuyAPI$1.run(BuyAPI.java:141) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:352) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:783) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [patched.jar:git-PaperSpigot-"4c7641d"]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]
Anyone can help me? pls :/
use the latest version
¯_(ツ)_/¯
1.8.8
1.12.2
1.13.2
1.14.4
1.15.2
1.16.5
1.17.1
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest
Is that the reason for the error? I already thought I had run the wrong command xd
Thanks 4 the support ❤️
probably because the error means that BuyCraftAPI is trying to access PlaceholderAPI code that doesn't exist
np
Where can I find the development builds?
?papi-builds
You can find the latest PlaceholderAPI dev builds here: https://ci.extendedclip.com/job/PlaceholderAPI/
how to have a fallback placeholder
where if their is no %townyadvanced_town_formatted% then return No Town
any idea?
How would I go about nesting statements, so the 2nd check occurs if the first check succeeds? ```js
if (arenaState == "§6Running" && twoArenas.indexOf("arenaRegion")) {
var arenaRegionMulti = arenaRegion + "2";
var arenaTwoState = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + "mobarena_arena_" + arenaRegionMulti + "state" + "%");
var arenaInfoMulti = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + "mobarena_arena" + arenaRegionMulti + "_" + args[0] + "%");
return arenaInfoMulti; // Replace this with the next check below
}
if (arenaTwoState == "§6Running" && threeArenas.indexOf("arenaRegion")) {
var arenaRegionThree = arenaRegion + "3";
var arenaInfoThree = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + "mobarena_arena_" + arenaRegionThree + "_" + args[0] + "%");
return arenaInfoThree;
}
return ArenaInfo;
That's correct
its already nested?
Error 502
yeah. the jenkins is currently down due to some issues. you can find a build in the pinned messages
Jenkins back online.
[11:26:52 WARN]: [PlaceholderAPI] Task #83 for PlaceholderAPI v2.10.10 generated an exception
org.bukkit.plugin.messaging.ChannelNotRegisteredException: Attempted to send a plugin message through the unregistered channel `BungeeCord'.
at org.bukkit.plugin.messaging.StandardMessenger.validatePluginMessage(StandardMessenger.java:490) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.sendPluginMessage(CraftPlayer.java:1136) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.getServers(BungeeCordExpansion.java:108) ~[?:?]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.access$100(BungeeCordExpansion.java:45) ~[?:?]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion$1.run(BungeeCordExpansion.java:201) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:352) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:783) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [patched.jar:git-PaperSpigot-"4c7641d"]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]
Anyone can help me? :/
go to plugins/PlaceholderAPI/expansions/ and you should see there 2 or more jars called Expansion-Bungee or similar. delete them all and then do /papi reload
Oh, thanks man ❤️
Please respect the rules, be patient and don't ping staff members!
Hi, PlaceHolderAPI out at 1.18? if yes then give a link

Hi, you have placeholders like %server_ram_total%, %server_tps%, could you add like %server_mspt%, it would be very helpful to see these statistics :)
Heyo. If I run /papi reload, it prints this https://pastebin.com/DhrC8kSb
Means you don't have the right factions or you're using the wrong expansion
have you downloaded the required expansions? also are you sure your plugin supports PAPI?
what is the required and i dont know if the plugins support PAPI
help me
/papi ecloud download Animations
/papi ecloud download Vault
@shrewd pumice.
/papi reload
animation is not PAPI but vault yes
also /papi ecloud download player then /papi reload
Animations was in tablist
/papi ecloud download listplayers then /papi reload
the animations we cannot fix
those are not PAPI placeholders
/papi ecloud download statistic then /papi reload
thx
i have a problem and its that i cant use placeholders in featherboard
i put the placeholder and it doesnt work it shows {player}
i downloaded all expansions and everything
that is not a valid PAPI placeholder
%player_name% is tho
but it worked for me in other versions
but i have other placeholders that doesnt work too
well. the other versions of FeatherBoard were not using PlaceholderAPI. they were using MvDWPlaceholderAPI. different plugin. version 5.0.0 switched to using PlaceholderAPI
do you have the list of placeholders by any chance?
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/placeholders a lot of placeholders are listed here. but each plugin owner has a choice to either add it to this list or make their own list. so for some plugins you'll have to check their respective spigot page / wiki
thank you
last question i promise, how can i make it so server time placeholder shows the month (Dec) instead of the 12?
Please respect the rules, be patient and don't ping staff members!
you change the format. you can give it your own format
%server_time_FORMAT%
so %server_time_dd MMM yyyy% for example
I have a questionm, so in the onRequest of PlaceholderExpansion....
the params that are passed...
Im trying to detect the placeholder, as well as a number set within it, but I am not sure what the params contains exactly
does params come in as %plugin_placeholder% or does it come in as placeholder...
If that makes sense..
Im simply trying to add a top X placeholder.
%identifier_text_here%
The String parameter in the onRequest method would return everything after the identifier_ part
@rich flint
Hello, i've just bought your plugin, i've read in discussion that i needed to enter the discord to get the update to 1.17.1, how do i do it?
"deluxechat"
If you're wanting help with a premium plugin please see #spigot-linking and follow the steps there first.
@fervent spire i have linked spigot account, now?
Where is update of DeluxeChat for 1.17.1
?
[AdvancedReplacer] [STDOUT] %ezrankspro_progress% Why does this placeholder not replace? I have ezrankspro installed and have invoked this method: String progressString = PlaceholderAPI.setPlaceholders(player, "%ezrankspro_progress%");
can you do /papi dump and sennd the generated link over?
can you also do /papi parse me %ezrankspro_progress% and see if it works there?
Returns %ezrankspro_progress%
^^ execute those commands
yeah
should work in your plugin as well
tanguygab. wasn't sure if the expansion is required anymore. I know one of helpchats plugins (not deluxetags) moved to not using external expansions anymore. It might've been glares plugin. had to double check
Ok it works so that's fine, will tell this to my friend
🤷 he's got the plugin, so if the expansion didn't register, that means it still requires the one on the ecloud
either that or something went wrong while loading the internal one
not necesarely. plugins can have fallbacks. I guess. you never know. xD
yeah but I think PAPI breaks down when one of the expansion fails, idk
yeah yeah. but I was thinking more of the plugin not being able to find PAPI or something. also if you try and catch on registration it might not break PAPI
/papi parse me %ezrankspro_progress% always returns 100 or 0, never one in between
rankups:
A:
order: 1
prefix: '[A]'
rankup_to: B
cost: 1000.0
rankup_actions:
- '[broadcast] &6&l>&b&l> &6%player% &eranked up to &7[&e&l%rankup%&7]'
B:
order: 2
prefix: '[B]'
rankup_to: Z
cost: 1000.0
rankup_actions:
- '[broadcast] &6&l>&b&l> &6%player% &eranked up to &7[&e&l%rankup%&7]'
I have set this cost to 1000, but if I give myself 500 it does return 100 not 50
that might be an issue with ezrankspro itself
Probably my config is wrong?
I can't, my friend has bought this plugin
I only use it for testing
Because I want to make a plugin for him
Not the owner of the server?
If you're not the owner of the server and you're the one requesting the support you'll need to first get the owner who purchased the plugin to join and run through the verification system listed in #spigot-linking, once linked they just need to give us the thumbs up that you're with them.
@high swift is the person
But he is offline, and I still want to continue my work...
@high swift Please ping me if you are online
I'm afraid the rules don't allow me or anyone else until an account was linked and you confirmed as a developer for them
Yes I understand
Where to find the PlaceHolderAPI for 1.18 ?
You can find the latest PlaceholderAPI dev builds here: https://ci.extendedclip.com/job/PlaceholderAPI/
here 
Where ?
link right here
no problem
he's at 1.18?
yeah
Okay
Bliiiiiiitz, hey
I have a question for you, but I doubt you will answer ;D
I have errors in the console : (
well... I can't really answer a question you did not ask
can you show the errors (put them in a paste bin: https://paste.helpch.at)
It's here
you can open an issue on github for it. what is mspt?
a Paper thing
milliseconds per tick?
oh. so it would only work on paper anyways? don't think that'll be added to the server expansion then
When the PlaceHolderAPI will be stable and will be released on Spigot?
Yep, https://imgur.com/a/7Xe6I3B
But in Purpur it is possible to display these statistics in the boss bar
yeah. that's not happening in the server expansion then. since it would only work on paper I guess. it would create a lot of confusion. you could ask in #915480942246780968 to get an expansion made just for this I guess
well its already stable. a lot of people have been using it (including myself). As for when it will be released on spigot I can't tell you. it takes a bit of planning to make a papi reloease
ok
@junior musk how do you access mspt in paper? is there a server method or something for it?
I think it in the Server class yeah
getAverageTickTime
Ic
well if you want @cinder oyster I can make you an expansion just for that in a second. this could also possibly be done in the Javascript expansion if you want that. but idk if that's a good idea. lol
@cinder oyster do you want them to have different formats? because currently. I am adding %mspt_mspt% which will return a value like this 10.0. I am also adding a %mspt_mspt_raw% which will return like the whole double value. 10.00000001 or whatever decimals it will have
RIP Blitz
alr
nah. didn't do any work. only cloned the template repo
oh oki
hi! any news on this error?
Hello, Placeholder Works on 1.18-1.18.1?
HellO!
Anyone can tell me why this is not working? "%server_countdown_u.H.mm.ss_5.23.59.59%"

https://paste.helpch.at/xazufupufo.bash
i think it a placeholder problem i am not sure
if you can check this out it will help
seems to be something to do with a so called mingiames addon
or one of their placeholders maybe
well that's all I Can really do for you. might want to contact the developer of that plugin
ok thanks
Pls?
It returns 0
because its past friday. its sunday. it will start counting down again on monday I believe
well you gave it day 5 of the week. so it will count until day 5 of the current week.
%server_countdown_u.H.mm.ss_7.23.59.59% so why this isn't working too
Please respect the rules, be patient and don't ping staff members!
can you do /papi parse me %server_time_u.H.mm.ss%? what does it return exactly
7.17.35.03