#placeholder-api

1 messages Β· Page 83 of 1

lapis frost
#

it works!

gleaming charm
#

πŸ‘Œ

vivid sparrow
#

we good

lapis frost
#

now how do I get it to not say 1.0 but just 1

vivid sparrow
#

return count.toFixed();

gleaming charm
#

^

vivid sparrow
#

only 1h

lapis frost
#

aye it works!

gleaming charm
#

This took an hour πŸ€¦β€β™‚οΈ

lapis frost
#

god damn lol

gleaming charm
#

Say thank you to Gaby for that one then

lapis frost
#

@vivid sparrow I should of just given you access to my panel and what not haha but thanks dude

gleaming charm
#

Nah it’s better if you do it

vivid sparrow
#

Nah, I'm good xd

lapis frost
#

If it didn't work this time i'd of just said screw it I quit lol

gleaming charm
#

Can’t spoon feed also at least I prefer to not have about 200 panels at the end of it

#

You saw a small glimpse into coding isn’t it funnnnn πŸ˜‚

vivid sparrow
#

amazing

lapis frost
#

yeah I've done some coding but nothing really fancy lol

vivid sparrow
#

Dumb me was using java stuff on javascript

gleaming charm
#

I love open loops they great I remember when I first did them and ik Gaby I do that too much πŸ˜‚

lapis frost
#

If I'd try knowing my luck I'd prob start trying to use C++

gleaming charm
#

But that is something you may get to see one day an open loop is fun

vivid sparrow
#

open loop?

gleaming charm
#

for(x = 0; x < -4;xβ€”) {
for(y = 0; y > 4 y++) {
}
}

#

I call those open loops most people call them stacked loops or whatever else

vivid sparrow
#

ah

brisk coral
#

That sir is called a double whatthefuck loop

gleaming charm
#

Ahh yes the best name

bronze bison
#

smh Luke hasn't fixed the expansion issue yet

austere hawk
#

can someone help me?

warm oriole
#

?asktoask

tender vaporBOT
#
FAQ Answer:
austere hawk
#

i can't download towny placeholder

warm oriole
#

Do you have Towny installed?

austere hawk
#

yes

warm oriole
#

show your console if you have it installed

austere hawk
#

sec

warm oriole
#

/papi ecloud download Towny if there is a expansion for that.

#

if you haven't done that yet and /papi reload

#

or restarted.

austere hawk
#

no expansion found

warm oriole
#

likely there isn't any for Towny 1m.

austere hawk
#

but there are variables for it

#

Towny
/papi ecloud download Towny

%towny_town%
%towny_friends%
%towny_nation%
%towny_title%
%towny_town_residents%
%towny_town_size%
%towny_town_tag%
%towny_town_balance%
%towny_town_mayor%
%towny_surname%
%towny_town_rank%
%towny_nation_rank%

warm oriole
#

well there's your answer

#

/papi ecloud download townychat

austere hawk
#

ohhhhhhhhhhhh

#

thx so much

warm oriole
#

No problem.

modern drift
#

Hey I accidently clicked on a "update" button ingame and it broke my placeholders for LuckPerms

trim mist
#

You can either downgrade the expansion or grab the latest dev build from https://luckperms.net

bronze bison
#

Downgrade,

/papi ecloud download Luckperms <version>
/papi reload
brisk coral
#

/papi ecloud download luckperms 4.0

modern drift
#

Perfect! Thank you so much

trim mist
#

Just texted Luck, going to see if he made any progress on fixing the expansion to support both APIs.

bronze bison
#

Cool, ty.

warm oriole
#

should've just deleted the expansion tbh, and made a option to download the beta expansion on his website.

#

so people don't accidentally update their expansion or plugin.

bronze bison
#

Agreed.

trim mist
#

I already discussed that stuff with him and he came to the conclusion that he would try to make it work on both APIs.

rose eagle
#

Anyone know why vault placeholders dont work?

junior musk
#

did you install vault? and did you download the expansion from the ecloud with /papi ecloud download Vault?

rose eagle
#

yes

junior musk
#

does it show in /papi list?

rose eagle
#

yes

#

wait no

#

i download it but its not on the list

junior musk
#

do /papi reload

rose eagle
#

ok

#

now it shows vault but my deluxemenu wont open anymore

junior musk
#

send server logs

rose eagle
#

can i link pastebin here?

junior musk
#

=paste

tender vaporBOT
#
HelpChat Paste

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

rose eagle
#

oh

#

=paste

tender vaporBOT
#
HelpChat Paste

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

rose eagle
#

i put it in how do i put it in discord now?

junior musk
#

copy the url

rose eagle
#

ooh

junior musk
#

can you try to do /dm reload and check if there is an error?

rose eagle
#

no error

junior musk
#

and does it work now?

rose eagle
#

nope

#

thats the menu that doesnt work

junior musk
#

try to remove the space before the title maybe?

warm oriole
#

wrong place for help.

#

or

rose eagle
#

kyle i thought i was papi

#

tanguy il reply in general-plugins-2

junior musk
#

ok

heady axle
#

Dude im going to freaking cry 😦
I found the issue with MvDW placeholders...
You are REQUIRED to have one of Mv's plugins on the server for MvDW placeholders to work, Most annoying part is Im not interested in ANY of of shit crappy plugins... so now iv got to use some plugin just to support MvDW placeholders

That is such a stupid system
His only decent plugin is Featherboard but iv got something even more lightweight for my scoreboard...

balmy marten
#

PAPI not have the placeholder you're after?

warm oriole
slate siren
#

cant download expansion from ecloud

trim mist
#

Why not?

slate siren
#

when i try to do /papi ecloud download Vault

trim mist
slate siren
#

it shows me No cloud expansions are available at this time

#

o

#

k so

#

i installed vault

#

btu placeholder working in deluxechat

#

i did reload papi

mint fable
#

so it works

slate siren
#

what works

#

i have %vault_eco_balance_formatted%

#

but its just showing %vault_eco_balance_formatted%

mint fable
#

okay?

#

so it doesn't work?

slate siren
#

ya

mint fable
#

you just said it worked O.o

slate siren
#

cough

#

miss typed

#

xD

mint fable
#

ah

#

try restarting

slate siren
#

i did

mint fable
#

full restart, not a reload right?

slate siren
#

ya

mint fable
#

type /papi parse me %vault_eco_balance_formatted%

slate siren
#

sec

#

imma try restart again just to be sure

#

shows 0

#

the command

mint fable
#

||that sounds like something somebody who didn't restart in the first place would say||

slate siren
#

but not the placeholder

#

i did

mint fable
#

and is your balance 0?

slate siren
#

restart

#

but it still doesnt work

#

and no

#

its not

#

but if i do the parse

#

it shows 0

mint fable
#

okay

#

try the parse with other placeholders

#

see if fixed or commas works

slate siren
#

yes

#

shows 10000 fixed and 10,000 commas

mint fable
#

okay

#

so you want to use commas I assume?

slate siren
#

err

#

sure

mint fable
#

put that in your deluxechat format and restart, see if that helps

slate siren
#

k

#

nope

#

xD

mint fable
#

oh hey

#

can you verify your acc for me real quick?

#

=spigot

tender vaporBOT
#

@mint fable

Spigot Account Link

