#placeholder-api
1 messages · Page 190 of 1
Please respect the rules, be patient and don't ping staff members!
oops
probably need to update it
I have all the plugins in the latests version
Like Placeholders can't download the extensions for any plugins
"[09:56:54] [Server thread/WARN]: [HolographicDisplays] The plugin HolographicExtension registered the placeholder {fast} with the old v2 API, but it doesn't comply with the new format. In order to display it, you must use {{fast}} instead.
[09:56:54] [Server thread/WARN]: [HolographicDisplays] The plugin HolographicExtension registered the placeholder {medium} with the old v2 API, but it doesn't comply with the new format. In order to display it, you must use {{medium}} instead.
[09:56:54] [Server thread/WARN]: [HolographicDisplays] The plugin HolographicExtension registered the placeholder {slowest} with the old v2 API, but it doesn't comply with the new format. In order to display it, you must use {{slowest}} instead.
[09:56:54] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[09:56:54] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[09:56:54] [Server thread/INFO]: Done (88.439s)! For help, type "help"
container@pterodactyl~ Server marked as running...
[09:56:54] [Server thread/ERROR]: [PlaceholderAPI] failed to load class files of expansions
[09:56:54] [Craft Scheduler Thread - 3/INFO]: [SUCCESS] CustomJoinAndQuitMessages is up to date!
"
Oh I fianlly fixed my problem ty everyone !
I have a strange issue. I want to use placeholderapi scoreboard objectives in holographicdisplay plugin. The placeholders from papi looks like this: %objective_score_{<obj-name>}%
but in HolographicDisplays looks like this: {papi: name_of_placeholder}
so assuming it will be sth like this: {papi: objective_score_{ts_Deaths}}
I mean two }} near to each other. It does not work.
Ask them to change the format back https://github.com/filoghost/HolographicDisplays/issues/591
No idea why they strayed away from the normal %placeholder% format
other than that you can try using javascript as a workaround
making a js placeholder that just returns the value of the other placeholder you want
me too (mven)
have you added the papi repository
Anyone know the placeholder for battlepass_available_quests__%week%?
some one help me
this error
[19:51:29 WARN]: [PlaceholderAPI] Task #141 for PlaceholderAPI v2.11.1 generated an exception
org.bukkit.plugin.messaging.ChannelNotRegisteredException: Attempted to send a plugin message through the unregistered channel BungeeCord'. at org.bukkit.plugin.messaging.StandardMessenger.validatePluginMessage(StandardMessenger.java:544) ~[patched_1.17.1.jar:git-Paper-409] at org.bukkit.craftbukkit.v1_17_R1.entity.CraftPlayer.sendPluginMessage(CraftPlayer.java:1722) ~[patched_1.17.1.jar:git-Paper-409] at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.getServers(BungeeCordExpansion.java:108) ~[?:?] at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.access$100(BungeeCordExpansion.java:45) ~[?:?] at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion$1.run(BungeeCordExpansion.java:201) ~[?:?] at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Paper-409] at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[patched_1.17.1.jar:git-Paper-409] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1567) ~[patched_1.17.1.jar:git-Paper-409] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:490) ~[patched_1.17.1.jar:git-Paper-409] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483) ~[patched_1.17.1.jar:git-Paper-409] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282) ~[patched_1.17.1.jar:git-Paper-409] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-409] at java.lang.Thread.run(Thread.java:833) ~[?:?] [19:51:43 INFO]: 1B_nxy issued server command: /hd delete testing
Multiple bungee expansions loaded.
Go to plugins/PlaceholderAPI/expansions and delete all the BungeeExpansions, then execute a /papi reload. After that redownload the expansion using /papi ecloud download bungee then /papi reload.
[19:51:59 WARN]: [PlaceholderAPI] Task #141 for PlaceholderAPI v2.11.1 generated an exception org.bukkit.plugin.messaging.ChannelNotRegisteredException: Attempted to send a plugin message through the unregistered channel BungeeCord'.
at org.bukkit.plugin.messaging.StandardMessenger.validatePluginMessage(StandardMessenger.java:544) ~[patched_1.17.1.jar:git-Paper-409]
at org.bukkit.craftbukkit.v1_17_R1.entity.CraftPlayer.sendPluginMessage(CraftPlayer.java:1722) ~[patched_1.17.1.jar:git-Paper-409]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.getServers(BungeeCordExpansion.java:108) ~[?:?]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.access$100(BungeeCordExpansion.java:45) ~[?:?]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion$1.run(BungeeCordExpansion.java:201) ~[?:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Paper-409]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1567) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:490) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-409]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[19:52:29 WARN]: [PlaceholderAPI] Task #141 for PlaceholderAPI v2.11.1 generated an exception
Multiple bungee expansions loaded.
Go to plugins/PlaceholderAPI/expansions and delete all the BungeeExpansions, then execute a /papi reload. After that redownload the expansion using /papi ecloud download bungee then /papi reload.
oops
@high hemlock follow this
Hey!
I am trying to get a placeholder for amount of sugar cane the player as break, anyone know how to do this?
/papi ecloud download Statistic
/papi reload
%statistic_break_item:<material>%
Doesnt work for me. Could not get the statistic 'BREAK_ITEM' for 'SUGAR_CANE'
Thank you, I will give that a try now.
[14:07:20 ERROR]: [PlaceholderAPI] [Statistic Expansion] Could not get the statistic 'MINE_BLOCK' for 'SUGAR_CANE'
java.lang.IllegalArgumentException: The supplied Material does not have a corresponding statistic
at org.apache.commons.lang.Validate.notNull(Validate.java:192) ~[server.jar:git-TacoSpigot-bf023c7d]
at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.getStatistic(CraftPlayer.java:701) ~[server.jar:git-TacoSpigot-bf023c7d]
at com.extendedclip.papi.expansion.mcstatistics.StatisticsExpansion.onRequest(StatisticsExpansion.java:195) [Expansion-Statistic.jar:2.0.1]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:237) [PlaceholderAPI.jar:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:377) [PlaceholderAPI.jar:?]
at me.clip.deluxemenus.menu.MenuItem.getItemStack(MenuItem.java:320) [DeluxeMenus.jar:?]
at me.clip.deluxemenus.menu.Menu$2.run(Menu.java:246) [DeluxeMenus.jar:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59) [server.jar:git-TacoSpigot-bf023c7d]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) [server.jar:git-TacoSpigot-bf023c7d]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_312]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_312]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]
Yeah, thanks anyway 😄
do you have vault installed
i cant use bungee placeholders
helpppp
[19:52:59 WARN]: [PlaceholderAPI] Task #141 for PlaceholderAPI v2.11.1 generated an exception
org.bukkit.plugin.messaging.ChannelNotRegisteredException: Attempted to send a plugin message through the unregistered channel `BungeeCord'.
at org.bukkit.plugin.messaging.StandardMessenger.validatePluginMessage(StandardMessenger.java:544) ~[patched_1.17.1.jar:git-Paper-409]
at org.bukkit.craftbukkit.v1_17_R1.entity.CraftPlayer.sendPluginMessage(CraftPlayer.java:1722) ~[patched_1.17.1.jar:git-Paper-409]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.getServers(BungeeCordExpansion.java:108) ~[?:?]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.access$100(BungeeCordExpansion.java:45) ~[?:?]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion$1.run(BungeeCordExpansion.java:201) ~[?:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Paper-409]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1567) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:490) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-409]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[19:53:29 WARN]: [PlaceholderAPI] Task #141 for PlaceholderAPI v2.11.1 generated an exception
Multiple bungee expansions loaded.
Go to plugins/PlaceholderAPI/expansions and delete all the BungeeExpansions, then execute a /papi reload. After that redownload the expansion using /papi ecloud download bungee then /papi reload.
does not WORK
yes
help
%player_has_permission_mysqleconomybank.use%
this is always returning yes even the permission is removed froma player
any possible fix?
lp user narayanadi2017 permission set mysqleconomybank.use slimefun false
[17:50:51 INFO]: [LP] narayanadi2017 already has mysqleconomybank.use set in context server=slimefun, world=false.
papi parse narayanadi2017 %player_has_permission_mysqleconomybank.use%
[17:50:54 INFO]: yes
console output to show that i set perms to false
i need help for this error 🤔
Your command syntax is wronf
as you can see, the permission is set on server=slimefun and world=false
put false after the node
ok thx
yes i figured out and fixed 🙂
thanks
Np
Anyone help with this? ^^
reporting this on github
Thanks
%statistic_mine_block:SUGAR_CANE_BLOCK%
@steady field try this once
Will try that when I get back on my pc 🙂
okay
Could you help me, I have this error but if I have the vault installed https://imgur.com/KTuIAiF
gaby
?
?
?
?
How can i do edit expansion or create?
to add an expansion do /papi ecloud download <expansion> then /papi reload to remove one go to plugins > placeholderapi > expansions > then remove the expansion
https://gyazo.com/06b25ceb0e3bf9f62f2440cbce9dfc07.png
https://gyazo.com/e4598fb42a74c4baf109c539ddc2ffd3.png
material: head-%essentials_baltop_player_0%
slot: 12
update: true
display_name: '&b&l[!] &f&n%essentials_baltop_player_0%&7 (#1)'
lore:
- ''
- '&f&l* &b&lBalance &7$%vault_eco_top_balance_commas_1%'
left_click_commands:
- '[close]'
right_click_commands:
- '[close]'```
I have the PAPI extension from [#placeholder-api message](/guild/164280494874165248/channel/573429521554866178/) installed for the Baltop placeholders. When I run the /baltop command, it shows this; https://gyazo.com/decfaa316dab021b3a6d5c87d374e4eb.png, Although both me and another user have more than $0.
When I open up my DeluxeMenu, This is what shows up.
https://gyazo.com/03badc9ffe2f348ab423adf14796975a.png
https://paste.helpch.at/ofukehiner.md anybody know what that means? it happens on startup, i just recently got back into minecraft servers and the old papi plugin was outdated and i didnt want to start over with /papi ecloud download every plugin i have. so i just left the folder in and tried to start it up but not sure what to do now.
Update the server expansion @compact wharf
how do i do that?
/papi ecloud download server
ah lol thanks
No i want to write a new expansion
If you're wanting to create a PlaceholderAPI Expansion follow this: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/PlaceholderExpansion
??
It didn’t work
Same error?
Yeah same error. It’s weird.
sry abt the caps
Is there any point using Placeholder API asynchronously for PlayerQuitEvent? It means I can't use the display name, and I think there's a reason why the event itself isn't async. I just don't want to lag the server.
hey im getting this error
[11:30:25 WARN]: [PlaceholderAPI] [math] Placeholder: %math_0_{player_health}/2%
[11:30:25 WARN]: [PlaceholderAPI] [math] '{player_health}/2' is not a valid Math Expression.
can someone guide me
%math_{player_health}/2%
Yeah
still does not work
Do you have player expansion installed?
no
/papi ecloud download Player
it worked thanks!
👍
btw is there any placeholder that shows the number of hearts a player has(in number) instead of the health
eg - ❤️10
like that
%player_health_rounded% %player_health_scale%
Try both , idk which one is that
alr
i tried the %player_health_scale% and it shows 20hearts when i only have 10
🤦♂️
ik im dumb '-'
How much it shows when you have full hearts
Bruh, that's not what i mean
20.0
ow
Smh
ima wait ig
are there dev builds of this plugin?
Probably from https://ci.extendedclip.com/job/PlaceholderAPI/
Can anyone answer? Just because my question has been hidden by other messages and I feel that it's probably a fairly simple question.
It should be a pretty light event so I don't see why you'd need to run it async
Unless you're doing something dumb in it
I was more worried about the placeholder processing taking time.
when I type /papi ecloud download Player or any other expansions it says there is no expansion named Player. can someone help?
It's almost instant so you shouldn't need to worry too much.
Of course not as quick as getting the actual data from somewhere though instead of passing it through a placeholder
If there are thousands of players joining and quitting it will probably be an issue. And I can't guarantee that won't be the case.
I plan to make it public. That's why.
You can probably make a pretty simple performance test if it worries you that much
Even if it's 1ms, that a thousand times a second isn't good. Although that hypothetical server should probably get a queue plugin.
Yeah I don't really think any server has a thousand players joining every second :P
iirc if the chat event is not async, it listens on the main thread and it delays chat a bit so
async, not delayed. I really need to get some sleep lmao
Okay. Don't want to keep you awake!
I'm pretty sure there's a sync chat event too that works perfectly fine.
Oh yeah there is
Hold on.
But you really shouldn't have to worry too much about doing your join/leave events on a different thread.
I'm just a bit worried because the event sometimes takes 19ms.
What placeholder are you parsing?
And the chat events are on another thread.
Just a simple %player_displayname%. It's probably because it needs to initialise its cache the first time thinking about it.
Right, why do you need to use a placeholder for that though?
So it can be configured to display other info.
It's also calling the placeholder function quite a lot of times.
Oh are you adding like a configurable message when a player leaves?
I'm creating a Discord bridge. I just want it to be more object-based, extendable and customisable than alternatives.
The config will probably help you understand more: https://paste.helpch.at/eponunotip.yaml.
No pressure to help me if you don't want to and need some sleep.
Very interesting. But yeah I think you're good to use any placeholders there. If performance ever becomes a problem you can probably look into making it async, but I doubt that'd really happen
I just wanted consistency because I don't want chat to be async and other events to be sync
I'm probably just obsessed with making things work in every possible situation.
I guess 0.5-2 ms isn't bad, then?
It most definitely is not haha
Did you do any performance tests to get that?
Just a subtraction xD
long start = System.nanoTime();
plugin.sendEventToDiscord("quit",
new MinecraftToDiscordEvent(event.getPlayer()));
System.out.println(((System.nanoTime() - start) / 1000000F) + "ms");
Very advanced performance tests
beautiful
It seems like you're putting in the whole event to the test too, not just the placeholders. Would be even quicker if I had to guess
Unless that's the async one you talked about
It sometimes even takes 6ms, but I guess servers don't usually have a web browser and IDE in the background, and a better CPU would probably not even care.
Yeah, and also in the extreme case that like, a hundred players join at the same time or whatever, I'm pretty certain there'd be some other things bogging down the server WAY more than your placeholders haha
It would matter more if the competition was better.
The competition being the Minecraft server.
Is it possible to have in my scoreboard:
Players alive: 77
Death players: 23
(And the players who have died are in spectator)
Maybe run /papi ecloud refresh and try again?
Most likely will have to download the expansions from the website
can you send website link to download them?
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.
see ^^
thanks
how to install papi of bedwars 1058 ?
/papi ecloud download BW1058Plus
ty
uh thank u im very stupid
Use these on latest plugin version
I'm on spigot 1.8.8
Follow these 😉
having an annoying issue
papi world name doesn't wanna work with my scoreboard(s)
I've tried a couple
none wanna work
it just shows nothing
@placid thorn Have you downloaded the expansion?
do other papi placeholders work?
yup-
perfectly fine
as one of the alternate scoreboards had placeholders by default
And which one are you trying atm?
couple expansions have a way to do that
nah, I thought you meant a couple placeholders
%player_world% is one way
ohh
try that
ok
k that worked
thx]
k @mint fable is there a world to make it use the world alias instead (I use multiverse)
@mint fable Unknown expansion.
ah well, it's on the link I sent

