#placeholder-api

1 messages · Page 150 of 1

amber compass
#

How can I remove certain symbols from a placeholder result?

#

Ex: remove the commas in: 124,589,329. So that it ends up being 124578329

errant iron
#

For which extension?

amber compass
#

I am using Economy Bank's %economybank_balance%, but for what I will use it, I need to remove the commas in the output. (while it still being a placeholder that I can use on other plugins)

errant iron
#

I'm not sure about what you can do to that particular placeholder since it is hardcoded into the plugin with only that format, you might be able to chain placeholders? not sure

turbid tide
#

you can use the JS expansion to change the output of any placeholders but you'll need to have some JavaScript knowledge

amber compass
turbid tide
#

what PAPI version do you use?

amber compass
#

Using 2.10.9

#

Was getting this error

turbid tide
#

then go to plugins/PlaceholderAPI/expansions and delete the Formatter expansions from there

turbid tide
#

also that expansion won't help you at all

#

it only adds , if you want

#

it can't remove them

amber compass
#

Oh...

turbid tide
#

and the error is because you use Java 15. It only supports up to Java 8

amber compass
turbid tide
#

I can make a quick one if you want but idk if the js expansion will even work for you

errant iron
#

just recompile the plugin with a differnent DecimalFormat, duh

turbid tide
#

do you have GraalVM installed?

#

I mean is the plugin Open Source?

errant iron
#

yes!

#

I looked at the code lol

turbid tide
#

I can PR a new placeholder then

errant iron
#

my hero ❤️

turbid tide
#

in a few hours @amber compass and I'll send you a jar personally just in case the dev doesn't decide to accept my PR

errant iron
#

few hours? lmao

#

few minutes more like

turbid tide
#

working on something else

#

rn

#

can't switch

errant iron
#

ah i see i see

turbid tide
#

if you want you're free to do it yourself lmao

errant iron
#

i don't have too much experience with papi extensions

turbid tide
#

but rn I'm to deep into JDA to move on something else

#

lmao

errant iron
#

oooh JDA fun

turbid tide
#

I mean

#

I can give you the code rn

#

1 sec

#

in a paste bin

#

oh wait I could just add it to github

#

lmao

#

no need to download, compile all that but still someone will need to compile

#

for Alchemies

#

I'll just do it in a few hours

#

or maybe I'll finally go take a piss and add it after lmao

errant iron
#

lemme see what I can do

#

oh god this guy isn't using gralde or maven

#

he's using eclipse... and im not sure how to build this project

turbid tide
#

its just 3 lines

