#placeholder-api

150650 messages · Page 66 of 151

ornate zodiac
#

Yes

umbral sigil
#

ok. Let me know if you fix it too.

austere hawk
#

Thanks dude

#

Thx

wide reef
#

Whats the placeholder to get world time in ticks

#

so eg: 12000

magic rock
#

what world_time returns?

umbral sigil
#

help pls

austere hawk
umbral sigil
wind shadow
#

Do you have protocollib

umbral sigil
wind shadow
#

Yes

umbral sigil
wind shadow
#

Thefuck

umbral sigil
umbral sigil
wind shadow
#

Yeh idk what plugins you are using so cant really help you

#

Its probably not placeholderapi but just that hologram plugin

umbral sigil
wide reef
wind shadow
umbral sigil
umbral sigil
#

When money is give to a player in the money ranking, it disappears from the holographic display.

wind shadow
#

Yeh idk

#

Could someone help me? I already got this issue for like 3 days

wide reef
#

so your unable to download expansions through ecloud command

#

just download them from the ecloud and install in /plugins/PlaceholderAPI/expansions

#

for the other 2 placeholders you require the expansion aswell

wind shadow
#

It did work before with my host

wind shadow
#

Its just the ingame command right

vivid sparrow
wide reef
#

^^^

wide reef
#

get a better plugin

wind shadow
#

SuperiorSkyblock has built in placeholders so i cant get those from the ecloud site

#

Also i used the ecloud and it still doesnt work for the vault placeholders

umbral sigil
#

help plz

wide reef
#

you have vault installed correct?

umbral sigil
#

Yes ;;

edgy moth
edgy moth
#

Excuse me?

#

... I didn't post that?

wide reef
#

you did?

edgy moth
#

I had fixed that issue a long time ago by removing a plugin that was breaking my placeholders

#

and i didnt get any help i just started removing plugins

wide reef
#

binary search is usually your best bet lol

edgy moth
#

Yep

wide reef
#

what was the problem plugin then

edgy moth
#

TownyMission/TownyQueue

wide reef
#

hope you reported it to them so they could fix it

edgy moth
#

It may of may not of been on production so I just wanted the problem fixed asap

wide reef
#

that fair, still worth letting them know

edgy moth
#

True, I want to use their plugin

#

Should make players interested with Towny

wide reef
#

cant fix a bug if your unaware its there.

edgy moth
#

Exactly, thanks for the reminder

#

Anyway, I've gotta go and grab a ethernet cable, my WiFi has been randomly disconnecting

lethal basin
#

can I use math placeholder inside of progress placeholder? like this %progress_bar_{math_2*(5+{vault_eco_balance}+1)+1}_c:&a|_p:&e|_r:&c|_l0:100_m:1000_fullbar:&aNice!%

turbid tide
#

no. you can't have placeholder inside placeholder inside placeholder

lethal basin
#

dang it

#

is there any other option?

turbid tide
#

javascript maybe to do the math?

lethal basin
#

good idea, thanks

turbid tide
#

👍

umbral sigil
#

Help me please

wide reef
umbral sigil
wide reef
#

because from what youve been saying its more then likely a problem with the leaderboard plugin

umbral sigil
#

is in use

wide reef
#

thats just for displays

#

also holographic extentions?

umbral sigil
#

But is it related to updating the money ranking?

wide reef
umbral sigil
#

The problem is that whenever money is paid to a player displayed in the holographic ranking, the player nickname disappears and the money ranking is not updated in real time.

wintry rose
#

Hello people I do think this is not the place to ask for this but can any1 help me out on this? Where can i find Citizens placeholders? Like %npc_ID_health% something like that. (I cannot ask on their chat since they do not allow me there)

wide reef
#

also it requires protocollib so you might have to update that to make it work correctly

#

tho holographic extensions hasnt been updated in awhile so it could be that

umbral sigil
wide reef
wide reef
umbral sigil
umbral sigil
wide reef
wintry rose
wide reef
#

also i dont think that citizens npcs have health

umbral sigil
#

Are there no developers here? The error needs to be fixed quickly.

wide reef
sharp jay
#

^

umbral sigil
wide reef
#

the people answering are volenteering their time they dont have to help you

sharp jay
#

^ if you cant provide information we cant not provide support

#

they asked you multiple times for things which you decided not to answer

umbral sigil
#

I am not good at English, so it is difficult to understand. Are you saying you can't help me?

sharp jay
#

I cant help you without context or enough information with your issue

umbral sigil
#

I attached the vault to the placeholder and used the eco placeholder for the hologramdisplays. The ranking appears on the hologram, but the ranking does not change, and when money is give to a user in the ranking, an error occurs that the nickname disappears.

#

Do you know how to fix it?

sharp jay
#

which placeholders

#

You enable leaderboard or whatever its called in the placeholderapi config?

umbral sigil
#

I have to go to work right now, so is it okay to leave a message in DM?

wide reef
#

From what i can tell Superior Skyblock is handling the hologram which means its a superior skyblock issue and you should report it to the dev

sharp jay
#

No sorry

umbral sigil
#

In terms of activation, I did everything I could, but it may not be enough, so can you tell me the whole thing?

sharp jay
#

did you do what i asked

tribal kiln
#

In my placeholder api I am trying to use the vault extension but cant get it to work and get the same error every time? can someone help me with this or am i in the wrong place

warm topaz
#

u are in the correct place

#

what is the error

tribal kiln
#

ok give me second have to run the command

#

