#placeholder-api

1 messages · Page 135 of 1

turbid tide
#

your javascript

gentle summit
#

"%townyadvanced_has_town%" == "true" ? "Message If Player Has Town" : "&7Youre not in a town! But you can do /t new to start your own"

turbid tide
#

ok first of all

#

set both messages

#

and tell me where you want to split them

gentle summit
#

"%townyadvanced_has_town%" == "true" ? "&bTowny: &7%townyadvanced_town% <<SPLIT>> &bTown Bank: &7%townyadvanced_town_balance%" : "&7Youre not in a town! <<SPLIT>> But you can do /t new to start your own"

turbid tide
#

you will use it like this:

#

%javascript_NAME_1% and %javascript_NAME_2%

#

you put the one that has 1 in it in the first line

#

and the other one in the second line

gentle summit
#

its blank

#

the scoreboard

turbid tide
#

huh

gentle summit
#

nothing is there

turbid tide
#

what if you do /papi parse me %javascript% and of course you replace the placeholder with your actual javascript

gentle summit
#

thats blank too

#

oh wait

#

i think i know hwat i did wrong

#

nope

#

still blank

turbid tide
#

how are you using it?

#

can you show me the placeholder

#

that you parse?

gentle summit
#
var noText = ""
var yesText = ""

switch (line) {
  case "1":
    yesText = "&bTown: &7%townyadvanced_town%"
    noText = "&7Youre not in a town!"
  case "2":
    yesText = "&bTown Bank: &7%townyadvanced_town_balance%"
    noText = "&&But you can do /t new to start your own"
}

"%townyadvanced_has_town%".toLowerCase() == "true" ? yesText : noText```
#

its the thing you had in the link

turbid tide
#

no no

#

the actual placeholder

#

/papi parse me ...soemthinghere...

#

what goes instead of somethinghere

gentle summit
#

/papi parse me %javascript_NAME_1%

turbid tide
#

oh

#

not NAME

#

the actual name of your javascript

#

my bad

gentle summit
#

ik

#

i made it called name

turbid tide
#

what is the name?

#

oh lol xD

gentle summit
#

NAME_1.js

turbid tide
#

wait no

#

that's not going to work

#

you sohuld've left it like it was before

gentle summit
#

what

turbid tide
#

1 is an argument

#

not the name

gentle summit
#

oh

turbid tide
#

show me your javascript_placeholders.yml

gentle summit
#
  file: NAME_1.js

NAME_2:
  file: NAME_2.js```
turbid tide
#

ok that makes sense

#

you don't need all that

#

so

#
towny:
  file: towny.js```
#

instead of those 2 you sent put this one

#

then do /papi reload

#

then go to towny.js and put this code inside ```js
var line = args[0]
var noText = ""
var yesText = ""

switch (line) {
case "1":
yesText = "&bTown: &7%townyadvanced_town%"
noText = "&7Youre not in a town!"
case "2":
yesText = "&bTown Bank: &7%townyadvanced_town_balance%"
noText = "&&But you can do /t new to start your own"
}

"%townyadvanced_has_town%".toLowerCase() == "true" ? yesText : noText```

#

then use %javascript_towny_1% for line 1 and %javascript_towny_2% for the second line

#

@gentle summit

gentle summit
#

ok sorry im back

#

it repeats the message "but you can do /t new to start your own" on both lines

turbid tide
#

can you do /papi parse me %javascript_towny_1% and tell me what it says

#

then do /papi parse me %javascript_towny_2% and tell me what it says

gentle summit
#
towny_1:but you can do /t new to start your own
towny_2:but you can do /t new to start your own
turbid tide
#

oh man

#

this is interesting

gentle summit
#

sorry for using so much of your time

turbid tide
#

nah don't worry

#

what happens

#

if you make a town?

#

@gentle summit

gentle summit
#

it repeats the town balance message

#

also i changed the % to a { around the placeholders in the code

#

because they dont work with % and you have to do {}

turbid tide
#

what?

#

what are you talking about?

#

they do work

#

but still

#

that's not going to affect the result

gentle summit
#

ik it wont affect the result

#

but when they were %s it didnt work

#

and i remembered i saw somewhere they need to be { if they are a placeholder inside of the java placeholder

turbid tide
#

they don't

#

that's just in arguments

gentle summit
#

ohh

#

it still didnt work when i had %s

#

but when i changed them it shows the balance

turbid tide
#

can you show me the exact

#

js placeholder you have rn

#

with {}

#

and all that

gentle summit
#
var noText = ""
var yesText = ""

switch (line) {
  case "1":
    yesText = "&bTown: &7{townyadvanced_town}"
    noText = "&7Youre not in a town!"
  case "2":
    yesText = "&bTown Bank: &7{townyadvanced_town_balance}"
    noText = "&7Do /t new to make one"
}

"%townyadvanced_has_town%".toLowerCase() == "true" ? yesText : noText```
turbid tide
gentle summit
#

...

#

i guess not

#

because when i did that its showing the message saying to create a town

#

but im in a town

turbid tide
#

hmm

#
var line = args[0]
var noText = ""
var yesText = ""

