#placeholder-api
150650 messages · Page 141 of 151
then try redownloading it and /papi reload
uh
what if you try to delete the expansions folder and redownload everything?
idk then
I have a question. Is it possible to make something like nested placeholders like that?
%cooldownbar_{math_{rank_maxPoints}-{rank_points}}_c:{rank_maxPoints}%
/papi ecloud download Utils
/papi reload
%utils_parse_cooldownbar_{math_{rank_maxPoints}-{rank_points}}_c:{rank_maxPoints}%
thx for help
how efficient is utils? if you have a lot of nested placeholders, is it bad?
I have no idea
How can I import the Placeholder as an integer?
@Override
public @Nullable String onPlaceholderRequest(Player player, @NotNull String identifier) {
if (player == null) {
return "";
}
if (identifier.equals("mining_amount")) {
ItemStack heldItem = player.getInventory().getItemInMainHand();
if (heldItem != null) {
int miningAmount = getMiningAmountFromLore(heldItem);
return String.valueOf(miningAmount);
}
return "0";
}
return null;
}
does anyone know any placeholders for current movement speed?
Hi, I’m experiencing an issue with PlaceholderAPI on my Minecraft server. Specifically, the %player_name% placeholder is not being replaced with the player’s name and instead appears as literal text. I have already tried "/papi ecloud download Player" and "/papi reload"
where are you using the placeholder?
in the motd of essentials
Essentials doesn't support PlaceholderAPI
oh ok, thanks
you can use {PLAYER} apparently
I don't have the entire list of Essentials' placeholders because its doc is very straightforward, but at least we've got that
unless you do the right thing and use a better plugin that does actually support PAPI, you'll have to ask Essentials's support for help
okok tysm
I am trying to make a countdown to christmas on a scoreboard using simple score and placeholderapi ofcourse and for some reason the countdown is not working
/papi info server
what's your Server expansion's version?
I know people reported this same error and I think Gaby fixed it, 2.7.3 was released yesterday so if that's not the version you're using, try redownloading the expansion and reloading the plugin
do you know what the correct format would be
like
%server_countdown_dd.MM.yyyy_01.01.2020%
what do you have at the moment?
%server_countdown_yyyyy:MM:dd_2025.11.11%
whats wrong
you're separating your year, month and day by : on the left side, while on the right side you're separating them by .
so you suggest i do %server_countdown_yyyyy:MM:dd_2025:11:11%
okay I will try
that hasn't worked
still says invalid date
is it meant to be a "_" inbetween dd and 2025?
yes
in the console it is giving me error messages for a date I did earlier
like it hasn't updated to the date I just put in
could that mean something?
Why can't I access https://repo.extendedclip.com/content/repositories/placeholderapi/ all of a sudden? When I open it directly, it says Resource not found.
I have no idea
this works for me https://repo.helpch.at/#/releases/me/clip/placeholderapi/
I restarted the server and now it is giving the error message for the updated time but still says invalid date
how do I contact Gaby if you don't know?
he's offline atm but he'll check the channel when he can
okay great thanks
Should I upgrade the version to 2.11.6? Will this have any impact on the use of methods in the old version?
I doubt you'll be missing any old methods
unless you're updating from 2.9.2 or smth and still are extending the old PlaceholderHook class, which you shouldn't do anymore since years ago
That won't be a problem. I used 2.11.2 before, but now I change it to the address you mentioned and still can't download it.
I'm not sure, I'm guessing it's due to the recent issues with the repo, though #announcements says it was partially resolved
Now you can only import locally. I have a suggestion. Before the new warehouse is stable, open the original warehouse first, and then close it after it is stable, otherwise it will be very troublesome.
I see you have 5 ys in there. That might be an issue
Can you try %server_countdown_yyyy:MM:dd_2025:11:11%
Nvm. I see that even after changing that it still breaks.
It seems to dislike the format of the date
I'll look into it
Ok so @real yew the issue seems to be that it requires a time as well. At least the hour.
How would the correct format be
%server_countdown_MM/dd/yyyy HH:mm_11/11/2024 14:00% seems to not error anymore but it looks to me that the countdown just returns an empty string which is still incorrect. I guess I'll have to look into this further
So 14 is 14 hours?
Okay sorry just wanted to make sure I understood
No worries
Have you found the fix yet?
Or does this work fine?
Can you test %server_countdown_dd/MM/yyyy HH:mm_11/11/2024 14:00%
on your server?
it might be just my server that's broken
Okay I will get back to you sorry
That has worked thankyou very much Blitz and Tanguygab
gg Blitz
We could also try to make it accept dates as well and just default to 12:00 PM
hm
If they use the latest version there should be a message in console that suggests to set at least a hour
I tried it with the latest from ecloud
and it didn't
or maybe it got burried by the error
Not sure we should print the error tbh
Having to specify the time as well is the trade for localized time and time zones 🥲
I hate to supress errors tbh. Plus they are gone once you fix the format
Ok I'll test
welp, it seems like I've caught the error in the wrong place xD
@vivid sparrow you like talking to yourself?
reminds me of myself
lmao
Someone has to
is there any placeholder that can return the player count in a worldguard region?
You could use the PlayerList expansion (https://github.com/Tanguygab/PlayerList-PlaceholderAPI-Expansion/wiki) it's a little more complicated to setup than usual expansions that you can just download, but there's an example config that I've just added at the bottom of the page
thanks
java.util.concurrent.CompletionException: zip file closed (expansion file: /home/container/plugins/PlaceholderAPI/expansions/Expansion-luckperms.jar)
at PlaceholderAPI-2.11.6.jar/me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:443) ~[PlaceholderAPI-2.11.6.jar:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?]
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) ~[?:?]
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) ~[?:?]
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) ~[?:?]
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) ~[?:?]
Caused by: java.lang.IllegalStateException: zip file closed
at java.base/java.util.zip.ZipFile.ensureOpen(ZipFile.java:846) ~[?:?]
at java.base/java.util.zip.ZipFile.getEntry(ZipFile.java:338) ~[?:?]
at java.base/java.util.jar.JarFile.getEntry(JarFile.java:516) ~[?:?]
at java.base/java.util.jar.JarFile.getJarEntry(JarFile.java:471) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:209) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:169) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:144) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.entrypoint.classloader.group.SpigotPluginClassLoaderGroup.lookupClass(SpigotPluginClassLoaderGroup.java:43) ~[paper-1.21.1.jar:1.21.1-DEV-c5a1066]
at io.papermc.paper.plugin.entrypoint.classloader.group.SimpleListPluginClassLoaderGroup.getClassByName(SimpleListPluginClassLoaderGroup.java:37) ~[paper-1.21.1.jar:1.21.1-DEV-c5a1066]
at io.papermc.paper.plugin.entrypoint.classloader.group.LockingClassLoaderGroup.getClassByName(LockingClassLoaderGroup.java:34) ~[paper-1.21.1.jar:1.21.1-DEV-c5a1066]
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:187) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:164) ~[paper-mojangapi-1.21.1-R0.1-SNAPSHOT.jar:?]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:580) ~[?:?]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?]
at PlaceholderAPI-2.11.6.jar/me.clip.placeholderapi.util.FileUtil.findClass(FileUtil.java:62) ~[PlaceholderAPI-2.11.6.jar:?]
at PlaceholderAPI-2.11.6.jar/me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:421) ~[PlaceholderAPI-2.11.6.jar:?]
... 7 more```
this has happened again, however, I used /papi ecloud download luckperms, so why has it corrupted again?^
Make sure to type /papi reload to enable your new expansion!
[16:35:54 INFO]: [PlaceholderAPI] Fetching available expansion information...
papi ecloud download vault
[16:35:56 INFO]: Successfully downloaded expansion Vault [1.8.3] to file: Expansion-vault.jar
Make sure to type /papi reload to enable your new expansion!
[16:35:56 INFO]: [PlaceholderAPI] Fetching available expansion information...
papi ecloud download luckperms
[16:35:58 INFO]: Successfully downloaded expansion LuckPerms [5.4-R2] to file: Expansion-luckperms.jar
Make sure to type /papi reload to enable your new expansion!
[16:35:58 INFO]: [PlaceholderAPI] Fetching available expansion information...
papi reload
[16:36:00 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[16:36:00 INFO]: [PlaceholderAPI] Fetching available expansion information...
[16:36:00 INFO]: [PlaceholderAPI] Successfully registered external expansion: luckperms [5.4-R2]
[16:36:00 INFO]: [PlaceholderAPI] Successfully registered external expansion: essentials [1.5.2]
[16:36:00 WARN]: [PlaceholderAPI] Failed to load external expansion luckperms. Identifier is already in use.
[16:36:00 WARN]: [PlaceholderAPI] Cannot load expansion luckperms due to an unknown issue.
[16:36:00 INFO]: [PlaceholderAPI] Successfully registered external expansion: vault [1.8.3]```
I've re-downloaded and then it works, but, on a server restart, it resets them ;/
is there a way to remove the color formatting from a placeholder with placeholderapi?
this is issue I'm running into with ecojob's placeholders
very odd isn't it
Hey is it possible to add Placeholder API in Texture Data?
What?
any idea for this?
hi guys, why is my %bungee_total% papi always breaking ? it was working fine, im restarting my server and it just stops working, restarting again and again, sometimes it starts working again but breaks again. i tried reinstaling the expansion and the placeholderapi plugin but not helping
no err in console and /papi reload does nothing, i just downgraded my server version from 1.21.1 to 1.21 and it work fine rn, imma let yall know after adding my other plugins to server : )
hello, I was wondering if there is an option in the placeholderAPI to create a shorter name for a placeholder. the placeholder I want to use is too long to be able to use.
for example:
original placeholder: %statistic_kill_entity:Bee,Cat,Chicken,Cod,Cow,Donkey,Fox,Horse,Mooshroom,Mule,Ocelot,Parrot,Pig,Rabbit,Salmon,Sheep,Skeleton_horse,Snow_golem,Squid,Strider,Tropical_fish,Turtle,Villager,Wandering_trader%
new placeholder: %passive_mobs_killed%
You could use the javascript expansion to parse it
Hello h0tkinss, It looks like your issue might be replated to this report https://github.com/PlaceholderAPI/PlaceholderAPI/issues/1012
thanks I will give it a try
thats my same problem
I have a strange problem
There was an error when the deluxesmenu was hooked papi
Enabling DeluxeMenus v1.13.3-Release
Error occurred while enabling DeluxeMenus v1.13.3-Release (Is it up to date?)
java.lang.NullPointerException: null
at com.extendedclip.deluxemenus.requirement.JavascriptRequirement.<init>(JavascriptRequirement.java:19) ~[?:?]
at com.extendedclip.deluxemenus.config.DeluxeMenusConfig.getRequirements(DeluxeMenusConfig.java:972) ~[?:?]
at com.extendedclip.deluxemenus.config.DeluxeMenusConfig.loadMenuItems(DeluxeMenusConfig.java:813) ~[?:?]
at com.extendedclip.deluxemenus.config.DeluxeMenusConfig.loadMenu(DeluxeMenusConfig.java:411) ~[?:?]
at com.extendedclip.deluxemenus.config.DeluxeMenusConfig.loadMenuFromFile(DeluxeMenusConfig.java:284) ~[?:?]
at com.extendedclip.deluxemenus.config.DeluxeMenusConfig.loadGUIMenus(DeluxeMenusConfig.java:227) ~[?:?]
at com.extendedclip.deluxemenus.DeluxeMenus.onEnable(DeluxeMenus.java:75) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[JavaPlugin.class:git-CatServer-1.12.2-2bce5d5]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:328) [JavaPluginLoader.class:git-CatServer-1.12.2-2bce5d5]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [SimplePluginManager.class:git-CatServer-1.12.2-2bce5d5]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:436) [CraftServer.class:git-CatServer-1.12.2-2bce5d5]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:384) [CraftServer.class:git-CatServer-1.12.2-2bce5d5]
at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:383) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:329) [nz.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:634) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]
i use ecloud SpeedBuilders, but this doesn't work, is outdate, help me
hey
somebody prob already asked
but is there an placeholderapi version for folia
There are some forks, but nothing officially supported just yet. It is planned.
ahh okay, u prob have no eta for that right?
You would be correct
Can anyone make a placeholder speedbuilders, i will buy it
@mint fable
most likely a visual bug
wtf??? as @balmy marten and @carmine veldt said: the site is now running from BACKUP, the main version will be available when they wait for help from external parties
the above is the answer to your question, this is not a visual bug
how do i make counter that keeps 2 digits of your playtime so
4min
1h
1h 4min
1d
1d 4h
55d 4h
(max is days)
Correct, hopefully @mint fable can re-upload the latest.
I can sell you this in skript
no thanks, and im sure its open source somewhere anyways
Oh... That explains why the extensions returns errors
okay, i'll be using javascript checkitems for now
thx!
Well first, register the placeholder, and then make a couple of branching if statements regarding how long the player has played, here's some pseudocode for example:
if (days > 0) {
if (hours > 0) {
return days + "d " + hours + "h";
} else {
return days + "d";
}
} else if (hours > 0) {
if (minutes > 0) {
return hours + "h " + minutes + "min";
} else {
return hours + "h";
}
} else {
return minutes + "min";
}
I'd say to reinstall papi, this is an error where the dependency "Javascript-Expansion" isn't loaded properly so the plugin disables itself. it personally looks like it's because there's multiple Javascript-Expansion files (judging off of the "(3)" in the name)
I have re-uploaded 2.7.8 with correct version info.
cc: @sharp jay @stoic pecan
Hey, I do have an issue with the JavaScript extention.
When I'm using the following command it works great: /papi parse martijnpu %javascript_ServerPinger%
But when I do not give an player instance, the script isn't run and returns nothing: /papi parse --null %javascript_ServerPinger%
FYI, this is my test-script: javascript function show() { return "Test!"; } show()
Problem is that the plugin showing the placeholder (Citizens) is parsing the placeholders without player references or something, and therefore it can be tested with the --null parse to check the outcome.
(You may ping on reply)
it looks like javascript automatically returns blank if the player is null
@turbid geyser
the evaluate method also requires a player
possible thought: %parseother_{martijnpu}_{javascript_ServerPinger}%
you could use this to parse the js placeholder for your username
and since you exist on the server, it shouldn't take extra time accessing mojang api
will need the parseother expansion
It makes it a strange construction, but I'll try. Thanks for your help!
Hey me and someone else are have made a menu with deluxemenus, we are using another menu plugin to create menus for out bedrock players. We have a button in the menu that sends the bedrock players to their menus but sometimes the button just does not send the player to the menu we are made for the bedrock players.
We understand that deluxemenus tries to execute a command that does not "exist" since if you try to use it in java the command to open the bedrock menu, it will tell you that it does not exist, then for the one in bedrock it does exist, but the java plugin does not know this. This is what we believe to be causing the issue. We are in talks with the other dev as well to see if he knows what the issue is, but thought I would ask here as well.
deluxemenus is not made for bedrock, it is made for java. Henceforth, there is no support for bedrock or geyser (or others)
@wet grove
also just fyi this is #placeholder-api
yo sup
i havve a question about placeholderapi
basically
i wanna know if theres a posibility to get a placeholder for a certain player
for example %patfreak_world% (representing %player_world%)
/papi ecloud download parseother
/papi reload
%parseother_{username}_{placeholder_without_percent_signs}%
keep the {}
i love you
btw is there a way to make a leveling system?
there's probably plugins for that yeah
is there a way to make a if, else function or smthing for that?
like 5000 xp for 1 level
for what?
with a plugin yeah
no thanks
alr
btw is there a way to mark a certain word in green for example if its matching a placeholder?
for example i made a /server command
and when doing /server
it shows the current server
and all the available
servers
is there a way to mark the currect server im in green
like
for example
You are connected to Lobby
Available servers: &aLobby&7, kitpvp, survival etc..
assuming that's a BungeeCord command, it's not possible since PAPI is a Spigot plugin
though since you made the command, you could do it directly within the code
[PlaceholderAPI] Cannot load expansion vault due to an unknown issue, but Vault installed
server version: purpur latest
i need solution for that. Thanks!
send the link you get from /papi dump
thank but i founded solution
what was it?
does anyone know why %statistic_mine_block:<Item Material>% is not working properly, it won't count anything for some reason
I tried it with Diamond_ore, Gold_ore and dirt, but the value stays at 0.
update: I found the issue
im setting up a leaderboard using ajleaderboards and i have all the right plugins installed and /papi ecloud downloaded but when i put in %statistic_player_kills% it just comes up with some lines --- instead of the player names and the stats.
can someone help?
ye
ok
dm
Hey is there way to change format of placeholder? Like the countdown one there is 4w 3d 12h etc.
Instead of weeks i want to add it to "days" So no 5w 3days but 33days
Hello, there is a placeholder that gives the position of the players hotbar? like 0 to 8 and the offhand
anyone knows how to test placeholders with a command?
/papi parse me <command>
/papi parse <player> <command> if u wanna test it for another user
Thank you sir

