#placeholder-api
150650 messages · Page 86 of 151
it takes an extension for its work it is possible to have the name or the link?
usually if the name is blue on the wiki it means that there's a plugin required. you can click on the name for it to open the link to the download page
anyways. the killstats plugin was not updated in years
you might want to get a newer plugin
like CombatStats
the skript expansion was deprecated long ago. you should use this one instead https://github.com/Altruiis/skript-expansion/releases/
instead of what?? combat stats
oh. I Might've misunderstood your question
what exactly doesn't seem to work?
in fact it is a scoreboard that and made in skript on my other servers its works the api but not the one the
in fact I want to use the api killstats I implant it in my code but its does not work I have the plugins combat stats sa still does not work I do not know why I use skript for my scoreboard I do not know if it is the cause or not
you don't need to use the killstats expansion anymore
if you use combatstats, you use their expansion
I just told you that there is the extension but its does not work
Thanks again! Found it! It was the javascript expansion, I'm guessing that rather than being the javascript expansion though it's one of the .js files or such
are you dumb or are you doing it on purpose? have told you that we have the extension but it does not work. not complicated to understand if?
I can't be a photo otherwise I would have directly shown what I had
I am dumb. but the problem is not that right here. The problem is the language barrier. I understand only half of the stuff you guys say. I'm trying my best right here...
you speak french ??
Your english seems absolutely fine
not mine is the problem.
okay let it go, have you managed
me ?
yeah. what I understand from here is that you're still trying to use the killstats expansion. but you also said you've switch to combatstats
extention doesn’t work
its built inside the plugin
you don't need to download anything else
just the plugin itself
nothing actually works
do you have CombatStats installed on your server?
yes
if yes try this command: /papi parse me %combatstats_kills%
what does this command say? it should return a message in chat
0
1
ok so the placeholder works. now you use these placeholders in Skript. at least I believe Skript supports PlaceholderAPI
there's multiple placeholders. you can see them listed here
or on the spigot page
yes its function but when we want to use the extention it does not work
Or can I put the picture down for you to see?
which extension exactly?
you can use imgur.com if you want to send screenshots
I'm not sure how Skript works. The placeholder works as you've mentioned above so my assumption is that Skript either doesn't support PlaceholderAPI or it uses a different format for them.
on my screen that I sent you is HolographicDisplay which is use
Oh well HolographicDIsplay also uses a different format
I believe it is {papi: combatstats_kills} but let me double check
yeah
Is there a means to get information on the placeholders of an expansion if an expansion has no documentation?
either from https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/placeholders or from the expansion/plugin's wiki/spigot page
so if its not on this link and not on their wiki/spigot page then not really
Okay, thank you!
read first star btw. it explains the format
so this should work in HOlographicDisplay
I have this javascript: https://pastebin.com/9SAPpeYp but it keeps returning blank
I did /jsexp parse me <code>, and it returned carrot, which is what it should do
but if I do /papi parse me %javascript_block%, it returns air
you're probably using the wrong placeholder then.
send your javascript_placeholders.yml file in a paste bin
I'm trying to make a javascript where theres an argument, and it checks if that argument equals something, and return text if it does
I was trying to base it off of the community javascripts
yeah. this should work
as long as you use it correctly
might be bcz of this var crop = POTATOES;
might want to make it var crop = "POTATOES";
kk
since it probably doesn't find a variable named POTATOES
yeah. strings need to be declared in quotes
otherwise they're variables
and you have no variable called POTATOES
👍
Heyaaa! So I am using Mc 1.18.2 and papi 2.11.1 . But Everytime the server restarts or startup papi seems to stop working and only works after /papi reload. Can someone help me out with this issue?
Could you please tell me you solved this problem? I have the same problem as you. I am using papi 2.11.1 too. And i tried to use akarin 1.12.2 and purpur 1.18.2(1623) as server software. i tried to use dragonwell and zulu as jvm. This problem always happened.
I couldnt
incomprehensible error.. pls let me know if you solve it, thanks :)
The placeholder https://api.extendedclip.com/expansions/scoreboardtags/ seems not to be working because it returns just the placeholder. I see it is made by Glare, an admin here, so I hope he or someone else here can help me out 😄
Steps:
-
/minecraft:tag Itz_Robinnn list
feedback:Itz_Robinnn has 1 tags: KeyIngeleverd -
/papi parse Itz_Robinnn %sbtags_has_tag_KeyIngeleverd%
feedback:%sbtags_has_tag_KeyIngeleverd%
just seems like one of your expansions is broken. go to plugins/PlaceholderAPI/expansions/ and remove all expansions, restart and see if it happens. If it doesn't, then add half of the expansions back, restart and see if it happens, if it doesn't repeat. if it does then the expansion is in the half that you've just added so remove half of the half you just added and restart. if it still happens repeat if not you've found the expansion
you too. do the same thing as I've told them to do above 
the sbtags expansion uses Spigto's API to get the socreboard tags. its like a 4 lines of code. so if its not working, either:
a. spigot is broken
b. the expansion itself is broken and doesn't actually load at all on startup
c. the scoreboard tags that spigot gives are different from the minecraft ones.
now we can make sure its not b by you just doing /papi dump and sending the generated link here
welp its b. now we need to find out why its not loading. can you restart your server and generate a startup log?
and then send it here
read the above ^
Failed to load expansion class ScoreboardTagsExpansion - One of its properties is null which is not allowed!
hmm
yeah. I assume its the version. this might be a plugin messing with the ClassLoader. or idk what else tbh
yeah it is the version. it says it
So, no 1.18.2 support yet?
can you try updating paper to latest development build? Its most likely not going to fix it but its worth a try
no no has nothing to do with the spigot/paper version
but rather with the actual expansion's version
Ah, okay, then I'll have to check with my colleague. He manages the version we run our server on
it uses reflection to get set the version itself. and so I believe that if there's a plugin or something like that that messes with the class loader the expansions that use this will just break
no no. idk how to explain it tbh xD
I could just give you custom jar where I make the version a fixed string, or you could try removing some plugins to see if it works like that. or just PlaceholderAPI and the expansion itself on the server
16.05 09:42:35 [Server] ERROR [PlaceholderAPI] Failed to load expansion class ScoreboardTagsExpansion - One of its properties is null which is not allowed!
how do i fix this error
we are just talking about this. above. it might be a plugin that messes with the class loader
what is that
if you wanna read https://www.baeldung.com/java-classloaders#classloader-intro
sure
Hahaha
Okay so presumably the ScoreboardTags expansion conflicts with another plugin and therefore doesn't work. What I can try is 1) update server to new paper version, 2) investigate with which plugin it conflicts and see if I can spare that plugin 3) buy a custom expansion
you don't need to buy it. I can just make 1 in a few seconds. the problem is that there's many expansions using the same system that you might want to use in the future and that won't work
for the same reason
anyways. if you want a fix just for this expansion, here it is
just go to plugins/PlaceholderAPI/expansions and replace the current Expansion-ScoreboardTags.jar with this jar
and then restart
Oh how wonderful! Even though that may conflict again in the future? So the most sustainable solution is to try option 1 first?
well this exact expansion no. unless you use another version of it. but others yeah
well first, will most likely not fix but you can try. seconds is probably best
hahaha, you have already made it! Thank you, I'll try it right away!
does it fix the error?
for this specific expansion yes
aight
btw
[Server] WARN [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend or softdepend of this plugin.
you can ignore those
nahh
k k
Update: it works!!! 😃 🥳
Thank you so much!
Lolll, definitely not
WARN [PlaceholderAPI] Loaded class com.bencodez.votingplugin.VotingPluginMain from VotingPlugin v6.9 which is not a depend or softdepend of this plugin.
do i need to care about this?
those Loaded class some.class.path from SomePlugin.... can be ignored, it's just a warning that Spigot shows because PlaceholderAPI doesn't specify that it's hooking into other plugins in its plugin.yml, but it doesn't affect anything
That's because of exploit fixer plugin or something like that
You can fix it dw
also, MilkBowl is the author of Vault :D nothing else
Slide into DMs if you need assistance
That's not the actual problem
he thought milkbowl meant there was an issue with milk
Are you sure about that
But by looking at his msg, we can figure out that he is having issue with using milk
he's asking if it can cause issue with players not being able to drink milk
well, you know what
@languid vessel
back
do yo have an issue wth milk?
oh
wait
explock?
or illegalstack?
Maybe
Use #general-plugins or #general-plugins-2 or DM me
oh okay
ohh i see
oh lmaoo
thx, I fixed this bug successfully :)
👍
How do I clear PAPI stats? I am using ajLeaderboards and now im in a new season but the stats carried over after clearing playerdata..
i tried and he said to come here
or contact "papi support"
well what stats are you trying to reset? bcz like placeholderapi does not store any data?
every plugin stores their own data, placeholderapi just requests it and displays it
just statistic time played and player kills
or something like that
well i opened it and now the file explorer thing on minehut has crashed,
oh yeah so basically theres like thousands of .json
I have an item that's name is "Farming Helmet (Farming Set)", but with color codes. How do I use checkitem to see if the name is that? Do I include the color codes?
The real name is "#9B5D29Farming Helmet &7(&bFarming Set&7)"
I tried that and it didn't work
did some testing and seems like hex isnt checked
I just changed it to namecontains then
how would I make a javascript that checks if the helmet is something, if so, have 1. Then check the chestplate, if it is something, then add 1 to the first number. Same with leggings, boots, and mainhand
ok I semi got a thing for it to work
return "4";```
So I have this, but it gives 1111. how do I add the four numbers together?
of course, I could work with 1111, but I do want to learn how to add the four numbers. Which is probably common knowledge to everyone 😅
ok, I removed the " and it works :)
If you are going to use Javascript, it is better to use bukkit methods
hey, i was wondering how i can use placeholders inside of placeholders?
an example:
%luckperms_group_expiry_time_%luckperms_highest_group_by_weight%%
like this %luckperms_group_expiry_time_{luckperms_highest_group_by_weight}%
i tried that- maybe its a luckperms thing?
Alright, thanks
Hey, is anyone familiar with the CheckItem expansion? https://github.com/PlaceholderAPI/CheckItem-Expansion
im trying to use the remove function to remove just one item. Is this possible?
%checkitem_remove_namecontains:&d&lTest Item% (This removes the whole stack of the items all named the same thing)
Using checkitem_amount just returns the amount in the inventory
use the amt modifier @potent oxide
%checkitem_remove_namecontains:&d&lTest Item,amt:1%
Thanks so much 🙂
Hi so I was facing this issue. And someone told me that one of my expansions might be broken. I reinstalled and updated all the expansions and still face this, issue. Can someone help me with the same
Hey I'm Using NUVOTIFIER plugin and was wondering how to make it adter you vote a certain amount of times, you rank up
If you also don't know what I'm talking about go to my dms and I can tell you which server to join, as an example
@sharp jay can you help me with dis issue
ok
i've just been waiting for so lonng, not on this server but 2 days to try to get this thing to work
Not by mentioning me
I have this on my scoreboard "Towny: %townyadvanced_town%" it works just fine, but if I'm not in a town it doesn't show anything, how do I make it so if I'm not in a town it shows [None] instead of just showing literally nothing.
you could use the ChanteOutput expansion
%changeoutput_equals_{townyadvanced_town}__[None]_{townyadvanced_town}% something like this might work
TYSM
Oh oops, my bad
when I put %playtime_time% it shows the hour minute and seconds
how do I make it so it only shows hours like this:
playtime: 2h
don't think that's something you can do. Unless PlayTime allows you to customize it inside their own config
Okay, thanks anyways (:
For the checkitem placeholder can you make it ignore capitlization
no, but you could use it to retrieve the info and use javascript to ignore caps
👍
I made all of these already but nothing :((
/papi dump send the generated link
okay
can you execute /papi parse me %vault_eco_balance% and see what the output is?
yes
It says 0.0
Which is good because my balance is 0
hmm. the placeholder seems to work then. What scoreboard plugin do you use?
I make my own
you need to import it and use PlaceholderAPI.setPlaceholders(Player, String);. let me get the wiki link
Oh okay
what can I do with this?
send your entire pom.xml in a paste bin please: https://paste.helpch.at
Okay
Here it is
https://i.imgur.com/CUgYZAL.png you already have repositories and dependencies declared
you have to move PAPI's under those
Oh okay, I try it, thanks
like this https://paste.helpch.at/iyixowuzel.xml
check the paste I sent
use that
👍
yeah. since you're going to use it in your plugin
Oh okay
https://cdn.discordapp.com/attachments/713789404501508157/976548571685998672/unknown.png does it matter that it is with gray?
that means you've imported but you're not using it
in your actual codwe
code*
it will turn white when you'll use that class
@turbid tide Is that not the correct use of it? https://cdn.discordapp.com/attachments/713789404501508157/976554487458177084/unknown.png
strings are not mutable. you have to work with the output of the setPlaceholders method
for example
val balanceParsed = PlaceholderAPI.setPlaceholders(player, egyenlegtext)```
and then you set it in the scoreboard
oh okay
Its finally working
Ahh thanks for your help 😄
no problem
Statistics placeholders don't show offline players in leaderboards, is there a way around this?
like %statistics_player_kills% or %statistics_hours_played%
the statistic expansion only works for online players. so unless whatever leaderboard plugin has a way to show offline player's stats then no
cool, thanks for answering i'll look around for a leaderboard plugin that does that
hello
when i use this placeholding in this format it works i get the value back but when a player joins i get this error but as the owner i can join and i dont get any errors i dont understand what i did wrong
19.05 07:24:44 [Server] WARN [PlaceholderAPI] [math] Invalid Placeholder detected!
19.05 07:24:44 [Server] WARN [PlaceholderAPI] [math] Placeholder: %math_{aureliumskills_power}/15%
19.05 07:24:44 [Server] WARN [PlaceholderAPI] [math] Cause: '{aureliumskills' is not a valid number for precision!
i have talked to Levelled mobs support and they said i would have to talk to placeholder about my issue
/papi parse me %math_{aureliumskills_power}/15%
the math expansion requires you to set a precision now %math_0_{aureliumskills_power}/15%
Okay Ill try this thank you so much for your quick reply
Sadly this did not work
19.05 11:34:39 [Server] WARN [PlaceholderAPI] [math] Invalid Placeholder detected!
19.05 11:34:39 [Server] WARN [PlaceholderAPI] [math] Placeholder: %math_0_{aureliumskills_power}/15%
19.05 11:34:39 [Server] WARN [PlaceholderAPI] [math] Cause: '{aureliumskills_power}/15' is not a valid Math Expression.
seems like your aurelium placeholder isn ot working
if you execute /papi parse me %aureliumskills_power% what does that return?
I'm a bit confused. This command returns 1.88?
/papi parse me %aureliumskills_power/15% wait this exact command returns 1.88?
/papi parse me %{aureliumskills_power}/15%
ugh. you mean the math one?
/papi parse me %math_0_{aureliumskills_power}/15% right?
yes im sorry about that
hmm. and you still get an error?
while you execute the command I mean, if you check the console
you get an error?
yea
19.05 11:15:14 [Server] WARN [PlaceholderAPI] [math] Invalid Placeholder detected!
19.05 11:15:14 [Server] WARN [PlaceholderAPI] [math] Placeholder: %math_0_{aureliumskills_power}/15%
19.05 11:15:14 [Server] WARN [PlaceholderAPI] [math] Cause: '{aureliumskills_power}/15' is not a valid Math Expression.
19.05 11:16:36 [Server] INFO [ExcellentCrates] Auto-save: Saved 1 online users | 0 offline users
wtf. if it works why is it erroring. hmm 1 sec
it happens every time a player joins
oh. are you using the placeholder in a message or something like that?
featherboard Plus Levelled Mobs*******
can that be it?
its still works though featherboard
i can see the 1.88
i'm tech using it for my server combat level
its working real well aside from the error
you may be on to something i removed it from featherboard and theres no more error
can you show the exact placeholder you have in featherboard
like copy paste it here
and put it into ` here `
so it looks like this
&b&l> $setting_label-color$&lCombat Level: &b%math_{aureliumskills_power}/15%
i cant do the 0 on the scoreboard if i do it shows way do many Extra Numbers like this 1.88.888888888888888888888888888888888
but even more then that
can you put it inside ` not '
that character is above the TAB and under the Esc buttons
Edited not sure if you seen it but if yea and your busy take your time to reply 🙂
hmm.
o i didnt mean to ping
try %math_2:_{aureliumskills_power}/15%
okay
I wonder if the scoreboard is just updated too fast and the aurelium placeholder just doesn't work bcz the player is not fully connected yet. that could also be a problem
let me lower the intervals
raise i mean but no that didnt work
19.05 12:44:10 [Server] WARN [PlaceholderAPI] [math] Invalid Placeholder detected!
19.05 12:44:10 [Server] WARN [PlaceholderAPI] [math] Placeholder: %math_2:_{aureliumskills_power}/15%
19.05 12:44:10 [Server] WARN [PlaceholderAPI] [math] Cause: '{aureliumskills_power}/15' is not a valid Math Expression.
weird i think your right when i turned up the intervals then logged on again i still get the error and the placeholder breaks this time not showing the value but the placeholder itself, Then on the next update its fixes the placeholder
if you put just %aureliumskills_power% in your scoreboard does it show correctly when you join?
yea it shows normally
Idk then. This is the best theory I have.
since the error you show, says its trying to divide the actual text {aureliumskills_power} by 15. so clearly the placeholder isn't parsed. And I've looked at the code and the only reason I see would be that
okay well it works perfect mixing it with Levelled Mobs so worse come to worse ill just take it off the scoreboard
the thing is, the placeholder just shows fine in the scoreboard right? so the only bad part is the message that you might get spammed with.
yea but only on Loggon so may i can just spam hide it
you could in theory use something like ConsoleSpamFix or whatever its called
cause it does make the rpg feel so much more like a real one
yea i have it ill give it a go, But i do owe you a big Thank you for your help! and time
no problem 👍
Is there a placeholder to list all the players on the bungeecord instance
just the amount. not their names
hey
is there a way to not use a placeholder by putting a certain character in front of it?
Or something of the likes
no. unless the plugin you're using it in specifically adds that.
it worked just fine but suddenly it changed and I don't know why
I've tried disabling my latest installed extensions but that didn't fix the issue either
as I was saying, that was never a thing in PlaceholderAPI itself. Unless the plugin you were using it in had this specific functionality.
the entire plugin? no.
if you want to disable it, remove it from the plugins folder and restart the server
btw there was a placeholder I unregistered and now I can't get it back
is that normal?
what placeholderand how did you unregister it
The placeholder was called "regionclaimplus" ||https://www.spigotmc.org/resources/regionclaimplus-full-recode-extremely-configurable-1-8-1-18.94961/||
I uninstalled it via command (unregister)
mind executing /papi dump and sending the generated link here please.
its fine to send plugin links here btw. as long as you're not directly advertising like "buy my plugin" its absolutely fine
if you restart the server its still not working?
ah ok good to know
I'm doing that rn
I removed it from the plugins folder and just added it again
It still sees player as a placeholder even though papi wasn't even installed anymore
Any idea why that is?
%player% is not a PlaceholderAPI placeholder
that's probably an internal placeholder of that specific plugin
every PlaceholderAPI placeholder has a specific pattern
%identifier_<arguments>%
if it doesn't look like that its not a PlaceholderAPI placeholder
could it be essentials that messes with the chat format?
hmm? what would?
ohh
misunderstood the question
I mean essentials only changes the format if you have the EssentialsChat plugin installed
prefixes:
- default;&a**[Player]** &f;&a[Player] &f
the [player] is used as a placeholder for some reason
I mean as I've said before, its most likely something that the chat you use for formatting has built in
plugins can make their own internal placeholders not related to PlaceholderAPI
so most likely whatever chat formatting plugin you use, has one
Hey, how would I set the material of a delxue menu itemto the item that successfully trigers %checkitem_mat:SHIELD,namecontains:&fSteel Guard%
Or alternatively does anyone know how to get the output of what slot # the checkitem placeholder finds an item in?
Does anyone know why this doesn't work? %math_%bungee_Hub-1%+%bungee_Hub-2%%
And presents this error
[00:55:21 WARN]: [PlaceholderAPI] [math] Invalid Placeholder detected! [00:55:21 WARN]: [PlaceholderAPI] [math] Placeholder: %math_% [00:55:21 WARN]: [PlaceholderAPI] [math] Cause: '' is not a valid Math Expression.
Use {bungee_Hub-#}
No one here is paid to help, so do not beg. People volunteer to help here
U need to download protocollib plugin
Also replace Essentials with ForgeEssentials since u arent using bukkit
Also I dont think papi works on non bukkit servers
Unless u have a reason, i suggest using paper as ur jar file and use plugins not mods
Mods are mainly for singeplayer worlds
nonsense
many, many mods are made with multiplayer in mind
think your vault expansion may be corrupted, try redownloading
the vault expansion
How can I register an extension that I have previously deleted?
it shows when I type /papi list but it doesn't work
Generated: May 20, 2022 at 2:23:59 PM UTC
PlaceholderAPI: 2.11.1
Expansions Registered:
regionclaimplus [Author: 3ricL (Ericdebouwer), Version: 1.1.4]
...
Expansions Directory:
Expansion-playertime.jar
Expansion-player.jar
Expansion-viaversion.jar
Expansion-autorank.jar
Expansion-statistic.jar`
and I know it's been in the expansion directory before (I deleted it 😅)
I’ve tries to add it back but it’s not working for me :c
ah and btw I don't get any errors in the console
So restart the server
https://paste.helpch.at/sebafexiqo.js I have this javascript, would this be correct in storing the placeholder %checkitem_give_mat:{deluxeshop_{args[0]},name},amt:{deluxeshop_currentAmount}% as a variable and using it in a function?
can you send your startup log please? restart the server first to generate a new one
ok wait a sec
not exactly. you're doing a bunch of math operations and comparison in strings. plus you're using arguments in strings. that won't work. you need to concatenate. and also you don't use the amount variable at all
can you dm me so I can send it to you please :D
Sorry, I have basically 0 experience. So I need to move the argument and math operations out of the string, would this be it:
if (args[1] > "1") {
return eco give %player_name% args[1]*%deluxeshop_{args[0]},buy%;
}
return "msg dunescifye no";
}```
no. put it in a paste bin: https://paste.helpch.at
it's already a txt file
and you copy the content and put it on that website and send the link
or is this different?
ah I see
yeah. you place text there, and it generates a custom link so I don't need to download anything
and you don't need to send files
wouldnt the amount variable be args[1]
no. args are different
they're what you call in a placeholder
ahh ok
Im an idiot for not realizing that
how would I go about storing it in a variable?
for example if my placeholder is named test and I do %javascript_test_ARG0,ARG1% I'd have arg[0] which would be ARG0
and arg[1] which would be ARG1
I'm already working on editing your code
oh, ok, thank you. Sorry for the trouble
should I send it again?
is there a reason you're making variables?
for stone for example
nah. I've seen it. will take a look in a second
ok thank you ^^
So I have a shop made from DeluxeMenus, and when players buy items, sometimes they buy more than their max amount of items they can hold. The checkitem placeholder gives a number if the player can't hold the excess, so I was going to use that number and multiply it by the price of that item, which I use the item variable to check the item price, and then give the player that amount of money
hmm. that's strange. I've took a look and [18:20:53] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: regionclaimplus [1.1.4]
it's detected as placeholder
it just doesn't work
when I type /papi list then it even displays it as green
oh that's a good idea
if you do /papi parse me %regionclaimplus_region_name% for example
what does it say?
it's a blank message
I'm not really sure how this code will help with thatbut I'll make the code work
then the placeholder works I guess. I assume you're not in a region
since it shows empty
ah now it works
but it displays the region name instead of the owner
oh wait
nvm xD
ah yea it works in a region
I assume its supposed to return an empty string when you're not in a region
and that's what's happening
it just says my username
that's it
1 sec
Claim of %regionclaimplus_region_owner%
Lyox (my username)
it says that where?
it still shows as %regionclaimplus_region_owner%
yes
instead of what its supposed to?
but if you try it with /papi parse me %regionclaimplus_region_owner% it works?
yea
what plugin do you show to send the message?
Claim of (username)
I use RegionClaimsPlus
it's only working when I use parse me
so the command
not in the config file for some reason
then I'm assuming whatever you use to send the message doesn't support PAPI
it does
possibly just in that specific space.
hmm. if you use another placeholder it works?
Just updated to 1.18.2 to see the damage 💀
I get this error, what's the issue https://pastebin.com/wVvZe7gq
oof it doesnt :c
yeah. specifically server expansion but all of them won't hurt
flags:
- use: "allow"
- pvp: "allow"
- fire-spread: "deny"
- greeting: "Claim of &d%player_namer%"
# everybody but the owner will be greeted
group: "all"
# allow both owners and friends to break/place
- block-place: "allow"
group: "members"
- block-break: "allow"
group: "members"
- feed-delay: "2"
- heal-max-health: "3.5"`
then yeah. the problem is with the message itself
Did I do something wrong in the conifg?
it doesn't accept PlaceholderAPI placeholders there
in that specific message
most likely
maybe contact the plugin's author
no problem
here you go @plush dove https://paste.helpch.at/okunigutir.js
if it doesn't work try this one instead: https://paste.helpch.at/karoyarewe.js
how can we tell if parseInt fails @turbid tide
because it will return yes if all are given
I mean idk. I just made his code work. at least that's what I thought. I don't even know if it will do what they want
ye ik
it will error out xD
that's how you know
ya...
https://pastebin.com/Q8zbaTtH Hmm I did /papi ecloud update all and restarted
looks like they are all updated, it is saying at the bottom there are 8 placeholder hooks in need of updating though o.o
maybe this https://paste.helpch.at/unemigufug.js @plush dove
that thing is a bit broken. if there's expansions that have the same name it doesn't check.
Gotcha kk 😛
I'll just try them all
this gave me https://paste.helpch.at/oxevejivay.cs
👍 works great!
what can I put for the bottom part
if they have enough inventory space
can I just put blank and it wont send any console command?
it will send. just empty. you might get an unknown command message
yep, I changed it to [takemoney] and now I'm working on a message for it
'[message] %changeoutput_>=_{javascript_buymore_{item}}_1_Your inventory didn''t have enough space, giving {math_{javascript_buymore_{item}}*{deluxeshop_{item},buy}}_${math_{deluxeshop_currentAmount}*{deluxeshop_{item},buy}} has been taken out of your account%'
Unfortuntely this doesnt work 😅
why would you use changeoutput instead of just using javascript to send the messages you want to
also, you'd be parsing the give placeholder twice
AHH your right
could I have another argument in the placeholder, like %javascript_buymore_{item},arg2%, and the arg2 argument either gives an amount of money to give back, or give a message
so for example %javascript_buymore_{item},1% would give me the amount of money to give back to the player, and I would use that placeholder in the [givemoney] action
But if I do %javascript_buymore_{item},2% it would give me the message saying how much money is given back and I would use that placeholder in the [message] action
ugh this wouldnt work because the giveitem checkitem placeholder is still parsed twice...
use , instead of _ for multiple arguments in js
oh ok
nothing works since I can only have the placeholder parsed once...
if I let it run the command eco give, then it would say taken $200 and then give $200, which looks ugly
what if you use the js expansion to give the money as well
instead of take, only give
and only through a js placeholder response
is there a way to have two console inputs in one [console] action?
so like [console] give %player_name% 100 +++ say hi
hmm well nvm I'll just do what you suggested
alright yea this is too complex, ima just, leave it with no message :)
Hello, is there a javascript addon for java 8?
looks like its not loading on my java 8 server
not anymore. version 1.6.0 is the latest that supported java 8 I believe
👍 thanks!
how can i display online player from one off my servers on a bungeecord?
Use bungeecord expansion
it doesn't work, but i think if i use the server selector x i can use their placeholders
Imagine using a plugin just for one placeholder
@lean wyvern use pastebin
?paste
sorry
https://imgur.com/a/NQy6vBt i am in the lobby and its zero
Someone know how to solve this error? https://paste.helpch.at/anodawojif.sql
Try %bungee_total%
one, its right, but i what to display this by server, on a scoreboard
You're in vanish mode i guess
no vanish don't exists on this server
The placeholders dont work, i need to reload the plugin, but if my server has a restart, the placeholder doesnt work
someone know how to solve this?
Hello
where can i see the placeholderapi versions history for a old version of papi ecloud download ESSENTIALS
?
who would I talk to to get a verified ecloud account? was directed to come here since registration is locked 😄
cc: @balmy marten
one very simple question
i can't seem to find in code, related to Pinger PAPI expansion
there is generated option in PlaceholderAPI folder in config.yml called pinger.check_interval and by default it's 30
is 30 here ticks or seconds?
Thank you in advance!
Is there a placeholder that lets me display prefixes?
yessss
which one?
what is it called?
you can use vault expansion or luckperms placeholder or cmi/essentials placeholders as well
I have installed those
but it doesn’t work for me
maybe I‘m just typing it wrong
:/
what is the placeholder %xxx% ?
What 😕
are you using luckperms plugin for prefixes??
I don’t think so
then which plugin you're using?
It’s called LuckTab
but it has no placeholders
I use LuckPerms for groups tho
okay wait
@ancient spire run /papi ecloud download LuckPerms
'/papi reload' after that
and what is the placeholder?
%luckperms_prefix%
thank you 😄
I don't think that's currently possible. no
well not exactly a PAPI issue. more like an outdated expansion. You could open a Pull Request on the expansion's page for this but idk who if anyone is maintaining the expansion anymore
no problem
Hey, Having a problem with PAPI and DeulxeTags. Everything is fine upon first install, but after a reload of papi all placeholders don't work. No errors in console. Anyone seen this before?
can you execute /papi dump and send the generated link here?
go to plugins/PlaceholderAPI/expansions/ and delete Expansion-DeluxeTags_rqTVvkd.jar then restart the server. Everything should work fine after.
no need to download the external expansion after btw. that's what breaks it.
the expansion is not needed since 1.8.1 or 1.8.2
of deluxetags
👍
how do I make a math placeholder that doesnt give decimals
I did %math_2:0_100/sqrt({clv_player_level})% but if the placeholder is high enough, it gives me a number like 3.2
nvm doing 1 fixes it
no it doesnt
what is the kills and deaths placeholder ?
dm me a username and email you'd like and I'll create it on my end
👍
Statistic expansion
Use precision and rounding
I have 2 as the precision but it can give me stuff like 3.2
[PlaceholderAPI] failed to load class files of expansions
java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot invoke "java.lang.Class.getClassLoader()" because "result" is null
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:412) ~[PlaceholderAPI-2.11.1.jar:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.Class.getClassLoader()" because "result" is null
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:113) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:235) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:128) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:105) ~[purpur-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:574) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
at me.clip.placeholderapi.util.FileUtil.findClass(FileUtil.java:62) ~[PlaceholderAPI-2.11.1.jar:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:388) ~[PlaceholderAPI-2.11.1.jar:?]
... 7 more
Does anyone know where this error is?
do PlaceholderAPI suport Realistic seasons ?
I am getting the error
[PlaceholderAPI] failed to load class files of expansions
when trying to setup the placeholderAPI on my scoreboard (kiteboard), i am trying to use the vault expansion... anyone know any fixes?
hi, i need help with changing placholder text w javascript expansion
that's not the full error is it?
Can anyone help me with papi? For some reason when I load the Player expansion after papi reload I do not get any additional placeholders in the /papi list and the Player placeholders do not work. However, /papi parse me %player_world% gives the correct world in the chat.
Itz_Beer!
Anyone knows how to save array data using javascript expansion?
hi guys,
is SaberFactions available with papi?
how can I view my coordinates?
I can't find a placeholder for that on the website :c
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#essentials
Is there a player count placeholder that doesnt count vanished and spectator players?
player expansion
if you are using essentials, I think there's %essentials_safe_online% that ignore vanished players, but not gm3 I guess
I have that one installed but I can't find the placeholder :/
%player_x% %player_y% %player_z%
ty
.
ask them
for math, can I have placeholders within placeholders
like %math_1:0_{changeoutput_equals_{checkitem_inslot:39,mat:LEATHER_HELMET,namecontains:Farming Helmet &7(&bFarming Set&7)}_yes_1_0}+{changeoutput_equals_{checkitem_inslot:38,mat:LEATHER_CHESTPLATE,namecontains:Farming Chestplate &7(&bFarming Set&7)}_yes_1_0}
no
👍
if you want complex stuff like this you might want to try one of the scripting expansions
like the javascript one
Is there anything that displays a player’s experience overall
%player_levels%
I already have it on a JavaScript thing, but I'm passing the placeholder a lot, and it sometimes creates lag. I was trying to test if using JavaScript or putting it all in math would be less laggy
Time for an actual expansion and apis over placeholders
Try using the shortcut expansion if you want to nest more stuff
OK
Can we merge the value of two placeholders?
Wym by that? Like have them together?
If so just do %placeholder% %otherplaceholder%
And it could be like world and time next to eachother
No
I mean is
Like I'm using bungee placeholders
And in my lobby server
I setuped a hologram
Showing how much players in my minigames server
So I want to merge the two placeholders of both minigames and one more server
Like %bungee_minigames_minigames2%
Like it will merge the value of both placeholder and show it in 1 number
Math expansion
Can u help me pls
I just did?
I never used it before
Maybe something like …[placeholder]+[secondplaceholder]
Use {} sorry
@full cedar
Okay
Let me try it
I also never used it
Like I have to merge both of this so what I have to do
%bungee_server1%
%bungee_server2%
Maybe %math_{bungee_server1}+{bungee_server2}%
Hmm okay let me try
U could use javascript possible
Wth
When I added math expansion
Other Placeholders also stopped working
It ruined my all placeholders
Just from adding math expansion?
All placeholders? Or just some?
Bungee
Try a server restart
Reatart the server and send the startup log here
Is there a placeholder to display the overworld coordinates in the nether?
you can use math
thank you ^^
Whenever I download math
Placeholderapi stops working
It's says this version is compiled with the most recent version 55 and something
yeah. you need java 11
to run the math expansion
It not works
I'm using paper
It create a huge log
Whatever let me try
Still
It creates a very endless log
If I use java 11 with 1.8.8
Isn't any other way I can do that?
I updated the server to 1.12 and all started working
Hello
I have a problem when I try to put the extension TownyChat but when I /papi reload, placeholderapi crashes.
Go to ur hosting and change it to java 11
Paper 1.8 doesnt mean u use it
Send log
in latest.log ?
Just type /papi reload and send me the message that comes after it in ur console
Ok
?paste
seems like you don't actually have the TownyChat plugin installed?
No ah ok I have to install it, I'll see if it works
It creates a huge error with 1.8
Hello im trying to use placeholder api and CheckItem-Expansion for the plugin conditional event in order to check if a player has an item so that if they don't I can give it to them but I get a warning when doing this:
'%checkitem_mat:EMERALD,nameequals:&5&lMenu% !equals execute actions1'
I have some regions created to use them as shops, and when that shop is rented by a player it works perfectly (it is a separate plugin that is linked to WG), the user can place, break, etc but when I use this placeholder I get an empty result:
i using 1.18.2
PAPI: 2.11.1
%worldguard_region_owner:Lobby,-42,84,-486%
Returns an empty string.
%worldguard_<Any WG Placeholder>:<World>,<X>,<Y>,<Z>%
haven't looked into the plugin conditional event yet, but do you need to compare it to something? I see !equals but it doesn't compare it to yes or no
just checked, seems accurate
i see I was just doing it wrong, im trying to learn and don't really understand how !equals works I also can't find and answer to it online is there like wiki or cheatsheet to see what these all mean:
equals
!equals
equalsIgnoreCase
startsWith
ect?
so if you want to check if the player does NOT have the item use this
'%checkitem_mat:EMERALD,nameequals:&5&lMenu% equals no'
then you put whatever action you want in the actions:
ooooooh I see thank youuu!
👍
? 😔
does region_name return the region name there?
Wait, in the config where the region is the owners: {} is empty, I'm using AdvancedRegionMarket, maybe I'm doing something wrong and that's why it's not the owner, although it's strange because before in 1.18.1 it worked for me, it stopped working when I updated to 1.18.2.
Anyway, it's quite late and I'm working in 5 hours, tomorrow I'll be here and I'll tell you if I've solved it or not...
Thx 🙂
/rg info <region> would show you the direct owner via wg
👍
:3
it'll probably only work when the other person is online, but you can use parseother
Hi guys, I created a plug-in with the use of placeholderapi. I used JAVA 8 in 1.16.5 but unfortunately placeholders are not registered in 1.18 with java 17, what could I do in your opinion to create a multicompatibility?
hello, how instal PAPI on network (velo + paper servers)? i need drop jarFile to all servers or only velocity prexy plugins folder?
all servers. no proxy support as of now
Yesterday it didn't work for me, I don't know why, today I have reset the config of that plugin and the placeholder is working, it must have been some casual error I imagine without importance, certainly too rare because I haven't touched anything. head-%worldguard_region_owner:Lobby,-15,84,-485%
I'm with a problem in placeholderapi i am using it in my host Titan Hosting
?paste
I'd say check the config and disable the ecloud
It don't appear look
no config made?
no
I'd say try reinstalling the plugin
I'm near the end of my thoughts
only other thing I can think is maybe 1.8 is too old? (specifically 1.8)
maybe try 1.8.8 or 1.8.9 if you can?
Other than that, just wait here and hopefully somebody else can help
Hello, I'm attempting to use PlaceholderAPI#setPlaceholders but I also have a custom placeholder I use within my plugin, being %PREFIX% which I use within my Locale.
I'm having a weird issue where when the message is being parsed, PAPI is translating but then it is leaving my %PREFIX% placeholder in lower-case.
Parsing: %PREFIX% %vault_rank_prefix% %player_name% but output is
%prefix% [Owner] Oliver
Anyone have any ideas?
@deft anvil %PREFIX% is not a placeholder
Ohhh
is /papi parse me %PREFIX% displaying anything?
%PREFIX% is a placeholder I use internally
The issue is, I'm using #setPlaceholders, then the string being returned is in broken case, meaning my internal %PREFIX% placeholder isn't being translated
No
'%STAFF_PREFIX% %PLAYER%&r &7has joined &9%SERVER%&7.'
being parsed through #setPlaceholders outputs
%staff_PREFIX% %player% has joined %server%.
meaning my code won't replace, because of the change in case
I have also noticed this
it happens with setBracketPlaceholders too
I think an issue was opened
sadly the latest build still has the issue
I had an existing language system, but wanted to support PAPI also, so people could add custom placeholders from external plugins, but this is my current issue
I'm out of date?
It looks like this issue has re-emerged then? @carmine veldt I'll tag you since I see you touched this last
I've tried the latest dev version of papi and it still happened to me with setBracketPlaceholders
latest dev build is here https://ci.extendedclip.com/job/Placeholderapi/
so maybe it was fixed for setPlaceholder
give it a try and let me know
Generated: May 25, 2022 8:35:03 PM UTC PlaceholderAPI: 2.11.1
I'll have a try with the dev build
imma be apologizing to piggy soon I bet
Pretty sure they fixed it. Might not be on Jenkins yet tho
ok
is there a way to turn something like COOKED_PORKCHOP into Cooked Porkchop?
javascript
If you have time, could you give me a general example on how I would go about doing it?
const mySentence = "HelpChat is an awesome discord";
const words = mySentence.split(" ");
for (let i = 0; i < words.length; i++) {
words[i] = words[i][0].toUpperCase() + words[i].substr(1);
}```
<https://www.freecodecamp.org/news/how-to-capitalize-words-in-javascript/>
For one letter words substr(1) will throw an erro
You could just use minecrafts method. I'm not on PC right now so I'll get it later.
I think it's like Matetial.<material>.getLocalizedName() or something like that.
Hello !
I don't know if I'm dumb or what, but PAPI doesn't replace placeholders in this code 🤔 :
Bukkit.getOnlinePlayers().forEach(player -> {
String messageReplaced = MessageUtils.setupMessage(player, tournamentMessage.getMessage());
player.sendMessage(messageReplaced);
});
It works in others messages, but it looks like it doesn't work in forEach 🤔
what's this method? MessageUtils#setupMessage
@NotNull
public static String setupMessage(Player player, String message) {
return translateHexColorCodes(PlaceholderAPI.setPlaceholders(player, translateHexColorCodes(message)));
}
Ah, just saw I have 2x the same method
But w/e that's not the problem
are you sure the placeholders work at all on your server? have you tested them with /papi parse for example?
.....
Well, I was right, I'm dumb.
Was using the wrong placeholder 😒
👍
Sorry for this waste of time and ty for your help
yeah. except that's the JS expansion. Its a lot more harder to get that. And yeah the localized name is in the ItemMeta. You have to first make an item stack, then get the meta, then get the localized name.
but it would be better as it would change based on the player's language I guess.
This would be a lot better, since I'm just trying to get the localized name of the held item. This doesn't work, it just gives me blank
well yeah. its a lot more complicated than what yapper gave you
Hi, will math placeholder api work in my own plugin?
can someone help me when i use %player% in the deluxemenu plugin it returns it as %player% not the players name
?player
ok no this is not working
items:
'stone':
material: STONE
data: 0
amount: 1
slot: 5
priority: 1
display_name: '&bCreate Server'
lore:
- '&6Create a server to play on with your friends!!'
- '&aLeft click to create.'
- '&cRight click to close.'
- ''
- '&cRequires &7&l[&3VIP&7]&r'
left_click_commands:
- '[message] &aGenerating %player_name% a world.'
- '[player] mvc %player_name% normal'
- '[console] mvtp %player_name% %player_name%'
right_click_commands:
- '[close]'
update: true
have you executed the 2 commands?
nope
I have this javascript, where it should capitlize the first letter of every word, but it gives me blank as the output
I do /papi parse me %javascript_blank,test sentence%
_ instead of comma
yeah. change const to var
I removed the "let"
and it now works
but also doesnt
it now gives me "Discord" as the output every time
send the code again
@plush dove
you can try this but not sure if it will work https://paste.helpch.at/inewuhinit.cs
https://paste.helpch.at/nudecaduma.cs would this be correct in making it all lowercase first, then capitalizing the first letters?
https://paste.helpch.at/nudecaduma.cs I have this code and I'm trying to make something like COOKED_PORKCHOP into Cooked Porkchop. The capilization of the first letter works, but that only works if its all lowercase. So I'm trying to transform it into all lowercase by adding mySentence.toLowerCase(); on the third line, but it seems to not affect the result and return it in all caps without the underscore. If I remove the for loop and keep the toLowerCase(), then it returns in all lowercase. What did I do wrong?
Where is there a list of everything that I parsed?
remove that and use var mySentence = args[0].toLowerCase() at the top
is this up to date? https://www.spigotmc.org/wiki/placeholderapi-expansion-tutorial/
thanks
MC 1.8.8 papi 2.11.1 https://paste.helpch.at/eyosiqepay.sql
NPE, pretty obvious what the problem is
Hello,
I would like to know if it is possible to make a top 5 ranking of the players who have broken the most blocks etc... ?
public boolean canRegister() {
return (plugin = (Statz) Bukkit.getPluginManager().getPlugin(getRequiredPlugin())) != null;
}```
I checked this morning to make sure it was not a missing description in the Statz jar, it is not missing
Hey, none of my placeholders work, like nothing. I tryed to delete the plugin folder than restart it, and redowloaded the expanisons
after i restart the server again
all of them are broken
any ideas why?
i need an response asap
send the startup log
one sec
my god that's a mess
Seems like PAPI started up correctly though
@slate glade Can you do /papi reload and see if there's anything in the console?
And which placeholders aren't working?
@limber ice send the full code
You are using plugin on getVersion(), and at the point getVersion() is called by papi, the variable is null
that would be version of Statz?
would this work return String.valueOf(1.4);
since I can not fix Statz 1.4
that seem to work, now to test the placeholders
ok so now all the placeholders work, jus the itemsadder ones don't
and they just stopped working out of the blue
Having trouble on relational placeholders
return "%luckperms_suffix%";
} else {
return "%luckperms_prefix%";
}
}```
I'm trying to check the receivers 'pack' variable and execute this statement
is the pack variable another PAPI placeholder?
is that javascript?
because if you are trying to get the actual suffix/prefix, currently that doesn't also parse the placeholders, it will literally be %luckperms_[suffix/prefix]%
I ended up making him an expansion
he wanted to use relational placeholders to check if the viewer had the pack or not
I had to make a separate plugin
Got that figured out
%progress_bar_{math_{vault_eco_balance}/{prisonranksx_nextprestige_cost}}_c:&b■_p:&f■_r:&7■_l:10_m:100_fullbar:&fReady to &f/prestige%
A much simpler issue I'm dealing with is this placeholder telling me this error:
[11:26:12 WARN]: [PlaceholderAPI] [math] Placeholder: %math_{vault_eco_balance%
[11:26:12 WARN]: [PlaceholderAPI] [math] Cause: '{vault' is not a valid number for precision!
[11:26:12 INFO]: [Progress] Couldn't get the number from {math. The progress will be 0%.
[11:26:17 INFO]: [Progress] Couldn't get the number from {math. The progress will be 0%.```
somebody know what % is claims blocks?
you're missing a precision, I added 0 which will round it to a whole number.
%progress_bar_{math_0_{vault_eco_balance}/{prisonranksx_nextprestige_cost}}_c:&b■_p:&f■_r:&7■_l:10_m:100_fullbar:&fReady to &f/prestige%
what plugin? grief prevention?
[05:00:43 ERROR]: [PlaceholderAPI] failed to load class files of expansions
java.util.concurrent.CompletionException: java.lang.NullPointerException
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:412) ~[PlaceholderAPI-2.11.1(1).jar:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
Caused by: java.lang.NullPointerException
[05:00:43 INFO]: [AuctionHouse] Found PlaceholderAPI plugin```
anyone know what this means
Version Server:
This server is running CraftBukkit version 3484-Spigot-b6d12d1-7bc728a (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT)
Version Papi plugin:
PlaceholderAPI (2.11.1)
Error:
These commands do not return a response.
Commands:
/papi parse me %world_nearbyEntities_50%
/papi parse DonKolia %world_nearbyEntities_50%
This bug has been around since 1.12.2...thanks for your help.
still didn't work 😦
[20:25:13 WARN]: [PlaceholderAPI] [math] Placeholder: %math_0_{vault_eco_balance%
[20:25:13 WARN]: [PlaceholderAPI] [math] Cause: '{vault_eco_balance' is not a valid Math Expression.
[20:25:13 INFO]: [Progress] Couldn't get the number from {math. The progress will be 0%.
[20:25:18 INFO]: [Progress] Couldn't get the number from {math. The progress will be 0%.```
My thing is, this is displaying correctly as a standalone placeholder:
%math_2_{vault_eco_balance}/{prisonranksx_nextprestige_cost}%
But when I put it into the progress bar it doesn't work:
%progress_bar_{math_2_{vault_eco_balance}/{prisonranksx_nextprestige_cost}}_c:&b■_p:&f■_r:&7■_l:10_m:100_fullbar:&fReady to &f/prestige%
and gives me the above errors