#placeholder-api
1 messages ยท Page 138 of 1
@austere hawk,
Please respect the rules, be patient and don't ping staff members!
I cant see the scoreboard Cj
I see the time, the ping.
And how can I shorten the scoreboard?
And how can I shorten the welcome text.
@austere hawk that question does not seem Papi related, use another channel*****
channel*
Hey guys ๐ I seem to have a problem with PlaceholderAPI.. Can anyone help? โค๏ธ
What's the issue?
Can i post a picture here?
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
ah okay, 2 sec
there we go
I see the "Could not fetch placeholder %votingplugin_total_alltime% from plugin PlaceholderAPI. Is the plugin properly installed?"
do you have votingplugin installed?
it's possible you don't need the expansion
How do I remove it? :/
go to plugins/PlaceholderAPI/expansions
hmm you do
and delete the one that is called VotingPlugin or something
probably there's a command for that but no idea what it is
then do /papi reload
oh so I don't have to close the server to delete it?
you still need it
maybe you just need to update it
run /papi ecloud download votingplugin
and /papi reload
lookin good
nah just spigot showing unnecessary warnings
I believe the expansion is a bit wrong
should be fixed, but should be fine
I wouldn't say "unnecessary"
yeah okay, thanks a lot guys! Seems like it isn't spamming the first pictures lines anymore
maybe I guess
it's because it doesn't override getrequiredplugin
but it also doesn't override onrequest
so I'm confused
Seems to be working anyway xD
odd
I appreciate it hehe
but good
๐
lol I see a lot was put into it
so much so that it's class is actually called VotingPliuginExpansion.class
๐
x)
๐ฎ @override is not required
at all
this proves how little I know about annotation in java
:)))
blitz looking thic ;)))
Now im getting server crashes.. Idk if its my host's fault or if its the update.. Know what this is? https://imgur.com/a/w4XJoSp
Contact ur host
Hi, I'm getting an error or I don't know if it's an error
Placeholderapi version: 2.10.6
/papi ecloud download statistic I'm writing gives the following message
No cloud expansions are available at this time.
The reason I can't use the higher version is because the dev36 script gave an error.
?ecloudblock
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.
read this @austere hawk ^. Also update PAPI. 2.10.9 is out and there's also 2.10.10 dev builds
dev builds are here: https://ci.extendedclip.com/job/PlaceholderAPI/
Shall I download the latest version?
its what we recommend yes. But we can't say that will fix your problem. The best solution we have is manual expansions download as the bot said
I am using the dev36 script. When I update the placeholder Api it gives the following error.
Caused by: java.lang.ClassNotFoundException: me.clip.placeholderapi.external.EZPlaceholderHook
@turbid tide
oh yeah so you have an expansion or plugin that uses an outdated hook
ah by the looks of it the skript expansion
idk if there's a more updated version of that expansion
Why can't I install in version 2.10.6 / papi ecloud download statistic @turbid tide
?
ur using outdated placeholderapi
.
yep
script developer returns 36 errors
skript dev36
https://ghostbin.com/paste/kUlRR
@mental night
I'm using low version because of this bug
@austere hawk because of 'which bug'? The error is because of your outdated version
Placeholderapi 2.10.6 /papi ecloud download statistic not working
No cloud expansions are available at this time.
That has nothing to do with Skript though
I don't know why that errors occurs, I suggest resetting the entire PlaceholderAPI folder and reinstalling latest dev build
Tried and gave the same error again
for the server extension, where does it get the name of the server
Hi, need a little help. I'm thinking now. So I use LeaderHeads, the placeholder gives me a nickname, can I somehow set the text color based on this data, depending on the user's group? Coloring his nickname in the band color
is papi 2.10.9 working for paper 1.16.4? if not where can I find dev builds of papi that work for paper 1.16.4?
I use 2.10.9 on paper 1.16.4
is it a way to but in a . or , in a placeholder? when it are large numbers is always help if you can split it.
Not required, but it's really bad practice not to use it
@flint nacelle you around to test? just added loreequals and it works with give
loreequals:<string> Separate lines with |
as long as this test works I'll push 2.0.0
yes can test ๐ witch server versions will you I shall test?
I tested with 1.16.4
so I feel testing with 1.8 or 1.9 would be fine
that's a good range
will check ๐
So test 1.9.4 all functions work can give lore and name, colours and text style work fine. 8.8 give gives fairly unstable results. gives numbers when using n. simply says that I did not receive the item (no errors), but if I relog in get the item but an item some has the properties from the item I give before. portion does not work (do not know if it is completely different name for this). But work fine if you use colors and k, l, m and lore, name can you change (test normal items). change lore row work fine.
@flint nacelle,
Please respect the rules, be patient and don't ping staff members!
@flint nacelle,
Please respect the rules, be patient and don't ping staff members!
hello i would like to display the number of golems killed but i can't find the correct entity name for mc 1.8.8 can you help me?
"Could not get the statistic 'KILL_ENTITY' for 'IRON_GOLEM'"
you get the same exact error for irongolem ?
for 'IRONGOLEM' i have invalid entity
ye so IRON_GOLEM is right then the problem is something else
ok :/
make sure you're on the latest version of PAPI and same for the Statistic expansion
papi : 2.10.9
statistic : 2.0.0
[Statistic Expansion] Could not get the statistic 'KILL_ENTITY' for 'IRON_GOLEM'
java.lang.IllegalArgumentException: The supplied EntityType does not have a corresponding statistic
for mc 1.8.8
what is the placeholder for all online players?
playerlist expansion
i think potions uses damage numbers so it might be mat:potion,data:8201 in 1.8 or something like that @flint nacelle
thanks ๐ test it too.
๐
as for the item glitching thing, I got no idea...
gives numbers when using n. simply says that I did not receive the item (no errors), but if I relog in get the item but an item some has the properties from the item I give before very odd behavior
oo I see I was too lazzy, I mean &n my bad.
ohhh
I don't think you can underline item names in 1.8
i don't know why, but I just feel that it wasn't possible
Yes it seams like it way it buged, in 1.9.4 it work fine. But other like &k &o &l work, but the output is strange for &n you shuold not get a item.
ya, I'll check into that
just tested, &n seems to work fine on 1.8.8 for me
in name and lore
strange
maybe it's something else on your server/client?
new installed client and server (1.8.8 paper new from papermc).
paper could be the issue
Strange seams like the server or client needed a restart, for it work now.
yea that not work. give error.
latest version
tested in 1.8 and 1.16 to work
just wanna make sure most bugs are out when I upload it
excluding the ones when people use invalid materials/potions/etc. ๐
I run this command, some times it not notice that there is an empty slot. Know that there is some vanilla bug that does not register a slot even always (do not know about what is causing the error). I deletes an item that the plugin added and runs it again for a new item and it says yes without adding an item (does not happen every time)
papi parse my name %checkitem_give_amt:1,mat:potion,data:8257,nameequals:&n test,loreequals:&6&n test if it work|&6or if it not%
what version?
also did you copy that from in game? it says loseequals
i gotta head to work, will be back later
in 1.8.8 I have to write it manually, was impossible to successfully copy it from cmd (useless use compared to what we run on the real server). So it can be a typing error, soo fix it.
@flint nacelle,
Please respect the rules, be patient and don't ping staff members!
Here is original but harder to copy ๐ https://i.imgur.com/vGJef24.png and i think is a vanilla issue.
Sorry Blitzzzzz i'm using 1.8.8
How do I use Skript with a variable? I tried this: %skript_percentage{player}%
This is the variable trying to place it with {-percentage%player%}
Oh is it normal to say "There is no expansion loaded with the identifier: Skript" when I try /papi info Skript, I downloaded it via /papi ecloud download Skript and did /papi reload which said no extensions registered and also tried restarting the server
Still no registered
It is only detecting tab plugin
which I didn't even download the extension for it, it automatically added it
?ecloudblock
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 tried this ^ ?
is it ok to have _bGsPupR at end of the name file?
yeah idk if that matters
Still nothing after /papi reload
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, was about to, since I just saw an error showing in the log
ye I think you are using PAPI 2.10.7 or higher with the old Skript expansion. But I need the logs to confirm
So, how do I get the newer one? I am only finding 1.0.0
ye its just a fork. i forgot who made it. It'll take a while to find it
seems like its been updated last year
ah
with /papi reload the same message
try the one from Tangu's link
December 23, 2019
surely won't
try to download the jar from the GitHub link I sent and put it in your Expansions folder in your PlaceholderAPI folder
delete the other skript jars from the expansions folder as well
๐
@cosmic shale or someone else can you pin this message? #placeholder-api message
or maybe @vivid sparrow saw you're online xD
ty
Im new to all of this... how would I start this process? I downloaded it, but I am unsure how to use it
what exactly?
So I downloaded it bec I am starting a factions server and I want the score board to show on the side all of this information, But I can't seem to get the scoreboard to show
well PlaceholderAPI is not a plugin that shows the scorebard. You can just show info in the scoreboard using this plugin but you need another plugin for the scoreboard itself
Scoreboard Revision is a free one
but good ones if you can afford of course are KiteBoard
for example
is *
titlemanager 3.0.0
or TAB Premium ยฏ_(ใ)_/ยฏ
TAB PREMIUM DOESN'T BEAT KITEBOARD
it does
also can you even buy it anymore?
you can
well with paypal I mean
or through the giveaways in #giveaways-2020
ty all!
๐
Hello
i got a error
[19:53:37 ERROR]: [PlaceholderAPI] expansion class TownyChatExpansion is outdated:
[19:53:37 ERROR]: [PlaceholderAPI] Failed to load placeholder expansion from class: pw.valaria.placeholders.mcmmo.bridge.McMMOPlaceholderExpansion
That the error i get on my server
how to fix it? ๐
the problem is that those expansion are outdated. Someone needs to update them. Idk who has access to update them tho. Until they are updated you could downgrade to PAPI 2.10.6
uhm you need to help me here
is it the plugin PlaceholderAPI
that give me the error
and do you got a link i need to downgrade to PAPI
yes. well not the plugin itself
the expansions
the TownyChat and MCMMO expansions
need updating
so i need to remove the file and replace it with PAPI?
download version 2.10.6
go to plugins and delete PlaceholderAPI.jar
now go again to plugins and place the one you downloaded from the linkj
link*
then restart the server
Thanks
now i get more errors
[20:26:13 ERROR]: [PlaceholderAPI] Failed to init placeholder expansion from class: com.extendedclip.papi.expansion.townychat.TownyChatExpansion
[20:26:13 ERROR]: [PlaceholderAPI] com/palmergames/bukkit/towny/exceptions/NotRegisteredException
[20:26:13 ERROR]: [PlaceholderAPI] Failed to init placeholder expansion from class: pw.valaria.placeholders.mcmmo.bridge.McMMOPlaceholderExpansion
[20:26:13 ERROR]: [PlaceholderAPI] Did not find a valid bridge! Are you using a supported version of mcmmo?
this 4
do i need to delete both folders?
befor?
no
well then why do you have the expansion? delete it. go to plugins/PlaceholderAPI/expansions and delete the TownyChat one
and the McMMO one
this is my plugin list
A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.
yes then do as I said above
and then restart the server?
I got no errors now ๐
๐
thanks you so much!
I will ๐
what is this
20:37:39 INFO]: ProCosmetics has been disabled! Reason: Maximum IP addresses reached for this license.
Okay thanks ๐
EssentialsX helper, says to contact here that Placeholders of Vault not work with EssentialsX currency.
did you download the vault expansion
Deluxechat placeholderapi Where can we find the part
@austere hawk,
Please respect the rules, be patient and don't ping staff members!
Can you be more specific? You can find placeholders on the wiki page for papi
Also your question sounds like a google search
Lmao
hello can you guys please help me?
So from a day to another placeholder api stop working when I do /papi reload it says this
an internal error ocurred while attempting to perform this command
Share the error that happened
ok
It's in your logs
I cant
?paste
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
โข HelpChat Paste - Usage
โข Hastebin
Seems to be related to AutoRestart
I'm not sure exactly what the issue is, LinkageError's are pretty weird
Maybe someone else in this chat has better advice
Btw, always make sure to use latest version of both plugins
hi everyone
I'm one of the Multiverse devs. I was just curious as to where the code for the MV expansion is
reason I'm asking is because we're planning on changing the API a little bit (just removing deprecated stuff), and I want to make sure the Placeholders won't break
ok I will delete the autostart plugin
yep it works!
the nicegamer7 is a multiverse dev i can verify
It's close-sourced, I'm afraid
okay, that's what I thought
I couldn't find it on the internet so I came here just to make sure
if anyone wants to make sure I am who I say, you can join the MV discord or look at GitHub (you'll see some commits by me)
anyways, just came to warn that the API might change soon-ish
Might be closed source, i'll chuck it up on github if it is
oh ok, cool ๐
@naive parcel https://github.com/PlaceholderAPI/Multiverse-Expansion
it's decompiled, sorry if shits broken
when i added %pvpstats_kdr% it just shows as that on quickboard
i have the pvp stats plugin and on the website it says theres no download command
Any ideas how to make it so it doesn't say 55 hours?
is there any placeholder for kills deaths or kdr that actually works?
LeakParkour no extension?
Console->papi ecloud download LeakParkour [06:53:45 INFO]: Failed to find an expansion named: LeakParkour
There is no expansion
Stats plugin.
So is there any way to do it manually or something?
there another expansion with parkour instead of leak
It's built into the plugin.
will that work for leakparkour?
btw thanks for this 
Highly recommend this: https://www.spigotmc.org/resources/aparkour.30923/
@near nimbus u replied to the wrong person lol
i was telling him it wasnโt gonna work
@turbid tide is js expansion usable on java 15?
ugh I don't think so. I'm pretty sure the engine needs updating
but we should ask @rare lily xD
he's the one working on it
aight
i need help. when i type in chat "/papi ecloud download Player" it says "Failed to find an expansion named: Player". Can anyone help me?
?ecloudblock
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.
guys is there a way to create a top kills leaderboard with placeholderapi ?
with hologram ?
nice, ty mate : D
๐ it also has a really good wiki
i will check it : D
Hello, is this plugin compatible with 1.16.3 ? Because the last update I see was on Aug 4 2020.
Here's the latest dev https://ci.extendedclip.com/job/PlaceholderAPI/
I just ckick to
PlaceholderAPI-2.10.10-DEV-118-javadoc.jar ?
can I format placeholders? for example, if a placeholder either can say 'online' or 'offline', can i make it say 'Online'? (i want to format stuff)
Ok, thanks
?
how though? @mint fable is there a guide?
An expansion that allows you to use javascript for processing
โข Wiki
โข Community Scripts
โข GitHub
โข eCloud
umm
so you can checkout the wiki
ohh, ok
https://i.imgur.com/4rfoAoZ.png
Any ideas how to make it so it doesn't say 55 hours?
could you give more information?
Basically i'm using the countdown PAPI Placeholder to Dec 25th and it says 55 hours for some reason along with days. Fairly sure thats a bug as it's only a week away..
oh icic
the countdown or the difference between 2 dates?
if you modify this it should work https://github.com/PlaceholderAPI/Javascript-Expansion/wiki/Community-Scripts#difference-between-2-dates
and you can just remove what you don't want shown
oh
wait I think I found the issue
I'm on 2.2.3, latest is 2.4
I think it worked! Thank you though.
I has update the issue cj89898 sry took some time for me to test this properly.
all good, thanks again for the help
if you think it's ready for release I'll update it
Oright i can do some more testing on newer versions (if we not counts errors if you set it up wrong ๐ ).
ye dont count that
Hello, can i ask a question here?
ask away
alright, im using luckperms and essentialsX (+essentialsXchat) and i want to add this line as placeholder (need to be in essentialsXchat if im right:
%clans_clan_tag%
But i dont really know where to add it. maybe its a dumb question but i've searched for the combination of these two and cant find it.
is this the right channel or?
You need chatinjector
it's a plugin that will allow you to put papi placeholders in your essentials chat
oh thanks, i will look ๐
i've installed chatinjector and restarted the server and its now this way in essentialsXconfig (Chat part)
format: '&8 {clans_clan_tag} &7{PREFIX}&r {DISPLAYNAME}&r &7{SUFFIX}&r: {MESSAGE}'
But its still not showing the good prefix, maybe i did something wrong?
it worked, nvm. thanks for the help!! really appriciate it
๐
and there is a placeholder responsible for taking the item ?
I get this error https://paste.helpch.at/bicikupece.sql and my scoreboard looks like this, https://prnt.sc/w5nt5y ignore the 2nd skyblock, thought it was a bug in plugin config.
My scoreboard config https://paste.helpch.at/xilexomutu.pl
help?
if you remove the %bungee_ placeholders does it still error?
any reason placeholderapi red in pl?
?startuplog
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
@warm sail send this please ^
how do i get my log from here
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
โข HelpChat Paste - Usage
โข Hastebin
thank you @silver minnow
ok sorry
https://pastebin.com/JRkracTEx here it is I got logs for latest startup
what ?
ok well idk latest placeholderapi broken in 1.16.4
wait it shows red in /plugins?
1 sec
ok
can you try this? https://ci.extendedclip.com/job/PlaceholderAPI/
download the latest dev build of PAPI
from the link and change the jar in your plugins folder
then restart
and is PlaceholderAPI still red?
yes
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.
?paste
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
โข HelpChat Paste - Usage
โข Hastebin
hm? the latest dev build didn't help with the error flood?
it doesn't give an error
[17:55:10] [Server thread/INFO]: [PlaceholderAPI] Disabling PlaceholderAPI v2.10.10-DEV
[17:55:10] [Server thread/INFO]: [PlaceholderAPI] null
[17:55:10] [Server thread/INFO]: [PlaceholderAPI] Error loading PlaceholderAPI v2.10.10-DEV at com.onarandombox.PlaceholderAPI.<init>(PHjava:56) ~[?:?]```
this is all it says
i will use older version till new one is fixed
ah, my bad. I was just making an assumption based on my own issues, sorry
thank u for help blitz
I guess. I rly don't know what the problem might be and that error is very unhelpful
can you let me know when it fixed so I can update?
Just some stacktrace errors on server shutdown, I've just updated to the latest dev build, so hopefully that should solve the issue
well if I ever find out what the problem is I'll let you know
ok
ah ok. let me know if it doesn't and use hastebin to paste the error.
errors***
sure thing, granted - there didn't seem to be anything inherently wrong, the plugin still functioned fine and I didn't notice anything going wonky, just some stacktrace errors whenever I shutdown
I mean I have an assumption to what it might be but once again just an assumption since i didn't see the errors
For future reference: https://image.opal.place/public/captures/230823.png
oh, no image perms
ah yeah
ultraperms expansion is missing the getVersion method
its not going to affect the placeholder indeed but its going to print a stacktrace yeah
mhm, figured as much.
yeah so nothing really you can do just ask the dev of the expansion to add the method
I'll talk to evan about it
Hi guys, do you know a way I can add placeholder outputs and return the added value with another placeholder? Like %javascript_sum% = %placeholder_1% + %placeholder_2% + (...) I feel this would be pretty simple with js but I'm just too dumb.
function main() {
return parseInt("%placeholder_1%") + parseInt("%placeholder_2%") + parseInt("%placeholder_3%");
}
main();```
this is the code
you'd need
you can learn here how to create a js placeholder tho: https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
Love u

Hello guys, i have a problem which i had in the past but still not finished (fixed)
The main issue is that some placeholders are not right sinced.
By that i mean that for example statistics. Mined blocks are set and it counted it one day it just set it to 0 and stopped working.
I've set placeholder in parse to test and it gives 0 for me.
I've removed player data in my world + some cashe files + essentials player data just in case
Does anyone have any idea where is statistics getting the values.
I am using 1.8 version and latest 2.10.9 papi version + no errors in console
https://hastebin.com/uqociyenoq.yaml anyone maybe got a fix for this yet ?
Can you be a little more specific?
PlaceholderAPI not enabling
well enabling and disabling
[17:55:10] [Server thread/INFO]: [PlaceholderAPI] Enabling PlaceholderAPI v2.10.9
[17:55:10] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...
[17:55:10] [Server thread/INFO]: [PlaceholderAPI] Disabling PlaceholderAPI v2.10.9
[17:55:10] [Server thread/INFO]: [PlaceholderAPI] Error loading PlaceholderAPI v2.10.9 please contact author!```
this is all it says
Could you try this dev build and let me know if it still continues? https://ci.extendedclip.com/job/PlaceholderAPI/lastSuccessfulBuild/artifact/build/libs/PlaceholderAPI-2.10.10-DEV-118.jar
yes i still get errors from that expansion
[00:16:03 INFO]: This server is running Paper version git-Paper-318 (MC: 1.16.4) (Implementing API version 1.16.4-R0.1-SNAPSHOT)
[00:16:03 INFO]: Checking version, please wait...
[00:16:04 INFO]: Previous version: git-Paper-213 (MC: 1.15.2)
[00:16:04 INFO]: You are 14 version(s) behind```
```>bungee
00:16:49 [INFO] CONSOLE executed command: /bungee
00:16:49 [INFO] This server is running BungeeCord version git:BungeeCord-Bootstrap:1.16-R0.4-SNAPSHOT:9c078b7:1539 by md_5```
```papi
[00:17:11 INFO]: PlaceholderAPI (2.10.9)
Author: [HelpChat]
PAPI Commands: /papi help
eCloud Commands: /papi ecloud```
Idk if this helps
[00:20:06 INFO]: Installed Expansions
Name Author Verified Version
-------------------------------------------
2. Player clip Y 1.7.2
3. Bungee clip Y 1.0.1 ```
ok so just reinstall it?
reinstall what?
placeholderapi? cuz dev version or latest version dont work
https://hastebin.com/sigimolixa.yaml heres dev version
yo how come galistener placeholder isn't working on deluxemenus @final shadow
@austere hawk,
Please respect the rules, be patient and don't ping staff members!
ok ill use older verson one till version 2.10.11 is out
I think the wrong bungee expansion was uploaded to the ecloud https://prnt.sc/w5pwoe <- screenshot from lightshot with the info
it was cause i got that same notification to update it yet i did
On the ecloud it says "Version 2.0" in the jar file it says "1.0.1"
@austere hawk,
Please respect the rules, be patient and don't ping staff members!
xD
@austere hawk,
Please respect the rules, be patient and don't ping staff members!
dotn ping please
@austere hawk last warning, stop
ok ms
You will get in trouble for spamm pinging staff
3 pings in 10m.
sorry ms.gaby
๐
waffle king so he did?
I have no idea. I just compiled the latest for you.
oh ok thanks g
waffle king also when i add galistener placeholder to deluxemenus it doesn't work it just shows the placeholder am i missing an expansion?
That expansion has not been updated in 4 years, and, clip isn't the developer for that one. Reach out to the developer, but, I doubt they really care anymore.
oh ok and ya looks like it didn't show the update issue anymore so it was the wrong version he uploaded then
Hello Friend! Could you help me with the DeluxeMenu plugin. The fact is that I run version 1.10.4 of the plugin on the papermc 1.12.2 core and everything works fine, but as soon as I want to install the latest version, I get errors in the console, they say I have incorrectly specified the id of the item and this error appears even in standard files that are created automatically by the plugin the first time.
you need to update
What exactly to update?
Here's the error: ( Material for item: examplecd in menu: advanced_menu is not a valid material name / id! )
The error im having is kiteboard ๐
@heady falcon ^
This is kinda bizzare, but I had to kinda force-update JS expansion stuff to 1.7 for new engine setup
Meanwhile, lists every features that are needed for this. Thank you
can we use /papi parse without an online player, cuz I don't want to close my IDE then start Minecraft and test and then close Minecraft and start IDE to code
Have both oppened?
that will crash my pc
If it's a player specific placeholder then yes you will need an online player
I c
i'm having a bit of an issue with the plugin
some expansions aren't working for some reason
Send a startup log
@edgy notch Unknown expansion.
yes
well the ChatColor expansion is using an outdated way to register placeholders
it needs updating.
the dev of the ChatColor expansion
no idea who it is
Is it integrated in the plugin? If yes then the dev of the plugin itself has to update it
yeah seems like its integrated
well I mean ask the dev to update
oh wait
you're using v 6.2
why?
that plugin is at version 1.10.3
or something
are you sure you have the right plugin>
Does anyone know of a Placeholder that I can use to count forward from a specific date? For example, I want to be able to set the date to say 18 December 2020 and it should display 22 Hours 39 minutes and 10 seconds
you can do it with javascript
if you want
I know I've done it before
maybe if I can find the file I'll send it to you
That'd be a big help, otherwise I'm gonna have to go and fiddle with js
after this game tho
๐
I don't need to withdraw a player's info, so is there a command to run that placeholder or I have to create my own command and try it ?
nope
doesn't seem like there is a parse command
here you go: https://paste.helpch.at/avediwajon.js
you need to use it like this: %javascript_timer_YEAR,DAY,HOUR,MINUTE,SECOND%
so for example %javascript_timer_2020_353,1,0,0%
would start a timer since yesterday 1 am
DAY = day of the year
not of the month btw
@limber flax ^
that js could probably require an update since its pretty old
but yeah xd if I do update it I'll let you know
Legend, thanks a ton!
@limber flax here you go: https://paste.helpch.at/zurewefime.js It did need updating.
the old one was a bit broken.
this one seems to work fine
I updated the math and the code
Okay, great. Thanks!
Anyone know if there is a simple way to change a color or character that appears depending on a condition being met? e.g. %haspermission_example.perm% returning a tick or cross instead of true/false or changing the color already present e.g. green or red
Thanks ๐
well you could use the javascript placeholders
to make your own custom placeholders
read more about it here: https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
Yeah I did a bit of experimenting with that, it's a little annoying that the boolean thing in PlaceholderAPI's config seems to remap the output to yes/no rather than continuing to accept true/false
well you can change the output yourself in config.yml
plugins/PlaceholderAPI/config.yml
but it will change it for all PAPI placeholders that return a boolean
I have a lot of these
type: string equals ignorecase
input: '%player_has_permission_perm.1%'
output: "no"```
which could be changed to this for future proofing
``` hasperm:
type: string equals ignorecase
input: '%player_has_permission_perm.1%'
output: false```
yeah well you can change that in config.yml once again
you can change the output to whatever you want
But I'd have to make sure that green tick / red cross everywhere (and I have a bunch of menus). I'll give it a go
Thanks ๐
If your editor has support for it, you can replace all (on my program I use ctrl+f for search and replace tool).
Yo, new to PAPI. I'm trying to use the placeholder %bungee_<servername>% in my plugin to send a message.
I already imported PAPI, how would I go about actually getting the placeholder to work in a string.
Thanks in advance.
Gotta download the expansion, run those commands 
Ok. And then what do I have to do for %bungee_<servername>% to be replaced with the number of players?
put your server name in it
ah wait
your plugin?
as in you're developing a plugin to work with papi placeholders?
Yes exactly
But I just want to broadcast a message with %bungee_<servername>%
will it work right away?
are you only using it for bungee placeholders?
Right now yes
welp it's pretty simple https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Hook-into-PlaceholderAPI#setting-placeholders-in-your-plugin
just 1 line really (and all the checks and balances at startup ofc)
Well yeah I read that page but do I put on event.getPlayer()? I don't have a player to use it with right?
PlaceholderAPI.setPlaceholders(Player, String);
huh?
You'll need to fake a player somehow
Got it
could you not hook into the bungee api though?
can't you use null?
@mint fable I'm trying out with this first but you're right I should use Bungee messages and whatnot
thx I'll try with null
@mint fable sry for ping you, beside the issue I send on github, I seams too fine. Has not find any more bugs soo far.
@flint nacelle,
Please respect the rules, be patient and don't ping staff members!
So i should say it do what is say it should do and give items or send a number if it cant.
give should not be used as a requirement
it should be used as a command
same for remove
because every time the placeholder is parsed, the action is run
what you should probably check is if they have an empty slot
oright, so how should yes or a number work in a command?
probably not the easiest to do with deluxemenus
most likely javascript placeholder would be able to take and store the remaining amount if needed
and the yes is just saying that it worked, so you can use that in javascript as well
it's just the boolean response of true since the placeholder has to return something
I'd say just check that they have an empty inventory spot and then use give as the command
oright god to know how it is thought too work, yes I understand that part, not how i shall use just this output for example take money or an other item from the player. no is not the easiest thing to do in dm.
but apart from this, what I can see give and the portions works fine. so for I think is ready for realise.
no problems ๐ you do a great job (is only me some causes problems ๐ )
there was that one time where I removed all items in inventories though ๐
not too long ago ๐
@turbid tide I added give to checkitem fyi
ye
Yes if it get to a plugin I will get it ๐ no mater the cost ๐
imagine charging people to give players items
I allredy do it to players ๐ . read somewhere by the way, you could submit your menu so it could end up on github? is it still possible?
Has three portions gui (for all three types). both sell and buy thanks to checkitem.
In that case, need to fix it so it is in English ๐
Hello, Where do i add %discordsrv_user_tag% from discordSVR?
Im new to it so i dont know really much xD
What do you mean 'where do I add'?
Where do you want to use it lol
Don't i need to add it in the config of DiscordSRV?
I mean, that just looks like a placeholder? I never used DiscordSRV, but I don't see why you would need to use placeholder in there
im using discordSRV to information of the people that are joining, i use the placeholders but how do i use this on
or is that not how it works
I mean, based on what I see, that placeholder just shows what your Discord user tag is
' i use the placeholders but how do i use this on' does not make a lot of sense
In case you're trying to explain that the placeholder does not work, you probably need to do /papi ecloud download DiscordSRV
i did but when i restart the server and i join it doesnt show the discord name + tag in the channel i've set it to
okay, i will try it there
/papi dump
Can't really say what the error is, could be connection related
i will restart and see after that
Make sure you got the latest dev build btw
I think if you post more of the startup log barry might have a response
it's just to disable the cloud and download things manually iirc
https://paste.helpch.at/ogetuvohoq.md start log
try that, if it doesn't work you'll have to just disable the ecloud and download manually
@silver olive,
As part of the 2.10.7 PlaceholderAPI update we broke some methods, please update to the latest PlaceholderAPI release found here to fix these issues.
what is the difference between, onRequest and onPlaceholderRequest, methods from PlaceholderExpansion ?
you should use onRequest as it supports OfflinePlayer
ok
seems like you're missing VotingPlugin? the plugin I mean. Or maybe the expansion?
make sure you have the correct version of VP and the latest version of the VP expansion
no problem
Hi i thinn the Localtime papi is broken
When i make the time in dd/mm/yyyy
The mm goes all buggy and doing odd numbers
Am i doing something wrong
Pls @ me when someone answer
nah its just broken.
its been like that for a while
nothing we can rly do
the dev of the expansion doesn't update it anymore I don't think so
%checkitem_<modifiers>%
what to write in modifiers
?checkitem
`click here1
I'm trying to do a check on a certain item in my hand
yeah click the "click here" blue text
from the bot's message
it will take you to the wiki
namecontains:<text> - Checks if the item's display name contains <text>* **
namestartswith:<text> - Checks if the item's display name starts with <text>* **
nameequals:<text> - Checks if the item's display name equals <text>* ** ^
which one do I need to insert STONE into
i'm all confused
material:STONE
Excuse my English.
I've been trying to figure out how it works for an hour.
I'm trying to make a check for the presence of an object block of stone.
How do I do this ???
%checkitem_namecontains:<STONE>% ???
I have shows that the check passes although in the inventory a shovel and not a stone
and you don't have a stone in your inventory at all?
if you do /papi parse me %checkitem_material:STONE% what does it say?
try %checkitem_material:STONE%,strict:true
- "%checkitem_remove_mat:STONE,strict%"
works
thank you ( it's hard for me because of a lack of understanding of English )
can I remove the message (yes) when the item is successfully checked ?
how can i add pinger to add restarting
like pinger have offline and online but when server is restarting i want it to display restarting
i not think soo.
are there any placeholders or Javascript for reading enchantments? I found one for lore that I needed, but it doesn't read enchantments
once again there isn't one made
I don't know Javascript, does anyone know how to make one?
Hello, why is Statistics not working?
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#statistic
wdym?
For some reason they are not added to config.yml
Expansions are not added to config.yml at all, I tried to reset, all that was added was from plugins
downloaded via ecloud normally, are in the folder, but do not turn on at all
what config.yml do oyu mean?
the statistic expansion doesn't need to appear in config.yml
All extensions used to appear in the configuration, but now nothing, so they do not work, because they are not shown even in / papi list
tried to build from source, the plugin does not start at all
and weighs 3 times less than the version with spigotmc
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.
did not understand the instructions, copy the entire file? or what
everything won't fit here
Although it's okay, I found on my one server where the plugin is not broken, it works
Any placeholders for local weather from an actual city ?
ah alright, thanks
%checkitem_inhand_lorecontains% has issues
if i hold a netherite pickaxe with no lore and run this
%checkitem_inhand_lorecontains:&fTest,mat:netherite_pickaxe%
it will return as yes
i'll check it out
anyone knows how to make the holographic display reload automatically. Like I have a scoreboard of playtime but it's stuck at a time and it's not counting
feel free to tag me if you know how to do this. ^^
How to install EZRanksPro papi support?
@smoky spoke you're using inhand incorrectly, it is a modifier
checkitem_inhand,lorecontains:<lore>,mat:<mat>
oh ok tysm
Can anyone tell whats the placeholder to see the number of diamonds in players inventory?
or any item
The wiki looks confusing for this
........
is that even possible?
pretty sure it is
I'm sorry, I just ask. Just wait for someone to help you.
amt:<number> - Checks if the player has <number> of items ^
something like this should work
Thanks anyhow shixroix
Hope someone could help
would be cool if its specifcially for diamond in players inv
that should work. But it will only give no or yes (or how you set it up in config).
you have to use %checkitem_amount_<modifiers>% instead
so I guess %checkitem_amount_mat:diamond%
and it will give you the amount of diamonds you have
๐ that will work Tanguygab ๐
@junior musk ofcourse the amount of diamonds in my inventory?
yes
๐ ๐
test:
command: /test
type:
- RUN_COMMAND
runcmd: - "$Script$%if%%checkitem_mat:STONE,strict%"
- $text$yes
- $Script$%else%
- $text$ no!
- $iteminhand
What did I write wrong ???
I don't really know how mycommand script works unfortunately
does the placeholder work? /papi parse me %checkitem_mat,stone,strict%
?
this removes 2 blocks and issues the command *
It just works.
And how to push the check into if ?
- "%checkitem_remove_mat:STONE,amt:2%"
- "$Script$%if%%checkitem_mat:STONE%==true"
well
Am I writing correctly ?
I changed the message to + = - for convenience ( the command does not pass for some reason ) although I comply with all the conditions
ugh mycommand script is so weird every time i look at it
I'm sorry to annoy you. It's just that English is bad and doubly difficult to understand how it works
I'm trying to create a check for an item that doesn't need to be placed in the quick access slot of the inventory...
So that you don't have to hold it in your hand.
You wrote the command and checked the presence of the item if there is an item removed and the effect was obtained
Hello, when i try to install chat injector it gives this error:
Legacy Chatinjector.jar doenst have a api
I dont know why
Is a warning, ignore it
but now it isnt working, like iit isnt showing up
Legacy plugin ChatInjector v1.0.0 does not specify an api-version.
21.12 13:11:14 [Server] ERROR Could not load 'plugins/chatinjector.jar' in folder 'plugins'
thats it
o
the first line is just a warning, won't affect anything
there would usually be some kind of stacktrace under those lines
oh here
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
โข HelpChat Paste - Usage
โข Hastebin
21.12 13:11:14 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:141) ~[patched_1.16.4.jar:git-Paper-330]
uhhh
but i gotta eat now, i will be back soon, sorry
ok
sorry see you soon
There is an updated version of CI left in reviews or smth
this one is suppose to support 1.16.4 as well https://www.spigotmc.org/resources/chatinjector-1-13.81201/
also make sure you have ProtocolLib installed
the right version of PLib I mean
Guys, How to make a script check for the presence of an item in the inventory. For example ( if a person has a stone in their inventory, this will happen ....)
did $Script$%if%%checkitem_mat:STONE%==yes not work?
Also can we move this over to #general-plugins or #general-plugins-2 please? It's no longer relating to placeholderapi
Hey I have a little problem with the %statistic_time_played% placeholder. The hours are accumulated further and not reset to days after the accumulation of 24. https://imgur.com/a/X1YB5Hy
hello guys
how to use hex color in placeholder javascript ?
im trying
and still trying
๐
dose anyone know how to use hex color please tell me thanks
๐
What have you already tried and it doesn't work?
The statistic placeholder bug is know. There's a fix being worked on!
Oki I hope everything will work well soon
Thank you :)
how to add restarting papi ping that shows when server is restarting
How do you remove an ecloud extension? I deleted the jar in the expansions folder and restarted but it says it's still installed
that is how u remove an expansion? are u sure u actually deleted it ๐ค
Yeah, do I have to clear the cache too?
Hmm, nope did that and then did papi reload and it is still showing as installed
stop server
delete jar
start server
It still says it's installed and that's after I deleted the whole plugins folder. I guess some plugins auto-install expansions? Parkour 6.0 is the one I'm talking about
oh right that makes more sense then
the parkour expansion is built into the plugin itself
so to delete the expansion, the plugin in ur plugins folder would have to be deleted
Is there an Expansion that helps me check if the input is a playername? Something like %isname_<input>% or anything similar?
Okay thank you, I asked the developer and they confirmed that is the case
You would help me a lot ngl
Maybe a js would do the job? I was trying to do that but I can't think of a way to check if a variable == connected player name
eh possibly
Nevermind! I fount OtherPlayer expansion lol
%otherplayer_getname_<player>% returns PNF if <player> is not a joined player's name.
How can I add custom place holders ???? That I create with a custom plugin ????
u can create an internal class and extend PlaceholderExpansion
Thank you kaliber
Ok
You can also code something with javascript with the Javascript expansion
custom plugin
Nah donโt want no JavaScript I prefer to hard code it in over that Iโm looking for TPS over more things tbh and in my experience a lot can go wrong that I prefer hard coding it then I know the variables
For all those who have suffered like me...
I spent 2 days trying to make it work!
If you use plugins such as PlaceholderAPI + MyCommand...
be Aware that the PlaceholderAPI configuration will show the following lines
boolean:
'true': 'true'
'false': 'false'
If you change the value to " then in any case write not true but the value that you set... If you don't do this, then nothing will work for you. To hide the annoying message, just run with RUN_CONSOLE
`test:
command: /test
type: RUN_CONSOLE
placeholders_replace_mode : ONLY_PLACEHOLDER_API
runcmd:
- "$Script$%if%%checkitem_mat:STONE%==true"
- "%checkitem_remove_mat:STONE,amt:1%"
- "%PlayerOptions%chat: YES"
- "%PlayerOptions%playEffect: WITHER_SHOOT"
- "%PlayerOptions%playSound: NOTE_BASS:3.0F:1"
- $Script$%else%
- $text$NO!
permission-required: false`
This script checks for the presence of a stone and if there is one takes one
pssh... otherplayer
parseother 10/10
I swear we tested the placeholder and it returned yes @solid mesa . That's my bad if we never did though
glad you finally got a solution to your issue
ah I think I mis-understood what you said here
Come on, norm. But it was very hard. I didn't give up )
why do people always use ` instead of ```
Use codeblocks for formatting code or configuration files:
```<language name>
<your code here>
```
For example:
```yaml
test:
- โhiโ
- โthereโ
```
Produces:
test:
- โhiโ
- โthereโ```
Here zxter ^ some more information to learn ๐
much easier than doing ` on every line
you don't
if you do this it shows up like this
1 on top and bottom
Can we agree to just remove engine specify type in js-expansion? There is actually no point anymore
@rare lily
please
don't joke about this. this is a serious matter.
yes remove it. that means the "errors" that no one cares about will be removed to
What?
I don't see a need to remove it
and I can see why keeping it may be beneficial
afaik you can add more scripting languages to the jvm
so if for some reason a user had an altered java, they could use their own script engine
Don't they need to have that jvm in the expansion side in order to achieve that?
Not sure
no
but still remove that message or I'll PR to remove it
Lol
feel free to open a pr
or go the hard way and add a debug option in config.yml in PAPI
you know how annoying it is when you have 100 + js
I already am working on that in 1.7 too
Might take long
Also, i didn't see anyone thus far have a record of 100+ scripts in a server 
ah
I'm experimenting shit
a lot are just testing
because usually when I make one I just use arguments to make like 10 scripts in one xD
Also, i'm still sticking on graal.js, that's my goal
are you rewriting js expansion with graal?
just gonna leave this here https://www.graalvm.org/reference-manual/js/RunOnJDK/
:+1:
This exists though: https://mvnrepository.com/artifact/org.graalvm.js/js-scriptengine/20.3.0
Just realized
Hey, how would I use placeholder api to request the placeholders from another plugin on a server
??
PlaceholderAPI.setPlaceholders() pretty sure
to get a placeholder made from another plugin
why do u need that ?
wait I'm confused. what exactly do you want? can you maybe give an example?
So I need to put a placeholder from another plugin into a database
so
I have this plugin thats not mine, dosent have an api and isn't open source. It has placeholder %y% and replaces it with x
then I need to do that and put it in my db
pretty sure PlaceholderAPI.setPlaceholders() returns a string that has already replaced the placeholders
Ok, this is going to sound like a stupid question, but could someone give me a correct Java time zone code for GMT+2, the top website that comes up, and a few down below have two different lists with different codes for the same city, and the three codes that I tried all have the incorrect time.
what are you using the time zone code for?
if you're using it for the LocalTime expansion then you should know its broken
it gives the same timezone no mather what time zone code you use
442 is a GMT+2 tho
if you want it
Hello, I am using QuantumShop plugin and I would like to know how to use placeholders in order to increase the amount of money you get by selling items depending on your job level , I am really struggling , please
I typed : sell-price: 1.0*%jobsr_user_jlevel_Miner%
Is there a way to fix the syntax to make it work ?
Yeah, thats exactly what I was using. Any alternatives?
@marble tiger,
Please respect the rules, be patient and don't ping staff members!
oops sorry forgot to turn off mention
nah there isn't any unfortunately.
alright, np
In papi
Is it a placeholder where for example a player place a block (if you bind a command to the block player place, can you use a placeholder for get block cords)?
What do you mean? Download PlaceholderAPI?
