#placeholder-api

1 messages Β· Page 188 of 1

junior gyro
#

lemme get paste

#

there

#

so that debug never prints, and when i papi parse it nothing happens

#

just shows the text i typed

junior musk
#

is your expansion listed in /papi list?

junior gyro
#

yes

junior musk
#

what's the command you are using?

junior gyro
#

/papi parse IEatBeans %mcbbtpcore_coins%

#

and it just says %mcbbtpcore_coins%

#

and the debug doesnt print

junior musk
#

the params is only the part after mcvbtcore_

junior gyro
#

o

junior musk
#

so in your case, coins

junior gyro
#

that makes sense

#

ok lemme try that

#

ok, it spams requested now, but still shows no placeholder

#

if(params.equalsIgnoreCase("coins")){

#

%mcbbthemeparkscore_coins%

#

do i need to include the _

junior musk
#

nah

#

can you send the file again?

junior gyro
junior musk
#

is the "Requested" msg printed or not even that?

junior gyro
#

yes

#

i just tested, it works in parse but not my scoreboard plugin

junior musk
#

then make sure your scoreboard plugin supports PAPI

junior gyro
#

oh wait now it does

#

must have just been lag

#

thanks, resolved

obtuse osprey
obtuse osprey
stone edge
#

Use only one channel.

obtuse osprey
granite kernel
#

for me expansions are not getting downloaded

#

i am using 1.8.8

#

PaperMc

viscid snow
granite kernel
#

when will ecloud come on

vivid sparrow
#

what do you mean @granite kernel ?

languid smelt
#

hi i have update my server to 1.18.2
and some placeholders was not showing up
so i did command papi reload and get this error

#

any idea ?

#

i guess its really he trying to load mcmmo extension

#

i just delete ALL extensions from folder and restart the server
and it gives no error on startup

[11:42:19] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[11:42:19] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...
[11:42:19] [Server thread/INFO]: 0 placeholder hook(s) registered!
>

guess it is really extension corrupted or not compatible with 1.18.2

unique saffron
languid smelt
# languid smelt i just delete ALL extensions from folder and restart the server and it gives no...

and i guess it was not mcmmo

>papi reload
[11:44:26] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[11:44:26] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...
[11:44:26] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: mcmmo [1.0]
[11:44:26] [Server thread/WARN]: [PlaceholderAPI] Loaded class com.gmail.nossr50.mcMMO from mcMMO v2.1.198 which is not a depend or softdepend of this plugin.
[11:44:26] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: mcmmo [1.0]
[11:44:26] [Server thread/INFO]: 1 placeholder hook(s) registered!
>
lethal basin
#

@unique saffron he already replied u

languid smelt
#

probally one of my old extensions that i removed from, good my issue was solved

unique saffron
rain arrow
#

how to conducted a record: time played 0 h
how to do:how much time did the player played on the server?

tender vaporBOT
#
FAQ Answer:

Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.

elder stump
#

Hey
We are trying to register a placeholder, but doesn't wanna work, it registers the placeholder, but doesn't wanna work on /papi parse
Main class:
if(Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null) this.papi.register();
PlaceholderAPI class:
https://pastebin.com/MAJ0T49T

junior musk
#

btw, the "identifier" var you have is actually the parameters of the placeholder, so everything between %<identifier>_ and the last %

elder stump
elder stump
junior musk
#

no

#

ezblocks is the identifier

#

so the parameters are what's after it

#

so it's blocks_weekly

rain arrow
#

how to do: Registration date: day/month/year
?

turbid tide
rain arrow
turbid tide
#

you mean how to reset the join data?

#

it is saved in your main world folder

#

either in playerdata/ or in stats/

rain arrow
turbid tide
#

it will automatically be saved in the world folder

#

when you join

rain arrow
#

and after wipe, the first registration date was also highlighted

#

after cleaning, there will be registration date

pliant pulsar
#

Why using %statistic_mine_block% adds me 2 by 2 each block/mine that I mine? is it a bug?

#

is bug

pliant pulsar
#

Why do I get 2 different values? What is the difference between the two?

errant iron
#

hours played is your total number of hours played

#

time played: hours is the number of hours in a counter of your time played

#

so like, you'd have 13 days, 15 hours, 45 minutes, and 16 seconds or whatever played

#

that's what the first one is

pliant pulsar
#

oh ok

errant iron
#

oh yeah that's been a thing for a while, it might have to do with each hand getting counted or something?

#

dunno, I would recommend just halving it or setting thresholds at double

pliant pulsar
#

I didn't understand you, sorry.

#

i dont native speaker english

#

I mean that when I mine a block the counter goes up by 2.

errant iron
#

yeah

#

pretty sure that's caused by it counting both hands

pliant pulsar
#

I don't know, I have mined a block of "ancient debris" and it has counted only 1, but if I mine for example netherack it counts 2...

#

check this

#

is bug

#

I have mined 2 as you see in the gif, 1 of each type and count 3 in total.

#

XD

rain arrow
#

placeholder can he read from a database?

chrome sentinel
#

Is there a placeholder that can get, for example, the first letter of another placeholder? So that if the placeholder’s output was β€œexample” it would change it to only the β€œe”.

elder stump
chrome sentinel
rugged scroll
#

Is ecloud having problems atm?

#

If not, does PAPI requieres a dependencies right?

#

Right now im having issues with any expansion im trying to download

#

Like, for examples essentials

#

It gives me an error sayong failed to find expansion "essentials"

#

And yes its spelled correctly

chrome sentinel
obtuse osprey
#

@mint fable sry for ping πŸ˜­πŸ˜­πŸ™
Pls add permission attach files in this channel fast 😭

tender vaporBOT
obtuse osprey
sharp jay
#

?paste

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
β€’ HelpChat Paste - How To Use

sharp jay
#

?imgur

tender vaporBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.

sharp jay
#

No pinging

obtuse osprey
sharp jay
#

whats the issue even...

obtuse osprey
sharp jay
#

I see nothing?

obtuse osprey
#

Papi ecloud download Player not working ;-;

#

See last line

sharp jay
#

manually install it

obtuse osprey
sharp jay
#

?

mint fable
#

If you can't connect to the ecloud, then that's why you can't get it.

obtuse osprey
mint fable
#

is that what you're saying?

mint fable
obtuse osprey
#

:(

mint fable
#

download doesn't work?

paper stirrup
#

anyone know why i cant install the extension killstats? ive tried both through /papi ecloud and manual downloads

drifting snow
full cedar
#

Plugin not working

#

Idk why I cant use any expansion

#

#1/WARN]: [PlaceholderAPI] Failed to download expansion information
java.net.ConnectException: Connection timed out
at sun.nio.ch.Net.connect0(Native Method) ~[?:?]
at sun.nio.ch.Net.connect(Net.java:576) ~[?:?]
at sun.nio.ch.Net.connect(Net.java:565) ~[?:?]
at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:588) ~[?:?]
at java.net.Socket.connect(Socket.java:645) ~[?:?]
at java.net.Socket.connect(Socket.java:595) ~[?:?]
at sun.net.NetworkClient.doConnect(NetworkClient.java:182) ~[?:?]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:497) ~[?:?]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:600) ~[?:?]
at sun.net.www.http.HttpClient.<init>(HttpClient.java:246) ~[?:?]
at sun.net.www.http.HttpClient.New(HttpClient.java:351) ~[?:?]
at sun.net.www.http.HttpClient.New(HttpClient.java:372) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1299) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1232) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1120) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1051) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1653) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1577) ~[?:?]
at java.net.URL.openStream(URL.java:1192) ~[?:?]
at com.google.common.io.Resources$UrlByteSource.openStrePlaceholderAPI] Failed to download expansion information
java.net.ConnectException: Connection timed out
at sun.nio.ch.Net.connect0(Native Method) ~[?:?]
at sun.nio.ch.Net.connect(Net.java:576) ~[?:?]
at sun.nio.ch.Net.connect(Net.java:565) ~[?:?]
at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:588) ~[?:?]

