#placeholder-api

1 messages ยท Page 159 of 1

turbid tide
#

%math_0:_IF({jobsr_user_jlevel_hunter} >= 10) 0% ?

austere hawk
#

player_name was for the example, i need parse_other because this placeholder wont work if run from console, it does not come with player flag or something like this

#

I'll try something else

turbid tide
austere hawk
#

Ahh ^^ I'm too bad to do something like this, i'm not gonna use math placeholder instead :p

turbid tide
#

the code would look something like this: ```js
function check() {
var value = parseInt("%parseother_{player_name}_{jobsr_user_jlevel_hunter}%")
if (value >= 10) return "message1"
else return "message2"
}

check()

austere hawk
#

Well, well its hard for me XD, 'ill try this

cunning pier
#

I need help

tender vaporBOT
#

There is no time to wait! Ask your question @cunning pier!

cunning pier
#

It's hard to explain since I can't post pictures in here

tender vaporBOT
#
Uploading Images

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.

cunning pier
safe rock
#

Hello i cant find any placeholderAPI for Most Challenges completed and for Most unique challenges completed for my bskyblock any there can help? ๐Ÿ˜„

vernal rampart
safe rock
#

I have the placeholders but i miss the statistics for the most Challenges completed for bSkyblock ๐Ÿ™‚

queen spire
#

hey everything of mine placeholder is working except for the luckperms one

#

%luckperms_prefix%

austere hawk
#

did you install the expansion?

wheat island
#

hey

#

i am doing this

#

'{%vault_prefix%} &7{player} &8&lยป &7{message}'

#

but the rank prefix is not showing up

#

in chat

#

i download vault expansion also

austere hawk
#

what chat plugin

wheat island
#

its a skript gamemode in config it allow to change the chat

lofty valve
#

is there any placeholders expansions that allows you to do static placeholders with fixed values?

vivid sparrow
#

maybe config @lofty valve

dire violet
#

Can anyone help me please with placeholder Pinger?

wild karma
#

Any way to detect when a placeholder's value changes?

vivid sparrow
#

not by default @wild karma

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

Source

vivid sparrow
#

@dire violet

wild karma
vivid sparrow
#

I mean, unless you store the values on an interval, no

dire violet
wild karma
#

like every X amount store it ?

vivid sparrow
#

yeah

#

read above regen

wild karma
#

oh well ye ofc, I meant an event that tells me when placeholders change

dire violet
#

Pinger ping motd from server.properties
but i want to see the motd which makes the plugin for minigames. Anyone help?

wild karma
#

rip ok thanks

#

should be an event for placeholder changes

vivid sparrow
#

well yeah but we cant really check that

elfin igloo
#

Is there a placeholder that shows a list of plugins on the server?

slate pollen
#

how to let placeholders work on holographic display such as ess placeholders

dire violet
#

you need holographic extension plugin

slate pollen
#

where to find

#

nvm

#

lemme try

dire violet
#

spigotmc

slate pollen
#

hmm plugin installed papi extension installed but it doesn't work

#

any ideas?

austere hawk
#

I can't get the math extension to work with VentureChat because math uses {} for nested placeholders and VC uses {} instead of %% for standard placeholders

#

is there any way to fix this?

turbid tide
#

not from here no. The math placeholder just uses the standard PAPI nested placeholders

#

just use javascript for the math

tender vaporBOT
#
Javascript
Useful Links & Information:

An expansion that allows you to use javascript for processing
โ€ข Wiki
โ€ข Community Scripts
โ€ข GitHub
โ€ข eCloud

bright marlin
#

Hello

#

Iโ€™m a new-is dev

#

And I would like to speak to someone who has made APIs to see if Something I want is possibly and if they could suggest a site or place to go about it .

#

Itโ€™s simple , I want there two be 2 possibilityโ€™s Based in a variable , the possibility being it display a X or. A Tick , eg Unlocked : X. And the variable being a Certain Permission , or unlockable in a plugin ( Mcmmo) . Is this possible or is it impossible

#

Feel free to dm or reply here

sand yew
#

Good evening!
I have a skript of which here is the code below: (MC 1.16.2)

on join:
    if player has permission "admin.test":
        set {test::%player%} to "&c&oNo &4โœ˜"

But my plugin (TAB) does not recognize the variable ... https://prnt.sc/14lbfem
Config of TAB:

- '#FFEF99VIP &7: %skript_test::{player}%'

I downloaded the Skript extension directly in game and PAPI (2.10.9) works fine on the other extensions, do you have any idea what the problem is?

sand yew
warm topaz
#

?player

tender vaporBOT
#
FAQ Answer:

Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload

sand yew
bright marlin
#

Explain a bit more

sand yew
#

It is used to bring out a different sentence depending on the presence of the permission on the same variable

bright marlin
#

Could all the righ APIs

sand yew
#

But the problem is not with the script

bright marlin
#

Got all the right APIs

sand yew
#

I have all the necessary APIs :/

#

that's why I'm stuck :/

bright marlin
#

Good luck

#

Iโ€™m not sure

#

Seems a good script if it worked

#

Iโ€™m in a similar dilemma

sand yew
austere hawk
#

which is the prefix placeholder of the highest group of the user with luckperms

ivory narwhal
#

Hey,
I would like to add my extension to the cloud but I can't register. How can I apply for registration?

fervent spire
fervent spire
exotic vale
unique leaf
#

Is there a placeholder that returns amount banned?

fervent spire
ivory narwhal
balmy marten
#

Hi yes, dm me a username and email you'd like

ivory narwhal
#

Will do ๐Ÿ™‚

zenith sun
#

hello

#

not working placeholder voteparty

#

frames:
- '&eโ”‚ &fVoteParty: &e%voteparty_votes_required_total%&f/&e50'

#

i updated the version placeholder

#

and not working

fervent spire
sonic lake
#

Hi

#

i just made a custom economy via skript

#

how do i make an placeholder with it

#

because i can just put it in messages via skript

#

but not on quickboard which is linked to my PAPI

grave shuttle
trim mist
#

Contact Mohist support. We don't directly support that.

junior musk
#

are you using a resources pack?

austere hawk
#

with the Javascript plugin, how do I get it to work on 1.16? What engine do I use since nashhorn won't work anymore?

#

yeah it's not in the documentation as far as i can tell

#

also i meant the 1.17 update with JVM 16

turbid tide
austere hawk
#

is this something that needs to be fixed with PAPI in general or just this extension

turbid tide
#

yeah. PAPI won't be released. Just the javascript expansion

#

yeah just the expansion. not PAPI

austere hawk
#

hmm i didn't see they were updating it anywhere but yeah thanks

#

where'd u see that?

turbid tide
#

and also if u go on the github one of the forks

#

1 sec

trim mist
#

I will be releasing some information most likely tomorrow about the JavaScript Expansion.

unique leaf
turbid tide
junior musk
#

actually ๐Ÿ‘€

turbid tide
#

o

grave shuttle
#

which expansion controls stuff like %player_name%

#

because it's not working for meh

junior musk
#

?player

tender vaporBOT
#
FAQ Answer:

Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload

turbid tide
#

usually the expansion name is the same as the identifier

#

so %player_name%

sonic lake
turbid tide
#

hi to you too

#

have you tried parsing the placeholder in /papi parse to see if it works?

austere hawk
#

Hello, I'm trying to use the placeholder %statistic_hours_played% however whenever I attempt to it doesn't seem to function. When I type /papi parse me %statistic_hours_played% a 0 is displayed.

Plugin Version: 2.10.9
Server Version: 1.16.5

limber ice
#

@austere hawk I'm running same versions as you and that command parsed for me

austere hawk
#

Interesting! I wonder what the issue may be then ;-; When I use /papi list it shows that "statistic" is there

update: i even tried deleting the expansion .jar and redownloading it, same issue persists

limber ice
#

make sure you only have one version in the expansion folder

#

@austere hawkare you running Spigot or Paper?

austere hawk
#

Currently using a fork of Paper. Every other placeholder I have seems to work fine.

limber ice
#

statistic data comes from the paper version your running

austere hawk
#

Hmm... Think it might be because in my spigot.yml I have this? ```
stats:
disable-saving: true

