#placeholder-api

150650 messages · Page 109 of 151

tender vaporBOT
torpid path
#

%math_0_19-{playerpoints_points}%
with
%math_0_19-%playerpoints_points%%
which one is correct guys

sharp bloom
#

the 2nd doesnt work at all

austere hawk
#

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

ocean beacon
#

@torpid path just 30k and you not even paid for me

left matrix
#

'PlaceholderAPI()' has private access in 'me.clip.placeholderapi.PlaceholderAPI'
can someone help me why is this kept showing on registerPlaceholder

vale vapor
#

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:)

vale vapor
# ocean beacon 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

ocean beacon
#

so you just need to check the rank

quaint finch
#

Guys

#

Can i use a placeholder inside the number formatter placeholder

quaint finch
#

Oops

#

Its how it works

vale vapor
ocean beacon
#

status ?

vale vapor
# ocean beacon 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"

limber ice
#

@ocean beacon %player_displayname% is %player_online% joined %lastloginapi_last_login_date%

hallow pasture
#

My console is still spammed after installing this. Any way to fix that?

vivid sparrow
#

Put the error in a paste @hallow pasture

hallow pasture
limber ice
#

@hallow pastureI would start by stopping the server deleting all expansions for bungee and start the server

hallow pasture
limber ice
#

latest bungee expansion works fine on my server, running waterfall-1.19-526

austere hawk
#

What is the placeholder for JUST the username? Without the rank

#

thanks

#

also the players ping

trim mist
#

%player_name%

#

%player_ping%

austere hawk
#

thanks but they arent working

tender vaporBOT
halcyon pike
#

Is there a placeholder for multiverse worlds? Like how many people are in that world?

quasi cape
#

CraftingStore placeholder stopped working after downloading Player and VotingPlugin.

turbid tide
#

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

analog warren
#

Expansion Pinger can check local servers? like localhost:25565? i've tested, but %pinger_isonline_localhost:25565% always show the offline

turbid tide
analog warren
#

doesn't work

turbid tide
#

Also, try pinging another server such as Hypixel and see if it pings that one

analog warren
turbid tide
#

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.

analog warren
#

maybe you know then what can be used to check the server for online?

turbid tide
#

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

analog warren
#

oh, okay, thanks for help <3

limber ice
#

@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

analog warren
ocean beacon
analog warren
#

I've been waiting for more than 15 minutes, but it still returns that the hypixel is offline

tender vaporBOT
wide sleet
#

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?

ocean beacon
#

download server expansion

#

and use this %server_online%

onyx valve
#

Is there any placeholder for exp with commas or formatted? And also date and time for example 29 Apr, 2023?

vivid sparrow
#

%server_time_dd MMM, yyyy% @onyx valve

#

And for the exp you can use the formatter expansion, iirc it has a 'commas' placeholder

onyx valve
#

Thank you

pulsar kelp
#

hi, does someone know the %__% to see the achievements that you have made?

onyx valve
#

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

junior musk
#

use the Utils expansion with %utils_parse:2_luckperms_prefix%

junior musk
#

here

pulsar kelp
#

oh thanks

#

oh

#

i got a error while reloading

#

in the console

wispy wadi
#

How to change value variable in my placeholder JavaScript with command

onyx valve
onyx valve
junior musk
#

what's the error?

onyx valve
#

#

like that but a circle

junior musk
#

what?

onyx valve
#

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

junior musk
#

can you send a screen?

#

?imgur

tender vaporBOT
onyx valve
#

can i send to you in dms?

junior musk
#

sure

formal depot
#

Guys i dont know why it is displayed like on the action bar while on score board and /papi parse me {currentPlaceholder} works

balmy marten
#

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

scarlet umbra
#

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 🙂

balmy marten
#

Might help if you mention your hologram plugin name

scarlet umbra
#

Decentholograms

#

Sorry, I am brand new on the server side of things 🙂

mint fable
#

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

mint fable
#

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

#

even gives more info about SDF

pulsar kelp
grave parcel
#

when i try to type it in to a sidebar it does not work

#

even when there is no download command

scarlet umbra
scarlet umbra
#

and that's it

mint fable
#

Can you also type /papi dump and send the link here please?

subtle lintel
#

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?

wise goblet
#

How to include an underscore as an input for a placeholder?

cobalt ibex
#

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.

trim mist
#

Alrighty then. That's the biggest one we've seen of that issue. You can try downgrading for the time being.

