#placeholder-api
150650 messages · Page 135 of 151
not with %% ?
no
ooooh
but in world i get biome name
%changeoutput_equals_input:{iris_biome_name}_matcher:{ascii_123}iris_biome_name{ascii_125}_ifmatch:No Biome_else:{iris_biome_name}%
Is there a placeholder or expansion for displaying K/D ratio and top players with the highest K/D's name?
you could use the KDRatio expansion to get the ratio & use ajLeaderboards to make a leaderboard (which would let you get the player ranking 1st with the KDRatio placeholder)
/papi ecloud download KDRatio
/papi reload
%kdratio_ratio% for your ratio
https://www.spigotmc.org/resources/ajleaderboards.85548/
https://wiki.ajg0702.us/ajleaderboards/setup#2-required-add-the-placeholder-to-ajleaderboards
/ajlb add %kdratio_ratio%
(you probably want to disable enable-dontupdate-permission in config or set the permission on the wiki to false so admins can be counted in the leaderboard)
and use %ajlb_lb_kdratio_ratio_1_alltime_name% and %ajlb_lb_kdratio_ratio_1_alltime_value to get the ratio
(https://wiki.ajg0702.us/ajLeaderboards/setup/placeholders)
What is the placeholder for the day number in the world? I can't seem to find one
Yeah I have the same problem I can't find the placeholder for the day counter. I'm starting to think that there isn't one, I can't lie
I have to admit that I've never seen one
interesting
I see ways to get the time of the world, but not the days
uh, so there is %player_world_time% which returns the amount of ticks
so you could use that in a Math placeholder to turn it into days
aight cool
%math_{player_world_time}/20/60/60/24%
or %math_{player_world_time}/1728000% if I didn't f this up
thanks
I'm not sure if I'm putting it in correctly but it doesn't work
it just shows the text nothing else
where are you using it?
I think I put it in incorrectly
and did you download the Player and Math expansion with PAPI's commands?
/papi ecloud download Player
/papi ecloud download Math
/papi reload
it works but it comes in decimals
%math_0_...
wait
DM 1.20.6 & papi 1.20.6 available ?
how can i parse other offline player?
ParseOther expansion
though it'll depend on whether the placeholder you use supports offline players or not
There's a way to check if an item that doesn't have the NBT data from MMOItems?
%player_world_time_24%
Oooh, thanks friend, can you please tell me what commands I should enter for this to work, I’m from Russia, I don’t understand
/papi ecloud download player
/papi reload
How do I get the real time to print on the screen via tellraw?
I’ve never used placeholders before.
Oh, I’m trying to get this command to work
/tellraw @a {“text”:”The time is %time%”, “color”:”blue”}
/papi ecloud download Player
/papi reload
if you're running the command from a plugin which supports PlaceholderAPI (such as DeluxeMenus), you can use the %server_time_HH:mm:ss% placeholder after running these 2 commands:
/papi ecloud download Server
/papi reload

i did that and did /papi ecloud update player
i no understand
it should fix the issue
Is there a variable to show the weather
i dont think so 🤔
I see %player_weather_duration% and %player_thunder_duration%
I guess you could use them in changeoutput to display text depending on whether the duration is set to 0 or not
like, we can replace a specific output of a placeholder?
%changeoutput_>_input:{player_weather_duration}_matcher:0_ifmatch:It's Raining_else:It's Sunny%
Guys pls help
nah
😵
?not-discord
they finna ask for ICHU's irl photo 😔
Bro I did already uploaded my Pic holding my ID and user name still I didn't get my account back
👆, i understand your pain but you should create a support ticket there
I alr did it yesterday still I didn't get any response
.
What command should I enter to make it work
bro there's 3.2k ppl online did you really think the here tag would be enabled
as for your question tho iirc statistics are stored in the world data
specifically what files in world?
and delete this folder?
that'll delete all the stats so if that's what you want to do then yes
there's not really any easy way afaik to delete a single stat for everyone since everyones stats are stored in their own player file
thank you for helping me 🙂
it doesn't work! placeholders don't reset
did you restart your server
i did it
stop server, delete folder, then start. don't delete while running
server might recreate the files from memory when you stop the server and it saves the world
hmmm i test that
it works!
yay
Thank you, which command should I activate it with?
/papi ecloud download Server
/papi reload
what does it return?
what?
ah
you want the day in the game?
there's no week system in Minecraft
not sure what you're looking for
I want to add days of the week to the game
Gaming, conditionally
what
Yes
%server_time_u% or %server_time_E%
u is for the number of the day (Monday is 1, Tuesday is 2 etc...), E is for the name of the day (so Monday, Tuesday ...;)
Not real ones, conditionally gaming, I want to steal the days of the week in the game
I don't understand
I need a variable in Minecraft that represents the days of the week, similar to real life.
Do you understand?
How could I implement this
I don't know
ah
At the bottom of the page are the placeholders of your plugin
then use those placeholders
😀
How to delete it
/<server folder>/plugins/PlaceholderAPI/expansions/
Hey,
Im using Velocity as a proxy and on my main server "Lobby" i have NPC the sends players to the sub servers, and i was wondering if there is a placeholder to show above the npc how many players are currently on that specific Sub Server
i checked already but wasnt able to find one
the bungee placeholders should work
/papi ecloud download Bungee
/papi reload
%bungee_<server>% or %bungee_total%
let me try that
why can't I download the Vault placeholder??
I use the /papi ecloud download Vault command but then it won't let me use it even if I do /papi reload
do you have the plugin too?
thanks, that works, but for me at the moment it takes long to update the number around 30s
Do you know why is that?
you can change the interval in PAPI's config
wherever you're using the placeholder
thank you so much
Is there anything thats checks shows if the server is online/offline ?
there's the pinger expansion, though it doesn't always seem to work correctly
probably because of firewall or smth
try it and see if it works
yeah
so far it works thanks again 🙂
Hey my plugin wont reload/show the placeholders
My survival server doesnt but my lobby does
Do you mind if we take this to DMs? I’m still having trouble.
this server exists for a reason
Ok, so what exactly do I do to make it send? It only gives an error message or sends what I typed verbatim.
I can’t. My console won’t copy.
I used it in a command
the schedule is from your host ?
try /papi cmdparse --null <your command without the />
It gave an error, but I can’t copy it from my console for some reason.
Hello, i need help about server expansion for 1.16.5
[01:11:40 ERROR]: [PlaceholderAPI] Failed to load class files of expansion.
java.util.concurrent.CompletionException: java.lang.UnsupportedClassVersionError: at/helpch/placeholderapi/expansion/server/ServerExpansion has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 60.0
can't i use the Server expansion for 1.16.5
Yes
Hello, is there any way to translate placeholders?
did you mean replacing the output?
i
i'm not entirely sure unfortunately
does that tellraw command work by itself?
also fyi %time% is not a papi placeholder, you can see the list here
No
Basically I want it to tell the time every hour. Do you know how to make it do that?
I’m not using a plugin. I’m using my host’s scheduling.
command doesn't have a prefix iirc, but not sure/vanilla:say
test
lol
/minecraft:say*
What would be the placeholder for the current time? Do you know?
Oh, thanks. I’ll try it.
no problem 😃
Hmm, It didn’t work. Maybe I just don’t know how to use placeholders. You just type out any of those and it should translate automatically, correct?
I did
what command did you type now
I ran the command /say %localtime_time%
It’s not working. It just says “%localtime_time%”
oh yeah, probably would for a console
hmm
are you wanting to show the player their time?
or just the server location time
becuase then try %localtime_timezone_<TimeZoneID>%
to show server location time
Well, everyone on my server has the same time, so it doesn’t really matter.
right
i think there is also %server_time%
%server_time_<SimpleDateFormat>%
prob better for this situation then, but if either one works then 🤷♀️
None of this works. It never translates the placeholder

i'm heading off to bed now
/papi parse me %server_time_HH:mm%
does that work?
if not, and you have the expansion, send the log over
people can help more with that
This worked! Thank you!
Well, I say it did. I tried it ingame and it worked, but it won’t tell it to all players.
Sup, im using javascript expansion, anyone knows how to use a bukkit type in the javascript, i tried var Difficulty = org.bukkit.Difficulty; but it says that .org is not defined
im not sure but version 6.3 supports 1.20.6 right? I couldnt find an update log that explicitly mentions that
Did you ever figure out how to use \n?
[08:26:14 INFO]: hellontest
The placeholder has \n, so it should be hello\ntest
Why is the backslash being removed?
anyone know whats wrong with "the server returned http responses code 503" error i get whenever i want to download an expansion with ecloud?
probably this 👆
i have been doing this unfortuantely, but wondering if i could fix the issue of ecloud not working entirely
sadly its upto your hosting
wait, did you mean its hosted on your pc?
yup
oh, my bad. could you try disabling your firewall
already inactive
🤷♂️ no idea
lol, all good, ill stick to just manually doing it in that case
well this often happens because of firewalls.
Hey, I'm trying to use the JavaScript expansion, I've added it, rebooted, nothing showing up, I'm using 2.11.6-DEV-189 for PlaceholderAPI, and Javascript-Expansion-2.1.2
Hi, does anyone know why when I reload the papi plugin the scoreboard doesn't show the placeholders correctly?
send your server's logs
which placeholders?
the KitPvP placeholders
[14:31:35] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[14:31:35] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...
[14:31:35] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: bungee [2.3]
[14:31:35] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: essentials [1.5.2]
[14:31:35] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: localtime [1.2]
[14:31:35] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: luckperms [5.4-R2]
[14:31:35] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: player [2.0.8]
[14:31:35] [Server thread/WARN]: [PlaceholderAPI] Cannot load expansion playerstats due to a missing plugin: PlayerStats
[14:31:35] [Server thread/WARN]: [PlaceholderAPI] Cannot load expansion playertime due to a missing plugin: PlayerTime
[14:31:35] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: server [2.7.2]
[14:31:35] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: statistic [2.0.1]
[14:31:35] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: vault [1.8.3]
[14:31:35] [Server thread/INFO]: 8 placeholder hook(s) registered!```
can i send the link?
yeah
what's your KitPvP version?
this issue was fixed 2 months ago apparently
in 2.2.3
not listed in the changelogs but I saw the fix in the commits on GitHub
one moment, I'll check
did you put it in your plugins folder or your /plugins/PlaceholderAPI/expansions/ folder?
because there's nothing regarding the JS expansion in the logs
i think the lastest
2.2.3
not sure then, it should work
?imgur
Got it working, thanks! I want to take a javascript placeholder that takes another placeholder as an input, is this possible or do I need to make a jar expansion?
you can just write the placeholder in a string in the script
var name = "%player_name%";
does kitpvp show in /papi list?
What if I want to let them parse their own? in my case I want %javascript_example_<placeholder>%
{} intead of %%
It didn't have a download command
should show either way
reboot the server, check /papi list, then run /papi reload and check /papi list again
and in the leaderboards it show the kills ecc
if it's not there after a reload, report that to the dev
Ok,one moment, i restart the server
so I just checked the code of the plugin on Spigot
and weirdly enough it doesn't contain the fix from Github
so try reaching out to the dev and see if they can give you a jar with the fix
even after the reload?
if i reload the papi plugin it dosen't show again kitpvp
okk
why dont u just code your own papi expansion and not rely on javascript
What would be the benefit of using both then?
I managed to get it working
javascript = heavy
your own expansion = gud 
Oh is it quite bad then
I was confused as you said do an expansion + rely on JS, I assume you meant instead of?
idk, i was just advised to not use javascript expansion and i dont 
Ahh thanks, I'll consider on that then
I was just unsure because you said to use both, aha
yeah I think he forgot a "not" in before "rely"
@junior musk Sorry, before the reload another placeholder appears and then disappears, could that be a problem too??
https://imgur.com/a/MZo57vz
which one?
same issue as KitPvP
try reaching out to the dev
there's a Discord link on the plugin's page
ok
No I just made it all one line
What do I change —null to to make it send to all players?
/papi cmdparse —null %server_time_HH:mm%
can someone help? i have installed 9placeholder hooks and when i do papi reload it only says i have reloaded 1 hook
and some placeholders are not working
/papi dump and send the link here
!pastebin
Hello papi, the week is abbreviated as w, how can I fix this?
cloud_enabled: true
cloud_sorting: name
boolean:
'true': 'yes'
'false': 'no'
date_format: MM/dd/yy HH:mm:ss
time_format:
days: 'days'
day: 'day'
debug: false```
How can I change short formats?
Is there no way to update the material of a menu item every certain intervals?
The update only updates the display name and lores.
i dont think so
however you can make the item switch depending on the output for example to show different item when you have glowing effect
Hey
I'm trying to figure out how to make a 24 hour clock in placeholderapi
%localtime_timezone_(timezone),hh:mm%
And where do I make it 24 hours? and not 12?
hey, when I do /papi ecloud download PlayerStats the plugic glitches and removes all my other placeholder downloads
how do i fix this ?
and when i reload its not reloading or showing anything in chat
/papi dump > send the link
@manic badge check your message requests
how do we check the min java requirement for an expansion
try loading it 😅
if it works, you're good, if it doesn't, it'll tell you in the error
it gives the error but how to calculate what version you need
i believe barry knows how to
every major java version starting from java 8 is just +1 to the version number
as long as u know java 8 is 52, ur good to work out the rest
I've seen alot of lifesteal servers having max heart interger with the TAB plugin. And i was wondering, is it from this plugin with some placeholder? And if so, which one
oh i found it
in player
uh this doesnt work could someone guide me trough on how i would do this: add max hearts for a player into the tab config file
Hi
how can I register a ecloud account to unload my expansion plugin
I can't get the placeholder currency to display. When I type “/papi list”, it registers, but when I try to put it on the scoreboard, it doesn't show up https://paste.helpch.at/iluxekupit.kotlin
@carmine veldt
make sure you've installed the expansion
/papi ecloud download Player /papi reload
i have but i mean to make it hearts and then using it in another plugin config
(and update it automatically)
where do you want to show it? in the tab or scoreboard or player's nametag
no
a number showing the players max hearts, currently in health points so: Max health divided by 2
o ok
also how would i automatically run the check when a player gains or looses a heart
the placeholder will get updated automatically
oh ok
the player expansion's health placeholder returns the actual health you have. to use math operations in your placeholders you need math expansion
i thought i had to run a function cuz the placeholdrt updates but the script wont change the tab when it changes
thx
wait
do you want health symbols or health points (health in integer)
health integer/2 is health symbol ig
yeah health integer its in player called ike %Max_Health_Points% or something like that
%math_0_{player_health_rounded}/2% try this
health in heart but not symbol
.
run /papi parse me %math_0_{player_health_rounded}/2% and it'll show you the output
yeah, this would display the hearts you have but in integer format. if you have 8.5 hearts then it'll return "9"
ok thx ill try this later i got school rn
👍
03.06 11:03:45 [Server] [WARN] [PlaceholderAPI] Cannot load expansion envoys due to a missing plugin: Envoys
03.06 11:03:45 [Server] [WARN] [PlaceholderAPI] Failed to load external expansion mcmmo. Identifier is already in use.
03.06 11:03:45 [Server] [WARN] [PlaceholderAPI] Cannot load expansion mcmmo due to an unknown issue.
03.06 11:03:45 [Server] [WARN] [PlaceholderAPI] Failed to load external expansion player. Identifier is already in use.
03.06 11:03:45 [Server] [WARN] [PlaceholderAPI] Cannot load expansion player due to an unknown issue.
i get these errors
check if your expansion folder has duplicated jars of expansions
and for the 1st one, you need "Envoys" plugin
Hey
I'm trying to figure out how to make a 24 hour clock in placeholderapi
%localtime_timezone_(timezone),hh:mm%
And where do I make it 24 hours? and not 12?
I changed it to HH:MM,
But it adds six minutes to the timer.
It got stuck at 19:06...
How can I replace a comma in a placeholder for one of my deluxe menus? (I'm using economy bank and I can't withdraw because its pulling it with a comma)
How do i make this NOT round up, so it aceept decimals (1.5)
%math_0_{player_max_health}/2%
use 1 instead of 0
Okay thank you
also is there a way if it ends with 0, it doesnt show 7**.0**, but just 7. While if its 7.5 then it shows 7.5
I don't think so, maybe with the formatter expansion, not home atm tho
oh ok and one last question, how do i user placeholders in other scripts?
hello, I have a problem, when I use /papi parse me %placeholder% it prints %placeholder%.
but if i use /papi parse me %player_name% it's fine, print my name
does anyone know a solution ?
nvm i did right, just forgot i made backup were i didnt have math downloaded and had to use it cuz i added so many decimals like 99999 so i crashed the server LOL
all for the experiments
can we display that decimal in tablist
yea
i just did
wtf
maybe not scoreboard but if you have TAB plugin
why /papi ecloud download ListPlayers dont work?
lemme test
ye its PlayerList
why /papi parse me %placeholder% it prints %placeholder% and /papi parse me %player_name% it's fine, print my name
does anyone know a solution ?
what is %placeholder% supposed to be?
i think you hace read it somewhere as when it just shows text, the placeholder hasnt been defined. You need a real placeholder like %player_name% is a real placeholder
✅
ohh thanks you
np
why this dont work %playerlist_in_world_world112%'
Have you downloaded the playerlist?
yes
what i can see world is in player
now playerlist
not*
%player_world%
%player_world_type%
if thats what you tryna do else idk
im trying that you can see how many players are in world if ur in hub
lemme try
thank you it works
np
How can I replace a comma in a placeholder for one of my deluxe menus? (I'm using economy bank and I can't withdraw because its pulling it with a comma)
Hello
I have now placeholders from EssentialsX with DecentHolograms plugin. The balance placeholders. Well, it doesn't change this automatically. Only when I run the command /papi reload via PlaceholderAPI does it change the hologram. anyone have any ideas?
Is anyone here good with the javascript functions here? Willing to pay if needed 🙏
update value in Papi config I believe
oh wait nvm they changed it oops
so what then?
hello, is it possible, that the skin of npc citizens change with %shop_top_name% dynamically if they have a new top name?
hey, how can i parse a placeholder with no player?
PlaceholderAPI.setPlaceholders() requires a Player/OfflinePlayer
null
who can help?
are you using ajleaderboards?
im not sure though
are you trying to make a leaderboard?
if yes then you'd need a leaderboard plugin (ajleaderboard). follow it's wiki instructions to know what you're missing
yeah of the top 10 balance
but playtime and kills & deaths leaderboard works without ajleaderboard
because i use placeholders
uh
what i think is
placeholder requires a target player
which wouldn't be available if you use them directly using holograms
well for the top/leaderboard stuff, you need a plugin which handles the leaderboard
i told you
i don't have a leaderbord plugin
i use placeholders
like this
Hey, who would i need to contact to setup an account for expansions on eCloud?
yeah but ever placeholder values are stored differently for every player so how is it going to know for which specific player's data you want. i understand it works in tablist and scoreboard but i think for holograms, you'd need to use a leaderboard plugin
i told you twice
i don't have a leaderboard plugin and it works for playtime & kills/deaths
You don't need a leaderboard plugin if you already have placeholders for that
except if you're using Essentials' buggy baltop placeholders that never seem to refresh
my bad, im sorry
i got confused between the _1/2/3..% at the end of placeholders. i thought it has something to do with leaderboards. its just a placeholder which would return the balance for top 1/2/3... player 👍
in that case, then yeah, use ajLeaderboards because I still haven't seen anyone use %essentials_baltop placeholders without any issues
no worry's, you tried to help 😄
thanks about that
What version of server should I install to work on version 1 16 5?
if the question is: "What version of papi should i install to work on version 1.16.5"
then latest should work correctly
Hello! I ve updated my server to 1.20.4 and I got this error
[AnimatedScoreboard] PlaceholderAPI caused an error while parsing line "&a📊 &fᴘɪɴɢ: &a%player_ping% ms" for SteelWither. This is not an issue with AnimatedScoreboard and should instead be fixed by the maintainer of the placeholder pack you are trying to use.
[14:42:33 WARN]: java.lang.IllegalArgumentException: Attempt to get boolean field "net.minecraft.server.level.EntityPlayer.f" with illegal data type conversion to int
[14:42:33 WARN]: at java.base/jdk.internal.reflect.UnsafeFieldAccessorImpl.newGetIllegalArgumentException(UnsafeFieldAccessorImpl.java:69)
[14:42:33 WARN]: at java.base/jdk.internal.reflect.UnsafeFieldAccessorImpl.newGetIntIllegalArgumentException(UnsafeFieldAccessorImpl.java:132)
papi version?
Nevermind, I think it was fixed
I updated both PAPI and the scoreboard versions
And then the placeholders
Yea
How can I divide a placeholders value by 2? (example if it outpus 100 I can divide it to 50)
would this work? %math_{your_placeholder}/2% (It doesn't seem to be working with this %formatter_text_replace_,__{economybank_balance}%)
/papi parse me %math_0:_{servervariables_value_diamonds}% = 12740
how do i make it so it says 12.7k
no placeholders, that could support offline players
if anyone has a solution please lmk!
what?
what's the exact placeholder you're using?
the final one with both math and formatter
The original placeholder is %economybank_balance%
this is the formatter to remove the commas from it to just retrieve the balance %formatter_text_replace_,__{economybank_balance}%
and you want to use that in Math right?
Doesn't HAVE to be in Math I just want the value to be divided by 2
%utils_parse_math_{formatter_text_replace_,__{economybank_balance}}%
/papi ecloud download Utils
/papi reload
legend
and for vault it would just be replace economybank_balance with vault_eco_balance correct?
yeah, though you should be able to use it directly within math
awesome tysm!
please ping me
/papi parse me %math0:{servervariables_value_diamonds}% = 12740
how do i make it so it says 12.7k
tnx
formatter expansion
sorry for ping idk how else to find ur profile
I was going to do that so I could click your profile and dm you 🧑🌾 turns out your right there on the top right! ahhhhhh my bad
oh god i cant send pic
hold on
ParseOther, when user is offline, it nukes server when trying to parse
Anyway to just cancel parsing, if user not found
Ill buy ya a coffee or sum 🤓
Here's my current usage
command: /stats
type: TEXT
permission-required: false
register: true
required_args: 1
error-message: '&d&lSURVIVAL &8&l▶ &7Usage: /stats <username> of player you want to view.'
regex_pattern: "^[-a-zA-Z0-9._ /$!?]+"
regex_error_message: "&b&lSURVIVAL &8&l▶ &7Please only use [A-Z, 0-9, /, ?, !, $, and .] characters."
text:
- '&cName: &7$multiargs'
- '&cKills: &7%parseother_{$multiargs}_{statistic_player_kills}%'
- '&cDeaths: &7%parseother_{$multiargs}_{statistic_deaths}%'
- '&cMoney: &7%parseother_{$multiargs}_{vault_eco_balance_formatted}%'
- '&cCoins: &7%parseother_{$multiargs}_{gamepoints_balance}%'
- '&cVotes: &7%parseother_{$multiargs}_{VotingPlugin_alltimetotal}%'
- '&cClaim Blocks: &7%parseother_{$multiargs}_{griefprevention_remainingclaims_formatted}%'```
no you can't cancel parsing if user not found
the getofflineplayer method searches the local playerdata, then, if not found, it accesses mojang api to try and receive a username
mmmm, i see, so not much can be done here?
not really unfortunately
anyone have a spare tank of copium for me
awesome
no gifs either
luca smells
there is no placeholder, that can parse offline player's information by parseother
you can use
command: /stats
type: TEXT
permission-required: false
register: true
required_args: 1
error-message: '&d&lSURVIVAL &8&l▶ &7Usage: /stats <username> of player you want to view.'
regex_pattern: "^[-a-zA-Z0-9._ /$!?]+"
regex_error_message: "&b&lSURVIVAL &8&l▶ &7Please only use [A-Z, 0-9, /, ?, !, $, and .] characters."
text:
- '$Script$%if%$CheckPlayerStatus%$arg1%isOnline%==false'
- '&cPlayer hasn't found'
- '$Script$%else%'
- '&cName: &7$multiargs'
- '&cKills: &7%parseother_{$multiargs}_{statistic_player_kills}%'
- '&cDeaths: &7%parseother_{$multiargs}_{statistic_deaths}%'
- '&cMoney: &7%parseother_{$multiargs}_{vault_eco_balance_formatted}%'
- '&cCoins: &7%parseother_{$multiargs}_{gamepoints_balance}%'
- '&cVotes: &7%parseother_{$multiargs}_{VotingPlugin_alltimetotal}%'
- '&cClaim Blocks: &7%parseother_{$multiargs}_{griefprevention_remainingclaims_formatted}%'```
goat tysm
how do i make it so that if i dont have a perm it will also be none
function tag() {
var tag = "%deluxetags_tag%";
return tag === "" ? "&8&l[&7NONE&8&l]" : tag;
}
tag()```
perm: petsim.perm.tag_menu
Hello, I have been using PlaceholderAPI for the past 2 months, and after updating to the newest version, I have encountered a few problems that I don't know how to fix. Every time I download a placeholder (for example, Vault or Player) from eCloud and run /papi reload, the placeholders don't seem to save and appear as code (for example, %vault_prefix%) after restarting the server. I download those placeholders again, but /papi reload doesn't work and does nothing. To fix it, I need to reinstall the all the PlaceHolder plugin. This problem keeps repeating in a cycle. Has anyone had this problem before?
- run
/papi dump> share the link - share server logs using helpchat paste
Hello. Any help here?
%crazycrates_quartz%
ok. i found the problem
i didnt had one crate in crazy crates and thats why
thank you so much
i want to parse %a_b_%c_d%%.
using /papi parse me "%a_b_%c_d%%" does not work
using /papi parse me "%a_b_{c_d}%" does not work
using PlaceholderAPI.setPlaceholders(null, "%a_b_%c_d%%" does not work it tries to parse %a_b_%, %c_d% not parsed correctly
using PlaceholderAPI.setPlaceholders(null, "%a_b_{c_d}%" does not work it does not try to parse %c_d%
are nested placeholders supported, is this the expected behaviour and is there any way to fix this?
papi doesnt seem to be working on my server
im using a discord srv bot to show the names of the players online in the server
however
it just says
" Online Players: %playerlist_ONLINE_list% "
as the status and never updates
i have papi installed and "playerlist" downloaded, it shows in "/papi list" as well
it's up to each individual expansion to add support for nested bracket placeholders.
Could you elaborate on this instead of just using a, b, c, and d?
although, if needed: you could technically use utils expansion to add nesting functionality to any placeholder
type /papi parse me %playerlist_ONLINE_list%, what is the response?
Can't help if we don't know the issue @austere hawk 
Plugin MyCommand
🥹
Welcome:
command: /welcome
type: RUN_COMMAND_RANDOM
runcmd:
- 'hi friend .'
- 'hello..'
How to make the command itself be entered when logging on to the server, they do not have support, please help
please use the correct channels -> #general-plugins or #1007620980627230730
i just wrote my own parser for this. without the need for the utils or similar expansion and syntax changes
sorry barry
papi plugin does not work in 1.20.6 :[
Latest release does
Where can I get the latest version?
DeluxeMenus-1.14.1-DEV-179.jar this?
You said Papi?
oh sorry
yes papi
But I see the same thing in papi
So it says it was last updated 1 month ago.
PlaceholderAPI or DeluxeMenus?
Papi
I get errors in papi, I also get errors in deluxemenus
Post the errors
Is it okay if I post the log file?
server is starting
Many plugins give errors due to lib files
But I can't fix the errors because the producer hasn't updated it.
PlaceholderAPI loaded correctly from what I can see
May 21, 2024 was PlaceholderAPI v2.11.6
I have a question
There is no time to wait! Ask your question @gleaming palm!
#placeholder-api for placeholderAPI related queries
#general-plugins and #1007620980627230730 for anything else
how to register? it is locked
https://paste.helpch.at/kuyoxamita.rb
server information:
pandaspigot 1.8.8 , bedwars type server , java 11 running with javaagent slimeworldmanager class modifer
How do I use placeholders from another plugin with placeholder api? I have both plugins installed on th server
you should be able to use the placeholders anywhere they are supported in that case. What is the plugin?
You can type /papi parse me %placeholder% to test the placeholder
possibly blocked by a firewall, and possibly out of your control
you can download and install them manually
from the eCloud
The plugin is DiscordSRV, it is supported
does it work?
Ima test it in a bit, I was able to use the ecloud placeholders but not the discordsrv placeholders when I last checked
I found this on their wiki fyi https://i.imgur.com/Qv7X252.jpeg
just in case you hadn't seen it
Yea I saw that but the placeholder I want isnt listed on that site
Is there a way to get placeholders from a server to display on a website?
oki got it btw thanks
Hello, is it possible to get registered on the website? I have an expansion to register.
Why do the hours statistics show 52 hours when the maximum is 24 hours?
It won't let me send photos xd
how would i make a custom placeholder to get the output of the command /money
what output you want
its fine i fixed it lol
Please..?
hey guys i need a help
i wanna change this placeholder output %job_job% to Citizen
i see a some js code but i cant find a placeholder change output
if someone know please let me know
for some reason, whenever i reload placeholder api, my external registered expansions unregister?
is there a way to re-register it if placeholderapi reloads?
run /papi dump and send the link
aint sure wdym but okay, congrats 😅
persist in the PlaceholderAPI Expansion class
if thats not true, anything which isnt ecloud (which this is), on papi reload will unregister
👍
@manic badge Can you please help me in the general-plugins-2 channel, I am the very first there
please do not cross post your questions.
i dont have any experience in editing/creating resourcepacks, im sorry
Okay, sorry
I want to put the number of players in the world how ؟
Not in the server, but in the world
try this %world_players_<world>%
/papi reload```
hey guys anyone have deluxemenu 1.8.8 version ?
@sharp geode , you can use older version of deluxemenus, 1.10.5
thanks
no worries 👍
?checkitem
would checkitem work fine in 1.20.6?
thats what i mostly need it for honestly
the public bukkit values
what?
PINGer not work
do you have pinger expansion installed?
/papi reload```
yes, but he writes all the time that the server is offline
2 hours
🤷♂️ wait for anyone else's reply
i have no experience with proxy servers
@slow crystal
?
PINGer not work
.
okay
sos
Yall should look in my bio
cj, any news regarding the checkitem expansion and nbt for 1.20.6
no, somebody else would have to look into it
I haven't had the time recently and I have no information of the changes that were made. @sharp bloom
oof
type: javascript
expression: '%deluxemenus_meta_amount_INTEGER% <= %math_6-{deluxemenus_meta_limit_INTEGER}%'```
this placeholder doesnt parse, any thoughts?
specifically the math part
I'd recommend not using javascript for this, but I believe the problem is that you need %deluxemenus_meta_<key>_<dataType>_<default_value>%
you're missing default value
limit:
type: '<='
input: '%deluxemenus_meta_amount_INTEGER_0%'
output: '%math_6-{deluxemenus_meta_limit_INTEGER_0}%'
do any of you guys know the placeholders for an item from itemedit?
like <{itemid}> isn't working when i parse it, i just got the plugin and want to use skript-placeholders
this is a channel for the plugin PlaceholderAPI and related things
i am talking about placeholder api
i just want to know the placeholders for itemedit server item idsand i cant find them anywhere on wikis
I'm confused on what type of placeholder you're trying to find
papi placeholders are %identifier_placeholder% format
I do see that ItemEdit has a discord, but also a lot of info on the spigot page
on the github for the placeholderapi link section it doesn't show a placeholder for item ids, only how many a player has
i want like %itemedit_itemid%
and it parses that as an item
yeah it doesnt from what ive looked at now
you'd need to probably request it from the devs in their discord
seems like it
they only provide a placeholder for amount
which i find weird because every other plugin link allows you to drop the item or sell it
but placeholderapi doesn't let you get the item itself
or the name
placeholderapi is just a placeholder plugin
that's why
it just allows you to make placeholders you can use elsewhere
Where are you trying to use the placeholder to give an item?
im trying to use skript-placeholder and placeholderapi to give the item because when i use the command form (/si drop) it doesn't register that it was the most recently dropped item
but i see why that wouldnt work now
im just trying to use itemedit items in skript and ig i went to the wrong placel mao
Hello, is there a placeholder that gives you player vector information?
Or a placeholder that decreases when you look down
%player_pitch% and %player_yaw% maybe, i don't really know head rotation movement mechanism
are there any extensions to convert minimessage formatting to legacy?
chatgpt 🤡
Hello everyone, sorry if this is not the right channel. Since yesterday evening, we have a problem with our Discord ticket system. No one can open new tickets or close and delete existing ones. We only get the message: "This Interaction Failed." Unfortunately, all known troubleshooting attempts have been unsuccessful. Maybe someone here has an idea for a solution. Thank you very much.
?not-discord
🙏
Thanks
Hi, can I add more servers to the bungee placeholder in deluxemen? E.g. %bungee_arena1,arena2%
.
does any1 know why in my console it says this "[18:13:11 WARN]: [PlaceholderAPI] Cannot load expansion vault due to an unknown issue."
just where it says that it cant load and the link?
no, the full startup log. aka latest.log
ye but it has my ip and shi
this is what it says
[18:13:05] [Craft Scheduler Thread - 2202/INFO]: [Vault] Checking for Updates ...
[18:13:05] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[18:13:06] [Craft Scheduler Thread - 2199/INFO]: [ViaVersion] Finished mapping loading, shutting down loader executor!
[18:13:06] [Server thread/INFO]: Stratonyminor lost connection: Disconnected
[18:13:06] [Craft Scheduler Thread - 2202/INFO]: [Vault] No new version available
[18:13:11] [Server thread/INFO]: Stratonyminor left the game.
[18:13:11] [Craft Scheduler Thread - 2203/WARN]: Unexpected token END OF FILE at position 222.
[18:13:11] [Craft Scheduler Thread - 2203/WARN]: at org.json.simple.parser.JSONParser.parse(JSONParser.java:257)
[18:13:11] [Craft Scheduler Thread - 2203/WARN]: at org.json.simple.parser.JSONParser.parse(JSONParser.java:92)
[18:13:11] [Craft Scheduler Thread - 2203/WARN]: at me.f64.playtime.Main.writePlayer(Main.java:164)
[18:13:11] [Craft Scheduler Thread - 2203/WARN]: at me.f64.playtime.Main.lambda$savePlayer$3(Main.java:150)
[18:13:11] [Craft Scheduler Thread - 2203/WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
[18:13:11] [Craft Scheduler Thread - 2203/WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
[18:13:11] [Craft Scheduler Thread - 2203/WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[18:13:11] [Craft Scheduler Thread - 2203/WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[18:13:11] [Craft Scheduler Thread - 2203/WARN]: at java.lang.Thread.run(Thread.java:748)
[18:13:11] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: player [2.0.8]
[18:13:11] [Server thread/INFO]: [PlaceholderAPI] Successfully registered external expansion: bungee [2.3]
[18:13:11] [Server thread/WARN]: [PlaceholderAPI] Cannot load expansion vault due to an unknown issue.
[18:13:11] [Server thread/INFO]: [0;32;1m2 placeholder hook(s) registered![
and whenever i try to do /papi dump it says it failed to
you can use mclogs to hide the ip btw
oh lol
what is your PlaceholderAPI version?
send screenshot of this
and please share your server logs using mclogs
do i jsut send the link of the thing
yes
you're running PlaceholderAPI v2.11.5, btw
nah i updated it
earlier
this is prob before i did the thing
yeah i jhave 2.11.6
also this is the thing after i try to /papi dump https://api.mclo.gs/1/raw/ZxpUsh3
does it not post the link in your console?
send screenshot of your expansions folder of PAPI
I have bungee placeholders dowloaded, on the hardcore there is one player, why in the %bungee_hardcore% still 0 ?
how do i send a image here lmao
?imgur
actually, yk what. i suck in analyzing console errors. probably anyone else might have a better answer. im sorry for wasting your time 🙏
all good
.
does anyone know how i install excellent crates on my server like /papi ecloud download
@sharp jay
Can you even do that?
i suppose
you don't need to
I don't think excellentcrates has a placeholder
type /papi parse me %placeholder%
/papi parse me %excellentcrates_keys_[crateId]%
any1 knows why or?
Where i can get placeholderapi for bungeecord?
PlaceholderAPI does not support BungeeCord
do you have the Vault plugin?
redirect your question to #general-plugins or #1007620980627230730
Can you please help me fix this? I can't get the placeholders to work. placeholders api and addons are working. I've checked online, but can't kind te correct Placeholder
items:
player_0:
slot: 10
material: head-%playerlist_online,normal,yes,0%
display_name: '&9%playerlist_online,normal,yes,0%'
lore:
- '&6Left Click &8to request TP to this player.'
- '&6Right Click &8to accept TP from this player.'
left_click_commands:
- '[player] tpa %playerlist_online,normal,yes,0%'
- '[close]'
right_click_commands:
- '[player] tpaccept %playerlist_online,normal,yes,0%'
- '[close]'
view_requirement:
requirements:
online:
type: '>'
input: '%playerlist_online,normal,yes,amount%'
output: 0
of course bruh
Hello, can you tell me a placeholder that counts the number of players who have joined the server? for example: Welcome, (#35) player for the first time on the server
%server_unique_joins%
/papi reload```
@junior musk
Hi, can I add more servers to the bungee placeholder in deluxemenu? E.g. %bungee_arena1,arena2%
the whole thing
/papi ecloud download Math
/papi reload
%math_0_{bungee_arena1}+{bungee_arena2}%
very nice, thank you
HI, i have the problem with %pinger_online_testplugins.com:25565%
%pinger_isonline_testplugins.com:25565% this holders does not works(message is all time &cOffline) Paper 1.20.6
yea u need to change both the domain and the port to ur own
Yes i did that
u sure the format u used for your placeholder is correct?
Yes, I checked and racked my brains for 6 hours.
Hi, It's possible to make a list of players with number of deaths for each players ?
method 1: use %statistic_deaths% with ParseOther expansion
https://api.extendedclip.com/expansions/parseother/
i have a question
There is no time to wait! Ask your question @bright citrus!
placeholderapi_integer_
this placeholder works ?
works for what
i trying to send a integer like:
i tried with others placeholders and dont work
/papi parse Agustinc02 %placeholderapi_integer_cmi_user_charges_left%
this not work too
man i literally tried everything its same thing over again
idk how to fix it
nvm i know why, i accidentally uninstalled luckperms for some time and forgot about it lmao
Hello, how do i make the localtime extension appear the date as something like this:
6/11/2024
For me it shows smth like: May 12th, 2024
anyone?
try this xD
%localtime_time_MM.dd.yyyy%
invalid expression
@sharp jay @slow crystal @junior musk sp me
Hiiii, so my issue is I’m trying to change the email that’s attached to my account currently, it seems the only way to change it is if it sends a verification code. But I never get one (I’ve tried to this 3 different days). Is there any other way to go about this?
if this is a discord question
can someone help me out?
Hey, I am working with text displays in minecarft. how can I set the player in the "setPlaceholder" to be the player who sees the textDisplay?
PlaceholderAPI.setPlaceholders(<Player>, text);
or I should use another way?
help?
Seems like more of a question for #development
why statistic does not work in the latest version
%math_{vault_eco_balance}/15000% how do I round this down
modify the rounding %math_[precision]:[rounding]_<expression>%
more info if needed https://codeberg.org/Andre601/Math-Expansion
Hi, there is such a problem, I need the letters in %mythic_spawner_[name]_cooldownleft% to be in the language I need. I was told to use "changeoutput" in papi, but I can't figure out what it is, and how to do it
%mythic_spawner_[name]_cooldownleft% gives the time, and the letters are next, for example: 20h 18m 11s. I need to translate the letters
%mythic_spawner_[name]_cooldownleft%
How can I put the coordinates on the scoreboard
%player_x%, %player_y%, %player_z%
/papi reload```
Do you know the number of deaths, the number of people killed and the number of zombies killed?
mostly, all placeholders are listed here, consider checking this github page 🙂
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders
%server_tps_x% no matter if I put in 1 5 or 15 always seems to show no decimal values? ie. 17.0 18.0 19.0 20.0 etc
Using TAB plugin to display it.
anyone have deluxmenus for version 1.8 ?
I'm making a shop in Deluxmenus and I want to give enchants to armor is it possible to do it like this?
do you need to download a placeholder for this ?
nope
you can do it with a give command
using like minecraft:give...
Good evening lads and ladies. Im utilizing TheBestRanks plugin that features a "rankup GUI". I'm having trouble having the %McMMO_Level_Herbalism% placeholder return a player's level. It shows the line as is with percentages. Any ideas why?
hello i have a problem with placeholders
i use
%essentials_baltop_player_1% placeholder
I have a hologram of the richest people on my server. The problem is that the hologram is updated only after the server is restarted, and not after a specified period of time.
ping me if somebody will help.
Referring to tanguygab (#placeholder-api message), the placeholder seems to be buggy and doesn't work as intended.
Alternate method: Use ajleaderboard along with vault balance placeholder and display it in your holograms
how can i do that i only see the players that are in survival on the scoreboard??
just never did that
and cant really find anything about that
doesnt seem to be related with placeholderapi, however you need to use display conditions (if your scoreboard plugin allows)
next time, please use #general-plugins or #1007620980627230730 for non papi related stuff 🙂
so there aint a placeholder for that? didnt know that thought it is almost same like players in a world
there is a placeholder which returns the world name, however it depends on the scoreboard plugin how to set condition to it
i am just using TAB for it
yeah so its just tab's internal placeholders
display-condition: "%world%=myWorld"
title: "Title 2"
lines:
- "Scoreboard in world myWorld"
source -> https://github.com/NEZNAMY/TAB/wiki/Feature-guide:-Scoreboard#chaining-scoreboards
Is there any placeholder that shows wether if a player inventory is full or not?
[00:51:36 WARN]: [PlaceholderAPI] Failed to download expansion information how to fix it !!!
%changeoutput_>_input:{math_{player_exp}*100}_matcher:10_ifmatch::black_large_square:_else::white_large_square:%
Hello, I'm trying to make it so that papi puts a black square if the player exp level is above 10%, and a white square if below 10%. This doesn't work, though. But if I sub the input with 11 or 9, it works as intended. Did I do something wrong with {math_{player_exp}*100}?
do you maybe want >= ?
oh
nvm
it's because you have a placeholder inside a placeholder, inside another placeholder
placeholders only support 1 level of nesting
aw man
so in your case, you'd need to use the Utils expansion
/papi ecloud download Utils
/papi reload
%utils_parse_changeoutput_>_input:{math_{player_exp}*100}_matcher:10_ifmatch::black_large_square:_else::white_large_square:%
let me try that out
yep that worked, thank you so much
i have been trying to solve this issue for like an hour
%player_has_empty_slots%
it's %player_has_empty_slot% 🥲 I always forget whether there's an s or not
yo
could someone remind me how to put a placeholder inside a place holder?
like i wanna use another placeholder within another one
which placeholders are you using?
i wanna use my rank tag in scoreboard
so tryna do like %img_<vault_group>%
to get the group name
which is the name of the image
%utils_parse_img_{vault_group}%
/papi ecloud download Utils
/papi ecloud download Vault
/papi reload
it says _NOT_FOUNDimg_owner%%
it works if i just do %img_owner%
i've done this before but i cant remember - im pretty sure it was the same way u just said
ye idk
what do these commands say in chat?
they both return the correct thing
it shows the image
but when i put that into my plugins
wait
tf
it just started working on its own
i swear it did not work xd
its appearing in my scoreboard now
and tab
maybe you had copied the placeholder with the space I put by mistake because of my phone's autocorrect ?
idk what happened lmao thank you
i saw that but i took it out xd
idk what happened
then no idea
Is it possible to have a distance_to_hologram? placeholder with the JavaScript Expansion? I want it to basically display the distance from the player to the hologram such
@junior musk my discord account got hacked my other account
