#placeholder-api
150650 messages · Page 136 of 151
hey i read the evalex wiki and i've tried many different renditions of the placeholder, but i cant seem to figure out how to get this placeholder to work:
%math_2:HALF_DOWN_{vault_eco_balance}/10%
i'm hoping that i get 10% of the target players vault balance as the value, and rounded to two decimal places. does anyone know what i've done wrong?
if anyone responds, please ping me 😊
Nevermind, i got the answer. the correct placeholder should be:
%math_2:HALF.DOWN_{vault_eco_balance}/10%
what i was doing wrong is that i used an underscore between "HALF" and "DOWN", when it should be a period/decimal dot instead
in my defense, the evalex wiki was formatted with underscores
okay i have another question now 😭
how can i make the above placeholder reference a specific player?
the command i am attempting to set up is a reward command that gives the killer of a player 10% of the killed player's balance
something like /eco give player1 %math_2:HALF.DOWN_{vault_eco_balance}/10% (of player2)
/papi ecloud download Utils
/papi reload
%utils_parseother:[player1]_math_2:half-down_{vault_eco_balance}/10%
if you use a placeholder instead of player1, replace parseother by parseplaceholder
Is there any update for this? ^
placeholders don't know where they're being parsed
the only info they get is the player
We want player_distance to a npc as such
could be possible, though idk of any placeholder that does that
if you have the NPC's coordinates, you could probably use BukkitPlayer.getLocation().distance(new Location(player.getWorld(), x, y, z)
well, idk if this'll work in js though
Something like this https://i.imgur.com/5VzdmFZ.png
yeah I get that
there's no placeholder doing that at tye moment as far as I know
I gave you a potential working script, though I can't say that it works for sure
Ah well, Ill try it later, Thank you 😄
Is this the entire script? Or do I need to add anything to it?
you need to add the x y z positions
you can use arguments with args[0],args[1] and args[2] if you want to use the same script for multiple NPCs
that way you'll have something like %javascript_<script name>_x,y,z%
if this is your first time using the Javascript expansion, check this:
https://github.com/PlaceholderAPI/Javascript-Expansion/wiki/Your-First-Script#using-your-script
Hello, i have this error : https://pastebin.com/GQCweXbQ
Someone know why ?
Yes but i'm on 1.12
Hello, I cannot install server ecloud on my server, it gives an error. Even though I downloaded a lower version of papi, there is still an error.
||15:09:50] [Server thread/ERROR]: [PlaceholderAPI] Failed to load class files of expansion.
java.util.concurrent.CompletionException: java.lang.UnsupportedClassVersionError: at/helpch/placeholderapi/expansion/server/ServerExpansion has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 60.0||
upgrade to java 17
thank you so much bro 🙏
it is possible to parse offline players in placeholderapi plugin?
Is 1.21 support out?
plus 1, I want to know too, maybe a dev snapshot..
is there a way to find out the longest time survived on a server? so the timer is reset on every death but i only want to display the longest survival time per player
Hello :D im having a problem where i need to get the unformatted number version from placeholders that give me 14k,11k,12k and things like this, im trying to use formatter but the placeholder don't work in my java version, someone knows any substitute?
yes, it's up to the expansion to support it. in most cases things like permissions won't support offline users though
Hello guys, my players can give themselves items by parsing a placeholder in private messages, do you know how I can fix this?
Hi! I’m trying to use PAPI, Skript and TAB together, so I installed the Skript and Player extension for PAPI.
I wanted to convert {player::%player’s uuid%::guild} into a papi variable.
So I tried %skript_player::%player_uuid%::guild%.
But that didnt work and it instead displayed N/Askript_player::%player_uuid%::guild%
Anyone know whats wrong or if I formatted it wrongly?
you can't have %% in there
if skript supports it, you need to use {player_uuid}
and you'd need the player expansion for papi to parse it
@runic harness
Are you using checkitem expansion?
you need to disable the give and remove placeholders from checkitem
it would break any shops you have using it
they are disabled by default as of v2.7.1 https://api.extendedclip.com/expansions/checkitem/versions/checkitem-271/
Hmm, that's annoying 😦
or you could find a way to block all the ways users can parse placeholders
but
prob not gonna happen
2.7.1 was a security update, papi also had one
some info
err, that's not the right announcement
but, good info to have!
I updated from the PAPI ecloud download earlier, but I was still able to give myself
yeah you can
I'll check that tomorrow
how many menus/shops do you have using checkitem give/remove
A lot, all my rankings menu, and even some items configs
yikes
😮💨
if you need help with the vanilla give/clear context lmk
players being able to parse placeholders could be a big issue for things as such. it happens in so many different plugins in so many different ways though
I'll check with my developer. My launch is on the 22nd, and we discovered this during the beta
🫡
i added some words of warning on the checkitem listing on the placeholders list page too
Hello! For the checkitem expansion, is there a way to still get the new (1.20.5+) equivalent of nbtstrings from an item?
Previously we used %checkitem_inhand,nbtstrings:MYTHIC_TYPE=<mythic item name>% to validate the item in hand, but this doesn't seem to work anymore.
does the current version support 1.21?
Any solution when for the %worldguard_region_name% placeholder 2 regions are shown
one the main region and the other the sub region
but I only want the sub region in which the player is located to be shown...
/rg setpriority <sub region> 10
I keep forgetting whether WG's priority check for the highest number or lowest first, but I think it's highest so that should work
if it doesn't, run /rg setpriority <main region> 100
Works perfectly, ty
hasn't been updated for it, no
Ok, thank you!
after updating to 1.21 I get this error https://paste.helpch.at/avuzujuluj.less
Hello o/
How can i mix the "Math" placeholders with the "ParseOther" placeholders?
For example i was trying to do this:
%math_0:0_{parseother_{Username}_{mmocore_level}}%
But it throws a console error
is there way to check if a item is unbreakable or not?
using placeholder? so i can use into deluxe menus
ik you can check for enchants, itemname/lore etc but unbreakable works diff i think!!
left_click_requirement:
requirements:
first:
type: string equals
input: '%checkitem_nbtints:Unbreakable=1%'
output: "no"
deny_commands:
- '[message] &4Unbreakable &8> &fYou already have this item Unbreakable.'
- '[sound] ENTITY_VILLAGER_NO 1 1' ```
Hello? never seen this server so quiet
try adding the "strict" modifier
that doesn't work actually, it shows true for unbreakable and non unbreakable both
/papi parse rexmen %checkitem_nbtints:Unbreakable=1,strict%
if anyone knows about this check/info please let me know...
%checkitem_enchantments:unbreakable=1,inhand:main% assuming you want to check the unbreakable on the main hand
Anyone knows how to do this?
yea in main hand but Unbreakable isn't an enchant its tag and most likely nbt?
you had asked me few days back to use this command /paper dumpitem
yeah then you need to use the nbt check
sounds like me, yeah
minecraft:netherite_pickaxe{Damage:0,Unbreakable:1b}
how do i use this info tho xD
and i think i remember u from Eco discord? u were the only one who helped me there
i might have the answer, but i ll have to check on my files
i m slowly moving away from checkitem and use my own thingie for 1.20.6+
i dont use eco much either
ah no worries, take ur time xD... im gonna release the server on 29th so got some time before i use this
same i was using almost 9 of eco plugins to 0 now...
https://gyazo.com/504c91d1fa9e5697d9dcdda5829c6d68
i d suggest u to use the utils expansion tbh %utils_parseother:[Username]_{math_0:0_{mmocore_level}}%
/papi ecloud download utils
i do still use actions, enchants, jobs and skills
i was using actions but due to issue with core plugin of eco, moved to conditioncal events, its actually better than action
i use ExecutableEvents alongside w actions
try 1 %checkitem_getinfo:mainhand_nbtstrings:Unbreakable=name%
we are trying to return the level now
not a yes/no
i cant test em cause i m on 1.20.6
and checkitem for nbt checks doesnt work
so u do the testing 
It's not working and throwing the message like "%number%"
do /papi parse me %mmmocore_level%
does it return a result
oops wait
normally it should be like %utils_parseother:[Username]_math_0:0_{mmocore_level}%
thats why it added the double %%
also do you use that in deluxemenus or something?
cause i assume that username is an arg in this case
@uncut folio 
I'm using it in the "Conditional Events" plugin
I'm doing a Medieval Roleplaying server and i need to make players check other player stats
well, does Username get pased in conditional events?
cause it needs an actual name of a player
otherwise it will parse it for a user called Username
and does the {arg_1} return a name?
and is there an internal placeholder that returns the value from that? 
- 'message: &aArmadura Total&7&l: &a&l%utils_parseother:{arg_1}_math_0:0_{mmocore_level}%'```
oh sorry sorry, checking right now
You get the idea?
%utils_parseother:[{arg_1}]_math_0:0_{mmocore_level}%
💀
the item is in your main hand right?
yea
Why the [{arg_1}] ?
cause parseother requires the username to be inside []
Btw why this placeholder Frozes my server every time i use it?
%parseother_{arg_1}_{player_online}%```
utils*
no idea
Dies in 14tps
can you try %checkitem_getinfo:mainhand_nbtstrings:t% or %checkitem_getinfo:mainhand_nbtstrings:
i want to see what it will return
oke try %checkitem_getinfo:mainhand_nbtints:%
same
yea but we can try as enchantment too i guess
let me see
nope. shows no for both unbreakable n non unbreakable items
%checkitem_enchantments:unbreakable=1,inhand:main%
one thing tho when i use cmi's /itemnbt command
1st is non unbreakable item
2nd is unbreakable
i will boot up my test server later
kk ty
Don't do that, just do this instead
%utils_parseother:[{arg_1}]_player_online%
Very easy
how do u obtain that specific item w the unbrekable btw
I have a placeholder parsing a decreasing number from 10 to 0 with decimal values between each number. I would like to display decimal value only for when the placeholder value is betwee, 1 and 0. Is that possible with the math expansion only?
Like i would like it to do this: 10 9 8 7 6 5 4 3 2 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0
Would anyone know how I could edit this JS placeholder to allow me to read the {arg} placeholder from DM within a PAPI placeholder
%javascript_<script>_{arg}%
you don't need to change the script, it should already work
It's giving me a hard time
One sec
I'm trying to do this:
rgb: '%javascript_rgbtohex_servervariables_value_otherplayer_{arg}:profile_background_color%'
What it's supposed to do is use the {arg}'s value of the servervariable, and the placeholder parses correcly if I replace {arg} with the actual player's name
https://paste.helpch.at/vosiwifero.swift
This is the error that placeholder gives now
Also tang shouldn't this work? For some reason, it does not
%utils_parseother:[{arg}]_javascript_rgbtohex_servervariables_value_profile_background_color%
%utils_parseother:[{arg}]_javascript_rgbtohex_{servervariables_value_profile_background_color}%
or %javascript_rgbtohex_{servervariables_value_otherplayer_{arg}:profile_background_color}%
I don't think it needs {} because the script already adds the %s
var input = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + args[0] + "%");
Maybe it shouldn't?
or maybe DM just doesn't parses arguments in rgb for some reason, nvm it does
Ignore the mess, the item is background_normal that doesn't work
background_edit works fine but it's just parsing my placeholder so
I don't see {arg} in the placeholder
[{deluxemenus_meta_PROFILE-ARG_STRING_0}] is just {arg}
I was testing if {arg} was just being weird
parseplaceholder instead of parseother
Like %utils_parseplaceholder:{arg}_javascript_rgbtohex_servervariables_value_profile_background_color%?
yes
and just in case, run /papi parse <player> %servervariables_value_profile_background_color% to make sure the placeholder actually works
If so, the menu opens, but it just parses my color
you need the [] around {arg}
send the error
issue with the script
RIP
idk why it doesn't find BukkitPlayer
oh yeah
player is offline
so BukkitPlayer doesn't exist
then it broke for some reason
Well that's no good
can you run this?
It parses as 501263 for me and FFFFFF for my alt
now /papi parse me %javascript_rgbtohex_servervariables_value_otherplayer_PLAYER NAME:profile_background_color%
255, 255, 255
now use %javascript_rgbtohex_servervariables_value_otherplayer_{arg}:profile_background_color% in your menu, in item's display name for example
and send the menu again after that
send the error
right
what's your DM version?
there's a parse_placeholders_after_arguments option now which is set to true by default
1.14.1-DEV-179
Do I want it to be false?
if you want the argument to be parsed before the placeholder, yes
otherwise {arg} won't work in the script
menu
on the item or GUI?
So like this? Or did I missunderstand lol
menu_title: '................ {arg}'
parse_placeholders_after_arguments: false
open_command: profile
args:
- arg
register_command: true```
yeah
The item is still named Script error, rip
send the error
wot
parse_placeholders_after_arguments is in dev version 180s changelog
right
So if I update it should work? hopefully? lol
yeah
Thank you very much for the help I've been going crazy 🥲
my brain isn't working correctly rn
all good I really appreciate it
I'm watching a MatPat video about FNAF lore, that's why
😭
Hey anyone here know why when i download the server expansion with ecloud and try to reload it doesn't reload?
?papi-dump
@midnight eagle 
It failed to post dump details
right, seems like you have a couple firewall issues probably
which is fine
you can download it manually from the ecloud instead