cobalt ibex
#

yes, I already downgraded it

mint fable
#
%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

wide ferry
#

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.

mint fable
#

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

atomic pagoda
#

Working with Bleyjo

wide ferry
#

^

atomic pagoda
#

We're aware of orpdesc being missing

mint fable
#

Have you checked their discord?

wide ferry
#

Yep

mint fable
#

They are unaware?

atomic pagoda
#

It's fairly inactive, we did put a message in

wide ferry
#

it's as active as a retirement home

mint fable
#

ah

#

I was thinking it might also be posted in the discord

#

somewhere

atomic pagoda
#

Is there some way to get to the file through papi?

mint fable
#

no, we don't have it

wide ferry
#

Sadly not, the only mentions of PAPI from the last year were in relation to LuckPerms

atomic pagoda
#

Is there a way to extract the file from a server that does have it?

mint fable
#

it's just a custom expansion that exists

atomic pagoda
#

We have a server that has it

mint fable
#

then ya, check your placeholderapi/expansions/ folder

atomic pagoda
#

It's not in there

#

sending you the dump for that one

wide ferry
#

There's nothing for ORP in that folder, but it's still showing up

mint fable
#

I do gotta head out rn actually

#

but I can check later if needed

atomic pagoda
#

We just don't know how to access the file, but it's right there

wide ferry
#

first image is /papi list and the second is the expansions folder

wide ferry
mint fable
#

version matches up 2.3.5

#

?startuplog

tender vaporBOT
wide ferry
atomic pagoda
#

private

wide ferry
#

try again handsome

atomic pagoda
#

works

wide ferry
#

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.

wide ferry
#

Anyone else able to help us?

mint fable
#

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

#

@wide ferry

wide ferry
mint fable
#

maybe add placehodlerapi as a softdepend

atomic pagoda
#

In openrp?

mint fable
#

open the .jar and edit the plugin.yml

#

it's already a softdepend, try a hard depend

atomic pagoda
#

That feels like a hammer of a solution

mint fable
#

And?

#

If it works it works

#

nothing bad will come from it

#

if it doesn't work, change it back

atomic pagoda
#

We'll give it a shot

mint fable
#

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 🤷‍♂️

wide ferry
#

It was indeed a load order issue, it seems to be working now. Thank you for helping us debug this!

scarlet umbra
mint fable
#

You don’t need to download them, it’s included with the plug-in

scarlet umbra
#

so they should just work automatically like this??

/decenthologram create CompetitionTimer Time left until next competition %competition_time_left%

mint fable
#

Yes, I would test with /papi parse to make sure

scarlet umbra
#

It does this again.

mint fable
#

apologies for the confusion

prisma sonnet
#

Hey guys

#

How can I return a TextComponent?

vivid sparrow
#

you can not return directly

#

what do you want to do?

prisma sonnet
#

Sorry if it was a xy problem

vivid sparrow
#

If you use minimessage, you can do smth like this perhaps

tender vaporBOT
prisma sonnet
#

Not something that I want ig

scarlet umbra
mint fable
#

hmm, I would recommend asking their discord support

#

You can send your startuplog over I can check for any errors

#

?startuplog

tender vaporBOT
junior musk
#

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?

scarlet umbra
#

?paste

tender vaporBOT
scarlet umbra
tender vaporBOT
mint fable
mint fable
#

just fyi, if you're "too lazy to copy", people will be "too lazy" to help you

prisma sonnet
#

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.

mint fable
#

Are you saying it's possible to have multiple fonts in 1 resource pack @prisma sonnet ?

#

other than default.json?

prisma sonnet
#

Yeah

#

I actually made it possible

#

I just want to make it compatible with PlaceholderAPI

mint fable
#

ah, I didn't know that was a thing

#

do you have any documentation on it by chance

prisma sonnet
mint fable
#

ya i just saw that post lol

#

but does that allow different fonts?

prisma sonnet
#

Yeah

mint fable
#

or does every font become roboto

prisma sonnet
#

It allows different ones

#

I made my side of it

#

I just want to implement it to PlaceholderAPI

mint fable
#

can you share your default.json by chance?

#

i'm curious

prisma sonnet
#

They're in another namespace & another file

mint fable
#

oh it's just another file

#

and that's how you use it

prisma sonnet
#

Yeah

mint fable
#

i see

prisma sonnet
#

Basically, I need to return TextComponents with their properties remaining