errant iron
#

Your firewall or something is blocking the outgoing connection

austere hawk
#

hey my placeholder called "player" isnt working I restarted the whole server too

rain arrow
#

placeholder can he read from a database?

unique saffron
tender vaporBOT
#
FAQ Answer:

Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.

turbid tide
#

there isn't really an exact fix. but you can manually download the expansions

timid fox
#

hi why player expansion is bugged when passing offline player

turbid tide
#

well only some palceholders support offline players. not all of them. you can look at the source code to see which ones

timid fox
#

i just saw

#

%player_first_join_date%

#

why this one doesn't support it the bukkit api should provide it right

turbid tide
rain arrow
#

placeholder can he read from a database?

mellow igloo
#
[09:06:55 WARN]: [PlaceholderAPI] Loaded class net.luckperms.api.LuckPerms from LuckPerms v5.4.0 which is not a depend, softdepend or loadbefore of this plugin.
[09:06:55 INFO]: [PlaceholderAPI] Successfully registered expansion: luckperms [5.1-R2]
[09:06:55 INFO]: [PlaceholderAPI] Successfully registered expansion: mcmmo [1.0]
[09:06:55 WARN]: [PlaceholderAPI] Loaded class com.gmail.nossr50.mcMMO from mcMMO v2.1.205 which is not a depend, softdepend or loadbefore of this plugin.
[09:06:55 INFO]: [PlaceholderAPI] Successfully registered expansion: mcmmo [1.0]
[09:06:55 INFO]: [PlaceholderAPI] Successfully registered expansion: player [2.0.2]
[09:06:55 INFO]: [PlaceholderAPI] Successfully registered expansion: server [2.6.0]
[09:06:55 INFO]: [PlaceholderAPI] Successfully registered expansion: statistic [2.0.1]
[09:06:55 WARN]: [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend, softdepend or loadbefore of this plugin.
[09:06:55 INFO]: [PlaceholderAPI] Successfully registered expansion: vault [1.7.0]
[09:06:55 INFO]: [PlaceholderAPI] Successfully registered expansion: worldguard [1.4.2]```
#

can i fix WARN?

errant iron
#

nope, that's just what happens when a plugin loads classes, which is PAPI's entire job

mellow igloo
#

okay thank

restive anchor
#

Is there anyway to get %statistic_mine_block% to return its value including commas? Right now its just straight up numbers

mint fable
#

@restive anchor

restive anchor
#

oh nice, thank you

#

wait, am I not able to put a placeholder inside of the number format placeholder?

#

I did %formatter_number_format_statistic_mine_block% but it just came out as plain text

mint fable
#

try putting it in {}

restive anchor
#

πŸ€¦β€β™‚οΈ

#

thank you again

woeful bone
#

Where can I see full list of placeholders available?

#

Including all the expansions.

#

I found it! But is there any placeholder which checks if block exists in specific locations?

stable quail
#

Why i cant reload papi?

tender vaporBOT
#
FAQ Answer:
Β» Give the helpers some details
Β» Ask suitable questions
Β» Be polite
Β» Wait

Source

vivid sparrow
#

@stable quail

stable quail
#

[12:33:28 INFO]: Flufy__ issued server command: /papi reload
[12:33:28 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[12:33:28 INFO]: [PlaceholderAPI] Fetching available expansion information...
[12:33:28 ERROR]: [PlaceholderAPI] failed to load class files of expansions
java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: net/ess3/api/IEssentials
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.NoClassDefFoundError: net/ess3/api/IEssentials
at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
at java.lang.Class.privateGetDeclaredMethods(Class.java:3402) ~[?:?]
at java.lang.Class.getDeclaredMethods(Class.java:2504) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:396) ~[placeholderapi.jar:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
... 1 more

#

Caused by: java.lang.ClassNotFoundException: net.ess3.api.IEssentials
at java.net.URLClassLoader.findClass(URLClassLoader.java:445) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:587) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
at java.lang.Class.privateGetDeclaredMethods(Class.java:3402) ~[?:?]
at java.lang.Class.getDeclaredMethods(Class.java:2504) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:396) ~[placeholderapi.jar:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
... 1 more

#

this

somber grotto
#

how to set value of the placeholders that already exist, for example set value of placeholder "%vault_eco_balance%" to 0 or some numbers

haughty sapphire
#

Can I use a placeholder in a placeholder e.g. for Math %math_%example%%?

lament verge
#

Hi, is there a placeholder that lets you know the number of carrots grown that have been broken by the player?

woeful bone
#

Is there placeholder which checks if block exist in specific location?

vivid sparrow
#

that's pretty specific, most likely no

worthy hemlock
#

I have this strange issue where my placeholder stops working after /papi reload

#

persist is set to true though

#

featherboard is displaying a papi placeholder and the placeholder just stops being called

#
public class myCustomExpansion extends PlaceholderExpansion {

    public myCustomExpansion (testCore core) {this.core = core;}

    @Override
    public String getAuthor() {
        return "paradise";
    }

    public String getCustomField(MPlayer player) {
        System.out.println("Returning...");
        return "xyz";
    }

    @Override
    public String getIdentifier() {
        return "myCustomExpansion ";
    }

    @Override
    public String getVersion() {
        return "1.0.0";
    }

    @Override
    public boolean persist() {
        return true;
    }

    @Override
    public String onRequest(OfflinePlayer player, String params) {
        MPlayer mp = core.getMPlayer(player.getPlayer());

        if(params.equalsIgnoreCase("isMarried")){
            return this.isMarried(mp);
        }

        if(params.equalsIgnoreCase("partner")) {
            String returnplaceholder = getCustomField(mp);
            System.out.println("Returning " + returnplaceholder);
            return returnplaceholder;
        }

        return null;
    }
}``` this is essentially my code
#

but it stops logging after a /papi reload

worthy hemlock
austere hawk
#

you just have to replace the %% with {} for the second placeholder

haughty sapphire
#

ok thx

austere hawk
#

%math_0:1_{internal_placeholder} + 10% for example

austere hawk
haughty sapphire
#

and a placeholder in a placeholder in a placeholder is that possible?

austere hawk
#

no

haughty sapphire
#

sad

austere hawk
#

there's probably a better way to do what you're trying to do

#

you rarely have to use 3 placeholders in one lmao

haughty sapphire
#

and can i use placeholder in commands?

slate adder
#

can i have the link of the website to download manually the extentions of papi for my scoreboard plugin

#

pls

austere hawk
rain arrow
#

placeholder can he read from a database?

spark chasm
#

hey help ._.

#

is there a way to

#

get placeholder from other player

#

@help

austere hawk
austere hawk
#

If you mean get a value from a MySQL database, then no there are no expansions to do that

rain arrow
austere hawk
#

what kind of information?

rain arrow
austere hawk
#

well no

#

that placeholder is not per-world

rain arrow
austere hawk
#

what

#

that placeholder just tells you when the first time you joined the server was. Has nothing to do with any worlds

#

what are you trying to accomplish exactly?

rain arrow
austere hawk
#

there isn't, I don't think that data is saved anywhere

#

again, what are you trying to do? why do you need that placeholder?

rain arrow
swift oriole
#

i cant download any expansions using /papi ecloud download

tender vaporBOT
#
FAQ Answer:

Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.

worthy hemlock
austere hawk
steel trail
#

Hello

#

OSEA

#

[11:09:34 INFO]: Failed to find an expansion named: DeluxeChat

#

[11:12:08 INFO]: Failed to find an expansion named: Player

#

Why ?

swift oriole
jolly frost
#

Hi hellooo. I am using UltimateVotes along with ajLeaderboards to create some top voters. I am using the ultimatevotes_montlyvotes placeheolder to do this. This is erroring, based on it not being an unformatted numeric response. I have spoken to the UltimateVotes dev and he has pointed the finger at PAPI, as his code clearly returns a numeric value.

What do I do?

https://api.extendedclip.com/expansions/ultimatevotes/

turbid tide
jolly frost
#

Interestingly, it just says %ultimatevotes_monthlyvotes%

turbid tide
#

can you do /papi dump and send the generated link over?

jolly frost
#

Sure. I did check console and I'm not seeing any errors. I do have a couple of thoughts about what could be happening here

#

PAPI is fully functioning outside of that issue above

#

Appears UV doesn't run on the server I'm trying to pull the placeholder on, I'll sort that and go again. Forget that it won't pull from Bungee

cosmic cape
#

Hi im getting a error called failed to find expansion also i dont have the expansion_name.jar file in my expansions folder Help

jolly frost
#

also that parse command is very useful I like that

turbid tide
turbid tide
turbid tide
cosmic cape
#

Ok

#

thx

jolly frost
#

Thanks for your help

turbid tide
#

no problem

wintry field
#

I dont get it, what i have to do, that my Scoreboard displays the name of the User .-.

#

okey, found it

#

xd

random tartan
#

Hello! I'm trying to display another player's statistics, I tried to do it through %otherplayer% but they told me that it's impossible, then I switched to %parseother% but I need to manually enter the player's nickname.

#

I'm at a dead end.

#

Also some details, I'm trying to display online players in the GUI using the CommandPanels plugin (this is just an explanation of what I'm trying to do).

