#placeholder-api
150650 messages · Page 10 of 151
I just got to work but when I get home I’ll publish it to a repo and update it
Unless someone wants to decompile it and post it now
It’s only 1 placeholder
damnit it happened again
https://github.com/PlaceholderAPI/Thirst-Expansion how do i do this always
What did u do lol
i always make the repo, and then the project is inside it
so on github it shows the main folder name instead of the src right away
rip
v1.2.0 I can't update it
@grand blade
Why does it throw an exception?
I don't see it on ecloud. Am I missing something?
Oh please God change it to use onRequest
Damn it cj ..
look man just remove it
?
Jk lol xd
i'm all for breaking everything
Everything that's going to be removed says so
So check if they're online
Player extends offlineplayer
And yes, the longer online player method is going to be removed
There's no reason for it to exist
Gave you access to thirst @mint fable
icic
The entire hook class is being removed as well
You said checkthirst requires Player
I said Player extends Offlineplayer
90% of the time, that Offlineplayer is going to actually be a Player
"p"
wait i have to buy server boost?
You deeply disappoint me.
🔪
no?
Bad server setup
what i was trying to do
Big embarrassing
Enabled external emotes for boosters 
LMAO

All of that
why do all the gifs do that
For this meme
wtf
Do what?
they go insane
??
Is it not supposed to be like that??
I dislike you.

oh ya i was gonna
why would i make 3 versions within 15 minutes tho
i'll wait like 2 weeks
then fix it
you're a snapshot
Thank you.
||it means you're not good enough for release||
since you're so thirsty for it https://github.com/PlaceholderAPI/Thirst-Expansion/commit/1318c09b24ecc10fd5fd6db9202ef861d4032e14
ah i give up
I’ll fix it up after work lol
wot
Oh u got it nvm
😂 ye
Thanks. How long before it appears on ecloud info?
~2 hours
👍
Who was asking about if the papi builds were on a maven repo?
@arctic loom you can use the Jenkins repo
Leeroy
Jenkins
👌
@arctic loom you can use the Jenkins repo
@final shadow how?
What are the cridentials?
@arctic loom,
Shhhhhh.... I was responding Barry
Hold on tho I have to add a post build step to publish the jar to maven
Weird I can’t trigger a build from my phone