mint fable
#

i don't see any documentation on having other stuff that isn't default.json 😂

prisma sonnet
#

No worries, you can probably do it with my plugin 😄

#

I should make this possible with PAPI

scarlet umbra
mint fable
#

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

scarlet umbra
#

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? 🙂

mint fable
#

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

scarlet umbra
#

Have a great evening.

mint fable
#

thanks, you as well

stark grove
#

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

ocean beacon
stark grove
#

Yes

vivid sparrow
#

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

stark grove
#

under economy i have liteeco and essentials eco

ocean beacon
stark grove
ocean beacon
#

so that's right

#

try to add some money to your

stark grove
#

but it still doesn't show my money on score board

ocean beacon
#

/eco add <name> <amount>

#

what's your sb ?

stark grove
#

Tab

ocean beacon
#

show me your config

#

i'm using this too

tender vaporBOT
stark grove
#

how can i send my config to this server

ocean beacon
#

click HelpChat Paste at above

#

paste your config and save

#

then send the link

fervent spire
#

The url that it gives you. Not a saved file

#

Click the How to use if you don't know how to do it.

stark grove
fervent spire
stark grove
#

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

fervent spire
#

What does it show as

stark grove
#

if your talking about name,rank,kills,deaths

#

it all works and shows how it is meant to be

stark grove
#

?

ocean beacon
#

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

heady urchin
#

Anyone know of a papi expansion that compares 2 inputs

#

im basically trying to get a true/false from %placeholder% > %placeholder2%

halcyon wigeon
#

why i can't download skript placeholders

fading tundra
#

This is a major issue with the Bungeecord extension for PAPI

trim mist
#

@vivid sparrow Did you have a jar somewhere for a fix with this? ^

junior musk
#

||if you don't, my AdvancedBungee expansion could maybe replace it 👀||

junior musk
#

though you need to install it on the Bungee as well

fading tundra
junior musk
#

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)

fading tundra
#

How do you use it?

junior musk
#

you just drop download it, drop it in both your PAPI's Expansions folder and Bungee Plugins folder and use the placeholders

vivid sparrow
junior musk
#

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 😅

fading tundra
junior musk
#

😐

#

do you know how to use PAPI ?

fading tundra
#

it would be like %advancedbungee_lobby_count% to get the player count?

junior musk
#

%advancedbungee_server:lobby_playercount% yeah

vivid sparrow
#

do you get any warnings in console from the bungee expansion though?

fading tundra
#

Yeah

#

Same error

vivid sparrow
#

same error? thinkfused

#

can you please try to restart the server?

fading tundra
vivid sparrow
#

put it on a paste

fading tundra
vivid sparrow
#

that's weird

#

make sure you dont have other bungee expansion jars

fading tundra
#

I removed advanced bungee

vivid sparrow
#

yeah idk why that happens

quaint finch
#

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

warm plover
#

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

vivid sparrow
#

what is the error?

quaint finch
#

Hey gaby

#

Can u help me

warm plover
flint lark
#

Only tangentially related, but is anyone aware of a plugin which can execute commands when it detects a placeholder has changed?

austere hawk
#

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

runic gate
vivid sparrow
errant iron
carmine bay
#

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 ?

cunning scroll
#

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
carmine bay
#

oh perfect thanks

flint lark
trim nest
#

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? :))

neat plover
#

Hello. Does anyone know why LPC doesnt work with PAPI loaded?

austere hawk
#

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]
austere hawk
#

i have

jdk-16.0.2
jdk-17
jre1.8.0_361

only, what to do?

wise granite
#

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) [?:?]

trim mist
#

Looks like something is messing with obtaining the version of that expansion. I can release a new version here in a little bit.

trim mist
wise granite
#

I try

#

It function, thank you very much

trim mist
#

Awesome

bronze osprey
#

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

junior musk
#

that's not due to PAPI, that's due to the plugin not supporting versions below 1.19

sharp bloom
#

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

vivid sparrow
#

try America/Los_Angeles

sharp bloom
#

gosh i was trying ids all that time while it supports names? :/ ugh thanks for the info tho

sharp bloom
vivid sparrow
#

yeah same data

earnest sonnet
#

hello - is there a way to fetch placeholders across bungee servers? for example, to pull leaderboard stats into a lobby?

vivid sparrow
#

No

#

Find a leaderboard plugin that can do that

rotund fjord
#

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 🙂

