#placeholder-api
150650 messages · Page 2 of 151
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.
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
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?
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
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,
@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
yes
won't let me activate the cloud
?ecloudblock
^ @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
¯_(ツ)_/¯
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
I don't have time right now to do it for you, but it can absolutely be done with this
yeah i know but i dont know js
and i have no idea how to call variables from one plugin to other
Hmm yeah I don't know how you would call /papi parse from the Javascript either
But I'm sure some people in here know how to
like lets say i made a code like this;
check quest name
replace <quest> with quest name
i dont know how will i do the check quest name part
there is another placeholder for quest name
%quests_player_current_quest_names%
Based on what I see here you can just put the placeholder as a string in your Javascript file and it will parse it
oh really
so let currentQuest = '%quests_player_current_quest_names%'
But unsure how that would work with concatenation
%quests_player_currentobjectives_{quests_player_current_quest_names}%idk for sure this will work but you can try
yeah
or you could give it a variable
and put the variable in
wait
let me go learn js first
brb, getting computer science degree
😄
can someone make me understand what exactly %player_time% is returning? First I thought its just the timestamp from the player's area
but doesn't seem to be that at all
when does %player_time% start counting from and also how much is a second
?
Would, but using a broken version where some commands don't work :p
is there special syntaxes for javascript extension or can i straight up call variables in my .js files
if there is a wiki for javascript extension it would be perfect
wdym by straight up call variables? you can declare and use your own variables indeed if thats what you mean
there actually is 1
ah thx
Hex expansion when
Well it depends
I can easily integrate it but it depends how the plugins actually calling the placeholder handle it
Unless I use that legacy format that (should) hopefully work everywhere
&x&F&F&F&F&F&F
Lol
Could someone please re review this when they get the chance? https://github.com/PlaceholderAPI/Vault-Expansion/pull/13
How to start a scoreboard plugin with papi?
Do i create the board first
Or i add placeholderapi support first
?
I get this error while server starting: https://paste.helpch.at/adukuxadaj.rb after that, if I use /papi ecloud status , it says "No cloud expansions are available at this time."
@hard dock,
I'm selfhosting it and idk what connection I might've blocked
I reset the config and for some reason that seemed to fix it 
Hi , I have an issue with the expension PLAYER with VoteParty when i want to add an vote to a player ( me ) i have an error with the placeholder %player_name%
>vp addvote 1 DefiDegue [04:34:25 ERROR]: [ACF] Found unregistered replacement: %player_name%! [04:34:25 INFO]: [FightMC] > Vous avez donné 1 votes à %player_name%!
But on another plugins , exemple my scoreboard , the placeholder work , i have already deleted and redownload the expension and placeholder ( he are in the latest version ) and i m in 1.12.2 spigot version
(I've okayed him to ask this here because I couldn't figure it out) ^
When it tries to parse %player_name% ACF throws that because for some reason the player expansion isn't parsing it.
what is ACF
I had that a lot and downloading the expansion seems to fix it just fine.
The command handler inside VP
It's weird cause I see it loading the player expansion.
I just tested it on the same environment (minus OS) and it worked fine.
other plugins?
I'm rather new to PAPI development, but after some quick Google-fu I wasn't able to find an exact answer to an issue I'm having.
I'm trying to make a placeholder for a secondary prefix as well as a secondary group weight (this goes in-hand with vault_primary_group_weight and vault_prefix, so I can't just use those). I'm seeking to organize our tab list in a specific way, so adding an extra dimension to group weight and prefixes would be the easiest way to do so.
Now, I've gotten it all working on a single server instance, however our system is running on a Bungee network, and Papi doesn't seem to be making onPlaceholderRequest() calls for players not on the same server that the placeholder is running on.
i.e.
Testing server with Custom Plugin with PAPI hook, PAPI, LuckPerms, and a few other assorted plugins.
Other servers connected through Bungee and the same LuckPerms DB (MySQL), each with PAPI on them as well.
Bungee with BungeeTabListPlus that grabs
custom_prefixandcustom_group_weightPlaceholders.
Once again it works for any users connected to the test server directly, but it just sits at %custom_prefix% in the tab list for OTHER users across the network and I'm wondering if this is a PAPI issue or a BTLP issue that I need to fix.
EDIT I'm a dummy and figured it out after one last test. I need to have the custom plugin running on every server too otherwise BTLP won't grab the PAPI placeholders properly. Interesting interaction. Leaving this here in case others have similar issue.
@lean fossil papi isn't a bungee plugin as of right now, you could look into using the bungee addon
I'm using PAPI with my bungeeserver and it doesn't show up each server total players ;-;
PAPI does not support bungee. You need to install PAPI on all your server except your bungee and download the bungee expansion on each of them as well /papi ecloud download Bungee /papi reload then use %bungee_total%
Thank for the suggestion
There is no time to wait! Ask your question @austere hawk!
There is no time to wait! Ask your question @austere hawk!
i need help
There is no time to wait! Ask your question @austere hawk!
You gotta be shitting me right?
i need help
There is no time to wait! Ask your question @austere hawk!
aham
player username
my laptop was shouting at me and i now realize why
are you being serious
can you please talk like a normal person (in one sentence)
ok
k
if you'd like to use it in commands i'd recommnd you using %player_name% as player displayname might alter from the username
@austere hawk
what i was not spamming ?
yeah
admins must be abusive i guess
I always knew it
Hey i need help, it is not showing my whole name
whats it showing then
my name
1 sec
is not showing my whole name
whats it showing then
my name
🤔
I dont see anything wrong in there
yes there is.
[admin] whoaboutyt
[admin] whoabout
how do i fix
put it in another row
ew 1.8
Update to 1.16
or just name it User: instead of Username:
I mean it'll still break for users with longer names 🤷♂️
yeah username: is way too specific
or just name
Correct
also the luckperms_highest_group_by_weight
does not work
it says default
and the weights r set up
Depends on the scoreboard plugin
PapiScoreboard
should probably seperate the name from the rank too btw
plugin
There's a PapiScoreboard plugin?
and use a chat plugin and edit the format to show the prefix
rather than adding the prefix to the player's displayname
Command: /reloadscoreboard - reloads scoreboard
ok
thanks for the help!
why this not work?
- '&b| &7Online: &f%server_online%&8/&f%server_max_players%'
it shows
/papi reload```
?
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders placeholders can be found here if thats what u mean
var exp = parseInt("50912");
function formatNum(num){
var suffixes = ['', 'k', 'm', 'b', 't', 'qd', 'qn'];
var decimals = 2;
for(i=0;i<suffixes.length;i++){
if(num>=1000){
num = (num/1000);
} else {
return num.toFixed(decimals)+suffixes[i];
}
}
return (num*1000).toFixed(decimals)+suffixes[suffixes.length-1];
}
formatNum(exp);
@keen crown ^
that can help you with your prestiges formatting
you can specify the decimals, just change the 50912 part
for more info about jsp check this
I installed PAPI in every server but it still won't show up the bungee papi
/papi ecloud download Bungee
/papi reload
wdym by the bungee papi? as I said before you don't have to download it on your bungee server
just the other ones
and now if you sue %bungee_total% or %bungee_<servername>% on any of your servers it will return the players online
Hello where i can download papi for 1.16?
pinned message
Thank you ❤️
np
Hello when I use papi ecloud download luckperms then papi reload and restart the server then I have to again use papi ecloud download luckperms then papi reload.. I'm using the newest build and newest Spigot.
my guess is that u have this problem ^
!Help
?help
I am using PlaceholderAPI on my Spigot 1.8.8 server
but for some reasons placeholderapi isn't registering some
of my plugins, i've tried getting help from (the plugin owner) or the Iridium Staff Team
But they couldn't help me so i was told to visit helpchat.
Kaliber btw the problem when I reloaded papi: [19:13:29] [Server thread/WARN]: [PlaceholderAPI] Loaded class net.luckperms.api.LuckPerms from LuckPerms v5.1.63 which is not a depend, softdepend or loadbefore of this plugin.
hi, any time i'm using PAPI, when reloading it to get more expansions, it just crashes the whole plugin with an internal error
for instance, i'm using default configuration of PAPI and only installed Player and Server..
when you get an internal error in chat you get an error that explains more in console. Please paste it
?paste
Kaliber btw the problem when I reloaded papi:
[19:13:29] [Server thread/WARN]: [PlaceholderAPI] Loaded class net.luckperms.api.LuckPerms from LuckPerms v5.1.63 which is not a depend, softdepend or loadbefore of this plugin.
@honest pulsar That's not a problem
that's just you being warned that there is a class that was loaded and its not a depend
I actually don't know whats the problem then. I'm using the newest version of the LuckPerms, Papi and Spigot but the problem is still the same.
I get quite a few of these ever since my console panel is pterodactyl
I have a question. Does it work when you download it and reload?
or it doesn't work at all
@hidden nebula wdym by it doesn't register some of your plugins?
the placeholderapi plugin isn't registering iridium placeholders
Yeah, when I join the server (it's broken, my prefix is something like %luckperms_prefix%). So I use /papi ecloud download LuckPerms & /papi reload and it's fixed. When I restart the server the problem is the same I have to use these commands again. I would say.. It's an infinitive cyclus. 😄
that's weird. So idk if this will 100% fix it but you could go to plugins/PlaceholderAPI/expansions delete the LuckPerms one from there then go to https://api.extendedclip.com/expansions/luckperms/ and download Latest expansion and add it to the expansion folder then do /papi reload
is there a way with the javascript expansion to change the string returned by a placeholder? for example change the value of %server% to say something else.
you can make it return anything you want based on what it returns
I just want to change one character of it. Right now, it return lobby-1 but I want it to return lobby #1
this is where you'll learn how to use the expansion
and you need some basic javascript knowledge
which you can get from the vast and wide internet or just go to w3schools.com
Hey i used %javascript_lore%
https://imgur.com/a/PuZ1J1N
it worked for like 2 seconds.
then it brakes.
no the lore one
that didn't just appear in your folder from nowhere
plugins/PlaceholderAPI/javascripts
and there will be a lore.js file
can you paste it?
?paste
https://hastebin.com/unuqahovoq.js is what I've got, but it aint working
so you said it returns lobby-1 lobby-2 etc?
Yes
give me 2 minutes and I can possibly make something. I'm not great at js so it will probably be messy
With that I just tried to remove the lobby- part of it
@turbid tide what about me?
I've taken a look at that Harvey but idk what is happening there xD
you'll have to ask someone who has more knowledge about js or the creator of that
whoever he/she is
Did not clip make it?
can you try to make one for me?
javascript expansion is made for you to make those files
well I told you I have no experience so i don't even know how the other one was made
Blitz still nothing helped, couldn't it be caused by some problem because PlaceholderAPI is just DEV version? Or it could be problem in LuckPerms...?
https://hastebin.com/abululubul.js @past lily
I think this one should work
Blitz still nothing helped, couldn't it be caused by some problem because it's just DEV version? Or it could be problem in LuckPerms...?
@honest pulsar I mean you could always try and download the release version and see if that works but I have no idea
also maybe send a startup log
?startuplog
?paste
also if you want to change the colours shadowchild I guess you know how?
Yea
Blitz -> https://hastebin.com/ujasisodof.md
Hey @mint fable may I have the JavaScript pls
@keen crown,
did you read what i sent
just change 50... to %placeholder% I guess
and customize it if you need
Thanks!
idk @honest pulsar maybe move back to 2.10.6
it literally says the expansion luckperms was successfully loaded
[20:06:35] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: luckperms
also you might want to check this
Blitz I got the problem, for the fu... sake. It was problem in LuckPerms because there was some weird problem with - You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
xD
properties:
useUnicode: true
characterEncoding: utf8
useSSL: false
go there and add or change useSSL from true to false
in LuckPerms config.yml
Yeah. I did it and now it is working fine.. Finally.. I was trying to fix this problem all day long.. 😄
Yeah. As I said it was caused by LuckPerms error.
Well.. 😄 Me too. Yeah, all fine with PAPI, good to know.
Is it normal to get warnings about loading classes not being a depend, softdepend or loadbefore of PlaceholderAPI?
Ok.
its not an error or anything bad just lets you know
Thank you for the info. 🙂
no problem
Ok, I have a message that one of my expansions needs to be updated, but I don't see with one. /papi ecloud list installed only shows 6 expansions, but it says I have 11 registered.
some probably are built into the plugins
also to update it just /papi ecloud download Name
/papi reload
I think that will automatically update them
So what do I do if none of the ones on my list need updated, but it says I have an update?
doesn't it say which one?
Nope.
1 installed expansions have updates available.
That is the only message in console on startup.
go to plugins/PlaceholderAPI/expansions and see if you don't actually have 11 there
maybe they just don't show in list
I have no idea
Yeah, if it causes any issues, I'll come back, but I'm not going to worry about it otherwise. 🙂
https://gyazo.com/a44d90f59d440d025326d3f564c96568 My placeholders arent working anyone know why its not working
what if you do /papi parse me %placeholder% do they work there?
do you have the latest version of the plugin?
Thank you Blitz. I appreciate the help. 🙂
no problem
NOTE: Requires latest build of these plugins above! and the plugin got updated today
so maybe you didn't update?
No bit i tried lateset version and it dident work aswell
and the island placeholders is blank but papi parse does work
what version of PAPI are you using?
2.9.2
oh that's probably the problem then
it requires latest of PAPI
2.10.6 is latest release
=pl PlaceholderAPI
also use latest version of the mobcoins plugin
well it says its required
so update both plugins
and if that doesn't work
send the startup log
uhm have fun reading 1k lines xD
don't wory about me xD I'm trying to help as much as I can
but when I added latest my chat color placeholder broke
and what placerholder is the other one?
%superior_island_level_format%
yeah we'll deal with that after
ok
is that placeholder from this: https://www.spigotmc.org/resources/⚡️-superiorskyblock2-⚡️-the-best-core-on-market-⚡️-a-new-era-for-skyblock.63905/
?
so the problem with the superior island level format placeholder might be the fact that the scoreboard has a limit of characters
so try moving the placeholder on another line
like under
or something
its formatted so only like 4char
because you said it does return something (empty line means it still returns something) so its probably that
see what I mean
does the other one work tho?
wdym other one?
ye it does work
ok so that's good.
the problem for both those that do not work in scoreboard
is the limit
so split it in 2 lines
in one its the text
and in the other one its the placeholder
its the only way I can think rn
chat?
yeah
maybe i have to enable this https://gyazo.com/c5a988cabf74168396f85e1fb8a03325
xD
have to enable that I guess
so you said that /papi parse me %placeholder% works for both that don't work in scoreboard right?
yes
the scoreboard config?
yep
its TAB plugin 1sec
sorting-type: GROUPS
sorting-placeholder: '%some_level_maybe?%'
case-sentitive-sorting: true
unlimited-nametag-mode-dynamic-lines:
- abovename
- nametag
- belowname
- another
unlimited-nametag-mode-static-lines:
myCustomLine: 0.66
scoreboard:
enabled: true
toggle-command: /sb
remember-toggle-choice: false
use-numbers: false
disable-in-worlds:
- disabledworld
default-scoreboard: noisland
scoreboards:
noisland:
title: '&d&lGalaxies&5&lMC'
lines:
- '&7%server_time_EEE, MMM d, yyyy%.'
- '&r'
- '&e&lYOU'
- '&6&l* &fRank: &7%vault-prefix%'
- '&6&l* &fMoney: &e$%vault_eco_balance_formatted%'
- '&6&l* &fIsland: &d%superior_island_level_format%'
- '&6&l* &fMobcoins: &c%supermobcoins_mobcoins%'
- '&r'
- '&a&lSERVER'
- '&2&l* &fPlayers: &e%online%'
- '&r'
- '&7&nplay.galaxiesmc.net'
scoreboard-on: '&5&l[!] &dYou have &f&nenabled&d your scoreboard.'
scoreboard-off: '&5&l[!] &dYou have &f&ndisabled&d your scoreboard.'
placeholder-output-replacements:
'%tps%':
'20': '&a20.0'
allign-tabsuffix-on-the-right: false
extra-character-widths:
65330: 6
65365: 5```
so weird. Idk why it wouldn't work. Maybe contact the TAB developer?
they wont help me bc I cant verify
its so stupid
i work for an owner and he bought so i can never verify
well ask him to verify
also maybe send that startup log. just in case that it says anything in there
?startuplog
just use https://paste.helpch.at
try updating. You are 1 version behind
but idk any other reason since you said it only returns like 3 characters and it works in /papi parse me %placeholder%
well it got an update
you are using 2.8.0
latest is 2.8.1
you'll need to message the owner to download the latest and update while you're sleeping
and if then it doesn't work ask him to connect for support
did placeholder get an update?
it has a dev build
for 1.16
but its not recommended
for a live server
you can see it in the pinned messages
send me link to 2.8.1 pls
its not this one
ill look
blitz
%math_<mathexpression>%
how did this work? I do not remember
yes
%math_[precision:0]{bungee_skywars1}+{bungee_skywars2}%
just change skywars1 and skywars2 to the name of your servers that you've set in bungee
no problem
you can use papi placeholders in MVDW plugins
you'll still need MVDWPlaceholderAPI
tho
and just use
i have it
ok thx
Is it possible to make an item so when you click it, it will open a website? please ping when respond
- how can I use custom head models in menus where I make the models just need to add them as display items
Hello, could someone help me? https://paste.helpch.at/heroluhotu
@near scroll Nope not possible
helps a lot bc there are 2 questions there
clicking something in a gui to open a website isent possible
It's not no, you can only send a link in chat
@near scroll
i dont wanna upload them to any websites or anything
You can upload it to your own account but then you have to get the skin signatura somehow
Try mineskin.org
does that do the skin or the player?