To link your Spigot profile please do the following:

  1. On Spigot, set your Discord to cj89898#7801 under contact details.
  2. Run the =Spigot <Spigot Username> command.

Note:
If you have changed your username in the past or haven't made many posts you may need to use =spigot <numeric id>

#
FAQ Answer:

Spigot Account Linking
To get support for a premium plugin owned by Clip you will need to verify your spigot account using =spigot in the bot-commands channel. After you have successfully linked your spigot account you should ask your question in the coresponding channel for that plugin. If you have already linked your account and want to update your roles, run this command =spigot check

mint fable
#

@slate siren ^

slate siren
#

if you want the guy who bought deluxechat

#

it wasnt me

trim mist
#

You'll have to have them join the Discord.

mint fable
#

Well we can only give help to verified buyers ^

slate siren
#

ermm

#

ok

#

imma ask him then

#

@golden trench

golden trench
#

Yes?

slate siren
#

^

#

do you mind reading what they say

heavy kiln
#

Papi doesn't seem to work for me on spigot 1.8.8 with pinger or server expansion at least, I use papi 2.10.4 and when I parse for example %pinger_max_testplugins.com:25565% (I have replaced testplugins.com with my own server or with other servers that are online, it just gives me 0 value, always. I have tried to use expansion Player and this one works just fine. Just Server and Pinger don't work at all. Any ideas? I'm thinking it might be related to my network system? (I uses pfsense for routing and have a fully managed 48port netgear switch, also I use pihole as a DNS server with redirects to cloudflare)

junior musk
#

did you download the expansions ? do they show in /papi list ?

heavy kiln
#

Yes, they do show, latest versions, of course.

junior musk
#

and what's your PAPI version ?

heavy kiln
#

2.10.4, I have tried with 2.9.2, same result

balmy marten
#

Papi version wont change anything

junior musk
#

sometimes it does

vivid sparrow
#

use IP not dns

balmy marten
#

Does it work if you have it set to testplugins?

junior musk
#

try what Gaby said

heavy kiln
#

I have tried with IPs like local ip of my minecraft subservers, like 192.168.1.240:2, etc, no difference.

vivid sparrow
#

isnt it 127.0.0.1 ?

balmy marten
#

Make sure to give it ~30 seconds each try

heavy kiln
#

I have multiple internal conenctions to that Rack server, so I bind the minecraft servers to specific ip address, not localhost/127.0.0.1 (loopback)

balmy marten
#

But does it work if you have it set to something external?

heavy kiln
#

No, it doesn't either

balmy marten
#

Be mindful it really does take a bit of time to first update

bronze bison
#

Just set the update interval in papi's config to 1, then try it

#

I'm sure that it's working fine, tried it for someone not too long ago

heavy kiln
#

Just did that, didn't fix it at all. Apparently only Pinger has issues, all the other expansions work just great. If I parse to see online players, it always shows 0. If i parse to see server name or version, it gives a blank message. If i do a pinger_online it shows testplugins server or any other server offline as well.

heavy kiln
#

I think i will replace the players count functionality with bungee expansion and I will say goodbye to server status fucntionality (offline/online). Thank you for your help guys.

alpine anvil
#

Can i use group.media for ListPlayers? Im getting an error when doing that. {"text": "[Media]: %listplayer_with_perm_group.media%"} [Server] INFO com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 10 path $.text

#

OHHHH WAIT

#

i forgot an s smh

#

Wait but since i have groups inheriting from each other in luck perms, that shows me in every list. Is there a way to fix that?

vivid sparrow
#

most likely no.

alpine anvil
#

well, thats a rip

junior musk
#

maybe I got an idea

#

what's the group that inherit from media ?

alpine anvil
#

hmm

#

Media inherits from default

#

but i have Moderator inherit from Helper

junior musk
#

no, what's the group above media

#

that inherits from media

alpine anvil
#

i believe nothing

#

lemme check editor

junior musk
#

then it should only show people in media?

alpine anvil
#

maybe cause im oped?

junior musk
#

oh yeah that's the problem

alpine anvil
#

i deoped myself and did /staff still show in media hmm

junior musk
#

probably because your group has *

alpine anvil
#

oh yah it does

junior musk
#

then I maybe have an idea

alpine anvil
#

negate the group.groupname?

junior musk
#

yeah x)

alpine anvil
#

will that still make them inherit?

#

i want moderator to inherit from helper but not show up in helper list

junior musk
#

idk

#

maybe make a suggestion for the Expansion ListPlayers to add a placeholder only for primarygroup

alpine anvil
#

where can i suggest?

vivid sparrow
#

do you use luckperms?

alpine anvil
#

yaeh

junior musk
#

yes he uses LP

vivid sparrow
#

ah that's for one user

junior musk
#

yeah

meager vault
#

Hey !

I need help please, I want to change the return of a placeholder ( %fabledskyblock_island_role% )
Because the placeholder is "bugged" and doesn't support translated placeholder ( it displays it in english only, but I'm french..)

So with javascript I would like to make that it detects what the placeholder returns and change what will the placeholder will really return.
I wanted to do if someone can do this for me please ( it's basic but I'm a noob with javascript 😦 )

There are 3 words it can returns :
-Operator
-Member
-Owner

So I would like to have possibility to translate theses 4 words πŸ˜„

junior musk
#

you can change FabledSkyBlock's placeholder in it's language file

meager vault
#

Done, but then when I use the placeholder is doesn't return a translated placeholder ^^

#

It's still in english

junior musk
#

you have to reload the plugin

#

/is admin reload

meager vault
#

My problem is here since many months

#

I already reload/restart

#

I also contact some other people that have the plugin, they have the same problem

junior musk
#

I'll check on my server

meager vault
junior musk
#

yeah I can't find it

#

seems like you'll have to use javascript

#

I can do that later for you if you want but my pc is off now

meager vault
#

Yeah it would be cool if you can do this !
Don't hesitate to tag me or contact me in private message about it πŸ˜„

bronze bison
#
var role = "%island role placeholder%";

function getRole() {
  if (role === "Operator") return "operator in french";
  if (role === "Member") return "member in french";
  if (role === "Owner") return "owner in french";

  return "none of the above";
}

getRole();

Write the correct placeholder and the values u want @meager vault

meager vault
#

Thanks @bronze bison , like always you're here to help me πŸ˜‚

bronze bison
#

:p im here to help you and everyone 😁

cunning charm
#

=paste

tender vaporBOT
#
HelpChat Paste

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

cunning charm
brisk coral
#

/papi ecloud download luckperms 4.0

cunning charm
vivid sparrow
#

luckperms version?

cunning charm
#

Latest

#

Bukkit v5.0.37

bronze bison
#
/papi ecloud download Luckperms
/papi reload

Then

cunning charm
#

@bronze bison, thanks very much πŸ™‚

bronze bison
#

No problem πŸ˜„

stuck fiber
#

Hello can someone help me please

junior musk
#

?asktoask

tender vaporBOT
#
FAQ Answer:
stuck fiber
#

ok

#

have it your way

#

Hi amazing coders, I have a serious issue regarding my placeholderapi plugin. Each time I do papi ecloud download luckperms, it goes through successfully but when i do papi reload it has an internal error. Can someone please help? thanks

junior musk
#

you have to download LuckPerms v5

