#placeholder-api
150650 messages · Page 72 of 151
oh ok i can change it
getAuthor case needs to match, should be lowercase as your username is
cube. that's a bit stupid don't you think? xD
xD
its hilarious
getVersion needs to match whats on the ecloud otherwise it will say it always needs an update
fixed
ok. verified
thank youu
no worries im still polishing up the actual plugin
hi, where can i download the latest dev version?
thx
How can I have a place holder inside of another one for eg with animations im trying to do %animations_<rainbow>&l%player_name%</rainbow>%
but this doesnt work
I also tried %animations_<rainbow_player_name_/rainbow>%
but I cant seem to figure it out
Try %animations_<rainbow>&l{player_name}</rainbow>% @copper sandal
nope 😦
I dont understand the key1 value think
I dont understand that msg really tbh
doesnt work but when I do %animations_<rainbow>&l{player_name}</rainbow>%
cause I read both wiki's and yeah
The issue is that it doesnt show the player's name
but animation still works
I ran into a small issue when using javascript to replace a players claimed land name bad words if used, it all works as expected but if a player makes a land name called woRD2 or any variation in capitals/lowercase it no longer returns the ProhibitedText response and I'm not quite sure how to fix it.
else if (result.indexOf("Word1") >= 0 || result.indexOf("Word2") >= 0 || result.indexOf("Word3") >= 0)
return "§cProhibitedText§r";
#placeholder-api message Someone help me on why this aint working I got Player extension and Animation extension etc
what does the animation show then?
the text saying {player_name} in rainbow
well. either the player expansion isn't work which you can test by doing /papi parse me %player_name% or the animation expansion doesn't support PAPI placeholders
it works for my scoreboard on the side the player expansion and I stated above I got both animations and player expansion
and the animation expansion is the one on the papi website ?
yeah just did parse and it works fine
yeah. my assumption is then either the rainbow tag doesn't support placeholders or the entire expansion doesn't. (but since the wiki claims it does support PAPI its probably just the rainbow tag)
Will this be fixed or nah ? and yeah I found it strange it said it worked but I did try everything before asking hence why I came in here
we don't know. its not our expansion. and we don't have access to the source code either to fix it ourselves.
ahh ok yeah its just the rainbow tag and some of the other animations are a bit broken rip
it might not be broken. I might remember niall (the author) saying something about it being either very inefficient (performance wise) or not being really possible
It just doesnt behave how its shown on the site tbh and probably cause its the placeholder inside too
ill just have to without ig
Hey blitz, do you know if there is a placeholder to show the ingame days amount (f3)?
How can I show ingame day through scoreboard?
d;spigot World#getFullTime
probably this
how to use?
He needs a placeholder, not a code reference 😅
yes😆
How do you want it to look like though?
Just the number of days from f3, right?
No time or ticks for the actual day
damn, 11k days on my server, welp xd
yes
20m iirc
11k+20 = alotta
153 days
5 months
pretty precise, last wipe was on juli
Anyway, i must be blind since even i cant find the correct placeholder
Yeah it has to be made
Yikes
Yea im not doing that, got clippy to set up still, a server, a website - im completely overbooked for the next week lmao
hi
((I am using the google translator))
Hi, the DeluxeMenu menu requirements do not work.
As you can see, here I should change "NOT WORKING" to "WORKING", I am using the variable% jobsr_user_isin_Woodcutter% for the woodcutter job for example, I have deluxemenu 1.13.3 and placeholperapi 2.10.10.
I am using a paper 1.8.8 server
do you understand my explanation?
=ver deluxemenus
@hallow zinc 
Hello, is there any papi addon that allows me to make "pixel art" in the chat
something like this
doesn't sound like something you'd use papi for really
ah okay
https://prnt.sc/23fvgeb Statistic does not work properly in version 1.18.1, the link given does not work, what can I do?
I have 1.8.8 paper, I already put deluxemenu 1.10.5, should I also change the version of Placeholderapi? I currently have the latest version
@mint fable
no, it still doesn't work with 1.10.5
looks like it has to do with a menu that has permission requirements
it's possible the requirements changed between 1.10.5 and 1.13.3
so you built on a newer version, and now have to change it back for 1.10.5
ok, I also wanted to tell you that this did not fix the problem, it remains the same
and you're sure it's returning &aTrue? can you take a picture of /papi parse me <placeholder>
still not working, nothing changed
type: string contains
input: "%jobsr_user_isin_Woodcutter%"
output: "True"
?dm-requirements
I'm very confused
Like me, it doesn't make sense because it doesn't work
sure, it just shows X in red, like I'm not working on those jobs, and they should be green, since if I'm working
okay what if we try javascript
type: javascript
expression: '"%jobsr_user_isin_Woodcutter%".includes("True")'
I have no knowledge to do that with javascript, I would need help with that
did it work?
in deluxemenus, i wanted to create a shop using a placeholder from a plugin we made
and the action when clicked doesn't "read" the value that the player has
what mc version and what deluxemenus version?
I don't understand javascript, where should I put it?
replace your current requirement with that
you see the type: string contains
replace it and line it up
@river glen can you send your papi config?
and shouldn't I add anything in the Placeholderapi folder?
nope
@river glen and typing /papi parse me %checkitem_mat:GRANITE% is returning yes correct?
I presume it's working, I made it 😉
yes, im asking about the buy option
because the sell option works properly
type /papi parse me %spacemc_money%
it returns the amount of money that i have
can you send a picture
i cant send it here
?imgur
it still doesn't work, I don't understand anymore
view_requirement:
requirements:
joined:
type: javascript
expression: '"%jobsr_user_isin_Woodcutter%".includes("True")'
type: javascript
expression: 'Number.parseFloat("%spacemc_money%") >= 100'
i'm so confused, are we sure we are editing the right file @hallow zinc ?
it's happened before
if we remove the view requirement entirely, does it show?
It is the correct file, look, I modify it for you to see
still nothing
add lots of X's to it, it's the correct file
the entire DeluxeMenu folder?
still
also seems to be failing me...
well, thank you very much for time, in another moment you continue helping us, no problem
I send you the menu to the private one and you look at it when you have time, thank you very much
@river glen 
I tried before
not you, you should still use 1.10.5 I believe
I sent you a request so I send you the menu and you look at it when you have time
updating didn't fix the issue
Whenever I download the Math expansion, my Player expansion stops working
And after I download the Math expansion, when I do /papi reload nothing happens
Man I'm 0 for 2 today, I legit got no idea
Blitz will fix all issues 👍
the math expansion needs java 11. it probably breaks the entire loaded bcz you have java 10 or lower
cant xD
Ah alright
Is there a way to do math like that with a different expansion or should I try an older version?
older version. 1.6.0 or something like that
maybe 1.0.6? I forgot xD
Okay thanks!
blitz, do you know why this doesn't work?
@river glen what's' the problem? I really can't go all the way up to read all the text
1.17.1 server with 1.13.4-dev-125 deluxemenus version
hmm. have you tested with a different javascript requirement? deluxemenus uses nashorn which is like ecmascript 5.1 or 6.1. so might not have Number.parseFloat
nope, i got this one from cj
I did 1.0.6 and it loads fine, but its still not working. The /papi reload command words fine and everything is good, but /papi parse isnt working but it does with the Player expansion
try using something like expression: '5 > 8'
I am doing %math_1+1%
can you send a full startup log in a paste bin please?
still
There is this error https://paste.helpch.at/fawefesaki.sql
I downloaded that version using the command also, not the website
((sorry my english, i'm using google translator)
Hi, let's see if you have any other solutions to the problem I have, the requirements are not working in the menus.
This element must change when the user is hired in a job and says "TRABAJANDO" in green, but instead, it always appears in "SIN TRABAJO X" in red.
My server is 1.8.8 and I was using the latest version of deluxemenu, I tried 1.10.5 and it was not a solution.
yeah. not sure if that's something we can really fix. the problem is that you have either a server jar or a plugin that messes with the class loaded and breaks the expansion. you could possibly make a fork and make the version a string but you'd have to maintain it yourself
you can click the item even whit that requirement?
Alright, thanks
yes
can you possibly go to plugins/DeluxeMenus/config.yml, set debug mode on, restart the server and send the newly generated startup log over in a paste bin please?
try changing output: "&aTrue" to : output: "§aTrue"
no, it still doesn't recognize the requirements
Hey guys,
Any chance you can add to the docs for parse, (because it's most often used for debugging) that placeholderapi doesn't have any placeholders enabled by default, and thus you should probably install an extension before trying %player_name%?
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Commands#parse-commands
can you show me your current menu please? the one after you updated it
I recommend you change the output of the placeholder then and make it not be colored. that's probably the reason this happens
are you op while testing this? can you test without being op if you are
it still doesn't work, even if im not op
pardon me if I'm repeating myself but I have a massive headache and can't focus. am trying to multitask at the same time. you're saying you are clicking the item inside the menu and it triggers the click commands not the deny commands?
like it takes your points
and gives you granite
it doesn't read my amount of money i do have
in order to get the granite i need 100 points, i do have the 100 points and it says i don't have them
i hope you understand lol
ohh
well that's bcz of this expression: '5 > 8'. 5 is never higher than 8. but it gives you the deny commands right? the you don't have enough points message
ok. I was misunderstanding the first time. good thing I asked again
and %spacemc_money% returns a double/float right? for example 100.5 money?
if the above is true then try this: https://paste.helpch.at/afejovugis.bash
it works, thank you so much for your time!
no problem
how do i add placeholders to featherboard 5.0.0
ugh. it uses PAPI placeholders. so make sure you have PAPI installed, then download the expansions you need and then you just use %placeholder% in featherboard config
where are all the PAPI dev builds?
at this link
@severe lagoon
thx
no problem
can you do /papi parse me %server_online%? what does it say?
yeah. what I think happens is you have a broken expansion that breaks the PAPI loaded and so the other expansions don't get loaded. Could you restart your server and generate a new startup log then send it using a paste bin please?
oh yeah. your chat reaction expansion. is the one. you dont have the chatreaction plugin installed. either install that plugin or go to plugins/PlaceholderAPI/expansions and delete the chatreaction expansion
then restart the server
okie thank you
no problem
Thank you so much blitz it works!
yw 🙂
if ("%checkitem_inslot:39, enchantments:3;blast_protection%" == true) {
//do stuff
}
I dont understand how to check for enchantments
/papi parse me %checkitem_inslot:39, enchantments:3;blast_protection%
result: %checkitem_inslot:39, enchantments:3;blast_protection%
have you tried all this? #placeholder-api message
yes
same
Im just trying the papi command first
well. I can tell you 1 thing for sure, you have to change the enchant name
according to spigot that is not the correct one
static Enchantment PROTECTION_EXPLOSIONS
Provides protection against explosive damage
yeah.
yes but its the same output :c
/papi parse me %checkitem_inslot:39,enchantments:3;PROTECTION_EXPLOSIONS%. also why slot 39? u sure its the correct slot number?
do you have the checkitem expansion installed?
yeah. I know what the slots are. I just wasnt sure if you knew where slot 39 was. but can you answer the question? maybe even do /papi dump and send over the generated link
installed and now it outputs "no"
even it has protection 3
explode*
ok. give me like 10 minutes and I'll start up my server and test this. bcz rn I'm out of ideas
why its not allowed to post images here :/
tier one is not allowed. to stop spam. you should use imgur for that
Im just using ctrl+v xd
Its to much steps for just posting a screen: make screenshot, open paint, paste screenshot, save image, open imgur, upload image, send url in discord
well I can recommend sharex. great tool (for windows). Takes screenshots for you, and uploads them to a website you want then copies the link to you clipboard. also gives you a lot more customizability but that's what I am using it for
/papi parse me %checkitem_inslot:39,enchantments% works fine
for detecting if item is enchanted
wait. that's strange. it shouldn't even do that. enchanted should do it
also
I might've found the problem
:kek:
%checkitem_inslot:39,enchantments:PROTECTION_EXPLOSIONS=3%
try this please
tells me no
every time
Im trying with 3 items, all with netherite helmet:
Helmet 1: Blast Protection 3
Helmet 2: Blast Protection 2
Helmet 3: Fire Protection 1
ok. I am starting the test server as we speak
will test this and see what I can do
@mint fable u around? can you help us with this? doesn't seem like enchantments work for some reason. I am looking at the code currently and can't find what the problem could be.
Got it working
😮 what was it?
^
wrong information
/papi parse me %checkitem_inslot:39,enchantments:blast_protection=3%
wait what?
I tested
I swear to god both should work then
anyways
that seems like a bug. bcz it does have specific checks for both namespace keys and normal spigot names
if ("%checkitem_inslot:39,enchantments:blast_protection=3%" == "yes") {
//do stuff
}
this should be the code than, right?
yeah.
if ("%checkitem_inslot:39,enchantments:blast_protection=1%" == "yes") {helmetPoints + 1}
if ("%checkitem_inslot:39,enchantments:blast_protection=2%" == "yes") {helmetPoints + 2}
if ("%checkitem_inslot:39,enchantments:blast_protection=3%" == "yes") {helmetPoints + 3}
if ("%checkitem_inslot:39,enchantments:blast_protection=4%" == "yes") {helmetPoints + 4}
if ("%checkitem_inslot:39,enchantments:fire_protection=1%" == "yes") {helmetPoints + 1}
if ("%checkitem_inslot:39,enchantments:fire_protection=2%" == "yes") {helmetPoints + 2}
if ("%checkitem_inslot:39,enchantments:fire_protection=3%" == "yes") {helmetPoints + 3}
if ("%checkitem_inslot:39,enchantments:fire_protection=4%" == "yes") {helmetPoints + 4}
if ("%checkitem_inslot:39,enchantments:projectile_protection=1%" == "yes") {helmetPoints + 1}
if ("%checkitem_inslot:39,enchantments:projectile_protection=2%" == "yes") {helmetPoints + 2}
if ("%checkitem_inslot:39,enchantments:projectile_protection=3%" == "yes") {helmetPoints + 3}
if ("%checkitem_inslot:39,enchantments:projectile_protection=4%" == "yes") {helmetPoints + 4}
if ("%checkitem_inslot:39,enchantments:protection=1%" == "yes") {helmetPoints + 3}
if ("%checkitem_inslot:39,enchantments:protection=2%" == "yes") {helmetPoints + 4}
if ("%checkitem_inslot:39,enchantments:protection=3%" == "yes") {helmetPoints + 5}
if ("%checkitem_inslot:39,enchantments:protection=4%" == "yes") {helmetPoints + 6}
helmetPoints + 3``` that ain't a thing chief
helmetPoints += 3``` on the other hand is
if (helmet == "NETHERITE_HELMET") {helmetPoints + 6}
else if (helmet == "DIAMOND_HELMET") {helmetPoints + 5}
else if (helmet == "IRON_HELMET") {helmetPoints + 4}
else if (helmet == "CHAINMAIL_HELMET") {helmetPoints + 3}
else if (helmet == "GOLDEN_HELMET") {helmetPoints + 2}
else if (helmet == "LEATHER_HELMET") {helmetPoints + 1}
no my friend
helmetPoints + 6 will literally just calculate 0 + 6 but do nothing with that value
helmetPoints += 6 on the other hand means helmets point will increase by 6
so it will become 0 + 6 which is 6
you need to change it for all the additions
x += n is a shortcut for x = x + n
There is no placeholder to show how much day in game?
☝️ Any ideas?
math?
%player% isnt working in deluxechat... any tips?
My profile has been suspended due to a virus. What do I need to do to get it back?
@idle coral
What
hey guys, I've been trying to get the total playtime of a player to show up through the placeholderapi for about an hour now with no success. I've read online that the playtime expansion has since been included in the newer versions of the plugin so I wouldn't need to download any expansions, but I can't seem to get it working at all. Any advice?
is there a placeholder that will display a item in scoreboards? %item_diamond%
The placeholder %bungee_total% ping is too late.
I use %bungee_total% with discordsrv, if players join the server, the number of players will be delayed
How to show in game day with placeholder?
Little question, using the Placeholders plugin, if I use the %prefix% place holder but I want to delete only the first character in it, is it possible?
Ex: If the prefix would be 𞉀[TEST], I want the place holder to return #123456[TEST]
with the javascript expansion. yes. or possibly even with the string or the str expansions
and how would I do that with the "javascript expansion"?
you can read the wiki ^
Hi, i was trying to use Papi to download the expention killstats but the Placeholders of that expention are not working rn and i dont know why :c
I have no error nothing https://gyazo.com/da52e238fc0ef6e183524e73b14d5b0f
have you tested them with the papi parse command?
also. do you have the KIllstats plugin installed?
umm what command 😅
/papi parse me %placeholder%
isn't the expention not enugh ? on the wiki it looked like it is enugh
no its not. it is a plugin expansion. which means it requires a plugin to work
oh sry must have missed that part
in this case this plugin: https://dev.bukkit.org/projects/killstats-v1-0 which seems kind of outdated.
I can recommend this one instead: https://www.spigotmc.org/resources/combatstats.94932/
and yes it sohuld work on 1.18 as well
oh yea i've tried that Plugin its not loading
i'll try it ty
would u look @ that i finally have a killcounter ty so much https://gyazo.com/5f22301db17e7087a16aa1f2735269c6 c:
I was searching for a plugin like that but it didn't show um for me x)
now i only need to fix that the tab list only updated on a PlayerJoin event -_-
Hi
Is there (somewhere) placeholder which return true when player has X hours played?
yeah u can use the changeoutput expansion
https://github.com/Kqliber/Expansion-ChangeOutput#expansion-changeoutput will be worth looking at this to get the idea
hm thats kinda sad it looks like the Plugin is also not working bug free https://gyazo.com/2ad1d2942b30dc68ad70650cb81b2f8c
it only shows the killstreak and dont fill in the name
and dont fill in the name
do ```
/papi ecloud download Player
/papi reload
oh thanks x)
and the other stats i have to add into the config now i'm good to go ty so much guys
is there a player holder for a mined block in y world
like how many black wool were mined in a specific world
like %statistic_mine_block:<material>% but with world
any recommendations
or region specific idm
afraid I dont know any. might want to look at Statz but doubt it does this
tried it
Hello, I want to do a game status, for exemple in my lobby server, in the menu I want a placeholder with a text from my game server, do you know how can I do this? (in the lobby menu, have an item with lore "IN GAME" or "WAITING" from the minigame state)
can somebody help me out with some ecloud worldguard placeholders?
i use this one: %worldguard_region_<regionname>_owner% but it doesn't work
i have downloaded the ecloud
and restarted te server
The enginehub discord would probobly be of more use
that discord saw i need to ask here because that is not there placeholder
but from ecloud
so hopefuly you guys can help me out
Ah, sorry! Thought they made it
In other times, instant but it is quite late
alright
happy to hear, there are a lot of devs who take so 4 day to response, thats why i ask
papi getting stuck at reloading
Fetching available expansion information...
papi ecloud downlaod vault
then papi reload
I have installed the eclouf vault but nothing changed
The placeholder %bungee_total% ping is too late.
I use %bungee_total% with discordsrv, if players join the server, the number of players will be delay
guys I did anything wrong?
Dose anyone know when the plugin will support 1.18
We have a dev build pinned, aiming to release a production build today or tomorrow
Is it possible to have a nested placeholder like this? %nested_math_{rng_1,{player_item_in_hand_level_LOOT_BONUS_BLOCKS}+1%
guys
I did /papi ecloud download player_ping it doesnt work
I tried /papi ecloud download server_tps it didn't worked as welll
Did you do /papi ecloud download player and /papi reload
you don't download each variable
you download player and server
I didn't downloaded of server
?
bruh?
I run my server on 1.18
it is working
from 1 week
Do /papi ecloud download server then do /papi parse me %player_ping%
pretty sure my papi is the latest spigot release and its fine on 1.18
ok
It worked ty
np
Hello, is there any plugin that creates custom parse placehoder? I'm trying to create a token shop where player buys an item
just a value you can manipulate?
yea
ok thanks
meta action type is how to set/change it https://wiki.helpch.at/clips-plugins/deluxemenus/options-and-configurations#actions-types
executable via /dm execute
obviously this is really only useful if you already use deluxemenus
How do you give a value to the player?
and substract its value once the player bought the item
oh nvm
i switched java versions from 17 to 9 so fawe worked (1.8.8)
and now the javascript expantion doesnt work for papi
this is the error
https://pastebin.com/Xww9qdr7
Up
Is there a way to say if a placeholder is equal (or other regex) to a value to run a command.
So if %server_time% == “12.55” run /broadcast yay
(That might not be what time outputs, I couldn’t think of an example)
Also, if I can do this in a plugin I don’t mind making something custom. Just checking a placeholder every second sounds laggy
#915480942246780968 #915480940925562920 It would be better to maybe have this in a plugin
Oh, i can dev stuff just have no idea how i would go about it
Can somebody help me out?
What does /papi parse me %worldguard_region_<regionname>_owner% show
Now nothing
The placeholder is also not seen in broadcast, so it does something
In the console is also nothing
Probably because it is world specific, so are regions, per world
So how can i use it?
Its showed nothing
Fixed: JDK 11 works for both FAWE and PAPI Javascript expansion
%checkitem_give_<modifier1>,<modifier2>,<...>% Appears to be parsing twice and giving double the items
where are you parsing it?
and when you test it with /papi parse me %placeholder% does it still parse twice?
Oh this is kinda weird. Its parsing fine when you run it through the command but doing it through CommandPanels is being a bit weird.
Alright yeah so its parsing them through the console, and it appears only the checkitem ones are doing it twice
I tried doing %player_name% through commandpanels as well and it only parses once
the thing is, maybe it parses it internally. maybe it parses every placeholder twice internally.
and you only see 1 output.
Oh yeah, that's actually probably what's happening
how can i use placeholder on the chat
i want put one placeholder on the luckperms prefixx
does your chat plugin support placeholders?
no. stop spamming!
There is no time to wait! Ask your question @hushed copper!
well you'll get muted if you do not stop spamming every channel
Thats the point
It shows yes but is npt working
Can you suggest me one that supports?
what plugin are you currently using?
for chat I mean
Nchat
How can I output placeholder stats from one server to another when they are connected via BungeeCord. For example, the date of the first login to the server. Can you give me an example?
I have some others that format chat but all are disabled
can u stop spamming pls ty
if nchat plugin claims to support PAPI then try parsing the placeholder using /papi parse me %placeholder%. see if the palceholder works there
not possible with PAPI at the moment. you'd have to write your own plugin for this
Look
The output is just [Java]
Cause the placeholder is of device im using
On the tab is working fine
oh. so it outputs your rank then? means the chat plugin doesn't actually supprot PAPI like they claim. Maybe look into venture chat
It supports 1.18?
oh 1 sec. CarbonChat might be a good alternative. the only problem with that is the documentation is kind of lacking at the moment
Do you know if CMI support placeholders?
it should. but dont purchase it just for chat formatting
oh. then yeah. cmi should support PAPI
no problem
Who can help me out with a ecloud worldguard placeholder not working?
help! how do i make a kill counter on my scoreboard?
hey guys what could be the issue for this ?
I cant add my &8» &4Money&8: &c%vault_eco_balance_formatted%
It simply just appears as the text not the actual player balance
we can help if u provide more details
have you downloaded the vault expansion? do you have the vault plugin installed?
u can do this with the statistic expansion, make sure u have the expansion downloaded
I have the Vault plugin installed never heard of the expansion
alright what do you need 😄
anyone know which plugin he used to display cpu usage of placeholders? :d
how do i make a kill counter on my Kiteboard scoreboard?
well what placeholder are u trying to use?, have u tried debugging it with the /papi parse command?
how do i make a kill counter on my scoreboard?
have u read what i said?
if u want mob kills u can use the %statistic_kill_entity:<mob>,<mob2>% placeholder, or for player kills %statistic_player_kills%
no player kills
thx
i can send any screens, but the chat is empy if i do that commando
?imgur
that will work haha
ahh i think i found the problem
you need to stand in the region, the option for <regionname> doesn't work
i typed in %statistic_player_kills% as you said. Now it says %statistic_player_kills% and not 0 kills, how do i fix that?
/papi ecloud download Statistic
thx for the help but do you know how to make a leader board that shows the top 5 palyers with most kills?
thanks
hey what placehorlder i need to display vault money in advanced gui
^ anyone?
%vault_eco_balance% ig?
what it displayed?
looks to be taken from the TAB plugin
im guessing its this one https://github.com/NEZNAMY/TAB
thank you so much!
Last question can I somehow optimise javascript placeholders? Like bigger refresh interval or somethin
that would depend on what plugin u are using the placeholder in, placeholders should only be executed when a plugin requests them
ooh good to know, thanks for that
send a full startup log please
this is where you find it ^^ also use a paste bin: https://paste.helpch.at
your config expansion is broken. do you use it? if not I recommend you delete it
there's a PAPI expansion named Config. or Expansion-Config. do you use that at all? if not go to plugins/PlaceholderAPI/expansions and delete the Expansion-config.jar from there. then restart the server
Don't worry about that - it just means that spigot detects that plugin as being made for a 1.12 or below minecraft version so it applies some legacy compatibility stuff
yeah. shouldn't be a problem
your antibot plugin doesnt contnainn a plugin.yml file. which is needed for every spigot plugin. maybe its a bunngee plugin only?
t
i delete this plugin
help?
I mean the problem is your AdvancedNMotd plugin. not sure how to fix it tho Im afraid
probably because of the characters?
well. not really. it says that its missing a class. but not sure why its missing it.
I take out the file a little and then put it back
I removed the file and now the error does not appear
it reappears because of the writing I put on it
hey what is the skywarsreloaded download
there was a problem yesterday https://paste.helpch.at/liguwuyoji.sql
bro, bro
@ApiStatus.ScheduledForRemoval(inVersion = "2.11.0") (https://github.com/PlaceholderAPI/PlaceholderAPI/blob/master/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java)
here 2.11.0 comes without removing them :(
uh i see, thanks
can we get update for 1.18.1 expansion player?
it gives class not found exception but kinda works
Worked in our testing, can you paste the error?
Did you update placeholderapi to the version released today?
i try to check other expansions for updates (just in case) and ill do it
oh yep
thats other expansion who was throwing error
my mistake maybe
latest breaks js placeholders
says there are sytanx errors when there isnt, passed it through multiple validators
send the code
Can I avoid from quick js breaking my symbols?
I cant change the Java version, another solution?
download an older version of the js expansion
make sure you save the file with utf-8 encoding
How do I do it or what version do I use? I was downloading it using the command
Ive tried that like eight times and still same result :/
// fixed
Ive used another symbol o.o
Hey, can anyone help me with that? #placeholder-api message
Cause I quite didn't get how to do it
can you do /papi ecloud download string then /papi reload then use %string_substring_1_{your_placeholder_without_%%}%
instead of %your_placeholder_with_%%%
Is there a placeholder showing how many hunger units the player has?
%player_food_level% found 🙂
Hi?
I need help with that
papi ecloud download <extension> <version>
Where I can see the versions of the JS extension?
papi info <extension>
where can I downlaod papi for 1.17?
latest spigot release includes support for 1.17 and 1.18
We had an issue we replaced the jar and the placeholders would not show
what can i do about this?
do u have the quest plugin installed?
help
my placeholder not work
package me.koddydev.kvender.util;
import me.clip.placeholderapi.expansion.PlaceholderExpansion;
import org.bukkit.OfflinePlayer;
public class Placeholders extends PlaceholderExpansion {
@Override
public String getAuthor() {
return "KoddyDev";
}
@Override
public String getIdentifier() {
return "Bolsa";
}
@Override
public String getVersion() {
return "1.0.0";
}
@Override
public String onRequest(OfflinePlayer player, String params) {
if(params.equalsIgnoreCase("%kvender_bolsa%")) {
return (Settings.valorBolsa < 50 ? "§c" + String.valueOf(Settings.valorBolsa) : (Settings.valorBolsa == 50 ? "§6" + String.valueOf(Settings.valorBolsa) : "§a" + String.valueOf(Settings.valorBolsa))) + "%";
}
return null;
}
}
Help?
ugh. do you know what params will be?
it'll be everything after %identifier_
so you're basically adding a placeholder %Bolsa_%kvender_bolsa%%
which will break yeah.
also the identifier needs to be all lower case
So I tried this: %string_contains_Keene_{playerlist_online,normal,no,list- }% (and Keene is online) and it says "no" even though it should say yes
any can sen me ajparkour placeholder download comand?
Is there a reason why when I ecloud the armor placeholders I only get two? Specifically, armor has slot and armor maxamount
Has anyone had any issues with the latest update messing with their chat?
Shouldn't be?
It’s randomly placing a percent at the start of the message and all that you can see on the server is a %
Maybe a weird interaction between the latest version and multi chat
Because I downgraded and it worked just like normal
Parse the placeholder using /papi parse me
with the new version and see what it returns
Ok one second
So when I do /papi parse me test
I just see the word test
But when I type in chat it just gives me a %
And if I downgrade papi it works like normal
Mind screenshoting?
Yep
Can’t add images here
Uploaded it to imgbb as a temp hoster
Where you see test is the parse me command
Seems I’m not the only one having this issue. Couple people in the multichat discord are having the same issue
Can't see it being an issue with placeholderapi but feel free to create an issue on the GitHub and we'll look into it
Ok thanks
hello
I'm trying to use venture chat to edit my chat
and every player name place holder
isnt registering
how do i do it with deaths i thought it would work with just %statistic_player_deaths% but it dosent plz help
Try %statistic_deaths% :3
thanks but do you know about if i whanna make a scoreboard whit my best kill streak?
Kills in total or 'unbroken' streaks?
you know like a kill streak
when you kill like 2 ppl in game and you get a kill streak on 2 so the display should say "your best kill streak: 2"
but the next time you go to pvp you get 3 kills so now your kill streak is on 3 so the display should now say "your best kill streak: 3"
you understand?
i edited my msgs you may understand my problem better now
Ye, no i did get it, i just got a call from my doctor that i needed to pick up, sec
Ok so
Sounds to me like you need to combine that placeholder for kills with something else that can do calculation. I know epic levels (plugin) has killstreak counts but im not sure if you're looking to get a pvp plugin for it. The difficulty i see here is the calculation, which you may be better off actually using some plugin for. I got no idea how else you'd keep dabs on that data, especially if you want to keep the killstreak count even if a player relogs
theres no download command for placeholders from external plugins
how to download
you just need to download that plugin
i download the plugin but the placeholders dont load
which placeholder are you trying to use?
%ajpk_stats_top_name_<number>%
is there any error in console?
yea same result, u can accomplish this with %parseother_{nick}_{player_online}%
no
ok
have you followed their doucmentation?
dont work
this however is
ah
Thanks! :)
do someone know how to set up a best killstreak counter up?
@lethal basin do you know how to set up a Best Killstreak counter up?
u can use killstats extension > %killstats_streak% > https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#killstats
no need to use any external plugin
// my bad its from killstats plugin
is there eny other way cuz im making my server on Minehut seam like they don't have the plugin
maybe with advanced javascript
how does that work?
@lethal basin
hello!
i have a problem with javascript
i have a 1.8.8 server and java 16
and also i'm using this plugin as a dependency for a levels sytem: https://www.spigotmc.org/resources/jsengine.92709/
and, if i'm trying to use a javascript placeholder, i get this error: https://pastebin.com/76jdHthu
after some debug, i found that the issue is betwen javascript-expansion and jsengine
without jsengine everything works fine
what should i do?
Is PAPI Essentials expansion updated with latest EssentialsX build?
getting
[03:08:33 ERROR]: [PlaceholderAPI] failed to load class files of expansions
java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: net/ess3/api/IEssentials
Probabaly not
oh, wait, I might've fkd up
with 1.8.8 you can handle lots of players
also it's the best version for pvp servers
also take a look at hypixel stats for end of 2020
https://imgur.com/a/sWcFb2U
who tf plays 1.10/1.11/1.13/1.14/1.15
most played versions in Minecraft are 1.8 and latest version
1.8.8 for competitive servers/pvp servers
latest version for features
I mean, you can run whatever you want but you shouldn’t really expect support for a 7 year old version (unless the plugin supports it by default)
Tested Minecraft Versions: 1.8 1.9 1.10 1.11 1.12 1.13 1.14 1.15 1.16 1.17 1.18
He’s having an issue with Jsengine, not papi I believe
It’s like a plugin conflict it appears
i think it's a javascript-expansion issue
i was checking versoin because if 1.8 would have lower version it will be java 16 problem probably
cause i don't get the error engine
i'm using a fork that support newer version of java (now i'm using java 16)
ye I understand that
active papi supporters are ded cuz timezone
I think there was some NashornEngine issues because of new Java version
i think when i'm installing JSEngine, the javascript expansions is using it but it shouldn't...or idk
exist placeholder do advancedgui?
hi - i using alonsotags, but when i tried install alonsotags using papi, i got error: Failed to find expansion named: AlonsoTags - can anyone help me?
Most likely built into the plugin then
Not all plugins need an expansion to provide placeholders
some opt to build in the expansion into the plugin
hello, im sorry but i don't understand the 'relational' placeholders idea a little
can i get a little bit of an explanation, would be appreciated
well. basically show different output to different players based on conditions
a common usage is faction colors.
for example: enemy will see the faction color as red,
allay will see it as green
and everyone else as yellow
isn't that how normal placeholders work already
well the condition can be based on another player
hm?
i mean i kinda still don't understand a little but if there is a wiki or an example usage probably will help out alot
like
example API usage
uh i see! thanks
no problem
Hi, I'm using the Statistic Mine Block Placeholder and it only counts blocks mined on certain worlds and not all. What I can do?
ugh. the statistic expansion just gets its data from spigot. so there might be an option to enable/disable statistics per world in spigot? I know there is one to disable it globally but not sure about per world
Well, I have tried in different worlds and the statistics were updated in some and not in others.
yeah. not sure why it happens but either way, it can't be fixed from the statistics expansion. and its not at fault either. it just shows the data that it gets from spigot
So What I can do?
what server software do you use?
go in your spigot.yml file and check for stats
see what options you have
stats:
disable-saving: false
forced-stats: {}
Paper
yeah. no idea then.
Do you think someone could help me?
maybe in the paper discord? but I doubt its a problem with paper. might be one of your plugins that is disabling tracking for some worlds.
What plugins could do that?
might want to remove all plugins on your server except for PAPI and see if it still happens
if it does, then its not a plugin and you might want to contact PAPER. if it doesn't then add the plugins back 2 by 2
and see when it starts happening again
what version of the expansion do you use?
https://paste.helpch.at/yudayinuso,
JS version 2.1.0
do you get any errors on startup log? or what about the expansion doesnt work?
I get an error upon trying to parse it and the placeholders are not replaced with the strings
wanted to send a screenshot but seems that it's prohibited
use imgur for screenshots. but when you have errors just send them in paste bins. they're better: https://paste.helpch.at
ah. this one.
yeah. I believe this is a known issue, and has to do with openjdk 17. If you have the possibilty to switch to adoptium 17 please do. If not you'll have to wait for the next js expansion update
is there a possibility that something else would break if I switch to adoptium?
not really. dont see why
all righty. thanks for the help!
no problem
Hi, i have a bug with ezrankspro in placeholder section , i write %rank%. but in scoreborad or chat stay like %rank%
that ain't a placeholderapi placeholder. that's just an ezrankspro internal placeholder
Where i can ask?
what?
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/placeholders#ezrankspro list of ezrankspro placeholders
Hey, I have tried to find the PermissionEX placeholder. However, I couldn't find it. Can you send me the link to it? Thank you
there are no pex placeholders. you shouldn't be using pex anyways. use luckperms. but if you really don't want to, then get the vault plugin annd the vault expansion
K
Did the placeholders in featherboard change over time?
yeah. version 5.0.0 and newer switched to using PAPI instead of MvDWPapi
Hello,
I am using %pinger_isonline_server:25565% in my lobby and it works without problem with all my servers, but I have a survival that is online where there are more people and it tells me that the server is offline when it is online, why can it be?
way better
this is repeating all time
go to plugins/PlaceholderAPI/expansions and delete the bungee-expansion jars. there might be 2 or more. then do /papi reload and then redownload the expansion using /papi ecloud download bungee then /papi reload
You're an angel
pls?
New test build for the Essentials Expansion. This one adds the baltop placeholders that were removed from the Vault Expansion with a lot of performance improvement.
Added placeholders:
%essentials_baltop_balance_fixed_<position>%
%essentials_baltop_balance_formatted_<position>%
%essentials_baltop_balance_commas_<position>%
%essentials_baltop_balance_<position>%
%essentials_baltop_player_<position>%```
As you can see the formatting from vault will still work here.
Exampels:
```diff
- fixed: 1000000
- formatted: 1M
- commas: 1,000,000.00
- no special format: 1000000.00
The player placeholder returns the display name of the player from the respective possition.
All positions start from 0. So:```diff
- Top 1 will be position 0
- Top 2 will be position 1
- etc```
At the moment, the baltop placeholders might not load when you start the server. You will probably have to run a command like /baltop to load them into cache and then they will work.
im looking to add griefprevention stats to my scoreboard and idk how
such as how many claims the player has, and how many claim blocks they have left
also dont forget to install that extension
did duluxe tags loose support in papi?
no?
❓
Hi, im having an issue with reloading after installing expansions
Hey, I am having issues with my maven import for papi - the dependency part says that it doesn't exist: https://paste.helpch.at/zibeviyeco.apache
make sure you refresh the project
np
Whats the lastest placeholder api version which supports 1.8?
Latest
Hi all,
I tryed to execute: /papi ecloud download Vault
then: /papi reload
and then: /papi parse me %vault_eco_top_balance_#%
but the result is 0.0
I tryed: /papi parse me %vault_eco_top_balance_1%
But he result is always 0.0
I have Vault and Essentials
vault top placeholder was removed or smth like that I think
use EssX placeholder
pinned msg
Hello everyone, I'm trying to change the color of a placeholder, every single one is in &b (aqua) and I want to change some of them to other colors... I must say that the specific ones I'm trying to change are in the tablist, and every placeholder is inside a [&bplaceholder&r]... I really don't know if this is about placeholderAPI but I already asked in some other discord and had no luck 🥲
Could you give an example? @earnest portal
screenshots if possible.
Screenshot: https://ibb.co/tD2fSKp | Placeholders's color can be changed in everywhere but the tablist users specifically. On the tablist footer there is one placeholder, &6%server_online% and it is in fact in orange. But when I add the color code to the users in the tablist it's ignored and the placeholder gets placed between [] and in aqua color. I first thought it was because of the tablist plugin method of displaying the user names, but I changed the tablist plugin to another one and it hasn't changed. And the only thing both tablist plugins have in common is placeholderAPI and the bare API of Spigot and tablists I think...
if you parse the placeholder in chat, does it have these brackets?
It doesn't get parsed, might be Venturechat not parsing it... I'm typing %server_online% from both the chat aswell as "say %server_online%" in console
Okay it's without brackets
Pls?
Guys, when I switched to 1.18, the cooldown script broke
just that one? or all the javascript placeholders?
I just don't have a script for delays
send me msg
I will send you an error and a script
please send errors here using paste bins
ok. can you do /papi dump and send the generated link over?
and in plugins/PlaceholderAPI/config.yml there's a use_quickjs option or something similar to that. is it enabled or not?
?
can you put whatever is in cooldown.js in a paste bin and send it over?
Can you help me?
did you change the file/ other than the mo, d, etc. part?
did you remove anything maybe?
yeah. not sure what happens here. the syntax seems fine. IDk why it errors. could you possibly try to enable the quick_js in config.yml and restart the server?
see if it still happens
Hi, I need some help with placeholderapi
with the %server_countdown% placeholder can you get it to return 60d 23h 59m 59s instead of it showing weeks?
My scoreboard on my server won't register any expsansions. I've reloaded, restarted, reinstalled, nothing. Please help this is getting on my verns
what scoreboard plugin?
Scoreboard r
Its a bungeecord network, same plugins on everyserver but i doesnt work on only one of them
the scoreboard is on the gameserver right and its not using the bungee scoreboard cause i dont believe that bungee scoreboards can use placeholders cause they arent connected
correct
weird
The /reload command won't work. I download the expansions and It won't register them on any server
I have to do a full restart
/papi reload?
yes
server version?
1.18.1
what does /papi reload say when you run it?
nothing
23.12 12:38:27 [Server] INFO Baquan issued server command: /papi reload
23.12 12:38:27 [Server] INFO [PlaceholderAPI] Placeholder expansion registration initializing...
23.12 12:38:27 [Server] INFO [PlaceholderAPI] Fetching available expansion information...
and nothing else after wards?
nope
it does the same thing on other servers, but after i restart it fixes it, but not on this one for some reason
id say delete placeholdeapi and redownload from spigot
i just did that, are there any other folders or anything i need to delete aswell
also wipe the placeholderapi folder and redownload all your expansions
i just did that as well
same thing
for some reason even after clean install it automatically registers the factionsuuid placeholders
but it doesnt show the expansion
downloading from web or download through /papi ecloud?
This server is running Paper version git-Paper-"bf826b3" (MC: 1.18.1) (Implementing API version 1.18.1-R0.1-SNAPSHOT) (Git: bf826b3)
You are 1 version(s) behind
Download the new version at: https://papermc.io/downloads
Previous version: git-Paper-"cf621c5" (MC: 1.18.1)
download paper 101
is this the only server on 18.1 or are all the other ones on that version?
they are all on that version
they are all clones of eachother right?
disable all other plugins other then ones like luckperms, vault, scoreboard and try again. see if its some plugin conflict thats fucking with it.
one second still updating the version have to use custom jar cause pebble host is gay
lol
personally would never use anything but my own jars that i get from the right places
true
cause you seem to be using some dev build of paper instead of stableish
i need to update it anyway i just didn't feel like doing it
well now it gave me an error
it needs java 17
your not using java17?
i thought i was
didnt know that 1.18.1 would boot without it
fixed it their loader is a little special
"a little"
lol
Ok, it did the same thing
i found out why the factions thing registers, it does it automatically when server starts
but when i run /papi reload after doing /papi ecloud download ______ it just doesn't output anything in chat, and doesn't change scoreboard
when you download placeholderapi do you download it from the spigotmc page or from pebblehosts plugin downloader if they use one?
spigotmc
im really not sure then
ok nvm then
download the server to your pc and run it, see if its a pebble problem and not the server files
its working?
now im not gonna touch it
hmm
yeah
interesting
i don't know what i did but im not touching
good idea 😅