limber ice
#

could be

sonic lake
tender vaporBOT
#
Hey!

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

sonic lake
#

What excactly does this do?

#

Oh sorry :/

quartz pendant
#

Hi. I'm trying to figure out how to find and get the highest number from a scoreboard objective from all players. just a quick question, is it even feasible without writing some javascript because I don't see a way to loop over all the players within a list returned from %playerlist% to get the appropriate scoreboard value and feed that into the %math_MAX()%

sage ferry
#

Hey, would there be any way to view the placeholders that are inside of this expansion? They are not listed on the plugins spigot page or github and there is no expansion folder in PlaceholderAPI

deep hollow
#

Hey, i'm running a javascript for doing infinite rankup prices

#

anyone know how can I get the formula for infinite rankups?

#
Rank 3 - 2,141
Rank 4 - 6,364
Rank 5 - 14,987
Rank 6 - 30,441
Rank 7 - 55,751
Rank 8 - 94,553
Rank 9 - 151,118
Rank 10 - 230,363
Rank 11 - 337,867
Rank 12 - 479,887
Rank 13 - 663,367
Rank 14 - 895,951
Rank 15 - 1,185,994
Rank 16 - 1,542,572
Rank 17 - 1,975,490
Rank 18 - 2,495,297
Rank 19 - 3,113,287
Rank 20 - 3,841,513```
#

I mean a formula like formula: "({previous} + 500) * 1.005"but with the values I sent, I'll appreciate any help, thanks! ๐Ÿ™‚

wraith goblet
#

%server_online_survival%

#

not working

#

shall i add placeholderapi in bungee??

sharp jay
#

did you install the expansion?

sonic lake
sharp jay
#
/papi reload```
vapid lotus
#

can someone help i want to use a variable value in another plugin (discordsrv) but idk how. I did /papi ecloud download skript and then put in the value %skript_<joins>%. (The variable is {joins} ). What to put in?

#

it just says %skript_<joins>%

shadow grotto
#

Are there any papi expansions that tell you the version a player is connecting from

warm topaz
#

if u have viaversion, then yeah

shadow grotto
#

The problem is that I don't think the ViaVersion expansion is updated

#

and the API changed or something

#

so it can't detect 1.17 properly

trim mist
#

I didn't even know VV has an expansion tbh.

shadow grotto
#

I hope this clip person will update it if that's the issue ๐Ÿฅบ

trim mist
#

Very likely he won't. He's pretty busy IRL. I don't even see the source for it in our org.

shadow grotto
#

๐Ÿ˜ฎโ€๐Ÿ’จ

#

Any alternatives?

trim mist
#

I can reach out to the ViaVersion team and see if they have anyone interested in maintaining it.

#

If not, I can try and see how hard it would be to update it later this week.

shadow grotto
#

That would be great honestly a life saver

shadow grotto
trim mist
#

Oh so it's their API returning "Unknown (755)"

shadow grotto
#

Yeah the person was using an older API

trim mist
#

Which placeholder is producing that?

shadow grotto
#

%viaversion_player_protocol_version%

trim mist
#

Thanks. Yeah, I'm at work but I can look into this later today or maybe later this week!

shadow grotto
#

Okay thanks for the help ๐Ÿ™‚

trim mist
shadow grotto
#

I will test it out soon! Thanks.

shadow grotto
#

Produces 1.17 as the version number

trim mist
#

Beautiful. Thanks.

errant iron
#

man I love watching Glare get work done

#

it's so satisfying

lone minnow
#

Placeholder API Javascripts broken on the latest update?

errant iron
#

yeah starting with Java 15, it doesn't include a JavaScript engine

#

I think Blitz is working on fixing that, should be soon

dusk horizon
#

Hi!

#

One question

#

I'm trying to create a placeholder that checks the value of another placeholder and returns a new value

#

So I can have something like this
x = a
y = b
z = c
If %otherplugins_hero% is x, then %myplaceholder_hero% is a

turbid tide
vivid sparrow
#

ChangeOutput @turbid tide

turbid tide
#

that ^

warm topaz
#

๐Ÿ˜Œ

trim mist
flint nacelle
dusk horizon
tender vaporBOT
#
Hey!

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

dusk horizon
#

But they are multiple options

#

Like, more than 6 probably

warm topaz
#

ull be better off using the javascript expansion then

wraith goblet
tender vaporBOT
#
Hey!

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

wraith goblet
#

is there any bungee placeholder plugin

#

i download server and bungee extension but still it showing 0 when i put %server_online_survival% and im survival there are 45 players online :/ now what

fervent spire
#

=image

tender vaporBOT
#
Uploading Images

Please use imgur to share screenshots and other images.
โ€ข Imgur

crystal vine
#

okay

wraith goblet
#

Sir?? Mine?

crystal vine
crystal vine
wraith goblet
#

need plugin name

fervent spire
wraith goblet
#

%server_online_<world>%

crystal vine
wraith goblet
#

can't i set server??

crystal vine
#

nice spelling

#

:D

wraith goblet
#

i want that player can see online players number from lobby

crystal vine
#

%bungee_<servername>%

#

%bungee_total%

wraith goblet
#

servername?

#

%bungee_online_survival%

fervent spire
crystal vine
fervent spire
wraith goblet
#

yup there are no option of that

#

so what now ๐Ÿ˜ฆ

crystal vine
#

%localtime_time_<SimpleDateFormat>% what should i put in <simpleDateFormat>?

wraith goblet
#

%bungee_<servername>%

#

ohhh

#

works GG

fervent spire
wraith goblet
#

like this.. %bungee_status_server%

fervent spire
crystal vine
wraith goblet
fervent spire
wraith goblet
#

ik that :/

fervent spire
#

Isn't that what you were wanting

crystal vine
#

oaky it worked

#

i figured it out

#

Thanks Omega

wraith goblet
#

%pinger_isonline_***.***.***:25565% &e%bungee_slimefun% My server is online.. Why it is showing offline

#

nvm now it showing online

#

gg

#

i figure out my self xD btw thx for link

austere hawk
#

/papi ecloud download PlayTime not working

#

i have the recommended plugin

#

installed also

sonic lake
austere hawk
#