bronze bison
#

Latest version of LuckPerms expansion is for v5
You have to download an older version of it

/papi ecloud download Luckperms 4.1
/papi reload
#

For LuckPerms v4

junior musk
#

that works too

#

I didn't know you could download older expansions versions

stuck fiber
#

omg

#

thank you sm

bronze bison
#

Well yeah, if you want download the dev build v5

stuck fiber
#

❀️

bronze bison
#

No problem! Glad it did.

alpine anvil
#

Is the issues in github a place for official papi expansions' suggestions?

#

I want to make a suggestion for ListPlayers

trim mist
#

@arctic loom Do we have a template for that? I can't remember.

arctic loom
#

Not really.
The PAPI repo has templates for suggesting changes to PAPI, report bugs of it, or request changes to the wiki.

#

I didn't add a template for expansion suggestions/changes as they often have their own repo

trim mist
#

Good point.

neon tartan
#

One idea could be to have expansions under 1 repo? Like the server and player one that is currently under separate repos

trim mist
#

Nah that'd be a mess

neon tartan
#

See I think personally would be cleaner approach, similar to how one of the bots here has a folder full of plugin names, you could have a folder name for each module

alpine anvil
#

You can do it for official papi expansions

#

Now what about me making a suggestion

cobalt cradle
#

hello

warm oriole
#

Properly read how you are supposed to make a expansion.

#

There should be a example on the GitHub.

alpine anvil
#

ping me when someone answers

turbid tide
#

can someone tell me why i get script error?

#

in return?

alpine anvil
#

well whats the error

turbid tide
#

it only says script error

alpine anvil
#

in console?

turbid tide
#

sorry πŸ™‚

#

ohh

#

forgot ;

cobalt cradle
#

@warm oriole and what am I doing wrong, I followed it

turbid tide
#

;*

#

πŸ™‚

#

sorry

#

and thank you

alpine anvil
#

Np

turbid tide
#

well another problem :))) it only returns 2, 3 and 4 :)) i want it to return 1 as well

alpine anvil
#

technically javascript you dont need to add the ; but nashorn is being weird, or maybe because of the way the input is given to nashorn

#

ok lemme check the correct stuff for math.random

turbid tide
#

dk what i did but it returns 1 too now

alpine anvil
#

Its random

cobalt cradle
#

ohhh

#

I see it now

#

um another problem

#
[01:04:06 WARN]: [QuickBoard] Plugin QuickBoard v3.8 generated an exception while executing task 7264
java.lang.NoClassDefFoundError: net/etheral/TokensAPI
        at TokensExpansion.onPlaceholderRequest(TokensExpansion.java:33) ~[?:?]
vivid quest
#

Im having trouble getting %player% to work...

warm topaz
#

%player% isnt the placeholderapi placeholder. its %player_name%

/papi reload```
vivid quest
#

Okay thats why! Thanks. Must be a issue with the default join message being %player%!
Thanks Kaliber!

cobalt cradle
#

the expansion doesn't get registered

cobalt cradle
#

new problem

tender vaporBOT
#
πŸ“‹ Your paste, Kompye
https://paste.helpch.at/belodohugu

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

trim mist
#

Means it can't find the class

half crown
#

has a 1.15 version been resleased? or a Dev build

outer herald
#

LuckPerms expansion have error

#

can fix it?

balmy marten
#

Update luck perms @outer herald

#

to the very latest v5

#

@half crown the current version of papi will support 1.15 but there are dev builds pinned in the top right

half crown
#

ok

#

Question who does the updates for the Expansion? Im looking for the Parkour Expansion as its not working in 1.15

outer herald
#

iI updated it

#

i'm using 1.12.2 spigot

balmy marten
half crown
#

Thats what im looking for

balmy marten
#

Yeah, shoot them a message asking for an update if it's broken

half crown
#

just on the page for spigot?

balmy marten
#

Or join their discord on the page

lofty pine
#

Hey guys. What would be the best placeholder to show the player count - vanished players?

I have been using the ones from PremiumVanish. But that one seems to be really inaccurate.

For example it says ''Survival 8/30'' but I count 9 players online, 10 if you include me (but i'm in vanish)
Once I leave vanish it says ''Survival 10/30'' and when I enter vanish again then it updates to ''9/30''.
It's almost always inaccurate, definatly when more vanished players are online then just 1.

Kind of reveals staff in vanish too.

alpine anvil
#

Do i contact Clip about my ListPlayers suggestion?

brisk coral
#

Is it OS?

vivid sparrow
#

no

bronze bison
#

No, you either ask clip nicely to os it or add whatever u want πŸ˜„

vivid sparrow
#

@final shadow yo, os that expansion ❀️

brisk coral
#

Or you yell at it

#

Always an option

alpine anvil
#

My suggestion is have a placeholder removing vanished players

bronze bison
#

Js is always an option

vivid sparrow
#

well, it depends on what plugin you are using for that.

bronze bison
#

πŸ˜„

alpine anvil
#

i dont think you can do javascript

bronze bison
#

Y?

#

iirc i made one for someone in spigot

alpine anvil
#

Can you check a placeholder for a specific person other than the person running the command

#

in js

bronze bison
#

U dont use that placeholder πŸ˜‰

brisk coral
#

wAt

alpine anvil
#

?

bronze bison
#

u make ur own code

#

Let me see if i can find that thread

vivid sparrow
#

vanish plugin?

alpine anvil
#

supervanish

vivid sparrow
#

that should be eazy

#

you only check if the player has a certain meta

#
private boolean isVanished(Player player) {
        for (MetadataValue meta : player.getMetadata("vanished")) {
            if (meta.asBoolean()) return true;
        }
        return false;
}```
alpine anvil
#

u talking in java or js?

vivid sparrow
#

both

alpine anvil
#

in js u cant check a placeholder for another person other than the executor

vivid sparrow
#

not sure if it will work but hey! xd

#

you loop over the online players

#

and just run that code for each player

brisk coral
#

Just loop over the online players ye

alpine anvil
#

so my only option is making a expansion that does the placeholder

brisk coral
#

You just need a js placeholder

#

Gaby is probably writting it rn

vivid sparrow
#
var players = BukkitServer.getOnlinePlayers();
var count = 0;

for (var i = 0; i < players.length; i++) {
  var player = players[i];

  for (var meta of player.getMetadata("vanished")) {
    if (!meta.asBoolean()) count++;
  }
}

