#placeholder-api

150650 messages · Page 6 of 151

shut lion
#

%voteparty_counter%

#

this is the correct one, right?

austere hawk
#

I don't see a placeholder like that

shut lion
#

found it

#

thank you

#

they updated the placeholder

austere hawk
#

Hi, I have a problem with the Vault extension
https://i.imgur.com/eLMo3f1.png
I install it per command then reload and it still is'nt installed
The download succeeds and the extension is downloaded to the correct folder
but it does not load
any ideas?
Version: https://i.imgur.com/zzdfxmh.png
Any ideas? (restart does not help)

brisk coral
#

Do you have vault installed?

austere hawk
#

solved, was a problem with vault not loading properly. sorry for the inconvinience!

austere hawk
#

is this how you use progress ? %progress_bar_{statistic_mine_block}_c:&a■_p:&e■_r:&7■_l:10_m:100_fullbar:&aCompleted!%

warm topaz
#

?tryandsee

tender vaporBOT
austere hawk
#

its not working

#

i m a stupid

#

I forgot static version

warm topaz
#

👍

formal tinsel
#

using voxelsniper internal database error when attempting to /u [number here]

#

anyone know a fix?

brisk coral
formal tinsel
#

oops thought i was in it

faint glacier
#

I was wondering how to use the placeholder %player_name% inside another placeholder. Is this possible at all?

junior musk
#

depends if that other placeholder supports it

faint glacier
#

I was looking at using the DeluxeTags placeholder: %deluxetags_tag_TAGID and I wanted to use the player's name as the TAGID. So would it be possible to do %deluxetags_tag_%player_name%%

junior musk
#

I don't think that placeholder supports placeholder in it

#

and if it did, it would be {player_name}

faint glacier
#

okay, let me try that a second, thanks @junior musk

#

Nah, it doesn't work

junior musk
#

then it doesn't support placeholders in it

faint glacier
#

I didn't think it would

#

Shame

dawn cobalt
#

Its possible to get in other server, the placeholder of other server? (@ me if u response)

junior musk
#

you can with plugins like GlobalHolders (or I think it was renamed to something else)

#

bruh

#

that site is even banned here x)

#

as I said, it's premium, and on a site that doesn't seem very good because of the problems it had recently

turbid tide
#

1 sec I remember seeing another plugin on spigot don't remember the name tho

junior musk
#

I remember one but it's outdated

#

couldn't find it

turbid tide
#

but just so you know before you use this if you get any errors with this or problems don't come here for help as PAPI doesn't support bungee itself yet

dawn cobalt
#

@turbid tide you know how that plugin work? i don't found tutorials about it

turbid tide
#

nope

#

never used

#

it

#

To use it, just put the latest JAR from here in your BungeeCord plugins folder and the same one again, in your Bukkit, Spigot or Paper plugins folder. The main class you want to use is BungeePlaceholderAPI. It currently only has four methods, but if you want a feature from PlaceholderAPI ported to BungeeCord, just write an issue here.```
#

seems like you need to write your own plugin to use it

#

ugh didn't know that

austere hawk
#

i have the api for online playyers in there and i was working but i switched to pex and now it doesnt

rapid tinsel
#

is papi 1.16 out?

trim mist
#

Check pins.

green osprey
#

Hello guys! Can I count at once 2 or more worlds/bungee server using %server online <world1>,<world2>%/%bungee count <server1>,<server2>%

warm topaz
#

using math expansion yes

#

e.g %math_{server_online_world1}+{server_online_world2}% for example

green osprey
#

thank you so much!

warm topaz
#

no problem

jade flume
#

Any one knows any placeholder for top 10 killers

#

O:?

turbid tide
#

Statistics + LeaderHeads

#

LH is a premium plugin btw

#

it can make leaderboards (top) for a lot of placeholders

jade flume
#

I think i have LH but idk about Statistics

turbid tide
#

Statistic is a papi expansion

jade flume
#

Does it get the display name of the player o:?

#

Or just the name

junior musk
#

player name and value

turbid tide
#

yeah

#

as Tanguygab said

jade flume
#

Am i allowed to decompile and edit it to make it display name?

#

Or i can't decompile extensions

#

Or what?

#

Expansion

#

OMG i can not type

junior musk
#

you can use the PlaceholderAPI expansion ParseOther to get the display name of the player name from a placeholder

#

and no you can't decompile it

turbid tide
#

well if it is open source you can just edit it xD

#

but don't think it is

junior musk
#

wait really? 👀

#

actually I've never searched so... x)

jade flume
#

oof

junior musk
#

but you can still use the parseother expansion instead of changing the source code ¯_(ツ)_/¯

jade flume
#

Idk how

#

OMG

short mason
#

hey guys

#

i wanna tell u something

#

i love placeholderapi

#

and i wanna to say thank you

#

for this great plugin

#

wrong channel jeah thanks

#

peace out

jade flume
#

I think if i use parseother expansion i can do /profile for offline players right?

#

Like there is a way to do that?

warm topaz
#

?tryandsee

tender vaporBOT
jade flume
#

Wt is that?

turbid tide
#

you can't do

#

that for offline players

#

I mean some things you can

#

but not all because most expansions don't support offline players

jade flume
#

;') lucky me

#

100%

turbid tide
#

you can do it for the online players tho

jade flume
#

Yee but online players will be in games

#

Not in lobbies

turbid tide
#

oh I see

jade flume
#

I think caching the last parse on sql will be good?

turbid tide
#

don't rly know. not good at thist things xD

jade flume
#

Oh lol

#

What is the placeholder of top killer 1

#

in Statistics

#

?

warm topaz
#

statistics doesnt have any leaderboard placeholders

#

instead, u can use LeaderHeads plugin

jade flume
#

Does %vault_prefix% support offline players?

#

.

#

Yup i lagged that's cool

#

Oof fixed the internet after 1099 years

jade flume
#

Hey?

junior musk
#

I think it does

steep thorn
#

@jade flume I think it depends on the underlying groups/permissions plugin

jade flume
#

Ultraperms?

junior musk
#

?tryandsee

tender vaporBOT
shut lion
#

I have this problem that boss plugin and chatcontrolpro are breaking my javascript placeholders

#

they're preventing them from loading for some reason

#

why would this be

turbid tide
#

chc has a javascript function

#

that's what breaks it

shut lion
#

boss plugin does it too

turbid tide
#

don't know if there is any fix for this

shut lion
#

just boss itself

turbid tide
#

oh I see

#

dk about that one

#

the other one I've seen before

shut lion
#

is there a way to disable the javascript in chc?

turbid tide
#

no idea. either check the config or contact their support

shut lion
#

oh i have

turbid tide
#

and?

shut lion
#

well i made a ticket yesterday on github

#

that was closed without response and said to post it on their customer service website

#

posted on their website 8hrs ago

#

nothing

turbid tide
#

welp the best you can do is wait for their response. I've not heard of a solution so far

jade flume
#

Tomi is typing...

#

Gotcha 😁

odd jay
#

Hello! I currently made this placeholder:

"%luckperms_expiry_time_access.spawn%";

function returnEmpty()
{
  return placeholder == "" ? "&cYou don't have" : placeholder;
  }
returnEmpty();```
Could someone pleeease help my make so if the placeholder `%luckperms_check_permission_access.spawn%` returns "Yes" then instead of "&cYou don't have" it will return "&aIt is permanent".
I would be way veeery happy if someone could help me
turbid tide
#
var placeholder =
"%luckperms_expiry_time_access.spawn%";

