#placeholder-api

150650 messages · Page 77 of 151

mint fable
#

is this from a papi expansion? which ones you got

buoyant berry
#

just the luck perms one

mint fable
#

and if you remove it does it still happen

plush nexus
#

Hi, how can I use bold formatting when using the gradient placeholder? I've tried placing &l before the placeholder and inside as well but neither seem to work, any ideas?

austere hawk
#

Why is giving this error if the placeholderAPI is in the plugins folder? ould not load 'pluginsPlaceholderAPI-2.11.1.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/google/gson/Gson
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[spigot.jar:git-Spigot-c3c767f-33d5de3]

turbid tide
turbid tide
sharp jay
#

it doesnt

#

none of them do

plush nexus
#

Gotcha, thanks!

austere hawk
tender vaporBOT
austere hawk
#

Could not load 'plugins\PlaceholderAPI-2.11.1.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/google/gson/Gson
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[spigot.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugins(CraftServer.java:291) [spigot.jar:git-Spigot-c3c767f-33d5de3]

turbid tide
#

could you possibly send a full startup log over?

tender vaporBOT
vivid sparrow
#

use at least 1.8.8 @austere hawk

turbid tide
#

oh. is that 1.8? I see

austere hawk
turbid tide
#

yes

austere hawk
#

oh

#

worked kakakakak thank you!!!]

jaunty zephyr
#

Issue with checkitem expansion when trying to use the getinfo modifier

#

Latest version of checkitem 2.4.2

sharp jay
#

worked for me

#

displayed "yes"

turbid tide
turbid tide
severe wharf
#

Hello friends, well, first I'm using Google translator, so if you have any spelling mistakes, you know why.
Well I have a problem with the Placeholder API, I'm using a plugin to create commands, and it supports the PlaceholderAPI, I created a /server command to show information such as players on and the like, I gave /papi ecloud download Server, it downloaded normally, but I gave /papi ecloud download MVDW and it downloaded normally, hooked it up here, but when I put the placeholder in the chat, it doesn't appear. looks like this: Check it out below!

#

Now that I've seen it, I can't send a print, but the placeholders that contain %% work, but the ones I want to use are the MVDW's, they're in {} and they're not going, even though I put them in %%, if someone can tell me help, please call me in my private, and I'll send prints, thanks for your attention!

mint fable
#

I could make it return all the info ig

#

sort of hard to sort through, but 🤷‍♂️

mint fable
mint fable
jaunty zephyr
#

O, thank you!

#

Does it return all the checkitem modifiers on the item?

mint fable
#

if they exist

#

so by default, material, amount, and data will get returned

#

You can filter it out via regex easily as I added prefixes

#

mat:STONE amt:5 data:0

jaunty zephyr
#

How do I use the checkitem NBT parsing to check for Damage on an item?

#

None of my attempts with NBT ints and strings worked before

mint fable
#

how much damage the item does?

#

checkitem nbt is only custom tags

#

like CustomModelData

sand junco
#

NBTInt damage = this.nbt.getTagOfTypeOrNull("Damage", NBTInt.class);

#

I'm taking the literal interpretation of "Damage" here

mint fable
#

@jaunty zephyr ?

jaunty zephyr
jaunty zephyr
#

Since that is technically an NBT tag

mint fable
#

that would be data

#

actually it falls under data and nbt tag Damage

jaunty zephyr
#

Ty

mint fable
#

notice the lowercase nbt now

tight veldt
#

Help!

tender vaporBOT
severe wharf
#

Hello friends, well, first I'm using Google translator, so if you have any spelling mistakes, you know why.
Well I have a problem with the Placeholder API, I'm using a plugin to create commands, and it supports the PlaceholderAPI, I created a /server command to show information such as players on and the like, I gave /papi ecloud download Server, it downloaded normally, but I gave /papi ecloud download MVDW and it downloaded normally, hooked it up here, but when I put the placeholder in the chat, it doesn't appear. looks like this: Check it out below!
Now that I've seen it, I can't send a print, but the placeholders that contain %% work, but the ones I want to use are the MVDW's, they're in {} and they're not going, even though I put them in %%, if someone can tell me help, please call me in my private, and I'll send prints, thanks for your attention!

mint fable
#

?imgur

tender vaporBOT
mint fable
#

make sure to follow that format this

drifting snow
#

Hi, is there any expansion to return whether something is number or text

lament verge
#

Hey, I wanted to know if it was possible to give an item with a glowing effect (with checkitem)

stone thorn
#

Hey, can someone explain me the _math function

#

math_(%playerpoints_points%)>=(2500)% it says missing argument which is alright

#

but I only need to see if its the same or greater than, so not sure

lethal basin
#

use js for comparing

turbid tide
lethal basin
#

my bad then

turbid tide
turbid tide
#

its actually not even mentioned anywhere. it just mentions it uses EvalEx and gives a link to it.

quaint meadow
#

hey there ive attempted to run papi ecloud download vault

#

and papi reload

#

it dosnt actually register it

#

this is my papi dumb if anyone needs it

junior musk
#

do you get an error in console when you do /papi reload?

quaint meadow
#

no

junior musk
#

I think the expansion requires an economy plugin to be loaded

#

make sure you have one registered in /vault-info

quaint meadow
#

interesting interesting

lament verge
#

Hey, I wanted to know if it was possible to give an item with a glowing effect (with checkitem)
papi parse %player_name% %checkitem_give_mat:phantom_membrane%

quaint meadow
#

its a null for econy

junior musk
#

then why do you need the Vault Expansion? 🤔

quaint meadow
#

for venturechat

junior musk
#

what do is require?

#

I mean, what do you want to show?

quaint meadow
#

i am currently running and manging a waterfall networ

turbid tide
#

@quaint meadow you have 2 vault expansions. delete them both, run /papi reload then run the download command once and the reload again

quaint meadow
#

kk

turbid tide
junior musk
#

oh true, but still why would you need the vault expansion ? since you've got no economy plugin, there's not really a point 🤔

quaint meadow
#

ventruechat requirements

junior musk
#

it just requires the plugin

#

not the PAPI expansion

turbid tide
lament verge
junior musk
quaint meadow
#

well uh in their docs / plugin info it states i need to install papi vault

turbid tide
junior musk
#

I guess

lament verge
junior musk
#

that just for placeholders

junior musk
#

but are you using the Vault placeholders?

#

if you don't, then you don't need the expansion

quaint meadow
#

wait so papi isnt the reason the plugin aint

#

loading

#

what

#

im not just plain confused

#
[13:19:47] [Server thread/INFO]: [VentureChat] Enabling VentureChat v3.3.1
[13:19:47] [Server thread/INFO]: [VentureChat] - Initializing...
[13:19:47] [Server thread/INFO]: [VentureChat] - Config found! Loading file.
[13:19:47] [Server thread/INFO]: [VentureChat] - Checking for Vault...
[13:19:47] [Server thread/INFO]: [VentureChat] - Could not find Vault and/or a Vault compatible permissions plugin!
[13:19:47] [Server thread/INFO]: [VentureChat] Disabling VentureChat v3.3.1
[13:19:47] [Server thread/INFO]: [VentureChat] - Disabling...
[13:19:47] [Server thread/INFO]: [VentureChat] - Disabled Successfully

Cus in my logs it stated that vault was missing but it actually existed