return count;```
I have no idea if this will work but hey!
alpine anvil
#

OH WAIT

#

otherplayer is a thing

#

but wait i cant run that on supervanish

brisk coral
#

That isn't depending on supervanish..

bronze bison
#

Couldn't find it, might write u a new if u didn't find a solution

alpine anvil
#

wait why loop of player meta?

vivid sparrow
#

that's what supervanish say to do lol

alpine anvil
#

oh lol

vivid sparrow
#

I doubt that will work, it was too easy xd

brisk coral
#

That's a double whatthefuck loop

bronze bison
#

but u just loop over the players and check if the player can see the player ( using canSee(Player) spigot method) if he can, count it, if he cant then dont and it will go to the next player πŸ˜„ ez

alpine anvil
#

Oh thats better

bronze bison
#
varΒ serverΒ =Β BukkitServer;
varΒ onlineΒ =Β server.getOnlinePlayers();
varΒ numΒ =Β 0;

functionΒ number()Β {
Β  online.forEach(function(player)Β {
Β  Β Β ifΒ (BukkitPlayer.canSee(player))Β {
Β  Β  Β  num++;
Β  Β Β }
Β Β });
Β Β returnΒ num;
}
number();

πŸ‘Œ

alpine anvil
#

Thanks

bronze bison
#

No problem!

fervent jackal
#

How does the Javascript placeholder work?
Could give me an example?

turbid tide
#

well you have to make them

fervent jackal
#

Oh, new files were generated in the PlaceholderAPI folder, I now understand how it works

median kindle
#

Hello

#

Could someone tell me how could I get any answer from a placeholder like if the player were in that world

#

Like %in_world_world_nether_{has_permission_essentials.fly}%

#

Then it would answer like if the player were in world_nther

vivid sparrow
#

no

median kindle
#

Can’t I?

vivid sparrow
#

no means no lol xd

median kindle
#

Why do you have to be like that?

warm oriole
#

PAPI doesn't have a ability for what you are wanting.

#

Being like what Gaby is being honest?

#

PAPI doesn't support that and he gave you the answer of no that it doesn't have that capability to do that.

vivid sparrow
#

I said no, what else would you want me to say smh

#

Papi is unable to can
Happier?

warm oriole
#

Would you rather him mention "No, PAPI doesn't support what you are wanting in any way possible"

vivid sparrow
#

Idk kyle, I personally like to receive a straight forward answer for some questions than a long one which resume to yes or no.

warm oriole
#

I get ya just trying to make a point.

vivid sparrow
#

yup not saying anything about you.

median kindle
#

I just thought it was a bit rude

warm oriole
#

It's not rude at all lol

#

He was simply answering your question.

median kindle
#

I mean, β€œno means no”

warm oriole
#

Well you asked the same question again.

#

So he responded with what no means.

median kindle
#

I think you will not understand it

vivid sparrow
#

Didn't mean't to sound rude.

median kindle
#

Yes, I know

warm oriole
#

I understand it completely, but that wasn't rude just saying.

vivid sparrow
#

"no" means no.

#

Anyways guys, I'm sorry Abruptum.

median kindle
#

Yes, I know hah, that’s because it’s like rude in my country

#

Maybe because it sounds different

#

And you know

vivid sparrow
#

yup xd

median kindle
#

Aaah

#

And what about if I make it with a javascript?

#

Can I make it with javascript?

woven latch
#

Small question: should I verify myself as an author in the ecloud page? My plugin is verified, but saw some authors were verified and some others not

wise scaffold
#

Hey, what would a plavceholder be to get the current time like 19:24

brisk coral
#

use the server time placeholder, it will display the time that the machine is running on

wise scaffold
#

Yepp, got it, ty!

quick tinsel
mint fable
#

Open your farming stats menu

#

and look at the items

quick tinsel
#

What?

#

That's what I'm doing in the gif

mint fable
#

the config for it

quick tinsel
#
  '1':
    material: hdb-20
    data: 0
    slot: 9
    update: true
    display_name: '&6&lSugar Cane:'
    lore:
    - '&cBroken&7 - Invalid'
    - '&aPlaced&7 - %statistic_use_item_SUGAR_CANE%'
    left_click_commands:
    - ''
    right_click_commands:
    - ''
#

I just wrote invalid since I can't find a placeholder which works for it

mint fable
#

so you're trying to find a placeholder that works

#

that's the entire list for the statistic expansion ^

quick tinsel
#

I already have that expansion

mint fable
#

you missed it

#

^

quick tinsel
#

That's what I used for the other ones as you can see. Everything works except the ones I marked as invalid

mint fable
#

Look at the list

#

find a placeholder that can work

#

and use it

#

You came here asking where you can find the placeholders, so I gave you the list.

quick tinsel
#

So which do I need to use?

mint fable
#

I have no idea what you're trying to accomplish, but by the way your config looks, %statistic_break_item:<material>,<material2>%

brisk coral
#

Your name is familiar from somewhere thonking

quick tinsel
#

I'm trying to accomplish having a statistic of all farming materials, so as I have placed and broken for all others, some of them don't work, hence I typed invalid at them. I figured there might've been another placeholder which works for them.
This works for Melon (break and place):

    - '&cBroken&7 - %statistic_mine_block_MELON_BLOCK%'
    - '&aPlaced&7 - %statistic_use_item_MELON_BLOCK%'

But it doesn't work for the others

#

Mine?

brisk coral
#

Yes,
And use break item. Depending on your server version you should use : or _

mint fable
#

did you try the placeholder I sent at all?

#

Except instead of : use _ as frosty pointed out

quick tinsel
#

I use 1.8 so it's _ right?
I tried this one %statistic_break_item_338% (338 = Sugarcane)

mint fable
#

why use the ID?

#
    - '&aPlaced&7 - %statistic_use_item_SUGAR_CANE%'```
#

you don't use the ID there ^

quick tinsel
#

I also tried with SUAGER_CANE instead of the ID

mint fable
#

didn't work?

#

Also, you can use /papi parse me <placeholder> to test placeholders

quick tinsel
#

I'm a familiar player within the Factions community if that's where you've seen me. I also mange a few large Discord servers and do a lot of advertisements @brisk coral

brisk coral
#

Triad?

quick tinsel
#

Yeah

brisk coral
#

We spoke a long time ago then kek

quick tinsel
#

Doesn't work either

bronze bison
#

What it returns?

#

Using the command cj sent

mint fable
#

try break and mine for that ^

#

just to test both

quick tinsel
#

Was this what you wanted me to do?

mint fable
#

no

#

you parse the placeholder