Can someone help me I'm having problems with PlaceholderAPI 2.10.9, I've done everything and I can't fix the error and this ([PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: cooldown)

trim mist
#

Are you on Java 16?

austere hawk
#

no

trim mist
#

Which version of Java?

austere hawk
#

from the server?

trim mist
#

Yes.

austere hawk
#

1.8.8

trim mist
#

That's not a Java version.

#

What version of Java is the machine running on?

austere hawk
#

I'm going to take a look at it

#

java 8

trim mist
#

Alrighty.

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.

austere hawk
#

?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

austere hawk
warm topaz
#

oofers

trim mist
#

Sorry buddy, I can't help you. We don't support piracy.

tender vaporBOT
#

๐Ÿ”จ A user has been banned for using plugin leaks, be like me and use legit copies of plugins.

naive echo
#

has anyone has issues with the ListPlayers expanstion?

turbid tide
#

don't use it. its very very outdated.

#

just use the PlayerList one

naive echo
#

ok thanks

turbid tide
#

command to download is just the usual /papi ecloud download PLayerLIst /papi reload

naive echo
#

Ok so i got that down but if there is no one in the world it wont show an item. Is there any way around this? (%playerlist_online,world,yes,amount,worldedit%) that the code rn

turbid tide
#

what item won't it show?

#

it should return 0 if there is on one in that world

naive echo
#

im using this in the "stack:" part

#

so its stack: '%playerlist_online,world,yes,amount,worldedit%'

turbid tide
#

what stack? where is that? what plugin are you using it in?

naive echo
#

oh sorry, command planes is the name

#

panels*

turbid tide
#

oh well. if there is no player online, it will always return 0. you can't really do anything about that.

naive echo
#

ok

turbid tide
#

well maybe use the math expansion

#

1 second

#

@arctic loom did the math expansion not have a if statement u could use before?

arctic loom
#

no

turbid tide
#

strange. I Saw quite a few people ask about this here before but never actually looked up if its a thing or no.

turbid tide
arctic loom
#

it's not

turbid tide
#

alr

naive echo
#

ok thanks

#

looks like ill add that to the list

arctic loom
#

The expansion does nothing more than handling math expressions

turbid tide
#

this is all the code you need

naive echo
#

oh much thanks

turbid tide
#

if the players will be 0 it will change it to 1

tender vaporBOT
#
Javascript
Useful Links & Information:

An expansion that allows you to use javascript for processing
โ€ข Wiki
โ€ข Community Scripts
โ€ข GitHub
โ€ข eCloud

turbid tide
#

here's the wiki and rest

#

to set it up ^&

naive echo
#

again, much thanks

tender vaporBOT
#
Hey!

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

cunning pier
#

I waited like 4 days

turbid tide
#

yeah I saw. and bcz I Didn't answer usually means I've got no idea why

#

also has nothing to do with PlaceholderAPI

cunning pier
#

But I put the apple there using PlaceholderAPI

quiet dune
turbid tide
#

k

turbid tide
#

usually u can see in the log, errors or something like that.

#

also see what /papi parse me %placeholder% returns

#

does it return the placeholder back? Or some text

#

?

quiet dune
#

For me - it returns what need
For user - no (/papi parse me %rep_rep% -> %rep_rep%)

turbid tide
#

alr. send their log here. I'll take a look at it later and see if I can spot anything

#

also the dump

#

/papi dump will generate a link. send that link

#

well gtg now. going to look at it in a few hours if no one else does.

dire ocean
#

placeholder

turbid tide
#

oh @quiet dune I recommend u stop helping that user. He is using leaked plugins. We are not going to help any more just because of that

crude peak
#

I've just added PAPI support to my plugin and I want to test it, but I'm a bit confused on how it is utilized.
If I do /papi info myplugin I can see my plugin listed as registered

turbid tide
#

you can parse placeholders using the /papi parse command

#

/papi parse <target/me> <text>

crude peak
#

I tried it but nothing is being sent to my onPlaceholderRequest function

turbid tide
#

did you register the placeholder class when your plugin enables?

turbid tide
#

mind sending the github link?

crude peak
#

one sec, gotta update it

turbid tide
#

๐Ÿ‘ just leave it here when u're done

crude peak
#

but have yet to see it do anything

turbid tide
#

and what command have you tried? the entire command please

crude peak
#

/papi parse me %findplayer.location%
and
/papi parse me %location%

turbid tide
#

the separator is _

#

so in your case /papi parse me %findplayer_location%

crude peak
#

ah, it worked!

turbid tide
#

๐Ÿ‘

crude peak
#

glad it was something simple. Thanks!

turbid tide
#

no problem

unique leaf
#

Is there a way to make your own papi extension?

warm topaz
#

yeah if u go to the wiki on the github page itll show u everything u need to know

tender vaporBOT
#
Placeholderapi
Useful Links & Information:

A resource that allows information from your favorite plugins be shown practically anywhere!
โ€ข Spigot
โ€ข Wiki
โ€ข Placeholder-List
โ€ข GitHub
โ€ข eCloud

unique leaf
#

Is there a pre existing placeholder that counts # of players in the banned players.json?

trim mist
#

Not that I'm aware of.

unique leaf
#

ohh i did not see that

latent cargo
#

Can you install papi in a proxy server? for things like TAB.

junior musk
#

nope, it's a Spigot only plugin

turbid tide
junior musk
#

yeah he came on TAB's discord to ask that too

turbid tide
junior musk
#

?

latent cargo
turbid tide
junior musk
#

oh yeah I saw

#

gg

#

didn't think about it ๐Ÿ˜… sry

turbid tide
#

I am both a developer and TRusted now

junior musk
#

nice

turbid tide
#

just 2 more weeks and I Will get my final form

junior musk
#

admin ? ๐Ÿ‘€

turbid tide
#

ah nah. that's not a possibility

#

maybe in a few years idk.

junior musk
#

well u suck then

turbid tide
#

but I Don't aspire for such great things yet

junior musk
#

x)

errant iron
#

yo is there a new JS expansion for 1.17 yet

#

@turbid tide

turbid tide
#

no

#

probably

errant iron
#

i thought you were working on it

turbid tide
#

nope. yugi is

#

and glare I Think

errant iron
#

ohhh what

turbid tide
#

they rewrote it since thien is gone for like 3 months

errant iron
#

what was the whole thing about you sending me that JS thing and having me test it

turbid tide
#

so he wasn't able to push to github so we can take over

errant iron
#

was that for nought

turbid tide
#

yeah pretty much I guess. The features can still be added by thien later but he'll have to work with then new expansion

#

also a full rewrite is being worked on I think for when PAPI 3 comes out

errant iron
#

man I wish I was doing cool stuff and not rewriting my stupid tab completion for my shitty essentials plugin ๐Ÿ˜ฆ

turbid tide
#

get glare to do it for you xD

errant iron
#

well no I want to be doing cool stuff is the point lmao

turbid tide
#

well I tihnk I'll be going to sleep now. good night

errant iron
#

oh okay

#

sleep tight or whatever

cold temple
#

Hey there I know this is super specific but, I want to have a placeholder that I can set a number and it will return a value that goes down and down every second by 1 until it reaches 0, any ideas?