junior musk
quaint meadow
#

wait that makes some sense now

#

ive only installed luckperms on the proxy at the moment

junior musk
#

you will need it on the Spigot server as well to manage Spigot permissions

quaint meadow
#

okay that makes sense now

junior musk
quaint meadow
#

Thanks alot

#

it works now!

junior musk
#

👍

smoky spoke
#

i need help from the changeoutput dev

#

the placeholder breaks if i attempt to use {player_name} when the player has an underscore in the name

warm topaz
#

im aware of this issue

#

will find some time to fix it eventually

#

for now id recommend converting ur placeholder into a javascript placeholder

smoky spoke
#

is it possible to convert all of the %player_name% placeholders into a javascript placeholder?

warm topaz
#

what is ur entire changeoutput placeholder

smoky spoke
#

%changeoutput_<_{mmocore_profession_experience_QUEST_003_003}_6_mycmd-runas {player_name} /system-iron-shard-formed-to-iron-ingot_%

#

im using {player_name}

#

that's not the 1st version as i thought using mycommand would somehow fix something

warm topaz
#
function smth() {
  var profession = parseInt("%mmocore_profession_experience_QUEST_003_003%")
  if (profession < 6) {
    return "mycmd-runas %player_name% /system-iron-shard-formed-to-iron-ingot"
  }
  return ""
}
smth()```
that might work idk, u just need to put this into a js file with the js expansion
smoky spoke
#

just asking, what's the estimate time for the ign underscore fix before i go through all of the placeholders that needs revamps?

#

no rush

warm topaz
#

¯_(ツ)_/¯

#

its a lot more complicated than expected, i have an idea of how to fix, but i just need to figure out how to actually to do it
ill take another look at it soon

smoky spoke
#

👍 ty

zinc wren
#

enyone hel pme

#

help me

jaunty zephyr
jaunty zephyr
#

most notably %checkitem_inhand,nbtints:Damage=586%

#

where 586 is the damage of the tool

#

Just says no even though it should be saying yes

mint fable
#

Does it return that in getinfo?

#

You might have to specify a material

jaunty zephyr
#

Get info returns INTEGER:Damage:586 I believe

#

Also wdym specify a material

zinc wren
#

Can enyone help me pls???

#

pls

#

the %luckperms_prefix%

#

dont work

mint fable
#

Also are you on the latest version @jaunty zephyr ? 2.5.2

#

if you used /papi ecloud download checkitem it sometimes takes a while after I upload it

mint fable
jaunty zephyr
#

I am on 2.5.2

#

also my end goal requires it to not have a material check, but that would be weird if it does require it

#

%checkitem_inhand,mat:DIAMOND_AXE,nbtints:Damage=586%

#

Tried this and it still doesn't work

#

I see what you mean about data being 586 though

slate adder
#

why when i enter this command: /papi ecloud download ScoreboardObjectives
i have this message:
Input command ecloud was not a valid subcommand!
ecloud download ScoreboardObjectives
usage:/papi

solemn jay
#

How to set deluxe menu that the nether star will be in our last inventory slot

solemn jay
#

Ok

distant token
#

I'm trying to have the placeholder %playerlist_online,nearby,no,amount,50% for players on a scoreboard, but it shows vanished players, is there a simple way of hiding them?

golden cloud
#

Hi! I got some questions for parseother extension? Why is it that this returns to yes even though the player is offline
/papi parse me %parseother_{Requesta}_{player_online}%
Glad someone could help me :>

golden cloud
#

But when i do
/papi parse Requests %player_online% it will say no?

jaunty zephyr
#

Any luck on the dev end?

brazen dragon
#

Hi I've got a problem with world time %world_time_my_world% will not return any time. Seems to be a problem with the _ in the world name. Worlds without _ in the name work fine.

sharp jay
#

@brazen dragon mind screenshotting exactly what it displays?

brazen dragon
#

It's empty. Nothing.

wide reef
#

looks like the issue has been around since atleast august 10th

#

the issue is with how args are parsed,
String[] args = params.split("_");
this would split world_nether into 2 seperate args which would cause an issue cause how getWorld works is that it gets the arg length -1, which would then get the world called nether.

#

a fix for this could be to change how the args are parsed or use a loop to piece the worldname back together

mint fable
#

does it work if you do data:586 though?

jaunty zephyr
#

Yes

#

Not sure why data is the damage value but

mint fable
#

always has been

#

like, before Damage was a thing

#

it was data

#

and it still is data 😂

jaunty zephyr
#

Strange

#

So does that mean data for all blocks defaults to 0?

jaunty zephyr
#

Interesting

mint fable
#

items that weren't damageable used to use data to store different types

#

like all logs were just log:0 log:1 log:2 log:3

#

the number being the data

slate adder
#

why when i enter this command: /papi ecloud download ScoreboardObjectives
i have this message:
Input command ecloud was not a valid subcommand!
ecloud download ScoreboardObjectives
usage:/papi

mint fable
#

do you have ecloud disabled in your papi config?

#

or maybe it's disabling due to connection issues

#

manual download direct link this

daring stream
#

Hi how to use on bungee?

#

I've serverlistplus on bungeecord

#

And i want to put a timer for the reset

#

But can't since placeholder isn't available on the bungeecord server!

carmine veldt
#

You can't use placeholderapi on bungeecord

daring stream
#

F

#

Okay

#

Uh ok

brazen dragon
# sharp jay <@!658736886084534284> mind screenshotting exactly what it displays?

[14:27:33 INFO]: sphings issued server command: /papi parse me %world_time_futurecity%
[14:27:43 INFO]: sphings issued server command: /papi parse me %world_time_futurecity_farmwelt%
[14:27:49 INFO]: sphings issued server command: /papi parse me %world_time_futurecity_nether%
[14:27:55 INFO]: sphings issued server command: /papi parse me %world_time_futurecity_the_end%

brazen dragon
#

%world_time_futurecity% gives back the correct ingame time. The other 3 commands will only return a cleared line

tender vaporBOT
brazen dragon
raw sail
tender vaporBOT
slate adder
#

...

turbid tide
raw sail
turbid tide
#

but there was an update fixing this

raw sail
#

Ah, okay. Thank you 😄

green totem
#

there is any aim placeholder?

#

x y z of the location im aiming

austere hawk
#

help

#

placeholderapi does not want me to detect vault

#

vult

#

vault

severe wharf
#

Hello friends, well, first I'm using Google translator, so if you have any spelling mistakes, you know why.
Well I have a problem with the Placeholder API, I'm using a plugin to create commands, and it supports the PlaceholderAPI, I created a /server command to show information such as players on and the like, I gave /papi ecloud download Server, it downloaded normally, but I gave /papi ecloud download MVDW and it downloaded normally, hooked it up here, but when I put the placeholder in the chat, it doesn't appear. looks like this: Check it out below!
Now that I've seen it, I can't send a print, but the placeholders that contain %% work, but the ones I want to use are the MVDW's, they're in {} and they're not going, even though I put them in %%, if someone can tell me help, please call me in my private, and I'll send prints, thanks for your attention!

#

I talked to the plugin developer and he said that the problem is in the papi or placeholderapi.

#

I've tried several ways and I didn't get any.

sharp jay
#

You dont need MVDW

#

what placeholders arent working

severe wharf
sharp jay
#

what extension is it??

#

did you install it

#

because each placeholder is depended on its extension

#

expansion*

#

this is how you use it

severe wharf
sharp jay
#

link me that page

severe wharf
#

I'm trying to use this site from this

sharp jay
#

is that MVDW

sharp jay
#

once again that plugin needs to support MVDW

severe wharf
#

I'm getting these placeholders and I try to use.

sharp jay
#

This server is for placeholderapi

severe wharf
#

So, it supports placeholderapi, all api placeholders with %% work, as long as I download it from papi ecloud donwload, now those from the MVDW that is from the site I sent you don't work

sharp jay
#

What plugin are you trying to put that CPU placeholder?

severe wharf
#

I don't have any plugin to check the CPU
I'm trying to pull the CPU through the placeholder

sharp jay
#

First did you type

/papi ecloud download MVdW
/papi reload

then did you use %mvdw_cpu_architect%

#

do you also have MVDW placeholders installed(the plugin)

severe wharf
#

Alright, I'll try and send prints.

severe wharf
#

I did what you suggested and it didn't work.

sharp jay
#

what does /papi list show

severe wharf
sharp jay
#

then the issue is MVDW

#

not papi

severe wharf
#

What should I do?

sharp jay
#

contact the MVDW developer as we cant do anything about that not working

severe wharf
#

Alright friend, thank you very much 😉

sharp jay
#

np

#

next time dont dm staff for support

severe wharf
#

I don't know how you guys work, here in Brazil this is super normal.

placid light
#

papi!

echo summit
#

hello

#

What kind of help is provided here?

austere hawk
#

They help with Minecraft plugins

forest anchor
#

how do I spoof ping of %ping% placeholder ?

devout rain
#

where did the placeholder of deluxetags go?

magic rock
austere hawk
#

He means papi parse %placeholder%

austere hawk
bright marlin
#

Hey i need support , The deluxe tags Papi , doesnt seem to be working with TownyChat , how can i fix this?

forest anchor
magic rock
#

you need to use JS expansion

lethal basin
#

if you want rand int use rng extension

magic rock
#

oh

#

but dont do that pls dont spoof pings

#

it's not good for anything

lethal basin
#

"xdd" is right

#

its nonsense

languid cairn
#

Placeholder %player% doesnt works

#

in voteparty plugin

warm topaz
austere hawk
#

How can i format current player xp in placeholderapi?

pliant stream
#

not sure if to report here, or viavesions server but i'm getting this message in console. Didn't happen before.

[PlaceholderAPI] Loaded class com.viaversion.viaversion.api.type.Type from ViaVersion v4.1.1 which is not a depend or softdepend of this plugin.```
#