#
        if (identifier.equals("balance")) {
            Double bal = pl.getMoneyDatabaseInterface().getBalance(player);
            return int(bal)
        }```
#

maybe I should name it balance_fixed instead

errant iron
#

I'd keep the old one and use decimalformat too instead of casting to int

#

also how can you build it?

turbid tide
#

yeah dw that code is broken in many ways lmao

#

int() bal is what I have to use and also I need to parse it to string

#

I just made 2 new placeholders and left the old one just renamed it

errant iron
#

wtf is int(bal)

#

and how did you build it!!! 😠

turbid tide
#

yeah I told you its broken

#

and I didn't yet

#

I just PRed it

#

I'll build it later

#

if I can

#

I have eclipse installed

#

so I'll figure it out

errant iron
#

oh ew

#

similar to the epic games launcher, I have a firm policy of never allowing eclipse on my computer

turbid tide
#

EGL is great tho

#

loads of free and nice games

errant iron
#

that's all they have

carmine veldt
#

wtf

turbid tide
#

that I played on it

carmine veldt
#

egl sucks dick

errant iron
#

morally im against them

turbid tide
#

no it does not ...

#

I played so many nice games on it

errant iron
#

every time a new game comes out and it's only on egl, I hate them 200% more

carmine veldt
#

the problem is that it exists

turbid tide
#

Fortnite, Rocket League, Batman Arkham series

carmine veldt
#

only steam should exist

turbid tide
#

yeah let there be only 1 power lmao

#

so no one can contest them

errant iron
#

the exclusivity is the problem

carmine veldt
#

that’s what it has been like for at least a decade and it’s been fine

errant iron
#

i'd be vibin if games were on both platforms and there was competititon

#

but when a game is only on egl, that's when I get mad

carmine veldt
#

then epic came along with their shitty ass launcher and is making me go to 2 places, steam and epic, to play stupid games

#

unacceptable

#

fuck epic

#

woah this is in placeholderapi

errant iron
#

lmao

turbid tide
#

ugh you know you can download the games and then launch them from steam right?

errant iron
#

yes but I still have to give them my money and I do not support such bullshit

carmine veldt
#

yes but hours aren’t tracked and u cant use steam mods, workshop, or anything

#

epic games launcher is so damn primitive compared to steam

#

it’s so bad

turbid tide
#

well Starmism I figured out you can just import the project in IJ. Now its time to figure out how to build it lmaooo

errant iron
#

wait whattttt

turbid tide
#

and turns out I don't actually have eclipse installed

errant iron
#

i opened it in IJ, but everything is an error since I don't have any dependencies

#

I think Ill have to manually gradle this bad boy

tender vaporBOT
#
📋 Your paste, iTzFernando
https://paste.helpch.at/upulunociz

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

turbid tide
#

that i used before gradle lmao

errant iron
#

maven? lol

turbid tide
#

here's the zip tho

#

no

#

artifacts

#

that's the name

errant iron
#

oh wtf

#

but you still gotta get the dependencies

turbid tide
#

and you have to import the jar with artifacts

#

so spigot jar

#

and all that

#

yea

errant iron
#

might as well shade with gradle while im getting them lol

turbid tide
#

but idk how to switch from nothing to gradle

#

so take the zip

#

and gl

#

lmao

#

:))

hasty spear
errant iron
#

What version of PAPI, MC server, GemsEconomy, and extension?

turbid tide
#

1.16.5 paper, 2.10.9 paper

#

1.8 java smh starmism

turbid tide
#

and also the version of your gemseconomy plugin

errant iron
turbid tide
errant iron
#

i know i didn't actually read that beyond NPE and gemseconomy lol

#

im busy deving!

turbid tide
#

k then lmao

hasty spear
turbid tide
hasty spear
turbid tide
#

do /papi ecloud download Vault then /papi reload also make sure you have the Vault plugin installed.

hasty spear
#

[17:30:23 INFO]: Successfully downloaded expansion Vault [1.7.0] to file: Expansion-vault.jar
Make sure to type /papi reload to enable your new expansion!
[17:30:23 INFO]: [PlaceholderAPI] Fetching available expansion information...

papi reload
[17:30:28 INFO]: [MyCmd] This command have ADD_PERMISSIONS type
[17:30:28 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[17:30:28 INFO]: [PlaceholderAPI] Fetching available expansion information...
[17:30:28 INFO]: [PlaceholderAPI] Successfully registered expansion: gemseconomy
[17:30:28 INFO]: [PlaceholderAPI] Successfully registered expansion: luckperms
[17:30:28 INFO]: [PlaceholderAPI] Successfully registered expansion: player
[17:30:28 INFO]: [PlaceholderAPI] Successfully registered expansion: server
[17:30:28 INFO]: [PlaceholderAPI] Successfully registered expansion: vault
[17:30:28 INFO]: [PlaceholderAPI] Successfully registered expansion: worldguard
[17:30:28 INFO]: 6 placeholder hooks successfully registered!

turbid tide
#

and if you do /papi info Vault now is the version 1.7.0 ?

hasty spear
turbid tide
#

btw @errant iron can you check the code for me? I think I might have messed up the casting to int from double

errant iron
#

im just gonna write it myself lol

#

gradleing first tho

hasty spear
# turbid tide And you still get the error?

[17:31:59 WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.9 generated an exception while executing task 1621
java.lang.NullPointerException: null
at me.xanium.gemseconomy.vault.GEVaultHook.getBalance(GEVaultHook.java:100) ~[?:?]
at com.extendedclip.papi.expansion.vault.VaultEcoHook.getBalance(VaultEcoHook.java:223) ~[?:?]
at com.extendedclip.papi.expansion.vault.BalTopTask.run(BalTopTask.java:52) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.16.5.jar:git-Paper-564]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.16.5.jar:git-Paper-564]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.5.jar:git-Paper-564]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_281]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_281]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_281]

Yes :c

turbid tide
#

@hasty spear the problem is that you didn't set any default currency in GemsEconomy I think

#

set a default currency and you should be fine

hasty spear
turbid tide
#

if that doesn't work then you'll have to contact the developer of the plugin GemsEconomy

#

and show him the error

#

he might help some more

hasty spear
errant iron
digital pine
#

does anyone know how to do a separator newline for the playerlist_online placeholder? trying to list all online players on separate lines.

errant iron
#

I'm 100% sure you can use javascript to add a newline

#

Though where are you listing this? in chat?

digital pine
#

no in the scoreboard on the right.

turbid tide
#

You can try AutoRankUp I think its called. I know it might sound like a rankup plugin but it actually just executes commands when requirements are met. and I think it supports PAPI placeholders as requirements

static totem
#

is there any placeholder for players?

austere hawk
#

May Someone help me?

#

@mint fable

tender vaporBOT
#

@austere hawk,

Hey!

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

mint fable
#

Have you asked your question?

vast axle
#

Paper 1.16.5

lilac oxide
vast axle
#

latest of both

timber socket
#

Hey, I updated the PAPI extension for "Skript" plugin. I just changed the Build Patch and that was enough to make it work. I think it will come in handy for a lot of people, so I would like the update to be officially added to eCloud. The original author of the extension is "F8te". I can send the .jar file in a private message or here.

jolly haven
#

I got an error everytime I run ANY ecloud download command the error stating that it Failed to find an expansion named: %name%

hasty spear
#

Still i cant fix it

trim mist
#

Contact the developer of GemsEconomy

hasty spear
trim mist
#

The problem steps from a method in his hook. Only he can fix it.

#

If you don't use the baltop placeholders, disable it in the papi config and it'll go away.

austere hawk
#

i like poop

stoic grove
#

Cool

sand gulch
#

Hello! I am trying to make a placeholder that will return a number which tells the player how many players are left in my minigames. I tryed to just return the variable, which doesn't work because it needs to return a string, and i've tryed to change it to allow me to return an int, which caused an issue with papi.

#
    public String onRequest(OfflinePlayer player, String identifier){

        // %example_placeholder1%
        if(identifier.equals("playersleft")){
            return "Left:";
        }


        // We return null if an invalid placeholder (f.e. %example_placeholder3%)
        // was provided
        return null;
    }
silver minnow
sand gulch
#

Thanks!

modern lynx
#

is there a placeholder, that will check the player's monthly and weekly statistics from other placeholders? like parseother

warm topaz
#

leaderheads might be able to do this

turbid tide
#

yeah but I don't think he wants leaderboards

lunar nebula
#

can i have some help with placeholder api and holographic displays please?

turbid tide
lunar nebula
#

i have these installed but i want to use multiverse to display how many ppl are in the world

#

with hd

turbid tide
#

%server_online_WORLD%

#

just change WORLD to the world name you want to display the amount of players online inj

lunar nebula
#

does the world name need to be in all caps?

turbid tide
#

no

#

its case sensitive I think

#

so it needs to be exact

lunar nebula
#

erm

#

it did not work

turbid tide
#

/papi ecloud download Server then /papi reload

lunar nebula
#

oh it works now!

#

thx

turbid tide
#

👍

reef garnet
turbid tide
turbid tide
#

where did you get it from?

#

or does it come with the plugin?

#

what's your server version? The plugin might not check correctly for the server version

tidal quail
#

the {player} part is not working when i change it to my ign it is fine

turbid tide
fierce narwhal
#

Hi everyone, i have a PVP arena server, and i have an error when one player in particular (not the others) try to join the arena :
" **[AnimatedScoreboard] PlaceholderAPI caused an error while parsing line "&6&lClé(s) cosmétique(s) &r&f: &e%ultracosmetics_keys%" for ReminiCriquet. This is not an issue with AnimatedScoreboard and should instead be fixed by the maintainer of the placeholder pack you are trying to use. **"

Do you know where it could come from ?
thanks a lot for your help (can you please @ me if someone answer ? 🙂 )

errant iron
#

@fierce narwhal Does it show any other error? And are you using MySQL or flatfile storage? I presume the error is a null pointer exception and I presume it is because that player doesn't have an entry in your storage system for some reason, since there's no null check in the code

fierce narwhal
#

@errant iron thank you for your answer,
I also have this in the console :
.... [16:37:05 ERROR]: Could not pass event PlayerChangedWorldEvent to UltraCosmetics v2.5.10
java.lang.NullPointerException: null

And i'm using a MySQL storage

errant iron
#

Exactly what I thought lol. Can you look at your SQL table and see if that player has a row? Or do whatever you need to do to generate one for them since obviously they don't have one

fierce narwhal
#

i'll check it when i can, thank you for your help ! 🙂

exotic urchin
#

please help me i use placeholder math but my command doesnt work how to fix ? (%math_[0]:[1]_{server_online_Survival}+{server_online_SurvivalTheEnd}+{server_online_SurvivalNether}%)

lilac oxide
lyric bone
#

hello, how I can use placeholders in my FastBord scoreboard pls?

#

using the api

#

do you have a doc to use the api pls?

olive coyote
#

Is there a placeholder for "Display users online"? When I go into vanish mode the placeholder players_online still shows me as a player.

trim mist
#

If you use essx, they have a safe online.

silver minnow
#

%essentials_safe_online% i think

gilded lagoon
#

Hello, can someone tell me why the placeholder %player_name% doesn't work ? I have it in VoteParty plugin

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

gilded lagoon
#

wow ty

random geyser
#

Hi. I cannot figure this out on my own. Can I easily use placeholders from other expansions in my own expansion? For example:
String Nickname = "%player_name%";

turbid tide
#

yeah but you need to hook into PlaceholderAPI and then parse that string

random geyser
#

Thank you

silver minnow
#

umm you shouldn't even be using plugman in the first place

turbid tide
#

^

lilac oxide
austere hawk
#

hey
So I am trying to add something on a scoreboard, when somebody does /heal I want a timer on the scoreboard until their next heal (when the cooldown I have set is over)
anybody know if this is possible
essentially just want their cooldown to be displayed on the scoreboard, im using scoreboard-revision by HelloItsRhien and it supports placeholderapi but I cannot find a placeholder for this sort of thing

turbid tide
#

because there doesn't exist one. Unless you have a custom heal plugin?

austere hawk
#

No just essentials, thanks for the info

#

What steps would I take to allow this?

turbid tide
#

well you'll first of all need a plugin to add the cooldown to the heal command so you'd probably just need a fully custom /heal command that also adds a cooldown and also gives you a placeholder

austere hawk
#

I set a cooldown in the essentials config( i believe 4800 ticks), are you saying I should make a new plugin in order to create the placeholder

#

If so, do you have any information that could potentially help me, I am not very skilled in this department

turbid tide
#

Ohh. Dind't know essentials has a cooldown thing for /heal

#

well there is no placeholder to dispaly that cooldown I'm afraid

austere hawk
#

Ive seen servers with what I want before, do you think they made their own plugin

#

and placeholder

turbid tide
#

probably. but essentials doesn't have a placeholder for it.

austere hawk
#

Yeah, gotcha. Appreciate the info!

turbid tide
austere hawk
#

Alrighty

near scroll
#

Is PAPI3 gonna be released this year?

errant iron
#

nah bro, the 3 stands for the year 3000

near scroll
#

AHHHHHH that would make sense

#

wait wasnt papi1 released in 2000's though 👀

errant iron
#

nah we discovered it then

#

released in the early 1000's

#

not a lot of minecraft servers for it back then

near scroll
#

ah alr

#

makes sense

turbid tide
#

unless some do and I don't xD Which is most likely the case

near scroll
#

☹️

quasi fulcrum
#

H

austere hawk
#

hello, if im in lobby servers, but i want to show how many players are in our lets say survival server, is there a placeholder for that?

austere hawk
#

anyone?

austere hawk
#

what is it tho?

native crystal
#

I have a question about the javascript expansion for Papi

#

Does anyone know how to use the Data.Clear() option? It's not clearing the data from the yml file.

undone storm
#

This is the console feedback when I tried to download vault extension and reload the plugin, how do I fix this to make the vault expansion work?

#

[Sat, 27. Mar 2021 21:00:26 GMT ERROR] expansion class VaultExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use net/milkbowl/vault/economy/Economy

errant iron
#

Do you have Vault installed? If so, try to download the development version of the extension. I don't know exactly where that it but I think it exists

undone storm
#

ok

steep venture
#

is placeholderapi ecloud off or not working?

undone storm
#

update: im stupid and forgot to download vault

steep venture
#

i can't install extensions via minecraft chat, with the FTP not works again, it didn't find extensions

errant iron
#

It's up. Try downloading manually from the site and transferring the file to your server

tender vaporBOT
#
FAQ Answer:

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

steep venture
#

is in the extensions folder

austere hawk
#

hey the factions mcore extension is not showing on the list or working

#

yea im quiting

errant iron
steep venture
errant iron
#

Anything in console?

turbid tide
steep venture
#

failed to download expansion @errant iron

errant iron
#

I mean when loading, it doesn't say anything about the extensions already there?

steep venture
#

if i try to download with /papi ecloud download leaderheads it says that not find an extension with that name

errant iron
#

Try like player

steep venture
#

i tryed like player and says: failed to find an expansion named: LeaderHeads

errant iron
#

Uh

warm topaz
#

there is no leaderheads expansion

errant iron
#

That's pretty funky

warm topaz
#

its built into the plugin

turbid tide
#

there is. but you shouldn't download it

steep venture
turbid tide
#

bcz now it comes with the plugin

warm topaz
#

yeah its some fake thing iirc

#

or legacy version

steep venture
#

it's the spigot plugin, papi doesn't find any extension

warm topaz
errant iron
#

Well you don't need it

steep venture
#

i've all the expansions for holographic displays to make a leaderboard for BedWars1058 but when i insert the placeholder in the hologram it says: "armor stand"

errant iron
#

You got holographic extension?

steep venture
#

yes

#

i have protocollib, hdextension, heplaceholders, leaderheads and papi

#

and bw1058

silver minnow
#

u dont need hdplaceholders

#

just hdextension, hd, and protocolib

steep venture
#

the only problem is that

#

i try in the localhost or in the another server i have

#

if it not work is the ecoud that have problems

sleek sparrow
#

Does anyone know what it means when a placeholder extension is orange when you check the list

turbid tide
#

means there's an update available

sleek sparrow
#

i tried to download it again

#

but its not working haha

#

and when i do /papi reload it only says 2 reloaded but i have 3

untold crater
balmy marten
#

checked and verified

#

takes around an hour or so to show on the cloud due to caching

untold crater
#

awesome thanks

austere hawk
#

how to display top kills per world with PAPI-placeholders or just top kills?

steep venture
#

nothing, in a localhost server it does find Vault expansion but them can not enable

#

i do papi reload and them don't find the expansion

errant iron
austere hawk
errant iron
#

Yup, those plugins can track kills and such and allow you to find out who are the top 5 or 10 killers in the server

steep venture
#

what can i do to fix that?

steep venture
#

@errant iron it's a problem of the e-cloud or what?

tender vaporBOT
#
FAQ Answer:

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

steep venture
#

and i've installed manually the extensions but it not find extensions

fluid chasm
#

anyone know how i would edit the pinger placeholder and make the offline text be animated?

sleek sparrow
turbid tide
#

ok so first of all go to plugins/placeholderapi/expansions and delete all the Expansion-parkour.jar files

#

then do /papi reload

#

and then download it again.

#

@sleek sparrow

turbid tide
#

ah if you mean the text to update every few seconds then no. Well you could make a javasript placeholder yourself.

untold crater
trim mist
#

👍

untold crater
#

thanks

sleek sparrow
#

@turbid tide still not working

tender vaporBOT
#

@sleek sparrow,

Hey!

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

sleek sparrow
#

oop

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.

turbid tide
#

@sleek sparrow send this then ^

sleek sparrow
#

do i dm it to you

amber compass
#

Hi,
I want to set it so my TitleManager Scoreboard shows the place I am, by the names set in WorldGuard So, for example. If you are at spawn, it shows "Spawn", I used the placeholder %worldguard_region_name_capitalized%, but when I am not in a region, the text just dissapears, and I would want it to say something like "Wilderness", is there a way to do that?

turbid tide
#

javascript expansion

amber compass
#

Thanks <3

steady stump
#

i downloaded this /papi ecloud download world
%world_playerexist_<world>% this didnt work

and i tried this /papi ecloud download ListPlayers

%listplayers_in_world_<Bedrock1>% this didnt work too

im trying to type which players in world "bedrock1" to tab can someone help please? :/
and im sure the worlds name is true

errant iron
#

Did you do /papi reload or restart the server?

steady stump
#

yes i did >:c

errant iron
#

What does /papi list show?

steady stump
#

Math
Multiverse
OtherPlayers
Player
PlayerList
Server
Statics
World

#

i installed the listplayers its even in the file

#

but its not working

#

im just trying to type which players in world "Bedrock1" to tab, it dont have to be this hard 🤦🏻‍♂️

errant iron
#

What does /papi parse me %world_playerexist_<world>% show?

steady stump
#

it typed nothing to chat but like it send invisible character or something

#

but there is somebody in that world rn it still send nothing to chat

errant iron
#

you put the correct world name, right?

steady stump
#

yep

#

it called Bedrock1

B is big im sure

#

i even tested another world called end_pvp there are people in it, it still sending nothing to chat

#

ok. problem solved i did it with another plugin "%playerlist_online,world,yes,list,Bedrock1% "

quick spear
#

This started to happen some time ago. I don't know what is causing this. When I try to use /papi ecloud download I get this error: No cloud expansions are available at this time

#

And placeholders are Broken.

steep venture
#

i found an error :
[14:10:42 ERROR]: [PlaceholderAPI] expansion class VaultExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use net/milkbowl/vault/economy/Economy

#

PaperMC 1.12.2

#

@errant iron do you know that error?

errant iron
#

try downloading the latest one from there

#

also, just checking, you have Vault installed right?

quick spear
#

Yes I already tried to use the site expansions but it didn't work.

#

Server version: Paper 1.8.8
Plugin version: 2.10.6

steep venture
#

[PlaceholderAPI] expansion class VaultExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use net/milkbowl/vault/economy/Economy
[14:24:58 INFO]: No expansions were registered!
Same error

quick spear
steep venture
#

it's or PAPI problem or ecloud problem

#

because on mine aternos server it works

steep venture
#

but witk luckperms is the same problem

junior musk
#

same error for LuckPerms?

steep venture
#

i'll try to reinstall them

junior musk
#

send the lp error

steep venture
#

i'll try to reinstall them, because alright the Leaderheades expansion not work and i have the plugin installed

errant iron
#

Does anything work? lol

#

Maybe try reinstalling PAPI entirely if nothing works

steep venture
#

reinstalled

#

ok Luckperms and Vault work,

#

now i need to fix leaderheads expansion problem

#

it probabbly work now

junior musk
#

LeaderHeads has its expansion built inside of it

#

you don't need to download it

steep venture
#

i do /papi list and i have LeaderHeads, Bw1058, Luckperms and Vault green

junior musk
#

then it should be good

steep venture
#

i'll try on another server (Ploudos)

#

because leaderheads without expansion not works for leaderboard on BW1058

junior musk
#

you don't need to download the LeaderHeads expansion, it's installed automatically if you have LeaderHeads

steep venture
#

i don't knw the problem of the line with leaderheads

errant iron
#

did you specifically download the leaderheads expansion?

steep venture
#

i downloaded expansion from the ecloud website and uploaded on the PloudOS server

errant iron
#

okay you shouldn't

silver minnow
#

not 2.10.6

errant iron
#

the leaderheads expansion is for legacy support

#

the current version has it built in to the plugin

#

so having the expansion will mess things up

steep venture
#

the problem is that in the hologram i don'have the best killer/winner but the is the write "Armor stand"

errant iron
errant iron
steep venture
#

i need Holographic displays, hdexpansion, leaderheads, papi, bw1058 and i'm done?

#

i alright have hdplaceholders

errant iron
errant iron
junior musk
steep venture
junior musk
#

when plugins hook into PlaceholderAPI, they appear in /papi list

errant iron
#

it lists plugins that have it built in?

#

huh

steep venture
#

i have to wait 40 min of queue

junior musk
#

you shouldn't have any file in your expansions folder in your PlaceholderAPI folder called leaderheads-expansion or something like that

junior musk
errant iron
#

alright I'll leave you to your domain lol

steep venture
#

in the next days i'll probabbly buy an MC server of 3gb ram to help me

junior musk
#

x)

steep venture
junior musk
#

ah, then I guess it's the same system

steep venture
#

Aternos in mine area is fast

#

3 minutes of max queue

junior musk
#

I got 76 minutes once

steep venture
#

in my state (Italy) i have germany

silver minnow
#

sometimes less than 5

steep venture
#

@errant iron it's enabled when i do /papi list

errant iron
#

yeah you should ask @junior musk , not me lol

junior musk
#

x)

#

does it show in /papi ecloud list installed ?

#

if it doesn't, then it's good

#

if it is shown, then you have to go in your PlaceholderAPI folder, then in the expansions folder, and delete the leaderheads expansion file

wind ridge
#

running spigot 1.8.8

steep venture
wind ridge
#

does papi not work in 1.8 for developers?

#

since cant seem to be able ytp use the PlaceHolderAPI method

trim mist
#

Should work fine.

wind ridge
trim mist
#

That looks correct.

wind ridge
#

oh wait what

#

it started working

#

after I restarted intellij

trim mist
#

Sometimes IntelliJ has a mind of it's own 😛

wind ridge
#

yeah lol

#
depend:
  - LuckPerms
  - Vault
  - PlaceHolderAPI``` also is this the correct way to depend papi?
