#placeholder-api

150650 messages · Page 136 of 151

cosmic needle
#

?not-discord

tender vaporBOT
dry plume
#

hey i read the evalex wiki and i've tried many different renditions of the placeholder, but i cant seem to figure out how to get this placeholder to work:
%math_2:HALF_DOWN_{vault_eco_balance}/10%
i'm hoping that i get 10% of the target players vault balance as the value, and rounded to two decimal places. does anyone know what i've done wrong?

#

if anyone responds, please ping me 😊

#

Nevermind, i got the answer. the correct placeholder should be:
%math_2:HALF.DOWN_{vault_eco_balance}/10%

what i was doing wrong is that i used an underscore between "HALF" and "DOWN", when it should be a period/decimal dot instead

#

in my defense, the evalex wiki was formatted with underscores

#

okay i have another question now 😭
how can i make the above placeholder reference a specific player?
the command i am attempting to set up is a reward command that gives the killer of a player 10% of the killed player's balance

something like /eco give player1 %math_2:HALF.DOWN_{vault_eco_balance}/10% (of player2)

junior musk
#

/papi ecloud download Utils
/papi reload

%utils_parseother:[player1]_math_2:half-down_{vault_eco_balance}/10%

#

if you use a placeholder instead of player1, replace parseother by parseplaceholder

torpid spire
#

Is there any update for this? ^

junior musk
#

placeholders don't know where they're being parsed

#

the only info they get is the player

torpid spire
#

We want player_distance to a npc as such

junior musk
#

could be possible, though idk of any placeholder that does that

#

if you have the NPC's coordinates, you could probably use BukkitPlayer.getLocation().distance(new Location(player.getWorld(), x, y, z)

#

well, idk if this'll work in js though

torpid spire
junior musk
#

yeah I get that

#

there's no placeholder doing that at tye moment as far as I know

#

I gave you a potential working script, though I can't say that it works for sure

torpid spire
#

Ah well, Ill try it later, Thank you 😄

fathom breach
junior musk
#

you need to add the x y z positions

#

you can use arguments with args[0],args[1] and args[2] if you want to use the same script for multiple NPCs

#

that way you'll have something like %javascript_<script name>_x,y,z%

bleak trail
bleak trail
dim iris
#

Hello, I cannot install server ecloud on my server, it gives an error. Even though I downloaded a lower version of papi, there is still an error.

#

||15:09:50] [Server thread/ERROR]: [PlaceholderAPI] Failed to load class files of expansion.
java.util.concurrent.CompletionException: java.lang.UnsupportedClassVersionError: at/helpch/placeholderapi/expansion/server/ServerExpansion has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 60.0||

wheat shuttle
#

it is possible to parse offline players in placeholderapi plugin?

languid cairn
#

Is 1.21 support out?

frail scroll
regal walrus
#

is there a way to find out the longest time survived on a server? so the timer is reset on every death but i only want to display the longest survival time per player

short dagger
#

Hello :D im having a problem where i need to get the unformatted number version from placeholders that give me 14k,11k,12k and things like this, im trying to use formatter but the placeholder don't work in my java version, someone knows any substitute?

mint fable
ancient stirrup
#

Hello guys, my players can give themselves items by parsing a placeholder in private messages, do you know how I can fix this?

runic harness
#

Hi! I’m trying to use PAPI, Skript and TAB together, so I installed the Skript and Player extension for PAPI.

I wanted to convert {player::%player’s uuid%::guild} into a papi variable.

So I tried %skript_player::%player_uuid%::guild%.

But that didnt work and it instead displayed N/Askript_player::%player_uuid%::guild%

Anyone know whats wrong or if I formatted it wrongly?

mint fable
#

you can't have %% in there

#

if skript supports it, you need to use {player_uuid}

#

and you'd need the player expansion for papi to parse it

#

@runic harness

mint fable
ancient stirrup
#

Yes

#

They can do it in anvil too

#

😅

mint fable
#

you need to disable the give and remove placeholders from checkitem

#

it would break any shops you have using it

ancient stirrup
#

Hmm, that's annoying 😦

mint fable
#

or you could find a way to block all the ways users can parse placeholders

#

but

#

prob not gonna happen

#

2.7.1 was a security update, papi also had one

#

some info

#

err, that's not the right announcement

#

but, good info to have!

ancient stirrup
#

I updated from the PAPI ecloud download earlier, but I was still able to give myself

mint fable
#

yeah you can

ancient stirrup
#

I'll check that tomorrow

mint fable
#

how many menus/shops do you have using checkitem give/remove

ancient stirrup
#

A lot, all my rankings menu, and even some items configs

mint fable
#

yikes

ancient stirrup
#

😮‍💨

mint fable
#

if you need help with the vanilla give/clear context lmk

#

players being able to parse placeholders could be a big issue for things as such. it happens in so many different plugins in so many different ways though

ancient stirrup
#

I'll check with my developer. My launch is on the 22nd, and we discovered this during the beta

#

🫡

mint fable
#

i added some words of warning on the checkitem listing on the placeholders list page too

dusk orchid
#

Hello! For the checkitem expansion, is there a way to still get the new (1.20.5+) equivalent of nbtstrings from an item?

Previously we used %checkitem_inhand,nbtstrings:MYTHIC_TYPE=<mythic item name>% to validate the item in hand, but this doesn't seem to work anymore.

manic warren
#

does the current version support 1.21?

unkempt rivet
#

Any solution when for the %worldguard_region_name% placeholder 2 regions are shown
one the main region and the other the sub region
but I only want the sub region in which the player is located to be shown...

junior musk
#

/rg setpriority <sub region> 10

#

I keep forgetting whether WG's priority check for the highest number or lowest first, but I think it's highest so that should work

#

if it doesn't, run /rg setpriority <main region> 100

unkempt rivet
dusk orchid
#

Ok, thank you!

limber ice
trim mist
#

Looks like an Essentials thing?

#

Paper 1.21 is still very experimental.

neat nova
#

Hello o/

How can i mix the "Math" placeholders with the "ParseOther" placeholders?

#

For example i was trying to do this:
%math_0:0_{parseother_{Username}_{mmocore_level}}%
But it throws a console error

uncut folio
#

is there way to check if a item is unbreakable or not?

#

using placeholder? so i can use into deluxe menus

#

ik you can check for enchants, itemname/lore etc but unbreakable works diff i think!!

uncut folio
#

looks like check item is buggy for this check?

