#placeholder-api
1 messages · Page 56 of 1
Okay, thank you very much indeed.
No problem, Let me know if you need anymore help with anything. I used to be quite skilled at PAPI and DeluxeMenus
Thanks!
Hey, i've made an expansion for PAPI and want to get it onto ecloud where and how do i do that?
Ay, nice work. What's it do
Hey.
I tried creating an account on eCloud, but it redirected me here. I'd like to upload a standalone expansion I made to randomly generate a color on each parse with multiple formats; Hex, Hexadecimal & legacy minecraft colors.
How would I be able to create an account if that's possible right now? Thanks 😄
Before publishing a new expansion, see if the functionality can be integrated into an existing expansion.
hello i have a problem with my placeholder
Nice description!
%math_0:0_(0.05*{checkitem_amount_mat:coal}{luckperms_meta_shop})+(0.05{checkitem_amount_mat:coal}*{luckperms_meta_shop})*0.0{playerpoints_points}%
%math_0:0_(0.05*{checkitem_amount_mat:coal}*{luckperms_meta_shop})+(0.05*{checkitem_amount_mat:coal}*{luckperms_meta_shop})*0.0{playerpoints_points}%
What does it out print? do /papi parse me %math_0:0_(0.05*{checkitem_amount_mat:coal}*{luckperms_meta_shop})+(0.05*{checkitem_amount_mat:coal}*{luckperms_meta_shop})*0.0{playerpoints_points}%
It was still working a few days ago and suddenly the placeholder came loose.
What does the placeholder return?
run /papi parse me %math_0:0_(0.05*{checkitem_amount_mat:coal}*{luckperms_meta_shop})+(0.05*{checkitem_amount_mat:coal}*{luckperms_meta_shop})*0.0{playerpoints_points}% what does it show
i cant send screenshot
^
Did you install all the placeholder extensions you are using?
yes
/papi ecloud download math
/papi ecloud download checkitem
/papi ecloud download luckperms
/papi ecloud download playerpoints
/papi reload
try running those again
try doing this:
%utils_parse_math_0:0_(0.05*{checkitem_amount_mat:coal}*{luckperms_meta_shop})+(0.05*{checkitem_amount_mat:coal}*{luckperms_meta_shop})*0.0{playerpoints_points}%
and do /papi ecloud download utils
Thats a better output
yes
try doing %utils_parseplaceholder:[math_0:round_{0.05 * {checkitem_amount_mat:coal} * {luckperms_meta_shop} + (0.05 * {checkitem_amount_mat:coal} * {luckperms_meta_shop}) * (0.0{playerpoints_points})}]%
Cause you are parsing a placeholder
no
try:
%utils_parse_math_(0.05*{checkitem_amount_mat:coal}*{luckperms_meta_shop})+(0.05*{checkitem_amount_mat:coal}*{luckperms_meta_shop})*0.0{playerpoints_points}%
no
@idle coral can you help me please and sorry for the ping
one last thing to try:
%utils_parse_math_0:down_(0.05*{checkitem_amount_mat:coal}*{luckperms_meta_shop})+(0.05*{checkitem_amount_mat:coal}*{luckperms_meta_shop})*0.0{playerpoints_points}%
math_0:0 does not exist anymore
Also, It could be an issue with you're decimals
try %utils_parse_math_4:down_(0.05*{checkitem_amount_mat:coal}*{luckperms_meta_shop})+(0.05*{checkitem_amount_mat:coal}*{luckperms_meta_shop})*0.0{playerpoints_points}%
I have holograms and I wantr the players prefix to be shown back to them
All you have to do is %luckperms_prefix%
Basically %smallcaps_text_TEXTHERE% and then text here would translate into ᴛᴇxᴛʜᴇʀᴇ
Thats a thing
Sorry
i thought i had a good idea but its fine 😄 i learned to how translate message input into a custom / different font
its fine dw!
not your fault
https://api.extendedclip.com/expansions/servermanager/ - this is my favorite PAPI extension. Its very useful. I created a GUI permission manager via DeluxeMenus and using this extension
No
Thats not what imeant
For the player on the hologram
IIt should be their rank
Not ur rank
Cause if you add that placeholder then your rank will show on everyones name
Change luckperms prefix to vault_prefix
yae
I'm using %checkitem_amount_mat:AIR,inslot:8% to check amount of air in a specific slot, which should either return 0 or 1, but instead of returning 1, it returns exactly 2147483647.
While using the amount without the slot, returns the correct amount of empty slots
Does anyone happen to know the Advanced Skills placeholders? I am creating a menu and I need the progress placeholder but the one they have listed on their website isnt working.
This is the placeholder that I am using : %advancedskills_points_needed_woodcutting%
Air cannot have an amount
%checkitem_inslot:8,material:AIR% @languid bay
Almost had it there
It displays "yes" or "no"
It might be case-sensitive for some reason. Try capitalizing the first W in woodworking
I appreciate the response! Someone from my ticket in AP finally answered and its actually a bug. Thank you!
Ah, That sucks. GC support is slow too. You mustve been waiting a minute for a response
Nah, I dont use the plugin. I made my own types of skills anyway with ExecutableEvents
Interesting. I think im going to have to use a different skills plugin for what I am trying to do.
Alot of the AS functions are internal so its not doing what I need. Lol
EcoSkills is a good maintained plugin. It requires a lot of in-depth configuration knowledge. If you want to go the best route without coding your own skills. I use ExecutableEvents for skills
I will look into that for this project. Thank you so much for the info!
ExecutableEvents takes deeper configuration knowledge than EcoSkills but it has a GUI menu to assist a little bit with Event handling creation
Im sure I can handle either of them. Ill look at both. Il
@ocean basin #showcase message - This is only the beginning you can do with Executable Events. I made a whole boss fight percentage system via EE
OH thanks! Ill take a look!
hello i get these warnings in console:
[15:33:16 WARN]: [PlaceholderAPI] Cannot load expansion playerstats due to a missing plugin: PlayerStats [15:33:16 WARN]: [PlaceholderAPI] Cannot load expansion advancedbungee due to an unknown issue. [15:33:16 WARN]: [PlaceholderAPI] Cannot load expansion playertime due to a missing plugin: PlayerTime
how can i get rid of them ?
Under /plugins/PlaceholderAPI/expansions, You should see playerstats, advancedbungee and playertime. You can delete those files. Then do /papi reload and it should be fixed
can anyone explain how to use the papi plugin on proxy servers when my plugin like TAB is on the proxy server and the papi plugin on the backend paper servers thanks for help
thak you
PAPI does not go on the proxy server but it goes on all the backend servers.
OK, thanks, but how can I then set that, for example, addons like playerstatistic are the same on all backend servers or the money from vault
On your proxy plugin, You'll be able to use PAPI placeholder.
As long as the backend server has PAPI and the correct extensions install. It will work fine
oki thank you
Anyone know how to use the math placeholders? I am trying to get a placeholder to show in my menu for my foraging skill.
I dont want to show each individual block, but I want all foraging blocks total.
Hello, I'm using Folia for my server and I don't know if it requires complete recode of the plugin but placeholder API isn't working on this server software. Is there any way to fix it or do I just need to wait for a plugin update?
https://repo.extendedclip.com/#/snapshots/me/clip/placeholderapi/2.11.7-DEV-212 Can try the newer devs, there was a merge recently. I tried just with the server expansion and folia 1.21.6, seemed to work. 🤔
https://paste.helpch.at/usomafonam.md
It's working, I didn't know they were DEV build available. I'll also check DEV build for other problematic plugins. Thanks for help @half briar
hello
hello how to show player-online in survival server on lobby . i cant do that . pls help me:cry:
i use PAPIProxyBridge and %papi-proxy_online_survival% on hologram
but that just show %papi-proxy_online_survival%
Have you tried the Bungee expansion?
/papi ecloud download Bungee
/papi reload
%bungee_total%
%bungee_<servername>%
i use velocity this work?
Make sure bungee messaging is enabled
sir , where is in config ?
Going by this page https://docs.papermc.io/velocity/configuration/ 🤔
bungee-plugin-message-channel:
Hello there
String parsed = PlaceholderAPI.setPlaceholders(null, placeholder);
Can i use null when parsing placeholder?
If not, how to parse a placeholder from the server?
you can
though not all placeholders will return an output if the player is null
for example, %server_online% (and basically all Server placeholders) will work, but %player_name% (or any other Player placeholder) won't
Its is my JS in the GUI name and it returns empty even though all its returns contain text
String parsed = PlaceholderAPI.setPlaceholders(null, placeholder);```
JS uses the first argument, which is passed to the placeholder as a String (playerNameRaw)
Hi, I'm using DELUXEMENUS for a player stat menu, and i want so every player can see it's own playerhead. But my placeholders does not work, i just see a steve head
items:
player_head:
material: PLAYER_HEAD
slot: 0
display_name: "&aStats"
skull_owner: {PLAYER}
Try %player_name%
JS placeholderse require a player
why? idk
yeah because TAB provides a player lol
Yes yes yes
Why parse a JS placeholder instead of coding the script's function directly in Java though?
it'll be much faster too, parsing the JS script is pretty slow
My JS script works with a large number of lines that I can edit directly in the script without opening the plugin each time
ok
Hello!
Currently having an issue with lpc and deluxetags spacing format
legacy_hex: false
papi_chat: true
force_tags: false
check_updates: true
deluxe_chat: false
format_chat:
enabled: false
format: ' {deluxetags_tag} <%1$s> %2$s'
load_tag_on_join: true
when having done my lpcs set up like this.
chat-format: "{prefix}{displayname}%deluxe_tags%{suffix} &7: {message}"
in chat it turns out like this
EX.
MEMBER Notch[THETAG] > {message}
and now when i setup my lpc like this.
chat-format: "{prefix}{displayname} %deluxe_tags%{suffix} &7: {message}"
ingame chat turns out like this.
EX WITH TAG.
MEMBER Notch [THETAG] > {message}
EX WITHOUT TAG. "Double Space After The Players Displayname"
MEMBER Notch > {message}
What should i do?
Does not work, I already tried {PLAYER}, %player_name%, %player%, {PLAYER_NAME}, skullowner, skull_owner, skull_owner and skull-owner
Neither of theese helps
/papi ecloud download Player
Already
Still doesnt work
May it be because Online-Mode false?
i hope anyone from support can see this thanks again.
No
papi reload or server restart?
Like 10 times already
?dm-heads
Now it's Alex head, but just called "my minecraft nickname's" head
Isn't it because it is set to online-mode=false?
Why might I get a 503 error for http://api.extendedclip.com/v2/ with a server on my local machine, when I can access that URL in my browser? Doesn't happen on the public server.
If you open Command Prompt (or Terminal if on MacOS) and run ping api.extendedclip.com, does it respond or say it can't reach the service?
It's possible you didn't give the Java runtime for the server access to the your network / the internet.
Yep it pings without issue. Those with my ip can connect to my server and plugins do detect when there's an update available.
Can you share the full error? I assume there is more than just the text 503. 😄
How do I make the ping interval 1s?
Sure, although it's really nothing special - just your standard stacktrace for a failed HTTP request: https://pastebin.com/ekQYzdQj
Ah, I lied - other plugins cannot seem to check for updates locally. api.spigotmc.org returns a 403 for CMILib... but again, I can view it in my browser just fine. This is probably related to [PlaceholderAPI] Failed to check for updates on spigot..
LuckPerms, however, can open up an editor and connect to the editor but that might be using a different protocol.
If I run this command in terminal, I do get a 403 curl -I https://api.spigotmc.org/legacy/update.php?resource=87610. Again, in the browser is fine... so I wonder if my local IP is being blocked for non-browser traffic?
Spamhaus ffs
It's an IP range too, x.x.x.0/24
Hello!
I'm looking for a papi expansion that would allow me to "inject" a character between every character of a placeholder output.
Example: %myplaceholder% parse abcd! but i'd like to have an expansion automatically changing the output (whatever it is) to a b c d ! , so basically adding a space after each character.
I suppose this can be achieved with the String expansion, but do i have to register every character in the papi config file? isn't there a way to cover every possible character?
Back to placeholder-api, curl -I https://api.extendedclip.com/v2/ works perfectly fine, the http equivalent will hang and 503... so papi is doing something very weird in the backend regardless.
What version of placeholderapi do you have? If I am understanding this right, using the http protocol fails but using https does not. And from the error you sent, it seems the version of PlaceholderAPI you use uses http.
Actually, testing this, I get 200 with http and https. So my best guess right now is that your network blocks HTTP requests
Can you show the ful result of curl -I http://api.extendedclip.com/v2/? Maybe some headers can help us track what blocks the connection
I'm afraid, with the String expansion you would have to register every character manually. Maybe use some sort of scripting expansion to do this? Such as JavaScript expansion for example.
i have zero knowledge of javascript but i'll take a look. thanks
ChatGPT is pretty decent at it. Especially since you want such a small thing.
i try to not rely on chatgpt for coding 😬 i have some friends who can teach me that stuff
Your code will look something like:
SPECIAL_CHARACTERS = ' ';
function addCharacters(str) {
let result = '';
for (let char of str) {
result += char + SPECIAL_CHARACTERS;
}
return result;
}
addCharacters("%your_placeholder%"));
That's good. If you're just starting to learn, it can make it harder to actually learn
i see, thanks
for now i made a long ass string replacer list, and i'll try the js version later
HTTP/1.0 503 Service Unavailable
Date: Fri, 11 Jul 2025 16:01:59 GMT
Content-Type: text/html
Content-Length: 272
Expires: Fri, 11 Jul 2025 16:01:59 GMT
Connection: close
If I run curl -I http://google.com I will get a 301 Moved Permanently (as http redirects to https). If I run curl -I -L http://google.com it'll follow the redirection and return 200. This kind of proves that my network does allow HTTP requests.
I'm assuming Spigot utilises Spamhaus PBL (which is are IP ranges of networks not configured for email) and does a blanket block... which prevents plugins from checking Spigot for updates. That in itself is kind of stupid.. but extendedclip is different, as that's a 503 and not a 403.
apologies
I am at a loss here. I would've hoped it is cloudflare or a local service blocking this. But I am not so sure anymore.
@balmy marten is there any way to see if a specific requests reaches the API? Do we have logs?
To see if the 503 is returned by our API or is it a middle service
quick question: how do get the %essentials_nickname% placeholder to work with TAB?
Does it work if you use /papi parse me %essentials_nickname%?
If not, execute /papi ecloud download essentials and then /papi reload.
CloudFlare handles all the traffic, users don't connect to the server directly
Hello
- '&r&f%utils_parseother:[{player}]_utils_parse:2_\luckperms_prefix\%' This did work for me, however I noticed that it returns an empty message if the player is not online
Would you have a solution?
I'm pretty sure that's just LuckPerms expansion only working for online players.
I don't think there's anything you or us can do about it
Yes, as I saw it is not possible because it would bring many problems, but I was able to do something to obtain it.
I'm not sure what %arg_1% is, but other than that, it looks fine
%arg_1% ending up being an arg of the command used before which would be the player's name
No one deleted the images yet?
size: 9
open_command: kits
register_command: true
update_interval: 1
items:
test_item:
material: FISHING_ROD
slot: 8
display_name: "&7&lFishing Rod Kit"
lore:
- "&fIs Unlocked: %essentials_has_kit_fishingrod%"
- "&fAvailable: %essentials_kit_time_until_available_fishingrod%"
- ""
- "&f&lITEMS"
- "&7&l- &7fishing_rod"
click_commands:
- '[close]'
- '[player] kit fishingrod'
is there a way I can make it say unlocked instead of true?
%changeoutput_ignorecase_input:{essentials_has_kit_fishingrod}_matcher:true_ifmatch:&a&lUNLOCKED_else:&c&lLOCKED%
Dont forget to do
/papi reload```
Thanks
Can anyone let me know if the way to register an expansion using the PAPI API has changed in 2.11.6 - 2.11.7? My code registering expansions has worked fine until I updated my dependency to 2.11.7 to support Folia. Now I get the following error:
java.lang.NoClassDefFoundError: me/clip/placeholderapi/expansion/PlaceholderExpansion```
The dependency is downloaded through maven correctly, and I know I am registering the expansions correctly, because my code was working perfectly fine up until version 2.11.5, but using 2.11.6 or 2.11.7 on paper or Folia servers cause the problem for me. Does anyone have some pointers on what might be causing this issue for me? Thanks in advance.
Is PlaceholderAPI installed on the server?
Or have you by any chance shaded PlaceholderAPI in your plugin?
Yes PAPI is installed and shaded, when I’m in my IDE I get no errors and the library is fully downloaded, but it seems like the API itself doesn’t load correctly on Folia servers— but that’s just a guess, I’m not sure how I could confirm
you shouldn't shade it
though I'm not sure if PAPI even works on Folia
nvm it does, got confused with DeluxeMenus
but yeah you shouldn't shade PAPI within your own plugin
Wonder if that might help thanks for the idea I’ll give it a go
I figured it out, it was my fault and it was a stupid one! I needed to set join-classpath to true in my paper-plugin.yml for my PAPI dependency declaration. I guess I'm still working out the little details with the Paper API haha! Thank you guys for the help though, sorry to bother 🙏
There's a couple of things happening on the github, but there's no major releases planned just yet
hello, anyone knows what causing this? https://prnt.sc/CnnImPiTP-5w
@fierce sinew 
im on paper 1.21.5 and have placeholderAPI installed and enabled on my server, it just doesn't parse, it isnt doing anything
What placeholders are you trying to use?
%player_name%
And you have run this command? papi ecloud download Player
no i didnt know it wass needed ill run it
https://wiki.placeholderapi.com/users/placeholder-list/ This will be useful for you
Is there a way to use placeholders inside of placeholders, for example my skript variable is {kills.%player%}, and the skript expansion is %skript_<variable>% so i tried %skript_kills.%player_name%% but it turns it into "N/Aplayer_name%%"
I'm not 100 sure, but you might be able to use {player_name}
It still says N/A
And the variable {kills.Jind} is set to 1
It might not be possible like you're trying to do it
This is how most skript variables are set, how else do you think I should try
Hey can anyone test this please https://github.com/Tanguygab/PlayerList-PlaceholderAPI-Expansion/issues/13 please tang fix this 🙏
anyone knows how to make leaderboards with decent holograms i tried using the placeholder but it doesnt work
Leaderboards of what?
Use ajleaderboards and use the placeholders of what you need
mined blocks
it doesnt work
i want to show top 10 players with the most mined blocks
Yes
You need ajleaderboards decentholograms for example and placeholderapi
you don't need more things
i use fancy holograms
I recommend decentholograms but you can do the same
but all the other stuff i use and i have them
%luckperms_group% it shows this and not the rank
send a link to imgur because you can't upload photos
%ajlb_blocks_mined_1_alltime% it shows this not the players and their amoutn of blocks they mined
read the wiki and the above message
i will try
It's a little different than that
teach me
Have you gone through the documentation and set up the plugin?
https://wiki.ajg0702.us/ajLeaderboards/setup/#2-required-add-the-placeholder-to-ajleaderboards
Here's an example of one type of leaderboard
how to make it %parseother_unsafe_{mmocore_party_member_1}_{player_health_rounded}% but by utils extension ?
quick question, how do I show quests progress using quests papi in TAB plugin?
https://www.spigotmc.org/resources/placeholderexpansion-quests.69357/
I believe this is the full list of placeholders that Quests provides.
Take a look and test them using /papi parse me %placeholder% command
I tried them all and they gave me “player is not a valid placeholder”
Can you show me an example that you've tried?
I put every placeholder in the scoreboard to see what it ouputs, all say "player is not a valid placeholder".
Have you tested it with the papi parse command?
See if they work like that.
yea
hi! How do i make bedwars1058 placeholders work with Papi? All i get is just %bw1058_player_xp% and i should get number. i have installed on server bw1058, bedwarsproxy, placeholderapi and other plugins. every needed plugin is green when i type /pl.
Hello any idea on this error, please? https://paste.helpch.at/hedemidowo.md
Hiya there,
I have used PAPI on my servers before, before today I was using the Bungee expansion with my Velocity setup to list the amount of players on the network and server (%bungee_total%, %bungee_<server>%) but I am unable to make it work on a new setup. I was wondering if this is no longer compatible or if I'm missing something.
Are there any requirements to make this expansion work and what information can I supply to make solving this issue easier. Thank you in advance!
Make sure bungee messaging is enabled in velocity's config
ajlb_lb_statistic_time_since_death_1_alltime_name
statistic_time_since_death
The player in general was killed by a bug and I wonder, can I somehow restore his time from yesterday?
I have the placeholder api version 2.11.6 and I ecloud download and reload each time but nothing works and shows up on my scoreboard and I am using proper placeholders.
Those statistics are managed by the server itself. I believe they are stored in world/playerstats/...
You can probably manually change it, but you would have to know what the previous death time was
Hello, Can you please execute /papi dump and send the generated link here? I would also love a startup log if that's possible.
And an example of a placeholder that doesn't work.
do you have any idea what?
The file should be of type .json
I think I gave you the wrong path. Look for a folder that is called stats or statistics
okey see
Hello! Do you have support for this plugin on version 1.21.4? The problem is that I installed the plugin on exactly this version and it could not connect to the network.
PlaceholderAPI does work on 1.21.4
hurray!!! I'm going to get hemorrhoids!!!
on 1.21 it doesn't work either. What's the joke?
WTF
There is no joke. It works for me. If you are having network issues, then they're probably happening because of your network. But if you share details about your issue (such as error messages), maybe we can help debug this.
that is, it can't connect to localhost?
You did not share any errors or warnings with us. All you said is that it can't connect to the network. The plugin needs to connect to the ecloud sometimes to download expansion information (or to download the expansions itself).
So, I assumed that it can't connect with ecloud
Sorry if its a FAQ but any 1.21.7 support or devbuild?
placeholderapi itself should already work, potentially some expansions may need updating but no reports of issues so far
Thanks for the answer.
One more thing, sorry for pinging you. If I were to use a PAPI PlayerList and use its <index> method to input a player that is not in the list already, what would that return? null? (I dont know much java yet im more of a c++, c#, python guy, learning java atm tho.)
gotcha ill download both and give it a try
Is there a placeholder that allows me to see if a server in my network is whitelisted?
If so, which one is that?
Probably only if you use a specific whitelist plugin out there.
There's none that refer to the whitelist.json
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki
TL;DR;
Is it possible to get values from environment variables/properties etc.?
11:26:31 Warn]: [PlakeHolderapi] [Math] Espanceamento de espaço reservado: %MATH_MCMMO_XP_MINING MCMMO_XP_WOODCUTTING MCMMO_XP_EXCAVATION MCMMO_XP_HERBALISM MCMMO_XP_ACROBATICS MCMMO_XP_ALCHEMY MCMMO_XP_TAMING MCMMO_XP_REPAIR MCMMO_XP_SALVAGE MCMMO_XP_SMELTING "%
[11:26:31 Warn]: [PlakeHoldERAPI] [MATH] Causa: McMMO não é um número inteiro válido.
Comportamento esperado
11:26:31 Warn]: [PlakeHolderapi] [Math] Espanceamento de espaço reservado: %MATH_MCMMO_XP_MINING MCMMO_XP_WOODCUTTING MCMMO_XP_EXCAVATION MCMMO_XP_HERBALISM MCMMO_XP_ACROBATICS MCMMO_XP_ALCHEMY MCMMO_XP_TAMING MCMMO_XP_REPAIR MCMMO_XP_SALVAGE MCMMO_XP_SMELTING "%
[11:26:31 Warn]: [PlakeHoldERAPI] [MATH] Causa: McMMO não é um número inteiro válido.
Como reproduzir
Objetivo: PlaceHolderApi;%MATH_%MCMMO_XP_MINING%McMmo_XP_woodcutting%MCMMO_XP_EXCAVATION%MCMMO_XP_HERBALISM%MCMMO_XP_FISHS%MCMMO_XPOMXMOM_XP_XP_SWORDS%McMOMXMMOMXMOM_XP_SWORDS%McMMOP_XMMeM_XP_Words. %MCMMO_XP_ACROBATICS%MCMMO_XP_ALCHEMY%MCMMO_XP_TAMING%MCMMO_XP_REPAIR%MCMMO_XP_SALVAGE%MCMMO_XP_SMelting %%
Plug -in xltournamets
objective: PLACEHOLDERAPI;%math_{%mcmmo_xp_mining%}+{%mcmmo_xp_woodcutting%}+{%mcmmo_xp_excavation%}+{%mcmmo_xp_herbalism%}+{%mcmmo_xp_fishing%}+{%mcmmo_xp_archery%}+{%mcmmo_xp_swords%}+{%mcmmo_xp_axes%}+{%mcmmo_xp_unarmed%}+{%mcmmo_xp_acrobatics%}+{%mcmmo_xp_alchemy%}+{%mcmmo_xp_taming%}+{%mcmmo_xp_repair%}+{%mcmmo_xp_salvage%}+{%mcmmo_xp_smelting%}%
Hello friends, I'm still having trouble and haven't found a way to track my total XP from mcmmo.
Once again, I apologize for opening this ticket in the wrong section.
Can someone please help me?
Hey! I'm trying to use the Utils expansion to nest placeholders, and am running into a weird result.
%utils_parse:1_changeoutput_equals_input:{statistic_entity_killed_by:player}_matcher:0_ifmatch:ɴᴏ ᴅᴀᴛᴀ_else:{math_{statistic_player_kills}/{statistic_entity_killed_by:player}}%
I want a placeholder that displays "no data" if %statistic_entity_killed_by:player% = 0, otherwise shows the player's KDR.
What I have works fine in cases where players' death count is greater than 0, but if it equals zero, instead of "no data" being shown, no datamath_0/0%% is returned instead. I'm not sure why the changeoutput placeholder isn't stopping at the _else: segment.
The placeholder works outside of the utils expansion.
eg. %changeoutput_equals_input:{statistic_entity_killed_by:player}_matcher:0_ifmatch:ɴᴏ ᴅᴀᴛᴀ_else:{math_{statistic_player_kills}/{statistic_entity_killed_by:player}}%. Of course, this won't parse the math expansion because it's nested too many times already.
ive just tried this exact same placeholder and its working fine, can u send a /papi dump please?
remove the %% of the inner placeholders.
%math_{mcmmo_xp_mining}+{mcmmo_xp_woodcutting}+{mcmmo_xp_excavation}+{mcmmo_xp_herbalism}+{mcmmo_xp_fishing}+{mcmmo_xp_archery}+{mcmmo_xp_swords}+{mcmmo_xp_axes}+{mcmmo_xp_unarmed}+{mcmmo_xp_acrobatics}+{mcmmo_xp_alchemy}+{mcmmo_xp_taming}+{mcmmo_xp_repair}+{mcmmo_xp_salvage}+{mcmmo_xp_smelting}%
good afternoon, I have a Javascript placeholder and when I put a custom placeholder I get a blank space but not what I did, I think this is because my server version is 1.20.4?
what placeholder are u trying to use and can u show the script
maybe you can somehow parse through ParseOther, although there's no point
%javascript_remaining_time_05:00%
function remainingTime() {
if (!args[0]) {
return "&cEnter time. Example: javascript_remaining_time_13:00:00";
}
var now = new Date();
var target = new Date();
var timeArray = args[0].split(':');
target.setHours(timeArray[0]);
target.setMinutes(timeArray[1]);
target.setSeconds(timeArray[2]);
if (target < now) {
target.setDate(target.getDate() + 1);
}
var diff = target - now;
var hours = Math.floor(diff / 3600000);
var minutes = Math.floor((diff - (hours * 3600000)) / 60000);
var seconds = Math.floor((diff - (hours * 3600000) - (minutes * 60000)) / 1000);
return hours + " ч. " + minutes + " мин. " + seconds + " сек.";
}
remainingTime();
have u entered the placeholder into the javascript config?
along with correct file name
yes
ah.. probably not
so u should have
file: smth.js
Good afternoon, ok, I'm feeling here connecting the server to localhost
objective: PLACEHOLDERAPI;%math_{mcmmo_xp_mining}+{mcmmo_xp_woodcutting}+{mcmmo_xp_excavation}+{mcmmo_xp_herbalism}+{mcmmo_xp_fishing}+{mcmmo_xp_archery}+{mcmmo_xp_swords}+{mcmmo_xp_axes}+{mcmmo_xp_unarmed}+{mcmmo_xp_acrobatics}+{mcmmo_xp_alchemy}+{mcmmo_xp_taming}+{mcmmo_xp_repair}+{mcmmo_xp_salvage}+{mcmmo_xp_smelting}%
Console
[17:02:08 WARN]: [PlaceholderAPI] [math] Invalid Placeholder detected!
[17:02:08 WARN]: [PlaceholderAPI] [math] Placeholder: %math_{mcmmo_xp_mining}+{mcmmo_xp_woodcutting}+{mcmmo_xp_excavation}+{mcmmo_xp_herbalism}+{mcmmo_xp_fishing}+{mcmmo_xp_archery}+{mcmmo_xp_swords}+{mcmmo_xp_axes}+{mcmmo_xp_unarmed}+{mcmmo_xp_acrobatics}+{mcmmo_xp_alchemy}+{mcmmo_xp_taming}+{mcmmo_xp_repair}+{mcmmo_xp_salvage}+{mcmmo_xp_smelting}%
[17:02:08 WARN]: [PlaceholderAPI] [math] Cause: '++++++++++++++' is not a valid Math expression.
even with your fix it keeps showing this in the console above and it's also not counting the xp
what does /papi parse me %mcmmo_xp_mining% return
ofc! thanks for taking a look: https://paste.helpch.at/iyuruhekuc
582
is the output ur getting through using the /papi parse command?
the problem is that it does not count the Mcmmo XP, it says that there is no extension
have u tried using the parsing the whole command through /papi parse me also?
yes
now run the whole placeholder through the command
/papi parse me %math_{mcmmo_xp_mining}+{mcmmo_xp_woodcutting}+{mcmmo_xp_excavation}+{mcmmo_xp_herbalism}+{mcmmo_xp_fishing}+{mcmmo_xp_archery}+{mcmmo_xp_swords}+{mcmmo_xp_axes}+{mcmmo_xp_unarmed}+{mcmmo_xp_acrobatics}+{mcmmo_xp_alchemy}+{mcmmo_xp_taming}+{mcmmo_xp_repair}+{mcmmo_xp_salvage}+{mcmmo_xp_smelting}%
Yes it is.
strange
i literally copied and pasted the placeholder u put in here and its fine
only difference i had latest dev build - but that shouldnt really matter
Ah, really? I'd upload images if I could, but I'm not really sure how else to test this.
can u try without the UTF characters / font in "no data"? and just try normal chars
/papi parse me %math_{mcmmo_xp_mining}+{mcmmo_xp_woodcutting}+{mcmmo_xp_excavation}+{mcmmo_xp_herbalism}+{mcmmo_xp_fishing}+{mcmmo_xp_archery}+{mcmmo_xp_swords}+{mcmmo_xp_axes}+{mcmmo_xp_unarmed}+{mcmmo_xp_acrobatics}+{mcmmo_xp_alchemy}+{mcmmo_xp_taming}+{
It only goes this far, can it be via console?
Like I said, %utils_parse:1_changeoutput_equals_input:{statistic_entity_killed_by:player}_matcher:0_ifmatch:ɴᴏ ᴅᴀᴛᴀ_else:{math_{statistic_player_kills}/{statistic_entity_killed_by:player}}% works so long as {statistic_entity_killed_by:player} returns anything greater than 0, but if it is 0 I get the no datamath_0/0%% thing.
Same thing happens if I use regular text instad of the tiny text.
Interestingly, the no datamath_0/0%% thing does NOT happen if I use
%utils_parse:1_changeoutput_equals_input:0_matcher:0_ifmatch:ɴᴏ ᴅᴀᴛᴀ_else:{math_{statistic_player_kills}/{statistic_entity_killed_by:player}}%
(replacing the comparison placeholder [{statistic_entity_killed_by:player}] with 0)
needs to be ingame i think, try removing some of the skills from the placeholder for now
maybe you can try from console, replacing papi parse me with papi parse USERNAME
remove the %s from the inner placeholders...
ok
Actually, disregard this. I'm getting a different result depending on who I'm parsing the placeholder as.
add the % for the end still
I did it the way you said with just a few and it didn't work, it returns the same command
"main" placeholders requires %%
inner placeholders are just {}
ok so ur placeholders works, i assume u have 0 woodcutting XP, and 0 excavation XP
but remembering that I want to create a tournament of who can collect the most XP experience and not mcmmo level. yes 0 skill
that means the plugin u are using this placeholder in is not passing your Player argument, and thats where ur issue comes from as mcmmo is returning blank when there is no player
what plugin are u trying to use the placeholder in?
so this plugin is not giving a player argument to the placeholder
some plugins intentionally do this, depending on if they can
i dont know anything about this plugin so I'm not sure if its possible, but I would try to contact the developer to see
the placeholder itself is working fine
Do you think it has something to do with mcmmo?
[18:01:02 WARN]: [PlaceholderAPI] [math] Invalid Placeholder detected!
[18:01:02 WARN]: [PlaceholderAPI] [math] Placeholder: %math_{mcmmo_xp_mining}+{mcmmo_xp_woodcutting}+{mcmmo_xp_excavation}+{mcmmo_xp_herbalism}+{mcmmo_xp_fishing}+{mcmmo_xp_archery}+{mcmmo_xp_swords}+{mcmmo_xp_axes}+{mcmmo_xp_unarmed}+{mcmmo_xp_acrobatics}+{mcmmo_xp_alchemy}+{mcmmo_xp_taming}+{mcmmo_xp_repair}+{mcmmo_xp_salvage}+{mcmmo_xp_smelting}%
[18:01:02 WARN]: [PlaceholderAPI] [math] Cause: '++++++++++++++' is not a valid Math expression.
console This message keeps uploading
because that is how the plugin is parsing the placeholder
it is parsing without a player
But is it normal? There are times when it counts, then disappears and counts again and then stops like that all the time.]
I'm trying to add the deluxetags placeholder to the essential chat and it's not detecting it. Does anyone know why?
it is expected behaviour. i would speak to the developer of that plugin to see what they are doing
deluxetags integration was broken with the latest essentials version, I would recommend finding another chat plugin that supports PlaceholderAPI instead until we fix it
ok thank you very much I will talk to him about it
Oh, I spent the whole afternoon like crazy without understanding why the {deluxetags_tag} didn't work in essentials, thanks for the help
Using this placeholder as an example, I'm getting different outputs depending on who I'm running the placeholder for:
/papi parse me %utils_parse:1_changeoutput_equals_input:0_matcher:0_ifmatch:No data_else:{math_{statistic_player_kills}/{statistic_entity_killed_by:player}}% returns "No data" as expected. However...
/papi parse shoguul %utils_parse:1_changeoutput_equals_input:0_matcher:0_ifmatch:No data_else:{math_{statistic_player_kills}/{statistic_entity_killed_by:player}}% returns No datamath_0/0%%.
Nothing has changed between the two placeholders -- just the player it is being parsed for. I'm not sure why there would be a difference though, as the input string "0" always matches the matching condition.
I can just rewrite it as %utils_parse:1_math_{statistic_player_kills}/{changeoutput_equals_input:{statistic_entity_killed_by:player}_matcher:0_ifmatch:1_else:{statistic_entity_killed_by:player}}% and it works both ways. I guess there was just something funky with the way it was formatted previously
hey autor xltournaments
my guess is because they are running this task async
Bukkit.getOnlinePlayers() is not thread safe
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Server.html#getOnlinePlayers()
this would make the most sense as you said it works sometimes, and sometimes doesnt
I sent it to him here, thank you, sorry for the ping
Hey can anyone link me with the papi java docs?
i wanted to know what's the newer way to unregister placeholders on disable (is deprecated)
Hi there! I use the %vault_eco_balance_formatted% placeholder for some things on server. My problem is that the balance is displayed very rounded. For example, if the player has 11 million and 500 thousand, it simply shows 11M, but I want it to display 11.5M.
Oh, thanks for informing ❤️
whoops
hello so i have a question cuz my place holders dont work cuz im trying to get the balance from essentialsx to simplescore and it does not want to work and also im trying to show the rank in simplescore also does not work can someone help me please
Hi there! I use the %vault_eco_balance_formatted% placeholder for some things on server. My problem is that the balance is displayed very rounded. For example, if the player has 11 million and 500 thousand, it simply shows 11M, but I want it to display 11.5M.
Can you please give an example of placeholder that doesn't work? Also, have you downloaded the appropriate expansions?
Can you execute /papi dump and send the generated link here please?
well i also have vault and it does not whana work for me the vault eco balance
i just fixed the one for luck perms its just the vault placeholders
Have you tested the placeholders using the /papi parse command?
Do they work that way?
You do not have the Vault expansion
oh?
Execute /papi ecloud download vault and after that /papi reload
its also require a version what version do i need?
Version is optional. If you don't input anything it will take the latest.
Which is what you should use
omg it worked thank you so much!!
You are on the latest version. Looking at the code, this should give you 1 decimal
Can you test the placeholder using the /papi parse command? Something like this: /papi parse me %vault_eco_balance_formatted%?
Yeah, there it also is shown as rounded
I think, I have to configure this somewhere
sorry for my bad english
I've just tested this, with exactly 1_500_000, it shows the decimal. But with the amount you shown in the photo, it does not. I'll look into it.
Yeah. This is a bug in the Vault expansion. I'm fixing it right now and I'll send you to test.
That is very very nice!
It shows up the balance behind b https://media.essential.gg/6ed45fa7-c111-460a-0d52-b85154963e00
I think, it rounds only "small" balances like millions
Anyway I also want to disable that
@vague flame, feel free to use this.
To update:
- Go to
plugins/PlaceholderAPI/expansions/and deleteExpansion-vault.jar. - Add this
Expansion-Vault-1.8.4-dev.jarto the same folder. - Execute
/papi reload.
It should be an instant update and you should see this fixed.
No. The problem was that it rounded everything above 100. So 101.1M would become 101M but 99.9M would work.
You are the best! Thank you very muc
Please let me know if it works or if you have any more issues with it.
Now it works perfectly!
Can I also make it display like that: 49.82 ?
No. It is limited to 1 digit
Oh okay, I saw it on antother Server, but then it is probably a different Plugin
They might've even made it themselves. Vault expansion gives you the raw values. Using something like the JavaScript expansion (which lets you create custom placeholders using JavaScript), they could've created their own format.
Could I use Skript for that?
Some Skripts I Designed myself can also Display Balance Like that
I'm not sure. I have not used Skript before. I have head that it lets you create custom placeholders, so probably you can.
You need something to let you take the value from a placeholder (%vault_eco_balance_fixed%), format it in some way (do math and string operations on it) and then return it using a new placeholder.
If Skript can do that, then yes you can use Skript.
@turbid tide Can anyone know how can i makkke a toggle menu example if I click on A example item suppose Stone it convert into end stone and it lore change to hello and if I click again it return backk to stone and lore change to hi and I need thhis in 1 menu
hi, i need to create an account on ecloud cuz i wanna upload a new extension
or is there another way?
hey i cant seem to figure ourt the placeholder for playtime i think its in essentiels but i cant find it can someone help me
there is no placeholder for playtime in essentials; you need a seperate plugin https://www.spigotmc.org/resources/playtime.26016/
or don't cheap out and buy CMI 🙂
Or you can use %statistic_time_played%
These are stats tracked by the server
ohh oke great thanks
Can you share a link to the expansion you're trying to get an account for (source code if possible)
How do you do Euclidean division with the math module?
%math_{zmenu_input}//9% dosen't work :/
You could do something like this:
%math_0:down_{zmenu_input}/9% %math_0:down_{zmenu_input}[prc]9%
ok thx
Ok. I'll forward this to the admin that handles account creation. He is currently offline but he will contact you in the next 12-24 hours.
alr, thanks
its my first time making an expansion at all so if somethings wrong lmk
Hello, good afternoon. Excuse me... Could you help me figure out how to remove decimals from this math formula? (I want at least 2 decimal places to be seen, that is, at a percentage level of 1.00% or even better, 1%.)&a%math_round(({mythic_archetype_exp_CLASS}/{mythic_archetype_exp_goal_CLASS})*100, 2)%&
use %math_0_round(({mythic_archetype_exp_CLASS}/{mythic_archetype_exp_goal_CLASS})*100, 2)% for no decimal places
add the _0 after %math basically
that number means how many decimals you want
yep np
can someone help me?
- content: '#FFFF00#&l1 &7%essentials_baltop_player_1% &8| #00ff00$%essentials_baltop_balance_fixed_1%'
height: 0.3- content: '#FFFF00#&l2 &7%essentials_baltop_player_2% &8| #00ff00$%essentials_baltop_balance_fixed_2%'
height: 0.3 - content: '#FFFF00#&l3 &7%essentials_baltop_player_3% &8| #00ff00$%essentials_baltop_balance_fixed_3%'
height: 0.3 - content: '#FFFF00#&l4 &7%essentials_baltop_player_4% &8| #00ff00$%essentials_baltop_balance_fixed_4%'
height: 0.3 - content: '#FFFF00#&l5 &7%essentials_baltop_player_5% &8| #00ff00$%essentials_baltop_balance_fixed_5%'
- content: '#FFFF00#&l2 &7%essentials_baltop_player_2% &8| #00ff00$%essentials_baltop_balance_fixed_2%'
for some reason
first place doesnt show up in my leaderboard
why cant i send screenshots in here?
ohh ok
here
developers it would be nice if you guys can help me out!
i asked essentials for help and they said "Ask papi support. We don't maintain that placeholder"
Execute /papi dump and send the generated link here please.
Make sure the player doesn't have essentials.balancetop.exclude
in luckperms
?
yes
or if the player is op, set that permission as false
???
I see some threads mentioning that baltops only update every 30 minutes or so. Can you try to execute /baltop force to see if it will force the update?
nope
if i also duplicate the 1st place it also shows the 2nd place person twice
even if i make myself 1st my name is gone in the baltop leaderboard
and the original 1st place is shown now
but its weird
1st place just disappears
can you help me figure it out?
https://paste.helpch.at/ahuzunuleq
I have problem with register the vault
looks like u dont have a supported economy plugin / or permissions plugin
vault is just the provider
hey hey,
im trying to parse an value out of an nbtstring,
i already can read the lore of the item, also the nbtstrings, but cant validate if number x is greater than y
is there any workaround or knows anyone an way?
hi so i noticed that some of the EssentialsX placeholder dont work anymore such as %essentials_nickname%
I'm having issues with enabling papi on a plugin i'm updating. it was working in previous a version but since i updated it stopped working https://paste.helpch.at/havoganafo.php
i'm 99% sure it's not a dependency issue
Hi, I want to write a plugin with a placeholder on paper 1.21.4 on Intellij idea, but I can't add:
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.11.4</version>
<scope>provided</scope>
</dependency>
Almost everything is red. Please help me.
Did you reload the maven?
To be honest, I don't understand why to reboot
You have to reload maven and build dependants for it to register
I'm getting the error Cloud not find artifact 'me.clip:plasholderapi.pom:2.11.'
Now the error is different Unresolved dependency: 'me.clip:placeholderapi:jar:2.11.4'
2.11.4 does not exist
2.11.5 and 2.11.6 does
I'm too dumb, now I have 3 errors at once here is one of them
Could not find artifact me.clip:placeholderapi:pom:2.11.5 in papermc-repo (https://repo.papermc.io/repository/maven-public/)
heelppp plss
@idle coral help pls
can i get help plz 🙏
@Staff random images, Possible scam
I'm too dumb, now I have 3 errors at once here is one of them help mee
Could not find artifact me.clip:placeholderapi:pom:2.11.5 in papermc-repo (https://repo.papermc.io/repository/maven-public/)
What's a place holder to automatically display each peoples time's timezone or if not then the current date in their country
Use version 2.11.6
Also, this repository: https://repo.helpch.at/
You can use the LocalTime expansion: https://wiki.placeholderapi.com/users/placeholder-list/#localtime
Hi, what is the different between onRequest and onPlaceholderRequest ?
I tried the wiki but it doesn't mention it (or I somehow missed it)
Thanks
https://wiki.placeholderapi.com/developers/creating-a-placeholderexpansion/#making-an-internal-expansion
I read the whole thing again so it mean I only need to overload onPlaceholderRequest if the expansion is an relational expansion? is my understanding correct?
One takes a Player, one takes a nullable OfflinePlayer
if i was to parse a placeholder and it returns back blank what does that mean usually
depends on the placeholder
and depends on what you refer as "blank"
if it returns itself, it means the placeholder doesn't exist or its expansion isn't loaded
if it's an empty string/line/text, then the placeholder just didn't return anything
Good morning my friends, can anyone tell me how to create a placeholder API where I can accumulate all the XP experience that the player can get with the mcmmo skills?
I'm migrating over from a custom translations implementation to the adventure MiniMessage translator, the problem is that I might have to void the PlaceholderAPI integration I have (all the messages I use are translated). The issue is that everything in adventure uses components, where I previously inserted the placeholder API strings before deserializing the translated mini message
Any idea on how to proceed with this, or should I just void PlaceholderAPI integration?
I'm unsure what the issue with PAPI is, are you trying to pass placeholders as arguments to the translated components?
If yes, you can do that https://docs.advntr.dev/minimessage/format.html#translatable check the syntax/second example

I just want any placeholder from other plugins to be available to use in my translated messages, for say this is how I'm planning to use the adventure translator.
audience.sendMessage(Component.translatable(translationKey, Argument.tagResolver(resolvers)));
And then the server automatically uses a GlobalTranslator to convert that message to the correct locale, which supports translations added by plugins.
I'm aiming to inject all the PlaceholderAPI placeholders into the unformated translation. Maybe that's not necessary to do, but like the translations are exposed to the users in multiple properties files
oh the translation contains the PAPI placeholders, alright I misunderstood
I feel like there should be a library to parse PAPI placeholders in components, not entirely sure, I'll check
There's MiniPlaceholders, which just uses tag resolvers
You can also technically deserialize -> serialize -> inject placeholders -> deserialize
I just remembered how MC works, and I don't think that's possible
only the translatable key is sent to the client, and the client replaces it with the correct string
but you can't parse PAPI placeholders after the player has the translated string, so I doubt that's possible
you should rely on arguments instead, forwarding components with the placeholders parsed into the translatable component's arguments
that should work
Maybe I can actually make a custom tag resolver, like this
my.translation.key=Hello <placeholderapi:[my-placeholder-key]>!
Code:
TagResolver.resolver("placeholderapi", ((argumentQueue, context) -> {
String placeholder = argumentQueue.popOr("missing_placeholder").value();
return Tag.selfClosingInserting(Component.text(PlaceholderAPI.setPlaceholders(player, "%" + placeholder + "%")));
}));
Oh, really? 🤔
I will ask the adventure devs about how that works, to be sure. I thought that these messages were preprocessed before sending it to the player though
Kezz says there will be no limitations on it, so I will trust that
I don't use translatable components that much so I could be wrong, Adventure's dev are most likely more aware of how it works yeah
gl with that
Thanks 🙏
This should work just fine. If you want, you can copy the the tags we use for ChatChat. They are a bit more robust and it also has one for relational placeholders: https://github.com/HelpChat/ChatChat/blob/main/plugin/src/main/java/at/helpch/chatchat/util/PapiTagUtils.java
The main difference from yours is that it allows both closing and inserting components (with an optional argument like so: <papi:closing:MY_PLACEHOLDER>), and it also supports : inside placeholders. In your case if the placeholder contains :, it will only attempt to parse whatever is before it.
Thanks! I will see what I can copy from that!
Oh. There's one more major change, that you might not want, and that is the tag automatically transforms output from legacy colors and text formatters to minimessages
Alright 👍
Hi, I'm having a problem with the plugin. When I restart my server, or there are daily restarts, the placeholders get broken and don't work until I use /papi reload. How do I fix it? 🙁
any idea how to solve?? 😭
Can you send the startup logs please?
imagine a society where people answer my question.. but oh well 😔
Hi, when i use papi reload command i get only this and every expansions turn into e.g. %bungee_total% so they doesn't work, console shows only this:
[01:08:47 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[01:08:47 INFO]: [PlaceholderAPI] Fetching available expansion information...
Add PlaceholderAPI as a depend in plugin.yml
Also, make sure you don't shade PlaceholderAPI inside your plugin
@sacred thunder
Can you send a full log please?
What does that mean?
basically including the PlaceholderAPI code in your own and building your plugin with PlaceholderAPI code in it
No i'm registering a placeholder extension with it.
Oh that actually worked, the plugin will load now but it doesn't register any of the placeholders, and there's no errors.
Can I see the code for your expansion? If not, add some debug messages in places such as the expansion constructor, onRegister method, onRequest and so on.
Oh nevermind i'm upid. The previous thing didn't fix the problem it's still giving that error.
My code is basically just directly copied from the wiki. I'm using the latest version of placeholder api too.
i don't use that i just added the dependency in my intellij project structure and it worked :3
Ok, can you use a decompiler such as recaf and make sure the PlaceholderAPI code is not present in your jar file?
full mc log?
oh sorry
Anyone know why this is happening?
https://mclo.gs/3jTAy0b
try checking firewall settings
help, luckperms and carbon chat are running on the folia 1.21.8 core, but they don't see the placeholders. all plugins seem to be running successfully.
hey guys. What's the correct way to use the CheckItem expansion now with the new item components stuff? Using latest but I'm facing errors whenever I try to grab the nbt strings of an item
Question: How do I use a space inside a placeholder inside a placeholder using the math expansion and the playerstats plugin + expansion
Example; /papi parse me %math_{%playerstats_ only:number, me, deaths%} + 1%
If I use /papi parse me %playerstats_ only:number, me, deaths% it returns the 'deaths' statistic.
What I think is going wrong here is the fact that you can't use spaces in a placeholder inside a placeholder...
What I am trying to achieve at the end it this expression:
/papi parse me %math_{%playerstats_ only:number, me, kills%} / {%playerstats_ only:number, me, deaths%}%
This will calculate the kill death ratio.
If there is a different plugin and expression that gives you a kdr statistic please let me know, I'm struggling to figure this all out
Thanks
Get rid of any % in the brackets {
/papi parse me %math_{playerstats_ only:number, me, kills} / {playerstats_ only:number, me, deaths}%
Thats how it should look
you probably meant to tag the other guy
Oops, I cooked you
@cosmic fable
Lets see what you got going on though
can't seem to pick up an nbt string properly in 1.21.4
my item got;
[22:00:52 INFO]: xRebelD has the following entity data: {id: "minecraft:paper", count: 1, components: {"minecraft:custom_name": '{"color":"white","extra":[{"extra":[{"color":"#6e6e6e","text":"B"},{"color":"#7a7a7a","text":"e"},{"color":"#868686","text":"e"},{"color":"#939393","text":"t"},{"color":"#9f9f9f","text":"l"},{"color":"#ababab","text":"e"},{"color":"#b7b7b7","text":" "},{"color":"#c4c4c4","text":"J"},{"color":"#d0d0d0","text":"a"},{"color":"#dcdcdc","text":"r"}],"text":""}],"italic":false,"text":""}', "minecraft:custom_model_data": {floats: [901501.0f]}, "minecraft:custom_data": {PublicBukkitValues: {"mythicmobs:type": "beetle_jar", "mythicmobs:prevent_crafting_with": 1b, "mythicmobs:prevent_smithing_with": 1b, "mythicmobs:prevent_repairing_with": 1b}}}}
I need to pick up the mythicmobs:type beetle_jar
but I have no idea what the proper format is to do so using CheckItem in 1.21.4+
given the changes to the item component stuff
Do they just have to have it in their inv, in their hand. Whats your current placeholder looking like?
%checkitem_amount_mat:paper,nbtstrings:mythicmobs:type:beetle_jar,inhand:main%
well preferably they'd have it in their hand but I can deal with inventory as well
I'm certain that I'm doing something wrong but I'm so tired that I can't figure my way out of this loop
%checkitem_amount_mat:paper,nbtstrings:mythicmobs:type:=beetle_jar,inhand:main%
Try that
%checkitem_amount_mat:paper,nbtstrings:PublicBukkitValues..mythicmobs:type=beetle_jar,inhand:main%
Try this
THANKYOU!
Anyone know a placeholder that displays coords?
%player_x%, %player_y%, %player_z%
omg I was using %player_compass_y% etc
Yeah, if the player has a compass set. It will get the set coords of their compass
Ahh that makes sense! Also.. Is there an expansion to display total time played
by a player not the whole server*
statistics
I used this expression for Time Played:
Time Played: Days: %statistic_days_played% Hours: %math_0_{statistic_hours_played} - {statistic_days_played} * 24% Mins: %math_0_{statistic_minutes_played} - ({statistic_days_played} * 1440) - (({statistic_hours_played} - ({statistic_days_played} * 24)) * 60)%
Days: %statistic_days_played%
Hours: %math_0_{statistic_hours_played} - {statistic_days_played} * 24%
Mins: %math_0_{statistic_minutes_played} - ({statistic_days_played} * 1440) - (({statistic_hours_played} - ({statistic_days_played} * 24)) * 60)%
if it works it works...
I couldn't get
%statistic_hours_played_remaining%
%statistic_minutes_played_remaining%
to work so yeah
I was too dumb to figure that out I just got an error stating "uknown statistic" when I parsed it
/papi parse me %statistic_minutes_played_remaining%
So it works?
Yeah!
I don't think you have to use math to calculate those.
%statistic_time_played:seconds%
%statistic_time_played:minutes%
%statistic_time_played:hours%
%statistic_time_played:days%
These should return just the days, hours, minutes and second parts.
So for example, if you've played 1 day 3 hours,
%statistic_time_played:hours% would return 3
%statistic_time_played:days% would return 1
Hey is it possible that i create a placeholder manually in the file? Without creating my own expansion
in what file?
u can use javascript expansion to create ur own if u dont wanna do it properly
config.yml - i tried editing server_name to smt like %player_name% just to see if it works, but that doesn't work
there is also a config expansion but i cannot get it to work
Would using like a bedrock getUUid be possible, without any more dependencies
Like I'd most likely have to use floodgates api right]
Does Statistic have placeholders responsible for (“shot by player”) and “thrown into the abyss by player”?
Ah I just used the wrong placeholder.. This happends way too often can't these devs just specify what ech placeholder does LOL
Yes. But there is an expansion for Floodgate that seems to return the xbox uid: https://github.com/rtm516/FloodgatePlaceholders/tree/master
Intresting, ok!
I'm trying to use CMI placeholders inside a deluxemenu as a requirement but the placeholder seems to not work inside the deluxemenus. type: string equals ignorecase input: '%cmi_user_kit_hasaccess_Centaur%' output: 'True' - It always returns false even though it returns true for myself if I parse it through PAPI.
I tried to do a workaround by doing type: has permission but that doesn't even work, even though I have the direct permission.
@sharp jay
?
just some spam accounts targetting me
already handled
the ping was done before that and yeah i saw
ye I handled 🙂
Use string contains and it should work, I just tried. 🤔
still the same thing for me
nothing shows
wait string contains
let me try
hey guys, how to use the checkitem expansion as when parsed gives me zero of the item.
say I have an item with custom name and lore to differentiate it with other items of the same material?
say the name is common iron ore with hex code colors, with custom lore too
Can anyone help me solve this? Yesterday it was normal and today, when I tried to start it, this appeared and I also can't open the website api.extendedclip.com (with Opera's VPN, the website opens normally, but without it, it doesn't open).
https://prnt.sc/JRYaHzWBztQX
is the PlayerTime expansion broken? Tried both manually installing it into the expansions folder and using /papi ecloud download, but its not downloading nor does it work
it needs the PlayerTime plugin
Not sure if that plugin works anymore.
is it possible to have %player_health%'s decimal to only show .5? so like its either 20 or ##.5
i already tried %math_1:round_{player_health}% but it shows .1 to .4 and .6 to .9
i dont think its possible but if anyone is curious for what i went with its %utils_parse_formatter_text_replace_.0__{math_1:round_{player_health}}%
Maybe with JavaScript expansion. Where you can write some custom code to do what you want.
But I can't see a way to do it with just math expansion
i don’t code 😭
thanks for trying to help tho
It shouldn't be that hard. ChatGPT will probably give something functioning.
i see, thanks
I guess I can even try to give you the code rn. 1 sec
function get_rounded_health() {
var health = parseFloat("%player_health%");
if (isNaN(health)) {
return "0";
}
var rounded = Math.round(health * 2) / 2;
return (rounded % 1 === 0) ? rounded.toString().split('.')[0] : rounded.toFixed(1);
}
get_rounded_health()
This would be the code
how would i use this?
like how do i use it
sorry if I’m asking these random ahhh questions
https://api.extendedclip.com/expansions/javascript/
download and install the expansion from here. to install it, simply drag to plugins/PlaceholderAPI/expansions/
execute /papi reload
There's a bit more. Just had to remind myself
After reload, go to plugins/PlaceholderAPI/javascripts/ and create a new file. Name it something like rounded_player_health.js
inside the file, place the code I sent above
Then in plugins/PlaceholderAPI/javascript_placeholders.yml add the following:
rounded_player_health:
file: rounded_player_health.js
And then simply use %javascript_rounded_player_health% wherever you want to see the rounded health
I switched it over to Maven and it's still doing it, i really don't know what it is at this point
sorry if this has been asked a million times but, what's the score on latest dev build working on 1.21.8? (I did use the search bar above to try find the answer first btw)
Ditto to the above comment sorry for asking twice, I see placeholderAPI 2.11.6 has been on 1.20.6 support for over a year just need to know if anyone has used this version on 1.21.7/1.21.8 and if it is supported there. Currently run the 2.11.6 build on my 1.21.4 server with no issue!
@reef sparrow Yes, usually some expansions might need to update
Don't trust them it isn't supported
Can I see your POM files?
PlaceholderAPI is a very simple plugin that very rarely breaks between versions. I have personally used it in 1.21, 1.21.4 and 1.21.8. Expansions are another story. Some are very simple as well so they'll work just fine, but some make use of stuff that changes between versions. And those expansions need updating
i wasn't refering to 2.11.6 for 1.21.8 friend, i was refering to 2.11.7 dev here https://ci.extendedclip.com/job/PlaceholderAPI/
They should work just as fine
the only changes should be folia support
Okay yeah they're here https://paste.helpch.at/uguwezodob.xml
This looks good. What issue are you facing now? An erorr in the server? Or?
It seems that maybe PlaceholderAPI is still shaded in. Can you send the jar? DMs is fine
you are still shading PlaceholderAPI. How are you building the plugin?
In idea i do Build > Build Artifacts > Build
So you're still building it the old way. If you use maven, you need to use the mvn package command
sorry but where do i do the command
In IntelliJ, on the top right side, instead of this elephant, you should see a red V or something like that
well because you were building with a different tool
which did not care at all for your pom.xml file
hello 👋 why is math telling me that / and * arent valid math expressions?
send the whole placeholder you tried to use
"%math_{parkour_current_checkpoint}/{parkour_current_course_checkpoints}*100%"
TAB Plugin Bossbar progress
i mean thats the example they put on the wiki for bossbar configuration
try adding 0_ like so %math_0_...
tried..same output
send the error in console
i cant add pictures here
[18:59:35 WARN]: [PlaceholderAPI] [math] Placeholder: %math_{parkour_current_checkpoint}/{parkour_current_course_checkpoints}*100%
[18:59:35 WARN]: [PlaceholderAPI] [math] Cause: '/*100' is not a valid Math expression.```
but it works when i am in parkour
but when im in parkour it also puts out the error msg
no need of speed as long as server dont crash 😅
/papi ecloud download Utils
/papi reload
%math_0_{utils_default:0_parkour_current_checkpoint}/{utils_default:1_parkour_current_course_checkpoints}*100%
sorry, took me a little longer
how so ?
downloaded, reloaded papi, inserted in tab, reloaded tab, kitpvp placeholders no value
before the utils thingi they gave a normal value in scoreboard
btw the display condition are 2 separate worlds and the checkpoiints are as bossbar and kitpvp are as scoreboard, everything else like towny, vault, pvpmanager works fine
[20:31:06 WARN]: [PlaceholderAPI] Cannot load expansion parkour due to an unknown issue.
found the error message
RNG, ExpiryTime, CheckItem, and Math are not working. What should I do?
Hi, I've never had this issue before now, but when I use %Advancements_completedAmount%, I get an odd number.
When I had 3 advancements, it came out as 33, and later on with more advancements, its just even more odd numbers.
Any clue what could cause this?
send startup logs
send startup logs please
Can you execute /papi dump and send the generated link here please?
Just cleared by itself because I updated it over eCloud but it's integrated in the plugin That's why it didn't worked with register jar
Heya Congrats on 10 years,
I get this error, not sure what it is due to [14:18:04 WARN]: [PlaceholderAPI] Failed to download expansion information
I'm not sure what is downloading it, I cleared the ecloud cache and it is not in the installed list
Here you go: https://paste.helpch.at/epazisoloj
I couldn't find an issue myself, but this seems to be the discord server of the expansion developer: https://discord.com/invite/WnfvECZ
maybe you can ask them (matahombress is their tag)
@empty salmon this might be related to your issue 
Yes. It isn't trying to download an expansion. It is just trying to download information about all expansions. This is to see if you have updates available and so on.
Hm
I don't think it's blocked, it's my dedi
And I can download other stuff
As in other expansions
I also have this issue ^
Started happening a few days ago, we are also running our own dedi and have not blocked the connection
And on this server I only have spark extension enabled, so can it be related to the expansion itself maybe?
Hi, only me don't work placeholder api in 1.21.8?
It seems like my error went a way after deleting the Spark Extension. Spark now registers them internally so might be why
I am making a profile menu that lets a player view some info about himself, like blocks he broke kills and death etc, But I want the player to be able to view other players, how can I let the placeholders parse for the other person instead of player who issued a command
You can use the ParseOther expansion
it lets you parse placeholders for targets
based on their username or UUID
you're a W
Hello everyone, how can I use this variable to separate the numbers by a , and not a . %vault_eco_balance_commas%
HELP...!
Cant install®ister papi extentions
Use PlaceholderAPI v.2.11.6
1.21.8 Papere
I've tried installing some extensions, but some can and can't
[07:42:35 INFO]: Lapius7 issued server command: /papi reload
[07:42:35 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[07:42:35 INFO]: [PlaceholderAPI] Fetching available expansion information...
[07:42:35 INFO]: [PlaceholderAPI] Successfully registered external expansion: server [2.7.3]
[07:42:35 INFO]: [PlaceholderAPI] Successfully registered external expansion: statistic [2.0.2]
[07:42:35 WARN]: [PlaceholderAPI] Cannot load expansion playerstats due to a missing plugin: PlayerStats
[07:42:35 INFO]: [PlaceholderAPI] Successfully registered external expansion: player [2.0.8]
[07:42:35 INFO]: [PlaceholderAPI] Successfully registered external expansion: rng [1.4.0]
[07:42:35 WARN]: [PlaceholderAPI] Cannot load expansion prisonmines due to a missing plugin: PrisonMines
[07:42:35 WARN]: [PlaceholderAPI] Cannot load expansion playertime due to a missing plugin: PlayerTime
Cannot load expansion playertime due to a missing plugin: PlayerTime
it says right there why it doesn't work
some expansion require you to have some plugins
and you don't have them
Hello, does PAPI work with MiniMessage ?
what do you mean?
I downloaded an extension from "https://api.extendedclip.com/expansions" and put it in "plugins/PlaceholderAPI/expansions/", but I get an error when I try to use "/papi register".
「Failed to register expansion from playertimexpansion-1.0-SNAPSHOT_utFT5p3.jar」
Have you installed the PlayerTime plugin?
Some expansions require other plugins to work
Expansion playertime requires plugin PlayerTime to work
set
・plugins/PlaceholderAPI/expansions/playertimexpansion-1.0-SNAPSHOT_utFT5p3.jar
・plugins/PlayTime-3.6.jar
Commands such as "/playtime:playtime top" are now usable, but are not recognized by Placeholder.
whats the placeholders for velocity? nothing in the wiki
i need total online players
What do you mean by "not recognized"? What are you trying to do, what are you expecting to happen and what actually happens?
cant register
You can use the Bungee expansion. %bungee_total
Ok. Can you please send the full startup log of your server?
@hybrid palm just make sure, in velocity.toml, bungee messaging is enabled for the expansion to work
?paste
PAPI does not care about formatting. It takes in a string, gives it to expansion, and those expansion return another string. If you meant to ask if it works with components, the answer is no.
thank you
@gray tartan whats that link?
Ok. Can you please send the full startup log of your server?
I was asked to show the server startup log.
yeah @sharp jay is just stupid. I saw it its fine
ok
@gray tartan , I looked at the logs and I can't see the PlayerTime plugin being mentioned at all. Is this the one you installed? https://www.spigotmc.org/resources/playertime-offline-player-mysql-bungeecord-placeholderapi-supported.58915/
yeah, the one I sent is what you need for the expansion you're trying to use
ok try it
thx It's been installed! THX
By the way, if I want to display the time a player has played as "21 hours 15 minutes 35 seconds", what extension do you think would be good?
Sorry, I managed to solve it myself
THX Support Blitz
Is there a placeholder that returns how much damage an item has taken? (durability)
i see only a %player_item_in_hand_durability% but that returns the max durability of the item, i was wondering if there is something that is the opposite of that
You can try this: %math_0_{player_item_in_hand_durability}-1561%
Will place a minus infront of it but should output the exact durability lost.
Obviously, replace the number with the exact durability of the held item.
great option, i already coded a placeholder in my utils plugin so its gucci
question, I downloaded papi, 2.11.6 but it says its not marked as supporting folia?
im on foilia 1.21.6
try the latest build from jenkins
Do you have link?
thanks!
Hello
is the javascript from ecloud (2.1.3) latest one? there is no more later one?
I remember there was before on discord some releases, like beta or something, i don't remember because of what
that is the latest. there were some builds testing new javascript engines but those were never merged
Additional Error Info: Warning: PlaceholderAPI from wrong thread, blocked. Inform the developer of whatever plugin tried to read Placeholder data that it is forbidden to do so async. You can use config option 'Scripts.Economy.Pass async to main thread' to enable dangerous access.
Additional Error Info: Internal exception was thrown!
Inform the developer of whatever plugin tried to read Placeholder data that it is forbidden to do so async
Another plugin might be mentioned above or under this error?
Nope
im having an issue where papi isnt loading in 1.21.4
[01:13:21 ERROR]: Error executing task on Server
java.util.NoSuchElementException: No value present
at java.base/java.util.Optional.orElseThrow(Optional.java:377) ~[?:?]
at io.papermc.paper.command.brigadier.MessageComponentSerializer.message(MessageComponentSerializer.java:23) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:1.21.4-232-12d8fe0]
at net.minecraft.commands.Commands.finishParsing(Commands.java:404) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]
at net.minecraft.commands.Commands.performCommand(Commands.java:353) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]
at net.minecraft.commands.Commands.performCommand(Commands.java:347) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]
at net.minecraft.commands.Commands.performCommand(Commands.java:341) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]
at net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2215) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]
at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$11(ServerGamePacketListenerImpl.java:2188) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]```
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:155) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1448) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:176) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:129) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1428) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1422) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:139) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]
at net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:1379) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1387) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1264) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]
at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:310) ~[paper-1.21.4.jar:1.21.4-232-12d8fe0]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
what is going on
root@kz1-node:~# curl -v https://api.extendedclip.com/home
- Trying 104.21.48.1:443...
- Trying 2606:4700:3030::6815:5001:443...
- Immediate connect fail for 2606:4700:3030::6815:5001: Network is unreachable
- Trying 2606:4700:3030::6815:4001:443...
- Immediate connect fail for 2606:4700:3030::6815:4001: Network is unreachable
- Trying 2606:4700:3030::6815:6001:443...
- Immediate connect fail for 2606:4700:3030::6815:6001: Network is unreachable
- Trying 2606:4700:3030::6815:3001:443...
- Immediate connect fail for 2606:4700:3030::6815:3001: Network is unreachable
- Trying 2606:4700:3030::6815:7001:443...
- Immediate connect fail for 2606:4700:3030::6815:7001: Network is unreachable
- Trying 2606:4700:3030::6815:2001:443...
- Immediate connect fail for 2606:4700:3030::6815:2001: Network is unreachable
- Trying 2606:4700:3030::6815:1001:443...
- Immediate connect fail for 2606:4700:3030::6815:1001: Network is unreachable
Hmmm
My server can’t ping api placeholderapi
Ecloud
Your host is blocking it then?
It is my vm
@balmy marten any idea ^?
I can’t only connect ipv4?
very
Ok
Is there a reason you're using ipv6
We're doing nothing special on our side, everything is fed via cloudflare's proxies
ooh then it should def work
?
Suggest contacting their support if its an external provider
.
When you say "it doesn't work", what do you actually mean? Which part of the plugin doesn't work? Do you get any warnings or errors?
I mean i like have %kitpvp_kills% sometime the placeholder work some time i just see "kill: %kitpvp_kills%" i don't know why sometime the papi not load
Do you get warnings in console about expansion not loading?
or maybe, do you get messages saying that they did load and the placeholder still doesn't work?
*console
What i can do? @turbid tide
?paste
What config?
In one of your KP (kitpvp) files:
But it seems it was fixed
That is for Kit of kit pvp
the bot just saw it in the logs
Not the main config
So it don't be the problem with papi
Right?
By any chance, when you execute /papi reload, does the kitpvp placeholders break?
Not
I mean they are break when i start the server
And /papi reload only see 1 papi of another plugin
Not the papi of kp
Sometime when i start the server papi of kp work sometime not work
That's because it only lists external expansions. It doesn't list those built inside other plugins such as KitPvP
Whenever this will happen again, please send those logs. In this one, it seems that the KitPvP expansion loads just fine.
Also, execute /papi dump and send the generated link here.
It see the expantion but not the %%
Now i will see the dump link
Ok?
yeah
I starting the server
/papi dump = https://paste.helpch.at/sigenugeno
So?
What you see in this /papi dump?
?
I was looking to see if maybe there's expansion conflicting but I couldn't see anything obvious. I'll need logs for when the issue happens again. Hopefully we can spot some issues then.
hey folks, i know this may be a bit dumb but ive been breaking my head over a specific thing.
i wrote a mod to take custom colors from players and it saves that in a placeholder but i cant manage to make the player name be formatted in styledchat, styledplayer list or customnametags. when trying to put the placeholder in a color: tag doesnt work so i just wanted to ask if anyone has a better solution to this right now it gets player colors with hexcodes and saves them.
sadly im on fabric so this means i have to write most of the stuff alone
Hello. I think you might be in the wrong discord server. This PlaceholderAPI is a plugin for Spigot (and forks such as Paper). This is the spigot page: https://www.spigotmc.org/resources/placeholderapi.6245/
No worries. Every now and then it happens.
when im use %server_name% the placeholderapi replace this to "A Minecraft Server", but i set in server.properties...
server-name=Lobby_1
I think the %server_name% is actually taken from the plugins/PlaceholderAPI/config.yml file
I'm not sure why it is done like this
in config.yml you should see the
expansions.server.server_name option
okay thanks, but why is it here and not downloaded from server properties?
What log?
I have no idea unfortunatelly.
No the bot is not bugged. You did use a ping reply.
Regarding logs, I want the startup logs from when the bug happens if possible.
Ohhh there are ping reply on discord i didn't know this
Now i know it
So when it reappear i just send here the log?
yes please
I will
no worries. I don't really mind. those warnings are for other staff members
But it say not break the rules. But where are the rule written?
Oh i din't have it in channel list
I will read them
Readed
Blitz it can be helpful to say where i'm using the papi?
(Sorry for my bad english)
Is there a Placeholder that lets me see the total number of blocks placed?
Is there any expansions with a vanilla to mm placeholder for hex colors / general formatting?
I know it's probably stupid easy with javascript but I don't have enough experience with it xD
%essentials_baltop_balance_<rank>%
and
%essentials_baltop_player_<rank>%
It refreshes very poorly, is there any way to fix it?
hey what do i wrong ?
Idk. What exactly are you having issues with?
The baltop is updated by us once when the expansion is loaded, and then only updated whenever /baltop is ran or another plugin updates the baltop. Feel free to open an issue here: https://github.com/EssentialsX/Essentials/ to ask for the baltop to be updated automatically by the expansion. If you do open a ticket, please mention this link as well: https://github.com/EssentialsX/Essentials/blob/2.x/Essentials/src/main/java/net/essentialsx/api/v2/services/BalanceTop.java
Kyorify
Statistic expansion: %statistic_mine_block%
What we want to know is how many blocks were placed, not how many blocks were dug.
In other words, we are looking for something like "%◯◯_mine_block%"
No but it do Not work
Ah. I don't think that's a stat that the server tracks. So, you'll probably have to use a plugin to track those stats and give you a placeholder. One I've seen before was Statz but that seems to be pretty outdated.
Ok. But you've sent a bunch of code, and you're not telling me what you're trying to do and what actually happens.
What does not work?
What are you trying to achieve?
I wannt to Get the betterranks icons from itemadder in the tab without the Plugin TAB and LuckPerms
Ok. And how does this relate to PlaceholderAPI?
Yea
You can't
You need them
Hi im using KyverEco and the placeholders arent working
Well, you don't if you make your own plugin .Which is what they seem to be doing.
I'm just trying to pinpoint the exact issue they're having
because it is not very clear
Do other placeholders work?
Yes. It worked for 3 minutes after a restart then immediately didn’t work again
send startup log please
?paste
https://paste.helpch.at/boleqobapa.makefile @turbid tide
'PlaceholderAPI v2.11.6' as it is not marked as supporting Folia!
@idle coral help pls
okey, bot
get the latest dev build
dm check pls