turbid tide
#

well I mean you need a way to get the other player's name. there's no way to parse placeohlders for them if you don't know who the other player is.

turbid tide
random tartan
turbid tide
random tartan
turbid tide
#

what exactly happens when you use that?

random tartan
turbid tide
#

did you download the parseother expansion?

random tartan
turbid tide
#

I guess cp doesn't parse its placeholders before PAPI. idk if you can do it then with those placeholders.

#

with the online ones

random tartan
#

I think I need to talk to CommandPanels support again.

#

πŸ‘‹

turbid tide
#

%parseother_{playerlist_online,normal,yes,0}_{YOUR PLACEHOLDER HERE}%. you just need to download the playerlist expansion.

#

also you change the 0 to 1, 2, 3, etc. to get the next players

#

the online there tells the expansion you only want the online players, normal means that you don't want any specific criteria just online players, yes means it includes you, and 0 is the player. (it starts from 0 not 1 as you can see).

austere hawk
#

cp-x is the internal format that you'd use inside the plugin itself. commandpanels_x is the PAPI bridge that's built into the plugin. You're gonna need to use the second format if you want to use it outside of cp

turbid tide
#

I just used the placeholder I Was provided

#

which was the internal one

random tartan
austere hawk
#

yw

austere hawk
#

Ok

#

so i need help

#

I was on my account right and then bang no server

#

i messaged the owner and he didnt ban me or anything nor was i on the ban list

#

i didnt leave

#

so i left the account and made a new one

#

(this account)

#

but

#

now it just happend again?

tender vaporBOT
#
FAQ Answer:

Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.

turbid tide
silent plinth
#

gaby

jolly crystal
turbid tide
#

ugh. bcz that's not a vault thing

#

the top placeholders are just in the vault expansion

jolly crystal
#

Oh I read vaults baltop method

turbid tide
#

and since it literally just takes data from essentials and makes a leaderboard, we'd rather use essentials api which now includes some nice baltop stuff

silent plinth
#

damn

#

vault:
baltop:
check_delay: 30
cache_size: 100
enabled: false

#

if i like that

#

problem fix?

turbid tide
#

it should be. yes

silent plinth
turbid tide
#

no problem

bleak bear
#

Help when i try anything it give error like /papi ecloud download server it say cant find it what i do it happen to all extensions

keen yarrow
#

