#placeholder-api

150650 messages · Page 81 of 151

formal flower
#

Hello, would anyone know what is happening? For example I type /papi ecloud download server, but it says that it doesnt exist, and its like that for all of them (player, essentials, vault...)

stark shard
#

Download the expansion manually

#

Into the expansion folder and reload the server

potent spear
#

I'm trying to create a Discord bridge plugin, and I want the configuration to use PAPI.

I can't find a way to pass a custom variable. Is this possible? There is an expansion API, but I want to add a %message% expansion, which requires additional context other than the player. There's no way to pass custom parameters to setPlaceholders, neither are there any arguments for custom parameters in the onPlaceholderRequest method. I already tried asking on the Spigot forums, but I feel on this server you'll be more knowledgable about this API specifically.

Here is an example of what I'm trying to do:

channels:
  minecraft-chat:
    player-chat:
      embeds:
        -
          author:
            name: '%player_displayname%'
            icon: crafatar-url-cant-post/avatars/%player_uuid%?overlay=true
          title: '%message_content%'
wheat orbit
#

can someone help me?

vivid sparrow
#

Replace the internal placeholders first using String#replace or something @potent spear

potent spear
#

Like, .replace("%message_content%", event.getMessage())?

wheat orbit
#

'[player] papi parse me %javascript_cooldown_2_start%<delay=20>'this is the command i put in config

potent spear
wheat orbit
#

but when the player uses it, it doesn't have a placeholderapi

vivid sparrow
#

Use a different format then, papi is not meant for internal placeholders

potent spear
#

This may sound silly, but, why not?

vivid sparrow
#

Because is not

potent spear
# vivid sparrow Because is not

Are they any alternatives designed for that? I just wanted to use placeholder API so it can hook into loads of other plugins such as a rank plugin.

vivid sparrow
#

All you have to do is to use something else for internal placeholders

potent spear
#

That will create a bit of a mess, though.

wheat orbit
#

[player] papi parse me %javascript_cooldown_2_start%<delay=20>
I put this command in the config, but when the player uses it, there is no javascript.

#

log: MeoRung issued server command: /papi parse me

#

no %javascript_cooldown_2_start%

#

i'm using DeluxeMenus and PAPI latest version

vivid sparrow
#

2016 though

vivid sparrow
potent spear
# vivid sparrow Why?

I'll either have to copy a large amount of the code and tweak it, or write another parser. Just doesn't feel right.

wheat orbit
#

can someone help me?

potent spear
potent spear
white coral
#