#

since im getting an unknwondepencyexception

#

after doing it using [] and commas it started working

#

no idea what is happening with intellij/ my server lmao

trim mist
#

PlacholderAPI

wind ridge
#
soft-depend: [Vault, LuckPerms, PlaceHolderAPI]``` this works
trim mist
#

PlaceholderAPI

wind ridge
#

ok

#

avtually it may work since the placeholders aint workin

#

waffle both work, I just had to download and then reload it everytime I downloaded a new placeholder

lilac oxide
#

the math expansion

lilac oxide
#

ecloud math

turbid tide
#

%math_{placeholder_1}+{placeholder_2}%

lilac oxide
#

%math_0:{placeholder_1}+{placeholder_2}%

turbid tide
#

/papi ecloud download Math /papi reload

#

to download the latest version

#

yo @sleek sparrow sorry it took so long. I completely forgot. So turns out the ecloud expansion is not needed anymore. It comes directly with the plugin now. So you have to go to plugins/PlaceholderAPI/expansions and delete Expansion-parkour.jar

#

then /papi reload

#

and you should be fine

sleek sparrow
#

oh oki

#

but for my holograms it doesnt rlly work

turbid tide
#

do you have HolograhpicDisplay, HolographicExtension and ProtocolLib installed?

sleek sparrow
#

oh i dont have extension

full lantern
#

hey

tender vaporBOT
#

@vast anchor,

Hey!

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

turbid tide
#

ah freddy forgot a _. its %math_0:_{placeholder_1}+{placeholder_2}%

tender vaporBOT
#

@lilac oxide,

Hey!

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

lilac oxide
#

._.

silver minnow
#

mUtE

worldly egret
#

When I do /papi ecloud download Skript and do /papi reload it doesn't download, and doesn't show up in the list.

#

And, i can't download it manually because i'm using minehut.

lilac oxide
#

are you looking for a fix to problem one or two? :p

#

because I'd say moving off minehut is your best bet

worldly egret
#

One

#

i'm just saying that I can't download it manually

silver minnow
#

problem 3 = using skript

#

imagine not having a plugin to install other plugins to bypass minehut smh

lilac oxide
#

fix that, and boom probably one is fixed

silver minnow
worldly egret
#

no like, i can't download manually because of minehuts stupid file manager

#

its not a issue

lilac oxide
silver minnow
#

idk if minehut has things to prevent that tho

silver minnow
#

good point

#

lol

lilac oxide
rare lily
#

Skript is a scripting language, so probably because of the same thing that you can't download custom plugins there

silver minnow
#

skript 🥲

rare lily
#

Aternos blocked JS-Expansion as well 🥲

#

I mean, .js file is blocked

lilac oxide
#

it did? LOL

#

I remember using aternos

#

thinking I could create the next hypixel on there

silver minnow
#

oh

#

so they have things to prevent

#

wait

lilac oxide
#

oh smart dkim

silver minnow
#

what if u make expansion to papi

lilac oxide
#

yes

#

go do that

silver minnow
#

then that expansion downloads plugin

#

to bypass minehut

#

lol

#

just get cube to verify the expansion

#

ez

lilac oxide
#

/papi ecloud download AntiMinehutBypassSystem

silver minnow
#

and then /papi parse me %jardownloader_https://blahblah%

#

lol

silver minnow
#

(btw this is all /s im not going to do this xD)

silver minnow
turbid tide
worldly egret
#

update: its in my files, its just the command is broken

turbid tide
#

the one from the ecloud is broken

#

that's what I'm saying

barren citrus
#

Anyone know what this means? it spams console every 30 seconds

[PlaceholderAPI] Plugin PlaceholderAPI v2.10.9 generated an exception while executing task 2145
java.lang.NullPointerException: null
lilac oxide
#

Or just an NPE with no stacktrace

cold temple
#

Heya, I've been trying to find a few placeholders not sure if they exist. I'm looking for a placeholder that displays the display name of the last mob you hit, a placeholder that ill display the mobs current health, and a placeholder that will display the mobs max health. Any ideas where I can find these?

wheat mica
#

Could not pass event PluginDisableEvent to PlaceholderAPI v2.10.9
is this is the bug?

silver minnow
#

should look like spam

wheat mica
#

yes

errant iron
#

okay now that is weird, it's trying to unregister itself asynchronously?

quiet acorn
#

How can I make a top 5 balance in my scoreboard, when using Eco bal formatted, it doesnt work, idk why pls help

reef sparrow
#

hi, sorry if im in the wrong place, im using the local time placeholders id's but it's not showing the correct time as the clocks went forward an hour recently, i've tried GMT with a +1 but it's not working?

reef sparrow
#

I'm GMT but the + does not seem to work

#

they dont work

turbid tide
#

is your country's capital not on the list?

#

bcz I am gmt+2 but I can use my country's code which is Europe/Bucharest And it shows the correct time

#

which is 21:08 now

#

instead of 20:08

reef sparrow
turbid tide
#

but what country do you live in?

reef sparrow
#

the only place that theres a Greenwich and a London, aka England

#

i just gave you a link showing all that i've tested and confirmed all are 1 hour behind

turbid tide
#

wait so now its 18:11 in england? Or is it 19:11

reef sparrow
#

the + isn't working for some unknown reason

turbid tide
#

bcz %localtime_timezone_Europe/London% shows 19:11

#

which is what google also shows

reef sparrow
#

yes it's 7:11pm, but on my Server scorebaord with that very same placeholder, it's saying 18:11

turbid tide
#

what if you do it with /papi parse me %localtime_timezone_Europe/London%

#

also do /papi info LocalTime and tell me what version you got

reef sparrow
#

i downloaded them all already but i'll try again

#

i just figured out the issue %localtime_timezone_<Europe/London>%

#

<>

#

thanks for the help

errant iron
#

🧠

reef sparrow
#

the underscores are there, discords just removed them, not figured out how you do that code place on here

pine moon
#

it wont work with balancetop config:

Balance:
  location: world, -63.500, 78.500, -86.000
  lines:
  - '&e%vault_eco_top_player_1% %vault_eco_top_balance_formatted_1%'
  - '&e%vault_eco_top_player_2% %vault_eco_top_balance_formatted_2%'
  - '&e%vault_eco_top_player_3% %vault_eco_top_balance_formatted_3%'
  - '&e%vault_eco_top_player_4% %vault_eco_top_balance_formatted_4%'
  - '&e%vault_eco_top_player_5% %vault_eco_top_balance_formatted_5%'
  - '&e%vault_eco_top_player_6% %vault_eco_top_balance_formatted_6%'
  - '&e%vault_eco_top_player_7% %vault_eco_top_balance_formatted_7%'
  - '&e%vault_eco_top_player_8% %vault_eco_top_balance_formatted_8%'
  - '&eYour balance is: &a$%vault_eco_balance_formatted%'```