bronze bison
#
/papi ecloud download Statistic 1.7.0
/papi reload
``` is for 1.12.2 or older
#

Latest version is for 1.13+

mint fable
#

so put /papi parse me %statistic_break_item_SUGAR_CANE_BLOCK%

#

He has the old one iirc @bronze bison

#

since he uses _ instead of :

bronze bison
#

Seems like it yea, just telling him why

quick tinsel
warm oriole
#

what version is your PAPI?

bronze bison
#

There should be an error in console

#

It returns 0 and send the error in the console for that version iirc

quick tinsel
bronze bison
#

Send the error here please

#

=paste

tender vaporBOT
#
HelpChat Paste

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

quick tinsel
fervent jackal
#

I made a placeholder that counts all the players on my server, even servers that are not connected to the bungeecord.
But the total number has a .0 at the end (like a: 84.0), how can I remove it?
Here the code:

var survival1 = Number('%pinger_players_<survivalip>%');
var survivalop = Number('%pinger_players_<survivalopip>%');
var skyblock = Number('%pinger_players_<skyblockip>%');
var creative = Number('%pinger_players_<creativeip>%');

function totals() {
  var total = survival1 + survivalop + skyblock + creative + theothermodes...;

  return parseInt(total);
}
totals();
quick tinsel
#

Thanks for the great support btw

#

I really appreciate it

bronze bison
#

@fervent jackal use math expansion

turbid tide
#

@fervent jackal return parseInt(total).toFixed();

warm oriole
#

or add a second param to parseInt.

bronze bison
#

Or what Blitz said

warm oriole
#

leaving parseInt alone with one param is not suggested like the documentary.

fervent jackal
#

thanks for the help

bronze bison
#

@quick tinsel The supplied Material does not have a corresponding statistic try other sugar cane materials names until u find the one u want

quick tinsel
#

Until I find the one I want?

#

Until one works?

brisk coral
#

You could use the item in hand placeholder and check what the material it returns is and use that then

bronze bison
#

until u find the one that works *

#

If its an item, then u can do what frosty said

quick tinsel
#

It's a piece of sugar cane, how do I use the in hand placeholder?

brisk coral
#

Hold the sugar cane in your hand, and parse the placeholder using the command

quick tinsel
#

What command again? /papi parse me

bronze bison
#

/papi parse me %player_item_in_hand%

quick tinsel
#

SUGAR_CANE

bronze bison
#

U need player expansion for that tho

quick tinsel
#

I have that πŸ™‚

bronze bison
#

Ok then use that in the placeholder

quick tinsel
#

%statistic_mine_block_SUGAR_CANE%
%statistic_break_item_SUGAR_CANE%

#

If it's none of these, what could it then be?

bronze bison
#

The _block should work

#

if it doesn't then i really have no idea

quick tinsel
#

%statistic_mine_block_SUGAR_CANE%
%statistic_break_item_SUGAR_CANE%

I tried both of these in my config. Both still just show 0 in the GUI

brisk coral
#

Try using CANE

mint fable
#

Aren't all statistics available in-game through minecraft?

#

or does spigot add additional ones?

quick tinsel
mint fable
#

check if there's something there for breaking sugarcane

quick tinsel
#

This doesn't display breaking sugarcane either

#

CANE instead of SUGAR_CANE doesn't work either

#

Would I just be better off having my developer make me some placeholders for these 5 placeholders which aren't working?

tidal copper
#

are you able to count upwards with the countdown placeholder in the server expansion?

#

like count up from a specific date

#

not to

vivid sparrow
#

Not atm

warm oriole
#

I'll be working on making a expansion soon unless Clip or whoever maintains it updates it as I believe the source isn't public.

#

For counting upward.

vivid sparrow
#

Add it to the server expansion

lilac swallow
#

Hello how are you? I have a problem with placeholderapi when I put / papi ecloud list all and / papi ecloud download and "No cloud expansions available at this time". They could help me and it's not because of Java, I guess because I have Java 8 PAPI HelpChat

lilac swallow
#

?

junior musk
#

LuckPerms had an API update, if you are using LuckPerms 4, you have to choices:

  • or download an older expansion
  • or update to LuckPerms v5
lilac swallow
#

Ok wait I see the version of my luckperms

#

I have version v4.4.1

#

I download luckperms v5?

junior musk
#

yeah

lilac swallow
#

ok

lilac swallow
#

thanks @junior musk it worked out you are the best!

median kindle
#

Is someone here available to answer me something?

limber ice
#

just ask and someone will help you

bright locust
#

guys

#

i got placeholders problem

#

when i use in featherboard 2 placeholder i get issue

#

also here is parse comand

mint fable
#

featherboard uses mvdwplaceholderapi placeholders

#

not papi

#

see if your placeholder is on there, if not, you can use the placeholderapi placeholder to parse papi placeholders

#

πŸ˜‰

bright locust
#

that is why i'm using placeholderapi

#

there is not in mvdwi

mint fable
#

You need to use mvdw's PAPI placeholder to use papi placeholders in mvdw

#

{placeholderapi_*}

bright locust
#

i got it

#

!

#

&2{placeholderapi_CoinsAPINB_coins}'

mint fable
#

yep

bright locust
#

it dos not works

#

i got also this

#

&e{placeholderapi_server_time_dd/MM/yyyy}'

#

one works

#

one no

#

here is picture

mint fable
#

well you didn't reload then

bright locust
#

i restart hole server 3 time

mint fable
#

it shouldn't be showing %CoinsAPINB_coins% at all, you don't have that in the config

#

you should have {placeholderapi_CoinsAPINB_coins}

#

are you sure you have it saved and restarting the server didn't overwrite/revert it somehow?

bright locust
#

yes

#

it's working

mint fable
#

πŸ‘

bright locust
#

when i delete time placeholders

#

only works

#

when i delete this {placeholderapi_server_time_dd/MM/yyyy}

mint fable
#

doesn't mvdw have a server time?

bright locust
#

no

mint fable
#

πŸ€·β€β™‚οΈ

#

sadly I got no idea

bright locust
#

😦

median kindle
#

Hello, someone available?

tender vaporBOT
#
FAQ Answer:
stuck fiber
#

Hey guys!

I'm having an issue regarding my scoreboard and I'm not sure if its the placeholders or something.

I am trying to display how many kills & deaths each player has.

The plugin I am using is called Scoreboard-R (Scoreboad Revision).

When I use the placeholders %kills% & %deaths%, it doesn't work.

Anyone know how to help?

Thanks

warm oriole
#

Link to the scoreboard?

#

Those aren't PAPI placeholders.

turbid phoenix
#

Hey I'm having problems with the redisbungee placeholder

#
[09:50:21 ERROR]: [PlaceholderAPI] Channel must contain : separator (attempted to use RedisBungee)```
warm oriole
#

It's a issue with RedisBungeeExpansion.

#

Looks like they decided to change the methods so likely needs to be updated with the expansion.

#

Due to the fact RedisBungeeExpansion is likely limited to a older method with "RedisBungee".

#

@turbid phoenix for the time being you'll have to likely downgrade RedisBungee to a older version of it.

#

As that expansion can't run with whatever version you are running of RedisBungee.

#

I also don't know of a ETA when that can be fixed.

turbid phoenix
#

Ok thanks. It's not urgent so no worries.

pliant sage
#

Hello !!
Do you have a solution to make it work directly in the console.
Sorry for bad english i'm french.

@Override
    public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
        if(!(sender instanceof Player)) {
            String msg = "Β§cTEST 1 ==> %totemfactions_version%";
            msg = PlaceholderAPI.setPlaceholders((OfflinePlayer) sender, msg);
            Bukkit.broadcastMessage(msg);
        }
        return false;
    }
warm oriole
#

what are you doing man

#

nah wrong wrong.

#

Just do this:

#
String msg = "Β§cTEST 1 ==> %totemfactions_version%";
Bukkit.broadcastMessage(PlaceholderAPI.setPlaceholders((OfflinePlayer) sender, msg));
#

If there's a expansion for that plugin it should work fine.

brisk coral
#

Jesus

warm oriole
#

You may need to convert it to a player.

#

I don't work with sending Placeholders to console like that.

tender vaporBOT
warm oriole
#

Yeah you can't do that.

#

PAPI doesn't support what you are wanting to do that way.

#

As you can't cast a coluredconsolesender to a offline player.

#

That's your issue

pliant sage
#

How I could make it work in a console ?

String msg = "Β§cTEST 1 ==> %totemfactions_version%";
Bukkit.broadcastMessage(PlaceholderAPI.setPlaceholders((OfflinePlayer) sender, msg));
warm oriole
#

Elzorro99

#

The best way to do this.

#

Is to loop through all the players.

#

and individually send the message

#

and set the placeholders per player

median kindle
#

Frosty

#