calm dawn
#

sounds like a job for the countdown expansion to me ๐Ÿ‘€

balmy vale
#

is there a placeholder for uptime in a bungee server?
example

Vanilla:
Online from: %placeholder%

Bedwars:
Online from: %placeholder%

still crow
cold temple
reef sparrow
balmy marten
#

Are you running 1.17?

reef sparrow
#

no, java 16, paper 1.16.5

balmy marten
#

iirc you'll need to be on java 8 for 1.16.5

#

since thats the js engine the expansions and plugins use

reef sparrow
#

yeah im not doing that, the whole point i updated to java 16 was to prepare for 1.17 not go backwards

#

i'll wait for paper to hit 1.17 then, thank you

misty cliff
#

Placeholder %player_ping% can not use in 1.17 spigot.

turbid tide
cunning pier
tender vaporBOT
#
Hey!

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

ocean edge
#

hello, can i create my own placeholder without creating my own plugin? i want to save a value in my own placeholder, so i can use that value easily in many place

tender vaporBOT
#
Javascript
Useful Links & Information:

An expansion that allows you to use javascript for processing
โ€ข Wiki
โ€ข Community Scripts
โ€ข GitHub
โ€ข eCloud

mint fable
#

with javascript that's real easy

#

the script is exactly what you want

5
``` should theoretically work
ocean edge
#

mmmm without using js expansion

mint fable
#

well sure

ocean edge
#

because java 16 wont support nashorn engine i think

mint fable
#

gotta make an expansion with java still

#

ya... atm that won't work

#

but it will eventually

turbid tide
#

they're working on it yeah

mint fable
#

that's how you can make an expansion for it though

modern hollow
#

Hello, how can I make a top of kills

turbid tide
#

use a plugin like LeaderHeads or ajLeaderboards

#

to make the leaderboards

#

and use the %statistic_player_kills% placeholders to make them

modern hollow
#

But I want to do a top kill on the scoreboard

turbid tide
#

well the plugins will give you placeholders

#

for top kills after you set them up and you put those placeholders in your scoreboard

wise hornet
#

Hey

#

how can I achieve this?

turbid tide
#

%server_time_<SimpleDateFormat>%

wise hornet
#

Thank you, is there a month placeholder?

#

Not numeric

turbid tide
#

Just use the format u want

#

Pretty sure it has name instead of nimber

#

Number*

dim cypress
#

does placeholderAPI supports rgb? I don't know what kind of &'s it requires which is too confusing (there's like 3 possibilities), don't know if its because of DeluxeChat which doesn't support %luckperms_meta_name-color% or I typed it wrong. Tried &x#XXXXXX and &x&X&X&X&X&X&X

lyric condor
#

hi guys ?

#

is anyone free atm ?

#

i need some help with placeholderapi

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

Source

lyric condor
tender vaporBOT
#
Uploading Images

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.

carmine bay
#

Hello, I am currently creating a PlaceholderExpansion which is included in my plugin, and I've done all the steps that are indicated on the wiki, registered my expansion (and i checked it is loaded in game), but when i'm using placeholders (in my scoreboard) then it doesn't works : i just get the placeholder text but not the value it is supposed to return.

Here is my code :
https://pastebin.com/2DzQrN9t
https://pastebin.com/h6kLGaL7 (interesting lines are 1, 2, and 29).

I'm 100% sure my scoreboard code is working because it was working 5 minutes ago before I change to placeholders)

errant iron
#

Try printing out renommeeString after line 2

carmine bay
#

ok i'm trying that

#

it is printing my placeholder

#

like "%player_renommee%

errant iron
#

Then it's not setting your placeholder correctly

#

wait

#

that's not the right placeholder

#

your placeholder would be %nouveaumonde_player_renomee%

carmine bay
#

oh

#

i see

errant iron
#

your identifier is how it knows where to find the placeholder

#

since what you tried to do is check in the player expansion for renommee lmao

carmine bay
#

ok i'm so dumb lmao

#

sorry for asking then I should have figured it out myself lol

errant iron
#

np lol

carmine bay
#

i have another question : is it possible to add parameters to my onPlaceholderRequest or will that break stuff?

errant iron
#

Well you don't call onPlaceholderRequest, PAPI does

carmine bay
#

ok nevermind then

#

thanks

wise lagoon
#

excuse me , i have registered my placeholder but it's not work although my plugin is present in /papi list

errant iron
#

code?

#

?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

wise lagoon
errant iron
#

full class?

wise lagoon
errant iron
#

so you don't include the name of your papi expansion or the %%s in your case statements

#

so you'd just want show_name

#

and show_level

wise lagoon
#

ye i've tried with show_name and show_level and test on AnimatedScoreboard but not work

errant iron
#

you should have java /** * Because this is an internal class, * you must override this method to let PlaceholderAPI know to not unregister your expansion class when * PlaceholderAPI is reloaded * * @return true to persist through reloads */ @Override public boolean persist(){ return true; }

#

but change it to show_name and show_level, then go into the game and type /papi parse me %EmpireX_show_name%

wise lagoon
#

alright i will try , ty for help

turbid tide
turbid tide
lyric condor
tender vaporBOT
#
Hey!

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

turbid tide
lyric condor
#

well then is there any tutorial on how to make a gui ? like the one i made in that thread?

turbid tide
#

idk. I've never used that plugin. I Personally use and recommend DeluxeMenus over any others

jade token
#

Hi, I don't understand how Vault placeholders work, can someone help me please?

turbid tide
#

well just say what about them don't you understand?

jade token
#

That is to say that I try to make a menu with DeluxeMenus to make a money ranking, but it does not work correctly, for example I use this to display the TOP 1 %vault_eco_top_balance_formatted_#1% but it doesn't display the first player's money: /

turbid tide
#

the top placeholders have been disabeld

#

disabled*

#

you need to install an older version of the expansion and also enable them in plugins/PlaceholderAPI/config.yml

#

so do /papi ecloud download Vault 1.5.2 then /papi reload then go to conifg and enable top placeholders

#

then do /papi reload again

#

they should work after

jade token
#
vault:
    baltop:
      check_delay: 30
      cache_size: 100
      enabled: false
turbid tide
#

yeah set it to true

jade token
#

I met true?

#

okay

#

I test and I tell you again if it's ok

#

Now it's the money that doesn't want to show up, I use that as a placeholder: %vault_eco_top_balance_formatted_#1%

#

The players look good, but not their money :/

junior musk
#

remove the #

#

before the 1

jade token
#

oh thanks

#

It's okay

rotund pendant
#

Might there be any hacks for running JavaScript placeholders on Java 16? - I'm aware of what's said in #852317810394267708 and I'm just looking for something that can serve a proof of concept until the release of the proper stuff.

errant iron
#

You might be able to contact Yugi, he's working on the JS expansion for new versions afaik

turbid tide
#

well there's a couple proof of concepts xD

#

Maxim made PR if you want ot use that one

#

also thien has a build and its a bit buggy but it works

#

for most stuff

rotund pendant
turbid tide
#

its not PRed tho but u can compile his fork

#

if u really want it

rotund pendant
#

Ah, okay.

rotund pendant
turbid tide
#

ugh not rn no. later maybe. or maybe @errant iron ?

#

btw its just mvn package I think

rotund pendant
#

I've never even used Maven, so yeah... clueless.

errant iron
#

Still in bed ๐Ÿฅฒ

junior musk
#

I can send you a jar of my fork which makes the expansion work with the JSEngine plugin if you want

carmine bay
#

Hello, how can I use offlineplayers in my placeholder expansion? Because the onPlaceholderRequest method only uses Player and not OfflinePlayer

turbid tide
#

use the onRequest one

carmine bay
#

oh okk

#

thanks

#

but then how do I tell the plugin to use that onRequest instead of onPlaceholderRequest ?

turbid tide
#

u don't it automatically knows. you use one of the 2

carmine bay
#

well actually i'm trying to use both at different places and it doesn't works, it broke all the placeholders that were in my onPlaceholderRequest method

turbid tide
#

why use both tho?

#

don't think u can use both and I really don't see the reason to do so

carmine bay
#

because sometimes I need to use specific placeholders on players that are online

turbid tide
#

well you can get the online player from the offline player and if its null you just return null

#

so basically the placeholder will only work when parsed on an online player

carmine bay
#

oh i see

#

thanks for your help

turbid tide
#

no problem

ocean edge
#

/papi parse player %luckperms_meta_metakey% is not working with offline player

#

anyone can help about this?

#

oh nvm, i think this problem is from luckperms

junior musk
#

yeah the LuckPerms expansion doesn't support offline players

elfin dust
#

hello !

#

i need assist in make an addon for my tokens system plugin

#

an addon for placeholdersapi .

#

so i can use %tokens% in holographicDisplay or smth .

abstract hare
#

hello, looking for some support on using PAPI. I am trying to make a podium that displays peoples balances (using essentials and vault economy). However I haven't found many tutorials on actually displaying the stats via PAPI

sharp jay
#

what eco plugin you using @abstract hare

abstract hare
#

Luckperms, Vault, Essentials

#

Happy birthday! lol

sharp jay
#

ty

#

@abstract hare try finding a leaderboard plugin

abstract hare
#

I found AJleaderboards, are u familiar?

abstract hare
#

Yeah I keep getting a "does not return numerical value error"

#

I want to make a sign or signs that dispaly top three balances through vault

#

Ideally I want NPC's with the player skins standing on a podium that refreshes every say 30 ish minutes idk. Saw the citizens plugin would work but MCProhosting shows it as "(Abandoned)". However also still ahving issue trying to load the vault top balances to work / how to

sharp jay
#

Hmm

#

I'd join there support servers

abstract hare
#

kk will do, thanks!

calm copper
#

Once 1.17 comes out, what will become of the Javascript Expansion since Nashorn has been removed>

trim mist
#

We have implemented a different engine that has better EMAC standards (I have no idea what that means but people asked for a better support of that).

#

The soonest we'll probably be able to get development jars out will be Tuesday. Shooting for a full eCloud rollout by EONW.

austere hawk
#

hi, im using placeholderapi in conjunction with tab from neznamy (paid version) and everytime i reload the plugins it gives some error

#

and when i use colored ping it spams the coonsole with errors

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.

austere hawk
#

?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

austere hawk
granite rain
#

how can I create own placeholder?

#

I made a plugin

warm topaz
calm dawn
#

no alternative to nashorn? what am i meant to do for now?

trim mist
grave stream
#

What placeholder can you use to grant items to the user who clicks?

What would be the correct placeholder?
- '[console] ps give COAL_ORE %player_name%'

trim mist
#

That looks fine.

grave stream
#

It doesn't work for me

#
    - '[takemoney] 7000'
    - '[message] &6.................'```