Hej there.
Any Reason why placeholderapi might work if i join via waterfall proxy, but not if i join via velocity proxy?
Atleast the ecloud extensions like localtime and player wont work :(

turbid tide
#

@bleak bear any chance you tell us what hosting you use?

void jungle
#

when I put /papi ecloud download player or vault it gives me an error

turbid tide
#

what error?

void jungle
tender vaporBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.

turbid tide
#

send the photo here. using imgur

void jungle
#

ok

jolly crystal
#

Has the API for placeholderAPI changed?

[18:17:26 WARN]: [PlaceholderAPI] Failed to download expansion information
java.net.UnknownHostException: api.extendedclip.com
jolly crystal
limber ice
turbid tide
limber ice
#

I talked to ESS support and could not figure out to stop the error that only happens at bootup

#

yes it is possible I went from online to offline

austere hawk
#

Hi I want to make a ranking of who kills the most mobs how to display the stats of other players? %statistic_mob_kills%

austere hawk
#

?

#

ping me

stone edge
#

you tried?

austere hawk
stone edge
#

question is

austere hawk
#

i don't know how to display the stats of another player

stone edge
#

whats your question

#

how to display the stats of other player?

austere hawk
#

yes

stone edge
#

that depends on what you wanna do

#

if your question is

#

"how to make a leaderboard using only PlaceholderAPI"

#

you can't

austere hawk
#

I want to make a ranking for example of the players having broken the most blocks (thus displaying the top 1...)

#

in the menu

stone edge
#

this plugin is not for that, you probably need an external plugin that use the player data to "build" the top

austere hawk
#

oh i see thanks anyway

austere hawk
#

its pretty neat

austere hawk
#

Hello, I am grabbing placeholders from uSkyblock (using uSkyblock reloaded as that's the updated fork), and it seems to break (on my scoreboard, that is). It looks like this in-game (https://prnt.sc/Va5ztR_qOVyU) but once I go to my island and do /is level, it fixes the issue... is there a way to make it so they don't need to type /is level first?

(Please ping on reply)

stone edge
#

make your scoreboard toupdate that line every 1 second

#

otherwise, that's skyblock issue

austere hawk
#

Where's the "toupdate" at?

stone edge
#

that depends on your scoreboard

#

not all of them have an option to constant update a line

#

so first, make sure it's your skyblock plugin issue

#

by using /papi parse me %the placeholder%

#

if the placeholder returns correctly (after restart) i guess, then its correct

#

otherwise thats the issue and somehow /is level is required

#

it probably fetches data when you run the command instead of doing it on join

#

idk tbh

bleak bear
tender vaporBOT
tame prawn
#

Hello there I am getting a error I am unable to download expansions

tame prawn
bleak bear
#

Pls tell what i can do i cant use placeholder what i do me in falic

#

Falixnodee

#

@tame prawn download mannual

tame prawn
odd whale
#

% math_5 + 1% is calculated correctly and is displayed as 6. However, it is not possible to calculate using precision such as & 1 & l9st & f & l # & b% math_ {objective_scoreposlow_ {1} _ {9}}> 0%.

#

How to fix?
I use translater.

errant iron
#

?ecloudblock

tender vaporBOT
#
FAQ Answer:

Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.

errant iron
tame prawn
tame prawn
# errant iron ^

Umm i got the expansion file in plugin folder, now what I have to do?

errant iron
#

/papi reload

tame prawn
# errant iron `/papi reload`

No no means I got the expansion folder but it's empty I executed command /papi ecloud download player it says failed to find an expansion named:vault

errant iron
# tender vapor

so download them from this website and put them in the folder

tame prawn
#

Ok leme try

tame prawn
bleak bear
vivid sparrow
#

What host do you guys use @tame prawn and @jolly crystal ?

#

papi ecloud download player
[10:58:22 INFO]: Successfully downloaded expansion Player [2.0.2] to file: Expansion-player.jar
Make sure to type /papi reload to enable your new expansion!
[10:58:22 INFO]: [PlaceholderAPI] Fetching available expansion information...
papi reload
[10:58:29 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[10:58:29 INFO]: [PlaceholderAPI] Fetching available expansion information...
[10:58:29 INFO]: [PlaceholderAPI] Successfully registered expansion: player [2.0.2]
[10:58:29 INFO]: 1 placeholder hook(s) registered!
works fine for me

austere hawk
tame prawn
tender vaporBOT
# jolly crystal My PC lol
Hey!

Please respect the rules, be patient and don't ping staff members!

jolly crystal
#

It's not my error though. A user got the error and one of my plugins he uses depends on placeholderAPI. (Dont ask me why. If I coded it originally, it would be optional)

opaque sandal
#

help me

tender vaporBOT
#
Possible Solution Found:

The plugin (or program) you are trying to use was compiled using a newer Java version than the one you using.
To find what version you need, start from 52 which is Java 8 and for example, 60 is Java 16. (8 + 8 = 16 => 52 + 8 = 60)

#
πŸ“‹ Your paste: TheSash1
https://paste.helpch.at/iwokorinev

A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.

opaque sandal
tender vaporBOT
# opaque sandal GUYS HELp https://paste.helpch.at/tidabowohu.sql
Possible Solution Found:

The plugin (or program) you are trying to use was compiled using a newer Java version than the one you using.
To find what version you need, start from 52 which is Java 8 and for example, 60 is Java 16. (8 + 8 = 16 => 52 + 8 = 60)

turbid tide
#

please read what the bot said

opaque sandal
#

I have the latest version of java, I can't install placeholder

turbid tide
#

As the bot mentioned, the World expansion requires you to have java 14 or newer while your server has java 8

turbid tide
opaque sandal
#

-_- okay

opaque sandal
#

I installed EZRanksPro via the cloud api , but these ranks don 't work in the scoreboard on the right

#

%ezrankspro_progressbar% nor work in the scoreboard

limber ice
#

on output of installed list green means update or is it gold?

turbid tide
#

green means its latest, gold means there might be an update on the ecloud

pliant pulsar
#

%localtime_time_h-m% Does this placeholder return the hour and minutes of the server or the user's country?

turbid tide
#

it tries to get the user's time. but if it fails then it returns the server's I believe

pliant pulsar
#

thanks

inner shell
#

quick question. I'm sure you've seen it before and I'm sure I'm missing something. I have essentialsx, i have placeholderapi, i have vault. All at latest possible version. %vault_eco_balance% and any variation thereof works perfectly. however %vault_eco_top_balance_#% and any variation thereof doesnt seem to register at all. what Have I forgotten

#

nevermind. read pinned

#

I'm sorry

cobalt cave
#

so the placeholder %essentials_worth% doesnt work

inner shell
#

I am now using the essentialsx dev expansion

#

how do I go about listing the placeholders available from that expansion

limber ice
#

Now that the Spring cleaning is done for my bedroom, back to updating servers. OK Bungee is gold and I have downloaded it twice and not change, Statz and Autorank are gold but they are built into plugin now, do I need to change something some where's to have it be green?

#

@inner shell /papi parse me %essentials_ then you can tab thru them all

inner shell
#

but that will help in the future. thank you

cobalt cave
limber ice
#

@cobalt cave when you run the placeholder you need to be holding the item your checking

cobalt cave
limber ice
#

no clue I don't use ess placeholders, I had to download the expansion to test worth placeholder

limber ice
#

I don't think so, since I can't think of any command that would return that data

stark shard
#

Check Vault placeholders

#

For economy based

gloomy crane
#

so i upgraded from papi 2.10.9 to 2.11.1 on a 1.16.5 server using luckperms extention from the new papi (aka... i updated the luckperms extension after the new papi was loaded) and the place holder %luckperms_primary_group_name% is not working on the Deluxehub score board.... since this is a 1.16.5 server is there any benefit to using the newer papi?

errant iron
#

any reason to be on 1.16.5?

#

you're 2 major versions behind

gloomy crane
#

yes... i have some builds that will break if i upgrade the server to 1.17 or higher

#

we done some pretty funky stuff that you cant normally do

#

i can change it back it is no big deal

errant iron
#

ah jeez dude

#

you gotta get on the upgrade

#

people don't like playing old versions

#

just look at bstats

magic wing
#

how do i get the jobs reborn placeholder api ingame

scenic sluice
#

hello how can i get ping like in the scoreboard

tender sphinx
#

Dose anyone know, how to use getTargetBlock on Javascript?

sharp jay
sharp jay
magic wing
sharp jay
#

Np

magic wing
tender vaporBOT
magic wing
#

shit sorry

wet basinBOT
#

@sharp jay Unknown expansion.

magic wing
#

?

sharp jay
#

type /jobs placeholders

magic wing
#

ye ok

worldly flicker
tender vaporBOT
fervent spire
worldly flicker
#

so far yes the bot fixed the issue.

still crow
#

Im not understanding why nothing is working here

#

?imgur

tender vaporBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.

still crow
#

Papi is installed

#

(1.18.1)

#

also

still crow
#

Barry fixed my problems

stark shard
#

He a real one

fading sail
#
Failed to find an expansion named: Essentials
#

why this popping up?

#

1.13 server

turbid tide
#

what hosting do you use?

fading sail
#

Free Host

#

Falix

#

just to develop server

#

and switching files to paid server

#

Electronode

turbid tide
#

yeah I believe we've had couple of people reporting the same problem from Falix

tender vaporBOT
#
FAQ Answer:

Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.

turbid tide
#

download the expansion from this link ^^

fading sail
#

ok

#
There are no placeholder hooks active
#

and i have it in expansions

turbid tide
#

did you reload?

#

/papi reload I mean

fading sail
#

yea

turbid tide
#

do /papi dump and send the generated link over please

fading sail
turbid tide
#

can you restart the server and if it still doesn't work send a startup log here please?

fading sail
#

ok

#
[12:48:36 ERROR]: [PlaceholderAPI] failed to load class files of expansions
java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: com/massivecraft/factions/RelationParticipator
        at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) ~[?:1.8.0_292]
        at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) ~[?:1.8.0_292]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1606) ~[?:1.8.0_292]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_292]