if (line == "1") {
  "%townyadvanced_has_town%".toLowerCase() == "true" ? "&bTown: &7{townyadvanced_town}" : "&7Youre not in a town!"
}else {
  "%townyadvanced_has_town%".toLowerCase() == "true" ? "&bTown Bank: &7{townyadvanced_town_balance}" : "&7Do /t new to make one"
}```
#

can you try this code please? @gentle summit

gentle summit
#

works

#

thank you

turbid tide
#

oh finally. you're welcome xD

obtuse prawn
#

I have a question about adding my plugin to the papi wiki listings. I'm about to create a pull request, but the docs say I need to ask about doing that on this discord server first. Is there anything special that needs to be done prior to creating a pull request?

charred gyro
#

i have a quick question about featherboard (or really any scoreboard plugin) when someone has a sec.

what is the placeholder to show the rank WITH the rank color? right now I use the vault rank placeholder, but id like to know how i can display the rank with its color. also, my online player placeholder doesn't show up. its just blank.

ERROR [FeatherBoard] Error in placeholder: {playtime_hours}

turbid tide
turbid tide
charred gyro
#

Hmm, ok. I'll try again. Hold on.

turbid tide
#

make sure you have the Vault expansion installed for both ways tho

#

/papi ecloud download Vault and /papi reload

charred gyro
#

Yeah, I've done that.

turbid tide
#

well then those should work

charred gyro
#

Its just blank.

turbid tide
#

as long as you've set your rank prefix

#

are you sure you've set your rank prefix correctly ?

charred gyro
#

I've set it in TAB and PrefixSystem (are the plugins I use for the prefixes) and I use pex. I have vault installed but don't know where I would set prefixes there.

turbid tide
#

ugh I never used PEX

#

let me check if there's a wiki or something

charred gyro
#

K

turbid tide
#

can you send link to the plugin? xD

charred gyro
#

Well, I've been using pex since 2017, so i just know it best. Even though its outdated.

#

which one?

turbid tide
#

pex

#

bcz the first search results

#

are some random plugins that also include pex in their name lol

carmine veldt
#

try search permissionsex

charred gyro
#

lol you cant even download it

turbid tide
#

oh

#

I see

#

its not on spigot

#

btw aidan you should look into LuckPerms

#

has an import feature as well to import pex configs

obtuse prawn
#

BlitzZzZzZzZ: Thanks for the reply. I already opened a pull request. But the documentation that it tells you to read prior to creating a pr says you must first contact the repository owners to discuss the pr prior to creating one. I guess it was just a copy and paste statement. lol... Thanks again for the response. 🙂

charred gyro
#

Hmm, ok.

turbid tide
#

lol they just link to LP as well on their page

#

no wiki or anything

charred gyro
#

would that really be the issue tho? where can i set prefixes in vault?

turbid tide
#

you can't in vault

#

you need to set it in your permission plugin

charred gyro
#

so where does vault get the prefix from?

#

oh shit

#

i dont have prefixes set in pex lol

#

hold on ima try that

turbid tide
#

oh you know how to set them? xD I was searching for how to set tthem

#

/pex group <group> prefix [newprefix]

#

that's how you set it

charred gyro
#

trying rn

#

ahh there we go xD

#

now its showing up

#

and what about the playtime? my console is being spammed by this
ERROR [FeatherBoard] Error in placeholder: {playtime_hours}

turbid tide
#

well there is the statistic expansion

#

instead

#

so /papi ecloud download Statistic and /papi reload

#

then use {placeholderapi_statistic_time_played}

charred gyro
#

youre the man! thanks.
is there a way I can change/shoten the layout of the time?

#

i dont need the seconds, and would like it to be displayed in only hours, if thats possible

turbid tide
#

yes

#

statistic_hours_played

#

instead of statistic_time_played

charred gyro
#

thanks so much.

primal dune
#

How could I combine the player count of multiple servers into one number?

turbid tide
#

-paoi bungee

primal dune
#

I am well aware, but I am looking to count specific servers, not all of them.

turbid tide
#

Oh math + bungee then

primal dune
#

Is there a section about math?

#

or do normal symbols just work

turbid tide
#

%math_[precision:0]{bungee_bedwars}+{bungee_skywars}+{bungee_hub}%

#

Example

primal dune
#

Appreciate it 🙂

#

One more question though. Is there an if function, to set the text to something else if the server is full for example

turbid tide
#

Javascript expansion if you want more customizability

#

Hmm let me see if I can find the links

#

On phone rn

primal dune
#

Thanks again

rare lily
#

Once again, how am I gonna edit the wiki on JS expansion though?

turbid tide
#

Define "isn't working"

pure plover
#

Hey, my countdown timer is showing as 1d 32h, my plugin is up to date, is there a way to fix this?

#

This is what I'm using as well:

#

%server_countdown_dd.MM.yyyy_30.11.2020%

pure plover
#

Thank you, I'll give that a try 🙂

mental night
frail otter
#

the placeholder %luckperms_prefix% doesnt work :/

#

it just doesnt work?

#

nvm

minor spade
#

everytime i try to /papi reload i get this error and im unable to reload my placeholders

austere hawk
#

@humble nymph hi

upper nest
#

How would I display the persons information that I'm running a command on?

#

For example, I'm using Statistics so there is this placeholder: %statistic_days_played% . It displays my playtime on the GUI when I want it to display the information of the player I'm running the command on. Anyway to make that happen?

plain quarry
#

Hi, I'm trying to use %server_countdown% to count down to midnight - using format HH.mm - just shows up as zero. Anyone know why?

upper nest
#

Update to dev build

upper nest
#

Yup

warm topaz
#

use args

upper nest
#

Can I get a example?

warm topaz
#

all ik is that its possible 🙂

upper nest
#

Thanks, I'll take a look

#

Oh args like {player}

#

Yes I know that

#

But I'm talking about placeholders

#

As far as I can tell args don't work with them

plain quarry
upper nest
#

):

stone parcel
#

is there a placeholder that parses a placeholder for an other player?

#

found it

smoky spoke
#

i tried using the %player_item_in_hand_level_Sharpness% placeholder and it brings up an error

silver minnow
smoky spoke
#

it did

tender vaporBOT
smoky spoke
#

ow it uses a different naming ok

rare lily
pulsar locust
vivid sparrow
#

try to open the papi plugin.yml and add EssentialsX as soft depend

tender vaporBOT
#

@pulsar locust,

Hey!

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

vivid sparrow
#

np

gloomy crater
#

does anyone have any experience with the ScoreboardObjective placeholder? I am currently trying to parse the displayname of the objective, but it keeps returning ObjDNE

mild gale
#

how do I make top kills in holographic display?

gloomy crater
#

LeaderHeads support a leaderboard for HD

#

its a premium plugin tho, and it could be pretty performance-heavy sometimes

elder stump
#

Hey! How can I remove comma using javascript from %jobsr_user_jmaxexp_(jname/number)%?

turbid tide
#
args[0].replace(",", "")```
elder stump
#

thanks

turbid tide
#

if you need help setting up the js placeholder there's a wiki as well

#

but yeah the code should just be one line

pulsar notch
#

Hello, it seems that PAPI for LeaderHeads isn't working. (PS: I'm not sure about what im saying, maybe i'm just noob.

https://i.imgur.com/5DWz0c6.png
Is there anyway to resolve it?

vivid sparrow
#

idk what that is supposed to be

#

but is not correct, leaderheads have other placeholders

turbid tide
#

yes those placeholders are wrong

#

lol

stone edge
#

lol

steep thorn
upbeat yew
#