earnest sonnet
earnest sonnet
#

sorry for "pinging" - just using normal reply functionality 🙄

dusty pike
#

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?

vivid sparrow
#

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.

junior musk
#

well there's /papi ecloud placeholders <expansion>

vivid sparrow
#

ahh yes, true

#

I forgot about the ecloud, sorry

dusty pike
#

So in this case I do "/papi parse goop %" and check suggestions?

vivid sparrow
#

the name of the player you want to parse the placeholders for

dusty pike
#

okay thank you!

vivid sparrow
#

/papi parse GabyTM %mmocore_ will suggest the placeholders for mmocore if the expansion provides them

dusty pike
#

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

junior musk
#

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

dusty pike
#

okay, well I asked in the goop discord for now, might check the code if available

junior musk
#

all placeholders seem to be written in comments

dusty pike
#

great I'll check that

subtle stratus
#

how do I use deluxe tags with essentials chat beacuese the config on the spigot site is outdated

#

im getting crazy of this boolshit

dusty pike
#

the info from the file you linked worked, thank you!

onyx orchid
#

placeholder for amount of money they got but formatted like 5k? 1m?

junior musk
#

@onyx orchid

#

4rth one in the list

onyx orchid
#

nvm

tender vaporBOT
proud heron
#

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?
vivid sparrow
#

try