pine moon
reef sparrow
turbid tide
errant iron
#

damnit

pine moon
#

i did that :/

errant iron
#

and it still didn't work?

pine moon
#

correct

errant iron
#

it worked for the other guy who had the exact same issue literally seconds ago

#

did you delete the old one?

pine moon
#

delete what?

errant iron
#

the newer version of the vault expansion

turbid tide
#

also /papi info Vault

#

to make sure you have the correct one

pine moon
turbid tide
#

yeah

#

go to plugins/Placeholderapi/expansions

errant iron
#

yeah that's the new one

turbid tide
#

and delete the Vualt-Expansion.jar

pine moon
#

ok

turbid tide
#

or whatever it is called

#

and then do /papi ecloud download vault 1.5.2 then /papi reload

errant iron
#

oy @turbid tide what's the command for the versions of vault expansion

turbid tide
#

you just go to the ecloud

#

I din't think there's a command

errant iron
#

nah there definitely is

#

it lists out all the versions and stuff

#

i've seen it before

turbid tide
#

hmm. idk. /papi ecloud info vault returns the info for the latest version

pine moon
#

still doesnt work

turbid tide
#

/papi parse me %vault_eco_top_player_1%

#

what does it return?

pine moon
errant iron
#

uh

#

well it works in your chat

