#placeholder-api
1 messages · Page 16 of 1
Also, something seems to be broken here
Also, it seems like code snippets are no longer highlighted
That's not broken. It's just GitHub's wiki page syntax which doesn't work outside the wiki
Oh. That makes sense. For some reason I thought Commands is just a title in the same page.
Not sure what you mean with that... Remember:
<-- Not native english speaking person
Another note, this could create confusion and we might end up with people setting up their identifier as rel_identifier instead of identifier.
Maybe another way of phrasing it would be:
Relational Placeholders are always prefixed with
rel_, meaning that a relational placeholder that has the identifier set asexamplewithvaluefriend looks like%rel_example_friend%when used.
Tbh; I think that page needs breaking up into separate pages for internal/external expansions & API overview, it's quite long and wordy
I do also think individual descriptions of methods aren't useful in general
Like, that's best done in a Javadoc. Clear examples are much better
(which it has to be fair! it's not bad documentation, just a lot of the good stuff is buried in..words :P)
and so hard to find, and easy to walk into garden paths. I like the improvements you've made, though, Andre.
Yeah. I'm not a native speaker either but I'm talking about this:
... i.e. because you're not the dev of it and it isn't open source, should you consider alternative solutions (i.e. asking the dev to implement it) before using this method.
Those are the only notes I have. Other than that, William is not wrong. it might be best to split it up in pages.
- getting started
- internal expansion
- external expansion
- relational placeholders
or something like that
Personally, I feel like that at this point the wiki would be better of being put onto a page hosting like GitHub Pages... GitHub Wiki is just so limited and tools like MkDocs would provide much wanted extension and customization.
I think you can have effective docs without overcomplicating it
Check plan docs for instance
Very similar situation for PAPI with expansions for data viewers for instance
Hosted on GitHub wikis and very effective and easy to read through and understand
And probably no longer or shorter than PAPI’s existing docs in terms of character count
so you suggested that I use %placeholder_color_luckperms_prefix% ?
well if you're switching to TAB, you don't need to use that
but if you are sticking to TitleManager, then yes
yeah I like TM's features better and thank you :D
alr
it tells me register is not valid?
and then it tells me PlaceholderExpasion is not valid?
https://gitlab.com/lawmixer/law-mixer-uhc-core-dev/-/blob/uhccore-placeholder-support/src/main/java/com/gmail/val59000mc/placeholderapi.java
make sure papi is imported right
how
(sorry im new to plugin dev)
for the depencies compileOnly 'me.clip:placeholderapi:{VERSION}'
do i put placeholder api latest version?
you need to replace {Version}
but what do i replace it with
placeholderapi version?
yes
ah alright, ty
np
nevermind, it is still not working
https://i.imgur.com/GonW5Dd.png
C:\Users\Owner\OneDrive\Documents\law-mixer-uhc-core-dev\src\main\java\com\gmail\val59000mc\placeholderapi.java:16: error: package me.clip.placeholderapi.expasion does not exist
import me.clip.placeholderapi.expasion.PlaceholderExpasion;
did you reload gradle?
yes i did
hmm
LOL
yeah dont type imports manually

was gonna say, your IDE should do this
if it doesn't find the import, don't write it, fix your project setup
and the name of the file should be the same as the class name
so, PlaceholderAPI.java (and perhaps use something else lol)
thank you guys!
cjjjj
so, what should I rename my expansion to? Parse?
or do you want something else?
util maybe?
that's a good idea
yeah I like it
thanks
I'll re-upload it tomorrow after school
great
btw should I update my PlayerList expansion to support multiple filters at the same time? like check for both a permission and a world for example
Would probably make it editable through PAPI's config and use identifiers in the placeholder though
Sounds nice to have
I copied my config files to a test server and now only my nested placeholders arent working
hello why in the expansion files there is vault but in the papi list there is not here
https://uploadi.ng/ How it looks on the test server
https://uploadi.ng/ How it is supposed to look
the nested expansion has been removed from the ecloud as it will be replaced by util soon
Does your test server have the nested expansion already?
No, neither does the other one
Which is kinda odd
it does
does discord just hide the rest of the link O.o
in my folder
so weird
it's a weird trick the devs of the site do
i'm a cs major and i dont even get it idk
it works in any text box
they somehow make invisible characters
okay I uploaded the extension and am restarting
soo weird
🤷♂️
this is where it originates from https://upload.systems/en-US
As I was saying earlier though, Tanguygab will upload Util soon
it will include nested as a function
i uploaded the expansion jar so i have it for now 😛
for future use
hello why in the expansion files there is vault but in the papi list there is not here
ok and now
send the link
hmm might need an older version of the expansion
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
send that over
@uncut solar
yes
Hi there, I just updated to PAPI 2.11.3 and Paper 1.19.4 and it seems I'm getting a NoSuchFieldException in my console for the field ping. Has something changed with this? I did try updating the Player expansion but it didn't help.
Can you also send your log over with that error @jaunty hatch ?
Sure, one moment!
Send it using our paste website
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
The version of the plugin you are using doesn't support 1.8 or lower as it's trying to a call a 1.9+ method.
To fix download an older version that is combatable with your spigot version or upgrade your spigot to a supported version.
For AutoSell: /ver AutoSell
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!
oh my
what
hmm, not entirely sure. might be a 1.19.4 thing
I do have another plugin that seems to be having a similar issue there so that's what I'm leaning towards as well.
i see that
Is this something that would have to be fixed in PAPI itself or you think it's just something with the Player expansion?
Or you think the latest Paper release just has some weird bug in it? Lol
no idea
no, the serv must remain in 1.8.9
I was able to clear up the other issue by updating ProtocolLib to the latest build that says compatible with 1.19.4. Unfortunately, the issue with TAB and PAPI Player expansion is still present.
so what is it, we can't solve the problem
Alright, so I've realized I cannot update the Player expansion. Every time I try to update, it says successfully downloaded, then tells me Failed to load expansion player. Identifier is already in use.
Oh interesting, taking a look in the expansions folder, I see both a Expansion-Player.jar and Expansion-player.jar. I wonder how that happened.
Issue fixed!
Solution: The Player expansion was out of date. Somehow there were two versions of it with different capitalization file names in my expansions folder in the plugin folder. Stopping the server, deleting both, starting the server and downloading it fresh with /papi ecloud download player followed by a reload with /papi reload has resolved the issue with no more error in the console.
Thank you for your help, hopefully this helps anyone who runs into the issue as well :3
Reading the plugin page it looks like the plugin supports PlaceholderAPI, so you'll have access to these https://helpch.at/placeholders assuming placeholderapi is also installed with the relevant expansions
hey cj89898 can you look this again? https://github.com/PlaceholderAPI/Essentials-Expansion/issues/60
Please respect the rules, be patient and don't ping staff members!
Please respect the rules, be patient and don't ping staff members!
Sorry for ping btw,
I made a TAB placeholder, and when you restart the plugin and reconnect to the server, the suffix above the head is removed and writes %tab_tabsuffix%. Can I somehow fix it?
it is a custom expansion? If yes, make sure you override persist and make it return true
Well, I downloaded the TAB plugin, and enabled the extension support in the config, did nothing else
You said "I made" so I guessed you coded it
No
Are you zikehalil3535?
Might be using index, which starts at 0 for the "1st place"
Yep Im
But still a have issue, /baltop force command cant changing the placeholders.
only If I use /papi reload it is work.
For now Im using Vault Expansion version 1.7.0
Vault Expansion version 1.7.0 have this solution in placeholderapi config:
baltop:
check_delay: 30
cache_size: 100
enabled: true```
Maybe you can option like this?
my ecloud not working
**/papi ecloud download ** then anything not showing
@gleaming charm? sry for ping
I've done it cj! finally xD
https://api.extendedclip.com/expansions/utils/
Won’t be added to the expansion. At work right now but maybe try searching the discord for who I was talking to the other day about this
I believe they figured it out
@mint fable
wot
update the placeholders @junior musk
can PlaceholderAPI.setPlaceholders take in List<String> as a param?
no
verified
what was the command for trying stats
yeah thanks lol i forgor
hmm wierd tho this isnt working /papi parse ChiruMC %playtime_player%
i know /playtime exists but i want to make a leaderboard using aj
do you have playtime
yes
Do you also have the playtime expansion?
@mint fable Unknown expansion.
😮
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.
and/or send that over
wait you don't have the playtime plugin, but you have the playertime expansion (different plugin https://www.spigotmc.org/resources/playertime.7998/)
oh wierd
but /playtime works? O.o
lol i though i didnt need a plugin i thought it was a default one
yeah i think essentials has that
statistic is the default one
oic
well i will install playtime i guess, or do i install playertime?
o statistics has one
many opptions
whats the stat called for statistics
%statistic_ticks_played%
%statistic_seconds_played%
%statistic_minutes_played%
%statistic_hours_played%
%statistic_days_played%
%statistic_time_played%
%statistic_time_played:seconds%
%statistic_time_played:minutes%
%statistic_time_played:hours%
%statistic_time_played:days%```
Thanks allot
hi, i want to know if there is a way to fix this. placeholderAPI does not return color codes, this happens with luckperms prefixes and in this case with the progress expansion
Please respect the rules, be patient and don't ping staff members!
Why isn't Utils listed in wiki?
Is it because you have to use the '§' instead?
because I literally just released it yesterday lol
oh cool
Hello !
I have this error on my "vote" script : https://mclo.gs/NpQWuJ2
The vote script is :
function sitesNombre() {
var i = 2;
if (BukkitPlayer.hasPermission("vote.site1"))
i--
if (BukkitPlayer.hasPermission("vote.site2"))
i--
return i.toPrecision(1)
}
sitesNombre()
Execute /papi dump and send the generated link here
Hey everyone! How could we possibly check the NBT for an item, basically we're trying to create trades in deluxemenu, for example: 64 iron ingots will give 1 thick iron ingots
This is the command I use to give myself the item:
minecraft:give agaloth iron_ingot{display: {Name: '{"extra":[{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"T"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"h"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"i"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"c"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"k "},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"I"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"r"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"o"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"n "},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"I"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"n"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"g"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"o"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"t"}],"text":""}', Lore: ['{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":""}],"text":""}', '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":"Iron that was enriched"}],"text":""}', '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":"with more Iron"}],"text":""}', '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":""}],"text":""}', '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":""}],"text":""}']}, Enchantments: [{id: "imageonmap:____gloweffect____", lvl: 1s}]}
all the same color stuff could be combined fyi to make that shorter
minecraft:give agaloth iron_ingot{display: {Name: '{"extra":[{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"Thick Iron Ingot"}],"text":""}', Lore: ['{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":""}],"text":""}', '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":"Iron that was enriched"}],"text":""}', '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":"with more Iron"}],"text":""}', '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":""}],"text":""}', '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":""}],"text":""}']}, Enchantments: [{id: "imageonmap:____gloweffect____", lvl: 1s}]}
that might work
but for checking information, most likely want to check the lore here because lore can't be manipulated, but names could be
If you want to use a placeholderapi expansion, you can use checkitem
but deluxemenus also has has item built in where you can check if the lore contains Iron that was enriched (unique phrase to this item)
@proud tide
Thanks a lot, I never thought about only checking the lore!
Im having some problems with the Player expansion with PAPI
But just with latest placeholderapi (2.11.3)
Player expansion works fine with the 2.11.2 one
With the latest one, it just returns text, i already tried renaming the whole PlaceholderAPI folder but still not working
When i do /papi parse me %player_name% or any other Player placeholder it just returns %player_name%
?startuplog
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
can you send that over @late rivet 
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
Its quite big
it's ok
Lemme paste it on a pastebin
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
you seem to have v1.0.0 of player expansion
run those commands to get the latest version
you have multiple player expansions actually
remove them all
use the command to download the latest
try again
I did it
It says i have 2.0.4 (latest)
I've just tried /papi parse me %player_allow_flight% and it returns %player_allow_flight%
I dont have any other expansions in the expansions folder
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.
?paste
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
umm
you still have player 1.0.0
you said something earlier about renaming the papi folder?
Mhm
shouldn't need to rename anything...
Ik, i renamed it to something else
line 371 [17:48:09] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: player [1.0.0]
So i dont loose my config
If i rename the placeholderapi folder
It should regenerate a new one
sure
without any expansions
yes
Ill rename it again
okay, stoop the server first
Okok
[17:59:27 INFO]: iStxfaa_ issued server command: /papi ecloud download player
[17:59:27 INFO]: [PlaceholderAPI] Fetching available expansion information...
[17:59:29 INFO]: iStxfaa_ issued server command: /papi reload
[17:59:29 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[17:59:29 INFO]: [PlaceholderAPI] Fetching available expansion information...
[17:59:29 WARN]: [PlaceholderAPI] Failed to load expansion player. Identifier is already in use.
[17:59:29 WARN]: [PlaceholderAPI] Cannot load expansion player due to an unknown issue.
send whole log
?paste
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
Lemme send u the logs using PAPI-2.11.2
type that send it here
.
player [Author: LagBug, Version: 1.0.0]
i think it's in emailer
I had the thought earlier
hmm doesn't seem like it
lookiing to see what oother plugins you have
[18:14:54 INFO]: iStxfaa_ issued server command: /papi ecloud download Player
[18:14:54 INFO]: [PlaceholderAPI] Fetching available expansion information...
[18:15:01 INFO]: iStxfaa_ issued server command: /papi reload
[18:15:01 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[18:15:01 INFO]: [PlaceholderAPI] Fetching available expansion information...
[18:15:01 INFO]: [PlaceholderAPI] Successfully registered expansion: player [2.0.4]
^ Using PAPI 2.11.2
?startuplog
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
send the log please
?paste
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
ah
it is emailer
I would contact lagbug to change that
they shouldn't use the player identifier
it should be emailer
the placeholder should then be %emailer_email%, not %player_email%
This is causing the issue
I would presume that maybe in 2.11.2, the 2.0.4 version loads, but shouldn't be
it might cause errors upon parsing
might not
🤷♂️
yep
Fix duplicate expansion loading by @Andre601 in #866
Parsing works fine on this version
you say "fine"
but things iin the background are noot workign fine
which is why it was fixed
I see
mine is v old at this point fs
or doesnt even work sometimes
Mine is from 5 years ago lol
prob goonna last another 1-2 depending on if I get fed up with this or not lol
U should make a fundraise
lol
%essentials_balance%
check the wiki next time :) it has all placeholders
i just ctrl + f balance if its anything related to balance
oh wait im dumb, vault manages the economy
%vault_eco_balance%
sorry lol
Does anyone know if it's possible to get the value of %essentials_is_muted% for another player?
***For example: *I am Player_1. I use a plugin to see player information and am looking at the punishment status of Player_2. In the GUI, it shows the value of %essentials_is_muted% for that player. I can see that they are muted.
I might have found it
I have found it
%parseother_{username}_{essentials_is_muted}% does the trick.
is that {} around the essentials_is_muted required or what?
Can someone help me? I'm trying to set a playercount and its not really working, im using minecraft 1.19.4 and im trying to use the
papi ecloud download listPlayers
And it doesnt seem to be a command, this is the code too that im trying to run
text:
- "Lobby: %listplayers_in_world_<worldname>%"
random: false
interval: 1000
score: "0"
Someone, please help. Tried to find how to call functions inside of Javascript extension, but found nothing actual. What am I doing wrong? I'm trying to parse placeholder from a multiple strings merged into one:
PlaceholderAPI.setPlaceholders(BukkitPlayer, pl + "1%");
pl is just a first part of placeholder string.
Anyone?
Can someone help, it says to do /papi download blabla but it says unknow command
Its /papi ecloud download
If its not downloadable then you could probably just use the placeholders on that plugin site.
Ping me if someone can help
What's the placeholder for Essentials Playtime?
/papi parse deluded_ %commandtimer_EmeraldMarket_nextExecutionFormat% returns nothing
like its just blank
I would recommend using the PlayerList expansion.
Also test the placeholders in chat using /papi parse <player|me> %placeholder%
PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + placeholder + "%");
I'm not sure if essentials tracks playtime, or at least it's not provided as a placeholder as far as I can see. https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#essentials
playtime is tracked via statistics though, available via the statistic expansion https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#statistic
Never heard of commandtimer before so it might be useful asking in their discord, but can you send a startuplog over?
?startuplog
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
Sorry for bothering u again but i wanna know how to fix the latest PAPI bug with Player expansion
Or i just need to wait LagBug to change that %player_email% to %emailer_email%
There is not bug with the player expansion, ask the developer to find another prefix as you said or to replace the internal placeholders and then papi.
Thank you, I will try
Updated my PlayerList expansion https://api.extendedclip.com/expansions/playerlist/
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#playerlist
would be nice if PAPI's wiki could be updated to redirect to my wiki as well =)
Well then PR the changes
Mhmm
thanks :D
Yeah I asked the dev and apparently other people are having the bug as well
Please respect the rules, be patient and don't ping staff members!
Does PAPI maintain the LocalTime placeholder? Keep getting an error saying it's unable to get player time
Negative
Hey, anyone know why I get this everytime a player logs onto the server?
! [Sat 01:24:43 WARN PlaceholderAPI] [math] Invalid Placeholder detected!
! [Sat 01:24:43 WARN PlaceholderAPI] [math] Placeholder: %math_({mcmmo_level_swords}+{mcmmo_level_axes}+{mcmmo_level_archery})*0.25%
! [Sat 01:24:43 WARN PlaceholderAPI] [math] Cause: '(++)*0.25' is not a valid Math Expression.```
The math works perfectly in all areas that I am using it
maybe new player make this issue ?
Should be obvious, the player doesn't have those levels yet
Where should I report a bug that is in world expansion?
I have a question, I created a placeholder for javascript, how to transfer values to it when using it in configs, for example, as here %javascript_animated_text_<ID>,<Text1>,<Text2>,<Text3>%
anyone plz help how to slove when i am command enter this '/papi ecloud download player'
here is massage falied to find expansion
@idle coral
Please respect the rules, be patient and don't ping staff members!
anyone plz help how to slove when i am command enter this '/papi ecloud download player'
here is massage falied to find expansion
I think we have read the first 5 messages
"The math works perfectly in all areas that I am using it" meaning, they do have the levels as it is working everywhere... just getting the message
try parsing with the player when a player joins
Okay, I shall, the only reason I know it works fine is because it displays it in the player name tags above the player, even me who is like level 100 in each 🙂 I will parse it, but it will give me a good response
what if papi tries to parse the placeholder BEFORE the plugin loads the data?
PAPI doesn't parse placeholders by itself, it only does it when requested
so if another plugin is trying to parse your placeholders before they're loaded, it's a problem with that plugin
Hello, I have this problem that I can't solve
[17:41:16 ERROR]: [PlaceholderAPI] Failed to load expansion Expansion-quests.jar (is a dependency missing?)
java.lang.NoClassDefFoundError: me/blackvein/quests/quests/IQuest
at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
at java.lang.Class.privateGetDeclaredMethods(Class.java:3402) ~[?:?]
at java.lang.Class.getDeclaredMethods(Class.java:2504) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:419) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
Caused by: java.lang.ClassNotFoundException: me.blackvein.quests.quests.IQuest
at java.net.URLClassLoader.findClass(URLClassLoader.java:445) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:587) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
... 11 more
same bro i also facing this promble
java.util.concurrent.CompletionException: java.sql.SQLSyntaxErrorException: No such column: 'id'. 'id' must be in [luckperms_players.primary_group, luckperms_players.username, primary_group, username]```
Assuming the following error is because of luckperms and not placeholder api?
odd, was working fine before
thanks though :)
one more thing:
[6483.498s][warning][gc,alloc] Craft Scheduler Thread - 160 - PlaceholderAPI: Retried waiting for GCLocker too often allocating 256 words
[6483.501s][warning][gc,alloc] Craft Scheduler Thread - 222 - PlaceholderAPI: Retried waiting for GCLocker too often allocating 1048576 words
[6483.504s][warning][gc,alloc] Craft Scheduler Thread - 223 - PlaceholderAPI: Retried waiting for GCLocker too often allocating 1048576 words
[6483.507s][warning][gc,alloc] Craft Scheduler Thread - 225 - PlaceholderAPI: Retried waiting for GCLocker too often allocating 1048576 words```
lots of these popping up too
right before crashing
on latest paper 1.19.4 + latest papi ^
ngl never seen that message before, but probably has to do with your gc settings
Hello, how can I register a placeholder in velocity and use it in downstream servers?
You'd need to make a bridge or something yourself, PAPI only works on backend servers
how do these work?
%bungee_total%
%bungee_<servername>%
Plugin messaging and local cache
I have a scoreboard and I display money on it. However, it is displaying anything in 10 millions or above with an E and a number. How do I round so it will say, for example, 39m?
Use https://paste.helpch.at/ for errors, logs and configs. So we don't spam the discord.
hello i'm tryin to get "%vault_eco_top_balance_1%" to work in my gui, but even tho i have everything installed its showing me [ %vault_eco_top_balance_1% ] still as in the place of the baltop?
the top placeholders were moved to the esentials expansion
since it has a native top function
okay ill try thanks
works thanks so much, been lookin for a solution for a while, even tho easyest way was to join discord 😄
great
Hi, how i can make a block invisible in deluxepanels?
how to change the refresh of placeholders from 1s to 5s?
%statistic_seconds_played%
Is there a placeholder that returns a url to the avatar icon?
i was wondering with deluxhub in my lobby if in the description of the item i could put if the modality is currently online like in the bungee and how many players are online of the max players
nvm it was %bungee_survival%
Hi, i installed PlaceholderAPI, and i tried to use the placeholder %bungee_<servername>% for deluxehub, to see how many players are on the server but its still display 0 players, and my friend is on the server, but i also seen that there is a error-message from deluxehub coming when reloading the plugin or restarting the server
did you install bungee expansion
Yes, with /papi ecloud download bungee right ?
and /papi reload to make it work
Yes, did it
and restarted the server
yah, this is the best way
Hello guys, I have a question about NBSP symbols in my placeholders. How can I remove it?
I'm using EssentialsX-2.19.7 placeholder: %essentials_baltop_balance_commas_<rank>%
Showing it through: Decent Holograms 2.7.5
Minecraft version is 1.18.2
If I use parse command in chat it's still showing NBSP, tho in console it shows a symbol.
Not sure how to place image in here😅
NBSP symbols ?
Yeah, same as the guy has here: #placeholder-api message
1 minute, i figured out how to post images here
Yea, but still not working, i need to remove the <> right?
what <> ?
oh, yes
you can use ajleaderboard plugin to make top too
%playerstats_ only:number, top:1, damage_dealt% this one from Player stats and their 'Spaces' also changed with nbsp
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
give me your config.yml at placeholderAPI
ok weird
I hadn't changed PAPI config anyhow since installation
hmm.. idk
the nbsp should be . or ,
Yeah, console tells me it's a
weird :/
NBSP
:/
Okay, thank you for help very much😅
I could use another placeholder which not using this Spacebars or a but this is not a good option for me😅
If anyone knows solution, please help
Do i only need to install the placeholderapi in the lobby server or also the other server?
idk, im didnt make a bungee server ever
I guess yeah
At least i have installed it on all of my servers
Hello i maked a custom placeholderapi but its not showing in ajlb i asked aj and he say go to helpchat
then you are probably using it wrong
hello people help! I create a menu, but it doesn’t work out to bind a command so that it would be executed on behalf of the operator
I'm a unique Discord bot created especially for HelpChat.
I was created and I'm maintained by @balmy marten with support from the Staff team.
I'm created in Javascript using Discord.JS
At this stage I'm closed source due being a mess and some secret internals. However you can contribute to my links/version knowledge here.
huh? /paste
?paste
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
show your menu and explain more
I think this is it, the placeholder is being used in InteractiveChat, doesn't matter if its a new or existing player but the placeholder does parse and work fine, but just errors first. Oh well
Does placeholder api have any issues with paper 1.12.2 ?
or communicating with neznamy's tab plugin through variables?
Lol I think the math expansion is drunk... (MCMMO Levels: 60, 11, 2 (same order as placeholders) am I being dumb here?
%math_({mcmmo_level_swords}+{mcmmo_level_axes}+{mcmmo_level_archery})/4% returns 18.25 (correct)
%math_({mcmmo_level_swords}+{mcmmo_level_axes}+{mcmmo_level_archery})*0.25% returns 18.25 (correct)
%math_0:1_({mcmmo_level_swords}+{mcmmo_level_axes}+{mcmmo_level_archery})/4% returns 18 (correct)
%math_0:1_({mcmmo_level_swords}+{mcmmo_level_axes}+{mcmmo_level_archery})*0.25% returns 0 (whattt?)
%math_1:1_({mcmmo_level_swords}+{mcmmo_level_axes}+{mcmmo_level_archery})/4% returns 18.3 (correct)
%math_1:1_({mcmmo_level_swords}+{mcmmo_level_axes}+{mcmmo_level_archery})*0.25% returns 21.9?????????
cc: Andre_601?
I'd ask andre then go from there, here is the location where the source is located to submit an issue if needed https://codeberg.org/Andre601/Math-Expansion
Any idea?😅
Im having issues with parseother
there is this placeholder from the plugin mythicdungeons %md_party_member_[##]% which parses the name of the player ex %md_party_member_1% = notch
I've tried to replace it with %parseother_{md_party_member_2}_{mmoitems_stat_max-health}% and its not working it gives me this error: https://pastebin.com/59QMAWCU
if I do %parseother_{notch}_{mmoitems_stat_max-health}% the parse does seem to work so perhaps theres a formatting error on my end?
"Player data is not loaded" - I assume the placeholders only work for online players
Is there a way to return a random number? It seems here that the expansion RandomNumber isn't working
yes it only works for online
Please respect the rules, be patient and don't ping staff members!
https://gyazo.com/52880682caec0165f1e07b475ef58099
https://gyazo.com/0cb02b6aff49af0e75bb867cd8459612
https://gyazo.com/08036c25e96ca5df7e94a2684054ea46
Trying to download the ecloud expansion for Player, to have the player_level variables display in neznamy's tab plugin.
However, whenever I do install the ecloud, none of the variables work, is there issues with Placeholderapi on 1.12.2?
is TAB on BungeeCord?
no
does the placeholder work in /papi parse me %player_level% ?
It does not, it displays as %player_level%
do you get an error in console when doing /papi reload?
ah nvm
go to plugins/PlaceholderAPI/expansions
what files do you have in there?
player, server and vault
or actually, I think /papi dump works as well
do you have multiple player expansion files?
no message in game or in console when I do /papi dump
no, just one of each
I'm guessing /papi list doesn't show player in it?
it does not, just shows eglow, plan, spark and tab
I have no idea what's wrong, sorry, you'll have to wait for someone else who knows more
maybe try on 2.11.2 in the meantime
No worries, thanks for your time on it 🙂
I did, same issue, checked if was any recent version, so I updated it.
Was originally on 2.11.2
Done, but doesnt display on the lists
=/
Pretty sure I can't download any eclouds
what if you delete the Player expansion file from PAPI's folder and download it manually from here ? https://api.extendedclip.com/expansions/player/
should I rename it?
should work with any name
tried it, still same issue, variable didnt work with the parse command after installing, then doing /papi reload, then doing /papi parse
I'm out of ideas =/
No worries, thanks for your time.
If anyone else can help me with this, please ping me as soon as you respond.
is the javascript ecloud expansion no longer a thing?
its not a verified expansion anymore, u have to download it manually from here https://api.extendedclip.com/expansions/javascript/
okay thank you 🙏
https://gyazo.com/52880682caec0165f1e07b475ef58099
https://gyazo.com/0cb02b6aff49af0e75bb867cd8459612
https://gyazo.com/08036c25e96ca5df7e94a2684054ea46
Trying to download the ecloud expansion for Player, to have the player_level variables display in neznamy's tab plugin.
However, whenever I do install the ecloud, none of the variables work, is there issues with Placeholderapi on 1.12.2?
I believe now, it's a problem with the placeholderapi loading the expansions, as I can download jars but they aren't recongnized via commands.
on top of that, some commands like /papi dump do not work.
Hi! What's wrong whit this: %checkitem_inhand:main,matcontains:bed%
I try parse and even with a bed in my hand I get a "no" output.
/papi parse me %checkitem_inhand:main,matcontains:red% # No
Why? :c
If anybody familiar with PlaceholderAPI development is willing to help me out with my weird issue, please check #development.
Anyone able to help me out with /papi dump not working, as well as unable to load expansions properly from ecloud? .-.
the materials are case sensitive, that's probably why, try RED
Is there another place I can go to get support relating to placeholder plugin? Or should I report my issues as a bug on the github?
Can you send a full startup log please?
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.
?paste
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
Hey anyone know the placeholder for the person that you got killed by in PAPI? It should show their username and not their displayname. Not sure what expansion can do this
Hello I use the plugin and I put "Expansion-LuckPerms.jar" to prefix and put in the chat. When I send my message in the chat the prefix is not added
Appreciate if someone with permissions can approve my Math Expansion update. 🙏
Is there a way how to put a cooldown on a placeholder? For example if the placeholder should only update every 10, 5, 2 seconds etc
I need help, with the plugin excelent crates
when i activate broadcast
it says on chat %player% has won .....
instead of the actual player
use %player_name%
thanks
help
[12:49:18 WARN]: [PlaceholderAPI] skript is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
help
EssentialsXChat
{GUILD_FORMATTED} not working on last update guild plugin
To link your Spigot profile please do the following:
- On Spigot, set your Discord to
GabyTM | RO#6463under contact details. - Type
/Spigotand press TAB twice to show theid:prompt. - Type or paste in your Spigot account's numerical Spigot ID and hit enter.
@fervent girder
how to change the refresh of placeholders from 1s to 5s?
%statistic_seconds_played%
That isn't really possible. That data is taken from spigot I believe it is refreshed instantly. A caching system would have to be implemented for this which doesn't sound very useful? Why do you want it to cache?
I would like to write a regular time on the scoreboard, but what kind of priest do I need or what is the code for it at all?
is math placeholder down? Im unable to download it. yes I have ecloud enabled and no theres no error in console
how to tranfer placeholder autput in bungee network and use it
So how does the book check item will work? im testing in but not working for me
enchantments:<enchantment=lvl>;<enchantment>
Checks if the item's enchantments contains <enchantment> with an optional =level
Uses vanilla minecraft enchantment names ^ ~
getting yes for everything, holding sharpness 1 book
/papi parse rexmen %checkitem_enchantments:=1;fortune%
/papi parse rexmen %checkitem_enchantments:=5;fortune%
hey guys for this placeholder %server_countdown_<SimpleDateFormat>_<time>% what goes for the <SimpleDateFormat>
I am trying to setup a timer for my mythicmob+ boss
%checkitem_enchantments:fortune=1;sharpness% - will check for fortune 1 and any sharpness
weird combo, but 🤷♂️
Ty
Hello when I try to update a placeholder I have this error 😦
Can someone help me ?
Thx !
papi ecloud update player [07:37:04 INFO]: Updating expansions: [Player] [07:37:04 INFO]: Successfully downloaded updates, registering new versions. [07:37:04 WARN]: [PlaceholderAPI] Failed to load expansion player. Identifier is already in use. [07:37:04 WARN]: [PlaceholderAPI] Cannot load expansion player due to an unknown issue. [07:37:04 INFO]: Registered expansions:
Room 1 voice Chat?
Oh I can’t now…
F
I need to go to school 👀
Fair
Restart the server for now
Actually, it works fine for me https://paste.helpch.at/ofibapiyaj.md
Can you test this jar @royal belfry when you get time?
Ok I’ll try when I can !
I restarted my server and when I write “papi ecloud update all” server answer “no updates available for your active expansions”
I didn’t change .jar btw
yeah the new expansions jars were downloaded but couldn't be loaded, so they were loaded on the next boot
ok so expansions are update now ?
yes
you can probably keep yours
is there easy way to make this work? i want to check for enchantment books and in return wanna give custom currency called shards
for sharpness 1 want to give 1 shard and for sharpness 10 want to give 10 shards... but making diff confgi for every enchantment means 30x10 = 300 options... anyway to make it shorter?
pls vault for placeholder-api
@austere hawk ^
thank you
How to get a placeholder for how much money a specific person has?
is there any expansion that says how many blocks away a player is from an XYZ position?
If your economy plugin supports Vault, get the vault expansion and use %vault_eco_balance% to get the exact amount or %vault_eco_balance_fixed% to get the amount without decimal precision.
use math
haha. I was just thinking about this as well. it should be possible with math
%math_0_sqrt({player_x}-LOCATIONX)^2+({player_y}-LOCATIONY)^2+({player_z}-LOCATIONZ)^2)
replace LOCCATIONX with the x of the destination, LOCATIONY with the y of the destination and LOCATIONZ with the z of the destination
Can someone help me with the syncing of the placeholderapi in my own plugin? I tried so much but its not working for me
for sqrt
hello
i need help with checkitem
how to check if player has steak?
i will try %checkitem_steak%
but is always return yes
%checkitem_mat:steak%
Yo, is there any placeholders for playtime in hours?
(that I don't need an extra plugin to use)
yes, statistic
thx
I looked into it but it seems like %statistic_time_played% displays the play time like 2w 1d 3h 5m and %statistic_time_played:hour% displays the "3" of the hours played instead of the entire time in hours and I am looking for something that would show the number of total hours played
so you can use %statisitc_hours_played%
👍
It doesn't seem like there is a placeholder called statisitc_hours_played on the wiki and doesn't work in game
np
for some reason my basics_menu.yml is not being detected
hi i have installed mcmmo expansion but dont work
some of the mcmmo placeholders but not others, for example the level ones don't work for me
What could I do to fix it? I have the latest spigot update downloaded
Unfortunately, ASB can no longer read the player and playerlist modules of placeholderAPI. The two modules are up to date in placeholderAPI in eCloud. The command "/papi parse me %player_name%" returns "%player_name%"
And this is what I got from the console during startup:
https://pastebin.com/Y8FVSifG
Does anyone else also have such problems?
Hi i have to use math placeholder for a calculation so i followed the syntax but it returns an error :
[14:49:38 WARN]: [PlaceholderAPI] [math] Invalid Placeholder detected! [14:49:38 WARN]: [PlaceholderAPI] [math] Placeholder: %math_0:_% [14:49:38 WARN]: [PlaceholderAPI] [math] Cause: Not allowed placeholder-syntax '%math_<text>_%'
Here's my placeholder : %math_0:_{vault_eco_balance}%
Thank you for your help :)
Edit : I've also tried with this one : %math_0:half-up_{vault_eco_balance}%
Maybe you are not delete this menu on config.yml
If you just want to remove the decimals use %vault_eco_balance_fixed%
Can you please execute /papi dump and send the generated link here?
Hi i search placeholder for mined block No Statistic this placeholder is counting x2
Anyone able to help? I'm unable to correctly load any eclouds. I can download them and such, but placeholderapi wont load them. No error messages, and cant do /papi dump (prints out nothing)
Scrrenshots of Player ecloud not properly loading:
https://gyazo.com/52880682caec0165f1e07b475ef58099
https://gyazo.com/0cb02b6aff49af0e75bb867cd8459612
https://gyazo.com/08036c25e96ca5df7e94a2684054ea46
Previous message explanation:
However, whenever I do install the ecloud, none of the variables work, is there issues with Placeholderapi on 1.12.2?
I believe now, it's a problem with the placeholderapi loading the expansions, as I can download jars but they aren't recongnized via commands.
on top of that, some commands like /papi dump do not work.```
Startup: https://paste.helpch.at/taqesedazo.makefile
Hmm, I'm only seeing the spark expansion being loaded there. try manually installing the expansion from the ecloud here: https://api.extendedclip.com/expansions/player/
- stop server
- manually install
- restart server
- If any issues, send new startup log and
/papi dump(if that works)
very weird to see /papi dump not working
@unkempt widget 
Done, recently tried it though through someone else's suggestion.
/papi dump is same with not loading. There's no error's that pop up, but still can't see player expansion in /papi list
Should mention this is with all ecloud extensions I try to install.
No visible issues. I'm grabbing the startup log rn.
But everything is same as reported before.
ignore the skript error's lol
when i use %server_tps% i only get a return of 0.0, 0.0, 0.0?
This doesn't show the player expansion at all, you did the manual install, correct?
Can you type /papi dump as well in your startuplog before sending it over
ill do another reboot real quick
your server might have a problem connecting to outside services such as the ecloud or paste.helpch.at
could be because of some sort of firewall
🤷♂️
is there an ip i can whitelist?
idk about ips
that seems most probable
but I am still able to download expansions, just can't seem to load them 😐
yes
ok imma have to head out soon, but wont forget to check back
oh what okay
papi dump worked that time
i might be an idiot 😐
yeah everything loading now, okay one sec
Okay, it actually looks like it's a conflict with skript. Because everything worked as soon as I uninstalled the skript jar. So
ye, not sure what to say to that.
I am trying to install the McMMO expansion on 1.19.4, but when I do so I get an error,
[20:40:18 WARN]: [PlaceholderAPI] Failed to load expansion mcmmo. Identifier is already in use.
[20:40:18 WARN]: [PlaceholderAPI] Cannot load expansion mcmmo due to an unknown issue.
Anyone know what would be causing that?
Use the latest release of PlaceholderAPI instead of the dev builds
if that doesn't work downgrade 1 version
a fix is being made for this I just don't know what version the problem showed up in
Downgrading worked. Thank you!
Hi i cant do papi dump
Use https://paste.helpch.at/ for errors, logs and configs. So we don't spam the discord.
There's an issue with the webhooks expansion, contact the dev
How can i contact with the devs?
Please respect the rules, be patient and don't ping staff members!
I dont know where you got the expansion from
It says webhook not mcmmo
i dont have expansion of webhook
at net.ecoporium.webhooks.expansion.WebhooksExpansion.getAuthor(WebhooksExpansion.kt:14) ~[SpartanWebhooks.jar:?]
ok
now i can put the command
but i have a problem
mcmmo dont update
i put the command to update
and i download the expansion manually and nothing
Looks like SpartanWebhooks is missing the author in plugin.yml https://github.com/bobby29831/SpartanWebhooks/blob/master/src/main/resources/plugin.yml
You can open the plugin as an arhive and add author: Something in plugin.yml
Make sure you remove all mcmmo expansions from the expansions folder (/plugins/papi/expansions)
how can i do this?
i did and nothing
I .. just said that
which plugin i open?
I said that too
sorry i am spanish
SpartanWebhooks
i prefer remove the plugin spartanwebhooks better
and for mcmmo what can i do?
always appear i have 2 updates
how can i get placeholders of a plugin?
that is to say, it appears that the plugin has placeholders but I don't know what they are and apart from that they are not in the list of placeholders and it appears registered in the plugin
check that plugin's documentation
usually, when plugins add placeholders to PAPI, they put them in their plugin's description on Spigot or on their wiki
uh, what's the issue?
some mcmmo placeholders don't work for me. I am updating the expansion but it does not update me. And if I download it manually it's still the same
which don't work?
mcmmo
%mmcmo_level_mining%
what does it say in chat when you do /papi parse me %mcmmo_level_mining% ?
this
say
you have the expasion for download and install
why do you have 3 mcmmo expansions?
I cant install any expansion, it says "Failed to find an expansion named: Luckperms" I tried other expansion, but no luck.
The command does not tab-complete it
and /papi list shows An internal error occurred while attempting to perform this command
it does tab-complete the /papi ecloud download part
Idk what's wrong, but i'm strugeling with it for 1 hour
I reinstalled the plugin many times and many versions.
It was not like that 2-3 hours ago
If you check the console when trying to download an expansion, is there an error?
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.
Wait nvm
there is a error
java.net.UnknownHostException: api.extendedclip.com
at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567) ~[?:?]
at java.net.Socket.connect(Socket.java:633) ~[?:?]
at java.net.Socket.connect(Socket.java:583) ~[?:?]
at sun.net.NetworkClient.doConnect(NetworkClient.java:183) ~[?:?]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:531) ~[?:?]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:636) ~[?:?]
at sun.net.www.http.HttpClient.<init>(HttpClient.java:279) ~[?:?]
at sun.net.www.http.HttpClient.New(HttpClient.java:384) ~[?:?]
at sun.net.www.http.HttpClient.New(HttpClient.java:406) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1665) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) ~[?:?]
at java.net.URL.openStream(URL.java:1161) ~[?:?]
at com.google.common.io.Resources$UrlByteSource.openStream(Resources.java:72) ~[guava-31.0.1-jre.jar:?]
at com.google.common.io.ByteSource.read(ByteSource.java:296) ~[guava-31.0.1-jre.jar:?]
at com.google.common.io.ByteSource$AsCharSource.read(ByteSource.java:486) ~[guava-31.0.1-jre.jar:?]```
at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$fetch$4(CloudExpansionManager.java:182) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
[17:02:32] [Craft Scheduler Thread - 8/INFO]: [PlaceholderAPI] Failed to check for updates on spigot.
java.util.concurrent.CompletionException: java.net.UnknownHostException: paste.helpch.at
at me.clip.placeholderapi.commands.impl.local.CommandDump.lambda$postDump$1(CommandDump.java:113) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) [?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) [?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) [?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) [?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) [?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) [?:?]
Caused by: java.net.UnknownHostException: paste.helpch.at
at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567) ~[?:?]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) ~[?:?]
at java.net.Socket.connect(Socket.java:633) ~[?:?]
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304) ~[?:?]
at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:174) ~[?:?]
at sun.net.NetworkClient.doConnect(NetworkClient.java:183) ~[?:?]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:531) ~[?:?]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:636) ~[?:?]
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:266) ~[?:?]
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:380) ~[?:?]
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128) ~[?:?]
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179) ~[?:?]
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:142) ~[?:?]
at me.clip.placeholderapi.commands.impl.local.CommandDump.lambda$postDump$1(CommandDump.java:102) ~[?:?]````
Does your chat formatting plugin support PlaceholderAPI?
I believe it does, it is CMI
but perhaps a config is messed up
Well first of all. Let's check if your expansions are properly loading
can you send a screenshot of a chat message
with placeholders not working?
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.
are you sure?
I mean, i'm getting great ping
and other plugins are working just fine
@turbid tide (I'm not sure if I can ping staff members or not)
in this case it is fine since we were having a conversation
Could you help?
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.
Can anyone help?
if i do papi parse %statistic_player_kills%
it says 78
but on my ajl leaderboard the top 1 says 38
and it is another person
and i have members with like 400 kills
double-check your config ?
the ajl one?
I cant install any expansion, it says "Failed to find an expansion named: Luckperms" I tried other expansion, but no luck.
The command does not tab-complete it
and /papi list shows
An internal error occurred while attempting to perform this command
it does tab-complete the /papi ecloud download part
Idk what's wrong, but i'm strugeling with it for 1 hour
I reinstalled the plugin many times and many versions.
i havent touched it
&e&l#1 &f&ajlb_lb_statistic_player_kills_1_alltime_name% %c%l%ajlb_lb_statistic_player_kills_1_alltime_value%
this is what i use
ah, i see your problem
can anyone help?
double-check this one
i said double-check
just at that line
if name wrong, check name
if value wrong, check value
it is ig but i didnt type it on discord my bad
don't tell him :/
the name and value is right the wierd thing is that it appears top 1 a person who isnt top 1
it is wierd, but i think is an ajlb error
😩
I cant install any expansion, it says "Failed to find an expansion named: Luckperms" I tried other expansion, but no luck.
The command does not tab-complete it
and /papi list shows
An internal error occurred while attempting to perform this command
it does tab-complete the /papi ecloud download part
Idk what's wrong, but i'm strugeling with it for 1 hour
I reinstalled the plugin many times and many versions.
can anyone help?
ajlb_name% %c%l%ajlb_value% this is your problem
try with a test server
so withouth the alltime?
you don't understand ?
it works on my other server
no, sorry
also in ajlb list statistic_player_kills
it also is wrong
so that is the wierd thing
your:
ajlb_name% %c%l%ajlb_value%
^ ^ ^
mine:
%ajlb_name% &c&l%ajlb_value%
^ ^ ^
what was the last thing you do before placeholderAPI crash ?
I probably did /papi ecloud download tab
and what happened
It couldn't find the expansion
clv, ultimateautorestart, vulcan
did you restart server ?
and delete folder of placeholderAPI ?
I reinstalled placeholderapi many times
maybe all
bruh
k
should I restart the plugin?
yes
for placeholderAPI.jar update new folder
new folder?
i'm already using the latest version
@ocean beacondo know what can i do?
&e&l#1 &f&l%ajlb_lb_statistic_player_kills_1_alltime_name% &c&l%ajlb_lb_statistic_player_kills_1_alltime_value%
😩
java.net.UnknownHostException: api.extendedclip.com
at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567) ~[?:?]
at java.net.Socket.connect(Socket.java:633) ~[?:?]
at java.net.Socket.connect(Socket.java:583) ~[?:?]
at sun.net.NetworkClient.doConnect(NetworkClient.java:183) ~[?:?]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:531) ~[?:?]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:636) ~[?:?]
at sun.net.www.http.HttpClient.<init>(HttpClient.java:279) ~[?:?]
at sun.net.www.http.HttpClient.New(HttpClient.java:384) ~[?:?]
at sun.net.www.http.HttpClient.New(HttpClient.java:406) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1665) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) ~[?:?]
at java.net.URL.openStream(URL.java:1161) ~[?:?]
at com.google.common.io.ByteSource.read(ByteSource.java:296) ~[guava-31.0.1-jre.jar:?]
at com.google.common.io.ByteSource$AsCharSource.read(ByteSource.java:486) ~[guava-31.0.1-jre.jar:?]
at com.google.common.io.Resources.toString(Resources.java:111) ~[guava-31.0.1-jre.jar:?]
at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$fetch$4(CloudExpansionManager.java:182) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:833) [?:?]```
This is the console error
it is the same, the top 1 isnt the real top 1 :/
do /papi parse me %ajlb_lb_statistic_player_kills_1_alltime_name% %ajlb_lb_statistic_player_kills_1_alltime_value%
@ocean beacon Can it be that a plugin is stopping the placeholder to work?
yes
why?
so disable placeholderAPI
and delete placeholderAPI folder at plugin
and enable it again
k
it says the "supposly top 1" but he isnt
could it be that the top 1 needs to kill smone for it to update?
idk, maybe no
try to update him
/ajlb updateplayer statistic_player_kills <name>
does it work ?
Yeess that was it!!
thanks
i tried searching for that command and i couldnt find
try at a test server with just .jar file
k
everything must work fine as default :/
It works on my test server just fine
it also tab-completes the command
@ocean beacon What do I do now?
every folder of every plugin or just placeholderapi?
That would take 20 years to do
@ocean beacon Can we do something else?
Hol on, some placeholders are working
that I dint needed to download it from /papi ecloud download
try to install again
I did many times
Then I relaod the plugin, right?
yeah
dint work
I installed vault expansion
it dint work with the %vault_eco_balance_fomatted%
@daring mesa everything good ?
yeah
why it isn't work
var timeString = '22:22:22';
var timeArray = timeString.split(':');
var hours = parseInt(timeArray[0]);
var minutes = parseInt(timeArray[1]);
var seconds = parseInt(timeArray[2]);
var totalSeconds = (hours * 60 * 60) + (minutes * 60) + seconds;
parseFloat(hours);
@daring mesa I'm not sure if you've solved your problem but I've asked for a startup log. If you still need help, please provide it.
#placeholder-api message
There's a couple possible issues here. It could be that your internet connection doesn't work, it could also be that your hosting company is blocking connection to the ecloud
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.
Yeah, I've solved it
I just have to manually download expansion
👍 you can also probably talk to your host to see why connection to the ecloud might be broken. Unsure if it is from their side but worth a try
Please respect the rules, be patient and don't ping staff members!
It seems like there's another expansion having the same identifier (player):
player [Author: LagBug, Version: 1.0.0]
this is not the same player expansion as the one you get by doing /papi ecloud download player.
@cobalt ibex I've searched for LagBug and I found his spigot account. It seems that you have a plugin from him called Emailer. I am unsure if that plugin is the one registering another player expansion and can't really check because the plugin is paid
Ok. The plugin is open source. I just checked, it is definitely the plugin overriding it.
I suggest you talk with the author and ask them to change the identifier
I am using JavaScript from https://github.com/PlaceholderAPI/Javascript-Expansion/wiki/Community-Scripts#cooldown
I want to add in my menu in my cooldown system and it works, but the icon I have added for cooldown is always active and when my cooldown ends the icon does not change.
YES-COOLDOWN:
material: AIR
slots:
- 0-1
priority: 1
view_requirement:
requirements:
name:
type: string equals
input: "%javascript_cooldown_1_15%"
output: "0s"
left_click_commands:
- '[console] papi parse %player_name% %javascript_cooldown_1_start% §r' ```
**MENU**
```yml
BREWER-COOLDOWN:
material: GOLD_NUGGET
model_data: 11003
display_name: 'Brewer cooldown'
slot: 20
priority: 1
update: true
view_requirement:
requirements:
name:
type: string equals
input: "%javascript_cooldown_1_15%"
output: "0s"
lore:
- '&7Level: &f0'
- ''
- '&#AF2A23Cooldown: &8%javascript_cooldown_1_15%'
BREWER:
material: GOLD_NUGGET
model_data: 11001
display_name: 'Brewer'
slot: 20
priority: 2
lore:
- '&7Level: &f0'
And when my cooldown is over it always shows 'brewer-cooldown'.
The way you have it set up right now it seems like it should shoe BREWER when you have a cooldown. Does it not? Also, even if you reopen the menu it still shows the wrong item?
When I activate the cooldown it sends me to 'BREWER' and when the cooldown ends it sends me to 'BREWER-COOLDOWN'.
The requirements are the same as the other menu where I activate the cooldown.
I want to activate 'BREWER-COOLDOWN' when I have cooldown.
Please respect the rules, be patient and don't ping staff members!
yeah just swap the view requirements from one to the other item
if %javascript_cooldown_1_15% returns 0s it means the cooldown has expired
it changes the javascript engine from Nashorn to QuickJS
Does anyone knows if there's a placeholder that returns time since epoch ?
https://pastebin.com/4jTpnHYT
Can anyone tell me why this is being spammed in my console?
@hallow pasture can you execute /papi dump and send the generated link here please?
seems to be coming fro mthe bungeecord expansion. not sure what's going on there but it seems to be broken
yeah i got as much as the cause was the bungeecord expansion. I cant seem to be able to remove it tho. removing the file in the config folder and unregistering the expansion doesnt work
Evening guys, im trying to make it show a players playtime in the MOTD using ServerlistMOTD and the PlayerStats plugin, however the playerstats plugin has a placeholder like this %playerstats_player:<player-name>,<statistic>% is it possible to have a placeholder inside of that placeholder to get the specific players name?
i update to the latest of papi and i got this issue
[22:34:06 WARN]: [PlaceholderAPI] Failed to load expansion player. Identifier is already in use.
[22:34:06 WARN]: [PlaceholderAPI] Cannot load expansion player due to an unknown issue.
and the player expansion doesnt work
any idea why
oh i see now lol
i contacted the dev
How can i fix this ? :c
[08:56:41 INFO]: Imanol151 issued server command: /papi parse me %statistic_kill_entity:zombie%
[08:56:41 ERROR]: [PlaceholderAPI] [Statistic Expansion] Could not get the statistic 'KILL_ENTITY' for 'ZOMBIE'
Thanks for your answer. I have been using all the plugins for some time now. The error occurs only with the latest version. The version 2.11.2 is still running fine. The last time I updated the Emailer plugin was about three months ago.
Please respect the rules, be patient and don't ping staff members!
I made some tests and disabled the emailer plugin and redownloaded the player extension from the ecloud. But I'm stll having issues with PlayerTime and PlayerList:
[10:09:46 INFO]: admin issued server command: /papi ecloud download PlayerTime
[10:09:46 INFO]: [PlaceholderAPI] Fetching available expansion information...
[10:09:55 INFO]: admin issued server command: /papi reload
[10:09:55 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[10:09:55 INFO]: [PlaceholderAPI] Fetching available expansion information...
[10:09:55 INFO]: [PlaceholderAPI] Successfully registered expansion: playerlist [3.0.1]
[10:09:55 WARN]: [PlaceholderAPI] Cannot load expansion playertime due to a missing plugin: PlayerTime