Someone know how to transfer placeholders across bungee/servers? I have minigames server and some minigames does not support MySQL and I want to show player stats in Profile menu on Lobby server and I didn't found any plugin that can transfer Placeholders across servers, if someone knows, help me please 🙌 ...

turbid tide
upbeat yew
#

Thank you for respond but I didn't found any plugin 😦

steep thorn
#

This is actually something that I'm trying to integrate into LeaderHeads

#

To make it more easy to see your own stats (as well as daily/weekly/monthly stats)

#

Cross-server as well

turbid tide
#

There was one plugin on songoda

#

and an API

#

on spigot

#

if you know how to code

steep thorn
#

@turbid tide does that depend on whether the expansion on the other server (in your Bungee network) supports retrieval of data for offline players?

turbid tide
#

IDK for sure. I'll try and search the api and post link here.

mild gale
#

how do I make top kills in holographic display??

turbid tide
#

you got a top kills placeholder first?

#

Like DeluxeCombat or LeaderHeads or whatever

#

then its pretty easy

#

just install HolographicExtension, ProtcolLib and you're good to go

#

if not

#

then you need to have a leaderboard plugin first

#

or you can check this

#

idk if it has kill tops

#

oh nvm xD

#

that's just palytime

serene raven
#

not sure if this is the right place to ask but, i wanted to know if it is possible to show what player a server is currently on with a placeholder. this would be meant for bungeecord. i don't know much about making plugins or anything lol

turbid tide
#

well if you want to show that info in the same server then its possible yes

#

%server_name%

serene raven
#

Oh alright, so it wouldn't be possible to show it over a network? I wanted to make my friends menu show what server their friend is connected to but it doesn't seem like it would work

turbid tide
#

well not using PAPI alone no.

#

it does require some plugin development knowledge tho I'm pretty sure

turbid tide
#

huh?

mild gale
turbid tide
#

ugh what're you using?

mild gale
#

/hd setline topkills 2 &e&l1. &d&l%player_name% &8&l- &c&l%deluxecombat_ranking_KILLS_1% This is the placeholder I used

turbid tide
#

DeluxeCombat?

#

oh

#

well because there's no one to take the spot

#

DeluxeCombat takes the stats from what it has saved itself. So if you just added it it has no stats to fetch

mild gale
#

oh got it

#

thanks

turbid tide
#

Also did you just purchase DCombat for the Leaderboard part? xD

mild gale
#

yes

turbid tide
#

smh

#

make sure you look thru the entire plugin and configure it

#

it has a lot of great feature but some are enabled by default and you might just not want them on your server

mild gale
tender vaporBOT
#

@mild gale,

Hey!

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

turbid tide
#

%statistic_time_played%

mild gale
#

got it thanks! ❤️

odd jay
#

I'm getting this error on all my javascript placeholders since I updated my papi:
[Server] WARN [PAPI] [Javascript-Expansion] ScriptEngine type for javascript placeholder Cooldown isn't initialized! Defaulting to global
How could I fix it?

tender vaporBOT
#

@mossy helm,

Hey!

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

turbid tide
#

Oh my bad lol. I use val instead of var

#

Here

odd jay
turbid tide
#

Yes Ravensky

#

@rare lily please make it off by default and add a debug option in config.yml or something

#

This is like the 10th persons in the past week

odd jay
#

It works fine now

#

but some of my javascript placeholders aren't showing any values when parsing them. This happened when I updated from 2.10.6 to the last version.
A placeholder example that isn't showing any values now is this one:

var placeholder2 = "%luckperms_check_permission_CustomEnderChest.level.5%";
var placeholder = "%luckperms_check_permission_mejoras.enderchest%";

function permission() {
   if (placeholder == "&aSí" && placeholder2 == "&cNo")
     return "&fDisponible";
   if (placeholder == "&cNo" && placeholder2 == "&cNo")
     return "&cEn mantenimiento...";
   if (placeholder2 == "&aSí") 
     return "&2¡&aMejorado al máximo&2!";
}
permission();
#

Does anyone have any idea of why isn't this working?

tender vaporBOT
#

@mossy helm,

Hey!

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

odd jay
#

now you need to put "§" instead of "&"

turbid tide
#

why lol? xD

#

we can fix that. xD

#

hmm

#

so by the looks of it .split is not a function? hmm that's weird.

#

ohhh

#

had to convert it to a string first

turbid tide
wise scaffold
#

heyo

#

is there a placeholder which returns all the online players?

turbid tide
#

^

junior musk
turbid tide
#

k lol xD

wise scaffold
#

Thank you for the expansion

junior musk
# turbid tide k lol xD

well if you try to understand the placeholder with only what you see here, you can't really understand anything 😅

wise scaffold
#

I had the papi wiki open :p

#

There's no way to somehow make it so people who can been seen by certain groups get returned, right?

#

(for vanish)

#

%playerlist_online,cansee,no,list% is apparently a thing but doesn't return anything

turbid tide
#

@junior musk help this guy out smh. xD

wise scaffold
#

:pepehands:

junior musk
#

I don't know

#

it depends if your vanish plugin shows players to you or not I guess

wise scaffold
#

PremiumVanish

#

I just want a list if players which can be viewed by a default user

#

yepp I did

#

But then it shows everyone except me (me, who is in vanish)

junior musk
#

online,normal,yes,list

#

I'm lost with this thing myself x)

wise scaffold
#

%playerlist_online,normal,yes,list%

#

I parsed it as another players who can't see me in vanish and it shows my username

junior musk
#

ah

#

yeah then I don't think it's possible atm

wise scaffold
#

:pepehands:

junior musk
#

I'll see if I can change the cansee thing to support PV

wise scaffold
#

Please @ me / dm if that becomes a thing

junior musk
#

I don't think I'll be able today but I'll see this week

#

too many homeworks NotLikeThis

wise scaffold
#

I have a temp solution for it, best of luck with them homeworks!

torpid plume
#

Do I have to put placeholderAPI on the bungee with the bungee placeholders

turbid tide
#

no

#

just put it on each server

#

and also download the Bungee expansion

#

on each

torpid plume
#

Is there a placeholder where I can find out how much money I have with vault and if so what is its name and which eCloud do I have to install and where can I set where the placeholders should update themselves?

turbid tide
#

@torpid plume ^

torpid plume
#

Thank you!

#

And you can still set where the placeholders should update themselves because, for example, in my sidebar it is not so nice if you have to rejoin so that it is updated