it's actually happening for quite a few of the downloads via PAPI

vivid sparrow
#

Ignore that, is just a warning from spigot

pliant stream
#

👍

#

there's a ton of them now, just a heads up with the new paper build.

bright marlin
#

Hey i need support , The deluxe tags Papi , doesnt seem to be working with TownyChat , how can i fix this?

#

the format isnt working

#

the {deluxetags_tag}

novel moss
#

hi, does anyone know who maintains the checkitem extension?

celest heath
celest heath
novel moss
#

ah okay thanks, ill try to contact them

#

rip they have messages enabled to just friends

#

hi, your checkitem extension on placeholderapi is kinda broken, when using the getinfo argument with enchanted, it errors out if the item has no meta @mint fable

mint fable
#

Do you have the error?

novel moss
#

not rn let me get it in a sec

mint fable
#

?paste

tender vaporBOT
mint fable
#

should hopefully be a simple fix

novel moss
#

probably a meta check missing or something

mint fable
#

everything except material, amount, and data is stored in meta

#

if that statement is correct, I fix easily

novel moss
#

hope you can fix it soon 🙂

mint fable
#

actually not the issue

#

(the check)

#

what checkitem version are you on

mint fable
#

it's an OOB exception that I might've fixed in the latest version if you're not on it

#

2.5.2 is latest

#

?checkitem

tender vaporBOT
mint fable
#

you can try the manual download if /papi ecloud download checkitem is giving you the old version ||shouldn't be anymore, usually would only happen shortly after uploading it||

austere hawk
#

How can i format current player xp in placeholderapi? im trying to get it to say 1k instead of 1000 or 1m instead of 1000000

novel moss
tender vaporBOT
novel moss
#

at least thats what /papi info shows

mint fable
novel moss
#

its alright, ill wait, ill be grateful if you could ping me when you find a fix or something

vocal yew
#

Always getting this warning in console. Nothing seems broken. Just thought I'd report it. Running Paper -182 (1.18.1), PlaceholderAPI 2.1.1.1.
https://pastebin.com/7rUsVip9

ivory widget
#

Hello, little ask is it possible to put placeholder api on proxy? Or it need to be on all backends servers.

mint fable
#

all backend

#

@novel moss I believe I've fixed it, test it out and lmk if you have any issues

#

i'll upload if not

smoky spoke
#

hi i need help in javascript

#

how i return the variable number?

#

i want to return the value given by the variable profession on the bottom part

mint fable
#

couple things @smoky spoke , = is not a comparator, also don't you always want to return profession?

#

no matter if it's 4 or not?

smoky spoke
#

im just playing around since it's my first time using javascript

mint fable
#

ahh okay

#

I was gonna say, this makes no sense

#

at all

#

also, image for text = no bueno

#

?paste

tender vaporBOT
mint fable
#

?codeblocks

tender vaporBOT
mint fable
#

use == to compare numbers

smoky spoke
#

aight ty for the extra info

mint fable
#

and also you technically don't need to surround the 4 in quotes either

#

if you returned a number it gets converted to a string either way

smoky spoke
#

how do i make it return an int value instead of a double value

mint fable
#

didn't you parseInt?

#

it should already be returning the whole number (int)

smoky spoke
#

dunno. here's my script