Caused by: java.lang.NoClassDefFoundError: com/massivecraft/factions/RelationParticipator
        at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_292]
        at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[?:1.8.0_292]
        at java.lang.Class.getDeclaredMethods(Class.java:1975) ~[?:1.8.0_292]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:396) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604) ~[?:1.8.0_292]
        ... 1 more
#

@turbid tide (sorry for ping)

turbid tide
#

ah yeah. you have the MassiveCore expansion but not the plugin so it breaks and it also takes down the entire loader with it

#

remove it from your expansions folder

fading sail
#

what if i add MassiveCore And factions plugin?

turbid tide
#

if you add it, then it will probably work

fading sail
#

ok

zealous kraken
vivid sparrow
#

You probably need a max value

zealous kraken
#

So if i do something like this %progress_bar_{server_online}_c:&cβ– _p:&cβ– _r:&4β– _l:30_m:1_fullbar:&cCompleted!% it should work ?

vivid sparrow
#

Probably

zealous kraken
#

It don't work and i don't have errors :/

Progress bar work in menus ?

vague ether
#

Why does %player_displayname% showed instead of player's name?

turbid tide
#

you might not have the player expansion installed

vague ether
#

I did installed

turbid tide
#

/papi ecloud download player then /papi reload

vague ether
#

I already did that twice

turbid tide
#

can you do /papi dump and send the generated link here?

vague ether
#

Ok wait

#

There

#

I'm also new to this

turbid tide
#

how have you tested the placeholder? did you try it with /papi parse?

#

if not do /papi parse me %player_displayname% and tell me what it says

vague ether
#

Alright

#

It said my name

turbid tide
#

well then the placeholder works. your problem might be the plugin you're using it in. it might not support PAPI

vague ether
#

Ohh

carmine bison
#

Hey, can somebody tell me how can I display the player's kills and death's counter in the scoreboard using PAPI? I cant find the placeholders and minehut doesnt offer a plugin wich creates these placeholders.. I'm using Scoreboard-Revision if somebody wanna knows. (1.17.1)

turbid tide
#

%statistic_player_kills% for kills and %statistic_deaths% for deaths

carmine bison
#

omg

#

thanks

carmine bison
turbid tide
#

its just deaths

#

no player_ before it

#

that's just for kills

carmine bison
#

ah okay

#

thanks

orchid cloak
#

Help the placeholder plugin does not download the expansions

turbid tide
#

what hosting do you use?

orchid cloak
#

falixnodes

turbid tide
#

Ok. We've noticed this happening on falix nodes in the past couple of weeks. I recommend you download the expansions manually from the ecloud. but could you send a startup log by any chance

tender vaporBOT
#
FAQ Answer:

Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.

orchid cloak
#

OK thank you very much

ornate coyote
#

what is the persist() method in the extension class

warm topaz
#

its to be used by plugins creating an internal expansion class, setting that to true ensures that the expansion will be loaded upon reloading

turbid tide
#

upon papi reload. not /reload.

warm topaz
#

./reload πŸ₯Ά

ornate coyote
#

ahh okay thanks

ornate coyote
trim mist
#

@orchid cloak Could you provide your latest startup log via the instructions Barry mentioned above? I'd like to take a look and possibly work on a fix for future FalixNode users.

vapid ember
tender vaporBOT
vapid ember
#

Fixed.

strong latch
#

anyone know why my papi didn't work on my lobby

#

when i config %luckperms_prefix% its just goes blank

dreamy wraith
#

So i am trying to use the pinger papi thingy but i use bungeecord and its not working with interal ips

#

????

plush loom
#

Hey does anyone know how this works?

stone edge
#

There is usually a wiki, there must be data there fingerguns

vivid sparrow
#