[Server thread/ERROR]: [PlaceholderAPI] Failed to load expansion class VaultExpansion (Is a dependency missing

fervent spire
#

Do you actually have Vault installed?

tribal kiln
#

yes

#

as a expansion in the api

#

there is another error ive seen online trying to fix that i have seen poeple talk about and it is this one

#

java.lang.NoClassDefFoundError: net/milkbowl/vault/economy/Economy

fervent spire
tribal kiln
#

no do I need to do that?

fervent spire
#

Yes

tribal kiln
#

ok

#

oh that fixed it thanks noob mistake

opaque spire
#

is there a way to format the exp level ?

#

say i have 200000 exp its ugly and make the width bigger on the scoreboard is there a way to get it formated like 200.4k here is an image https://imgur.com/a/k5BxZI3

sharp jay
#

@opaque spire

austere hawk
magic rock
#

cant formatter expansion do it?

austere hawk
#

So like 1000 turns into 1,000

austere hawk
#

Why not use javascript with a simple statement that if the xp >= 1000, then divide by 1000 and add 'k', otherwise leave it?

wild karma
#

Is there an expansion for in game current time ?

turbid tide
#

I believe the world or the server expansions have placeholders for that

#

ah heree @wild karma %player_world_time_12% %player_world_time_24%

wild karma
#

thanks

unreal spoke
#

Is it ok if I ask for help here cause my server doesn't want to start, it just stops loading plugins and doesn't continue

sharp jay
#

show me the full latest

#

?paste

tender vaporBOT
sharp jay
unreal spoke
#

ah wrong channe;

#

channel*

wind shadow
#

@wide reef since you thought you knew what it was yesterday

#

could you try to help me further

opaque spire
#

@austere hawk how I haven’t a clue how to use the Java script I’m tryna make it auto convert k, m, b, t, all on its own

#

Like how vault formats money

austere hawk
#

That is possible with a few simple comparison checks. I am learning javascript myself as i go, perhaps i could try making this for you to get some more hands on experience. Basically a win-win

wide reef
umbral sigil
tender vaporBOT
tender vaporBOT
umbral sigil
#

I attached the vault to the placeholder and used the eco placeholder for the hologramdisplays. The ranking appears on the hologram, but the ranking does not change, and when money is give to a user in the ranking, an error occurs that the nickname disappears.

wind shadow
wide reef
#

also neznamy has a discord server which might be a better place to ask about this aswell since it might not just be a papi issue

#

also do you have MVdWPlaceholderAPI installed at the same time?

#

during the startup of the server when it loads superior skyblock it will tell you which api it will use for placeholders, can you check if its loading with mvdw or papi.

#

its also possible that superior skyblock has changed their placeholders and just havent updated it to tell you

wintry rose
wide reef
sinful anvil
#

Can you get an output of something in caps with some expansion or something?

#

Like I want to get for example prefix of player in caps

austere hawk
#

Why not just change the prefix to capitals then?

wintry rose
woeful stratus
#

Can someone help please, my vault placeholder doesn't work this one %vault_eco_balance_formatted%

#

in scoreboard

#

I have latest PAPI

wind shadow
#

u used /papi ecloud download Vault

#

then /papi reload

woeful stratus
#

😐 I did

#

still

wide reef
#

also try /papi parse me %vault_eco_balance_formatted%

woeful stratus
#

for scoreboard

#

I will try one moment

wide reef
woeful stratus
#

UltraScoreboards

woeful stratus
wide reef
#

do /papi list ingame and tell me what it says

woeful stratus
#

one moment

#

Graves, iaplayerstat, img, mmocore, mmoitems, playtime, sleepmost, uperms, uregions

wide reef
#

you dont have the vault expansion installed

woeful stratus
#

I know

#

I can't

wide reef
#

what does /papi ecloud download vault say?

woeful stratus
#

Successfully downloaded expansion Vault [1.7.0] to file and reload papi

#

ofc I reloaded papi

#

I have reloaded entire server 2 times

wide reef
#

and the result of /papi reload is what exactly?

#

look at console when you run the comman

#

what version of vault do you have installed?

woeful stratus
wide reef
#

1.7.3

woeful stratus
#

yup

wide reef
#

1.17.1?

woeful stratus
#

yup

wide reef
#

look at /plugins/PlaceholderAPI/expansions and see if the vault expansion is there

woeful stratus
#

yes

#

there

wide reef
#

and when you do /papi reload does it show up in /papi list

woeful stratus
#

Did /papi reload error console

wide reef
#

whats the error?

#

?paste

tender vaporBOT
wide reef
#

the full error

woeful stratus
wide reef
#

you dont have towny installed but you have the towny expansion.

#

tho its not related to vault

woeful stratus
wide reef
#

remove the towny expansion or install towny

#

thatll fix that

#

do you have papi 2.10.10 installed?

umbral sigil
#

When I download the script from ecloud, an error pops up, why is this?

tender vaporBOT
umbral sigil
#
[00:40:04 ERROR]: [PlaceholderAPI] expansion class JavascriptExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory
[00:40:04 WARN]: [PlaceholderAPI] skript is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
wide reef
woeful stratus
#

vault working but this warning was that

crimson river
#

Is there a way to run placeholder api on a bungeecord Server?

junior musk
#

nope

wide reef
crimson river
wide reef
wide reef
#

bungee is just a bridge between servers

crimson river
#

Okay, thank you!

umbral sigil
crimson river
#

Buf if i have BungeeTabListPlus in the plugins folder in bungeecord and placeholder api in the normal spigot folder, this does'nt work, does it?

wide reef
#

if you want a tablist i would suggest you make one that runs on each server instead of just on bungee

#

bungee tab lists that show all players on a bungee network are cluttered most of the time.

crimson river
#

okay, i will do this

#

Thank you

wide reef
woeful stratus
umbral sigil
wide reef
#

what does /papi info javascript say

#

also do /papi reload after you installed the latest version of javascript expansion

umbral sigil
#

There is no expansion loaded with the identifier: javascript

wide reef
#

did you download the latest version of the javascript expansion and upload it to your server?

woeful stratus
#

Status: Registered

Author: Clip

Version: 2.5.0

wide reef
#

did you do /papi reload?

umbral sigil
#

yes

wide reef
#

your running an out of date version of the server expansion

#

latest is 2.6.0

woeful stratus
#

yay

#

thank you

wide reef
woeful stratus
#

have a good day

wide reef
#

you too

umbral sigil
#

I went to the given address, downloaded it, and put it in plugin>papi>expansions.

umbral sigil
#

Expansion-javascript.jar delete

#

PAPI-Expansioon-Javascript-flop2xB.jar

#

put

wide reef
#

restart your server

umbral sigil
#

I already did.

#

If you do ecloud download javascript, Expansion-skript is created in plugin>papi>expansion again.

wide reef
#

delete the libraries folder

#

and restart

umbral sigil
#

PAPI-Expansioon-Javascript-flop2xB.jar
is this correct?

crimson river
wide reef
#

it was removed by the spigot mods

#

download it from the github page

crimson river
#

Okay thanks for your answer

wide reef
umbral sigil
tender vaporBOT
wide reef
#

whats the full error in console?

umbral sigil
#
[01:04:12 ERROR]: [PlaceholderAPI] expansion class JavascriptExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory
[01:04:12 WARN]: [PlaceholderAPI] skript is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
[01:04:12 INFO]: [PlaceholderAPI] Successfully registered expansion: vault
[01:04:12 ERROR]: [PlaceholderAPI] expansion class JavascriptExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory
#
[01:05:23 ERROR]: [PlaceholderAPI] expansion class JavascriptExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory
wide reef
#

upload a screenshot of /plugins/PlaceholderAPI/expansions

#

the folder

#

also do /papi list

umbral sigil
wide reef
umbral sigil
#

There is no such thing in Korea, so I don't know how to do it.

wide reef
#

delete Expansion-javascript.jar

umbral sigil
wide reef
umbral sigil
wide reef
umbral sigil
#
[01:25:22 INFO]: [PlaceholderAPI] Successfully registered expansion: vault
[01:25:22 ERROR]: [PlaceholderAPI] expansion class JavascriptExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory
#

Even if you delete it and do not download ecloud, it is created again in the file and appears in the bucket like this.

wide reef
#

you can blame skript for that

umbral sigil
wide reef
#

rename skript.jar in /plugins to skript.jar.dis

#

then restart your server

#

then delete Expansions-javascript.jar and do /papi reload

crimson river
umbral sigil
wide reef
#

Delete Expansion-Javascript.jar

#

rename the file /plugins/Skript.jar to Skript.jar.dis

umbral sigil
wide reef
umbral sigil
wide reef
umbral sigil
wide reef
#

delete the Expansion-Javascript.jar from /placeholderapi/expansions

umbral sigil
#

and server start ?

wide reef
#

yes

#

Also delete libraries

umbral sigil
umbral sigil
# wide reef Also delete libraries

[01:41:29 ERROR]: [PlaceholderAPI] expansion class JavascriptExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory

wide reef
#

disable half your plugins

#

upload your latest.log

umbral sigil
#

I didn't understand. That error popped up in the bucket when I turned on the server.

wide reef
#

?paste

tender vaporBOT
umbral sigil
wide reef
umbral sigil
wide reef
#

im stuck

#

its not a plugin issue its something else

tender sphinx
#

Dose anyone know how to make the server run the command without /papi parse %player_name% %javascript% ??

#

e.g if player holding a Diamon_sword. The server will run the commnad but you have to type /papi parse myname %javascript_myjavascriptname% and it will run the command

umbral sigil
#

How to link papi and skript?

warm plover
wide reef
#

/papi ecloud download server

#

your server expansion is out of date

warm plover
#

ty

oblique heron
#

hello good i need help with placeholder api it won't let me add the expansion vault

fervent spire
silver minnow
#

/papi ecloud download Vault

oblique heron
#

It tells me that there are no registered expansions

#

@silver minnow it doesn't work for me

fervent spire
silver minnow
#

/papi reload

oblique heron
#

@fervent spire if I have the current one

#

@silver minnow @dkim19375 it doesn't work for me

fervent spire
oblique heron
#

when I put an expansion list I don't get any

fervent spire
oblique heron
silver minnow
#

./papi dump

fervent spire
#

Can you see the expansion for vault in the expansions folder?

oblique heron
silver minnow
#

it shows some debug info

#

should send a link

#

that u can paste here

oblique heron
#

okay I'll send it to you

#

Generated: October 13, 2021 2:54:06 AM UTC

PlaceholderAPI: 2.10.10

Expansions Registered:
marriagemaster [Author: [GeorgH93], Version: 2.5-Release]
localtime [Author: aBooDyy, Version: 1.2]

Expansions Directory:
Expansion-vault.jar
Expansion-localtime.jar

Server Info: 1.12.2-R0.1-SNAPSHOT/dce6a22-DEV (MC: 1.12.2)

Plugin Info:
DeluxeHub [Version: 3.3.10]
MarriageMaster [Version: 2.5-Release]
PlaceholderAPI [Version: 2.10.10]
Vault [Version: 1.7.3-b131]

#

that's what I get

fervent spire
#

Stop the server, delete the Expansion-vault.jar from the expansions folder. Start the server again, then do /papi ecloud download Vault /papi reload

oblique heron
#

I already did it and nothing happens

fervent spire
#

What does it say when you run those commands, surely something would happen.

sharp jay
#

seems like you have it installed whats the exact issue have you tried the placeholders?

oblique heron
#

if it does not detect them

#

if it does not detect them

sharp jay
#

can you try /papi parse me %vault_eco_balance%

oblique heron
#

is the problem the deluxehub plugin?

fervent spire
oblique heron
#

if it detects it

fervent spire
#

That doesn't answer the question. Did you try it, and if so, what does it say?

oblique heron
#

Where can I send you some pictures?

#

when I enter the papi list command I get that there are no expansions registered.

sharp jay
#

?paste

tender vaporBOT
sharp jay
#

@oblique heron ignore that command if the placeholder its all good

oblique heron
#

I don't understand what to do

sharp jay
#

It works right?

#

where doesnt it work

#

what plugin

oblique heron
#

el plugin placeholder api cuando pongo
el comando /papi ecloud download vault

sharp jay
#

Sorry I dont speak spanish

#

show me what /papi parse me %vault_eco_balance% displays

#

?paste

tender vaporBOT
sharp jay
#

use this ^

oblique heron
#

tells me that there are no expansions registered

#

Generated: October 13, 2021 3:38:47 AM UTC

PlaceholderAPI: 2.10.10

Expansions Registered:
marriagemaster [Author: [GeorgH93], Version: 2.5-Release]

Expansions Directory:
Expansion-vault.jar

Server Info: 1.12.2-R0.1-SNAPSHOT/dce6a22-DEV (MC: 1.12.2)

Plugin Info:
MarriageMaster [Version: 2.5-Release]
PlaceholderAPI [Version: 2.10.10]
Vault [Version: 1.7.3-b131]

sharp jay
#

says

#
  Expansion-vault.jar```
oblique heron
#

I downloaded it and now what do I do ?

sharp jay
#

upload it to the expansions folder

#

inside placeholderapi

#

make sure you remove the old one

oblique heron
#

ok now what do I do?

sharp jay
#

restart your server

oblique heron
#

I have already restarted it

sharp jay
#

with the new jar

#

type /papi list now

oblique heron
#

I only get the marriagemaster one.

sharp jay
#

screenshot your expansions folder

#

?paste

tender vaporBOT
oblique heron
#

Generated: October 13, 2021 3:53:14 AM UTC

PlaceholderAPI: 2.10.10

Expansions Registered:
marriagemaster [Author: [GeorgH93], Version: 2.5-Release]

Expansions Directory:
PAPI-Expansion-Vault_o3XmLDu.jar

Server Info: 1.12.2-R0.1-SNAPSHOT/dce6a22-DEV (MC: 1.12.2)

Plugin Info:
MarriageMaster [Version: 2.5-Release]
PlaceholderAPI [Version: 2.10.10]
Vault [Version: 1.7.3-b131]

sharp jay
#

No

#

show me the flder

#

?paste

tender vaporBOT
sharp jay
#

screenshot it

#

?imgur

tender vaporBOT
oblique heron
sharp jay
#

The folder

#

screenshot your expansions folder

oblique heron
sharp jay
#

which folder did you put that in?

oblique heron
#

in expansions

sharp jay
#

Okay confirm all steps you did:

  • Deleted Old Expansion and tried to reinstall via command /papi ecloud download vault & /papi reload
  • Delete any current expansion reinstall via ecloud website and RESTARTED your server
  • Update Vault to the latest version
#

@oblique heron ^

oblique heron
#

Does it influence me that I am using a magma server?

sharp jay
#

Whats a magma server?

oblique heron
#

is a server with plugins and mod at the same time.

sharp jay
#

I am not sure but did you try to install the latest version of vault

#

and did you go through all those commands

oblique heron
#

I did all that and nothing

fervent spire
oblique heron
#

yes

sharp jay
#

ya idk out of ideas

#

@fervent spire help him

fervent spire
#

His Vault expansion file name looks wrong

#

I just added vault expansion on test server and it's different

oblique heron
#

then it is because of the name?

sharp jay
oblique heron
#

I downloaded it from there

fervent spire
#

Restart your server then paste a FULL startup log

oblique heron
#

And how do I do that?

#

this is the name of the file PAPI-Expansion-Vault_o3XmLDu.jar that I downloaded

fervent spire
#

Restart your server, then go to logs/latest.log and copy/paste the full contents

#

?paste

tender vaporBOT
oblique heron
#

ok I reset it and send it to you

sharp jay
#

send it here

oblique heron
#

any news?

fervent spire
#

Can you do it again, the link doesn't work for me.

oblique heron
#

Can't I send you an easier .text file?

#

I charge you ?

oblique heron
#

any ideas ?

fervent spire
#

Is that the full log file? Because it doesn't look like the full one.

ornate zodiac
#

@umbral sigil hey you managed to solve the problem?

umbral sigil
ornate zodiac
#

??

sharp jay
#

they updated the plugin

ornate zodiac
#

Okey thanks

umbral sigil
#

To the latest version download

ornate zodiac
umbral sigil
#

Google search

ornate zodiac
#

the same version appears to me

umbral sigil
#

Download

#

I dont know..

ornate zodiac
#

Is 2.10.10?

umbral sigil
#

No

#

2.10.9

ornate zodiac
#

@umbral sigil can you send me the link pls?

umbral sigil
#

i'm at work right now

ornate zodiac
#

Does anyone know why this happens to me?

magic rock
umbral sigil
#

How to link papi and skript?

wind shadow
#

why would you even use skript

#

skript is trash

oblique heron
#

good afternoon I use a spigot 1.16.5 server and the same thing happens to me the placeholderapi does not register the vault.

#

I am yesterday's person just in case

austere hawk
#

How to make guis for multiple players in DeluxeMenus? For example /profile <name>?
U can open your profile but u can open other profiles as well

austere hawk
#

And an economy plugin?

oblique heron
#

I got it

turbid tide
#
var player = BukkitPlayer;
var server = args[0];

function getPlayers() {
  var players = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + "bungee_" + server + "%");
  if (players == 1) return players + " Player";
  return players + " Players";
}

getPlayers();``` something like this maybe
austere hawk
#

someone can give skript parse to skript25 dev

ornate zodiac
magic rock
umbral sigil
#

I linked skript and papi, but if I use the skript variable in the simple score plugin, it is not recognized. Help me

fervent spire
umbral sigil
fervent spire
#

Well obviously the skript placeholder you are trying to use

umbral sigil
#

/papi parse me <{Stat::level::%player%}>

#

If you type it will appear the same

#
 <{Stat::level::%player%}>
fervent spire
#

Without the <>

#

An the proper placeholder is %skript_<variablename>%

umbral sigil
#
/papi parse me %skript_{Stat::level::%player%}%
#

is that right?

#
When you type it, it appears like this:

<none>player%}%  
fervent spire
#