#

but not in your scoreboard?

turbid tide
#

/hd reload

#

to reaload the hologram

pine moon
#

ok it works

errant iron
turbid tide
#

or the hologram won't update

#

like this: - '{fast}&e%vault_eco_top_player_1% %vault_eco_top_balance_formatted_1%'

pine moon
#

ok

#

do i use {fast} or {fastest}

turbid tide
#

whichever you want. I usually use fast or slow I think. bcz I don't need it to update every 0.1 second

#

s

pine moon
#

ok

tender vaporBOT
stiff dome
#

Hello, I'm having difficulties using PAPI in my plugin. I've followed all the steps on this guide https://bit.ly/3czNbJ9 yet it does not recognize any methods

trim mist
#

Did that really need a bitly link?

wintry meteor
#

Hi, How i can show time with %placeholder%, to it look like this [Cant show picture]

turbid tide
#

?imgur

tender vaporBOT
#
FAQ Answer:

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

wintry meteor
turbid tide
#

what do you mean by 2 digit?

wintry meteor
#

Minutes+Second, then hours+minutes then day+hours

#

Simply to it show Only Two Digit in Scoreboard

smoky spoke
#

got any idea to make it so when i parse players with console, it wont say anything?

sacred frigate
#

Is there a placeholder for the direction a player is looking?