function smth() {
  var profession = parseInt("%math_({mmocore_profession_experience_QUEST_001_001}>=33)+({mmocore_profession_experience_QUEST_001_002}>=33)+({mmocore_profession_experience_QUEST_001_003}>=9)+({mmocore_profession_experience_QUEST_001_004}>=161)%")
  if (profession >= 4) {
    return "4"
  }
  return profession
}
smth()```
imma try doing it again with a simple math equation
#
function smth() {
  var profession = parseInt("%math_0_1+1%")
  if (profession >= 4) {
    return "4"
  }
  return profession
}
smth()

it returned 2.0

mint fable
#

tf

#

okay... maybe try turning it to a string?

#

profession+""

smoky spoke
#

in the bottom return part?

mint fable
#

makes no sense

#

ye

smoky spoke
#

ye it worked ty

mint fable
#

wait

#

how were you testing it

#

/papi parse me %javascript_...?

#

so weird but I'm not a javascript professional so

smoky spoke
mint fable
#

ohhh ya know

#

I think a lot of the time I use .toFixed()

#

profession.toFixed(2) = 2 decimal places
profession.toFixed() = 0 decimal places

#

more info for ya

smoky spoke
#

tysm

#

man javascript fixes my issue on the underscore igns

mint fable
#

gotta love js

novel moss
pearl locust
#

where exactly would i change the value that the server expansion get %server_name% from?

vivid sparrow
#

Papi config

pearl locust
#

thank you

vivid sparrow
#

Np

pearl locust
#

anyone know how i can get the luckperms/vault prefix with the color code stripped from it, please ping if you respond

austere hawk
#

Hello, I use %math_0_10000000-{vault_eco_balance_fixed}% to give the missing money to the player, I would like to know if instead of having 10000000, have: 10,000,000 (with commas)? thank you

celest heath
celest heath
austere hawk
topaz lava
#

does the player expansion not support hex colored displaynames?

eager phoenix
#

Hey there.
I have a problem while requesting a cutsom placeholder

#

switch (param) { case "durability": if (player.getInventory().getBoots() != null && player.getInventory().getBoots().getType() != Material.AIR) { NBTItem boots = new NBTItem(player.getInventory().getBoots()); int durability = boots.getInteger("currentDurability"); return String.valueOf(durability); } return player.getName();

#

The player has boots and the obv. the type isnt air either.

#

But it still wont send back durability but the player name instead.

mint fable
#

you can probably use changeoutput if you wanted to switch it to false though

#

or js

eager phoenix
#

hello? :c

novel moss
eager phoenix
#

Anyone around?

mint fable
mint fable
eager phoenix
#

but i dont get it

#

i changed it to be boots are not null

#

and it still returns loading instead of the desired value

marble bison
#
        lore:
        - ''
        - '&6■ &fRank: &e#1'
        - '&6■ &fBalance: &a%vault_eco_top_balance_formatted_1%'
        - ''
        - '&a» &fYour Balance: &a%vault_eco_balance% «'``` currently have this as a baltop, and its not showing the top balance player or bal its a placeholder in the menu it self
turbid tide
#

see pinned messages for download and placeholder list

nova fjord
#

Is there a way to ping your localhost server with the Pinger placeholder expasion?

keen portal
vivid sparrow
#

Yeah, looks like I forgot to publish the update

marble bison
#
        material: basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjcyYzA1ZGQ3NjI4OGY0MzI4YTI0MzkxYmY0NzI1ZmQyMjYwNTkyZGIzY2Y5YjJiYzIwMzJkZDA1OTZjZjQ0MCJ9fX0=
        slot: 13
        display_name: '&b① &b&n%ajlb_lb_iridiumskyblock_island_bank_crystals_1_alltime_name%'
        lore:
        - ''
        - '&7■ &fRank &8» &b#1'
        - '&7■ &fBalance &8» &b%ajlb_lb_iridiumskyblock_island_bank_crystals_1_alltime_value% &b✵'
        - ''
        - '&3» &7Your Balance &8➔ &b$%iridiumskyblock_island_bank_crystals% ✵ &3« '``` currently the name is working same as the last line, but the value isnt showing up
keen portal
upper zinc
#

i cant get the playertime placeholder to work... i doublechecked if it was the right placeholder and that i installed the right one, but i did and it still won't work

#

it just shows %playertime_time_hours%

sharp jay
#

and you ran this /papi ecloud download playertime
/papi reload

upper zinc
#

i did run this

#

it still shows %playertime_time_hours%

#

any idea on how to fix it ?

#

the wiki says its called PlayTime not PlayerTime

#

please?

wet basinBOT
#

@sharp jay Unknown expansion.

sharp jay
#

@upper zinc link me the plugin page

upper zinc
#

nvm it works

#

i just didn't install the plugin

#

sorry for wasting your time on this

sharp jay
#

np

zealous shadow
mint fable
#

PlaceholderAPI#setPlaceholders

zealous shadow
zealous shadow
mint fable
#

No

tulip brook
#

heyo

#

im getting error

#

?paste

tender vaporBOT
tulip brook
zealous shadow
mint fable
#

ya, whatever IDE you use should sort that out

#

but that's just an example of how to use it

#

that's an example plugin class

zealous shadow
mint fable
#

I have no words

zealous shadow
#

uhm: ```/home/runner/work/geeksmp/geeksmp/src/main/java/com/commandgeek/GeekSMP/Main.java:59: error: incompatible types: Main cannot be converted to Listener

Task :compileJava
Bukkit.getPluginManager().registerEvents(this, this);
^
/home/runner/work/geeksmp/geeksmp/src/main/java/com/commandgeek/GeekSMP/Main.java:61: error: cannot find symbol
getLogger().warn("Could not find PlaceholderAPI! This plugin is required.");
^```

#

i think i did something wrong

mint fable
#

yes you did do something wrong

#

not using an IDE

zealous shadow
#

ok imma get one

#

which one should i get?

mint fable
#

👍

#

I think most people would say IntelliJ

zealous shadow
#

is that the same as that visual studio thingy

mint fable
#

#development can also help you with any more issues to due with plugin dev as well

#

probably will get better/more answers there

restive dawn
#

Just a quick question, can someone explain what the [placeholder] action type does? Slightly confused as to what situation it'd be useful

mint fable
#

it can be used to run a placeholder (like a command)

#

example is checkitem if you want to remove an item

#

[placeholder] %checkitem_remove_mat:stone,amt:10%

#

it used to be [console] and the placeholder would parse, but that would give you an invalid command message in your actual console/logs

restive dawn
#

Gotcha, so just to be clear; the command can be stored in a js file which can then be executed using the [placeholder]

#

Let's say for example I wanted to run a placeholder in the command itself

zealous shadow
mint fable
restive dawn
# mint fable not entirely sure what you mean by this, but sadly I gotta go

It's a bit of a weird system tbh. I'll try to explain.

I've made a custom script which returns a dynamic number value. I then want to use %javascript_price% in a PEconomy command, which would look like this: peco take %player_name% %javascript_price% tokens. Of course though, PEconomy returns a syntax error because it's trying to deduct %javascript_price%, not a number

frank gazelle
#

hey i have an error when placeholder api loads up and it seems to be with essentials but i dont have that plugin and neither do i have its set of placeholders registered, here is the error. https://pastebin.com/cG7a4GWu

#

please ping for response

hybrid tulip
#

Hi there, odd question: is there a placeholder that always outputs true no matter what?

hybrid tulip
#

Yeaah long story 😂

#

I just need it lol

restive lance
static flare
#

how to use placeholderapi in command block?

fervent spire
static flare
#

know a plugin that uses actionbar(json) and papi

mint fable
tender vaporBOT
silk blaze
#

Hello cj how are you today ? 🙂

hybrid tulip
hybrid tulip
#

Oops sorry

lethal basin
dusky walrus
#

hello, i want to integrate luck perms placeholder into my scoreboard but it won't
here is my code :

    public void setLines(String ip){
        objectiveSign.setDisplayName("§bUndercraft");

        objectiveSign.setLine(0, "      ");
        objectiveSign.setLine(1, "§7Connectés§f: " + Bukkit.getOnlinePlayers().size());
        objectiveSign.setLine(2, "§7Lobby§f: n°1");
        objectiveSign.setLine(3, "§1");
        objectiveSign.setLine(4, "§a§l✔§f " + player.getName());
        objectiveSign.setLine(5, "§7Grade§f: %luckperms_prefix%");
        objectiveSign.setLine(6, "       ");
        objectiveSign.setLine(7, ip);
        objectiveSign.updateLines();
    }
junior musk
#

you have to parse the placeholder using PAPI's setPlaceholders method

dusky walrus
dusky walrus
#

alredy did that in my main.java

junior musk
#

the setPlaceholders method is not in your code

#

you don't use that in the main class just once, you use that on every string that contains placeholders

#

there's an example at the bottom of the page

hybrid tulip
lethal basin
austere hawk
#

how to use papi on bungee?

errant iron
#

Can't

austere hawk
#

bruh

hollow wharf
#

is there a placeholder to show player attributes such as generic.movement_speed
and generic.attack_damage

#

or do I have to make my own using the javascript expansion

hollow wharf
#

How do I call Attribute.valueOf("GENERIC_ATTACK_DAMAGE") using the javascript expansion. It returns an error when using Attribute or BukkitAttribute

austere hawk
hollow wharf
#

Yes I can easily make my own expansion, but I just hoped I wouldn't have to do it :/

hollow wharf
#

Well yeah I ended up just adding the placeholders to my own plugin 🙂

#

thanks for the suggestion

silk blaze
#

Hey everyone is it possible to avoid people opening the DeluxeMenu from certain world please ?

warm topaz
#

yes u can use open requirements

silk blaze
#

Any links for the wiki that leads to this ?

silk blaze
#

So i should go with an

Is near
location: "world"

#

Right ?

warm topaz
#

basically u would have the type be !string equals or smth,
input be the player's world (i think %player_world%, make sure u have the player expansion downloaded)
then the output be whatever world u want to deny

#

idk how the is near requirement works, but maybe it could be possible with that?

silk blaze
#

I'll try both of those options thanks 🙂

#

open_requirement:

requirements:
type: is near
location: "spawn,119,37,232"
distance: 4

deny_commands:
  - '[message] &cRetourne voir le chef pour cela !'
#

This one is not working am I not using the right syntax ?

#

[22:50:39 WARN]: [DeluxeMenus] Detected invalid configuration in file: chef.yml
[22:50:39 WARN]: org.bukkit.configuration.InvalidConfigurationException: while parsing a block mapping
[22:50:39 WARN]: in 'reader', line 11, column 5:
[22:50:39 WARN]: type: is near
[22:50:39 WARN]: ^
[22:50:39 WARN]: expected <block end>, but found '<block mapping start>'
[22:50:39 WARN]: in 'reader', line 12, column 7:
[22:50:39 WARN]: location: "spawn"
[22:50:39 WARN]: ^

silk blaze
#

they say my location is not the good syntax

silk blaze
silk blaze
#

This one still not working

open_requirement:

requirements:
type: string equals
input: "%player_world%"
output: "spawn"

deny_commands:
  - '[message] &cRetourne voir le chef pour cela !'
warm topaz
#

ur missing a requirement name

#

requirements are in the format of

open_requirement:
  requirements:
    some_random_requirement_name:
    type: string equals
    input: "%player_world%"
    output: "spawn"```