hey placeholder api nothing works when i type stuff download and type /papi reload nothing shows up in the scoreboard (it doesn't work for everything) how do i fix this?

vivid sparrow
#

Or just use String#replace, what papi uses is made for bigger things

formal flower
white coral
#

ok

#

Does anyone know about the BungeeOnlineTime plugin, it is not displayed in my scoreboard either

wheat orbit
#

can someone help me

formal flower
silent cave
#

Hey folks, got a bit of an issue here I'm trying to troubleshoot.

If you're comparing a placeholder value to a boolean, is there a specific syntax for that? Because I'm not sure which plugin is at fault here.

untold crater
#

can you give us a bit more context?

silent cave
#

Yeah, It's either PAPI, JobsReborn or Interactions.

When I do papi parse I get the expected result, but when using the jobs reborn placeholder in the interactions plugin. it doesn't work as expected.

options:
      option1:
        text: "I'd like to work as a farmer."
        requires:
        - "%jobsr_user_isin_farmer% == False"

Doing parse comes back with the correct result though: False == False

#

I've downloaded the extension and reloaded PAPI but it's still giving me grief.

untold crater
#

comparing like that is not up to papi

#

thatll be the plugin that you're configuring

silent cave
#

Hmm. Not sure then, lemme try another plugin

untold crater
#

or go and speak to their support

silent cave
#

Yeah I don't think it's interactions that's the problem. Essentials workls fine. Off to JobsReborn I go again. Thanks anyway. ^_^

silent cave
#

One more question. How do I parse a placeholder on the server console? (If possible)

turbid tide
#

you can't with papi parse. at least not yet. I believe next update will contain this. Well technically you can't at all. You can give it a Player, an OfflinePlayer and null.

silent cave
#

Damn. Still trying to figure out what's causing this issue. I'm actually wondering if there's some hidden color codes or something in this placeholder.

#

Because any time I do a parse normally, the placeholder is white. This one comes out green.

turbid tide
#

/papi parse me %jobsr_user_isin_farmer% and send a screenshot of the output.

#

also go to plugins/PlaceholderAPI/config.yml and tell me what the boolean: options are set to

silent cave
#

k gimme 2 secs

#

Won't let me send a screenshot?

tender vaporBOT
silent cave
#

Ah...

#

Basically when I run the command. I just get True in green, gimme 2 secs on those options

#
boolean:
  'true': 'yes'
  'false': 'no'

You're about to tell me to use yes and no instead of true or false aren't you? lol

junior musk
#

try with &2True

#

since that's what the placeholder returns

silent cave
#

That hasn't worked.

junior musk
#

can you show your config?

silent cave
#

The PAPI one?

turbid tide
#

probably section symbol instead of &

#

try §2True

silent cave
#

Lemme try that first, then i'll drop the config

silent cave
#

Why in gods name they have to include section symbols in the placeholder I do not know. That's just stupid.

turbid tide
#

well that's what & is translated to

silent cave
#

But yeah, everything's working as intended now, appreciate it.

turbid tide
#

that's how legacy colors actually work

#

they're not using & plugins are just translating those to the section symbol

#

but I still agree that it shouldn't return colored input at all

silent cave
#

Yeah I knew something was off when it parsed essentials and such with no issue.

#

So yeah, JobsReborn needs a bit of a kick.

#

Thanks y'all 🙂

wheat orbit
#

@turbid tide can you help me?

turbid tide
#

hmm?

stark shard
#

that's a federal crime

narrow hamlet
#

What can I get the players online in a server?

#

I need to install PAPI on my bungee cord server?

turbid tide
#

no. PAPI won't work on bungee

narrow hamlet
#

Ok

#

How can I get the players online in the survival, I put the holo in the server of lobby

#

I use HolographicDysplais

#

Displays

stark shard
turbid tide
#

you can't with the available expansions.

#

unless you want the amount of players

#

you can get that

#

just not the list

narrow hamlet
#

I have +1500 holograms with HolographicDisplays

stark shard
#

bruv

#

the plugin just did me dirty ig

turbid tide
#

they do have a converter if you do want to switch. but I do recommend a backup before

stark shard
#

this the placeholder idk %server_online_<world>%

turbid tide
#

nope.

stark shard
#

figured

turbid tide
#

bcz that's not cross server

stark shard
#

oh he using bungee

turbid tide
#

%bungee_<server-name>%

stark shard
#

oh he doing it from the hub

#

or whatever

narrow hamlet
#

Yes in the hub

stark shard
#

use what Blitz said

narrow hamlet
#

And it say the count of online players no?

stark shard
#

did u parse it?

narrow hamlet
#

Example 500 players online

narrow hamlet
stark shard
#

/papi ecloud download Bungee then /papi reload

narrow hamlet
#

Yes

#

I do this

#

Ok

turbid tide
narrow hamlet
#

Now works

#

Ok

stark shard
#

so %bungee_<server-name>% should display the amount of players as a number so for me it's %bungee_kitpvp and it will output 0 because 0 players are online, if you want it to look like # players write %bungee_<server-name>% Players

#

oh okay nice

narrow hamlet
#

Thx

#

And a question

#

The plugin works on chest commands ?

stark shard
#

placeholder?

narrow hamlet
#

Yes

turbid tide
#

I believe they do have PAPI support yes.

stark shard
#

I think

narrow hamlet
#

Mmmm

turbid tide
#

let me double check

#

why u using ChestCommands tho?

#

there are more updated GUI plugins out there

stark shard
#

DeluxeMenus promo incoming

turbid tide
narrow hamlet
#

But the extension %player_name% do not work

tender vaporBOT
turbid tide
#

you have to download

stark shard
#

parse ^

#

most things need to be parsed

narrow hamlet
#

Yes I put /papi eclogue download player

stark shard
stark shard
narrow hamlet
#

Yes

narrow hamlet
stark shard
#

What's ur concern?

narrow hamlet
#

On Chest comanda not work

stark shard
#

it should

#

they support papi

#

%player_name%

turbid tide
#

what does /papi parse me %player_name% return?

narrow hamlet
#

Yes i put %player_name%

narrow hamlet
#

Yes

stark shard
#

what?

#

should return ur name

narrow hamlet
#

Yes

turbid tide
#

yeah. I guess their PAPI support is broken then

#

idk

stark shard
#

Use DeluxeMenus

#

for making menus

#

much better

turbid tide
#

As I've said, the plugin hasn't been updated in 2 years. use some other menu plugin. DeluxeMenus is an option but pretty sure there's others out there if you want to give them a try

stark shard
#

is ur version supported by ChestCommands?

narrow hamlet
#

My server is on 1.8.8

stark shard
#

just use DeluxeMenus

#

it's better overall

narrow hamlet
#

Ok

#

Thx

stark shard
narrow hamlet
#

I download it

stark shard
#

redownload it

#

u downloaded the wrong one

narrow hamlet
#

Ok

tender vaporBOT
narrow hamlet
#

Thanks

hybrid socket
#

please help me :((

stark shard
#

if u need help use the wiki, and i reccomend watching a youtube tutorial before starting

#

helped me a lot

hybrid socket
#

idk why @p wont work

narrow hamlet
#

i need to se a tutorial

stark shard
#

ill send my favorite 1.8

#

one

turbid tide
#

@hybrid socket @p is not a PAPI placeholder.

stark shard
stark shard
#

i think that what @p means

hybrid socket
#

still says: Error: Player not found

stark shard
#

do you have placeholderapi plugin, and did u do /papi ecloud download player and /papi reload ?

hybrid socket
stark shard
#

bruv

turbid tide
# hybrid socket whats that

that's a minecraft thing. it only works in minecraft commands. or I guess plugins can add support for it but most don't

hybrid socket
#

what plugin would i need

#

to make those commands work

#

ill add anything

stark shard
#

Download placeholder api plugin, then do /papi ecloud download player and /papi reload then when u a target uses a command executed by a console like [console] tp %player_name% 1 1 1 the player who clicked it will be teleported to 1 1 1

hybrid socket
#

ok

stark shard
hybrid socket
#

ill let u know if it works

#

does it work for 1.16.5

stark shard
#

yes

#

the literal name of this channel is for that plugin's specific support

hybrid socket
#

fingers crossd this works

stark shard
#

I don't believe in luck

hybrid socket
#

i did every step u did

#

n it said Error: Player not found

wheat orbit
#

why my deluxemenus can't use Javascript?

sharp jay
#

@wheat orbit

#

?help

tender vaporBOT
sharp jay
#

^^

wheat orbit
#

...

sharp jay
sharp jay
# wheat orbit ...

Not enough info what isnt working exactly because for everyone else it works

hybrid socket
sharp jay
hybrid socket
#

/lp user @p set group marley

#

and it says Error:Player not found

#

basically @p only works with commands using minecraft:tp or stuff like that

#

but i want to use /lp with @p

#

but essentialsx

#

isnt letting me

sharp jay
#

is this being put in deluxemenus?

#

or something

hybrid socket
#

ill install more plugins

#

i just want to be able to give ppl luckyperms commands via command blocks

#

and pressure plates

#

without me being online

sharp jay
#

I think its lp user @p parent set marley

hybrid socket
hybrid socket
sharp jay
#

so your having this inside a commandblock ?

hybrid socket
#

and i just want it to be the player who hits the command block

#

yes

#

ive tried running it thru console

#

myself and custom npcs too

#

nothing works

sharp jay
#

try putting a direct username?

hybrid socket
#

i tried using some psudo plugin

#

direct usernames work

#

but i want it to be players

#

who step on the playe

#

plate*

#

so if new ppl join they can choose their side

#

without me having to ask them and go thru the whole process

sharp jay
#

so you try Psudo ...cmd...

hybrid socket
#

how would i write it out with psudo

sharp jay
#

what psudo plugin you using?

lost lagoon
woeful bone
#

How to show whole Velocity proxy player count in TAB plugin? Is the placeholder for that?

radiant plaza
woeful bone
radiant plaza
woeful bone
#

Worked thank you!

radiant plaza
mental night
#

looks like your connection was interrupted

lost lagoon
#

ok

brave light
#

Do these two types of placeholders exist?

  1. Placeholder that would display the level of set potion type that player has applied? For example if I have strength potion of level 3 the placeholder would be smth like: %player_potionlevel_strength% and it would display a number 3 (for as long as the player has the effect)

  2. Placeholder that would display the amount of set attribute on the item that's player currently holding? Example: Player holds a sword with attribute attack_damage in it, its amount is 10. So the placeholder would be smth like %player_attributelevel_attack% and it would display number 10 (as long as the player holds the item)

untold crater
#

i don't think so but they sound reasonably straightforward to implement

brave light
untold crater
#

there's no guarantee but i might pr them in if i have time

untold crater
#

thatll be because i pasted it twice

#

see edit mb

brave light
#

yes good

#

Ok posted, thank you for your help

topaz bison
#

Is there a way to grab mobs' max health?

mental night
#

not that i can see placeholder wise

topaz bison
#

is there an expansion that can grab mob's meta max health and current health?

mental night
pliant pulsar
#

Is there expansion of plotsquared?

topaz bison
#

%player_health_scale%

#

is not working at all

raw fable
#

Seems the %world_nearbyEntities_<radius>% doesn't work. No console spam and running latest dev build, also tested with the last stable release 2.11.1 and same thing. Other World expansion placeholders seem to work

stark shard
#

Which expansion? And did u parse it?

untold crater
next bobcat
#

Hello

#

@carmine veldt

#

Is Placeholder API available for bungeecord proxy connected server ?

carmine veldt
#

no

next bobcat
#

Okay

untold crater
#

straight in with the ping

#

very nice

austere hawk
#

hi

#

pls help me

austere hawk
turbid tide
#

no

austere hawk
#

omg

turbid tide
#

do you really expect people to be cool and help you with all your problems in life when all you do is just shout at them? A better way to ask for help is to write your problem and wait. Not to ping asking for help and then not even saying what you need help with.

lament shore
#

Or just read wiki lmao

raw fable
twin sluice
#

how can I reset the "Statistic" extension?

austere hawk
#
java.net.ConnectException: Connection refused
        at sun.nio.ch.Net.connect0(Native Method) ~[?:?]
        at sun.nio.ch.Net.connect(Net.java:579) ~[?:?]
        at sun.nio.ch.Net.connect(Net.java:568) ~[?:?]
        at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:588) ~[?:?]
        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:498) ~[?:?]
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:603) ~[?:?]
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:246) ~[?:?]
        at sun.net.www.http.HttpClient.New(HttpClient.java:351) ~[?:?]
        at sun.net.www.http.HttpClient.New(HttpClient.java:373) ~[?:?]
        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:1665) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) ~[?:?]
        at java.net.URL.openStream(URL.java:1161) ~[?:?]
        at com.google.common.io.Resources$UrlByteSource.openStream(Resources.java:72) ~[guava-31.0.1-jre.jar:?]
        at com.google.common.io.ByteSource.read(ByteSource.java:296) ~[guava-31.0.1-jre.jar:?]
        at com.google.common.io.ByteSource$AsCharSource.read(ByteSource.java:486) ~[guava-31.0.1-jre.jar:?]```
sharp jay
#

?ecloudblock

tender vaporBOT
twin sluice
sharp jay
#

thats stores in your minecraft world forgot the exact folder

#

but there is a cmd aswell

twin sluice
#

which one

sharp jay
#

main world

#

<world name>/stats/<uuid>.json

twin sluice
#

but I want to reset all players

sharp jay
#

delete all of them...

twin sluice
#

well but I just want the deaths and kills

#

not every stat

sharp jay
#

You just said reset statistic and never specified ... dont expect me to read your mind

twin sluice
#

sorry

sharp jay
#

use the cmd

twin sluice
#

which one

sharp jay
#

its /achievement one

#

I think

cloud salmon
cloud salmon
#

hello?

cloud salmon
#

i put left_click_requirements instead of left_click_requirement agh lmao

vocal folio
#

is there an RGB Placeholders extension with bold font support?

lament leaf
#

Hello, i've a issue with the brackets inside a placeholder, how can i put a placeholder inside a placeholder which is also in another placeholder ?
Like that : %math_{parseother_{placeholder1}_{placeholder2}}-{placeholder3}%
The {} inside another {} prevent the placeholder from working 😟

cunning bloom
#

can anyone help me pls?

mint fable
tender vaporBOT
#

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

cunning bloom
#

i need to send ss

untold crater
#

?imgur

tender vaporBOT
cunning bloom
#

here

mint fable
#

try manual download

cunning bloom
#

who i need to paste?

#

the jar file

mint fable
#

huh?

cunning bloom
#

yes i have download the manuel

#

thing

#

who i need to pate?

#

in plugins folder?

mint fable
#

oh

#

says on website this

cunning bloom
#

kk

cunning bloom
#

yea working

#

ty

untold crater
#

run those commands

mint fable
#

yes

cunning bloom
#

how i can show the rank of the player in the tablist?

#

can anyone help?

#

of luckprems

cunning bloom
tender vaporBOT
cunning bloom
#

oh i have found

sterile musk
#

is PlaceholerAPI Bungee suport?

warm topaz
#

no

sterile musk
#

ok thanks

wet flower
#

dudes

#

my vault placeholders not working

#

why

#

pls help me

#

%vault_eco_balance_formatted%

#

/papi parse me --

turbid tide
#

might mean you don't have either the Vault plugin installed or the Vault expansion installed.

austere hawk
#

hello, I'm getting the error above, I reported it to the author of the plugin and he told me to ask for help here.

turbid tide
radiant plaza
radiant plaza
hasty sage
radiant plaza
austere hawk
#

Help

#

When ill fo /papi ecloud download .... That dont work

sharp jay
#

what expansion

austere hawk
#

Vault,player,statistic

sharp jay
#

whats the issue?

#

its

/papi ecloud download vault
then /papi reload

for each one

austere hawk
#

@sharp jay i cant send image here

tender vaporBOT
austere hawk
#

Oh

#

@sharp jay can i send u in mp ?

sharp jay
#

mp?

#

send image or logs

#

?paste

tender vaporBOT
austere hawk
#

Private message

sharp jay
#

?imgur

tender vaporBOT
sharp jay
#

Check console for errors and send them

austere hawk
#

That say 'Oops! We couldn't find that page' wheen i click at link

sharp jay
#

? works for me

austere hawk
#

._.

sharp jay
austere hawk
#

That put nothing at console that just put in chat 'failed to find an expantion named : vault '

sharp jay
#

try capital V

#

make sure your on the latest version of papi

tender vaporBOT
radiant plaza
#

And strictly follow name conventions

austere hawk
#

How i can get the v2.10.10 cuz at spigot website i find just the 2.11.1

sharp jay
#

oh that cmd isnt updated nvm

austere hawk
#

So thats the 2.11.1 ?

sharp jay
#

send your latest logs

#

?paste

tender vaporBOT
sharp jay
#

yes

lunar agate
#

Hi, I cant' download the Parkour's statistics who can help me ?

sharp jay
#

this one?

#
/papi reload```
#

