#placeholder-api
150650 messages · Page 102 of 151
Maybe try it in the console?
/papi parse --null %math_0_{bungee_lobby-duels-htjm4vup}+{bungee_lobby-duels-vvmcvbkt}+{bungee_lobby-duels-eb3hb4el}%
I did it in console
hm....
it says 0
yeah
theres 0 people on it
im currently on my build battle server thats probs why
yes, because 0+0+0 is obviously 0
yh
I didn't even think about VV limiting it for older versions. Nice find.
so is there no way to fix it?
Well if you're hitting the limit on 1.8.8 then not without probably shortening the names of the placeholders
Or seeing if there's something in the VV config
I feel you might be trying to fix something that is not an issue...
your issue is: when you try to put a super long command in chat, it doesn't work
the placeholder works fine
try to actually use it where you want it and see if it works there
If you run into a limit on a scoreboard, might have to find a different plugin that parses the placeholder before trying to add it to the scoreboard or something not really sure on that front
I didn't have time to say this earlier before work
is there a way to fix or change the time format of luckperms expiry time placeholders?
How to fix this error?
https://paste.helpch.at/ciramofazu.rb
Script does not work with placeholders.
%skript_worldname::{player}%
Always displayed as N/A.
Extended-skippy_NOjwIyx This is also installed.
skript ver 2.6.3
anyone know how to make %statistic_kill_entity:Ender_Dragon% to be as a leaderboard?
Like it would state
Top players with their names and kills?
statistics for ender dragon kills aren't tracked by the game
but its in esc>Statistics
what's the time placeholder?
but not time of the server, time of players
Not played time. The time.. but for each timezone
hello is there a top player hearts expansion?
Can I math placeholders? like
Example: %bungee_Lobby% + %bungee_Lobby2% to get result as 20
yes its %math_0_{bungee_servername}+{bungee_servername2}%
im trying to put it on my NPCS (Plugin: ZNPCS)
oh my bad
vault doens't wanna work 😦
says %vault_eco_balance_formatted%
Are you dense? i didnt ask you what you want to do, i asked what is currently happening?
like you asked whats wrong? but we dont know whats wrong so we cant help you without more information
it doesn't open the gui either
what does it say when you try to?
nothing
does your console say anything when you try to open it?
no
yes
and when you do /dm reload does it say that it registered your menu successfully?
yes
and it shows up on /dm list
yes
can you post the entire home menu yml to https://paste.helpch.at/
just ctrl + a the file
yes
before in input i had input: "%essentials_home_1%"
the issue is caused by there not being any items in the menu when you attempt to open it
why?
i have no idea why its a problem
it just doesnt like it when it cant load any items
because the view requirements failed
so what can i do?
fix the menu so that atleast 1 of the items in the menu shows up
gui opened but nothing there i mean this shulker
actually just noticed we're in placeholderapi channel, #general-plugins
oh
14:08:33 [WARNING] Error enabling plugin PlaceholderAPI
java.lang.NoClassDefFoundError: org/bukkit/plugin/java/JavaPlugin
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at net.md_5.bungee.api.plugin.PluginClassloader.loadClass0(PluginClassloader.java:44)
at net.md_5.bungee.api.plugin.PluginClassloader.loadClass(PluginClassloader.java:37)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at net.md_5.bungee.api.plugin.PluginManager.enablePlugin(PluginManager.java:329)
at net.md_5.bungee.api.plugin.PluginManager.loadPlugins(PluginManager.java:237)
at net.md_5.bungee.BungeeCord.start(BungeeCord.java:436)
at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:32)
at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
Caused by: java.lang.ClassNotFoundException: org.bukkit.plugin.java.JavaPlugin
at net.md_5.bungee.api.plugin.PluginClassloader.loadClass0(PluginClassloader.java:63)
at net.md_5.bungee.api.plugin.PluginClassloader.loadClass(PluginClassloader.java:37)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
help me guy
@austere hawk did you read only half of the response received in #development ? PAPI doesn't support bungeecord or any type of proxy.
Its java 8 and 1.8.8 paper .-. sry barry but not rly helpful
the bot gave you the answer, you need java 16 to run that expansion
Hi it says that when i do /papi ecloud download ListPlayers
[31mFailed to find an expansion named: [37mListPlayers
But on github the expansion exists: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#listplayers
It's not verified https://api.extendedclip.com/expansions/listplayers/
I think it's been superseded by playerlist
generally i have a problem that when i try to use parseother
then all of a sudden I start to extend the wait time to open the gui to 30-60s
Something's broken again now
Prior to that, there were heads with priority:1 - That is, as if information that no one occupies the current place for the present moment
oh sorry ;D
Have you tested how jobsr_user_isin_miner functions if the user is offline?
You know what, the problem is that nothing is showing up for me at the moment so this is it
I fixed it and now this is what it is
But in the top 1 it does not show because it is occupied by the player
input: '%parseother_{ajlb_lb_jobsr_user_jlevel_miner_1_alltime_name}_{jobsr_user_isin_miner}%'
am i okay here?
no difference, nothing changes
is there a way to do days countdown with papi?
to where like deluxemenus?
yep
look up mastercooldowns
it only add cooldowns for players? he don't work if i want to have like a cooldown for a shop offer?
Make a custom placeholder or you can make some complex formula to make it work? maybe checking timezone idk?
or something
yes maybe, i need to do some research
I try running the command /papi ecloud download skript and it says theres no skript expansion found anybody have an idea on this? mc 1.17.1 papi 2.11.2
install it through our ecloud
@sharp jay Unknown expansion.
thats the exact command I ran and it says "failed to find an expansion named: skript"
ill try the manual download
yup
it comes back with {"Detail": "Expansion does not exist.", "Error": 1}
oh may have been taken down
The updated one is skippy or some shit iirc
oh okay that works thanks is there a way to use in game commands with this website or do i have to manually download
why dont you try
I already tried the default command but I was asking if there were alternative methods but I guess not
Why do expansions lose verification upon posting a new version? is each version manually verified?
@deep hollow is the js expansion performing better now?
and maybe add some context
but from what it looks like, you are using a bungeecord expansion, but the expansion is not registering the plugin channel.
Are you by chance using ExploitFixer?
assuming you are using the expansion Bungee v2.0, I don't see anything wrong. maybe another plugin is interfering?
for now I would suggest removing the bungee expansion that is causing your issue
Yeah, works like a charm now, thanks!
but the only issue is that I can't install it on my skyblock (1.8.8), as this javascript expansion only works on java 11+
and 1.8.8 doesn't support java 11
I think that with paper you can use java 11
welp, SystemUtils probably doesn't know about java 11
I've java 11 on my prison (1.12.2 ) and it's working fine
so it should be a taco issue right?
yeah it is, looks like someone has opened an issue on their repo in 2018 but got no reply
and I do believe taco is abandoned?
why don't you update to at least 1.12.2?
or even latest, it should be fine for skyblock since there's no land to generate
Yeah but latest isn't well optimized in terms of fps for people who doesn't have a very good pc
as my playerbase it's from south-america/spain
so economy in these countries doesn't help
yeah 1.12.2 could be the best way to go
im just saying that without custom software, you won't get much from 1.8.8 😬
No problem, I'm glad we figured this out, js expansion is used a lot
yeah, js is used a lot on my server and helped me to fix many things without using custom plugins
perhaps paper, huh?
but I mean something like purpur on 1.19.x, but on 1.12.2
I heard that paper on 1.19.x isn't working well, so maybe there's a fork on 1.12.2 that works better than paper
paper or other forks perform just fine, you just need to use the right plugins, options, have a good host etc.
okay okay, thanks!
Hey! :)
Is there a way to get all players that are currently online one by one?
Something like %player_1% %player_2%... and if there are 20 online players rn player_21 would be empty etc.
I found PlayerList but that just outputs ALL players at once, but i need something that outputs player by player - maybe sorted after letter or sorted after when they joined or whatever. Or maybe i am stupid and braindead and didn't really understand
I'd like to use this in DeluxeMenus or BetonQuest to display all current online users
Ah oh i can /papi parse me %playerlist_online,normal,yes,0%
hey i have a question about placeholder
VotingPlugin_Top_Month_1
thats the user name but i dont see a value
placeholder
?
do you guys have one ?
Please dont double post
i just asked him too
Can i do something to limit my balance number to just 2 digits instead of this?:
Well, i can't place screenshots
but its basically something like 30.71769999999999997
Currently using %vault_eco_balance% placeholder
yes
%vault_eco_balance_formatted%
or
%vault_eco_balance_fixed%
one of these may work
Okok, i go try
brb real quick
This one actually worked %vault_eco_balance_formatted%, did not try the other one
tyvm
is it possible to only get seconds to reach the date with %server_countdown_<SimpleDateFormat>_<time>%?
No, the date must match the time format
Sure, when you open the menu you see the '5Hours' in the first slot, with all the provided attributes, when you click it and have enough playtime you should see '5HoursPurchased', then you will see the next playtime reward, and that reward should be claimable if you meet the requirements, but instead the %statistic_time_played:hours% will be reset back to 0 everytime you claim a new item.
My bad
Hello!
I love the RNG placeholder that selects a random player.
However, I was wondering if there was a way to summon that randomly selected player again.
Or if there's a better alternative to selecting a random player and then selecting that same previous player again in a separate command.
Thank you!
Can you go through it again and explain what DOES happen
not what SHOULD happen
What would cause an Expansion to show hooked but not show up in the /papi ecloud list installed?
Our {deluxetag_tag} placeholder is not working with ChatManager any longer.
https://paste.helpch.at/vokuhibeni
Also, is there a way to see which hooks need to be updated as it keeps telling me there are 4 that need updating but I am unsure how to know which need updating. Thanks!
deluxetags expansion is internal in the plugin now, no longer an external jar on the ecloud
i think you can /papi ecloud update all but not sure
I see you still have the external expansion for dtags though, delete that and see if that fixes your issue
somethings wrong with my %statistic_mine_block%, i just break 1 block but its increse by 2
I have a problem, scripts do not run, kernel version is 1.16.5, I use java 16
[17:24:34 WARN]: [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: example [17:24:34 WARN]: [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: region [17:24:34 WARN]: [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: flags [17:24:34 WARN]: [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: owners [17:24:34 WARN]: [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: members [17:24:34 WARN]: [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: prefix [17:24:34 WARN]: [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: group [17:24:34 WARN]: [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: suffix [17:24:34 WARN]: [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: clan
@carmine veldt
Hey, someone knows if there's a way of removing uses left with checkitem expansion on the inhand item?
Why are my bungeecord placeholders not working? https://i.imgur.com/Zwrj5Fu.png
I've installed the expansions and added the servers to the config.yml in PAPI
I want to create a playtime placeholder. Should I use onRequest or onPlaceholderRequest?
onPlaceholderRequest
Is the placeholder individual?
what?
Will the placeholder be individual and not global?
Depends on the code
So that everyone will see their own playtime
No idea how to make that code tbh
Then thats something you need to learn (java)
you must have java knowledge to code plugins/expansions
this is not a configurator thing
Are there any example codes?
alright one sec
If you mean this site https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/PlaceholderExpansion
then it doesnt show any examples for individual things
idk what's "individual" thing
onPlaceholderRequest is called every time the identifier is detected
its up to you if you want to make your placeholder to return something "global"
in which case you dont care is player (p) is null or not
or "individual" things, in which p must be not null
Hey, is there a placeholder that displays the player's ping?
%player_ping%
Okay, if I'm trying this out on the same machine and connecting with localhost, should it just be blank?
Not really, I haven't even got that set up yet. Literally just made this server an hour ago
I believe I was testing a ping placeholder and found it failed on localhost but can't remember which
No, will be 0
wait that wasn't ping...
Pinger?
Nope, just player_ping is what I'm testing. It's just blank right now though
Well, they should work just fine xD
ya I was finding the timezone was failing because it was testing 127.0.0.1 as an ip for a timezone when using localhost
took me a while to figure out lol
Ah yes, ups
What do you need support for? @crude zinc
for me server
Is it related to the plugin PlaceholderAPI?
probably best asked in #minecraft
...........
I am not a marketing genius 😂
Why? because it's most suited for that channel
you got point there
this channel is for help related to placeholderapi
ok ty 🙂
see you later!
o yeah
i forgoot
what dos placeholder doo?
i didn't tri it out jet
provides an api for plugins/expansions to create placeholders that can be used in places like scoreboards, menus, chat, etc.
ty bye 🙂
Bummer...that didn't work.
oh sorry, i meant to turn that off :/
can you provide a /papi dump
also type /papi parse me %deluxetags_tag% what does that return
ah, i see that {deluxetag_tag} is not related to papi in this instance, it doesn't seem that ChatManager supports papi placeholders
so I'm not sure why it stopped working in chatmanager
oh boy, well I appreciate you taking a look - I messaged them last night as well... and am just awaiting a response
gl
ty so much <3
i mean they have it on their wiki how to enter it for deluxetags..smh
ya, it's specific for deluxetags, weird
imo
we have good bstats 😉 https://bstats.org/plugin/bukkit/PlaceholderAPI/438
I found they had a 'fix' but it didn't fix so I messaged them as well - fingers crossed!
https://i.imgur.com/yrryb9x.png
?startuplog
send that over i'll see if any errors
not that I can fix it
unless the beta you're using doesn't have that fix for some reason
oh wait 3.9.0
Yeah, I tried downgrading as well - still doesn't work
Already had that ready for our hopper issue too haha
https://pastebin.com/Zxz6YCFV
ignore all the model engine and mythicmob errors 😅
i wonder if api changes were related to beta? https://ci.extendedclip.com/job/DeluxeTags/
wait chatmanager does support papi placeholders?
it also says it hooks into deluxetags just fine...
what if you try %deluxetags_tag%
Yeah, that's what I was saying before, they have it on their wiki..
I already tried that too xD
that's not for papi tho
I didn't see papi on the wiki at least
I saw {deluxetag_tag}
which is not papi
oh well I don't know if I know the difference between papi and placeholder api lol
the papi one provided by deluxetags plugin itself is %deluxetags_tag%
papi = placeholder api
p api
chatmanager has their OWN placeholder specifically for deluxetags {deluxetag_tag}
but it also says it hooks into placeholder, but that might be just to PROVIDE placeholders, not use them
omg i didn't try %deluxetags_tag% after downgrading, it worked!
nice!
Congrats.
haha
so it supports it, I might have missed that onn the wiki or they didn't have it
they don't have %deluxetags_tag% on their wiki, they have {deluxetag_tag}
aha it's in the FAQ
i feel it should also be on that page, that it supports placeholderapi placeholders
yeah definitely
you know i can't remember why we switched from deluxechat tbh
tbh i'd use something simple, maybe simplechat eeven exists
i randomly found that fyi
yeah it's 1.16 lol
So I'm using %server_tps_15_colored%, but it's always showing 20 tps in the server tab, even when I purposely lag the server
15 means 15m ago iirc
Ohh xD
hi , i was trying to add year and months and weeks played by a player on my scoreboard , im lost trying to do it , any help please?
%player_timeplayed%
it doest show it
./papi ecloud download player
[14:01:05 INFO]: [PlaceholderAPI] Successfully registered expansion: essentials [1.5.1]
[14:01:05 INFO]: [PlaceholderAPI] Successfully registered expansion: player [2.0.3]
[14:01:05 WARN]: [PlaceholderAPI] Cannot load expansion playertime due to a missing plugin: PlayerTime
[14:01:05 INFO]: [PlaceholderAPI] Successfully registered expansion: server [2.6.1]
Download PlayerTime plugin at spigot website.
do u mind giving me a link to it , im not sure exactly wich one...
ok
all good thanks
love u
now it only shows til weeks , any idea how to show how many years too?
hey, does someone know how to adapt:
https://github.com/ZeromaniacMc/LuckPerms-Time-Placeholder-Script/blob/main/lptime.js
for server countdown placeholder from Server extansion?
What?
Solved
yo is there a placeholder that grabs like fun facts or quotes and returns it in a placeholder that updates every so often? or I can make it manually if possible?
you could try javascript expansion for it
Have you got an expansion ready to publish?
yeah
(CheckItem expansion) When using %checkitem_getinfo:mainhand_enchantments:sharpness% (or any other enchantment) with item in hand that have CustomModelData and dont have any enchantment it returns "An internal error occured while attempting to perform this command"
Can someone check if it also dont works on your server?
Is Pinger fixed or still broken?
Need a way of getting playercounts from other servers (Not on the same bungeecord)
Yes, I am aware, unfortunately just lacking time 😦 https://github.com/PlaceholderAPI/CheckItem-Expansion/issues/56
Thank you for letting us know 👍
Is there any other way how to check enchantment level of item in hand?
Does this by chance fix the issue?
Now it works
and if you enchant it?
and by chance, could you test enchanted books?
i mean...
it should be fine
no reason for it not to be fine 😂
everything is ok
And "fun" fact: if player can "execute" placeholder (usually by typing it in warp or clan description) they can get any item if server have CheckItem expansion. (Probably I should not say that...)
It is true, players really shouldn't have access to parsing placeholders imo
there is an option to disable give/removing items in the config
Hey! Does anyone know why eCloud wont let me download the papi JavaScript expansion?
It shows an error message like: "Failed to find an expansion named JavaScript"
has to be done manually
Oh, ok. Thank you : )
hello
how can i put spaces between _ _
%cmi_server_time_d M_GMT+3%
i want to make like that
I'm trying to parse a string replacement of a specific character of a string using nested, though this isn't using the deluxemenus placeholder, it's just taking the second char of deluxemenus. Any idea how I could nest this?%nested_{string_replacecharacters_color-url_string_charAt_2_deluxemenus_meta_costumeChestplateColor_STRING_FFFFFF}%
maybe add a number to it?
%nested_3_
might need to do it once more
or i might be misunderstanding, a lot going on lol
Yeah I've tried that, I'm not sure where to put the curly brackets though
Every combination of brackets I put is either WAY too many strings, or just the letter "l"
do you want to parse the meta first?
Mmm no
So basically, I want to parse the letter "F" out of that placeholder
Just that one letter F
so you have to parse it first
And that letter F is going to replace itself into a base64 code
ye ye
so umm
nested doesn't quite work this way I don't think
basically how nested works is
%nested_3_javascript_player% for example
%javascript_player% returns leaderboard_player_1
I could have sworn I've used it this way in the past though, not with this exact method but just in general
then, nested parses that again
%nested_2_leaderboard_player_1%
for some reason, in this case, leaderboard_player_1 also returns a placeholder, let's say player_name
then it's just like parsing %player_name%
it's possible, but I have no clue nested always confused me
because I think it should do what you say, but I think it doesn't
@junior musk made it if they're around
yeah nested confuses the heck out of me lol
hi
[22:32:29 ERROR]: [PlaceholderAPI] Failed to load class files of expansion.
java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: net/ess3/api/IEssentials
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
Caused by: java.lang.NoClassDefFoundError: net/ess3/api/IEssentials
at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
at java.lang.Class.privateGetDeclaredMethods(Class.java:3434) ~[?:?]
at java.lang.Class.getDeclaredMethods(Class.java:2536) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:413) ~[?:?]
which placeholders do you need exactly?
Oh its rly that simple
from what I understood, you may not even need my expansion
%string_replacecharacters_color-url_string_charAt_2_{deluxemenus_meta_costumeChestplateColor_STRING_FFFFFF}%
would nested work in a fashion seen above? they want to parse deluxemenus_meta.. first, then string_charat... then string_replacechar...
yeah it would, but I think the String expansion can already do it on its own
not sure
but if it doesn't, then yeah use the Nested expansion, just add nested_ between the first % and string_...
ye
I have returned
so it has 2 string placeholders
yep
Yes
alright then yeah you need Nested
%nested_string_replacecharacters_color-url_{string_charAt_2_{deluxemenus_meta_costumeChestplateColor_STRING_FFFFFF}}%
An internal error occurred while attempting to perform this command
show the console error
so it does choose the inner-most placeholder to parse first with {} around it?
i seee
wtf
then
what the hell am I thinking of here
i'm crazy
🤣
yeah
%javascript_test% returns %player_name% which returns a player's name
%nested_javascript_test% or %nested_2_javascript_test% will be parsed 2 times, it will first be parsed into %player_name% and then parsed again into the player's name.
the 3 means it's gonna parse the placeholders 3 times
so it parses everything once
then it parses the output
and it parses the output's output again
yup
good to know
for example, if you have %placeholder_1% which returns %placeholder_2% which returns %placeholder_3% which returns %placeholder_4% which returns hi, with %nested_3_placeholder_1% it will output %placeholder_4%, if you change the 3 to 4, it will output hi
oh what
sick
just to make sure, what's your Nested expansion version?
1.3.1
I pressed download latest from here, not sure if thats the right version or not
checkitem expansion error. For example i have a full stock of pickaxes (36 items), equip armor (4 items) and 6 gold ingot in my hand, so %checkitem_amount_gold_ingot% should be displayed as 6. But no, all items that i mean 46 (36 pickaxes, equip armor, 6 gold ingot in hand)
My mistake, I haven't researched it properly
all good
how to make it possible - '[console] eco give %player_name% %math_0_{deluxemenus_meta_itemSellPrice_STRING}*{checkitem_amount_mat:{deluxemenus_meta_itemSell_STRING}}%'
i don't think it'll be possible without a custom javascript
I was just looking at the Nested expansion, but it seems broken atm
it will be easier to make shop with deluxemenus if i can do this
Yes it would be
Unfortunately, you will need a custom javascript to parse that many placeholders the way you're wanting to
I ended up making my own custom javascripts when making a shop in deluxemenus
then I ended up making an expansion, later turned full plugin
because javascript created lag
poor me, im not a programer
Not sure how your server/shop is working, but my project is for public use https://github.com/cj89898/DeluxeMenus-DeluxeShop
I tried but not satisfied with the config because I don't need the filter system
Ah, filters aren't required but understandable if it doesn't suit your needs
it's a very niche thing I feel
the deluxemenus themselves are customizable, just requires a little bit of work
i just need thing like your sell and buy system
if you take a look very far back you might be able to find javscripts
some javascripts there
ik you're not a programmer, but not sure how much you know/don't know
maxitems maxpurchase probably similar to what you want
i just can't do sellall
take a look at maxitems
it sets multiple placeholders in a row
you have to do the same thing
hell you could even use the math placeholder if you wanted to
var mat = "%deluxemenus_meta_itemSell_STRING%";
var price = "%deluxemenus_meta_itemSellPrice_STRING%";
var amount = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%"+"checkitem_amount_mat:"+mat+"%");
(parseFloat(price)*parseInt(amount)).toFixed();
here, try this
wrote it up for ya
to even use the javascript expansion you have to download it manually from the ecloud 
there is a tutorial for "your first script" on the wiki, you can follow to set this up
It's smart to use the deluxemenus meta to store the item and price
I like that
@buoyant hawk take a look at that
pretty neat idea vs args
although not sure if meta works on the version you use
yep, remember you don't have to 😉
obviously
lastest papi but dont have JavaScript expansion 😐
@coarse lily
idk why i cant download it
i typed j and it just showout JetsPrisonMines
https://api.extendedclip.com/expansions/javascript/
there is clearly here 😐
From in-game?
yes
it's not verified, that's why I said you have to manually download it
@warm plover You don't know how much I hate working on this expansion x)
I think I've finally found the issue
because of 1 word
1h30 for 1 word
try it
I've tried with %nested_string_replacecharacters_small-numbers_{world_players_{player_world}}% and it worked fine, so your %nested_string_replacecharacters_color-url_{string_charAt_2_{deluxemenus_meta_costumeChestplateColor_STRING_FFFFFF}}% should work too
hmm so this should work for math stuff too hopefully
[console] eco give %player_name% %math_0_{deluxemenus_meta_itemSellPrice_STRING}*{checkitem_amount_mat:{deluxemenus_meta_itemSell_STRING}}%
[console] eco give %player_name% %nested_2_math_0_{deluxemenus_meta_itemSellPrice_STRING}*{checkitem_amount_mat:{deluxemenus_meta_itemSell_STRING}}%
?
2 or 3?
????
what
I took an hour and half just to figure out that I was using HashMap which doesn't save the order of items you input in it, instead of using LinkedHashMap
0
well
6 characters
don't put any number
Try this too @coarse lily [console] eco give %player_name% %nested_math_0_{deluxemenus_meta_itemSellPrice_STRING}*{checkitem_amount_mat:{deluxemenus_meta_itemSell_STRING}}%
with this expansion version
because if this works, I will be using nested 200%
verified it will be
I'm updating it on the ecloud
must i download nested expansion ?
download the file and put it in your expansions folder in your PlaceholderAPI folder
I’ll try it soon! Even more weirdness for one menu 💪
?paste
can i get JavaScript link ?
you must check https://ci.extendedclip.com/
?
Javascript-Expansion
Last Success N/A
Last Failure N/A
Last Duration N/A
why are you there
download it manually from the ecloud
this is not the ecloud
Hey
anyon
e
how can i put spaces between _ _
%cmi_server_time_d M_GMT+3%
i want to make like that
%cmi_server_time_d_M_GMT+3% maybe
I didn't notice the word download
ah, what if you test it in /papi parse me %cmi...
i wonder if it's the scoreboard or not
its scoreboard
oh it's not screoboard?
it seems that cmi is the one having the issues
can you just use regular server time?
does that work
%server_time_<SimpleDateFormat>%
because spaces work in placeholders
still same
IF NOT: my next idea was using the ascii expansion for a space inside the cmi expansion
idk if it'll work
and you downloaded the server expansion, right?
just makin sure
yes
hmm
what's the javascript again
can you send it here
.
maybe from 2.5 -> 2.9 will be the same
i downloaded ascii
yes, I rounded it like you were doing for math
how can i make space?
ascii_32
so {ascii_32} in the cmi
try it out
if it doesn't work, try the server time one
didn't work
- '&7 &7%cmi_server_time_d/MMM_{ascii_32}YYYY-m:K_GMT+3%'
this is code
/papi parse me s%ascii_32%s
ah, what about the %server_time one
also make sure to use `` to escape formatting for things like underscorees
did this also return %cmi_server...?
or did it return the date with {ascii_32} in the middle of it
it returned
because I'm very surprised of this returning the placeholder
without {ascii_32}
can you send a picture of /papi parse me %cmi_server_... with the {ascii_32} in it
fuckin donuts
wtf
i wonder if spaces are just
ya idk if it's gonna be possible
maybe a custom javascript
🙂
Did you see my response above and get it working?
yes
nice
?
ex: im buying some type of item, im full inventory and 63 items of buying item in offhand
and i can buy 2 more of this item
it's a waste
fyi I have to go soon
%deluxemenus_meta_itemBuy_STRING%, click grass block = buying grass block
anyone know how to fix npcs that arent displaying the number for monthly top voter and monthly top donator? it's with voting plugin and buycraft api
yes
so if your inventory is entirely full except for 1 single item, it still allows you to make the purchase?
yes
it shouldn't be allowing you to make any purchase unless you have a full empty slot
even if your last slot only had 1 item in it
hmm, maybe another custom javascript
type /papi parse me %player_empty_slots%
please tell me this works
when you have full inventory (should say 0)
and when you have full inventory-1 item (should say 0)
and when you have full inventory-1 stack (should say 1)
how to delete expansion fast 😐
remember this was for [console] eco give %player_name% %nested_math_0_{deluxemenus_meta_itemSellPrice_STRING}*{checkitem_amount_mat:{deluxemenus_meta_itemSell_STRING}}% @coarse lily
yeah
have to stop server to delete expansion
that's what I tested
or rename it the same name and /papi reload
%VotingPlugin_Top_month_1%
%VotingPlugin_Top_monthvotes_1%
%buycraftAPI_top_donor_monthly_name_1%
%buycraftAPI_top_donor_monthly_amount_1%
its work, but i set item price 2.5 and it showout 3
your math was rounding
put 2 instead of 0 at the start
oh, its work 🙂
congratulations @junior musk
@junior musk verified
im going back to my 'small' problem
if you give me these i'll check it out when i get home later for sure
should i just use mathematics with js
hmm.. what should i do with this thing
thank you 🙏
I need a placeholder that will say if the server is online or offline
pinger
@coarse lily can you type /papi parse me %player_empty_slots%
with those 3 different scenarios
made a nice checkitem/nested/math/meta sell menu example for people https://github.com/PlaceholderAPI/CheckItem-Expansion/wiki/DeluxeMenus-Example-Menus
really like the idea of using the meta Tran, thanks for that one for sure
always used to use arguments but it's a little less secure, and with nested now it's possible to use meta placeholders without needing javascript!
How can I round a placeholder to the nearest int?
math maybe? %math_0_ROUND({placeholder})%
Is this right? %math_0_ROUND({statz_blocks_placed})% - it's not parsing correctly
why javascript expansion don't work anymore
CJ help me
@upper zenith try to add ,0 after the placeholder
Or FLOOR / CEILING if they do what you want (round down / up)
- "&fRank: %changeoutput_exact_input:{luckperms_in_group_default}_matcher:yes_ifmatch:&7Speler_else:{luckperms_prefix}%" can anyone help me why this isnt working?
ping me
Have you tried using
/papi parse me %luckperms_group%
To see what it returns
Additionally, why not using meta prefix?
I don't think the group can ever be empty
How do I know how many players have a certain permission? (even for offline ones)
cause i wont have a prefix for default only in scoreboard
What about the other things said above?
Thats not good, it will probably need to get data from permission database every time the placeholder is called
it only sends &7 but tried to detect that but dont work
but if i try to do it like i did above he used the &7 to color the rest of the line how to fix that
&fRank: %changeoutput_exact_input:{luckperms_in_group_default}_matcher:yes_ifmatch:&7Speler_else:{luckperms_prefix}%
this fixed it
Its weird, afaik it should return default group mmm
Okay, so %player_ping% is not working for anyone. It's just blank in the TAB.
Do I need to install a papi or ecloud thing?
Install PlaceholderAPI and do /papi ecloud download Player the /papi reload
Still blank
Do /papi parse me %player_ping%
Thats working, it's just not working with TabListPro
hi, i wanna use javascript expansion, but i got this message
[19:34:14 INFO]: Failed to find an expansion named: javascript
afaik you have to download it off the ecloud manually rather then by using the ecloud command
you can find the link to the ecloud on the placeholderapi spigot page
search javascript, download the jar file and put it in plugins/plaveholderapi/expansions
okay
haven’t gotten a response about how to create an account. i have an expansion ready to publish
Mind sending us a link to the github/source?
Your Expansion is a bit too generic to add to the ecloud as there's already expansions that provide those placeholders
All of those placeholder are already available via the Player and the Server expansion 
Also fyi you do not need a plugin.yml for an expansion
Alright
hey uh
is there a placeholderapi that help replace empty return with a desired preset return?
WOOOOO
more info: https://helpch.at/placeholders#changeoutput
thank you so much\
@brittle wadi /papi dump and send the link here
Sure give me 1 sec
And you have nashorn set as engine for your placeholders?
oh i just show something....
it has 2 nashorn core jars on the same libraries
Make sure you set "use_quickjs" or whatever to false
15.3 and 15.4 version
It will load the one specified in code, but you can remove the libraries folder and let it generate
i deleted the 15.3 and left only the 15.4 and now the servers ram sit's on 2.2gb
maybe this was the problem?
o.O
Can you do /spark heapsummary and send the link?
Looks fine
See if this fixed it
the server uses only 2.25gb
before it was 4-5
in the first 15 min run time
with only me online
Let it run longer and we will see
holy shit i lost my sleep for this 😛
Help
why doesn't it work placeholder in chat
https://prnt.sc/3cW0ZBZw1O-1
@vivid sparrow everything works now thank you for your help!!
what chat plugin do you use
i think so, can't use /javascriptespansion or /jsexp
possibly disabled
how to enabled ?
looks like they are still there, hmm
hmm
what command are you wanting to use
I tried tweaking the JS file a bit and it didn't work, it just showed the result before editing
Wasnt the cmd removed?
i thought, i didn't look too hard tho
looks like the command classes are still there so 🤷♂️
See if they are used
nah, i just want it works exactly what i edit
still saw some registering going on, 🤷♂️
just last night it was still working
essentials chat
?tagess
follow all steps in order @unkempt flame 
I did everything the same and it still doesn't work
im using chatEX, you can try this, supported placeholderAPI
in order?
including stopping and starting the server?
yes
latest version
im reinstalled JSexp and all JS file didn't work 🙂
DeluxeTags version 1.8.2-Release
Minecraft version 1.8
I tested on 1.19 and the same problem
Unfortunately right now I don't really have the time to help with the JS but if you send the file here I'll check back later tonight
do math expansion have MIN math ?
as I was saying, I don't have much time to help, but can you send a startuplog and the configs of dtags and essentials
?startuplog
?paste
yes
%math_0:_MIN(0, 5)%
it uses evalex if you can find that documentation @coarse lily
tbh I couldn't find it and just threw MAX() in the other day and it worked lol
hmm, now im just need using nested
where should I send you?
paste it in HelpChat Paste
and send the link here
make sure you save the file before send link
what about floor ?
@unkempt flame still working on the startuplog, ye?

%nested_math_0:_(({checkitem_amount_mat:{deluxemenus_meta_itemBuy_STRING}}/64)-({math_0:_FLOOR({checkitem_amount_mat:{deluxemenus_meta_itemBuy_STRING}}/64)}))*64% 🙂
go crazy with this
but JSexp made it look easier
rounds it, but how does that change it here
2345.###-2345=###
This does not line up with your deluxetags config
are you sure you sent the correct one?
your log says
[16:22:29] [Server thread/INFO]: [DeluxeTags] PAPI Chat enabled. This means your chat plugin will use placeholders to fetch the tags!
but your config doesn't even have that option

If you just updated deluxetags then follow all the steps in order again
?tagess
the math_0: part is precision
0 = 0 decimals
that's why you keep rounding and don';t even know it
lol
😂
i find another problem from my shop
, but I don't think it's necessary
%math_<math expression>%
%math_[precision]:[rounding]_<expression>%
i fixed it in game
[precision] [rounding]
no need for floor there really
unless you just don't use a second math expression
tbh you don't need to at all
just put it in ()
%nested_math_2:(({checkitem_amount_mat:{deluxemenus_meta_itemBuy_STRING}}/64)-FLOOR({checkitem_amount_mat:{deluxemenus_meta_itemBuy_STRING}}/64)})*64%
is ok
I think this would be right, no need for 2 math placeholders
I hope the amount of () is correct
really gotta go
o/
gl
didn't work
Nested will parse the input n times iirc @mint fable
It wont work the way you want to
still need second math
okay I fixed
@mint fable can i put custome head in delexutags conf?
How I put the coordenates on a command?
Hi, I was looking to register to papi ecloud and I've seen others say that I had to dm @funnycube#0001 but his dm's are disabled, what should I do?
Hi, You don't know how to solve the fact that the pinger from the placeholder API returns the motd from server.propeties and not the motd that might be added there by another plugin?
is there a placeholder that show the number of people with certain permission node
Who knows how I can create a kit with lore that explains who claimed the kit?
that depends on the plugin that gives the kit
unless you give the items manually, in that case you can simply create a give command
and set player name there (since you probable have it as /give requires player name)
https://paste.md-5.net/isililolip.java
Som1 know how i can made it work ?
I want to display 5 member of the player faction (in different placeholder)
(its detected but the placeholder doesnt work)
don't think so
you can use placeholders from the player expansion, ex: %player_x%
(tag me if som1 respond)
The identifier is the part in the placeholder that is between the first
%(Or{if bracket placeholders are used) and the first_.
Because of that can you not use%,{,}or_in your identifier.
Also, your String identifier in your onPlaceholderRequest will be anything after your actual identifier
so you don't need to substring and exclude your identifier
if your identifier was factions and you parsed %factions_member_5% then the String params for onPlaceholderRequest will be member_5
Who knows how I can create a kit with lore that explains who claimed the kit with essentials
when will you fix %statistics_mine_block% error CJ
?
try AdvancedNMotd
Do you have any other ideas?
I don't really care about this part
Ok
is this suppose to work ?
how do i register to ecloud
do you have an expansion ready to publish? @ionic fox
No, your identifier should not contain a _
if you really want, make it factionsmember no _
okk
im actually solved my problem, CJ
when will you fix %statistic_mine_block% ?
get a custom plugin or find one on spigot that does what you need
the placeholder for total mined blocks is annoying to "fix"
subtract things like stone, grass
anything counted twice as gaby was saying
And that's if we want to "fix" it
because the result of the placeholder is what you get from the actual statistics
hmmm...
remember the problem is:
if you mine stone, the statistic for stone and cobblestone go up
if you mine grass increases grass and dirt
maybe some other blocks too
sand
Hey there!
How do I translate color codes in PlaceholderAPI?
PlaceholderAPI.setPlaceholders(player, ChatColor.translateAlternateColorCodes('&', placeholderString)) this isn't working.
I would color it after parsing the placeholder
so just swap your methods around
I didn't get it, like translating this method?
ChatColor.translateAlternateColorCodes('&', PlaceholderAPI.setPlaceholders(player, placeholderString))?
ChatColor.translateAlternateColorCodes('&', PlaceholderAPI.setPlaceholders(player, placeholderString))
ye
Alr
because you want to parse the response first
so %placeholder% becomes name
then gets colored
how does args work in dm?
yes I do, sorry for the late response, you pinged the wrong person XD