{Stat::level::%player%} Needs the be replaced with the actual Skript variable name.

umbral sigil
#

For example?

fervent spire
#

The name you set the variable.

umbral sigil
#

i don't understand

fervent spire
#

EX: %skript_test% would be the variable {test}

umbral sigil
#

Can you tell me how to create a variable?

fervent spire
#

No, because I don't use Skript and never will.

umbral sigil
#

But when I look at how to use it, it says that {Stat::level::%player%} can be used like this, right?

fervent spire
#

Idk, I don't use Skript and never have used it. Try and see otherwise ask the dev of it.

umbral sigil
#

Weren't the developers here?

fervent spire
#

Idk.

sour wadi
#

Sorry to be annoying but I forget how to use the bot to find placeholders, what's the one for distance walked?

clever cedar
#

Hello I've got a question, how do I use the killStats api

#

I've installed killStats and Papi, In my code I used:

        String kills = "%killstats_kills%";

        kills = PlaceholderAPI.setPlaceholders(p, kills);

        String deaths = "%killstats_deaths%";

        deaths = PlaceholderAPI.setPlaceholders(p, deaths);```
#

Then I used the string in a scoreboard but then it doesn't show the scoreboard & gives me an error

#

(I've downloaded killStats using /papi ecloud download killStats)

polar tapir
#

Hello!

#

My footers look basically like a bunch of -------?????? put together.

magic rock
#

if you want solid line just use "&m "

polar tapir
#

No

#

I'm stupid

#

Wrong server

#

Butt

magic rock
#

😳

sly scaffold
#

Hello! I am unable to upgrade from 2.10.9 to 2.10.10 (newest version).
Did a clean install. Downloaded all the placeholders i needed, did a restart and still nothing.

Based on the update note, this cant be normal? What am I doing wrong?
This worked just fine on version 2.10.9.
Feel free to tag me if you reply.
Looks like this in featherboard: https://i.imgur.com/EqPK8Jt.png

warm topaz
#

do these placeholders work in the parse command? /papi parse me %blah_blahblah%

sly scaffold
#

It pasted %blah_blahblah%

#

Sorry im a derp

warm topaz
#

well yes u change the placeholder to whichever u wanna test

sly scaffold
#

No, it does not

#

Just pastes the same variable

warm topaz
#

which is?

turbid tide
#

/papi parse me %towny_town% for example

#

try this

sly scaffold
#

That works Blotz. Should I just change it from placeholderapi_towny_town to towny_town ?

warm topaz
#

yes

#

featherboard recently switched from mvdwplaceholderapi to Placeholderapi

turbid tide
#

^^

#

so you should be using %towny_town% instead of all the {placeholderapi... bulshit

sly scaffold
#

Ah of course. Thank you two for great support.

turbid tide
#

if you're on 5.0.0

#

or newer

#

of featherboard

sly scaffold
#

That worked like a charm. Thank you again ❤️

turbid tide
#

no problem

idle adder
#

Hi im new on creating a server is 1.16.5 i change between custom enchants plugins a the new adds some values i never seen before. Now the plugin works well but shows messages like %groupcolor% %successrate% etc, this is the screeshot of the item, if someone can help i really appreciate 🙂 https://imgur.com/a/IcX56PX

strong hemlock
#

Is it intended that papi won't parse a placeholder if it's preceded by an ampersands (&)?

#

i'd upload a screenshot but i don't have permissions

tender vaporBOT
turbid tide
#

use imgur ^

strong hemlock
opaque spire
#

@strong hemlock you useing Advanced Enchants?

strong hemlock
#

no?

fair plover
#

Can someone help me with Bungeecord placeholders, Is there any bungeecount placeholder?

coarse carbon
#

whats the placeholder for players exp? in number format ie: 230,000 exp. I cant find one or get it to work anywhere

grand zenith
#

can i make placeholders that do not requier a player to parse?

coarse carbon
#

im trying to use %player_exp% but it gives a weird decimal format. I used %formatter_number_format_player_exp% as you described but it just displays %formatter_number_format_player_exp% do i need to parse anything to use %formatter_number_format_{yourPlaceholder}%?

#

It still gives a decimal. Player has 1,005 exp but placeholder comes back at 0.09 Is there even a placeholder for whole number total exp? you solve this im sending you coffee money 😄

still aspen
#

Nbt tags don't work

#

'1':
display_name: ' '
material: PAPER
nbt_int: CustomModelData:10110
slot: 1
click_commands:

warm plover
#

Hey there, does %essnetials_world_time% auto update when no one is online?

sharp jay
#

@warm plover like world time? yes you did miss spell the placeholder btw its essentials

warm plover
#

Yeah I know sorry

#

But ty!

winged chasm
#

is it possible to have a placeholder take only first item of a list returned by other placeholder? like:
{some_placeholder_which_takes_string_here>_%placeholder_returning_a_list%}

(specifically talking about making %quests_player_current_objectives_<quest>% work with oldest quest player has)

sacred thunder
#

is there a way to specify the amount of deciamals in a the math placeholder. i know you can do it in the settings but i want it per equation

vivid sparrow
#

@sacred thunder

#

%math_n:_expression%

tender sphinx
#

Does anyone know how to do javascript like, give a diamond to player when player break the block without type /papi parse %player_name% %javascript_test%

austere hawk
#

Not exactly, but close to what you want. I'm not sure though if you should really do this via javascript if you have many players

austere hawk
#

Btw let me know if you can find out if/how one can use javascript for events.

#

Idk about that tbh

vivid sparrow
#

Js expansion is not meant to do that

austere hawk
#

Can you technically do it though?

vivid sparrow
#

You probably can but idk if you should, Silver

#

There's tones of plugins that could do that

austere hawk
#

That's what i said above basically. I can't imagine a js looping non stop to run checks constantly to be healthy but then again, not sure if you can even do that

#

That's also very true

#

Sadly, very often when looking for small plugins that do maybe 2 or 3 things are rare, usually you end up with getting a huge plugin and disable 90% of it because the rest is not what u need xD

vivid sparrow
#

A good opportunity to learn java xD

austere hawk
#

Shouldnt be too hard; get player, get block, if block = x material then do x otherwise abort mission - or am i wrong

#

If you boil it down to the basics

#

Block break event i think?

junior musk
austere hawk
#

Holy crap, i knew something about java ahaha

#

For you guys thats probably baby stuff but i cant java for my friggin life, so having known that is a huge thing for me xD

junior musk
#

I had the same reaction when I started x)

#

I started all thanks to Blitz lol

#

I just wanted to get a list of players, then I did it with PAPI JS, then I wanted more and did it in Java, and continued with more projects x)

austere hawk
#

I've always been interested in java, it just seems so undoable like you stand in front of this massive wall as rookie and you think 'maybe i should just get outta here instead'

junior musk
#

there are some pretty good websites explaining the basics in details

#

and you can also check other plugins' code on GitHub to help a bit

austere hawk
#

Idek where to start. 2 years ago i actually bought one of them weird online courses and never got past the explanation of objects

#

😂

junior musk
#

tbh I didn't buy anything, I only checked w3Schools to understand how to set up the thing x) ||https://www.w3schools.com/java/java_intro.asp|| and then checked Spigot's wiki to check what dependencies I had to use and how to actually create the plugin

austere hawk
#

Lucky you. I mean, i never touched any code language ever so no wonder my brain blew up at first. Now that i have a few basics in javascript, it's a bit better since well, you get a feeling for the way you need to think. I'm still struggling with my all-time enemy: arrays

junior musk
#

x)

austere hawk
#

I hate arrays so much. Soooo much, i can't even put it into words

junior musk
#

what's wrong with them?

austere hawk
#

They make no sense xD

#

In some ways they do but then not some other times idk

junior musk
#

you get an array, maybe called args, you take the item at position x in the array with args[x] and check for the length of the array with args.length

junior musk
austere hawk
#

I did some exercises the other day and it had me check 5 different arrays in one go, one being empty, for which i had to return 0 instead, return first, return last, return every 2nd, so like the whole battery of possible outcomes in one task

#

Took me 3 hours to get it right and 2 aspirin for my headache

#

¯_(ツ)_/¯

junior musk
#

but it sounds easy ;-;

#

x)

austere hawk
#

To you yes, no doubt. For me, that was a trip to hell.

junior musk
#

rip

austere hawk
#

In the end i did it, so i was happy about that ofc but then the next exercise killed me and i haven't done javascript for like a week now lul

#

Mayyyybe you can explain that one to me :P

junior musk
#

why not :D

#

but we should probably go in DM so we don't disturb this channel x)

austere hawk
#

Oof yea you're right lol

vivid sparrow
#

Feel free to chat @austere hawk @junior musk, just not in this channel

austere hawk
#

We moved to dms, sorry

vivid sparrow
#

No problem

peak token
#

for some reason i cant reload placeholderapi

#

heres the console message

chrome totem
#

hey

#

do u have leak parkour

finite cove
#

is there a placeholder to show a player name?

warm topaz
#

?player

tender vaporBOT
willow quartz
#

?help

tender vaporBOT
willow quartz
#

hi, i'm searching for someone who explains how to send the ip address (not always the same, because it's my ip address) with the DiscordSVR plugin and they told me to ask here if there is a plugin.

magic rock
magic rock
#

papi ecloud download Player
papi reload

willow quartz
magic rock
#

where do you want it

willow quartz
#

and then to show on DiscordSVR?

magic rock
#

if discordsrv support placeholderapi just put it in message where you want

willow quartz
warm dune
#

hi, i have this error with the guild plugin on my 1.17.1 paper spigot server

turbid tide
rotund swift
#

Heya,

how does the "server" expansion retrieve the server name?

It just says "A minecraft server" in the actual java file.

I can't find the config that bukkit provides the server name.
Yes, I have tripple checked server properties

junior musk
#

iirc it's from PAPI's config.yml

rotund swift
#

Ahh! Thank you so much! Why didnt I think of that iwi

austere hawk
#

Hi guys

#

I'm having this error that when i get 1.8.2 dev version the placeholder api doesnt work

#

I can't use 1.8.1 because it dont work for 1.17

#

(for deluxetags)

idle adder
#

https://imgur.com/a/LL1xNsO hi, i use a plugin to custom enchants, uses the placeholders on the image link but i dont know how to use em

turbid tide
austere hawk
#

it says internal occurred error bla bla bla

turbid tide
#

don't use 1.8.1

#

use 1.8.2

#

and delete the deluxetags expansion

#

from plugins/PlaceholderAPI/expansions

austere hawk
turbid tide
#

no

#

don't download it at all

austere hawk
turbid tide
#

%deluxetags_tag%

austere hawk
#

@turbid tide dms

tender vaporBOT
visual yacht
#

%math_100_[precision:2]% why this doesnt work

sharp jay
#

@visual yacht you sure?

visual yacht
#

Yes, got it now

#

its %math_2:1_100%

sharp jay
#

kk

#

when they show [] in placeholders it usually imply to saying you can replace it and no need to include []

#

headsup for the future tense

toxic jungle
#

Helo, does anyone knows why custom placeholders aint working? I have multiple servers and this happened at the same time

austere hawk
#

how can i do in javascript to transform a number into simplified? i.e. instead of having 12000000 I would like to have 12M

silk finch
#

DeluxeChat 1.17.1 @final shadow

tender vaporBOT
silk finch
#

?

austere hawk
#

how can i do in javascript to transform a number into simplified? i.e. instead of having 12000000 I would like to have 12M
like this but not in vault ^^ thousands: k trillions: T quadrillions: Q billions: B millions: M

#

like this but with another placeholder and not a number :p

turbid tide
unborn dagger
#

hi, i want to put an "-" to the placeholder if it's empty
for example if i'm in a plot in plotsquared, it shows the owner of the plot, but if i'm on the road, the placeholder is like empty

pure wraith
#

is there a placeholder for what a worlds weather is?

magic rock
unborn dagger
#

i have another question
how can i use javascript placeholder for scoreboard?

magic rock
#

wdym? the placeholder should work everywhere

turbid tide
#

everywhere where PAPI is supported*

unborn dagger
#

i mean what is "yourplaceholderidentifier" meaning in %javascript_<yourplaceholderidentifier>%?

magic rock
#

%javascript_filename% without JS

turbid tide
#

well you make the placeholders and declare them in javascript_placeholders.

magic rock
#

😳

unborn dagger
#

oh no, i got an error

    ReferenceError: "MrEveriX" is not defined in <eval> at line number 1```