vivid sparrow
#

@warm topaz you too if you want

warm topaz
#

no u

vivid sparrow
#

how do you give these items?

#

if you are using essentials, {USERNAME} should be what you are looking for

#

looks like it has an option in config serveritem.replace-holders and two placeholders, %player_uuid% and %player_name%, which I think you can guess what each represents

#
serveritem:
  #if server saved items has placeholders inside displayname or lore should replace it?
  #default placeholders: %player_name% %player_uuid%
  #support all placeholders of PlaceHolderAPI
  #
  #This affects give/take/sell/sellmax/buy/buymax actions
  #holders may generate inconsistency if holders values change or if who owns change
  #this inconsistency may affect only items with placeholders
  #
  #inconsistency examples: 
  #player A buy an item with %player_name% holder, player B take A item, B try to sell the item but he can't because %player_name% for B it's not the same of A
  #player A buy an item with %player_name% holder, player A change name to B, try to sell the item but he can't because %player_name% now it's B and do not match old name A
  replace-holders: true```
#

NP

velvet tinsel
#

how can i make

#

a javascript

#

that would replace a placeholder that returns nothing

#

to something

#

so if a placeholder returns nothing, we return a little X

long geyser
#

Hey! So I've just created a plugin, it's a custom currency. I'd like to create a, for example, %balance% placeholder that takes the balance of the person to use in holograms etc, but I have no idea where to start and would appreciate some help

long geyser
atomic terrace
#

I'm using PAPI, but the %vault_eco_balance% placeholder isn't working, does anyone know why? I'm trying to display it using a TAB sidebar. The %vault-prefix% works perfectly fine and is displaying the correct thing, but the other one (and all of the other economy placeholders) don't work. Can anyone help?

lethal basin
#

this should work for you

atomic terrace
#

I actually did, but it turns out I needed to reboot.

simple musk
atomic terrace
#

My essentials nickname has color codes and formatting, but when I use %essentials_nickname% it doesn't give me the color codes. Also, when I run /papi parse me %essentials_nickname% it just returns %essentials_nickname%. However, it does work in my TAB plugin, because it does show up, it just doesn't have the formatting. Any help?

velvet tinsel
simple musk
#

tried 10x, and restarted the server multiple times as well

#

just awaiting staff now

vivid sparrow
#

@simple musk /papi dump

simple musk
#

my vault isn't 1.7.0 RIGHT NOW since it didn't work at first, been trying different versions

vivid sparrow
#

Don't use Mohist

#

It breaks a system that Papi uses, ClassLoader

simple musk
#

ah magma too?

vivid sparrow
#

Idk about that

simple musk
#

kk, ty ❤️

proper acorn
#

Hi, I got this error in console [18:11:52 WARN]: [PlaceholderAPI] Task #622 for PlaceholderAPI v2.11.1 generated an exception org.bukkit.plugin.messaging.ChannelNotRegisteredException: Attempted to send a plugin message through the unregistered channel `BungeeCord'. at org.bukkit.plugin.messaging.StandardMessenger.validatePluginMessage(StandardMessenger.java:544) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_18_R1.entity.CraftPlayer.sendPluginMessage(CraftPlayer.java:1752) ~[paper-1.18.1.jar:git-Paper-187] at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.getServers(BungeeCordExpansion.java:108) ~[?:?] at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.access$100(BungeeCordExpansion.java:45) ~[?:?] at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion$1.run(BungeeCordExpansion.java:201) ~[?:?] at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.18.1.jar:git-Paper-187] at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.18.1.jar:git-Paper-187] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1547) ~[paper-1.18.1.jar:git-Paper-187] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:480) ~[paper-1.18.1.jar:git-Paper-187] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1470) ~[paper-1.18.1.jar:git-Paper-187] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1264) ~[paper-1.18.1.jar:git-Paper-187] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.18.1.jar:git-Paper-187] at java.lang.Thread.run(Thread.java:833) ~[?:?]

proper acorn
#

%server_hub% only shows 0, while %server_total% shows 1

#

Why is this not correct?

tranquil crow
#

what can cause this?