%gradient_message_{#hex1}_{#hex2}_message with colors%
this is what you need

small cloak
#

Could I ask how do I link papi kills stats from my server to my bungee so I can show it in the hub?

stark shard
#

Idk if there is a placeholder api bungee. If not install placeholder api plugin and parse the placeholder on ur hub server

stark shard
#

Do what part?

#

Oh

small cloak
#

"If not install placeholder api plugin and parse the placeholder on ur hub server"

#

That part :D

stark shard
#

Wait

#

Is ur kill stats plugin bungee?

small cloak
#

No I'm using papis %statistic_player_kills%

#

I have installed papi on my bungee

vivid sparrow
#

papi is not a bungeecord plugin

stark shard
#

Oh

#

Then get a killstat plugin that is bungee

#

If u do that, placeholders can recongnize the stat from all servers

#

Placeholderapi*

#

So.
Find a killstat plugin that is compatible with bungee and hook the mysql database across ur hub server and other server where ppl pvp. The plugin will most likely have its own placeholders that u can use, so use that in the hub. If it doesnt then it probably has them with placeholder api. If so, go to placeholderapi and download it into ur hub server. Then restart the hub and do /papi ecloud download <plugin-name-given> then /papi reload. This will fix it all

#

There is probably kitpvp plugins that have bungee so use those, and u can most likely disable the feautures u dont want

small cloak
#

yeah found one

stark shard
#

Nice

royal crater
#

I whanna make a scoreboard that displays my rank (i use the basic /teams command made by minecraft) would that be posible, and if how could i do it?

small cloak
stark shard
#

Papi isnt bungee capable

small cloak
#

I wanna have kill stats not teams tho

stark shard
#

Wasnt replying to u

small cloak
#

Oh XD

#

I sadly only fond paid plugins that do this.

royal crater
stark shard
#

The link gives u the ones u need

royal crater
stark shard
#

Has mysql support so i think it works

small cloak
dreamy wraith
#

So i am trying to use the pinger papi thingy but i use bungeecord and its not working with interal ips

lethal basin
# lethal basin denizen | depenizen

lol I forgot to add context.
I personally made it with depenizen/denizen, what Im actually doing is parsing placeholder tags from other servers. Then you can work with them 🀷

small cloak
lethal basin
#

not on its own

small cloak
#

What plugins are needed?

lethal basin
small cloak
lethal basin
#

yes

small cloak
#

What is the setup may I ask?

lethal basin
#

!guide

#

oh

wind thorn
#
[17:45:10 INFO]: Failed to find an expansion named: vault```
wind thorn
#

[17:45:01 WARN]: [PlaceholderAPI] Failed to download expansion information

wind thorn
dreamy wraith
#

So i am trying to use the pinger papi thingy but i use bungeecord and its not working with interal ips

turbid tide
#

is it Falix by any chance?

turbid tide
dreamy wraith
#

F, is there no other way?

wind thorn
turbid tide
#

yeah, we've got reports from other people that use the same hosting. I believe someone contacted them trying to get this fixed. Until then you can manually download the expansions.

tender vaporBOT
#
FAQ Answer:

Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.

wind thorn
#

oh ok

soft saddle
austere hawk
#

How to allow usage of placeholders in my scoreboard plugin (built in)?

hot torrent
#

Hey how do I hook into a plugin thats not on ecloud?

turbid tide
stark shard
#

I think he means how to use placeholders from a plugin when papi doesn't have a parse command

#

Usually the plugin has the placeholders built into them

hot torrent
turbid tide
#

well they're not required to list their placeholders there

hot torrent
#

I know

turbid tide
#

only those that want list the placeholder

hot torrent
#

That isnt the question

stark shard
#

Send the plugin link

hot torrent
#

But do I have to have execute a command to be able to use the placeholders inside the plugin

stark shard
#

No, not if the plugin has integrated placeholders without a dependency

hot torrent
#

Okay so if it doesnt work its because the dependency doesnt work?

stark shard
#

What's the plugin?

hot torrent
#

Its not on the spigot website, its custom made

stark shard
#

If the developer made the plugin have its own placeholders and doesn't require another plugin like placeholderapi to parse it, then the placeholders should work on their own

#

If the plugin has a dependecy, then make sure it is working with the developer made plugin

turbid tide
#

tbh I still don't understand what your question is

turbid tide
hot torrent
#

Okay so I have a custom made plugin (which should have PAPI as a dependency)
I want to use the placeholders of the custom made plugins in MyCommand, and my question is: Do I have to execute a command to hook into PAPI?

turbid tide
#

no. you have to hook into it using code

hot torrent
#

Okay thank you

austere hawk
#

Any placeholders around to get the current month?

mint fable
#

%server_time_<SimpleDateFormat>%

vivid sparrow
#

M for 3
MM for 03
MMM for Mar
MMMM for March

austere hawk
#

Awesome, just what I needed!

lethal basin
austere hawk
#

I need help, when placing /papi ecloud download no options appear and for example I put any of my plugins and "Failed to find an expansion named" appears

turbid tide
#

are you using Falix hosting?

austere hawk
turbid tide
#

for a fix

sharp urchin
turbid tide
#

you can search there for whatever expansion you want

#

and download it

sharp urchin
#

THANKS!

austere hawk
tender vaporBOT
tired wharf
#

Are registrations on api.extendedclip.com always locked and it's like a "ask to register" type thing? Or is it actually just temporarily locked

silver minnow
#

I'm guessing it was unlocked when it was less popular 🀷 (and locked to prevent spam?)

tired wharf
#

I see

#

Hmm

silver minnow
#

you have to message FunnyCube i think

tired wharf
#

By any chance do you know a placeholder to get a percentage of a number or a placeholder

tired wharf
#

Like, %percent_<percentage>,<number>%

silver minnow
#

you might be able to use math expansion

#

im a bit confused by what u mean tho

#

can u give example?

tired wharf
#

%percent_5,100% would return 5

#

5% of 100

silver minnow
#

oh

#

I haven't used math expansion but it'd be number / percentage * 100 πŸ€” ill try testing around

tired wharf
#

Hmm

#

I don't think there's a point to what I was making then lmao

silver minnow
#

uh

tired wharf
#

Maybe one day I will have an idea lol

silver minnow
#

that works

tired wharf
#

Cool cool

small cloak
#

My Papi doesn't wanna reload

plush ivy
#

whats wrong with this :/

warm topaz
#

math expansion requires java 11. ur using java 8

#

update ur java version

plush ivy
#

how is this possible ?
my other server is on java 8 and there placeholder is working fine ?

warm topaz
#

probably outdated version

small cloak
#

So I installed the essx papi data and now my server doesn't wanna sho player counts

plush ivy
small cloak
#

I used %bungee_suvival%

small cloak
warm topaz
# plush ivy PlaceholderAPI (2.11.1)

the math expansion. ur other server is probably using a version before 1.2.7 as thats when the expansion started requiring java 11. u can downgrade to version 1.2.6 if u want but i recommend updating ur java version instead

warm topaz
# small cloak Me?

no, but what does the placeholder return when u do /papi parse me %bungee_suvival%

#

and any errors when u reload papi?

warm topaz
#

does the expansion show up in papi list?

small cloak
#

yes

#

No

#

It doesn't

#

I have downloaded it

warm topaz
#

download it again, papi reload and look for errors in console

small cloak
#

why is the link so big lmao

tender vaporBOT
#
πŸ“‹ Your paste: This Is Gaming
https://paste.helpch.at/ebuqufidag

A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.

mint fable
small cloak
#

What should I do?

warm topaz
#

update essentials

timid fox
#

is guave included in papi

#

i want to do some caching in my expansion

warm topaz
#

guava?

timid fox
#

guave lib

#

for caching

warm topaz
#

ive never heard of "guave", so probably not

#

ull have to shade it into ur jar

timid fox
#

but its size is big tho

warm topaz
#

can i get a link to the lib?

timid fox
#

wait wrong lib i think

#

wait it is but i think it does way more than i need

warm topaz
#

guava is already in spigot

#

u can add that as a compileOnly/provided dependency

timid fox
#

wait what

#

i didnt know that

warm topaz
#

yep

errant iron
#

guava dead

warm topaz
#

whats wrong with guava star

turbid tide
#

its dead

#

I'd assume

warm topaz
#

no it looks very active

#

last release 10 days ago
last commit 3 hours ago

#

altho maybe star means guava just isnt as useful with newer java versions? as the stdlib has improved

grand yoke
#

Hello, I need help when I try to download the Player extension, it tells me "failed to find an expansion with the name Player"

tender vaporBOT
#
FAQ Answer:

Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.

errant iron
#

oh no nothing is wrong with Guava just that he didn't say the name right

#

and yeah the stdlib has gotten a lot better

void jungle
turbid tide
void jungle
turbid tide
void jungle
#

ok

#

And how do I stop this error from appearing?

steel mesa
#

Hi guys.
I currently have a problem while developping my own papi expansion. In fact, I try to use it through essentialsx chat.
The error I get is this one:

Could not pass event AsyncPlayerChatEvent to EssentialsChat v2.19.3
java.util.UnknownFormatConversionException: Conversion = ' '

I'd normally say this is a typical essentials error, but when I delete the placeholders from the config, it works properly.
I've followed the whole documentation and registered it.
here is my code: https://pastebin.com/h0NFEnNp
And it is registered with :

if(Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null) {
            new RainbowPAPIExpansion(this).register();
        }

Do you guys have any idea of what's gone wrong ? I can't find anything ...

warm topaz
#

make sure ur on the latest version of papi

#

that error should be fixed as of 2.11.0 or smth

steel mesa
#

But I'm on papi 2.11.1

#

aka the latest one

warm topaz
#

wait does essentials even support PAPI placeholders yet?

steel mesa
#

ho idk, but i use the latest stable build of it

#

but it should normally work I guess ?

warm topaz
#

a plugin needs to add support for papi manually, we cant just replace every placeholder magically
what i suggest u do to test a placeholder is use /papi parse me %placeholder_here%

steel mesa
#

It seems that the other plugins also generate the same error when using the placeholders

#

the command only gives the placeholder back without value

turbid tide
#

the user will still need the expansion. also you're adding the placeholder before parsing it?

oak wraith
#

can you help me please?

#

fixed using last dev build

oak wraith
oak wraith
#

I have my server down. Help?

austere hawk
#

What is the license for placeholder api?
In other words, am I allowed to distribute the jar inside a .zip or do I need to refer to the download URL?

stone edge
#

distribute the jar inside a .zip

austere hawk
#

That still doesn't answer my question...

#

I am asking because I want to do the things right.

stone edge
#

didnt mean to answer it

#

distributing someone else files

#

is like, eww

warm topaz
austere hawk
#

ty

compact fox
stone edge
#

just wondering, which placeholder you using?

compact fox
#

it might be player_name but i'm not sure

stone edge
#

i doubt it's player_name tbh

#

if so, try using latest build, deleting player expansion

#

and downloading it again

compact fox
#

yeah, i just seen the config of the related plugin and placeholder used around
-player_name
-player_x/y/z
-player_biome_capitalized
-player_health_rounded
-player_max_health_rounded
-player_colored_ping
-player_world
-vault_eco_balance_commas
-player_world_time_24
-server_time_dd/MM/yyyy HH:mm:ss zzz

that's all i see in the config file

tender vaporBOT
clear dust
oak wraith
turbid tide
austere hawk
#

help pls

#

@idle coral

tender vaporBOT
#
FAQ Answer:
Β» Give the helpers some details
Β» Ask suitable questions
Β» Be polite
Β» Wait

Source

vivid sparrow
#

java.lang.RuntimeException: Failed to determine Minecraft version
Caused by: java.lang.IllegalArgumentException: No match found in 'git-Spigot-21fe707-741a1bd RivaNetwork: 1.8.8'

oak wraith
#

wft i am asking for help and you are literally ignoring me. Somebody arrives and you reply istant?

vivid sparrow
#

/papi dump

oak wraith
#

it's not possible because the error is in the startup

mint fable
#

?startuplog

tender vaporBOT
#
FAQ Answer:

Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.

mint fable
#

send that over

oak wraith
mint fable
#

That's not the entire log

#

I've already seen the error

oak wraith
#

ok i'll provide it now

languid oak
#

Hey, Im using the hologram plugin and when I do something like "Hello, %player_name%." it does not say the player but only says "%player_name%."

mint fable
#

what version of holographicdisplays are you on

languid oak
#

v3.0.0-SNAPSHOT I believe..

mint fable
#

run those commands and see what happens

tender vaporBOT
#

πŸ”¨ A user has been banished from the island for using wrongly distributed software, the island has spoken.

mint fable
#

so watch for them to possibly change the format if you update in future

languid oak
#

wdym in the next update

mint fable
#

just says full release, you're on a snapshot version

#

aha!

#

they already changed it if you're using beta 2 actually

#

instead of beta 1

#
  • Changed format for PlaceholderAPI to {papi: placeholder} (previously was %placeholder%).
languid oak
#

im using beta 2

mint fable
#

that'll do it

#

ngl kind of weird, but I guess I can see why they did it?

#

πŸ€·β€β™‚οΈ

languid oak
mint fable
#

no

#

the format is {papi: placeholder}

#

so try {papi: player_name} maybe

#

or maybe {papi: %player_name%}

languid oak
#

OHHH I see

mint fable
#

it's a weird format

languid oak
#

alr it worked

mint fable
#

which one?

languid oak
#

but why did it change?

#

{papi: player_name}

mint fable
#

I didn't make it

languid oak
#

lol

mint fable
#

I'd @ filo but they're not in the discord

#

lmao

#

it's definitely gonna confuse almost everybody

#

πŸ˜‚

languid oak
#

this is going to be very confusing when I will follow video tot on something

languid oak
prisma stump
#

Hey, quick question to you papi pros, I am using a voteparty plugin which's required placeholder always required 1 more than needed, eg when it turns from 1 to 1 it will still need 1 vote, meaning it start's when the required count is at -1 which can confuse players, my question now, couldn't I via the eg js expansion make the placeholder to display the value of itself + 1 so it would show the 'correct' required value and if, how would I do that? The placeholder is %missing_votes%, thanks for any help!

prisma stump
#

uvp, it's removed as it was relatively old, hence why I got no resource to provide other than this placeholder, I could send the jar if required but idk if the source is obfuscated or not

#

hence why my idea was to add a +1 to the placeholder %missing_votes% if that is possible

sharp jay
#

so you can use the math expansion ?

#

like %math_2_{missing_votes}+1%

#

I think thats right

turbid tide
#

2 will return .00

#

you probably want 0 there

sharp jay
#

smh

#

so its 3?

#

idk

gritty sundial
#

Can someone please advise me where I can get oraxen expansion?

night vale
#

How can I create a permission

tender vaporBOT
#
Available Plugins Version Info:

autosell, blocker, chatreaction, crazycrates, deluxechat, deluxecommands, deluxejoin, deluxemenus, deluxetags, ezblocks, ezprestige, ezrankspro, fastayncworldedit, fawe, frozenjoin, guilds, hyperverse, infoheads, levellingtools, luckperms, minecrates, mvdwplaceholderapi, oneversionremake, placeholderapi, plotsquared, shopguiplus, statz, superoof, vault, voteparty, worldedit, worldguard

#
Placeholderapi - Version List
Spigot:

1.8.8
1.12.2
1.13.2
1.14.4
1.15.2
1.16.5
1.17.1
1.18.1

Version:

v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10 - Latest
v2.10.10-DEV - Dev Builds

paper grail
#

ok

night vale
night vale
#

<:

tender vaporBOT
#
Hey!

Please respect the rules, be patient and don't ping staff members!

clear dust
viscid snow
#

question for javascript-expansion
how do I get mob health instead of player health
currently I'm using

var health = Math.round(BukkitPlayer.getHealth());
var maxhealth = Math.round(BukkitPlayer.getMaxHealth());

but its restricted to the player
thanks in advance

vivid sparrow
#

you can not

plush loom
#

Where does the statistic placeholder take its data from? I'm trying to reset those stats and having no luck

#

I've deleted the userdata in the World file - that does nothing

plush loom
#

oop found it

#

stats in the world folder

worthy hemlock
#

how can I detect when placeholderapi is reloaded?

#

or is there a way to check if an expansion is loaded with the API?

#

I found isRegistered but im not sure how I'd be able to access that method

#

man idfk anymore

#

how am I supposed to handle /papi reloads

#

there's no event and the extension stays registered yet doesnt work

#
/papi bcparse user %marriage_partner%
[works correctly]
/papir reload
/papi bcparse user %marriage_partner%
[nothing]
/plugman reload myPlugin
/papi bcparse user %marriage_partner%
[works correctly]```
#

should I just fork PAPI and create a PAPIReloadEvent or something?

austere hawk
#

Just add persists() to your expansion

#

It means it loads back up when reloaded

worthy hemlock
#

I already have persists

#

but it doesnt seem to do anything e-e

#

I have java @Override public boolean persist() { return true; }

#

oh bruh is it persists with an S?

#

on the wiki its without an S tho

#

πŸ€”

austere hawk
#

Oh weird

#

That's supposed to be what makes the expansion reload

worthy hemlock
#

yeah that's why I'm confused

austere hawk
#

What version of PAPI are you on?

worthy hemlock
#

2.11.1

#

I tried setting persist to false and it still doesn't unregister on reload lol

#

it just... stays there.. ded

#

please save me

#

I have the most hackish solution ever

#
getServer().getScheduler().scheduleSyncRepeatingTask(plugin, new Runnable() {
            public void run() {
                String tmpText = "%marriage_isRegistered%";
                tmpText = PlaceholderAPI.setPlaceholders(null, tmpText);
                if(!tmpText.equals("true")) { // random placeholder that always returns "true"
                    getLogger().info("Re-registering...");
                    new myExpansion(plugin, core).register();
                }
            }
        }, 0L, 20L);```
vivid sparrow
#

persist true should be enough lol

worthy hemlock
#

It wasn't working for me sadly

narrow hamlet
#

i have a problem with PLACEHOLDER API

turbid tide
#

what's the problem exactly?

vivid sparrow
#

THE problem

turbid tide
#

solved it btw. gson was missing bcz they were using spigot 1.8

steel mesa
#

Hi guys.
I currently have a problem while developping my own papi expansion. In fact, I try to use it through essentialsx chat.
The error I get is this one:

Could not pass event AsyncPlayerChatEvent to EssentialsChat v2.19.3
java.util.UnknownFormatConversionException: Conversion = ' '

I'd normally say this is a typical essentials error, but when I delete the placeholders from the config, it works properly.
I've followed the whole documentation and registered it.
here is my code: https://pastebin.com/h0NFEnNp
And it is registered with :

if(Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null) {
            new RainbowPAPIExpansion(this).register();
        }

Do you guys have any idea of what's gone wrong ? I can't find anything ...

errant iron
#

EssentialsChat doesn't support PlaceholderAPI

steel mesa
#

Ah, okay, so what can I do ?

errant iron
#

Use a different chat plugin

steel mesa
#

alright, thanks πŸ™‚

maiden knot
#

how add placeholderAPI to database?

upbeat bridge
#

Hello, how can I make a javascript placeholder that replaces all the dots from %vault_eco_balance_formatted% into commas? or are there any examples out there?

lethal basin
upbeat bridge
#

`var placeholder = "vault_eco_balance_formatted";
var parsed = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + placeholder + "%");

