#placeholder-api
150650 messages · Page 20 of 151
Yes I told him the best way to do this would be to create a PlaceholderAPI JavaScript Placeholder
Ah yeah, just checking
Everything you need Talesu is here: https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
It shouldn't be difficult, probably just a one liner in .js
@balmy marten , i never worked with .js, I installed Javascrpit Expansion
Could you help me since it should be only one line?
@zenith badge,
What do you need @zenith badge
i need a custom advanced place holder with towny
PlaceholderAPI %townyadvanced_town_residents_amount%
%townyadvanced_town_mayor%
?
Hey I have been struggling with PAPI, reasoning I bought LeaderHeads to display the top leader towns, but I found the the PlaceholderAPI %townyadvanced_town_residents_amount%, shows all the town members.
The only way to change this is by setting the current user of %townyadvanced_town_residents_amount% is equal to %townyadvanced_town_mayor% and otherwise 0
Problem is I never created PlaceHolders, I
f anyone is willing to help me please PM me,
I would gladly be helped, and I would totally** pay someone to help me set it up**
@zenith badge
You want to subtract one from that placeholder?
There is no placeholder for towny I think?
I am having this bug in console
https://pastebin.com/apWTi7hV
seems like vault baltop function is broken or something
https://paste.helpch.at/wurirehapa
funnycube
I'm sorry. I just opened the server and executed the command.
@vale dock,
sorry
https://pastebin.com/61VfnPZd On versions 2.10.9 - 2.10.10-DEV-110, when you write the / papi reload command, an error occurs
It turned out to fix the error by removing all extensions and simply reinstalling via the command.
Hi guys i have a plugin called leaderheads that i use to make a top player list, sadly it seems that EzBlocks placeholder does not count Breaking blocks in creative which is kind bad since i have a creative server and i would like to know how many blocks broke the first-2nd and so on
statistic?
does not log crative blocks
@spiral wind
%server_online%
ty
Can anybody help out @zenith badge?
He wants a PlaceholderAPI Javascript placeholder that returns %townyadvanced_town_residents_amount% if the current player is equal to %townyadvanced_town_mayor% and otherwise 0
Current player from where
gaby cutie
:)
@vivid sparrow just yourself, so I asume %player_name% or whatever there is
@steep thorn thank you sm
function f() {
return BukkitPlayer.getName().equals("%townyadvanced_town_mayor%") ? "%...%" : "0";
}
f();```
hello, %bungee_<servername>% placeholder displays 0 all the time.
i have latest papi and %bungee_total% works fine.
same name of the server in bungee config
Make sure you remove <>
👍
THAnks Gaby ❤️
btw whats better to use on bungee, pinger or bungeecount?
serverpinger or bungee placeholder rather
performance and speed wise
what expansion is it for practice servers with elo groups/leaderboards?
depends what plugin u use
strikepractice
and if that plugin supports placeholderapi
@warm topaz Unknown expansion.
Hello, does anyone know why I get this? No cloud expansions are available at this time. by putting the command / papi ecloud list all 1 or / papi ecloud donwload
?ecloudblock
Hi,
There is issue with LuckPerms placeholder %luckperms_group_expiry_time_<group name>%, it shows hours incorrectly. https://prnt.sc/unlvjx
Thanks.
Hi, how can i change this d,h,m,s to my language ? (like 18g 35s 2d 14sn)
I am using the %server_countdown% placeholder in gholo.
javascript
https://media.discordapp.net/attachments/758774576854466601/759035012275240980/unknown.png Can someone help me? Why this does not work?
I have the skript ecloud on!
The skript expansion does not work with versions of PAPI after 2.10.6
People that don't like skript need to probably spend a ton more time getting to know it before they just say Ew
I'll say ew skript as well
but not because it can't do things, because I'd rather just make a plugin with java
Important Information for Vault Expansion
If you are using the Vault Expansion and aren't using the baltop placeholders that it provides, go to the PlaceholderAPI config and disable it. We've traced heavy CPU spikes to a task that the expansion has been running to calculate baltop (even if you aren't using it).
I just pushed an update (1.7.0) to the eCloud and it will be off by default on new installations.
The before and after of the fix that just went live:
https://i.imgur.com/N3htJCT.png
I should also mention that it's more noticeable on bigger servers.
epic
skript 
We have it alredy off 🙂 (if i´m not wrong you need if off otherwise some plugins refuse to work properly).
@onyx mulch it's SpeedPerSec
Broken, do you know which plugins off the top-of-your-head seem to break? Not aware of this.
There is no time to wait! Ask your question @novel juniper!
for example:
Survival
Playing: 0/50
i use deluxehub 3'
is there a way in placeholder api where i could remove the trailing space here if %towny_surname% is null/empty/non-existent?
%player_name% %towny_surname%&f: test
if i have my surname set in towny, it looks just fine, but if i don't have one it looks like:
amellen : test
javascript placeholders
ok cool, let me try that
nice, didnt even know about javascript placeholders, got it all working
Hey there, I'm trying to make an account for the eCloud so I don't have to distribute an expansion manually, is it possible to get an account or get an expansion added?
@balmy marten
@heady falcon,
Hey there, I'm trying to make an account for the eCloud so I don't have to distribute an expansion manually, is it possible to get an account or get an expansion added?
@normal fable DM me a username and email you want and i'll set one up manually
I can't send a screen, it's very annoying ...
But hey, hello first of all, I would like to know why my "scoreboard" still shows% prisonranksX ...% while I have another one?
(The plugin is deleted and its folder too, reload etc)
Thank you
?imgur
and what's your scoreboard plugin?
PlaceholderAPI is not a scoreboard plugin
It's just to modify the% rank ...% I changed the plugin and it does not change to the one I loaded and the /papi do nothing
and what's your scoreboard plugin?
On a discord, I had my %% problem fixed but I changed the plugin, and the previous one remains in the placeholder
Why i need to be level up to 1 to send links
ok ok , im using placeholderapi Pinger & Bungee & i'm using FateHUBCore it should be working with and i want to put server motd but is not working it's creating an empty space on motd ( pinger motd ) where can came this problem
Alright, where can I get help other than here please?
What's your scoreboard plugin? (As you were already asked twice)
I don't have a scoreboard, if I say scoreboard it is to define the table on the right
funnycube can you help with my issue please ❤️
1 sec holands
perfect no problem
I don't have a scoreboard, if I say scoreboard it is to define the table on the right
@viscid garnet What plugin is creating the table on the right then?
On another discord I was told to make an order like / papi ecloud download etc ... (player is good) but the bottom is not ok, because I changed rankup plugin
oh i think i could fix it myself 😄
Ahh TitleManager I think?
Okay, are you using PrisonRanksX?
I translated everything into French and I didn't get a translation like: scoreboard
No, I deleted after various issues, so I took something better at first sight, eZRankUP
So you are using eZRankUP?
And it doesn't show up, all I was able to test before this one leaves PrisonRanksX while I deleted everything
Yes, now I use this plugin
Can you send me a link to the plugin page?
Yes of course > https://www.spigotmc.org/resources/ezrankspro.10731/updates
I can't find discord crying on the page, I was redirected here
Ah ezrankspro, you will need to follow the instructions in #spigot-linking
So is it normal that it displays% rankup ...% (old plugin) and not the new one?
I will follow the instructions, thank you
Please tell me legacy ecloud has an administration portal. You don't have to run an SQL query to make someone an account right?
Edit: I should know this lol
Edit 2: Django
Hey,
I’m trying to make a test server for anticheats. I would like it so when a violation on a anticheat goes, there’s a placeholder which will go off :P
like if the VL = 10 scoreboard placeholder would equal 10
most anticheats doesn’t have PAPI support
and I’m wondering if I can do anything with JavaScript :p
btw I’m a noob in JS
:p
@keen crown what anticheat plugin specifically?
And can you have that plugin execute specific commands for specific VL's?
um
Warden Anticheat
ThotPatrol Anticheat
Kauri Anticheat
AAC
Horizon
Hawk Anticheat
AntiHaxerMan
Cardinal Anticheat
Medusa Anticheat
NoCheatPlus
Spartan Anticheat
and most do
already have a dev working on something like this
use the Math expansion, and use {placeholder} for PAPI placeholders in it
and [precision:0] to have no 0s after the .
%math_50-{vault_eco_balance}[precision:0]% for example
What is the placeholder for specific ores for Statistic??
Would anyone have a clue as to why my placeholder isn't working here:
@Override
public String onPlaceholderRequest(Player p, String serverName) {
if (p == null) return "";
Map<String, Pair<String, Integer>> map = UptimeAPI.getInstance().getServers();
for (String s : map.keySet()) {
if (s.equalsIgnoreCase(serverName)) {
plugin.getLogger().info("YES");
return UptimeAPI.getUptimeFormatted(serverName);
} else {
plugin.getLogger().info("NO");
}
}
return null;
}
It's returning null
UptimeAPI.getInstance().getServers();
static 👀
question here is
can't you use containsKey?
@high stirrup starting from PAPI 2.10.7, it's onRequest(OfflinePlayer p, String identifier)
@stone edge Map#get != null is more performance saving than the containsKey
what papi version works best with 1.12.2 mc version?
ive heard about that too
but for small maps i dont think it makes difference
what papi version works best with 1.12.2 mc version?
you should be using latest version
no matter what mc version you are using
if other plugins don't work if you dont use old papi versions
thats not an issue with papi
Ok thanks
you must tell the dev to update hook
I had a node issue and now I have a few plugins that couldn’t load so I have to delete them and upload a new version of the plugins and papi was one of them. Sometimes plugins are mc version dependent
papi is meant to be compatible with all versions
afaik, it should work
if you have issues with the plugin you should find the stacktrace or something
so we can actually know whats the issue
i mean world edit didnt load until i uploaded a new version. the way i had to get the server back up was force the server to load a certain backup plugin in order for me to get the files back as not doing so would cause me to have lost all files and word edit loaded once i uploaded a new version so i have no doubt that this will be the same way
besides i was still running 2.10.5
ok so it wokred but now i get this:
27.09 00:57:21 [Server] WARN [PlaceholderAPI] SuperVanish is attempting to unregister placeholders via the PlaceholderAPI class which is no longer supported! Please reach out to [MyzelYam] and let them know that they need to update ASAP!
27.09 00:57:21 [Server] WARN [PlaceholderAPI] SuperVanish is attempting to register placeholders via a PlaceholderHook class which is no longer supported! Please reach out to [MyzelYam] and let them know that they need to update ASAP!
it might be a sv thing tho
🔨 A user has been caught in our great nation using off-brand products, they've been dealt with accordingly
🤨
Btw there's something I need to understand though, should've asked this for a long time
In most scripts, they use this:
function hp() {
return BukkitPlayer.getHealth()
}```
But this worked as well:
BukkitPlayer.getHealth()```
what scripts do that
you mean not using a function?
But for me, feels unnecessary actually 
I don't know why it works when you don't call it, maybe it's manually made to work that way
just in case?
Seriously ._.
function hp() {
return BukkitPlayer.getHealth()
}
``` does nothing if you ran it through any js parser right?
you would need hp()
but I'm pretty sure it works without it
I think I've seen it, but idk
I already did a test on that..
Here
@mint fable about the code you sent, what you mean?
Also, I never seen a site before in 2 years that encourage to always use a function all the time unless necessary for js
when you declare a function it doesn't run the code inside it
I know that
but if you declare a function in the js expansion (I think if it's only 1 function) it runs it without having the code I believe
might've been a bug
as string
It shouldn't run the function, since that could break shit
Yeah
ya..
maybe it's manually made to work that way
@mint fable in real js, it always made to work that way
huh?
yes, I don't understand your statement in relation
I was saying that maybe the js expansion was manually coded to run the one function because I thought it was there as a bug
I might just be losing my marbles, but I swear it was a bug at some point 
I might understand your statement wrong though, sorry
Gn
@high stirrup starting from PAPI 2.10.7, it's
onRequest(OfflinePlayer p, String identifier)
@rare lily It's returning null because my map is empty, when my map is initialized through the bungee plugin
the ecloud of papi does not work :/
hey everyone! I am having an issue and was wondering if it was a Placeholder-API issue. I use the uSkyBlock placeholder to show Island Level and Island Rank... and the scoreboard that shows it cannot show unless /is level is executed (which shows the variable). So yeah, I was wondering if this was a PAPI issue.
PlaceholderAPI simply shows data that is provided to it. If it's not showing until /is level is ran, then it would be a problem with uSkyBlock not providing the data to PlaceholderAPI until that command is ran.
Ah ok, thanks for the help <3
For sure!
Hey! Everytime when i try to execute** /papi ecloud download Vault** papi says Failed to find an expansion named: Vault. Please help me
?ecloudblock
Quick question - I've found that the eCloud 'Server' extension does not work properly when using %server_countdown_dd.MM.yyyy_01.01.2021% - is this user error or something else I'm missing?
The placeholder itself...
I don't know what other information you need - other than providing you w/ plugin versions, server jar versions, etc.
Using the other placeholders associated with the extension Server work, however anything using Time/Date format like that, does not work
I need help with a place holder api
I don’t know what is the papi of island level
I need it for my skyblock server
If "island level" is a plugin you're using you should look in the documentation of that plugin. This can include the config, a real documentation on a dedicated website or on the plugin's github page as wiki
Quick question - I've found that the eCloud 'Server' extension does not work properly when using
%server_countdown_dd.MM.yyyy_01.01.2021%- is this user error or something else I'm missing?
@lusty kiln are you entering that exact placeholder?
Yes @compact knoll - which is exactly how the wiki said to do it
Now, I’m testing it with that string, but I’d like to make some sort of day / hour countdown
But even that doesn’t work
hey guys if u guys have the exsperience with real scoreboard if its possible to make like only admis scoreboard i cant find anything in google
don't include the numbers. This is what I have and it works perfectly - %server_time_d MMMM, yyyy% [Format: 28 September, 2020]
the numbers at the end it show the example of what it would look like
@lusty kiln
i can only hook to player related placeholder, for example the %vault_rank% for work
String subtitleMSG = plugin.getConfig().getString("Subtitle");
subtitleMSG = PlaceholderAPI.setPlaceholders(e.getPlayer(), subtitleMSG);
you need the expansions to be installed
no
so whats the problem
well here's your issue
🙂
Hey
I got a problem with papi
it gives me this error when doing /papi reload https://pastebin.com/JNCj2wVp
.-.
super quick PAPI question, writing quick installation instructions for my little standalone expansion, but I forgot what the folder is called that you put it in lol. I tried the wiki, but no luck. I feel like it's /plugins/PlaceholderAPI/expansions?
(@ me pls)
@high star expansions
mmk ty
i need help with this javacript- placeholder: ```function language_farmquest1() {
if (BukkitPlayer.hasPermission("language.english")) {
return "&eFarming Quests";
}else if (BukkitPlayer.hasPermission("language.german")) {
return "&eFarm Quests";
}
}
language_farmquest1();``` i have the permission language.german but it still returns the english text, what is wrong?
but wait, the permission check doesn't work on all my other plugins too, then luckperms api is broken?
🤦🏻♂️🤦🏻♂️🤦🏻♂️ you are so right
That’s why I normally don’t op myself
I just oped me like 2 days ago because I just tested a plugin
I forgot to deop me
Thanks
Has anyone got an idea why the SpeedPerSec expansion isnt working anymore?
@compact knoll its a countdown.. not a 'time' value. My time value works perfectly fine using that... its the countdown thats not working
%server_countdown_dd.MM.yyyy_01.01.2021%
server_countdown
Been trying to fix the MoreFish plugin for a while now since its developer seems to have abandoned the project more than a year ago. I see that EZPlaceholderHook is deprecated now and PlaceholderExpansion should be used instead, with onRequest taking the place of onPlaceholderRequest, but are there any syntax changes I should be vary of?
should have everything here: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/PlaceholderExpansion#internal-class
if you're asking if onPlaceholderRequest vs onRequest has any syntax changes, it's only the OfflinePlayer instead of Player
wait
that part (with external plugin) is outdated on the wiki
Oh yeah, I think I read something about that when I searched around this channel for similar discussions.
use onRequest
There is no time to wait! Ask your question @austere hawk!
Is there any reason the SpeedPerSec expansion isnt working anymore? @mint fable
it was updated in august
can you send the whole log
so how do you know it's the speedpersec expansion?
That is causng the error?
any of the expansions could be throwing an error here
I dont have any other one installed and It isnt working
is uperms built into the plugin?
Into placeholderapi?
Cube ➡️ papi bot points to /speedpersec/ but it's /speedpersecond/ still from before it was renamed I guess?
Should I just reload papi or restart the server?
I'd say restart
@rare lily any known issues?
it only errors because papi tried to load it @austere hawk
Okay
you didn't have it on server startup last time
hence why it only gave the error after downloading and reloading it
but thienbao made it so I tagged them, we'll see from there
aight so im using the %player_exp% placeholder, with the expansion pack downloaded of course
but i have a feeling it doens't display my levels
accurately
it tells me I have 0.6134268 but in actuality, I have 1290
if I use %player_exp_to_level% then its 11452 but im not sure if those are XP points instead of levels
Idk how to make placeholders work with holograms
with leaderheads
@austere hawk there is : %player_exp% which shows you your xp then %player_level% which shows you your levels and %player_exp_to_level% which shows you how much xp until you level up.
@austere hawk if you do /papi parse me %placeholder% do they work? replace %placeholder% with your placeholder of course.
Unfortunately i wont be at my pc for quite a while so I'll try it once im home
yessir if it doesn't work like that then you've probably set up LeaderHeads incorrectly. If you need help with that you need to contact Robin#7385
@austere hawk contact me
hey can anyone give me the list of bungee placeholders
@austere hawk maybe try restarting the entire server and download it?
ok thx
@rare lily Already did that a couple of times 😦 Still doesnt work
Try give me the log again
The last log you sent way back is not clarified what actually was causing
@rare lily,
Hey I've been trying to get this to work for ages and its still not working no matter how hard I try, pretty much I've made a custom scoreboard plugin and when I use it on my test server I don't get any problems at all (I was getting them before tho) but now when I try do it on my hosted server I get the error The received string length was longer than the maximum required (40>20) which is the super long placeholder not working and making the length too long not allowing anyone to join the server. Any reason for this/fix
does pinger have super vanish support
meaning when people are in super vanish it subtract player count
don't think it does but you can always test it.
since its just 2 commands to download it
what is the commands
^
welp then you can just do /papi parse me %placeholder-here%
and bungee
to test a placeholder
ok
but i want pinger to have super vanish support
and it said %placeholder-here%
in chat
well you replaced placeholder-here with the placeholder you want to test?
ok
no
i already have it set up
but im just wondering if they can add super vanish support
oh I don't know. If clip's the developer of it and its not open source then you don't have a lot of chances rn since he's on a personal break.
let me check first tho
ok ping me
So yeah I can't find it on his ghub
ok
unfortunately. It might be private
and as I said he's on a break. so no updates any time soon.
ok
What would the placeholder name/abbreviation be for a specific server with the %server% placeholder? Like how would I specify that I am looking to change the placeholder abbreviation for specifically my lobby server?
what? I don't get it. You want the to change the server identifier from the server expansion?
I honestly have no idea how to describe it, I'll just upload the file I'm using
Oh, I can't upload a file
I mean if its just text use a pastebin service like paste.helpch.at
Basically, I'm trying to define the %server% on line 44, under the placeholders menu on line 68. I want to redefine the server names to only be 1 letter long, so they look better in tab, and maybe give each a color too.
oh you're talking about another plugin. I thought you're talking about PAPI since this is #placeholder-api my bad.
Oh, uhh, it's related to a placeholder, TBH I didn't know where else to ask
I mean you can ask here no problem I just don't have you're answer exactly since I haven't worked with tab in a while.
and I didn't rly get your question 100%
Yeah, I am struggling to word it coherently
do you want a placeholder that shows the server name?
You see on line 44 I use %server% as a prefix. On the lobby server, it becomes lobby, on the minigames server, it becomes minigames
yep
I want to abbreviate it from lobby to L, from minigames to M or MG
etc.
To save TAB width
try this maybe: server-aliases: hub: '&eHub' survival: '&bSurvival' plot: '&cPlot'
try changing it there
add your lobby server and your minigames server there
If this works, I am dumb
server-aliases:
lobby: '&bL'
minigames: '&cMG'```
no problem
I really should have seen that, I thought the aliases were supposed to be set on the proxy to interact with the plugin on each server, but nope, this made way more sense
Thank you 🙂
no problem
Hey I've been trying to get this to work for ages and its still not working no matter how hard I try, pretty much I've made a custom scoreboard plugin and when I use it on my test server I don't get any problems at all (I was getting them before tho) but now when I try do it on my hosted server I get the error
The received string length was longer than the maximum required (40>20)which is the super long placeholder not working and making the length too long not allowing anyone to join the server. Any reason for this/fix
Any reason this why the scoreboard works on my test server and not on my host server
if the placeholder is not working, you probably forgot to download an expansion
send your scoreboard
[PlaceholderAPI] Successfully registered expansion: superior
it does say this when its loading up tho so I thought it was set up correctly
you can test the placeholder(s) with /papi parse me <placeholder>
you need vault, superior, player, and supermobcoins
and thats downloaded through the ecloud or...
🤷♂️
I assume supermobcoins is integrated
no idea what superior is
vault and player are on the ecloud
/papi ecloud download <expansion>
/papi reload
yeah see I have downloaded vault and player
and when I type /papi parse me %superior_island_top_worth_position% it does return a number
are you sure that's the one that's failing?
it says 40... which that adds up to ~36
which
if you combine with your entry and suffix of it
is way over 40
yeah ight
got it to work now thanks!
?paste
?luckperms
@warped flower,
@idle coral
@warped flower,
Jesus dude, are we supposed to read your mind? "Help me", yes with what?
And please stop pinging us and adding as friend
Don't ask to ask, explain your problem and someone will help
do not go placeholders but I can not put the picture to show you
?imgur
Did you download the vault expansion?
Yes
yes
and what else?
on skyblock goes but I did not add that , and I tried and survival and does not work
and it's the same version
??
@idle coral
@warped flower,
😐
i tried /papi ecloud download Vault but it says Failed to find an expansion named: Vault. i also manually downloaded it and put it in /plugins/PlaceholderAPI/expansions but it does not work 😩
Somebody help me please
I downloaded it here: https://api.extendedclip.com/expansions/vault/
hi
Good evening!
Currently on the latest build of PlaceholderAPI.
Why does it make all texts lowercase"? even when I type for example: 'HELLO' it shows as ''hello'' in-game chat. On version 2.10.6 this is working correct.
All plugins messages also fully lowercased on latest version
@mint fable ? 😅 Sorry
@barren zephyr,
Ow
so many pingers today
Why does it make all texts lowercase"? where?
does it do that with /papi parse me %placeholder%?
@barren zephyr,
Yes Cj
/papi parse me Hello
Shows ''hello'' in the game chat
This is from version 2.10.9 and up
yes currently on the latest dev build
@mint fable Not bad thanks, lol
@heady falcon ❤️
PlaceholderAPI-2.10.10-DEV-110.jar
from september 26th
It makes all texts, literally all texts lowercase.
Where else are you able to test it?
do you have deluxemenus or a scoreboard to test on?
e.g. Essentials MOTD, Automessages, when I type /papi ecloud download <plugin> it shows all text in lowercase.
The Scoreboard from AnimatedScoreborad is working good.
Tablist is also correct
Its just the chat box.
EssentialsXChat (latest) and ChatInjector
and do the placeholders show uppercase when used in esschat format?
try removing chatinjector
I know the placeholder will break obv
but test that and run the parse again
see what happens
well you might have to switch chat plugins, what server version are you on?
Ah I just came across this new ChatInjector: https://www.spigotmc.org/resources/chatinjector-1-13.81201/updates
- Fixed support for PlaceholderAPI 2.10.9 (you now need to use version 2.10.9 as opposed to 2.10.6 for this plugin to work properly)
I was about to ask you that as well
let me try this
Ah great that worked!
v nice
Thnx for the help - im sorry for the interupting ping
👍 just don't do it again 😉
alright
im having trouble
with an ecloud addon
pinger to be specific
doesnt work
for me
@queen spade NEVER say "doesn't work", describe what doesn't work
What do you expect it to do and what is it doing instead
oh
so
im trying
to make it say online
and the serevr is online
yet its still showing offline
Is there anyway I can display a placeholder like %VotingPlugin_Points% but for a custom player like %player%
Yes there is. Use the "ParseOther" expansion.
The placeholder would be %parseother_{username}_{VotingPlugin_Points}%
@twin sluice ^
@warped flower,
Hey,
How can I use powers in %math_<math expression>%?
Would %math_10*1.03^5% work?
Thanks
?tryandsee
I forgot about /papi parse 😮
/papi parse me %math_10*1.03^5%
I'm pretty sure it does? https://github.com/PlaceholderAPI/PlaceholderAPI/wiki
i got an issue with the latest version of papi in 1.15, where it makes everything in lower case any idea why that is?
that's ChatInjector on versions 2.10.7+
clip looked thru ChatInjector's code but couldn't find what could cause it
so the placeholders for Autorank not working on latest Papi is caused by the expansion or the the code in Autorank?
so I guess I will bug clip
which is a deprecated method. Well now removed
clip is away
he won't update anything for a while
yes I know, my expansion I updated last month
I sent him a message
k
did they fix the issue I was having with Papi?
what issue exactly?
when I ran /papi reload the expansions loaded list would not display
oh no idea. Never seen it and dk if it got fixed.
only seem to do it when I had my Statz expansion installed
they all still work, just not seen in the list
guess I can't even download more then one expansion before it breaks, to fix I need to reboot the server
OK when I first noticed this issue I felt it was my Expansion, still thinking that, been told my code looks good. could it be something we can see in the jar?
send the code
https://imgur.com/5JOfVa8 how can I fix this?
At the first click, the placeholders are simply not loaded, and then, as luck would have it, they may or may not
after several attempts it loads normally BUT after restarting everything is the same as when you first clicked
sorry for writing, and here I need to fix this error as soon as possible (
Hey! Papi is not showing placeholders and i cant install them
Please help
@prisma gust is there any errors in server logs?
@warped flower,
Stop
@warped flower its not setting the placeholders
make sure you have the player expansion isntalled
and make sure the plugin you are using to run commands actually parses placeholders
@sharp jay Unknown expansion.
I didn't understand ... what should I do to make it work?
@warped flower
/papi ecloud download player /papi reload
@limber ice make the expansion persistent
Not sure what you mean
Is a method you have to override that tell papi not to unregister an expansion after /papi reload
wait im dumb different people
is there any pvp stat plugin that works in 1.16?
pvpstats and killstats not working
im currently making one 
no ETA for a release yet, but its like 70% complete id say
in how much you will get it done? @warm topaz
no ETA means no Estimated Time of Arrival.
There is no time to wait! Ask your question @hollow marsh!
What factions plugin do you have?
saber
welp the rel placeholders are just for FactionsUUID and MasiveCore Factions
?
well unless the plugin has them itself then no idea how you can do them.
support good af
no problem dude
did you come here expecting me to make an expansion for you? that's not called support anymore. If you want someone to make it for you then you have the #761129130321772564 or #761129129730900028 options
😐
is it posibble to do papi in command blocks?
don't think so
k
but I mean you can use @p if all you want is to use the player's name
hey
i think luckperms api is broken look at this
well i can't do pictures
any way when try to do this %luckperms_prefix%%player%
it will look like this
Does it work in /papi parse me %luckperms_prefix%
i can test
Looks like you just ran out of characters in the scoreboard line, but we'll double check the placeholder is still working
k. but it says %luckperms_prefix%
and to get scoreboard longer am just gonna do the " " longer?
Depends on your version and scoreboard plugin
execute those 2 commands ^
👍
@prisma gust is there any errors in server logs?
@limber ice [16:01:30] [Server thread/INFO]: Rafaelox issued server command: /papi ecloud download vault only this
but i found something with my jar file
so did you get it to work?
no
ill send it
here: [15:55:07] [Server thread/ERROR]: [PlaceholderAPI] failed to load class files of expansions java.util.concurrent.CompletionException: java.lang.ClassNotFoundException: com.extendedclip.papi.expansion.vault.BalTopTask at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$4(LocalExpansionManager.java:324) ~[?:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) ~[?:1.8.0_212] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212] Caused by: java.lang.ClassNotFoundException: com.extendedclip.papi.expansion.vault.BalTopTask at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[?:1.8.0_212] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_212] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_212] at me.clip.placeholderapi.util.FileUtil.findClass(FileUtil.java:63) ~[?:?] at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$4(LocalExpansionManager.java:317) ~[?:?] ... 2 more
@limber ice
did you update the vault expansion?
yes rename folder then start over
Hello in my server if i use last version i have this problem
all text are lowercase
If i use Version PlaceholderAPI-2.10.7-DEV.jar
Work fine
do you use chat injector by chance?
Yes
what server version
1.16.3
report back if it works 👍
Work fine thank you! ❤️
👍
I just downloaded the mcmmo expansion via papi-command and then reloaded the server. But I can still not validate mcmmo? please help 😦
[LeaderHeadsRevamped] The specified placeholder mcmmo is not an MVdWPlaceholderAPI or PlaceholderAPI placeholder
^ is the error that im getting, no clue what im doing wrong
It even says that the mcmmo statistic is enabled in leaderheads, this makes no sense
@brazen breach,
[14:40:20] [Server thread/WARN]: [PAPI] [Javascript-Expansion] ScriptEngine type for javascript placeholder renk isn't initialized! Defaulting to global
any idea?
its a warning not an error
in javascript_placeholders.yml you can specify the engine: for each placeholder
engine: nashron is the default one. and I'm pretty sure its the only one as well
so if you don't want to get that message anymore just add that line to each placeholder declaration in javascript_placeholders.yml file
Wait, did i get ignored on purpose? :b
ok now that I see it has to do with LeaderHeads
Followed your guide too
you need to contact @steep thorn
he asked us to send everyone asking for LH support to him
add him on Discord
Dm me pls
It's ok, he bought it
But he's a bit confused about what a placeholder is
I'm a bit busy at the moment thugh
YEah sorry, I have no idea how this works D:
well its a place holder its basically text that gets replaced by data.
I thought i just had to run the "/papi ecloud download McMMO" forexample
so for example %player_name% as the name suggests will return the player's name
yeah and then /papi reload
ok now let me check what placeholders they have
try doing /papi parse me %mcmmo_in_party% and tell me what does it return?
well no
it works
the placeholder works
if it wouldn't work it would return the placeholder itself %mcmmo_in_party%
oh
so this placeholder returns true or false based of if you are in a party or not
if you were in a party it would have returned true
oh okay
sory incoputing but you can't download craftingstore api and i would want it so yea
is ther away to get it?
So what does this mean
well the placeholder you tried to use was a wrong one
it means it doesn't exist since LeaderHeads was not finding it
hmm..
what placeholder were you trying to use?
ehm
here's a list of placeohlders for mcmmo: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#mcmmo
Yeah okay, It might just work then. I'll try to make a sign again with leaderheads
omg yes
@twilit walrus the api should be inside the plugin itself
It does, just work
I actually did the things right, I just didn't understand what was what then haha
Well thank you so freakin much Blitz n Robin
its inside the plugin
ok.
so if you want to use it in your own plugin you need to use the jar as a library
You are welcome Jackboi.
❤️
its a warning not an error
@turbid tide but its not working?
@dull mango,
uh
I think he has a warning that his javascript placeholder doesn't specify an engine to use
but that doesn't mean the palceholder doesn't work hyperion. if it doesn't work its probably messed up. Like the code for it.
so uh...
if i parse %server_countdown_dd.MM.yyyy_27.10.2020% it returns 23d 26h 39m 50s which is correct
if i parse %server_countdown_dd.MM.yyyy_28.10.2020% it returns 50h 39m 50s which is far from correct lol
Are you on the latest version of the server expansion? I believe this was recently fixed or there's a PR in the pipeline to fix it.
yeah, just ran update after you replied
I should clarify, i ran update, reloaded, and still not resolved*
Yeah alright it looks like that fix is still in the works for the time being. It's a known issue 👍
sounds good, thanks for the clarification
Yeah, thanks for reminding us!
Player Expansion Development Jar
Hey guys, we have a great update coming to the Player Expansion here very shortly and we'd appreciate anyone who would test it out for us. We want to make sure this still works properly across 1.8.8 - 1.16.3 so that everyone can properly utilize it.
Changes for this update:
- Added
%player_yaw% - Added
%player_pitch% - Added
%player_has_potioneffect_<effect>% - Added
%player_direct_xz% - Added
%player_light_level% - Added
%player_world_type% - Fixed formatting for
%player_biome%and%player_biome_capitalized% - Changed
%player_max_health%and%player_max_health_rounded%to utilize attributes. - Changed
%player_ping%to use cached reflection and colored the ping properly
As you can see, there's a ton of changes in this update, so we want to make sure it's all stable before we release it to the world!
Phew. That was a lot to type.
😄
If you want something to do Kalibear, you could take a look at open issues in https://github.com/PlaceholderAPI/Server-Expansion.
Specifically on what Carson was talking about above.
Good catch
wasnt it also fixed in a papi dev build?
@cloud shard mind trying out the papi dev builds? https://ci.extendedclip.com/job/placeholderapi
Yeah it looks like it was via https://github.com/PlaceholderAPI/PlaceholderAPI/pull/423
installing now
glare, would u like a job to do? i have plenty of PRs open for the expansion repos in PlaceholderAPI GH
ayy, its all good on the dev build
Yeah I can take a look at those tomorrow. I have to head to an event I'm running today IRL and I won't be back until around midnight my-time. The reason I haven't gone through those yet is that I will have to convert the projects from maven to gradle in the Jenkins projects.
Sounds good Carson, thanks for letting us know.
ill be happy to convert them to gradle for u if u want
this post was made by gradle gang
Only clip can give you access to that unfortunately. I know how to convert them, I just need to find the time to sit down and do it 😛
Yup!
hey guys, i'm using a suffix and a prefix placeholder from LuckPerms. Is there a way to show a message if the players doesn't have a prefix or suffix? Like a "when empty" option?
javascript placeholder
Should've edited wiki for that next time lol
There are features I added that weren't in the wiki
How do you check for an empty string in js ?
Check if it's ""?
if("%luckperms_prefix_element_highest_on_track_donor%" == " ")
{
"&bDonor Rank: &aNot a donor"
}
else
{
"&a%luckperms_prefix_element_highest_on_track_donor%"
}```
tried that, it just returns the palceholder i have
Is that in function?
nah but its worked previously on other placeholders
Essentials placeholder are fuked up I guess
lore:
- "&8"
- "&7Left click to reedem kit."
- "&f"
- "&6Cooldown: %essentials_kit_time_until_available_starter%"
Quick question do you give DeluxeChat away for free? https://i.imgur.com/GhO8DKv.png
Yea no, that's not how it works lmao
ty, bippity boppity bannity
The guy was muted here yesterday for being a nuisance, so I'm not surprised he's saying that
lol
He got the jar DMed to him from someone else according to a DM screenshot he helpfully sent us.
anyways back to LP, ty frosty
I dmed glare, dw bros
br0s
Anyone know how to use any of these?
%buycraftAPI_recent_name_<number>%
%buycraftAPI_recent_price_<number>%
%buycraftapi_top_donator_currency%
%buycraftapi_top_donator_name%
%buycraftapi_top_donator_price%```
More so, what does the <number> mean in the placeholder?
ugh its literally a number
you replace the <number> part with a number
for example %buycraftAPI_recent_name_1% will show the last buyer
%buycraftAPI_recent_name_2% will show the second to last buyer. etc.
I can not locate the Day Placeholder you refer too BlitzZ
Does Leaderheads support recent craftingstore donators placeholder? If so, how would one utilize it?
@glad glen
@pseudo spruce,
ty Blitz
?help
kk
What would type be set as for this? https://paste.helpch.at/werixuwata.coffeescript
No idea who is able to fix this but I believe line 45 of https://github.com/HelpChat/DeluxeMenus/blob/master/gui_menus/kits.yml
Is meant to be
output: 'no'
otherwise it always shows cooldown even when available 🙂
So i've set it up correctly but just need to add output 'no' and players wnt be able to claim until that time and date?
Oh, my message is unrelated to your issue if you're replying to me
oh ok
left_click_requirement:
requirements:
date_time_requirement:
type: string equals ignorecase
input: '%server_time_dd.MM.yyyy%'
output: '01.12.2020'``` @reef sparrow
@robust patrol I know the example is a bit broken. I'll fix it. Thanks for reminding me.
ty
fixed Dyyce. Seems like that's all that was wrong there. Thanks once again.
Is there a placeholder that only allows a player to claim 1 time only? Or will i have to give then remove a permission?
you can give them a permission and if you're on 1.14+ you can just use DMenus meta
im on 1.15.2 using Deluxemenus
then you can use meta for that. Check the wiki for some info on that
The Meta info is quite vague, it only shows how to setup add and subtract open attempts
yeah well what you do is make a meta with a special name that represents your reward or whatever and make it go up by 1 when they collect the reward. Then add a view requirement that says the meta must be 0.
Way over my head, i've looked at what info is available and can't make heads nor tails of it.
I get the view requirement part, just not the meta part.
ok I'll make a quick example
left_click_commands:
- '[meta] add Day1 INTEGER 1'
view_requirement:
requirements:
meta:
type: has meta
input: "Day1"
meta_type: INTEGER
value: 0```
this is all you have to add to your reward item.
and for each day
you change the key which in this case is Day1
you can name it whatever
but your best solution here is Day1, Day2 or just the day 01October, 02October etc.
@reef sparrow ^
also instead of view requirement you can use it as a click requirement.
So I've attempted it https://paste.helpch.at/ukohuzeqey.bash
and?
make sure you are not OP btw
and set it to the date of today
not 01.12
because thats 01 December
@reef sparrow,
everythings working accept for it's not restricting to only one claim, i can click it multiple times and redeem
ugh lets see
try this one then: https://paste.helpch.at/eciripenet.bash
and as I said make sure you're not OP
Got one of my testers on to check, working fine now. thanks for the help, just an idea, advent calender maybe a little perk to showcase in deluxemenu's.
Vault Expansion Changes
This is just a heads up that the baltop placeholders will be removed from Vault here shortly. The reason behind this is that all they do is connect into EssentialsX for the information. Due to this, I've been working with other members among the EssentialsX development team to make some changes to the APIs and include a proper API to the balance of users. With this comes a proper API implementation for EssentialsX baltop. That means the baltop placeholders will be moved from Vault to EssentialsX, fully rewritten, and in result will skyrocket the performance of the placeholders compared to how they were before.
pog

%progress_bar_cronicas_cap3_c:&a■_p:&e■_r:&7■_l:10_m:900_fullbar:&aCompletado!%'
im trying to use this placeholder of progress bar
.
[20:10:31 INFO]: [Progress] Couldn't get the number from cronicas. The progress will be 0%.
[
but it says that
the placeholder is cronicas_cap3
but it detects it as cronicas
there is a way for make it read cronicas_3 ?
and not only cronicas?
ugh what?
use {}
to let it know its a placeholder
%progress_bar_{cronicas_cap3}_c:&a■_p:&e■_r:&7■_l:10_m:900_fullbar:&aCompletado!% I think should work
@dim nexus ^
ohh thanks
I can use amount: 1 but it will show every number accept 1. how would i use a placeholder to achieve the same outcome?
what?
I've created a calender, you know when an item is stacked it displays the number of items stacked in the bottom right corner of the material item
yes
you can't. I'm pretty sure minecraft removes the number when you have just 1
its a minecraft thing.
hmm, a calender plugin has achieved it so there must be a way to do it though
ok
