#placeholder-api
1 messages · Page 41 of 1
Thank you anyways
java.net.ConnectException: Connection timed out```
sir how i fix this
i m not able to download expansion
Hello I am looking for 1 placeholder who can calculate the result of a subtraction of 2 other placeholders like %placeholder1% - %placeholder2%
please ping me if anyone knows how I can do it or if a placeholder exists
will it do a subtraction automatically?
uh, if you put a - instead of a _ between them, yeah, idk why I put a _ 😅
I just tested it doesn't work
but thank you for answering me
what does it show?
and where are you using the placeholder?
and which placeholders are you using?
%math_{%cc_total_win_counter_blue%}_{%cc_total_lose_counter_blue%}%
remove the % inside the math placeholder
okay
the {} are supposed to replace them
okay thx
one more little thing
it works but I would like to do the subtraction I have to add or the -
because the 2 placeholders are positive numbers
and I would like to do -
It's good I found it and it works thank you very much for your help
❤️
Someone knows a placeholder for 1.12.2 that acts like the formatter placeholder? (%utils_parse_formatter_text_replace_o_o1_oi%)
please
I still have 1 small problem he manages to do the subtraction and there is no problem when the result is negative but when the result is positive it goes wrong and it adds 1 0 after a viurgul here is my placeholder "%math_{cc_total_win_counter_blue}__-{cc_total_lose_counter_blue}%"
I'm not sure I understand
can you send the exact output you're getting and what you want?
can anyone help me pls
why use Utils?
just use Formatter directly
I want it to calculate the total of my wins the place holder of my wins >>%cc_total_win_counter_blue%
that of lose es >>%cc_total_lose_counter_blue% except that this one also gives 1 positive number and I would like to do the win minus the lose
I can send you the screen in private so you can understand the problem
just a test bc i wanna use this in my Executable itens to make a gacha system, but the problem is: the placeholder %formatter_text_replace_[target][replacement]<text>% don't work in 1.12.2 bc the formatter don't work for 1.12.2
it does, it just requires you to run the server with Java 17
if you're not on Java 17, then you can't use it
but if i change my java version, my server still working well?
%utils_parse_score_variables_tier5_{RNG_0,{math_0_{score_variables-size_tier5}-1}}%
here
i wanna use the formatter to format the "tier5" bc this returns a command
like
pokegive %player_name% magearna customtexture:bunny
but this don't work, so i change to pokegive=%player_name%=magearna=customtexture:bunny
and i wanna change the = to space in my final command in deluxe menus
im making this system to two server owners
but im have this problem
idk
ok, thx
Hi, does %griefprevention_currentclaim_ownername_color% not working properly anymore?
it does work when im in unclaimed areas but gives "<PlaceholderAPI Error>" when im in a player's claim
hello, im having problem with the placeholders
whenever i restart server or download new ecloud placeholders and reload papi some of the placeholders broke and only get fixed when we reinstall papi but it breaks again sometime later
coinsengine and %togglepvp_state% gets broken everytime
Does anyone know why %player_name% isnt working at all ?
Have you downloaded / installed the Player expansion
works for me
are you using tab on proxy or backend?
Anyone help pls
Ahh thank you!!
How can I turn this into an integer with java? %vault_eco_balance_commas%
Integer.parseInt(PlaceholderAPI.setPlaceholders(yourPlayerVariable,"%vault_eco_balance%"))
Thank you 🙂
IDK whats wrong wityh placeholderapi, but when i use the %bungee_total% placeholder, it shows 0 players. What might be the problem, i also use velocity proxy, maybe something with the proxy?
When I use the %server_tps_1% placeholder, a " * " sometimes gets added in the front on the number, and I don't know why this is the case. Can someone help me?
nvm
to fix it you do: %formatter_text_replace_*__{server_tps_1}%
Hi check items and lores
https://prnt.sc/VHEcvd1SfSSR
%parseother_{{player}}_{formatter_text_replace_|_\n_{checkitem_getinfo:0_loreequals:}}%
help
Would anyone know why my requirment isnt working for checking my SkillAPI placeholder? I have to regerstering in the title of the GUI
'skill_point_use':
material: EXPERIENCE_BOTTLE
slot: 4
lore:
- '&7Use a skill point to gain temporary effects!'
- '&7You currently have {%sapi_default_currentavailableskillpoints%} skill points.'
# Assuming "sapi_default_currentavailableskillpoints" is a placeholder that holds the skill points.
click_requirement:
minimum_requirements: 1
stop_at_success: true
deny_commands:
- "[message] &7You don't have 1 of the 2 permissions required."
requirements:
has_points:
type: ">="
input: %sapi_default_currentavailableskillpoints%
output: 20
click_commands:
- "[message] &7You have 1 of the 2 permissions required."
API Leaderboards Bedwars1058 and changed to Solo and Doubles and 3v3v3v3 and 4v4v4v4
pls
correct me if im wrong, but to my knowledge, placeholders only work in visible text
they can be used anywhere as long as the plugins you use them in support it
oh. thanks for the info
what does /papi parse me %sapi_default_currentavailableskillpoints% return in chat?
and what's your DeluxMenus version?
Hey can i ask who works on the Server Expansion for Papi?
I wanted to ask about the %server-mspt-colored% placeholder. i had to download from github since it's not part of the official on ecloud
is that the exact placeholder? because papi uses underscores
where did you get it on github?
if i use underscore in discord it would format the text
Found this site
https://github.com/PlaceholderAPI/Server-Expansion/issues/7
then lead to this
https://github.com/Ikenychi/Server-Expansion
ah yes, you can use `` to escape that
completely forgot about that xD
so you're looking for Ikenychi/ChimneySwift?
gaby said it wasn't going to be added to the one on the ecloud
he recommende using spark's placeholders
i'm not entirely sure what you're looking for, just putting info out there
yes, im used to the server's placeholder. since we use the tablist. so was wondering if it was going to be part of the official
but since not it's all good.
gaby closed as "completed" but prob should've done not planned
if that was a thing back then idk
i tried the spark's placeholder but im not looking for 3 or 6 or 9 values. just 1 value to show current mspt.
does spark have that 1 only?
When will the update for 1.20.2-1.20.4 be released ?
For PAPI?
Yes
Have you tried it on those versions?
Just because it doesn’t say it supports those, never hurts to try to check if they do. Iirc they do as they work on my server.
Yes, give error
What’s the error?
I can't say now, I've already left the computer, it's night, I'm from Ukraine, tomorrow I'll be able to say, is this suitable for you?
Fair enough, I mean sending it here should be fine as someone should be able to help!
That's how I do it from tomorrow morning
alguien sabe como restablecer una variante
Hello,
I've just noticed a new thing with placeholders, when I do a /papi reload, there are no more placeholders working and I have to restart my server to get them working again, it's not very practical :/
Should be supported may be a dev build
Is it your custom plugin or is it someone else’s?
Someone
Hey, I cant seem to load the expansion for mcmmo.
Any ideas why this would not work: https://api.extendedclip.com/expansions/mcmmo/
I am on 1.20.4, with the latest placeholderapi
i think it's internal now, no need for expansion @hard cosmos
Hmmm
Nothing about it in the wiki
I am creating menus for them and using some javascript
I think I just forgot to upload the plugin itself
hi guys
actually when i downloaded few placeholders
it doesnt load
like vault servertime and superb vote and coinsapi
Yeah I transfered my deluxemenus but not mcmmo: 🤦♂️
weird, but it is included (double checked on github)
it's on our wiki lol https://wiki.placeholderapi.com/users/placeholder-list/#mcmmo
but not theirs
i let them know about that
Haha
but anyway, i have an issues when following the guide https://wiki.placeholderapi.com/developers/creating-a-placeholderexpansion/ using the internal method, and it seems like does not work. i have registered it, and i can see it in papi list.
ok i fixed it lmao, it was because i used Identifier.* instead of Identifier_ ....
how do i do click requirements but check a placeholder if its set to a specific number like 20 so %lssmp_hearts% = 20
ping me if u can help
How comes with parseother if I try
%parseother_unsafe_{username}_vault_eco_balance% it just returns ault_eco_balanc, just removing the first and last letter of the placeholder
Adding an extra v at the start and e at the end fixed it but just seems strange
put the vault placeholder within {}
Is there any way to make the value of the placeholder depend on who is looking at it, and not on who it is applied to?
I searched for information about this on various forums and wikis, but I did not find an answer
For example, in the placeholder tab %vault_prefix% will display the prefix of the player to whom the placeholder is applied, but I need it to be applied to someone who looks at this placeholder
%vault_prefix% will display a different value for every player
it will display their own prefix
Perhaps you misunderstood me
For example, in the screenshot, the prefix is applied to a certain player and everyone sees the same prefix of the player to whom it is applied, but I need its value to be displayed depending on who is looking at it
I need this for my plugin, which has its own placeholder
I'm just using the %vault_prefix% example for illustrative purposes
what tab plugin is this
TAB
hmm, I don't really understand still
to be honest
do you want the prefix of another player to change depending on who is looking at it?
you need relational placeholders
yes
I maybe think vault prefix was a bad example to use, I get it now
for your own plugin
If checkitem remove is not recommend, what should I use?
there is a tutorial linked inside that tutorial
grrrrrrrr that's going to suck
they are changing the whole item format next update, so much updating ;-;
thanks though!
annnnnnd rip the idea of mat contains, name contains, etc :/
I'll probably have to find something else besides vanilla commands cuz it seems too limiting
it's the least limiting thing @warm plover
well I know it would allow for more complex checking
But with how my item system works, not having the concept of "mat contains" and "name contains" is unfortunate, unless it has support for that and I'm a dummy
ahh
I did find another remove item thing in one of my plugins that works with my item plugin, so that's a win
Thanks again though 🙏
...^^
@quartz nacelle 
ty 🙂
all the ones you listed seem to register
wdym?
do the placeholders work if you type /papi parse me %placeholder%
in placeholder i will add the name of placeholder or only this
replace it with your placeholder
it says aan internal error occured
i tried with vault
vault_eco_balance_formatted
i cant paste
i need to copy whole logs?
i did some correction and all started working except playertime
nvm that also fixed
ty for help
'slot_29':
material: GOLD_INGOT
model_data: 128022
Why is my customModelData not working?
last one is servertime
pls tell
sorry i was downloading the wrong placeholder
i am done now tysm!
LMAO
how do i formet time
%realmines_secondsleft_Easter% this will give me 2000 [sacons]
idk how to formet
wheres papi i need papi omg 😭
yoooooooo
do this server support like uhhhhhh
pvp modpack vanilla thingy thingy?
cusssss
just ping me when helper came
ba bye
is there a placeholder that shows the time until the end of the ban. I use LiteBans
hello guys i tryied to add my placeholder in plugin but i dont know why its not working can you help?
package io.github.mrbeezwax.customleveling;
import me.clip.placeholderapi.expansion.PlaceholderExpansion;
import org.bukkit.entity.Player;
import org.jetbrains.annotations.NotNull;
public class LevelProgressPlaceholder extends PlaceholderExpansion {
@Override
public @NotNull String getIdentifier() {
return "level_progress";
}
@Override
public @NotNull String getAuthor() {
return "YourName";
}
@Override
public @NotNull String getVersion() {
return "1.0";
}
@Override
public String onPlaceholderRequest(Player player, @NotNull String params) {
if (player == null) {
return "";
}
float experiencePercent = player.getExp() * 100;
// Calculate the number of filled squares based on the experience percentage
int filledSquares = (int) (experiencePercent / 10);
// Generate the progress string
StringBuilder progressString = new StringBuilder();
for (int i = 0; i < 10; i++) {
if (i < filledSquares) {
progressString.append("■");
} else {
progressString.append("□");
}
}
return progressString.toString();
}
}
PlaceholderAPI version is 2.11.5
The problem is when i try to use it
/papi bcparse BogdanBoner %level_progress%
i shows only "%level_progress%" on chat so its probably not working at all
your identifier cannot contain _
so how it should look like?
ok i understand now ill try only
return "progress";
}```
placeholder will be? %progress%?
yes
the full example on the wiki would be %example_placeholder1 or %example_placeholder2
ok thx for help its like this right?
package io.github.mrbeezwax.customleveling;
import org.bukkit.OfflinePlayer;
import org.bukkit.entity.Player;
import org.jetbrains.annotations.NotNull;
import me.clip.placeholderapi.expansion.PlaceholderExpansion;
public class LevelProgressPlaceholder extends PlaceholderExpansion {
private final CustomLeveling plugin;
public LevelProgressPlaceholder(CustomLeveling plugin) {
this.plugin = plugin;
}
@Override
@NotNull
public String getAuthor() {
return String.join(", ", plugin.getDescription().getAuthors());
}
@Override
@NotNull
public String getIdentifier() {
return "customleveling";
}
@Override
@NotNull
public String getVersion() {
return plugin.getDescription().getVersion();
}
@Override
public String onRequest(OfflinePlayer player, @NotNull String params) {
if (!params.equalsIgnoreCase("progress")) {
return null;
}
if (player == null || !player.isOnline()) {
return "";
}
Player onlinePlayer = player.getPlayer();
if (onlinePlayer == null) {
return "";
}
float experiencePercent = onlinePlayer.getExp() * 100;
int filledSquares = (int) (experiencePercent / 10);
StringBuilder progressString = new StringBuilder();
for (int i = 0; i < 10; i++) {
if (i < filledSquares) {
progressString.append("■");
} else {
progressString.append("□");
}
}
return progressString.toString();
}
}
and placeholder will be %customleveling_progress%
yes
hello question, does this plugin allow trading?
How can I make a shop within deluxe menus for a secondary currency like player points
check the example here https://wiki.helpch.at/helpchat-plugins/deluxemenus/example-gui-menus#store
@azure flare
Hey, someone knows a expansion for block breaks but optimized? To show it on scoreboard, on a prison server
I saw multiple servers using it on scoreboard without lagging and updating each block break (large playerbases servers) 🤔
hello im using a multiserver setup named multipaper
is there a way to sync all the data between servers so i can create placeholder from player that are not on the same server ?
Hello guys, I hope you're doing well. I have a question about using Checkitem. I'm having an issue with it, as I don't know how to retrieve the advancedenchantments:ae_book_level, but I can retrieve the advancedenchantments:ae_book.
For the ae book, I use this: %checkitem_getinfo:mainhand_nbtstrings:PublicBukkitValues..advancedenchantments:ae_book=%
With the ae book level, I use this: %checkitem_getinfo:mainhand_nbtstrings:PublicBukkitValues..advancedenchantments:ae_book_level=%
However, it doesn't return the level. How could I make it return the level?
Thank you very much, and excellent development.
nbt:NBTTagCompound:PublicBukkitValues:{"advancedenchantments:ae_book":"plantar","advancedenchantments:ae_book_failure":0,"advancedenchantments:ae_book_level":1,"advancedenchantments:ae_book_success":100}|INTEGER:CustomModelData:0
That the NBT of the item
ty
hey! i was wondering if it was possible to edit placeholders outputs via papi? like make a placeholder that uses another placeholder, and edits the output
i remember doing it on a server i used to work for ages ago but can't remember how haha
is it possible to link a placeholder to another server, i have a lobby and i want it to show "essentials_safe_online" for the survival player count excluding vanished
found this from 2020 lol, seems to be from placeholderapi:
function flyStatus(){
if("%essentials_fly%" === "no") {
return "&c&lDisabled";
}
if("%essentials_fly%" === "yes") {
return "&c&LEnabled";
}
}```
how/where would i create sum like this? is there a tutorial?
what js methods can i use at the js expansion?
changeoutput @austere hawk
%changeoutput_equals_input:{essentials_fly}_matcher:yes_ifmatch:&c&lEnabled_else:&c&lDisabled%
js will be a little less efficient just fyi @austere hawk
how come?
you have to start a javascript engine every time you parse the placeholder
does it effect server performance and/or ram?
ram usage is going crazy af looking at it 💀
try to use javascript in really dire situations
got it on the tab
i'll do that instead, ty
can you use spaces with this?
&r&c%changeoutput_equals_input:{player_world}_matcher:world_ifmatch:Build World_matcher:world_the_nether_ifmatch:Build Nether_matcher:world_the_end_ifmatch:Build End_matcher:resource_world_ifmatch:Resource World_matcher:resource_world_nether_ifmatch:Resource Nether_matcher:resource_world_end_ifmatch:Resource End_else:&null%
doesn't seem to work - not sure why
okay changed to this:
%changeoutput_equals_input:{player_world}:matcher:world_ifmatch:Build World_matcher:world_the_nether_ifmatch:Build Nether_matcher:world_the_end_ifmatch:Build End_matcher:resource_world_ifmatch:Resource World_matcher:resource_world_nether_ifmatch:Resource Nether_matcher:resource_world_end_ifmatch:Resource End_else:null%
now it's just shooting out null
that's because your syntax is not at all correct
If you want to do multiple things like that you could use utils and nest changeoutput placeholders
or you could use the string replace feature which uses a defined list in the config
(might be ideal for worlds if you have a bunch)
%utils_parse_changeoutput_equals_input:{player_world}_matcher:world_ifmatch:Build World_else:{changeoutput_equals_input:{player_world}_matcher:world_the_nether_ifmatch:Build Nether_else:{changeoutput...}%
hi!
i dident ping :/
hello, why %essentials_afk% return "yes/no" insted of "[AFK]"
didn't I already answer you?
oh its u xD i did not get notify
?
ur english is weird
turkey? you
nah ...
russian ? you
no
engilish? you
no
japan?
no
What
dont spam here
who you worl
dm me if u want somethin
you england Michael Jordan
ye obvious by grammar
dm me ... dont spam here
flag no you spam?
flag no hacker? spam
@✨𝓢𝓱𝓮𝓵𝓫𝔂✨ Hacker
@exotic gull HACKER\
dm me dont spam here
hey, im using decentholograms and im trying to make it say welcome %player% but its not saying the players name, just %player%. I have the player expansion and also my %essentials_nickname% isnt working too, i use it to say the players name in my chat (i have the expansion)
?player
i did that
did you run /papi reload?
I see you reloaded DecentHologram in the screenshot, but I don't see PAPI being reloaded
when i do papi reload it doesnt come up with a message in chat
even after i restart the server it still doesnt work
my server is 1.20.4 could that be why?
you have an issue with your math expansion (which could prevent other expansions from loading)
try redownloading it or deleting it
i have but it seems the whole of placeholderapi just isnt working
ok ill try uninstall math and see if it changes anything
i deleted math from the expansions folder and im gonna restart my server is that the right way?
oh damn u was right it works now ty
/papi reload should work as well
yes it does ty
how could i get my math expansion to work though i really need it for my hearts display below player's names
try redownloading it
maybe the jar was corrupted
if it throws an error again, send it here
?paste
thank you
seems fine, what's the issue?
it would, depending on where you're using that
/papi cmdparse
because if you use a normal command in your chat box, placeholders aren't parsed
unless the cmd does it but none of them do that
and usually you don't need it, since you're likely going to use the cmd in a plugin, which does support PAPI
you wouldn't need the parse cmd
since DeluxeMenus parses PlaceholderAPI placeholders in commands already
so just use the normal cmd with the faction placeholder in your click commands in DeluxeMenus
When I write Papi ecloud download Vault, the plugin does not download, the plugin I want says, a plugin named: Vault was not found
@junior musk
When I write Papi ecloud download Vault, the plugin does not download, the plugin I want says, a plugin named: Vault was not found
Hello, i installed the server extension with /papi ecloud download Server and it does not show in the placeholders list after a reload
?startuplog
send your log over @long spoke
?paste
the log file does not looks right
I mean 177689 lines of znpcs errors
i'm trying without it
it worked :D
When I write Papi ecloud download Vault, the plugin does not download, the plugin I want says, a plugin named: Vault was not found
@junior musk vault is installed
no need to ping random people btw people will respond
My eyes are sore
https://paste.helpch.at/icovexares.yaml
Why doesn't the You dont own this kit seem to not work?
@mint fable my fav help me 😢
i fixedc
How can I make it so a permission isnt needed to open a single menu?
yo
send the link you get after running /papi dump
there's no permissions by default
unless you added open requirement
What should I do more clearly?
hi
is it possible to link a placeholder to another server, i have a lobby and i want it to show "essentials_safe_online" for the survival player count excluding vanished
send the link you get in chat after running the command
where can i send my logS?
?paste
there's an issue with your LifeStealCore placeholders
the expansions wasn't downloaded
what does it say when you run
/papi ecloud download Vault ?
It says that the vault could not be developed
Ss
download it manually then
Hi! I'm looking for someone to create relational placeholder to returning a color when other people are in different world
Reference: Origin Realms
I downloaded this too, same error again
How do I download it manually?
hey after u done pls help me in general plugins 🙂
I just sent you a screenshot of text that is on the page I sent you
I don't know how to download manually, can you help me, what should I do?
Thank
what?
Ok
Hi, i installed the playerpoint expantion, but after a reload it doesn't works
The logs says [PlaceholderAPI] Cannot load expansion playerpoints due to a missing plugin: PlayerPoints
How do i fix that ?
https://paste.helpch.at/uwijinarop.md
https://imgur.com/a/5PQuoqS
I installed the expantion manually since it's not in ecloud
https://api.extendedclip.com/expansions/playerpoints/
You already install Playerpoint plugin right?
yes
it is red
That's the problem
Maybe its not support for new version or missing some dependencies plugin 😄
maybe
I'm wondering is there any possible way for javascript placeholder to return a condition case? For instance, i have my config like this, and i want it to return case 1 if they have more than 32 stone, else it returns case 2 https://paste.helpch.at/yirevimiza.csharp
Thanks
if (amount > 32) return "smth"
return "smth else"
Thanks
hey there, i'm trying to figure out another utils shortcut shenanigan that result in an error but i'm not sure why
i'm trying to use mmocore's placeholder %mmocore_skill_parameter_<parameter_name>:<skill_name>%
in my case, i want it to return the cooldown stat of a skill, so "parameter_name" is "cooldown"
as for the skill name, my goal is to fetch this element from another placeholder... but!
because mmocore likes to make stuff complicated sometimes, the placeholder that gives out the skill name i want have some extra formating (colors, spaces, problematic accents...) so i made some automatic replacement through a string preset
so the skill name placeholder is something like that
%string_replaceCharacters_skill_{utils_uncolor:each_mmocore_bound_1}%
it works perfectly
so now i would like to make an utils shortcut for this bad boy :
%mmocore_skill_parameter_cooldown:{string_replaceCharacters_skill_{utils_uncolor:each_mmocore_bound_1}}%
but it doesnt work. i'm not sure why
if i parse %string_replaceCharacters_skill_{utils_uncolor:each_mmocore_bound_1}%, i get Boule_de_feu, which is the intended output
if i parse %mmocore_skill_parameter_cooldown:Boule_de_feu% i get 8, which is also the intended output
/papi parse me %utils_parse_mmocore_skill_parameter_cooldown:{string_replaceCharacters_skill_{utils_uncolor:each_mmocore_bound_1}}%
what does it return? and do you get an error in console?
then what doesn't?
utils:
shortcuts:
skilltotalcd: "%mmocore_skill_parameter_cooldown:{string_replaceCharacters_skill_{utils_uncolor:each_mmocore_bound_1}}%"
/papi parse me %utils_shortcut_skilltotalcd%
this doesn't

the main difference between your command and mine is that you added utils_parse
i've never used that before
I'm not parsing the placeholders as if it were utils in the shortcut
so you do still need utils_parse_ even in the shortcut
I thought I did but I guess it's better this way, just in case, somehow
now it works, thank you as always
I'm using the TAB plugin, with a hearts display on the belowname, I have an expansion on papi ecloud called 'Math', my issue is I need to take away the the decimals because i just want it to display a double digit number, on my other server it just says the amount of hearts but on my new server it has this issue, does anyone know how to fix? https://imgur.com/a/ZiY7iCt
math_0_<expression>
tysm
soo I have an issue with my placeholders in regards of:
- Citizens
- VotingPlugin
I'm trying to basically USE %votingplugin_canvotesites%;
on a normal hologram, it works but on citizens it doesn't work (no player), I'm on latest version of placeholder API; VotingPlugin and Citizens2's build.
Things do not appear to want to work for me.
https://imgur.com/a/qEUKk5L
I was able to download the ecloud needed for the values and execute the reload command and they all said it was successful
/papi dump
send the link you get in chat
does jetsprisonmines have a default placeholder when not in a mine?
it kind of freezes if not in a mine and if you relog, it defaults to the %% format
- %jetsprisonmines_name%
- %jetsprisonmines_time_until_reset%
edit: Im using it for a scoreboard, not holograms
How does one get my expansion re-verified?
https://api.extendedclip.com/expansions/floodgate/
I see Vault but not player
and what does /papi parse me %vault_rank% returns in chat?
Someone will reverify it when they can
It returns the vault rank like it should
then it could maybe be because of the V and R
try %vault_rank% in your scoreboard in full lowercase
ok that applied correctly
and then I got the one for player done, when things worked the first time it worked without the player expansion, but downloading that and reloading fixed the rest, thanks for the help
Thank you
verified. fyi you have a plugin.yml in the jar
Thanks, must have been left over in my local env from when I tried to make it also a plugin. Should be safely ignored but if I make any updates or get an issue report ill make sure they are removed.
Hey, anyone available to pick their brains about CMI aliases and calling placeholders for other people?
I have a roleplay server and we store RPG traits using CMI usermeta placeholders. When I run /papi parse --null %parseother_{[username]}_{utils_parse:2_Shortcut_book_trait_{cmi_user_meta_astrophobiatrait0}_name}%, I get the expected placeholder for that user's trait (where [username] is swapped out for someone's username, like bleyjo or AstrophobiaRP.
However, when trying to parse this using an alias it returns my trait (as in the person who runs the command) instead.
The alias command is msg! [playerName] &aSpecies trait: &2%parseother_{$1}_{utils_parse:2_Shortcut_book_trait_{cmi_user_meta_astrophobiatrait0}_name}% where $1 is the name of the user. At this stage of the command, $1 has already been verified to exist and also be the name of a player who's online.
earlier in the same command, %parseother_{$1}_{cmi_user_metaint_AstrophobiaXP}% is able to parse that user's XP. So I think the issue can be narrowed down to the custom alias command interacting with either the utils_parse or the shortcut PAPI.
I've also sent a message in the Zrips discord but no response yet
%utils_parseplaceholder:[$1]_shortcut_book_trait_{cmi_user_meta_astrophobiatrait0}_name}%
No dice, still catching my usermeta instead of the targetted user

can you put in just {cmi_user_meta_astrophobiatrait0}
without any %% around
just to see if it parses
doesn't respond w anything on its own
%parseother_{$1}_{cmi_user_metaint_astrophobiatrait0}% responds with that user's correct number (for my guinea pig it's 109)
its just finding a way to plug that into the shortcut placeholder
each trait is stored as a shortcut file named book_trait_[number]_name, and I'm trying to put a targetted user's stored trait number value in that number slot
but it keeps accidentally catching MY value even though im trying to specify another user
but it only accidentally catches my value through running it as a CMI alias, it doesn't when I run it through /papi parse
that's what's confusing me the most
I'm 90% sure it's how CMI is handling parseother.
/papi parse --null %parseother_{AstroEdo}_{utils_parse_shortcut_book_trait_{cmi_user_meta_astrophobiatrait0}_name}% returns Enhanced Vision (the correct value)
using a custom alias that runs msg! [playerName] %parseother_{AstroEdo}_{utils_parse_shortcut_book_trait_{cmi_user_meta_astrophobiatrait0}_name}% returns no |AstrophobiaRP yes ('AstrophobiaRP' is the name of the account I'm running the command on)
the command is identical, the only thing that's different is me running it through /papi parse and running it through a CMI custom alias
I can now guarantee with 100% accuracy that the issue is with CMI nestled placeholder processing, will update again if I ever find a fix for this
Solved it!!!
tossing in a ptarget:$1! into the cmi command fixed the issue completely. The final CMI command was asConsole! ptarget:$1! msg! [playerName] %utils_parse_shortcut_book_trait_{cmi_user_meta_astrophobiatrait0}_name%, which provides the cmi usermeta for the user specified by ptarget
is there a way to fetch blocks mined for all ores, or a block tag? i have a math placeholder that works fine on its own, but im trying to put it into a leaderboard, and causes issues with the leaderboard when i try to parse it, because it is too big. i couldnt find anything on the wiki for this unless i missed it, any help would be appreciated
ping me with your response please!
Is it possible to use multiple Placeholders in a Placeholder?
Currently, I have it like this: %objective_score_cashTeam_%team_name%%, but the result is 0team_name%%
Is possible with an expansion, just trying to remeber the name of it
https://api.extendedclip.com/expansions/utils/ documentation on it can be found here https://github.com/Tanguygab/Utils-PlaceholderAPI-Expansion
Alright, thanks!
Hi! Not sure, but is it possible to create my own placeholders using PlaceholderAPI and changing the value through other plugins?
make the placeholder return stuff from a Map
and make that Map public so other plugins can access it
or make a plugin with commands to change the values and use those commands in other plugins
or just use ServerVariables
amazing plugin 🙏
?help
Hello how to fix this ?
07.04 16:38:53 [Server] WARN [PlaceholderAPI] Failed to load external expansion votingplugin. Identifier is already in use. 07.04 16:38:53 [Server] WARN [PlaceholderAPI] Cannot load expansion votingplugin due to an unknown issue.
anyone?
go t /plugins/PlaceholderAPI/expansions/expansion-votingplugin.jar and remove the votingplugin expansion
Hello, I'm trying to find the placeholder for teleporting players through a command panel...
I need voting plugin expansion … am using it
the plugin VotingPlugin has it in its jar i believe, thats why u r getting the warn
/tp %player_name% {location} ?
✅
how do i use checkitem expansion's getinfo modifier to extract double values? wiki page only shows int and string options
Where would I input that?
what did you mean by "command panel"
It's the plugin I'm using
ah so a deluxemenus alternative, ive never used it tho ig u make it run the cmd as console
I'm very new to running a server as well as using plugins so I'm just not sure how to make it run the command
I'm using "Command Panel Editor" online
I tried to post a picture here to show you what I mean but i'm unable to do so,
Is there a way for me to show you the screenshot i took?
is it possible to show a specific player's kills using placeholder
for example, if i want to show kills of a player named 'example', is there any placeholder for this?
How do I update an expansion when the plugin indicates that there is a new version?
Bump
I am trying to make a gui with the item name being a specific tag. I want the name to show the colors and all that. I can't figure out a way to get the tag display in code. I know placeholder-api but I don't know how to use it in my code?
Would I just do "%deluxetags_tag_1%"? or how does it work?
in your java code or in deluxemenus?
java code
What would the setplaceholder be as in a gui I don’t have a player
use null
not all placeholders support null
obviously the dtags should be fine
just lapsed in what was going on for a sec
thank you so much!
Is the Bungee placeholder broken?
Hello guys
Could someone help my on my code
private void updatePlayerPlaceholder(Player player, String placeholderKey, int addValue) {
String placeholderName = "%" + placeholderKey + "%"; // Nazwa placeholdera
// Pobierz aktualną wartość placeholdera dla gracza
String currentValue = PlaceholderAPI.setPlaceholders(player, placeholderName);
// Sprawdź, czy aktualna wartość placeholdera jest liczbą
int currentValueInt = 0;
try {
currentValueInt = Integer.parseInt(currentValue);
} catch (NumberFormatException e) {
// Jeśli aktualna wartość nie jest liczbą, zignoruj aktualizację
getLogger().warning("Aktualna wartość placeholdera " + placeholderName + " nie jest liczbą!");
return;
}
// Dodaj nową wartość do aktualnej wartości placeholdera
int newValue = currentValueInt + addValue;
// Utwórz mapę, która będzie zawierała pojedynczą aktualizowaną wartość placeholdera
Map<String, String> placeholderToUpdate = new HashMap<>();
placeholderToUpdate.put(placeholderName, String.valueOf(newValue));
// Zaktualizuj wartość placeholdera dla gracza
PlaceholderAPI.setPlaceholders((OfflinePlayer) player, placeholderToUpdate);
}
im trying to update my placeholders value but i cant find how to modify them exacly on wiki
also here is my code for request and register
package org.example;
import org.bukkit.OfflinePlayer;
import org.jetbrains.annotations.NotNull;
import me.clip.placeholderapi.expansion.PlaceholderExpansion;
public class CustomPlaceholder extends PlaceholderExpansion {
private final Main plugin;
public CustomPlaceholder(Main plugin) {
this.plugin = plugin;
}
@Override
@NotNull
public String getAuthor() {
return String.join(", ", plugin.getDescription().getAuthors());
}
@Override
@NotNull
public String getIdentifier() {
return "bonus"; // Zmieniłem identifier na "bonus" zgodnie z wcześniejszymi instrukcjami
}
@Override
@NotNull
public String getVersion() {
return plugin.getDescription().getVersion();
}
@Override
public String onRequest(OfflinePlayer player, @NotNull String params) {
// Tutaj implementuj logikę dla różnych placeholderów
// Dla przykładu, zarejestrujemy kilka placeholderów z wartościami domyślnymi
switch (params.toLowerCase()) {
case "miecze":
case "sztylety":
case "strzaly":
case "dzwony":
case "krytyk":
case "hp":
case "zwierzeta":
case "diably":
case "mistyki":
case "przeszycie":
case "wojownikatak":
case "szamanatak":
case "ninjaatak":
case "suraatak":
case "wojdef":
case "szamandef":
case "ninjadef":
case "suradef":
case "obrona":
return "0"; // Domyślna wartość dla wszystkich placeholderów
default:
return null; // Placeholder nie jest obsługiwany
}
}
}
@Override
public String onRequest(OfflinePlayer player, @NotNull String params) {
if (something)
return "your value";
return null;
}
so i need to update values of them in onRequest only i cant do it in another way in code?
you could save the values into a hashmap, and get the map's values from the onRequest
?not-discord
what do u mean not discord
did you read the bot's message?
mood
You okay?

@versed warren
@versed warren funny guy in the chat


Or @glad glen :D
Kk
gg
Ty
thanks
how do i use checkitem expansion's getinfo modifier to extract double values? wiki page only shows int and string options
probably won't be possible
that's all that is supported atm (no plans to add anything)
sadge
Hi, how can I see which expansion has an update available when indicated by papi on the console?
Hi, i have a PAPI extension that is not on ecloud. How can i add it to PAPI manually ?
your_server_folder/plugins/PlaceholderAPI/expansions/
I have PlaceHolderAPI and SimpleScore, im attempting to get the balance & rank Placeholders to work but it doesnt- i have added in the expansions into the folder as well but it still doesnt do anything, is there something im missing?
https://paste.helpch.at/axafuboqey
And for the placeholders:
%vault_eco_balance_formatted%
%vault_prefix% <- Will need to be changed to essentials or luck perms depending on what i need to use for ranks as i didn't figure those out yet.
And i wanna add a placeholder for marriage master if possible. like the name of the person you're married to.
%vault_prefix% is correct
though Vault doesn't show in your expansions
did you download it ?
/papi ecloud download Vault
/papi reload
(there's a plugin and a PAPI expansion)
oh yea, wait i didnt add that one. is that also what i need for the ranks? im using luck perms and i want the rank to show in front of ur name. is it vault where it cooperates with or is it just standalone and i need luckperms addon?
Vault is a bridge for both Economy and Permissions plugins
ooo
Essentials provideseconomy, LP the permissions, and they both share their info with Vault
other plugins can then access Vault to get Ess & LP's info
im still a little new to this, i made a server when i was quite joung but it didnt become anything so im giving it another shot and i wanna make it professional this time but this is something i didnt get really far in so yea!
that's what the Vault expansion for PAPI does
ohh k!
basically; PlaceholderAPI and Vault are bridges to share info between plugins, and the Vault expansion for PAPI is yet another bridge between those two plugins XD
quite a mess 😅
it is quite a mess 😂
any placeholder/idea in how ll be able to get if a block has water next to it?
vanilla tags doesnt seem to have it
do you have the block's coordinates?
i do, but doesnt work in what i want to do
:D
it causes me limitations that i dont wanna get, thats why i m looking for a possible placeholder
ooof
i ll make an attemp to make one 💀
that returns true or false
and parse it for the targetted block or smth
chatgpt time 
is there by any chance a papi for marriage master? i see one for marriage reloaded but i prefer marriage master tbf.
i think its built-in?
it aparently is! thanks!

hey can i somehow separate each placeholder in a new class?
sure, #development might be able to provide more help on that process @radiant vigil
ok thanks
What placeholder is needed to get a command panel to run a command to teleport a player to their claim while using grief prevention as the claims plugin
Hey there I want to ask something , is it possible to create a leaderboard like top 10 players displaying their username and the amount who killed any specific mob or mined and specific blocks or distance travelled with elytra etc
How to display an ✘ when the player has no rank (basically 'default') rank in luckperms, and when he has an rank display the rank then (in my scoreboard) using ChangeOutput? I got this far but this doesn't work.
%changeoutput_equals_input:{vault_prefix}_matcher:{vault_prefix}_ifmatch:{vault_prefix}_else:✘%
use default in the matcher:
If you have a placeholder for what you want to track (kills, distance travelled with elytra etc...), you can use ajLeaderboards https://www.spigotmc.org/resources/ajleaderboards.85548/
assuming you want the player's name, and your plugin supports PlaceholderAPI, you need %player_name%
and don't forget to download the Player expansion:
/papi ecloud download Player
/papi reload
That didn't work, now it always has the ✘ symbol even tho I'm switching ranks
Currently it mentions 'Owner' (since that's the rank i applied to myself) but in my scoreboard it still shows the ✘
what about /papi parse me %changeoutput_equals_input:{vault_prefix}_matcher:default_ifmatch:{vault_prefix}_else:✘% ?
oh
I just realized
you did it the other way around
/papi parse me %changeoutput_equals_input:{vault_prefix}_matcher:default_ifmatch:✘_else:{vault_prefix}%
this should be better
Nope, now the value is empty again when i'm on the default rank of LP. When I put my self on the owner rank it shows owner in my scoreboard, but default shows nothing.

/papi parse me %vault_rank% %changeoutput_equals_input:{vault_prefix}_matcher:default_ifmatch:✘_else:{vault_prefix}%
run this command as default
what does it say in chat?
then it says default
nothing after that?
what about this? /papi parse me %vault_rank% %changeoutput_equals_input:{vault_prefix}_matcher:default_ifmatch:test✘test_else:{vault_prefix}%
charReset is the permission?
the temp permission?
ma'am* tips hat
uh
latest luckperms?
5.4.121?
might have to report this to luckperms
ah so
seems to have been an issue for years
maybe bump it
and maybe ask in the discord
is there a way to fetch blocks mined for all ores, or a block tag? i have a math placeholder that works fine on its own, but im trying to put it into a leaderboard, and causes issues with the leaderboard when i try to parse it, because it is too big. i couldnt find anything on the wiki for this unless i missed it, any help would be appreciated
ping me with your response please!
I need placeholders as well if there is any wiki or website to locate that will help 🙂
And I have cmi so it will also work right if i don't want to use ajlb
Then it says default again, nothing after that or so.
i need help with placeholders
i am unable to use :
ascii
player expansion
server expansion
playertime expansion
and many
none of the placeholders are working in the chat tooo
@mint fable
@idle coral
specifically %vault_balance% not working
it's vault_eco_balance
i want to know why player expansion and server expansion not working
and 1 expansion to be updated i did /papi ecloud update all
they are loaded but not working in chat
are you sending placeholders in a chat message?
because placeholders don't get parsed when you send messages
ye just normally typing the placeholder and it should get the appropriate result ryte
i used to be??
it never did
damn but i used to use em in chats
what for ?
like at covid times
for staff purpose
then use /papi parse <player> <placeholders>
ok
/papi parse chatto %player_is_banned% for example
ok got it
and secondly if i ever wanted to search up placeholders the list of them
where do i find em??
ok great
thanks for help
i did parse cmd and in the place of plaxeholders field i added server
it just reurns server in chat
what did you write exactly and what did it return exactly?
i did:- /papi parse phatto server it said;- |server
i wanted to happen like placeholders work in chat normally when he send in chat
you didn't provide any placeholder so it just returns what you wrote
that's not possible
that placeholder name is "server"
that's not a placeholder
you have the list here
the syntax is %expansionName_parameters%
ti need to do every single %example% lines to parse?!!
ok
does anybody know a placeholder that returns the direction of a player that is looking?
besides the %player_direction% cause that returns W E S N i want the whole name
js would be easier
worse
^
oke i think i have a solution i think
i can use the string expansion
and utils
js starts an engine each time it's called
prob just string, no?
the replacechar
forgot about that
%string_replaceCharacters_<configuration>_<string>%
configuration defined in papi config
prob the best
ik how to make with shortcut easier tbh
OH I SEE
string:
replacements:
worldguard-regions:
Titan: '&6Titan'
small-numbers:
'0': ₀
'1': ₁
'2': ₂
'3': ₃
'4': ₄
'5': ₅
'6': ₆
'7': ₇
'8': ₈
'9': ₉
ye i think its easier with the string 💀
fs
works perfectly fine! thank uu 
well
if the placeholder returns Titan
it will change it to &6Titan
like %string_replaceCharacters_wodlguard-regions_Titan%
can you help me i need a javascript that will do this
%vault_prefix% --> :owner: --> owner -- > %img_owner%
%vault_prefix% --> :player: --> player -- > %img_player%
i need this for my new itemsadde rrank system
use the ImgFix expansion
/papi ecloud download ImgFix
/papi reload
%imgfix_{vault_prefix}%
tnx
Hey there, any idea what's causing this error spam?
i just spent 20min working out why i didnt get an output for my js placeholder and i hadn't called the function.
Can I put spaces in the text within changeoutput's 'ifmatch' response?
yes
I have this, but doesn't seem to work.
%changeoutput_equals_input:%javascript_canEnchantHand%_matcher:true_ifmatch:&e→ Click to open_else:&cCannot enchant%
%changeoutput_equals_input:{javascript_canEnchantHand}_matcher:true_ifmatch:&e→ Click to open_else:&cCannot enchant%
^ use this 
ahh the curly brackets

cheers

https://prnt.sc/aTSkhYpjjcv5 / https://prnt.sc/BiJIPPsbKD4G
all working, cheers!
i plan to reuse the placeholder for other conditions like opening the enchant menu. it just returns 'true'/'false'
wen will js placeholder upgrade to at least es6 😂
i had to use a for loop to check if a string was in my array 😂
Hii
How can I make a placeholder with a placeholder inside, and inside that another placeholder? For example:
%math_{parseother_{player}_{statistic_entity_killed_by:Zombie}}*2%
utils expansion
you can also use utils for parseother actually
%utils_parseother:player_math_{statistic_entity_killed_by:Zombie}*2%
idk if you need the [] around the player name or not
yes, but still used by many
i can do %utils_parseother for the console?
i don't see the value
how to use %utils_try an try_catch?
you likely won't need it, It'd only useful for specific placeholders that throw errors
yeah you do
no and I don't see why you'd need that
Hello !
I tried to do a simple JS that will do a math calculation and return the result, but this return nothing (empty line) when I parse it on me
But in console this write "le total est : 4700" (so the good total value)
function isleveljoueur() {
var level1 = parseInt("%islandlevel_level_actuel%");
var quantity1 = parseInt("%islandlevel_quantity_actuel%");
var level2 = parseInt("%islandlevel_level_1%");
var quantity2 = parseInt("%islandlevel_quantity_1%");
var level3 = parseInt("%islandlevel_level_2%");
var quantity3 = parseInt("%islandlevel_quantity_2%");
var level4 = parseInt("%islandlevel_level_3%");
var quantity4 = parseInt("%islandlevel_quantity_3%");
var total = (level1 * quantity1) + (level2 * quantity2) + (level3 * quantity3) + (level4 * quantity4);
return total;
}
var total = isleveljoueur();
print("Le total est : " + total);```
I can't figure what I made wrong
Ohh yeah I had before but forgot to add isleveljoueur(); at the end, thanks 😄
How do I return it as an integer ? it returns 4700.0
I tried :
var total = (level1 * quantity1) + (level2 * quantity2) + (level3 * quantity3) + (level4 * quantity4);
return parseInt(total);
}
isleveljoueur();```
.toFixed()
thanks, everything work now 🙂
can someone help me with the placeholderapi progress expansion? im having trouble connecting it to placeholders on my scoreboard
Do you have an expansion made?
Nice, what kind of expansion you thinking
Nice, we recommend you build them into your plugin. Info on how to do that is on our wiki
Using %parseother% and conditionalevents (as an example), the server tps drops and starts lagging bad when you spam a command to find a player (which is not online).
Here is the event I use:
type: player_command
conditions:
- "%main_command% == /checklevel"
- "%args_length% < 1 execute error1"
- "%parseother_{arg_1}_{player_online}% == no execute error2"
actions:
default:
- "cancel_event: true"
- "message: &aLevel of &e%arg_1% &ais: &e%otherplayer_level_{arg_1}%"
error1:
- "cancel_event: true"
- "message: &cYou must use &7/checklevel <player>"
error2:
- "cancel_event: true"
- "message: &cThat player is not online."```
Here is the issue (example):
If I type a lot of times /checklevel ftxevenasd (ftxeven is my ign) the server tps drops
So basically if you spam /checklevel YourIGN and then something else right after the server starts lagging
that's because the parseother expansion tries to get players instances from names, which isn't a super fast operation if the player is offline or has never joined the server
👍
If you happen to have some spare time, could you document utils a bit more? @junior musk
might be worth adding to the official list at this point as well
tbh
sure
I am trying to pass an arg from the menu into my placeholder.
is this possible?
It does not want to resolve the placeholder.
%tokenenchant_{enchant}_refund_1%
Where 'enchant' is my arg that is passed into the menu.
Which i have verified resolves to %tokenenchant_explosive_refund_1%
But I get this error with the placeholder: https://prnt.sc/uuxQHTXa8KsC
/papi parse me %tokenenchant_Explosive_refund_1% works fine.
Found the issue 😬 https://github.com/HelpChat/DeluxeMenus/issues/78
yup i just fixed something by going dev build yesterday 😂
but it also adds security to arguments, which ends up breaking this %tokenenchant_{enchant}_refund_1%
the placeholder- for material
Is there any workarounds you would suggest
Sure, are there any known bugs? do you have list of changes
they were very adament lol
the only thing I changed was the placeholder- updating when I made it
here
what was their reason lol
Ok, im happy basically using the release version with the placeholder fixed.
it looks like it is dev build 177 + placeholder- fix @merry jasper
judging by the date
well, probably anything after/including 11. Added placeholder prefix back to valid material prefixes for dev build 178
It works all good! cheers
nice
glad it works lol
oh you know actually
i'm surprised it was broken
oh well
yes...
i mean wow idk how i havent thought of that before but ye
if they are both strings
something like %changeoutput_equals_input:{vault_eco_rank}{player_name}_matcher:ownerKristopher_ifmatch:yes_else:no% probably that might work
idk tbh but it should
what would the input and matcher be?
I want to check:
%tokenenchant_explosive_level% < %tokenenchant_explosive_max% && %tokenenchant_token_long% >= %tokenenchant_explosive_cost_long%
this won't work
I would make a js placeholder but i cant be arsed making one of them for every enchant i make 😂
unless i can pass a string to a custom js placeholder
found clip's old post is this still valid #general-plugins message
yeah
lemme give it a try
i was doing this to do conditional lores but i could probably rip out a lot of my left/right click requirements now too.
math placeholder might be able to check that
and return a 1/0
i just did it in js again lol
yeah i might swap some things out once its all working
Bump
How to add a cooldown for executing a command in the deluxemenus menu? because <delay 2100> works in such a way that a command is executed after some time and I want the player to have to wait before using it again
?
i found the error but dunno why it happens: it says dependency me.clip.placeholderapi:2.11.5 not found <dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.11.5</version>
<scope>provided</scope> all of the values appear redü
solved it by reloading maven stuff
Hello I am having issues with the vault_eco_balence placeholder. I am using vault essentials simplescore and placeholderapi and im trying to add currency to my scoreboard. But that placeholder isnt working. Any ideas? Thanks
You might not have the required expansion
/papi ecloud download Vault
/papi reload
I have it installed. Do I need another ecconemy plugiin? The placeholder im using is %vault_eco_balance% btw
It says on my scoreboard i have 0 coins but when i pay myself lets say $100 it doesnt update the scoreboard
Does it show $100 when you do /balance?if yes then the problem is with your scoreboard plugin
No it shows $0
Ok is there i page i go for the MOSS discord or do i just google it lol
You can find it on essentials' webpage
Ok thank you
What's your permission plugin btw
luckperms
Okay go ahead
k
Anyone know how to get the 2nd line of an motd using the Pinger expansion? 🤔
heya, anyone know where can I download regionplaceholder?
%utils_parse_scapse_{player}%
and the PAPI player placeholder is %player_name%
what did you try exactly?
- '%utils_parse_scapse_{player_name}%'
it just comes out as player_name%
so uhh how can i fix that
uh