function clanTag(){
if(parsed != ""){
return parsed;
}
return ".";
}

clanTag();`

#

could this work?

spark canyon
#

So I am running a 1.18.1 prison server and placeholderapi hasn't been working properly, i've tried updating the plugin and doing other things but nothing works.

#

That is my console error.

sand dagger
#

Does PAPI have a placeholder like Featherboards Tickspersecond one?

#

Can't find it in the Git wiki anywhere

turbid tide
#
%server_tps%
%server_tps_1%
%server_tps_5%
%server_tps_15%
%server_tps_1_colored%
%server_tps_5_colored%
%server_tps_15_colored%```
sand dagger
#

I'm not looking for the TPS per say but more of the cpu ones

#

like {cpu_cores} {avgtps_rounded} etc

warm topaz
#

why do u need a placeholder for cpu cores

#

that should be a constant value

#

as for rounding the tps, u can use the javascript expansion to round an existing tps placeholder

sand dagger
#

Ah alright thank you

tender vaporBOT
#

πŸ”¨ A user has been banished from the island for using wrongly distributed software, the island has spoken.

turbid tide
#

damn

spark canyon
languid oak
#

Why does this not work with the placeholder?
/hd setLine TOP 2 &b&l#1 &6{papi: player_name} &ewith a island level of &6{papi: IridiumSkyblock_level}