what does the error show?

lunar agate
#

Yes, when I write the command it say: /papi reload and after: 0 placeholder hook registered!

sharp jay
#

send your latest logs

#

?paste

tender vaporBOT
lunar agate
#

in the console ?

mental night
#

in logs file

sharp jay
#

logs > latest.logs

lunar agate
#

oh ok

#

Ok I pasted it on the website

mental night
#

then save that and send the link here

lunar agate
tender vaporBOT
tender vaporBOT
mental night
#

if this is the case you can ask your service provider to update ur java runtime

untold crater
#

Skikn issued server command: /reload
yikes

#

dont do that

#

restart properly

mental night
#

Ok is this ur own own or like ovh type?

lunar agate
#

So I updated in Java 16

mental night
#

alrighty so its the latest java yeha?

lunar agate
#

It's a french hosting company

mental night
#

ahh okay

lunar agate
#

For a 1.8.8 spigot*

mental night
#

Hold on which plugin are you having issues with ive kind of joined mid convo

lunar agate
#

With parkour

#

I can't downlaod the stats on placeholder

untold crater
#

the issue regarding java versions is worth fixing but is unrelated

lunar agate
#

Rahh when I update to java 16 and + I can't join the server it crash it

untold crater
#

yeah thats because youre using 1.8

#