ayo
👍
Hey maybe I misunderstand how the placeholder api works. But how often does placeholder api refresh? Especially if you make custom player data?
It doesn't refresh
It is just an API. You have to update your parsing of the placeholder however often you want it to refresh
Thanks
opes
Hey, it's possible to create a javascript to show average blocks mined per day of one player having %ezblocks_blocks% for example?
I could pay for it, thanks!
help
i have installed the plugin and started my server
but when i do /papi ecloud download [what i need] it says unknown command
and if i do /pl it says there is no PAPI
check for errors in console
the plugin is enabled or not
yea there is a very long error
send
maximum characters
use /paste
thats the one
can you send the rest of the error below it
yeah
probably a load of lines starting with 'at'
@empty wyvern are you using bukkit 1.7?!
yup sad
lol
hi guys i really need a support to help me
7 years?
almost 8
with what mate? I can't guess what your problem is
what does "is not working nice" mean? what's not working exactly?
when i enter the command /papi ecloud download ... it say the command is not reconise
Mimmoll btw PAPI doesn't support 1.7.# anymore. so that's probably what's going on there.
yes
What hosting do you use?
I mean PAPI was never meant to work on modded servers so maybe. can you restart your server and send a startup log?
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.
nope. my dms are closed. you should put it in a paste bin and send it here.
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
ok
how can i send u a picture i can't get the logs
i will send u the error message on minecraft
why can't you get the logs?
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.
because there is command blocks how is spamming on the cmd
when i enter the command /papi ecloud download MVdW it saying "inpout command ecloud was not a valid subcommand" usage: /papi reload:enable:disable:parse:list:info
can i download manually the MVdW ?
plugins/PlaceholderAPI/expansions
thx
Hi, is this where I can ask for questions/concerns for Javascript?
Hey guys, wanted to ask if Papi is also available for version 1.18.2?
yeah
Do you know why he doesn't show me the money I have? https://prnt.sc/gZo-lcjYN_Mi
Do you have vault expansion installed
I have it installed even tried manually but it doesn't work either
Which economy plugin u using?
GemsEconomy
Use it's placeholder
or any other that you recommend me to use?
I am using CMI
There are several plugins on spigot, search some
Yes, but I don't understand why vault doesn't work for me a few days ago it worked fine for me Thanks
Is it up to date
If it is your latest version
I have this crazy idea to give players a command like /nft that adds a unique code to the lore of the item they are holding.
Only issue is im not too sure how to go about making said code. I was thinking some placeholder in the command. like I could use their UUID but i feel eeeh about having that viewable by other players. is there some kind of way i could add SALT to the UUID so it cant be reversed back but still be unique?
Use random number placeholder
Im not sure that's quite what i'm after. Would be nice if they could make more than 1 stack the same and couldnt someone else get the same random number?
the idea was to be unique to a player. I guess to that extent just their name would work..
I think you can do brainstorming with this expansion to achieve desired result @clear dust
Hmm yes indeed.
I may be able to let the players type in their own code. and auto gen the permission node part for them. IE check if they have XX.Name if not add it. then rest of command to add lore.
nvm wont work as the placeholder would be in the lore of the item it would not update depending on who is looking at it.
still a really cool placeholder tho ty
uuid is visible to everybody via a google search
hi i want to use this %server_time_MMM dd, yyyy% but coz im greek it shows the Mar (MMM) with greek letters. How can i change that to english?
try using LocaleTime expansion
How can I get a placeholder of a other player? e.g. %luckperms_prefix%
wdym?
I want in a msg-system to get the prefix of a other player
Not of the player that sees the message
/papi ecloud download ParseOther
the parseother expansion allows you to parse placeholders for other players
quite confusing
%parseother_{OTHER-PLAYER-NAME}_{PLACEHOLDER-WITHOUT-%}%
Thank you! :D
How can I write a space in a placeholder argument?
You have an expansion for MineReset and you don't have the plugin for it. Remove the expansion.
in expansions folder
?
I want to use the ChangeOutput expansion to display a text if a placeholder is not null
yo... what expansion
hello every1 is there a way to display with placeholders multiples luckperms suffix? something like the same person have the group 1, 2 and 3, and i want to display in the chat the suffix of rank 1, 2 and 3 at the same time
Hello all!
I come with my beginner question.
Currently i am trying to configure server running tab/holographic display with papi and i am not able to insert anything vault related.
I wanted to make scoreboard with some statistics and put there players balance as well, but this happens (Image)
I tried use it in holographoc display but neither is it working there.
Is vault / papi not working properly or i am just ret*rded and made some mistake along the way?
@winter kindledo you have installed the ecloud expansion for vault?
THE___BULDI___ — today at 21:58
yo... what expansion
run in this order:
/papi ecloud download vault
/papi reload
bro... ❤️
ⁿᵒ ʰᵒᵐᵒ
but... hd i still refusing to cooperate
what was that neat thingy to tell it that i want papi placeholders, not it's own?
i dont use hd btw but check out the config or try making a reload
do you have HolographicDisplayExtension?
as well as enabled the vault eco top in the placeholderapi config
it doesnt show up un ecloud download
❤️
ⁿᵒ ʰᵒᵐᵒ ᵃˢ ʷᵉˡˡ
let me know how it goes
how do I make it so when I put the vault economy placeholder, instead of $0.0 it should be $0
%vault_eco_balance_commas%
or use the math expansion to get rid of decimals if u have a preferred placeholder but it keeps the .0
I'm trying to make a leaderboard scoreboard for breaking the most diamond ore, however I can't seem to find a way to tie the player's name to the amount of blocks broken. I'm using the Scoreboard Objective expansion, but not sure how to tie a playername to the ranking on the objective.
Tysm been looking for that for ages
https://gyazo.com/06b25ceb0e3bf9f62f2440cbce9dfc07.png
https://gyazo.com/e4598fb42a74c4baf109c539ddc2ffd3.png
material: head-%essentials_baltop_player_0%
slot: 12
update: true
display_name: '&b&l[!] &f&n%essentials_baltop_player_0%&7 (#1)'
lore:
- ''
- '&f&l* &b&lBalance &7$%vault_eco_top_balance_commas_1%'
left_click_commands:
- '[close]'
right_click_commands:
- '[close]'```
I have the PAPI extension from [#placeholder-api message](/guild/164280494874165248/channel/573429521554866178/) installed for the Baltop placeholders. When I run the /baltop command, it shows this; https://gyazo.com/decfaa316dab021b3a6d5c87d374e4eb.png, Although both me and another user have more than $0.
When I open up my DeluxeMenu, This is what shows up.
https://gyazo.com/03badc9ffe2f348ab423adf14796975a.png
If you remove the extension does /baltop function normally again?
Also looks like you should update deluxemenus and maybe essentials
Statistics expansion
no didn't work
same thing
can anyone else help me? i want to show the date like Apr 1 2022 but the Apr is shown with greek letters coz im greek and i wanna change that to english
Hello, could I somehow prevent that from spamming my console when new player joins? It happens only because he has 0 from both of the placeholders, for other players it works fine without spamming
12:57:27[WARN] [PlaceholderAPI] [math] Placeholder: %math_{statistic_player_kills}/{statistic_deaths}%
12:57:27[WARN] [PlaceholderAPI] [math] '0/0' is not a valid Math Expression.```
server expansion have no support of locale
I created a request on github
Thank you.
Try running the server with -Duser.language=en -Duser.country=US before the -jar option.
In start.bat?
in startup flags
yes that
Ok i'll try
So there is not other way to do it with papi expansion
Only with that way or if it don't work then i must find a plugin for that thing
yeah
Please respect the rules, be patient and don't ping staff members!
Meanie, He asked me a question
in you run /baltop twice does it load or nah?
has deluxetags been removed from papi?
tried /papi ecloud download DeluxeTags and it said couldnt find expansion
DeluxeTags no longer requires an expansion! Go to plugins/PlaceholderAPI/expansions and delete the DeluxeTags expansion. Restart the server afterwards.
hmm mr barry i shall see if that works
jesus im talking to a bot i need some sleep lol
he’s a good bot it’s okay
hi can anyone help me?
https://pastebin.com/D5pZerWu and plls help with my console he have errors
@mint fable can you help pls?
Please respect the rules, be patient and don't ping staff members!
use %player_name%
make sure you have the Player Expansion installed
/papi ecloud download Player
/papi reload
again not works
i have alr downalod
but no works
never heard of gui+ but i recommend using deluxemenus for any guis
download the expansions from the website instead ig
guys, if my identifier is player_vote_event
what does the 'params' actually returns in public String onRequest(OfflinePlayer player, String params) ?
example player_vote_event_XYZ ?
I mean, does it returns "XYZ" ?
yes
hmm, but for some reason, when I parse
% player_vote_event_acBee %, it does not parses an integer
` @Override
public String onRequest(OfflinePlayer player, String params) {
if (plugin.getStatsCache().containsKey(params)) {
return plugin.getStatsCache().get(params).toString();
}
return null; // Placeholder is unknown by the Expansion
}`
Hey, so I'm trying to create an expansion (within a Plugin JAR) and it seems to be hooking into PAPI
Console https://paste.helpch.at/divijojuhu.md
Code https://paste.helpch.at/iwiwowadit.java
Main Class https://paste.helpch.at/ahicinubuc.cpp
When I try parsing it, it just won't. https://prnt.sc/6d9IrrxKZs21
Same happens for tab.
nvm i forgot to put it in my softdepend
which part of it?
just set that per npc
i want the name of the lobby in where lobby he is
okay no problem
more
i need that not
Guys my custom placeholders are not working and i can't understand why
this is my code
public class Placeholders extends PlaceholderExpansion {
private final Knockffa plugin;
public Placeholders(Knockffa plugin) {
this.plugin = plugin;
}
@Override
public @NotNull String getIdentifier() {
return "techwolfx";
}
@Override
public @NotNull String getAuthor() {
return "MasterWolfx";
}
@Override
public @NotNull String getVersion() {
return "1.0";
}
@Override
public boolean persist() {
return true;
}
@Override
public boolean canRegister(){
return true;
}
@Override
public String onRequest(OfflinePlayer player, @NotNull String params) {
/*if (params.equalsIgnoreCase("name")) {
return player == null ? null : player.getName();
}*/
User user = plugin.getDb().getUser(player.getUniqueId().toString());
if (user == null)
return "error";
if(params.equalsIgnoreCase("kffa_kills")) {
return Integer.toString(user.getKills());
}
if(params.equalsIgnoreCase("kffa_deaths")) {
return Integer.toString(user.getDeaths());
}
if(params.equalsIgnoreCase("kffa_test")) {
return "hello";
}
return null;
}
}
This is what i get on console when loading plugins: [PlaceholderAPI] Successfully registered expansion: techwolfx [1.0]
and when i try papi parse is not working
it just show the placeholder
what placeholder are you giving it?
it should be formatted as %identifier_params%
so there, %techwolfx_kffa_kills%
Hey there, i'm trying to use PAPI for a DeluxeTags placeholder in animated scoreboard, but it's not working-
When I run "/papi ecloud download DeluxeTags" it says "Failed to find an expansion named: DeluxeTags"
And when I run "/papi parse me %deluxetags_tag% it says
"An internal error occurred while attempting to permorm this command"
Can anyone pretty please help?
DeluxeTags no longer requires an expansion! Go to plugins/PlaceholderAPI/expansions and delete the DeluxeTags expansion. Restart the server afterwards.
barry is a good man
what are possible reasons that my placeholder isn't registering?
Hi there my friend got my IP stolen on my server what should i do
Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.
how do i get the placeholder that shows the number of players online in sub server (im using bungee)
ah thanks
yup
the second one is what you need i presume
have you recently removed a quests plugin
if so, you still have the papi expansion installed and should remove the jarfile
i have not removed quest plugin
is anything red in /pl
nope
i disabled the quests jar it fixed the issue but it wasnt there before
@radiant notch exactly. you have the quest expansion but not the plugin. the plugin is disabled so the expansion breaks
no before i had the expansion and the plugin it was working fine
all of a sudden it broke and i disabled the expansion and its working fine now
yes. exactly. the expansion breaks and it takes down the entire loader with it
%armor_amount_SLOT%
Is this the only placeholder to parse item armor that a user is wearing ?
which means no expansion after the quest one loads
ah okay
bro you know placeholder team of bw1058 ?
Please respect the rules, be patient and don't ping staff members!
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait
does papi world with holograms???
cuz idk the bungee placeholders isnt working with holograms
If the hologram plugin does support PlaceholderAPI, the placeholders should get parsed, yes
im using the normal holographic displays
If you're using v2, you need to install the HolographicExtention, or whatever is called; otherwise join their discord server for support
im using the latest version
otherwise join their discord server for support
arrow-code
autosellapi
best-vps-deal
bug-with-dd
challenges
checkitem
codeblocks
colors
database
dc-fuuid
dc-towny
di
dictionary
discorddev
dm-1.10.5
dm-base64
dm-builds
dm-deny
dm-editor
dm-external
dm-filler
dm-glow
dm-heads
dm-requirements
dm-update
docs```
ecloudblock
enchant-format
enchants
entities
ess-builds
flags
help
hidden-roles
hosting
hosting-free
hosting-paid
hotswap
imgur
item-data
javadocs
jdk
js-factionname
js-tag
json
learn-java
luckperms
materials
mf
need-help
nojquery
not-discord```
open_requirement
open_requirement:
optimize
papi-builds
papibot
particles
paste
placeholders
player
pls-no
plsnoarrowcode
plsnolombok
roleperks
site
solid
sounds
spigot
spigotid
startuplog
tagess
tryandsee
welcome-screen
wiki
xy
yaml```
Hey, Placeholder api support AdvancedNMotd plugin?
Hi there guys!
This placeholder of MATH, doesnt parse when both placeholder equals 0
Basically when a new player joins
%math_2:2_{statistic_player_kills}/{statistic_deaths}%
it goes the other way around. advancednmotd needs to support PlaceholderAPI.
do you know if it supports?
well yes. bcz division by 0 is impossible. languages like java just throw an exception usually.
afraid I do not know. it is not specified on their spigot page either.
do js or python throw errors for division by 0?
Mmm i see
they seem like the kind of languages which wouldn't
Any way to resolve this?
I have no idea.
but yeah you might be right. xD
javascript has a value for infinity?
lol
I was thinking maybe, when you divide something by 0, then apply the first value?
Like if its 5/0, then it would apply 5?
I don't know any I'm afraid. you'll have to talk to andre (the developer of the expansion) and ask for a fallback or something. idk.
you can open an issue here https://github.com/Andre601/Math-Expansion/issues
is there any placeholder that shows something that &aonline and &coffline depending on server's status?
Pinger
and how does it work
How to use Expansions in config.
I put
essentials_afk
'true': 'Absent'
'false': 'Online'
But nothing change.
this works when the server's port is opned doesn't it?
Please respect the rules, be patient and don't ping staff members!
could anyone helo by chance? having many errors with papi and im on latest 18.2
heres pastebin
helo 👋
Jokes aside seems like its having issues with the %player_ping% placeholder
- Try updating the expansion with /papi ecloud update Player
- try to just not use %player_ping%
woohoo
Good luck! 👍
LOL i did papi update all andd wallah
what a blessing
only plugin thats broken rn is nte [nametagedit'
Is there a placeholder for adding two bungee network online players together to get the total?
Survival 1 + survival 2 = survival total playing
use math placeholder
Hello?
I had a problem with papi where everytime I restarted the server i had to register the jar files for expansions
and it's getting tedious
There seems to be some invalid syntax in your config! You can paste it into https://yaml.helpch.at/ in order to find out where your issue is!
i do not understand this
why does it say this
i litterly didnt have this error when i did the same thing
Would be good to see the file it's complaining about.
hello to everyone who needs a developer of servers and assemblies
hello
I want to display the number of block pose I saw on placeholderapi that the placeholder %aach_total_places% but I can not put it in the tab is this normal?
Is Placeholderapi up-to-date?
also what do you have in the expansion folder
no have expansion
i search a good place holder for block places player
Found the placeholder
%playertime_time%
but
here u
go
o
Does anyone know?
%statz_blocks_placed% no work with tab
I know this is a very niche request, but does anyone know a placeholderapi expansion which I could use to randomly divide players into groups?
So like player 1 would be group A and player 2 would be group B
add " java "
javascript orr javaskript
first one
Bingo
javascript is broken
Idk, i've been asking for that for a long time
We got the same issue where javascript parse is blank
called skipi or somethin
i'm very confused
Keomute
you are saying javascript
Vpx wants Skript variables
javaskript is not a thing
Both come to the same result, blank when parse
rlly ?
you want this
it's called skript/skippi
🤔
💀
dl from here
follow install instructions on website
how about javscript thinggy. I saw one in a premade setup. The placeholder is %javascript_example2% and the result when parsing is A location, but when i pasted it into my server, it is a blank line
@livid falcon skript is a plugin that allows users to basically write events in a scripting language instead of making a java plugin from scratch
example of a skript
player has permission "Skript.boom"
create explosion with force 3 at targeted block```
weird ik
Sorry, is not locatio, but still, it returns ranks instead of a blank line like mine
send picture of /papi parse me %vault_rank%
also this before i forget
@austere hawk Is it working?
that's not for you
Is your skript working now?
It returns my rank
u mean this ?
ihy @versed warren
Please respect the rules, be patient and don't ping staff members!
@versed warren
Please respect the rules, be patient and don't ping staff members!
no
that's the .js file
I need javascript_placeholders.yml
oh?
I forgot to add example2 to these placeholder