I wasn’t asking to ask, I was asking if someone is available to answer me something about PAPI, sometimes, if you ask something and no one is here, nobody will answer it then because other people will be asking anything else

brisk coral
#

Noone can help you if you don't ask the question

median kindle
#

My question is

#

Is there a placeholder to make the placeholder think the player is on another world

#

And answer to the placeholder as if the player were there you know

brisk coral
#

What..

warm oriole
#

Why would you want a placeholder to make another placeholder think a player is on a world?

#

what is a need of that

#

like at all

median kindle
#

Because

#

Plotsquared placeholders doesn’t work outside the plots world

#

And I want to make it work outside

#

For conditions I have

#

This is what a Plotsquared developer said:

@median kindle PlotSquared's placeholders return plot values only, so it wouldn't make much sense to attempt to use them in non plot worlds

fervent jackal
#

If I want to know if a server is online using the %javascript_status<serverIP>% placeholder, should I do this?:

var server = org.bukkit.event.server
var serverip = args[0];

function status (){
    var players = serverip.getNumPlayers();

    if (player >= 0) {return "Yes";}
    else {return "No";}
}
status();
junior musk
#

you can simply use the Pinger expansion

fervent jackal
#

I want is to receive a text if the server is online like as "yes, the server is online"

junior musk
#

you can change the ouput in Papi's config

fervent jackal
#

Can I put other placeholders inside the output?

junior musk
#

idk

#

try

fervent jackal
#

well, i will

#

By the way, to make a placeholder with arguments (%javascript_name_argument%), I must make variables like this?:

var arg = args[0];
junior musk
#

I think

median kindle
#

@warm oriole

bronze bison
#

Yes @fervent jackal, %javascript_name_arg1,arg2,arg2% and it will be

args[0] = arg1
args[1] = arg2
args[2] = arg3
fervent jackal
#

Are the arguments strictly separated by commas?

bronze bison
#

Yes. You can't change that unless you fork the expansion and change that in code.

#

But shouldn't be an issue?

#

You can use your own by using the first argument and split it to whatever character you want.

fervent jackal
#

If I want to get a placeholder through arguments, should I do this? Or should I skip the part of "onPlaceholderRequest"?:

var PlaceholderAPI = me.glaremasters.guilds.placeholders;

var status = "%pinger_online_" + args[0] + "%";
var placeholderstatus = onPlaceholderRequest(status);

function online() {
    if (placeholderstatus === "online") {
        doanything.. 
    }
}
online();
bronze bison
#

You don't do that, and are you using a modified version of the expansion? because the first line won't work.

fervent jackal
#

I am not using a modified version, I thought that for that to work, you have to import packages

bronze bison
#

You can't use other plugin's APIs in JS code.

fervent jackal
#

Thank you very much for the help

bronze bison
#

No problem!

trim mist
#

πŸ‘€

bronze bison
#

πŸ‘€ πŸ‘€

trim mist
#

I saw my name in that.

bronze bison
#

Oh.

gritty shadow
#

Does JavaScript still need ;? Last time I used it with NodeJS never needed them

alpine anvil
#

For this javascript engine yes apparently

vivid sparrow
#

Maybe on PAPI3it will be rewritten to a more advanced javascript engine
*cough* @cosmic shale @carmine veldt *cough*

alpine anvil
#

cough

gritty shadow
trim mist
#

Lemme check

vivid sparrow
#

Please.

trim mist
#

What's the issue with the current one? Not sure I know.

vivid sparrow
#

The current engine is old and I think piggy said is no longer updated

#

Like it doesn't support new stuff, not even const I think.

trim mist
#

Alrighty I opened an issue for it.

vivid sparrow
#

He said to use some graalvm thing but I would let you have fun with it xd

#

The js expansion is very good, imagine if you can update.

trim mist
#

I've personally never used it but yeah, we'll definitely look into it.

vivid sparrow
#

ploz

trim mist
#

Oh so it's built into the JavaScript Expansion and not PAPI?

vivid sparrow
#

what

trim mist
#

It looks like it's built into the JS Expansion

#

Nothing to do with the regular PAPI

vivid sparrow
#

I know, I mentioned PAPI3 because piggy said that we will update the expansions that we have access to.

#

I don't mind if you update it sooner xd

trim mist
#

Well it's a good thing I tagged the issue as a reminder.

#

Cause now it just looks stupid

vivid sparrow
#

hmm

#

Probably because you have to specify the engine for each script and default is "javascript"

#

Which idk what it means ("javascript")

trim mist
#

Ahh

#

I don't even see anything that says nashhorn in this expansion.

#

I wonder if it's just the javax one.

vivid sparrow
#

That's what I have been told

#

What I know is that I would love to be able to use more advanced javascript xd

#
  • a few additions like creating and parsing placeholders using arguments ("%player_has_permission_" + args[0] + "%")
trim mist
#

Ahh

vivid sparrow
#

wonder if we can have expansions for other languages too, like python

trim mist
#

Bleh

#

I'd like to just have a working plugin first.

vivid sparrow
#

Was just a random thought smh

#

idc about other languages xd

trim mist
#

Hmm, wonder why Andre added v3 milestone to bungee support. Currently we're just doing bukkit, nukkit, and sponge.

warm oriole
#

I could look into making a javascript expansion in boredom potentially.

#

Anyways Glare couldn't find the thing you were wanting I thought I had one in my storage.

trim mist
#

I know we talked about Bungee but not sure if we were planning to have it right away at v3

warm oriole
#

By the way.

trim mist
#

Rip

warm oriole
#

Who's the only one who can update Clip expansions?

#

Clip?

trim mist
#

Wdym

#

On the eCloud?

warm oriole
#

As RedisBungeeExpansion needs to be updated to work with their new versions by Clip.

#

yeah

trim mist
#

Ahh, yeah I can update it.

warm oriole
#

forget who mentioned it earlier with a channel issue.

#

and I read in the github of redisbungee

#

mentioning that the expansion has to be updated to support their new methods.

trim mist
#

Yeah I think I remember someone talking about it. The best option would be to add the repo to the org and then we can just go from there

#

But most likely would have to remake the expansion from scratch since I don't have the source

warm oriole
#

This issue:

#
[09:50:21 ERROR]: [PlaceholderAPI] Failed to init placeholder expansion from class: com.extendedclip.expansion.redisbungee.RedisBungeeExpansion
[09:50:21 ERROR]: [PlaceholderAPI] Channel must contain : separator (attempted to use RedisBungee)
#

as it won't even load.

trim mist
#

Well, if someone wants to remake the expansion, we can update it, pending it works.

warm oriole
#

do you have the source for it like publicly?

trim mist
#

But most likely would have to remake the expansion from scratch since I don't have the source

warm oriole
#

ah.

#

didn't see that.

#

I tagged clip in it but doubt he'll read it and he doesn't really have a lot of time atm anyways.

#

to maybe make the source public so it could just be modified over redoing the whole expansion

#

Is the Server expansion public @trim mist ?

#

or in a private repo

trim mist
#

Mhmm

warm oriole
#

you got a link if it's public.

trim mist
warm oriole
#

like for the source.

#

I'll be doing a few PR's likely tonight to a bunch of the expansions likely.

trim mist
#

Nice!

warm oriole
#

Is the server expansion the one with the countdown?

#