don't do that

#

use a reasonably modern version

lunar agate
#

Like 1.16.5 ? Or the latest

untold crater
#

really the more up-to-date the better

mental night
#

christ

#

is it really that old?

#

my gosh

lunar agate
#

Ok I'm updating all of the server and I come back when I'm done

mental night
#

👍

lunar agate
#

Protocollib don't work with 1.18.2 ?

#

@sharp jay don't working anymore 😦

lunar agate
mental night
#

probably need to update it

lunar agate
#

I have all the plugins in the latests version

#

Like Placeholders can't download the extensions for any plugins

#

"[09:56:54] [Server thread/WARN]: [HolographicDisplays] The plugin HolographicExtension registered the placeholder {fast} with the old v2 API, but it doesn't comply with the new format. In order to display it, you must use {{fast}} instead.
[09:56:54] [Server thread/WARN]: [HolographicDisplays] The plugin HolographicExtension registered the placeholder {medium} with the old v2 API, but it doesn't comply with the new format. In order to display it, you must use {{medium}} instead.
[09:56:54] [Server thread/WARN]: [HolographicDisplays] The plugin HolographicExtension registered the placeholder {slowest} with the old v2 API, but it doesn't comply with the new format. In order to display it, you must use {{slowest}} instead.
[09:56:54] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[09:56:54] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[09:56:54] [Server thread/INFO]: Done (88.439s)! For help, type "help"
container@pterodactyl~ Server marked as running...
[09:56:54] [Server thread/ERROR]: [PlaceholderAPI] failed to load class files of expansions
[09:56:54] [Craft Scheduler Thread - 3/INFO]: [SUCCESS] CustomJoinAndQuitMessages is up to date!
"

#

Oh I fianlly fixed my problem ty everyone !

violet vector
#

I have a strange issue. I want to use placeholderapi scoreboard objectives in holographicdisplay plugin. The placeholders from papi looks like this: %objective_score_{<obj-name>}%

but in HolographicDisplays looks like this: {papi: name_of_placeholder}

so assuming it will be sth like this: {papi: objective_score_{ts_Deaths}}

I mean two }} near to each other. It does not work.

mint fable
#

other than that you can try using javascript as a workaround

#

making a js placeholder that just returns the value of the other placeholder you want

flat pulsar
#

me too (mven)

untold crater
#

have you added the papi repository

tardy rain
#

Anyone know the placeholder for battlepass_available_quests__%week%?

simple nova
#

is there update for papi ?

#

or not needed

warm topaz
#

for what?

#

there was the 2.11.1 update that came out like 3 months ago

high hemlock
#

some one help me

#

this error

#

[19:51:29 WARN]: [PlaceholderAPI] Task #141 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) ~[patched_1.17.1.jar:git-Paper-409] at org.bukkit.craftbukkit.v1_17_R1.entity.CraftPlayer.sendPluginMessage(CraftPlayer.java:1722) ~[patched_1.17.1.jar:git-Paper-409] 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_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Paper-409] at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[patched_1.17.1.jar:git-Paper-409] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1567) ~[patched_1.17.1.jar:git-Paper-409] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:490) ~[patched_1.17.1.jar:git-Paper-409] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483) ~[patched_1.17.1.jar:git-Paper-409] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282) ~[patched_1.17.1.jar:git-Paper-409] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-409] at java.lang.Thread.run(Thread.java:833) ~[?:?] [19:51:43 INFO]: 1B_nxy issued server command: /hd delete testing

high hemlock
#

[19:51:59 WARN]: [PlaceholderAPI] Task #141 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) ~[patched_1.17.1.jar:git-Paper-409]
at org.bukkit.craftbukkit.v1_17_R1.entity.CraftPlayer.sendPluginMessage(CraftPlayer.java:1722) ~[patched_1.17.1.jar:git-Paper-409]
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_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Paper-409]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1567) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:490) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-409]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[19:52:29 WARN]: [PlaceholderAPI] Task #141 for PlaceholderAPI v2.11.1 generated an exception

high hemlock
#

oops

radiant plaza
steady field
#

Hey!

I am trying to get a placeholder for amount of sugar cane the player as break, anyone know how to do this?

radiant plaza
#

%statistic_break_item:<material>%

steady field
radiant plaza
#

%statistic_mine_block:SUGAR_CANE%

#

@steady field

steady field
#

Thank you, I will give that a try now.

#

[14:07:20 ERROR]: [PlaceholderAPI] [Statistic Expansion] Could not get the statistic 'MINE_BLOCK' for 'SUGAR_CANE'
java.lang.IllegalArgumentException: The supplied Material does not have a corresponding statistic
at org.apache.commons.lang.Validate.notNull(Validate.java:192) ~[server.jar:git-TacoSpigot-bf023c7d]
at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.getStatistic(CraftPlayer.java:701) ~[server.jar:git-TacoSpigot-bf023c7d]
at com.extendedclip.papi.expansion.mcstatistics.StatisticsExpansion.onRequest(StatisticsExpansion.java:195) [Expansion-Statistic.jar:2.0.1]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:237) [PlaceholderAPI.jar:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:377) [PlaceholderAPI.jar:?]
at me.clip.deluxemenus.menu.MenuItem.getItemStack(MenuItem.java:320) [DeluxeMenus.jar:?]
at me.clip.deluxemenus.menu.Menu$2.run(Menu.java:246) [DeluxeMenus.jar:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59) [server.jar:git-TacoSpigot-bf023c7d]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) [server.jar:git-TacoSpigot-bf023c7d]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_312]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_312]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]

radiant plaza
#

Ummm

#

Staffs might help ig

steady field
#

Yeah, thanks anyway 😄

void jungle
untold crater
high hemlock
#

i cant use bungee placeholders

#

helpppp

#

