#placeholder-api
150650 messages · Page 46 of 151
ye
so do u want me to fomat the output ?
then i will make a js placeholder do modify it
ok
well at least that's what it should be doing
just u the %statistic_time_played% then
can i ask for general problems here or is this only for PAPI?
if we know we can help
#general-plugins if its plugins #minecraft if its minecraft
ok, thanks. Do you know how to remove <tab> in minecraft chat? all members can see all commands even those they dont have permission
sorry
it shouldn't show
I don't think there's a way to block it for specific users (with the existing plugins I mean) but you can block it for everyone using PluginHiderPlus
mine dont show at all if they dont have perm
they can see commands like //brush //ae /action
maybe give them specific perm for a command will work?
well i already did permission
they dont have permission for most of them
but they can still see those commands with tab
in the chat
idk about that but i use luck perm and it work well
pressing tab will only bring back usable command for the player that have perm (in my sv)
well sadly on me is not like this
they can see every command in the server
they dont have permission, but they can see it
does it flag red or normal gray
wait
Locale locale = getLocale("en-US");
NumberFormat numberFormat = NumberFormat.getNumberInstance(locale);
DecimalFormat decimalFormat = (DecimalFormat)numberFormat;
decimalFormat.applyPattern("#,###,###.##");
decimalFormat.format(number);
normal gray
maybe ur permission plugin dont have that feature ?
wut r u using
PowerRanks
dont know about it sorry
its ok
wow ty I'm looking at how to use this 🙂
its basically all there just change number to your number
well i guess i will have to switch
LuckPerms has a convertor for most plugins so it might have one for PowerRanks as well
luckperm also have a nice editor that save u bunch of time
I will definitely switch to luckperms
do you guys know good plugin for clans?
i use Clans - clan system, do you know if i can use placeholder for this? something like " Clan: (clan name) "
and i can add this to scoreboard?
%clans_clan_tag% & %clans_colored_clan_tag%
these are the placeholders
you can use
should i download something?
oh boy @austere hawk I just realised I gave you JAVA code and you need JavaScript. I'll look at how to do it in JS and update it xD
Nope should work
right away
when you got PAPI and Clans
cool
ty 😄
So it seems like the only way to add dots is to use REGEX. Which idk if will work with javascript.
but here you go
function currencyFormat(num) {
return (
num
.toFixed(2)
.replace('.', ',')
.replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1.')
)
}
return currencyFormat(1234567.89))```
oh ty i will try 🙂
function ecotake() {
return "eco take %player_name% " + team * 50000
}
function ecoshow() {
toto= "" + team * 50000;
return toto.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ".");
}
function ecoMain() {
if (args.length >= 1) {
var args0 = args[0];
}
if (args0 == "take") {
return ecotake()
}
else if (args0 == "show") {
return ecoshow()
}
else {
return "Specify 'take' or 'show'"
}
}
ecoMain()``` but the return is 50**..**000 >_<
ok i found
function ecotake() {
return "eco take %player_name% " + team * 50000
}
function ecoshow() {
toto= "" + team * 50000;
return toto.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1.");
}
function ecoMain() {
if (args.length >= 1) {
var args0 = args[0];
}
if (args0 == "take") {
return ecotake()
}
else if (args0 == "show") {
return ecoshow()
}
else {
return "Specify 'take' or 'show'"
}
}
ecoMain()```
do you know how i can add the online players amount at the bottom
%server_online%
so i need any special downloads?
This work work since args0 is defined inside that if (args.length >= 1) and the code below dont have access to it
Server expansion
^^ /papi ecloud download Server /papi reload
how can i add smething for the thign where you ghold Tab
so itll show the time ping and online staff?
use a plugin like TAB
multiple arguments where?
link for it ?
1 sec
is there a way on the Tab Plugin for it to do time via Location
so if someone is in america it shows their time on the TAB plugin and say from the uk it shows uk time
not really
you probably can with the LocalTime expansion for PlaceholderAPI
What script?
use the Formater expansion instead
/papi ecloud download Formatter /papi reload
then use %formatter_number_format_{supermobcoins_mobcoins}%
what does it return instead?
Hello, I need help! I install NametagEdit on my server, and I previously have installed PlaceholderAPI plugin. And when I restart my server, have an error ([NametagEdit] As the error above suggests, you do NOT have any placeholder plugins installed. The placeholder API is merely an interface, it requires other plugins to function. This is NOT an issue with NametagEdit.). I don't know what I can do to solve that error. I used newest versions of PlaceholderAPI and NametagEdit.
On older versions, that works. Now on 1.16.5 version, have that error.
Thanks!
send the log file first
have you tried /papi parse me %formatter_number_format_{supermobcoins_mobcoins}%?
I deleted unimportunt stuffs, and left only thing that are connected to NTE and PlaceholderAPI https://paste.helpch.at/nofoxiroxa.md
That's not really a problem. Its just a stupid error NameTag gives for some reason
I've seen this before but I've got no idea how to disable it
Its spaming console a lot, and that annoying me a lot
Try contacting the developer of the plugin. see if there is a way to disable it
Oke, thanks! 😄
Ohhh think I found it. I think the problem is that you need one of Maxim's plugin
do you have just MVdWPlaceholderAPI installed
and no other MVdW plugin?
Ouuu
I have MVdW, but I havent install FeatherBoard.. I will try that now
It works
!!
Nicee
That makes issue, thanks a lot
👍
@warm topaz idk, placeholder outputs a decimal when trying to make it a wholenumber
which placeholder
var current = Number("%sack_slots%");
var one = 1;
var result = current + one;
function sacksize(){
return result.toFixed();
}
sacksize();```
toFixed(0)
Thanks @vivid sparrow , you should reply to our dm though
damn I saw them but forgot to reply smh
Is it possible to pause a placeholder timer in a certain WorldGuard region?
For example, i am currently using this place holder %statistic_time_since_death%. Is it possible to make it stop counting when a player enters Spawn region? Because then they could just AFK in spawn and rack up time to be on the top of the leader board. I hope that makes sense. Or is there another way i can go about doing this?
that is not possible. the statistic expansion just takes its data from minecraft so you'd have to pause minecraft's counter somehow
Ahh man i was hoping there was some way to counter people afking in spawn for longer survival time 😂
Is there a way i could do it with a separate plugin that tracks time since last death itself instead of using minecraft data?
you could but there is no plugin that I know of that does this
so you'll probably need something custom
Can someone help me please with math problem 😄
When I use it like that it work normally
%math_2/5*100%
but when I try to use placeholder like this its spamming my console and it do not work at all..
%math_{placeholder_1}/{placeholder_2}*100%
Error:
[PlaceholderAPI] [Math] Invalid Placeholder. '2/5*100' is not a valid math expression.
What Im doing wrong? Because I need it to work with these placeholders 😕
https://prnt.sc/12605e0 It says so, what can I do about it
hello
what does %player_exp% returns exactly in 1.16.5?
for some reason it is returning 0.0 when i've 2 levels of exp
Maybe the placeholder contains a color code?
Hello, I want to ask for support about the CheckItem expansion.
The modifier namecontains, namestartswith and nameequals does not work. (I think)
I try to use the command /papi parse me %checkitem_namecontains:Panda% when I have in my inventory a Panda Spawn Egg and a Custom Player Head name "Panda's Head", and it parses "no".
Any help?
I would love to help but sadly I've got to head to bed
if you're still around tomorrow I can help ya out
only thing I can suggest now is making sure you're on the latest version of papi and checkitem
No problem for me
I just download the expansion and yes, I'm on the last version.
Also I'm using the last version of Purpur 1.16.5
I check this too but its without color code
I have an issue registering my plugin's placeholderAPI's placeholders.
try change to paper cause it better
is it ur own plugin, check the wiki back they have quite very detail guide
how do i check all placeholders i have
When can I register the placeholder Of my plugin?
when I try to register it on the "onLoad" it gives me a null pointer exception "PlaceholderExpansion:132"
Load it onEnable. Also what's the full error
yeah you probably want to register it onEnable
I try it on a Paper local server and it still didn't work
i think u need to redownload the expansion to update and fix some problem ( just incase )
I try that like 2 times, also I create that server from 0 to check with only PAPI if that expansion works, and it doesn't
do u have a screenshot ?
yup
Ye
1.16.5 you said?
in console
ok
in the meantime, try a dev build of papi
seems to be working fine for me on 1.16.5 with 2.10.10-DEV-118 checkitem 2.0.6
obviously i recommend the latest dev build though, i'm updating rn
Ok, I'm updating to the last dev
wait a minute
I think I see the issue
you're trying to check if the local name of an item contains Panda, not a custom display name for the item
that won't work sadly
let me see if I can add that real easily
ye, but it's not a "custom name"
so it's treated completely different in regards to how it's coded
nah, let me see if I can add support for it
ty
I got no idea
the only way I see that I could do it now is if the server has a specified lang file
how can I get Panda's Head @sturdy raft
so
oh wait
I did that on my spawn eggs
you're using a custom datapack for names of items, right?
ye, the More Mob Heads from https://vanillatweaks.net/picker/datapacks/
for the egg, no
the egg is from Vanilla Minecraft
if you use /itemname for the head, but I don't think you do, it would work
the custom head is the issue
yep, being from a datapack it doesn't actually modify the displayname of the item in spigot I don't think
if it did, %papi_checkitem_namecontains:Panda% would work
is mmoitem work with checkitem ?
meaning?
it should bcz its just an item with custom names and lores
recommendations?
you can't check nbt tags tho

