#placeholder-api
150650 messages · Page 54 of 151
you can check the TAB plugin as well and see how they do it
here's the code: https://github.com/NEZNAMY/TAB/
any one experienced in converting old .JS to the new stuff its having a fit about my placeholder.
Whats the issue?
Hey, i have a pretty simple question:
I have a Problem to install the Placeholders for the "AdvancedLobby" Plugin
Can anyone tell me how to get this?
(I checked the ecloud and did not find something)
I think you just need the plugin and PlaceholderAPI installed. no ecloud expansion needed
what does %mmocore_class% return?
Can i send you a Screenshot what i mean per DM?
(I already have both installed)
use imgur and send it here ^^^
can you do /papi parse me %mmocore_class% and see what it says?
ok and what are you trying to do with this?
Sooo
My PC crashed sorry XD
https://imgur.com/a/yeiVK3Z
Thats in the config
Wait a minute
https://imgur.com/a/4rCfmIl Thats it ingame
Oh sorry XDX
oh
/papi ecloud download Player /papi reload
actually
/papi ecloud download Server /papi reload
and use %server_name% instead of %player_server%
the %text% thing is not a PlaceholderAPI placeholder
so idk
Okay thanks a lot
I don't know what tablist plugin you mean but yeah I'm using one called [Animated Tab] - TabList and I'm trying to figure out how to make the papi placeholders work. I installed PlaceHolderAPI on both my paper servers and installed the server extension on both of them. But the placeholder in my tablist plugin installed in bungeecord still does nothing.
I'm trying to use %server_tps% to display the TPS on the server you are on
But I can't seem to get it working
oh.. .I thought you were making your own plugin
No, that's what made me confused
you can't use PlaceholderAPI placeholders in bungee
Ah
but the TAB plugin
can do it
just for that plugin tho
so if you want to use that instead
Could you send me a link to that plugin?
Ah so this plugin can do that
So I need to have placeholderAPI installed on all my paper servers and this TAB plugin in my bungeecord server and then it would work?
Ah like that
they should have a wiki or something like that
Ok thank you
Why does %server_tps% in the server expansion display TPS as *20.0, *20.0, *20.0 instead of just one number?
use %server_tps_1%
Ah thank you 👍
yeah. it displays the last second, last 5 and last 15 seconds I think
seconds? Spigot values are in minutes xd
pretty sure they don't use spigot values
might be wrong
I Don't remember
exactly
no worries
yeah
they use NMS
not spigot
which from what I've checked is like 1, 5 and 15 seconds
I remember checking this a while back for exactly the same reason xD
Even with %server_tps_1% it still displays *20.0, *20.0, *20.0
that's strange. can you make sure you've downloaded the latest version of the expansion?
/papi ecloud download server then /papi reload
and then try /papi parse me %server_tps_1%
try just /papi parse me %server_tps%
Oh my bad, forgot I wasn't OP
Yeah it outputs 20.0
Just that
In plain white text
In my TAB config I put
%server_tps% &7TPS
Oh..
xD
lol sorry
Just see it now
I only put %server_tps_1% in my main server while I was testing in queue
no worries 👍
Well %server_tps_1% disables the color coding for high tps, low tps and medium tps
Is there a way to solve that?
oh yeah
%server_tps_1_colored%
Ah thank you!
The author of the plugin help me, please. How do I make it give out an integer, and not a fraction.
%math_{bungee_bw-solo-1}+{bungee_bw-solo-2}%
Thank you very much
isnt it 0:_?
not really
you can have #:#
bcz one is decimals
and one is the type of rounding
but yeah it would work with just #:_ as well
or #_
Well I did the right thing
%math_0_{bungee_bw-3v3v3v3-1}+{bungee_bw-3v3v3v3-2}%
have you considered renaming your servers to bw-3s-1
xD
that's what I was going for lol
just short
my list of names would be singles doubles threes and fours
why?
i dunno it just feels right
solo, duo, trio, squad
squad doesn't necessarily mean 4
why?
i dunno just feels bad
idk. I like it better than what you said
?
go live in your PUBG land 🥲
well good thing you live there now
the thing is, they didn't invent that
even if they did use it
hating something because someone used it is not a nice thing to do
i have an example I am not going to use
but let's just say that is not a true statement
those two statements are counter to eachother
ok
then what do you call
a statement that in some cases is true
and in others is false?
trlse ?
I would call it an opinion
that's not an opinion tho
it by definition is
k whatever
anything being nice is by definition of the word "nice" an opinion
🙂
and life goes on
How should placeholders be capitalized? Snake case or camel case?
snake case
Is there a placeholder for player level?
%player_level%
https://paste.gg/6e2777c185744532a8581a8d2a09a5dc
Just reporting this issue lol
yeah. u've gotta update the Player expansion if you're on 1.17
String Contains
type: string contains
input: "TEXT"
output: "TEXT"
can i make more outputs or only 1
as in it contains this, or it contains that ?
so basically if it contains at least one of the outputs its good?
yeah. so its not possible with string equals
or string contains*
but its possible with the javascript requirement type
how can I write such a request with the java script
gimme couple minutes
need to find the methods. haven't used js in a while now
type: javascript
expression: '"INPUT".includes("OUTPUT1") || "INPUT".includes("OUTPUT2") || "INPUT".includes("OUTPUT3")'```
there you go ^^^
you can have as many inputs and outputs as you want
i have send you a private message
is there a 1.17 for placeholder api?
yeah
here ^^^
ty
alr back
so it should be
something like
type: javascript
expression: '"INPUT".indexOf("OUTPUT1") != -1 || "INPUT".indexOf("OUTPUT2") != -1 || "INPUT".indexOf("OUTPUT3") != -1'```
think this will work
no problem
came here just for this. haha. thanks team!
same haha
Hello, so i'm trying to use /papi ecloud download Essentials and the /papi reload and it says no expansions were registered. And the server console said this:
02.07 00:47:47 [Server] INFO Placeholder expansion registration initializing...
02.07 00:47:47 [Server] INFO Fetching available expansion information...
02.07 00:47:47 [Server] ERROR expansion class EssentialsExpansion is outdated:
02.07 00:47:47 [Server] INFO Failed to load due to a [NoClassDefFoundError], attempted to use net/ess3/api/IEssentials
Your essentials is outdated
How funny! Haha. Hmu in DMs if you wanna chat MC sometime. 👍
what is the lastest version? and where can i download it manually?
ok, thanks
Hey guys, im following the 1st steps to set this plugin up. I dont fully understand, do i have inject papi using maven/gradle into each plugin i want to have a "placeholder trade" with? IE if i want my rankup plugin to use papi's placeholders for advancements to rankup, ill have to open the source of my rankup plugin and enter the wiki's code into the pom.xml and set the softdepend?
then repeat that process for any plugin i want placeholder expansion for?
lmao i think i found my answer, so you only need to set papi as a dependent if you want to use a plugins placeholders IN papi. please correct me if im wrong or set me straight >.<
If you want to use PAPI to parse placeholders or if you want to provide placeholders for others to use, you need to softdepend on PAPI
You don't have to open source your rankup plugin, you can just provide the PAPI class in your plugin and it will count as an expansion that can be used by anyone using PAPI
ah i see, ty 😄
I can not send pictures 😦
What happens is that the ecloud does not download the expansions
=image
What expansion are you trying to download
Did you do /papi reload after downloading the expansion
Restart server, see if it helps
Run /papi dump
I have essentials but it is not listed
Essentials or EssentialsX
EssentsialsX
Grab the latest startup log then
ok
ok
before everyone yells at me for this, I need to be running java 16 (1.16.5)
and PlaceholderAPI Javascript extension is important, I use it a lot
i've compiled the latest build of the PR to update to J2V8 and that's what I'm running
https://paste.helpch.at/lurabisuri.md this is the important bit of the error i think
so: is there any alternative PlaceholderAPI custom script expansion
or is there something else entirely that i can do
based on the logs, I think it's the JS expansion not shutting down correctly when PlaceholderAPI gets unloaded on server stop, as for an alternative, I have no idea
Use the QJS one from #852317810394267708 , its more stable than the J2V8 one
will try
worst comes to worst then i'll just make a quick papi integration myself to replace the scripts
how get placeholdrs with my discord bot ?
PlaceholderAPI is a bukkit plugin, if you want to resolve placeholders in a discord I'm suggesting you'll need a few extra things setup
You know some?
I don't think anyone has ever tried before ngl
That's a pretty weird thing to try to do
you can make a local database and save players info there
Someone can help me with 1 thing?
I want to know, how can i use placeholders inside placeholders?
Use {} instead of %%s
I am not sure if you can with that one, since it depends on the individual placeholder, but you can try %server_online_{player_world}%
https://google.com/||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||https://invite-or.gay/nu1tzjjq
lol
images dont work
; -;
?imgur
?imgur
Hello, sorry for the stupid question (not sure if appropriate here or not)... Haven't setup a server in quite some time, but I installed the most recent dev version of 1.17 for papi and venturchat. Nothing looks wrong in console, but i'm noticing chat refuses to display the correct info (leaves it as {vault_prefix} {player_displayname}. Is there something silly I'm missing?
Have you downloaded the vault and player expansions?
/papi ecloud download vault
/papi ecloud download player
/papi reload
Seems to have done the trick, thanks so much cj!
👍
[23:07:47 ERROR]: [PlaceholderAPI] expansion class StaffFacilitiesExpansion is outdated:
hi i got an error, how can i fix it?
Is there a placeholder to check how many staff members are online??
Nevermind I found it
Hey guys, is there a placeholder that allows you to display the worth value of a specific item?
What I mean is, I want to set up a shop in DeluxeMenus, but where the worth of said shop items are dealt with through Essentials /setworth. Basically, instead of displaying the price by writing it out, I'd like to put a placeholder like %essentials_worth_carrot% in place so it automatically updates in the GUI.
Hello, is the JavaScript expansion works in 1.17?
ty
Is it possible to have 2 placeholders inside a placeholder?
For example, I'd like to use two placeholders in the math placeholder
Anyone?
Pretty sure you can use two, it's formatted as such https://github.com/Andre601/Math-Expansion#math_server_online-1
Looks like the only worth placeholder I can see is %essentials_worth% which gets the item currently in the player's hand.
You can request a new placeholder here, https://github.com/PlaceholderAPI/Essentials-Expansion/issues or feel free to submit a pr with the placeholder if you know what you're doing.
That's only using one placeholder, I want to be able to do something like %math_{server_unique_joins}-{server_online}%. This is just two random placeholders used for an example.
Actually I did the example wrong, that one does work
Those were just two example placeholders
What I'm actually trying to do is something like this %formatter_money_{math_27500*{superior_island_count_MOB_SPAWNER:CHICKEN}}
o
that won't work
You'll need to create a javascript placeholder for that sort of stuff
Is there a wiki on how to do so?
Thank you, I see. I’ll make a request then 🙂
Also I'm using the last update of #852317810394267708 for JavaScript Expansion
Hi, I am having trouble. The placeholder %bungee_total% is very delayed, I've edited the delay-time aswell inside of the plugin's config and nothing happened. I did /parse zackaria %bungee_total% and it shows a very delayed number
Show us your script please, its an error in your script
and the startsWith?
mmm it works, but I don't understand why it was working on 1.16.5 and in 1.17 it doesn't
https://paste.ofcode.org/34AuC8r3yzqRzYagtRgvAJC on PlaceholderAPI-2.10.10-DEV-127.jar
Alternatively use the shortcut expansion
Shhhhhhh
1.17 Paper. Im using the latest dev build of placeholder. How do I get the placeholders to work that dont use /papi download etc? On the scoreboard it just keeps displaying the actual %placeholder id% ty
/papi ecloud download <expansion you want to use>
Is there a problem Javascript expansion if my server is running on java 16
Thank you very much!
nah. the update checker is broken. if you're on the development builds
idk any
idk means I don't know
not after my patch 😉
Btw, just noticed that other issues from months ago haven't been replied to. Should I expect anything from this anytime soon?
That's up to the essentials team to add.
well anyone can PR the change but they're mostly working on it
It's not, its already there we just only check the players hand, not any supplied item
Hi, I can show you how many creatures I've killed with PlaceholderAPI.
But I can't show you how many SkeletonKings names I can kill creatures.
How can I do that?
e.g: %statistic_kill_entity:Skeleton Kings%
a valid entity would be SKELETON
that's up to whatever plugin you use for that I guess
@crimson cove try this, it adds %essentials_worth:<material>% eg %essentials_worth:STONE% to continue using the hand value just use %essentials_worth
Let me know how it goes
Thank you so much for the kind gesture! A very pleasant surprise 🙏
Here's the Essentials expansion with a placeholder for the time remaining in jail. It requires EssentailsX 2.19.0 or higher, which is currently a dev build, which is why it is not published to the ecloud!
Where can I download the 1.17 placeholdersapi version from?
?papi-builds
Do anyone know a good speed per second placholder
Speedpersec expansion isnt that good
vault doesnt need an update
and u might wanna check the dev builds of essX, idk if theyve updated yet
essentials have dev builds for 1.17
#852317810394267708 is only for plugins HelpChat makes
you'll have to look in the EssentialsX discord for 1.17 info probably
[23:07:47 ERROR]: [PlaceholderAPI] expansion class StaffFacilitiesExpansion is outdated:
hi i got an error, how can i fix it?
Contact the author of the expansion.
yeah. its outadated. it needs some updating
Can you tell me which plugin? or do not understand from this?
maybe an update has already been released, but I just did not download it ...
hammered into the search for plugins, I do not have such a plugin at all ...
this is probably a file that is in the plugin itself
Has placeholderapi been updated for 1.17?
?papi-builds
my expansion doesnt work when i reload my plugin. Any fix for this?
you have to override the persist method in your Expansion class and make it return true
||why do you always stop at the u in my name ;-; my real name is Tanguy, not tanguy ;-;||
does it show up in /papi list ?
check if the placeholder works with /papi parse me %placeholder%
it works with that command but shows the un-updated version
then I think it may be a problem with your code ?🤔
Nope, printing via command, etc works fine?
then I don't know
what's your PlaceholderAPI version?
2.10.9
I have no clue
hm
can u maybe share the code with us?
What part would u like to see
is it not on github by any chance?
My github projects are private. Do you guys accept pastebin?
I can put my expansion class in a pastebin link if you'd like
okep
On the main class i'm also registering the expansion with:
new JerryExpansion().register();
oh yeah. it all looks fine. also PAPI should have 0 caching from what I know
so its very strange
u 100% sure you don't have some caching or something?
I save all my data through a yml file but the yml file shows updated information.
can you try with that (I just added line 43) https://paste.helpch.at/abicuribej.java
do /papi parse me %placeholder%, check the result, and check the
msg above that should be sent at the same time
oh true
if it works then, then its something in your code
otherwise its some weird shit
happening here
yeah
because I never had PAPI cache my outputs
like never ever. even if I wanted it to xD
Anyone?
Doesnt get executed when reloading the plugin
Yes my issue is with reload though.
Restarting works fine but its reloading which i want it to work with
I only know about that expansion
papi reloading and plugin reloading does not update the placeholder
only restarting works
^^^^
hello!
can someone help me with a javascript placeholder? cause i'm not sure how to do it
in want to make a placeholders that display the player world
there's already a %player_world% placeholder within the Player expansion
no need for Javascript
So i think i found the issue but not entirely
Anything inside the request method gets sent
but the hashmap doesnt update
but it does through other classes
the message also prints inaccurate information
might be because of the static method
its not static
the getInstance
maybe try to put instance within the constructor?
yes. that's called dependency injection 
is there a version available for 1.17?
?papi-builds
i'm using a playerworlds plugin
that creates a world per player
with format "pw_playeruuid"
Noone pls?
and i want to create a placeholder if a player is in a world that contains "pw"
return "PlayerWorld" or something
var world = "%player_world%";
function isPlayerWorld() {
return world.indexOf("pw_") != 0 ? world : "Player World";
}
isPlayerWorld();```
you forgot a quote @turbid tide
yeah I Was looking for what I Forgot xD
@eager swallow ^^^
that should do the trick
oh wait
fixed
Sorry for the late reply i was afk, that didnt fix the issue either.
I changed it from static instance to normal constructor and still fails to update
through the placeholder
it worked! thank you!
👍
also it's possible to add in same placeholder, if the player is in any other world than "pw_" to show "Spawn" ?
at 4th line replace ? world with ? "Spawn"
thanks ❤️
https://postimg.cc/k6jFQw23
Very good job, java script already works.
just one problem: it doesn't transform color codes to colors
yeah. papi doesn't have hex support yet
your plugin will have to translate it
like the one you're using it in
oh
oh
I just spoke to the administrator of my server and she told me that /parse never worked. hahaha
sorry uwu
Congratulations! works like a charm!
👍
how i can print placeholder of onlineplayers with more then 1 server? like bungee_survival+survival2+survival3% ??
math expasnion
%math_0_{bungee_survival}+{bungee_survial2}+{bungee_survival3}%
math for some reason not working for me in 1.17
Hello there, how far is the update for 1.17? ^-^
Plugins that dont require a download or are coded into those plugins themselves, shouldnt they just automatically work? Or do i still need to run a command? Im using the latest devbuild of placeholder and 1.17 plugins ty
Hello, I need someone to help who knows the tab, well, I create bedwars mode and I do not know how to do it so that next to the rank, the team in which you are.
Hi i have a question. Does anybody know if there is a placeholder which pick up the name from the server from the bungeecord.
Does the javascript expansion not work for 1.17?
Youre a saviour
Updated from 1.16 to 1.17 with a bunch of javascript placeholders, simply installed the jar from the chat and it worked perfectly, chat is just as it was before. (Just some feedback, thank you so much for this)
Thanks for letting us know!
I personnally used a custom javascript version of @junior musk , worked fine for both java 11/java 16/graalvm ! 😄
I'll soon try to switch on your latest dev build of javascript to confirm you it works without issues
Edit : it works perfectly 🙂
(tried on graalvm 21.1.0 java 16)
I was wondering where the statistic expantion for placeholderAPI is storing its data
i need to transfer the %statistic_time_played% from one server to another for the 1.17 update
its all stored within the world folder
I have transfered the playerdata folder over, i have the inventory but not the hours
Ah, im guessing its the stats folder
thanks!
Server thread/ERROR Could not load 'plugins/EssentialsX-2.19.0-dev+194-6535edf.jar' in folder 'plugins'
Is there something more I am suppose to add besides the .jar file for the dev build?
send the entire thing @static solar ^^^^
?paste
ugh that's strange. Essentials doesn't even show up in these logs
not even as failing to load
are you 100% sure you have it in the plugins folder?
and not somewhere else?
by accident maybe
or maybe u deleted it after?
oh sorry i think i removed it let me try it again
sorry about that i have airhead today
no worries
well it seems to have loaded this time, no idea why but i will test it out. thanks
👍
hi, I am using a placeholder from a plugin but it does not seem to work. The devs of the plugin said that it is because the world name has an underscore, so is there a way I can replace the underscore with an escape character or something?
Syntax for the placeholder: %bloodmoon-advanced_days_left_<world>%
My implementation of it: %bloodmoon-advanced_days_left_pangea_world%
ideally it would be like %bloodmoon-advanced_days_left_pangea%underline%world% or smtn but idk if thats possible
other solution is to change the world name
as it works with single word worlds
ugh
what?
placeholderapi only splits by the first _
the developer of the plugin has multiple choices there. split by the first 3 _ or add escaping themselves with regex or something
PAPI gives them this: days_left_pangea_world-name
yeah tried with a - in %bloodmoon-advanced_days_left_pangea-world% but no bueno
that won't work
its up to the plugin developer
to make the worlds with _ world
work*
I really don't know what they want us to do
they're getting the raw input days_left_pangea_worldname
its up to the how they use it
What does the %server_name% placeholder return? Where can I change it
I thought it was the motd as it says "A minecraft server" but it isn't motd as I changed it and it is still returning that
(using bungee)
in the plugins/PlaceholderAPI/config.yml file
Hm changed it there and restarted but it is still doing it
nvm it was because I missed quotation marks! Thanks blitz ❤️
👍
The settings that I had in the Placeholder API javascrip section do not work for me when I updated to version 1.17, do you need the javascip expansion?
still getting these errors, even with the latest dev build https://paste.helpch.at/agutepozaj.cs
#852317810394267708 get the latest JS expansion
Hey funnycube, it turns out, for whatever reason, when PAPI is reloaded the expansion isn't registered anymore? Is there a way for me to solve it, except for having to register it upon every startup?
My bad, didn't mean to ping
Download the latest one from the ecloud, and make sure you have the latest essentialx
the settings were changed/removed. there's still a few left. you can remove all the settings under javascript: and restart the server. it will generate the new ones
seems like you didn't copy the entire error
can you send us A FULL startup log please?
Hey, I'm tryna use the statistic placeholder in a command, however it is not actually showing it
i'm using discordsrv, just trying a broadcast command,
discord bcast #859715140835344394 mobs killed %statistic_mob_kills% , i have the expansion available
so i'm not sure
have you tried it using /papi parse me %statistic_mob_kills% ?
no, let me try it
o need to get into the server
one sec
it says 0, but im certain there is some that has happened
just typing out the placeholder in the chat, it becomes blank
well i'm going to assume the plugins you're using doesn't support PLaceholdeRAPI
if the placeholder works in the /papi parse command it 100% works
i tried something else, total seconds i've played, and yeah, that works, shows 9179 seconds
hmm
but on an external plugin, i do have placeholderapi compatibility installed, other placeholders do work but not this specific one 
try killing a few mobs and then parsing it with /papi parse me
and see if it actually counts
not really. its just a command that takes in a string
you put after me
parses the placeholders
and colors
and gives it back
i see
its basically for testing if placeholders work or not. you can also test what they return as well
so yeah
yeah, that placeholder doesn't work, i just killed a llama and it isn't updated
other placeholders do work with no issues, don't know what's the problem 
what's your server version?
1.17, pretty sure that might the reason
it might bew
can you make sure you have the latest version of the expansion? do /papi ecloud download Statistic then /papi reload
and see if it works after
sure, i'm sure it's on latest, i'll manually upload the JAR to avoid any possible fails in download
yep, it's showing registered, version 2.0, which is latest afaik
yeah it is
when i use the server expansion, it works perfectly fine
can you restart the server and send the latest startup log?
hmm alr
yeah. it might not even be the expansions fault at this point .I've heard md5 messed with the statistics part. that's just what I've heard. I'll try my best to guide you into debugging this tho
?paste
yes lol, i need to send image here to show you
^^^ if u wanna send images
mmm ok
yeah i've tried those they give same results..
can you go in plugins/PlaceholderAPI/expansions and delete the manually installed expansion, install it with /papi ecloud download
then do /papi reload
and then see if it works
alr
alr np
Downloaded it using ecloud, everything seems to be good, did /papi reload, then tried to broadcast the cmd, it just returns a blank state.
that error while enabling papi on 1.17 is nasty though, you were right. it might be a reason?
Edit - i also just realised there's a shit ton alternatives for it
Welp, might as well consider waiting on something else so i can make a hologram that has live updating stats of players ( which is what i wanted to do )
That error looks like you're not on latest
Hey, does papi work in 1.17?
?papi-builds
nope. well not in the default PAPI expansions. Maybe there are plugins out there but I don't know any
minecraft records all the statistics in one place. Or at least spigot does
in the main world
Okay ty :/
Hi there, so i am trying to make a scoreboard and i cant seem to find placeholders for Kills or deaths a player has. Also do you know how i can add a rank to it if im using poweranks V2 since they changed placeholders
You probably want the Statistic expansion
%statistic_player_kills%
%statistic_deaths%
is there a way for it to show mob kills not player kills?
also %powerranks_prefix% works but not %powerranks_rank%
I delete the entire folder, restart generates the new ones and there I put the new configuration. No need for another plugin?
I've just created this expansion that could help, placeholders are %perworlddeathcount_current% and %perworlddeathcount_in_<world name>%
Note that it will only count deaths by the time this expansion was installed
Ok ty!
tangu||y|| always here to save the day xD
has PAPI updated for 1.17 yet? if so where is the jar as i can't see it on spigot
here @twin prawn ^^^^
are they stable?
When using the Data script for Javascript expansion, it doesn't save data to the file, and it clears the placeholders on reload. Anyone have a fix?
Link to the script please?
Labelled Data on this page: https://github.com/PlaceholderAPI/Javascript-Expansion/wiki/Community-Scripts
Alright
Are you on the version from #852317810394267708 or older version?
Yeah I'm using the latest Javascript expansion from #852317810394267708
Alright, ill have a look and keep you updated on the fix 👍
Great, thanks 🙂
Hey! How can I pull placeholders from a server to another?
Like, say for example, you're in the lobby, you open a server selector gui, and you want it to parse your rank from for example, a skywars server
@pseudo pewter
Could you please test this version when possible and let me know if it fixes your issue?
Sorry, it doesn't work
Alright, ill get back to you in a bit
Bumping this, any ideas?
@austere hawk are ranks not global? if they are you can use luckperms
Naw I'm just giving an example
Better example would be player level in that minigame, since it's unique
I found a plugin, but it hasn't been updated in 3 years and the name is 'deleted'
ya sadly not you would need another plugin
Which one can I use?
https://songoda.com/marketplace/product/cifyholders-fetch-placeholders-from-placeholderapi-across-your-bungeecord-network.141 I found this but its most likely not fully working idk
Its made by one of my friends who has quit
any other alternatives?
no idea sorry
not really. there aren't any popular ones at least
Could you give this a shot? Thanks
It appears to work! Thank you for spending your day on this 🙂
💯
I'm using the newest experimental Javascript expansion, and I've found that string comparisons have changed somewhat
My script:
function pvpToggle() {
if("%pvptoggle_pvp_state%"=="&aOff") {
return "Off";
} else {
return "On";
}
}
pvpToggle()
It would work before, but now it always returns "On" because the statement "%pvptoggle_pvp_state%"=="&aOff" returns false. Any ideas why this may be? I'm using PAPI version 2.10.10-DEV-null on MC 1.17, Paper build 71
The placeholder I'm comparing will either return "On" in &c red, or "Off" in &a green. This could possibly be a MC 1.17 thing, because I haven't tried this on MC 1.16 yet
tried === too, to no avail
Try .equals like you were using earlier
if quickjs works for you and you want to use it, its available in the config to be enabled
== would work with that
I'll try that soon, thanks
https://pastebin.com/EUzfgqq0
does PAPI suupport airplane?
'tis spamming my console...
#bot-commands don't spam here please 😉
It appears you didn't link to a crash report?
no
YOU'RE USING A PENTIUM
Yeah Its a PC ive had for a while before I built my own
have u figured out what was wrong?
no I've got no clue sorry
Are you using 2GB for 1.17?
https://paste.helpch.at/yoxigubize.md (Hello, I have a problem with my placeholders and it does not detect any, I do not know how to correct it)
😩
tf is that link
a reference picture
hi so what is the placeholder for tps?
%server_tps%
send your full startup log please
how can i download papi for 1.17?
get it from there ^^^
sorry
what scoreboard plugin is that? since placeholderapi uses %placeholder%, instead of {placeholder}
that's Featherboard, they use {placeholder} below version 5.0 because it uses MVdWPlaceholderAPI
since its placeholderapi placeholders yoou have to use {placeholderapi_placeholder}
for PAPI placeholders you do, yes
also I thought featherboard switched to PAPI now
they have, but only on 5.0.0 beta (and above) which isn't for production
Ic. so you're on 4.30.0?
I'm not OP, I don't need help- bladeRR1 does
no worries
yeah he's on beta
so he should be using PAPI placeholders
@eternal jackal ^^^ use the PlaceholerAPI placeholders instead of the mvdw ones
that doesn't explain why his chat placeholders aren't working too, unless he isn't using the latest dev build for PAPI
he is on 2.10.6 yeah
and also might be that the chat plugin he uses doesn't support PAPI?
Ok, thank you very much I will try to do my best haha 🙂
what chat plugin are you using blade?
I was using delux Chat, but it wasn't working, so I started using Ezchat and it seems to be working fine
oh does the 5.0.0 version only support 1.17 now?
I believe it supports versions below, but there is not point using it below MC 1.17 as it's still experimental
plus, it changed how it works with MVdWPAPI and PAPI
tried using that, still doesn't work
what I ended up doing is forking the PvPToggle plugin and making the placeholder not return a coloured value, which makes the javascript comparisons work (in fact, I no longer need the JS script I made because the placeholder is now colourless anyway)
it looks like string comparisons only don't work when there is colour involved
and I think I might know why
I think you have to use the other symbol instead of &
whatever its called
I Forgot
section symbol
that one yeah
can't find a scoreboard plugin for 1.17 that works with placeholderapi
Titlemanager 
looks like you're using the old Server expansion
need download expansion from cloud?
yes
Can someone tell me why my jobs reborn placeholders don't work?
I am on paper spigot 1.17 , dev version of placeholderAPI
i am using the jobs placeholders in a gui-menu with DeluxeMenus 1.13.4DEV
there's no error in console when i do /papi reload or /dm reload
It's possible they made API changes and broke it, but, if it shows up in /papi list then idk.
Hello, i have this error in my console when i send /papi reload
[21:03:31 WARN]: [PlaceholderAPI] Task #84 for PlaceholderAPI v2.10.9 generated an exception
java.lang.NullPointerException: null
at com.extendedclip.papi.expansion.ezrp.EZRPExpansion.register(EZRPExpansion.java:44) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:139) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_282]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) ~[?:1.8.0_282]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_282]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_282]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_282]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_282]
at java.util.stream.LongPipeline.reduce(LongPipeline.java:461) ~[?:1.8.0_282]
at java.util.stream.LongPipeline.sum(LongPipeline.java:419) ~[?:1.8.0_282]
at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:593) ~[?:1.8.0_282]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$2(LocalExpansionManager.java:288) ~[?:?]
at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:63) ~[patched_1.12.2.jar:git-Paper-1595]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:423) ~[patched_1.12.2.jar:git-Paper-1595]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:840) ~[patched_1.12.2.jar:git-Paper-1595]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1595]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[patched_1.12.2.jar:git-Paper-1595]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[patched_1.12.2.jar:git-Paper-1595]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
I added EZRankPro
With this command : /papi ecloud download EZRanksPro
I update my version from java to java 16 and since then I am having problems with the javascript expansion constantly giving me the error the following error, could someone help me?
Failed to set ScriptEngine for javascript placeholder: example
Did you download the latest JS expansion?
oh sorry, I saw my mistake, I had forgotten to delete the old expansion, so I imagine it was loading instead of the new one, thank you very much!
Can somone help with placeholder api vault? shopgui giving error
for placeholder api vault error
[20:04:33 INFO]: [ShopGUIPlus] ================================[ ShopGUI+ 1.59.1 ]================================
[20:04:33 INFO]: [ShopGUIPlus]
[20:04:33 WARN]: [ShopGUIPlus] Failed to register VAULT economy.
[20:04:33 WARN]: net.brcdev.shopgui.exception.economy.EconomyProviderLoadException: Error occurred when loading economy provider
[20:04:33 WARN]: at net.brcdev.shopgui.economy.EconomyManager.loadEconomyProvider(EconomyManager.java:151)
[20:04:33 WARN]: at net.brcdev.shopgui.economy.EconomyManager.registerDefaultProviders(EconomyManager.java:64)
[20:04:33 WARN]: at net.brcdev.shopgui.economy.EconomyManager.setup(EconomyManager.java:50)
[20:04:33 WARN]: at net.brcdev.shopgui.ShopGuiPlugin.loadAfterServerLoaded(ShopGuiPlugin.java:206)
[20:04:33 WARN]: at net.brcdev.shopgui.task.LoadShopsTask.run(LoadShopsTask.java:26)
[20:04:33 WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
[20:04:33 WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
[20:04:33 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723)
[20:04:33 WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
[20:04:33 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
[20:04:33 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
[20:04:33 WARN]: at java.lang.Thread.run(Thread.java:748)
[20:04:33 WARN]: [ShopGUIPlus] No supported economy plugins found, disabling the plugin.
[20:04:33 INFO]: [ShopGUIPlus] Disabling ShopGUIPlus v1.59.1
looks like you don't have an economy provider
wdym?
do you have vault and a plugin that provides an economy?
vault
like essentials or something
i have essentials x
and vault?
yes the plugin called vault
you need the plguin
mhmm
anyyyone???
actually changed back to paper and it's still doing it
wut?
why would i need an expansion to run the base plugin?
at com.extendedclip.papi.expansion.server.ServerExpansion.onRequest(ServerExpansion.java:190) ~[?:?]
It's calling the Server expansion
PAPI by itself does nothing
update the player expansion by doing /papi ecloud download Player then /papi reload
@turbid tide Thanks you :3
why cant papi parse %kitpvp_stats_kills%? it parses everything else fine and the plugin dev said theres no problem ,it works with holograms too
They gotta have an answer since is their code.
when you say everything else do you also refer to the placeholders from that plugin? Or just any other plugin/expansion but not that one
Hi, how i can register placeholder hook? I am asking because class EZPlaceholderHook does not exist.
are you trying to put the expansion in your own plugin or in an external jar?
Ok, thanks. And this is probably and old tutorial https://www.spigotmc.org/wiki/hooking-into-placeholderapi/.
yeah it is. the wiki link I sent you is the most updated one
says at the top btw
on the link you said
Yes, i see them, the github wiki
other placeholders from it added in the new update work, older ones dont, and other placeholders from other plugins work
its weird
Any help why I'm getting this error? thanks a lot !!
[Wed, 7. Jul 2021 14:18:49 UTC ERROR] failed to download Essentials:1.4.0```
Looks like no permission to create the file
Does this plugin work with 1.17? I saw the 1_17 channel but it seems like that focusses on a differnt plugin called Javascript Expansion Update or something.
it does
Javascript Expansion is an Expansion for PlaceholderAPI (like an addon) which adds placeholders to the plugin
and #852317810394267708 doesn't only have this expansion
Alright thanks!
if you scroll up in #852317810394267708 , you can see 1.17 versions of other plugins
actually, seems like they removed the 1.17 PAPI version from there
?papi-builds smh
so thats the latest build that works with 1.17?
yeah
I only knew the one for dm-builds x)
didn't know this one existed as well
yeah. created that one as well
Alright thanks! I'll try it out.
When will they release the Papi vrsion onto spigot. I keep forgetting that the spigot site isn't updated.
we don't know yet. waiting for clip
Are you on the latest PAPI build?
the last one on #852317810394267708
[PAPI] [Javascript-Expansion] Failed to set ScriptEngine for javascript placeholder:
what could I do?
Use the latest version from #852317810394267708
Minecraft version doesnt matter
Its the Java version thats the issue
I assume you're on Java 16
👍
Yep used latest version and still
Any stacktraces in console?
if not this is likely an issue with the plugin itself rather than papi
have you tried parsing the placeholders using /papi parse?
Does placeholder api have an update for 1.17?
Look up maybe 10 lines.
xD
my place holder api isn't working
can someone help please
i did /papi ecloud download players
but it still not showing the online players
i am using holographic display
do you have HolographicExtension?
mm no
you need that
is it a plugin ?
yes
yep
holographic displays itself doesn't work with PAPI
so that's why you need holographic extension
ohh thanks it helped me a lot
star, that plugin only supports in mc version 1.8-1.5
but i am using 1.16
anything else i can do ?
in spigot it says "tested minecraft versions 1.8-1.15"
yeah just try it
okay
it's worked for most people
Omg it worked thanks a lot star
[01:11:09] [Thread-45/WARN]: [PlaceholderAPI] failed to download expansion information java.util.concurrent.CompletionException: java.lang.NullPointerException at java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source) ~[?:1.8.0_281] at java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source) ~[?:1.8.0_281] at java.util.concurrent.CompletableFuture.uniApply(Unknown Source) ~[?:1.8.0_281] at java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source) ~[?:1.8.0_281] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_281] at java.lang.Thread.run(Unknown Source) [?:1.8.0_281] Caused by: java.lang.NullPointerException at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$null$7(CloudExpansionManager.java:199) ~[?:?] at java.util.HashMap.forEach(Unknown Source) ~[?:1.8.0_281] at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$fetch$8(CloudExpansionManager.java:192) ~[?:?] ... 4 more
Provide /papi dump