[19:52:59 WARN]: [PlaceholderAPI] Task #141 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) ~[patched_1.17.1.jar:git-Paper-409]
at org.bukkit.craftbukkit.v1_17_R1.entity.CraftPlayer.sendPluginMessage(CraftPlayer.java:1722) ~[patched_1.17.1.jar:git-Paper-409]
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_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Paper-409]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1567) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:490) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282) ~[patched_1.17.1.jar:git-Paper-409]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-409]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[19:53:29 WARN]: [PlaceholderAPI] Task #141 for PlaceholderAPI v2.11.1 generated an exception

high hemlock
void jungle
ashen storm
#

help

grand shard
#

%player_has_permission_mysqleconomybank.use%
this is always returning yes even the permission is removed froma player
any possible fix?

#
lp user narayanadi2017 permission set mysqleconomybank.use slimefun false
[17:50:51 INFO]: [LP] narayanadi2017 already has mysqleconomybank.use set in context server=slimefun, world=false.
papi parse narayanadi2017 %player_has_permission_mysqleconomybank.use%
[17:50:54 INFO]: yes
#

console output to show that i set perms to false

lusty sparrow
#

i need help for this error 🤔

warm topaz
#

we don't support modded servers

#

only spigot servers

vivid sparrow
#

as you can see, the permission is set on server=slimefun and world=false

#

put false after the node

lusty sparrow
#

ok thx

grand shard
vivid sparrow
#

Np

radiant plaza
steady field
radiant plaza
#

%statistic_mine_block:SUGAR_CANE_BLOCK%

radiant plaza
steady field
#

Will try that when I get back on my pc 🙂

radiant plaza
#

okay

void jungle
simple nova
#

gaby

vivid sparrow
#

?

sharp jay
#

?

turbid tide
#

?

untold crater
#

?

hasty sage
#

How can i do edit expansion or create?

stark shard
#

to add an expansion do /papi ecloud download <expansion> then /papi reload to remove one go to plugins > placeholderapi > expansions > then remove the expansion

fading tundra
#