turbid tide
#

well the placeholder itself updates. The sidebar needs to update as well

#

because if you do /papi parse me %placeholder% then give yourself some money and do the same command you'll see its updated

atomic trench
#

Hey guys

#

Is someone here good at math?

turbid tide
#

no xD

odd jay
atomic trench
turbid tide
#

just ask away. oh you're writing a bible xD

atomic trench
#

I'm trying use %math_<math expression>% to divide %mcmmo_power_level% by 5 and return the lower multiple of 5 for example, If player's power is 109, it must return 20, and if 110, must return 21

#

I just can't think of a formula for that

steep thorn
#

@atomic trench do you mean floor division?

turbid tide
#

probably need a js expansion instead

steep thorn
#

Nah

#

This has floor()

atomic trench
atomic trench
steep thorn
#

%math_floor({mcmmo_power_level}/5)%

#

Not sure if that would work, never used it myself

turbid tide
#

wait

mint fable
#

use {} for mcmmo placeholder

turbid tide
#

but %math_[precision:0]{mcmmo_power_level}/5%

#

won't this just work/

mint fable
#

yes

#

no need to floor

turbid tide
#

@atomic trench

atomic trench
#

O wait precision is a thing

mint fable
#

i mean, either work

atomic trench
mint fable
#

floor or precision

steep thorn
#

Yeah that could also work

#

floor gang 😦

mint fable
#

floor gang

turbid tide
#

xD

atomic trench
turbid tide
#

I mean at that point does it rly matter?

steep thorn
#

It wouldn't make any difference most very likely

mint fable
atomic trench
#

Yeah you're right, I don't think some placeholder will be harder to process than most villager farms that are on my server

#

1500 villagers loaded at the same time it's just not fun

turbid tide
#

I mean a math division is the latest thing you'll have to think about when you make a minecraft server.

atomic trench
vast sleet
#

Hey guys

#

using the API, I'm trying to set relational placeholders regarding faction

#

Let's imagine the situation

#

Two player, A & B

#

A is enemy for B, but B is neutral for A

#

then, when using PlaceholderAPI.setRelationalPlaceholders, who is Player one and Player two when sending the message to player one

#
public static String setRelationalPlaceholders(org.bukkit.entity.Player one,
                                               org.bukkit.entity.Player two,
                                               @Nullable String text)```
#

I need to figure out who is target and who is source between the two args

slow crystal
#

lol

#

probably

austere hawk
vast sleet
#

it's about PAPI API

#

tho

slow crystal
#

PAPI API?

#

lol

vast sleet
#

xd

#

you know what I mean

austere hawk
#

PAPI API API

vast sleet
#

🐔

austere hawk
#

🧑‍🦯

slow crystal
#

so what is the issue here?

vast sleet
#

i'm trying to send custom JSON message

#

with hover effect things

#

and i'm using the rel placeholder to show color (red for enemy etc)

#

when using the method

#

idk who is "one" and "two"

#

like

#

it's not

#

explicit

slow crystal
#

oh

#

I mean logically one is the source

#

but maybe just try both?

#

idk i've not actually used papi much lol

vague dove
#

is there a specific reason why registration is turned off for ecloud

turbid tide
#

it's been like that forever I think. Might be wrong. Contact @funnycube#0001 he'll help you make an account

vague dove
#

thonks interesting thanks

marble sandal
#

Hello, can you help me, how add statistic enchanted golden apple? (%statistic_use_item:<Item Material>%) because ENCHANTED_GOLDEN_APPLE dont work...

turbid tide
#

what's your server version?

dense nebula
#

Hey there
i have a problem with hex color codes not showing up from luckperms in the Anmated tablist plugin
is this a papi problem?

marble sandal
tender vaporBOT
#

@marble sandal,

Hey!

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

turbid tide
#

oh

#

try %statistic_use_item:golden_apple:1%

#

maybe

smoky spoke
#

%checkitem_remove_amt:1% placeholder is taking twice the amount if twice of the required item is available

#

so like, if i have one required item, it will work. if i have another copy of the required item, it will take the copy.

#

issue conducted from Command Panels

stone parcel
#

how do i have to use the ceil function with the math placeholder?

#

i tried %math_ceiling({vault_eco_balance}/10)*10]%

vivid sparrow
#

From what I see on github there is no ceiling method

steep thorn
#

It's part of EvalEX, which is supported according to the documentation

vivid sparrow
#

why is there a square bracket at the end btw

#

shouldnt be a parenthesis?

steep thorn
#

Yeah that was the problem

minor spade
#

many of my placeholders are broken and i cant reload my papi. it just gives me this error

https://pastebin.com/EyzLbVvg

am i missing an update or something im completely lost

vivid sparrow
#

I swear I made the config expansion code public

#

=PATE

#

=paste

tender vaporBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
HelpChat Paste

vivid sparrow
#

Put the papi config in there

minor spade
vivid sparrow
#

You are missing the "config" section, hmm

#

Have you used the expansion before?

minor spade
#

iv pretty much just put it in my server and done eclod things in game

warm topaz
#

u did gaby

#

its in papi repo

vivid sparrow
#

Its not, unless it has a different name

warm topaz
#

someone forked it

#

and ive saw it for myself before xd

minor spade
#

so i have something i need to add to my config myself?

vivid sparrow
#

Last commit 2018 @warm topaz

warm topaz
#

🥲

vivid sparrow
#

I did update it this year lol

warm topaz
#

ah

minor spade
#

ok well where do i get this update to fix my issue?

vivid sparrow
#

do you see where javascript, vault are?

#

Like the level?

#

Add this and reload papi again:

config:
  configs:
    example: example.yml```
minor spade
#

im not sure exactly where you mean? im really dumb sorry

#

its in my placeholder config?

vivid sparrow
minor spade
#

its just showing up as a white screen for me

vivid sparrow
#

remove the slash at the end

minor spade
#

ok that did it. so you want me to replace all my config with this then run /papi reload in game right?

vivid sparrow
#

yes

minor spade
#

that did it!

#

thank you so much!

vivid sparrow
#

great, np

austere hawk
#

ok so bascailly i need help on getting placeholderapi to show my 'playercount' on bungeecord servers

wet basinBOT
#

@turbid tide Unknown expansion.

turbid tide
#

use this expansion ^

austere hawk
#

ive done that

turbid tide
#

