#placeholder-api
1 messages Β· Page 132 of 1
sorry, with placeholderapi 2.10.9 installed
yea so holoblock does need to update its placeholderapi hook
java.lang.NoClassDefFoundError: me/clip/placeholderapi/external/EZPlaceholderHook```
yeah, but the scoreboard dont work too, no placeholder work
which placeholders?
%player_name%, %player_ping%, &server_uptime%
/papi ecloud download Player
/papi ecloud download Server
/papi reload
[15:15:19] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[15:15:19] [Server thread/INFO]: No expansions were registered!
you didn't register those two expansions, so yeah they won't work
ok, another question, whats the ecloud name from Jobs Reborn?
ok, it wont load in the Scoreboard
are you using those placeholders ?
yes
which ones?
%jobsr_total_workers% and %jobsr_name_(jname/number)%
idk for the workers but the second should be %jobsr_name_#% where the # is the name of a job or a number
ok
also make sure those placeholders work with /papi parse me %placeholder%
dont know, what happen, i think, the hoster mkae updates
ah
jeah, the server died. i tell it the hoster xD. i try it later
Hi, anyone has any idea why the item requirement does not work for me? it has a custom name and lore
Why is %server_countdown_dd.MM.yyyy_01.01.2021% outputting 13d 25h 27m 37s?
-- the output for %server_time_dd/MM/yyyy% is 31/10/2020
My date is correct but the countdown is not
Hello!
Where could I find the dev builds of PAPI?
i think u can find a link on the spigot page
I couldn't find, only the github
A resource that allows information from your favorite plugins be shown practically anywhere!
β’ Spigot
β’ Wiki
β’ Placeholder-List
β’ GitHub
β’ eCloud
It seems to be the place, but I still don't find the exact place to download the lastest build
https://ci.extendedclip.com/job/PlaceholderAPI/ all u had to do was scrool down to placeholderapi π
Oh sorry! I'm a little dumb xD
Thanks a lot!
Not sure if this is the place to ask, but I'm having issues with the SpigotAPI placeholders - specifically statistic. The %statistic_time_played% placeholder doesn't seem to format properly. Its currently displaying playtime as "1d 25h 37m 30s" - any ideas how to fix this?
Sorry if this is the wrong channel, anyone having issues with vault loading? I have downloaded it and ran the /papi reload command but it still doesn't think it is there. I have even tried putting the file in the directory
try restarting the server π€
or
do /papi parse me %somevaultplaceholderhere%
and replace that with a placeholder
Just noticed this message, even though Placeholder API is up to date and it should be downloading the latest version of vault:
ERROR expansion class VaultExpansion is outdated:
01.11 02:22:27 [Server] INFO Failed to load due to a [NoClassDefFoundError], attempted to use net/milkbowl/vault/economy/Economy
Do you have the plugin vault installed?
Cause if not, the vault PAPI expansion won't work
Hello why Skript expansion dont work? I downloaded it and it didnt send message on the console
Hello I have a problem with the PAPI update.
I'm using PurpleIRC for IRC tchat.
That works perfectly with PAPI 2.10.6.
(FRM-CREA> [builder_epic] <M_Patate83> Test)
But if I put PAPI 2.10.9, PurpleIRC send me
(FRM-CREA> [% world%] <% name%>% mess)
I do not understand why ? Do you have an idea ? Thank's for help.
probably the plugin uses PlaceholderHook. Something that was removed on PAPI 2.10.7
the dev of the plugin/expansion needs to update it to support latest version of PAPI
have you tried the dev build of PurpleIRC?
if not then here ^
@lusty granite ^
My skript expansion dont work. Somebody help me? On console i got this message [11:10:58 WARN]: [PlaceholderAPI] Loaded class ch.njol.skript.Skript from Skript v2.5.1 which is not a depend, softdepend or loadbefore of this plugin. [11:10:58 WARN]: [PlaceholderAPI] skript is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
There's a more updated version of the Skript expansion. Idk for sure if its on the ecloud or not tho.
This expansion uses PlaceholderHook whchi was removed since PAPI 2.10.9
Can i do something?
Same happens with Vault [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend, softdepend or loadbefore of this plugin.
that's not a problem
from the first message only the second one is a problem
those are spigot messages
they just let you know it hooked. Nothing bad happening there.
I downloaded add-on to skript-placeholders but my own created skript placeholders dont work
Ye. Because the Skript expansion doesn't work.
There's a newer one somewhere but I can't find it
Well there is something you can do just wait a few minutes so I can find the new expansion
In last month placeholders on skript worked for me that was on version 1.16.1 maybe its version fault?
@north hearth sorry for bothering but you said you found a patch for skript. Do you mind sharing the link?
Now i am using 1.16.3 and dont work
No peter. Its Skript expansion's fault
oh.
Where i must put it? On plugins or expansions?
the link was in an issue of the outdated expansion's github
tang please help me
Where i must put it? On plugins or expansions?
in your Expansions folder
in your PAPI fodler
my laptop is burning
and crashing
damn that's exactly what my laptop has π
I think it's because of a broken fan
in your PAPI fodler
@junior musk And i need to delete wrong skript expansion ya?
yup
π
probably the plugin uses PlaceholderHook. Something that was removed on PAPI 2.10.7
@turbid tide thank for link , I put PurpleIRC 1.0.-355 ( latest ) but it does not work.
But I find this strange because PurpleIRC does not use PAPI?
@lusty granite,
Please respect the rules, be patient and don't ping staff members!
i also have the latest version of multichat ( 1.9.5) and vault (1.7.3)
well I mean those don't rly matter
you can either ask the developer of PurpleIRC to update so it works with latest PAPI version or downgrade PAPI to 2.10.6
Does anyone know if there is a way I can have a prefix for all players that is only visible for staff.
Basically i want the world each player is in to be prefixed in the tab list but I only want the staff to be able to see the prefix. So to the rest of the players it looks like the prefix isn't there.
javascript placeholders is what you need
wouldn't it need relationnal placeholders?
and is the js expansion even supporting those?
well actually now that I think about it yes.
so its not rly possible using js either
maybe this could help
I was thinking of something else
Ok I'll see with PurpleIRC (they don't even have a discord, back to IRC ^^) Is there no problem staying in 2.10.6? For the moment ?
Ok, thank for yout help π
Relcon seems to work but the second text field doesn't seem to be displaying what i'd expect
This is the placeholder i'm using:
%rel_relcon_player_tab.reload_{player_world}_ %
It shows the world correctly when someone has the permission but when they don't it defaults to:
You don't have permission to see this
I have done and i get the same result
It probably does
It says on the readme it will default to that if no value is set, but there is clearly something in that field soo idk
server expansion
Does anyone know if Statistic expansion works under PaperSpigot 1.7.10?
I had some guy that was complaining it didn't work, but his english was horrible so I couldn't figure out whether he did something wrong or whether it just isn't supported
ugh I know it has been fixed for 1.8 but I don't think anyone tested it on that version.
wait, there's a Paper version for 1.7.10? π
xD
the oldest on their website is 1.8.8
ye if you search PaperSpigot 1.7 on google it will autocomplet to 1.7.10 and you'll find it on yivesmirror.com
ah, yeah ok
Hi, Autorank do not works for me, its normal ?
(1.16.3)
hi i have problem, how i can make progress bar with 2 variables? i have skillapi and i use this placeholders https://www.spigotmc.org/resources/skillapi-placeholder-plus.45628/
and i need to use %sap_default_currenthealth% / %sap_default_currentmaxhealth%
i can't make constant lenght
Someone using PrisonRanks + PlaceholderAPI?
The 'everyone' mention is disabled so you can't annoy people.
@violet yoke %progress_bar_{sap_default_currenthealth}_c:&aβ _p:&eβ _r:&7β _l:10_m:{sap_default_currentmaxhealth}_fullbar:&aCompleted!%
@turbid tide https://imgur.com/a/mY73HeI
@violet yoke,
Please respect the rules, be patient and don't ping staff members!
hello i want to change the format time : replace "d" to "j"
for this : %essentials_kit_time_until_available_Guerrier%
mp if you want a screenshot for the problem
so hi is there Placeholder For FactionsX
why is register disabled on ecloud? https://api.extendedclip.com/register/
u have to get an account created manually by funnycube. he should be able to assist you whenever he wakes up
why though?
Β―_(γ)_/Β―
security possibly? or to make sure not just anyone could chuck a load of random stuff onto the ecloud (that probably doesnt even relate to papi)
ah that makes sense, but isnt that what the expansion verification system is for?
kinda, expansion verification is used so the expansion can be downloaded ingame instead of from the website
ah I assumed that all expansions just had to be verified before they could be uploaded
hello, im having an issue where my vault placeholders are blank
i've made sure i have the ecloud expansion
it works just fine on my survival server. i am running version 2.10.9
same version on survival
which placeholder are u using?
also run /papi dump and put it in a paste please
?paste
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
β’ HelpChat Paste - Usage
β’ Hastebin
do u have the baltop setting enabled in papi config?
u need to enable this manually, as it can be very resource intensive until a new solution is found
i just enabled it, gonna restart and see if that works
π
Hi is there any placeholder how you can see the placeholders from another players
otherplayer expansion possibly
or parseOther expansion
cant remember which ones which
@warm topaz Unknown expansion.
Parse other better
yea that looks right
np
uhh my papi cant access the cloud and i think its causing all my servers to crash and force restart
is this a possibility
papi does not have that type of strength muma does
what is muma?
dw iβm joking, but donβt think it should be, what plugin is it or is it a custom expansion
uhh currently i have no idea
im working on a network and its crashing and restarting with no error indicators that its a plugin other then papi cant connect to cloud on some servers
every server except the bungee cord server wont run
Turn off the cloud in the config.
causing the server to crash 
would that fix it?
It wouldn't cause a server to crash by simply not being able to ping it.
It just throws an error saying can't connect.
yeah no dice
speaking of errors what ones are you getting
at xyz.spaceio.customoregen.CustomOreGen
Whatever this plugin is breaking it.
It needs to update it's PlaceholderAPI hooks.
i removed it and its still crashing
but even so this is just one instance on one server
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
Grab me this after removal of that plugin ^
none of my servers except my bungee server are working however
and they all have mostly all different plugins short of them all running stuff like bps preiumim and jazz
How does any of that matter?
is papi on the bungee server??
You came here saying PlaceholderAPI is causing your server to crash. I am telling you what I need from you in order to assess the situation.
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
dont get me wrong i appreacite all the help you guys are offering
and @warm topaz no
im basically using a bunch of diffrent setups via mc market where i bought but at the same time they just crashed out of nowhere
i went to contact my host and they said papi could be causing it
Yeah I have no idea what would be causing this, but, everything PlaceholderAPI related looks fine!
π its okay
well yess and no im trying to organize a tourney and this isnt plesant Lmao
yeh never trust setups on mc market
i would never run a server with a mc market setup
i was trying to get quotes for customs but i couldnt afford people quoteing me $500+
and i was trying to explain to people i have bought a ton of preimum plugins i just dont have the time to set everything up
mhm yeh setups cost a lot but tbh shouldnβt cost anymore than $180 for a good quality one
i need multiple π
Ahh
hub shouldnβt cost more than $20 they are the easiest thing going π
thatβs if you include the build obv
so now im just tweaking and reworking through setups to make them unique
π good luck
sheesh i really need it right now 
π€£
Is there any known reason why the PAPI parse command would work for a specific placeholder but the placeholder doesn't work in a hologram? (It just stays as its %blablabla% text on the holo)
I should have the details of the PAPI version and holo plugin name in a minute...
ProtocolLib v4.5.1 and HolographicDisplays v2.4.4
It wasn't installed. My plugin is supplying the placeholders and the user of my plugin is failing to get them resolved. They didn't have HDE installed, so that's probably the answer. Thanks heaps.
Confirmed as working now, thanks Glare
So if I was trying to evaluate an expression and find any placeholders at all within it, what do i do in the API?
Hello with DeluxeMenus and in Placeholders I can't find my MMOCore plugin and I would like to display the character level, with DeluxeMenus and I can't see it. Do you know how I can do it?
@turbid tide Unknown expansion.
So if I was trying to evaluate an expression and find any placeholders at all within it, what do i do in the API?
@rich flint/papi parse me %placeholder%will tell you the value of that placeholder for you.
hello i have a problem for the time format for papi
the format for my kit is : 1d 47h !!:
how i can change this
download the latest dev build for PAPI
you think ?
I meant in java api
is there any placeholder for online players without vanished ones?
possibly the essentials expansion if u have essentials installed, not sure
well %essentials_vanished% gives if player is vanished not number of vanished players
are u using any specific plugin for vanishing?
no im using ess
hm doesnt look like it then unfortunately, unless im missing smth
hmm
if u got the chance i'd recommend checking out premiumvanish but it is paid
=pl PremiumVanish
i am now using SuperVanish
but i have one more complicated problem
I have normal spigot (not bungee) server with two survival worlds and i would like to get number of online players in specific world without vanished players, is that possible?
mhm not sure havent looked that far into it
currently trying to parse a score of an objective using the ScoreboardObjective extension, but for some odd reason it keeps parsing the score as a 0, while it should parse 1.
Source-code of the plugin's scoreboard im trying to parse: (linked the line of the scoreboard name as well) https://github.com/garbagemule/MobArena/blob/5ebdf45f6a734d47813b8ba932d12c0e623c2f0d/src/main/java/com/garbagemule/MobArena/ScoreboardManager.java#L137
I have tried %objective_score_NAME%, where NAME should be kills, ma-kills or Kills.
it should parse the red 1 https://imgur.com/a/zy9RInR
only when you disable the plugin? Anyoways your factionstop expansion is using PlaceholderHook I think.
Is there a placeholderapi module which lets me return "true" if another placeholder is more than or equal to a number, and false otherwise?
javascript
read more about it here https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
thanks!
only when you disable the plugin? Anyoways your factionstop expansion is using PlaceholderHook I think.
@turbid tide I tried the lastest dev build and it fixed. Thanks
π
Is there anything I'm doing wrong here? I have this javascript:
var mcmmoLevel = args[1];
var mcmmoPlaceholder = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%mcmmo_level_" + mcmmoSkill + "%");
function isMcmmoLevel(level) {
if (mcmmoPlacholder >= level) {
return true;
} else {
return false;
};
};
isMcmmoLevel(mcmmoLevel);```
saved in the correct directory, but when I run this command: `/papi parse me %javascript_mcmmo_level,swords,10%`, I just get the same placeholder back.
I don't think you can return true or false. Also you don't need to put ; after }
ah, should I return the string instead?
ye
Hmm, same issue
oh wait...
wait nvm
var mcmmoPlaceholder = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%mcmmo_level_" + args[0] + "%")
if (parseInt(mcmmoPlaceholder) >= parseInt(args[1])) "true"
else "false"
``` try this
this is the entire script
or should be
/papi ecloud download JavaScript /papi reload
do it even if you did it already
just to make sure you have the latest version of the expansion
it's still doing that
then please tell me how have you saved the javascript in javascript_placeholders.yml
like this:
file: mcmmo_level.js
make sure it returns true/false when it needs to
yup returning correctly
The first example in the advanced tutorial says to have a comma before it, but the other examples don't. I was going off the first example, that probably should be fixed.
Thanks for your help!
hmm I'll fix it later I guess.
now that I think about it I think it should have worked with , as well
maybe it broke in a newer version or something
Having errors with the latest PlaceHolderAPI version, will spam Could not pass event PluginDisableEvent to PlaceholderAPI v2.10.9 (for alot of plugins) in console on restart
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
net.prosavage.factiontop.hook.PlaceholderAPIHook
Whatever FactionTop is is breaking it. I would go talk to that developer.
Thanks, will do
hi i have problem, how i can make progress bar with 2 variables? i have skillapi and i use this placeholders https://www.spigotmc.org/resources/skillapi-placeholder-plus.45628/
and i need to use %sap_default_currenthealth% / %sap_default_currentmaxhealth%
This not work : %progress_bar_{sap_default_currenthealth}_c:&aβ _p:&eβ _r:&7β _l:10_m:{sap_default_currentmaxhealth}_fullbar:&aCompleted!%
You need to make sure that /papi parse me %sap_default_currenthealth% and %sap_default_currentmaxhealth% return an integer and not a double. So: 10,11,12 etc. Not 10.20 or 10,20 or 1,3 etc.
Theres no image...?
Yeah better xd
good
Javascript placeholder
can u tell me more about it? im newbie really :/
or maybe math expansion idk
can i get json from url with js expansion?
I don't think you can
Which engines supported with this expansion? Anyone knows?
Nashorn
@violet yoke use the math expansion: %math_{placeholder_here}[precision:0]%
and just add that maths placeholder inside the custom bar placeholder
How can i get the PLayer Ping, i cant find the Placeholder
Did you /papi reload
yes
What version of placeholderapi are you running
Do /papi parse me %player_ping%
heyo how do I update "DSRVExpansion"
[17:12:06 ERROR]: [PlaceholderAPI] expansion class DSRVExpansion is outdated:
Ask the dev of that expansion to update it
ah lol ok thank you
Xd np
wait
mrpista
what ver of mc u running
Player expansion should be up to date
unless of 1.16.4 i assume
Oh is dsrv blocking player
? Hes not talking about player

Do /papi parse me %player_ping%
@novel moss Dos it work with CloudNet Tab ?
in my scoreboard it works, but not in the Tab
wait
cloudnet doesnt support papi im pretty sure
judging by this review https://imgur.com/a6DMzVi
cause i dont use that plugin
:P
i need help
There is no time to wait! Ask your question @heady vine!
thats cool
but yea
So i want my hub to show how many there is on my sb server
but it wont work
only says 0
you used this? ^
no <>
i did with it
does anyone have a idea why this placeholder wont parse?
%animations_<healthbar symbol=β fill=&c empty=&7 size=10 max=20>%player_health%</healthbar>%
Ok so, the setPlaceholders method....
If the string doesnt contain a placeholder, will it NPE?
If someone could glance at this for me, I would be grateful for the help and education. https://pastebin.com/wtuSsbKW.
Additional data, in case it is needed (sorry, just discovered this): https://paste.helpch.at/copemihowa
How can i install PlaceholderAPI to bungeecord?
mkay
Papi Papa
so, a total of 28 placeholder hooks are active... but one of them doesn't work at all... even when restarting the server ;-;
Do you guys know if exists a plugin or extension for placeholderapi that can list (count) players in multiple words to one number like this placeholder %listplayers_in_world_<worldname>% But it's listing players only from one world right? I need to list players in multiple worlds, please help...
i dont know if theres a specific extension for that, but you could use the Math expansion
so %math_{listplayers_in_world_<world1>}+{listplayers_in_world_<world2>}%...
so, a total of 28 placeholder hooks are active... but one of them doesn't work at all... even when restarting the server ;-;
@sour flower well send us the error/log or something we cant guess
?paste
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
β’ HelpChat Paste - Usage
β’ Hastebin
There are no errors for it.
And which one doesnt work? You are so vague like you are hiding a dead body inside your server lol
I've already said something yesterday
It's a custom plugin.
But no one helped me xD
Then your expansion for the plugin is broken
I am currently trying to parse the red score of an objective, made by a plugin, using the ScoreboardObjective extension, but for some odd reason it keeps parsing the score as a 0, while it should parse a 1: https://imgur.com/a/zy9RInR (the red one after my name)
The objective of the Source-code of the plugin's scoreboard im trying to parse: (linked the line) https://github.com/garbagemule/MobArena/blob/5ebdf45f6a734d47813b8ba932d12c0e623c2f0d/src/main/java/com/garbagemule/MobArena/ScoreboardManager.java#L137
I have tried %objective_score_NAME%, where NAME would be one of the objectives in the code: kills, ma-kills or Kills.
Hello, I am with my %player_ping% placeholder problem and I checked a few things and I think this is due to the plugin (99% sure that everything is fine with the server settings since I reset them) here is a list of things I did
1.removed all plugins except placeholderapi completely
2.downloaded a clean kernel from the spigot site
3. completely deleted all server settings files so that they created again
4. made the server on my computer and the ping was still about 2000 ms
the problem itself is only in the display, that is, in fact, there are no delays, I can play as if my ping is not higher than 50 ms, but it is displayed as 2000 ms and this is not pleasant (
Could you tell me what else can this be connected with?
some screenshots:
https://imgur.com/kEaUNrI
https://imgur.com/RGfvHBj
https://imgur.com/n35EgGU
anyone will answer?
anyone will answer?
@fluid heath Where does it say 2000 ms ping?
the second image says 162..
the screenshots do not have this, but I assure you it was before and this problem still exists
https://imgur.com/9vyxhEZ here, for example, 300 ping, but these numbers are always different and can be either 2000 or just 100, but I have a real ping to the local server 4
how's this have to do with PAPI though.. in the screenshot https://imgur.com/RGfvHBj it said the same thing: 162
the issue might be the TAB plugin
@fluid heath
there is a screenshot where you can see that the TAB plugin is disabled and it cannot change the result of the command to display the placeholder
mc vanilla does not have colorful yellow and orange lines
@fluid heath
iirc if its localhost, you should have <1 ping
well I took this screenshot with the video that I recorded before deleting all the plugins in my first message you can see that the plugin was removed and the ping to the local server 100+ which simply cannot be
by "local server" you mean localhost?
no ping on the local server from 1 to 4 for me
what is the local server?
https://imgur.com/EsyEVoP local server is the one that is running directly on my computer
so localhost
do you connect using localhost?
what port is the server running on? @fluid heath
I also have a server that is located in Germany and the ping to it is from 40 to 50 no more, but there it first 300 then slowly drops to a normal value (you need to wait about 5 minutes)
what port is the server running on?
server-port=25565
ok
server-ip=
connect to the server using localhost
I do not think that this will change the situation in any way, since in the network game menu the ping is displayed correctly when hovering over the icon, but I will try now
it is disabled now, that is, I renamed jar to jar1 and it is no longer a java file, so it does not work at all
did you restart the server?
Also, I'm not 100% sure if changing it to jar1 will disable, but try restarting and seeing if it's still enabled or not
restarted a bunch of times and jar1 is not an executable file, so this will work, which I have already checked)
okay
https://imgur.com/3jjEt17 new anti-record (
tab
https://imgur.com/P8GEpc1 this is how it will go down for a very long time
the 2nd administrator whose Internet is worse than mine on a server located in Germany, the ping was more often just a few thousand, and I sometimes have hundreds, sometimes thousands, I don't know what to do with it
woah
okay
so this isn't PAPI's fault... sorry, I have no idea how to fix this, the only thing I can think of at this point is to just look for some forums/webpages on google :/ @fluid heath
sorry once again π¦
hmmm you gave me an idea
?
I will check if this is related to PAPI by deleting it and looking at the tab these stripes will be absent if the problem is not in it
If someone could glance at this for me, I would be grateful for the help and education. https://pastebin.com/wtuSsbKW.
Additional data, in case it is needed (sorry, just discovered this): https://paste.helpch.at/copemihowa
So, I'm trying to resolve the hooks in these messages. Is there something I need to do in console to handle this, or are these problems on the plugin authors' end?
Hey, above the npc i have it showing how many players online but everytime the server restats thats stops working and you have to add it to the npc again, is there anyway i cna make it so it will always work even when the server restarts?
@thick drift what plugin?
and btw this would be a better question in #general-plugins/#general-plugins-2
well I was just making sure...
what happens after server restart?
does it say %bungee_skyblock% after a restart?
it just doesnt work after that
no it says players online: 0 and stays like that
never changes
unless you add the %bungee_skyblock%
what if you do /papi parse me %bungee_skyblock%
says 0
then how do you fix?
by editiing the npc and deleting the %bungee_skyblock% then adding it again
bungee expansion has a update interval of 30 seconds by default
what if you do
/papi parse me %bungee_skyblock%
you can change that in plugins/PlaceholderAPI/config.yml
also my discord lagggyyy
About JSExpansion, should I really make an option for user to choose data type selection between json and yaml?
why? what are the pluses and minuses?
?
my issue is that when i restart the server i have to rename the npc and put in bungee_skyblock% everytime
i would recommend using holographicdisplays + holographicextension to display placeholders rather than that actual npcs themselves
Hello, i have a problem with redisbungee and placeholderapi π https://imgur.com/a/YFcDkUk every time the playercount it s on 0
any solution for this?
getting this error when players leave the server https://i.imgur.com/E1rboKT.png
Hello, I would like to know if it is possible to have the information of all the mobs killed?
%statistic_kill_entity:<mob>,<mob2>%
yep but it's not all mobs ?
you need to list all mobs there
to get a total
%statistic_kill_entity:<mob>,<mob2>,<mob3>,<mob4>,<etc>%
hf
Hello,
I try to show the name guild in the chat format with essentials, but it's not workling
fondateur: '{guilds_formatted} &7{DISPLAYNAME} &cΒ» &c{MESSAGE}'
In chat they send "{guilds_formatted}"
@waxen kestrel #spigot-linking please if you want help with the Guilds plugin. thanks
Hello, There is a problem when I put %playerpoints_points%
Its removing all the other lines below
How can I go about fixing this problem?
?
all the other lines below what
And well they are empty whereas when I remove %playerpoints_points% the other lines recover well
With the Kiteboard plugins
@heady falcon
π€ Have you got error message?
Yes
@heady falcon
java.lang.IncompatibleClassChangeError: Expecting non-static method 'org.black_ixx.playerpoints.PlayerPointsAPI org.black_ixx.playerpoints.PlayerPoints.getAPI()'
at com.extendedclip.papi.expansion.playerpoints.PlayerPointsExpansion.getPoints(PlayerPointsExpansion.java:69) ~[?:?]
at com.extendedclip.papi.expansion.playerpoints.PlayerPointsExpansion.onRequest(PlayerPointsExpansion.java:61) ~[?:?]
at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:156) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:69) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:97) ~[?:?]
at net.kitesoftware.board.d.a.a.a(PlaceholderAPI2Hook.java:19) ~[?:?]
at net.kitesoftware.board.d.a.a(PlaceholderManager.java:65) ~[?:?]
at net.kitesoftware.board.c.c.a.a.b(AnimatedComponentWrapper.java:76) ~[?:?]
at net.kitesoftware.board.c.c.<init>(ComponentUpdater.java:27) ~[?:?]
at net.kitesoftware.board.c.b.a(ComponentFactory.java:108) ~[?:?]
at net.kitesoftware.board.c.b.a(ComponentFactory.java:81) ~[?:?]
at net.kitesoftware.board.user.a$1.run(KiteUserImpl.java:68) ~[?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]
Ah ok, this is not KiteBoard error, send to developer of PlayerPointsExpansion- it looks like it needs updating
ah it uses the old placeholderapi i assume
Hey! Can somebody help me?
I want to make a ScoreBoard in Minecraft paper/bukkit, with a essentials economy placeholder. I downloaded Vault, EssentialsX and Papi and installed vault (ecloud). The placeholder %vault_eco_balance% does not work in the scoreboard... As scoreboard I use WorldBoard π
@winged temple what does /papi parse me %vault_eco_balance% show?
That shows my actually money
I have found nothing better yet... But I'll try something else.
okay thanks, I try it out! π
@winged temple I know that this is the world's latest response, but if you ever have issues you can check out titlemanager :P
ive used titlemanager for agess
Oh, this is what I have installed after some other plugins and it's working perfekt! So I had it before but thanks so much again ;)
@winged temple Make sure to have TitleManager 2.3.0 though
2.3.0?
yes
i think i use 2.2.7 or smthing as the others had bugs
However it works, thank u
How do I install placeholder API in Bungeecord?
papi doesnt support bungee
My placeholders in prisonranksX
is broken
and their is no download command tag me if you know what i need to do
Typing the command: /papi ecloud download LuckPerms for example, shows me that it doesn't exist? same with the others I tried, is something wrong? or is it just for me?
I do have a "closed ports" kind of system, unless I manually open 'em, maybe I need to open for downloads to work?
Try papi ecloud download Player Does that one work?
"failed to find an expansion named: Player"
Then yeah, it's probably due to the closed ports
VotingPlugin and few others had trouble with all of my ports being closed, so I just opened the correct ones, but I don't know which ones to open π
it shows that there are 0 expansions available on the ecloud lol
hey
IDK if I'm right here..
How can i create a placeholder name %IDENTIFIER_PLAYERNAME_VALUE%?
Someone told me i can't. But is it true?
Create as in for your own plugin?
Yes
Then yes it's possible
Can you tell me how? :D
Lemme get you the wiki link, sec
Then you split your identifier and check for the proper values
Thank you! I think i got my problem :D
Nah i didn't
I registered PlaceholderAPInew PlaceholderAPIExpansion(this, dataProvider).register();
and for example i used
public String onPlaceholderRequest(Player player, @NotNull String params) {
if (params.equals("test")) {
return "true";
}
}
So why it doesn't work?
u can change the text in placeholderapi config
hey guys
hia
yes i did this sir
can you show me?
{placeholderapi_statistic_hours_played}
also i download the ingame command
what?
i cant send screenshot for some reason here
@near wolf,
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
^
yea
ugh it should have just returned an integer
now only 13
yep it works
ok make sure you have the latest version of FB
and also latest of MVdWPlaceholderAPI
no problem
Hello, can i get player amount without vanished player using PAPI?
I dont have any idea how to get that data
their is currently no placeholder for that at this current time
unless you used a external plugin like PremiumVanish
not from what im aware of
i tried using playerList using perm, but no luck. i can't get it
ah okay then. thank you
Does anyone have an example of a JavaScript placeholder where if the placeholder is empty, it return says...non? I seen an example a few month back, but can't seem to find it again
function main() {
return "%placeholder%" == "" ? "non" : "%placeholder%"
}
main()```
here ya go
Thanks!
Hmm. Doesn't appear to be working
function clanname() {
return "%clantagprovider_clanname%" == "" ? "None" : "%clantagprovider_clanname%"
}
clanname()
/papi parse ShadowChild %clanname% just returns %clanname%
u sure you got the latest version of Javascript?
oh wait
nvm
you're using it wrong
/papi parse me %javascript_JSNAME%
you need to declare it in javascript_placeholders.yml
like this : yaml JSNAME: file: FILENAME.JS
pogger
lagger
ty
Hello... im doing something wrong in Deluxe Menus
i have this
'lobby':
material: BEACON
slot: 22
display_name: 'Lobby'
update: true
lore:
- '&7Online: &a%pinger_players_127.0.0.1:25570%'
and in the game show this
Online: %pinger_players_127.0.0.1:25570%
what I can be doing wrong?
/papi ecloud download pinger
/papi reload
thx you Sellinq is solved
np
@rare lily
and then it gave that error
well thats probably why
...
1.16.4 is barely working with any previous plugins due to the NMS changes
^
I'd recommend going back down to 1.16.3 atm
does PAPI not work with 1.16.4 properly?
how to use boolean IF function in placeholder api?
using the math placeholder, is it possible?
oh
everything seems to work. i am too tired to revert everything back right now, if there's issues then i will revert
it's a private server for only a few people, so it doesn't matter too much
it's only probably putting out that message due to some thing in a plugin i am not using.
its something to do with thiens expansion
how to use boolean IF function in placeholder api?
@thorny nova javascript placeholders most likely. If I got your question right
uhmmm i figured it out it's %math_IF(condition,value_if_true,value_if_false)%
wait what?
my next question is, is it possible to use stiring as value_if_true and value_if_false? Cause i keep getting errors
math has an if condition?
yeah
I'm pretty sure you can't. For this stuff you'll certainly need to use the javascript expansion.
how?
i can return numbers just fine but if I can return string also that would be great
well I mean math = numbers. idk about that.
ok ill wait for someone who's certain
but if you want more advanced stuff, being able to do a lot of things using javascript then this is what you need
interesting, i'll look into it. Tysm
Hmm seems conplicated
What I really want to achieve is for it to return a color code when a placeholder reaches a certain amount for example
%math_IF({money}>1000, &a, &c% {money}
If money if more than 1000 it would return their money with green color and if false it would return it as red.
I mean the javascript would literally be this var money = parseInt("%vault_eco_balance_fixed") if (money > 1000) "&a" else "&c"
tysm it works
you're welcome
does placeholder have any dev builds for 1.16.4 servers ?
tyvm
How to do else if in javascript?
if (something) {
} else if (something else) {
} ```
For example
If (value = 1) "hi"
If (value = 2) "hello"
If (value = 3) "how are you"
Oh ok thanks
or that but for that you're better of using switch
Switch?
switch (value) {
case 1:
"hi"
case 2:
"hello"
case 3:
"how are you"
}```
Value will be place holder right?
ye whatever you want to compare
btw you need to make sure the value is parsed as an integer if you want to compare it with integers
switch (parseInt("%placeholder%")) {
case 1:
"hi"
case 2:
"hello"
case 3:
"how are you"
}```
like this
otherwise use it like this : js switch ("%placeholder%") { case "1": "hi" case "2": "hello" case "3": "how are you" }
Oh ok thanks
uhmmm it seems that it doesn't work
how you using it? may I see
can i dm?
I've closed my DMs I'm afraid. use a pasting service like paste.helpch.at to send the code
hmm and what happens if you do /papi parse me %javascript_switch% ?
how to see?
1.6.0
hmm that's the latest
try doing /papi ecloud download JAVASCRIPT /papi reload
just in case
ok]
also /papi parse me %rankup_money% what does it return?
returns 1000
wait
but you want it to show "getting an upgrade if you have > 1000 or exactly 1000 ?
etc.
hmm
try like this maybe var money = "%rankup_money%" if (money == "1000") "Getting an Upgrade" if (money == "2000") "Sweet Dreams"
just a lot of Ifs
ok thanks again
I found the problem XD and I learn something from this
try like this maybe
var money = "%rankup_money%" if (money == "1000") "Getting an Upgrade" if (money == "2000") "Sweet Dreams"
huh?
= and == is not the same
https://hastebin.com/besekodizo.swift
i should have used(advance == 1)instead of(advance = 1)
anyways thank you so much im learning
=is value assignment and==is comparation
i see XD
works perfectly now
i'll continue using the multiple If's
Again tysm
π
Hey guys, so I was wondering if papi v 2.10.6 is the only version that will work on 1.8.8?
I think latest should work on anything from 1.7-1.16
I have a weird issue with 2.10.7+ where when I try to add new expansions it just doesnβt work, when I add them and I do /papi ecloud list, the list just gets smaller and the reload doesnβt work and I get a null error in console
Show that error
Go to plugins/Papi/expansions and delete the EzRanksPro expansion then restart
@hushed sinew
=version
=ver <plugin/list>
1.8.8
1.12.2
1.13.2
1.14.4
1.15.2
v2.10.6 - Latest
v2.10.6 - Latest
v2.10.6 - Latest
v2.10.6 - Latest
v2.10.6 - Latest
._.
oh this needs updated
yep
updating it rn
k
updated. I think a Trusted needs to update it tho.
How can I upload Placeholders into ecloud as Registration page is locked?
How much does it cost to put your plugin on ecloud?
it's free
Registration is currently locked. If you feel it is necessary to create an account, please join our discord and get in touch with us.
it doesn't mean it's paid
you just have to wait for an admin to come here and allow you to create an account
Okay
For the "Statistic" placeholder (/papi ecloud download Statistic) is it possible to get a players specific value of a statistic? I only see "%statistic_mine_block%" for an example and was wondering if I could do something like "%player_statistic_mine_block%" to get the value of a specific player?
you can use the ParseOther expansion
/papi ecloud download ParseOther
/papi reload
%parseother_{playername}_{statistic_mine_block}%
you need to keep the {}
plugins usually have an option to parse the placeholder as a specific player... but ig that works too
/papi parse <player> %placeholder%
yeah
but if you want to parse it in a text and not just using the command, ParseOther is the way to go
Thank you much! I will test it out π
Okay
@quiet hill I recommend you just make the expansion inside your plugin. Its many times better. But if you rly want it to be external then message FunnyCube about it. He'll help you out.
@quiet hill I recommend you just make the expansion inside your plugin. Its many times better. But if you rly want it to be external then message FunnyCube about it. He'll help you out.
@turbid tide I have already did that and get in console: ```[18:01:00 INFO]: [PlaceholderAPI] Successfully registered expansion: admingui
[18:01:00 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[18:01:00 INFO]: No expansions were registered!
if its inside the plugin then it won't be listed there
Make sure to test the placeholders π
so if it works then it should be fine
it only says it registered them if its an external expansion I'm pretty sure.
okay thanks
I mean if anyone will want to use placeholders it will go to https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders and won't find any placeholders.
well even if you put the expansion to the ecloud
the placeholders won't be posted there
you have to put them there. you can open a PR
anybody can look my code? "xl" requirements not work :/ https://hastebin.com/egixexinov.less
so you can't know which placeholders you can use thru plugin?
for example something like /papi available placeholders
I mean you can list the placeholders on your spigot page if you want
but you can also put the placeholders here https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders yoruself
manually
Blitz can u see my code?
okay thanks
Technik please move to #general-plugins . thanks
okay
Sorry to bother you guys again! But I can't find the statistic for mob kills? Is there a reason for that or? (/papi ecloud download Statistic)
%statistic_entity_killed_by:<mob>,<mob2>%
Isn't there one for just all mobs? π
nope
you have to list them all in this one
%statistic_entity_killed_by:zombie,skeleton,etc.%
like this
Wait!
This placeholder works for everyone else who has the same problem as me %statistic_mob_kills%. I don't know why it is not listed
No worries π Now you do
I'll add it to the wiki
you're 100% sure it works tho?
bcz I can't test it rn
oh yeah seems to be a thing
It works 100%
ye tested it myself. Got someone to help me. and it works
seems like the expansion ultimatestatistics
doesn't have the getAuthor method or something like that
ok thanks ill go talk to the ustats guys about it
Can anyone tell me why this does not work: [%parseother_{%ph_{player_name}%}_{statistic_player_kills}%]
is there a way around that?
well I assume you could probably use javascript.
but I wonder why this %ph_{player_name}% ?
what does ph_player return?
It's for DeathMessagesPrime, so basically the player that dies
So, I have a plugin where I can edit death messages and I want so after the players name it will show how many kills the player has
but what does that placeholder return?
anyways. You can probably do all that with javascript
%parseother_{javascript_player}_{statistic_player_kills}%
and in your player javascript you'll parse the placeholder
So like how would I set it up
so here you can learn how to set up a js placeholder https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
and I'll make the code for you and send it in a minute
function main() {
var player = "%player_name%"
var newPlayer = "%ph_" + player + "%"
return PlaceholderAPI.static.setPlaceholders(BukkitPlayer, newPlayer)
}``` I think this is the code. I'm not 100% sure it will work but it should
wow thanks, will test it out in a bit
Hi, is there any way to use placeholders in command blocks?
Don't think so
anyone can guide me on how to place npc with placeholder so the top player will auto switch npc?
getting this error when players leave the server https://i.imgur.com/E1rboKT.png
seems like the ShieldExpansion doesn't have a getAuthor method
how do I fix it?
you ask the dev of SE to fix it
can command blocks make and modify custom placeholders?
@ me if you're responding
@orchid zenith not possible
Having trouble with my api, keeps disabling my deluxechat and not registering the placeholders, when I remove placeholders and reload the files the same placeholders come up which are deleted and unregistered
think it's my prison core extension, could this be the problem that it could be the cause to breaking all the placeholders?
how to set lower again
in placeholderapi config
bungee:
check_interval: 1
because it's 1 second
I want instantaneous
Needless to say, that isn't going to be possible due to the amount of lag that can cause
On javascript is there anyway to make ```// create a variable and name it wantever you want like this
// and use the placeholder you want, i'm using this one
var haspermission = "%player_has_permission_test%";
// create a function with the name you want
function permission() {
if (haspermission === "True") {
sendCmd "lp user %player% permission set test";
}
}
// by this we are calling the function to run
permission();``` How can I make this make sense on javascript?
Hello, are there any placeholders for Waterfall? (Bungeecords does not work)
Did you try %waterfall_total% ?
Oh I will try, thanks for tip
I can not find any on internet
Can you please send me link?
%bungee_total%
bungeecords placeholders dont work for me
You probabily dont have the expansion on read what they say above #placeholder-api message
make sure you execute the commands the bot specified
Also, Tanguygab can you help me #placeholder-api message
what's the problem?
I am quite sure "sendCmd" is not a variable on js!
Where did that come from?
BukkitServer.dispatchCommand(BukkitPlayer, "cmd")
Where did that come from?
@mint fable My head xD
Ah that makes sense
It was just to explain what I wanted to do
Ic
// and use the placeholder you want, i'm using this one
var haspermission = "%player_has_permission_test%";
// create a function with the name you want
function permission() {
if (haspermission === "True") {
BukkitServer.dispatchCommand(BukkitPlayer, "lp user %player% permission set test");
}
}
// by this we are calling the function to run
permission();``` Is this right now?
should be I guess
Ok, Thank you
Hey I'm having problems downloading the lastest factions placeholder
[15:45:35 ERROR]: [me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] com/massivecraft/factions/RelationParticipator```
No idea why it isn't working
[15:52:40 INFO]: [me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] Placeholder expansion registration initializing...
[15:52:40 INFO]: [me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] Fetching available expansion information...
[15:52:40 INFO]: [me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] Successfully registered expansion: mvdw
[15:52:40 INFO]: [me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] Successfully registered expansion: bungee
[15:52:40 ERROR]: [me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] expansion class MCoreFactionsExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use com/massivecraft/factions/RelationParticipator
[15:52:40 INFO]: [me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] Successfully registered expansion: vault
[15:52:40 INFO]: [me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] Successfully registered expansion: player
[15:52:40 ERROR]: [me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] expansion class MCoreFactionsExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use com/massivecraft/factions/RelationParticipator```
@idle coral or @sharp jay know why?
@abstract linden,
Please respect the rules, be patient and don't ping staff members!
@abstract linden,
Please respect the rules, be patient and don't ping staff members!
Damn man, just handing out the pings
Well no one would respond if I didn't sooooo.....
They would, now that you have pinged noone will
Just like the guy above me right? He totally got a response π
Well we're volunteers here, so either you get a response or you don't, depends if we have time
And that's why I pinged two people not everybody
And as the stack trace says, it's an issue with MCoreFactionsExpansion as it's using a deprecated hook.
So find the author of the expansion and tell him to update his shit
π
the one on spigot works but if you want the beta versions then in #general-plugins
there is a pinned
beta build
hmm is autoranks expansion borked again?
PlaceholderAPI makes problems with my MultiChat Plugin:
What problems?
uhm, wanted to post a screen but i have no permission
and there is a problem with links too >.<
Use Imgur
k wait
so the text transfered from one to another server has one space between the nick and the text
when i disable placeholderapi the space is gone
on the same server the text is normal
but when i go to a diffrent server in bungee the other person gets this space before the message
i need both plugins, but that little space makes me crazy xD
hm
silence?
Then edit your chat plugin(s)
there is no way to get off that space, only with disabling placeholderapi
so when i go to multichat discord they would say "talk to the guys of placeholderapi" >.<
[06:15:40 WARN]: [PlaceholderAPI] plotsquared is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
How do i get plotsquared placeholders
How do i get plotsquared placeholders
@toxic harness https://wiki.intellectualsites.com/en/plotsquared/placeholders
I put the placeholders their
and it still doesnt wokr
I followed that and the placeholders are still dead
even did a restart
π¦
[06:15:40 WARN]: [PlaceholderAPI] plotsquared is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
@toxic harness you using PlaceholderAPI or PlaceholderHook?
and where do you want to place your plotsquared placeholder?
placeholderapi
it goes in tab scoreboard
BuycraftX, ClearLag, CommandSpy*, ConsoleSpamFix, CoreProtect, CustomJoinMessages*, DiscordSRV, Essentials, EssentialsGeoIP, EssentialsProtect, EssentialsSpawn, (WorldEdit)FastAsyncWorldEdit, HolographicDisplays, IllegalStack, IPWhitelist*, LiteBans, LuckPerms, LuckPermsChat, MinigameMaker, Multiverse-Core, NamelessMC*, OpenInv, PlaceholderAPI, Playtimes*, PlotSquared, PluginManager*, PremiumVanish, ProtocolLib, Spartan, SSX-Connector*, SuperbVote, TAB, TigerReports*, TigerReportsSupports*, UltimateStatistics, Vault, ViaBackwards, ViaRewind, ViaVersion, Votifier, WorldGuard
That is the plugin list
tag me if you have a answer thanks
what's the placeholder for the total advancement completed by a player?
maybe statistic expansion
still searching for help π¦
for ?
send your chat format Ikuria
Hello, I'm searching for BedWarsRel placeholder-api expansion, does anybody know if there is a free plugin for bedwars that support placeholderapi or have an expansion? I have a gui for bedwars and i want arena states like (INGAME, STARTING etc.) Please help me...
Or can anyone develop this expansion?
I'm bad at Java development
is there a 1.16.4 placeholder api?
is there a 1.16.4 placeholder api?
@mint tinsel yes sir https://ci.extendedclip.com/job/PlaceholderAPI/
@upbeat yew https://www.spigotmc.org/resources/bedwars1058-the-most-modern-bedwars-plugin-bungee-auto-scale-bungee-legacy-multiarena-shared.50942/ this was the best out there but seems like rn you can only purchase it using BTC and it won't get updates till February 2021.
Its still one of the best out there tho.