uncut folio
#
    left_click_requirement:
      requirements:
        first:
          type: string equals
          input: '%checkitem_nbtints:Unbreakable=1%'
          output: "no"
          deny_commands:
          - '[message] &4Unbreakable &8> &fYou already have this item Unbreakable.'
          - '[sound] ENTITY_VILLAGER_NO 1 1'     ```
uncut folio
#

Hello? never seen this server so quiet

neat nova
uncut folio
uncut folio
#

if anyone knows about this check/info please let me know...

sharp bloom
uncut folio
sharp bloom
#

OKK oh

#

i thought it was an enchant

uncut folio
#

you had asked me few days back to use this command /paper dumpitem

sharp bloom
#

yeah then you need to use the nbt check

sharp bloom
uncut folio
#

minecraft:netherite_pickaxe{Damage:0,Unbreakable:1b}

#

how do i use this info tho xD

#

and i think i remember u from Eco discord? u were the only one who helped me there

sharp bloom
#

i m slowly moving away from checkitem and use my own thingie for 1.20.6+

uncut folio
#

ah no worries, take ur time xD... im gonna release the server on 29th so got some time before i use this

uncut folio
sharp bloom
#

/papi ecloud download utils

sharp bloom
uncut folio
#

i was using actions but due to issue with core plugin of eco, moved to conditioncal events, its actually better than action

sharp bloom
#

i use ExecutableEvents alongside w actions

sharp bloom
#

we are trying to return the level now

#

not a yes/no

#

i cant test em cause i m on 1.20.6

#

and checkitem for nbt checks doesnt work

#

so u do the testing ac_cat_approval

neat nova
sharp bloom
#

does it return a result

#

oops wait

#

normally it should be like %utils_parseother:[Username]_math_0:0_{mmocore_level}%

#

thats why it added the double %%

#

also do you use that in deluxemenus or something?

#

cause i assume that username is an arg in this case

neat nova
#

I'm doing a Medieval Roleplaying server and i need to make players check other player stats

sharp bloom
#

well, does Username get pased in conditional events?

#

cause it needs an actual name of a player

#

otherwise it will parse it for a user called Username

neat nova
#

{arg_1} because i'm doing a custom command

#

Don't you worry it worked perfectly <3

sharp bloom
#

and does the {arg_1} return a name?

neat nova
#

It returns the 1st argument you put in the command

#

like /playerinfo {username/arg_1}

sharp bloom
neat nova
#
- 'message: &aArmadura Total&7&l: &a&l%utils_parseother:{arg_1}_math_0:0_{mmocore_level}%'```
sharp bloom
#

nice!

uncut folio
sharp bloom
uncut folio
#

gave nothing, empty lines

sharp bloom
#

💀

sharp bloom
uncut folio
#

yea

neat nova
sharp bloom
#

cause parseother requires the username to be inside []

neat nova
#

Btw why this placeholder Frozes my server every time i use it?

%parseother_{arg_1}_{player_online}%```
sharp bloom
#

utils*

neat nova
#

Dies in 14tps

sharp bloom
# uncut folio yea

can you try %checkitem_getinfo:mainhand_nbtstrings:t% or %checkitem_getinfo:mainhand_nbtstrings:

#

i want to see what it will return

uncut folio
#

both same

sharp bloom
uncut folio
#

same

sharp bloom
#

AAAAAAAAAA

#

OKK are u sure that this isnt an enchantment?

uncut folio
#

yea but we can try as enchantment too i guess

#

let me see

#

nope. shows no for both unbreakable n non unbreakable items
%checkitem_enchantments:unbreakable=1,inhand:main%

#

one thing tho when i use cmi's /itemnbt command

#

1st is non unbreakable item
2nd is unbreakable

sharp bloom
#

OKK i will boot up my test server later

uncut folio
#

kk ty

neat nova
#

Very easy

sharp bloom
bronze shell
#

I have a placeholder parsing a decreasing number from 10 to 0 with decimal values between each number. I would like to display decimal value only for when the placeholder value is betwee, 1 and 0. Is that possible with the math expansion only?

#

Like i would like it to do this: 10 9 8 7 6 5 4 3 2 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0

warm plover
#

Would anyone know how I could edit this JS placeholder to allow me to read the {arg} placeholder from DM within a PAPI placeholder

junior musk
#

%javascript_<script>_{arg}%

#

you don't need to change the script, it should already work

warm plover
#

It's giving me a hard time

#

One sec

#

I'm trying to do this:
rgb: '%javascript_rgbtohex_servervariables_value_otherplayer_{arg}:profile_background_color%'

What it's supposed to do is use the {arg}'s value of the servervariable, and the placeholder parses correcly if I replace {arg} with the actual player's name

warm plover
#

Also tang shouldn't this work? For some reason, it does not
%utils_parseother:[{arg}]_javascript_rgbtohex_servervariables_value_profile_background_color%

junior musk
#

%utils_parseother:[{arg}]_javascript_rgbtohex_{servervariables_value_profile_background_color}%

#

or %javascript_rgbtohex_{servervariables_value_otherplayer_{arg}:profile_background_color}%

warm plover
#

I don't think it needs {} because the script already adds the %s

junior musk
#

it does?

#

ah yeah

warm plover
#

var input = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + args[0] + "%");

#

Maybe it shouldn't?

junior musk
#

send your menu

#

maybe your argument isn't named {arg} ?

warm plover
junior musk
#

or maybe DM just doesn't parses arguments in rgb for some reason, nvm it does

warm plover
#

Ignore the mess, the item is background_normal that doesn't work

#

background_edit works fine but it's just parsing my placeholder so

junior musk
#

I don't see {arg} in the placeholder

warm plover
#

[{deluxemenus_meta_PROFILE-ARG_STRING_0}] is just {arg}

#

I was testing if {arg} was just being weird

junior musk
#

parseplaceholder instead of parseother

warm plover
#

Like %utils_parseplaceholder:{arg}_javascript_rgbtohex_servervariables_value_profile_background_color%?

junior musk
#

yes

#

and just in case, run /papi parse <player> %servervariables_value_profile_background_color% to make sure the placeholder actually works

warm plover
#

If so, the menu opens, but it just parses my color

warm plover
#

Ah, then the menu does not open

#

🥲

junior musk
#

send the error

warm plover
junior musk
#

issue with the script

warm plover
#

RIP

junior musk
#

idk why it doesn't find BukkitPlayer

#

oh yeah

#

player is offline

#

so BukkitPlayer doesn't exist

warm plover
#

uhh

#

The player is online

junior musk
#

then it broke for some reason

warm plover
#

Well that's no good

warm plover
#

It parses as 501263 for me and FFFFFF for my alt

junior musk
#

now /papi parse me %javascript_rgbtohex_servervariables_value_otherplayer_PLAYER NAME:profile_background_color%

warm plover
#

255, 255, 255

junior musk
#

now use %javascript_rgbtohex_servervariables_value_otherplayer_{arg}:profile_background_color% in your menu, in item's display name for example

#

and send the menu again after that

warm plover
#

Script Error (check console) is the name of the item

junior musk
#

send the error

warm plover
junior musk
#

right

#

what's your DM version?

#

there's a parse_placeholders_after_arguments option now which is set to true by default

warm plover
#

1.14.1-DEV-179

junior musk
#

if you want the argument to be parsed before the placeholder, yes

#

otherwise {arg} won't work in the script

warm plover
#

Ahhh

#

Where does this option go?

junior musk
#

menu

warm plover
#

on the item or GUI?

#

So like this? Or did I missunderstand lol

menu_title: '................ {arg}'
parse_placeholders_after_arguments: false
open_command: profile
args:
- arg
register_command: true```
junior musk
#

yeah

warm plover
#

The item is still named Script error, rip

junior musk
#

send the error

warm plover
junior musk
warm plover
#

Oh wait

#

That option wasn't added until dev version 180

#

I'm on 179

junior musk
#

wot

warm plover
#

parse_placeholders_after_arguments is in dev version 180s changelog

junior musk
#

right

warm plover
#

So if I update it should work? hopefully? lol

junior musk
#

yeah

warm plover
#

still nope

#

huh

#

OH

#

Setting it to true fixed it

junior musk
#

ah

#

well nice

#

yeah I'm just stupid

#

it's literally in the name

warm plover
#

Thank you very much for the help I've been going crazy 🥲

junior musk
#

my brain isn't working correctly rn

warm plover
#

all good I really appreciate it

junior musk
#

I'm watching a MatPat video about FNAF lore, that's why

warm plover
#

😭

midnight eagle
#