as I think someone asked for a counter that counts upward.

#

may look into that

trim mist
#

RedisBungee source

#

Uh I have no idea which expansion does that. There's like almost 200

vivid sparrow
#

server

warm oriole
#

I'll look into tonight into potentially fixing the RedisBungee expansion.

#

Just need to see what method is outdated and not working in the code.

#

@vivid sparrow any expansions that need placeholders added that are public that you know of?

vivid sparrow
#

@alpine anvil

alpine anvil
#

yes?

vivid sparrow
#

Only if I was a member of the papi repo

#

see above

alpine anvil
#

well i sorted mine out with javascript placeholders but eh for others, can you add a listplayers placeholder to remove vanished

warm oriole
#

list players placeholder for?

#

what expansion

alpine anvil
#

listplayers

vivid sparrow
#

is not os though

#

@trim mist ?

warm oriole
#

I'm confused by listplayers..

vivid sparrow
#

that's it name

warm oriole
#

I know you want that placeholder

alpine anvil
warm oriole
#

ah no repo for that so likely need to decompile it.

alpine anvil
#

oh u got to love decompiling

warm oriole
#

I've got a custom decompiler.

alpine anvil
#

oh really?

warm oriole
#

yeah

alpine anvil
#

can get somewhat exact?

warm oriole
#

pretty much in most cases.

#

Still need to work on a de obfuscation method.

alpine anvil
#

jd-gui is bad

warm oriole
#

I custom made mine but won't continue here #off-topic .

trim mist
#

Yeah, not all of the expansions are in the org.

#

It would've been pretty annoying to move over 120+

vivid sparrow
#

hf

turbid tide
#

is there a way to change the outputs for %discordsrv_linked_online%? i searched in placeholderapi folder and also in discordsrv server but can't seem to find anything.

vivid sparrow
#

change to what?

turbid tide
#

well i want dnd to be do not disturb

#

and online to be capitalised

#

Online/Offline not online/offline

vivid sparrow
#

is that placeholder for in-game?

alpine anvil
#

javascript placeholders

turbid tide
#

oh yeah i can make them πŸ™‚ forgot about that :))

bronze bison
#

I mean I'd like to look into the js expansion when i got time, but not very excited about adding things to expansions as if i didn't merge the pr, it wont get merged :p

final shadow
#

It will

bronze bison
#

πŸ˜„

#

Got at least 3 open ones currently in the org

quick tinsel
#

@bronze bison @mint fable Do you remember trying to help me out with the PAPI for breaking sugarcane? I'm yet to have figured it out if you guys have time to help πŸ™ ❀️

tender vaporBOT
#

@quick tinsel

Hey,

Please be patient and don't ping staff members!

quick tinsel
#

Sorry mister.
Would I just be better off having my developer make me some placeholders for these 5 placeholders which aren't working?

vivid sparrow
#

If minecraft doesnt track these items, I guess your guy will have to track them manually.

quick tinsel
#

Alrighty thanks.

warm oriole
#

Minecraft doesn't track those items

#

developer has to do manually.

trim mist
#

Yikes, I wonder why they don't.

warm oriole
#

It's not a huge thing to keep data of

#

Well they do have it somewhere I believe I don't think it's grabbable though.

#

in the blocks section

bronze bison
#

Yea, looks like they don't.

placid smelt
#

Or is there any way of me getting it somehow?

bronze bison
#

Unfortunately no, and ask clip when you see him online to open source it πŸ˜„

placid smelt
#

Ugh... okie ty anyways.

warm oriole
#

No it isn’t

#

Clip won’t open source it as far as I am aware @bronze bison

#

Due to people trying to copy it etc I would assume

bronze bison
#

