#placeholder-api
150650 messages · Page 109 of 151
%math_0_19-{playerpoints_points}%
with
%math_0_19-%playerpoints_points%%
which one is correct guys
Try it and find out?
the 2nd doesnt work at all
Hey! I need help with my PAPI
How can I make it so that I can show my rank in a statistic
So let’s say the stat is kills
250 people have joined the server
And I have 100 kills
How can I make it tell me that I am position #25/250
@torpid path just 30k and you not even paid for me
'PlaceholderAPI()' has private access in 'me.clip.placeholderapi.PlaceholderAPI'
can someone help me why is this kept showing on registerPlaceholder
Hello guys, I'm trying to combine two or three plugins. Papi with LastLoginAPI and at the end using it in DeluxeMenu.
I would like to create a custom placeholder or something similar to display the status of specific players.
For example, in DeluxeMenu I would like to show the status of a specific Admin. It should show PlayerName online or offline when the specific player is offline.
Does anyone have tips for me? I heard of Javascript Papi expansion. Could it work with placeholderparse?
Thankful for any hints and tips:)
show online player
What do you mean? I don’t want to show some random online player. I want to show the status of a specific player… an admin, builder and so on
so you just need to check the rank
No, I need to check a specific username. For example Justus123. So I have to find a way to display the status of the specific player Justus123
status ?
I mean the status of the player. If he is online or the date the last time he was online. So the placeholder basically shows "online" or "offline"or/"thedateofthelastlogin"
@ocean beacon %player_displayname% is %player_online% joined %lastloginapi_last_login_date%
My console is still spammed after installing this. Any way to fix that?
Put the error in a paste @hallow pasture
@hallow pastureI would start by stopping the server deleting all expansions for bungee and start the server
This post https://www.spigotmc.org/threads/placeholderapi.61918/page-151#post-4577149
was replied to yesterday by someone still facing the same issue. I guess something has to be corrected in the jar.
Are you running the expansion yourself?
like 126 has only the try in it https://github.com/PlaceholderAPI/Bungeecord-Expansion/blob/fix/EOFException/src/main/java/com/extendedclip/papi/bungeeexpansion/BungeeExpansion.java#L126 which is weird
latest bungee expansion works fine on my server, running waterfall-1.19-526
What is the placeholder for JUST the username? Without the rank
thanks
also the players ping
thanks but they arent working
Is there a placeholder for multiverse worlds? Like how many people are in that world?
CraftingStore placeholder stopped working after downloading Player and VotingPlugin.
Just use the Server expansion. Multiverse worlds are just worlds. %server_online_<world>%. Replace <world> with the name of the world you want to see how many players are in it
If you want more complex stuff, such as not listing players with specific permissions and a lot of other stuff, then the PlayerList expansion is what you want
It is a bit harder to set up but it gives a lot of customizability
Expansion Pinger can check local servers? like localhost:25565? i've tested, but %pinger_isonline_localhost:25565% always show the offline
You can try changing localhost to 127.0.0.1
doesn't work
Also, try pinging another server such as Hypixel and see if it pings that one
this doesn't work either, maybe that's the problem, that I don't have any open ports?
I'm pretty sure you don't need to open any ports but I've heard this particular expansion tends to break a lot so it might just be broken.
maybe you know then what can be used to check the server for online?
I'm afraid I don't. That's the only expansion I know that can do this and I've never looked closely at how it works
oh, okay, thanks for help <3
@analog warren pinger works it needs to check a few times for the first check
%pinger_online_127.0.0.1:25252%
I use that in deluxe menu and if it don't work fist time I refresh the check and then it works
what's version of papi and pinger expansion?
just released
it needs to check a few times for the first check - how much?
I've been waiting for more than 15 minutes, but it still returns that the hypixel is offline
that didnt work for me
Hello, I have placeholdersapi installed on the latest version on a 1.19.4 server. Sometimes when I restart the server, some placeholders are not replaced, such as %statistic_hours_played%. Others, however, work fine. There are no errors in the console. If I reload the plugin, the placeholders work again. How can I fix this issue?
Is there any placeholder for exp with commas or formatted? And also date and time for example 29 Apr, 2023?
@slow hawk ?
%server_time_dd MMM, yyyy% @onyx valve
And for the exp you can use the formatter expansion, iirc it has a 'commas' placeholder
Thank you
hi, does someone know the %__% to see the achievements that you have made?
also by any chance I have oraxen better prefix tags I did everything correct it works in chat but when I set %oraxen_owner_tag% as prefix in luckperms and put %luckperms_prefix% as placeholder it shows %oraxen_owner_tag% but not the logo I have tried to change glyph size not working
use the Utils expansion with %utils_parse:2_luckperms_prefix%
.
here
How to change value variable in my placeholder JavaScript with command
Omg that worked thank you so much your amazing
What about if i wanted to use %oraxen_star_emoji% but it pops up as an error
what's the error?
what?
it shows when i do star in chat but not on featherboard
on featherboard i did %oraxen_star_emoji%
just shows as an error mark
can i send to you in dms?
sure
Guys i dont know why it is displayed like on the action bar while on score board and /papi parse me {currentPlaceholder} works
If it works in the parse command but not the other plugin, it's most likely an issue with the other plugin
check that it's in the right format
ie %% or {} or some other mix of things
Hi guys!
I am trying to use placeholder api to download a placeholder from a competition plugin, but whenever I type it out on the hologram plugin it comes out like this:
"Time until next competition starts %emf_competition_p%"
I've tried with the default placeholders like %player% and that works just fine, I just have an issue of figuring out how to use placeholders from other plugins that aren't listed on https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders
Thanks in advance 🙂
Might help if you mention your hologram plugin name
What exact placeholder are you trying? (ex: %server_time_MM/dd/yyyy%)
Does the placeholder you're using work if you type /papi parse me %placeholder%?
@austere hawk
%player% won't be from placeholderapi, that is an internal one within decentholograms I suppose.
Does %emf_competition_p% work if you type /papi parse me %emf_competition_p%?
you were supposed to put your placeholder in place of %placeholder%
I still need to know exactly what placeholder you're trying to use, not the format you want to show
you're just putting FORMAT?
Not an actual SimpleDateFormat?
Which wiki?
You need to use SimpleDateFormat where FORMAT is currently
%server_time_MMMMM dd YYYY% should give you what you want
that's not on that page
https://helpch.at/placeholders#server says %server_time_<SimpleDateFormat>%
even gives more info about SDF
can someone help me on the #general-plugins channel?
when i try to type it in to a sidebar it does not work
even when there is no download command
It just gives me a chat message saying %emf_competition_p%
and that's it
What plugin does this placeholder come from?
Can you also type /papi dump and send the link here please?
Hi all. Can you tell me how to make your Placeholder in JS for example if the player with the nickname "name" is present on the server then placeholder outputs his nickname in green, if it is not on the server, the red?
How to include an underscore as an input for a placeholder?
I have now just updated PlaceholderAPI from 2.11.2 to 2.11.3. Unfortunately player and playerlist don't work anymore. Does anyone have any idea?
[14:39:52 INFO]: console issued server command: /papi ecloud update Player
[14:39:52 WARN]: [PlaceholderAPI] Failed to load expansion player. Identifier is already in use.
[14:39:52 WARN]: [PlaceholderAPI] Cannot load expansion player due to an unknown issue.
[14:40:12 INFO]: console issued server command: /papi ecloud download PlayerList
[14:40:12 INFO]: [PlaceholderAPI] Fetching available expansion information...
[14:40:18 INFO]: console issued server command: /papi reload
[14:40:18 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[14:40:18 INFO]: [PlaceholderAPI] Fetching available expansion information...
[14:40:18 WARN]: [PlaceholderAPI] Failed to load expansion player. Identifier is already in use.
[14:40:18 WARN]: [PlaceholderAPI] Cannot load expansion player due to an unknown issue.
[14:40:18 INFO]: [PlaceholderAPI] Successfully registered expansion: server [2.6.2]
[14:40:18 INFO]: [PlaceholderAPI] Successfully registered expansion: luckperms [5.4-R2]
[14:40:18 INFO]: [PlaceholderAPI] Successfully registered expansion: vault [1.8.1]
[14:40:18 INFO]: [PlaceholderAPI] Successfully registered expansion: essentials [1.5.2]
[14:40:18 INFO]: [PlaceholderAPI] Successfully registered expansion: playerlist [3.0.3]
[14:40:18 WARN]: [PlaceholderAPI] Failed to load expansion playerlist. Identifier is already in use.
[14:40:18 WARN]: [PlaceholderAPI] Cannot load expansion playerlist due to an unknown issue.
Alrighty then. That's the biggest one we've seen of that issue. You can try downgrading for the time being.
from what I've read, %emf_competition_p% is not a valid placeholder
%competition_type%
%competition_place_player_<place>%
%competition_place_size_<place>%
%competition_place_fish_<place>%
%total_money_earned_<player>%
%total_fish_sold_<player>%
%competition_time_left%
%competition_active%
@scarlet umbra these are all the ones I've found in the source code
Hello! I've installed OpenRP onto a server and I can't seem to download the PAPI expansion for it, there's nothing for it coming up on ecloud or the wiki. I can't use ORP placeholders for TAB or CCR, has anyone else experienced this issue?
It doesn't show up on the eCloud site as something I could download manually, but on the usage page it's showing as being installed on 79 servers.
Most likely included in the plugin, have you tested the placeholders with /papi parse me <placeholder> by chance @wide ferry ?
Also, send a /papi dump
^
We're aware of orpdesc being missing
Have you checked their discord?
Yep
They are unaware?
It's fairly inactive, we did put a message in
it's as active as a retirement home
Is there some way to get to the file through papi?
no, we don't have it
Sadly not, the only mentions of PAPI from the last year were in relation to LuckPerms
Is there a way to extract the file from a server that does have it?
it's just a custom expansion that exists
that's...
We have a server that has it
then ya, check your placeholderapi/expansions/ folder
There's nothing for ORP in that folder, but it's still showing up
Of course- sending you the dump for the server that has it
https://paste.helpch.at/jihiwoguyi
We just don't know how to access the file, but it's right there
this works on the old server, doesn't work on the new one
i believe it is coming from openrp in your dump
version matches up 2.3.5
?startuplog
private
try again handsome
works
The issue, as far as I can tell, is that there is currently no longer an offering of the PAPI expansion for orpdesc, which wouldn't be an issue if I were able to copy/paste it from the old server that downloaded it when it was available onto the new project.
Anyone else able to help us?
I would try redownloading openrp maybe or copy it from the working server
can you send a log of the working server?
because these 2 lines are in your not-working log
[15:43:42] [Server thread/INFO]: [OpenRP] Registering Time Expansions...```
looks like it tries to register, but fails for some unknown reason
seems those lines are just fake log lines https://github.com/fishydarwin/OpenRP/blob/master/src/main/java/openrp/descriptions/ORPDescriptions.java#L229
They are not fake https://github.com/fishydarwin/OpenRP/blob/master/src/main/java/openrp/OpenRP.java#L367
@wide ferry
Tried it and tried it
maybe add placehodlerapi as a softdepend
In openrp?
That feels like a hammer of a solution
And?
If it works it works
nothing bad will come from it
if it doesn't work, change it back
We'll give it a shot
There seems to be no reason other than PlaceholderAPI not being enabled at the time those are run
ya, the messages are a little confusing on the failing server
it shouldn't say "registering expansions" if placeholderapi isn't loaded yet
they have another message for that specifically though lol
[OpenRP] Found PlaceholderAPI. Hooking into it!
tbh idk why it wouldn't work with just softdepend vs depend, but 🤷♂️
It was indeed a load order issue, it seems to be working now. Thank you for helping us debug this!
Oh snap! The one I used is the one he put on the spigot page, but I guess that's a wrong one then. How do I manage to load that with placeholder api then? /papi ecloud download "I don't know what to put here, for the placeholders to be downloaded"
I also didn’t see that on the spigot page FYI
You don’t need to download them, it’s included with the plug-in
so they should just work automatically like this??
/decenthologram create CompetitionTimer Time left until next competition %competition_time_left%
Yes, I would test with /papi parse to make sure
%emf_competition_time_left%**
apologies for the confusion
https://imgur.com/a/AkxbBSF (this is a text, a bit lazy to copy it)
Sorry if it was a xy problem
If you use minimessage, you can do smth like this perhaps
Not something that I want ig
same error, still just gives me the output of the placeholder and not the value it's supposed to give me
Tested with /papi parse?
hmm, I would recommend asking their discord support
You can send your startuplog over I can check for any errors
?startuplog
So, I've made an expansion called AdvancedBungee which forwards server names, players, and status through a bridge, was wondering if anyone wanted to test it?
?paste
try updating your plugin
just fyi, if you're "too lazy to copy", people will be "too lazy" to help you
Makes sense, sorry
Wait, I'll write it
So let me make this clearer: I want to return a TextComponent using PlaceholderAPI, but I want to keep the properties of it.
If this is turning into a xy problem, let me make this more clearer: I want to return a text with custom font (as you can add custom fonts using resource packs) using PlaceholderAPI.
Are you saying it's possible to have multiple fonts in 1 resource pack @prisma sonnet ?
other than default.json?
Yeah
I actually made it possible
I just want to make it compatible with PlaceholderAPI
ah, I didn't know that was a thing
do you have any documentation on it by chance
might be more of a #development question
Hmm, alright
Yeah
or does every font become roboto
It allows different ones
I made my side of it
I just want to implement it to PlaceholderAPI
Not default.json
They're in another namespace & another file
Yeah
i see
Basically, I need to return TextComponents with their properties remaining
i don't see any documentation on having other stuff that isn't default.json 😂
No worries, you can probably do it with my plugin 😄
I should make this possible with PAPI
already have the newest version.
you definitely do not?
latest is 1.6.10, you have like 1.5.x
[12:43:41] [Server thread/INFO]: [EvenMoreFish] Loading server plugin EvenMoreFish v1.5.0.1
oh snap lmao, normally I just get the top one from my panel and it's usually the newest one
so how do I update it, without losing all my custom configs? 🙂
i don't know if updating would break your configs, back them up before updating and see
if it does break your configs, see if the support discord for emf has any information
It's finally working, a update was all that was needed 😩 Thank you and sorry for being so blatant on this, such an easy fix haha.
Have a great evening.
thanks, you as well
Can anyone help me
So i have this problem where my money doesn't show on scoreboard I have tried %vault_eco_balance% , %liteeco_balance% and %liteeco_balance_formatted% is there anyway to fix this
did you install vault expansion ?
Yes
if you did and you have an economy plugin that hook into vault, %vault_eco_balance% should work
do /vault-info (iirc that's the command) and see if anything is listed under Economy
under economy i have liteeco and essentials eco
/papi parse me %vault_eco_balance%
done that and did nothing apart from in chat it said "40"
but it still doesn't show my money on score board
Tab
how can i send my config to this server
The url that it gives you. Not a saved file
Click the How to use if you don't know how to do it.
https://paste.helpch.at/wajepepono.yaml how about now?
Are you using TAB on bungeecord?
no
What even is bungeecord but i know i dont have this
the thing is the money is the only one that doesnt work
because i have multiple such as name,rank,kills,deaths and they all show but money doesn't
What does it show as
if your talking about name,rank,kills,deaths
it all works and shows how it is meant to be
?
you have papi ?
so just download and use it
so /papi reload
for every placeholder that return number
/papi parse me %nf_###E0X_{placeholder}%
did you just copy paste ?
my bad"
/papi parse me %nf_###E0X_placeholder%
np
Anyone know of a papi expansion that compares 2 inputs
im basically trying to get a true/false from %placeholder% > %placeholder2%
why i can't download skript placeholders
HelpChat Error: https://paste.helpch.at/asixuqewov.rb
How to Replicate: /papi ecloud download Bungee
HelpChat Dump: https://paste.helpch.at/ovedahikuq
This is a major issue with the Bungeecord extension for PAPI
@vivid sparrow Did you have a jar somewhere for a fix with this? ^
||if you don't, my AdvancedBungee expansion could maybe replace it 👀||
May I check it out
Its a plugin?
both an PAPI expansion and a Bungee plugin
it allows to have faster player count updates & server status (so, pretty much a replacement for both the Bungee and Pinger expansions)
How do you use it?
you just drop download it, drop it in both your PAPI's Expansions folder and Bungee Plugins folder and use the placeholders
try this first @fading tundra https://www.spigotmc.org/threads/placeholderapi.61918/page-151#post-4577149
yeah, if you don't want to bother with my expansion, try Gaby's jar for the normal Bungee expansion, it's easier to use 😅
Works
How do I use the placeholders
it would be like %advancedbungee_lobby_count% to get the player count?
%advancedbungee_server:lobby_playercount% yeah
great
do you get any warnings in console from the bungee expansion though?
Same error and I just restarted and tested
put it on a paste
Only one is the dev one
I removed advanced bungee
yeah idk why that happens
Guys which place holder exactly changes 1000 to 1k and 1000000 to 1m and it should support placeholders
Is it formmater or numformatter
And whats its syntax
I'm using the string replacecharacters placeholder to replace :smile: with an emoji in chat, but adding a color to the replacement kicks me since its an illegal character, any idea on what I can do for this?
':smile:': '🙂' Works fine
':smile:': '&f🙂' Kicks me
what is the error?
No error, but I get kicked for illegal char in chat
Formatter
Only tangentially related, but is anyone aware of a plugin which can execute commands when it detects a placeholder has changed?
I am trying to get killstats, it's already setup in my simplescoreboard
it doesn't work
I have downloaded expansion
reloaded
when i try to regfister it fails
https://mclo.gs/5SADp77 Is there any way to fix this?
https://mclo.gs/5SADp77#L27 it is a problem caused by mythic <something>
you need to talk to whoever made me.gasthiiml.mythicp, that's not the normal placeholders for mythicmobs iirc
Hello, how can I use a % character in my message that will be parsed by placeholderAPI without making any conflicts with the % characters of placeholders ?
I have console spam 😛
! [Wed 16:14:36 WARN me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] Plugin PlaceholderAPI v2.11.3 generated an exception whilst handling plugin message
java.lang.IllegalStateException: java.io.EOFException
at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:472)
at com.extendedclip.papi.bungeeexpansion.BungeeExpansion.onPluginMessageReceived(BungeeExpansion.java:123)
at org.bukkit.plugin.messaging.StandardMessenger.dispatchIncomingMessage(StandardMessenger.java:455)
at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:3104)
at net.minecraft.network.protocol.game.PacketPlayInCustomPayload.a(SourceFile:38)
at net.minecraft.network.protocol.game.PacketPlayInCustomPayload.a(SourceFile:7)
at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:31)
at net.minecraft.server.TickTask.run(SourceFile:18)
at net.minecraft.util.thread.IAsyncTaskHandler.d(SourceFile:156)
at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(SourceFile:23)
at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1154)
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:1)
at net.minecraft.util.thread.IAsyncTaskHandler.x(SourceFile:130)
at net.minecraft.server.MinecraftServer.bi(MinecraftServer.java:1133)
at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1126)
at net.minecraft.util.thread.IAsyncTaskHandler.c(SourceFile:139)
at net.minecraft.server.MinecraftServer.i_(MinecraftServer.java:1110)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1021)
at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:304)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.io.EOFException
at java.base/java.io.DataInputStream.readUnsignedShort(DataInputStream.java:346)
at java.base/java.io.DataInputStream.readUTF(DataInputStream.java:595)
at java.base/java.io.DataInputStream.readUTF(DataInputStr
ascii expansion can do this
oh perfect thanks
If anyone's interested, you can use Autorank to do this (execute command when papi placeholder is greater than x value)
Hi there,
Would anyone be interested in trying to help fix the Bungee expansion / find a way to get a placeholder for total amount of people online on the server? :))
try that
Hello. Does anyone know why LPC doesnt work with PAPI loaded?
hello, i have this error when i reloading PAPI, it dont want to load Javascript expansion
[PlaceholderAPI] Failed to load expansion class JavascriptExpansion (Is a dependency missing?)
java.lang.UnsupportedClassVersionError: org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_361]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_361]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_361]
at java.net.URLClassLoader.defineClass(Unknown Source) ~[?:1.8.0_361]
at java.net.URLClassLoader.access$100(Unknown Source) ~[?:1.8.0_361]
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_361]
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_361]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_361]
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_361]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_361]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_361]
at com.extendedclip.papi.expansion.javascript.evaluator.NashornScriptEvaluatorFactory.create(NashornScriptEvaluatorFactory.java:34) ~[?:?]
at com.extendedclip.papi.expansion.javascript.JavascriptExpansion.createNashornEvaluatorFactory(JavascriptExpansion.java:177) ~[?:?]
at com.extendedclip.papi.expansion.javascript.JavascriptExpansion.register(JavascriptExpansion.java:97) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:191) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) ~[?:1.8.0_361]
i have
jdk-16.0.2
jdk-17
jre1.8.0_361
only, what to do?
good afternoon, I need help with a problem with placeholder api, I send the error code
[Server thread/ERROR]: [PlaceholderAPI] Failed to load expansion class ScoreboardTagsExpansion - One of its properties is null which is not allowed!java.lang.NullPointerException: The expansion version is null!
at java.util.Objects.requireNonNull(Objects.java:233) ~[?:?] at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:181) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ~[?:?] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?] at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?] at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$4(LocalExpansionManager.java:356) ~[?:?] at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$4(LocalExpansionManager.java:356) ~[?:?] at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:81) ~[spigot.jar:3096a-Spigot-9fb885e-af1a232] at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:400) ~[spigot.jar:3096a-Spigot-9fb885e-af1a232]
at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1179) ~[spigot.jar:3096a-Spigot-9fb885e-af1a232] at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:394) ~[spigot.jar:3096a-Spigot-9fb885e-af1a232]
at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1127) ~[spigot.jar:3096a-Spigot-9fb885e-af1a232] at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:966) ~[spigot.jar:3096a-Spigot-9fb885e-af1a232]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:273) ~[spigot.jar:3096a-Spigot-9fb885e-af1a232] at java.lang.Thread.run(Thread.java:831) [?:?]
Looks like something is messing with obtaining the version of that expansion. I can release a new version here in a little bit.
Can you tell me if this jar fixes it? Replace the existing one.
Awesome
how can i change the version of papi ? a lot of my plugins doesn't load and says this :Unsupported API version 1.19
i have 1.17.1 server
that's not due to PAPI, that's due to the plugin not supporting versions below 1.19
does localtime work fine? cause i m trying %localtime_timezone_151% which is the id for LA but it returns 4/5/2023 09:30PM and right now its 2:30 PM
try America/Los_Angeles
gosh i was trying ids all that time while it supports names? :/ ugh thanks for the info tho
i was looking at this https://garygregory.wordpress.com/2013/06/18/what-are-the-java-timezone-ids/#comments
yeah same data
hello - is there a way to fetch placeholders across bungee servers? for example, to pull leaderboard stats into a lobby?
Hello there,
I am running Paper 1.19.3 and after server reboot, I need to do /papi reload to see correctly the placeholders
Any solutions to this, please?
https://i.imgur.com/4qLbfXf.png
if anyone reply, please ping me 🙂
So you're saying there is a way... any other plugins you are aware of that support this? Paid plugins are fine, I'm happy to support.
sorry for "pinging" - just using normal reply functionality 🙄
short question, how can I know the right placeholders / placeholder names of certain plugins, like theres %mmocore_max_health% I can retrieve through the API, but one called %goop.castermmostat.mainhand.goop_misc_f% I cannot retrieve in the same way, because apparently it is not the right name. Is there a way to see/list all of these names/ actual placeholders throughout the server?
The expansions can supply their placeholders as a list and will be suggested when you type /papi parse ... %identifier_, there's no command or other way to view all placeholders currently.
well there's /papi ecloud placeholders <expansion>
So in this case I do "/papi parse goop %" and check suggestions?
or whats the ... you written?
the name of the player you want to parse the placeholders for
okay thank you!
/papi parse GabyTM %mmocore_ will suggest the placeholders for mmocore if the expansion provides them
so its not directly from me saying this, but apparently the expansions that came built in (goop in this case) aren't showing suggestions for that command
only placeholders from expansions that are on the ecloud or the ones that specifically listed their placeholders within them are shown
so if the goop expansion isn't from the ecloud but instead registered by a plugin, and it didn't list the placeholders within it, then they won't appear in the suggestions
in that case, the only thing you can do is check that plugin's wiki, or code if it's public
okay, well I asked in the goop discord for now, might check the code if available
all placeholders seem to be written in comments
great I'll check that
how do I use deluxe tags with essentials chat beacuese the config on the spigot site is outdated
im getting crazy of this boolshit
the info from the file you linked worked, thank you!
placeholder for amount of money they got but formatted like 5k? 1m?
nvm
?tagess
Hey guys I'm running into this issue with Javascript:
ReferenceError: "BukkitPlayer" is not defined in <eval> at line number 4```
I get this error once the player disconnects. Is there a way to check if BukkitPlayer is online before continuing the rest of the code to avoid this message in console? Or any alternatives to BukkitPlayer I can use?
try
if (typeof BukkitPlayer !== "undefined") {
// the player is online
}```
<3 I'll give it a try Thanks
Thanks dude
How do I add player kills and mob kills from the Statistic addon?
@junior musk Unknown expansion.
ty
having trouble - pAPI doesnt seem to be working on my purpur 1.19.4 server. it says it is loaded (green plugin text in /pl) and running /papi help produces no errors, however my InteractiveChat and afk plugins and some others don't appear to be hooking in, instead of [player's inventory] i get [%player_name%'s inventory] .
What could be happening here
(also i would attatch screenshots but i dont seem to have perms)
?player
perfect thx
hello, i have this error when i reloading PAPI, it dont want to load Javascript expansion
[PlaceholderAPI] Failed to load expansion class JavascriptExpansion (Is a dependency missing?)
java.lang.UnsupportedClassVersionError: org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_361]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_361]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_361]
at java.net.URLClassLoader.defineClass(Unknown Source) ~[?:1.8.0_361]
at java.net.URLClassLoader.access$100(Unknown Source) ~[?:1.8.0_361]
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_361]
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_361]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_361]
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_361]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_361]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_361]
at com.extendedclip.papi.expansion.javascript.evaluator.NashornScriptEvaluatorFactory.create(NashornScriptEvaluatorFactory.java:34) ~[?:?]
at com.extendedclip.papi.expansion.javascript.JavascriptExpansion.createNashornEvaluatorFactory(JavascriptExpansion.java:177) ~[?:?]
at com.extendedclip.papi.expansion.javascript.JavascriptExpansion.register(JavascriptExpansion.java:97) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:191) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) ~[?:1.8.0_361]
i have
jdk-16.0.2
jdk-17
jre1.8.0_361
only, what to do?
your server is running Java 8 while the Javascript expansion requires at least Java 11
since you already have java 16 and 17, you can use one of the two
oohhh i seen you at bukkit and spigot forums, but 1.16.5 dont need only java 8?
Spigot isn't the issue, the issue is the Javascript expansion for PlaceholderAPI
If you want to stay on Java 8, download older versions of the Javascript expansion.
Otherwise, update your Java version
i will try place a java 16 on my server, btw where i need to find a older versions of Javascript expansion? i just seen only 2.1.2
it works on java 16, great, thanks
yup and no java script error when i use /papi reload command
[PlaceholderAPI] Successfully registered expansion: javascript [2.1.2]
5 placeholder hook(s) registered!
what's wrong?
nothing, just saying there is no javascript error anymore
thanks, you are life saver!
oh I thought you meant "yes and no" for "it works" xD
hahaha
error when trying to load FAWE Plugin, Version of server 1.16.5, Java version: jdk-16.0.2
[16:38:01 ERROR]: Could not load 'plugins\FastAsyncWorldEdit-Bukkit-2.5.3-SNAPSHOT-357.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/sk89q/worldedit/bukkit/WorldEditPlugin has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 60.0
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:157) ~[patched_1.16.5.jar:git-Purpur-1171]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:414) ~[patched_1.16.5.jar:git-Purpur-1171]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:322) ~[patched_1.16.5.jar:git-Purpur-1171]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.loadPlugins(CraftServer.java:393) ~[patched_1.16.5.jar:git-Purpur-1171]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:279) ~[patched_1.16.5.jar:git-Purpur-1171]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1074) ~[patched_1.16.5.jar:git-Purpur-1171]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:293) ~[patched_1.16.5.jar:git-Purpur-1171]
at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.lang.UnsupportedClassVersionError: com/sk89q/worldedit/bukkit/WorldEditPlugin has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 60.0
god, again?
oh i found
49 = Java 5
50 = Java 6
51 = Java 7
52 = Java 8
53 = Java 9
54 = Java 10
55 = Java 11
56 = Java 12
57 = Java 13
58 = Java 14
59 = Java 15
60 = Java 16
61 = Java 17
62 = Java 18
63 = Java 19
64 = Java 20
FAWE a troll plugin? java 17 cant be loaded for 1.16.5 lol
it can
i think i found it, i needed to paste "-DPaper.IgnoreJavaVersion=true"
before -jar thing
like that
"-Xms1024M -Xmx1024M -DPaper.IgnoreJavaVersion=true -jar server.jar nogui"
hm, its not fix..
maybe i just need a paper? i just have purpur
just like, if that is a fix, why owners of FAWE just dont saying that on spigot page? like
"you need only PAPER for 1.16.5, and place a "DPaper.IgnoreJavaVersion=true" before "-jar" in your .bat file"
nah, that just a cringe thing, this is not fixable, developers of FAWE just laughing from that .-.
Purpur is a fork of Paper, so the flag should work
and I see no problem with FAWE's devs wanting to update to newer Java versions
lots of devs have been updating and I know that this flag works, no idea why it doesn't with you
yes it can, it's recommended to run a pretty new Java version. 17 is a good LTS version and is required on 1.17 and up
https://imgur.com/a/SRcYqyB how can i fix this?
the placeholders from the second image are invalid
and do you have vault and an economy plugin installed?
I updated PlaceholderAPI on my files & LeaderHeads isnt registering anymore
Please help
Send a full startup log please
Can you maybe provide the full log for full context? It does seem like you're possibly using Plugman to reload the plugin in which case I don't think PlaceholderAPI supports that.
yeah I removed plugman then it worked my bad
👍
Its fine I just finished swapping plugins
Hello!
Can anyone help me?
How does the "CheckItem" expansion return the value of an item's attribute?
For example: A diamond sword that has 7 attack damage, how to return it?
Hello. I'm coming once again to ask for support regarding placeholders not being loaded after server startup, being need to reload the papi manually: https://i.imgur.com/JCbZGri.png
[11:31:47 INFO]: This server is running Paper version git-Paper-448 (MC: 1.19.3) (Implementing API version 1.19.3-R0.1-SNAPSHOT) (Git: 155aa36)
You are running the latest version
Previous version: git-Paper-419 (MC: 1.19.3)
ver PlaceholderAPI
[11:31:56 INFO]: PlaceholderAPI version 2.11.4-DEV-174
[11:31:56 INFO]: An awesome placeholder provider!
[11:31:56 INFO]: Author: HelpChat```
Does anyone have any idea how I can fix this?
I am also running the latest dev build available, tried with stable-production build that is on Spigot too
also found this error: https://paste.helpch.at/imaqoqurey.rb
delete changeoutput and redownload a fresh copy, maybe manually https://api.extendedclip.com/expansions/changeoutput/
currently not a feature, you can request it here although not sure when I'd have the free time to look into it
https://github.com/PlaceholderAPI/CheckItem-Expansion
I have a time that is display only with seconds, is there a placeholder expansion for format the time into minute
You can use math expansion
%math_0_{your placeholder that return seconds}/60%
Hi! Can I use placeholders in console command? (like this:)https://media.discordapp.net/attachments/863059941509955625/1104786496847888395/image.png
like this is no
How can I get the username?
but you can use this at menu
How can I get the player's name in console command? (if i can?)
what do you mean
yes you can
the way you did it works
if it doesn't, make sure you downloaded the Player expansion for PAPI
?player
right
ty
Thank you!
Can anyone help me with this?
for some reason, %player_name% isn't working as a placeholder, i have Player expansion installed but its just not working
where are you using it?
in tab
if you execute /papi parse me %player_name% what does it say?
Hello everyone! In the Math expansions is this expression correct? %math{ranged_value}*{mob-lvl}%
It has to return value1 * value2, am I right?
use an _ after the math
That way? %math_{ranged_value}*{mob-lvl}%
that should work yes
Hi! I'm using pinger with PAPI, but every server seems unpingable.
It says offline for every server except localhost
papi parse Szabolcs2008 %pinger_online_hypixel.net%
[12:25:09 INFO]: Offline
papi parse Szabolcs2008 %pinger_online_localhost%
[12:25:15 INFO]: Online
vector
what?
Hey I've tried installing killstat but it says there's no module called killstat
https://api.extendedclip.com/expansions/killstats/ We have this one, no idea if it works give it a test
because it's not a verified expansion, can only be installed manually
Where in GitHub? We have a lot of documentation so it's possible something slipped through the cracks.
I need your help quickly. How can I output the number of online players? The API shows the following scheme: %playerlist_<listName>_<list|amount|#>% So, I tried
/papi bcparse me %playerlist_ONLINE_amount% but I didn't get a result. Or can someone make an example that works?
/papi info playerlist shows Status: Registered, Author: Tanguygab on 3.0.3
exactly, that's where I got your API... but I am not sure I understood everything. That's why I wanted to ask if the command is correct or if someone could write down a working example.
It used to work with this: But after the update it was no longer working: %playerlist_online,normal,yes,amount%/100 on %server_version%
The list "online" is still preimplemented or do I have to create a list of online players in the config-file?
OK, then I know what to do... something like this:
playerlist:
offline-text: Offline
argument-separator: '||'
lists:
staff:
type: ONLINE
included: true
filters:
- PERMISSION:group.staff
- CANSEE
online:
type: ONLINE
included: true
filters:
- CANSEE
yup, and then you use the name of the list in the placeholder (you have staff and online), as well as the output type, in your case, amount
so %playerlist_online_amount
sorry, wasn't on my pc
Hi, I need some support, apprently on my hologram, the Localtime PAPI, alongside all PAPI on the hologram doesnt work, is there any way we can solve this problem?
I use %[Papi name]% format.
Is there some config I missed? Cause this happened after my upgrade to 1.18.2
Hi! I need some support, I'm trying to use pinger on a bungee network, but every server that isn't localhost returns offline. (I tried hypixel.net same result)
Hey 🙂
I'm trying to check prestiges from a player using mycommand
command: /checkprestige
type: RUN_COMMAND
permission-required: true
permission-node: checkfly.staff
permission-error: "&e&l&lArefy &8» &7Uhm.. aún no hemos inventado ese comando"
runcmd:
- /papi parse $arg1 %ajlb_value_prisonprestige_prestige_alltime%
required_args: 1```
but it actually parses the placeholder instead of doing /papi parse
and parseother gives that error
tyy haha
do %parseother_{$arg1}_{placeholder}%
But what is the command supposed to do?
See the prestige level of another player?
it's for staff, to check blocks/prestiges from offline players
and ajleaderboard allows offline player checks
haha dw
will try with that
Np
great... thx! that works!
Hi! I'm using pinger with PAPI, but every server seems unpingable.
It says offline for every server?
I am trying to use the API that I made in a different plugin than the one that I created it in. It works fine in the plugin that it is in, but I don't know how to use it in a different plugin. Anyone have suggestions for a video I can watch? 
Hi, my player_name doesn't work
Whenever I attempt /papi parse 4emo %player_name% it just returns %player_name%
And I cannot use %player_name% in tab, etc
Player expansion is also installed.
Hi is there a way to transfer placeholders between servers?
I'm using a multi server system. When the envoy event starts on server a, I want to announce it via placeholders on server b.
screen /papi list
?imgur
and /papi parse me %player_name% ?
what's your PAPI version?
do you get an error in console? when you /papi reload?
https://cdn.discordapp.com/attachments/1056648506359697489/1105529716666007592/image.png
Hi, I have a question, why is this placeholder displaying its content instead of the answer? This menu is from the example menus from the wiki but it doesn't work anyway and it displays the placeholder like this and I don't know what I'm doing wrong
When I use /papi parse I have the same situation
uh
:35:26 WARN]: [PlaceholderAPI] Failed to load expansion player. Identifier is already in use.
[17:35:26 WARN]: [PlaceholderAPI] Cannot load expansion player due to an unknown issue.
what could it be used by wt
we've seen that error before but I still have no idea why it happens, try downgrading to 2.11.2 for now
@junior musk can you help pls?
what's your DeluxeMenus version?
1.13.3
try updating
oh and also, what's your server version?
Meta is only available for 1.14.4+ servers
1.19.2
Okey, I try
yeah, 1.19.2 support was added in 1.13.6
Okay, now everything works, at first I thought I had the latest version so I didn't even look at it, very thanks for your help
may you send me a link to 2.11.2? cant find nothing else on the github but hte source code
oh yea, how do i install older versions again?
sorry i forgot
just like when you install any other plugin
i mean on spigotmc
you just replace the old jar with the new one
I sent you the link to the version history
there's a Download button
is it possible to make a script that checks the output of a certain placeholder "%jobsr_user_isin_miner%" and if true to output another placeholder "%jobsr_user_jlevel_miner%" and if false to output "&7None" ?
Hello, friends. When I load the Guilds plugin I get a warning
[PlaceholderAPI] Failed to load additional guilds. The ID is already in use.Please can you help me to solve this problem
Can you provide a /papi dump
It is possible. But you can also just use the ChangeOutput expansion for this.
hello, does /papi ecloud download Statistic only work for spigot? thanks in advance for any support
what r the available options for the numberdp in %vault_eco_balance_<number>dp% ?
the amount of decimals you want
if you balance is 123.456 and you use 2dp I think it will return 123.45 or 123.46 if it does some rounding
ohh
dp - decimal points
oke oke thank u;3
np
how to show kills and death count in any leaderboard plugin
I don't have a good understanding of what mini message actually is, but would it be possible for an expansion to convert a string into a mini-message formatted message?
You can think of it like markdown, or BB codes from spigot's forum
E.g. for Bold:
Markdown **Text**
BB codes [bold]Text[/bold]
Mini <bold>Text</bold> (the closing tag is optional)
It is a way to turn a simple string into a component with colors, style, click events, hover etc.
And yes, an expansion can take the string, turn it into a component and then into a string with MiniMessage tags.
&cHey &lThere -> <red>Hey <bold>There
That'd be a good expansion, sadly I cannot make expansions but one day maybe lol
I have a plugin that can send messages but not mini message formatting, so I can't show keybinds
But the other plugin I'm currently using can, though I only use it because of that and don't technically have to
Is there a way to show message "no permission" when im using %essentials_kit_time_until_available_kitname% placeholder for kits that is not in permission group of players
cuz right now it says "now", but i wanna change that to "no permission" for kits that is not in permission group of players
not sure if that would work, if its string it work displaly anything, it only shows keybinds because its a component (i thtink, not sure tho=
Who created ParseOthers?Where can I get support for it?
the developer xD
(just ask your question and someone will reply eventually)
looks like it was made by cj
If anyone know an alternative to parsing someone else's rank in a PLACEHOLDER or Chat Control Red that would work too!
luckperms_prefix
I need for someone else not who is reading the message. Like sender_prefix or something.
do {{sender}}
Woah
gaby I'll give you a free kiss if this works
hm
it displays "ault_prefi"
no error though
You are on to something though. The latest update note it says Adds escaping characters. Internally, }_is used to split. If you need to use this in a placeholder for the username, you can put \}_ and it will escape it.
- %parseother_{{sender}}_vault_prefix%
with a \ in between the second }}?
I got this WORKING! With versions 1.3.0 and 1.4.0. Thanks for understanding it and helping me out!
Sorry for the trouble guys D:
np
Does anyone know How do i stop it showing stats on interactivechat when a players username is typed in chat?
Is there a way to show message "no permission" when im using %essentials_kit_time_until_available_kitname% placeholder for kits that is not in permission group of players
cuz right now it says "now", but i wanna change that to "no permission" for kits that is not in permission group of players
Did you check in the messages config?
Hello there, I do have a problem that %statistic_mine_block% seems to count every broken block twice.
I do not know how to fix this issue.
there is no messages config
You need to create enable it, but if it is not in that message config it probably isn't changeable as it's built into the API thing.
Here is a link to add the messages config: https://wiki.ess3.net/wiki/Locale
Hello 🙂 someone know if there is a PlaceHolder to convert a Text or String that just the first letter is in upperace
ok i found it %str_capitalize_
Good morning! Can someone help me?
I'm using expansion Math
but I'm getting these messages on the server terminal:
[06:47:04 WARN]: [PlaceholderAPI] [math] Invalid Placeholder detected!
[06:47:04 WARN]: [PlaceholderAPI] [math] Placeholder: %math_{ranged_value}*{mob-lvl}%
[06:47:04 WARN]: [PlaceholderAPI] [math] Cause: '{ranged' is not a valid number for precision!
I configured it this way:
say %math_{ranged_value}*{mob-lvl}%
Why is this not working for me?
What should be the correct way to write the expression?
Can someone fix it for me?
What's the difference between this one and mine?
Following your tip I get this message in the terminal:
[07:08:23 WARN]: [PlaceholderAPI] [math] Invalid Placeholder detected!
[07:08:23 WARN]: [PlaceholderAPI] [math] Placeholder: %math_0_{ranged_value}*{mob-lvl}%
[07:08:23 WARN]: [PlaceholderAPI] [math] Cause: '{ranged_value}*{mob-lvl}' is not a valid Math Expression
The message is a little different but I believe it's for the same reason, I just don't know what it is yet.
command: 'say %math_0_{ranged_value}*{mob-lvl}%'
is %mob-level% a valid placeholder even?
It's an internal placeholder of the plugin I'm using. %mob-level% is valid whether within context or commands or messages generated by the plugin. In the context I'm using math, it's in a message generated by the mob-lvl provider plugin
If I wasn't using math and just put %mob-level% in the "say" command to show up in the chat, this would work and it would show the placeholder content. But when I put math to do the calculation it doesn't work and the messages I sent earlier appear.
Does anyone knows why this happens?
Not sure what I've done incorrectly here: https://paste.helpch.at/ozequlupik.rb
placeholders aren't loading on my featherboard after restart. They get fixed after a /papi reload
when i will make a npc with %bungee_total% it doesnt work
- do you have the bungee expansion?
- the npc supports placeholderapi in npc name?
where can i download it
😔
please help
- Use DecentHolograms instead (as recommendation)
- What now? Once installed PlaceholderAPI and expansions required you test it
Run the command in game
/papi parse me %bungee_online%a couple of times
if works as expected, then placeholders are working, now you read the 2nd
- the npc supports placeholderapi in npc name?
I have no clue if that is a thing, I really doubt they support it,
you probably need to hide the name and use an hologram above the npc
(DecentHolograms recommended as HolographicDisplays is not updated for 1.19.4)
and that's it, everything is working 100%, if not, you probably made errors at some point
how do you list all of the placeholders in an installed expansion, that is not on the ecloud?
I don't see any error
i thinks its all register
suprememc.4minecraft.de:27115 you can see i m waiting
i wish someone can help me
i m waiting at the spawn
I'm not joining any server, thank you.
ok
but how i can fix it?
i see the names then its switch
here
@crystal loom you see ?
some placeholders work and some not working
where can i report bugs with certain PAPI expansions?
If there's a GitHub repo for it, do it there.
:/
Sorry to ask again, but I have a problem with one of the placeholders which I can't solve on my own. I am unsure what is causing this problem and what I should look for further.
I use the placeholder %statistic_mine_block% to track the number of blocks mined by a player.
Unfortunately after each destroyed block the counter is not increased by one block but two blocks.
See video
divide it by 2
Are there any way to setPlaceholders of offline Players
Im trying to use this i can user OfflinePlayer to the parameter but
It didnt set when player actually offline
PlaceholderAPI.setPlaceholders(p, ph)
some placeholder expansions don't support offline players
it all depends on the placeholder you're using
thanks is there a way to check that ?
well, if you see that it doesn't work with an offline player, then that means the placeholder doesn't support offline players 🤷
Hello,
Would it be possible to implement some token currency plugin into DeluxeMenus?
Trying to make a Token Shop Menu, where you could buy items for tokens (not money), like for example in requirements: has money would be ''has tokens''
Or any other idea how I could go about this? Ping on reply, Thanks.
if your currency have placeholder so you can use this
click_requirement:
requirements:
'has token':
type: '>='
input: '%placeholder_that_return_token%'
output: 5000
deny_commands:
- '[message] You must have 5000 tokens to click this button'
Awesome, I'll give it a try, thanks!
decentholograms is alot better honestly
FancyHolograms 
But how
Not sure which channel to ask in but I'm making a PAPI expansion and I'm curious on how to get or set values from the config.yml, appreciate the help!
you can use getString and other get methods after you implement Configurable
thx
https://prnt.sc/M3FG6q9AR4C0 how i can fix this
what is the exact issue?
placeholder not parsed?
use /papi parse me %the placeholder%
if doesnt work, then ask in the support server
maybe you need an expansion or the placeholder is not working
or is not that one
my player name placeholder isnt working 😦
im using
2.10.4
and only some work
(its not parsing)
I have a question
There is no time to wait! Ask your question @topaz dust!
Does placeholders even work inside placeholders?
Since I'm putting a placeholder (%oraxen_newbie%) inside a luckperms placeholder (%luckperms_prefix%)
with the Utils expansion, yes 
/papi ecloud download Utils
/papi reload
%utils_parse:2_luckperms_prefix%
it'll parse 2 times the placeholder, (so first %luckperms_prefix%, then its output, which should be %oraxen_newbie%)
utils is nested rework ?
yeah
what is the diffirence ?
cool
/papi ecloud download Server
/papi reload
[17:45:34 WARN]: [PlaceholderAPI] Cannot load expansion vault due to an unknown issue.
i downloadedd through ecloud website after using /papi ecloud didnt work
Hi, im using DeluxeTags, PlaceholderApi and EssentialsChat on server. I cant get tags on chat using %deluxetags_tag% placeholder. Any ideas?
?tagess
Thank u so much 😄
what's the placeholder to get all players in network? %bungee_bungeecord% and %bungee_global% not working
Hey, should I worry about this?
16.65gb ram usage, however console says it's only allocated 13gb and has 4gb free.
it just crashed
Yes that’s fine
The heap will allocate more when necessary and 16gb is the max it’s able to
The server just crashed due to max memory
Are you sure that’s why? If you want to allocate all at staff google aiker flags.
We already have akier flags
Aiker flags automatically allocates all the memory as start so you don’t, or you set the values wrong.
ohh I did.
Hello, does anyone know why the Pinger expansion is telling me that my server is offline when it's actually online? I downloaded the expansion correctly using the appropriate commands.
hello can i get help on this
@sharp jay have fun with this ^
Just saw this ty
that its not working on me :/
wich
?tagess
this
for my server?
nvm, i thought you can help me but you need help too xD
guys its any staff that can help me? my english its not so good so i need a help from someone.
Do you use LuckPerms? @tall compass
its that a other plugin ?
okey let me check it
its still same
Send a screenshot of what's wrong
lol
It any staff that can help me with the symblos/emoji ? I try to use it as tags but its show at the chat like [?]
The symblos/emoji : ☠ ➹☢ ☣ ♨ ๑ ❀ ✿ ψ ♆ ☪ ♪ ♬✄ ✆✦✧♱♰
&f[&b&l➹&f] ---> [?]
How can i fix it ?
i'm trying to figure out how to use placeholderapi with signlink for a project
what i want to do is
have it take the current time, add a set amount of minutes to it, and display that on a sign using signlink
so when i give a command block power it will
set a variable to the current time plus set amount of minutes
how can i do this?
i was messing around with maths and some other placeholder stuff but there is probaly already someone here that knows how to do this
wait i think i almost got it
Minecraft only supports these characters https://www.reddit.com/r/admincraft/comments/see6xa/every_unicode_symbol_minecraft_1181_regognises/
(maybe 1.20 will support moee though, but that's not for now)
You can always try this generator, most emojis are supported by minecraft (I tested it)
https://alonsoaliaga.github.io/generator/

i hope u always win your soloq games 

this is sick thanks for sharing
Emmm .... https://rgb.birdflop.com/
Oh wait it does have different fonts and stuff
No problem, glad to help! ||Enable beta mode (might have errors) adding this at the end: ?beta=true||
ya
yea i found the problem was that the plugin tags dont use emoji
what does the beta do
This is sweet! Thank you
I usually use the other one i sent up there.
:ooo great stuff
most issues are solved by enabling utf8 in server and encoding the yml using utf-8


%math_{skript_total_recipes.{uuid}}+89%
This placeholder doesn't work because of the double bracket, how can I make this work?
Im trying to use the placeholder %skript_total_recipes.{uuid}% within a math expression
but the double brackets are conflicting each other
Hi, experiencing an error with the ViaVersion PlaceholderAPI expansion:
[01:44:34 WARN]: [PlaceholderAPI] Failed to load expansion ViaVersion. Identifier is already in use.
[01:44:34 WARN]: [PlaceholderAPI] Cannot load expansion ViaVersion due to an unknown issue.
Downgrade to papi 2.11.2 for now @shadow grotto
Try with utils
anyway to know placeholder api for kills?
statistic %statistic_player_kills%
how about job level?
im not using job plugin
https://api.extendedclip.com/all/ you can search all placeholders here
I’m sorry i don’t understand, wdym by utils?
utils expansion
Do you mind providing me an example?
%utils_parse_math_{skript_total_recipes.{uuid}}+89%
thanks i will try it, will this also work with my other progress bar expansion?
my progress bar uses placeholders within a bracket as well like {skript_total_recipes.{uuid}} which also conflicts
if it work
i tried this, it does not work
the output is just “%math_N/Auuid%%+89
I put in the exact placeholder you gave me
is {uuid} a placeholder ?
it seems the issue is the it is parser the placeholder %skript_total_recipes%
yes that is part of it
^
i need the {uuid} part
what is that placeholder without math return ?
N/Auuid%%
so that must return a number
it’s not parsing the whole placeholder and leaving the uuid separate
yes
I think i could get this work by updating the skript expansion to use (uuid) instead of {uuid} but idk how to update an expansion to the new deprecation
``package tk.frankkusmiruk.skript.expansion;
import ch.njol.skript.variables.Variables;
import org.bukkit.event.Event;
import org.bukkit.entity.Player;
import me.clip.placeholderapi.PlaceholderHook;
import me.clip.placeholderapi.PlaceholderAPI;
import org.bukkit.Bukkit;
import ch.njol.skript.Skript;
import me.clip.placeholderapi.expansion.PlaceholderExpansion;
import me.clip.placeholderapi.PlaceholderAPIPlugin;
public class SkriptExpansion extends PlaceholderExpansion {
private Skript plugin;
public boolean canRegister() {
final Skript plugin = (Skript)Bukkit.getPluginManager().getPlugin(this.getRequiredPlugin());
this.plugin = plugin;
return plugin != null;
}
public boolean register() {
return canRegister() && getPlaceholderAPI().getLocalExpansionManager().register(this.getIdentifier(), (LocalPlaceholderExpansion)this);
}
public String getAuthor() {
return "Snow-Pyon";
}
public String getIdentifier() {
return "skript";
}
public String getRequiredPlugin() {
return "Skript";
}
public String getVersion() {
return "1.0.0";
}
public boolean persist() {
return true;
}
public String onPlaceholderRequest(final Player player, final String s) {
final String s2 = (player != null) ? s.replace("(player)", player.getName()).replace("(uuid)", player.getUniqueId().toString()) : s;
return (Variables.getVariable(s2.toLowerCase(), (Event)null, false) != null) ? String.valueOf(Variables.getVariable(s2.toLowerCase(), (Event)null, false)) : "N/A";
}
}``
I changed {player} and {uuid} to (), but now I am unsure hoiw to update to the new placeholderapi hook thing
try with {player_uuid} instead
Utils should parse it correctly, and then parse the skript placeholder, and then the math one
i’ll give it a try later
it seems to work this way although it makes the skript placeholder not work
the skript placeholder must be %skript_total_recipes.{uuid}%
anything that is invalid returns "N/A"
When I put in that placeholder the output is "%math_N/A%"
does the skript placeholder work with the UUID directly instead of {uuid} ?
let me try ill paste my uuid
yes i pasted my uuid into the placeholder like:
%skript_total_recipes.b3b03ff4-ec1b-46fe-9fe6-6270acc6c323%
it works
but if i put it into the math expression it returns this
%utils_parse_math_{skript_total_recipes.b3b03ff4-ec1b-46fe-9fe6-6270acc6c323+89}%
try /papi parse me %utils_parse_skript_total_recipes.b3b03ff4-ec1b-46fe-9fe6-6270acc6c323%
okay
and then /papi parse me %utils_parse_skript_total_recipes.{player_uuid}%
this works
now /papi parse me %utils_parse_math_{skript_total_recipes.{player_uuid}}%
that worked
/papi parse me %utils_parse_math_{skript_total_recipes.{player_uuid}}+89%
👍
thanks a lot for ur help
for precision in math do i just add [Precision:0] into it?
nah that was changed
ohh what is it now?
now it's math_0_...
How would I go about using this now:
%progress_percentage_{utils_parse_skript_total_recipes.{player_uuid}}_m:190_d:0%
this doesnt work but the other thing works
is there any method/expansion i can use to 'freeze' / save a variable
i want to set up a variable with the localtime+set number
lets say
%math_{localtime_time_mm}+2%
but when i set another variable to that it will update the local time
is there any way i can set a variable to the outcome of that to the literal value instead of the actual local time, so it doesn't update any more even when time changes
put progress inside of utils
just like with math
%utils_parse_progress_percentage_{skript_total_recipes.{player_uuid}}_m:190_d:0%
This is correct right? Ill try this
yes
i just keep nested and use XD
why doesnt work my placeholders
-?
Hey, it fixed itself
Oops 😬
Anyway, my uneducated guess as to why this happens:
Sometimes when PAPI updates expansions, the file system might have two of the same files installed/cached/in memory/in the file system, it installs Expansion-viaversion and Expansion-ViaVersion
Then it complains that the identifier is in use and disables it
I think if you make sure any duplicates or similarly named ones are deleted, clear the ecloud cache, reboot the server, just triple check it fixes it
how do I reset a placeholders data? so everyone gets reset for that placeholder?
access world > stats
I'm sorry but for some reason I do not work filler %player_name% in mmoitems, can anyone help? Extension player is, and it works, as well as the filler %player_name% everywhere works even in mmoitems except in the command, I used to have this problem in deluxemenu, but it was solved simply ...
thats not just for placeholders
I would need to go into every player for that
how to see player ranks in placeholder?
use vault %vault_groups% or %vault_prefix%
Is it possible to make a placeholder appear as something else when it would normally be blank? I would like for two placeholders to appear as "none" when they would normally be blank, is this possible?
how do I reset a placeholders data? so everyone gets reset for that placeholder?
Hello can someone can help understand what im doing wrong in the settings process of this placeholder
%worldguard_<Any WG Placeholder>_<Priority (Lowest number = Highest priority)>% = %worldguard_worldguard_region_name_capitalized_1%
WorldGuard version 7.0.7+216b061
how about players online?
use server %server_online%
Ping
You can do that with the ChangeOutput expansion, %changeoutput_equals_input:{yourPlaceholder}_matcher:_ifmatch:none_else:{yourPlaceholder}%
i am trying to use placeholder API to create a hologram with the top 10 player times, can i do this normaly or would i need an extention?
Does anyone know if Betterteams has placeholders?