Okay thanks
Is it because im using 1.8?
And if it is, is it possible to just use an older version, since i have had it work before on 1.8
Yea was because i was using 1.8 :/
from /unbreakable command or u can use vanilla command both same i think
and can this help? https://jd.papermc.io/paper/1.20.4/org/bukkit/inventory/meta/ItemMeta.html#isUnbreakable()
Kqliber
Where is that guy
i need guy to update changeoutput placeholder
so badly
whats wrong w it
/papi parse jokbon %changeoutput_ignorecolor_input:{faction_name}_matcher:faction_name_ifmatch:*_else:{faction_name}%
If {faction_name} placeholder displays "faction_name" Write *
If not display the {faction_name} placeholder...
.
Thats my idea but it doesnt work
hmm
(maybe im doing it wrong brb)
/papi parse jokbon %changeoutput_ignorecolor_input:{faction_power}_matcher:faction_ifmatch:matched_else:{faction_name}%
🤣
/papi ecloud download Ascii
/papi reload
/papi parse me %changeoutput_equals_input:{faction_name}_matcher:{ascii_123}faction_name{ascii_125}_ifmatch:*_else:{faction_name}%
i think i know why
changeoutput changes output on velocity globaly
i see
let me fix that and try again
basicaly it got replaced everywhere for some reason
my opinion
i use proxy bridge
so it put it to velocity
and it breaks it for every server
my opinion
let me test first ill give ansver if theory is valid
well yeah, if your proxy bridge plugin request the placeholder from the backend for all players across the proxy, it'll obviously parse it for each player on their respective servers
haha
nvm its not happening
i dont have changeoutput in velocity
it just doesnt work for some reason
where are you using the placeholder
which plugin
and on which server is it?
and what is it showing currently?
interestingly using change output just on chat (just by testing)
replaced placeholders globaly in velocity
its more cursed than i thought
unles its a plugin conflict
.
nvm
i see i cant use change output
i gues ill ask for dummy placeholder plugin
will v2.11.6 work fine with 1.21 or is it unpredictable?
[20:48:53 WARN]: [PlaceholderAPI] Cannot load expansion votingplugin due to an unknown issue.``` why like that?
update player expansion
are there any builds i can use for 1.21?
Hello in chat i have a %supremetags_tag% suffix so im wondering how to remove that can anybody help me out with that?
does anyone have in their plans to update the checkitem expansion for 1.20.6+
so u can properly detect the components
Im trying to use the %parsenear_player_name% placeholder to target the nearest player to an object thats been placed, but its only returning the nearest player to the player that placed it. Example; PlayerA places command item, and PlayerB is targeted by the command. I already tried to use the %player_name% placeholder on its own, but since the console is the one running the command it pulls EVERY player instead. Is there a way for me to target a single player in this fashion?
I don't think there's a placeholder for that.... yet
I could try to add a parsenear placeholder to my Utils expansion, though I'm not home for the weekend so won't be able to look into it until next week
That sounds awesome, take your time for sure! I can manage to deal with it targeting all players for now 🙂 its only annoying to the ops since our fly speed gets lowered quite often by this command(we allow players to fly if they're wearing a custom unicorn horn, cheesy right?).
?help
%spark_tps_1m% stopped working today? anyone else?
all spark placeholders it seems.
nvm
purpur failed to install spark on launch.
[13:01:26] [ServerMain/ERROR]: [SparkProviderSource] Purpur: Failed to download and install spark plugin
java.net.SocketTimeoutException: Read timed out
at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:278) ~[?:?]
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:304) ~[?:?]
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:346) ~[?:?]
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:796) ~[?:?]
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:1099) ~[?:?]
at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:489) ~[?:?]
at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:483) ~[?:?]
at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70) ~[?:?]
at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1461) ~[?:?]
at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:1066) ~[?:?]
at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:291) ~[?:?]
at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:347) ~[?:?]
at java.base/java.io.BufferedInputStream.implRead(BufferedInputStream.java:420) ~[?:?]
at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:399) ~[?:?]
at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:827) ~[?:?]
at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:759) ~[?:?]
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1690) ~[?:?]
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1599) ~[?:?]
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:223) ~[?:?]
at io.papermc.paper.plugin.provider.source.SparkProviderSource.prepareContext(SparkProviderSource.java:67) ~[purpur-1.20.6.jar:1.20.6-2228-7708a4c]
at io.papermc.paper.plugin.provider.source.SparkProviderSource.prepareContext(SparkProviderSource.java:22) ~[purpur-1.20.6.jar:1.20.6-2228-7708a4c]
at io.papermc.paper.plugin.util.EntrypointUtil.registerProvidersFromSource(EntrypointUtil.java:14) ~[purpur-1.20.6.jar:1.20.6-2228-7708a4c]
at io.papermc.paper.plugin.PluginInitializerManager.load(PluginInitializerManager.java:115) ~[purpur-1.20.6.jar:1.20.6-2228-7708a4c]
at net.minecraft.server.Main.main(Main.java:128) ~[purpur-1.20.6.jar:1.20.6-2228-7708a4c]
at org.bukkit.craftbukkit.Main.main(Main.java:336) ~[purpur-1.20.6.jar:1.20.6-2228-7708a4c]
at io.papermc.paperclip.Paperclip.lambda$main$0(Paperclip.java:42) ~[app:?]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
https://www.spigotmc.org/resources/placeholderapi.6245/
Support waterfall or flamecore minecraft 1.21 ?
supports spigot only
@sharp bloom #ecloud-updates message


🫡
i can only find PlaceholderAPI 1.20.6 ist there 1.21 out yet?
Hey there,
Is there a way to improve my way of giving an item with random enchantments? When the random placeholder outputs 0, Minecraft code still applies the 0 as an attribute on the item: Unbreaking enchantment.level.0.
the command I'm using:
minecraft:give %player% leather_boots{display:Enchantments:[{id:"minecraft:protection",lvl:%randomnumber_value_0_5%s},{id:"minecraft:fire_protection",lvl:%randomnumber_value_0_5%s},{id:"minecraft:feather_falling",lvl:%randomnumber_value_0_5%s},{id:"minecraft:blast_protection",lvl:%randomnumber_value_0_5%s},{id:"minecraft:projectile_protection",lvl:%randomnumber_value_0_5%s},{id:"minecraft:thorns",lvl:%randomnumber_value_0_4%s},{id:"minecraft:depth_strider",lvl:%randomnumber_value_0_4%s},{id:"minecraft:frost_walker",lvl:%randomnumber_value_0_3%s},{id:"minecraft:unbreaking",lvl:%randomnumber_value_0_4%s},{id:"minecraft:mending",lvl:%randomnumber_value_0_1%s},{id:"minecraft:soul_speed",lvl:%randomnumber_value_0_4%s}]} 1
Is there a better way to handle this, so that enchantments with a level of 0 are not applied to the item?
Have you tested the latest release of papi on 1.21?
Hi, anyone knows why %bungee_total% (Bungee expansion) might duplicate the connected users when they rejoin? There might be a bad configuration involved?
the expansion itself is weird and either returns double, 0 or half the player count. Best bet is to use %math_0_{bungee_total}/2%
i m pretty sure the pr that glare did adds official support for it, just waiting piggy to merge it https://github.com/PlaceholderAPI/PlaceholderAPI/pull/1067/commits/907ced6d7df8fb59a3a4aa2960c758be836ed9fe
I did 'Your rank is %luckperms-prefix%'
And it doesnt show the rank
For deluxe menus
@idle coral
sorry
@sharp jay
Ping again and you will be muted
Bro you just gonna say that no help :/
Sorry
you ping = you get ignored
do you have LuckPerms expansion installed?
/papi reload```
Yup
proceeds to ping another person...
:/
🙁 never ping anyone if you need help faster
Sowy
https://helpch.at/papi check the list of placeholders
should be %luckperms_prefix%
lol
Laughing at me = correction after school
I sent steve head because it should be the players head but it doesn't show players head it shows default head
material: PLAYER_HEAD skull_owner: "%player%" # Ensure placeholder %player% is used correctly
firstly, make changes in the placeholder and then send new screenshot
What placeholders for them though
did you check the wiki link? sent by gabytm
No :]
I will now
Where do I go on the placeholder website theres like 6000 opinions
Hey no matter how many times I download and reload the plugin, the placeholders just dont work
when i do /papi reload in the server, it doesnt even give any result
Yeah i got that issue
placeholders randomly get deleted after restart
the first one listed here https://luckperms.net/wiki/Placeholders#placeholders
If its for ur user to be there its %player_name% not %player%
Thats only one I know lol I got same issue tho
kk
they take like 15 minutes to appear
after restart
maybe because we have like 50,000 unique players registered in server
and 6 expansions
DAMN
Bro owns hypixel 💀
no
Ok luckperms works
Now its zvoteparty
:/
after restart PAPI uses like all the cpu while the expansions load
for like 10 minutes
im still waiting for you to reply tanguygab's question
What question?
Answered it
What to do?, download /papi ecloud download Player, later write /papi reload, and it just won't reboot.
java 16
Generated: June 22, 2024 at 9:48:06 PM UTC
PlaceholderAPI: 2.11.6
Expansions Registered:
cmi [Author: [Zrips], Version: 9.7.4.0]
cmil [Author: [Zrips], Version: 1.5.0.2]
Expansions Directory:
Expansion-luckperms.jar
Expansion-math.jar
Expansion-player.jar
Expansion-server.jar
Expansion-statistic.jar
Expansion-vault.jar
Javascript-Expansion-2.1.2 (2).jar
Server Info: 1.16.5-R0.1-SNAPSHOT/git-Paper-790 (MC: 1.16.5)
Java Version: 16.0.2
Plugin Info:
CMI [Authors: [Zrips], Version: 9.7.4.0]
CMILib [Authors: [Zrips], Version: 1.5.0.2]
PlaceholderAPI [Authors: [HelpChat], Version: 2.11.6]
PlugManX [Authors: [rylinaux, Entity303], Version: 2.4.0]
Vault [Authors: [cereal, Sleaker, mung3r], Version: 1.7.3-b131]```
?startuplog
Hi it is possible to do something like this: '%bungee_<adventure>%+%bungee_<towny>%/100' ?
I'm trying to show online players from 2 servers in a single value, which amounts to adding both values.
I don't know what is this placeholder. i tried /papi parse me %player_first_played%
and it shows: 1644706586317
menu_title: '&8Market Trading Options'
update_interval: 1
open_command: buyMenu
register_command: true
size: 27
open_requirement:
requirements:
permission:
type: has permission
permission: dynamicmarket.menu
deny_commands:
- '[message] '
- '[message] &7You have to atleast have 𗋸D&lWanderer&7 rank'
- '[message] &7to access this feature.'
- '[message] '
args:
- item
- lastmenu
items:
'11':
update: true
display_name: '&f&#dbdbdb&l%javascript_itemNameParser_{item}%'
material: 'placeholder-%string_uppercase_{item}%'
slot: 11
lore:
- "
d116✦ Buy for: &#ffbf00%DMBuyPrice_{item},1%₵"
- "&#cf1717✦ Sell for: &#ffbf00%DMSellPrice_{item},1%₵"
- ''
- '&8⏵ &7Left click to buy'
- '&8⏵&7 Right click to sell'
- '{item}'
- '&f%DMSellPrice_{item},1%'
- '&f%DMSellPrice_cobblestone,1%'
Using menus from my old server which was on 1.20.2, to 1.21 and now the args dont get parsed before the placeholder gets requested
for example
- '{item}'
that comes out correctly, for example cobblestone while
'placeholder-%string_uppercase_{item}%'
this comes out to just {ITEM}
Did you figure out how?
parse_placeholders_after_arguments Does it
https://github.com/HelpChat/DeluxeMenus/issues/78
I dont get the argument of making this change just to hinder peoples ability to use the placeholders wrong, args in placeholders for me just creates an opportunity to create reusable menus, dont see why that should be hidden behind a setting because some people choose to use placeholders wrong
Or am i missing something
р
Could not find artifact me.clip:placeholderapi:pom:2.10.9 in papermc-repo
I can't download the library
hi again, is it possible to do this?
math expansion might do the trick
but im not sure how
try this thing %math_0_{bungee_<servername>}+{bungee_<servername>}%
/papi reload```
i literally dont know how to use this thing, i just indexed it 😅
🙂 👍
We decided it is better to be an opt-in feature to avoid any problems
There’s situations where this setting needs to be true and false, so having it as a setting is necessary
It just doesn’t have documentation yet im guessing because it’s a dev build
help me
Hi, I'm just here to ask one question. Is placeholder api and text placeholder api the same thing?
help me in this
I'm not familiar with Text Placeholder API, but it looks like a fabric mod with a similar purpose, but works differenty
PlaceholderAPI is for Paper/Spigot servers
Okay, thanks. I wasn't sure because I've only seen Text Placeholder API, and assumed it was different. However, the url is : https://modrinth.com/mod/placeholder-api , so I just decided to ask.
Anyways, are there any dev builds available for 1.21?
Yeah that's a different placeholderAPI to the one from helpchat
ah, thank you thank you. 🙏
Guys someone can help me in this?
https://mcpaste.io/5d643babb0488ca3
@tender vapor
Ok, Sorry.
provide me info about ur issue, and be patient
i cant say for sure
Just say something, I'll test it, it's okay if it doesn't work, hope is the last thing to die
mohist has never been supported, so thatll be at ur discretion
hi! dev builds for 1.21?
mohist seems to be dangerous ngl
the dump
help
zip file closed (expansion file: /home/container/plugins/PlaceholderAPI/expansions/Expansion-server.jar)
idk
Hey!
I am using PremiumVanish on my server, and the Server extension doesn't seem to care about vanished staff.
There is a moderator that is currently vanished, however %server_online% still counts them in.
In older versions of PlaceholderAPI (or PremiumVanish), it did not happen - is there any way I can fix it?
Thanks.
I'd send a screenshot as well, but I do not have permission to do it
%premiumvanish_isvanished%
%premiumvanish_vanishedplayers%
%premiumvanish_playercount%
%premiumvanish_playercountwithoutshowintab%
%premiumvanish_bungeeplayercount%
%premiumvanish_bungeeplayercount@<server>%
%premiumvanish_target%
%premiumvanish_uselevel%
%premiumvanish_seelevel%```
use the placeholders provided by premiumvanish
hello placeholderapi
/papi reload an error when I reload it, I can only see it from the console
:((((((((((
use java 17 or higher
hey a silly question, for %playtime_hour%, will Statistic expansion work?
I don't think it does...
@sharp jay
As a plugin author creating an internal expansion, do I need to be wary of server owners using older/newer versions of papi than what I compile against? What is the recommended way to handle this?
i want to choose one of the online players like player_1 or player_2 but i couldnt find the placeholder for it
Does anyone know what the variable is to place the number of hours played by each person in a hologram? Example: make a top 5 hours played on the server
%statistic_time_played:hours% or somthing like that
no, I meant like will the specific placeholder that I mentioned, will that work if i hv statistic?
Hello! 1.21 a thing yet? 🙂
no. %playtime_hour% would be from the playtime plugin/expansion
%statistic_ placeholders are from the statistic expansion
why is /papi parse me %health% return "%health%" instead of an integer?
because %health% isn't a placeholder
papi works by having a bunch of different expansions which contain different kinds of placeholders
Oh true, well the underlying problem was its not parsing with tab plugin
if you wanted to get the health of a player, you'd want to use the player expansion
which has the placeholder %player_health%
soo I'm using TAB, I've got a serious question, for some reason Citizens is just giving me issues since <Player cannot be null> but what I'm using doesn't really require a player, is there some way to fix <Player cannot be null>? Picture of the issue I'm facing: https://imgur.com/a/pmA3f4u
What I'm trying to do: %tab_placeholder_animation:RandomAnimationHere%
I created my own extension and now I would like to upload it to ecloud. The website says I need to use discord to get in touch with you because I cannot create an account.
hey
guys
I need some help
When i try to download any expansion from ecloud it says unable to find.
Heya
make sure the capitalization is correct
So im using deluxemenus
and
the placeholders dont work
Its really simple
I have '[console] eco give %player% 100'
as a left click command
however for some reason
it says "%player% is not online!"
i have papi and deluxemenus hooked with eachother and no errors appear
lol
wish i could post images
i wish they will fix it soon
fr
anyways
this issue is killing me
two plugins from the same devs and they have issues with one another 😭
@idle coral could you help :) Im pretty sure its a simple sign issue
oh i didnt read the rules
💀
yeah?
do you have /coinshop deluxe menu ??
wdym
I had a default one before now i can't find it i was trying to configure it
Im making a menu for custom items
no i dont either lol
uff
is there a placeholder that returns the number of ender pearls shoted? I can not find
is there placeholder for statistic blocks placed?
afaik, Statistic expansion doesnt have this
you can use the Statz expansion though
%statz_blocks_placed% %statz_blocks_placed_<block_ID:data>% %statz_blocks_placed_<block_name>%
/papi reload```
yes
it says 1.16 will it work on 1.20.4
worth a try 🙂
i have to put that file in placeholder expansions right?
to install it manually 👆
OR
you can simply run these papi commands (automatic process)
/papi reload```
there is not thing like that
i cant do /papi ecloud download Statz
and i downloaded that expansion and put it in expansions folder but didnt worked
any other methods?
alr
or install the latest version of papi
ok
just in case if you're using older version
oh nvm its the same
im using 2.11.6
?paste
@manic badge https://paste.helpch.at/edeponemew.makefile
i need to go, wait for someone else's reply
k:/
can someone help me
[Progress] Couldn't get the number from bungee. The progress will be 0%.
%progress_bar_bungee_parkour_r:&f■_p:&#ffa100&l■%
what does it return in console when you run the command
hi! dev builds for 1.21?
add {} around bungee_parkour
PlaceholderAPI should already work on 1.21 I believe
https://imgur.com/a/EM9nTfa help please
do you have placeholderapi installed?
is there a placeholder for showing how many players are in specified region?
and also which region is player at
are you game dev?
ayway, in order t o this, you need to track the player's location and count players within each region.
is there placeholder for that
doesn't look like it, no
i would think that %worlguard_region_name% would do this
ah, idk how to use skript so
ok
hey i was wondering if someone could help me figure out why my plugin requires PlaceholderAPI instead of soft depending on it even though thats what i chose
# This sets PlaceholderAPI as an optional dependency for your plugin.
softdepend: [PlaceholderAPI]
help would be very much appreciated
If by "requires" you mean it throws an error when you use the api, that's normal, you need to check that papi is installed before using its api
e.g. if (PluginManager#isEnabled("PlaceholderAPI")) new MyExpansion().register()
@crystal falcon
Hello i have installed some plugins, i installed the expansions but placeholderapi wont reload. ive had this issue many times. Also on different servers and this one is just made a few hours ago.
hi! i want to set gilds name, max player and online player on my scoreboard how can i do that?
Is it that simple? Nothing else?
What about when I replace the text
im not trying to register my own expansions in it, im just trying to add basic support for what it already has.
You still need to check whether papi is enabled before using any of its api
this is how im currently doing it
String withPAPISet = main.isPlaceholderAPIPresent() ? PlaceholderAPI.setPlaceholders((OfflinePlayer) sender, noPermission) : noPermission;
That works, but it is better to have a method that does that and you just call it with the player & text arguments
void setPlaceholders(player, text) {
// if papi is enabled, set the placeholders
// else return 'text'
}
thanks i'll add this
~~Hello, I want to ask, how is it possible to put your own value instead of "yes/no" in the %player_online% placeholder?
- I’m new here and don’t know where to ask about this, so if I’m on the wrong channel, direct me where I need it 🥺~~
- Resolved here: #1187784499052945539 Thank
<3
sup, is coloring placeholders possible? lets say i have coinsenigne_balance_coins placeholder and i want it green, im using & tags but it is not working somehow?
20:06:29 WARN]: [PlaceholderAPI] Failed to download expansion information
java.net.UnknownHostException: api.extendedclip.com
at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:572) ~[?:?]
at java.net.Socket.connect(Socket.java:633) ~[?:?]
at java.net.Socket.connect(Socket.java:583) ~[?:?]
at sun.net.NetworkClient.doConnect(NetworkClient.java:183) ~[?:?]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:533) ~[?:?]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:638) ~[?:?]
at sun.net.www.http.HttpClient.<init>(HttpClient.java:281) ~[?:?]
at sun.net.www.http.HttpClient.New(HttpClient.java:386) ~[?:?]
at sun.net.www.http.HttpClient.New(HttpClient.java:408) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1687) ~[?:?]
anyone know how to fix
Hi can someone help i paste a command (ctg force %player_name% add /cpm setskin -f %player% UwsBAQQxMGdpdDpyYWluYm93Ym9paS9kZTg1N2YzY2VhOWMyYmZjNmM2ODJjNmYwY2YxNGFlNAAAEGw=) with 2 placeholders and after restart my server it automatically changes to another plaaceholder
Directly %player% to one more %player_name%
hi, i have 1.8 server ¿how to fix this?
[PlaceholderAPI] failed to load class files of expansions
java.util.concurrent.CompletionException: java.lang.UnsupportedClassVersionError: at/helpch/placeholderapi/expansion/server/ServerExpansion has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) ~[?:1.8.0_312]
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) ~[?:1.8.0_312]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1606) ~[?:1.8.0_312]
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596) ~[?:1.8.0_312]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_312]
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_312]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) ~[?:1.8.0_312]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175) ~[?:1.8.0_312]
Caused by: java.lang.UnsupportedClassVersionError: at/helpch/placeholderapi/expansion/server/ServerExpansion has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_312]
at java.lang.ClassLoader.defineClass(ClassLoader.java:756) ~[?:1.8.0_312]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_312]
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473) ~[?:1.8.0_312]
at java.net.URLClassLoader.access$100(URLClassLoader.java:74) ~[?:1.8.0_312]
at java.net.URLClassLoader$1.run(URLClassLoader.java:369) ~[?:1.8.0_312]
at java.net.URLClassLoader$1.run(URLClassLoader.java:363) ~[?:1.8.0_312]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_312]
at java.net.URLClassLoader.findClass(URLClassLoader.java:362) ~[?:1.8.0_312]
at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_312]
at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_312]
at me.clip.placeholderapi.util.FileUtil.findClass(FileUtil.java:62) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:388) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604) ~[?:1.8.0_312]
... 5 more
maybe you can try using an older version (I guess older versions may be built with Java 8)
you need java 17
Guys, all placeholders are in the same way for all. Aren't working any
https://prnt.sc/ZAntnMza4lj7
PlaceholderAPI uses %%, not {}
first place, this plugin use this way, are venturechat, but like that using parse:
https://prnt.sc/cIWnar8FMI2b
/papi ecloud download Vault
/papi reload
I know, was working before. Just broke, out of the blue. https://cdn.discordapp.com/attachments/729892279183212574/1256147581269053521/Minecraft__1.20.2_-_Multiplayer_3rd-party_Server_2024-06-28_04-18-51.mp4?ex=667fb619&is=667e6499&hm=e818f175bd4532f035f600a61eca373a6bdb32d1c27865ffe66f3900219998b4&
My server is running a long time already, was normally working before.
send the errors
I used the GPT, tks. Was the timezone, didn't recognize the Sao_Paulo on config.
isnt this placeholder supposed to be right? %utils_parseother:[{superior_island_leader}]_luckperms_has_permission_group.mystic%
cause it returns me null
i m thinking if it has to do with ss2 or luckperms being connected to a database
and mby utils doenst get the time to get the info :/ ?
idk
parseplaceholder
when did that changed?
a few months ago
I think they want to parse for another player, not parse a placeholder
i wasnt aware of it 💀
i m parsing a placeholder for another player
he literally is using a placeholder for the player name
that will do the work
does that mean i will have to change my placeholders in deluxemenus?
that uses the arguments?
{username}
not arguments
because those should be parsed first, unless you update to new DeluxeMenus dev builds and forget to toggle the parsing order of placeholders and arguments
So I can an issue
Im trying to implement the deluxetags
so I added the following format in essentials
format: '{deluxetags_identifier}{PREFIX}&r{NICKNAME} &8» &r{MESSAGE}'
I also tried {deluxetags_tags}
but ingame when u type it shows the {deluxetags_tags} like this and then the rank and name properly
use the proper channel, #general-plugins or #1007620980627230730
afaik this has nothing to do with papi
Is there a way to reset a Placeholder?
Hey, do you guys know any placeholder that returns the player name but in small text?
I know it exists, it just...vanished lmao =))
delete the file which holds playerdata
probably you're looking for a formatter
Well, do you know where I can find that maybe?
Okay, I will try ! Thanks in advance :D
👍
is support for 1.21 out yet?
if its regarding the statistic expansion, its in the world folder
💀
me who paid for an expansion that does this: 🧍♂️
tan, this is probably the first time the placeholders you did for deluxemenus r being used %utils_parseplaceholder:[{superior_island_leader}]_deluxemenus_opened_menu% 🫡
imma make some great stuff w em, thanks for adding em 
idk, it's been months since I added this placeholder
they aint in the wiki yet
and it technically is the old parseother, just renamed
parseother now takes a direct player name, not parsing placeholders
i m talking about the %deluxemenus_opened_menu% 
still, very helpful
yeah
i wont have people from the same island conflict w the other team members
open_requirement:
requirements:
not_open_by_leader:
type: '!string equals'
input: '%utils_parseplaceholder:[{superior_island_leader}]_deluxemenus_opened_menu%'
output: 'island_upgrades_generators'
not_open_by_member_1:
type: '!string equals'
input: '%utils_parseplaceholder:[{superior_island_leader}]_island_member_1%'
output: 'island_upgrades_generators'
not_open_by_member_2:
type: '!string equals'
input: '%utils_parseplaceholder:[{superior_island_leader}]_island_member_2%'
output: 'island_upgrades_generators'
not_open_by_member_3:
type: '!string equals'
input: '%utils_parseplaceholder:[{superior_island_leader}]_island_member_3%'
output: 'island_upgrades_generators'
not_open_by_member_4:
type: '!string equals'
input: '%utils_parseplaceholder:[{superior_island_leader}]_island_member_4%'
output: 'island_upgrades_generators'
not_open_by_member_5:
type: '!string equals'
input: '%utils_parseplaceholder:[{superior_island_leader}]_island_member_5%'
output: 'island_upgrades_generators'
deny_commands:
- '[message] %gradient2_style:bold,&#ed7d21,&#fdc99f2,Skyblock% &8» &7Another team member has this menu opened.'
- '[sound] BLOCK_NOTE_BLOCK_BASS'

that solves a lot the problem w the update of placeholders
in lore for example
wait a sec
i just noticed its wrong 💀
i only check for the leader
and tf is the 1-5 lol
I also use it, but it's not the only one I have. Also, I tried deleting the playerdata folder, but it didn't work only one
is there any placeholders to get the player's armors?
🥲 tbh, i just indexed it in tanguy's server
how do i get an item that i can right click to open a gui, (that i always spawn with and cant move, if that also possible)
which plugin are you referring to? if thats deluxemenus, its not possible to have items in your inventory. and use the correct channels next time #general-plugins or #1007620980627230730 🙂
oh im sorry put it in the wrong channel 😦
🤝
use the correct channel, and never crosspost
Hello
How can I make an EssentialX placeholder display on a velocity server? I`m using TAB and I'm trying to make it display AFK status, but I'm not sure how to make it work
you need tab-bridged afaik
I do use tab-bridge with no luck
on all your servers:
install PlaceholderAPI if you don't already have it
run those 2 commands:
/papi ecloud download Essentials
/papi reload
in your TAB config.yml & groups.yml on Velocity:
https://github.com/NEZNAMY/TAB/wiki/Mini-guides-collection#displaying-afk-status-in-tablist
Hi, one question: How can i evaluate a placeholder api placeholder like %player_name% inside a javascript expression which will be evaluated with nashorn engine?
Is there a placeholder for harvested potato's?
Hi! My %vault_eco_balance% placeholder is showing the decimals with the "," Can I change it to the "." ?
try %statistic_break_item:POTATO%
/papi reload```
this just remove the decimal part and only shows the integer part of the number
oh wait, im sorry didnt read it carefully
are you using essxeconomy btw?
yeah, but this have the correctly format, so when I use a command like the /eco give, it shows the amount of money with the "."
it only happen on the placeholder output
i have no idea how to use the formatter expansion, but lets give it a try 😅
/papi ecloud download Formatter
/papi reload
%formatter_text_replace_._,_%vault_eco_balance%%
actually worked, ty!
🙂 👍
Hello, am trying to set %player_name% placeholder but is says not online, and I see the name is correct becose it is me, there is something else to do?
Give an item whit ei plugin, and returns my name correctly but it's says is not online
read this
@native ivy your issue comes from executableitems and has nothing to do with PAPI
i recommend you to send a new message in #general-plugins explaining what is happening
maybe, becose i just tryed whit another plugin using the same placeholder and returns the same messege
hey is it possible to parse anything of offline players by uuid? like %player_is_whitelisted% or atleast able to parse something on serverA while player is on serverB (bungeecord)
how would i fix this im not very good with the math expressions
30.06 19:32:38 [Server] WARN [PlaceholderAPI] [math] Cause: 12.5+({jobsr is not a valid integer number.
30.06 19:32:38 [Server] WARN [PlaceholderAPI] [math] Placeholder: %math_12.5+({jobsr_user_jlevel_miner}*0.03)%
30.06 19:32:38 [Server] WARN [PlaceholderAPI] [math] Invalid Placeholder detected!
they must of had an update from the last time i used the placeholder
any help appreciated not very good with math expressions
- '&fWooden Sword &8&l▪ &a$%math_1:+({jobsr_user_jlevel_blacksmith}*0.03)% &b1pts &61exp' - '&fIron Sword &8&l▪ &a$%math_2:+({jobsr_user_jlevel_blacksmith}*0.03)% &b2pts &62exp' - '&fGolden Sword &8&l▪ &a$%math_3:+({jobsr_user_jlevel_blacksmith}*0.03)% &b3pts &63exp' - '&fDiamond Sword &8&l▪ &a$%math_4:+({jobsr_user_jlevel_blacksmith}*0.03)% &b4pts &64exp'
parse the jlevel placeholder, if it doesn't return a number then it is probably invalid
30.06 20:28:40 [Server] WARN [PlaceholderAPI] [math] Cause: '16:+(0*0.03)' is not a valid Math expression. 30.06 20:28:40 [Server] WARN [PlaceholderAPI] [math] Placeholder: %math_16:+({jobsr_user_jlevel_blacksmith}*0.03)%
now thats fix but now what is wrong
ive set this stuff up a long time ago so there must of been changes that im unaware of
remove the : after the 16
hey, does anyone know how i can do this:
player.sendMessage("%statistic_time_played%");
player.sendMessage(PlaceholderAPI.setPlaceholders(player, "%statistic_time_played%"));
thanks 🙂
so factionsuuid has a placeholder thats %rel_factionsuuid_faction_relation_color% or something like that
and it doesnt return a color code it returns like the equivalent of ChatColor.RED
how can i use it not as a string but as what it returns
not sure what you mean by that
where are you using it and what do you want to do with it?
do i put permission nodes in the config folder?
the ess chat place holders do not work
like there is no deluxe_chat: false anymore
Hi, how can I set an owner on a weapon/armor claimed by a player? Like a lore that says: Owner: Username when they receive the custom rank's kit.
I've used ItemEdit and Essentials too, but I haven't found the way to make it work by using the placeholders. I know the option exists cause I've seen it in other servers, but I haven't been able to make it work :c I hope someone can help me
%island_level% not working but the rest fine
dont crosspost + if this is a premium plugin, and you have purchased it, then you need to link your spigot account
oh nvm you did
i just want to fix it nobody can use the gui always an error popping up
hello guys!! how to get in javascript expansion string in gui?
how can i use this for an offlineplayer?
same thing
doesnt work
that's very descriptive
i cant send pics
?imgur
Hey! So I am trying to get time for a specific time zone with proper timezone ID but it just keeps on showing the local time. I am using localtime_timezone_<TimeZoneID> for it. Does anyone know how to fix this issue?
what is the id that you are using?
is there a 1.21 version yet?
Does the plugin work for 1.20.6?
Player has a Quest started and it would track the distance from Player to the NPC using decenthologram
Can someone help me with this? I know its placeholder but i cant figure out which one
Something like this https://i.imgur.com/0RFUvhv.png
the latest version should work. if doesnt, try dev build
282
Anyone?
what ID are you using?
282
Im pretty sure it expects a name like Europe/Bucharest
Hey, when i use a placeholder for a offline player in my Plugin it just says nothing
I Used %luckperms_primary_group_name%
And it just says nothing
Run /lp user (your username) info and send a screenshot
Do you have the LuckPerms expansion installed for PAPI?
yes
Does /papi parse (player) (placeholder) show the correct value or the empty string?
empty
And does /lp user (username) info show the group name?
yes
When the player is online, does this still show a empty string when ran?
Is your server cracked/offline?
yes
I should have been more clear, is it cracked or bungeecord offline?
So it's cracked?
for bedrock players?
Apologies, like is your server set so people who haven't bought Minecraft officially can join or not?
idk, where can i see that?
Your server isn't a bungeecord network currently, correct?
yes
Do you have online-mode set to true or false in the server.properties?
true
Interesting. I wonder if the player data is simply unloaded when leaving - I'll have a play around it when I am home.
okay.
I had a quick nosey of luckperms' config, try enabling vault-unsafe-lookups then restart the server. Let me know if that fixes it.
Do note, it may have a performance impact on the server.
@shadow flare Did the above work?
When using the command /papi ecloud download WorldBorder, it doesn't seem to show WorldBorder as an option. Even though this is a valid command according to the placeholder api wiki.
did you run /papi reload afterwards?
I have tried, but it just isn't an option in the command for the download. Only 'World' and 'WorldGuard' are available, not 'WorldBorder'.
Failed to find an expansion WorldBorder
any errors in console?
nope
try manually installing the expansion
How can I do that?
Then run the /papi reload command.```
source -> https://api.extendedclip.com/expansions/worldborder/
Oh interesting, i've never seen that site.
green download button can be found on the source website 😅
im just using the wiki
👍
nope
perfect that seems to work
thanks, strange how it can't just download from the command?
I don't think so because it doesn't even show an option for the WorldBorder download its not like its just failing to download.
there should be an error in your console
?imgur
alr
I'm not sure then sadly.
no, i mean what happens when you run /papi ecloud download Worldborder? something like unknown command or anything else
oh wait i just found that it isnt verified.
on the ecloud website it says the expansion isnt verified
and not-verified expansions cannot be downloaded using commands
"As this isn't a verified expansion you can only install this expansion manually."
¯_(ツ)_/¯
@sharp bloom sorry to interrupt but dyk where to report this
report wut
unverified expansion but download command exist
not every expansion is available to download directly
if download doenst exist placeholderapi isnt installed 💀
well...not every expansion is verified
Hey just wondering if PlaceHolderAPI works with TextDisplayEntites
Of course it doesn't embed. 
Anyway i can make it?
Is TextDisplayEntites a plugin?
Shrug, lemme try that

