#placeholder-api
1 messages Β· Page 188 of 1
there
so that debug never prints, and when i papi parse it nothing happens
just shows the text i typed
is your expansion listed in /papi list?
yes
what's the command you are using?
/papi parse IEatBeans %mcbbtpcore_coins%
and it just says %mcbbtpcore_coins%
and the debug doesnt print
the params is only the part after mcvbtcore_
o
so in your case, coins
that makes sense
ok lemme try that
ok, it spams requested now, but still shows no placeholder
if(params.equalsIgnoreCase("coins")){
%mcbbthemeparkscore_coins%
do i need to include the _
is the "Requested" msg printed or not even that?
then make sure your scoreboard plugin supports PAPI
Pls help πππ
Use only one channel.
;+; 
Hi π ,
I'm trying to make a cooldown placeholder through javascript extension,
but the one that in example link doesn't work
(https://github.com/PlaceholderAPI/Javascript-Expansion/wiki/Community-Scripts#cooldown)
does anyone have other solution for this?
when will ecloud come on
what do you mean @granite kernel ?
hi i have update my server to 1.18.2
and some placeholders was not showing up
so i did command papi reload and get this error
any idea ?
error on statup:
https://paste.ofcode.org/AX2MUx7FkgdQfqxugAfXtZ
i guess its really he trying to load mcmmo extension
i just delete ALL extensions from folder and restart the server
and it gives no error on startup
[11:42:19] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[11:42:19] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...
[11:42:19] [Server thread/INFO]: 0 placeholder hook(s) registered!
>
guess it is really extension corrupted or not compatible with 1.18.2
and i guess it was not mcmmo
>papi reload
[11:44:26] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[11:44:26] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...
[11:44:26] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: mcmmo [1.0]
[11:44:26] [Server thread/WARN]: [PlaceholderAPI] Loaded class com.gmail.nossr50.mcMMO from mcMMO v2.1.198 which is not a depend or softdepend of this plugin.
[11:44:26] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: mcmmo [1.0]
[11:44:26] [Server thread/INFO]: 1 placeholder hook(s) registered!
>
@unique saffron he already replied u
probally one of my old extensions that i removed from, good my issue was solved
that... won't fix my problem
how to conducted a record: time played 0 h
how to do:how much time did the player played on the server?
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.
Hey
We are trying to register a placeholder, but doesn't wanna work, it registers the placeholder, but doesn't wanna work on /papi parse
Main class:
if(Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null) this.papi.register();
PlaceholderAPI class:
https://pastebin.com/MAJ0T49T
does the expansion show in /papi list ?
btw, the "identifier" var you have is actually the parameters of the placeholder, so everything between %<identifier>_ and the last %
Yes
Yes I know it should be %ezblocks_blocks_weekly% right?
no
ezblocks is the identifier
so the parameters are what's after it
so it's blocks_weekly
how to do: Registration date: day/month/year
?
%player_first_join_date%. I am not sure if there a way to change the format tho.
and how to make the registration date the wipe?
you mean how to reset the join data?
it is saved in your main world folder
either in playerdata/ or in stats/
and how to make the first date be saved?
and after wipe, the first registration date was also highlighted
after cleaning, there will be registration date
Why using %statistic_mine_block% adds me 2 by 2 each block/mine that I mine? is it a bug?
is bug
hours played is your total number of hours played
time played: hours is the number of hours in a counter of your time played
so like, you'd have 13 days, 15 hours, 45 minutes, and 16 seconds or whatever played
that's what the first one is
oh ok
and this?
oh yeah that's been a thing for a while, it might have to do with each hand getting counted or something?
dunno, I would recommend just halving it or setting thresholds at double
I didn't understand you, sorry.
i dont native speaker english
I mean that when I mine a block the counter goes up by 2.
I don't know, I have mined a block of "ancient debris" and it has counted only 1, but if I mine for example netherack it counts 2...
check this
is bug
I have mined 2 as you see in the gif, 1 of each type and count 3 in total.
XD
placeholder can he read from a database?
Is there a placeholder that can get, for example, the first letter of another placeholder? So that if the placeholderβs output was βexampleβ it would change it to only the βeβ.
**Hey π **
var placeholder = '%player_name%';
function getFirstChar(placeholder) {
return placeholder.charAt(0);
}
getFirstChar(placeholder);
Thanks, Iβm not that familiar with Java though. Is there a simpler way of doing it?
Is ecloud having problems atm?
If not, does PAPI requieres a dependencies right?
Right now im having issues with any expansion im trying to download
Like, for examples essentials
It gives me an error sayong failed to find expansion "essentials"
And yes its spelled correctly
I recommend this
Thanks, appreciate your help π
@mint fable sry for ping πππ
Pls add permission attach files in this channel fast π
Please respect the rules, be patient and don't ping staff members!
Sry :(
?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
?imgur
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.
No pinging
Ok :(
whats the issue even...
See
I see nothing?
manually install it
Bro I tried but not working :(
?
If you can't connect to the ecloud, then that's why you can't get it.
I tried bro its not working
is that what you're saying?
See
;-;
Did you try the manual download from the website?
Uhhh bro I tried but not working
:(
anyone know why i cant install the extension killstats? ive tried both through /papi ecloud and manual downloads
Hey π
You can use Str expansion of PAPI
Plugin not working
Idk why I cant use any expansion
#1/WARN]: [PlaceholderAPI] Failed to download expansion information
java.net.ConnectException: Connection timed out
at sun.nio.ch.Net.connect0(Native Method) ~[?:?]
at sun.nio.ch.Net.connect(Net.java:576) ~[?:?]
at sun.nio.ch.Net.connect(Net.java:565) ~[?:?]
at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:588) ~[?:?]
at java.net.Socket.connect(Socket.java:645) ~[?:?]
at java.net.Socket.connect(Socket.java:595) ~[?:?]
at sun.net.NetworkClient.doConnect(NetworkClient.java:182) ~[?:?]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:497) ~[?:?]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:600) ~[?:?]
at sun.net.www.http.HttpClient.<init>(HttpClient.java:246) ~[?:?]
at sun.net.www.http.HttpClient.New(HttpClient.java:351) ~[?:?]
at sun.net.www.http.HttpClient.New(HttpClient.java:372) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1299) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1232) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1120) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1051) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1653) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1577) ~[?:?]
at java.net.URL.openStream(URL.java:1192) ~[?:?]
at com.google.common.io.Resources$UrlByteSource.openStrePlaceholderAPI] Failed to download expansion information
java.net.ConnectException: Connection timed out
at sun.nio.ch.Net.connect0(Native Method) ~[?:?]
at sun.nio.ch.Net.connect(Net.java:576) ~[?:?]
at sun.nio.ch.Net.connect(Net.java:565) ~[?:?]
at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:588) ~[?:?]
Your firewall or something is blocking the outgoing connection
hey my placeholder called "player" isnt working I restarted the whole server too
placeholder can he read from a database?
what's the fix?
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.
there isn't really an exact fix. but you can manually download the expansions
hi why player expansion is bugged when passing offline player
well only some palceholders support offline players. not all of them. you can look at the source code to see which ones
i just saw
%player_first_join_date%
why this one doesn't support it the bukkit api should provide it right
according to the code it should work with offline players tho.
placeholder can he read from a database?
[09:06:55 WARN]: [PlaceholderAPI] Loaded class net.luckperms.api.LuckPerms from LuckPerms v5.4.0 which is not a depend, softdepend or loadbefore of this plugin.
[09:06:55 INFO]: [PlaceholderAPI] Successfully registered expansion: luckperms [5.1-R2]
[09:06:55 INFO]: [PlaceholderAPI] Successfully registered expansion: mcmmo [1.0]
[09:06:55 WARN]: [PlaceholderAPI] Loaded class com.gmail.nossr50.mcMMO from mcMMO v2.1.205 which is not a depend, softdepend or loadbefore of this plugin.
[09:06:55 INFO]: [PlaceholderAPI] Successfully registered expansion: mcmmo [1.0]
[09:06:55 INFO]: [PlaceholderAPI] Successfully registered expansion: player [2.0.2]
[09:06:55 INFO]: [PlaceholderAPI] Successfully registered expansion: server [2.6.0]
[09:06:55 INFO]: [PlaceholderAPI] Successfully registered expansion: statistic [2.0.1]
[09:06:55 WARN]: [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend, softdepend or loadbefore of this plugin.
[09:06:55 INFO]: [PlaceholderAPI] Successfully registered expansion: vault [1.7.0]
[09:06:55 INFO]: [PlaceholderAPI] Successfully registered expansion: worldguard [1.4.2]```
can i fix WARN?
nope, that's just what happens when a plugin loads classes, which is PAPI's entire job
okay thank
Is there anyway to get %statistic_mine_block% to return its value including commas? Right now its just straight up numbers
oh nice, thank you
wait, am I not able to put a placeholder inside of the number format placeholder?
I did %formatter_number_format_statistic_mine_block% but it just came out as plain text
try putting it in {}
Where can I see full list of placeholders available?
Including all the expansions.
I found it! But is there any placeholder which checks if block exists in specific locations?
Why i cant reload papi?
Β» Give the helpers some details
Β» Ask suitable questions
Β» Be polite
Β» Wait
@stable quail
[12:33:28 INFO]: Flufy__ issued server command: /papi reload
[12:33:28 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[12:33:28 INFO]: [PlaceholderAPI] Fetching available expansion information...
[12:33:28 ERROR]: [PlaceholderAPI] failed to load class files of expansions
java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: net/ess3/api/IEssentials
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.NoClassDefFoundError: net/ess3/api/IEssentials
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:396) ~[placeholderapi.jar:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
... 1 more
Caused by: java.lang.ClassNotFoundException: net.ess3.api.IEssentials
at java.net.URLClassLoader.findClass(URLClassLoader.java:445) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:587) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
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:396) ~[placeholderapi.jar:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
... 1 more
this
how to set value of the placeholders that already exist, for example set value of placeholder "%vault_eco_balance%" to 0 or some numbers
Can I use a placeholder in a placeholder e.g. for Math %math_%example%%?
Hi, is there a placeholder that lets you know the number of carrots grown that have been broken by the player?
Is there placeholder which checks if block exist in specific location?
that's pretty specific, most likely no
I have this strange issue where my placeholder stops working after /papi reload
persist is set to true though
featherboard is displaying a papi placeholder and the placeholder just stops being called
public class myCustomExpansion extends PlaceholderExpansion {
public myCustomExpansion (testCore core) {this.core = core;}
@Override
public String getAuthor() {
return "paradise";
}
public String getCustomField(MPlayer player) {
System.out.println("Returning...");
return "xyz";
}
@Override
public String getIdentifier() {
return "myCustomExpansion ";
}
@Override
public String getVersion() {
return "1.0.0";
}
@Override
public boolean persist() {
return true;
}
@Override
public String onRequest(OfflinePlayer player, String params) {
MPlayer mp = core.getMPlayer(player.getPlayer());
if(params.equalsIgnoreCase("isMarried")){
return this.isMarried(mp);
}
if(params.equalsIgnoreCase("partner")) {
String returnplaceholder = getCustomField(mp);
System.out.println("Returning " + returnplaceholder);
return returnplaceholder;
}
return null;
}
}``` this is essentially my code
but it stops logging after a /papi reload
it seems it only works again when reloading the plugin after papi reload has been done, uh, is there a placeholderapireloadevent or something so that I dont need to?
you can, yeah
you just have to replace the %% with {} for the second placeholder
ok thx
%math_0:1_{internal_placeholder} + 10% for example
you'd have to change where the placeholder is coming from
and a placeholder in a placeholder in a placeholder is that possible?
no
sad
there's probably a better way to do what you're trying to do
you rarely have to use 3 placeholders in one lmao
and can i use placeholder in commands?
can i have the link of the website to download manually the extentions of papi for my scoreboard plugin
pls
still getting this issue btw
./papi cmdparse <player> <command>
placeholder can he read from a database?
yeah using the parseother expansion
not sure what you mean by that
If you mean get a value from a MySQL database, then no there are no expansions to do that
is it possible to make placeholder take information from a certain world?
what kind of information?
this %player_first_join_date%
why not for all worlds
what
that placeholder just tells you when the first time you joined the server was. Has nothing to do with any worlds
what are you trying to accomplish exactly?
and which placeholder shows the entrance to the world?
there isn't, I don't think that data is saved anywhere
again, what are you trying to do? why do you need that placeholder?
so that the player knows when he has registered
i cant download any expansions using /papi ecloud download
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.
Still having this issue, persist is true but when papi reloads the placeholders for my plugin stop working
Are you registering the expansion properly in your main class/onEnable method?
Hello
OSEA
[11:09:34 INFO]: Failed to find an expansion named: DeluxeChat
[11:12:08 INFO]: Failed to find an expansion named: Player
Why ?
u have to do it manually like me
Hi hellooo. I am using UltimateVotes along with ajLeaderboards to create some top voters. I am using the ultimatevotes_montlyvotes placeheolder to do this. This is erroring, based on it not being an unformatted numeric response. I have spoken to the UltimateVotes dev and he has pointed the finger at PAPI, as his code clearly returns a numeric value.
What do I do?
what does /papi parse me %ultimatevotes_monthlyvotes% return?
Interestingly, it just says %ultimatevotes_monthlyvotes%
can you do /papi dump and send the generated link over?
Sure. I did check console and I'm not seeing any errors. I do have a couple of thoughts about what could be happening here
PAPI is fully functioning outside of that issue above
Appears UV doesn't run on the server I'm trying to pull the placeholder on, I'll sort that and go again. Forget that it won't pull from Bungee
Hi im getting a error called failed to find expansion also i dont have the expansion_name.jar file in my expansions folder Help
also that parse command is very useful I like that
yeah it is.
and yes. the plugins needs to be in the same server. currently there is no PAPI bungee support
I recommend you download the expansions manually from the ecloud
Yeah that's my bad, UV runs on the bungee but has a bridge to each server, just totally skipped my mind that UV wouldn't have been on the Lobby server
Thanks for your help
no problem
I dont get it, what i have to do, that my Scoreboard displays the name of the User .-.
okey, found it
xd
Hello! I'm trying to display another player's statistics, I tried to do it through %otherplayer% but they told me that it's impossible, then I switched to %parseother% but I need to manually enter the player's nickname.
I'm at a dead end.
Also some details, I'm trying to display online players in the GUI using the CommandPanels plugin (this is just an explanation of what I'm trying to do).
well I mean you need a way to get the other player's name. there's no way to parse placeohlders for them if you don't know who the other player is.
well how do you get the online players?
I'm not sure if I can say it here, but I get them through the placeholder from the CommandPanels plugin, namely %cp-player-online-1%
well thgen try %parseother_{%cp-player-online-1%}_{YOUR PLACEHOLDER HERE}%
Thanks, but unfortunately I already tried this and it didn't work π
what exactly happens when you use that?
It just becomes text.
did you download the parseother expansion?
Sure.
I guess cp doesn't parse its placeholders before PAPI. idk if you can do it then with those placeholders.
with the online ones
Very strange, okay, thanks!
I think I need to talk to CommandPanels support again.
π
you could use the playerlist expansion from PAPI to get the online players instead of the cp ones
%parseother_{playerlist_online,normal,yes,0}_{YOUR PLACEHOLDER HERE}%. you just need to download the playerlist expansion.
also you change the 0 to 1, 2, 3, etc. to get the next players
the online there tells the expansion you only want the online players, normal means that you don't want any specific criteria just online players, yes means it includes you, and 0 is the player. (it starts from 0 not 1 as you can see).
He messed up the format a bit, this is possible to pull off with cp.
%parseother_{commandpanels_player-online-1}_{YOUR PLACEHOLDER HERE}%
cp-x is the internal format that you'd use inside the plugin itself. commandpanels_x is the PAPI bridge that's built into the plugin. You're gonna need to use the second format if you want to use it outside of cp
oh. didn't know they had PAPI placeholders.
I just used the placeholder I Was provided
which was the internal one
@turbid tide @austere hawk Thank you very much! You saved me from these headaches π
yw
Yeah fair enough xD
Ok
so i need help
I was on my account right and then bang no server
i messaged the owner and he didnt ban me or anything nor was i on the ban list
i didnt leave
so i left the account and made a new one
(this account)
but
now it just happend again?
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.
@austere hawk please read this 
gaby
There seems to be a memory leak in Vault's Placeholder Expansion. The thread is not shutting down gracefully.
Log: https://pastebin.com/gainK8y9
Why not request vault to fix it?
ugh. bcz that's not a vault thing
the top placeholders are just in the vault expansion
Oh I read vaults baltop method
and since it literally just takes data from essentials and makes a leaderboard, we'd rather use essentials api which now includes some nice baltop stuff
damn
vault:
baltop:
check_delay: 30
cache_size: 100
enabled: false
if i like that
problem fix?
it should be. yes
ty
no problem
Help when i try anything it give error like /papi ecloud download server it say cant find it what i do it happen to all extensions
Hej there.
Any Reason why placeholderapi might work if i join via waterfall proxy, but not if i join via velocity proxy?
Atleast the ecloud extensions like localtime and player wont work :(
Hello. Please try and download the expansions manually from here: https://api.extendedclip.com/all/
@bleak bear any chance you tell us what hosting you use?
when I put /papi ecloud download player or vault it gives me an error
what error?
I send you the photo to dm
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.
send the photo here. using imgur
ok
Has the API for placeholderAPI changed?
[18:17:26 WARN]: [PlaceholderAPI] Failed to download expansion information
java.net.UnknownHostException: api.extendedclip.com
π€£
Thats not really an answer.
I get this error on one of my servers thought it was caused by EssX but not with the upgrade to 1.18.2 the erro has changed could be papi https://paste.helpch.at/ezotabayow.bash
any chance you moved your server from offline to online mode or vice versa? And no. I highly doubt this is PAPI. This just means that there's already an user with the same name but different id in essentials's usermap
I talked to ESS support and could not figure out to stop the error that only happens at bootup
yes it is possible I went from online to offline
Hi I want to make a ranking of who kills the most mobs how to display the stats of other players? %statistic_mob_kills%
you tried?
?
question is
i don't know how to display the stats of another player
yes
that depends on what you wanna do
if your question is
"how to make a leaderboard using only PlaceholderAPI"
you can't
I want to make a ranking for example of the players having broken the most blocks (thus displaying the top 1...)
in the menu
this plugin is not for that, you probably need an external plugin that use the player data to "build" the top
oh i see thanks anyway
you can use a plugin like ajLeaderboards to hook with the statistic placeholder and make a leaderboard
its pretty neat
Hello, I am grabbing placeholders from uSkyblock (using uSkyblock reloaded as that's the updated fork), and it seems to break (on my scoreboard, that is). It looks like this in-game (https://prnt.sc/Va5ztR_qOVyU) but once I go to my island and do /is level, it fixes the issue... is there a way to make it so they don't need to type /is level first?
(Please ping on reply)
make your scoreboard toupdate that line every 1 second
otherwise, that's skyblock issue
Where's the "toupdate" at?
that depends on your scoreboard
not all of them have an option to constant update a line
so first, make sure it's your skyblock plugin issue
by using /papi parse me %the placeholder%
if the placeholder returns correctly (after restart) i guess, then its correct
otherwise thats the issue and somehow /is level is required
it probably fetches data when you run the command instead of doing it on join
idk tbh
............
Falixnodes
Please respect the rules, be patient and don't ping staff members!
Hello there I am getting a error I am unable to download expansions
Same error
Same bro
U know what I am also using falix lol π
Pls tell what i can do i cant use placeholder what i do me in falic
Falixnodee
@tame prawn download mannual
How tho?
% math_5 + 1% is calculated correctly and is displayed as 6. However, it is not possible to calculate using precision such as & 1 & l9st & f & l # & b% math_ {objective_scoreposlow_ {1} _ {9}}> 0%.
How to fix?
I use translater.
?ecloudblock
Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.
^
help meeeeee
π
Umm i got the expansion file in plugin folder, now what I have to do?
/papi reload
No no means I got the expansion folder but it's empty I executed command /papi ecloud download player it says failed to find an expansion named:vault
so download them from this website and put them in the folder
Ok leme try
Thanks man it worked π
@tame prawn Hello. Please try and download the expansions manually from here: https://api.extendedclip.com/all/
Thanks ππ
What host do you guys use @tame prawn and @jolly crystal ?
papi ecloud download player
[10:58:22 INFO]: Successfully downloaded expansion Player [2.0.2] to file: Expansion-player.jar
Make sure to type /papi reload to enable your new expansion!
[10:58:22 INFO]: [PlaceholderAPI] Fetching available expansion information...
papi reload
[10:58:29 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[10:58:29 INFO]: [PlaceholderAPI] Fetching available expansion information...
[10:58:29 INFO]: [PlaceholderAPI] Successfully registered expansion: player [2.0.2]
[10:58:29 INFO]: 1 placeholder hook(s) registered!
works fine for me
Falix nodes
π
????
My PC lol
Please respect the rules, be patient and don't ping staff members!
It's not my error though. A user got the error and one of my plugins he uses depends on placeholderAPI. (Dont ask me why. If I coded it originally, it would be optional)
help me
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)
A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.
GUYS HELp https://paste.helpch.at/tidabowohu.sql
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)
please read what the bot said
I have the latest version of java, I can't install placeholder
As the bot mentioned, the World expansion requires you to have java 14 or newer while your server has java 8
idk about that... the error says you run java 8
-_- okay
I installed EZRanksPro via the cloud api , but these ranks don 't work in the scoreboard on the right
%ezrankspro_progressbar% nor work in the scoreboard
on output of installed list green means update or is it gold?
green means its latest, gold means there might be an update on the ecloud
%localtime_time_h-m% Does this placeholder return the hour and minutes of the server or the user's country?
it tries to get the user's time. but if it fails then it returns the server's I believe
thanks
quick question. I'm sure you've seen it before and I'm sure I'm missing something. I have essentialsx, i have placeholderapi, i have vault. All at latest possible version. %vault_eco_balance% and any variation thereof works perfectly. however %vault_eco_top_balance_#% and any variation thereof doesnt seem to register at all. what Have I forgotten
nevermind. read pinned
I'm sorry
so the placeholder %essentials_worth% doesnt work
https://paste.helpch.at/yiwuqexizi papi dump
I am now using the essentialsx dev expansion
how do I go about listing the placeholders available from that expansion
Now that the Spring cleaning is done for my bedroom, back to updating servers. OK Bungee is gold and I have downloaded it twice and not change, Statz and Autorank are gold but they are built into plugin now, do I need to change something some where's to have it be green?
@inner shell /papi parse me %essentials_ then you can tab thru them all
aye.. i managed to re read the pinned post and got what I needed. https://gyazo.com/9418237f268806bfafc3e20a26615830
but that will help in the future. thank you
%essentials_worth% doesnt work
@cobalt cave when you run the placeholder you need to be holding the item your checking
oh ok also is there a placeholder to check the servers total balance
no clue I don't use ess placeholders, I had to download the expansion to test worth placeholder
ok
I don't think so, since I can't think of any command that would return that data
I believe the placeholders are with Vault not essentials
Check Vault placeholders
For economy based
so i upgraded from papi 2.10.9 to 2.11.1 on a 1.16.5 server using luckperms extention from the new papi (aka... i updated the luckperms extension after the new papi was loaded) and the place holder %luckperms_primary_group_name% is not working on the Deluxehub score board.... since this is a 1.16.5 server is there any benefit to using the newer papi?
yes... i have some builds that will break if i upgrade the server to 1.17 or higher
we done some pretty funky stuff that you cant normally do
i can change it back it is no big deal
ah jeez dude
you gotta get on the upgrade
people don't like playing old versions
just look at bstats
how do i get the jobs reborn placeholder api ingame
hello how can i get ping like in the scoreboard
Dose anyone know, how to use getTargetBlock on Javascript?
Get the extension try /papi ecloud download jobsreborn
Which scoreboard plugin
ye igot it two work now thx
Np
it doesnt exist
Please respect the rules, be patient and don't ping staff members!
shit sorry
@sharp jay Unknown expansion.
?
type /jobs placeholders
ye ok
Hello, Placeholder api seems to be having issues with the bungee extensions. https://paste.helpch.at/erebesaxac.md
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.
^ That should solve it for you.
so far yes the bot fixed the issue.
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.
Barry fixed my problems
He a real one
You'll have to manually download the expansions from the ecloud. Your hosting company might be blocking your connection
what hosting do you use?
Free Host
Falix
just to develop server
and switching files to paid server
Electronode
yeah I believe we've had couple of people reporting the same problem from Falix
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.
download the expansion from this link ^^
yea
do /papi dump and send the generated link over please
can you restart the server and if it still doesn't work send a startup log here please?
ok
[12:48:36 ERROR]: [PlaceholderAPI] failed to load class files of expansions
java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: com/massivecraft/factions/RelationParticipator
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) ~[?:1.8.0_292]
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) ~[?:1.8.0_292]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1606) ~[?:1.8.0_292]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_292]
Caused by: java.lang.NoClassDefFoundError: com/massivecraft/factions/RelationParticipator
at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_292]
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[?:1.8.0_292]
at java.lang.Class.getDeclaredMethods(Class.java:1975) ~[?:1.8.0_292]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:396) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604) ~[?:1.8.0_292]
... 1 more
@turbid tide (sorry for ping)
ah yeah. you have the MassiveCore expansion but not the plugin so it breaks and it also takes down the entire loader with it
remove it from your expansions folder
what if i add MassiveCore And factions plugin?
if you add it, then it will probably work
ok
Hello, I don't have a progressbar showing with any placeholder. Even with a simple like that: https://i.imgur.com/RFPqSUl.png
You probably need a max value
So if i do something like this %progress_bar_{server_online}_c:&cβ _p:&cβ _r:&4β _l:30_m:1_fullbar:&cCompleted!% it should work ?
Probably
It don't work and i don't have errors :/
Progress bar work in menus ?
Why does %player_displayname% showed instead of player's name?
you might not have the player expansion installed
I did installed
/papi ecloud download player then /papi reload
I already did that twice
can you do /papi dump and send the generated link here?
how have you tested the placeholder? did you try it with /papi parse?
if not do /papi parse me %player_displayname% and tell me what it says
well then the placeholder works. your problem might be the plugin you're using it in. it might not support PAPI
Ohh
Hey, can somebody tell me how can I display the player's kills and death's counter in the scoreboard using PAPI? I cant find the placeholders and minehut doesnt offer a plugin wich creates these placeholders.. I'm using Scoreboard-Revision if somebody wanna knows. (1.17.1)
%statistic_player_kills% for kills and %statistic_deaths% for deaths
It doesn't accept statistic_deaths. It says Uknown statistic 'player_deaths', check https://helpch.at/docs/1.17.1/...
Help the placeholder plugin does not download the expansions
what hosting do you use?
falixnodes
Ok. We've noticed this happening on falix nodes in the past couple of weeks. I recommend you download the expansions manually from the ecloud. but could you send a startup log by any chance
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.
OK thank you very much
what is the persist() method in the extension class
its to be used by plugins creating an internal expansion class, setting that to true ensures that the expansion will be loaded upon reloading
upon papi reload. not /reload.
./reload π₯Ά
ahh okay thanks
zip file closed π₯Ά
@orchid cloak Could you provide your latest startup log via the instructions Barry mentioned above? I'd like to take a look and possibly work on a fix for future FalixNode users.
Hey, so I updated to 1.18.2 and everything was running perfectly. After a couple of restarts, my placeholders broke. https://paste.helpch.at/eceneraten.sql
Go to plugins/PlaceholderAPI/expansions/ and delete the quest expansion (all of them if there's multiple) then do /papi reload.
Fixed.
anyone know why my papi didn't work on my lobby
when i config %luckperms_prefix% its just goes blank
So i am trying to use the pinger papi thingy but i use bungeecord and its not working with interal ips
????
There is usually a wiki, there must be data there 
%gradient_message_{#hex1}_{#hex2}_message with colors%
this is what you need
Could I ask how do I link papi kills stats from my server to my bungee so I can show it in the hub?
Idk if there is a placeholder api bungee. If not install placeholder api plugin and parse the placeholder on ur hub server
Sorry, how would I do that?
"If not install placeholder api plugin and parse the placeholder on ur hub server"
That part :D
papi is not a bungeecord plugin
Oh
Then get a killstat plugin that is bungee
If u do that, placeholders can recongnize the stat from all servers
Placeholderapi*
So.
Find a killstat plugin that is compatible with bungee and hook the mysql database across ur hub server and other server where ppl pvp. The plugin will most likely have its own placeholders that u can use, so use that in the hub. If it doesnt then it probably has them with placeholder api. If so, go to placeholderapi and download it into ur hub server. Then restart the hub and do /papi ecloud download <plugin-name-given> then /papi reload. This will fix it all
There is probably kitpvp plugins that have bungee so use those, and u can most likely disable the feautures u dont want
yeah found one
Nice
I whanna make a scoreboard that displays my rank (i use the basic /teams command made by minecraft) would that be posible, and if how could i do it?
Couldn't I link papi with a database?
Papi isnt bungee capable
Download placeholder api and https://www.spigotmc.org/resources/teams-placeholder-expansion.90773/
I think this shall work
I wanna have kill stats not teams tho
Wasnt replying to u
what placeholder would i need to use?
The link gives u the ones u need
Okay, Thanks π
Has mysql support so i think it works
yes. but the plugin is outdated.
denizen | depenizen
So i am trying to use the pinger papi thingy but i use bungeecord and its not working with interal ips
lol I forgot to add context.
I personally made it with depenizen/denizen, what Im actually doing is parsing placeholder tags from other servers. Then you can work with them π€·
Does that do that?
not on its own
What plugins are needed?
^ + depenizenbungee
Is there any setup that is needed?
yes
What is the setup may I ask?
!guide
oh
anyway we should move to #general-plugins since this is not papi related anymore
[17:45:10 INFO]: Failed to find an expansion named: vault```
this is what I get when I type /papi ecloud download vault on the console
[17:45:01 WARN]: [PlaceholderAPI] Failed to download expansion information
it also says this erver time i start the server
So i am trying to use the pinger papi thingy but i use bungeecord and its not working with interal ips
what hosting company do you use?
is it Falix by any chance?
the pinger expansion is quite buggy from what I've experienced. there's no one maintaining it either. not sure if there's a way to use internal IPs
F, is there no other way?
yes
yeah, we've got reports from other people that use the same hosting. I believe someone contacted them trying to get this fixed. Until then you can manually download the expansions.
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.
oh ok
Hello, papi has problem with loading expansions. There is error in console -> https://paste.helpch.at/pifitaqawi.sql
How to allow usage of placeholders in my scoreboard plugin (built in)?
Hey how do I hook into a plugin thats not on ecloud?
ugh? what does hooking into a plugin have to do with the ecloud?
I think he means how to use placeholders from a plugin when papi doesn't have a parse command
Usually the plugin has the placeholders built into them
I have a plugin that does have PAPI as a softdepend and is not listed here: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders
well they're not required to list their placeholders there
I know
only those that want list the placeholder
That isnt the question
Send the plugin link
But do I have to have execute a command to be able to use the placeholders inside the plugin
No, not if the plugin has integrated placeholders without a dependency
Okay so if it doesnt work its because the dependency doesnt work?
What's the plugin?
Its not on the spigot website, its custom made
If the developer made the plugin have its own placeholders and doesn't require another plugin like placeholderapi to parse it, then the placeholders should work on their own
If the plugin has a dependecy, then make sure it is working with the developer made plugin
tbh I still don't understand what your question is
make sure you either install EssentialsX or you delete the essentials expansion
Okay so I have a custom made plugin (which should have PAPI as a dependency)
I want to use the placeholders of the custom made plugins in MyCommand, and my question is: Do I have to execute a command to hook into PAPI?
no. you have to hook into it using code
following this
Okay thank you
Any placeholders around to get the current month?
%server_time_<SimpleDateFormat>%
Awesome, just what I needed!
microwave simulator
I need help, when placing /papi ecloud download no options appear and for example I put any of my plugins and "Failed to find an expansion named" appears
are you using Falix hosting?
yes
read this message and the one under
for a fix
but where do I download the expansion .jar?
there's a link in this message #placeholder-api message
you can search there for whatever expansion you want
and download it
THANKS!
This is for chat but for scoreboard it's a little different since u can't use strings
Please respect the rules, be patient and don't ping staff members!
Are registrations on api.extendedclip.com always locked and it's like a "ask to register" type thing? Or is it actually just temporarily locked
I think it's always locked
I'm guessing it was unlocked when it was less popular π€· (and locked to prevent spam?)
you have to message FunnyCube i think
By any chance do you know a placeholder to get a percentage of a number or a placeholder
wdym?
Like, %percent_<percentage>,<number>%
you might be able to use math expansion
im a bit confused by what u mean tho
can u give example?
oh
I haven't used math expansion but it'd be number / percentage * 100 π€ ill try testing around
uh
Maybe one day I will have an idea lol
%math_0:_{PERCENT_PLACEHOLDER}/{PERCENTAGE_PLACEHOLDER}*100%
that works
Cool cool
My Papi doesn't wanna reload
how is this possible ?
my other server is on java 8 and there placeholder is working fine ?
probably outdated version
So I installed the essx papi data and now my server doesn't wanna sho player counts
PlaceholderAPI (2.11.1)
I used %bungee_suvival%
Me?
the math expansion. ur other server is probably using a version before 1.2.7 as thats when the expansion started requiring java 11. u can downgrade to version 1.2.6 if u want but i recommend updating ur java version instead
no, but what does the placeholder return when u do /papi parse me %bungee_suvival%
and any errors when u reload papi?
%bungee_suvival%
does the expansion show up in papi list?
download it again, papi reload and look for errors in console
why is the link so big lmao
A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.
What should I do?
update essentials
guava?
but its size is big tho
can i get a link to the lib?
yep
guava 
whats wrong with guava star
no it looks very active
last release 10 days ago
last commit 3 hours ago
altho maybe star means guava just isnt as useful with newer java versions? as the stdlib has improved
Hello, I need help when I try to download the Player extension, it tells me "failed to find an expansion with the name Player"
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.
oh no nothing is wrong with Guava just that he didn't say the name right
and yeah the stdlib has gotten a lot better
i have a problem with placeholderapi https://imgur.com/XHQBrGx
what hosting do you use?
falixnodes
yeah. follow this then
Hi guys.
I currently have a problem while developping my own papi expansion. In fact, I try to use it through essentialsx chat.
The error I get is this one:
Could not pass event AsyncPlayerChatEvent to EssentialsChat v2.19.3
java.util.UnknownFormatConversionException: Conversion = ' '
I'd normally say this is a typical essentials error, but when I delete the placeholders from the config, it works properly.
I've followed the whole documentation and registered it.
here is my code: https://pastebin.com/h0NFEnNp
And it is registered with :
if(Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null) {
new RainbowPAPIExpansion(this).register();
}
Do you guys have any idea of what's gone wrong ? I can't find anything ...
make sure ur on the latest version of papi
that error should be fixed as of 2.11.0 or smth
wait does essentials even support PAPI placeholders yet?
ho idk, but i use the latest stable build of it
but it should normally work I guess ?
a plugin needs to add support for papi manually, we cant just replace every placeholder magically
what i suggest u do to test a placeholder is use /papi parse me %placeholder_here%
It seems that the other plugins also generate the same error when using the placeholders
the command only gives the placeholder back without value
the user will still need the expansion. also you're adding the placeholder before parsing it?
Again after restart
I have my server down. Help?
What is the license for placeholder api?
In other words, am I allowed to distribute the jar inside a .zip or do I need to refer to the download URL?
distribute the jar inside a .zip
That still doesn't answer my question...
I am asking because I want to do the things right.
ty
can anyone help me with this? the detail of this issue is in #general-plugins-2
https://paste.helpch.at/godiceruti.php
just wondering, which placeholder you using?
it might be player_name but i'm not sure
i doubt it's player_name tbh
if so, try using latest build, deleting player expansion
and downloading it again
yeah, i just seen the config of the related plugin and placeholder used around
-player_name
-player_x/y/z
-player_biome_capitalized
-player_health_rounded
-player_max_health_rounded
-player_colored_ping
-player_world
-vault_eco_balance_commas
-player_world_time_24
-server_time_dd/MM/yyyy HH:mm:ss zzz
that's all i see in the config file
can any one tell me whats wrong with my javascript placeholder it used to work but since moving to 1.18.2 is no longer working ( was prev on 1.17 ) iv updated jars as much as i can find.
Error in console: https://paste.helpch.at/yaziziyogu.cs
javascript file. https://paste.helpch.at/uselunaguw.js
Can i have support please??
that's not exactly an error tho?
Please respect the rules, be patient and don't ping staff members!
Β» Give the helpers some details
Β» Ask suitable questions
Β» Be polite
Β» Wait
java.lang.RuntimeException: Failed to determine Minecraft version
Caused by: java.lang.IllegalArgumentException: No match found in 'git-Spigot-21fe707-741a1bd RivaNetwork: 1.8.8'
wft i am asking for help and you are literally ignoring me. Somebody arrives and you reply istant?
/papi dump
it's not possible because the error is in the startup
A lot of the time it just happens to be the timing
?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 that over
ok i'll provide it now
Hey, Im using the hologram plugin and when I do something like "Hello, %player_name%." it does not say the player but only says "%player_name%."
what version of holographicdisplays are you on
v3.0.0-SNAPSHOT I believe..
run those commands and see what happens
π¨ A user has been banished from the island for using wrongly distributed software, the island has spoken.
also notice in the changelog
- PlaceholderAPI support (e.g.: %player_name%, but the format will change in the full release).
so watch for them to possibly change the format if you update in future
wdym in the next update

just says full release, you're on a snapshot version
aha!
they already changed it if you're using beta 2 actually
instead of beta 1
- Changed format for PlaceholderAPI to {papi: placeholder} (previously was %placeholder%).
im using beta 2
that'll do it
ngl kind of weird, but I guess I can see why they did it?
π€·ββοΈ
I mean It still does not work tho using the {player_name} or %player_name%
no
the format is {papi: placeholder}
so try {papi: player_name} maybe
or maybe {papi: %player_name%}
OHHH I see
it's a weird format
alr it worked
which one?
I didn't make it
lol
I'd @ filo but they're not in the discord
lmao
it's definitely gonna confuse almost everybody
do you feel strong enough to open an issue https://github.com/filoghost/HolographicDisplays/issues
π
this is going to be very confusing when I will follow video tot on something
Uhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
Hey, quick question to you papi pros, I am using a voteparty plugin which's required placeholder always required 1 more than needed, eg when it turns from 1 to 1 it will still need 1 vote, meaning it start's when the required count is at -1 which can confuse players, my question now, couldn't I via the eg js expansion make the placeholder to display the value of itself + 1 so it would show the 'correct' required value and if, how would I do that? The placeholder is %missing_votes%, thanks for any help!
which voteparty plugin?
uvp, it's removed as it was relatively old, hence why I got no resource to provide other than this placeholder, I could send the jar if required but idk if the source is obfuscated or not
hence why my idea was to add a +1 to the placeholder %missing_votes% if that is possible
so you can use the math expansion ?
like %math_2_{missing_votes}+1%
I think thats right
Can someone please advise me where I can get oraxen expansion?
How can I create a permission
autosell, blocker, chatreaction, crazycrates, deluxechat, deluxecommands, deluxejoin, deluxemenus, deluxetags, ezblocks, ezprestige, ezrankspro, fastayncworldedit, fawe, frozenjoin, guilds, hyperverse, infoheads, levellingtools, luckperms, minecrates, mvdwplaceholderapi, oneversionremake, placeholderapi, plotsquared, shopguiplus, statz, superoof, vault, voteparty, worldedit, worldguard
1.8.8
1.12.2
1.13.2
1.14.4
1.15.2
1.16.5
1.17.1
1.18.1
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10-DEV - Dev Builds
ok
How can I fix the error https://paste.helpch.at/fiqoqobiqa.bash
not here
ffs
<:
Please respect the rules, be patient and don't ping staff members!
#placeholder-api message
Can any one help ( yes its a repost i screwed the error paste up the first time fixed it now )
question for javascript-expansion
how do I get mob health instead of player health
currently I'm using
var health = Math.round(BukkitPlayer.getHealth());
var maxhealth = Math.round(BukkitPlayer.getMaxHealth());
but its restricted to the player
thanks in advance
you can not
Where does the statistic placeholder take its data from? I'm trying to reset those stats and having no luck
I've deleted the userdata in the World file - that does nothing
how can I detect when placeholderapi is reloaded?
or is there a way to check if an expansion is loaded with the API?
I found isRegistered but im not sure how I'd be able to access that method
man idfk anymore
how am I supposed to handle /papi reloads
there's no event and the extension stays registered yet doesnt work
/papi bcparse user %marriage_partner%
[works correctly]
/papir reload
/papi bcparse user %marriage_partner%
[nothing]
/plugman reload myPlugin
/papi bcparse user %marriage_partner%
[works correctly]```
should I just fork PAPI and create a PAPIReloadEvent or something?
No, jesus
Just add persists() to your expansion
It means it loads back up when reloaded
I already have persists
but it doesnt seem to do anything e-e
I have java @Override public boolean persist() { return true; }
oh bruh is it persists with an S?
on the wiki its without an S tho
π€
yeah that's why I'm confused
What version of PAPI are you on?
2.11.1
I tried setting persist to false and it still doesn't unregister on reload lol
it just... stays there.. ded
please save me
I have the most hackish solution ever
getServer().getScheduler().scheduleSyncRepeatingTask(plugin, new Runnable() {
public void run() {
String tmpText = "%marriage_isRegistered%";
tmpText = PlaceholderAPI.setPlaceholders(null, tmpText);
if(!tmpText.equals("true")) { // random placeholder that always returns "true"
getLogger().info("Re-registering...");
new myExpansion(plugin, core).register();
}
}
}, 0L, 20L);```
persist true should be enough lol
It wasn't working for me sadly
i have a problem with PLACEHOLDER API
what's the problem exactly?
THE problem
solved it btw. gson was missing bcz they were using spigot 1.8
we moved to #general-plugins (idk why)
Hi guys.
I currently have a problem while developping my own papi expansion. In fact, I try to use it through essentialsx chat.
The error I get is this one:
Could not pass event AsyncPlayerChatEvent to EssentialsChat v2.19.3
java.util.UnknownFormatConversionException: Conversion = ' '
I'd normally say this is a typical essentials error, but when I delete the placeholders from the config, it works properly.
I've followed the whole documentation and registered it.
here is my code: https://pastebin.com/h0NFEnNp
And it is registered with :
if(Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null) {
new RainbowPAPIExpansion(this).register();
}
Do you guys have any idea of what's gone wrong ? I can't find anything ...
EssentialsChat doesn't support PlaceholderAPI
Ah, okay, so what can I do ?
Use a different chat plugin
alright, thanks π
how add placeholderAPI to database?
Hello, how can I make a javascript placeholder that replaces all the dots from %vault_eco_balance_formatted% into commas? or are there any examples out there?
Im pretty sure (not 100%) that all you need is .replaceall()
please someone correct me if im wrong
`var placeholder = "vault_eco_balance_formatted";
var parsed = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + placeholder + "%");
function clanTag(){
if(parsed != ""){
return parsed;
}
return ".";
}
clanTag();`
could this work?
So I am running a 1.18.1 prison server and placeholderapi hasn't been working properly, i've tried updating the plugin and doing other things but nothing works.
That is my console error.
Does PAPI have a placeholder like Featherboards Tickspersecond one?
Can't find it in the Git wiki anywhere
%server_tps%
%server_tps_1%
%server_tps_5%
%server_tps_15%
%server_tps_1_colored%
%server_tps_5_colored%
%server_tps_15_colored%```
I'm not looking for the TPS per say but more of the cpu ones
like {cpu_cores} {avgtps_rounded} etc
why do u need a placeholder for cpu cores
that should be a constant value
as for rounding the tps, u can use the javascript expansion to round an existing tps placeholder
Ah alright thank you
π¨ A user has been banished from the island for using wrongly distributed software, the island has spoken.
damn
Could someone please help me?
Why does this not work with the placeholder?
/hd setLine TOP 2 &b&l#1 &6{papi: player_name} &ewith a island level of &6{papi: IridiumSkyblock_level}
the "{papi: IridiumSkyblock_level}" part
can any one tell me whats wrong with my javascript placeholder it used to work but since moving to 1.18.2 is no longer working ( was prev on 1.17 ) iv updated jars as much as i can find.
Error in console: https://paste.helpch.at/yaziziyogu.cs
javascript file. https://paste.helpch.at/uselunaguw.js
Is there placeholder for checking player in specific area or range?
Is there placeholder which shows playername?
%player_name%
Is that default? Or do I have to install expansions?
Okay thanks! Can you tell me does placeholders work in chat?
Or in commands?
@worldly fjord
if your chat plugin supports it
Oh okay got it thank you!
Hi
Does anyone know the placeholder that is needed to see the players that are connected in the same group, the plugin that I use for the groups the luckperms
??
U might be able to use the PlayerList expansion.
This will only work with luckperms:
%playerlist_online,perm,yes,list,group.<group-name>%
you need to change <group-name> with the group name you want to list players from
What to do if it gives this error?:
[PlaceholderAPI] Failed to load expansion class VaultExpansion - One of its properties is null which is not allowed!
what server software are u using
Mohist.
I've tried Magma before
ok, thanks
Please respect the rules, be patient and don't ping staff members!
I tried another Expansion.
He works.
And Vault gives that error
We don't support mohist. If some stuff works, that's great, but if other stuff (e.g. vault) doesn't, there's nothing we will do about it, you need to ask mohist.
Okey, Thanks
Good morning everyone o/
Someone have some idea why my top balance placeholders isnt working ?
Read <#placeholder-api message>
And <#placeholder-api message>
And <#placeholder-api message>
isn't working :/
for the javascript extension what stuff can i exactly use because i cant use stuff like let and i cant find any documentation on what i can use
A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.
what you mean by what can you use
anyway you can use let, wheres the problem?
let me go get the error one sec
let array = "%statistic_time_played%".split(" ") doesnt work and gives this error https://bin.birdflop.com/ehuzucikam.vbnet but
array = "%statistic_time_played%".split(" ") does
try with ; at the end
how i can fix placeholder when i download math
Is there a working 1.18.2 version for Featherboard?
I cannot get the placeholders to load for multiple plugins
Unless there was an update on SpigotMC, most likely not.
I do run spigot 1.18.2
Can any one tell me why this Javascript is causing this papi error?
The error: https://paste.helpch.at/epojihoqak.bash
the JavaScript:
var paid = parseInt(PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%cmi_user_maxperm_bust.buy." + args[0] + "_0%"));
var claim = parseInt(PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%cmi_user_maxperm_bust.claim." + args[0] + "_0%"));
var result = 0;
function dostuff(){
if (paid <= claim){
result = 0
}else{
result = paid - claim
}
return result.toFixed(0);
}
dostuff();
can you do /papi dump and send the generated link here?
seems like you have 2 javascript expansions installed
go to plugins/PlaceholderAPI/expansions, delete them both, restart the server
and redownload the expansion using /papi ecloud download javascript then /papi reload
thats bloody odd but i see how that might break stuff.
its a wonder i got my other javascript placeholder working.
ay that seems to of fixed it.
nice