if (typeof BukkitPlayer !== "undefined") {
  // the player is online
}```
subtle stratus
signal bramble
#

How do I add player kills and mob kills from the Statistic addon?

junior musk
#

you can use the math expansion

#

%math_0_{placeholder}+{placeholder}%

signal bramble
#

oo thx

#

And how do I format all numbers to have commas?

wet basinBOT
#

@junior musk Unknown expansion.

junior musk
#

@signal bramble

#

for the wiki

signal bramble
#

ty

onyx orchid
#

how to see player rank?

#

in placeholder

#

@junior musk

#

ty

jolly slate
#

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)

junior musk
#

?player

tender vaporBOT
jolly slate
#

perfect thx

austere hawk
#

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]
austere hawk
#

i have

jdk-16.0.2
jdk-17
jre1.8.0_361

only, what to do?

junior musk
#

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

austere hawk
junior musk
#

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

austere hawk
junior musk
#

uh

#

I guess they deleted them, for some reasons

#

welp, only one option then

austere hawk
#

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!
junior musk
#

what's wrong?

austere hawk
#

nothing, just saying there is no javascript error anymore

thanks, you are life saver!

junior musk
#

oh I thought you meant "yes and no" for "it works" xD

austere hawk
#

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
austere hawk
#

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

junior musk
#

it can

austere hawk
# junior musk 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 .-.

junior musk
#

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

errant iron
heavy forge
vivid sparrow
#

the placeholders from the second image are invalid

#

and do you have vault and an economy plugin installed?

half jacinth
#

I updated PlaceholderAPI on my files & LeaderHeads isnt registering anymore

#

Please help

mortal flame
#

how can I fix this error?

turbid tide
turbid tide
mortal flame
#

yeah I removed plugman then it worked my bad

turbid tide
#

👍

half jacinth
spring hound
#

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?

rotund fjord
#

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

mint fable
mint fable
hard jackal
#

I have a time that is display only with seconds, is there a placeholder expansion for format the time into minute

ocean beacon
#

%math_0_{your placeholder that return seconds}/60%

hard jackal
#

oh yes lol xD thx

velvet root
velvet root
#

How can I get the username?

ocean beacon
#

but you can use this at menu

velvet root
#

How can I get the player's name in console command? (if i can?)

ocean beacon
#

what do you mean

junior musk
#

the way you did it works

#

if it doesn't, make sure you downloaded the Player expansion for PAPI

#

?player

tender vaporBOT
ocean beacon
#

right

velvet root
#

ty

vague ether
vague ether
tawny flame
#

for some reason, %player_name% isn't working as a placeholder, i have Player expansion installed but its just not working

vivid sparrow
#

where are you using it?

tawny flame
turbid tide
spring hound
#

Hello everyone! In the Math expansions is this expression correct? %math{ranged_value}*{mob-lvl}%

#

It has to return value1 * value2, am I right?

spring hound
#

That way? %math_{ranged_value}*{mob-lvl}%

sharp jay
#

that should work yes

onyx eagle
#

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

austere hawk
#

vector

onyx eagle
#

what?

edgy burrow
#

Hey I've tried installing killstat but it says there's no module called killstat

balmy marten
edgy burrow
#

it worked

#

funny how it didnt find it ingame tho

stone edge
#

because it's not a verified expansion, can only be installed manually

edgy burrow
#

it said on the github it was?

#

it said run the ecloud command to install it

trim mist
#

Where in GitHub? We have a lot of documentation so it's possible something slipped through the cracks.

cobalt ibex
#

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

cobalt ibex
#

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?

junior musk
#

you have to go in PAPi's config

#

check the wiki page

cobalt ibex
#

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

junior musk
#

sorry, wasn't on my pc

jolly estuary
#

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

onyx eagle
#

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)

deep hollow
#

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

vivid sparrow
deep hollow
#

tyy haha

vivid sparrow
#

do %parseother_{$arg1}_{placeholder}%

#

But what is the command supposed to do?

#

See the prestige level of another player?

deep hollow
#

it's for staff, to check blocks/prestiges from offline players

#

and ajleaderboard allows offline player checks

vivid sparrow
#

Ah ok

#

Did not see the staff part

deep hollow
#

haha dw

deep hollow
vivid sparrow
#

Well I guess you can send a message directly

#

If that works

deep hollow
#

yepp

#

yeah it works now

#

much appreciated Gaby as always! 🙂

vivid sparrow
#

Np

analog warren
#

Hi! I'm using pinger with PAPI, but every server seems unpingable.
It says offline for every server?

eager otter
#

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? fingerguns

junior musk
tawny flame
#

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.

hasty iris
#

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.

tender vaporBOT
junior musk
#

and /papi parse me %player_name% ?

#

what's your PAPI version?
do you get an error in console? when you /papi reload?

austere hawk
#

When I use /papi parse I have the same situation

tawny flame
#

: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

junior musk
#

we've seen that error before but I still have no idea why it happens, try downgrading to 2.11.2 for now

austere hawk
junior musk
#

what's your DeluxeMenus version?

austere hawk
#

1.13.3

junior musk
#

try updating

#

oh and also, what's your server version?

#

Meta is only available for 1.14.4+ servers

austere hawk
#

1.19.2

junior musk
#

ah

#

then try updating

austere hawk
#

Okey, I try

junior musk
#

yeah, 1.19.2 support was added in 1.13.6

austere hawk
#

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

tawny flame
junior musk
#

check on Spigot

tawny flame
#

sorry i forgot

junior musk
#

just like when you install any other plugin

tawny flame
#

i mean on spigotmc

junior musk
#

you just replace the old jar with the new one

tawny flame
#

no i mean where do i download the older version

#

on spigotmc

junior musk
#

there's a Download button

tawny flame
#

ohh

#

ty i went to updates

#

mb 😭

nova crane
#

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" ?

latent dove
#

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

trim mist
#

Can you provide a /papi dump

turbid tide
lament forge
#

hello, does /papi ecloud download Statistic only work for spigot? thanks in advance for any support

sharp bloom
#

what r the available options for the numberdp in %vault_eco_balance_<number>dp% ?

vivid sparrow
#

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

sharp bloom
#

ohh

vivid sparrow
#

dp - decimal points

sharp bloom
#

oke oke thank u;3

vivid sparrow
#

np

serene surge
#

how to show kills and death count in any leaderboard plugin

warm plover
#

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?

vivid sparrow
#

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

warm plover
#

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

robust flame
#

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

stone edge
austere hawk
#

Who created ParseOthers?Where can I get support for it?

stone edge
#

(just ask your question and someone will reply eventually)

vivid sparrow
#

looks like it was made by cj

tender vaporBOT
austere hawk
#

If anyone know an alternative to parsing someone else's rank in a PLACEHOLDER or Chat Control Red that would work too!

stone edge
#

luckperms_prefix

austere hawk
vivid sparrow
#

do {{sender}}

austere hawk
#

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 }}?

austere hawk
#

Sorry for the trouble guys D:

vivid sparrow
#

np

onyx valve
#

Does anyone know How do i stop it showing stats on interactivechat when a players username is typed in chat?

robust flame
#

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

austere hawk
#

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.

robust flame
austere hawk
distant solstice
#

Hello 🙂 someone know if there is a PlaceHolder to convert a Text or String that just the first letter is in upperace

distant solstice
#

ok i found it %str_capitalize_

spring hound
#

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?

vivid sparrow
#

Well, are the placeholders replaced by values?

#

Ah

#

try %math_0_<equation here>%

spring hound
spring hound
# vivid sparrow try `%math_0_<equation here>%`

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}%'

sharp bloom
#

is %mob-level% a valid placeholder even?

spring hound
# sharp bloom 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.

austere hawk
dusk fern
#

placeholders aren't loading on my featherboard after restart. They get fixed after a /papi reload

golden yew
#

can anyone help me

#

my placeholderapi is not working what can i do ?

#

please help me

stone edge
#

how do you know it doesnt work?

#

share some error or message

golden yew
#

when i will make a npc with %bungee_total% it doesnt work

stone edge
#
  1. do you have the bungee expansion?
  2. the npc supports placeholderapi in npc name?
golden yew
#

where can i download it

stone edge
#

/papi ecloud download bungee

#

iirc

#

then /papi reload

#

and read number 2

golden yew
#

it also dont work with holographic displays

#

i downloaded it

#

what now ??

#

?

austere hawk
golden yew
#

please help

stone edge
#
  1. Use DecentHolograms instead (as recommendation)
#
  1. 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

#
  1. 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

tepid trout
#

alsonso can you help me

crystal loom
#

how do you list all of the placeholders in an installed expansion, that is not on the ecloud?

vivid sparrow
tepid trout
#

i thinks its all register

#

i wish someone can help me

#

i m waiting at the spawn

vivid sparrow
#

I'm not joining any server, thank you.

tepid trout
#

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

inland moat
#

where can i report bugs with certain PAPI expansions?

trim mist
#

If there's a GitHub repo for it, do it there.

tepid trout
#

:/

austere hawk
#

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

https://www.youtube.com/watch?v=oMh8W6xvI4w

noble wing
#

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)
junior musk
#

some placeholder expansions don't support offline players

#

it all depends on the placeholder you're using

noble wing
#

thanks is there a way to check that ?

junior musk
#

well, if you see that it doesn't work with an offline player, then that means the placeholder doesn't support offline players 🤷

heady wedge
#

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.

ocean beacon
heady wedge
frosty reef
junior musk
#

FancyHolograms fingerguns

austere hawk
wraith berry
#

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!

junior musk
#

you can use getString and other get methods after you implement Configurable

ocean beacon
#

%math_0_{statistic_mine_block}/2%

austere hawk
#

thx

tepid trout
stone edge
#

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

edgy burrow
#

my player name placeholder isnt working 😦

#

im using

#

2.10.4

#

and only some work

#

(its not parsing)

stone edge
#

thats latest version? if not, update

#

check console for errors

edgy burrow
#

I update it

#

and it fucks with other plugins

#

like prevents them from working

topaz dust
#

I have a question

tender vaporBOT
#

There is no time to wait! Ask your question @topaz dust!

topaz dust
#

Does placeholders even work inside placeholders?

Since I'm putting a placeholder (%oraxen_newbie%) inside a luckperms placeholder (%luckperms_prefix%)

junior musk
#

with the Utils expansion, yes fingerguns

#

/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%)

topaz dust
#

That is awesome

#

Thank you very much

ocean beacon
junior musk
#

yeah

ocean beacon
#

what is the diffirence ?

junior musk
#

not much

#

it's the same code

#

just has 1 more placeholder to color placeholders

ocean beacon
#

cool

carmine laurel
#

whats allat error

junior musk
#

/papi ecloud download Server
/papi reload

tepid sand
#

[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

slate anvil
#

Hi, im using DeluxeTags, PlaceholderApi and EssentialsChat on server. I cant get tags on chat using %deluxetags_tag% placeholder. Any ideas?

junior musk
#

?tagess

tender vaporBOT
slate anvil
#

Thank u so much 😄

whole burrow
#

what's the placeholder to get all players in network? %bungee_bungeecord% and %bungee_global% not working

tawny flame
#

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

stable arrow
#

The heap will allocate more when necessary and 16gb is the max it’s able to

tawny flame
stable arrow
tawny flame
#

We already have akier flags

stable arrow
tawny flame
#

ohh I did.

sturdy stone
#

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.

cosmic needle
#

@sharp jay have fun with this ^

sharp jay
tepid trout
#

someone have time to help me?

tall compass
tepid trout
#

wich

tall compass
#

?tagess

tender vaporBOT
tall compass
tepid trout
#

for my server?

tall compass
#

nvm, i thought you can help me but you need help too xD

tall compass
#

guys its any staff that can help me? my english its not so good so i need a help from someone.

cosmic needle
#

Do you use LuckPerms? @tall compass

tall compass
#

yea i use it

#

but why i need the luckperms for the tags?

cosmic needle
#

Use LPC instead of Essentials chat

#

It's a little more straightforward

tall compass
#

its that a other plugin ?

cosmic needle
#

Yeah

#

Personally has worked better

tall compass
#

okey let me check it

tall compass
cosmic needle
#

Send a screenshot of what's wrong

tall compass
#

lol

tall compass
#

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 ?

fossil portal
#

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

junior musk
stone edge
sharp bloom
#

omg u have simple format

#

u r the best pepe_love

stone edge
sharp bloom
#

i hope u always win your soloq games pensiveblush

stone edge
sharp jay
urban marsh
#

Oh wait it does have different fonts and stuff

stone edge
#

No problem, glad to help! ||Enable beta mode (might have errors) adding this at the end: ?beta=true||

urban marsh
#

Mmm

#

Nice one

sharp jay
#

ya

tall compass
urban marsh
#

what does the beta do

urban marsh
#

I usually use the other one i sent up there.

stone edge
stone edge
stone edge
static pelican
#

%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

shadow grotto
#

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.
vivid sparrow
#

Downgrade to papi 2.11.2 for now @shadow grotto

junior musk
#

idk if it'll work

#

well try, if it doesn't work I have another idea

onyx orchid
#

anyway to know placeholder api for kills?

ocean beacon
onyx orchid
ocean beacon
ocean beacon
static pelican
ocean beacon
static pelican
ocean beacon
static pelican
static pelican
static pelican
#

the output is just “%math_N/Auuid%%+89

#

I put in the exact placeholder you gave me

ocean beacon
#

is {uuid} a placeholder ?

static pelican
#

it seems the issue is the it is parser the placeholder %skript_total_recipes%

#

yes that is part of it

ocean beacon
static pelican
#

N/Auuid%%

ocean beacon
#

so that must return a number

static pelican
#

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

junior musk
#

Utils should parse it correctly, and then parse the skript placeholder, and then the math one

static pelican
#

i’ll give it a try later

static pelican
#

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%"

junior musk
#

does the skript placeholder work with the UUID directly instead of {uuid} ?

static pelican
#

let me try ill paste my uuid

static pelican
#

it works

static pelican
#

%utils_parse_math_{skript_total_recipes.b3b03ff4-ec1b-46fe-9fe6-6270acc6c323+89}%

junior musk
#

try /papi parse me %utils_parse_skript_total_recipes.b3b03ff4-ec1b-46fe-9fe6-6270acc6c323%

static pelican
#

okay

junior musk
#

and then /papi parse me %utils_parse_skript_total_recipes.{player_uuid}%

static pelican
#

hmm that returned a number

#

which is correct

junior musk
#

now /papi parse me %utils_parse_math_{skript_total_recipes.{player_uuid}}%

static pelican
#

that worked

junior musk
#

/papi parse me %utils_parse_math_{skript_total_recipes.{player_uuid}}+89%

static pelican
#

worked as well

#

i think that fixes it

junior musk
#

👍

static pelican
#

thanks a lot for ur help

#

for precision in math do i just add [Precision:0] into it?

junior musk
#

nah that was changed

static pelican
#

ohh what is it now?

junior musk
#

now it's math_0_...

static pelican
#

got it

#

thanks

#

ill try putting into my menu now

static pelican
#

this doesnt work but the other thing works

fossil portal
#

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

junior musk
#

just like with math

static pelican
junior musk
#

yes

static pelican
#

learned how to use utils parsing today lol

ocean beacon
#

i just keep nested and use XD

austere hawk
#

why doesnt work my placeholders

shadow grotto
tender vaporBOT
shadow grotto
#

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

modern spire
#

how do I reset a placeholders data? so everyone gets reset for that placeholder?

light coral
#

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 ...

modern spire
#

I would need to go into every player for that

onyx orchid
#

how to see player ranks in placeholder?

ocean beacon
radiant bay
#

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?

modern spire
#

how do I reset a placeholders data? so everyone gets reset for that placeholder?

torpid tusk
#

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

onyx orchid
ocean beacon
wraith berry
hardy pike
#

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?

smoky ice
#

Does anyone know if Betterteams has placeholders?