java.lang.NumberFormatException: For input string: "Failed to connect to MySQL: (2002) Connection refused"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:67) ~[?:?]
    at java.lang.Integer.parseInt(Integer.java:668) ~[?:?]
    at java.lang.Integer.parseInt(Integer.java:786) ~[?:?]
    at java.util.stream.ReferencePipeline$4$1.accept(ReferencePipeline.java:214) ~[?:?]
    at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:992) ~[?:?]
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575) ~[?:?]
    at java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260) ~[?:?]
    at java.util.stream.IntPipeline.toArray(IntPipeline.java:562) ~[?:?]
    at me.clip.placeholderapi.updatechecker.UpdateChecker.toReadable(UpdateChecker.java:111) ~[PlaceholderAPI-2.11.2-DEV-148.jar:?]
    at me.clip.placeholderapi.updatechecker.UpdateChecker.spigotIsNewer(UpdateChecker.java:95) ~[PlaceholderAPI-2.11.2-DEV-148.jar:?]
    at me.clip.placeholderapi.updatechecker.UpdateChecker.lambda$fetch$1(UpdateChecker.java:73) ~[PlaceholderAPI-2.11.2-DEV-148.jar:?]
    at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[pufferfish-1.18.1.jar:git-Pufferfish-43]
    at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[pufferfish-1.18.1.jar:git-Pufferfish-43]
    at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[pufferfish-1.18.1.jar:git-Pufferfish-43]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
    at java.lang.Thread.run(Thread.java:833) ~[?:?]```
proper acorn
#

Check your log in credentials

tranquil crow
#

but i dont remember that placeholderapi wants any sql credentials?

vivid sparrow
#

%server_total% attempts to get the players located in the world total

#

Is is different from %bungee_total%

stone edge
#

The issue is because spigot was down, not bc credentials were wrong

past lily
#

Hello. I'm trying to make head and tails of the Math placeholder expansion; basically I want to take the result of various placeholders and get the mean of all of those values. Is this possible?

lethal basin
#

I would prefer creating your placeholder with javascript to calculate multiple things, that arent possible with only math expansion

median hound
#

I know this isn't really PAPI and all, but anyone have experience with the formatting placeholder? %math_[precision]:[rounding]_<expression> I am trying to get the output as XX and not XX.000 | This is what I have right now: %math_precision_24-{statistic_hours_played}% but it wont parse with the precision part

turbid tide
#

%math_0_24-{statistic_hours_played}%

median hound
#

oh

#

thanks 😄

turbid tide
#

no problem

past lily
turbid tide
turbid tide
#

so you could do %math_({placeholder-1}+{placeholder-2})/2%

lethal basin
#

blitz is right , sorry I thought he was making somethin more complex

past lily
#

so yeah, I'll figure it out ig

lethal basin
#

If you want to use js I can help you, if you want

past lily
#

feel free to DM me 🙂

sturdy cosmos
#

Hello, I have a problem with the plugin because when I download it and put it in the plugins folder and enter the server, the placeholderapi does not work for me, the version of my minecraft server is 1.8

tender vaporBOT
wispy ravine
#

Is it possible to intercept a placeholder with placeholderapi, manipulate it, and return it?
I have a plugin that returns an integer and I was wondering if its possible to intercept it with my own expansion and apply a color to it based on the number range

sharp jay
#

Yes @wispy ravine

silver minnow
#

how?

sharp jay
#

@silver minnow an expansion?

silver minnow
#

without decompiling & rebuilding

#

and reflection

sharp jay
#

You wouldnt override you just re parse it?

silver minnow
#

he's talking about a different plugin

#

intercepting a different expansion from his own

#

at least afaik

sharp jay
#

Is he putting this placeholder inside that plugin or like deluxemenus?

#

lots of questions

silver minnow
#

im guessing like tab/deluxemenus/etc 🤷

#

hm

#

wait why can't he just make a new placeholder... thonking

sharp jay
#

thats what I was saying

#

smh

#

;/

mint fable
#

or just make a js script

#

ez pz

austere hawk
#

What's the placeholder that shows the amount of diamonds you mined? statistic_mine_block:diamond just returns 0 constantly.

mint fable
#

diamond_ore?

vivid sparrow
#

diamond is the item

mint fable
#

won't really be able to tell how many you actually get unless it's custom tracked I bet though

#

if that's a requirement of yours ^

austere hawk
#

hmm wdym?

mint fable
#

are you trying to track how many diamond ore the player has mined?

austere hawk
#

yes

spark hamlet
#

How can I use the age of a crop in a placeholder?

#

I'm trying to make a farming leaderboard but there is a loophole where people can place and break blocks instantly without them growing

vivid sparrow
#

you can't

spark hamlet
#

do u have any reccomendations to make a top10 leaderboard ?

royal crater
#

can enyone tell me whats wrong with this Placeholder "Rank:&#%team_color%%team_suffix%"?

elder palm
#

What would be wrong with it? Only the &# looks a bit weird to me tbh

vivid sparrow
#

it probably returns a HEX color

royal crater
#

it dosent rerturn enything but "Rank:"

#

and the "&#" is for hex color codes without the "&#" i dosent work either so idk what to do

turbid tide
turbid tide
spark hamlet
turbid tide
#

ah you want something more complex. idk then I'm afraid.

royal crater
turbid tide
#

well there's your problem. your team has no suffix

royal crater
#

but i does 😅 the suffix is "[Owner]"

turbid tide
#

well I'm not sure but as you can see the placeholder doesn't return it. I'd suggest you contact the developer of the expansion or of the plugin to see what's going on.

royal crater
#

the expansion is just the basic expantion Team made by minecraft so...

#

Blitz?

turbid tide
#

the PlaceholderAPI expansion I mean. where did you get it from? the ecloud?

vivid sparrow
#

I mean, if you use the default team commands or scoreboard objectives, do you see [Owner]?

#

you should use a permissions plugin not the teams function

harsh locust
turbid tide
#

That's bcz luckperms has its own hex parser that it does not use when parsing the placeholder. I'm not sure if this is intentional or not but you might want to contact the luckperms team I guess.

turbid tide
harsh locust
turbid tide
#

yes. bcz as I said, it gets parsed there

#

with luckperm's internal parser

#

but they don't parse it before returning it in a placeholder

#

because minecraft/spigot doesn't understand the &#aaFF00 format. so it needs to be changed and that's what luckperm's parser does for their own messages but doesn't for the placeholder

vivid sparrow
#

Lp lets the plugin where the placeholder is used to parse the colors

royal crater
royal crater
#

how do i then make a scoreboard that displays "Rank: (the rank of the player)?

turbid tide
#

well did you switch to using an actual rank plugin like LuckPerms?

#

if yes then use their placeholder %luckperms_prefix% or %luckperms_suffix% (whichever you've set)

atomic terrace
#

I used %vault_prefix% for the prefix.

#

%essentials_nickname% is returning a nonformatted name. Is there any way to fix this?

turbid tide
#

try using %player_displayname% instead maybe

lapis drumBOT
atomic terrace
atomic terrace
#

oh sorry

#

i just reply to people

lethal basin
turbid tide
#

yeah but that again won't show nicknames

atomic terrace
#

any idea?

#

i really want my tablist to have the nickname

#

with formatting

mint fable
#

wym by formatting?

stone edge
#

formatting = &a &l &b &d &n (color codes)

mint fable
#

I feel like %essentials_nickname% should definitely be formatted

#

there are 2 placeholders

#
%essentials_nickname_stripped%```
#

stripped would be without color codes

twin prawn
atomic terrace
twin prawn
#

Oh, so they show up as &* instead of the colour?

atomic terrace
#

no

#

there's no formatting

#

unless my nick is wron

#

g

#