turbid tide
#

can we see your code?

unborn dagger
#

ofc

#
var output;

placeholder == true ? output = placeholder : output = "-";```
#

nvm

#

i forgot to reload papi

#

but now, it's showing "-" when i'm in a plot too :/

turbid tide
#

well

#

parse the placeholder

#

see if it returns

#

true/false

#

or maybe a name

#

instead of true/false

unborn dagger
#

it's working

#

i accidently worked with null instead of ""

#

but anyway, thank you for helping

elder stump
#

Hey
I run into a small issue, I want to use ChangeOutput in FeatherBoard.
The issue is that FeatherBoard uses {} and ChangeOutput asks to use {} for inside placeholders

#

Is there any solution for this?

#

&f{placeholderapi_changeoutput_equals_%superior_island_top_level_position%_&f_Nincs_#%superior_island_top_level_position%}

#

All arguments can be replaced with other placeholders, wrapped in {}

austere hawk
#

Iirc, featherboard does not rely on mvdw placeholders anymore. When i updated to 1.17 and latest featherboard, oddly, my placeholders all broke due to the {}, i had to replace them all with % and now it's fine. Just saying

elder stump
#

at which version?

austere hawk
#

5.0.3b. There was an update on oct 10th to ver 5.0.4, haven't tested that one yet

exotic lily
#

Can someone help me why I get this when installing the vault expansion?
"[10:29:33] [Server thread/ERROR] [me.clip.placeholderapi.PlaceholderAPIPlugin]: [PlaceholderAPI] Failed to load expansion class VaultExpansion - One of its properties is null which is not allowed!"

warm topaz
#

do u have the vault plugin installed? and an economy plugin that hooks into vault?

exotic lily
#

i have vault and essentials x

#

I have both plugins in their latest version, my server is version 1.12.2, I don't know if that will have something to do with it

warm topaz
#

can u send a startup log pls

#

?startuplog

tender vaporBOT
turbid tide
#

my assumption is that the problem is with the version again. seen this happen quite a bit for people. Someone said it might have to do with the system or something but don't remember any fix or anything

woeful elm
turbid tide
woeful elm
#

Okay thanks

#

But the join game stat is gone? I can only find the LEAVE_GAME one

#

Or I just can't read

turbid tide
#

if its supposed to show when you joined, I don't believe that was ever a thing

woeful elm
#

I believe it should show how many times you joined

#

I remember it working (quite) some time ago

turbid tide
#

oh

#

there is one for how many unique players have joined a server but don't remember any for how many times a player has joined

exotic lily
#

?paste

tender vaporBOT
tender vaporBOT
warm topaz
#

im gonna guess what blitz said

warm topaz
#

@exotic lily can u try this for me? if blitz is correct, then this should fix the issue for you

exotic lily
warm topaz
#

its just one that i created now to fix the issue. but seems as tho it works, i will now create a PR to the expansion on github, and hopefully will be available to everyone else through ecloud soon

exotic lily
#

Thank you very much, I appreciate your work

lunar slate
#

[PlaceholderAPI] Failed to load expansion class MathExpansion (Is a dependency missing?)

warm topaz
#

is there an error to go with that?

lunar slate
haughty canopy
#

does latest PAPI works with java 8?

turbid tide
turbid tide
vivid sparrow
#

Yes

magic rock
lunar slate
#

there is an alternative to display players from 2 servers combined?

magic rock
#

Math expansion

lunar slate
#

dosent work

cerulean spade
#

The placeholder 'VotingPlugin_Total_AllTime' does not give a numerical value. Make sure that the placeholder returns a number that is not formatted

magic rock
# lunar slate dosent work

did you downloaded the expansion? did u realoded the papi?
what placehodler do you use? what /papi parse me %placeholder% returns?

lunar slate
#

i just downloaded the math

#

and reload

magic rock
#

like %math_hello% or %math_1+1%

cerulean spade
lunar slate
#

no one

#

i didnt use it

magic rock
#

how do you know it doesnt work then

lunar slate
#

i have the error

magic rock
#

what error, can you send screen & stracktrace of error (basically error in console/latest.log)

lunar slate
#

here

clear comet
#

hiya, every once and a while my server will un-register my placeholders for venturechat, vault and such. Just wondering if I could get some assistance with that!
the paste is here. https://paste.helpch.at/uxixijasun.md

sour wadi
#

Is there a placeholder to get the owner of a worldguard region? I've tried parsing this %worldguard_region_owner% it's only good if your standing in the region something like %worldguard_region_<region>_owner% is what I'm after

austere hawk
#

i imagine this isnt the fault of papi. but im going to post here in hopes of some help anyway.
Im using mycommand to store playerdata for boss kills. When i use papi parse on a player with no value i get NoData or just the correct numerical value. when i try it again on some other users i get An internal error occurred while attempting to perform this command
for example this is a players data file:

  HansGruberKill: 1
  TotalKills: 1```