you need to have PlaceholderAPI on all servers (not proxy) and same for the Bungee expansion

austere hawk
#

k 1 sec

#

done that

#

wait so not the proxy

#

so not the bungeecord instance

turbid tide
#

yep

austere hawk
#

k

turbid tide
#

PAPI doesn't work on the proxt

#

proxy

austere hawk
#

k

#

ok yea ive done that

turbid tide
#

and it still doesn't work?

austere hawk
#

nope

turbid tide
#

what does it show?

#

when you parse the placeholder

austere hawk
#

wdum parse?

turbid tide
#

/papi parse me %placeholder% but of course change the %placeholder% part to the placeholder you want to use for example %bungee_total%

austere hawk
#

ok but what if its an MVdW placeholder?

#

im tring to get it on featherbaord

#

and that uses MVdW

turbid tide
#

{placeholderapi_bungee_total} for example

#

so remove %% and add {placeholderapi }

austere hawk
#

k leme add that

#

oh lmao

#

works now

#

sos for being a dumbass

#

ty guys

turbid tide
#

xD nah no worries

lone coral
#

Hey I'm having some weird issue that started out of nowhere on my bedwars1058 server. The vault placeholders aren't working with bw1058 in the language.yml

#

I'm running luckperms on a bungee network and everything looks properly connected

turbid tide
#

only the vault placeholders?

#

no other placeholder?

lone coral
#

only the vault placeholder

#

{vPrefix}

turbid tide
#

oh

#

wait that's not PAPI

lone coral
#

it's vault then?

austere hawk
#

whats the error msg in console?

turbid tide
#

well %vault_prefix% is the PAPI placeholder

#

not {vPrefix}

lone coral
#

should I go to vault for this issue then?

turbid tide
#

hmm idk actually

#

does BW1058 support PAPI?

#

then you could just use %vault_prefix%

junior musk
#

{vPrefix} works because it's a BW1058 placeholder

lone coral
#

yeah it does

turbid tide
#

you should go to BW1058 if anything

lone coral
#

well

junior musk
#

it's supported in its files

lone coral
#

hmmm

austere hawk
#

justiceblade whats the error msg in console?

lone coral
#

Ive been through bw1058 and Luckperms support

junior musk
#

do you have vault?

lone coral
#

there is no error message in console

#

I have vault and PAPI and luckperms

junior musk
#

and do you have LuckPerms on the spigot server?

lone coral
#

all associated extensions for PAPI as well

#

I have luckperms on all spigot servers connected properly to mysql

junior musk
#

if you do /papi parse me %vaut_prefix% does it work?

lone coral
#

yes

#

just did it

austere hawk
#

what does it say

turbid tide
#

well then use that

#

instead of {vPrefix}

lone coral
#

it says the appropriate prefix

#

assigned on luckperms

#

it's super strange

#

I just restarted as usual yesterday and when I re-entered it stopped working

#

but the chat format is still being used by bw1058, it just doesnt show '{vPrefix}'

junior musk
#

idk then

#

sounds like a BW1058 issue

lone coral
#

i was working on it for like 5hrs last night

#

and couldnt figure out why

brave kindle
#

hi

#

i am having a problem

#

I made an expansion

#

but the placeholders doesn't work

warm topaz
#

is ur expansion registered in /papi list?

brave kindle
#

yes

#

/papi reload command gives an error

manic sky
#

theres no way

#

you are the creator of discordsrv

#

lmfao

#

your status gives a direct link to that spigot page

#

but your spigot name isn't blue tree

turbid tide
#

its an addon ...

#

he said: finished my DiscordSRV addon

#

lmao

#

learn to read smh

manic sky
#

well wouldnt

#

that supposed to link to the addon

#

and not the original plugin

#

lmfao

brave kindle
#

ur right

turbid tide
#

what error does /papi reload give?

brave kindle
#

question

#

where do I PlaceholderExpansion#register?

#

In the plugin?

turbid tide
#

so you have your class that implements PlaceholderExpansion right? in that class

#

wait np

#

no*

#

my bad

#

in your main class

warm topaz
#

extends 🌝

brave kindle
#

yes

turbid tide
#

in onEnable

brave kindle
#

it extends it

turbid tide
#

whatever xD

brave kindle
#

I have to implement it in the main class?

turbid tide
#

no

brave kindle
#

then?

turbid tide
#

there's an example on the wiki ```java
package at.helpch.placeholderapi.example