https://gyazo.com/06b25ceb0e3bf9f62f2440cbce9dfc07.png
https://gyazo.com/e4598fb42a74c4baf109c539ddc2ffd3.png

     material: head-%essentials_baltop_player_0%
     slot: 12
     update: true
     display_name: '&b&l[!] &f&n%essentials_baltop_player_0%&7 (#1)'
     lore:
     - ''
     - '&f&l* &b&lBalance &7$%vault_eco_top_balance_commas_1%'
     left_click_commands:
     - '[close]'
     right_click_commands:
     - '[close]'```

I have the PAPI extension from [#placeholder-api message](/guild/164280494874165248/channel/573429521554866178/p/921189021395341373/#msg-6a015bc16fbd49fd17b4e9ba) installed for the Baltop placeholders. When I run the /baltop command, it shows this; https://gyazo.com/decfaa316dab021b3a6d5c87d374e4eb.png, Although both me and another user have more than $0.

When I open up my DeluxeMenu, This is what shows up.

https://gyazo.com/03badc9ffe2f348ab423adf14796975a.png
compact wharf
#

https://paste.helpch.at/ofukehiner.md anybody know what that means? it happens on startup, i just recently got back into minecraft servers and the old papi plugin was outdated and i didnt want to start over with /papi ecloud download every plugin i have. so i just left the folder in and tried to start it up but not sure what to do now.

vivid sparrow
#

Update the server expansion @compact wharf

compact wharf
#

how do i do that?

vivid sparrow
#

/papi ecloud download server

compact wharf
#

ah lol thanks

hasty sage
fervent spire
radiant plaza
steady field
radiant plaza
steady field
high hemlock
#

sry abt the caps

potent spear
#

Is there any point using Placeholder API asynchronously for PlayerQuitEvent? It means I can't use the display name, and I think there's a reason why the event itself isn't async. I just don't want to lag the server.

high hemlock
#

hey im getting this error

#

[11:30:25 WARN]: [PlaceholderAPI] [math] Placeholder: %math_0_{player_health}/2%
[11:30:25 WARN]: [PlaceholderAPI] [math] '{player_health}/2' is not a valid Math Expression.

#

can someone guide me

high hemlock
#

am i supposed to use this?

radiant plaza
high hemlock
radiant plaza
high hemlock
radiant plaza
high hemlock
#

it worked thanks!

radiant plaza
#

👍

high hemlock
# radiant plaza 👍

btw is there any placeholder that shows the number of hearts a player has(in number) instead of the health

#

eg - ❤️10

#

like that

radiant plaza
#

Try both , idk which one is that

high hemlock
high hemlock
radiant plaza
#

🤦‍♂️

high hemlock
radiant plaza
radiant plaza
high hemlock
high hemlock
radiant plaza
high hemlock
tribal grove
#

are there dev builds of this plugin?

potent spear
potent spear
austere hawk
#

Unless you're doing something dumb in it

potent spear
#

I was more worried about the placeholder processing taking time.

cold adder
#

when I type /papi ecloud download Player or any other expansions it says there is no expansion named Player. can someone help?

austere hawk
#

Of course not as quick as getting the actual data from somewhere though instead of passing it through a placeholder

potent spear
#

I plan to make it public. That's why.

austere hawk
#

You can probably make a pretty simple performance test if it worries you that much

potent spear
#

Even if it's 1ms, that a thousand times a second isn't good. Although that hypothetical server should probably get a queue plugin.

austere hawk
#

Yeah I don't really think any server has a thousand players joining every second :P

potent spear
#

Join event can be async

#

But why is there an async chat event in that case?

austere hawk
#

iirc if the chat event is not async, it listens on the main thread and it delays chat a bit so

#

async, not delayed. I really need to get some sleep lmao

potent spear
#

Okay. Don't want to keep you awake!

#

I'm pretty sure there's a sync chat event too that works perfectly fine.

austere hawk
#

Oh yeah there is

#

Hold on.

#

But you really shouldn't have to worry too much about doing your join/leave events on a different thread.

potent spear
#

I'm just a bit worried because the event sometimes takes 19ms.

austere hawk
#

What placeholder are you parsing?

potent spear
#

And the chat events are on another thread.

#

Just a simple %player_displayname%. It's probably because it needs to initialise its cache the first time thinking about it.

austere hawk
#

Right, why do you need to use a placeholder for that though?

potent spear
#

So it can be configured to display other info.

#

It's also calling the placeholder function quite a lot of times.

austere hawk
#

Oh are you adding like a configurable message when a player leaves?

potent spear
#

I'm creating a Discord bridge. I just want it to be more object-based, extendable and customisable than alternatives.

The config will probably help you understand more: https://paste.helpch.at/eponunotip.yaml.

#

No pressure to help me if you don't want to and need some sleep.

austere hawk
#

Very interesting. But yeah I think you're good to use any placeholders there. If performance ever becomes a problem you can probably look into making it async, but I doubt that'd really happen

potent spear
#

I just wanted consistency because I don't want chat to be async and other events to be sync

#

I'm probably just obsessed with making things work in every possible situation.

#

I guess 0.5-2 ms isn't bad, then?

austere hawk
#

It most definitely is not haha

potent spear
#

A tick has to take longer than 50 ms to lag the server.

#

So probably not.

austere hawk
#

Did you do any performance tests to get that?

potent spear
#

Just a subtraction xD

#
long start = System.nanoTime();

plugin.sendEventToDiscord("quit",
                    new MinecraftToDiscordEvent(event.getPlayer()));

System.out.println(((System.nanoTime() - start) / 1000000F) + "ms");
#

Very advanced performance tests

austere hawk
#

beautiful

#

It seems like you're putting in the whole event to the test too, not just the placeholders. Would be even quicker if I had to guess

#

Unless that's the async one you talked about

potent spear
#

It sometimes even takes 6ms, but I guess servers don't usually have a web browser and IDE in the background, and a better CPU would probably not even care.

austere hawk
#

Yeah, and also in the extreme case that like, a hundred players join at the same time or whatever, I'm pretty certain there'd be some other things bogging down the server WAY more than your placeholders haha

potent spear
#

It would matter more if the competition was better.

#

The competition being the Minecraft server.

ocean fiber
#

Is it possible to have in my scoreboard:

Players alive: 77
Death players: 23

(And the players who have died are in spectator)

potent spear
mental night
cold adder
tender vaporBOT
turbid tide
#

see ^^

cold adder
#

thanks

gloomy harbor
#

how to install papi of bedwars 1058 ?

radiant plaza
gloomy harbor
#

ty

gloomy harbor
#

uh thank u im very stupid

radiant plaza
gloomy harbor
#

I'm on spigot 1.8.8

radiant plaza
placid thorn
#

having an annoying issue

#

papi world name doesn't wanna work with my scoreboard(s)

#

I've tried a couple

#

none wanna work

#

it just shows nothing

mint fable
#

@placid thorn Have you downloaded the expansion?

placid thorn
#

mmhmm

#

and reinstalled the plugin multiple times

mint fable
#

do other papi placeholders work?

placid thorn
#

yup-

#

perfectly fine

#

as one of the alternate scoreboards had placeholders by default

mint fable
placid thorn
#

the only one I want rn is the world one

#

wait which scoreboard?

mint fable
#

couple expansions have a way to do that

#

nah, I thought you meant a couple placeholders

placid thorn
#

oh n

#

no I tried multiple scoreboards

mint fable
#

%player_world% is one way

placid thorn
#

ohh

mint fable
#

try that

placid thorn
#

ok

#

k that worked

#

thx]

#

k @mint fable is there a world to make it use the world alias instead (I use multiverse)

mint fable
#

yes multiverse has placeholders

wet basinBOT
#

@mint fable Unknown expansion.

mint fable
#

ah well, it's on the link I sent

mint fable
mint fable
#

blame discord

#

it's their embed system

sharp jay
#

ayo

placid thorn
#

ah

#

worked

#

tysm

sharp jay
#

👍

terse ocean
#

Hey maybe I misunderstand how the placeholder api works. But how often does placeholder api refresh? Especially if you make custom player data?

errant iron
#

It doesn't refresh

#

It is just an API. You have to update your parsing of the placeholder however often you want it to refresh

terse ocean
#

Thanks

soft ocean
#

opes

deep hollow
#

Hey, it's possible to create a javascript to show average blocks mined per day of one player having %ezblocks_blocks% for example?

I could pay for it, thanks!

mental night
empty wyvern
#

help
i have installed the plugin and started my server
but when i do /papi ecloud download [what i need] it says unknown command

#

and if i do /pl it says there is no PAPI

radiant plaza
#

the plugin is enabled or not

empty wyvern
#

yea there is a very long error

radiant plaza
empty wyvern
#

maximum characters

radiant plaza
#

use /paste

tender vaporBOT
empty wyvern
untold crater
#

can you send the rest of the error below it

radiant plaza
#

yeah

untold crater
#

probably a load of lines starting with 'at'

#

@empty wyvern are you using bukkit 1.7?!

empty wyvern
untold crater
empty wyvern
#

lol

slate adder
#

hi guys i really need a support to help me

empty wyvern
#

7 years?

turbid tide
#

almost 8

slate adder
#

blitz i need a support pls

#

papi is not working nice on my server idk why

turbid tide
#

with what mate? I can't guess what your problem is

#

what does "is not working nice" mean? what's not working exactly?

slate adder
#

when i enter the command /papi ecloud download ... it say the command is not reconise

turbid tide
#

Mimmoll btw PAPI doesn't support 1.7.# anymore. so that's probably what's going on there.

slate adder
#

yes

slate adder
#

spongeforge

#

mod + plugins

#

so maybe this ...

turbid tide
#

I mean PAPI was never meant to work on modded servers so maybe. can you restart your server and send a startup log?

tender vaporBOT
slate adder
#

ok

#

can i mp u ?

turbid tide
#

nope. my dms are closed. you should put it in a paste bin and send it here.

tender vaporBOT
slate adder
#

ok

#

how can i send u a picture i can't get the logs

#

i will send u the error message on minecraft

turbid tide
#

why can't you get the logs?

tender vaporBOT
slate adder
#

because there is command blocks how is spamming on the cmd

#

when i enter the command /papi ecloud download MVdW it saying "inpout command ecloud was not a valid subcommand" usage: /papi reload:enable:disable:parse:list:info

#

can i download manually the MVdW ?

turbid tide
#

I guess

slate adder
#

thx a lot

#

and where i put the file ?

turbid tide
#

plugins/PlaceholderAPI/expansions

slate adder
#

thx

foggy crown
#

Hi, is this where I can ask for questions/concerns for Javascript?

random apex
#

Hey guys, wanted to ask if Papi is also available for version 1.18.2?

turbid tide
#

yeah

amber silo
radiant plaza
amber silo
radiant plaza
amber silo
#

GemsEconomy

radiant plaza
#

Use it's placeholder

amber silo
#

or any other that you recommend me to use?

radiant plaza
amber silo
#

for 1.8?

#

or 1.18?

radiant plaza
#

There are several plugins on spigot, search some

amber silo
#

Yes, but I don't understand why vault doesn't work for me a few days ago it worked fine for me Thanks

amber silo
#

If it is your latest version

clear dust
#

I have this crazy idea to give players a command like /nft that adds a unique code to the lore of the item they are holding.
Only issue is im not too sure how to go about making said code. I was thinking some placeholder in the command. like I could use their UUID but i feel eeeh about having that viewable by other players. is there some kind of way i could add SALT to the UUID so it cant be reversed back but still be unique?

clear dust
#

Im not sure that's quite what i'm after. Would be nice if they could make more than 1 stack the same and couldnt someone else get the same random number?

#

the idea was to be unique to a player. I guess to that extent just their name would work..

radiant plaza
radiant plaza
clear dust
#

Hmm yes indeed.
I may be able to let the players type in their own code. and auto gen the permission node part for them. IE check if they have XX.Name if not add it. then rest of command to add lore.

#

nvm wont work as the placeholder would be in the lore of the item it would not update depending on who is looking at it.

#

still a really cool placeholder tho ty

surreal escarp
#

hi i want to use this %server_time_MMM dd, yyyy% but coz im greek it shows the Mar (MMM) with greek letters. How can i change that to english?

radiant plaza
wet scaffold
#

How can I get a placeholder of a other player? e.g. %luckperms_prefix%

wet scaffold
#

I want in a msg-system to get the prefix of a other player

#

Not of the player that sees the message

radiant plaza
#

/papi ecloud download ParseOther

turbid tide
#

the parseother expansion allows you to parse placeholders for other players

radiant plaza
turbid tide
#

%parseother_{OTHER-PLAYER-NAME}_{PLACEHOLDER-WITHOUT-%}%

wet scaffold
amber rivet
#

How can I write a space in a placeholder argument?

radiant notch
#

hey none of my placeholders are showing up

#

error on console ^

trim mist
#

You have an expansion for MineReset and you don't have the plugin for it. Remove the expansion.

radiant plaza
#

in expansions folder

amber rivet
# radiant plaza ?

I want to use the ChangeOutput expansion to display a text if a placeholder is not null

winter kindle
edgy thunder
#

hello every1 is there a way to display with placeholders multiples luckperms suffix? something like the same person have the group 1, 2 and 3, and i want to display in the chat the suffix of rank 1, 2 and 3 at the same time

winter kindle
#

Hello all!

thonking I come with my beginner question.
Currently i am trying to configure server running tab/holographic display with papi and i am not able to insert anything vault related.

#

I wanted to make scoreboard with some statistics and put there players balance as well, but this happens (Image)
I tried use it in holographoc display but neither is it working there.

#

Is vault / papi not working properly or i am just ret*rded and made some mistake along the way?

edgy thunder
#

@winter kindledo you have installed the ecloud expansion for vault?

winter kindle
winter kindle
edgy thunder
winter kindle
#

bro... ❤️
ⁿᵒ ʰᵒᵐᵒ

#

but... hd i still refusing to cooperate

#

what was that neat thingy to tell it that i want papi placeholders, not it's own?

edgy thunder
#

i dont use hd btw but check out the config or try making a reload

mental night
#

as well as enabled the vault eco top in the placeholderapi config

winter kindle
#

no, and no

#

where can i download that extension?

tender vaporBOT
winter kindle
#

it doesnt show up un ecloud download

mental night
#

I believe

#

its an extra plugin

winter kindle
#

❤️
ⁿᵒ ʰᵒᵐᵒ ᵃˢ ʷᵉˡˡ

mental night
#

let me know how it goes

austere hawk
#

how do I make it so when I put the vault economy placeholder, instead of $0.0 it should be $0

mental night
#

or use the math expansion to get rid of decimals if u have a preferred placeholder but it keeps the .0

torn forge
#

I'm trying to make a leaderboard scoreboard for breaking the most diamond ore, however I can't seem to find a way to tie the player's name to the amount of blocks broken. I'm using the Scoreboard Objective expansion, but not sure how to tie a playername to the ranking on the objective.

austere hawk
fading tundra
#

https://gyazo.com/06b25ceb0e3bf9f62f2440cbce9dfc07.png
https://gyazo.com/e4598fb42a74c4baf109c539ddc2ffd3.png

     material: head-%essentials_baltop_player_0%
     slot: 12
     update: true
     display_name: '&b&l[!] &f&n%essentials_baltop_player_0%&7 (#1)'
     lore:
     - ''
     - '&f&l* &b&lBalance &7$%vault_eco_top_balance_commas_1%'
     left_click_commands:
     - '[close]'
     right_click_commands:
     - '[close]'```