#

the "{papi: IridiumSkyblock_level}" part

clear dust
woeful bone
#

Is there placeholder for checking player in specific area or range?

woeful bone
#

Is there placeholder which shows playername?

worldly fjord
woeful bone
worldly fjord
#

yep

#

default

woeful bone
#

Okay thanks! Can you tell me does placeholders work in chat?

#

Or in commands?

#

@worldly fjord

worldly fjord
woeful bone
spark flame
#

Hi

#

Does anyone know the placeholder that is needed to see the players that are connected in the same group, the plugin that I use for the groups the luckperms

#

??

turbid tide
#

This will only work with luckperms:
%playerlist_online,perm,yes,list,group.<group-name>%

#

you need to change <group-name> with the group name you want to list players from

spark flame
#

Thanks bro

#

<3

fickle breach
#

What to do if it gives this error?:
[PlaceholderAPI] Failed to load expansion class VaultExpansion - One of its properties is null which is not allowed!

warm topaz
#

what server software are u using

fickle breach
warm topaz
#

thats ur problem

#

we only support spigot servers

fickle breach
tender vaporBOT
#
Hey!

Please respect the rules, be patient and don't ping staff members!

fickle breach
#

I tried another Expansion.
He works.
And Vault gives that error

carmine veldt
#

We don't support mohist. If some stuff works, that's great, but if other stuff (e.g. vault) doesn't, there's nothing we will do about it, you need to ask mohist.

fickle breach
#

Okey, Thanks

trim matrix
#

Good morning everyone o/
Someone have some idea why my top balance placeholders isnt working ?

turbid tide
pearl locust
#

for the javascript extension what stuff can i exactly use because i cant use stuff like let and i cant find any documentation on what i can use

tender vaporBOT
#
πŸ“‹ Your paste: RooRay
https://paste.helpch.at/oqozuzabeq

A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.

lethal basin
#

anyway you can use let, wheres the problem?

pearl locust
#

let me go get the error one sec

lethal basin
#

try with ; at the end

trim solar
#

how i can fix placeholder when i download math

tardy matrix
#

Is there a working 1.18.2 version for Featherboard?

#

I cannot get the placeholders to load for multiple plugins

trim mist
#

Unless there was an update on SpigotMC, most likely not.

tardy matrix
#

I do run spigot 1.18.2

clear dust
#

Can any one tell me why this Javascript is causing this papi error?
The error: https://paste.helpch.at/epojihoqak.bash
the JavaScript:

var paid = parseInt(PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%cmi_user_maxperm_bust.buy." + args[0] + "_0%"));
var claim = parseInt(PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%cmi_user_maxperm_bust.claim." + args[0] + "_0%"));
var result = 0;


function dostuff(){
    if (paid <= claim){
        result = 0
    }else{
        result = paid - claim
    }
  return result.toFixed(0);
}

dostuff();
turbid tide
clear dust
turbid tide
#

seems like you have 2 javascript expansions installed

#

go to plugins/PlaceholderAPI/expansions, delete them both, restart the server

#

and redownload the expansion using /papi ecloud download javascript then /papi reload

clear dust
#

thats bloody odd but i see how that might break stuff.

#

its a wonder i got my other javascript placeholder working.

#

ay that seems to of fixed it.

turbid tide
#

nice

clear dust
#

now returning the difference as expected.

#

Now hopefuly not having that busted fixed my Deluxemenu that was using it,