and im using another nick provider

#

and there's just no formatting

#

but it hink it's essentials

twin prawn
#

Okay, I can’t send the link but the moss discord will be of more use

mint fable
atomic terrace
#

i'm not

mint fable
#

oh

atomic terrace
#

but it was a thought

#

yeah i tried /essentials:nick

#

and it didn't work

twin prawn
#

Give the moss discord a try 🙂

frosty vault
#

Im having a problem because the expansions in PlaceholderAPI are registered async which makes
depending on papi virtually useless.

https://i.imgur.com/bBhq8lA.png

#

Any workarounds for this? Some Future<Void> i can hook into.
I would suggest making the expanson registration blocking when starting the server so dependent plugins
can actually use placeholders.

mint fable
#

How/why are you trying to use %player_level% so early?

frosty vault
#

Hm. I could make it lazy. But that would require some work...

#

Is there any reason why the expansion registration is done non-blocking when the server starts?

mint fable
#

can't answer that question, but most placeholders are player-dependent

#

%player_level% for example returns nothing if the player hasn't logged in

#

or maybe even if they aren't online

frosty vault
#

Yeah i dont want to use a placeholder right away. I want to get a PlaceholderExpansion which corresponds to a String for later usage.

mint fable
#

hmm

#

sadly i dont fully understand the need/use so i cant really help

frosty vault
#

Ill just make it lazy then -.-

mint fable
frosty vault
mint fable
#

i feel it's new instances but i'll take a look

frosty vault
#

Because then i would have to make it truly lazy without caching...

frosty vault
#

Well... then ill just solve it with a Supplier<PlaceholderExpansion> instead of a Memoizer.

#

thx

mint fable
#

sure

#

no idea what that means, but 👍

sudden kayak
#

hey

#

i want to signup in the expansions cloud

sharp jay
#

@balmy marten

balmy marten
#

Dm me a username and email address you want

#

and i'll create it

sharp jay
#

@sudden kayak ^^

sudden kayak
tender vaporBOT
smoky canopy
#

Hi! Is this error that we found on our server console okay? Like it says Loaded class 'plugin name' which is not a depend or softdepend of this plugin?
You can check it here on the link: https://pastebin.com/PS5Pyva8

mint fable
#

no error, all ok

proper acorn
#

Why do I get this error?

tender vaporBOT
turbid tide
proper acorn
#

Do I have to delete all and download again?

turbid tide
#

well you could just move them to a separate folder and add them back 1 by 1

#

or 2 by 2

proper acorn
#

and do /papi reload?

turbid tide
#

yeah papi reload will probably be enough

proper acorn
#

Alright thanks

#
[19:34:55 WARN]: [PlaceholderAPI] Task #657 for PlaceholderAPI v2.11.1 generated an exception
org.bukkit.plugin.messaging.ChannelNotRegisteredException: Attempted to send a plugin message through the unregistered channel `BungeeCord'.
at org.bukkit.plugin.messaging.StandardMessenger.validatePluginMessage(StandardMessenger.java:544) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_18_R1.entity.CraftPlayer.sendPluginMessage(CraftPlayer.java:1752) ~[paper-1.18.1.jar:git-Paper-187]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.getServers(BungeeCordExpansion.java:108) ~[?:?]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.access$100(BungeeCordExpansion.java:45) ~[?:?]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion$1.run(BungeeCordExpansion.java:201) ~[?:?]
at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.18.1.jar:git-Paper-187]
at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.18.1.jar:git-Paper-187]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1547) ~[paper-1.18.1.jar:git-Paper-187]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:480) ~[paper-1.18.1.jar:git-Paper-187]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1470) ~[paper-1.18.1.jar:git-Paper-187]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1264) ~[paper-1.18.1.jar:git-Paper-187]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.18.1.jar:git-Paper-187]
at java.lang.Thread.run(Thread.java:833) ~[?:?]```
proper acorn
#

When updating bungee it gets this error

turbid tide
proper acorn
turbid tide
#

but when you removed the expansion, did you remove all of them?

#

if not, remove them all then do the download command

#

if you can't get it to work do /papi dump and send the link here

tender vaporBOT
turbid tide
proper acorn
turbid tide
#

ok. you seem to have 1 bungee expansion isntalled rn

#

Expansion-bungee.jar

#

can you delete that, do /papi reload

#

then do the download commands?

proper acorn
#

I have done that

#

And that works fine

#

But it says that i have to download

#

But when I do, it gives the error

#

Nothing wrong with not updating

turbid tide
#

but you have version 1.0.1. the latest is 2.0

#

you need to delete the Expansion-bungee.jar one first then download

#

and a /papi reload inbetween

proper acorn
#

alright

#

Deleted

#

Reloaded

#

Downloaded

#

Reloaded

#

Still 1.0.1

turbid tide
#

and put it in the folder

#

then do a /papi reload

proper acorn
#

followed every step

#

I even downloaded it from here

turbid tide
#

ok it seems like there's a bug in the code of the expansion. it is still registered as 1.0.1. don't update anymore. just leave it as it is (you have the latest). Will report it

proper acorn
#

Thanks!

silk blaze
#

Guyssss

#

I need help, how to gather a group prefix please ?

#

What Placeholder can I use ?

turbid tide
#

%vault_prefix%? this will return the prefix of the group the player is in

silk blaze
#

Not working, unless there a papi to download ?

turbid tide
#

yeah /papi ecloud download vault /papi reload

silk blaze
#

Omg thanks man

turbid tide
#

no problem

silk blaze
#

Hello again !

How could I put two requirement in my menu please ? Can anyone give me an exemple on what syntax I should use please ?

tender vaporBOT
silk blaze
#

Oh no sorry I mean

#

I need one view requirement and one click requirement

#

My syntax was already not good

turbid tide
#

try this

silk blaze
#

Alright I don't know how you correct it but now it's working perfectly

#

Is it because of the way I wrote it ?

#

With too much space between each other ?

turbid tide
#

well the one I sent should work

sacred berry
#

Hello, can I make the Math Expansion compatible with Java 1.8? I saw that the previous versions of the expansion work with Java 1.8 but I don't know how to add the previous version to the placeholderapi.

vocal folio
#

Is there a placeholder that only shows unique kills to prevent farm kills on alts?

solar sun
#

how do i track all blocks mined?

turbid tide
solar sun
#

thats what i tried

#

it didnt work

turbid tide
solar sun
#

it says 2

turbid tide
#

And it doesn't go up?

solar sun
#

nope

#

is it a world thing

#

is there a pl for it

#

ok wtf

#

i figured sum out

#

so

#

it only works if i mine in the regular world

#

but when i mine it goes up by 2 lmfao

turbid tide
#

Well there are some statistic plugins out there like statz. The statistic expansion just gets the data from spigot

#

Like those are just the default minecraft stats

#

Afaik

solar sun
#

huh

#

nvm

sacred berry
#

Hello, I have a 1.8.8 server and I use Java 8. I would like to use an extension which can be used only with Java 11+. Can I make it compatible somehow?

sand junco
#

NachoSpigot works fine with java 11 and java 17

#

So I'd suggest updating to NachoSpigot and then using java 11. Only badly written plugins break with newer versions

turbid tide
sand junco
#

FOSS 1.8 spigot fork

sacred berry
turbid tide
#