function returnEmpty()
{
  switch (placeholder) {
    case "":
       return "&cYou don't have";
    case "yes":
       return "&calt is permanent";
    default:
       return placeholder;
  }
}
returnEmpty();``` try this
odd jay
#

omg!!!! how fast, I will update in a sec, thanks in advance!!

turbid tide
#

no problem. xD Lets hope it works

#

xD

odd jay
#

I tested it, but the placeholder %luckperms_expiry_time_access.spawn% will never return "Yes", it is just a countdown when you have access.spawn for a time. The placeholder that returns "Yes" is %luckperms_check_permission_access.spawn%

turbid tide
#

oh I see

#

my bad

#

didn't see the permission under

#
var placeholder2 = "%luckperms_expiry_time_access.spawn%";
var placeholder = "%luckperms_check_permission_access.spawn%"

function returnEmpty()
{
  if (placeholder == "yes")
    return "&aIt is permanent";
  if (placeholder2 != "")
    return "&cYou don't have"";
  return placeholder2;
}
returnEmpty();``` not pretty but should do the job
odd jay
#

I'm getting "Script error" now :((

jade flume
#

In the second return there is two ""

#

Thing

odd jay
#

Yes! I spotted that, tried removing it but that wasn't the problem :((

#

Oh and also, why (placeholder2 != "") when it is not equal to "" it should return "&cYou don't have"? It should be the opposite I guess, because when %luckperms_expiry_time_access.spawn% returns empty (is equal to "") then it should return "&cYou don't have"

junior musk
#

There's a ; missing line 2

odd jay
#

Hello Gab!

#

Gonna fix that in a sec

junior musk
#

hey

turbid tide
#

oh that's it

#

missing ;

jade flume
#

oof didn't expect that

#

Lol

turbid tide
#

oh my bad you are right

#

should have also been ==

#

not !=

odd jay
#

Ok I will also fix that

junior musk
#

and you removed the default case

turbid tide
#

its hard when you type in discord xD

junior musk
#

x)

turbid tide
#

default case?

jade flume
#

its hard when you type in discord xD
Even more if ur on the phone

#

:(

turbid tide
#

yeah Ahmed

junior musk
#

idk, you added that in the first script

#

but removed it in the second

#

which resulted in two returns things in the second case x)

turbid tide
#

oh well first script had a switch

junior musk
#

ah k

turbid tide
#

and was wrong

#

because I needed 2 check 2 different placeholders

junior musk
#

but there are still 2 returns x)

odd jay
#

Works great!!!!

turbid tide
#

well yeah

jade flume
#

Cool @odd jay

odd jay
#

Thanks a lot guys!

jade flume
#

@turbid tide i have never wrote a papi script but i made a depending plugins on papi I don't even know what is diffrence

#

Lol

turbid tide
#

well in script you can't do everything you can do in a plugin

#

it doesn't allow you to change things

#

just to check things and return something based on what you just checked

jade flume
#

Just placeholders?

turbid tide
#

you can check anything. you can use server and player methods

#

as well

#

just can't change or affect anything ingame

jade flume
#

What about other plugins api for example

#

?

turbid tide
#

also you can save stuff using data

jade flume
#

Can a script have config

#

Or something customizable

#

?

turbid tide
#

ugh not rly

jade flume
#

So a plugin is better

vivid sparrow
#

Config expansion ig

#

Or just variables

turbid tide
#

well I mean of course a plugin is better

#

it will always be

jade flume
#

🙂

pastel oracle
#

Hello, can someone help me create a placeholder with javascript, pls?

odd jay
#

In case someone wonders, I've made a correction on the previous javascript where you helped me.

var placeholder = "%luckperms_check_permission_access.spawn%";