Hey anyone here know why when i download the server expansion with ecloud and try to reload it doesn't reload?

mint fable
#

?papi-dump

tender vaporBOT
mint fable
#

@midnight eagle this

midnight eagle
#

It failed to post dump details

mint fable
#

right, seems like you have a couple firewall issues probably

#

which is fine

#

you can download it manually from the ecloud instead

midnight eagle
#

Okay thanks

#

Is it because im using 1.8?

#

And if it is, is it possible to just use an older version, since i have had it work before on 1.8

#

Yea was because i was using 1.8 :/

mint fable
#

ahhh

#

ye

uncut folio
quasi spire
#

Kqliber

#

Where is that guy

#

i need guy to update changeoutput placeholder

#

so badly

sharp bloom
quasi spire
#

/papi parse jokbon %changeoutput_ignorecolor_input:{faction_name}_matcher:faction_name_ifmatch:*_else:{faction_name}%

#

If {faction_name} placeholder displays "faction_name" Write *

#

If not display the {faction_name} placeholder...

#

.

#

Thats my idea but it doesnt work

#

hmm

#

(maybe im doing it wrong brb)

#

/papi parse jokbon %changeoutput_ignorecolor_input:{faction_power}_matcher:faction_ifmatch:matched_else:{faction_name}%

#

🤣

junior musk
#

/papi ecloud download Ascii
/papi reload
/papi parse me %changeoutput_equals_input:{faction_name}_matcher:{ascii_123}faction_name{ascii_125}_ifmatch:*_else:{faction_name}%

quasi spire
#

no it doesnt work for some reason at all

#

super confused

junior musk
#

/papi parse me {ascii_123}faction_name{ascii_125}

#

what does that say in chat?

quasi spire
#

i think i know why

#

changeoutput changes output on velocity globaly

#

i see

#

let me fix that and try again

quasi spire
#

😤

quasi spire
#

my opinion

junior musk
#

define "everywhere"

#

in which plugin are you using the placeholder?

quasi spire
#

i use proxy bridge

#

so it put it to velocity

#

and it breaks it for every server

#

my opinion

#

let me test first ill give ansver if theory is valid

junior musk
#

well yeah, if your proxy bridge plugin request the placeholder from the backend for all players across the proxy, it'll obviously parse it for each player on their respective servers

quasi spire
#

haha

#

nvm its not happening

#

i dont have changeoutput in velocity

#

it just doesnt work for some reason

junior musk
#

where are you using the placeholder

#

which plugin

#

and on which server is it?

#

and what is it showing currently?

quasi spire
#

interestingly using change output just on chat (just by testing)

#

replaced placeholders globaly in velocity

#

its more cursed than i thought

#

unles its a plugin conflict

#

.

#

nvm

#

i see i cant use change output

#

i gues ill ask for dummy placeholder plugin

muted charm
#

will v2.11.6 work fine with 1.21 or is it unpredictable?

manic badge
delicate horizon
#
[20:48:53 WARN]: [PlaceholderAPI] Cannot load expansion votingplugin due to an unknown issue.``` why like that?
lost sun
#

me need help

lost sun
#

lots of errors on consola

warm topaz
#

update player expansion

lost sun
#

how

#

i did /papi ecloud update Player

#

is that it?

outer island
#

are there any builds i can use for 1.21?

vivid jackal
#

Hello in chat i have a %supremetags_tag% suffix so im wondering how to remove that can anybody help me out with that?

sharp bloom
#

sideeye does anyone have in their plans to update the checkitem expansion for 1.20.6+

#

so u can properly detect the components

hexed fulcrum
#

Im trying to use the %parsenear_player_name% placeholder to target the nearest player to an object thats been placed, but its only returning the nearest player to the player that placed it. Example; PlayerA places command item, and PlayerB is targeted by the command. I already tried to use the %player_name% placeholder on its own, but since the console is the one running the command it pulls EVERY player instead. Is there a way for me to target a single player in this fashion?

junior musk
#

I don't think there's a placeholder for that.... yet
I could try to add a parsenear placeholder to my Utils expansion, though I'm not home for the weekend so won't be able to look into it until next week

hexed fulcrum
#

That sounds awesome, take your time for sure! I can manage to deal with it targeting all players for now 🙂 its only annoying to the ops since our fly speed gets lowered quite often by this command(we allow players to fly if they're wearing a custom unicorn horn, cheesy right?).

normal dawn
#

hii

#

i need helppp

manic badge
tender vaporBOT
vocal field
#

%spark_tps_1m% stopped working today? anyone else?

#

all spark placeholders it seems.

#

nvm

purpur failed to install spark on launch.

[13:01:26] [ServerMain/ERROR]: [SparkProviderSource] Purpur: Failed to download and install spark plugin
java.net.SocketTimeoutException: Read timed out
    at java.base/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:278) ~[?:?]
    at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:304) ~[?:?]
    at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:346) ~[?:?]
    at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:796) ~[?:?]
    at java.base/java.net.Socket$SocketInputStream.read(Socket.java:1099) ~[?:?]
    at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:489) ~[?:?]
    at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:483) ~[?:?]
    at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(SSLSocketInputRecord.java:70) ~[?:?]
    at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(SSLSocketImpl.java:1461) ~[?:?]
    at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(SSLSocketImpl.java:1066) ~[?:?]
    at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:291) ~[?:?]
    at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:347) ~[?:?]
    at java.base/java.io.BufferedInputStream.implRead(BufferedInputStream.java:420) ~[?:?]
    at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:399) ~[?:?]
    at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:827) ~[?:?]
    at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:759) ~[?:?]
    at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1690) ~[?:?]
    at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1599) ~[?:?]
    at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:223) ~[?:?]
    at io.papermc.paper.plugin.provider.source.SparkProviderSource.prepareContext(SparkProviderSource.java:67) ~[purpur-1.20.6.jar:1.20.6-2228-7708a4c]
    at io.papermc.paper.plugin.provider.source.SparkProviderSource.prepareContext(SparkProviderSource.java:22) ~[purpur-1.20.6.jar:1.20.6-2228-7708a4c]
    at io.papermc.paper.plugin.util.EntrypointUtil.registerProvidersFromSource(EntrypointUtil.java:14) ~[purpur-1.20.6.jar:1.20.6-2228-7708a4c]
    at io.papermc.paper.plugin.PluginInitializerManager.load(PluginInitializerManager.java:115) ~[purpur-1.20.6.jar:1.20.6-2228-7708a4c]
    at net.minecraft.server.Main.main(Main.java:128) ~[purpur-1.20.6.jar:1.20.6-2228-7708a4c]
    at org.bukkit.craftbukkit.Main.main(Main.java:336) ~[purpur-1.20.6.jar:1.20.6-2228-7708a4c]
    at io.papermc.paperclip.Paperclip.lambda$main$0(Paperclip.java:42) ~[app:?]
    at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
fresh crag
warm topaz
#

supports spigot only

mint fable
manic badge
sharp bloom
#

🫡

open hamlet
#

i can only find PlaceholderAPI 1.20.6 ist there 1.21 out yet?

jagged snow
#

Hey there,
Is there a way to improve my way of giving an item with random enchantments? When the random placeholder outputs 0, Minecraft code still applies the 0 as an attribute on the item: Unbreaking enchantment.level.0.

the command I'm using:
minecraft:give %player% leather_boots{display:Enchantments:[{id:"minecraft:protection",lvl:%randomnumber_value_0_5%s},{id:"minecraft:fire_protection",lvl:%randomnumber_value_0_5%s},{id:"minecraft:feather_falling",lvl:%randomnumber_value_0_5%s},{id:"minecraft:blast_protection",lvl:%randomnumber_value_0_5%s},{id:"minecraft:projectile_protection",lvl:%randomnumber_value_0_5%s},{id:"minecraft:thorns",lvl:%randomnumber_value_0_4%s},{id:"minecraft:depth_strider",lvl:%randomnumber_value_0_4%s},{id:"minecraft:frost_walker",lvl:%randomnumber_value_0_3%s},{id:"minecraft:unbreaking",lvl:%randomnumber_value_0_4%s},{id:"minecraft:mending",lvl:%randomnumber_value_0_1%s},{id:"minecraft:soul_speed",lvl:%randomnumber_value_0_4%s}]} 1

Is there a better way to handle this, so that enchantments with a level of 0 are not applied to the item?

balmy marten
soft wind
#

Hi, anyone knows why %bungee_total% (Bungee expansion) might duplicate the connected users when they rejoin? There might be a bad configuration involved?

sharp bloom
sharp bloom
tender vaporBOT
balmy spear
#

I did 'Your rank is %luckperms-prefix%'

And it doesnt show the rank

#

For deluxe menus

#

@idle coral

tender vaporBOT
balmy spear
#

sorry

balmy spear
#

@sharp jay

tender vaporBOT
sharp jay
#

Ping again and you will be muted

balmy spear
#

Sorry

manic badge
#

you ping = you get ignored

manic badge
vivid sparrow
balmy spear
#

:/

manic badge
#

🙁 never ping anyone if you need help faster

balmy spear
#

Sowy

vivid sparrow
manic badge
#

should be %luckperms_prefix%

balmy spear
#

I use that

#

I would show a pic but i cant send them :/

manic badge
#

why did u send %luckperms-prefix% then 😦

#

?imgur

tender vaporBOT
balmy spear
vivid sparrow
#

lol

balmy spear
#

I sent steve head because it should be the players head but it doesn't show players head it shows default head

material: PLAYER_HEAD skull_owner: "%player%" # Ensure placeholder %player% is used correctly

manic badge
#

firstly, make changes in the placeholder and then send new screenshot

balmy spear
#

What placeholders for them though

manic badge
#

did you check the wiki link? sent by gabytm

balmy spear
#

No :]

#

I will now

#

Where do I go on the placeholder website theres like 6000 opinions

steep briar
#

Hey no matter how many times I download and reload the plugin, the placeholders just dont work

#

when i do /papi reload in the server, it doesnt even give any result

balmy spear
steep briar
balmy spear
#

Thats only one I know lol I got same issue tho

steep briar
#

they take like 15 minutes to appear

#

after restart

#

maybe because we have like 50,000 unique players registered in server

#

and 6 expansions

balmy spear
#

Bro owns hypixel 💀

steep briar
balmy spear
#

Now its zvoteparty

#

:/

steep briar
#

for like 10 minutes

manic badge
balmy spear
manic badge
ebon python
#

What to do?, download /papi ecloud download Player, later write /papi reload, and it just won't reboot.

#

java 16

#
Generated: June 22, 2024 at 9:48:06 PM UTC

PlaceholderAPI: 2.11.6

Expansions Registered:
  cmi  [Author: [Zrips], Version: 9.7.4.0]
  cmil [Author: [Zrips], Version: 1.5.0.2]

Expansions Directory:
  Expansion-luckperms.jar
  Expansion-math.jar
  Expansion-player.jar
  Expansion-server.jar
  Expansion-statistic.jar
  Expansion-vault.jar
  Javascript-Expansion-2.1.2 (2).jar

Server Info: 1.16.5-R0.1-SNAPSHOT/git-Paper-790 (MC: 1.16.5)
Java Version: 16.0.2

Plugin Info:
  CMI            [Authors: [Zrips], Version: 9.7.4.0]
  CMILib         [Authors: [Zrips], Version: 1.5.0.2]
  PlaceholderAPI [Authors: [HelpChat], Version: 2.11.6]
  PlugManX       [Authors: [rylinaux, Entity303], Version: 2.4.0]
  Vault          [Authors: [cereal, Sleaker, mung3r], Version: 1.7.3-b131]```