you need to do /papi ecloud download math 1.1.0 and /papi reload. that's the latest version that will work with java 1.8

#

but it will also have some things different. like precision and also has no rounding.

sacred berry
turbid tide
sacred berry
#

oh, thx a lot

#

ur a goat

turbid tide
#

hmm. I'm more of a cow myself tbh

sacred berry
#

nice

tiny garden
#

Hi, I'm having an issue with the Pinger expansion, it doesn't show the correct player count. It shows that there are 0 players on the server I am currently on. It's a server behind a Waterfall proxy running on Pterodactyl, could that be the issue? Thanks.

#

This is the placeholder I'm using %pinger_players_172.18.0.1:25556%

turbid tide
#

I recommend you use the bungee expansion to show the player count. the Pinger expansion is pretty buggy sometimes. I don't know why or how to fix it and my only recommendation is this really

twin prawn
#

Ez

#

(Yea I know it’s hard but 1.8 is 6 years old at this point and shouldn’t really be used for anything)

stone edge
twin prawn
#

There exist plugins that change it

silver minnow
#

they aren't perfect tho, and also java 11 works fine with paper 1.8.8

stone edge
#

Scam ☝️

mint fable
#

@blissful mango prob best to ask here

#

%javascript_placeholder_args,args,args%

blissful mango
#

Hi
Want somthing like
%javascript_placeholder_<arg one>_<args two>%
That args one is placeholder that parse a number and args two is an integer to add or decreess the parsed placeholder

mint fable
#

btw use `` to escape your text, removes formatting

blissful mango
#

Discord mobile 🤕

mint fable
#

quitter talk 😂

twin prawn
#

I can’t send videos here

#

😦

heady urchin
#

Can someone tell me why this is not working

sharp jay
#

?help

tender vaporBOT
heady urchin
#

t

#

Odd

#

The GUI is just not opening

#

no errors or anything

#

Pretty sure its the parseother placeholder

#

on java8 so that might be the problem

#

cant update to 17 until next season

stone edge
#

You probably have errors in console?

heady urchin
#

Nope

#

Nothing

mint fable
#

what placeholder is balanceformatter?

heady urchin
#

what it says

mint fable
#

custom expansion?

heady urchin
#

its a replacement for %vault_eco_balance_formatted%

#

yeah but if i parse balanceformatter on its own

#

it works fine

#

heres the github for it

mint fable
#

and what happens when you do /papi parse me %parseother_{vault_eco_top_player_6}_{balanceformatter}%

heady urchin
#

Internal error

mint fable
#

might be because the player is offline

#

what if you put the name of somebody offline

#

instead of vault_eco_top_player_6

heady urchin
#

lemme try

mint fable
#

can you do /papi parse <offline player> balanceformatter?

#

idk if it will let you

heady urchin
#

/papi parse me %parseother_{123}_{balanceformatter}%

#

that?

mint fable
#

it might say player is offline

#

ig 123

heady urchin
#

oh okay hold on

mint fable
#

do you have any actual players to test

#

😂

heady urchin
#

Yeah

mint fable
#

aight

heady urchin
#

theres people online

#

So what cmd do you want me to do

#

/papi parse 123 %balanceformatter%

#

?

mint fable
#

yes try that

heady urchin
#

yeah when i type that it says failed to find player

mint fable
#

and now try the parseother one

heady urchin
#

That one says internal server error

mint fable
#

and whats that error

#

?paste

tender vaporBOT
mint fable
#

I feel it might be erroring trying to find the balance of an offline player

#

oh, one more real quick

#

try /papi parse me %parseother_{123}_{vault_eco_balance_formatted}%

heady urchin
mint fable
#

looks like it ye

#

saj

heady urchin
#

Any idea on a fix?

mint fable
#

is that correct

heady urchin
#

Yeah its correct

mint fable
#

oh that's good news then

heady urchin
#

The issue we have is that the money is like QT, S and higher

mint fable
#

it means the balanceformatter expansion can be fixed to do this

#

also

#

why use a custom expansion like that

#

instead of a js script

heady urchin
#

Thats just what I found

heady urchin
#

Oh

#

Will use that then ty

mint fable
#

you can add all the suffixes you want

#

change em, whatever you want

heady urchin
#

@mint fable

#

god send

#

its working

#

Do you know if theres an addon that can tell me if a player is online/offline

#

theres %player_online% but it just returns yes/no and i wanna be able to change the output ideally

mint fable
#

well you can use changeoutput expansion

heady urchin
#

tea

mint fable
#

or, if you want to change yes/no for all placeholders you can edit the placeholderapi config

heady urchin
#

okay

#

How would I go about parsing this

#

%changeoutput_equals_{player_online}_yes_Online_Offline%

#

but {player_online} needs to be %vault_eco_top_player_1%

turbid tide
#

well first of all, the top placeholders are being phased out of the vault expansion and moved into the essentials one. You should maybe consider switching. (see pinned messages for download and placeholders list). Second of all if you want to check if vault top player is online then give a custom output based on that, it won't work with this bcz you'll have 2 nests while PAPI only supports 1 realistically.

heady urchin
#

Damn

#

Is there any possible way to do it

#

& yeah our seasons are 4 weeks

#

So i'll end up switching over

turbid tide
#

javascript expansion

heady urchin
#

Is there a public one I can use?

turbid tide
#

but that is known to have bad performance lately.

turbid tide
tender vaporBOT
stone edge
#

or you can simply code a small plugin which adds a placeholder like %isonline_playername% and %isonline_{anotherplaceholder}%

heady urchin
#

My coding knowledge = nothing

#

lol

stone edge
#

well, there goes my brilliant idea

#

😢

tender vaporBOT
blissful mango
#

hi
the js example for args is wrong ?

var kitName = args[0];
var placeholder = "essentials_has_kit_" + kitname;
var hasKit = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + placeholder + "%");

function hasKit(){
  if(hasKit == "yes"){
    return "&aTrue";
  }
  return "&cFalse";
}

hasKit();``` don't work for me
#

i want to put an arg in placeholder but don't know how 🤦‍♂️

manic imp
#

%essentials_has_kit_

#

placeholder name

#

%

blissful mango
#

what ?

blissful mango
#

any help 😦

turbid tide
blissful mango
#

luckperms_group_expiry_time_[arg here]

turbid tide
#

ugh. that's not javascript tho?

#

I'm talking about the javascript placeholder you're using

blissful mango
#

%javascript_calc_luckperms_group_time_vip%
vip is arg here

turbid tide
#

and in your javascirpt_placeholders.yml how did you declare the placeholder?

#

can you copy paste it please?

blissful mango
#
  file: calc.js```
#

🤔

turbid tide
#

well the arg here would be the entire luckperms_group_time_vip then

#

not just vip

blissful mango
#

yeah my bad
but isn't a good idea to put the whole placeholder in the arg ?

#

or should i set the luckperms_group_time_ in the js and not as arg

turbid tide
#

I mean you can do it, but idk if this will do what you want really

#

you have to understand the kitname will become literally luckperms_group_time_vip

blissful mango
#

just want to %javascript_calc_vip%
how to put the vip arg in the placeholder ?

turbid tide
#

in what placeholder exactly? in the essentials kit one?

turbid tide
#

even when you use %javascript_calc_vip%?

blissful mango