I have the PAPI extension from [#placeholder-api message](/guild/164280494874165248/channel/573429521554866178/p/921189021395341373/#msg-6a015bc16fbd49fd17b4e9ba) installed for the Baltop placeholders. When I run the /baltop command, it shows this; https://gyazo.com/decfaa316dab021b3a6d5c87d374e4eb.png, Although both me and another user have more than $0.

When I open up my DeluxeMenu, This is what shows up.

https://gyazo.com/03badc9ffe2f348ab423adf14796975a.png
mint fable
#

Also looks like you should update deluxemenus and maybe essentials

surreal escarp
#

same thing

#

can anyone else help me? i want to show the date like Apr 1 2022 but the Apr is shown with greek letters coz im greek and i wanna change that to english

short shoal
#

Hello, could I somehow prevent that from spamming my console when new player joins? It happens only because he has 0 from both of the placeholders, for other players it works fine without spamming

12:57:27[WARN] [PlaceholderAPI] [math] Placeholder: %math_{statistic_player_kills}/{statistic_deaths}%
12:57:27[WARN] [PlaceholderAPI] [math] '0/0' is not a valid Math Expression.```
radiant plaza
torn forge
potent spear
surreal escarp
#

In start.bat?

radiant plaza
radiant plaza
surreal escarp
#

Ok i'll try

#

So there is not other way to do it with papi expansion

#

Only with that way or if it don't work then i must find a plugin for that thing

tender vaporBOT
fading tundra
#

Meanie, He asked me a question

mint fable
#

in you run /baltop twice does it load or nah?

compact wharf
#

has deluxetags been removed from papi?

#

tried /papi ecloud download DeluxeTags and it said couldnt find expansion

balmy marten
#

It's built in to deluxetags now

#

No need for an external expansion

compact wharf
tender vaporBOT
compact wharf
#

hmm mr barry i shall see if that works

#

jesus im talking to a bot i need some sleep lol

mental night
#

he’s a good bot it’s okay

cunning bloom
#

hi can anyone help me?

#

@mint fable can you help pls?

tender vaporBOT
cunning bloom
#

oh okay

#

sry

mental night
#

use %player_name%

#

make sure you have the Player Expansion installed

#

/papi ecloud download Player
/papi reload

cunning bloom
#

i have

#

but no works

cunning bloom
#

i have alr downalod

#

but no works

mental night
#

What plugin?

#

are you using

cunning bloom
#

gui+

#

is that

#

with the menu

#

ohh now

#

i need to reset server

mental night
#

never heard of gui+ but i recommend using deluxemenus for any guis

radiant plaza
mental night
#

download the expansions from the website instead ig

dawn hedge
#

guys, if my identifier is player_vote_event

what does the 'params' actually returns in public String onRequest(OfflinePlayer player, String params) ?

#

example player_vote_event_XYZ ?

#

I mean, does it returns "XYZ" ?

warm topaz
#

yes

dawn hedge
#

hmm, but for some reason, when I parse

#

% player_vote_event_acBee %, it does not parses an integer
` @Override
public String onRequest(OfflinePlayer player, String params) {

    if (plugin.getStatsCache().containsKey(params)) {
        return plugin.getStatsCache().get(params).toString();
    }

    return null; // Placeholder is unknown by the Expansion
}`
dawn hedge
#

it seems there are problems if identifier contains '_'

#

my bad then

worldly pendant
#

nvm i forgot to put it in my softdepend

cunning bloom
#

how i can do that

#

with placehodler

#

holder*

untold crater
#

which part of it?

cunning bloom
#

of lobby

untold crater
#

just set that per npc

cunning bloom
#

okay no problem

#

more

#

i need that not

crisp fractal
#

Guys

#

Look I need help!

pallid stone
#

Guys my custom placeholders are not working and i can't understand why

#

this is my code


public class Placeholders extends PlaceholderExpansion {

    private final Knockffa plugin;

    public Placeholders(Knockffa plugin) {
        this.plugin = plugin;
    }

    @Override
    public @NotNull String getIdentifier() {
        return "techwolfx";
    }

    @Override
    public @NotNull String getAuthor() {
        return "MasterWolfx";
    }

    @Override
    public @NotNull String getVersion() {
        return "1.0";
    }

    @Override
    public boolean persist() {
        return true;
    }

    @Override
    public boolean canRegister(){
        return true;
    }

    @Override
    public String onRequest(OfflinePlayer player, @NotNull String params) {

        /*if (params.equalsIgnoreCase("name")) {
            return player == null ? null : player.getName();
        }*/

        User user = plugin.getDb().getUser(player.getUniqueId().toString());
        if (user == null)
            return "error";

        if(params.equalsIgnoreCase("kffa_kills")) {
            return Integer.toString(user.getKills());
        }
        if(params.equalsIgnoreCase("kffa_deaths")) {
            return Integer.toString(user.getDeaths());
        }
        if(params.equalsIgnoreCase("kffa_test")) {
            return "hello";
        }

        return null;
    }
}

#

This is what i get on console when loading plugins: [PlaceholderAPI] Successfully registered expansion: techwolfx [1.0]

#

and when i try papi parse is not working

#

it just show the placeholder

untold crater
#

what placeholder are you giving it?

#

it should be formatted as %identifier_params%

#

so there, %techwolfx_kffa_kills%

pallid stone
#

oh

#

i was just giving %kffa_kills%

#

thank you

burnt island
#

Hey there, i'm trying to use PAPI for a DeluxeTags placeholder in animated scoreboard, but it's not working-

When I run "/papi ecloud download DeluxeTags" it says "Failed to find an expansion named: DeluxeTags"

And when I run "/papi parse me %deluxetags_tag% it says
"An internal error occurred while attempting to permorm this command"

Can anyone pretty please help?

tender vaporBOT
burnt island
#

Huh

#

Smart bot

#

Thankyou mister bot, very well done

untold crater
#

barry is a good man

daring holly
#

what are possible reasons that my placeholder isn't registering?

untold crater
#

good question

#

it would be helpful to have some more context

proper pike
#

Hi there my friend got my IP stolen on my server what should i do

untold crater
#

what

#

are you looking for discord support by any chance

#

?not-discord

tender vaporBOT
high hemlock
#

how do i get the placeholder that shows the number of players online in sub server (im using bungee)

untold crater
#

?papi bungee

#

that was not the command

#

that is the command

#

what was it btw

sharp jay
untold crater
#

ah thanks

sharp jay
#

yup

high hemlock
#

?papi bungee

#

@untold crater i forgot send xd

#

ty

untold crater
#

the second one is what you need i presume

radiant notch
#

my vault and griefprevention placeholders arent working for some reason

untold crater
#

have you recently removed a quests plugin

#

if so, you still have the papi expansion installed and should remove the jarfile

radiant notch
#

i have not removed quest plugin

untold crater
#

is anything red in /pl

radiant notch
turbid tide
#

@radiant notch exactly. you have the quest expansion but not the plugin. the plugin is disabled so the expansion breaks

radiant notch
#

no before i had the expansion and the plugin it was working fine
all of a sudden it broke and i disabled the expansion and its working fine now

turbid tide
#

yes. exactly. the expansion breaks and it takes down the entire loader with it

dense trail
#

%armor_amount_SLOT%
Is this the only placeholder to parse item armor that a user is wearing ?

turbid tide
#

which means no expansion after the quest one loads

radiant notch
#

ah okay

thin pine
tender vaporBOT
tender crown
#

i need help for Placeholder APi

#

so the new Version not work

untold crater
#

what do you mean by "not work"?

#

?help

tender vaporBOT
high hemlock
#

does papi world with holograms???

#

cuz idk the bungee placeholders isnt working with holograms

stoic grove
high hemlock
stoic grove
#

If you're using v2, you need to install the HolographicExtention, or whatever is called; otherwise join their discord server for support

stoic grove
#

otherwise join their discord server for support

tender vaporBOT
austere hawk
#

Hey, Placeholder api support AdvancedNMotd plugin?

granite galleon
#

Hi there guys!

#

This placeholder of MATH, doesnt parse when both placeholder equals 0
Basically when a new player joins

#

%math_2:2_{statistic_player_kills}/{statistic_deaths}%

turbid tide
austere hawk
#

do you know if it supports?

turbid tide
turbid tide
carmine veldt
#

do js or python throw errors for division by 0?

granite galleon
#

Mmm i see

carmine veldt
#

they seem like the kind of languages which wouldn't

granite galleon
#

Any way to resolve this?

turbid tide
turbid tide
carmine veldt
#

javascript has a value for infinity?

carmine veldt
#

lol

granite galleon
#

I was thinking maybe, when you divide something by 0, then apply the first value?

#

Like if its 5/0, then it would apply 5?

turbid tide
surreal escarp
#

is there any placeholder that shows something that &aonline and &coffline depending on server's status?

vivid sparrow
#

Pinger

surreal escarp
#

and how does it work

round herald
#

How to use Expansions in config.

I put

essentials_afk
  'true': 'Absent'
  'false': 'Online'

But nothing change.

surreal escarp
surreal escarp
#

sry