I thought he is talking about the expansion (its #placeholder-api ).
then yea dont think he will

warm oriole
#

@placid smelt were you talking about the plugin or expansion?

#

The plugin will never be open sourced as far as I am aware

placid smelt
#

@warm oriole Anything that works I need d

warm oriole
#

Just look on spigot or make your own

#

Or just use regular chat reaction

#

Not sure why you need the source but you won’t be able to get chat reactions

fervent jackal
#

But i have a problem

#

Here the code:

var badge1 = "%player_has_permission_badges.badge1%";
var badge2 = "%player_has_permission_badges.badge2%";
var badge3 = "%player_has_permission_badges.badge3%";
var badge4 = "%player_has_permission_badges.badge4%";
var badge5 = "%player_has_permission_badges.badge5%";

var page = args[0];

function badges() {
    if (page === "page1") {
        if (badge1 === "yes" && badge2 === "yes" && badge3 === "yes") {return "&8[&1&lBadge 1&8] [&2&lBadge 2&8] [&3&lBadge 3&8]";}
        else if (badge1 === "yes" && badge2 === "yes") {return "&8[&1&lBadge 1&8] [&2&lBadge 2&8]";}
        else if (badge1 === "yes") {return "&8[&1&lBadge 1&8]";}
        else {return " ";}
    }
    if (page === "page2") {
        if (badge4 === "yes" && badge5 === "yes") {return "&8[&4&lBadge 4&8] [&5&lBadge 5&8]";}
        else if (badge4 === "yes") {return "&8[&4&lBadge 4&8]";}
        else {return " ";}
    }
    else {return " ";}
}
badges();
bronze bison
#

How about you make a variable that will have the text it will eventually display, and a counter maybe
and you check, if he has the badge add the badge to the variable and count up, if it reached the limit stop and return

fervent jackal
#

If I do that the badges will be adjusted by themselves? thonking
I will try it, thanks for the help

bronze bison
#

for the second page, you check if they have more than the limit, and if they do add the rest if the dont just return nothing.

frigid pond
#

Would anyone be able to help with a problem I’m having with the Player expansion...now matter what I try it will not load in and work

bronze bison
#

Can you explain not load in and work?

#

Did you download it?

frigid pond
#

I try to download it from the in game command it tells me to papi reload but it still will not show up even though it’s in the actual expansions folder

bronze bison
#

when you download it and then reload, what it says in console?

frigid pond
#

That however gives me an error so I tried restarting my server

#

When I papi reload

bronze bison
#

Can you send what is says?

#

=paste

tender vaporBOT
#
HelpChat Paste

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

frigid pond
#

So how do I go about doing that

bronze bison
#

Copy the text from the console, open this side SeeAbove , paste it, save it and send the link πŸ˜„

frigid pond
#

Ok

bronze bison
#

Seems like you don't have the latest version of LuckPerms

frigid pond
#

I do

bronze bison
#

You sure? Latest version is v5

#

its either you dont have the latest of LuckPerms or LuckPerms expansion

frigid pond
#

5.0.9

bronze bison
#

Ok then, redownload LuckPerms expansion to get latest version

frigid pond
#

Ok

#

Oh wow that fixed it πŸ˜‚

bronze bison
#

πŸ‘

frigid pond
#

Sorry

bronze bison
#

All good!

bronze bison
#

Just committed a new change to my PAPI fork to prevent that from happening.

tranquil sapphire
trim mist
tranquil sapphire
#

Done @trim mist

cyan meadow
#

in my scoreboard it shows Total Players: %bungee_total%. I downloaded Bungee in papi and it still just shows the placeholder

untold comet
#

you need to use the mvdw placeholder @cyan meadow - as featherboard doesnt support plain papi. {placeholderapi_bungee_total}

cyan meadow
#

Thank you

muted bough
#

Hi, I am trying to use plaholderapi with Towny but the placeholders arent working on my scoreboard, anyone have any idea?

dull bough
#

Anyone know why Vault placeholder is not registering?

warm topaz
#

/papi ecloud download Vault /papi reload?

dull bough
#

the expansion doesnt hook

brisk coral
#

Do you have vault?

dull bough
#

omg

#

i forgot to get it

#

thanks man

bronze bison
#

@muted bough you downloaded the expansion if it has one? Does your scoreboard plugin support PAPI?
Here's a list of all placeholders and their download commands if it has one:
https://helpch.at/placeholders

analog token
#

/papi ecloud isnt a valid command so i can't download extensions - using the Sponge version of the plugin - how do I install the LuckPerms extension???

warm oriole
#

@analog token contact their support below and see if they have a expansion for that

#

You may need to check the ecloud and try that one and see if it works for sponge

bronze bison
#

Sponge PlaceholderAPI is nothing like clip's PlaceholderAPI afaik

#

Don't think it supports clip's expansions

upbeat yew
#

how tf i get placeholderapi to work

brisk coral
#

I mean what's not working..

upbeat yew
#

alright so i downloaded it

#

but im not sure what i have to do/put down to get the %'s to function

brisk coral
#

You download the expansion, if the plugin provides one, and then reload the plugin

trim mist
#

Lol, he claims "they worked for me, so if they don't, come to PlaceholderAPI support for help"

upbeat yew
#

he doesnt provide any explanation as to how to actually make them work or even what expansion to use

brisk coral
#

Well if there is not expansion available, then the placeholders are internal, which means if they don't work properly, you will need to sort it out with the author

upbeat yew
#

alright ty

austere hawk
#

Anyone used PAPI with deluxechat?

trim mist
austere hawk
#

yo

#

I have some problems

#

Placeholders on featherboard are not loading?

#

ive never had that problem before

brisk coral
#

Not loading as in? displaying the placeholder, or the value not updating

austere hawk
#

yes

brisk coral
#

And if so, any console errors?

austere hawk
#

ill check in a bit

#

%server_countdown_dd.MM.yyyy_01.01.2020%

#

i wanted to add the server date

#

on the scoreboard

#

yet not working

brisk coral
#

use {placeholderapi_server_countdown_dd.MM.yyyy_01.01.2020}

austere hawk
#

nah

#

Still not working

sacred hull
#

Hello i have a problem with my scoreboard

#

all my scoreboard placeholders are not working

#

added MVDW and Placeholderapi and hooked in mvdw api and Vault api but nothing works

bronze bison
#

Does your scoreboard plugin support PAPI?

sacred hull
#

its FeatherBoard

bronze bison
sacred hull
#

its not working

bronze bison
#

For PAPI placeholders, {placeholderapi_<PAPI Placeholder without the %% and %%>}

#

and make sure you have the expansion of that placeholder.

sacred hull
#

look

#

@bronze bison

bronze bison
#

Well, thats a FB issue. Contact the author of it.

#

Try downloading MVdWPlaceholderAPI plugin. Might fix it

sacred hull
#

@bronze bison

#

is there a placeholder from the placeholderapi Player Deaths and Player Kills?

bronze bison
sacred hull
#

i added that but its not working

sacred hull
#

was that

bronze bison
#

/papi parse me %THE placeholder here% does it work?

sacred hull
#

no

#

not working

bronze bison
#

Did you download the expansion?

sacred hull
#

yes

#

./papi ecloud download Statistic

bronze bison
#

did you reload after?

#

and you're in 1.13+ right?

sacred hull
#

1.8.9

#

i have an factions server

#

1.8 version spigot

bronze bison
#

well then,

/papi ecloud download Statistic 1.7.0
/papi reload
sacred hull
#

ok

bronze bison
#

Mentioned on the wiki btw.

sacred hull
#

how can i remove this 1?

bronze bison
#

You don't. Just run these commands

sacred hull
#

oki

#

works thank you for helping me out

bronze bison
#

Great!

austere hawk
#

WARN Unexpected exception while parsing console command "papi reload "

warm topaz
#

=paste

tender vaporBOT
#
HelpChat Paste

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

warm topaz
#

paste the whole error @austere hawk

austere hawk
#

sec

#

limit of words reached

austere hawk
#

latest version of papi really has issues with updating placeholders... ive said this already 2 weeks ago. I have looked at this, and everything related with numbers in placeholders are not updating correctly. Sometimes it does, sometimes it just stays at 0. Happens by plugins, but also by redisbungee, playercount, and bungee expansions.
And yes update interval is fine.

austere hawk
#

Anyone has a javascript for me that counts an age of a server

bronze bison
#

also about that issue, i still think its something on ur end.

mint fable
#

Do you have the update: true tag on your items?

#

you mentioned the interval, but not that part ^

#

Just want to make sure

#

@austere hawk

austere hawk
#

thats a cooldown

bronze bison
#

Its not @austere hawk

tall tulip
#

Hey, my venturechat isn't showing the DeluxeTags in chat, just the placeholder for it. I'm pretty sure it's a problem with the papi expansion because it doesn't show up in my list of active ones, and when I try to download it gives me this error: https://pastebin.com/Fm0p3GAt

bronze bison
#

Seems like a VentureChat issue? /papi list DeluxeTags there?

tall tulip
#

the deluxetags hook doesn't show up, venturechat does

#

when I try to add the deluxetags hook that error on pastebin pops up

bronze bison
#

Well it downloaded it fine, just can't tell what happened after.

#

Oh, update LuckPerms.

#

Seems that these errors are from MineverseChat

#

And DeluxeTags expansion isn't getting loaded because of LuckPerms expansion.

mint fable
#

@austere hawk What about what I said?

#

Do you have the update: true tag?

austere hawk
#

what do you mean?

tall tulip
#

I can't believe that would work that way πŸ˜†
All set now, thank you!!

austere hawk
#

Yes i do have that.

#

I am not talking about deluxemenus anyway.

bronze bison
#

Great! No problem πŸ˜„

austere hawk
#

Example holograms, but also menus, and featherboard also not.

mint fable
#

ah

bronze bison
#

Well it could be both not updating the placeholders fast enough.

mint fable
#

there is a config option in papi for updating things I think, maybe that could be it?

austere hawk
#

@bronze bison How can i make from example i released a server yesterday, how can i make it so that it counts the ages of the server.

#

so like the server is now 12 hours old

#

@bronze bison 10 seconds should be fast enough.

bronze bison
#

Don't look at Cooldown one, i linked to the one above it

austere hawk
#

it also happens by economy plugins that should update instant.

bronze bison
#

and u just set the date, and it counts from there

austere hawk
#

oh nice

mint fable
bronze bison
#

about the other thing he wants cj πŸ˜„

mint fable
#

I was responding to the economy statement πŸ˜‰

bronze bison
#

and i have to look into that papi update issue u have, just not now

#

oh

mint fable
#

there is a bungee check interval in the config though if you want to try that @austere hawk for those placeholders

#

the economy one... not too sure

austere hawk
#

Already did...

mint fable
#

can you send versions of what you're using?

austere hawk
#

does not help