trim mist
#

-papi player

#

Hello Bot

#

I think it died.

#

Possibly %player_direction%

sacred frigate
#

Thanks

violet loom
#

hi
i wanna add a placeholders of a plugin called clansystem, but whenever i go to essentials, the part of config
format: '%clansystem_clan% &7{DISPLAYNAME}&8:&f {MESSAGE}'
and add this placeholder , it doesnt work, just break the config, am i doing something wrong, do i have to set up first the plugin to accept the placeholder, or something?

turbid tide
tepid tulip
#

can anyone help me. I have dynmap plugin but the site says I have to use placeholder.

lofty patio
#

%mcmmo_level_<skillname>% doesnt work...
But order placeholders from mcmmo work

errant iron
#

Doesn't work as in, when you do /papi parse me %mcmmo_level_<skillname>%?

#

Or like, in a hologram or something

lofty patio
#

Yes

#

I get on chat this, what i write

#

(No placeholder)

#

Every placholders with <skillname> dont work

errant iron
#

Which skills have you tried?

lofty patio
#

Repair, Mining, Axes

#

Most

errant iron
#

do you include caps?

lofty patio
#

Ye

errant iron
#

try lowercase

#

/papi parse me %mcmmo_level_acrobatics%

lofty patio
#

One second 😅

#

Nope

#

Doesnt work

errant iron
#

what version of the mcmmo placeholder extension do you have?

#

oh there's only one version

#

hmmm

lofty patio
#

I used today /papi ecloud download mcmmo

errant iron
#

that is very weird that it doesn't work for just that placeholder

#

You have levels in those skills, right?

#

like that should return 5 or somthing?

lofty patio
#

Yes

#

0-1000

errant iron
#

yeah I have no clue honestly

#

maybe @turbid tide

tender vaporBOT
#

@errant iron,

Hey!

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

errant iron
#

if he's awake

lofty patio
#

Maybe skillname is something like skill_mining

#

Hah

#

Idk

errant iron
#

yeah that's what I was thinking

#

I tried looking for like an enum in the code, but I couldn't find anything besides just package names

lofty patio
#

I go sleep heh
Ping me please when someone gives me answer

woeful compass
#

can i put placeholderapi.jar in the bungeecord plugins directory

turbid tide
#

yet

turbid tide
lofty patio
#

ok

#

thanks

reef sparrow
#

when using local time time zone placeholder, is there a way to not have the date, only the time?

turbid tide
#

you can use the time formatting

#

%localtime_timezone_Europe/Bucharest_HH:mm% for example

reef sparrow
#

you still get the date

turbid tide
#

ah its , not `_

#

%localtime_timezone_Europe/Bucharest,HH:mm%

#

here this one should work ^^^

reef sparrow
#

thank you bud, appreciated as usual

turbid tide
#

no problem 👍

real oracle
#

I'm trying to use the server expansion and whenever i use %server_name% it evaluates to A Minecraft Server
I'm not sure where to change that as i've changed it in my server.properties bungee config and everywhere else i can think to change it
does anyone here know where i would be able to change the server name so that placeholder works properly

turbid tide
real oracle
#

pog ok

cold crown
#

Hi i downloaded mcmmo placeholder via command /papi ecloud download mcmmo and then i did /papi reload, but it returns No expansions were registered!

warm topaz
#

any errors when running the command?

cold crown
#

when i try to use the placeholders via command /papi parse me %mcmmo_power_level% it just returns %mcmmo_power_level%

errant iron
#

okay so you might need to download the mcmmo expansion manaully

cold crown
#

oh there is a error

#

[PlaceholderAPI] Failed to load placeholder expansion from class: pw.valaria.placeholders.mcmmo.bridge.McMMOPlaceholderExpansion

errant iron
#

oh

warm topaz
#

there should be more

#

paste the whole thing please

#

?paste

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
HelpChat Paste - Usage
Hastebin

cold crown
vocal imp
#

Does anyone here have experience using the token enchant java script for things like stores with DeluxeMenus?

errant iron
cold crown
#

i updated it last week

errant iron
#

okay, which version would that be?

cold crown
#

hold on

#

oh

turbid tide
#

also /papi info mcmmo

#

for expansion version

cold crown
#

i did not install mcmmo on that server

#

sorry

#

wow

#

that is my fault for wasting your time

turbid tide
#

no worries

vocal imp
#

ill give someone a cookie if they can help me with my issue

errant iron
#

you didn't say what your issue was

#

you just asked if anyone has experience with it

vocal imp
#

there is an issue behind, and that being that for some reason (and I've followed all of the instructions) the shop isn't working and I'm not too entirely sure why, in fact it was actually working a few days ago and sorta just stopped working overnight? I haven't updated any of the plugins or anything, so I'm unsure as to why the token shop stopped working

turbid tide
#

?paste

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
HelpChat Paste - Usage
Hastebin

turbid tide
#

paste your menu here ^

#

and what about isn't working? Does it load? Can you open it? Can you buy?

vocal imp
#

It loads, but you can't buy anything with it, and I'm extremely confused on that bit because just about a day or two ago when I first set it up it was working perfectly

turbid tide
#

what does it return?

vocal imp
#

214094570.616

#

Im guessing thats how many tokens I currently have

turbid tide
#

it doesn't return a fixed number

#

who made that %javascript_tokenenchant_token% placeholder?

vocal imp
#

Vk

turbid tide
#

and tell me exactly what it says?

vocal imp
#

function tokenenchant_token() {
return "%tokenenchant_token_num%".replace(/,/g, '');
}
tokenenchant_token();

Im going to try and replace _num with %tokenenchant_token%

#

214094571

turbid tide
#

then use that. don't use the javascript one

#

you don't have any reasons to

#

the javascript probably was made before this one was added

vocal imp
#

I changed the js tokenenchant_token to
function tokenenchant_token() { return "%tokenenchant_token_long%".replace(/,/g, ''); } tokenenchant_token(); and now it's working as intended

turbid tide
#

yeah

vocal imp
#

which is really confusing to me because a few days ago when I first set it up it was working with the original one

turbid tide
#

but you can just use %tokenenchant_token_long%

#

you don't have to use the javascript one

#

that's just more useless operations

vocal imp
#

gotcha, thanks for taking a loot into that

lone narwhal
#

hello i need help

#

palceholders not working

warm topaz
#

which placeholder and where are u using it

lone narwhal
#

%player_name% placeholderAPI 2.10.9

turbid tide
#

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

execute those commands ^

lone narwhal
#

thx

lone narwhal
#

is possible make bouht permissions?

turbid tide
#

what do you mean/

lone narwhal
#

requirements:
example_3:
permission: deluxemenus.vip
type: has money
amount: 40000
deny_commands:

#

only for this one item

turbid tide
#
      requirements:
        example_3:
          type: has permission
          permission: deluxemenus.vip
        example_4:
          type: has money
          amount: 40000
      deny_commands:```