Money and message works
#

[22:01:24] [Server thread/INFO]: Player not found. (%player_name%)

tender vaporBOT
#
FAQ Answer:

Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload

grave stream
#

oohhh lmao, i remember...

#

thx

hearty tapir
#

The Placeholder for the Server TPS just shows 0.0 TPS.

#

How to fix this?

errant iron
#

Are you on 1.17?

hearty tapir
#

Yes

errant iron
tall hemlock
turbid tide
unique leaf
#

Is there a way to put placeholders on to a html website?

honest mantle
#

JavaScript expansion is not loading the scripts, even with the latest build in #852317810394267708... On 1.16.5

trim mist
#

Correct.

#

Please re-read the section called "Javascript Expansion Status for Java 16".

vivid sparrow
vivid sparrow
trim mist
#

My guess is because he thinks JS Expansion and PlaceholderAPI are related.

#

If that's the case, I'll just remove the downvote and assume everything is fine.

bronze lotus
#

heya, i'm using the forge version of papi and ecloud does not seem to work? is that something i did wrong on my end

trim mist
#

We don't have a forge version?

errant iron
#

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

errant iron
#

send that ^

#

?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

errant iron
#

put it in there

#

and copy paste the link here

tender vaporBOT
#
Hey!

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

trim mist
#

Joe, as I stated earlier, JS and PAPI aren't related here.

errant iron
#

yes?

#

you copy paste the link here?

#

Sorry, I don't friend

#

Send it here or you won't get help

#

what's the password lmao

#

yea I'm looking

#

Do you have any MVdW plugins?

#

Ah so that's just NameTagEdit thinking that you don't have any MVdW plugins installed

#

but it kinda looks like you do lol

#

so you can just ignore that

#

also I don't think you setup your SQL for GadgetsMenu correctly lol

#

uh the database for it

#

lmao

#

scared someone's gonna steal your placeholders lmao

#

the SQL configuration

#

in GadgetsMenu

#

huh well, looks like it isn't right

#

I dunno man

keen mica
#

Is javascript working with the latest build?

errant iron
#

Not a publicly accessible one

#

We're still waiting on the JS provider framework thingy to release a stable version

trim mist
#

We've been told by the developer that he is releasing a stable build tomorrow. So, we'll just have to see if that really happens.

torn portal
#

Does PAPI have a player kill streak count placeholder?

bronze lotus
warm topaz
#

no that must be a version maintained for sponge

#

altho unofficial, we have nothing to do with sponge

bronze lotus
#

ahh okay so they must not have implemented ecloud

#

ahh crap. im trying to setup commandutils for an item hunt but can't figure out my item ids

limber ice
#

@bronze lotus that version was not made by clip, it's made by rojo8399

honest mantle
unreal idol
#

Hi. Is there any reason why my %player_ping% placeholder doesnt seem to be working?

#

i have it in my animated scoreboard

#

"but it's just displaying %player_ping%"

quick sphinx
quick sphinx
#

/papi reload

#

oh ok

#

oooh

unreal idol
#

like other placeholders off of the player set are working

quick sphinx
unreal idol
#

like player x y z, and direction

#

ohhhhh

#

totally missed that

#

thank you!

#

do i just plop that into the plugin folder?

quick sphinx
#

there should be an expansion folder inside the PlaceholderAPI folder

unreal idol
#

okay, after that, will a /papi reload do the trick?

quick sphinx
#

it should, yes

unreal idol
#

should i remove the old expansion-player.jar?

quick sphinx
#

yes

unreal idol
#