sorry, sometimes my brain goes stupid
happens
😂
Just seen my placeholders aren't working. Even just doing papi reload gives me an error:
https://pastebin.com/UZUMN1Cu
Does PlaceholderAPI support version 1.8? or It only support 1.8.8?
i think 1.8.8
What's the reason of using 1.8 over 1.8.8?
Because I want my server to support version from 1.8 to 1.18
Is it possible to get raw data from item?
Like?
hello u have this problem
[06.04 03:35:43] [Server] [ERROR] [PlaceholderAPI] failed to load class files of expansions
[06.04 03:35:43] [Server] java.util.concurrent.CompletionExceptionjava.lang.UnsupportedClassVersionError: ch/andre601/mathexpansion/depencencies/caffeine/PWAR has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
[06.04 03:35:43] [Server] at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1606) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1067) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1703) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:172) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] Caused byjava.lang.UnsupportedClassVersionError: ch/andre601/mathexpansion/depencencies/caffeine/PWAR has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
[06.04 03:35:43] [Server] at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.lang.ClassLoader.defineClass(ClassLoader.java:756) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.net.URLClassLoader.access$100(URLClassLoader.java:74) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.net.URLClassLoader$1.run(URLClassLoader.java:369) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.net.URLClassLoader$1.run(URLClassLoader.java:363) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.net.URLClassLoader.findClass(URLClassLoader.java:362) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] at me.clip.placeholderapi.util.FileUtil.findClass(FileUtil.java:62) ~[?:?]
[06.04 03:35:43] [Server] at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$6(LocalExpansionManager.java:359) ~[?:?]
[06.04 03:35:43] [Server] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604) ~[?:1.8.0_271]
[06.04 03:35:43] [Server] ... more
The plugin (or program) you are trying to use was compiled using a newer Java version than the one you using.
To find what version you need, start from 52 which is Java 8 and for example, 60 is Java 16. (8 + 8 = 16 => 52 + 8 = 60)
can i get a version of math papi extension that works on java 52?
nope, use Java 11
any good way to store a players name as a placeholder? for later use.
maybe with some unique key to reference it.?
yes but I need to be able to save that some how. and use that name when another player runs a command.
think like a pay command.
I have some perks that players can enable for the whole server. Id like to store the name of the player that activated it so when another player say bob right clicks it it can thank the activator.
I cant fetch the activators name from anywhere.. 😦
so if i could store it when activating.
sounds like a plugin lol
placeholderapi doesn't store information, it is just an api
maybe so :/ need a single command /savename <key> <nametosave>
placeholder %savename_<key>% returns name/string saved.
Use mysql database i guess
Mysql expansion already available
that seems like a whole rabbit hole of effort for a small feature.
@clear dust what you exactly wanna do, it's confusing
I have a Dmenu thats starting timed permissions. I want to save the player that activates the permission ( they click the menu ) and have that name used later by other players right clicking that same menu item.
Kind of offtopic for here at this point.
Make a permission and give it to the player opening it for the first time and use %luckperms_has_permission% placeholder to display name of that player to all other players
@clear dust sfp
how would has permission show Player Bob that player Jane has a permission. unless theres a way to list every player with a permission node?
also dont has permission return a true or false?
I mean I could add a permission node like servername.perk.playername to the default group so every one has it. but then how do i display the last part of that permission node.
oh Idea. maybe i can use meta on the group.
oh i feel bad about this but i think its going to work.
#we run this on activation of timed permission. in console.
lp group default meta set farmer %player_name%
#we can then fetch this with
%luckperms_meta_farmer%
#display it to other players and use it in commands.
did i mention I love luckperms.
why isnt this playerholder not working
%bungee_<factions>%
i have bungee placeholders downloaded
Did u reload?
Also dont put the <> @high hemlock
And make sure “factions” is the name of the server like the name u made it on ur hosting service etc
Hello I need help with ajleaderboards.
I want to make separate leaderboards in different worlds but the statistic_player_kills placeholder is the full server. Is there any way to have a player kill placeholder for a certain world?
Jo guys? do the "Guild" plugin have Expansions? for a Scoreboard?
does papi always parse & to §? i've seen it happen in some places and im not sure if it's a papi or a plugin thing
Where do i get Support ?!
Can somebody help me with this?
No you can't
you need a custom plugin to track it
Statistic expansion just pulls data from player stats, which don't exactly care which world you got them from
Well I can't really find a plugin for that
Yeah you might have to commission someone to make a thing for you
Can anyone help me with this error? https://paste.helpch.at/ulubohanew.bash
The Vault expansion doesn't really have support for baltop, and iirc it only works with Essentials economy
We have a copy of the Essentials expansion that includes those placeholders somehwere
ah yes this one
try this out
Thank you so much, appreciate the quick help.
Do you happen to know why /papi parse --null %essentials_baltop_player_0% just returns nothing?
At the moment, the baltop placeholders might not load when you start the server. You will probably have to run a command like /baltop to load them into cache and then they will work.
did you run that?
oh probably because in the top of the expansion it checks if player is null
no reason to parse as --null in my mind
I'm trying to use the placeholder for a skin on an NPC
Try this one
placeholder %date% doesnt work on my scoreboard
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload or similar service to upload images/screenshots.
probably custom dont think you can use that as the pinger unless its a javascript
use the LocalTime PlaceholderAPI Expansion
ma ask javascript
tysm!
👍
It returns 0 instead of the player's name
For what placeholder in /papi parse --null
/papi parse --null %essentials_baltop_player_2%
oh nevermind I had to type /baltop to load the data
yup
Is there any plans to have the data automatically load?
That's on Essentials, not us
Gotcha, appreciate the help again.
guys??
For Essentials, is there a way to grab the value for the teleport cooldown? Like the same way the %essentials_kit_time_until_available_<kitname>% placeholder works
Are you able to send me the src for the jar you compiled? I seems like you left out a part of the code that calculates balance when the extension registers
for Essentials? We are aware. there's a PR waiting to be merged. I believe after that we're also ready to just release to the ecloud
The problem is that Essentials caches it
So we don't want to update that cache on every single placeholder run
Hence why that expansion doesn't do it
we do it on every expansion loading tho now.
because essentials doesn't do it on register. so if a player joins and doesn't run /baltop for example placeholders will always return empty
well that's new
wow, Glare merged a pull request 1 minute ago
no wonder my git was fucking up lol
yeah. was talking with him
I forgot to mention it when I PRed my change
and it was just sitting there
we;re ready for a release
no we're not
also discord is going crazy today for me 😦
What?
we merged another
green is my pr
oh my god
but he didn't do it with PRs but directly in the main branch
so that it works with --null
undone it but he forgot o undo 1 deletion
hmmm?
1 sec
i would but glare is probably gonna yoink a PR from under me if I try
yeah I'm working on chatchat
so go for it
but careful. bcz I believe some placeholders (might be just the rank one) needs an actual PLayer
actually just an OfflinePlayer
yes just not the baltop ones
yeah. well it is under baltop
its baltop_rank
that one needs to stay where it is. the rest can be moved
HashMap#containsKey will just return false if it is passed a null, yes?
going back to Chat chat before I forget what I Was working on
I believe so
I love git man.... it detected your changing as deleting the entire part and adding it on a lower line xD
yeah it was quite funny
when in reality i deleted the baltop and moved it up!
you like that little vim commit message
i always thought it was cute
u tested if it builds right? :)))
yeah that's what the person who requested the code tested
btw the append was removed by andre bcz the location now returns double not int as it used to before. something changed in essentials's stuff I Think
oh huh
so you would literally have 1.1.5 :)))
yeah i get that
was weird lol
forgot i committed the baltop code somewhere
thought it was just a test of stuff on my pc lol
ah okay makes sense
😌
lmao
int index = 1;
for (Map.Entry<UUID, BalanceTop.Entry> entry : baltopCache.entrySet()) {
if (entry.getKey() == player.getUniqueId()) {
return String.valueOf(index);
}
index++;
}
this feels like it could be improved
how?
i dunno like a stream or something
I really couldn't think of a nicer way to do it.
did I do that or did you
ah makes sense
:)) I thought about streams
but how would I get the index from there?
I gave it like 10 minutes but then gave up and just went with this
It the first jar you pinned it calculates it when it registers
yes that was made after me by Blitz here
we're about to PR the change I made to allow --null into the real one then do a real release
Alright
I can merge if you want.
btw
well hold one sec
alr 👍
maybe i can stream this bitch
kk
maybe like reduce or smth?
yeah it should be
god I hate Java
why can't the zip just give me like a Pair<first type, second type>
awe fuck why is that expansion using Java 8
it literally has 1.18.2 in its requirements
can I bump that
@turbid tide lol
I don't think so no.
bcz essentials still works on older versions and our expansion needs to as well
why not it requires a 1.17+ version of Essentials
the baltop is new
it doesn't work on older versions
yeah but doesn't essential still work with java 8?
like we should keep it the same as essentials I Think
if essentials requires java 11 then go for 11, if it requires 17 then go for 17 I guess
fuck, target is 8 and minimum toolchain is 17
i hate java so much
using outdated versions is the worst part of it
blitz would you like to test my improvement
it's kinda funky though
return String.valueOf(new ArrayList<>(baltopCache.keySet()).indexOf(player.getUniqueId()));
if we were in the present day, List#copyOf would've been better than new ArrayList<>
@turbid tide
I can't really test rn
hmm okay
keySet does maintain order in a LinkedHashMap, yes
talking about the constructor of array list
idk. bcz java?
:)))
I have to expect the worse lmao
I don't know if it would or would not. that's why I'm asking
it does
also my test server is just 2 players. so not the best testing but I Guess it should be enough
the constructor just copies over every element
hmmm 
yeah yur gettin hacked by the stream
😮
and by a java version that lacked List.of
waiting for blitz to test a better version of his rank placeholder
kk
better my ass
well, it's certainly more condensed and clear
stupid Java 8 had to make it kinda uggo
you might want to add 1 to that
the ranking should start from 1
oh I suppose so
another thing, default to empty string when the player is not found? or something like that
seems to be defaulting to 1
and also my blatop still not working
so maybe that's why
wtf is going on
if player is not found, it returns empty string
does it? it just returns 1 for me for everyone. but my /baltop is broken
so might be why
well yeah it's cause it's doing 0 cause your baltop is broken and adding 1
ok. executed /baltop force and it updated
ok yeah it works. I Think. don't have the --null version of PAPI
don't think that was released yet
yeah I hadn't heard of it until recently
is it just on the dev branch?
dunno
ok so something nice, the expansion works even when /baltop doesn't. for /baltop I have to do /baltop force first for some reason
ok its on main. bcz jenkins build has it
and it returns empty string for null
k im gonna merge
alr
okay perfect
oh boy. 1 small problem, it doesn't update when I Chnage amount. but that's an essentials problem
yeah you have to update the cache
hence the whole cache thing being a problem and why we didn't want to release lol
but whatevs
I'm getting this error with the new essentials expansion:
[04:39:05 WARN]: org.apache.commons.lang.UnhandledException: Plugin PlaceholderAPI v2.11.2-DEV-152 generated an exception while executing task 1824
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at java.util.TreeMap.fixAfterInsertion(TreeMap.java:2295)
at java.util.TreeMap.put(TreeMap.java:582)
at com.extendedclip.papi.expansion.vault.VaultEcoHook.setBalTop(VaultEcoHook.java:126)
at com.extendedclip.papi.expansion.vault.BalTopTask.run(BalTopTask.java:58)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:53)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
... 3 more```
Bump
Hello