no idea how to do this @sturdy raft
if I did I'd just add it to checkitem
:L
sadly
I guess the best way would be to just use a plugin instead of a datapack
like EpicHeads or something
could you create the items with custommodeldata @sturdy raft maybe?
I don't know how to use custommodeldata
I can't think of anything else that is "hidden" to the player
custom model data would require a resource pack tho wouldn't it? I think best is just to use a plugin instead of a datapack
https://www.spigotmc.org/resources/moremobheads.73997/
I'm gonna try this one
It's the same but instead of a datapack is a plugin
that would make it a lot better
but all the old heads will not be affected by the CheckItem expansion?
correct
yisus
not sure how you could retroactively fix that one...
but for that case, how can I do that?
well... I'm not too sure either
using item createor
there's many free out there
I think the plugin might be the best solution though
because either way, you can't fix what the player's already have...
an example pls?
ummmmmm
ye, that's not what I want to, but it's the best option rn
how about this one?
https://www.spigotmc.org/resources/itemedit-1-8-x-1-16-x.40993/
yeah that will work too
croabeast when you get a blaze head on drop, is it named Blaze or blaze's head?
this is its tag: "tag": "{SkullOwner:{Id:[I;154901009,355289695,-1810345794,-1471547454],Name:\"Blaze\",Properties:{textures:[{Value:\"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGVlMjNkYzdhMTBjNmE4N2VmOTM3NDU0YzBlOTRlZDQyYzIzYWE2NDFhOTFlZDg0NzBhMzA0MmQwNWM1MmM1MiJ9fX0=\"}]}}}"
Ay, aynone know why this doesen't work?
%math_{ultraprison_next_rank_cost}/100*{rng_25,50}[precision:0]%
wait a sec, I need to test that
Sorry for distrubing.
you see how it says the name is supposed to be Blaze?
precision changed I believe @austere hawk https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#math
it says Blaze's Head
and the texture is right and all, ye?
yup
so
{display:{Name:"{\"text\":\"Blaze Head\",\"italic\":\"false\"}"},SkullOwner:{Id:[I;154901009,355289695,-1810345794,-1471547454],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGVlMjNkYzdhMTBjNmE4N2VmOTM3NDU0YzBlOTRlZDQyYzIzYWE2NDFhOTFlZDg0NzBhMzA0MmQwNWM1MmM1MiJ9fX0="}]}}}
ah alright
That is the correct tag that I've tested
works with checkitem
/minecraft:give @p player_head{display:{Name:"{\"text\":\"Blaze Head\",\"italic\":\"false\"}"},SkullOwner:{Id:[I;154901009,355289695,-1810345794,-1471547454],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGVlMjNkYzdhMTBjNmE4N2VmOTM3NDU0YzBlOTRlZDQyYzIzYWE2NDFhOTFlZDg0NzBhMzA0MmQwNWM1MmM1MiJ9fX0="}]}}} 1
I had to fix the name
and it works
but it would have to be done for every mob
mmm
from {SkullOwner:{Id:[I;154901009,355289695,-1810345794,-1471547454],Name:\"Blaze\",Properties:{textures:[{Value:\"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGVlMjNkYzdhMTBjNmE4N2VmOTM3NDU0YzBlOTRlZDQyYzIzYWE2NDFhOTFlZDg0NzBhMzA0MmQwNWM1MmM1MiJ9fX0=\"}]}}}
to
{display:{Name:"{\"text\":\"Blaze Head\",\"italic\":\"false\"}"},SkullOwner:{Id:[I;154901009,355289695,-1810345794,-1471547454],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGVlMjNkYzdhMTBjNmE4N2VmOTM3NDU0YzBlOTRlZDQyYzIzYWE2NDFhOTFlZDg0NzBhMzA0MmQwNWM1MmM1MiJ9fX0="}]}}}
The [precision:0] was changed. U should use %math_0:_{ultraprison_next_rank_cost}/100*{rng_25,50}%
but it doesn't work if I check namecontains: Blaze?
after I fixed it, it works with checkitem yes
that's if you want to stick with the datapack, you just have to modify it
ok... maybe change all the mob heads from the datapack is not a good idea xd
or you can switch to a plugin you were looking at
but in both cases the old heads will not work
correct
now...
you could have a commandblock
that constantly runs
and replaced all old heads with new ones
ye
but I have no idea how to set that up
wat
might be easier than you think
I dont have any idea how to use command blocks
I tried, but still doesen't work.
maybe use a repeat cmd without condition ad redstoneless that ran an update command till it done
:,)
however thanks you for trying.
Next rank price - https://prnt.sc/127jefr
ah
Is there way to remove commas?
or should I ask developer to add without commas?
it a number format
have you checked if there is any placeholder like that
maybe make a javascript placeholder to de-format it ?
uhm maybe
basically it just need to slipt and remove the commas, and convert string to mumber, maybe float should work
1 line
where I should place that hahaha
leave undefined
ok
is the essentials.invsee only allow normal player to see other inventory or can modify it too?
how to test it?
/papi parse me %javascript_<whateveryounamedit>%
it fine
that should be fine
demical ok
it's math
any 1 ?
ok
tysm cj!
phew
👍
yeah but last update sep 25
🤷♂️ no bugs
alright, anyway thanks again!
if it still good then no update needed
exact
display it where?
so instead of displaying the player's rank it would display another's player rank?
yeah
well you can use the ParseOther expansion
%parseother_{OTHER-USER-NAME}_{vault_rank}%
👍
huh have you downloaded the parseother expansion?
what placeholder have you used? the exact one you've put in the scoreboard I mean
%parseother_mrdla333pe_{vault_prefix}%
^^^
Same
so %parseother_{mrdla333pe}_{vault_prefix}% still not working?
%parseother_{mrdla333pe}_{vault_prefix}%
can you try /papi parse me %parseother_{mrdla333pe}_{vault_prefix}%
see what it says
and mrdla333pe is online?
no
well that will be a problem
Do he have to be?
ya..
Thanks
👍
yes
So i put{{}}
Or 1 will work
1 should work
Ok
2 will also work I think tho
Thanks
most likely not @turbid tide
So no%
no %
Ok
yes no % because it adds them
more brackets would probably break it tbh @turbid tide
somehow
hmm I remembered it did but maybe I'm just missremembering or just thinking about the deluxemenu's arguments stuff where you do need 2 of them but anyways 1 should work
ah ye
that would be it
but I think you need 2
because it replaces the one set
but ye
ye i'm just high
{username} {placeholder} {{placeholder}}
if username needs {}
why wouldn't palceholder that turns into username not needo ne?
xD
bcz this {{placeholder}} would become {username}
because the entire thing is treated as a placeholder
and it lessens confusion on the next part
because then if I did {{placeholder}} people might think the last part needs to be {{}}
oh well idk I never tested I just showed you my thought process and why I thought 2 might work
well
yeah but I just said 2 might work as well. I didn't say they are needed
is parseother os?
no
Hi,
I have implemented the PAPI into my plugin, but for some users the placeholders don't update, what could be case of that?
ask in #development and share your code
Hi i have an error with placeholder-api plugin,
I try to use the statistic placeholders but the values are not updated for example when i put %statistic_mine_block:cobblestone%
PlaceholderApi version: 2.10.9
Statistic version: 2.0.0
where the placeholder put in if it in dm then u have to add update: true for it
Hi, I'm using FactionsMcore, when I update Placeholder API to 2.10.9, the placeholder of factions doesn't work any more. What should I do? Downgrade placeholderapi?
hi, i need placeholder help for bw1058
I think the factions expansion for PlaceholderAPI hasn't been updated for the new PAPI version so yes, you should probably go back to PAPI 2.10.6
I don't even know where the code for the OG Factions expansion is. Isn't in the org we have so probably can't do anything for the time being.
Maybe I could try to recreate it and update it 👀 doesn't have that much placeholders
Yes, i have the update: true in the item deluxemenus and i have the update_interval: 1 in the main config
Example:
menu_title: '&6test'
update_interval: 1
'prueba':
material: 'cobblestone'
slot: 6
priority: 200
update: true
display_name: '&8◆ &f&ntest&8 ◆'
lore:
- '&f'
- '&6%statistic_mine_block:COBBLESTONE%'
do u have static downloaded
Yes
i mean the expansion
The version 2.0.0
in the gui menu
not in the "main config"
Yes the main config of the gui
=paste
For example:
example.yml
can you send the whole thing there
to check that where the issue lies, can you try another placeholder?
like %server_uptime%
Okay give a minute
ur u can just prase it in chat /papi prase me %placeholer%
how would that tell us if the menu is updating or not?
I try with %server_uptime% and the values if updated
Yes because i use another placeholder and works fine
But with statistic placeholder the value dont update
what server version are you on
1.16.4
try 1.16.5 ?
Do you guys know how can i make a shop where for example you can buy a diamond sword for 1 dirt block and 1 iron ingot? Im using Deluxe Menus
😦
in click req use type has item
will it remove the item from the inventory as an exchange?
left_click_requirement:
requirements:
has_dirt:
type: has item
material: DIRT
has_iron:
type: has item
material: IRON_INGOT
Ok ill try it
oh shjt
how do i put quantity like for example 1 for 5 apples?
below material right?
yeah
||or just use the checkitem expansion ?checkitem for more info||
k
If i report the problem with statistic placeholder in the github, could the developers fix the bug?
it would take time
Is there a scoreboard plugin compatible with placeholder api? I want a scoreboard that shows your k/d time on server what world your in and a clickable discord link
QuickBoard is good
Is it compatible
Yes
It is
Good evening! I use DeluxeChat on my server, when I write in the chat it puts this .. " %player_name% "
How do I get it to display the person's nickname and not "% player_name%"?
Oh yes !! Thanks man !
:3
nick name is %player_displayname%
So I want to get the players total playtime and the players active time (The time the player hacn't been AFK)
Please ping me if you can help me
what placeholder i use to show the localtime of players in scoreboard
u can use the localtime expansion
assuming ur scoreboard has placeholderapi support
Hey is someone using the craftconomy expansion? I have a question about placeholders that dont work
I have the current scenario, I have an API and a Scoreboard and my scoreboard plugin (that I created) parses the placeholders on a line etc. etc. but what is the difference between:
PlaceholderAPI.setBracketPlaceholders & PlaceholderAPI.setPlaceholders
I try using PlaceholderAPI.setPlaceholders but it does not work
Hello, is it possible to use a placeholder inside another placeholder?
yes
How would I do this?
Because when I try to, it "stops" the first one and starts a second one
Can anyone help me with this, please?
@mellow hawk you can make a custom placeholder depending what a placeholder is
is placeholderAPI compatible with craftconomy3?
What do you mean and how would I do this? Im not that experienced with this stuff 😛
have you tried it
well i used placeholders and they doesnt seem to work
also when i try /papi ecloud download ... there's only craftconomy, not craftconomy3
so yea unfortunataly..
Looks like the author of the Craftconomy expansion is iso2013. You could try reaching out to them, or ask the devs of Craftconomy 3 if they are interested in writing a new one?
Maybe I should have done that
commands are posted in #general-plugins
Oki
Hello !
I got a question about a placeholder for money (essentials's balance).
How do we change that 'm' to an 'M' ? https://prnt.sc/12boo5l
When editing which one would I use or infact how would I format it to state the date?
Ah wait ill flick throughthis
?luckperms
Hm where can I find mcmmo?
The papi commands lol
?
Like placeholder api for mcmmo and essentials
Wait wha how do you run that command again
For future referance
?papi expansion essentials
- papi expansion essentials
-papi <expansion name>
how do i get a players rank prefix on the leaderboard?
%luckperms_prefix%
/papi ecloud download luckperms
/papi reload
I guess with LeaderHeads u can do something like this
the thing with that is it only shows the name and the value
@austere hawk Unknown expansion.
What rank plugin you use ?
Bruh
Then i think u have to use placeholders of luckperms to get what you want
Hey, so today i was trying to setup holograms for a baltop leaderboards and when i added the api %vault_eco_top_balance_1% it says 0.0 instead of the number... any clue why this is... i tried to enable baltop in the config to true, but that didnt change anything and ended up breaking my whole server where it would crash every 5 minuites... any clue how to fix this?
please ping me when you reply 😄
that placeholder return the number of highest bal
wdum?
it return the highest money amout
wdum by "it return"
the player who is baltop has 10 mil, but it says 0.0. Am i doing something wrong?
am i using the right api and also just doing it right as im confused why it isnt working 😐
is it possible to get player location but also deduct it like
%otherplayer_locx_NekrosBurek%-1
If i do that it prints my X and -1 next to it but i would like to deduct the x from a player by some number
Is that possible ?
@fickle tide 
also if you want to parse placeholders not available with otherplayer you can use the ParseOther expansion 😉
Thanks i will try, i am trying to configure when a player joins there are particles and "commands" issued but it works when i issue a command when i join the server it says on the console that it was sent but never run
Is it possible to do more customisation with DeluxeJoin ?
Like particles, summoning items etc. ?
not entirely sure, haven't worked with it much
but if it's just a mc command then most likely?
Hey, how can I put a placeholder inside another placeholder?
%placeholder_{inner_placeholder}%
only specific placeholders will support this tho
nice!
Hey is %money% also the server expansion?
that would be no placeholder
money related placeholders usually lie in the vault expansion
oh okay
Does anyone know what I’m doing wrong?
do /papi info Vault please and tell me the version of the Vault Expansion
Will do next time I jump on
just curious, is there a placeholder/expansion that I can use to extract the first 2 chars from another placeholder? (in this case I wanna get the first color code)
I know what I'm doing, no worries on that
Javascript Expansion if you know javascript
I do, but is there another expansion that I can trim easily
afaik no
not that I know of
thats a good idea actually
and personally I prefer java over javascript
you could just write one in java then
well there is no java expansion
xD I guess I can make one and make it opensource
on the ecloud, what does it mean if someone is a verified author?
u can download the expansion ingame
oh wait, author? idk, probably ur expansions get verified automatically
wait there's multiple types of authors? xD
oh yeah pretty sure that what Kaliber said is true
they have a green tick
yeah pretty sure the expansions they post get verified automatically rather than needing a moderator to verify them
i take it you have to be like important to get that
damn there's like 350 authors tho
I don't think important has anything to do with it. Just trusted by cube or clip I guess
there's so many authors that have 0 expansions
theres more authors than there are expansions
I'm assuming that registration used to be open for everyone before
but idk
also like unless you have expansions like RNG and others I don't really see the use of the ecloud. Having the expansion directly in your plugin is much much better imo
😃
Hi, I'm looking at the "Server" placeholder, would the %server_tps_15% placeholder be the average tps over 15 seconds?
Yes I know what the placeholders are I'm just asking what exactly the %server_tps_15% means
it just gets the recentTPS from net.minecraft.server.version.MinecraftServer Which looks to be as you said average on last second, last 5 seconds and last 15 seconds yeah
ok thanks
any party and friends placeholders
You'll have to link the spigot page of the plugin
how?
just copy paste the link of the plugin you're talking about
there's loads of party and friends plugins out there
so I need to know which one you're talking about
I just need link to the plugin you want placeholders for so I can tell you if there are any and which they are
bro ?
ok
%friendsapi_friendcount%
%friendsapi_friendrequestcount%
%friendsapi_onlinefriendcount%```
these are the placeholders
wdym?
mean now i dont need thr link you're saying
no I think you still need that plugin for placeholders
I'm not sure how PAF works but from what I can see you do need that one as well
ok ill get that
oh wait before you do that tho
This version will not run on a BungeeCord. You need to buy this version if you only have one spigot server. There is a how to setup section at the end of the description```
you'll have to contact the developer of PAF and see if that's how you get the placeholders.
idk this is weird. Why have multiple plugins?
okay ill ask him
i need to check requirements for a player in my plugin using multiple placeholders from other plugins(for example online time %ontime_time_played_total%) is this possible and if so how?
is it possible to ping a proxy with the placeholders from pinger?
Does anyone else have issues with their place holders unregistered upon Reload? This mainly effects scoreboards and tabs?
using /reload ?
/papi reload sorry
if the placeholders are working fine when using the /papi parse command, its most likely an issue with the implementations (scoreboard and tabs)
Some expansions might not be taking use of the persist method in the API which tells them to stay active on /papi reload.
Ahh I see thanks guys! Must be a non placeholder issue 🙂
Hi i have a question. Is there a placeholder with bungeecord that shows your current server.
I can't found them.
u can just use the server expansion in that case
%server_name% should do the trick if im reading this right
Than i get A Minecraft server back
u can define that in the papi config.yml
Thanks
can someone help me with deluxetags?
Hey, can i ask where can i download working version of RedisBungee expansion ? If i download it through eCloud, it just doesnt work
i dont think the redis expansion has ever worked 🥲
u can try version the versions under the latest tho and see if any of them work, but i have my doubts
Ok
@austere hawk Unknown expansion.
@austere hawk Unknown expansion.
@austere hawk Unknown expansion.
Anyone know the papi download for hd displays
I don't think there is one.
good evening, may I know who is managing the expansion of Vault?
i think clip, altho it is open source iirc
OK thanks. is that I would like to know if anyone could improve it
unfortunately that expansion stops in the maximum money formatting in "Quadrillion" and I would like it to be improved to support "Quintillion - Sextilion - Septilion, etc .."
example: 1k - 1M - 1B - 1T - 1q - 1Q - 1S etc...
ok thx
i tried to open a PR but i didn't understand how it works, could someone help me
is there a placeholder for playerxp?
Yo, i run multiple bungeecord instances on my network, and i wanna make it so i have placeholder that shows playercount of both instances (RedisBungee extension doesn't work). I can make it using JavaScript, but the main question is where can i see the name of the bungeecord servers, so i can use it in %bungee_<servername>% placeholder?
It's under the Player expansion: %player_exp%
?player
You name the servers in bungeecord. I think you'd be better off with Pinger if you're crossing two networks, since the Bungee expansion can only see the servers it knows about.
Essentially you fork the project, make your changes and commit them, then you go the page and make a pull request to merge your changes into the real version.
Is there a fomatted version of player exp?
ah you could truncate that with a JavaScript placeholder if you're familiar with those
Hello. I am coding a Stats GUI plugin using LeaderHeads and PlaceholderAPI. I want to use PlaceholderAPI.setPlaceholders(OfflinePlayer, String)
It is not working as intended.
Here is my code:
And here is the result when using /stats <offlineplayer>
This is really weird, as the docs state that using an OfflinePlayer should work...
And here is the result when using /stats <onlineplayer (me)>
Please @ me when responding.
Hey anyone have latest placeholder expansion of
Massivecore Factions ??
@warm topaz could you help me with my issue aswell?
Is this for latest 2.14.0
i have no idea, that expansion has just been updated so it actually registers in PAPI, i havent made any other changes to the expansion other than that
@fathom crest if u do /papi parse <offline player here> %leaderheads_blahblahblah%, what is returned?
@warm topaz , Robin asked us to send everyone who has problems with LeaderHeads to their DMs.
@fathom crest contact @steep thorn in private please. he's the developer of the plugin and will be able to help you.
Yeah
true 😅
Alright
oh I forgot to remove the ping xD. sowwy
Thank you, works now.
lol 🥶
That placeholder is not actually the player's exp. That's just the percent until the next level. There is already a javascript expansion made for this all you have to do is follow the instructions from here: https://github.com/PlaceholderAPI/Javascript-Expansion/wiki/Community-Scripts#player-exp-points
Oh thank you soo much it worked for latest version
👍
Uhh, is this normal when running PAPI with extension server?
My scoreboard freaks out because of it.
No thank you it's too short, doesn't contain message. So please don't use it guys
How do i use the MySQL expansion? More importantly why does it break whenever i restart it?
the latest release from ecloud is broken. I don't remember their being a fix yet
https://ci.extendedclip.com/job/PlaceholderAPI/ try the latest development build of PlaceholderAPI
Okay thank you @turbid tide (nice name xD)
Oh can't use it, i'm on aternos, and they don't support FTP and stuff
Huh
Maybe i contact their support for that
But still thanks!
hmm I guess. I don't even know for sure if the dev builds will fix it
but I guess you could also try downloading an older version of the expansion
I try it on a local one
This could work too
1 sec will give you command
try /papi ecloud download Server 2.4.0
if after this it doesn't work just don't use %server_uptime%
oh wait
wrong expansion
name lmao
1 second
lmao
fixed it above
but yeah anyways the %server_uptime% placeholder is the cause. If that doesn't work you'll have to just not use
that placeholder
Do you know any alternatives?
Yeah, it breaks my entire scoreboard. I give it a try I guess
There
I try to install an older version myself. I hope it works according to @turbid tide.
I say when it's working or not
I'm afraid not. That's the only one I know of. You could try downloading an older version tho as well. See if that one works /papi ecloud downlod MySql 1.3.0
👍
maybe but it doesn't really have anything to do with PAPI. just the expansion being broken
WORKS!
/papi ecloud download Server 2.3.0
That's the command
Works on latest PAPI version
nice 👍
@turbid tide (the name says it)
guys
- '[close]'
- '[world] Events'
right_click_commands:
- '[close]'
- '[world] Events' ```
is this correct? or...
@turbid tide sorry but its urgent
oh, okay then
what is [world] ?
sorry, again
no like
idk what is it
i want to tp them to a world
so i thought it was [world]
that's not an action no. Only actions that exists are: https://wiki.helpch.at/clips-plugins/deluxemenus/options-and-configurations#actions-types
Thank you Blitz!
unfortunately I don't know what to do, I've never created a project and I don't know where to put my hand, isn't it that someone could help me with this little idea? 😦
I'm unsure if that is something I would merge into the live version as I don't think many people need as many as you, but do you have any understanding of programming at all? If you have an IDE and know how to compile a jar file, you can essentially add probably 20 lines of code to get what you want.
when will bugs in JS get fixed (has find one bug and I has try report it before)?
#minecraft maybe and say your problem.
ask in right tread and say your problem. We cant guess your problem.
which version do i need for 1.8.9
latest should work fine
%jobsr_user_boost_%jobsr_user_jobs%_money%```
Can you help me to make it work
i fixed
hey
someone can help me in LeaderHeads x PlaceholderAPI fkedshits? (sorry im rageing out...)
%leaderheads_name_vault_eco_balance_alltime_1% result " " in hd, parse, and everywhere.
Hi, Is it possible to make LocalTime use the player timezone?
@flint siren did you download with /papi ecloud download vault?
@tardy burrow no possible way to get everyones timezone unless they set it
jup
@flint siren where did you get that papi placeholder?
check this
location: world, -145.743, 73.915, 266.836
lines:
- '&eTop Daily Money Gained'
- '{fast}&b%leaderheads_name_vault_eco_balance_daily_1% &f- &b$%leaderheads_value_vault_eco_balance_daily_1%'
- '{fast}&b%leaderheads_name_vault_eco_balance_daily_2% &f- &b$%leaderheads_value_vault_eco_balance_daily_2%'
- '{fast}&b%leaderheads_name_vault_eco_balance_daily_3% &f- &b$%leaderheads_value_vault_eco_balance_daily_3%'```
where did you get https://adamh.tech/2021/05/opera_PP1ceJBtX2.png
this isnt a placeholder
in vault
yes
%leaderheads_name_<statistic>_<time>_<rank>%
Id join leaderheads support server maybe
uhm, its has?
wym
@versed warren How can u detect if a server is whitelisted on placeholder 
%server_has_whitelist% checks if the whitelist is active or not.
I don't mean that. I meant coding wise
How does he get the status of a server without using Redis
unfortunately no .. I don't know completely anything about programming and I never did. even if not everyone would use as high a sum as mine, it is still something more that could be used by anyone in the future, pls could you please do this little update for me? 😦
sorry for ping
help me please
https://paste.helpch.at/zukamezovu.sql
papi - Formatter-Expansion
minecraft 1.12.2
hello guys
ihave some issue when using Placeholder MySQL
dose anyone know how to solve this ?
Are you using the latest version of the expansion?
/papi info <expansion name> should tell you if it's updated
@bronze spindle your java version is outdated.
Formatter only supports Java 11 or newer
can you please share a link to java 11 ?
this is the first time I've heard of her
https://adoptopenjdk.net/ Select JDK11 and HotSpot (If on Windows), More info at https://papermc.io/forums/t/java-11-mc-1-17-and-paper/5615/2
thank you very much
Have you installed the expansion needed for those placeholders?
Can I get a placeholder value from another server on a bungee cord network?
I actually made a plugin for that, but it's not finished. Maybe I'll do that... anyway, not atm
wait for papi 3
cannot use the /papi download command, it says Unknowd command: download
papi ecloud download <expansion> [version]
oh
https://paste.helpch.at/xihaciyuxe.sql
Do you know why I got this error?
I mentioned this before already (event today).
The formatter expansion only supports Java 11 and newer
Can anyone help me?
Using the checkitem placeholder, is there a way for it to only check vanilla items and not take named items?
I tried using the namecontains:&fOak Log, but then it wouldnt take the vanilla logs, but if I remove that namecontains it then takes custom items I've made in the form of oak logs
I also forgot to mention that I use the last version of the dev builds. I tried to downgrade to 2.10.9 but the same thing. Version: 1.16.5
someone knows how to change the output of essentials placeholders?
the %essentials_has_kit_kit%
wdym change the output?
like if the placeholder returns a certain text, return something else instead?
Yea
You'd either need to modify the placeholder expansion or use a javascript wrapper on it
how to modify a placeholder expansion
Do you know how to code Java?
then good luck lmao
javascript is easier anyway, infact there is a template script that u can use, u just need to swap out the placeholder and output text
var kit = "%essentials_has_kit_<YOURKITNAME>%";
function formatKit() {
if (kit == "WHATEVER THE OUTPUT IS RN") {
return "CHANGE THE OUTPUT TO WHATEVER U WANT IT TO BE";
}
return kit;
}
formatKit();```
this should work - i think
if u havent used the js expansion before, u can read the wiki on how to set up the placeholder correctly
https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
if u need any help just ask 🙂
maybe 😏
im thinking of making a papi expansion for this, as it might be easier than having to make a js expansion just to change the output of placeholder
can papi expansions have config files?
yes
ah okay so you could just have a config file and have people add expansions maybe?
or placeholders and what they want it to output hmm
that seems kinda hard
@turbid tide what would be ur opinion on this? it may not be as sophisticated as js ofc, but for some simple output changing its probably easier to have a placeholder that could do it for u
shut barry
lmao
star, i could do that. at first i was thinking of just a simple %changeoutput_<placeholder to be changed>_<if said placeholder returns this>_<change to this> type thing
oh I seee
🏓
🏓
🏓
🥲
idk. I'd prefer %checkequality_OPTION_<text_to_be_checked>_<text_to_be_checked_against>_<output_if_the_same>_<output_if_not_the_same>% and the options would be: ignorecolor or ignorecase If none are used you'd just simple check String.equals(string)