or just have both in there

#

okok

#

worked like a charm

#

thanks!

quick sphinx
#

not a problem

near urchin
errant iron
#

The JS expansion isn't updated for 1.17 yet

near urchin
errant iron
#

yeah PAPI is updated, we're still waiting on the JS part

#

Might be today actually

hushed saffron
#

hi, anyone know why the craftconomy expansion in the ecloud won't hook into the plugin? it downloads to the expansion folder fine but when /papi reload is ran it says no expansions were registered.

trim mist
#

Wowza. That expansion was last updated by it's author in 2016. I would be very impressed if it still worked.

hushed saffron
#

hmm, that might explain it then, since the last craftconomy plugin update was after that

#

it was in 2017, so still long ago, but the plugin itself still works in 1.16.4

trim mist
#

I have no idea who this is (iso2013) but that's who last updated that expansion.

#

Your mission, should you choose to accept it, is to find out who that is, their relationship with Craftconomy, or reach out to whoever maintains Craftconomy and see if they want to update it.

hushed saffron
#

craftconomy is no longer maintained, sooooo. mission failed i suppose. XD

carmine veldt
#

could try update it yourself

hushed saffron
#

i could, though i have no experience with the making of plugins myself so it might end up fruitless. Thanks for the help, though.

carmine veldt
#

as a beginner I'm going to be honest, you probably won't have much luck updating a full on plugin (assuming craftconomy is "full on")

#

but an expansion, they're very simple pieces of software

#

an easy way to get started with java

hushed saffron
#

any idea where i would look to for guidance on that?

carmine veldt
#

On learning java or updating the expansion?

#

for the former, we have this faq

tender vaporBOT
#
FAQ Answer:

Online Courses:
Online courses are also great for learning java. Some websites that offer them are:

  • Coursera - Free unless you want a certificate
  • PluralSight - Great courses from what I've seen. Mostly Paid
  • Udemy - Never used them myself but they seem to all or at least most be paid.
    My first ever course was one from Coursera. - I can say it was pretty good at introducing me to the programming world as a whole not just java.

Oracle Docs:
Oracle docs can help a lot at learning and understanding java:

  • Start with this,
  • Breeze through this (skipping stuff that doesn't seem relevant like bitwise operators),
  • Hit this.
    They're the first three from this larger thing which you should definitely go through overall. But those three should be enough for slightly better understanding of what is happening here without feeling like a huge time sink.
    That one is a small part of this larger site wherein "Essential Java Classes" and "Collections" also have good useful stuff

Other services:
Some other cool services that will help you learn java are:

As you can see there are plenty of good ways to learn as long as you're willing to invest the time. Have fun learning!

carmine veldt
#

but I can't vouch for that as I personally didn't use any of those

#

I learnt via trial and error, and deconstruction of other people's code

#

for updating the expansion, papi has a wiki

#

you can find it on github

hushed saffron
#

think i found it, yeah. thanks

unique leaf
#

Is there a placeholder that returns the amount banned using litebans?

wet basinBOT
#

@trim mist Unknown expansion.

trim mist
#

Doesn't look like it.

#

Reach out to the developer of Litebans and see if they want to make an expansion.

junior musk
#

||iirc the dev doesn't want to, and even made a wiki page saying why||

trim mist
#

Whelp, then you're probably SOL unless you hire someone to make it.

unique leaf
trim mist
#

I can't really give an answer but if they charge you more than $10 for just that, then they are overcharging you.

unique leaf
#

mk

cunning pier
#

I would like to report @marsh stone for DM advertising

#

It's probably a bot as well

#

It wouldn't let me dm @tender vapor for some reason so I reported it here

trim mist
#

I just banned about 30 accounts. Let me know if it continues.

cunning pier
#

Alright

small drift
#

I installed PlaceHolder API and when i typed in chat it said [Global] {vault_prefix} {player_displayname}: hi
can anyone help?

turbid tide
unique leaf
#

Is there a way to parse a placeholder from console and get a response back?

errant iron
#

papi parse <name> %placeholder%

unique leaf
#

papi parse console doesnโ€™t work tho

turbid tide
errant iron
#

Ya put in your player name

unique leaf
#

Ok, Thanks it worked

turbid tide
#

they're server side so u can test a lot of things with them

torn portal
#

whats the message sender placeholder on messageannouncer?

warm topaz
#

?player

tender vaporBOT
#
FAQ Answer:

Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload

ivory narwhal
#

Hello,
I would like to have my expansion verified. Who should I contact for this?

warm topaz
#

which expansion is this?

#

if an admin sees it, theyll have a look at it

ivory narwhal
#

staffplusplus

cunning pier
#

When I do /papi parse me %pinger_players_ip:port%, it shows the player count, but it's not showing it on a hologram

errant iron
#

do you have HolographicExtension

cunning pier
#

Yes

errant iron
#

/papi dump

low lantern
errant iron
#

you don't have ProtocolLib?

cunning pier
#

Whoops

errant iron
#

?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

errant iron
#

no I mean for TAB

#

the one causing problems

#

seems like you misplaced a [

low lantern
#

sec

errant iron
#

is the time format supposed to be like that'

low lantern
#

im not sure

errant iron
#

I don't think so

low lantern
#

how should it be?

errant iron
#

time-format: '[HH:mm]'

#

that's how it is in the example

low lantern
#

kk ty

errant iron
#

oh you also didn't quote out < >

low lantern
#

also a lot of placeholderapi arent working in chat

errant iron
#

and I think you're supposed to put a space after everything in remove-strings:

#

what chat plugin are you using

low lantern
#

deluxechat

errant iron
#

do you have the expansions

low lantern
#

yes

#

itโ€™s off a setup i bought so iโ€™m not sure actually

errant iron
#

/papi dump

austere hawk
#

So I was told to come here after receiving javascripts to fix time on autorank.
So the autorank outputs in minutes and I was given 3 javascripts for papi to calculate it into day/hours/minutes
I have no clue how to use it. I dont know if I can send files here but if requested I can dm.

wraith goblet
#

!time

#

?site

tender vaporBOT
#
FAQ Answer:
wraith goblet
#

placeholders

#

?placeholders

tender vaporBOT
#
FAQ Answer:

If placeholders are not showing correctly,

  • Ensure you have downloaded and install PlaceholderAPI.
  • Ensure you have the correct expansion installed. (/papi ecloud list all -> /papi ecloud download [Expansion])
  • Use /papi reload
  • Test the placeholder in /papi parse %placeholder%
  • Check https://helpch.at/placeholders for valid placeholders.
flint nacelle
#

Nice will try out new updated Js when it get released :) see if bugs in old Js is fixed in new js .

crystal canopy
#

I'm unable to use RedisBungee placeholders, anyone could help?

[PlaceholderAPI] Failed to load placeholder expansion from class: com.helpchat.redisbungeeexpansion.RedisBungeeExpansion

low lantern
#

any1 know how to fix this?

junior musk
#

are you using a Math placeholder ?

#

if yes, do you use [precision:some number] in it ?

#

if yes, then try to replace it by %math_some number:0_<your expression>%

crystal violet
#

I updated placeholderAPI and got the player expansion but I'm still getting this error whenever I message something into the chat. https://paste.helpch.at/wivopoguxa.cs
Can anyone give me a hand, I've just managed to get myself confused lol, thanks in advance ๐Ÿ™‚

trim mist
crystal violet
#

I did so for placeholderAPI and got the player expansion, do I need the others as well? I thought it was just a player issue.

junior musk
#

you only need the player expansion for this issue but the other jars would be better to use in case of another issue, wouldn't hurt to update anyways ยฏ_(ใƒ„)_/ยฏ

topaz widget
#

Hello there, about the PAPI expansion statistic, i found that there is more than 24h shown in the parsed amount (eg. 17d 38h), also some of our playtime reset...

crystal violet
#

Sure Iโ€™ll try the other one but I have got the player one ๐Ÿ˜…

crystal violet
trim mist
#

Are you sure that you actually deleted the old jars and put in the new one? That's coming from the Player expansion.

errant iron
#

Yeah seems like a reflection error from pre-1.17

crystal violet
junior musk
#

TAB's config

turbid tide
#

send over your full startup log please

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.

crystal canopy
#

?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

crystal canopy
#

[14:58:09] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: spark
[14:58:09] [Server thread/INFO]: [spark] Registered PlaceholderAPI placeholders
[14:58:09] [Server thread/INFO]: [BuycraftX] Enabling BuycraftX v12.0.6
[14:58:10] [Server thread/INFO]: [BuycraftX] Validating your server key...
[14:58:10] [Server thread/WARN]: [BuycraftX] Your server and webstore online mode settings are mismatched. Unless you are using a proxy and server combination (such as BungeeCord/Spigot or LilyPad/Connect) that corrects UUIDs, then you may experience issues with packages not applying.
[14:58:10] [Server thread/WARN]: [BuycraftX] If you have verified that your set up is correct, you can suppress this message by setting is-bungeecord=true in your BuycraftX config.properties.

PlaceHolderAPI startup ^

turbid tide
#

the whole log please.

#

there might be things you've missed

crystal canopy
#

I've looked through the logs, nothing concerning papi.

Apart from
[14:58:09] [Server thread/INFO]: [PlaceholderAPI] Enabling PlaceholderAPI v2.10.9 [14:58:09] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...

Which is just the plugin loading.

[18:59:19] [Server thread/INFO]: XeNitrogen issued server command: /papi reload [18:59:19] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing... [18:59:19] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information... [18:59:19] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: bungee [18:59:19] [Server thread/ERROR]: [PlaceholderAPI] Failed to load placeholder expansion from class: com.helpchat.redisbungeeexpansion.RedisBungeeExpansion java.lang.reflect.InvocationTargetException: null at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?] at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.createExpansionInstance(LocalExpansionManager.java:336) ~[?:?] at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:138) ~[?:?] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ~[?:?] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) ~[?:?] 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.ReduceOps$5.evaluateSequential(ReduceOps.java:257) ~[?:?] at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:248) ~[?:?] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?] at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:605) ~[?:?] at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$2(LocalExpansionManager.java:288) ~[?:?] at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46) ~[?:?] at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64) ~[patched_1.12.2.jar:git-Paper-1618] at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:423) ~[patched_1.12.2.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:840) ~[patched_1.12.2.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[patched_1.12.2.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[patched_1.12.2.jar:git-Paper-1618] at java.lang.Thread.run(Thread.java:834) [?:?] Caused by: java.lang.IllegalArgumentException: This registration already exists at org.bukkit.plugin.messaging.StandardMessenger.addToIncoming(StandardMessenger.java:92) ~[patched_1.12.2.jar:git-Paper-1618] at org.bukkit.plugin.messaging.StandardMessenger.registerIncomingPluginChannel(StandardMessenger.java:218) ~[patched_1.12.2.jar:git-Paper-1618] at com.helpchat.redisbungeeexpansion.RedisBungeeExpansion.<init>(RedisBungeeExpansion.java:43) ~[?:?] ... 24 more

#

[18:59:19] [Server thread/ERROR]: [PlaceholderAPI] Failed to load placeholder expansion from class: com.helpchat.redisbungeeexpansion.RedisBungeeExpansion java.lang.reflect.InvocationTargetException: null at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?] at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.createExpansionInstance(LocalExpansionManager.java:336) ~[?:?] at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:138) ~[?:?] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ~[?:?] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) ~[?:?] 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.ReduceOps$5.evaluateSequential(ReduceOps.java:257) ~[?:?] at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:248) ~[?:?] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?] at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:605) ~[?:?] at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$2(LocalExpansionManager.java:288) ~[?:?] at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46) ~[?:?]