tender vaporBOT
zealous sky
#

Hi it is possible to do something like this: '%bungee_<adventure>%+%bungee_<towny>%/100' ?

#

I'm trying to show online players from 2 servers in a single value, which amounts to adding both values.

modest parrot
#

I don't know what is this placeholder. i tried /papi parse me %player_first_played%

#

and it shows: 1644706586317

lone cobalt
#
menu_title: '&8Market Trading Options'
update_interval: 1
open_command: buyMenu
register_command: true  
size: 27

open_requirement:
  requirements:
    permission:
      type: has permission
      permission: dynamicmarket.menu
  deny_commands:
  - '[message] '
  - '[message] &7You have to atleast have &#94968D&lWanderer&7 rank'
  - '[message] &7to access this feature.'
  - '[message] '

args:
- item
- lastmenu

items:
  '11':
    update: true
    display_name: '&f&#dbdbdb&l%javascript_itemNameParser_{item}%'
    material: 'placeholder-%string_uppercase_{item}%'
    slot: 11
    lore:
    - "&#13d116✦ Buy for: &#ffbf00%DMBuyPrice_{item},1%₵"
    - "&#cf1717✦ Sell for: &#ffbf00%DMSellPrice_{item},1%₵"
    - ''
    - '&8⏵ &7Left click to buy'
    - '&8⏵&7 Right click to sell'
    - '{item}'
    - '&f%DMSellPrice_{item},1%'
    - '&f%DMSellPrice_cobblestone,1%'

Using menus from my old server which was on 1.20.2, to 1.21 and now the args dont get parsed before the placeholder gets requested

for example
- '{item}'
that comes out correctly, for example cobblestone while
'placeholder-%string_uppercase_{item}%'
this comes out to just {ITEM}

#

Did you figure out how?

#

parse_placeholders_after_arguments Does it

#

https://github.com/HelpChat/DeluxeMenus/issues/78
I dont get the argument of making this change just to hinder peoples ability to use the placeholders wrong, args in placeholders for me just creates an opportunity to create reusable menus, dont see why that should be hidden behind a setting because some people choose to use placeholders wrong

#

Or am i missing something

fair sigil
#

р

#

Could not find artifact me.clip:placeholderapi:pom:2.10.9 in papermc-repo

I can't download the library

zealous sky
manic badge
#

but im not sure how

zealous sky
#

Okay... so I have to search how to use math expansion

#

thx

manic badge
#

i literally dont know how to use this thing, i just indexed it 😅

zealous sky
#

Works!

#

Thx!

#

❤️

manic badge
#

🙂 👍

vivid sparrow
warm plover
#

It just doesn’t have documentation yet im guessing because it’s a dev build

earnest swift
#

@manic badge %lifesteal_hearts%
%afk%

#

@lilac oxide
@warm topaz
@idle coral

earnest swift
#

help me

patent vale
#

Hi, I'm just here to ask one question. Is placeholder api and text placeholder api the same thing?

earnest swift
lilac oxide
#

PlaceholderAPI is for Paper/Spigot servers

patent vale
#

Okay, thanks. I wasn't sure because I've only seen Text Placeholder API, and assumed it was different. However, the url is : https://modrinth.com/mod/placeholder-api , so I just decided to ask.

Anyways, are there any dev builds available for 1.21?

patent vale
urban canopy
#

@tender vapor