#

you can have multiple requirements per item

orchid thistle
#

hey guys

fluid chasm
#

is there any bungee_slots placeholder?

narrow cloak
#

Is it possible to do math inside of a placeholder? so in deluxe menus i would have a price displayed as for instance 250 but im useing auto sell witch has multipliers would there be a placeholder than can times that 250 value by say 2

#

i know in papi there is %math_<math expression>%

barren citrus
meager flume
#

Hi guys, there is a placeholder that gets the amount of player in a specified gamemode?

#

I asked the same question a few months ago and you told me you were working on it

near willow
#

how to use bedwars1058 top placeholders?

turbid tide
# fluid chasm is there any bungee_slots placeholder?

by that you mean how many slots are in total in a server? If that's what you mean then no. If you mean how many players are online on a server then you can use %bungee_<server-name>%. You need to execute these commands first: /papi ecloud download Bungee then /papi reload

turbid tide
turbid tide
turbid tide
turbid tide
scenic zodiac
#

Hi

#

I need help with PlaceholdersAPI

austere hawk
#

if the lore of an item has this, &1 and no text then can checkitem find &1 ?

turbid tide
#

I think the best way to check is to try it. but I don't think it will

scenic zodiac
#

[15:52:11 WARN]: [PlaceholderAPI] Loaded class javassist.d from LuckPerms v5.3.3 which is not a depend, softdepend or loadbefore of this plugin.
[15:52:11 INFO]: [PlaceholderAPI] Fetching available expansion information...

#

What with this?

turbid tide
#

you can just ignore

scenic zodiac
#

Ok thanks you

#

thank you*

austere hawk
#

how do i makea list thing wihth tis

turbid tide
austere hawk
#

well im under the placeholder api thing so ?

#

maybe PLaceholder API ?

#

how do i make a monet tab thing

turbid tide
#

like a top money list?

austere hawk
#

no likea money thing so it says how much money the player has

#

so say i have 2000$ and a friend has 1000 it will say i have 1000$ on my screen instead of using commands to checkl

#

I have a problem with the vault placeholders

#

%vault_rank% in deluxehub plugin in scoreboard not working

turbid tide
#

/papi parse me %vault_Rank% what does it say?

austere hawk
#

its Still send %vault_Rank%

turbid tide
#

/papi ecloud download Vault then /papi reload

#

execute these 2 commands ^

austere hawk
#

i do it

#

It still did not work

turbid tide
#

do you have the Vault plugin installed?

austere hawk
#

ye

turbid tide
#

can you do /papi ecloud list installed then

#

and see if Vault is there?

#

also /papi dump if its not

#

and give the link here

austere hawk
#

It shows that there is

#

Is it related to the server on bungeecord?

#

so how do i set up the placeholder for money?
?

turbid tide
austere hawk
#

i have vault

turbid tide
austere hawk
#

ye

#

i got vault @turbid tide

turbid tide
austere hawk
#

all placeholders of balance work but ranks no

#

i did use them

#

nothing happened lol

turbid tide
#

and use %luckperms_rank%

austere hawk
#

no i use vault

#

Send you a picture?

#

What to do??

turbid tide
austere hawk
#

vault!!!

#

%vault_rank%

#

not work!!

turbid tide
#

but Vault is not a permission plugin tho....

#

you need LuckPerms or Pex or GroupManager

#

Vault is just a bridge

#

to make developers life easier

austere hawk
#

I want to send you a picture

turbid tide
#

you don't need to send FR. you can just send DM

#

I don't have the blocked

austere hawk
#

you give me block

turbid tide
#

no lmao. I think you blocked your DMs

#

my DMs are always open

#

its yours that are not

#

you can just use imgur

#

?imgur

tender vaporBOT
#
FAQ Answer:

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

turbid tide
#

and send the photo here

austere hawk
#

see

turbid tide
#

but you said you have no rank plugin.. That's why it doesn't work

turbid tide
austere hawk
#

The server also has luckperms

#

It should show default but it does not show

turbid tide
#

can you do /papi dump please?

austere hawk
#

I did

turbid tide
#

did you send the link over/

#

I might've missed it

austere hawk
#

ok

turbid tide
#

no you didn't send it. can't find it anywhere

#

when you do /papi dump you should get a link

#

in chat

austere hawk
#

i get

#

what now?

turbid tide
#

ok so I took a look at the dump and according to it you don't have any Permissions plugin installed

turbid tide
#

well there's your problem... PAPI doesn't support bungee. you need LP on your backend servers as well

austere hawk
#

Okay I'll try now

#

Thank you very much works great

tender vaporBOT
#
Hey!

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

narrow cloak
#

Ok so why is my alt getting 0 from %math_0:_25.50*{autosell_total_multiplier}%

#

and my account with all permission gets $38

turbid tide
#

do /papi parse me %autosell_total_multiplier%

#

what does it return?