function returnEmpty()
{
  if (placeholder == "Yes" && placeholder2 == "")
    return "&aIt is permanent";
  if (placeholder2 == "")
    return "&cYou don't have";
  return placeholder2;
}
returnEmpty();```
I edited the line 6, added so that placeholder2 should be empty, because when you temporary grant the permission access.spawn, then the `var placeholder` would also return "Yes", but now it will also require to have the permission on "Yes" but with no expiry time to set in "&aIt is permanent" :))
turbid tide
#

that does what exactly?

odd jay
#

Are you asking to me? xD

low lake
#

Yea

#

He is asking u

#

LOL

odd jay
#

O

turbid tide
#

no I'm not

odd jay
#

o

#

lol

#

plot twist

turbid tide
#

HiddenInNight asked for a javascript placeholder

#

but didn't give any other information

odd jay
#

Bliitz, sorry if I bother, now It would last something to change the time format of %luckperms_expiry_time_access.spawn%. Could it be possible on the same javascript?

var placeholder = "%luckperms_check_permission_access.spawn%";

function returnEmpty()
{
  if (placeholder == "Yes" && placeholder2 == "")
    return "&aIt is permanent";
  if (placeholder2 == "")
    return "&cYou don't have";
  return placeholder2;
}
returnEmpty();```
So a parse example of the time format on `%luckperms_expiry_time_access.spawn% ` is "10d 18h 10m 29s" (days hours minutes seconds). Is it possible to change that format to "&f10&7Days &f18&7Hours &f10Minutes &f29&7Seconds"? 
Are you up to help me with this one pls? :((
turbid tide
#

ugh

#

very possible with a bit of work

#

but I rly don't have time rn

odd jay
#

This one might be tough :(( tho if you aren't able right now is all ok

turbid tide
#

but here is an advice

odd jay
#

It's fine, thanks anyways 😄

#

sure

turbid tide
#

use .split to split the string in a list. split them on spaces

#

then use .replace to replace d to days etc.

pastel oracle
#

well I saw the example of tomi and it helped me to create my placeholder. 😆

turbid tide
#

then return it using array[0] + array[1]+ etc.

odd jay
#

Denada :v

turbid tide
#

oh ok HiN

odd jay
#

Thanks blitz! I will take those advices in mind

turbid tide
#

Tomi maybe a bit later if I finish my stuff

odd jay
#

Sure, I will come back if I can't with it 😄 good luck with that blitz

turbid tide
#

ty ty

#

ok @odd jay I kind of finished my thing. Figured it out xD. Took me 30 minutes but got there in the end

odd jay
#

Really? lmao xD

turbid tide
#

so instead of the placeholder2 at the end

#

you want to change the format

#

right?

odd jay
#

Yeah, when placeholder2 isn't on "", then it is because the player has temporary the permission "access.spawn" and the countdown is running

turbid tide
#

k think I got it. time to put it in practice

odd jay
#

I can help you too, if you share the changes :D, thanks in advance sir

turbid tide
#

nah no worries doesn't look so hard to do

#

well I'm probably not doing it in the easiest and best way but still

odd jay
#

cool! can't wait to see it working xD already happy

turbid tide
#

ok I think I thought of a even better way

odd jay
#

better:D!

turbid tide
#
"&f10&7Days &f18&7Hours &f10Minutes &f29&7Seconds"``` this is for me to see
#

ugh for minutes do I do &7 as welol ?

#

well*

odd jay
#

Yup, remember that if the player for example has the permission for only 7 hours, and 29 seconds, it would be "&f7&7Hours &f29&7Seconds"

turbid tide
#

yeah I know

odd jay
#

yup, same with minutes

turbid tide
#

well the problem will be

#

when you have 1 hour

#

1 day

#

it will say 1 hours

#

...

#
var placeholder2 = "%luckperms_expiry_time_access.spawn%";
var placeholder = "%luckperms_check_permission_access.spawn%";

function returnEmpty()
{
  if (placeholder == "Yes" && placeholder2 == "")
    return "&aIt is permanent";
  if (placeholder2 == "")
    return "&cYou don't have";
  var changed= placeholder2.replace("d", "&7Days&f").replace("h", "&7Hours&f").replace("m", "&7Minutes&f").replace("s", "&7Seconds")

}
returnEmpty();```
#

didn't test it

#

but you can test it for me

#

also add ;

#

at the end

#

I keep forgetting them

odd jay
#

Yeah, not a big deal with that, but isn't there a way to check if the number next to (for example) Days it is 1, and if it is "1Days" then it will turn "1Day"?

turbid tide
#

well I could go for the other way

#

using split

#

it will be a lot longer

#

and a lot messier

#

if you want

odd jay
#

O let me see the first try, I want to see it, looks good

#

and a lot messier
Nvm, I wouldn't touch that javascript anymore because that is the only thing I need for it and then it would be definetely finished

turbid tide
#

just lmk if this one works

odd jay
#

Sure, gonna test it and update in a sec

#

Hmm

#

the "its permanent" thing works great, "You don't have" thing also works great, but when I turn the temporary permission, the placeholder returns empty

turbid tide
#

oh well

#

I forgot the return

#

add return changed;

#

oh shit this won't work

odd jay
#

Below var changed and all the values right? following the spaces

turbid tide
#

yeah

#

but don't think it will work tho

#

so I guess its time for the messy route

odd jay
#

Yup, script error

turbid tide
#

also

#

how is it usually returned?

#

1 d 1 h 1 m 1 s or 1d 1h 1m 1s

#

?

odd jay
#

the second one

#

1d 1h 1m 1s

turbid tide
#

this will mess shit up

#

because I think that papi js doesn't accept .includes()

odd jay
#

:(( shoot, really?

turbid tide
#

maybe I could use lastIndexOf if that one works to check

odd jay
#

Seems like a good idea to use that one

#

well, actually idk

#

lastIndexOf would check for the last letter of the value?

turbid tide
#

no

#

it will check where a substring appears last in a string

#

ok try this

#
var placeholder2 = "10 d 10 h 10 m 10s";
var placeholder = "%luckperms_check_permission_access.spawn%";

function returnEmpty()
{
  if (placeholder == "Yes" && placeholder2 == "")
    return "&aIt is permanent";
  if (placeholder2 == "")
    return "&cYou don't have";
  var changed= placeholder2.split(" ");
  if(changed[1].lastIndexOf("d") != -1){
      return changed[0].replace("d", "&7Days&f ") + changed[1].replace("h", "&7Hours&f ") + changed[2].replace("m", "&7Minutes&f ") + changed[3].replace("s", "&7Seconds")
  }
  return changed;

}
returnEmpty();```
#

but only try it with a permission

#

that goes for days

odd jay
#

sure

turbid tide
#
var placeholder2 = "%luckperms_expiry_time_access.spawn%";
var placeholder = "%luckperms_check_permission_access.spawn%";

function returnEmpty()
{
  if (placeholder == "Yes" && placeholder2 == "")
    return "&aIt is permanent";
  if (placeholder2 == "")
    return "&cYou don't have";
  var changed= placeholder2.replace("s", "&7Seconds").replace("m", "&7Minutes&f").replace("h", "&7Hours&f").replace("d", "&7Days&f");
  return changed;

}
returnEmpty();``` this is my last try. I have to go take a shower
#

you don't have to change anything to this one

odd jay
#

Works for everything! except seconds, the number is shown but the "&7Seconds" nope

turbid tide
#

ugh

#

last one ```
var placeholder2 = "%luckperms_expiry_time_access.spawn%";
var placeholder = "%luckperms_check_permission_access.spawn%";

function returnEmpty()
{
if (placeholder == "Yes" && placeholder2 == "")
return "&aIt is permanent";
if (placeholder2 == "")
return "&cYou don't have";
var changed= placeholder2.replace("s", "&7Seconds");
placeholder2 = changed.replace("m", "&7Minutes&f");
changed = placeholder2.replace("h", "&7Hours&f");
placeholder2 = changed.replace("d", "&7Days&f");
return placeholder2;
}
returnEmpty();```

#

dk why it wouldn't show seconds

odd jay
#

OH no, it actually shows it

#

sorry

#

it works well!!!

turbid tide
#

well almost well

#

the colors are a bit broken

odd jay
#

really? why?

turbid tide
#

oh nvm

#

just the spaces

#

or are those alright ?

#

oh they are

#

because they are already there

#

welp nice it works

odd jay
#

It is ok without spaces, do you want a screenshot?

turbid tide
#

nah

odd jay
#

Oh

#

there is an issue

turbid tide
#

I'm listening xD

odd jay
#

I tried with a 4 hours and 30 seconds one, it turned "&f4&7Hours &f30&7SeconDays&fs

turbid tide
#

right

#

that makes sense

#

welp I'm going to take a shower now

#

and I'll take a look a bit later

odd jay
#

Cool :DD

#

Thanks again!!, ping me, I will be up for then

turbid tide
#

Sorry dude I gave up

#

it wasn't as easy as I thought

austere hawk
#

XD

odd jay
#

Np! Thanks anyways!!

#

It is still appreciated, you already helped a lot

#

If I get to make something successfull on it I will share it and probably ask for add it on Community Javascripts

turbid tide
#

I mean its probably possiblle in some easy way that I can't think of

#

wait just got an idea

#

xD

#

I hate it when I get ideas

odd jay
#

Cool! 🍮

turbid tide
#

because I can't quit anything

#

but they are probably wrong

#

xD

odd jay
#

lmao

turbid tide
#

I'll try it anyways just in case

#

xD

odd jay
#

it happen to me always too

#

Sure, you can ping me whenever you want :D!

turbid tide
#
var placeholder2 = "%luckperms_expiry_time_access.spawn%";
var placeholder = "%luckperms_check_permission_access.spawn%";

function returnEmpty()
{
  var changed = "";
  if (placeholder == "Yes" && placeholder2 == "")
    return "&aIt is permanent";
  if (placeholder2 == "")
    return "&cYou don't have";
  if(placeholder2.includes(s))
    changed= placeholder2.replace("s", "&7Seconds");
  if(placeholder2.includes(m))
    changed= placeholder2.replace("s", "&7Minutes&f");
  if(placeholder2.includes(h))
    changed= placeholder2.replace("s", "&7Hours&f");
  if(placeholder2.includes(d))
    changed= placeholder2.replace("s", "&7Days&f");
  return changed;

}
returnEmpty();``` @odd jay
#

try this one

odd jay
#

sURE!

turbid tide
#

let's see if actually includes

#

works

#

because I was just told never tested it myself

#

xD

odd jay
#

xD

#

What should be the news on this one?

mint fable
#

what is s

#

and m

#

and h

#

and d

turbid tide
#

the plugin returns a timer

mint fable
#

because they look like variables

turbid tide
#

for a permission

mint fable
#

but they should be strings?

#

or chars

turbid tide
#

yeah

#

its like 1d 1h 1m 1s

#

in 1 string

mint fable
#

i don't think you get it

turbid tide
#

and he wants it to be Days Hours Minutes Seconds

mint fable
#

i'm saying you need to make it strings

#

right?

turbid tide
#

omg

#

I'm dumb

#

Xd

#

ty

odd jay
turbid tide
#
var placeholder2 = "%luckperms_expiry_time_access.spawn%";
var placeholder = "%luckperms_check_permission_access.spawn%";

function returnEmpty()
{
  var changed = "";
  if (placeholder == "Yes" && placeholder2 == "")
    return "&aIt is permanent";
  if (placeholder2 == "")
    return "&cYou don't have";
  if(placeholder2.includes("s"))
    changed= placeholder2.replace("s", "&7Seconds");
  if(placeholder2.includes("m"))
    changed= placeholder2.replace("s", "&7Minutes&f");
  if(placeholder2.includes("h"))
    changed= placeholder2.replace("s", "&7Hours&f");
  if(placeholder2.includes("d"))
    changed= placeholder2.replace("s", "&7Days&f");
  return changed;

}
returnEmpty();```
#

here

#

xD

#

cj first I checked in .replace and saw them in "" so I was confused why you're correcting me xD

mint fable
#

also

#

you always replace s?

odd jay
#

Also thought that

#

I think I will change it

mint fable
#

c'mon blitzzzz

#

i beleef

turbid tide
#

ok dude

#

xD

#

what

#
var placeholder2 = "%luckperms_expiry_time_access.spawn%";
var placeholder = "%luckperms_check_permission_access.spawn%";

function returnEmpty()
{
  var changed = "";
  if (placeholder == "Yes" && placeholder2 == "")
    return "&aIt is permanent";
  if (placeholder2 == "")
    return "&cYou don't have";
  if(placeholder2.includes("s"))
    changed= placeholder2.replace("s", "&7Seconds");
  if(placeholder2.includes("m"))
    changed= placeholder2.replace("m", "&7Minutes&f");
  if(placeholder2.includes("h"))
    changed= placeholder2.replace("h", "&7Hours&f");
  if(placeholder2.includes("d"))
    changed= placeholder2.replace("d", "&7Days&f");
  return changed;

}
returnEmpty();```
#

here xD

odd jay
#

update in a sec!

#

Script error, I think it is because of the double "))" right?

mint fable
#

blitz that new line { hurts me

#

what double ))?

odd jay
#

if(placeholder2.includes("s"))

mint fable
#

do if statements work that way in javascript? @turbid tide ||without brackets||

#

tomi how would that cause an issue

#

look

#

("s")

#

(placeholder2.includes("s"))

odd jay
#

OH

mint fable
#

at the start

odd jay
#

lmao

#

my bad

turbid tide
#

cj didn't start this myself xD

odd jay
#

He is right

turbid tide
#

also yeah they do

#

or at least should

#

but I think that .includes doesn't work

odd jay
#

So what could be the script error?

turbid tide
#

what's the error in console

odd jay
#

O

turbid tide
#

Tomi?

odd jay
#

letme check 1 sec

mint fable
#
var placeholder = "%luckperms_check_permission_access.spawn%";```
#

bruh

#

c'mon

odd jay
#

UHj It lags my pc to like 3 fps

mint fable
#

what does

odd jay
#

the error on console is spamming

mint fable
#

paste the startup log

#

?startuplog

tender vaporBOT
austere hawk
#

?paste

tender vaporBOT
odd jay
#

Suresure, I always use hastebin xD

mint fable
#

meh

odd jay
#

My host doesn't support .log and I have to download it (it is 168MB), but I think I see the cause of it, on the console

mint fable
#

so can you send it

#

your host is d u m b

odd jay
#

yup, placeholder2.includes on line 1 is not a function

#

sorry for not using hastebin, I could barely take a screenshot to it

mint fable
#

what is your server running on

#

spigot? paper?

odd jay
#

Spigot

mint fable
odd jay
#

Spigot 1.8.8

turbid tide
#

change to paper

mint fable
#

oh 1.8

#

i wonder

odd jay
#

Why paper? I currently have like 75 plugins, will Paper be compatible with all of em?

mint fable
#

well currently I don't think this js will work on 1.8.8 spigot

#

not sure about paper, blitzz might know more

odd jay
#

Hmm why would it be that blitz?

mint fable
#

throw it on a test server and see

odd jay
#

K, I will make a Paper and test this JS

#

I will update in 5 minutes

mint fable
#

also test spigot just in case

#

(i assume the test server isn't the same)

odd jay
#

Yes, I will just put Luckperms and Papi on it, I will use Paper 1.8

#

Last version of both

#

Finished

#

so I tested it on an empty server using Paper 1.8.8, I only pasted Luckperms and Papi (last version of both), still got the same error message, but hopefully it didn't spam, and I could make a hastebin, this is the message error https://hastebin.com/bofalahoga.cs

mint fable
#

i do not know

odd jay
#

So I guess another way that doesn't have ".includes" must be taken :(, I think it won't be possible, any idea Blitz?

mint fable
#

can we go back to splitting?

odd jay
#

Sure we can

mint fable
#

or just edit the lp expansion

odd jay
#

the lp expansion? are you meaning the time format? lp is using TimeUtils of Papi, I already even tried suggesting to lucko to add a way to change the time format directly but he told me that xD, the only way would be to change each expiry on javascripts

mint fable
#

if you decompile and edit it you can do whatever you want

odd jay
#

with TimeUtils on papi?

mint fable
#

what is timeutils

odd jay
#

what it uses Papi to make countdowns I guess, LuckPerms use it for the expiry/temporary permissions

mint fable
#

i don't understand lp code

#

🤷‍♂️

#

it's all tied in

#

the javascript would work if the engine wasn't fucked

#

or whatever is going on

#

because i'm pretty sure if you tried it on latest, it'd work fine

odd jay
#

Spigot 1.16?

mint fable
#

maybe 1.16

#

at least 1.15.2

odd jay
#

K! I will test it on 1.15.2

mint fable
#

is 1.16 officially out now?

odd jay
#

Yup

#

I will update in 3 minutes

#

I'm still opening my minecraft on 1.15.2 xD, tho the server is ready

#

Still the same error, it is spamming since I'm on Spigot now

#

apparently on Paper, console error messages won't spam, thats a big pro lol

#

with the same cause

mint fable
#

is your test server on your pc

#

or your host

odd jay
#

still using server.pro, should I try on a localhost?

mint fable
#

yes

odd jay
#

Ok, but I will first try on spigot 1.8.8

#

(because I already have a premade one)

#

or should I go for 1.15.2?

mint fable
#

just go for whatever

austere hawk
#

I got a question why does %statistic_mine_block% does

x = number of blocks mined
Mined block +1 = x + 2

? (sorry for this example)

brisk coral
#

Use the pinned expansion Macro

odd jay
#

I'm back, so it also happened on the localhost :(.

austere hawk
#

ok

mint fable
#

idk

#

very confused

#

i swear includes worked

odd jay
#

Any chances that you are avaible to test it?:(

mint fable
#

uh

#

I don't have your placeholders

#

i was looking for one of mine (that used .includes)

#

didn't find one

odd jay
#

Oof, can you create a random simple one? just to test if it works with .includes

#
var placeholder = "%luckperms_check_permission_access.spawn%";

function returnEmpty()
{
  var changed = "";
  if (placeholder == "Yes" && placeholder2 == "")
    return "&aIt is permanent";
  if (placeholder2 == "")
    return "&cYou don't have";
  if(placeholder2.includes("s"))
    changed= placeholder2.replace("s", "&7Seconds");
  if(placeholder2.includes("m"))
    changed= placeholder2.replace("m", "&7Minutes&f");
  if(placeholder2.includes("h"))
    changed= placeholder2.replace("h", "&7Hours&f");
  if(placeholder2.includes("d"))
    changed= placeholder2.replace("d", "&7Days&f");
  return changed;

}
returnEmpty();```
Shouldn't `changed=` be separated from the =? like `changed =`
#

Or is the same?

mint fable
#

doesn't work

#

includes isn't a thing i guess

odd jay
#

Hmm, should it be suggested then?

mint fable
#

oh fuck

#

no you can't do it

#

need a different engine

#

fuck this look at this bullshit

#

String.prototype.includes is specified in ECMAScript 2015 ( ECMA-262 6th Edition). Nashorn engine implements ECMA-262 Edition 5.1)

#

nashorn uses 5.1 and includes needs 6

#

ffs so close

odd jay
#

NOOOO

#

i'm gonna cry tonight

mint fable
#

might be able to get it to work?

#

eh

#

nvm

#

rip

odd jay
#

:((

mint fable
#

i mean

#

split it now i guess

#

and just take the parts

#

and jam em together

rare lily
#

ECMA5 doesn't have let or const, so good luck :)

mint fable
#

?

odd jay
#

:((

mint fable
#

gl with what

#

no idea what let does

#

@rare lily

#

?

rare lily
#

Let is for variable defined only in scope

mint fable
#

ah

#

can do it without those i feel

#

blitzz was doing split earlier

odd jay
#

I barely know how to use JavaScript and only wanted to finish that single javascript for my minecraft server since it uses it everywhere, so I will wait what Blitz says, and if he refuses to help, then I will just deal with the current javascript :(.

mint fable
#

@turbid tide btw if you didn't see, includes doesn't work in nashorn engine

rare lily
#

Also, don't use changed= "a"

mint fable
#

?

rare lily
#

Cause you are making the code think that changed= is a variable

mint fable
#

really?

odd jay
#

I also thought that

#

I already told it more above

#

should I change it?

rare lily
#

Hm..

#

I think that is still valid

#

By some points

#

Oh wait nvm what i said, they're still valid

odd jay
#

Yeah probable, but cannot confirm since .includes crashes the console and won't let me test, I would need to take the .split way but idk how, I'm noobie :((

#

not crash, it spams a lots*

mint fable
#

also

#

the code was wrong

#

no matter what

odd jay
#

really?

mint fable
#

only returns the last thing

#

so

#

wtf

#

ok there

brisk coral
#

Replace the changed

odd jay
#

Huh? How can you test if it works on a Script Tester when you can't make the 2 first placeholders run the values that it should be supposed to show?

#

Replace the changed
sure

mint fable
#

frosty with what

brisk coral
#

changed = changed.replace

odd jay
#

with changed =

mint fable
#

you don't wanna do what you're about to

#

you're gonna replace things you don't want to

#

there is a d in Seconds

#

the best way is split and build

odd jay
#

If this is done, I will make sure this is submitted into the community javascripts xD

mint fable
#

send a ss of what the expiry time looks like?

odd jay
#

%luckperms_expiry_time_access.spawn%?

mint fable
#

ya what's the format

rare lily
#

Let me check my old Hangman script to check includes

odd jay
#

#d #h #m #s the # would be a number, and if the number is 0 it will dissapear, an example (when 0 minutes):
10d 10h 30s

mint fable
#

thienbao wym

odd jay
#

lol

mint fable
#

to see how you did it instead?

#

ah

#

it's easy

#
var placeholder2 = "%luckperms_expiry_time_access.spawn%";
var placeholder = "%luckperms_check_permission_access.spawn%";

function returnEmpty(){
  if (placeholder == "Yes" && placeholder2 == "")
    return "&aIt is permanent";
  if (placeholder2 == "")
    return "&cYou don't have";
  return placeholder2.replace("s ", "&7Seconds ").replace("m ", "&7Minutes&f ").replace("h ", "&7Hours&f ")replace("d ", "&7Days&f ");
}

returnEmpty();
#

wait

#

ok try that

#

@odd jay

odd jay
#

sure

#

1 sec

mint fable
#

should work ez pz

odd jay
#

server is opening, maybe 1 minute xD

#

or less

rare lily
#

Ok there we go

odd jay
#

just go for whatever

rare lily
#

Replace includes with contains if it fails

odd jay
#

sure, will have in mind

mint fable
#

would java just take it over? O.o

#

because contains isn't a thing for js strings

#

if discord doesn't fuck me over i could send the whole thing

#

when was contains added I see nothing about it online

rare lily
#

Idk

odd jay
#

there is a replace without a . before

#

and it throws an error

mint fable
#

but in some cases if you access a String as a Java object as a property of some input, you really have Java and would just call Java methods.

#

from online ^

#

so java does take it over

#

you know to fix it then @odd jay

#

i beleef

#

?tryandsee

tender vaporBOT
odd jay
#

yup

#

lmao

#

xD

mint fable
#

discord is not a recommended editor

austere hawk
#

hi

odd jay
#

it worked with everything except for seconds

mint fable
#

oh

#

replace the s with s

#

and try again

austere hawk
#

PlaceholderAPI does it work directly in bungee?

odd jay
#

sure

mint fable
#

also

#

remove the space after Seconds

#

:L

austere hawk
#

yes?

balmy marten
#

PlaceholderAPI does it work directly in bungee?
@austere hawk Not yet, but it's planned

austere hawk
#

😮

#

ok thanks c:

odd jay
#

it worked great! so now I wanted to fix something but Idk how.
So when you told me to remove the space on the "s" I did that, and realized then when the countdown runs and reach to second 0, it dissapears, and the number that comes after turns the first, in this case, the minutes, and since minutes have a space "m " it won't work for 1 second, it will also happen with hours and days

#

any possible way to fix that?

#

also, is it possible to make it so if it is "&f1&7Days" it will convert into "&f1&7Day" and same with the other ones

mint fable
#

uh

#

no idea rip

#

it just disappears thonking1

#

go back to the drawing board and use contains

#

since it works apparently

odd jay
#

really? cool, should I change it with the .replace?

mint fable
#

no

#

change it with the includes

odd jay
#

K, I will scroll back

#
var placeholder = "%luckperms_check_permission_access.spawn%";

function returnEmpty()
{
  var changed = "";
  if (placeholder == "aSí" && placeholder2 == "")
    return "&aIt is permanent";
  if (placeholder2 == "")
    return "&cYou don't have";
  if(placeholder2.contains("s"))
    changed= placeholder2.replace("s", "&7Seconds");
  if(placeholder2.contains("m"))
    changed= placeholder2.replace("m", "&7Minutes&f");
  if(placeholder2.contains("h"))
    changed= placeholder2.replace("h", "&7Hours&f");
  if(placeholder2.contains("d"))
    changed= placeholder2.replace("d", "&7Days&f");
  return changed;

}
returnEmpty();```
Now it only work for Hours :(.
#

But it does accept it!!:D

mint fable
#

uh

#

so

#

hmm

odd jay
#

Nop, actually it only detects the first one

mint fable
#

i can't rn

#

too much

odd jay
#

if it has days, then only Days

#

no worries, thanks!

#

I will wait for Blitz xD

#

You have been helping me for a long of time, I highly appreciate that cj

odd jay
#

So in case someone wants to try to help this is the actual state of it:

var placeholder2 = "%luckperms_expiry_time_access.spawn%";
var placeholder = "%luckperms_check_permission_access.spawn%";

function returnEmpty()
{
  var changed = "";
  if (placeholder == "aSí" && placeholder2 == "")
    return "&aIt is permanent";
  if (placeholder2 == "")
    return "&cYou don't have";
  if(placeholder2.contains("s"))
    changed= placeholder2.replace("s", "&7Seconds");
  if(placeholder2.contains("m"))
    changed= placeholder2.replace("m", "&7Minutes&f");
  if(placeholder2.contains("h"))
    changed= placeholder2.replace("h", "&7Hours&f");
  if(placeholder2.contains("d"))
    changed= placeholder2.replace("d", "&7Days&f");
  return changed;

}
returnEmpty();```
 Objectives with the Javascript:
1- Return "It is permanent" when the player has access.spawn on true without expiry. - Perfectly done ![Approved](https://cdn.discordapp.com/emojis/520488328072658944.webp?size=128 "Approved") 
2- Return "You don't have" when the player has access.spawn on false without expiry. - Perfectly done ![Approved](https://cdn.discordapp.com/emojis/520488328072658944.webp?size=128 "Approved") 
3- Change the time format of the countdown. So instead of (for example) showing "10d 1h 10m 1s", show it like "&f10&7Days &f1&7Hour &f10&7Minutes &f1&7Second" - Not done yet ![Warning](https://cdn.discordapp.com/emojis/520488318606114816.webp?size=128 "Warning") 

The current issues are that the format will work **but** it will only show it changed on the first number. For example, if days is the last number on the value, then it would show like this (for example): "&f10&7Days 1h 10m 1s", or if hours is the first number, then "&f1&7Hours 10m 1s". It only works for the first number... reason? We don't know. 
The other issue is that there isn't done yet a way to detect if there is "1" for one of the values and change it to singular instead of plural (so instead of "1Days", "1Day", respectively). 
Thanks in advance to anyone that tries to help. you can Ping me if you want.
brisk coral
#

You could use FrozenJoin and just not specify a first join action

last mesa
#

When will the 1.16 version of PlaceholderAPI be released, there is no way to get ecloud data now

leaden kraken
#

Check pinned messages

last mesa
#

thank you

gleaming python
#

I get [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: error on startup, how can I fix this?

#

it worked before

glass narwhal
#

I can't seem to get mVdw placeholders to work with the %mvdw<placeholder>%, can someone help

warm topaz
#

what placeholder are u trying to use? do u have the mvdw expansion installed? do u have mvdwplaceholderapi with an mvdw plugin installed?

glass narwhal
#

How do i install the expansion

#

i have mvwd

warm topaz
#
/papi reload```
glass narwhal
#

oh

#

yeah i have that

#

i didnt know you meant the ecloud

#

and yes, I have the mvwd plugin installed

#

The mvdw are loading in

#

but I cant use them idk why

warm topaz
#

what placeholder are u trying to use?

glass narwhal
warm topaz
#

tokens_tokens isnt a placeholder according to the spigot page

glass narwhal
#

Their all custom.

#

but it shows their loading in

#

even ones from essentials dont seem to work

warm topaz
#

what does /papi parse me %mvdw_tokens_tokens% return?

glass narwhal
warm topaz
#

was there any errors when u downloaded mvdw expansion and reloaded papi?

glass narwhal
#

Not at all

#

so its an issue with the mvdw placeholder then

#

@final shadow can you help?

tender vaporBOT
#

@glass narwhal,

wise scaffold
#

Wait, how does %bungee_total% work?

#

Am I supposed to have papi installed on proxy somehow?

brisk coral
#

I believe it accesses all the servers through redis and gets info that way

wise scaffold
#

I meant, what do I need to do to make it work?

#

Where do I download the ecloud expansion?

#

I guess that's not possible then.

spice solstice
#

hello. just came here to say I have a problem with using PAPI in my own plugin. If PAPI is not installed (I made this softdepend (softdepend: [PlaceholderAPI]), plugin fails to load saying next thing

[23:36:31] [Server thread/ERROR]: Could not load 'mypluginnamewhocares' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: me/clip/placeholderapi/expansion/PlaceholderExpansion
Caused by: java.lang.NoClassDefFoundError: me/clip/placeholderapi/expansion/PlaceholderExpansion
Caused by: java.lang.ClassNotFoundException: me.clip.placeholderapi.expansion.PlaceholderExpansion

Code I use to check if it is installed

if (getConfigurator().config.getBoolean("features.placeholders") && Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null) {
  new PlaceholderAPIHook().register();
}```
#

i'm not sure I use correct channel

brisk coral
#

I mean yea, the import won't be found if papi is missing

spice solstice
#

oof

#

wait

#

my bad

#

nvm

#

thanks

sharp jay
#

lol

spice solstice
#

no wait. I still can't understand why it can't load without PAPI.

try {
  if (Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null && getConfigurator().config.getBoolean("features.placeholders")) {
  new PlaceholderAPIHook().register();
  }
} catch (Throwable ignored) {
}

if someone have time and probably want to help me (why) I can PM my repo

gleaming python
#

is there a specific needed java version for javascript placeholders to work?

mint fable
#

what java are you on

gleaming python
#

8

#

Java version: 1.8.0_242

mint fable
#

should work

gleaming python
#

I had 1 js placeholder that used to work, until i tried adding a 2nd placeholder and it broke both

#

keep getting [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder:

mint fable
#

send your config

gleaming python
#

i tried removing the placeholder i added, but the first one is still dead

#

sec

mint fable
#

and the placeholders

#

and the log

#

=paste

tender vaporBOT
gleaming python
#

Do you need main config or the javascript_placeholders.yml?

mint fable
#

send the js cfg

gleaming python
mint fable
#

the config

#

javascript_placeholders

#

also

#

what in the world is that

#

that's not a script

gleaming python
gleaming python
#

No matter how I do it, it just doesn't work

warm topaz
#

@gleaming python what does /papi parse me %player_has_permission_essentials.fly% return?

gleaming python
#

'yes'

#

I just keep getting [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: error

warm topaz
#
#  file: party_name.js
#  type: string```
is this meant to be commented out?
gleaming python
#

ye

warm topaz
#

[16:46:02 WARN]: [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: party_name because thats where the error is coming from

gleaming python
#

its commented out already

#

and still the same error

#

just for the haspermission placeholder

#

[PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: haspermission

warm topaz
#

add

  file: has_permission.js
  engine: 'nashorn'``` to the javascript_placeholders.yml
gleaming python
#

same error

robust ibex
turbid tide
#

what's your server version?

robust ibex
#

1.15.2

young finch
#

hey what's the reason if i'm getting Failed to set ScriptEngine for javascript placeholder:?

#

using the latest version (from pins)

turbid tide
#

try adding engine: 'nashorn' in javascript_placeholders.yml under your file: FILENAME.js

young finch
#

already have it

#
format:
  file: 'format.js'
  engine: nashorn```
gleaming python
#

That's the same problem I have ^

bronze bison
#

Try reloading papi /papi reload or restarting the server

gleaming python
#

Already did, more than once

fickle eagle
#

Hi when i try to parse a javascript placeholder i get just the plain text i have already install the javascript extension but still don't get it to work

cunning elk
#

where can i get the most recent dev build?

#

is the pinned one the most recent?

balmy marten
#

Yup

cunning elk
#

ty

zenith scroll
#

Hi, when I want to link Bungeecord total players to DiscordSRV, the placeholder doesn't work.

#

I referenced this, but it still doesn't work.

#

%bungeecord_total% is the placeholder I used.

#

I have Bungee installed, and my config looks the same as the one on that page

crisp hound
#

that is so many versions behind the current one it looks like

#

i'd suggest updating to the current version

zenith scroll
#

The current version of PAPI?

#

I am

crisp hound
#

the link you sent is 1.8.2

#

current is 2.10.6

zenith scroll
#

Yea

#

I cant find any other documentation for Bungee config in PAPI

crisp hound
#

did you do all of this stuff

zenith scroll
#

/papi ecloud download Bungee?

#

Yes

crisp hound
#

yes

#

ok

zenith scroll
#

On all servers

crisp hound
#

oh well discordsrv might not work with papi placeholders

#

idkl

zenith scroll
#

It does

crisp hound
#

use the /papi parse command

#

and see if it works via that

zenith scroll
#

How do I use papi parse?

crisp hound
#

/papi parse <placholder> i believe

#

but just type /papi help

#

or /papi parse

#

or something

#

im sure theres a help message

zenith scroll
#

I have to do /papi parse ayseany %bungeecord_total%

crisp hound
#

yea probably

zenith scroll
crisp hound
#

that means its not working at all on your server

zenith scroll
#

or %bungeecord_total%

#

Yea

#

Thats why I'm confused

crisp hound
#

hmm

zenith scroll
#

Wait

#

Its %bungee_total%

crisp hound
#

lmao

#

i didn't even catch that

#

hopefully that works

zenith scroll
#

Still doesnt work tho

#

On the bot

crisp hound
#

does it work with papi parse

zenith scroll
#

On the server it returns a number yea

crisp hound
#

not a papi issue then

#

its the bot

zenith scroll
#

Weird

#

It says

#
# Sets the "Playing: ______" indicator for the bot.
# Can be a single, static value, or cycle through multiple different options
# You can preface the status with "playing", "watching", or "listening to" to set the activity type
# PlaceholderAPI placeholders are supported
#

So I was guessing its a PAPI issue

crisp hound
#

is disc srv running on your bungeecord or spigot servers

zenith scroll
#

Spigot

crisp hound
#

and its parsing properly via papi's parse command

#

so it should be working

#

if they do in fact support placeholders

#

i'd submit an issue with them

#

someone already did it lol

#

they fixed it in a dev build if you want to try that

zenith scroll
#

Lmaooo

#

Too funny

#

18hrs ago

#

:P

crisp hound
#

well you could try the dev build or jusit wait until its official lol

#

but thats probably the solution

zenith scroll
#

Ill try with the dev one

#

Yea it works :)

crisp hound
#

nice

karmic granite
#

Yo so, I just updated to 1.16, seems like some older plugins aren't working now, does papi not support the old expansions now?

brisk coral
#

"some older plugins aren't working"

karmic granite
#

nope, expansions, they seem to not load though

#

I also have not been able to see the ecloud list, it shows the amount of pages, but no expansions

brisk coral
#

Are you using the pinned version?

karmic granite
#

pinned meaning the latest?

#

cause if so, yes, im using 2.10.6

brisk coral
#

The version pinned in this channel

#

It's a dev build

karmic granite
#

oh, alright, i'll give that a try

#

ah, perfect, there was an issue with the LuckPerms expansion, seems like everything is fixed. Thank you!

obsidian niche
#

hi

#

pls help me

#

papi mysql

#

mysql query result may cause 0 exits

#

@mint fable

tender vaporBOT
#

@obsidian niche,

obsidian niche
#

manual works when you type

gentle flicker
#

On the e-cloud website, how do I update the placeholder list for one of my expansions?

leaden kraken
#

Go to Your Expansions then Edit Expansion

gentle flicker
#

Okay thanks!

obsidian niche
#

@leaden kraken

#

Me?

obsidian niche
#

uuid working but {player} not working pls help me

rare lily
#

No one here understand what you even said..

obsidian niche
#

papi mysql query uuid working

#

okey

#

but {player} not working

#

select money from users WHERE username = '{player}' this query not working

brisk coral
#

Uh what? Is that an expansion or what?

junior musk
#

yeah there's a MySQL expansion

brisk coral
#

It's %player_name%, and ask the author of the expansion I guess

obsidian niche
#

what?

#

yes

brisk coral
#

{player_name} instead of {player}

obsidian niche
#

not wroking

brisk coral
#

And make sure you have the player expansion installed

obsidian niche
#

not working

#

result 0

brisk coral
#

Ask the expansion author 🤷‍♂️

obsidian niche
#

Who?

#

How communication author

rare lily
#

Wot

#

You mean "how to contact the author"?

#

I don't seem to find any possible contacts from the author though

#

I mean, i found the author name, but where to contact that dude ;p

#

Also "quary" :)

brisk coral
#

Yea was just checking, idk ask cube to see if he has his discord

rare lily
#

Found him on spigot at least lol

keen crown
#

OOOF

#

wait

#

ill dm the discord

violet yoke
#

Hi, any info when update papi to 1.16?

balmy marten
#

Dev build is pinned

#

Stable release will happen soon™️

violet yoke
#

good, thanks

leaden kraken
#

What's not stable with the pinned version?

#

seems fine

balmy marten
#

Yeah it pretty much is

#

just a couple of tweaks we've made since then

edgy geyser
#

hello ?

#

but why not work

#

so i want emoji

austere hawk
#

Uh emojis don't work in minecrAft

#

U need to use character map

#

@edgy geyser

edgy geyser
#

what ?

austere hawk
#

go to ur search bar (start)

#

then search character map

fluid chasm
#

i get this error with the statistics expansion

#

12.07 17:04:46 [Server] ERROR [PlaceholderAPI] Failed to init placeholder expansion from class: com.extendedclip.papi.expansion.mcstatistics.StatisticsExpansion
12.07 17:04:46 [Server] ERROR [PlaceholderAPI] org.bukkit.Material.isItem()Z

south girder
#

how to fix tags spaced? is there a way

#

uh where my javaskript folder ??

#

ive reinstalled mutiple times and no javaskripts.. ill try maybe making a folder

hearty tapir
#

Does somebody knows how to display in the lobby how many players on a other server?

fickle eagle
#

for placeholders?

hearty tapir
#

yes

#

i need a placeholder wich can do this

fickle eagle
#

okay

#

1 sec

hearty tapir
#

Thank u

south girder
fickle eagle
#

%player_online%

#

i think that

south girder
#

huh

fickle eagle
#

or players

hearty tapir
#

yeah but that problem is that this only display the amount of players that are on that server

#

Not on a other server

fickle eagle
#

oooh

#

for the wrold

hearty tapir
#

The Placeholder is in the lobby.

fickle eagle
#

world

hearty tapir
#

i use bungeecorde

fickle eagle
#

ahh

hearty tapir
#

for another server

fickle eagle
#

okay

hearty tapir
#

is this even possible?

fickle eagle
#

yes

#

just foudn ti actually

#

/papi ecloud download ListPlayers

#

di that

south girder
#

Um

#

Can i nget some help?

fickle eagle
#

dude i dont even work for support here

#

sorry

south girder
#

oh

hearty tapir
#

im sorry

obsidian niche
#

Plss helpme

#

Papi mysql {player} not working

#

Pls hlp me

tender vaporBOT
carmine veldt
#

you pasted the link twice

frank oracle
#

My deluxe tags are kinda bugging out

junior musk
#

use the dev build pinned

south girder
obsidian niche
#

@carmine veldt

grim frost
#

when will be papi for 1.16 version on spigot

#

i'm not tried 1.15 version on 1.16 i hope works

hearty tapir
#

Does somebody knows how to display in the lobby how many players on a other server?
@hearty tapir Somebody got an idea?

leaden kraken
#

@grim frost check pinned messages

grim frost
#

okey thanks

austere hawk
#

%math_0.25*({jobsr_user_jlevel_Oduncu}-1)%

#

whats wrong

#

its returns 0

turbid tide
#

what does /papi parse me %jobsr_user_jlevel_Oduncu% ?

austere hawk
#

2

#

oh okay

#

i found problem

#

my bad

cunning charm
#

Does EzPrestige have a PAPI placeholder for the cost of the next prestige? There was an MVDW placeholder for this, but the PAPI wiki only displays placeholders for current and next prestiges.

#

Yeah... I got that.

turbid tide
#

doesn't look like it

#

are you sure that nextprestige doesn't return the price?

cunning charm
#

I used one for FeatherBoard, but I'm changing to KiteBoard.

#

No, it displays the ID of the next prestige.

#

{ezprestige_nextprestige_cost} is what I used.

turbid tide
#

yeah I get it but doesn't look like there is any

dusty junco
#

Can anyone help me with my issue please?

turbid tide
#

what's your issue exactly?

cunning charm
#

Dang, that sucks. Would one exist for MVDW and not PAPI for any specific reason?

dusty junco
turbid tide
#

not sure actually

#

and it doesn't work if you do /papi parse me %placeholder% either?

dusty junco
#

Nope nothing

turbid tide
#

and all you changed is the server version?

dusty junco
#

Yes from 1.15 to 1.16