#placeholder-api
1 messages ยท Page 110 of 1
No clue honestly, pinger placeholders sometimes work and sometimes don't
ill just add the text "online"
hi bro
Hey guys, one of my animations placeholder stopped working out of nowhere
a%animations_<wave colors=&a,&8>โบ</wave>%
it stopped working in /papi parse too?
im gonna try that now
im restarting the whole server
it gives me an output with the text
but its not changing colors
and if you spam it?
%animations_<shine start=&f middle=&e end=&6 normal=&f>{murdermystery_friday:state_pretty}</shine>%
also stopped working
it changes colors if I spam it
yes
hmm, not sure then
Hello! So I wanted to change the display format of the TimeUtil of PlaceholderAPI, since famous plugins such as LuckPerms is using it for their expiration placeholders, and this would require to be changing the timeutil I guess.
I've came once talking about this xD. And I dont want to change something of how the TimeUtil works, only how it displays on the placeholder (colors, lang, etc)
actually, you coule also probably simply make a javascript placeholder to chabge the format I guess
Hello stranger
Yup, it could be a way, tho I wanted to know if it was possible to make it in a more general way
I have no idea, maybe there's a way to change tge format directly in PAPI's config, but else I don't knowrwq how it could be done
lol, I tried asking on github to lucko and got sent right into here xD https://github.com/lucko/LuckPerms/issues/2395#event-3464897534
I was suggesting some nicky stuff for LP
Got bad news ๐
=/
for some reason parsing a negative parameter in the equation "ยณโx" doesnt work for the maths placeholder...
(using x^(1/3) for it, where x is the placeholder)
x = -8 should return -2, but returns NaN/inf instead
%animations_<shine start=&f middle=&e end=&6 normal=&f>{murdermystery_friday:state_pretty}</shine>%
also stopped working
@cunning elk Hi
Has it stopped working since the update (v1.0.5) or just randomly
how to make region specific placeholders?
How do I check when an expansion was updated?
A resource that allows information from your favorite plugins be shown practically anywhere!
โข Spigot
โข Wiki
โข Placeholder-List
โข GitHub
โข eCloud
Is the papi animations expansion open source?
@heady falcon
imgur?
@crimson island do /papi ecloud download LuckPerms and then /papi reload
can someone help me with region specific placeholders
I am trying to make it so my quest only shows up on my scoreboard when I am in a specific world gaurd region...
Has it stopped working since the update (v1.0.5) or just randomly
@heady falcon hey Niall
Sorry for the long time to reply
I canโt tell you... I just started using your animations today
They were working at first but they stopped out of nowhere when I switched the character inside the text from one type of arrow to another
Even undoing the change, saving, reloading and even restarting didnโt make the animations resume
can someone help me with region specific placeholders
I am trying to make it so my quest only shows up on my scoreboard when I am in a specific world guard region...
can someone help me with region specific placeholders
I am trying to make it so my quest only shows up on my scoreboard when I am in a specific world guard region...
@wintry vigil i think youโd have to create a JavaScript with a check
That had multiple returns for each different region
But idk tbh, just an idea
what is the cloud download for gadgets menu when i go /papi ecloud download gadgetsmenu it dosent work
can u link this gadgets plugin please?
I'm looking for a placeholder for nickname/playername, but can't find one
I tried that, though it doesn't suit what I need
by the looks of it, the placeholders are built in so u dont need a download command
what is ur need isGhost?
ok
%essentials_nickname% retains the color of the nickname, and I need a placeholder that doesn't retain the color
I don't think that is possible, you can try JavaScript I guess. I might be wrong tho
there isnt a placeholder for that afaik
๐ฆ
Hi I'm creating a script for placeholderapi that show all the player group prefixes.
var ranks = '%vault_ranks%';
function functionName() {
var groupsList = [];
if (ranks !== null) {
for (var i = 0; i < ranks.length; i++) {
var group = ranks.split(', ')[i];
if (group !== undefined) {
groupsList.push('%vault_rankprefix_' + group + '%');
groupsList.push(group);
}
}
return groupsList.join(' ');
} else {
return ranks;
}
}
functionName();
but when I turn them into prefixes this happen
I have no knowledge with javascript.
Hello guys! How I can change time format? (d, h, m, s)
Example LuckPerms:
Input: /papi parse me %luckperms_group_expiry_time_plus%
Output: 9d 21h 34m 37s
Is the papi animations expansion open source?
@flat quartz Not currently
Even undoing the change, saving, reloading and even restarting didnโt make the animations resume
@cunning elk Usually something will come up in console
Or the animation will return a message with the error
What's the correct placeholder for %player% variable in announcements?
%player_name%
at least, that's for PlaceholderAPI and any plugins that supports it
before using the placeholder, you need to download its Expansion, in this case, it's Player
so /papi ecloud download Player
then you reload PlaceholderAPI
/papi reload
Im trying to find a placeholder that gives all players within certain distance when a mob dies an item
@cunning elk Usually something will come up in console
@heady falcon console was clear and the animation returned the text with no error
Can you send the placeholder you were using? @cunning elk
Im trying to find a placeholder that gives all players within certain distance when a mob dies an item
@modern drift why would such placeholder exist?
your best call would be a plugin
๐ฒ
your best call would be a plugin
@vivid sparrow Creating a boss and wanting players to be rewarded for fighting it. Ive got the command figured out just not a way to call the player name so they can receive it
@modern drift,
Please respect the rules, be patient and don't ping staff members!
It states that registration is currently locked for the eCloud, I need an account due to the fact I took over another plugin and would need the expansion(s) transferred to my eCloud account (which doesn't exist yet).
Anyone that manages the eCloud, let me know if I can do this.
when an admin sees it theyll be able to do it, whats the expansion?
XLTournaments
CC: @balmy marten
Can you handle this before you go to bed? If not I can in a few hours.
Have fun
Sent DM.
The problem with papi and deluxemenud
Is that you cant put a placelolder that return a number in the data
Did that get fixed?
I think you ll have to try and see. A lot of updates regarding placeholders have been made in DeluxeMenus. we can t remember all of them
use latest dev build
?dm-builds
You can find the latest DeluxeMenus dev builds here: https://ci.extendedclip.com/job/DeluxeMenus/
Weird question because I'm a lazy %put_your_word_here%. How I can count how much time left before midnight IRL?
%server_countdown_<SimpleDateFormat>_<ActualDateAndTimeBasedOnSDFSpecified>%
%server_countdown_dd.MM.yyyy HH:mm_22.06.2020 00:00%
โค๏ธ
Hm. This creates even more strange questions. Is it possible to automate this system without JS? I mean automatically put date of next day
Hmm
so each day tell you how long it is until 00:00 ?
Yup
oh wait actually that could work
It's display 0 in /papi parse
Still zero
Oh wait
%server_countdown_<SimpleDateFormat>_<ActualDateAndTimeBasedOnSDFSpecified>%
yeah it might not be possible without a javascript expansion or somethig
I wonder if you can use placeholders inside the placeholder
0
Still 0
It might not accept placeholders
/papi parse me %server_time_d% result is 21
Hm lol
what?
Some psuedo code coming it might work?
Ah you couldn't
%server_countdown_D HH:mm:ss_{math_{server_time_D}+1} 23:59:59%
Guessing thats not possible
Invalid format and time
D might be the day of the year or something?
yeah it is
Anyone know what a placeholder I added would randomly stop parsing for people? Using Featherboard & for some reason it works fine, and all of a sudden it will just stop parsing the placeholder. No errors, nothing changes internally, it just stops parsing.
Featherboard uses MVDWPlaceholderAPI
not PlaceholderAPI
ask to Maximvdw on Spigot, here it's the support channel for PlaceholderAPI =)
should i worry about this?
A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.
got an issue with scoreboard, every updated line duplicates for miliseconds and it's annoying, and i'm using many placeholders in scoreboard is this problem causes that?
@junior musk I know that Featherboard uses MVDW, but I registered my placeholders with PlaceholderAPI. Issue persists on Kiteboard also which uses PlaceholderAPI exclusively.
then it's probably a problem with the expansion, which one is it?
Local addon from a plugin. Would it not throw any kind of error if it was an error on my end?
If the placeholder returns a value too long would it simply not parse it?
I have no idea
when it's not showing, can you try to parse it with /papi parse me %placeholder%?
Not sure, like I said, it happens randomly. Some clients reported the issue. Apparently after restarting it clears the issue, but all the data in the placeholder is persistent so it never changes, its the same before & after the restart so I'm a little lost.
๐ค
what's the output of that placeholder, your server version, and the client version of those players?
String, 1.8.8, 1.8.8
String would be something like 10,103. Just a double run through a Decimal Format.
I have no idea =/
Yea, that's the boat I'm in. I'll see if anyone has it happen and I'll get them to do some debug for me. Thanks anyway :/
is there a placeholder for bungee to display what server a player is on?
not as I know
Where does the placeholder %server_name% takes the server name from?
The server ur in?
Yeah.. Right now its displaying "A Mnecraft Server"
what is the papi extencion that gives a certain player coordinates
However thats clearly not the name of the server xD
Where does the placeholder
%server_name%takes the server name from?
@mellow skiff PlaceholderAPI config
Okey! Thanks
what is the papi extencion that gives a certain player coordinates
@serene kindle the Player expansion
then you can use %player_x%, %player_y% and %player_z%
is there a placeholder for bungee to display what server a player is on?
@void pollen u can get it from bungeecord by a plugin which linked through mysql with another one then do what ever placeholder u want(:
Lol
I solved my issue ty though
then you can use %player_x%, %player_y% and %player_z%
@junior musk certain player coordinates
Hello I am currently having a problem with luckperms and papi. The placeholder luckperms_primary_group_name is not showing up. I downloaded the extension and restarted server. Any ideas? btw im using bungeecord
any erros when reloading papi?
it did say internal server error but it also said sucessfully reloaded
@oblique minnow,
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.
wow thats helpful ok
Barry is 
any human interpreation
yea follow the bot and ull be sorted
Nope
are the versions mismatched? i guess
Make sure you have the latest of both.
does papi matter or just lp and lp expansion
latest papi is nice too
ok
Im still having a problem could this be bungeecord?
Probably not.
@oblique minnow,
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.
any clue? there both up to date
When you do /LP version, what does it display?
So /papi parse me %<placeholders% worked for a few restarts, but now it does not work at all.
what is the expansion for the KOTH?
What koth plugin?
can someone help me with this?: https://paste.helpch.at/kadojoyoha
okay thanks
@zealous void It's weird, I can't seem to find any expansion for it nor can I see it built into the plugin
nvm I found it, seems the source code the page links to isnt the actual source code
which is a little sus
kek
So yeah it's built into the plugin %koth_<identifier>%
Hello there isn't permission for placeholder api ?
hm?
i have found thanks
Continuing from -> https://discordapp.com/channels/164280494874165248/573429521554866178/724435231938969612 it displays version 5.1.55 with bungee cord
@oblique minnow,
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.
is there a click_requirement: or i must use requirement: only
I want to make color changer gui that checks if a player has dark_red perm for example if he has it he can change his color
yeah there are click requirements https://wiki.helpch.at/clips-plugins/deluxemenus/options-and-configurations/requirements
Thank you ๐
I was wondering if I could get an earlier version of lp bungee
I'm not sure there is a way to do that. Maybe ask the developer to give it but on their website its only the latest from what I can see
whats the problem here
https://pastebin.com/1vrsrj7X
?dm-builds
You can find the latest DeluxeMenus dev builds here: https://ci.extendedclip.com/job/DeluxeMenus/
use this version ^
Now this occurred
https://pastebin.com/v3hEfdZA
do you have PlaceholderAPI installed?
yes
It is
caused one of the menus i think
yeah i found it, but can't find the problem in the menu
btw did you use plugman to enable the plugin?
yes give me a minute
sure
it must be because of that menu, when i put it, it gives the error
I removed it now and it works fine
Hello... I'm getting "an internal error occurred while attempting to perform this command" when doing /papi reload
update_interval:
you forgot an 1
after
@fluid harness can you check the console and paste the error that you get in there?
ah yes, thank you
It wont let me paste here it says too many characters
?paste
@fluid harness,
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.
please follow the tips the bot just gave you above ^
Thats smart! Thank you..
Done that but no luck. It is a bungeecord network I am running... so does the plugin PlaceholdersAPI need to be installed on the proxy?
I know, thats what I have
Luckperms bungee version is higher the the papi expansion..
doesn't matter you need to have latest of each version
Which I do and still nothing.
read this wiki: https://github.com/lucko/LuckPerms/wiki/Network-Installation
maybe you've done something wrong
or you forgot something
[15:57:44 ERROR]: Could not pass event PlayerCommandPreprocessEvent to DeluxeMenus v1.13.2-Release
java.lang.NullPointerException: null
this appears after every command executed
?dm-builds
You can find the latest DeluxeMenus dev builds here: https://ci.extendedclip.com/job/DeluxeMenus/
download the dev builds
What am I doing wrong here: `items:
'blue_team':
material: blue_wool
data: 1
slot: 0
display_name: "&aBlue Team"
left_click_commands:
- '[message] Selected blue team!''
left_click_requirement:
abc:
type: string equals
input: '%worldguard_region_name:%player_world%,%player_x%,%player_y%,%player_z%%'
output: "bedwarswaitlobby"
deny_commands:
- '[message] "You can not use this command here!"`
I get a internal error when i try /dm reload
data ?
?paste
please wait
for wool ?
yeah that could be a problem as well xD
try removing data: 1
yeah
wait ill fix them
still cant reload
im restarting the server
my deny command didn't have a '
can you just paste the entire menu using https://paste.helpch.at ?
yeah
wait
did it work
i just saved it in the website
i dont rly understand your website tbh
press ctrl + s and send him the link
try this menu https://paste.helpch.at/umevudikil.shell
remove " on deny command
he doesn't need to tho
??????
also does worldguard placeholders accept placeholders with %% inside?
All the spoonfeeding hurting my brain
Kaliber he started and ended the line with '
ill try it
i think you mustn't use data when you are typing the color like blue_wool
ok
well bimo after 1.12.2 data changes the damage but dk if it only works for breakable items or for all items
@wicked knoll got this error without the data: https://paste.helpch.at/ucecoyayor.sql
the data propably isn't the problem (i think) because it displays properly and gives error when clicked
You can find the latest DeluxeMenus dev builds here: https://ci.extendedclip.com/job/DeluxeMenus/
maybe it will fix it
actually
you need PlacerholderAPI installed
that's why you get the error
@unkempt hare
oh my bad
saw something and just jumped over everything else
the worldguard requirement
ok
is the problem
the placeholder
I think you have to change all %% inside the placeholder to {}
ok
i didn't find that kind of syntax anywhere so i thought %% would work
ill try it
yeah usually it doesn't
input: '%worldguard_region_name:{%player_world%},{%player_x%},{%player_y%},{%player_z%}%'
this is what you mean?
oh ok
input: '%worldguard_region_name:{player_world},{player_x},{player_y},{player_z}%'
ill restart the server with this now
yeah
doesn't seem to give an error
also I do recommend using the latest dev build
because on the release there is a nasty bug that got fixed
?dm-builds
You can find the latest DeluxeMenus dev builds here: https://ci.extendedclip.com/job/DeluxeMenus/
ok
ill check it out later
the syntax is working but my setup is not working
thank you so much
I did this:
'red_team':
material: red_wool
data: 1
slot: 8
display_name: "&aRed Team"
left_click_commands:
- '[message] %worldguard_region_name:{player_world},{player_x},{player_y},{player_z}%'
And its sending the msg, but the region is just "" and i know for sure that im on a region
"" = Like nothing there*
what does /papi parse me %player_world% return
a few question:
- can I see the last time a player was online (bungee or world)
- can I display the command output in a placeholder
- does the
%player_online%apply to just the server or all the bungee servers?
papi isn't a bungee plugin
yea but there's a bungee addon
that is an expansion and that only works if you have PAPI on all your servers and only gets the number of players online
alright, so that's the only thing I can do with bungee-related stuff?
yeah from what I know
alright thanks
There are plugins made by others that gives you the possibilty to bridge papi but it is not supported so if you have problems with it you won't get support here
I fixed the previous error but i have obviously forgotten something, but can't find it.
[WARN]: [DeluxeMenus] No type set for requirement: type
[WARN]: [DeluxeMenus] No type set for requirement: permission
[WARN]: [DeluxeMenus] No type set for requirement: deny_commands
https://paste.helpch.at/viwejihugo.bash
gotcha, thanks again
I fixed the previous error but i have obviously forgotten something, but can't find it.
[WARN]: [DeluxeMenus] No type set for requirement: type
[WARN]: [DeluxeMenus] No type set for requirement: permission
[WARN]: [DeluxeMenus] No type set for requirement: deny_commands
https://paste.helpch.at/viwejihugo.bash
@wicked knoll you forgot to add the requirement name
left_click_requirement:
requirements:
reqname:
type: has permission
permission: essentials.nick.white
deny_commands:
- '[message] &5&l* &cYou do not have access to that color'```
Sorry back to my second question: can I make papi display a command output?
I want something related to the essentials /seen put there's no papi placeholder so I want to see what I can do.
these are most of the papi placeholders but not all: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders
if they are not here they are on the plugins page or you can make them yourself using javascript https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
alright, i know javascript so I might go for that option
nothing on that page for executing commands, am I missing something?
I didn't say you can do commands you can only return what you find on those lists
these are the only essentials placeholders I can find https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#essentials
you can download LastLoginAPI and use these placeholders to see when a player last has joined: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#lastloginapi
that might work, seems like what I was going for
How do I get placeholders via mysql to another server
you can't. There are some plugins out there but if they don't work you won't get support for them here
so is it possible to share placeholders to another server
well unless you use those plugins not yet
it is planned to be added in papi 3.0 but not sure when that will come out
The requirement names worked.
warns gone now
is there any way at the moment
There are some plugins out there but if they don't work you won't get support for them here
so yeah but we can't confirm 100% that they work
so but how
just google placeholderapi mysql
I have already googlannut but I could not find anything related
took me 1 googling and second link was this :https://www.spigotmc.org/resources/bungeeplaceholderintegration-placeholderapi-bungee.79900/
how i can use heads in menus
with these ids ?
eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmE1YTg0NTAzNjRjZGE4MjZjYjg1YWI2ZGMyNmU0M2U2OTIwOGExNGFkNmIyYzlkYjQ4NDdhYWI5NDI1MyJ9fX0=
but I don't want to take placeholders through the bungeecord but directly from one server to another
?customheads
How to use custom heads in DeluxeMenus:
a) A player name material: head-extended_clip
b) The player's head material: head-%player_name%
c) The base64 code of a head material: basehead-<code>:
- Go to https://minecraft-heads.com and find a head.
- Copy the head Value code (from the page bottom)
d) EpicHeads material: heads-<id>:
- Require https://www.spigotmc.org/resources/13402/
e) HeadDatabase material: hdb-<id>:
- Require https://www.spigotmc.org/resources/14280/
but I don't want to take placeholders through the bungeecord but directly from one server to another
that is not possible
blitz, the plugin i linked reeee
tell me how it is not possible
If you can't afford it, you probably don't need it
I copied the value but the head is not showing
material: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTY3YTJmMjE4YTZlNmUzOGYyYjU0NWY2YzE3NzMzZjRlZjliYmIyODhlNzU0MDI5NDljMDUyMTg5ZWUifX19
?customheads
How to use custom heads in DeluxeMenus:
a) A player name material: head-extended_clip
b) The player's head material: head-%player_name%
c) The base64 code of a head material: basehead-<code>:
- Go to https://minecraft-heads.com and find a head.
- Copy the head Value code (from the page bottom)
d) EpicHeads material: heads-<id>:
- Require https://www.spigotmc.org/resources/13402/
e) HeadDatabase material: hdb-<id>:
- Require https://www.spigotmc.org/resources/14280/
i didn't see it, works now
not that i know of
Does anyone know
It's the truth tho.. if you're not able to spend those few dollars on it, then it's probably not a life or death situation is it..
@brisk coral what if other people don't want to spend money
Then you probably don't need the plugin
you are asking for something that would take a lot of work to be made. Making plugins is time consuming. Not everyone can make it. Some are trying to make a living
and its 2$ / lifetime
its not like 30$/month
I know
the dependency doesnt work
what dependency?
placeholderapi dependency
Works fine for me, make sure to reimport it
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.9.2</version>
<scope>provided</scope>
</dependency>
Why are you using such an old version?
<repository>
<id>placeholderapi</id>
<url>http://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>
waffle king i used the one from spigot
where can i find it
2.10.6
still doesnt work
there it is
still doesnt work
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.10.6</version>
<scope>provided</scope>
</dependency>
Reimport
Did you change the repo from http to https like I said?
I'm hoping you purchased that
yes i bought it
any luck with bungee papi
PAPI won't be Bungee compatible under later in V3.
you can use this https://www.spigotmc.org/resources/bungeeplaceholderintegration-placeholderapi-bungee.79900/
Good afternoon guys
is there a command to specifically update placeholders?
or do I just run papi ecloud download on it again?
just papi ecloud download
@oblique coral gonna work on the amount removal now
๐ ๐
Doing ColorGUI
formats like &l work, but it defaults the color how i can make name &l while they have selected red color for example.
is there a placeholder that gets the colored nickname
display name or nickname would work
@wicked knoll
so...
this is going to be a lot harder than i thought
spigot wants to remove as much as possible
it didn't worked with them, what wants to remove spigot
/papi parse
- %essentials_displayname% shows %essentials_displayname%
- %essentials_nickname% shows &fBimoPlayz
well yeah displayname is not a thing I think for essentials
its either %player_displayname% or %essentials_nickname%
I tried with essentials nickname but it edits only the name thats default not the colored ones, i'll try the player_displayname as well
doesn't works
Ok ill just say what my goal is and ask if anyone can help me to accomplish it. Show a players luckperms bungee cord rank in a scoreboard. and get nametags working with papi
๐ฎ i made it working
Did you download the expansion @wicked knoll ?
you probably missed the bot, it disappears after a while
i hope you see it this time tho
saw it
and copied
I actually forgot to download
player is downloaded
already but not sure for essentials will try now
did you get what i am trying to do ? because i maybe did not explain it well my native isn't english
so you typed /papi ecloud download player and /papi reload
and now what does /papi parse me %player_displayname% do?
where do the colors come from?
because you said it was in the nickname
but the essentials nickname doesn't show the colors, right?
it shows the &f
ok
then what color are you trying to show?
because I might not understand like you said
I'll try to explain it better now
I am making ColorChangerGUI in deluxemenus
and i added players to be able to change their nick colors if they have perm essentials.nick.dark_red for example
when i reached the formats & l & m & n i want them to change the nickname with the current color, for example if they have red nickname i want & l to make it bold, it makes it bold but defaulting the color to &f
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
I see
you'll have to store the player's color somehow
otherwise you will keep adding onto it
because if you use %essentials_nickname% it will just keep adding
so you'll have &fBarry
then &l&fBarry
which is all good I believe
but if you do it again you'd have &o&l&fBarry
so you need to somehow store the color
I suggest meta
can i do it with deluxemenus
yes
just requires configuring it
there is a meta placeholder %deluxemenus_meta_<key>_<dataType>_<default_value>%
so you can use that
combine actions with meta and placeholders
should work pretty well
my suggestion is as follows
key, type, value
color, string, color code
example value: &c
and then you can set the default value to &f
Okay, Thank you ๐ I'll try like that.
good luck mate
So /papi parse me %server_unique_joins% worked for a few restarts, but now it does not work at all. Any ideas?
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.
send thatover

i haven't tested it yet.
๐
is a dank emoji

ez
god bless your souls i can now make rankups more fun than ezrankspro i bought 
where do you get/set %server_name% from?
papi config
is there a way to check if a placeholder returns true and if so display another placeholder
javascript
nvm
a the placeholder i am using supports nicked and not nicked player names
there was a wierd glitch that made me belive otherwise
just to confirm the latest deluxemenu version was updated a month ago?
Can someone link Vault placeholder
ty
Using the community lore.js to get lore from items and store them into a variable, but I need to strip the color from the lore. So just assuming the var name is like "loreline" or something, how would I strip the color from it? Any ideas?
I'd assume something like loreline = ChatColor.stripColor(loreline)
but that doesn't seem to work, not really sure what parts I can use from Spigot or not as well. New to this
Specifically Javascript btw
22.06 23:52:11 [Server] ERROR [PlaceholderAPI] ChatColor is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [] and urge them to update it ASAP.
22.06 23:52:10 [Server] ERROR [PlaceholderAPI] Did not find a valid bridge! Are you using a supported version of mcmmo?
22.06 23:52:10 [Server] ERROR [PlaceholderAPI] com/massivecraft/factions/RelationParticipator
22.06 23:52:10 [Server] ERROR [PlaceholderAPI] Failed to init placeholder expansion from class: pw.valaria.placeholders.mcmmo.bridge.McMMOPlaceholderExpansion
Everything broke, need help.
My host, an idiot, decided to switch my panel
upon doing this, many errors showed up. please help asap.
22.06 23:52:11 [Server] ERROR [PlaceholderAPI] ChatColor is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [] and urge them to update it ASAP.
See if the plugin ChatColor has any updates, if not contact the author to update to the newer placeholderapi hook.
22.06 23:52:10 [Server] ERROR [PlaceholderAPI] Did not find a valid bridge! Are you using a supported version of mcmmo?
Make sure you're not running a super old version, update the plugin and the expansion inplaecholderapi/expansions/
how to capitalize letters in placeholders?
hello?
how to capitalize letters in placeholders?
javascript
left_click_requirement: requirements: metaBold: type: has meta key: Bold meta_type: STRING value: '%essentials_nickname%' deny_commands: - '[message] ...' left_click_commands: - '[meta] add Bold STRING &l'
cj89898,
I didn't understand well the meta part, is this right?
well first wrong thing. you forgot '
in click commands
second
the click command is wrong
also the click commands has a space more than needed
its like that just because i wrote it in discord manually didn't copied from the file
I mean is the logic is right will that function?
- '[meta] add Bold &lSTRING' like this ?
no
STRING its a type
so that can't be changed
same with Blod
because its the key
- '[meta] add Bold STRING &l'
but idk if add works for STRING tho
maybe its set instead of add
There must be an logic problem or something else its showing me the deny message
I am making ColorChangerGUI in deluxemenus
and i added players to be able to change their nick colors if they have perm essentials.nick.dark_red for example
when i reached the formats & l & m & n i want them to change the nickname with the current color, for example if they have red nickname i want & l to make it bold, it makes it bold but defaulting the color to &f
-BimoPlayz
I see
you'll have to store the player's color somehow
otherwise you will keep adding onto it
because if you use %essentials_nickname% it will just keep adding
so you'll have &fBarry
then &l&fBarry
which is all good I believe
but if you do it again you'd have &o&l&fBarry
so you need to somehow store the color
I suggest metayes
just requires configuring it
there is a meta placeholder %deluxemenus_meta_<key><dataType><default_value>%
so you can use that
https://www.spigotmc.org/resources/deluxemenus.11734/updates
https://wiki.helpch.at/clips-plugins/deluxemenus/options-and-configurations#actions-types
combine actions with meta and placeholders
should work pretty well
my suggestion is as follows
key, type, value
color, string, color code
example value: &c
and then you can set the default value to &f
-cj89898
well more like you didn't understand how to use
requirements:
metaBold:
type: has permission:
permission: bold.color
deny_commands:
- '[message] ...'
left_click_commands:
- '[meta] set Bold STRING &l'```
you need to do something like this
and then use %deluxemenus_meta_Bold_String_ % I think
in your chat format
don't know if the placeholder is correct tho
also what is your server version @wicked knoll
1.15.2
oh ok. Because meta only works from 1.14+
so didn't want you to be on 1.12.2 and then ask yourself why it doesn't work xD
This meta feature is only available for server versions 1.14 or higher
meta is a feature added by minecraft or spigot (dk which one) since 1.14.
that's why it only works on those versions
it is not showing me the deny message now, but the placeholder is wrong i think
huh?
yeah it was just an idea. I tested it and turns out it doesn't work
not the bold underline etc. but the coolors may work
it looks like they do
the colors are done for the nickname its easier
but i couldn't manage to do the formats
yeah idk why but seems like they don't work with meta
Anyone knows a placeholder that can parse a general countdown? Like a cooldown you set but for everyone
you mean time countdown? or like manual
for time countdown it can be %server_countdown_<SimpleDateFormat>_<time>% in the server extension
How would i make a js placeholder that checks if the placeholder %worldguard_region_name% is blabla and if it is return &b%worldguard_region_name_capitalized%
for time countdown it can be
%server_countdown_<SimpleDateFormat>_<time>%in the server extension
@sturdy sluice Yeah, but I think that would be hard since I need something you can set the start moment with an scheduler from CMI and start counting 10 minutes when the placeholder was indicated
Just to ask if there's a placeholder for that, if not. No problem je
Whats the placeholder for essentials Balance?
%vault_eco_balance%
/papi ecloud download Vault
/papi reload
depends if the SuperMobCoins plugin has an expansion built in the plugin (no need of downloading) or if it's external (you can download it from the ecloud)
doesn't seem to exist on the ecloud https://api.extendedclip.com/all/
so I would say it's internal/built-in the plugin
but if it doesn't work, then that would mean that the dev didn't update its placeholders
you would have to contact him to do so
:/ okay thanks
But
if i type /reload the placeholder works for like 1 second and than it stop working
contact the dev
im trying to use some placeholders but leaderheads keeps throwing [LeaderHeadsRevamped] The specified placeholder {placeholder} is not an MVdWPlaceholderAPI or PlaceholderAPI placeholder error
im pretty sure they are real placeholders though
what's the placeholder?
they are multiple ones that dont work...
kitpvp expansion
%kitpvp_stats_kills%, %kitpvp_stats_level%, %kitpvp_stats_kdr%
have you installed the extension?
/papi ecloud download kitpvp
and then /papi reload
the extension is integraded and doesnt require a command
Yes, its registered
and can you parse it manually?
wdym?
/papi parse me <placeholder>
im starting to think leaderheads is the issue
placeholder works fine, just not in leaderheads
#placeholder-api message
ask LeaderHeads' author
is there a papi placeholder that takes in a number and removes decimals from it
formatter expansion maybe
ik that formats (puts in commas etc) but idk if u can do it the other way
if it doesnt, theres always javascript
you can
cool
Do I put PAPI in bungee?
papi doesnt support bungee
so no
if u wish to get placeholders from one server to another, u can use https://songoda.com/product/globalholders-fetch-placeholders-from-placeholderapi-across-your-bungeecord-network/version/v1.0
thanks
How often will your average leader board or statistics display plugin (holograms, statues etc) request an updated stats value from my plugin through PAPI's onRequest?
The reason I'm asking is because I'm hitting the database for those values. I know a trusted person mentioned above caching the data to avoid hitting the db, but I'm wondering if there's some general knowledge of the frequency those display plugins try to resolve PAPI placeholders.
Are we talking each tick, each second, each minute, more than once per tick?
Hey clip i have a problem
Hello, I want to report a bug or error in the placeholderapi plugin. The bug I have is when I use the placeholder %essentials_kit_time_untilavailable <kitname>% . The bug begins with the delay that each kit of the essentials has, I am trying to put this placeholder to my kit that has a delay of 7889400 but at the time of visualizing the placeholder the time appears in 0 and not in the time that corresponds to the kit . And if I add a delay of 1209600 to my kit, you can see the time. The placeholder doesn't work with 7889400 delay and i need to use this delay.
@severe galleon there really is no data to support how many times the method to set placeholders is called but it could be many.
@unique arrow if u could report the issue to the essentials expansion GitHub page so we have the issue locked in and can look into it
Thanks clip. Guess I'd better look at caching the db fetches ๐ฆ
@final shadow Ready https://github.com/EssentialsX/Essentials/issues/3409
@unique arrow,
Please respect the rules, be patient and don't ping staff members!
@unique arrow someone already answered there
Check the message
"if u could report the issue to the essentials expansion GitHub page so we have the issue locked in and can look into it"
Oh ok nvm
hey uh none of the placeholders for DeluxeJoin seem to be working, even though the same placeholders work fine in my Essentials config
this is the placeholders for player name or players online
Clip i have a answer for essentials support: "Essentials does not maintain Placeholder API placeholders. Please report this to whomever is responsible for them."
btw the discord link in the config file for PAPI is dead
Which one @gloomy crane
PlaceholderAPI 2.10.6
I mean which is the link?
oh my bad... # Discord: https://helpch.at/discord i guess that is not an actual discord join link
oh... i didnt use it like that i put it in the add server do dad
sorry... but do you know anything about the rank and vault situation
About what?
i got the extention after some diging around and it populates the defalt
but when i promote myself it still shows default... im using luckperms and vault
im sure im not doing something right in luckperms for how the format should be
oh it is for deluxehub.... the scoreboard is supposed to show rank
i had luckperms and vault in when i added placeholder api... and it showed %vault_rank%
and i started digging around and found i needed a vault extention for papi and as soon as i did /papi reload it showed rank = default
only problem is i have am in a group.level2 in luckperms
is there a format in needs to be in?
Have you tried to use luckperms placeholders instead?
so I'm trying to help someone to make a js placeholder for absorption but he gets this error: https://paste.ubuntu.com/p/cgVwWNM3DY/
This is the placeholder: var player = BukkitPlayer; function playerAbsorption() { var absorption = player.getAbsorptionAmount(); return Math.floor(absorption); } playerAbsorption();
on my 1.15.2 server it works but on his 1.8 one it doesn't
is getAbsorption a new thing ?
Probably
Get all the players effects and check which one is absorption, if it'll work
I'll check to see how to do that. thanks
https://imgur.com/a/CPgdzev %localtime_timezone_439,<SimpleDateFormat>% I'm not going to take out pm
<repositories>
<repository>
<id>placeholderapi</id>
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.2.0</version>
<scope>provided</scope>
</dependency>
</dependencies>```
well, repositories in redlined
#development may be better
mk
how do i download the Statistic expansion?
/papi ecloud download statistic does work but it just doesnt add anything
/papi reload after?
when doing /papi reload still the same amount of placeholder expansions show
meaning that nothing got updated
yes... i know
it doesnt work
which placeholder are u using?
also when parsing a statistic placeholder it shows the raw placeholder
also what server version are u on?
no. the entire expansion doesnt work
yes but what are u trying to use
the reason is because im on 1.8.8, is there any version of this expansion for legacy versions?
/papi ecloud download Statistic 1.7.0
/papi reload````
ty
ayy that worked
short but powerful xD
also is there any way of using Meters instead of Centimeters in some placeholders?
u can use the math expansion to calculate it
how exactly would that work?
%math_{yourplaceholderhere}/100%
^
the time ur spent sneaking?
no but it just shows the raw placeholder
i thought pherhaps i had to replace some text?
probably only available in later versions
oh alright
Do you guys know why sometimes, one of my javascript placeholders won't load after server restart?
Only when you do /papi reload, it loads.
If you're running latest JS and papi shouldn't happen
The plugin doesn't work for me and I don't know how to fix it. It tells me that I have a problem. I don't know if the plugin needs a dependency and if it's to tell me.
not
not?
what doesnt work?
tells me
update to latest version
thanks
my server is mods the placeholder serves the same or I have to put other plugins
A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.
A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.
yes
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
won't let me activate the cloud
?ecloudblock
Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.
^ @steel oasis
okay
i'll dm u
but sometimes the placeholder works, and sometimes it doesn't, so idk if startup log will help
I put / papi enablecloud and it tells me that there is a problem in the internal error that occurred when appealing to run this command
well you could just do as the bot suggested above and manually download them
won't let me load the clouds
wdym? you go to that link
download the expansion you want
add it to the expansions folder
and do /papi reload
thanks the problem was solved I already have the clouds
@naive depot It might help identify the issue
deleting Frozen join may solve your issue
Stfu Ori
the developer is actually pepega
Is there a way I can see placeholders that are locally stores?
i.e not on ecloud?
as in dirrectly in the plugin?
yes
you will probably only find them on the plugins wiki or spigot page
I looked
check if u can see the plugin name in /papi list
then u might be able to do /papi ecloud placeholders <pluginName>
Tried it
It's in papi list
these are the placeholders I guess
ยฏ_(ใ)_/ยฏ
som maybe the guy reuploaded it and just no one updated the ecloud
Definitely not them.
doesn't seem like they have a wiki... all their resources have links to discord. Nothing else so you'll have to join and ask
@heady falcon How much via paypal for Papi Animations source?
Support for 1.16.1
Here is the first jar for PlaceholderAPI compiled under the new 1.16.1 API. Initial testing looks be to be fine. Please do not use this in a production environment. This is testing only.
๐
any reason placeholderapi would say could not find player for me while im online doing the command?
I have a answer for essentials support: "Essentials does not maintain Placeholder API placeholders. Please report this to whomever is responsible for them."
https://github.com/EssentialsX/Essentials/issues/3409
I need help Clip or FunnyCube
@unique arrow did u do /papi ecloud download essentials then /papi reload ?
I have this
what? I mean did u use those commands ?
My problem is this
The bug I have is when I use the placeholder %essentials_kit_time_untilavailable <kitname>% . The bug begins with the delay that each kit of the essentials has, I am trying to put this placeholder to my kit that has a delay of 7889400 but at the time of visualizing the placeholder the time appears in 0 and not in the time that corresponds to the kit . And if I add a delay of 1209600 to my kit, you can see the time. The placeholder doesn't work with 7889400 delay and i need to use this delay.
%essentials_kit_time_untilavailable_<kitname>%
what? I mean did u use those commands ?
@austere hawk Yes I have the essentials expansion
ok
My problem is with kits delay with the placeholder
i see (idk, its bugged u were right)
But Clip told me to report the error with essentials but essentials support said it's a problem with the placeholderapi plugin
XD
ok
So i need the help to Clip or FunnyCube ๐ฆ
Hey, I was wondering if their is a placeholder for a plugin that displays the player's coordinates? I want it for a ScoreBoard
%player_x%
%player_y%
%player_z%
Is there a download command?
use
/papi ecloud download player
/papi reload
if u don't have player expansion
@flat quartz What would you use the source for?
Is there something wrong with this placeholder? %leaderheads_name_ultimatevotes_totalvotes_alltime_1%
I'm trying to use it in deluxemenus like this:
material: head-%leaderheads_name_ultimatevotes_totalvotes_alltime_1%
hey there for placeholders for MineResetLite, I was wondering how to change how fast the HolographicDisplays updates the percentage mined
I guess updating the Holographics display update rate?
Support for 1.16.1
Here is the first jar for PlaceholderAPI compiled under the new 1.16.1 API. Initial testing looks be to be fine. Please do not use this in a production environment. This is testing only.
Does this solve the javascript data issue? The one where data is not saved after server restart
It will
oh nice.
I dont get any placeholders to work and I dont understand.....
have u downloaded the expansion?
did you download the required expansions
well just bought the plugin leaderheads
think I need a step by step help xD
wich expansion?
there isn't one for leaderheads
can I have a example command to setting up essentials baltop on signs`?
sry my bad english im swedish
/leaderheads enable %vault_eco_balance%```
then while the sign placed, look at it and do /leaderheads setsign %vault_eco_balance% <rank> [type]
rank being the placement on the leaderboard, type being daily|monthly|weekly|alltime
YEY I love you guys!
thanks easy to understand and i think i can found out the rest by my self ๐
np
damn im so happy xD
Feel free to send me if you have additional questions about LeaderHeads ^
And for everyone in this chat, please forward people with questions about LeaderHeads to me, unless it's a question related to just PlaceholderAPI placeholders
@steep thorn do you have a discord server or smth we can attach to =links leaderheads?
nou
๐
๐
hey guys
%quests_player_currentobjectives<quest>%
for this placeholder how can i make the "<quest>" to be automatically filled by which quest is the player following
like lets say the player wants to do the example1 quest between 10 quests
and chooses example1 as following
I want that to fill in the <quest> section automatically through quests because I want to use the placeholder to make a bossbar that shows your current objective
please tag me if you know the solution since this is really important for me and my server
@safe jackal is there another placeholder to get your current quest?
Alright
You could do that with https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