narrow cloak
#

for me 1.5

#

for my alt 0

#

which explains why its 0

turbid tide
#

I see that makes a lot of sense xD

#

try %math_0:_25.50*({autosell_total_multiplier}+1)%

#

then

narrow cloak
#

it shows 26

turbid tide
#

oh wait

narrow cloak
#

what i could do is just do 25 and at the end make it +.5

turbid tide
#

%math_2:_25.50*({autosell_total_multiplier}+1)%

#

here

narrow cloak
#

that returns the correct value

turbid tide
#

you can just change that 2:

narrow cloak
#

but then that conflicts with the multiplier i think

turbid tide
#

to 5 for example

#

and it will return a max of 5 decimals

#

if you want more correct values

narrow cloak
#

so my multiplier of 1.5 returns 63.50 if i use the placeholder above

#

it should return 38.25

turbid tide
#

ugh but multipliers start from 0

narrow cloak
#

but im thinking of making all players use a multiplier of 1

turbid tide
#

so 0 multiplier means 1

#

actually

narrow cloak
#

or .50

#

so i made a default multiplier thats 1 and its working just fine now

#

thanks for the help

turbid tide
#

👍

stark stag
#

Hi is there something like a placeholder that returns if specified player is online or offline?

turbid tide
stark stag
#

and the results are offlne or online yeah?

turbid tide
#

they're yes or no

stark stag
#

can i change them somehow?

#

i need them in polish so "yes" and "no" does not fit :/

mortal chasm
#

If I am using this papi %mmocore_guild_tag% in essentials chat, which uses {}. What does the conversion format look like?

turbid tide
#

But you can install ChatInjector (plugin) and then you'll be able to use them by replacing %% to {}

narrow cloak
#

so im strugglieng with the placeholder again lol

turbid tide
narrow cloak
#

so the math placeholder shows $15 a block and im selling the one block for $30

turbid tide
#

what's the math?

#

the placeholder*

narrow cloak
#

%math_0:_35.95*{autosell_total_multiplier}%

turbid tide
#

or is it the same one I gave above?

narrow cloak
#

it doesent have the +1 in it

#

it was the first one you showed me

turbid tide
#

what's your autosell multiplier?

#

/papi parse me %autosell_total_multiplier%

#

rn

narrow cloak
#

1.0

#

is the multiplier

mortal chasm
#

@turbid tide thanks ill try that!

narrow cloak
#

but when i go to sell it says 2.0

turbid tide
#

I think that the multiplier doesn't count the default one

#

bcz no multiplier can be 0

#

its 1

narrow cloak
#

o ok so i wonder how it could be fixed

turbid tide
#

add the +1 back I guess

narrow cloak
#

kk

turbid tide
#

well gtg now. Someone else will probably try and help if I'm not around.

narrow cloak
#

kk

#

i think the plus one will fix it

#

that +1 made it more acurate

#

thanks for the help

violet isle
#

How do I know if an expansion placeholder is safe for my computer?

#

I found it on ecloud but I'm afraid to download it

turbid tide
#

also a lot of them are Open Source so you can check the code yourself

violet isle
#

Ok thanks!

meager cloud
#

does somone know why my staff facilities doesn't work

woeful compass
#

how do i use the %localtime_time_<SimpleDateFormat>%
I did %localtime_time_yyyy/MM/dd%

i feel so dumb

austere hawk
#

Hi I have hungergames and all the other maps are in different worlds, can I combine the players from those worlds so it says on a npc how many players are online on the top of there name

paper grail
#

Hello

errant iron
#

sup bro

paper grail
#

um

#

well

#

I've got a basic javascript placeholder going

#

literally ive done nothing just copied code from the github community projects lol

#

but I get a strange error in my console when i attempt to eval the placeholder

#

I searched for "TypeError: invokeMember" in this channel

#

and realized I have to change my JS engine from nashorn to graal

#

but the error still persists!

#

this

#

tbh i probably just have to update papi lol

#

nope

#

still broken :(

#
[07:35:47 WARN]: javax.script.ScriptException: org.graalvm.polyglot.PolyglotException: TypeError: invokeMember (getMotd) on JavaObject[CraftServer{serverName=Paper,serverVersion=git-Paper-576,minecraftVersion=1.16.5} (org.bukkit.craftbukkit.v1_16_R3.CraftServer)] failed due to: Unknown identifier: getMotd
[07:35:47 WARN]:        at org.graalvm.js.scriptengine/com.oracle.truffle.js.scriptengine.GraalJSScriptEngine.eval(GraalJSScriptEngine.java:381)
[07:35:47 WARN]:        at org.graalvm.js.scriptengine/com.oracle.truffle.js.scriptengine.GraalJSScriptEngine.eval(GraalJSScriptEngine.java:356)
[07:35:47 WARN]:        at java.scripting/javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
[07:35:47 WARN]:        at com.extendedclip.papi.expansion.javascript.JavascriptPlaceholder.evaluate(JavascriptPlaceholder.java:116)
[07:35:47 WARN]:        at com.extendedclip.papi.expansion.javascript.JavascriptExpansion.onPlaceholderRequest(JavascriptExpansion.java:169)
[07:35:47 WARN]:        at me.clip.placeholderapi.PlaceholderHook.onRequest(PlaceholderHook.java:31)
[07:35:47 WARN]:        at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:156)
[07:35:47 WARN]:        at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:69)
[07:35:47 WARN]:        at me.clip.placeholderapi.commands.impl.local.CommandParse.evaluateParseSingular(CommandParse.java:115)
[07:35:47 WARN]:        at me.clip.placeholderapi.commands.impl.local.CommandParse.evaluate(CommandParse.java:57)
..etc...r.blahblahblah```
#

I may just be using BukkitServer wrong

#

however im not lmao

#

..It's literally using fucking graal.js, how is this not..working??

errant iron
#

Sounds like getMotd isn't a method for the JS bindings

paper grail
#

I don't understand how

errant iron
#

failed due to: Unknown identifier: getMotd

paper grail
#

yes but

errant iron
#

Obviously it doesn't know what getMotd is

paper grail
#

In the advanced section of javascript on PAPI's github

#

It claims BukkitServer represents the craft server bukkit object or whatever

#

it's literally pointing to the bukkit object, which means I should have access to the bukkit methods

errant iron
#

Not if they weren't rewritten in JS

paper grail
#

well

#
var server = BukkitServer;

function getMotd() {
    var motd = server.getMotd();

    return motd;
}

getMotd();```
#

"Just like the player, the server is also passed along to the placeholder script when called. The server may be accessed using BukkitServer. After receiving, you can access all of the server methods included in the Spigot API.

Here is an example that will display the Server's MOTD through a placeholder."

#

"After receiving, you can access all of the server methods included in the Spigot API."

#

this is literally the default script

errant iron
#

what version was that for?