this is another playerd data file
```f8bafa58-d180-4199-89b1-ba01de5fd43e:
  MerlinKill: 15
  TotalKills: 15```
the output of this command: ```/papi parse <uuid> %mycommand_playerdata_TotalKills%```for the latter player is ```15``` and the other is ```An internal error occurred while attempting to perform this command```
#

this is consoles output

hollow copper
#

Hello a few days ago I installed the animated scoreboard but they recommended to me they used the PlaceholderAPI to obtain extra commands and I did so but every time I try to modify something in the animated scoreboard and then restart my server so that the modified work does not respond it is as if it will be in a loading loop, uninstall the plugin and the problem is fixed but I would like to continue using this one, thanks for the help in advance
** 19.10 05:16:47 [Server] Server thread / INFO [me.clip.placeholderapi.PlaceholderAPIPlugin]: [PlaceholderAPI] Placeholder expansion registration initializing ... ** ** Full registration: ** https://paste.shockbyte.com/uceboloqalonuqarezon

ocean edge
#

what is the different between this 2 placeholder? i tried both and they give me the same result

%pinger_gameversion_testplugins.com:25565%
%pinger_version_testplugins.com:25565%
turbid tide
#

just every placeholder has 2 options for some reason

sturdy sluice
#

for the javascript placeholder script, is there some BukkitPlayer equivalent for the player that receives the message / placeholder, instead of the player that gets parsed along with the placeholder? (like where it'd always return my username)

sturdy sluice
pearl locust
#

So im having a HUGE issue rn and i have no clue what im doing wrong
my %luckperms_prefix% in deluxe chat is showing as nothing?
it doesnt show the placeholder as if i didnt have it installed in placeholder api, it just shows an empty space where the placeholder should be
idk if anyone can help?

cerulean quarry
#

How do I use placeholders like %bungee_<server.name>% on mine bungeecord server? I want it to display the number of players on the main server, but nothing works. Do I need to install PlaceholderAPI on bungeecord server? It is not installed in anyway .

magic rock
magic rock
#

i think lp placeholders are not vault dependant

fervent spire
thorn canyon
#

Quick question about formatters — how do you run a formatter on another placeholder?
{formatter_text_substring_0:7_{player_first_join_date}}

So that I can turn 01/31/21 13:45 into 01/31/21?

turbid tide
#

formatter only formats integer does it not?

#

don't think you can take a placeholder and change text around. that sounds like a job for the Javascript expansion. If you know some javascript that's your only option I believe

austere hawk
#

Agreed, just looked at the expansion and I don't see a way to do this with it.

thorn canyon
turbid tide
#

that's fine. its the same.

#

only difference is that you get a few default variables that you can use and also you can access the spigot api if you for some reason want to do that.

#

/papi ecloud download javascript then /papi reload to install the expansion

#

ah. one thing before you do that.

#

it requires java 15 or newer

#

if you can't update and you're on 14 or lower

#

you need to install an older version

#

/papi ecloud download javascript 1.6.0 then /papi reload for java 14 or lower

#

and now if you navigate to plugins/PlaceholderAPI you should find a javascript_placeholders.yml file. that's where you declare new placeholders you want to make.

#

also about how to make the code and where to put it

#

and how to call it.

thorn canyon
#

i'm on java16 so cool

turbid tide
#

btw. a heads up. it uses the nashorn enjine. so ecmascript 5.1 or something like that

austere hawk
#
function joinDate(){
var datewithTime = '%player_first_join_date%'

  if (datewithTime.length > 8)
  return datewithTime.slice(0,8);

}joinDate();```
#

Don't hit me.

#

Thank god it doesn't shorten itself by removing zeros so the length is always 8 xDDDDD

vivid sparrow
#

🤣

#

could also split at space and get the first half

austere hawk
#

I was looking into that but w3 failed me or im blind

vivid sparrow
#

or change the default time format from papi config if you don't need the extra stuff anywhere else

#

return '%player_first_join_date%'.split(' ')[0];

austere hawk
#

Basically. Split at space, include 0 after?

#

I like to try things so they make sense, what were to happen if you changed the 0 to lets say 3

vivid sparrow
#

split() returns an array and you use [0] to access the first element

austere hawk
#

AH

#

Well, f me xD

vivid sparrow
#

['01/31/21', '13:45']

austere hawk
#

Good to know, just glad mine works. First thing that happened to me here was that i had the file on desktop, copied to server and still had the desktop one open... 'why do i always get the same errorrrrrrr?!'

#

I hate myself

austere hawk
#

If i want to download Placeholder API from Spigot i got this error

SpigotMC - High Performance Minecraft - Error
Your IP address has been banned.

What can I do than?

vivid sparrow
#

F

#

You can built it from github or download dev builds

tender vaporBOT
austere hawk
#

Okay, thank you

austere hawk
#

What can I do now?

turbid tide
austere hawk
#

Now it works, thank you

west surge
#

For creating a PAPI expansion, the class that extends PlaceholderExpansion is loaded using a class loader ?

#

because I need to inject a dependency into the class

#

without using a static reference from my main class.

thorn thunder
#

Is it an internal expansion or an external one?

west surge
#

the same plugin is an expansion also

magic rock
#

hello, how to replace two chars in one formatter placeholder?
Like in
{#HHEEXX}A{#HHEEXX}B
I want to replace { for #
and delete }

restive slate
#

Hi guys, I am making a Chat Format Plugin. How can my plugin read papi placeholders?
Example of config.yml
format: %nicknamepapi% %rankez% >> message

#

Does maybe PAPI read them automatically and I do not have to do anything?

restive slate
#

I have read that, but I do want players to chose their placeholders, like maybe %essentials_nickname%, so I do not know what they will chose. What do I do?

sleek timber
#

Hi, I was wondering why the Math-expansion wasn't working when I transferred my exact files from my laptop for localhosting, to a professional platform like Ramshard and the error log below appears. Tried searching around in this chat for any resolved issues but they didn't seem to help my situation.

Overall issue is 'dependency missing' when using Math-expansion on Ramshard, but completely works when running on my laptop.

I haven't spoken to Ramshard support yet since I wanted to see if this was a plugin-side issue first.

Server: 1.17.1 paper-341
Math-expansion: 1.2.5
PlaceholderAPI: 2.10.10

lavish sail
#

How would I do so if a placeholder gives a value greater to or equal a color code will be given, I tried this but it doesn't seem to work:

if ("%BLP_level%" < "5") perm = "&a"
if ("%BLP_level%" < "10") perm = "&2"
perm```
lavish sail
#

it works when i do ==

#

but not when i do <=

#

so specific values work but not greater to or equal

turbid tide
turbid tide
lucid lance
#

anybody's ping placeholder not working?

lost canyon
#

Hello

#

does PlotSquared placeholders not work

#

Im trying to show them in deluxemenus

#

and they donot have an ecloud download command

#

the placeholders on the wiki do not work

austere hawk
#

can someone give me the plcahodler fopr luck perm ranks

#

@me pls

magic rock
austere hawk
#

@magic rock why vault?

fervent spire
#

@austere hawk ^

austere hawk
#

okay ty

#

also

#

do any of yk

#

if i can use luck perms and have certian perms only apply in certain worlds

#

not usnig a bungeecord server

#

@fervent spire

fervent spire
#

Add world=<world name> to the end of the command, when adding permissions and/or ranks

austere hawk
#

oh thanks

#

do yk how to do it like in mass

#

or on the editor

fervent spire
#

The bulkediting, will allow you to change heaps of them with the one command.

#

Depending on what you want to change, and how you want to change it

austere hawk
#

okay ty ill try it out

#

question

#

wait nvm

#

it works man thanks epic

turbid tide
# lucid lance anybody's ping placeholder not working?

IF you haven't found out why yet, I might have an answer. This is only if you're on 1.17 or newer tho. If you server is on 1.17 or newer, then all you have to do is update the player expansion: /papi ecloud download player then /papi reload

turbid tide
#

of placeholders. they might've not updated our wiki

carmine herald
#

hello eveytime i try to download the math expansion it says this in the console

#

[16:48:31 ERROR]: [PlaceholderAPI] Failed to load expansion class MathExpansion (Is a dependency missing?)

turbid tide
#

is that the only thing it says? it should probably be like a bigger error

carmine herald
#

its not letting me send it

#

idk

#

says message it too long

tender vaporBOT
carmine herald
turbid tide
#

@arctic loom can you look at this when you got some time? ^

arctic loom
#

Uh....

#

No idea tbh

carmine herald
#

can i contact the guy who made the expansion

sharp jay
#

?help

tender vaporBOT
chilly gust
#

Hello I have an error on my console which means that I cannot load vault on placeholderapi```

.... [19:16:10 ERROR]: [PlaceholderAPI] Failed to load expansion class VaultExpansion - One of its properties is null which is not allowed!

sharp jay
#

update to the latest version of vault

carmine herald
#

how do i contact the owner of an expansion

warm topaz
#

andre is the owner of the math expansion, and hes just said he doesnt know

warm topaz
chilly gust
tender vaporBOT
chilly gust
#

oups

#

but this problem does not cause it to me that on vault its does it to me on plain else (sorry for my anglish i'm french)

warm topaz
#

?startuplog

tender vaporBOT
sleek timber
#

Hi, not sure how to 'bump' my issue I posted previously without sounding impolite, but I was wondering about the Math-expansion issue similar to Yoshi's.

My previous post.
#placeholder-api message

warm flax
#

well first of all ur missing a ) at the end

#

but i dont know much js with papi

arctic loom
warm flax
#

lmao

arctic loom
#

I honestly don't quite get the error.... Maybe some java incompatabilities between the expansion jar and Caffeine (The caching utility)?

warm flax
#

yeah i hate those type of java errors

#

especially classloader ones

arctic loom
#

Maybe it would help if I shade the dependency into my own package?
Right now I only include it which worked from my testings...

sleek timber
#

Andre, if you don't mind shedding some light on my similar issue as well?

My error seems to result from clip.placeholderapi missing when I'm using it on Ramshard, a hosting platform. Though the same file/configs works on my laptop with no issues.

keen garden
#

Hello, I am writing javascript placeholder (I am quite a beginner in this regard)

and my question is how exactly is javascript_data used? Whether it is used automatically when the script is running, is it possible to access it for writing / reading.

would not want to break plugin 😄

#

The fact is that when writing regular javascript, I used the yml.js module, but I don't know exactly how it will work within the server ...

arctic loom
sleek timber
#

What is a 1-click plugin installer?

arctic loom
#

Idk?

#

The host you mentioned it on their plans page

#

Like how did you install the plugins?

sleek timber
#

Ah, then no. I transferred all my files that were portforwarded on my computer directly into the server files via FTP

arctic loom
#

hm...

#

Only other guess I have here is some Java issues... Like incompatible Java versions or something...

sleek timber
#

Meaning Ramshard's issue

arctic loom
#

maybe.

#

I can't tell what the actual cause here is

#

But if it works fine on your laptop could the cause be on the hosting

sleek timber
#

Right, I thought so too unless I wasn't aware of something with the expansion.

When you mentioned incompatible Java versions, what versions would those be so I can bring it up with Ramshard support?

arctic loom
#

Math expansion itself should work on all versions starting from Java 8

#

PAPI shouldn't be different

#

Incompatible could also mean that they may use a different distribution of Java which may lack some features or have different variants of it.

#

I'm not an expert in this, so what I say here could be wrong, so take it with a grain of salt

sleek timber
#

Heard and thank you.

carmine herald
#

thanks anyways , sorry andre i didnt know u were the creator lol

silver snow
#

Why isn't something like PAPI built right into Spigot/Paper because in languages like C++, you always have similar placeholder macros available

fervent spire
#

No, Spigot/Paper don't include PAPI internally. You need to add it.

silver snow
#

That's why I'm asking

fervent spire
#

It's not added because it's not a normal Minecraft function.

silver snow
#

Now I see

turbid tide
#

unless I'm misremembering

turbid tide
#

ok nvm. might be going insane

vivid sparrow
#

I remember something about 11+ as well

uncut matrix
#

Hello,

This JavaScript placeholder works, but im wondering if its possible to remove the decimals? Like when 2 humans are online in the hubs then it will return 2.0

function hubCount() {
    return Math.round(parseInt(%bungee_hub1%)+(%bungee_hub2%));
}
hubCount();
vivid sparrow
#

add a .toFixed() at the end

uncut matrix
#

Okay

#

Works, thank you Gaby 😄

vivid sparrow
#

Np

arctic loom
tender vaporBOT
arctic loom
#

Shhhhh

vivid sparrow
#

ah

turbid tide
#

couldn't be me

austere hawk
#

Hello

#

so

#

nvm

#

I installed vault expansion and %vault_eco_top_balance_formatted_1% doesn't work
it just says 0
and %vault_eco_top_player_1% is just empty message

#

is this the right channel?

turbid tide
austere hawk
#

i have ssentials expansion too

turbid tide
#

you can read in pinned messages why but short answer is they were very bad for performance

turbid tide
#

you can take it from there

#

go to plugins/PlaceholderAPI/expansions and delete the Expansion-Essentials from there

#

and put the one you just downloaded from pinned messages

#

and do a /papi reload

#

the available top placeholders are all listed there

#

in pinned messages

austere hawk
#

ok

#

still says 0

turbid tide
#

what placeholder did you test?

austere hawk
#

%essentials_baltop_balance_fixed_1%