What does %world_playerexist_<player>_<world>% do?
Does it show if a player was before in a world or is in a world?
If they are in a world.
LastLoginAPI has no download command, but does not seem to work when parsing. Do I need to d ownload somethng anyway or?
hi, i have an issue w/ ur plugin: https://github.com/DiscordSRV/DiscordSRV/issues/1748#issuecomment-2382982108
at first i thought it was discordsrv's bug, but after checking, they said that it was papi bug and suggested "You should remove the prefix from all leave messages to avoid being able to distinguish between real and fake leaves."
The problem here is it (the messages) worked fine in 1.20.4-, but in 1.20.5+ it didnt, idk how and why
it's intended, the player doesn't have any data in PAPI as of the time because the player is offline.
hey im having an issue where my placeholder doesnt seem to get parsed via the command, it works elsewhere (/papi parse casperwtf %wildwoodstats_player_ores_mined_raw_monthly%)
dont you get an error mr casper :/ ?

I get something even stranger
true didnt think of that
rebooting rn but ill show you whats weird
making sure this isnt a paper issue
weird is also that u dont do /papi parse me 💀 and u do your name
y can also try to download the latest dev build of papi
build 200
no I do
I was just making sure it wasnt that
im working off git commit 272e2e7904da739ddca6554160a683a88c5efcc7 which is latest on github master