guys what is the placeholder for date?
server_time
@turbid tide doesn't work
how did you use it?
{server_time}
@austere hawk,
...
pls some1 read my logs. i am trying to isntall a eclound thing and it no work. https://pastebin.com/7NhSYgfX
@austere hawk,
have you tried downloading latest version of both the thing the bot talked about?
@minor hamlet it is {placeholderapi_server_time_dd.MM.yyyy}
yes of couse
but when i try reload the plguin that error
nothing to do with luckperms
@turbid tide thanks it works now
Krazykev, it has to do with the luckperms expansion, make sure you're using the correct one.
oh ok
> [07:28:53] [Craft Scheduler Thread - 182/WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.6 generated an exception while executing task 296
java.lang.NoClassDefFoundError: me/realized/tm/api/TMAPI
at com.extendedclip.papi.expansion.tokenmanager.TokenManagerExpansion$1.run(TokenManagerExpansion.java:91) ~[?:?]
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:81) ~[server.jar:git-Spigot-9de398a-9c887d4]
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [server.jar:git-Spigot-9de398a-9c887d4]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_242]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
``` What's causing this?
tokenmanager expansion not finding tokenmanager api
Yeah so looks like the expansion is no longer needed
It's built in now
So just delete the expansion from /plugins/PlaceholderAPI/expansions/
And use the placeholders here: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#tokenmanager
%vault_rank%
did u run the commands as the bot says?
and what scoreboard plugin?
qucikboard
do /papi parse me %vault_rank%
do u have vault plugin installed?
yes
were there any errors in console when /papi reload
yes
?paste
@austere hawk,
...
do as the bot says 🙂
i have tho
i have:
Expansion-Bungee.jar
Expansion-LuckPerms.jar
Expansion-Player.jar
Expansion-Vault.jar
but maybe its that im using luckperms bungee
cuz its a bungeecords erver
*server
use it on Spigot too
ok
Thanks funnycube
ok
the extension of mcmmo is not working very well, I am trying to use "% mcmmo_level_Axes%" and it does not work but others work, can you tell me if I am doing something wrong or removed this placeholder?
We do not maintain the mcmmo expansion. Mcmmo does, might want to try asking in their discord.
ok, sorry
How is the update coming along with PAPI? Cuz I'm having issues on 1.16.1 that just started happening D:
Would help if you explained the issue..
I'm asking about an update.
28.07 14:14:31 [Server] ForkJoinPool.commonPool-worker-9/INFO Fetching available expansion information...
=paste
provide the entire stacktrace please
I already am.
Hello, my server admin is looking to implement an algorithm but it unsure of two placeholders he can use to make it work.
%mcmmo_total_power% ÷ %stats_hours_played% = :output :output × 0.10 = %mcmmo_mining_level% aka output2 run command: /addlevels <player> Mining output2
Is there a placeholder we can use for output and output2?
Do you think one is better over the other?
well with the math expansion you can just add subtract etc. so just simple math. but javascript allows you to do a lot more
like use player and server methods to get information etc,
Perfect. We'll give it a test. Thank you
i got a question about voteparty plugin. what is the api for it to show how many votes untill voteparty?
whats the placeholder*
check the wiki
link?
=wiki voteparty
Hello, my server admin is looking to implement an algorithm but it unsure of two placeholders he can use to make it work.
%mcmmo_total_power% ÷ %stats_hours_played% = :output :output × 0.10 = %mcmmo_mining_level% aka output2 run command: /addlevels <player> Mining output2Is there a placeholder we can use for output and output2?
As a follow up, how do I define output and output2 so they can work with%javascript_<your placeholder identifier>%
before I say anything else where are you trying to use that command?
because if you want to do it in chat you won't be able to use placeholders
since the chat doesn't parse placeholders
The console will be running the command.
Directly from the console.
yeah that won't work then
you can't rly use placeholders from chat or console
since they need to be parsed
Oh ok. Do you have any recommendations on how to approach this then? (Hope thats ok to ask)
yeah its ok to ask but nothing comes to mind rn.
Np! I appreciate your help.
it doesnt work for me on my scoreboard. do you know how to possibly fix this?
ilk ben gardaş
@quasi peak please follow the instructions in #spigot-linking
@austere hawk what does /papi parse me %clans_name% return?
ok then instal ChatInjector
its a plugins that allows placeholders from PAPI to be parsed in essentials
chat
There is an error in the chat injector plugin
players can write in chat in color even though they don't have authority
hmm then idk how else you could use that placeholder in essentials chat
maybe get a free chat plugin that allows placeholders
EzChat is one of the best I've seen so far (free but never used it just from what I saw on their spigot page)
they even have tooltips
waow nice gradient @rancid minnow
so much better than @heady falcon 's gradient that isn't there
??
I don't get it. The name is all 1 color
random @
Hmm
just purge all these messages or something and ignore me
@austere hawk,
sorry
nice
And now its time to solve thousands of people's issues...
1.16 support?
smile.
You sure you're ready for it, Sxtanna?
yikes spigot
I will stab your ass
?
He needs to update the supported MC versions
What arrows?
😉
Because of the update? 
papi broke spigot confirmed
so much better than @heady falcon 's gradient that isn't there
@mint fable
@heady falcon,
Not sure if sarcasm 🤔
sorry bro we can not edit the page at this time so no new picture
I talked to him about PRing
i thought you were gonna post update soon
The update was already pushed
for?
Papi
no the gradient
O
soon
™️
2-60 business days
niall inc seems to need more workers for a higher production rate
but wave gradient
Were the hover events supposed to be removed when hovering over an expansions in the list?
@rancid minnow
Unless something else I'm using is affecting it, but it worked with 2.10.6
2nd one
1.12.2
.....
What?
oh fu||ck||n
lol
i tried using %pvptitles_rank% from the pvptitles plugin on my scoreboard but it doesnt seem to work. Does any one know why may that be?
Did you just update to 2.10.7?
not yet
@mint fable Unknown expansion.
well
expansions do not go in your plugins folder
to start off, you're on 1.16.1 and using outdated plugins
so pvptitles throws an error
same for probably most of the other errors you get
expansions go in your /plugins/placeholderapi/expansions/ folder
you really should update a lot of your plugins
or find replacements for them
will do, ill look to see what plugin needs be updated or replace and see from there👍
Does anyone know any placeholder that returns the player's offline time?
I don't think it's possible to calculate how long they've been offline
Cause that could be years
SuperVanish placeholder "supervanish_playercount% is not loading after I uploaded the new version of placeholderapi
You need to bring this up to the maintainers of supervanish
There is a PR for this, however even the PR still has outdated method calls
lol...
https://github.com/MyzelYam/SuperVanish/commit/0da0a5709e26856c1abc0ea7a8ace5e56bd03e77 looks like instead of merging the PR, the guy did it himself
And still managed to fuck it up
What a world we live in
I'll also add that we started a warning that is very clearly seen around 16 months ago, and they chose to ignore it for that long.
When I do /papi parse me %javascript_example% (tbh with all placeholders) it showss
failed to find player: me
@austere hawk /papi dump
not a command
You should update then.
latest is 2.10.7 right ?
Correct.
interally error
un que?
=paste
now THATS fucking funny
I'll see if I can get a patch out on that
Use bcparse in the meantime
@austere hawk On a completely unrelated note. 1.9.4...
really...
?
tbh not all
Thanks Glare
not all?
1.9.4 seems like a weird version to be on
well I was testing .js expansion and I had 1.9.4 downloaded in my mc launcher so I used a 1.9.4 server
ic
and cause my net is bad I didn't want to download other mc versions
fair nuff
📎
I hate you.
What
Hey here; I recently updated to the new release of PAPI (2.10.7) and downloaded the expansion for Server, previously in a 1.15 world I was using the placeholder %server_uptime% and in the current expansion it seems that was either removed or mistaken with %server_up%%
uh oh
%server_up%% returns nothing, so I suspect it was supposed to be the actual %server_uptime%
👁️ maybe on accident someone replaced time with %
- On https://api.extendedclip.com/expansions/server/ it also mentions the non-working %server_up%%, in the placeholder wiki page it's refers to the previously working %server_uptime%, not sure when the issue / change actually happened, but I was using the placeholder between April* and start of June of this year o3o
Its in game because its on the website
You're having an issue because for some reason that placeholder expansion is relying on a value that it used to be able to pull directly from papi
Its been removed, so it no longer works.
:c %server_uptime% has been removed?
Hello, I installed the latest version of PlacerholderAPI plugin from SpigotMC and placeholders for plugin GriefPrevention don't work. I used /papi ecloud download Griefprevention and reloaded the plugin "/papi reload" and they still won't work. I'm using Vault, Player and Gangs+ expansions and they do work except for GriefPrevention. I use "%griefprevention_remainingclaims_formatted%". Please help! And sorry for interrupting.
Hmm, so something changed codewise and it's no longer able to get the "server time", not familiar with code and values so excuse the inexperience :[
https://paste.gg/p/anonymous/7e9049362af34e5e8c10d2e441de834d
@rocky nacelle You're going to have to bring that up with whoever is the maintainer of that expansion
Oh alright. Thank you.
@hoary lintel
expansion is relying on a value that it used to be able to pull directly from papi
Its been removed, so it no longer works.
You will have to wait for the expansion to be updated.
Ah alright; would you if this was due to the newest version of PAPI, and would downgrading my PAPI version bring that functionality back?
@hoary lintel Yes, and yes.
Gotchya, thank you; came here to ask since Clip is the maintainer for Server ^ ^
Ah also; in the announcement it was mentioned:
This also means that expansions handling their own registration, might break. I'm currently going through any reported broken expansions and fixing them, but this serves as a warning to any non-public expansions that may be affected by this change.
How do I formally report a particular placeholder not working withinServeror has that already been done ?
Done, thank you ^ ^
Sweet I’ll update it after work
Hello! Is there any good placeholders for "total playtime of all players"?
%statistic_time_played%
Thank you! ❤️
no problem
updated papi and 2 plugins broke hahaha, how do I download a previous jar? need 2.10.6 in particular
Version tab on spigot
Please let the author of the expansions/plugins know their hooks are out of date
By chance are any mine lol
I know dchat and dm both broke but I’ll be updating both here in a few hours
ill train barry on some of these errors
the deprecation of PlaceholderExpansion.register(); in 2.10.7 was just forgotten to be un-deprecated, right? or should I use something else 👀
Fuck. You.
Lol
I had perfectly good reason to deprecate that
why does the announcement say "PlaceholderAPI#set Placeholders. PlaceholderAPI#register & PlaceholderAPI#unregister are being removed, in favour of PlaceholderExpansion#register" then? :D
Read the deprecation message pls
so it's the md style "hey look you might be interested in this"-deprecated? xb
First of all, no.
It's the "this method is going to be final in a future release, so it's deprecated now to warn you of that" style
but that's not what deprecated is for
That's exactly what deprecated is for
"A program element annotated @Deprecated is one that programmers are discouraged from using, typically because it is dangerous, or because a better alternative exists"
but I can see why you'd do that, thanks
What about the usage of it does not follow that definition
Placeholders from a plugin work, then when I do /papi reload, they stop working. Server restert makes them work again
Are they included in the plugin itself or is it an expansion
in the plugin
Assume they are provided by the plugin and the plugin doesn’t override persist
Since papi didn’t register the placeholders on its own and the plugin did, they are lost on reload unless the plugin that provides the placeholders tells papi to not unload them
Ok ill contect the dev, thanks
Anyone having issues importing 2.10.7 through Maven? I can get me.clip:placeholderapi:jar:2.10.6 just fine, but I can't seem to get me.clip:placeholderapi:jar:2.10.7 or me.clip:PlaceholderAPI:jar:2.10.7 to import for some reason.
That's not true.
The artifactId is PlaceholderAPI
Make sure youre using the placeholderapi repository, and not dev or public
Yeah I tried it with & without caps to no avail
<repository>
<id>placeholderapi</id><url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>
and
<dependency>
<groupId>me.clip</groupId>
<artifactId>PlaceholderAPI</artifactId>
<version>2.10.7</version>
<scope>provided</scope>
</dependency>
I can see it when I pull it up through the repo link is what's confusing me, but it refuses to import :L
declare the codemc repo as well
This is probably an issue of the transitive dependency not being resolvable
Do you have a link for it? If not I can go look for it
Declare all of these
https://rayzr.dev/repo/
https://repo.codemc.org/repository/maven-public
https://repo.extendedclip.com/content/repositories/placeholderapi/
Thanks, I'll give that a shot
Still nada. I wonder if it has something to do with placeholderapi vs PlaceholderAPI in terms of it trying to pull from the old one despite declaring as the new one?
Can you send your entire build file please
Woop- left a temporary test in that paste, Paper 1.13.2 -> 1.16.1 in the normal build which still has the same issue.
This exact build file works perfectly fine for me
Do me a favour, run clean on this project
Open your local repo
And delete everything under me.clip
And then refresh your maven project in IntelliJ
Hi!
That pushed it through!
Guess it did get hung up on old repo shenanigans. Thanks for the help!
All expension work after the update but, he left one expension
The stats.
Where i fix that ?
Yeah, if maven tries to download a dependency, and it fails, it stores a little file that tells it when it last tried to download it
Preventing it from trying to download it again.
Kinda wacky it did it when the artifactId was different, but hey, it's working! 😛
This is why we gradle btw
It would have been a completely different undiagnosable issue
lol
I learnt on Maven and I've yet to convince myself to go to gradle since it's the 'other side' lol
gradle init in the root of a maven project
gradle will convert as much of your pom.xml as it can
neat, I'll keep that in mind
pretty sure I've told you before but please go to #spigot-linking and follow the instructions first
ye i need to link my account i know. but my buddy bought the plugin how am i gonna link it then if i got send the plugin?
ugh ask him to link his discord then confirm he gave you permission to use it
hello!
%statistic_hours_played% only shows how many hours that one player played who is viewing the leaderboard
i whoud like ot make, so it show all hours from all members
is there a placeholder for that?
there is a plugin that lets you make leaderboards from that placeholder. its called LeaderHeads
Hey I created a relational placeholder expansion for towny on the 2.10.6 version which worked fine and just updated to 2.10.7 but I now I get this error when parsing my placeholder:
https://paste.helpch.at/anodasuwob.sql
Use: PlaceholderAPIPlugin.getInstance().getLocalExpansionManager().findExpansionByIdentifier(String)```
```JAVA
@Override
public String onPlaceholderRequest(Player playerOne, Player playerTwo, String identifier) {
Resident residentOne = getResident(playerOne);
Resident residentTwo = getResident(playerTwo);
if (residentOne == null || residentTwo == null ) {
return "";
}
Nation nationOne = getNation(residentOne);
Nation nationTwo = getNation(residentTwo);
if (nationOne == null || nationTwo == null ) {
return "";
}
if (identifier.equals("colored_nation")) {
return getRelation(nationOne, nationTwo) + nationOne.getName();
}
return null;
}
Where there any changes to the relational placeholder request? Couldn't find something about that in the 2.10.7 changelog
@upper halo,
oh man this bot will leave me without a job very soon
I ran /papi parserel <player> <player> %rel_nationrelation_colored_nation% so its not an issue with an external plugin
Did you read what the bot said?
also try this https://ci.extendedclip.com/job/PlaceholderAPI/
latest build is 2.10.8-dev-66
so it could have a fix
Ye I read the bot, just tried that dev version now the error is gone but the relational placeholder request does not work. Seems like this is broken String onPlaceholderRequest(@Nullable Player var1, @Nullable Player var2, @NotNull String var3);
I have a problem with the last update, I installed it on my server and it turns out that one of the placeholder "Animations" stopped working, try to delete and download it again but nothing.
This appeared on the console: https://pastebin.com/Vtng73QB
I decided to install the previous version and the placeholder worked again.
My server is 1.15.2
yeah the latest update of papi requires most of plugins/expansions to update. I'll ask someone to update this one as well
until then you'll either have to not use it and use latest version of papi or use 2.10.6 for a bit and wait until it is fixed
Hi, a few days ago I've put the %luckperms_prefix% placeholder in a deluxemenu and it was shown correctly, but now with the new update of PAPI I get a non-formatted prefix: https://gyazo.com/3ea5699400ec3e1cbe63bf589c89bc10 I've downloaded the LuckPerms expansion again
it should use onRequest @upper halo
thought i wrote that earlier, my bad
(if you're using dev build it's been completely removed I believe)
that's what I see on github
Yea thats for the normal placeholder requests but it seems like relational requests still uses onPlaceholderRequest
(if you're using dev build it's been completely removed I believe)
Ye true
package me.clip.placeholderapi.expansion;
import org.bukkit.entity.Player;
public interface Relational {
String onPlaceholderRequest(Player var1, Player var2, String var3);
}
Is there an ETA for PAPI 2.10.8? I am currently using development repository because I am not able to compile the project with 2.10.7
A custom one I just made for towny
We just released 2.10.7 yesterday. Why would we need a 2.10.8?
As I said, I cannot build it because in 2.10.7 there is ApiStatus that makes my project impossible to build without org.jetbrains:annotations dependency
So right now I am using 2.10.8-DEV-66
@upper halo,
still using 2.10.7?
@willow vessel it looks like the ListPlayersExpansion is not working and animation loads fine
Either way, I'll tag the authors
@heady falcon @junior musk ^
https://discordapp.com/channels/164280494874165248/573429521554866178/738085548752896013 for the direct link to earlier
oh ya you swapped it
kind of had to, but ye
you should use the better one @willow vessel
Ye the 2.10.8-DEV-66 doesn't have any errors it just shows the unparsed placeholder
so I assume public String onPlaceholderRequest(Player playerOne, Player playerTwo, String identifier) { } is just removed in that version
Should I make a github issue?
can you update to dev and send me the issue real quick?
then the next step is probably an issue
and then the people that know what they're doing can help
So 2.10.8-DEV-66 does not show any errors when I run the command /papi parserel <player> <player> %rel_nationrelation_colored_nation% and it just shows me %rel_nationrelation_colored_nation% in chat without converting it. Not sure what else I can tell xD
After updating PlaceholderAPI 2.10.7 %vault_prefix% no longer displays colors.
Pls help fix it
Hi, a few days ago I've put the %luckperms_prefix% placeholder in a deluxemenu and it was shown correctly, but now with the new update of PAPI I get a non-formatted prefix: https://gyazo.com/3ea5699400ec3e1cbe63bf589c89bc10 I've downloaded the LuckPerms expansion again
@brittle mica help please
have you by chance tested the latest dev build?
it looks like luck still uses onPlaceholderRequest which is deprecated so that might not work on the dev builds actually
it looks like luck is gonna have to update a few things
no idea why colors don't work though
actually even my expansion doesn't work anymore 👀
well yeah probably uses the deprecated methods
idk which ones ;-;
rip
wait wut
none of my expansions work
the only loaded ones are the expansions built in plugins
you seen the update ?
they need to update as well
ah
Versions tab
👀 seems like both the Player and Server expansions will need update 👀
and in the end, my expansions does work x)
server just updated
well you rly need to decide if it is or not xD
it loads
but when I parse the placeholder it just throws an error
and even when it doesn't throw one, the message doesn't parse the & color codes anymore
color codes
i've seen that before...
well fix your errors, colors might be a papi problem
you've seen color codes before;?
yes I'm on dev build 66
🤔 it does work correctly, but only the messages are broken
yeah anyways, I'll try to check tommorow
hey guys im on the most recent build of papi and getting these errors in console when trying to parse a denizen tag in my tablist via the tab plugin... not sure if to report it here or there:
https://pastebin.com/1PseGDpt
@woeful vapor,
sweet
after the latest update colorcodes stopped working for luckperms prefixes and deluxetags
i use it on venturechat
Yeah everything is broken atm just stay on 2.10.6
where?
venturechats config
the placeholders werent working, so i tried putting the %% instead
Nah we made a bunch of breaking changes in the new version that included removing support for parsing color codes
Don’t worry just stay on 2.10.6 atm
alright so yeah colorcodes are broken for this update?
Just wait for the next update and everything should be back to normal hopefully
ill have to revert the update then, thanks for the quick support!!
how do i download older versions from spigot
the version history tab
i checked through the wiki and couldn't find any but I'm just making sure is there one for essentials Bal? i want to add it to my scoreboard for my sky block server.
it's vault
i know but its werid
very
do yoy randomly get signed out of discord when your in the middle of using it?
nope
i bet
not sure
might do a clean install of your os
i dont
when it says you won a free cruise, they're ||lying||
u realise you can get stuf installed without you knowing
okay how?
through other programs you installed?
stfu
i'm being serious man
you gotta stop going to shady websites, install an antivirus if you have to, browser extensions, etc.
i fucking do
welp let's go to #off-topic if you want to continue
hi, i downloaded the new papi, and in chat deluxetags_tag doesnt work. It shows {deluxetag_tag}
2.10.7 has broken some things, best to revert back to 2.10.6 until the next update
oh ok
@mint fable,
Just an FYI, the latest dev build should fix some issues with colors not parsing in placeholders.
Please use it and tell is if there's still anything broken
If someone wants to drop a copy of the jar here, that works too
||wasn't the jenkins already pinned? 🤔||
I made placeholders for armor slots using the javascript extension that show the percentage of durability that is left for each slot and changes the color of the number based on the percentage. I'd like to share them so that other people can use them if they would like, where would I submit them?
@sonic trellis I believe you can PR the javascript placeholders repo
I dont particularly believe this will provide exposure
Thanks
I updated papi on one server and now bungeetablistplus is spamming my console https://paste.helpch.at/kocowofogo.css
Maybe complain to bungeetablist? @limber ice
why it works fine on 7 of my servers, just not the one I update papi to 2.10.7
Dustin my money is thats Adventure text
placeholders dont really handle colour formatting
It seen like I will code it myself
Yes. Im just lazy to do it,
@mint fable yo tell barry to put the damn link to the gradient expansion in here
@rancid minnow,
I have no idea which command it is
gross
wtf did you do
you made it ugly
How is that my fault
there
fixed
It only resolves for a single value atm @pine kettle
who the hell puts spaces c'mon
This expansion working with any chat plugin support placeholderAPI ?
nah but it makes no sense
especially because we did talk about placeholders having spaces
just not the identifier right?
'tis
It splits on space, instead of on %[^%]+%
@balmy marten u there?
or just new line
"Placeholders (One per line)"
it should be new lined
but people also don't follow that I don't think
nah nvm
the ecloud placeholders are weird lookin
When I am using papi on my server color codes dont work with the new update
@brave oyster download the build from jenkins
TY!
Why is this happening on my towny server but not any others https://gyazo.com/9d8c8621d03c7737ddadbe11012ed153
I have registed the plugins like it says to do
@brave oyster
can u do /papi parse me %player_name%
also check if u are in the latest placeholderAPI version
most likely yes
ok ty
did u try reloading the plugin(scoreboard plugin) ?
I plan to upgrade the animation expansion... it will be a while until I do
New features appear first in my other plugins then slowly seep down into the non-premium ones
And gradients really need cleaning up, with performance improvemnts
Infact I'll start today
My IDE says "The method register() from the type PlaceholderExpansion is deprecated". This makes no sense since that's the right way to do it (instead of register in PlaceholderAPI) and the javadocs don't show it as deprecated (https://extendedclip.com/javadoc/placeholderapi/me/clip/placeholderapi/expansion/PlaceholderExpansion.html#register--). Does anyone know what's going on?
I am using maven for dependency management, added the latest PlaceholderAPI version (2.10.7)
@somber igloo Its probably worth noting that those javadocs are not for latest
Oh my god..
Did you check the version of this???
Its for 2.2.0
lmfao
hmm
this is this register method in PlaceholderAPI, not PlaceholderExpansion
true
confused noises
lol
It says to use this on the wiki and in the latest release though
Sx, does the javadocs get downloaded with the api?
@somber igloo Yes, that is correct.
It's a bit confusing that you're telling people to use a deprecated method
thanks though, I'll update it again later when you change it
In lieu of a better way, I decided to deprecate the method to bring attention to it
The method will be final
And it should not be overridden
And look at that
You know that now.
Which means what I did worked as I intended
The new papi is not working nicely with all of my plugins
@brave oyster complain to the authors of those plugins
But why would it not be placeholderapi's problem because it was working before and they updated it and broke stuff
@brave oyster Do you complain to spigot when a plugin doesn't work on a new version?
Serious question...
First please stop @ ing me very time. and second no because its not spigots fault if mc changes code
@brave oyster Your logic doesn't make sense...
If a plugin targets a specific version, and it uses specific methods from that version
@rancid minnow stop fucking @ ing good god
It is up to the author to update that code
To match what is available in that new version
hi, i'm having some trouble with papi and deluxechat. when sending a chat msg, a console error appears. as far as i know in-game everything works just fine but that error still doesn't look good ^^' you guys have an idea?
Could not pass event ChatToPlayerEvent to DeluxeChat v1.16.0
PlaceholderAPI no longer provides a view of the placeholder's map!
https://paste.helpch.at/elamaweyif.pl
thanks barry bot <3
@native moth,
what's the relational situation @rancid minnow ? use the dev build for that or 2.10.6
The what?
Hello, I have Factions plugin in my server but somehow I can't download the factions placeholders.. (It used to work two days ago). - /papi ecloud download factions
how to add a cusom economy plugin to papi so i can use it in the scoreboard?
like it shows money how much i have
on the scoreboard
Would someone know about a placeholder that asks if a player is close to the person?
Like %close_(username)_4_blocks%
how to add a cusom economy plugin to papi so i can use it in the scoreboard?
@minor hamlet ask the author to hook into papi
Would someone know about a placeholder that asks if a player is close to the person?
@median kindle I made an expansion to get a list of players in a radius of blocks around you
PlayerList
%playerlist_online,nearby,no,list,<radius>%
¯_(ツ)_/¯
my PlayerList expansion doesn't have any problems (except one but it was a mistake I made with arguments that I just fixed and updated x) ) and the plugins I use on my test server already supports the new version so personnaly I'm fine to update
And how can I make a placeholder of the player you typed in a commandprompter
It should be a thing
?
I’m using commandprompter
And I want it to detect if the player you typed in the chat
Is around you
i need help
i need help
There is no time to wait! Ask your question @stiff helm!
The placeholders arent working in my scoreboard
I have placeholderapi and the factionsuuid plugin
they are just not working
i even copy pasted the place holders to make sure i had the right spelling This is the skript i have: every 5 seconds:
loop all players:
wipe loop-player's sidebar
set name of sidebar of loop-player to "&c&lFACTIONS"
set score "&c&lFactions:" in sidebar of loop-player to 15
set score "&fName: %{factionsuuid_faction_name}% " in sidebar of loop-player to 14
set score "&fLeader: %factionsuuid_faction_leader% " in sidebar of loop-player to 13
set score "&fMoney: %{faction-balance}%" in sidebar of loop-player to 12
set score "&fPower: {power}" in sidebar of loop-player to 11
set score "&c&lAbout:" in sidebar of loop-player to 10
set score "&fName: %loop-player%" in sidebar of loop-player to 9
set score "&fMoney&8: &f%loop-player's balance%" in sidebar of loop-player to 7
set {_prefix} to "%colored loop-player's prefix%"
replace all "[" and "]" with "" in {_prefix}
set {_suffix} to "%colored loop-player's suffix%"
replace all "[" and "]" with "" in {_suffix}
set {_name} to "%colored loop-player's name%"
replace all "[" and "]" with "" in {_name}
if length of {_suffix} is greater than 2:
set score " %{_prefix}% &8+ %{_suffix}%" in sidebar of loop-player to 5
else:
set score "&fRank: %{_prefix}%" in sidebar of loop-player to 6
set score "&c&lServer&8:" in sidebar of loop-player to 4
set score " &fIP: TrippiMC.minehut.gg" in sidebar of loop-player to 3
set score " &fStore: trippimc.tebex.io" in sidebar of loop-player to 2
set score " &fDiscord: /discord" in sidebar of loop-player to 1
set score " &fOnline:&f %number of all players%&8/&f100" in sidebar of loop-player to 0
https://imgur.com/a/T4wa2PQ
PAPI can't hook into MRL no more. Any one with same issue?
Downgrade to 2.10.6 for now until MRL get's updated
actually use dev-78
if any of you know skript
smh clip
Noice clip
be patient or figure it out yourself
maybe it doesn't work bc papi it's %XX% not %{XX}% nor {XX} ?
.
Stop.
I'm getting a NoSuchMethodError from placeholderapi in 1.8.9
Caused by: java.lang.NoSuchMethodError: org.bukkit.command.CommandSender.spigot()Lorg/bukkit/command/CommandSender$Spigot;
that sucks
I can send the full error, if that would help, might be something I did on my end.
Maybe I implemented the expansion wrong idk.
no what you provided is enough
some commands use player.spigot() which must have not existed in your version
Why are we using that? O.o
were not going to add backwards compatibility going forward so its your best bet to use whatever old and outdated version of papi that works for you
tough choice but that is what it is
Well, I have a premium resource that supports all versions, so it's probably best if I drop backwards compatibility as well.
Glare, I was gonna say rgb, but there's no rgb yet 
As my plugin is primarily based around placeholders.
Where can I find that?
Ight, ill try it out
report back my man
ah I think I fucked up the expansion
u made it?
Okay well I can see why that error happened, but it's easily avoidable.
pretty sure it does
hm did you change the plugin name to all lower case?
Think he did yeah
kk the dev build fixed it thanks
i think papi 2.10.7 not working on 1.13.2
oh didn't see "This update has the potential to break your hooks / current placeholder providers if you are using outdated methods that are no longer supported"
use the dev build @grim frost
oh where can i find
pinned messages
thakns
Download the latest development build here: https://ci.extendedclip.com/job/PlaceholderAPI/lastBuild/
oh no, i think problem is in my plugin
damn time to update!
try /papi parse me %player...
did u see how it tab completes placeholders now?
oh i get it
@Override
public List<String> getPlaceholders() {
return return Arrays.asList("%one%", "%two%");
}
would sokme know if its okay
var permission5 = "%marriage_gender%";
function anything() {
if (permission5 === "unknown") {
return "&7Unknown";
if (permission5 === "male") {
return "&bMale";
if (permission5 === "female") {
return "&dFemale";
} else {
return "&7%marriage_gender%";
}
}
anything()
i want it to change the output to those ones
You can use a switch
switch (permission5) {
case "unknown":
blah
How about you heck out Kali smh
🙂
its too hard
can i use mine?
or its not good
i think i have to remove this: } else {
return "&7%marriage_gender%";
}
Wdym it's too hard
i dont understand javascript sowy
I mean have you tested the above?
Literally all my placeholders are broken in every plugin
Since the last update..
What should I do?
Ask all those plugins to add support for the new system.
Funny, some are no longer being updated like bossshoppro
As per the announcements here, I believe they’re pushing an update tomorrow that will let the old method work but mark them as deprecated, and then OFFICIALLY remove them again here shortly in the next big push, just to give plugins time to update.