import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public class SomePlugin extends JavaPlugin{

@Override
public void onEnable(){
    // Small check to make sure that PlaceholderAPI is installed
    if(Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null){
          new SomeExpansion(this).register();
    }
}

}```

#

new SomeExpansion(this).register();

brave kindle
#

SomeExpansion is the expansion class?

turbid tide
#

yes

#

the one that extends

#

PlaceholderExpansion

brave kindle
#

I have to add it's dependency?

#

and papi's?

brave kindle
#

doesn't work

#

import com.bluetree.discordsrvutils.DiscordSRVUtils;
import com.bluetree.discordsrvutils.commands.DiscordSRVUtilsCommand;
import me.clip.placeholderapi.PlaceholderAPI;
import me.clip.placeholderapi.expansion.PlaceholderExpansion;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;

public class Expansion extends PlaceholderExpansion {
    private DiscordSRVUtils plugin;
    @Override
    public String getIdentifier() {
        return "DiscordSRVUtils";
    }
    @Override
    public String getRequiredPlugin() {
        return "DiscordSRVUtils";
    }
    @Override
    public boolean persist() {
        return true;
    }
    @Override
    public String getAuthor() {
        return "Blue Tree";
    }
    @Override
    public String getVersion() {
        return plugin.getDescription().getVersion();
    }



    @Override
    public String onPlaceholderRequest(Player p, String identifier) {
        if (identifier.equalsIgnoreCase("tickets_opened")) {
            try (Connection conn = plugin.getDatabaseFile()) {
                PreparedStatement p1 = conn.prepareStatement("SELECT * FROM discordsrvutils_tickets");
                p1.execute();
                ResultSet r1 = p1.executeQuery();
                int count = 0;
                while (r1.next()) {
                    count = count+1;

                }
                String counts = count + "";
                return counts;

            } catch (SQLException ex) {
                ex.printStackTrace();
            }

        }
        return "Unknown Placeholder";
    }




    }
#

what is wrong?

turbid tide
#

more experienced people might be able to help you there

smoky spoke
plush nexus
#

Hey, Is there a setting that needs to be toggled on for the pinger placeholder to work? All my servers except for the hub ones work with the placeholder, and since the hub servers pretty much run on the same server files, I think a setting might be enabled/disabled which is preventing them from working with the placeholder. Anyone what this setting could potentially be?

turbid tide
#

nah. pretty sure the only thing you can change is the interval at each it pings

plush nexus
#

Hmm, I've set it to 3

turbid tide
#

Do you have the pinger expansion on all your servers?

#

maybe you need to have it

#

on all servers

plush nexus
#

I do, the other servers work fine, it's just the hub servers

turbid tide
#

u sure latest is installed?

#

latest version of Pinger

plush nexus
#

1.0.1?

turbid tide
#

idk xD

plush nexus
#

Most likely do, I've run the download command a couple hundreds of time by now lmao

turbid tide
#

xD

#

and you're 100% sure its set to 3 in all configs.yml ?

#

also I hope you're not pinging the :25565 port right?

#

because that's for the bungee

plush nexus
#

I'm not

turbid tide
#

wait so you have 2 hubs?

#

and you can ping all servers

#

just not the other hub?

plush nexus
#

Yeah, they're able to ping all servers, just not each other

turbid tide
#

huh

#

you sure you haven't used wrong ports or something?

plush nexus
#

mhm, and I don't have a firewall or anything

#

Nah

turbid tide
#

The pinger expansion is known to have a lot of problems lmao. I just don't know why this

plush nexus
#

Yeah lmao, not sure why it's able to ping a server but refusing to ping another :(

turbid tide
#

are you trying to see if the server is online with the pinger expansion?

plush nexus
#

Yeah

#

I've also tried placing it's server.properties, bukkit, spigot & paper files onto another server and pinging that server and it's able to ping it.. so maybe it's a plugin or something?

turbid tide
#

hmm

#

you can't afford to go thru all plugins one by one and remove them can you?

#

or remove all of them

#

restart

#

see if it works

#

and if it doesn't then its a plugin 100%

plush nexus
#

Was going to try uploading the entire server onto another server, but thought I'd ask in here just in case someone knew why it might be acting up

#

Yeah, I'll try something like that

#

Thanks for the help :)

#

Yep.. It's a plugin

#

Now to figure out which plugin exactly... :D

smoky spoke
#

%checkitem_remove_amt:1% placeholder is taking twice the amount if twice of the required item is available
so like, if i have one required item, it will work. if i have another copy of the required item, it will take the copy.
issue conducted from Command Panels

no one replied to my question so i copypasted it here

turbid tide
#

Wait so you specified amount 1 and it always takes 2 if you have 2 or more of those items?

smoky spoke
#

yep

#

when you make an icon from command panels run a console command

#

i talked to an admin from command panels discord that it's a placeholder issue

#

before i went here

turbid tide
#

and it only happens in the CommandPanels plugin? Have you tested it outside of the plugin?

smoky spoke
#

w8 lemme quicky do it

#

i guess the issue only happens on command panels

turbid tide
#

you tried it somewhere else and it works fine?

smoky spoke
#

ye

turbid tide
#

ye its weird

#

maybe the plugin parses the placeholder 2 times

#

somehow

#

I recommend you use the essentials /clear command

#

or whatever it was

smoky spoke
#

i was using that placeholder to clear specific items

#

because the /clear command is only limited to amounts and enchants

#

im trying to clear specific items with specific lore too

turbid tide
#

ah I see

#

yeah I'm afraid idk what a fix could be

smoky spoke
#

"command panels is open source"
that is what one of the discord server admins said

willow eagle
#

How would I go about utilizing placeholder %world_players_<world>% with worlds utilizing underscores, for example world_nether?

turbid tide
#

yeah what they mean by that is you could take a look at the code and if you know where the problem is, edit it yourself

quartz galleon
#

on death of player:
if player is in world "vs":
add 1 to {VsOldurme.%attacker%}

Skript leaderheads

how can i show

barren verge
#

I have a huge ram problem, when I join the server ram usage is somewhere about 1gb, then I stay in the server (doing nothing) and the ram usage don't stop going up until the server crashes coz the max ram usage is reached, disabling placeholderapi using disableme stop the ram issue, how can I fix this?

austere hawk
#

Hey would anyone know how to display your health on the scoreboard in a nice way

steep thorn
#

Tbh the examples here are quite clear

shut spear
#

Is there a problem with Vault (and Placeholder-api) at the moment? My variables from other plugins, (Jobs reborn), are working, but my Vault variables just display as %vault_rank%, %vault_eco_balance%, etc? (Sorry I'm a bit of a noob at this).

silver minnow
#

/papi ecloud download Vault
/papi reload

#

If it still doesn't work then try deleting all the expansions in /plugins/PlaceholderAPI/expansions then running the two commands

merry flame
#

how do i use papi in a json tellraw thing

silver minnow
merry flame
#

oh

#

i mean like for this plugin

silver minnow
#

ohh

#

well

#

if it supports placeholderapi

#

there should be some kind of wiki

merry flame
#

ok

silver minnow
#

ye

#

it does

junior musk
#

downgrade PAPI to 2.10.6

robust lynx
#

Is there any way i can make a placeholder go from %placeholder% to %ph% ? in any form, like script or YML, any way ?

turbid tide
torpid plume
#

Is there a placeholder with which I can display the entire online time of the network?

robust lynx
#

Hmm i wonder if there is a way of making a palceholders placeholder so like %this% replace with %thisisafullplacehodler%

turbid tide
turbid tide
junior musk
#

oh online time

#

I read online players x)

novel moss
#

Run /timings on

#

And let it run for some time

#

Then see what is causing it

#

Or show us if you dont know

#

Also probably its not papi

#

But an expansion (?)

barren verge
#

ok I'll check an expansion is the problem

#

and whats /timings?

austere hawk
#

For some reason I am on 1.16.4 Using place holders

#

I run /papi ecloud download player

#

But it is not working and It also says no hooks

turbid tide
#

you did /papi reload after?

austere hawk
#

Yes it says loaded

#

It might be a different plugin fucking with it

#

Plugins: AnimatedSidebar, Essentials, EssentialsChat, Essentials spawn, Factions, Luckperms, placeholder api, vault, via backwards, via rewind, viaversion

turbid tide
#

wait but what exactly is the problem?

#

maybe I didn't understand it correctly

austere hawk
#

Can u quickly hop onto my server and see for urself ?

#

138.201.23.118:26549 <- ip

#

Any version

coarse sable
warm topaz
#

check clips repo list or PlaceholderAPIs

rotund kraken
#

is it just me or does the vault placeholder not function? I'm doing /papi ecloud download Vault followed by /papi reload, but nowhere does it actually apply

#

for example, if I then do /papi parse me %vault_eco_balance% it's not replaced by the money value I have, nothing happens to it

silver minnow
rotund kraken
#

i already did that

#

nothing

silver minnow
#

nothing happens?

#

okay

rotund kraken
#

nope

#

i did try to do this with other placeholders like Player or Essentials, which works just fine

#

just vault seems to be having a stroke

silver minnow
#

did you try deleting

#

then /papi reload

#

then install again?

turbid tide
#

Are you sure you have the vault plugin installed?

rotund kraken
#

yes

#

I made a separate placeholder unrelated to papi using vault and that functions

#

im not the only one having this issue btw, i made a sidebar plugin and one of its users was having the issue too

silver minnow
#

Did you try what I said?

rotund kraken
#

not yet but ill try that

silver minnow
#

k

rotund kraken
#

another thing is that when i do /papi list it doesnt show up

turbid tide
#

then its either not installed correctly or its not installed at all

rotund kraken
#

i just tried it and nothing happens, its basically like its not there at all

#

it is present in my expansions folder though

silver minnow
#

also make sure your /papi list installed matches what's in the expansions folder

#

(except for Vault)

rotund kraken
#

that it does

silver minnow
#

hm

#

🤔

turbid tide
#

when you do /papi reload

#

check the console

#

for errors or warnings

rotund kraken
#

i also tried installing it manually which also did nothing

#

no errors

silver minnow
#

wait

#

when you do /papi reload

#

Does it say that it successfully reloaded?

rotund kraken
#

yes

silver minnow
#

how many expansions loaded?

rotund kraken
#

"PlaceholderAPI configuration reloaded!"
"3 placeholder hooks successfully registered!"

turbid tide
#

yo just restart your server while the expansion is in the expansions folder

#

and send the full startup log

rotund kraken
#

which should be 4 with vault

turbid tide
#

?startuplog

tender vaporBOT
#
FAQ Answer:

Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.

rotund kraken
#

will do

#

?paste

tender vaporBOT
#
FAQ Answer:

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

rotund kraken
turbid tide
#

Either you didn't send me the full log

#

or you don't have vault installed

silver minnow
#

oof

rotund kraken
#

well uh

#

was nice talking to you all haha

#

i was really fuckin convinced i had it

turbid tide
#

xD

rotund kraken
#

i feel like im starting to get alzheimers even though im only 22

#

damn this is great

silver minnow
#

._ .

rotund kraken
#

im sorry

austere hawk
#

Im the person with the problem, I have vault and all plugins needed and it wont work

turbid tide
#

?startuplog

tender vaporBOT
#
FAQ Answer:

Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.

turbid tide
#

fully restart your server and send this ^

austere hawk
#

alr

#

Its rly long I need to do a txt file

novel moss
#

No

austere hawk
#

Oh

novel moss
#

Wrong

#

Dudee

#

?paste

tender vaporBOT
#
FAQ Answer:

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

austere hawk
#

@turbid tide Thats the latest.log

turbid tide
#

ye no need to ping. I've looked at it and seems like everything is working fine

#

the vault plugin is loaded same for the expansion

#

which placeholder have you tried and isn't working?

austere hawk
#

All of them

#

Im in 1.16.4 btw

turbid tide
#

all of them? all Vault placeholders?

austere hawk
#

No place holders work at all

turbid tide
#

wait like if you do /papi parse me %player_name% that one doesn't work?

austere hawk
#

Nothing happens in the chat when I do that

turbid tide
#

what's your server? like spigot, paperspigot etc.

austere hawk
#

Paper

turbid tide
austere hawk
#

When I do /papi parse me %player_name% It just writes %player_name% in the chat

#

In console it says this [22:58:15 WARN]: [PlaceholderAPI] Loaded class me.clip.placeholderapi.PlaceholderAPI from AnimatedSidebar v1.0.5 which is not a depend, softdepend or loadbefore of this plugin.

turbid tide
#

that ain't an error

#

you can just ignore that

austere hawk
#

alr

#

Wiat so what do you want me to do in dev builds?

turbid tide
#

download the development build of PAPI and use that instead of PAPI 2.10.9

austere hawk
#

alr

#

This ? Build #111 (Nov 3, 2020 8:20:00 AM)

turbid tide
#

yes

austere hawk
#

alr

#

alr server turning on with it now

#

Did it all

#

Did /placeholderapi ecloud download player

#

Then /papi reload

#

And /papi parse me %player_name%

#

Still said %player_name%

turbid tide
#

/papi ecloud list installed

#

what does it say?

austere hawk
shut spear
#

Thanks @silver minnow I did /papi ecloud download Vault and it worked! I thought it was enough to put it in my /plugins folder.

silver minnow
#

👍

austere hawk
#

dkimi do yk whats wrong with mine?

#

@silver minnow Im trying to use it and it just wont install, I keep doing /papi ecloud download Vault and when i do /papi reload then /papi list it doesnt work

silver minnow
#

....

#

Please don't ping me if we didn't already have a conversation (and pinging to reply)

#

also on

Installed expansion page 1:

  1. Vault
  2. Essentials
  3. Player
    @austere hawk
    It says that it's installed
austere hawk
#

Sorry

#

But it says that on /papi ecloud list installed

#

But when I do /papi list

novel moss
#

Explain what means it doesnt work

austere hawk
#

WHen I run

#

/papi parse me %player_name%

#

It just responds with

#

%player_name%

tender vaporBOT
#
FAQ Answer:

Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload

austere hawk
#

I did that ^

silver minnow
#

@austere hawk You need the player expansion

austere hawk
#

I got it

novel moss
#

This is going literally nowhere

#

Weve come full circle at least 3 times now

austere hawk
#

Yeah...

brave kindle
#

hi

#

I am having big troubles

#

first

#

do I have to shade the expansion in the plugin?

#

why doesn't the register call work?

manic sky
#

First of all

#

You need to tell us about what this expansion is

#

and we also have no idea what the register call is

#

are you using maven or gradle?

brave kindle
#

maven

#

and I think I will use gradle in the future

brave kindle
manic sky
#

like

#

DiscordSRV?

#

you want to shade that into your plugin?

#

I won't spoonfeed but I can give you an example on how to shade

brave kindle
#

I know how to shade

#

expansion for the addon

#

the addon has features

#

I made the expansion

manic sky
#

Yeah

brave kindle
#

but it doesn't register

manic sky
#

What do you mean by that

#

doesn't register

#

like the build fails?

brave kindle
#

no

#

[15:05:34 INFO]: [PlaceholderAPI] Successfully registered expansion: tab

#

this is for another plugin

#

I don't even have the expansion

#

but

#

this doesn't happen for my plugin

manic sky
#

uhh

brave kindle
#

do people need the expansion to use the placeholders?

brave kindle
#

Anyone know how to make the plugin support papi?

#

I need an expansion?

versed veldt
#

Why are my extensions not updated?

#

Neither with the command, nor downloading them.

#

for exp. Bungee

sand stirrup
#

Hey there, is placeholderapi already compatible with 1.16.4?

brisk coral
#

Yes

sand stirrup
#

Okay, thanks

#

and with paper?

brisk coral
#

Yes

sand stirrup
#

Thanks

stone parcel
#

hey, i found a bug. I use cmi dynamic signs and when I set a javascript placeholder that depends on the argument on two signs with different arguments they sometimes show the same text although they should actually display different things. I think thats because there is no queue system, would it be possible to add a queue system to placeholders? so that there are running different scripts on there own

uneven rapids
#

Hello, i just want to ask... is skript expansion working?

turbid tide
#

there's an updated one somewhere. The one from the ecloud doesn't work with PAPI 2.10.7+

turbid tide
uneven rapids
tender vaporBOT
#

@uneven rapids,

Hey!

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

turbid tide
#

believe me I have no idea either. xD

#

I'll try and search it

#

maybe I can find it but not sure

uneven rapids
#

thank you so much

cerulean ore
#

Is there a way of using 1.16 rgb colors in Javascripts?

vivid sparrow
#

&x&r&r&g&g&b&b probably

vivid sparrow
#

Well

#

Replace the rrggbb with the actual hex?

cerulean ore
#

Tried that as well

turbid tide
#

PAPI doesn't parse hex colors

#

pretty sure its just a string

vivid sparrow
#

Like &x&f&f&f&f&f&f for white

cerulean ore
#

Then how would one utilize it for such lines?

vivid sparrow
#

Hex is parsed as $x$r$r$g$g$b$b by the game @turbid tide

turbid tide
#

ye

#

the problem is

#

JS will just return

vivid sparrow
#

So all plugins that translate colors support hex

turbid tide
#

what you see there

#

so it will already colorize text

cerulean ore
#

Right

turbid tide
#

Idk if you can use js to return that sort of thing. Unless your plugin supports other hex formats like &#xxxxxx

cerulean ore
#

Ugh yeah figured it out, my scoreboard plugin just doesn't support hex colors for scoreboards in my version

cosmic rapids
#

Hey, with a placeholder that I use %ghostscavengerhunt_player_found% it shows up as a hook for ghostscavengerhunt but when I try to check the ecloud it says it doesn't exist. I'm trying to use it in LeaderHeads. The placeholders work fine when I /papi parse it and it's numeric but still.

turbid tide
#

If its not on the ecloud means its an internal expansion. that means it comes inside the plugin

#

If the placeholder works you should be able to use it in LH.

#

if its numeric

#

No need for it to be on the ecloud

cosmic rapids
tender vaporBOT
#

@cosmic rapids,

Hey!

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

cosmic rapids
#

It was a reply, but alright

turbid tide
#

can you show me what the actual placeholder returns?

#

not the leaderheads one

cosmic rapids
turbid tide
#

have you tried /leaderheads validate <placeholder> ?

#

to see if the placeholder is going to work with LH?

cosmic rapids
#

it says it correctly got the numeric value of 55

turbid tide
#

and then you've enabled the leaderboard using /leaderheads enable <placeholder> ?

cosmic rapids
#

yep

turbid tide
#

and if you go in the statistics folder and open the folder for the placeholder you want is there any data saved?

cosmic rapids
#

yep, shows all of it

turbid tide
#

hmm idk. Have you tried contacting Robin#7385?

#

Maybe he can offer more useful info

cosmic rapids
#

I haven't, but I will do that thanks

mint fable
#

@cosmic rapids what is the placeholder statistic you're looking for? player_found?

cosmic rapids
#

It's ghostscavengerhunt_player_found

turbid tide
#

%ghostscavengerhunt_player_found%

mint fable
#

o ye ye

turbid tide
#

seems like LH is validating it

#

so idk what the problem might be

cosmic rapids
#

Hmm

mint fable
#

well 1st thing I know is that time is required

turbid tide
#

ye he tried with and without and same thing

mint fable
#

but i also don't know why it's not working

cosmic rapids
#

I'm gonna try to remove the hologram and just remake it to see if something different happens

mint fable
#

did you set up tracking for that placeholder?

cosmic rapids
#

yep

mint fable
#

/leaderheads enable <placeholder> right?

turbid tide
#

yep yep

#

you're just asking him the same questions lmao

#

also Robin said when its trouble with LH to send them to him

#

but seems like someone unpinned the message

mint fable
#

oh i missed that one

#

have we opened the .yml to make sure it's tracking?

turbid tide
#

ye he said the stats are there

mint fable
#

so

#

it doesn't look like we parsed the leaderheads placeholder through papi, did we?

cosmic rapids
#

Okay, for some reason it now shows only the #2 spot, not #1 or any others. But at least it's showing something

mint fable
#

if we did I completely missed it

#

Hmm

#

now that's weird

#

who is #2? is it you?

cosmic rapids
#

Nope, but somehow it fixed itself... It now shows...

turbid tide
#

lmao

#

did you just enable it? because there's a time you can chose for how often the data is updated

cosmic rapids
#

I had it enabled a good 10-15 mins ago

fast rampart
#

How can I get placeholderapi working with essentials chat?

#

I tried {placeholderapi_myplugin_identifier}

#

But it didn't work, is there something that I'm missing / need to do?

turbid tide
#

you can't

#

you need to install ChatInjector