tender vaporBOT
urban canopy
#

@lilac oxide
@warm topaz
@idle coral

warm topaz
#

mohist is unsupported

#

and please, stop pinging

urban canopy
#

Ok, Sorry.

warm topaz
urban canopy
#

Kaliber

#

Is there an old version that works on Mohist?

warm topaz
#

i cant say for sure

urban canopy
#

Just say something, I'll test it, it's okay if it doesn't work, hope is the last thing to die

warm topaz
#

mohist has never been supported, so thatll be at ur discretion

urban canopy
#

Okay

#

Is there any software that supports plugins and mods that PAPI works with?

icy fiber
#

hi! dev builds for 1.21?

civic orchid
#

(idk)

manic badge
sand furnace
#

the dump

#

help

#

zip file closed (expansion file: /home/container/plugins/PlaceholderAPI/expansions/Expansion-server.jar)

#

idk

old plover
#

Hey!
I am using PremiumVanish on my server, and the Server extension doesn't seem to care about vanished staff.
There is a moderator that is currently vanished, however %server_online% still counts them in.
In older versions of PlaceholderAPI (or PremiumVanish), it did not happen - is there any way I can fix it?
Thanks.

I'd send a screenshot as well, but I do not have permission to do it

vivid sparrow
#
%premiumvanish_isvanished%
%premiumvanish_vanishedplayers%
%premiumvanish_playercount%
%premiumvanish_playercountwithoutshowintab%
%premiumvanish_bungeeplayercount%
%premiumvanish_bungeeplayercount@<server>%
%premiumvanish_target%
%premiumvanish_uselevel%
%premiumvanish_seelevel%```
#

use the placeholders provided by premiumvanish

keen breach
#

hello placeholderapi
/papi reload an error when I reload it, I can only see it from the console

keen breach
tender vaporBOT
keen breach
tender vaporBOT
keen breach
#

heeeelp

#

please

#

😦

keen breach
#

:((((((((((

keen breach
#

heeeeeeeeelp

#

aaaaarrrrg

steep arch
vast crystal
#

hey a silly question, for %playtime_hour%, will Statistic expansion work?

#

I don't think it does...

#

@sharp jay

tender vaporBOT
quick tartan
#

As a plugin author creating an internal expansion, do I need to be wary of server owners using older/newer versions of papi than what I compile against? What is the recommended way to handle this?

blissful pecan
#

i want to choose one of the online players like player_1 or player_2 but i couldnt find the placeholder for it

thin arrow
#

Does anyone know what the variable is to place the number of hours played by each person in a hologram? Example: make a top 5 hours played on the server

torn kestrel
vast crystal
#

no, I meant like will the specific placeholder that I mentioned, will that work if i hv statistic?

mossy elk
#

Hello! 1.21 a thing yet? 🙂

mint fable
#

%statistic_ placeholders are from the statistic expansion

vast crystal
#

aight thanks :D

#

smdy arguing with me for no reason 💀

strange stump
#

why is /papi parse me %health% return "%health%" instead of an integer?

carmine veldt
#

because %health% isn't a placeholder

#

papi works by having a bunch of different expansions which contain different kinds of placeholders

strange stump
#

Oh true, well the underlying problem was its not parsing with tab plugin

carmine veldt
#

if you wanted to get the health of a player, you'd want to use the player expansion

#

which has the placeholder %player_health%

hardy isle
#

soo I'm using TAB, I've got a serious question, for some reason Citizens is just giving me issues since <Player cannot be null> but what I'm using doesn't really require a player, is there some way to fix <Player cannot be null>? Picture of the issue I'm facing: https://imgur.com/a/pmA3f4u
What I'm trying to do: %tab_placeholder_animation:RandomAnimationHere%

jagged snow
#

I created my own extension and now I would like to upload it to ecloud. The website says I need to use discord to get in touch with you because I cannot create an account.

reef musk
#

hey

#

guys

#

I need some help

#

When i try to download any expansion from ecloud it says unable to find.

bold ore
#

Heya

bold ore
#

So im using deluxemenus

#

and

#

the placeholders dont work

#

Its really simple

#

I have '[console] eco give %player% 100'

#

as a left click command

#

however for some reason

#

it says "%player% is not online!"

#

i have papi and deluxemenus hooked with eachother and no errors appear

reef musk
#

alright thanks

#

I thought i was only one who was facing this but nvm

bold ore
#

wish i could post images

reef musk
#

i wish they will fix it soon

bold ore
#

fr

#

anyways

#

this issue is killing me

#

two plugins from the same devs and they have issues with one another 😭

reef musk
#

ikr

#

They need to foucs on the bug

bold ore
#

I dont think mine is a bug

#

its

#

my dumb self unable to figure it out

reef musk
#

💀

#

ik sometimes things get weird

bold ore
#

@idle coral could you help :) Im pretty sure its a simple sign issue

bold ore
reef musk
#

💀

bold ore
#

lol

#

God what is the placeholder for playername in deluxemenus gui's

reef musk
#

wait dyde

#

brw

#

btw

bold ore
#

yeah?

reef musk
#

do you have /coinshop deluxe menu ??

bold ore
reef musk
#

I had a default one before now i can't find it i was trying to configure it

bold ore
#

Im making a menu for custom items

reef musk
#

uff

velvet ore
#

is there a placeholder that returns the number of ender pearls shoted? I can not find

sacred light
#

is there placeholder for statistic blocks placed?

manic badge
#

you can use the Statz expansion though

manic badge
#

%statz_blocks_placed% %statz_blocks_placed_<block_ID:data>% %statz_blocks_placed_<block_name>%

/papi reload```
sacred light
manic badge
#

yes

sacred light
#

it says 1.16 will it work on 1.20.4

manic badge
#

worth a try 🙂

sacred light
#

i have to put that file in placeholder expansions right?

manic badge
#

to install it manually 👆
OR
you can simply run these papi commands (automatic process)