it is up to each plugin how it utilises papi
can anyone tell me how can i have different kill, deaths and playtime stats for different multiworlds? i have searched for it for hours but i couldn't find any solutions
afaik, its not possible with the default expansions. you'd want to use other plugins
the normal placeholders just take up all the stats from main world folder
ik but i used different plugins too like statz and multiverse inventories but i couldn't find a solution also asked chatgpt and he was saying dumb shit
custom made plugin 
Is there any newer build than #197 (PlaceholderAPI-2.11.6.jar)? This build isn't working on 1.21.
Have you got an error?
Its most likely an expansion depending on some nms thing
PlaceholderAPI is shown in red in /plugins as if it was not loading at all. I haven't any errors or warnings.
^
My bad. PlaceholderAPI isn't loading at all. Because it isn't at plugin list. Logs are clean.
Is it in the /plugins folder?
Yes
what size is the jar?
I've changed paper version and it's working properly now on: Java-Paper 1.21 build 40. Thank you for your help and the time you dedicated.
All good
Can someone help me, im wanting to use placeholder api to display a placeholder with %MagicAvatar_skin_%player%%, basicallay i want to use a placeholde rin another placeholder.
Which plugin are you wanting to use Placeholders in?
happyhud but also im running the command /papi phrase <my_name> %MagicAvatarskin%player%% and it does not work
Which placeholder? Please put it in backticks. (``text here``)
%MagicAvatar_skin%player%%
so the placeholder %MagicAvatar_skin_player% works where it returns the face of the person running the command but i want it to return the target players face if they are looking at them which will work if i can allow placeholders to return inside a placeholder such as %MagicAvatar_skin%player%%
Try %magicavatar_skin_{player}%
no but how can i use my custom placeholder within the placeholder
How did you make your custom placeholder?
the placeholder is called %target_name%
does not matter, it works normally
just returns the name of the player if they are looking at a player otherwise it returns nothing
It does - depending on where you've made it, it may be plugin specific and not global.
what do you mean by global?
its a custom plugin yes