I cant send images here so im dming you
oh thats gay, one sec
💀
so I added some debugs to find out whats up, I show the command I enter & the output + what im measuring
This server is running Paper version 1.21.1-119-master@7cd4f2c (2024-10-03T15:19:34Z) (Implementing API version 1.21.1-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21.1-99-1bc02e6 (MC: 1.21.1)
absolutely no idea why the last arg is just getting clipped off
yeah maybe post about it in #dev-general or #development idk either
@jolly tusk ive deleted the links because they where sus 😉
promise its a sharex that I own, if you click them they are safe and not nsfw :P
but it works fine when i use 1.20.1, yes even the player is offline
Imgur or anything reliable
👍
I wanna make a Party games voting system and timer system (voting for minigame and timer for when voting ends and action is taken according to what gamemode was chosen) How do I make that?
Hey guys! For some reason, after a restart, my placeholder in the TAB plugin dont work.
There are 4 Placeholders that dont work:
%vault_eco_balance_formatted%
%server_tps_1%
%bungee_total%
-> I think the expansions that i've downloaded don't work anymore...
Can someone help/explain?
(i have the newest version 2.11.6 on 1.21.1. Before the restart, everything worked
I cannot seem to download the javascript extension
its giving 403: Forbidden when I attempt to
I want to upload the extension to eCloud, but register is locked. How can I register into eCloud?
Can you provide a link to the source code?
guys whats the placeholder for these?
I cant find it
Ive tried /papi ecloud download mmoplus
and many more cant seem to find it
mcmmoplus too
anyone good with math and simpletimeformat placeholders?
- '[console] lp user %player_name% permission settemp delivery.claimed.weekly.blocked true %math_7-{server_time_u}%d'
trying to come with formula for this where it calculates how much time left till next week and adds the permission according to that
Papi itself is not very version dependent, some of the expanions are.
Hello
Anyone know why this is happening?
when i execute papi reload it says
[PlaceholderAPI] Fetching available expansion information...
and this gets stuck
on older server MC versions this works fine like it says "loaded 12 expansions..."
Hey! Maybe somebody know, can (and then how) I use math inside formatter to format result from math?
I tried but I got raw papi message (I tried something like %formatter_{math_{my_placeholder}}% (pseudocode of course)
why can't download old version of papi-javascript
@glad glenI can't register on the Ecloud, and i can't download Javascript Expansion 403 Forbidden
nginx/1.27.1
Why do you need old versions? 🙂
can't load new version, server1.12.2, placeholder2.10.1
Player and statistic do not work in placeholder add-on, minecraft version 1.21.1
%statistic_mine_block:<material>% not working
Can you elaborate? How do they not work exactly
its just fucked and needs to be updated
it doesnt track anymore
.
In localhost
Not working
Maybe in vds server working
But how exactly? Like is there any console errors, where did you parse the placeholder, which placeholder, etc
uhh
%statistic_MINE_BLOCK:diamond_ore%
outputs correctly for me
im guessing they dont use essentials for setting homes ?
seems very inconvenient for this
I will try
Its not working for me
/papi parse me %statistic_MINE_BLOCK:diamond_ore% not working
u downloaded it ?
oh no
just a second
GUYS
/papi parse me %statistic_MINE_BLOCK:DIAMOND_ORE% ITS WORKİNG EVERYONE IN 1.21.1
good luck everyone
yeah in sometimes it works
u know anything about my issue kris ?
so it doesnt know
give details
can show u
What plugins do you use
deluxemenu
i want to recreate this
for the sethomes
so i use essentials
basically just all my buttons are shifting
when they should stick to their slots
my logic is just bad
but not sure how else i can do it with essentials
Check dm
nvm i figured it out
hi, I have a palceholder that returns a number such as 219.609.376,58. Is there a placeholder that can format it to something such as 219,60M. I want to use the tipical K, M, B.....
How to use a skript variable in placeholdAPI?
Hello, can you tell me how to check if a player has a bottle of water
checkitem_amount_mat:<>
If you just enter potions, then he counts all the potions, and I would like him to count only a bottle of water
should be material potion, then use potiontype: WATER modifier
if using vault expansion placeholders, there should be %vault_eco_balance_formatted%
there is a skript expansion, its not verified so u will have to download manually and upload it into the expansions folder https://api.extendedclip.com/expansions/skippi/
checkitem_amount_mat:potiontype: WATER ?
checkitem_amount_mat:potion,potiontype: WATER
thank
I'm sorry, but do you know how to specify a bottle of water in Deluxemenus?
item_check1:
type: has item
material: potion
just water_bottle in dm
For some reason, he counts any potion
And no, he even ignores this value
change the requirement type then just use the checkitem placeholder to check for water bottle
could try
item_check1:
type: '>='
input: '%checkitem_amount_mat:potion,potiontype: WATER%'
output: 1
don't work(
What is the problem with checking, if we say to enter a bottle of water as a display, then everything works, but if you need to check for availability, then for some reason it does not read
water_bottle was added as a special material to the material list, as it doesnt exist simply in spigot
this check probably isnt carried over into the requirements
what about the requirement isnt working
what is the output when u put it in /papi parse me?
I didn't quite understand
It works, but the item is not the same, that is, even if it is in your hands, the system does not see it
Hey! Maybe somebody know, can (and then how) I use math inside formatter to format result from math?
I tried but I got raw papi message (I tried something like %formatter_{math_{my_placeholder}}% (pseudocode of course)
%utils_parse_formatter_{math_{my_placeholder}}%
/papi ecloud download Utils
/papi ecloud download Formatter
/papi ecloud download Math
/papi reload
Javascript still returning Error 403?
nvm, still happening
Is there another way to download it?
anyone have issues with the vault expansion with 1.21.1?
ello!
I downloaded someone else's Minecraft plugin repository and I want to compile it myself, but I'm getting this error
Searched in the following locations:
https://repo.minebench.de/me/clip/placeholderapi/2.11.2/placeholderapi-2.11.2.jar```
The repository is added to repositories, like the PlaceholderAPI wiki says
```repositories{
mavenCentral()
// Placeholder API
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/")```
(https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Hook-into-PlaceholderAPI)
I haven't used Gradle before, so I have no idea why it's not working or how to fix it
Could I get some help please?
Hello 👋
Do you know which placeholder to put to display the number of mined/broken logs?
I found for mined blocks of type: stone, andesite, etc..
But impossible when it comes to wood, I can't find the right placeholder 🫤
you can still use the checkitem
type: '>='
input: 'the_check_item_placeholder'
output: '1'
oh nvm, already got a reply
How can I make a javascript placeholder that works without a player?
when I use /papi parse --null %javascript_example% the result is ""
if I use a player that doesn't happen
the placeholder is just this
function main() {
return "test";
}
main();
You can use https://api.extendedclip.com/expansions/statistic/ %statistic_mine_block:oak_log% returns the oak logs I've mined.
Thanks ❤️
Thanks!
Oops, srry
anyone?
There is an error or something?
idk
...
let me see logs
Check the console
yep
send the log here?
it is strange because I restart and the expansions as players do not load but if I restart the plugin it loads
also the ones that do not have download command work, and when I do a /restart once the /papi reload works and other times only /placeholderapi reload works
Anyone know what could be causing this
Why i can't send images i have big issue
Anyone know of a placeholder that displays the amount of a certain block you have placed?
Does anyone know what exactly the Guilds plugin placeholders are? I tried to make the leaderboard with the ones on the wiki and it didn't work, I tried the victories one which is on placeholderapi's github and return the player's name and not the guild name.
Anyone have the latest Javascript expansion? extendedclip website is down so I can't download it, I also tried to build it from source but it fails I'm assuming because extendedclip is down? 🤔😓
Have you clicked on download? It goes to a 403 😓
@carmine veldt can you look into this?
Same thing
maven repo seems to be down too
I have 65325 but I want to use placeholder math to display 65300. What do I do?
Hi, there is maybe player Head placeholder in this plugin? I wondering how make playerHead placeholder to scoreboard and to chat
How do I allow tab completing placeholder suggestions?
Use math expansion with %math_-2_{numberhere}%
> papi parse --null %math_-2_65325%
[22:39:28 INFO]: 65300
help me plz
when i do /papi ecould download luckperms
or any other thing
it says failed to download expantion
i have 4gb server
@slow crystal pls help
someone have this problem too?
https://imgur.com/a/QiUWK57
i cant download anyone expansion haha, maybe its my pc? (its localhost)
have problem with download last version of https://api.extendedclip.com/expansions/javascript/
I have found a solution
When you try to download it
It gives you a link right click on it and download the explanation
After downloading open papi folder
And click on expantions and past it there
Simple
anyone have issues with the vault expansion with 1.21.1?
https://paste.helpch.at/fonatevati.css
https://paste.helpch.at/dagudaniqo
That error gives no information we can use unfortunately. However, you can try removing one of the vault expansion file from plugins/PlaceholderAPI/expansions
Yea sadly same with either or of those. worked great with 1.20 but updating not sure why it doesnt want to work.
Thank god someone finally said something
Now it's working!!
Now it's working!!
probably using a wrong placeholder
hey, quick question, how could i make it so this would work?
click_requirement: requirements: flying: type: string equals ignorecase input: '%player_is_flying%' output: yes
I put a deny_commands with a message as to know if it works but i keep being denied, do i need to change the type to javascript? and the input to expression, output to be deleted?
put yes within "quotes"
thanks, was as easy as that
Thanks 🙏🏻
does open requirements not work?
trying to use placeholderapi with java11, when using the ecloud download, do we need to choose older versions of the expansions, if so how can i find which version to get?
playerlist:
offline-text: Offline
argument-separator: ','
lists:
bingoworld1:
type: ONLINE
included: true
filters:
- WORLD:world1
- CANSEE
Why does /papi parse me %playerlist_bingoworld1_list% parse an empty string?
It does, make sure you wrote open_requirement and not open_requirements in your config.
Also, if you're OP, deny the deluxemenus.openrequirement.bypass.* permission for you
You can find expansions' older versions on the eCloud https://api.extendedclip.com/all/
maybe there's no one in world1 ? or that world doesn't exist
go into that world and run /papi parse me %player_world% | %playerlist_bingoworld1_list% | %playerlist_bingoworld1_0% and let me know what it returns
Not home rn, will be tonight, the only thing i can think of is the world not being loaded by multiverse
is there a way to see which ones supported by java 11
aside from downloading them and seeing if they work, there isn't
all g ty for the help
plugins/Bingoreloaded/worlds/world1 | | Offline
wot
okay lol, weird name
use that in the playerlist config instead
plugins/Bingoreloaded/worlds/world1
hey i need to get item max durability of an Item is there a way to get it? ive found %player_item_in_hand_durability% with the Player addon but it shows the current durability
wait where?
Nevermind though I'll ask the dev to code it in anyways this wont work
and I'm talking about here
instead of WORLD:world1, use WORLD:plugins/Bingoreloaded/worlds/world1
still parses empty list
playerlist:
offline-text: Offline
argument-separator: ','
lists:
bingoworld1:
type: ONLINE
included: true
filters:
- WORLD:plugins/Bingoreloaded/worlds/world1
then parsing /papi parse me %playerlist_bingoworld1_list%
empty list
while there's 1 user in the world rn
are you sure this is exactly what /papi parse me %player_world% returns?
does it have colors or smth?
no colors
I can't send images
there's an uppercase R
"exists" I'm creating worlds for minigames and I want to use viewrequirements based on if the world exists yes or no
so if %isworld_<world>_active% turns true when the specific mentioned world has been created I can use it in dm
and the user shouldn't be in that world to be able to parse it correctly because I had that with another placeholder
otherwise I could probably make one quickly tomorrow when I get on my pc
so if i'm in worldlobby and I parse it for bingoworld1 it should parse for that
would love that
unsure what you mean by that
are you talking about the menu not being able to open or the placeholder?
the placeholder
what should the placeholder do when the player is in that world?
I don't understand the "to be able to parse it correctly" thing
shouldn't the placeholder kust return true/false depending on if the world exists?
or are you talking about a different placeholder that you want?
yes it should
just keep it at that and it should be fine
I don't really know how to explain it correctly
what I mean is; it shouldn't matter in what world I'm located in if the placeholder is used it should always parse true or false dpeending on if the world exists
Hey anyone able to help me with this issue im having with PAPI & RedisChat? I've contacted them but they are saying its an issue with PAPI so to contact here for support can't figure out why its not working-
Is there a placeholder that forces luckperms suffix?
I have itemsadder and when putting it as luckperms suffix it's just showing %image_[name]%
/papi ecloud download LuckPerms
/papi ecloud download ImgFix
/papi reload
and use %imgfix_{luckperms_suffix}%
send the link you get from /papi dump
yeah okay, I'll do that later
I was able to fix it had to download player from ecloud that was left out of the instructions lmao
well yeah based on your screenshot you had only downloaded the LuckPerms and Vault expansions while you also used some Player and LocalTime placeholders
Yeah managed to figure it out after being baffled haha I would’ve thought player would be standard included but no bother I know for future 😄
I found one after all, it's %world_name_<world name>% from the World expansion, it returns either the world's name if it exists, or an empty string.
If you want it to return true/false or smth else, you can use it with the ChangeOutput expansion like so %changeoutput_equals_input:{world_name_<world name>}_matcher:_ifmatch:false_else:true%
Only works when ran from the world
I used that placeholder in the beginning but it doesn’t work when parsing when the user is outside the bingoworld1
wot
oh
I get it
yeah nvm, I'll make a placeholder for that then

looking at the code, it should still work
I'll see
@novel granite %worldexists_<world>%
returns true/false
%world_name_<world>% worked fine for me, but I still did this since it wasn't really that difficult, in case maybe there actually is something wrong with the World expansion
Will test when home <1h ish
Hey, I'm registering a PAPI extension in my plugin.
I want to add placeholders, but the data they return is database-related and therefore won't be returned instantly (CompletableFuture), but the return value of the method is a String meaning I can't use CompletableFuture, and I can't use CompletableFuture#get() or #join().
Does anything wrong happen if I chuck the entire code within the onRequest override method into a runasync or something similar?
actually I can't chuck it all into anything async because that would return a completablefuture
can't you have a repeating task on the side that gets the value of the Future and caches it into a map?
you can implement PAPI's Taskable interface to access to start/stop methods that run when the expansion loads and unloads
there's also a Cacheable interface I think
gotcha.
Any documentation on those two or is it just a matter of FAFO?
I'm not sure if there's any doc about that but it's been there for a while and is pretty much the only way to do it
it's pretty straight forward tho so it should be fine
that works, thank you so much!
is there any reason why this isn't working in deluxemenus?
no idea, what did you set in your menu?
items:
# Slot 1: Red Wool for Active World
'world_open':
material: RED_WOOL
slot: 0
priority: 0 # Higher priority for active world
display_name: '&4&lWorld #1'
view_requirement:
requirement:
available:
type: 'string equals'
input: '%worldexists_plugins/Bingoreloaded/worlds/world1%'
output: 'false'
lore:
- '&7This world is not yet active, click to generate one.'
left_click_commands:
- '[console] autobingo world1 create'
- '[console]<delay=20> say Teleporting to world1 in 3 seconds'
- '[console]<delay=40> say Teleporting to world1 in 2 seconds'
- '[console]<delay=60> say Teleporting to world1 in 1 seconds'
- '[console]<delay=70> autobingo world1 addplayer %player_name%'
# Slot 2: Lime Wool for Inactive World
'world_inactive':
material: LIME_WOOL
slot: 0
priority: 1 # Lower priority for inactive world
display_name: '&aGame'
lore:
- '&7This world is currently active and waiting for players'
view_requirement:
requirement:
available:
type: 'string equals'
input: '%worldexists_plugins/Bingoreloaded/worlds/world1%'
output: 'true'
left_click_commands:
- '[console] autobingo world1 addplayer %player_name%'
you wrote requirement instead of requirements
view_requirement is fine, but the line under it has to be requirements with an s
that's crazy ong
hey @junior musk sorry to bother you again.
What should I do if the server tries to get a placeholder of a player that isn't already cached?
My placeholders are to do with currency, and I'd preferably want to avoid caching EVERY player in the database, right now it only caches players who have joined the server while it was online.
Obviously I can just do a check to see if the player is cached, if not then cache them
but still, what can I return? Just 0?
Okay, thanks.
you could make a configurable value I guess
I'll just make it return null
that'll make the placeholder return itself
you could make it return an empty string or "Loading..." instead, though since it could cause issues in places where it expects a number, you might want to use -1 or 0 instead
hi guys can someone help me please, i'm trying to make a progress bar with deluxemenu but idk how to set the maximal value of the bar so it doesn't work .. can someone help please
- "&7Progression : %progress_bar_playerpoints_points/500_p:&e|_r:&7|_l:25_m:100_fullbar:&aTerminé!% &f(&a%playerpoints_points%&e/500&f)
i have this at the moment
Hello, is possible to translate the localtime date messages ?
Iv'e checking some of the code or even on the config file but isn't really loading up, I do remember did it before but don't remember how.
If ya didn't figure it out yet,
%progress_bar_{playerpoints_points}_c:&a|_p:&e|_r:&7|_l:25_m:100_fb:&aTerminé!%
You were missing the curly braces {} around the placeholder inside the progress placeholder. I also added _c:&a| to show your currently completed progress, I'm not sure if you want that or missed it. 😓
Hello, got an issue, set up the %statistic_mine_block%, inducted it into my server via "aj leaderboards" then threw it into "decent Holograms" for statistic_mine_block hologram. and apon reloading everything. everytime my non opped account mines a single block it counts it as two blocks on the leaderboard. any fix
hi man thank you for ur help bro it worked !!
is there anyway to use "%" as a symbol in a placeholder?
{ascii_37}
thanks!
/papi ecloud download Ascii
/papi reload
assuming the placeholder you're using it in can parse placeholders
and ofc I keep saying 47 instead of 37 for % 😅
thanks its working
Hello everyone! Question: how can I use the plugin PlaceholderAPI on the FABRIC 1.20.1?
I know there is a Text Placeholder API plugin. But it doesn't work with the TAB plugin(
This plugin is not made for Fabric and TAB doesn't support any placeholder plugin on Fabric
It's sad... Thanks for the answer.
Anyone help me
In hostrium server I can't add scoreboard but why
@junior musk
Field to download expansion java.ioexpection: server returned HTTP response code: 503 for url: HTTP:/API.EXTENDEOCLIP.com/media/EXPANSION-VAULT 1.8.3.jar how to fix this
@junior musk
Field to download expansion java.ioexpection: server returned HTTP response code: 503 for url: HTTP:/API.EXTENDEOCLIP.com/media/EXPANSION-VAULT 1.8.3.jar how to fix this
Seems to be fine for us?
Maybe try again?
Not working
Hey id like to ask, how can I use the Javascript expansion?
/papi ecloud download Javascript doesnt work
@junior musk can you ?
I think @tender vapor answered your question. If you are not making the plugin, then you have to contact the author of the PlaytimePlugin plugin.
I am the author
You'll have to download it manually if you want to use it. You will find it here: https://api.extendedclip.com/expansions/javascript/. Place the .jar file you have downloaded in plugins/PlaceholderAPI/expansions/ and execute /papi reload.
Then follow the instructions @tender vapor gave above
%player_exp% Is there a version of this thats rounded?
use statistic, player placeholders doesnt work anymore
used player_current_exp and it works fine
Oh
i used it too but it didnt work
idk why
Weird
Hello, how replace_placeholder: work?
Is it possible to return the list of enchantments on an item and return them on specific lore lines using papi? Right now my implementation doesn't use it-
In the Progress expansion? - ",;." (default config) would replace any commas , with periods ..
I am using the LocalTime ecloud expansion, for some reason I am getting this error:
20.10 14:19:06 [Server] INFO [LocalTime] Couldn't get StarWarsK_'s timezone. Will use default timezone.
I can provide more details about my server just need to know what yall need to know
Hey, is it possible to use a placeholder inside a placeholdeR?
e.g. %placeholder_1_%placeholder_2_%%
some placeholders support that by using {} instead of %% around the second placeholder like so: %placeholder1_{placeholder2}%, though not all of them do
if the placeholder you're using doesn't support this, you can download the Utils expansion with /papi ecloud download Utils (and /papi reload) and use %utils_parse_placeholder1_{placeholder2}%
how do I get the first username of a list from a placeholder?
e.g. /papi parse me %playerlist_bingoworld1_list% prints username1 and username2
but how do I get just 1 so I can perform a command with that username
Hi 👋
How can I change the output from [true/false]
There is a point in the config
boolean:
'true': '&a✔'
'false': '&c✖'
But the Placeholder still shows false or true
(%advancements_adventure/adventuring_time%)
What can I do 😦
Hello}
i need help for PlaceholderApi
I want you to see how many virtual keys I have for a crates plugin
What crates plugin
Excellentecrate
I have not found part of the placeholder for the Scoreboard that said that the user has a certain number of keys
%excellentcrates_keys_[crateId]% - Amount of keys a player has for specific crate.
The first one
So I am trying to figure out how to get mmoplus from the ecloud? Anyone have any ideas?
It's showing in expansion usage but not expansions
Example - %mmoplus_topname_axes_0%
Hi excus me who used correct the plugin
What
I want to know how to put the PlaceHolder in the Scoreboard, doesn't it work?
Nothing fixed the problem anyway, thanks for helping me
Did you install the extension?
Or
Oh nvm you fixed it
Which extension?
Hello, come it bothers you, I have a command ready but I don't know if it's right. I want the VoTePa plugin to give me a key when I vote on the server.
Please read the documentation for the VoTePa plugin
thank you really
Np!
Wrong channel...
Maybe it was the right channel...
Is it possible to use the math expansion placeholders in coordinate calculations?
For example tp @p %math_{~/8}% 350 %math_(~/8}%
The use case will be inside of an excute command to teleport a player when they reach a specific location. I want them to teleport to their current coordinate divided by eight.
Can JavaScript placeholders read contents from files?
Did you ever figure it out?
So I am trying to figure out how to get mmoplus from the ecloud? Anyone have any ideas?
It's showing in expansion usage but not expansions
Example - %mmoplus_topname_axes_0%
From what I remember about the issue my conclusion was along the lines of 'Custom javascript does not seem to have disk read/write permissions'. Not sure if that's actually the case but in the end I went with a different approach and saved the data as a custom LuckPerms meta instead.
hey, is there any way of checking if a player has a building block type in inventory? Like if I have a oak log, a carrot and a sculk catalyst (random blocks) I could check if they are a type of building blocks so it would return like true because there is the oak log, but if I only had a carrot would return false
Is there a plugin that parses hat custommodeldata? I am making a gui for hats and i need an input that parses if the playing is wearing that hat or specific model data so if i click again it removes
CheckItem can check custommodeldata
so for example if i have a custommodel from itemsadder in my inv it will see that and parse the cusotm model data?
https://api.extendedclip.com/expansions/checkitem/
There's %checkitem_custommodeldata:<integer>% to tell whether they would have it, there's also give and remove you can use to take away or give an item. The github has a wiki and a few examples too
is there a command to put a model on someones head?
You'd probably need another plugin to do that 😅
any suggestions?
I'm not sure sorry, I keep seeing paid options and what I used in the past was GadgetsMenu but is also premium 😓
Bugger, thanks for letting me know 🙂
Can anyone help with this?
PlaceholderAPI extension:
When a player logs in, determine the Bungeecord server name, split it with hyphens, take the last word of the hyphens and return it as a placeholder
Example: bedwars-1 - will be displayed in placeholder: 1
java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3 - PlaceholderAPI-2.11.6
Current Purpur Version: 1.20.6-2233-0d6766e (MC: 1.20.6)*
https://mclo.gs/Zd0tyGy
can i install placeholderapi on bungeecord?
no
can i list only players that are in a world like
in world1 : 5 players but if i join world2 : it shows 3 players
https://api.extendedclip.com/expansions/world/
%world_players_<world>%
Does multiverse core not have a placeholder to check if a mvrule has been set ?
? for example whenever I've done /mvrule fallDamage true world and I'd parse /papi parse me <multiverseplaceholder> fallDamage world it would either return true or false.
/papi ecloud download World
/papi reload
%world_isgamerule_<gamerule>_<world>%
hi how i can check a exact loreline like {"color":"white","italic":false,"text":"Verbrauch: 4/4"}
I try it with /papi parse me %checkitem_inhand:main,loreequals:{"color":"white","italic":false,"text":"Verbrauch: 4/4"}%
but dosnt work (its an mm item)
I don't think you should put is that minimessage formatting? in the placeholder.
ah ok thanks. i use lorecontains now. But how work it with space in lore?
unfortunately that won't work for my usecase
I've made a plugin with ChatGPT that adds a placeholder for multiverse core ^_^
don't ask me how it works but i managed to make it work lol
Unknown statistic 'player_kills'. check
https://helpch.at/docs/1.18.2/org/bukkit/Statistic.html
more info
I'd like some help if possible. (Internal Placeholder)
Placeholder: https://paste.helpch.at/ajuzofowez.typescript
Main https://paste.helpch.at/uwadohayoq.java
Issue: https://paste.helpch.at/yocomaligi.bash
your identifier is spc_eco, and you're checking if the parameters are spc_eco_balance and spc_test
I've tried all variants
which means you're actually checking for %spc_eco_spc_eco_balance% and %spc_eco_spc_test%
Even if i try that, it still does not work
I'm not even sure identifiers can have underscores
hey
Unknown statistic 'player_kills'. check
https://helpch.at/docs/1.18.2/org/bukkit/Statistic.html
more info
I'll try it without an identifier underscore
try %spc_eco_balance% and %spc_eco_test% with this
try %statistic_PLAYER_KILLS%
alright
OK, but since I'm using ajleaderbroad, it should be player_kills. I need to connect it to the database.
None of them work
I don't see what ajleaderboards has to do with that?
right, that's because I'm stupid
%spc-eco_balance% and %spc-eco_test%
It only takes player_kills into the database, not player_kılls.
won't anyone help?
Unknown statistic 'player_kills'. check
https://helpch.at/docs/1.18.2/org/bukkit/Statistic.html
more info
Hi someone knows why I get this error I have a plugin called multiverse-core and it creates worlds to which I can tp through another plugin called znpcs when I click this one asks me for a permission that I already have.I tried uninstalling the placeholder and is the only way it works is some compatibility error?
what was the expansion to check between 2 dates?
what?
Using /papi parse me %checkitem_inslot:0,namecontains:diamond_sword% returns as no is this an issue with the place holder , or i wrote it wrong? i tried only with inslot and it returns true, because the item is in slot 0, but looks like namecontains:<text> have issues.
Using version 2.7.8 which is the last one.
That's not the name, you should be using %checkitem_inslot:0,mat:diamond_sword% if you want to check the material name. If you rename your sword to Test and check with the placeholder you're trying to use (checking for the name Test), it works fine.
what if i want to check if the item name contains sword? for if conditions
%checkitem_matcontains:<string>%
Pretty sure 🤔
nope /papi parse me %checkitem_inslot:0,matcontains:sword% returns as no even if a sword is in slot 0
just went and used string placeholder instead.
is there a placeholder for getting the world time in ticks
like when u /set day it sets the ticks to 0 or /set night it sets it to 14000
im looking for a placeholder that displays that info
currently I have %essentials_world_time_24% but that just gives me a number like 13:20 (not tick format)
hello, this doesnt return anything.. any ideas?
var name = "%quests_player_compass_quest_name%"
function getobj()
{
if(name == "")
return "-"
else
return "%quests_player_compass_quest_objectives%"
}
getobj()```
Hey, what does papi parse me %quests_player_compass_quest_objectives% command return?
hello
[20:20:03 WARN]: [eraxium] Task #23 for eraxium v1.1 generated an exception
java.lang.NoClassDefFoundError: me/clip/placeholderapi/PlaceholderAPI
at org.stiala.eraxium.CustomScoreboard.updateScoreboard(CustomScoreboard.java:29) ~[eraxium.jar:?]
at org.stiala.eraxium.plugin$1.lambda$run$0(plugin.java:35) ~[eraxium.jar:?]
at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1116) ~[?:?]
at org.stiala.eraxium.plugin$1.run(plugin.java:34) ~[eraxium.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.20.4.jar:git-Purpur-2176]
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:482) ~[purpur-1.20.4.jar:git-Purpur-2176]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1679) ~[purpur-1.20.4.jar:git-Purpur-2176]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:487) ~[purpur-1.20.4.jar:git-Purpur-2176]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1558) ~[purpur-1.20.4.jar:git-Purpur-2176]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1246) ~[purpur-1.20.4.jar:git-Purpur-2176]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[purpur-1.20.4.jar:git-Purpur-2176]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.ClassNotFoundException: me.clip.placeholderapi.PlaceholderAPI
... 13 more```
Hey, there's a way of parsing %checkitem_matcontains:BOOK,namecontains:de,amt:1% to a player from console without receiving "yes" or "no" outputs? Because It's spamming in my console
tried with [placeholder] action type but it has output too
that's just because you're using the /deluxemenus execute command
if you use [placeholder] in a menu, it won't return any output
yeah but I'm not using menus :/
I just want to parse %checkitem_matcontains:BOOK,namecontains:de,amt:1% to a player without receiving output on console
because it starts spamming
why do you want to parse it?
I remove him a "scroll creator" and then I give them an scroll
doesn't explain why you're parsing this placeholder with the DM execute command
I'm parsing it right now with /papi parse %player% %checkitem
but it sends the output too to console
yeah but why
that placeholder simply returns yes/no, compared to the checkitem give & remove placeholders, it doesn't do anything else
so why would you parse it, if not to use its output?
Like, players click this image https://i.imgur.com/eMiBRQ0.png, and it checks if player has an scroll creator or not, if yes, it removes the scroll creator and it gives them an scroll
sorry, it's the remove one "%checkitem_remove_matcontains:BOOK,namecontains:de,amt:1%"
that makes more sense
it removes their book
but it sends the output anyways xd
so when people are spamming clicking, console gets many outputs
I don't think there's any solution to this
unless you have someone make you a plugin that adds a PAPI command to parse the placeholder without returning anything
but as is, I don't see any solution
Does anyone have an idea?
How can I use placeholders in a command?
I used it in the game and it kicked me out for blocked features in the command and in the console it doesn't process the placeholders
papi ecloud download Plugin doesn't even exists, is this an issue with the author or something
https://api.extendedclip.com/expansions/plugin/
You need to download it manually
[15:39:58 WARN]: [PlaceholderAPI] Failed to load external expansion votingplugin. Identifier is already in use.
[15:39:58 WARN]: [PlaceholderAPI] Cannot load expansion votingplugin due to an unknown issue.
I get a warning for this when i start my server, should i be concerned?
Two expansions are both trying to claim votingplugin as their identifier
Most likely have an expansion you don't need
as it might be built into the plugin
thought it is verified, Thanks.
¿?
Hello guys...
Is it possible to parse a placeholders from another player point of view if this player is offline?
I'm making a custom menus to shows other's players statistics in bedwars
So, for example is it possible to parse for me the placeholder %bw_kills% for a player who is offline?
How should I go about parsing time until a date placeholder
Hi guys, just trying to create a simple PVP leaderboard that gives me all-time kills.
I have the following leaderboard setup in hollograms
location: Cloud Data:-558.512:73.000:205.463
enabled: true
display-range: 48
update-range: 48
update-interval: 20
facing: 0.0
down-origin: false
pages:
- lines:
- content: '&e&1PVP Leaderboard'
height: 0.3 - content: '&3#1 %ajlb_lb_statistic_player_kills_1_alltime_name% &7- %ajlb_lb_statistic_player_kills_1_alltime_value%'
height: 0.3 - content: '&3#2 %ajlb_lb_statistic_player_kills_2_alltime_name% &7- %ajlb_lb_statistic_player_kills_2_alltime_value%'
height: 0.3 - content: '&3#3 %ajlb_lb_statistic_player_kills_3_alltime_name% &7- %ajlb_lb_statistic_player_kills_3_alltime_value%'
height: 0.3
actions: {}
- content: '&e&1PVP Leaderboard'
In game it just shows this:
PVP Leaderboard
#1 --- -- ---
#2 --- -- ---
#3 --- -- ---
Its either not working or its working but no one has pvp killed anyone yet so its got no data.
It works,
As soon as someone joined it added their name to the board.
Once they killed me they for a 1 next to it.
Id say it just dosnt add me because im a mod.
Yes, that's because there's a bypass permission. You can either disable it in config or negate the permisison for you https://wiki.ajg0702.us/ajLeaderboards/faq#nobody-shows-up-on-the-leaderboard----
why if i use /papi parse me %server_countdown_dd.MM.yyyy_01.01.2025%
i get output invaild date
%server_countdown_dd.MM.yyyy HH:mm:ss_01.01.2025 00:00:00%
hii
I have a problem when trying to enlarge placeholder as it depended for my plugin, can someone help me with that? this is the mistake it gives me: Dependency 'me.clip:placeholderapi:2.10.10' not found
How to share my discord nitro with my friends?
guys i know im new here but i need help
or more like my gf needs help
she needs a $15 gift card bought from G2A.com
if u can help
dm me
please
🙏🙏🙏🙏
its so she can upgrade her phone
if u can help dm me and i will send u her user
r u an real person or npc
I'm a verified NPC.
u talk like a human tho
Hello i have a question i make /papi parse me %formatter_number_shorten_{topper_hajs;top_value;3}% and i get output of my balance 100.0
is it a way to get like 100
not 100.0?
%formatter_number_shorten_{topper_hajs;top_value;0}% I think 🤔
line-4:
text:
- "&aYour gamemode:"
- "&aYour location:"
- "&aYour world:"
random: false
interval: 60
score: 96
#This animation shows the actual data of the player
line-5:
text:
- " &b%player_gamemode%"
- " <update ticks=1>&bX:%player_x% Y:%player_y% Z:%player_z%</update>"
- " &b%player_world%"
random: false
interval: 60
score: 95
https://www.spigotmc.org/resources/animatedscoreboard.20848/ is what I need help with
[14:43:09 WARN]: [PlaceholderAPI] Failed to load external expansion votingplugin. Identifier is already in use.
[14:43:09 WARN]: [PlaceholderAPI] Cannot load expansion votingplugin due to an unknown issue.
anyone know whats the cause of this?
Hi, can you tell me why the vault placeholder doesn't work? I tried all versions
"votingplugin" identifier is already loaded elsewhere, probably by another plugin.
so, i can uninstall the papi extension for votingplugin?
?
Hello 🙂 someone know what i do wrong here %formatter_text-uppercase_{server}% for the %server% in Uppercase
tryed %formattertext-uppercase{server}% but get a empty return
Hi, can someone tell me how can i reset Statistic data or any other expansion data? i tryed reinstalling expansions, doesnt work, i just need to remove old data from them, absolutely no info about that on internet/wiki
Can someone tell me why the vault placeholder doesn't work? I tried all versions
Server name? Try %formatter_text_lowercase_{server_name}%
Those stats are from MC, stored in the world folder.
where? i deleted playerdata already
The folder named stats
deleted, started the server, the stats are still here
nothing changed
🤔 That's where they're stored, so I'm not really sure 😓
If they're being cached, stop the server then delete the JSON file, then restart.
deleted expansion and stats folder, worked
Awesome 😁
thx
line-4:
text:
- "&aYour gamemode:"
- "&aYour location:"
- "&aYour world:"
random: false
interval: 60
score: 96
#This animation shows the actual data of the player
line-5:
text:
- " &b%player_gamemode%"
- " <update ticks=1>&bX:%player_x% Y:%player_y% Z:%player_z%</update>"
- " &b%player_world%"
random: false
interval: 60
score: 95
hello, is there any placehoderapi that gives me the total time of my world ? osae I know that a day is 24000 but the time would be more taking into account the moon phase ?
The age of the world, or the current time in ticks? The 24000 ticks per day includes the nighttime and any moon phases.
the moon phases are distributed in 8 days or 24000 x 8
so I want a way to know what moon phase it is.
Is there a placeholder to get a player's block they are looking at?
so I can run commands based on where they are looking?
Hi, any know what is the .jar for PAPI 1.21.1 for Fabric sv?
hello how can I use gradient colors in the deluxe menu and what sort of format does it works
I need betterteams placeholderapi
https://github.com/booksaw/BetterTeams/wiki/PlaceholderAPI Look at their wiki 👀
i found it
thx
then i want playtime: %%
kill: %%
death: %%
KD: %%
Hey 🙂 i don't remember but i had a expansion some time ago for like if rank == default return Player someone know what i mean ? 🙂
statistic expansion https://api.extendedclip.com/expansions/statistic/
I found it thx but idk if i found correct %statistic_kills:player%
i want to make damage from scoreboard i use this command
"execute as @a run papi cmdparse me damage @s "%objective_score_{<objective>}%"
is work but it work only me run but i want paste this command in command block and run but "me" cant use in command block i can replace somthing for specify player?
you can just use the %statistic_player_kills%
Thx🤍

Does PlaceholderAPI have a REST API?
for ecloud maybe, the plugin would have to interact somehow
what are all of the things for this
%changeoutput_equals_input:{player_world}_matcher:world_ifmatch:overworld_else:{player_world}%
./papi ecloud download changeoutput
and
player i've already downloaded
maybe math
hey by chance do you know
changeoutput
i've already installed htat
is there ajleaderboard and ServeerVariable expansion?
They already provide placeholders
does anyone know how to set it where i can see total of players in a server while hovering over server realm in a lobb/hub?
please help someone
i been trying for hours
Can we show the armor we wear in the menu ?
ye if you find an expansion that gets that data
almost 99% sure its already made
in a menu? or on the server selector before you join a server
it's actually the player expansion
https://api.extendedclip.com/expansions/player/ not the armor one
first few placeholders
hello chat, im wondering. if you do /sell you gain money, ebalance or wtv right, how do you make that money visivle? whats the syntax is it %money%? cus i wanna add it on my scoreboard. tysm!
I'm waiting for your sample view requirement
hello chat, im wondering. if you do /sell you gain money, ebalance or wtv right, how do you make that money visivle? whats the syntax is it %money%? cus i wanna add it on my scoreboard. tysm!
How do I retrieve a generated value with a javascript placeholder?
&#abc123 works just fine
yo i figured it out but the player number is incorrect. for example it says 1 / 100 players in server but its 6 people in their
anyone know a fix?
Hi, i have a problem with the placeholder of vault, i dont know why
it put this error in console
[PlaceholderAPI] Cannot load expansion vault due to an unknown issue.
someone know a percentage placholder?
I'm not familiar with plugin development, but is there an API that allows fetching specific placeholders from plugins, like a player's balance from the Vault plugin or a player's playtime from the Essentials placeholders? I want to fetch this data so I can display it in a Discord server via a Discord bot.
You can use PAPI's setPlaceholders method to parse placeholders in a String https://wiki.placeholderapi.com/developers/using-placeholderapi/#setting-placeholders-in-your-plugin
percentage of what?
Do you have the Vault plugin as well or only the expansion?
%javascript_<script name in javascript_placeholders.yml>%
%vault_eco_balance%
you've got some more placeholders listed here as well as download methods https://api.extendedclip.com/expansions/vault/
I don’t know Java or have experience with Spigot plugin development, which is why I was wondering if there's any way to set up a REST API that can retrieve the data. I'm only proficient in JavaScript, which doesn’t really help with the Minecraft side of things in this case.
it doesn't, PAPI has an API for other Java plugins on the server, like most other plugins do
may i ask
no
do i need essentials
Oh damn
Essentials has an economy system so it works, but you can use any other economy plugin that supports Vault
any? or like this dailyrewards plugin
ohh idk which
you can also use an economy plugin that doesn't require Vault but has its own placeholders instead
wait
that doesn't sound like an economy plugin
so this plugin
wait
lemme send link
can this work
basic /sell
?
check it out @junior musk
I phrased my question wrong, i mean i already have a placeholder that generates a random 6 digit number, i want to have a way to retrieve that generated number
ah, so you want to use it within the script?
you can just use the placeholder in there
I'm pretty sure it should work
which guy u talkign to
Unfortunately it doesnt
that's a shop plugin, not an economy plugin
me or the bird
send your script
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, can u help me find
i have stage 4 cancer limbs
Thats one way to get ignored
yeah
Will do when home right now omw home from work although to clarify its a script that gens a unique 6 digit number and then another placeholder that is meant to retrieve the genned code by username
wait
If you search on Google: https://www.google.com/search?q=economy+plugin+spigot
You'll find a decent amount of results
https://www.spigotmc.org/resources/the-new-economy.7805/
https://www.spigotmc.org/resources/bettereconomy.96690/
https://www.spigotmc.org/resources/liteeco-simple-economy-plugin-1-18-x-1-20.101934/
https://www.spigotmc.org/resources/economy.87053/
i want to make if my another placehoder get output 7 then the output is 70%
Could literally get chatgpt to do this
%math_0_{placeholder_here}*100%%
/papi ecloud download Math
/papi reload
cool, Brister, please yeet her*
the %money% or the eco vault wtv it is w no plugijs
bro im the same role as you lmao
F
we are equally powerless here
xd
usually when this happens, there's another column of people above us in the members list lol
there are for me
I mean there's at least 1 or 2 admins online usually, which means we're a lot lower in the list
and there's more mods
I just got confused, sorry for the useless ping XD
Is there a Placeholder to Show the MOTD of a specific Bungeecord Server?
Like %server_lobby-1_motd%
the vault
a friend say to put vaultunlocked (the same put for new versions)
and i used it and nothing
💀 ? the vault works in 1.21+ even
ik, i use vault too
but it doesn't work anyways
the pl yes
but the expansion nope
How do I nest two placeholders
I've found the fix for my code generation thing, now I just need to nest one placeholder into the other to parse it for the right player although can't find out how to do it with utils
send the script
What script?
I changed from script to a plugin btw, it wouldn't work with a placeholderapi script
wheren't you the one that had a script with the generated number?