/papi reload```
sacred light
#

there is not thing like that

#

i cant do /papi ecloud download Statz

#

and i downloaded that expansion and put it in expansions folder but didnt worked

#

any other methods?

manic badge
#

means you dont have placeholderapi working 🤷‍♂️

#

send your plugin list

sacred light
#

alr

manic badge
#

or install the latest version of papi

tender vaporBOT
sacred light
#

ok

manic badge
#

just in case if you're using older version

tender vaporBOT
manic badge
#

oh nvm its the same

sacred light
#

im using 2.11.6

manic badge
#

send your startup logs then

#

?startuplog

tender vaporBOT
sacred light
#

?paste

tender vaporBOT
sacred light
manic badge
#

i need to go, wait for someone else's reply

sacred light
#

k:/

tame copper
#

can someone help me
[Progress] Couldn't get the number from bungee. The progress will be 0%.

%progress_bar_bungee_parkour_r:&f■_p:&#ffa100&l■%

manic badge
icy fiber
#

hi! dev builds for 1.21?

junior musk
north jetty
tender vaporBOT
manic badge
sacred light
#

is there a placeholder for showing how many players are in specified region?

#

and also which region is player at

sacred light
#

wym

#

im server dev

hot remnant
#

ayway, in order t o this, you need to track the player's location and count players within each region.

sacred light
#

is there placeholder for that

mint fable
sacred light
#

didnt worked

#

oh it works but it doesnt works in skript

mint fable
#

ah, idk how to use skript so

sacred light
#

ok

crystal falcon
#

hey i was wondering if someone could help me figure out why my plugin requires PlaceholderAPI instead of soft depending on it even though thats what i chose


# This sets PlaceholderAPI as an optional dependency for your plugin.
softdepend: [PlaceholderAPI]
#

help would be very much appreciated

vivid sparrow
#

If by "requires" you mean it throws an error when you use the api, that's normal, you need to check that papi is installed before using its api

#

e.g. if (PluginManager#isEnabled("PlaceholderAPI")) new MyExpansion().register()

#

@crystal falcon

fierce shoal
#

Hello i have installed some plugins, i installed the expansions but placeholderapi wont reload. ive had this issue many times. Also on different servers and this one is just made a few hours ago.

tender vaporBOT
green lark
#

hi! i want to set gilds name, max player and online player on my scoreboard how can i do that?

crystal falcon
tender vaporBOT
crystal falcon
#

What about when I replace the text

crystal falcon
vivid sparrow
crystal falcon
vivid sparrow
#

That works, but it is better to have a method that does that and you just call it with the player & text arguments

crystal falcon
#

hmm

#

not quite sure how i'd do that

vivid sparrow
#

void setPlaceholders(player, text) {
// if papi is enabled, set the placeholders
// else return 'text'
}

crystal falcon
#

thanks i'll add this

tulip snow
#

~~Hello, I want to ask, how is it possible to put your own value instead of "yes/no" in the %player_online% placeholder?

  • I’m new here and don’t know where to ask about this, so if I’m on the wrong channel, direct me where I need it 🥺~~
  • Resolved here: #1187784499052945539 Thank <3
wispy nymph
#

sup, is coloring placeholders possible? lets say i have coinsenigne_balance_coins placeholder and i want it green, im using & tags but it is not working somehow?

rustic dew
#

20:06:29 WARN]: [PlaceholderAPI] Failed to download expansion information
java.net.UnknownHostException: api.extendedclip.com
at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:572) ~[?:?]
at java.net.Socket.connect(Socket.java:633) ~[?:?]
at java.net.Socket.connect(Socket.java:583) ~[?:?]
at sun.net.NetworkClient.doConnect(NetworkClient.java:183) ~[?:?]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:533) ~[?:?]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:638) ~[?:?]
at sun.net.www.http.HttpClient.<init>(HttpClient.java:281) ~[?:?]
at sun.net.www.http.HttpClient.New(HttpClient.java:386) ~[?:?]
at sun.net.www.http.HttpClient.New(HttpClient.java:408) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1687) ~[?:?]

anyone know how to fix

tender vaporBOT
low linden
#

Hi can someone help i paste a command (ctg force %player_name% add /cpm setskin -f %player% UwsBAQQxMGdpdDpyYWluYm93Ym9paS9kZTg1N2YzY2VhOWMyYmZjNmM2ODJjNmYwY2YxNGFlNAAAEGw=) with 2 placeholders and after restart my server it automatically changes to another plaaceholder

#

Directly %player% to one more %player_name%

harsh cobalt
#

hi, i have 1.8 server ¿how to fix this?

[PlaceholderAPI] failed to load class files of expansions
java.util.concurrent.CompletionException: java.lang.UnsupportedClassVersionError: at/helpch/placeholderapi/expansion/server/ServerExpansion has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) ~[?:1.8.0_312]
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) ~[?:1.8.0_312]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1606) ~[?:1.8.0_312]
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1596) ~[?:1.8.0_312]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_312]
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_312]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) ~[?:1.8.0_312]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175) ~[?:1.8.0_312]
Caused by: java.lang.UnsupportedClassVersionError: at/helpch/placeholderapi/expansion/server/ServerExpansion has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_312]
at java.lang.ClassLoader.defineClass(ClassLoader.java:756) ~[?:1.8.0_312]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_312]
at java.net.URLClassLoader.defineClass(URLClassLoader.java:473) ~[?:1.8.0_312]
at java.net.URLClassLoader.access$100(URLClassLoader.java:74) ~[?:1.8.0_312]
at java.net.URLClassLoader$1.run(URLClassLoader.java:369) ~[?:1.8.0_312]
at java.net.URLClassLoader$1.run(URLClassLoader.java:363) ~[?:1.8.0_312]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_312]
at java.net.URLClassLoader.findClass(URLClassLoader.java:362) ~[?:1.8.0_312]
at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_312]
at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_312]
at me.clip.placeholderapi.util.FileUtil.findClass(FileUtil.java:62) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:388) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604) ~[?:1.8.0_312]
... 5 more

tender vaporBOT
tame willow
plucky rivet
junior musk
#

PlaceholderAPI uses %%, not {}

plucky rivet
junior musk
#

/papi ecloud download Vault
/papi reload

plucky rivet
#

My server is running a long time already, was normally working before.

junior musk
#

check console

#

?paste

tender vaporBOT
junior musk
#

send the errors

plucky rivet
#

I used the GPT, tks. Was the timezone, didn't recognize the Sao_Paulo on config.

sharp bloom
#

isnt this placeholder supposed to be right? %utils_parseother:[{superior_island_leader}]_luckperms_has_permission_group.mystic%

#

cause it returns me null

#

i m thinking if it has to do with ss2 or luckperms being connected to a database

#

and mby utils doenst get the time to get the info :/ ?

#

idk

junior musk
#

parseplaceholder

sharp bloom
#

OKK when did that changed?

junior musk
#

a few months ago

tame willow
sharp bloom
#

i wasnt aware of it 💀

sharp bloom
junior musk
sharp bloom
#

that will do the work

#

does that mean i will have to change my placeholders in deluxemenus?

#

that uses the arguments?

#

{username}

junior musk
#

not arguments

sharp bloom
#

oh cool

#

just placeholders

#

aight

#

thanks for the info ac_cat_approval

junior musk
#

because those should be parsed first, unless you update to new DeluxeMenus dev builds and forget to toggle the parsing order of placeholders and arguments

brazen tartan
#

So I can an issue

#

Im trying to implement the deluxetags

#

so I added the following format in essentials

#

format: '{deluxetags_identifier}{PREFIX}&r{NICKNAME} &8» &r{MESSAGE}'

#

I also tried {deluxetags_tags}

#

but ingame when u type it shows the {deluxetags_tags} like this and then the rank and name properly

manic badge
prime iron
#

Is there a way to reset a Placeholder?

empty spade
#

Hey, do you guys know any placeholder that returns the player name but in small text?

#

I know it exists, it just...vanished lmao =))

manic badge
manic badge
empty spade
manic badge
#
/papi reload```

`%translatefont_to_small-caps_{player_name}%`
#

try this 👆

empty spade
manic badge
#

👍

empty spade
neat snow
#

is support for 1.21 out yet?

prime iron
#

I don't find it

sharp bloom
sharp jay
#

💀

sharp bloom
#

tan, this is probably the first time the placeholders you did for deluxemenus r being used %utils_parseplaceholder:[{superior_island_leader}]_deluxemenus_opened_menu% 🫡

#

imma make some great stuff w em, thanks for adding em bbheart

junior musk
#

not really the first time

#

but sure

sharp bloom
#

who else used em

#

it hasnt even been months since they were added

junior musk
#

idk, it's been months since I added this placeholder

sharp bloom
#

they aint in the wiki yet

junior musk
#

and it technically is the old parseother, just renamed

#

parseother now takes a direct player name, not parsing placeholders

sharp bloom
#

i m talking about the %deluxemenus_opened_menu% wat

junior musk
#

oh

#

that's not mine

sharp bloom
#

wym its not yours ;-;

#

werent u the one who did the pr?

junior musk
#

