#placeholder-api
1 messages Β· Page 105 of 1
Try to use DeluxeHub3
@austere hawk
i can immediately tell the difference. thanks for the suggestion
@austere hawk No problem !
If you need help with setting up DHub3 dont hesitate to mention me
alright thanks a lot, i'm taking a break rn, i'll set it up later
There is a discord support for DHub3 if you wan't too
?
stop and start server
what was the context again?
when i reload my server, placeholders look like "%player_name%"
ah
where do they show like this?
and do you have the expansion for those placeholders?
where isn't it working?
and is player registered in /papi list on server start?
does /papi parse me %player_name% works?
result -> %player_name%
wut
cab you try to /papi reload and theb try again?
Bungee servers will show as 0 if there's not players on both servers btw
im in server
Plugin messaging requires players to be on the servers unfortunately
Was referring to the person earlier
wuuut
i mean
any errors in console?
what are your server and PlaceholderAPI versions?
e%
[02:51:56 INFO]: therealfenish issued server command: /papi reload
[02:51:56 INFO]: [PlaceholderAPI] Successfully registered expansion: gemseconomy
[02:51:56 INFO]: [PlaceholderAPI] Successfully registered expansion: luckperms
[02:51:56 INFO]: [PlaceholderAPI] Successfully registered expansion: server
[02:51:56 INFO]: [PlaceholderAPI] Successfully registered expansion: skript
[02:51:56 INFO]: [PlaceholderAPI] Successfully registered expansion: statistic
wait
there is no player
there is player
Stop your server
and i'll check my version
Delete the folder
And restart
Download all expansions
And say us if its working
Papi = 2.10.6
server = 1.15.2
Try to download player at first
what if you try to redownload the player expansion?
and then /papi reload
does it show in console?
Its a weird issue π
I have no idea
Very weird
i'll try V. 's suggestion
it can't work
owhhhhh why
as it's on restart that the expansions don't work anymite
so even if you dowbload them, you will stop and start again the server zfter
and by the way
@magic pivot Try, you can't know if you don't try
my server is bungee
and it won't work again
my server is bungee
doesn't really matter as PAPI is a spigot plugin
?
i code a plugin that get's data from api
and i overrided to the "player"
i mean
player_myapiresult
is this makes any problem ?
idk, I didn't really understand x)
because other placeholders are working great
try without, and if it works correctly then it's the problem
i'll try to change my code's placeholder
@magic pivot Yes try without
Bungee servers will show as 0 if there's not players on both servers btw
so if only factions has players but survival doesn't, they will both show as 0?
Guys i need HELP
is there anyway to have a kill counter for a hologram through papi ? i need to make it through the display name
Is there a hologram system that supports papi? If so thats simple... Or just use a scoreboard
yes there is
You can use HolographicDisplays and HolographicExtension in order to display papi placeholders through Holograms
yes
Should be compatible with Holograms too
Try LeaderHeads
it doesnt work with the rank color
/ the display name
i need just that part
understand
what i mean
?
lol
Its not showing color codes ?
Have you tried json format?
shows me as
Do you have screen ?
You wan't to display prefix tag ?
Can you explain a bit clearly ?
Ok ok
Or go DM and send some screenshots if you want too
With clickable ?
@austere hawk i don't need it to be clickable
I just want it
To display
No no no
In a top kill hologram ?
Yes
And you try with LeaderHeads ands its returning a white name ?
I think its not possible if you don't set a manual color code
But LeaderHeads need to Hook into
In order to display color codes according to ranks
I've seen a lot of plugin
And none of them have the feature you ask
I think its not impossible btw
@final shadow any idea lol
@jade flume,
Please respect the rules, be patient and don't ping staff members!
π
Yup.
that plugin is using papi
Okay, and?
[19:48:36 ERROR]: [PlaceholderAPI] ThePit is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [MrDarkness462] and urge them to update it ASAP.
[19:48:38 INFO]: UUID of player iiAhmedYT is 427110da-51ab-4032-8672-6faf50872543
can i have a working version for it
please?
You'll have to contact the author of the plugin and tell him to update it.
He's had almost 2 years now to update it.
There's nothing we can do about that.
You're more than welcome to use an old version... But,
- Most likely won't work since we had to rewrite how expansions were loaded, so you'll have to disable the expansion cloud
- Most of your other expansions will probably break
- You won't get any support for anything PAPI related
If you want to take those risks, go ahead.
Breaking all other papi things for 1 plugin doesn't sound worth it. Yell at the author until he updates his crap.
will the vault expansion work?
ijust need it
i don't need others
lol
the plugin has it's own server
so it doesn't matter
Is there a way to get more placeholders for EssentialsX?
most likely if the user is ignoring messages
i am ignoring someone but the placeholder returns "no"
i'm not sure the specifics of that placeholder
hm
Well then you're not ignoring messages
@primal yew If I remember correctly this placeholder return a Boolean
Yes/no
But essentials placeholders are confused
How-so?
But you can't turn on/off ignoring ?
You can only ignore a player no ?
So that's why I say its weird
/ignore?
I've never use
I will do some research
I didn't found any toggle ignore feature command on the wiki
Maybe this placeholder return the name of the ignored players ?
We will have to test
No
It's a command
Like I said
/msgtoggle
Turns on and off the ability to receive messages
And that's what the placeholder returns
%essentials_msg_ignore% return on/off toggling ?
Yes
Oh
Its weird
As I said its confused
It should be %essentials_msg_is_toggled%
Yes/no
Then PR it
PR ?
If there is a lot of request why not
Go for it, it's open source.
Well you're more than welcome to change it
Its added to my to-do list π
Doesnβt disturb me so do it
Does I disturb you ? π§
No
Ahh I've understand
Doesnβt I disturb you
Fix it
So why shouldn't godmode be is_godmode?
Waffle ?
No that's not a placeholder
Why shouldnβt waffle king be is_waffleking
Not yet, at least.
The only thing I find odd is that it says "ignore" when we talk about activating or deactivating the /msg
That's all π
But the others sounds good
But however I don't know if a lot of people use these Placeholders
π₯Ί
YES
I turned it off.
Imagine if people were placeholders
YES
"is_Waffle_loving_waffles" ?
π
So that returns false and 0
Best
How would I make something like this: ```js
if ("%placeholder%"=="%placeholder%")
return something;
but I want one of those to be just text
I have the placeholder %voteparty_top__monthly_name_2% but if there haven't been 2 players on my server yet they return the placeholder back
and I want to check if either they return a name or just the palceholder
and I don't know how I would do that
:/
var placeholder = "%voteparty_top_monthly_name_2%";
function getValue() {
return placeholder === "%voteparty_top_monthly_2%" ? "Your text" : placeholder;
}
getValue();
it doesn't work
Try removing %%
because the placeholders are parsed in both places
is there something like similar
just check the text to be simillar
I mean if it get's parsed, you can just remove the %% in the check and it should work
yeah but what if it doesn't?
Try it
k. will do
Just updated Luckperms for another plugin & most placeholders seem to have broken after doing it. Typing /papi reload gives this error: https://paste.helpch.at/zeqekujara.md and I'm not sure what the problem is.
@analog crypt,
This error occurs when there is a mismatch in versions between the expansion and luckperms itself,
Make sure you have the very latest LuckPerms and the latest LuckPerms Expansion
Once installed restart your server.
do as the bot suggested
Is the expansion required? Far as i know I've never used it
hmm I don't actually no
but it is easy to install
/papi reload```
just do these commands on your server
in the future it might be useful π
I'll try it now
kaliber coming here trying to get some of that multiplier xD
Seems to of fixed it - Thanks!
i sure do love errors
i have no idea what it means
var placeholder = "%voteparty_top_monthly_name_2%";
function getValue() {
return placeholder == "voteparty_top_monthly_2" ? "Your text" : placeholder;
}
getValue();``` this is the placeholder
Why the heck would that be throwing an out of bounds 
What?
Well I mean what does the 2 return exactly?
You sure it's that js that's throwing this error?
no it is not
that's what I am saying
I need to wait for waffle to get his pc
but anyways just tried your placeholder
your js placeholder*
Oh that's VP throwing that
with another placeholder
that preaks
breaks*
and it doesn't work
var placeholder = "%tempfly_time-formatted%";
function getValue() {
return placeholder == "tempfly_time-formatted" ? "Your text" : placeholder;
}
getValue();```
Are you sure it returns tempfly_time-formatted ?
aint it meant to be _
yeah it is
because the placeholder is returned if placeholder != "tempfly ..."
wiat
wait*
couldn't I use includes() ?
let me try that
or do methods not work in papy?
I've actually no idea
var placeholder = "%voteparty_top_monthly_name_2%";
function getValue() {
var n = placeholder.includes("voteparty_top_monthly_2");
return n == "true" ? "Your text" : placeholder;
}
getValue();```
so what did I do wrong this time?
it gives me a script error
What in the
well I get the string placeholder and check if it has voteparty_top_monthly_2 in it
if it doesn't then I return the palceholder because it means it has something else like a name
but if it does I return my text
because it means that it doesn't work
javax.script.ScriptException: TypeError: placeholder.includes is not a function in <eval> at line number 1
does that means that includes is not a thing?
var placeholder = "%voteparty_top_monthly_name_2%";
function getTextValue() {
return placeholder.indexOf("voteparty_top_monthly_name") === -1 ? "Your Text" : placeholder;
}
getTextValue();
Try that
nope now it only returns your text
even if I try with top 2
top 1*
which should return my username
but I don't get a script error
anymor
e
I updated it
now it returns just the placeholder as a string
even if I do 1 or 2
so looks like includes() is not a thing in papi
because tried your thing but with includes and again script error
also endsWith() is not a thing either π¦
so I guess I can't do it
I know how you could do it (I think)
I am opened to suggestions xD
var placeholder = "%voteparty_top_monthly_name_2%";
function getTextValue() {
return placeholder == ("%voteparty_top_monthly_name_2" + "%") ? "Your Text" : placeholder;
}
getTextValue();
try that
nope doesn't work
just returns placeholder
I think i've tried this before but thanks for trying tho
=/
thanks anyways
Still confused why the indexOf wouldn't work
Good going blitz
blame Waffle boi
Fuck you blame blitz
do they break on /papi reload? or what?
idk how they could have broke ...
I'm restarting the server
nope
restart didn't fix it :))))
what have I done ? xD
Reinstall voteparty
Good going blitz
With a fresh download
Everyone make fun of blitz
will do!
haha bad
I wanna make fun of you, but it involves calling you a nerd, and I don't wanna be rude
I broke the voteparty config..... there was an o at the start of the file
and it just broke the yaml
That would make sense
yeah
would make sense ...
If only I would have tried the placeholder sooner
to see it doesn't work at all
xD
Everyone make fun of blitz
but he's a good guy ;-;
abuse
now let's see if the indexof thing works
if only it wouldn't take 2 minutes to restart the server
that is why I didn't get the errors
...
now I get the errors again
from voteparty
L
well I have another plugin
that breaks when I do /papi reload
and I want to see if it would work with that one
the palceholders from that plugin break π
Gotta say, way to go Blitz
yeah
Server logs are a great thing
Stacktraces are most times dodoo, saying a potiontype doesn't exist when it's legit on the 1.8 javadocs eeee
so far the one that frosty made works
I just need to test it when the placeholder actually works
π
Hi. What I'm doing wrong?
%animations_shine?start=&9,middle=&4,end=&9,normal=&7_Test%
what does it show ?
download the expansion if u havent already
Valid Types:
Blink
Fadein
Fadeout
Glow
Left
Pause
Pulse
Rainbow
Wave
Right
Scroll
Typewriter
Healthbar
where did you see shine ?
doesn't seem to be supported by the Animations expansion
or else, it may hasn't been updated
try another type and see if it works
Another types works
@heady falcon ideas?
Example of working type: %animations_pulse?color=multi,pause=1_Test%
So, maybe it doesn't supported on 1.12.2?
I think it's just that the expansion hasn't been updated
I was download it today
because actually, it's the documentation for kiteboard, not the animations expansion, they both share some animations, but the Animations Expansion doesn't support them all
I was download it today
the expansion itself hasn't been updated to support those types, not the one you downloaded
Thanks β€οΈ
I will update whole expansion at somepoint
Little expansion for those of you that use cloudnet https://github.com/ShadowChi1d/CloudNet-PlaceholderAPI
I cannot use papi with Bungee, does it support bungee?
@marble glade You mean to put the plugin on proxy plugins folder ?
Yes @austere hawk
No you can't if I'm right
Okay
You need to add the plugin to all your servers
Β―\_(γ)_/Β―
DeluxeMenus question. Is it possible to have a player be required to right click an item in their inventory to open a gui (or atleast give the option to)?
right click an item in THEIR inventory??
Yea.. Idk I had someone come to me asking for it and I don't think its possible right?
no
Alright ty for confirming
ya... very confused about that O.o
hey whats the placeholder to target a player like if i wanted to do a command saying {myusername} just slapped {player2} what would that placeholder look like
Just throw it in the plugins folder
oh alright
cuz i was reading https://www.spigotmc.org/resources/placeholderapi.6245/update?update=78484 xd
I reloaded, and tried to fill in essentialsX with {vault_prefix} and nothing happens
%player_name%
oh ok
Where are you using that? In ess chat?
yeah
ok so it doesn't work
just removes the whole chat-format
this is essentialsXchat:
format: '%player_name%{PREFIX}{DISPLAYNAME}&r {SUFFIX}&8 :: &r{MESSAGE}'
im just testing it so im using player_name as a placeholder
nvm got it working, turns out player_name isnt a placeholder for me lmao
thanks Frosty!
Guys is it possible to showa math extension placeholder on a hologram
I tried it with 8uok and didn't work at all
Does parsing it return the proper value?
It just gives the same placeholder ex: %player%
Turns into %player% in game
%player_name%
But the question wasn't answered ^
/papi parse me <placeholder>
what does it return?
okay so it's somewhere within the holographic extension and the holograms
send startup log
?startuplog
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.
No errors in the log
So you don't want to send it
which hologram plugin are you using?
and which version
also which version of holographic extension
and did you install protocollib?
(All of these would be answered by the log)
@jade flume
@jade flume,
Please respect the rules, be patient and don't ping staff members!
Does anyone know where the pinger expansion pings from. I have a firewall and don't know what to whitelist.
Hi
I want use this placeholder : %bungee_creatif%
But does not work
How i can enable this placeholder plz ?
It's very urgent
I'm with sponge
this PlaceholderAPI doesn't support Sponge
Β―\_(γ)_/Β―
@junior musk it's a no ?
Fuck :c
Hi, I am having an issue where some of my api's are working but some are not. I have completely updated papi and all of our extensions however it's still not working correctly. I can pm a screenshot to show what's going on.
I am just at a complete loss as to what's going on
It just happened out of nowhere (no changes to plugins)
=paste
Please use a paste service to share configs, errors, code and long logs.
β’ HelpChat Paste
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
Provide details ^
Hopefully gyazo is allowed haha - but you can see in this image that some placeholders are working while others arent
https://gyazo.com/0c22a0062ceb5206c121a945a8b45708
and you are sure that you have the DeluxeTags expansion? /papi ecloud download DeluxeTags /papi reload
also try using /papi parse me %deluxetags_tag% and see what it returns
Just done that:
https://paste.helpch.at/yinumomeme.apache
I have no idea what that error means but as you can see they are not saved
try manually downloading
them
from here https://api.extendedclip.com/all/
I see in the error about the xpboost hmmm, ill try delete that
you need to add them to plugins/PlaceholderAPI/expansions I think thats where they need to be
Does anyone know where the pinger expansion pings from. I have a firewall and don't know what to whitelist.
also make sure they are not in there already
delete them if they are already in there
and add them manually
then do /papi reload
And if i download in this link https://api.extendedclip.com/all/ a,nd i drop in my files for plugin with spong, he can work ?
I have no idea Nebulus
Okay, it has been fixed - it turns out the api that we tried to add just full on killed other apis hahahaha, lesson learned
Thanks guys π
I'm using StaffChat (1.7 - 1.14) (Universal) in my Bungee server. I'm tryna use placeholders that are in PlaceholderAPI - How can I use placeholderapi placeholders in Bungee? Or is it not possible to use PlaceholderAPI in bungee messages?
PlaceholderAPI doesn't support Bungee. You will need to have placeholderApi on all your servers and also the expansions
idk for sure that will work tho
I am using the plugin in the proxy server and not in the spiggot server, all servers have placeholder in them with the necessary placeholders
I know TAB has a way of using individual servers running papi to forward it to bungee, so you might be able to recommend that feature to the StaffChat plugin author
It hasn't been updated in a year but I'll give it a shot, ty anyways!
Hey, i want to use CheckItem ( https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#checkitem ) in a Placeholder, but i dont understand how to use namecontains or lorecontains.
I got an Item called Darkphone with the same name in the lore. When i trie to check namecontains:Darkphone it returns false.
Everything else like the custommodeldata or mat works fine.
Someone here who knows what to do to get it workπ ?
%checkitem_mat:stone,amt:1,lorecontains:Darkphone,namecontains:Darkphone%
@turbid tide Sadly the Output is no -- (i cant send screenshots here).
I gave the Item to me( /give @p stone{display:{Name:"[{"text":"Darkphone"}]",Lore:["[{"text":"Darkphone"}]"]}} 1 ) and tried /papi parse JaHollYT %checkitem_mat:stone,amt:1,lorecontains:Darkphone,namecontains:Darkphone%
Without the Names /papi parse JaHollYT %checkitem_mat:stone,amt:1% its working and a yes is the output
weird
ou can trie yourself with the commands^^
you have to use minecraft:stone insted of stone π ( works for me )
So someone else with a solution or sould i open a github issue?
hey guys, is there an ecloud expansion for file management? (pardon me if this is the wrong channel, please redirect me if so)
Wdym by that?
Like an expansion for editing files, creating files and whatnot?
I don't think there is
Ah, thanks for the help though!
none of my placeholders are working
does nayone know how to fix it?
i understand that but when i do /papi reload it has a error
Please use a paste service to share configs, errors, code and long logs.
β’ HelpChat Paste
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
yes
You might have the wrong version of the expansion
I'm fairly sure if you're on v5, it's built in now.
on plugin page
i downloaded the newest verison of plotsquardes placeholders
For v4 or v5
I can't see the page cause I'm not logged in right now
the wiki no longer exists
But I can confirm on v5 it's inlined.
ohh they moved it
Let me go yell at city
Can you screenshot the plugin page?
so uninstall the expansion @narrow cloak
the plotsquared one?
And that's on the v5 page
Included PAPI placeholders from the expansion into the plugin
or Integrated into plugin somehow maybe π€·ββοΈ
ye v5
kk ty
Okie I yelled at them
π
Hello, does anybody know if there is a placeholder that returns if the server is Online, Offline or Whitelisted. Like %pinger_isonline_testplugins.com:25565% but it only returns Online/Offline. Is there one that checks if the server ip is whitelisted or not? So I can create a ph that combines all three
@stiff hull Hi ! I have actually checked Pinger expansion and I think that a placeholder that combines these three things does not exist.
%pinger_gameversion_testplugins.com:25565% %pinger_version_testplugins.com:25565% %pinger_online_testplugins.com:25565% %pinger_isonline_testplugins.com:25565% %pinger_max_testplugins.com:25565% %pinger_players_testplugins.com:25565% %pinger_motd_testplugins.com:25565% %pinger_pingversion_testplugins.com:25565%
Here is all available placeholders
BUT
There is %server_has_whitelist%
Maybe its something you want ? Let me know π
Hey supp, tytyt. The thing with %server_has_whitelist% is that it checks the whitelist status on the server the player is currently on. I have a server gui menu for my network so I would need to give an ip like I do with Pinger to check the whitelist status on a server in specific. u.u
imagine a ParseOtherServer expansion π€
@stiff hull Test and you will see π
but it can't work x)
he wants to detect if the other server has a whitelist
while this placeholer is only for the current server you are on
it can, if someone creates an expansion that allows to share datas between servers
idk how this could work
or if it's actually even possible x) but maybe
maybe it's possible with CIFYHolders
Tang, I'm disguisted
what ? idk how it could be possible, I'm just suggesting things x)
π
So im trying to get luck perms working but there are some roles that show up and some that dont any idea of what the issue is?
i was told to say lp user info works
so the roles exist but when you parse them some don't work?
are you sure you've set the weights and priorities correctly?
thats basicly whats going on there
but luck perms directed me over here for support as they thinking its deluxechat i guess
if you are using deluxechat I will have to ask you to go to #spigot-linking and follow the instructions there
first
You are using Holographic Displays ?
papi works, you need hdextension tho
Yes
if yes, then you need ProtocolLib and Holographic Extension
oh
hey, i have a problem with papi on bungee. It's not showing the luckperms prefix and the vault balance.
it worked on my normal spigot server, but when i changed to bungee it stopped working.
im using deluxehub.
/papi ecloud download luckperns
/papi reload```
papi isn't for bungee..
Not just that, it shouldn't be installed on bungee at all
papi v3 on the other hand π
Soonβ’οΈ
apparently β’οΈ
Its installed on the spigot server connected to the bungeecord proxy
you need to install palceholderapi on all your servers but not on bungee
and install the expansions on all your servers where you have placeholderapi
hello i got an issue i cant load up statistics
https://i.imgur.com/vHnfXR1.png
have u downloaded the statistics expansion?
/papi reload```
my bad, remove the s from the end, so papi ecloud download statistic
%math_{statistic_kill_entity:BLAZE}+{statistic_kill_entity:CAVE_SPIDER}+{statistic_kill_entity:CREEPER}+{statistic_kill_entity:DROWNED}+{statistic_kill_entity:ELDER_GUARDIAN}+{statistic_kill_entity:ENDER_DRAGON}+{statistic_kill_entity:ILLUSIONER}+{statistic_kill_entity:MAGMA_CUBE}+{statistic_kill_entity:PHANTOM}+{statistic_kill_entity:PIG_ZOMBIE}+{statistic_kill_entity:PILLAGER}+{statistic_kill_entity:POLAR_BEAR}+{statistic_kill_entity:RAVAGER}+{statistic_kill_entity:SHULKER}+{statistic_kill_entity:SILVERFISH}+{statistic_kill_entity:SKELETON}+{statistic_kill_entity:SLIME}+{statistic_kill_entity:SPIDER}+{statistic_kill_entity:STRAY}+{statistic_kill_entity:VEX}+{statistic_kill_entity:VINDICATOR}+{statistic_kill_entity:WITCH}+{statistic_kill_entity:WITHER}+{statistic_kill_entity:WITHER_SKELETON}+{statistic_kill_entity:ZOMBIE}+{statistic_kill_entity:ZOMBIE_VILLAGER}[precision:0]%
do you know what place holder type is that ?
Holy crap that's a long placeholder LOL
i made lol
yeah is there not one that just adds them together already
oof
or js
what does /papi parse me %statistic_kill_entity:BLAZE% return?
not found
Agam, mind checking #bot-commands rlq
@turbid tide
@austere hawk do /papi ecloud download Math and /papi reload
so math doesn't save
ok then
go here: https://api.extendedclip.com/all/
and manually download
the math expansion
then go to plugins/PlaceholderAPi/expansions
can you check your console after /papi reload ?
and add it there
and then do /papi reload
also check the console as Tanguy says for errors or something
where i need to drag it to ?
plugins/PlaceholderAPi/expansions
make sure there isn't another
Math expansion already there
[21:24:56] [Server thread/INFO]: [PlaceholderAPI] Attempting download of expansion: Math by user: X_gamer_x5 from url: http://api.extendedclip.com/media/Expansion-Math-1.0.7.jar
[21:24:56] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...
[21:24:56] [Craft Scheduler Thread - 20/INFO]: [PlaceholderAPI] Download of expansion: Math complete!
[21:24:56] [Craft Scheduler Thread - 16/INFO]: [PlaceholderAPI] 173 placeholder expansions are available on the cloud.
[21:25:01] [Server thread/INFO]: X_gamer_x5 issued server command: /papi reload
[21:25:01] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: player
[21:25:01] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: server
[21:25:01] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: statistic
[21:25:01] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: vault
[21:29:18] [Server thread/INFO]: X_gamer_x5 issued server command: /papi list
[21:31:31] [Server thread/INFO]: X_gamer_x5 issued server command: /papi reload
[21:31:31] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: player
[21:31:31] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: server
[21:31:31] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: statistic
[21:31:31] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: vault```
@junior musk
π
delete it then
and add the new one
and do /papi reload
or a server restart
it's better
but do /papi reload as well
not just the restart
no problem mate
also maybe you would want to learn a bit of js so you don't have all that mess in your config
all you have to do is: js var kills= "%statistic_kill_entity:BLAZE%"+"%statistic_kill_entity:CAVE_SPIDER%"+"%statistic_kill_entity:CREEPER%"; function mobKills() { return kills; } mobKills();
i have discord theme
meaining ?
you will need to learn how to use the javascript placeholder first. I'll send a link but yeah it will be something like %javascript_mobkills% and instead of mobkills you can name it anything you want
no
o ?
It's all done in plugins/PlaceholderAPI
so you can read here
and learn how to use it
all you have to do is:
js var kills= "%statistic_kill_entity:BLAZE%"+"%statistic_kill_entity:CAVE_SPIDER%"+"%statistic_kill_entity:CREEPER%"; function mobKills() { return kills; } mobKills();
but in this case what will the placeholder look like ?
well that will go inside a file
and all you have to do in your scoreboard is %javascript_mobkills% or something simillar to that
as I said mobkills is the file name
so if you name your file a
it would be %javascript_a%
Thats not gonna work
confused lol
wait what?
plus I think you can do that using statistic expansion itself
Well I couldn't find anything about this
idk lol
try kill_entity:MOB,MOB,MOB
You have to parse the values as numbers before add them together @turbid tide
oh didn't know that
Otherwise the output will be NumberNumberNumber
it's good to know then
see ya
@turbid tide and thanks
anyone know how to get date formats to work in holographicdisplay for the countdown papi placeholder
i am using protocollib, papi, holographicdisplays, holographicextension, etc.
all other placeholders seem to work
Any idea what the cause of that holographic extension bug is?
Is it triggered by specific characters?
no
timers
are not working
if you use %server_time% or%local_time% or anything like that it will break
I've already reported this and the dev is aware
That's weird. Don't they just use the standard PlaceholderAPI.replacePlaceholders function on whatever placeholders they get?
Just curious
I have no idea
I assume that if it would have been as simple as that HD's developer would have added it himself. but not sure tho
%player%
How can i get the nearest Player in a Placeholder? So how to use @p ?
%parseother_{@p}_{tab_customtabname}%
I don't think that's possible
But i need this
well it's not possible Β―_(γ)_/Β―
you can always make a #705633781070954517 or #705633782811590666 to ask someone to make you an expansion that adds a placeholder to get the nearest player
im looking for placeholder can check nbt tag . ex : %checknbt_has_test% will return yes if i have item have nbt tag test in hand
yea checkitem expansion don't have
it has data and custommodeldata but doesn't seem to have nbt
maybe suggest it here https://github.com/PlaceholderAPI/CheckItem-Expansion/issues
okey thanks
hey, i have a problem. Before i installed vault expansion, vault didnt work, but i had 19 plugins that hook to papi, once i installed it, for some reason now its only 13, why did this happen?
you maybe have some plugins that hooks directly into PlaceholderAPI but they don't make their expansion persist on /papi reload
if you restart, they will likely work again
yeah, you were right, thank you. Battlepass placeholder still doesnt work tho
what placeholders are you trying to use ?
Is there any plugin that has placeholders for leaderboards?
as in top kills
And top deaths
And kdr
Ping if you know.
No need to ask in 3 different channels.
How can i use papi in skript 1.15.2?
No.
How would I setup my placeholder for nicknames in DeluxeChat? When I nickname myself it doesn't change.
for DeluxeChat support I would have to ask you to go to #spigot-linking and follow the instructions @austere hawk
Done I think
I will in there
So currently I am setting up a GUI plugin and I want the items lore to contain a placeholder value from that plugin, how do I get that value to appear on there. On the wiki it only talks about events, and this is not an event. What should I do.
This is the current lines of code in my custom plugin affected by this.
https://pastebin.com/Fe3nFA3J
The current plugin I am using for outpost is OutpostX and they don't have a GUI, so that's why I am making one.
you might want to ask in #development
ok
is there a placeholder for online player count with a specific group (so like online admin count)?
%listplayers_with_perm_<permission>%
%listplayers_in_world_<worldname>%``` It won't give you a count but rather a list
you will have to do ```
/papi ecloud download ListPlayers
/papi reload````
you will have to use javascript to do the counting
is there a way to set a name for __global__ when using %worldguard_region_name_capitalized%?
which version of Statistic should I download for version 1.8.8?
T
how do I check placeholders list (not on ecloud) ?
Hi, I use PermissionsEx on my server, and wondering how I can display my rank?
I've done the following:
2:
interval: 80
liner:
- '&9Rank;'
3:
interval: 80
liner:
- '%vault_rank%'
4:
interval: 80
liner:
- ''
5:
interval: 80
liner:
- '&9Player;'
6:
interval: 5
liner:
- '%player_name%'
Is there any way for the rank to show in the colour that it's supposed to? Other than the rank name like Guest_Default and should be like &eGuest?
Thanks
Any help would be greatly appreciated where possible
which version of Statistic should I download for version 1.8.8?
@leaden field the one in the pinned messages of this channel
how do I check placeholders list (not on ecloud) ?
@cursive fern there's a list on PAPI's GitHub, if you can't find your plugin's placeholders there, try to search on your plugin's wiki if it has one
Caistor, does your rank has color inside its name or just in its prefix?
if it's just in its prefix, then use %vault_rankprefix% instead
I'm making a custom one and it seems that placeholders arn't recognized :/
you're coding your own expansion?
then you might want to ask for help in #development
Caistor, does your rank has color inside its name or just in its prefix?
@junior musk Erm.. I mean it's showing the name for the rank itself and not what it's supposed to show.
if it's just in its prefix, then use %vault_rankprefix% instead
@junior musk I also use this, but it shows a number...
I think I didn't understand what you wanted in the first place x)
Basically, when I use %vault_rank% it comes up as Guest_Default instead of &eGuest
It's not showing the rank colour
And when I use %vault_rankprefix% it gives me a number :/
your rank is probably called Guest_Default in the config then
It is. But for the prefix it's Guest
then %vault_rankprefix% or %vault_prefix% should work
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
Oh, Ok.. I'll do that
or send them in direct messages if it's easier
any idea on why grief preventions placeholders wont load: https://pastebin.com/H6bN7Gth
Any idea why redisbungeecord playercounts arnt working?
anyone able to help us?
any idea on why grief preventions placeholders wont load: https://pastebin.com/H6bN7Gth
@narrow cloak Featherboard uses MVDWPlaceholderAPI, not PlaceholderAPI
Any idea why redisbungeecord playercounts arnt working?
@fathom urchin I think the expansion is broken if I remember correctly
Are there any work arounds other than using the MVDW_ placeholder
Β―_(γ)_/Β―
i know it uses that plugin but there is a way to use placeholder api in it
{placeholderapi_<placeholder>}
yeah
what does it show?
im useing {griefprevention_currentclaim_ownername} and nothing shows up
any ideas? lol
try to do /papi ecloud download GriefPrevention
/papi reload
and use {placeholderapi_griefprevention_currentclaim_ownername} in your scoreboard
ive tried downloading it but i got a error
sorry,my phone was crashing becayse of MVDWPlaceholderAPI's wiki lol
can you show that error ?
I mean, the actual error in the console x)
o ok