#

at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64) ~[patched_1.12.2.jar:git-Paper-1618] at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:423) ~[patched_1.12.2.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:840) ~[patched_1.12.2.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[patched_1.12.2.jar:git-Paper-1618] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[patched_1.12.2.jar:git-Paper-1618] at java.lang.Thread.run(Thread.java:834) [?:?] Caused by: java.lang.IllegalArgumentException: This registration already exists at org.bukkit.plugin.messaging.StandardMessenger.addToIncoming(StandardMessenger.java:92) ~[patched_1.12.2.jar:git-Paper-1618] at org.bukkit.plugin.messaging.StandardMessenger.registerIncomingPluginChannel(StandardMessenger.java:218) ~[patched_1.12.2.jar:git-Paper-1618] at com.helpchat.redisbungeeexpansion.RedisBungeeExpansion.<init>(RedisBungeeExpansion.java:43) ~[?:?] ... 24 more

Then when I try and dl the placeholder using /papi ecloud download RedisBungee I get this ^

#

As shown in the screenshot it doesn't work ^^

#

I've tried downloading the thing directly from PAPI ecloud site and put it in the expansions folder still doesn't work after a server reboot.

turbid tide
austere hawk
#

Hello, I have downloaded the Placeholder statistic. I need to do a cleanup. How do I clear the given placeholder?

trim mist
#

You have to delete the player data on the server for that player.

austere hawk
#

And where?

#

I have the Essentials plugin, I removed all userdates and nothing has changed

turbid tide
#

nope its saved in the actual world file

#

is the minecraft statistics

#

I think its in a folder called stats

austere hawk
#

Is it in the root folder of minecraft?

austere hawk
graceful quest
dusk forge
#

Hello, I had an error, I install BuyAPI (expansion for BuyCraftX plugin), after that I got a lot of errors, even when I remove this plugin and restart server - all my placeholders stop working, someone know how to fix this?

turbid tide
turbid tide
#

I can't really tell what's happening there

graceful quest
#

yes

#

i installed the ecloud

turbid tide
#

well you used %{luckperms_prefix}

#

not %luckperms_prefix%

graceful quest
#

yes i used it because titlemanager has this format

turbid tide
#

no !? you should just use it as %luckperms_prefix% I'm pretty sure

junior musk
#

red text

graceful quest
#

omg thx

smoky spoke
#

when placeholders are being parsed, they get parsed insanely fast right?

trim mist
#

Typically, unless the plugin that implemented them did it wrong.

smoky spoke
#

oh ok thank you

topaz widget
#

Hello there, about the PAPI expansion statistic, i found that there is more than 24h shown in the parsed amount (eg. 17d 38h), also some of our playtime reset...

turbid tide
#

2 things you might wanna try: The development builds of PAPI or The development builds of the Statistic expansion.

tender vaporBOT
turbid tide
#

here's the papi builds ^

#

and nvm

#

that's all you can try. statistic expansion doesn't have builds xD

jolly shore
#

when will the be a 1.17

turbid tide
jolly shore
#

papi

turbid tide
trim mist
#

@austere hawk What kind of problems are you having with the Player expansion?

austere hawk
#

The player_ping command is too high even using a local server

#

which should be 0

arctic zealot
#

hi statistic expansion isn't work in 1.16

#

why?

vivid sparrow
#

For real

late jungle
#

wait, what? [07:50:13] [Server thread/WARN]: [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder:

#

after updating to java 16

turbid tide
#

yeah the javascript engine that the expansion used to use, was removed since java 15

late jungle
#

i put engine: graalEngine the new javascript engine and don't work

carmine veldt
#

are you using the graal jvm?

late jungle
late jungle
turbid tide
#

yeah for java 15 and 16 no javascript expansion

carmine veldt
#

then you can't use the graal engine

late jungle
#

but I thought it might work.

turbid tide
#

there was a way to do it with the GraalVM yeah but I Don't remember how to do it

late jungle
turbid tide
#

I Don't remember the name you have to use*

late jungle
#
  • the disadvantages of not knowing how to programme. *
turbid tide
#

well you either wait, move back to java 14 or lower, or try and see if you can get GraalVM to work somehow

late jungle
#

nop. i need java 16

#

really? no javascript expansion for now? i don't have any alternative?

meager vault
#

He did a custom version for me (for java 16)

carmine veldt
#

@trim mist is javascript expansion safe to upload publicly?

turbid tide
#

well as I said. you can try and get GraalVM. Or there are a few ones made by community members yeah. I Forgot about that

junior musk
meager vault
#

if someone get a fix would be nice :/

junior musk
#

is that with my JS expansion or the official one?

junior musk
#

send your "tab" script

late jungle
trim mist
trim mist
#

There's a GC leak that's causing problems.

meager vault
# junior musk send your "tab" script
  if (BukkitPlayer.hasPermission("grade.vip")) return "A";

  if (BukkitPlayer.hasPermission("grade.vip+")) return "B";

  if (BukkitPlayer.hasPermission("grade.mvp")) return "C";

  return "D";
}
hasPermission();```
carmine veldt
#

okie

#

well guys

#

js expansion is very close

junior musk
carmine veldt
#

it's gonna have full es6 support

late jungle
#

I might not be affected by that, the scripts are simple. I promise not to ask for support if they don't work.

carmine veldt
#

and in theory it should be faster

late jungle
#

thanks

junior musk
#

got an idea tho

#
if ("%player_has_permission_grade.vip%" == "yes")
#

and just replace grade.vip by your other permissions

#

see if that works

meager vault
junior musk
#

send your script again

late jungle
#

Does anyone here have the ChatInjector plugin that works with PAPI v2.10.9?

#

is one of the reasons why I stay with 2.10.5

meager vault
# junior musk send your script again
  if ("%player_has_permission_grade.vip%" == "yes") return "A";

  if ("%player_has_permission_grade.vip+%" == "yes") return "B";

  if ("%player_has_permission_grade.mvp%" == "yes") return "C";

  return "D";
}
hasPermission();```
junior musk
#

๐Ÿค”

meager vault
#

๐Ÿ˜ฆ

late jungle
#

wttff

junior musk
#

I have no idea what's wrong

meager vault
#

If someone gets an idea :c

junior musk
#

ah

#

yeah so I should probably add a check for graal in the code and do that

turbid tide
#

nope. both the old version and the new one are broken on papi 2.10.7 +

#

idk why or how to fix it either I'm afraid

#

you should really just switch to a chat plugin that supports PlaceholderAPI

#

there's a few free ones that work fine

late jungle
#

chat plugin?

#

i need chatinjector to inject other plugins

#

with chat injector i can inject placeholder anywhere

turbid tide
#

ah Ic

late jungle
#

I don't understand why they took out that feature.

turbid tide
#

well they didn't really took it out

#

its just that all placeholders

#

will get lowercased

#

for some reason

#

so for example if your name is Test and you use {player_name}, in chat it will be test

late jungle
#

yes...

#

i know

#

with 2.10.5 that bug don't happend

late jungle
turbid tide
#

it does

late jungle
#

so i can update to 2.10.7 ?? xD

turbid tide
#

with 2.10.6 it doesn't I think

late jungle
#

okei, thanks.

gilded lantern
#

Well may u registriert it the current Version most ppl use is 2.10.10...

hasty solar
#

https://paste.helpch.at/ozerajarin.md
Spigot 1.17, Expansions:
[16:35:29] [Server thread/INFO]: A total of 13 placeholder hook(s) are active:
[16:35:29] [Server thread/INFO]: discordsrv, essentials, luckperms, multiverse, player, playerlist, server, spark, supervanish, tab
[16:35:29] [Server thread/INFO]: vault, venturechat, worldborder
discordsrv and vault show up in white color while rest show in green color
papi 2.10.9

turbid tide
turbid tide
#

go to plugins/PlaceholderAPI/expansions

#

and delete the server one from there

hasty solar
#

okay thanks!

lofty valve
#

Is there any alternatives of nashorn?

errant iron
#

the new JS expansion is currently being heavily worked on, right now there's a GC leak so it's not ready for real use

trim mist
#

The new expansion will also add in ES6 support (I've been informed that Nashorn only had ES5 support).

errant iron
#

pov: glare says I'm wrong immediately after

#

oh sick

trim mist
#

We are working hard to get this done, we've just had some walls come up along the way ๐Ÿ™‚

#

I'm hoping we have an initial build ready to go within the next week.

#

For now, someone made their own update if you scroll up that still uses Nashorn, but it requires a plugin called JSEngine. That can hold you over until we can get ours rolled out if you need.

spark sedge
#

would someone be able to help me super fast

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

Source

spark sedge
#

lol alright

#

so i am trying to get the statistic for someone's bell taps and i don't know what it would be

wet basinBOT
#

@trim mist Unknown expansion.

trim mist
#

If it's a spigot provided one, I would check the spigot API to see what it's called.

spark sedge
#

alright

late glen
#

Does PAPI work on 1.17 yet?

junior musk
alpine nova
#

Hello i have an problem with Placeholders cause i tried to use placeholder from Skript (i downloaded expansion) and how to write this correctly? ( Placeholder is {c::%player%} ) Help pls

sudden lava
#

hello

#

Would you please make an api on this plugin please?
Open rp

turbid tide
#

btw if you want us to add placeholderapi placeholders, that's up to the developer of the plugin to do so

heady heath
#

how do you see placeholders of an expansion?(non ecloud)

vast mauve
#

do /papi list

#

I am getting an error with my placeholderapi plugin. I will get the error. Hold on.

#

@late glen The dev build does work.

errant iron
#

Are you on 1.17?

vast mauve
#

Yes I am on 1.17

errant iron
#

Oh are you using the new Server expansion