uh

#

I don't remember making any PR for DeluxeMenus

sharp bloom
#

it was either u or star

#

bruh

#

lemme check

#

yeah it was u

junior musk
#

oh

#

nvm then

#

but same thing, it's been months since those were added

sharp bloom
#

OKK still, very helpful

junior musk
#

yeah

sharp bloom
#

i wont have people from the same island conflict w the other team members

#
open_requirement:
  requirements:
    not_open_by_leader:
      type: '!string equals'
      input: '%utils_parseplaceholder:[{superior_island_leader}]_deluxemenus_opened_menu%'
      output: 'island_upgrades_generators'
    not_open_by_member_1:
      type: '!string equals'
      input: '%utils_parseplaceholder:[{superior_island_leader}]_island_member_1%'
      output: 'island_upgrades_generators'
    not_open_by_member_2:
      type: '!string equals'
      input: '%utils_parseplaceholder:[{superior_island_leader}]_island_member_2%'
      output: 'island_upgrades_generators'
    not_open_by_member_3:
      type: '!string equals'
      input: '%utils_parseplaceholder:[{superior_island_leader}]_island_member_3%'
      output: 'island_upgrades_generators'
    not_open_by_member_4:
      type: '!string equals'
      input: '%utils_parseplaceholder:[{superior_island_leader}]_island_member_4%'
      output: 'island_upgrades_generators'
    not_open_by_member_5:
      type: '!string equals'
      input: '%utils_parseplaceholder:[{superior_island_leader}]_island_member_5%'
      output: 'island_upgrades_generators'
  deny_commands: 
  - '[message] %gradient2_style:bold,&#ed7d21,&#fdc99f2,Skyblock% &8» &7Another team member has this menu opened.'
  - '[sound] BLOCK_NOTE_BLOCK_BASS'

catjamrgb

#

that solves a lot the problem w the update of placeholders

#

in lore for example

#

wait a sec

#

i just noticed its wrong 💀

#

i only check for the leader

#

and tf is the 1-5 lol

prime iron
oak sail
#

is there any placeholders to get the player's armors?

manic badge
dire ocean
#

how do i get an item that i can right click to open a gui, (that i always spawn with and cant move, if that also possible)

manic badge
#

which plugin are you referring to? if thats deluxemenus, its not possible to have items in your inventory. and use the correct channels next time #general-plugins or #1007620980627230730 🙂

dire ocean
#

oh im sorry put it in the wrong channel 😦

manic badge
#

🤝

manic badge
#

use the correct channel, and never crosspost

warm ibex
#

Hello

#

How can I make an EssentialX placeholder display on a velocity server? I`m using TAB and I'm trying to make it display AFK status, but I'm not sure how to make it work

manic badge
#

you need tab-bridged afaik

warm ibex
junior musk
woeful gyro
#

Hi, one question: How can i evaluate a placeholder api placeholder like %player_name% inside a javascript expression which will be evaluated with nashorn engine?

raven parcel
#

Is there a placeholder for harvested potato's?

sleek ravine
#

Hi! My %vault_eco_balance% placeholder is showing the decimals with the "," Can I change it to the "." ?

manic badge
#

use formatted or fixed

#

aint sure which one does that

manic badge
sleek ravine
manic badge
#

oh wait, im sorry didnt read it carefully

manic badge
sleek ravine
#

yeah, but this have the correctly format, so when I use a command like the /eco give, it shows the amount of money with the "."

#

it only happen on the placeholder output

manic badge
#

i have no idea how to use the formatter expansion, but lets give it a try 😅
/papi ecloud download Formatter
/papi reload
%formatter_text_replace_._,_%vault_eco_balance%%

sleek ravine
#

actually worked, ty!

manic badge
#

🙂 👍

native ivy
#

Hello, am trying to set %player_name% placeholder but is says not online, and I see the name is correct becose it is me, there is something else to do?

manic badge
#

where are you trying to set it?

#

and what does it return?

native ivy
#

Give an item whit ei plugin, and returns my name correctly but it's says is not online

manic badge
#

send a screenshot of it

#

?imgur

tender vaporBOT
native ivy
#

Dhute

#

Shure

#

I can't

#

@manic badge I send the ss for pm

manic badge
#

@native ivy your issue comes from executableitems and has nothing to do with PAPI

#

i recommend you to send a new message in #general-plugins explaining what is happening

native ivy
#

maybe, becose i just tryed whit another plugin using the same placeholder and returns the same messege

dusk warren
#

hey is it possible to parse anything of offline players by uuid? like %player_is_whitelisted% or atleast able to parse something on serverA while player is on serverB (bungeecord)

upper violet
#

how would i fix this im not very good with the math expressions

#

30.06 19:32:38 [Server] WARN [PlaceholderAPI] [math] Cause: 12.5+({jobsr is not a valid integer number.
30.06 19:32:38 [Server] WARN [PlaceholderAPI] [math] Placeholder: %math_12.5+({jobsr_user_jlevel_miner}*0.03)%
30.06 19:32:38 [Server] WARN [PlaceholderAPI] [math] Invalid Placeholder detected!

#

they must of had an update from the last time i used the placeholder

upper violet
#

any help appreciated not very good with math expressions

#

- '&fWooden Sword &8&l▪ &a$%math_1:+({jobsr_user_jlevel_blacksmith}*0.03)% &b1pts &61exp' - '&fIron Sword &8&l▪ &a$%math_2:+({jobsr_user_jlevel_blacksmith}*0.03)% &b2pts &62exp' - '&fGolden Sword &8&l▪ &a$%math_3:+({jobsr_user_jlevel_blacksmith}*0.03)% &b3pts &63exp' - '&fDiamond Sword &8&l▪ &a$%math_4:+({jobsr_user_jlevel_blacksmith}*0.03)% &b4pts &64exp'

vivid sparrow
#

parse the jlevel placeholder, if it doesn't return a number then it is probably invalid

upper violet
#

30.06 20:28:40 [Server] WARN [PlaceholderAPI] [math] Cause: '16:+(0*0.03)' is not a valid Math expression. 30.06 20:28:40 [Server] WARN [PlaceholderAPI] [math] Placeholder: %math_16:+({jobsr_user_jlevel_blacksmith}*0.03)%

#

now thats fix but now what is wrong

#

ive set this stuff up a long time ago so there must of been changes that im unaware of

junior musk
#

remove the : after the 16

upper violet
#

finally everthing is fixed now

#

thanks guys

shadow flare
#

hey, does anyone know how i can do this:
player.sendMessage("%statistic_time_played%");

junior musk
#

player.sendMessage(PlaceholderAPI.setPlaceholders(player, "%statistic_time_played%"));

shadow flare
#

thanks 🙂

tidal zealot
#

so factionsuuid has a placeholder thats %rel_factionsuuid_faction_relation_color% or something like that

#

and it doesnt return a color code it returns like the equivalent of ChatColor.RED

#

how can i use it not as a string but as what it returns

junior musk
#

not sure what you mean by that

#

where are you using it and what do you want to do with it?

gilded grotto
#

do i put permission nodes in the config folder?

rustic prairie
#

the ess chat place holders do not work
like there is no deluxe_chat: false anymore

ember shoal
#

Hi, how can I set an owner on a weapon/armor claimed by a player? Like a lore that says: Owner: Username when they receive the custom rank's kit.
I've used ItemEdit and Essentials too, but I haven't found the way to make it work by using the placeholders. I know the option exists cause I've seen it in other servers, but I haven't been able to make it work :c I hope someone can help me

jagged ermine
#

Need someone smarter than me to figure this out

idle pebble
jagged ermine
manic badge
#

oh nvm you did

idle pebble
#

i just want to fix it nobody can use the gui always an error popping up

jaunty hare
#

hello guys!! how to get in javascript expansion string in gui?

shadow flare
junior musk
#

same thing

shadow flare
#

doesnt work

junior musk
#

that's very descriptive

shadow flare
#

i cant send pics

manic badge
#

?imgur

tender vaporBOT
sharp bloom
sinful anvil
#

Hey! So I am trying to get time for a specific time zone with proper timezone ID but it just keeps on showing the local time. I am using localtime_timezone_<TimeZoneID> for it. Does anyone know how to fix this issue?

vivid sparrow
#

what is the id that you are using?

austere hawk
#

is there a 1.21 version yet?

stone marten
#

Does the plugin work for 1.20.6?

torpid spire
#

Player has a Quest started and it would track the distance from Player to the NPC using decenthologram
Can someone help me with this? I know its placeholder but i cant figure out which one
Something like this https://i.imgur.com/0RFUvhv.png

manic badge
sinful anvil
tender vaporBOT
sinful anvil
#

282

vivid sparrow
#

Im pretty sure it expects a name like Europe/Bucharest

shadow flare
#

Hey, when i use a placeholder for a offline player in my Plugin it just says nothing

shadow flare
#

I Used %luckperms_primary_group_name%
And it just says nothing

rotund pendant
shadow flare
#

why mine

#

i want to get the placeholder of an offline player

rotund pendant
shadow flare
#

yes

rotund pendant
# shadow flare yes

Does /papi parse (player) (placeholder) show the correct value or the empty string?

shadow flare
#

empty

rotund pendant
shadow flare
#

yes

rotund pendant
shadow flare
#

nope

#

it shows the rank

rotund pendant
shadow flare
#

yes

rotund pendant
shadow flare
#

i have a paper server

#

but soon bungeecord

rotund pendant
#

So it's cracked?

shadow flare
#

for bedrock players?

rotund pendant
#

Apologies, like is your server set so people who haven't bought Minecraft officially can join or not?

shadow flare
#

idk, where can i see that?

rotund pendant
#

Your server isn't a bungeecord network currently, correct?

shadow flare
#

yes

rotund pendant
#

Do you have online-mode set to true or false in the server.properties?

shadow flare
#

true

rotund pendant
# shadow flare true

Interesting. I wonder if the player data is simply unloaded when leaving - I'll have a play around it when I am home.

shadow flare
#

okay.

rotund pendant
# shadow flare okay.

I had a quick nosey of luckperms' config, try enabling vault-unsafe-lookups then restart the server. Let me know if that fixes it.

Do note, it may have a performance impact on the server.

rotund pendant
#

@shadow flare Did the above work?

pine verge
#

When using the command /papi ecloud download WorldBorder, it doesn't seem to show WorldBorder as an option. Even though this is a valid command according to the placeholder api wiki.

manic badge
#

did you run /papi reload afterwards?

pine verge
manic badge
#

🤔

#

what happens when you run the command?

pine verge
#

Failed to find an expansion WorldBorder

manic badge
#

any errors in console?

pine verge
#

nope

manic badge
#

try manually installing the expansion

pine verge
#

How can I do that?

manic badge
#

Then run the /papi reload command.```
source -> https://api.extendedclip.com/expansions/worldborder/
pine verge
#

Oh interesting, i've never seen that site.

manic badge
#

green download button can be found on the source website 😅

pine verge
#

im just using the wiki

manic badge
#

👍

shadow flare
pine verge
#

perfect that seems to work

#

thanks, strange how it can't just download from the command?

manic badge
#

could be your firewall issue

#

?ecloudblock

tender vaporBOT
pine verge
#

I don't think so because it doesn't even show an option for the WorldBorder download its not like its just failing to download.

manic badge
#

there should be an error in your console

pine verge
#

No errors

#

I wish I could send a screenshot here

manic badge
#

?imgur

tender vaporBOT
pine verge
#

alr

rotund pendant
pine verge
#

there isnt an option for it

manic badge
#

no, i mean what happens when you run /papi ecloud download Worldborder? something like unknown command or anything else

pine verge
#

it fails to find the expansion and no errors pop up in console for it

manic badge
#

oh wait i just found that it isnt verified.

#

on the ecloud website it says the expansion isnt verified

#

and not-verified expansions cannot be downloaded using commands

#

"As this isn't a verified expansion you can only install this expansion manually."

#

¯_(ツ)_/¯

pine verge
#

Oh alright. Haha

#

Then why is the command an option on the wiki

#

lol

manic badge
manic badge
#

unverified expansion but download command exist

sharp bloom
#

not every expansion is available to download directly

sharp bloom
manic badge
#

no

#

the expansion isnt verified

sharp bloom
mental rover
#

Hey just wondering if PlaceHolderAPI works with TextDisplayEntites

mental rover
#

Hello mackenzie

#

And yes it doesnt

rotund pendant
#

Of course it doesn't embed. PES_Why

mental rover
#

Anyway i can make it?

rotund pendant
#

Is TextDisplayEntites a plugin?

mental rover
#

Shrug, lemme try that

rotund pendant
#

This works with PAPI.

mental rover
#

Ohh hell 😭

#

thanks a lot lemme try this

rotund pendant
vivid sparrow
lament sorrel
#

can anyone tell me how can i have different kill, deaths and playtime stats for different multiworlds? i have searched for it for hours but i couldn't find any solutions

manic badge
#

afaik, its not possible with the default expansions. you'd want to use other plugins
the normal placeholders just take up all the stats from main world folder

lament sorrel
#

ik but i used different plugins too like statz and multiverse inventories but i couldn't find a solution also asked chatgpt and he was saying dumb shit

sharp bloom
#

custom made plugin OKK

pearl sapphire
#

Is there any newer build than #197 (PlaceholderAPI-2.11.6.jar)? This build isn't working on 1.21.

balmy marten
#

Its most likely an expansion depending on some nms thing

pearl sapphire
#

PlaceholderAPI is shown in red in /plugins as if it was not loading at all. I haven't any errors or warnings.

balmy marten
#

It can't be red and not show an error

#

Not exactly possible

tender vaporBOT
balmy marten
#

^

pearl sapphire
balmy marten
#

Is it in the /plugins folder?

pearl sapphire
#

Yes

balmy marten
#

what size is the jar?

pearl sapphire
#

I've changed paper version and it's working properly now on: Java-Paper 1.21 build 40. Thank you for your help and the time you dedicated.

balmy marten
#

All good

sweet moss
#

Can someone help me, im wanting to use placeholder api to display a placeholder with %MagicAvatar_skin_%player%%, basicallay i want to use a placeholde rin another placeholder.

rotund pendant
sweet moss
#

happyhud but also im running the command /papi phrase <my_name> %MagicAvatarskin%player%% and it does not work

rotund pendant
sweet moss
#

%MagicAvatar_skin%player%%

#

so the placeholder %MagicAvatar_skin_player% works where it returns the face of the person running the command but i want it to return the target players face if they are looking at them which will work if i can allow placeholders to return inside a placeholder such as %MagicAvatar_skin%player%%

rotund pendant
sweet moss
rotund pendant
sweet moss
#

the placeholder is called %target_name%

sweet moss
#

just returns the name of the player if they are looking at a player otherwise it returns nothing

rotund pendant
sweet moss
#

its a custom plugin yes