#placeholder-api

1 messages · Page 76 of 1

bronze bison
#

=paste

tender vaporBOT
#
HelpChat Paste

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

torn inlet
bronze bison
#

weird

#

lemmy try that

torn inlet
#

Maybe the placeholder is too long idk u_u.

bronze bison
#

hmmm its working fine ? dont have bskyblock to test that placeholder but nothing seems wrong with it

#

whats the player name form that placeholde ?

torn inlet
#

Nedjii

bronze bison
#

o

#

weird

bronze bison
#

@torn inlet returns ur name right ? /papi parse me %Level_bskyblock-island-level-top-name-1

torn inlet
#

Yes, it also works in the item's lore.

bronze bison
#

@torn inlet seems like head material doesnt like the -

#

u can try making js placeholder to return the level placeholder value

torn inlet
#

Ok, thanks !

naive echo
#

1.8.8 papi version?

brisk coral
#

latest

naive echo
#

?

brisk coral
#

Restart the server properly

torn inlet
#

@bronze bison Making js placeholders worked, thanks ! Funnying

tender vaporBOT
#

@torn inlet

Hey,

Please be patient and don't ping helpful or staff members!

bronze bison
#

Great! Glad to help 😃

arctic brook
#

waste of time with not help at all !!!

brisk coral
#

And saying that in every channel will help?

#

Due to spigot's shit way of dealing with stuff, it's currently in angry mode meaning the api cannot get your plugin purchases

arctic brook
#

Forget it .... they only take people's money with no fucking support at all

#

they are for laugh

vivid sparrow
#

l o l

#

stop causing a drama, we dont want to support leakers.

arctic brook
#

Hahahahaahhahh

#

You are for laugh too don't cry about it

austere hawk
#

Hey
Is this plugin avadible on NukkitX?

trim mist
#

What is "this" plugin?

#

PAPI?

austere hawk
#

Yeah

trim mist
#

Currently we only support Bukkit / Spigot / Paper.

austere hawk
#

Nooooo..... sad...

#

I need this for Nukkit :c

honest prairie
#

Hi guys, im pulling my hair out here.

19.08 21:04:34 [Server] INFO Successfully registered expansion: player
19.08 21:04:34 [Server] ERROR Failed to load placeholder expansion from class: com.extendedclip.papi.expansion.player.PlayerExpansion

Im trying to parse the %player_name% on my 1.18.8 bungeecord spigot server and its not working. Any ideas?

#

I downloaded the player expansion using the cloud command, but after trying for ages to get it to work, I downloaded the expansion from the Wiki

Plugin version is up to date

#

^^ sorted

vapid nexus
#

hello can i ask

honest prairie
#

Yes

#

You can ask

vapid nexus
#

is there a placeholder that like

#

for example

#

umh, like placeholder of player online. for example
%player_online_<player # from tab>

#

something like dat

#

like let you list players online.

honest prairie
#

Are you on just spigot

vapid nexus
#

wdym

vivid sparrow
#

you cant list them.

vapid nexus
#

cant list per slot?

honest prairie
#

What server do you have?

vivid sparrow
#

no, you cant list them in any way

vapid nexus
#

sad

honest prairie
#

like what type, version and config

vapid nexus
#

???

honest prairie
#

What tyoe of server do you have

#

Theres an infinite number of different server configurations you can have, What server type? What version?

I might have another solution

brisk coral
#

You can't

#

Unless you make something custom, you can't

honest prairie
#

@brisk coral shh

brisk coral
#

Don't ping me

honest prairie
#

Or what

vapid nexus
#

i only need palceholder that show player's name, individually

honest prairie
#

What is it that you are trying to do exactly?

brisk coral
#

Don't be annoying Tom, ZS, that's not possible with the current existing placeholders

vapid nexus
#

i only need palceholder that show player's name, individually

#

javascript placeholders wont do?

honest prairie
#

try this
/papi ecloud download OtherPlayer

vapid nexus
#

that wont work

brisk coral
#

As I've said multiple times, there is no way to do it with the current existing placeholders

honest prairie
#

To get another player name?

vapid nexus
#

yeah, im asking so i can make javascript version of it

#

and i think the guide in github is outdated

honest prairie
#

Oh well that explains it

bronze bison
#

wdym individually ?

honest prairie
#

Frosty could of just said that instead of being petty

#

@brisk coral

bronze bison
#

and whats outdated in GH other than the /papijsp commands ?

vapid nexus
#

papijsp seem not working icant recall

#

for example i want to make a list of online players with placeholder, 1 by 1.

bronze bison
#

use /papi reload instead of /papijsp reload for the meantime

#

and make a js placeholder for that.

vapid nexus
#

2nd command havent tried

bronze bison
#

all /papijsp arent working

honest prairie
#

How would your code know what player 1, 2, 3 would be ?

Would it pull the list of players alphabically, time they joined ect?

vapid nexus
#

that is already our concern to how to make it work, if jsp is actually working, then we'll make work it.

honest prairie
#

Is it for a mini game or are you just wanting to display players that are online

#

and where

vapid nexus
#

why you keep asking uncessary questions?

honest prairie
#

Because you could just download a plugin to do that for you, if you told me what specifically you wanted, maybe I might know how to help instead of leaving you to figure it out on your own

vapid nexus
#

you're stating whats obvious

#

even people in wiki doesnt know

#

stop forcing yourself

#

@bronze bison can i get wiki link for jscripts

honest prairie
#

I know javascript, but fine, suit yourself

bronze bison
#

@vapid nexus ^

vapid nexus
#

thank you

bronze bison
#

np 😄

vapid nexus
#

/papijsp reload this doesntwork ya?

bronze bison
#

mhm use /papi reload as i mentioned above.

vapid nexus
#

ok thnks

cloud shard
#

Any chance someone here has any libsdisguises placeholders?

vapid nexus
#

@bronze bison /papi parse %placeholder% doesnt work

bronze bison
#

/papi parse me %placeholder here%

vapid nexus
#

ok thnks

bronze bison
#

Updated it in the wiki.

vapid nexus
#

thnks

bronze bison
#

Sorry about that.

vapid nexus
#

np

#

sadly i cant send pictures here

bronze bison
#

=imgur

tender vaporBOT
#
Uploading Images

Please use imgur to share screenshots and other images.
Imgur

vapid nexus
#

@bronze bison sorry for multiple pings i am trying to make an exxpansion, where can i get library for it?

tender vaporBOT
#

@vapid nexus

Hey,

Please be patient and don't ping helpful or staff members!

vapid nexus
#

srry

bronze bison
vapid nexus
#

ok, i just got hooked on you :v

bronze bison
#

?? 😂

vapid nexus
#

👌

#

im trying to make my own expansion.

#

i think this is different?

bronze bison
vapid nexus
#

ooo

#

how do i check loaded expansions

#

nvm just got conflict on identifier

bronze bison
#

/papi list

#

And it tells u when u reload papi

willow saddle
#

Hello,
ive got a question bout the sponge version of this plugin.
You can install expansions for the spigot version of papi pretty easily, either ingame via the command or with the expansions folder.
Are you able to install them for the sponge version aswell, e.g. the luckperms expansion?

balmy marten
#

Sponge version of the plugin?

willow saddle
#

yep, papi for sponge

balmy marten
#

Mind linking me to it?

mint fable
#

We don't correlate with the sponge version of PAPI at all @willow saddle

#

It's a completely separate plugin and has nothing to do with us/clip

willow saddle
#

oh

#

sorry, i actually didnt know that

#

my bad then

mint fable
#

All good

balmy marten
#

Yeah looks just have the same name

mint fable
#

yep :L

trim mist
#

Maybe Papi3 (coming soon ™ ) we just make multi-platform.

mint fable
#

That'd be hell

trim mist
#

I think we were in the works of using ACF which has shared stuff we'd need to do Paper, Spigot, SPonge, etc.

carmine veldt
#

We weren’t

mint fable
#

Sponge is just completely different than the rest...

vivid sparrow
#

That's more of a PAPI Wannabe

trim mist
#

Okay nvm ignore me

#

PAPI v3 2022

mint fable
#

lmao

#

soon™

carmine veldt
#

Just to add on though, it wouldn’t be that difficult to add multi-platform support

vivid sparrow
#

v3 3000

trim mist
#

Yeah true

willow saddle
#

rip, i guess modded servers arent a good thing to run then, plugin whise at least xD

#

thanks for the info tho ✌

mint fable
#

idk, sponge is pretty different

trim mist
#

Oh hey, you guys should tune into the panel that Clip and I are doing on uhhhhh

#

I think it's August 30th?

carmine veldt
#

cubedcon

trim mist
#

Ya

vivid sparrow
#

o

carmine veldt
#

aug 30 - sep 1

vivid sparrow
#

What panel

mint fable
#

O.o

trim mist
#

We're talking BBQ tips & tricks and just about the mc community in general

mint fable
#

oh ya

#

I heard about this one

vivid sparrow
#

O

#

On a livestream?

trim mist
#

I believe so

carmine veldt
#

also cj, it’s really not that hard. All you’d need to do was create a user interface, and make implementations for it for both apis. It doesn’t even need to be fully featured, just have methods to getSpongeUser, and getBukkitUser on the impls

trim mist
#

We'll probably go over a schedule / list of what to cover with cube, so he can tell us what to be professional on

vivid sparrow
#

o

#

Make sure you guys announce us

trim mist
#

It's the HelpChat panel

#

Lol

carmine veldt
#

gaby, didn’t u see the build?

vivid sparrow
#

Like I access that daily (link at least?)

mint fable
#

Hmm

vivid sparrow
#

I did, unless fc changed it lately

mint fable
#

Interesting

#

No idea how that'd work

trim mist
#

Yo this framework is interesting

carmine veldt
#

yea, just added a http server to it yesterday, so u can make web json apis

trim mist
#

Ooo

vivid sparrow
#

Damn

trim mist
#

If I didn't have ACF I'd totally check this out

carmine veldt
#

cj, a bunch of reflection is the answer to that

#

only at startup tho

mint fable
#

Sponge is just annoying to me 🤷

carmine veldt
#

I’ve never used their api

mint fable
#

ah

#

It's different

carmine veldt
#

I do plan to make a binding for it on my framework tho, so I guess I’ll have to learn

trim mist
#

This is really fucking dope piggy I didn't realize how much you had already finished

carmine veldt
#

yeah I’ve been powering through it

#

I didn’t really have to make much new stuff though

vivid sparrow
#

PCF

carmine veldt
#

most of the code I’d made on a load of other projects

trim mist
#

Man, funnycube was wrong, you aren't ass at Java.

#

ManagersManager

#

Alright

carmine veldt
#

lol

#

gotta have a manager that manages all other managers

#

it’s only logical

trim mist
#

Honestly I was going to do something similar soon

#

Since Guilds has a new backend now

#

I gotta have a handler for the handlers

carmine veldt
#

yeah, my manager isn’t really good for any use though

#

it needs some refactoring

trim mist
#

THIS DUDE EVER GOT EXPORT RESOURCES

#

Man

carmine veldt
#

it’s got everything u’d ever need

#

tho, u should be using the filemanager for exporting resources, not the util directly

#

filemanager is the only thing I haven’t written docs for yet

#

oh, and making addons

trim mist
#

So does your mysql use pooling?

carmine veldt
#

yea

trim mist
#

So what do you plan to use this for?

carmine veldt
#

anything I make in the future

trim mist
#

Cool

carmine veldt
#

I’m thinking of removing the search shit from the normal Manager, and then making a new implementation called SearchableManager, where I can put the levenshtein shit

#

that’d make it more usable

trim mist
#

Cool

little crane
#

Has anyone heard from GC from Advanced Enchantments about the EXP placeholder issue?

#

said he was supposed to contact you guys about an issue with that placeholder

hallow sleet
#

Error:(3,30) java: package me.clip.placeholderapi does not exist
i am compiling my plugin'
and i get this error
does anyone get this problem
i just imported placeholderapi jar into intelij

glad lion
#

are you using maven to compile or?

hallow sleet
#

maven yes

glad lion
#

Then you need to import the dependency with maven

hallow sleet
#

oh ok

#

i will do that

glad lion
#

Otherwise your IDE and your build tool are seeing two different things

hallow sleet
#

it worked thanks

#

hello, do i need to create the {player} placeholder?

#

because in my plugin i thought placeholder api has a {player} placeholder

#

which shows the name of the player

#

if it is not in placeholderapi

#

how do i make it

glad lion
#

player expansion or something has a name placeholder

vivid sparrow
#

player, yes

cedar gust
#

Is there a placeholder in papi that can track player kills and display like top 1 player with the most kills? I can't seem to find one for that?

vivid sparrow
#

no

cedar gust
#

rip

austere hawk
#

Please look at my issue on github :c

glad lion
#

if you want it that bad, submit a PR

#

I can't see platforms like nukkitx being a top priority

tardy star
#

What in the world is Nukkitx.

vivid sparrow
#

Software for bedrock

glad lion
#

It's basically its own plugin environment

tardy star
#

Ah. Okay. That sounds really...odd

vivid sparrow
#

As Glare said, on future they will probably add support for more than Spigot and Paper, but dont think it's a priority / that easy to add.

tardy star
#

But...why?

brisk coral
#

bedrock trash

tardy star
#

^

vivid sparrow
#

The question is most likely "why not?"

placid rune
#

Hello!

#

Why TokenManager isn't working?

#

While i put it into titlemanager " %tm_tokens% " It just shows that same thing there.

desert blaze
#

You must downlaod PlaceHolderAPI plugin and restart server

vivid sparrow
#

Im sure that TM have switched from an expansion to their own placeholders, make sure you check the wiki.

placid rune
#

It says it needs placeholderAPi

tranquil mulch
placid rune
#

But if i put it on titlemanager then it just shows that %tm_tokens_f%

tender vaporBOT
#
FAQ Answer:

Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.

vivid sparrow
#

@tranquil mulch

tranquil mulch
#

yes?

vivid sparrow
#

Check above ._.

tranquil mulch
#

ahh

#

thxx

placid rune
#

It's working now.

vivid sparrow
#

Yw

placid rune
#

Thanks.

tropic vault
#

Is there a target placeholder ? Like %target% or something ?

brisk coral
#

nop

austere hawk
#

@prime crow

#

why r u so mean

cloud shard
#

hey, is @clip#0001 the WorldGuard PAPI Dev?

tardy star
#

I think that's a combo between Clip and WizJany.

Clip is one of the main devs of PAPI, I think

WizJany is one of the main devs of WG.

frozen yarrow
#

@cloud shard

cloud shard
#

@tardy star i was asking cause i saw that WG PAPI extension was updated to 1.13, but seems to break on 1.14.

#

and didnt want to ping clip or wiz unless i knew for sure who did it

tardy star
#

Listen man. All I know is that Ash made MM. xD

cloud shard
#

lmaooo

austere hawk
#

Hi

#

I have the DeluxeTags ecloud extension installed

#

and %%deluxetags_tag%% placeholder in essentials chat still doesn't work

tender vaporBOT
#
FAQ Answer:

How to get DeluxeTags working using essentials chat:

  • Turn off the DeluxeChat option in the DeluxeTags config.
  • Turn off the format_chat option in the DeluxeTags config.
  • Replace all the %placeholders% with {placeholders}
  • Restart the server
balmy marten
#

@austere hawk ^

austere hawk
#

alrdy tried that

bronze bison
#

u gotta add {deluxetaga_tag} to essentials chat and not %%deluxetags_tag%%

austere hawk
#

alrdy tried that

#

ill try again

#

doesn't work @balmy marten

brisk coral
#

show me your chat format

austere hawk
#

ight 1 sec

#

format: '{DISPLAYNAME}&7 {deluxetags_tag} » &7{MESSAGE}'

brisk coral
#

/papi ecloud download deluxetags
/papi reload

austere hawk
#

ayyye worked, thank you again frosty and others

brisk coral
#

=faq tagess

tender vaporBOT
#
FAQ Answer:

DeluxeTags showing in essentials chat:

  • Turn of the DeluxeChat option in the DeluxeTags config.
  • Turn off the format_chat option in the DeluxeTags config.
  • Replace all the %placeholders% (%deluxetags_tag%) with {placeholders} ({deluxetags_tag})
  • Download the DeluxeTags expansion using /papi ecloud download deluxetags
  • Restart the server
bronze bison
#

Glad it works but u dont need dtags expansion ... :p

#

Unless ure using ChatInjector

austere hawk
#

i cant use it without it

#

PS

#

How can I put a display name in a hologram?

#

%player%, %displayname%, {player}, {displayname}, {display_name}, %player_name% etc dont seem to be working

brisk coral
#

you need the expansion

austere hawk
#

expansion name?

brisk coral
#

HolographicDisplaysExpansion (it's a plugin)

austere hawk
#

ohh kk ill get that, then what placeholder will work?

brisk coral
#

%player_name%

austere hawk
#

ight ty

#

wellfk

#

doesn't work

#

yeah it doesn't work

#

the plugin is installed

#

and %player_name% shows up as %player_name%

#

thas depressing k

#

think ive found ze problem

#

fab

#

I installed it and it's working

#

but now

#

I can't login

#

it's crashed the server

#

great

#

dude im on the server but its still not working @brisk coral

#

what am i doing wrong

bronze bison
#

Did you download ProtocolLib plugin ?

austere hawk
#

I did

bronze bison
#

So you have Holographic Displays, Holographic Extension, ProtocolLib and PlaceholderAPI plugins
and you downloaded player expansion by running

/papi ecloud download Player
/papi reload

and it didnt work ?

austere hawk
#

lemme check

#

perfecttt

#

it works

#

thank you aboodyy

bronze bison
#

np! glad it did 😃

near nimbus
#

Is there any way to edit placeholders?

#

I'd like to remove the time from %player_first_join_date%

bronze bison
#

js

near nimbus
#

ah

bronze bison
#

Or just change that from the expansion itself

#

Its os

near nimbus
#

dk how to compile tho so 😛

bronze bison
#

oof

#

Ok use js then

#

Or wait

#

U can change the format of it in papi config @near nimbus

near nimbus
#

oh

#

🤦

#

thank you

bronze bison
#

np 😁

cloud shard
#

Now we wait...

#

Thanks @bronze bison

tender vaporBOT
#

@cloud shard

Hey,

Please be patient and don't ping helpful or staff members!

brisk coral
#

Now you wait :okhand:

cloud shard
#

Yee lol

bronze bison
#

o thats u

sharp blaze
#

I dont know if this is a papi, votingplugin, or featherboard issue. But the placeholders for votingplugin on featherboard are not working. Yes, I have downloaded the votingplugin papi and reloaded papi and it still doesnt work.

brisk coral
#

What placeholder

bronze bison
#

more info pls

brisk coral
#

{placeholderapi_<placeholder>} will probably fix the issue :p

cloud shard
#

Yeah will get it asap. Not at desk now. From memory, no errors, just broke papi.

#

And sorry, didn't realize it had its own category

#

I'll update the git when I get the chance

bronze bison
#

would be good to post the information i asked for in the issue.

#

ok ty

cloud shard
#

Np

sharp blaze
#

I tried {votingplugin_votepartyvotescurrent}

brisk coral
#

try this {placeholderapi_votingplugin_votepartyvotescurrent}

sharp blaze
#

Alright

#

Thank you! It works~

brisk coral
#

👌

cloud shard
#

Glare, if you read this, I love you bro ❤ lol

cloud shard
#

Thanks boodyy

bronze bison
#

Let us know if theres anything wrong with it

cloud shard
#

i think i found something.

#

if your in one region thats inside another, it spams both in the placeholder.

#

not sure if theres anything that can be done there though, is there?

bronze bison
#

can you please send the placeholder u used with its return value ?

cloud shard
#

/papi parse CarsonJF %worldguard_region_name%

it returns ones name in chat, and then another if i run it at the right time, but i have said placeholder in a tab list for testing, and its spazzing out lol

bronze bison
#

Would be good if u reduced the update interval of it maybe.

cloud shard
#

hm, i'll have to look into how to do that. would that be done on my tab list, or possibly with PAPI?

#

and incase you wanted a quick glimpse lol

bronze bison
#

Holographic Displays doesnt support PAPI by it self, u need to get this plugin

#

=plugin holographicextension

brisk coral
#

that don't work ^

bronze bison
#

o

brisk coral
#

spigot being a mean boy still

bronze bison
#

dont forget to get ProtocolLib too

#

@cloud shard as i said, it may work if u reduce the update interval of it

#

@deft hemlock read what ive said after ur message please.

#

o

#

well then does ur TAB plugin support papi?

#

and make sure that u have the server expansion and its loaded by checking if its in /papi list

tender vaporBOT
#

@deft hemlock

Hey,

Please be patient and don't ping helpful or staff members!

bronze bison
#

since its work using papi parse commnd, then the issue from tab

#

@deft hemlock

short flicker
#

problem detected, using % without it being a placeholder, such as "50% off in store" makes the rest of string not parse for placeholders

#

do we call this placeholderapi bug ? or, how do we get around that ?

modest cosmos
#

cab someone help me plz. I have deluxechat and the placeholders arent working and i have the latest versions of deluxechat and placeholdapi

#

@sharp jay

tender vaporBOT
#

@modest cosmos

Hey,

Please be patient and don't ping helpful or staff members!

sharp jay
#

ping

modest cosmos
#

sry

sharp jay
#

dont

modest cosmos
#

wasnt aware

#

my bad

#

wont happen again

#

but could you help me please

sharp jay
#

Not rn later

modest cosmos
#

i fixed it i think

brisk coral
#

@IsThisCallOfDuty#6550 Mind providing some proof of purchase

#

Ok then..

kindred pecan
bronze bison
#

o i made that

#

and its not from that placeholder

#

@kindred pecan

#

sorry frosty ❤

#

its from an item lore js placeholder btw

brisk coral
#

double pong thonking1

bronze bison
#

sorry bb

kindred pecan
#
var item = player.getInventory().getItemInHand();
var lore = null;

function itemlore() {

    if (item == null || item.getType() == "AIR") {
        return "";
    }

    if (item.hasItemMeta() && item.getItemMeta().hasLore()) {
        lore = item.getItemMeta().getLore();
    }

    if (lore == null) {
        return "";
    }

    if (args.length == 1) {
        var index = parseInt(args[0]) - 1;
        if (isNaN(index)) {
            return "invalid index";
        } else {
            if (lore.length > index) {
                return lore[index];
            }
            return "";
        }
    } else {
        return lore.toString().replace(/^\[/, "").replace(/.$/,"").replace(/, /g, '\n');
    }
}

itemlore();```
bronze bison
#

o i made that too 😂

kindred pecan
#

Yeah i know

#

And do you think there is a way to fix it?

bronze bison
#

yea 1m

kindred pecan
#

okay

bronze bison
#

weird.. that shouldnt happen

kindred pecan
#

Okay

hardy whale
#

Anyone having issues with sugar crafted not being tracked in Statistics?

#

No errors, just always 0

near nimbus
#

%vault_prefix_color% seems to output the prefix as well as the color, I just want the color. Any fix for this?

paper root
#

is there anyreason why the console cannot use javascript placeholders? for example %javascript_test%, ingame it returns "test" with no issue, but trying in in console in any situation replaces it with nothing whatsoever

bronze bison
#

hmm? Running a command from console (not through a plugin) doesn't parse placeholders for u

#

if ure running them through a plugin, that plugin should supports papi for that to work

paper root
#

hmm, i believe CMI supports papi

bronze bison
#

idk

paper root
#

just checked, yes

#

i use a few other placeholders

#

oddly enough, normal placeholder work fine

bronze bison
#

@near nimbus maybe open an issue in vault expansion repo with full details please and i or someone could look into it.

paper root
#

only javascript placeholders, and only though the console...

bronze bison
#

Well if the placeholder is working using papi parse commnd, then this isnt papi issue

paper root
#

alrighty

#

ok another question then, is it possible for papi javascript to notice if the command was issued by a player or the console?

bronze bison
#

No

#

U cant have an event in a js placeholder

#

Well, idk but haven't looked into it but i dont think so

brisk coral
#

you can't

bronze bison
#

o

paper root
#

rippppo

near sentinel
#

Does anyone know of a good plugin that can replace essentials command /who ?

bronze bison
near sentinel
#

Oh, how'd I get in this channel. My bad!

near sentinel
#

Is this channel appropriate for javascript placeholders?

bronze bison
#

Yes

near sentinel
#

Okay, so for supervanish there's a placeholder %supervanish_isvanished% that returns yes or no. Is there a way to make the placeholder compare to a username instead of the user who executed the placeholder?

#

I guess it's not really a javascript question but it's where I got stuck in my javascript

bronze bison
#

So u want to get the result of the placeholder as another player

brisk coral
#

🐳

bronze bison
#

if so, use parseother expansion

near sentinel
#

Oh, thanks

bronze bison
#

np 😄

near sentinel
#

Okay, here's my javascript. I'm trying to take the list I get from listplayers and remove anyone who is vanished.

function onlinelist() {
  var list = "%listplayers_with_perm_group.hobo%";
  var listLength = list.length;
  var lastPos = 0;
  var lastName = "";
  var fixedList = "";
  var i;
  for (i = 0; i < list.length - 1; i++){
     if (list.charAt(i) = " "){
         lastName = list.substr(lastPos, (i-1);
         if ("%parseother_" + lastName + "_supervanish_isvanished%" == "No"){
             fixedList = fixedList + "Lastname&8, ";
         }
         lastPost = i+2;
  }
  return fixedList;
}
onlinelist();```

But I am getting this error
```Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
at ParseOtherExpansion.onRequest(ParseOtherExpansion.java:36) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:234) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:374) ~[?:?]
at com.extendedclip.papi.expansion.javascript.JavascriptPlaceholder.evaluate(JavascriptPlaceholder.java:89) ~[?:?]
at com.extendedclip.papi.expansion.javascript.JavascriptExpansion.onPlaceholderRequest(JavascriptExpansion.java:169) ~[?:?]
at me.clip.placeholderapi.PlaceholderHook.onRequest(PlaceholderHook.java:38) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:234) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:202) ~[?:?]
at me.clip.placeholderapi.commands.PlaceholderAPICommands.onCommand(PlaceholderAPICommands.java:190) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)```
#

Seems I can't get the parseother placeholder to work :/. Anyone able to confirm it works for 1.14?

brisk coral
#

it does

near sentinel
#

I am unable to manually parse it for example
/papi parse Kureen %parseother_kureen_supervanish_isvanished%

brisk coral
#

do you have the expansion?

near sentinel
#

Yeah, I did the ecloud

brisk coral
#

and have you reloaded papi after doing that?

near sentinel
#

Yes

round sand
#

whats the placeholder for the rank?

#

i dont find it

near sentinel
#

What rank?

round sand
#

like %group%

#

i dont work on the server i use it for

near sentinel
#

Maybe %luckperms_highest_group_by_weight% ?

round sand
#

i use pex

brisk coral
#

%vault_rank%

round sand
#

ty 😄

#

but one more thing haha

brisk coral
#

make sure you have the expansion btw

round sand
#

ok

#
  • papi factions
#

my factions placeholders dont work

brisk coral
#

do you have the expansion and have reloaded papi?

round sand
#

wut?

#

how do i do the expansion

brisk coral
#

/papi ecloud download factions
/papi reload

round sand
#

i have done that

#

now

brisk coral
#

and does it work?

round sand
#

Yes!

solemn river
#

Shouldnt prefixes work if i have papi + deluxechat + luckperms and i downloaded luckperms expansion

#

formats:
default:
priority: 2147483647
channel: ''
prefix: '&7[%luckperms_prefix%&7] '

sharp jay
#

@deft hemlock nope

#

ye

#

thats for spigot

solemn river
#

help

near sentinel
#

For javascript placeholders. What types of engines are available? nashorn doesn't seem to have the .includes function

elder igloo
#

What placeholder do I do to get a different bungee serveds statud

#

So when they hover over the server in compass it shows if online or offline

sharp jay
#

I think it requires for the thing to be actually paid

#

and not just bought for free @deft hemlock

#

Ask the dev?

elder igloo
#

Anyone got any idea about my issue?

royal parcel
bronze bison
#

Yes, check progress expansion 😄

royal parcel
#

thanks

bronze bison
#

np

royal parcel
#

Can u give me a format ? I don't know which one to use

bronze bison
#

Use player health placeholder from player expansion

#

And check progress expansion repo, for more info about it

vivid sparrow
#

#progress

bronze bison
royal parcel
#

ok (._.)

wet basinBOT
#

@round sand Unknown expansion.

#

@round sand Unknown expansion.

royal parcel
bronze bison
#

Send the placeholder u tried

royal parcel
#

%progress_bar_{player_health}_c:&a■_p:&e■_r:&7■_l:10_m:{player_maxhealth}%

#

hmm wrong placeholder maxhealth

#

letme fix

bronze bison
#

just use the maximum number player_health placeholder returns?

#

Ill look into that error

royal parcel
#

ok

#

still have error

bronze bison
#

same error? And whats the placeholder now

royal parcel
bronze bison
#

Try with one of these maybe

%player_health_rounded%
%player_health_scale%
#

Im not sure which one will work, if none did ill look into them and see

#

On phone rn

royal parcel
#

aBooDyy

#

it worked
but
It always displays the full bar
And I remember, you can't have the two existing and maximum values equal
That will always make the bar full
btw my english is very bad: neut_face:

bronze bison
#

@royal parcel Good! if u dont want the full bar text, just make it 10 red hearts ?

royal parcel
#

i know

#

but ..

#

the problem is you put the max value is same value with placeholder

bronze bison
#

hm?

royal parcel
#

Ex

bronze bison
#

the max value should be the goal, which in your case 10 or 20, up to the placeholder u used

royal parcel
#

If i have 13 health remaning the maxvalue will is 13

#

what will display full bar

bronze bison
#

no no no

#

u set the max value without using a placeholder

royal parcel
#

but i have a Skillapi

bronze bison
#

and?

royal parcel
#

can increase max heath per level

bronze bison
#

ah, well then is there a placeholder for max health ?

royal parcel
#

skillapi placeholder ?

#

yes

bronze bison
#

ok use it then?

royal parcel
#

ok let me try

river pollen
#

I cannot find the ecloud extension for DeluxeJoin. Am I missing something?

wet basinBOT
#

@brisk coral Unknown expansion.

brisk coral
#

what placeholder are you trying to use?

river pollen
#

It's printing %player% in chat as opposed to the player name

brisk coral
#

%player_name%

#

and make sure you have the player expansion

river pollen
#

Ah so it was just the wrong tag.

#

Ty

steep thorn
#

Is there a placeholder that returns the value of a placeholder as if it was in the context of another player?

#

Thanks, I couldn't find it in the wiki.

#

I suppose it's not possible to replace {username} with another placeholder that returns a playername?

brisk coral
#

it is ye

#

(read the second example)

steep thorn
#

😮

#

Sorry

#

This is really interesting though

vivid sparrow
#

Ikr

near nimbus
#

How do I update an item in DeluxeMenus when a placeholder changes?

#

o i think i found it

#

view requirements

#
        vanila_online:
          type: string equals ignorecase
          input: '%pinger_online_127.0.0.1:25565%'
          output: '&aOnline'```
bronze bison
#

if this what u want then yes

#

But keep in mind that dm doesn't support animated items

#

so player need to click an item with refresh action, or reopen the menu

near nimbus
#

ah ok thanks

bronze bison
#

np 😁

bronze bison
#

Hey @near sentinel
sorry i didnt reply to u about ur js placeholder issue (was doing somethings and was lazy to write this tbh :p),
Current js expansion doesn't support having a variable (js variable) inside of a placeholder (like u have with the parseother placeholder) so thats a thing. To fix this, i added a method to the js expansion (not live yet) to be able to parse placeholders with variables insde them, by doing Placeholder.setPAPIPlaceholder(BukkitPlayer, "PAPI Placeholder without %%"). All info about this version i made can be found here https://github.com/PlaceholderAPI/Javascript-Expansion/pull/8/

another thing ive just noticed is ur list variable, ure treating it as an array, while its a string, to make it an array contains all players, u gotta split it, var list = "%listplayers_with_perm_group.hobo%".split(","); and by this the for loop should work fine for u, also with this, u wont need these things that i dont really understand why u have them?
just check if the player is NOT vanished and if he isnt, add him to the new list fixedList += list[i] + ", ";

guess that should work for you, let me know how this goes with u 😄

#

and btw, u might have to add {} between the player name inside of parseother placeholder. not sure but i remember that u need that
try with papi parse command and see if u need that or no

rigid lance
#

Guys what is the placeholder for total online members

bronze bison
rigid lance
#

Is that pinger?

#

Or I can use the bungee placeholder

bronze bison
#

edited the link

#

u can use server, bungee or pinger

#

whatever u want

#

each is for a certain use, pick the one u need and use it 😄

near sentinel
#

It doesn't seem to work with your suggested changes :/ I get an unknown exception

>.... [22:18:09 WARN]: java.lang.NullPointerException
>.... [22:18:09 WARN]: at de.myzelyam.supervanish.hooks.PlaceholderAPIHook$1.onPlaceholderRequest(PlaceholderAPIHook.java:44)
>.... [22:18:09 WARN]: at me.clip.placeholderapi.PlaceholderHook.onRequest(PlaceholderHook.java:40)
>.... [22:18:09 WARN]: at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:234)
>.... [22:18:09 WARN]: at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:202)
>.... [22:18:09 WARN]: at ParseOtherExpansion.onRequest(ParseOtherExpansion.java:45)
>.... [22:18:09 WARN]: at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:234)
>.... [22:18:09 WARN]: at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:202)
>.... [22:18:09 WARN]: at com.extendedclip.papi.expansion.javascript.JavascriptPlaceholder.evaluate(JavascriptPlaceholder.java:90)
>.... [22:18:09 WARN]: at com.extendedclip.papi.expansion.javascript.JavascriptExpansion.onRequest(JavascriptExpansion.java:122)
>.... [22:18:09 WARN]: at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:234)
>.... [22:18:09 WARN]: at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:202)
>.... [22:18:09 WARN]: at me.clip.placeholderapi.commands.PlaceholderAPICommands.onCommand(PlaceholderAPICommands.java:190)
>.... [22:18:09 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
#

I can confirm that parseother works though. It was that the { } are required, but I figured that out yesterday :)

bronze bison
#

doesnt seem to be the whole error? send it here pls

#

=paste

tender vaporBOT
#
HelpChat Paste

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

near sentinel
bronze bison
#

interesting

#

what the command returns ?

near sentinel
#

This is the modified js btw

function onlinelist() {
    var list = "%listplayers_with_perm_group.hobo%".split(", ");
    var vanishList = "%supervanish_vanishedplayers%";
    var length = list.length;
    var lastPos = 0;
    var fixedList = "";
    var i = 0;
    for (i = 0; i < length; i++){
        if (vanishList != ""){
            if(("%parseother_{" + list[i] + "}_{supervanish_vanished}%") === "Yes"){
            }
            else {
                fixedList += (list[i] + ", ");
            }
        }
        else{
            fixedList += (list[i] + ", ");
        }
    }
    return(fixedList);
}
onlinelist();```
#

The command returns a list but vanished players are in the list

bronze bison
#

no need to check if parseother placeholder is yes then give nothing to do, check if its no and add what u have in else there and thats it

#

also, when u parse the parseother placeholder but using the command, does it work?

#

with the super vanish placeholder

#

oh wait

near sentinel
#

Yea, parseother is working

bronze bison
#

dont think its parseother, cuz u arent using the method i talked about

#

guess its %supervanish_vanishedplayers%

near sentinel
#

Hm?

bronze bison
#

did u read the first part of my big message

#

?

#

also, try parsing that vanished players placeholder using parse command

near sentinel
#

Yea

bronze bison
#

does it give an error ?

#

ok then use what i said?

near sentinel
#

No, no errors

bronze bison
#

well then use what i said in the first part

tight surge
#

Hi, is there a total hostile mobs killed statistic placeholder?

vivid sparrow
#

No, only for total mobs killed.

shadow river
#

How can i make the utc time

tight surge
#

What is the total mobs killed statistic placeholder, I can only find a "statz" one and it doesnt seem to work even after downloading it and reloading papi

brisk coral
#

%statistic_kill_entity:<mob>,<mob2>%

tight surge
#

I really gotta type each mob name to get all mobs

shadow river
#

Ok

#

How can i make the utc time

#

?

vivid sparrow
#

Of? Lol

vapid basin
#

Can i call Papi variable (%cmi_user_afk%) in skript?

vivid sparrow
#

Ask on skript servers.

brisk coral
#

:lel:

cedar gust
#

Hey, I just had the greatest nightmare. All my placeholders extensions got deleted, when I tried redownloading them and doing /papi reload, they all got deleted again. A reload fixed the problem, but I wouldn't want to have this happen again. There were no errors in the console or anything. Any suggestions what could have caused that?

carmine veldt
#

Nightmares can be caused by anxiety and depression.

cedar gust
#

My chat was %vault_prefix% %essentials_displayname% %deluxetags_tag% lol

#

it was horrific

carmine veldt
#

Sounds horrible, best of luck to your next sleep

cedar gust
#

uhm it was a nightmare in real life tho

#

this just happened

austere hawk
#

@carmine veldt be grateful 😋

bronze bison
#

Lmao piggy

cedar gust
#

It was scary tho

carmine veldt
#

I bet. Life-like nightmares are a well-known topic in today's western cultures, thanks to their prevalence in movies and other forms of media.

cedar gust
#

darn it!

#

lol

carmine veldt
#

forgot to actually say my point in the previous message lol

#

was meant to put something like

#

"I know what you're going through"

#

o actually I suppose "I bet" suffices

cedar gust
#

lol, well, it was horrific, they kept disappearing 😭

carmine veldt
#

in the circumstance that this shocking event actually commenced, I haven't the faintest clue of any likely causes.

#

I'd say a possible malicious plugin, but that's a bit of a stretch, and I can't see any reason why a plugin would delete your expansions.

cedar gust
#

me neither, let's justhope all my folling dreams are pleasant!

lilac verge
#

hey is there any buycraft placeholders?

brisk coral
#

There is not iirc

lilac verge
#

aw.. cuz ik there's a buycraft api :/

#

leaderheads has a buycraft "board" but idk how to use it.. (i have leaderheads, and i wanted my donator crate.. to be the SKIN of the recent donator, because my crates are NPC's for some reason xd)

brisk coral
#

perhaps this nerd could help you @steep thorn

steep thorn
#

@lilac verge Send me some proof of purchase please

lilac verge
#

ok, tbh i did add you on my main discord xd but ye lemme message you there ( Journett#0069 )

nimble talon
#

Where can I find the right versions for all api's for 1.12.2?

austere hawk
#
  • '&7Rank: %vault_rank%' dont work
    why
tardy pivot
#

There is a /papi ecloud update

#

or some command to update all your expansions?

bronze bison
#

/papi ecloud refresh iirc

#

@austere hawk if ur plugin ure using this in supports papi, then make sure u have vault expansion

/papi ecloud download vault
/papi reload
pastel lily
#

i just donwloaded the kitpvp placeholders and i did /papi list and there was nothing there

brisk coral
#

/papi reload

pastel lily
#

still 0

brisk coral
#

do you have the plugin?

pastel lily
#

which one

brisk coral
#

the kitpvp one..

pastel lily
#

yesw i have it

brisk coral
#

manually download the expansion from the cloud download then

pastel lily
#

i did

#

but it doesnt work

lethal swift
#

hello if i download placeholder api for my hub server

#

but then i ecloud download bungeecord

#

do i also need to download placeholder api on my bungeecord server?

brisk coral
#

nop

lethal swift
#

kk

#

its gonna fetch autpomatically from my hub server

#

thats nice

glad lion
#

placeholder API doesn't work on bungee

#

It just has an expansion which uses bungees plugin messaging for getting info from it

lethal swift
#

soo

#

if i want to get playercount on a certain bungee server

#

the bungee plugin on placeholder api doesnt work?

glad lion
#

The plugin asks the proxy for the player count

#

Basically, it works using magic

high stump
#

So I was using the {player_Server} placeholder in order to see what server players on my network were on from any other server, it now says 'now available in the server expansion'
When looking at the server expansion the only one similar is {server_name} which is redundant because you can't set that in a 1.14.4 server.properties. Just defaults to 'A Minecraft Server'.

lethal swift
#

ok ty eletronicboy it works

brisk coral
#

Squacious, that value is set in the PlaceholderAPI config

high stump
#

Ah okay, is there a reason the player_Server was removed? It was so useful

fresh timber
#

Hey

#

can someone tell me why I can't download Jobs expansion to Papi ?

vivid sparrow
#

They moved away from expansion to build-in placeholders, read the wiki

austere hawk
#

Hello, I am using Spigot 1.14.4 and when I install Placeholder API on my server, it floods errors on my cmd. Please help

balmy marten
#

Bit hard to help without the errors ;)

#

Throw them into a paste

#

=paste

tender vaporBOT
#
HelpChat Paste

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

steep thorn
#
  • is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [*] and urge them to update it ASAP.
#

Is this an error or a warning?

#

As in, does the integration still work or will it not hook properly?

balmy marten
#

The hook no longer works

#

Warnings were given out awhile back

#

Then the old hook was completely removed

brisk coral
#

"awhile back"

#

a long while back

steep thorn
#

Alright, thanks for the info

robust star
#

Heya

#

Whats the placeholder for PowerRanks? Can't find it in github

mint fable
#

@robust star ^

robust star
#

hm....not working with quickboard

mint fable
#

You have the expansion right?

#

And reloaded?

robust star
#

Yup

mint fable
#

=plugin quickboard

#

Oh shoot I think it is broken still

#

Did you restart server by chance?

#

Plugin page says to

robust star
#

Yea, restarted like 5 times lol

ember crown
#

Hi, I need help with Pinger placeholders

lament plover
#

pinger_max

#

sounds like it has something to do with dos

ember crown
#

Wtf?

#

No no

#

No DoS or DDoS

#

Btw that ip is bungeecord, spigot ip works

#

Bungeecord doesnt work?

lament plover
#

its possible, you may want to look into the source of the plugin.

#

Bungeecord is just a proxy, it handles things diffrently.

ember crown
#

Oh, i thinking pinger works on the bungee 😄

#

So no

#

Thanks for any help 😉

mint fable
#

Can you send your startup log and quickboard config over @robust star ?

#

=paste

tender vaporBOT
#
HelpChat Paste

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

mint fable
#

@ember crown might wanna remove that ip if it's your actual server ip

ember crown
#

Removed

mint fable
#

👍

#

where is your max players set? In your server.properties?

warm ocean
#

Is there a placeholder equal to "@a[tag="Example"]"?

bronze bison
#

hmm?

brisk coral
#

wut

warm ocean
#

Like "tellraw @a[tag=Example] {"text":"Example Tellraw"}" but instead of "@a[tag=Example]" a player placeholder for only players with a specific /minecraft:tag

bronze bison
#

idk how that works tbh, but if ure running this command through a plugin, ull be able to use a papi placeholder there if the plugin supports papi

brisk coral
#

:WhatThe:

#

if the plugin supports papi you can use tellraw %player_name% {"text":"Example Tellraw"}

#

make sure you have the expansion downloaded and papi reloaded

fervent moth
#

Hello, i have problem with upload placeholder for Jobs Reborn. Placeholders not active on server

brisk coral
#

Which placeholders are you using?

fervent moth
#

%jobs_name_jobname%

brisk coral
#

have you downloaded the expansion, aswell as reloaded papi?

bronze bison
#

they have changed the placeholders recently

brisk coral
#

oof

fervent moth
#

Not working ;/

#

%jobsr_user_id%

bronze bison
#

where are u using it?

fervent moth
#

FeatherBoard

bronze bison
#

use {placeholderapi_jobsr_user_id}

#

this is how u use a papi placeholder in mvdwpapi (fb)

fervent moth
#

It still does not work 😦

bronze bison
#

u have latest jobs right ? also does it work in /papi parse me %jobsr_user_id%

fervent moth
#

It was displayed %jobsr_user_id%

bronze bison
#

how about the first question ?

fervent moth
#

Yes

bronze bison
#

try restarting the server

fervent moth
#

Okay

#

Same :/

bronze bison
#

well then, contact them.

fervent moth
#

Fb authors?

#

or jobs reborn?

bronze bison
#

nope, jobs

fervent moth
#

Okay

bronze bison
#

Remove the %%

#

and rip

#

Contact the author ^^

vivid sparrow
#

/kill @deft hemlock

tropic vault
austere hawk
#

Need some help with LeaderHeads x Papi.

I'm trying to set a sign with the command /leaderheads setsign %statistic_time_played% 1 alltime but it isn't working on the sign. I have downloaded the Statistic expansion and verified it.

steep thorn
#

^ Some clarification, the statistic expansion doesn't seem to register properly, as /papi parse me %statistic_time_played% also just returns the placeholder

vivid sparrow
#

download 1.7.0 for 1.12.2 and lower

austere hawk
#

i'm on 1.14.4

vivid sparrow
#

ah welp

steep thorn
#

@austere hawk any errors in console?

austere hawk
#

i dont see any

steep thorn
#

Any known issues with Statistic on 1.14?

#

Doesn't seem to work properly for @austere hawk

bright hatch
#

how would I change my timezone

bronze bison
#

change ur server's timezone 😄

bright hatch
#

what config would that be in ;x

#

searched for like 30mins

bronze bison
#

not in a config, it takes the server/vps/machine timezone

bright hatch
#

ooh for real

#

k thanks

polar dragon
#

Good evening. I have a question! I'm using the WorldGuard placeholder to view the current region in my TAB.

#

In some regions it works fine. In other regions it doesn't and it will show the %-% placeholder text. It, at the same time, breaks the other placeholders until I go to an other region. Sometimes it starts to flicker between the two.

#

I've used papi parse %worldguard_region_name_capitalized% in both area's. In one it works great, in an other region it gives me an error and console error. I have included this in the pastebin. Problem is very easy to re-produce, so if you need any other debug info let me know. https://pastebin.com/6AKw9um3

#

If someone is able to help me, that would be very appreciated. If I need to supply any more info, please let me know :). Thanks in advance!

polar needle
#

hello

#

what is the recommended version of placeholder api for minecraft 1.8.8?

#

i will give 3€ to the people that help me

#

4€

#

4€ instant via paypal

final shadow
#

Latest

#

Send it

balmy marten
#

lol

vivid sparrow
#

Lmao

#

@deft hemlock math?

limpid spear
#

Does anyone know if there a placeholder in either papi or mvdw to get a comma separated list of playernames from a server on either a bungee network or from an address?
Example: %playerlist_30@server.com:25565% or %bungee_playerlist_30@_survival1 would display as Player1, Player2, Player3, etc up to the 30th player and then stop. (this is to stop lore from getting huge in guis and such) perhaps could do it in intervals of 10, 20, 30, etc?
I have found one from mvdw that displays a comma separated list of playernames that are on the current server, but none that display a comma separated list of players on another server.
I'm basically trying to create a deluxemenu item for my hub server that shows a few of the playernames that are playing on certain servers so people don't have to login and check or use /glist :)
Any help would be appreciated. 👍

Example photo of what I am looking for:
(Where it says "Online:")
https://gyazo.com/b260d6d5e109b241c9a8f9a638c9299b

bronze bison
slender onyx
#

Hello! My javascript doesnt work! https://paste.helpch.at/wimivokoya.php
generators-upgrade.js file name
[PlaceholderAPI] File: generators-upgrade.js for javascript placeholder: generators-upgrade is empty
In javascript_placeholders.yml i have
generators-upgrade:
file: generators-upgrade.js

bronze bison
#

the file is empty ..

#

make sure ure editing the correct file and u saved it after u finished

slender onyx
#

Yes i saved and no its not empty...

bronze bison
#

well then id say change the - to _

slender onyx
#

tried... still doesnt work

bronze bison
#

i don't see any reason why it wouldn't work...

#

ive had files with _ so don't think its an issue

polar dragon
#

@bronze bison Thanks for the help! Plugin won't load though. Jar does not contain plugin.yml

bronze bison
#

its not a plugin, its worldguard expansion that u need to replace with the current one u have in plugins/PlaceholderAPI/expansions/ folder

polar dragon
#

Aaah apologies for the mistake

#

I'll try it right away

hallow quail
#

does deluxejoin have a papi expansion??

bronze bison
#

nope, it doesn't provide any placeholders

hallow quail
#

when I join the server it says [+] %player%

bronze bison
#

well it uses papi placeholders

#

and that is %player_name%

hallow quail
#

ahh

#

okay

#

i'll try that

#

thanks

bronze bison
#

also, make sure u have player expansion

#
/papi ecloud  download player
/papi reload
hallow quail
#

okay

#

thanks

bronze bison
#

np

hallow quail
#

what about the %online% placeholder?

#

that doesn't work either

bronze bison
hallow quail
#

thanks lmao

bronze bison
#

😃

zenith vessel
#

Does Featherboard really not support "%" placeholders??

thorny patio
#

Hello, I am attempting to make a javascript placeholder that allows me to put an ABC rank into chat, Pre 1.14 this worked fine and I have had it working really well however after I updated to 1.14.4 it just stopped working and started returning errors, I will include the file and error message below. If you know how to fix this it would be great if you could let me know how.

Error: https://paste.helpch.at/owibosulob.php [This was everything that happened after a player typed "Hello"]
Code: https://paste.helpch.at/totujajibe.js

Thanks.

vivid sparrow
#

@thorny patio try remove some variables at the top and try again.

#

@zenith vessel Featherboard uses mvdw placeholders

austere hawk
#

how can it be that users without the permission to use papi still can access it's commands? (using UltraPermission)

vivid sparrow
#

never heard of this problem berore, are you talking about /papi or smth more like /papi reload?

austere hawk
#

both

vivid sparrow
#

hmm, odd

austere hawk
#

agree

vivid sparrow
#

anybody else using papi and uperms can confirm this?

oblique radish
#

I have a very quick question

bronze bison
#

@thorny patio the script u sent doesnt seem to be the one the error about

#

well guess theres 2 different placeholders in that error

oblique radish
bronze bison
#

what do u want to do?

open ruin
#

ecloud downloads aren't working for me, I just get the response "No cloud expansions are available at this time"

novel elbow
#

i need help

iron sierraBOT
#

Theres not time to wait! Ask your question @novel elbow!

novel elbow
#

ecloud not working

#

Help me please

bronze bison
#

?ecloudblock

tender vaporBOT
#
FAQ Answer:

Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.

elder stump
#

Will WildStacker be supported by PlaceholderAPI? How money kills etc.

brisk coral
#

I mean asking the author would help

#

since he needs to implement it

oblique radish
#

@bronze bison I want just to use skript variables in my plugin, so i figured i should just use PAPI for it.

bronze bison
#

so u want to support papi placeholders in ur plugin

brisk coral
#

There's a page which explains that

polar dragon
#

@bronze bison Sorry for the late response, but it does not seem to load as an expantion :( Should I replace the origional?

tender vaporBOT
#

@polar dragon

Hey,

Please be patient and don't ping helpful or staff members!

spice lion
#

Problem with DeluxeChat/Format

I am op, on the kyrox account, and I do have a tag, but it doesn't show.

On my alt, I'm not OP, and I have a tag, but it doesn't work

worked fine a few hours ago
I did some stuff with lp tracks
Could that cause it?

wet fulcrum
#

➖2

thorny patio
#

@vivid sparrow : It seems to just move the placement of the error, its like there is a cap on how long the file can be...
@bronze bison There are 2 scripts, they are the same but with a slight modification to what it returns so there should be no effect. The script I sent is the one I care about and it is also causing an error.

tender vaporBOT
#

@thorny patio

Hey,

Please be patient and don't ping helpful or staff members!

thorny patio
#

i was replying to them

vivid sparrow
#

@thorny patio try using
var p = Bukkit.player;
if (p.hasPermission())

thorny patio
austere hawk
#

How about using BukkitPlayer?

thorny patio
#

so instead of bukkit.player I use BukkitPlayer?

austere hawk
#

Yeah

thorny patio
#

[00:01:30] [Server thread/WARN]: [PlaceholderAPI] File: abcrank.js for javascript placeholder: abcrank is empty
uh?

#

its not empty

#

and still does the same thing

bronze bison
#

@polar dragon delete the old one (the original one) and put the new one (the one u downloaded from the link i sent)

#

@thorny patio do u have comments in ur script?

#

Also yea its BukkitPlayer not Bukkit.player

#

but i don't think thats the issue

thorny patio
bronze bison
#

This still doesn't work???

#

send the error pls

#

Would be good if u parsed it using /papi parse me %js p%

#

And then send the error u get

thorny patio
#

alright gimme a sec

#

no error, just the File: abcrank.js for javascript placeholder: abcrank is empty thing

bronze bison
#

Well its not reading the file if its not empty

thorny patio
#

and how would I fix that?

bronze bison
#

Idk tbh... Haven't had issues with this

#

Make sure ure saving the file...

#

Maybe try in another file/placeholder and restart? Idk

thorny patio
#

same error after putting it into a new file

#

it must be something to do with the code

#

but the code has correct syntaxing to what I can see

#

it only started happening after I updated to 1.14

#

1.13.2 was fine

bronze bison
#

Ok ill look into it

polar dragon
#

aBooDyy Thanks for the help! This version works without any problems.

bronze bison
#

Did you try %worldguard_region_max_point_x% ?

bronze bison
#

hey @thorny patio,
i've tried the placeholder, looks like the issue is from the these characters
so u have to replace them with their unicode (u can find them here https://unicode-table.com/en/search/?q=Circled+Latin+Capital)
Copy the U+#### code and replace it with \u#### in ur script
so for it will be return "&7\u24CF";

scenic sorrel
#

how would I list how many players are in a certian bungeecord server?

balmy marten
viral plaza
#

I accidently downloaded the wrong expansion and the one I downloaded is giving me console errors. Is there a command to disable/delete a downloaded expantion?

balmy marten
#

Easiest way is just remove it from the /placeholderapi/expansions folder

thorny patio
#

alright thanks (not going to mention you) aBooDyy, It's all working now.

bronze bison
#

no problem 😁 👍

quick leaf
#

Hello!

bronze bison
quick leaf
#

thx

bronze bison
#

np 😄

vivid sparrow
#

@bronze bison mind showing me how to read a config using js?

bronze bison
#

not really, look into it... Its not hard at all

vivid sparrow
#

look into what haha xD

bronze bison
#

How doing that?

#

Instead of me showing u

vivid sparrow
#

...

#

whatever

brisk coral
#

@bronze bison can I has link to the cooldown thingy

bronze bison
graceful adder
#
        if(Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null){
              new SomeExpansion().register();
        }

This should have the instance of the plugin on the brackets of the SomeExpansions if i'm not mistaken

bronze bison
#

Thanks for letting us know.
I've just fixed it.

graceful adder
#

I created a hook inside my plugin and I'm not getting any luck making it work, when papi starts it should recognize it as an expansion?

vivid sparrow
#

No, only actual expansions are.

bronze bison
#

but it will appear in /papi list iirc

graceful adder
#

im not getting any stacktrace out of this error so i don't know why im getting that error

bronze bison
#

make ur plugin soft depend on papi

graceful adder
#

Im having it depend

#

Does that make any difference?ç

bronze bison
#

No should work that

graceful adder
#

depend: [PlaceholderAPI] # If your plugin requires PlaceholderAPI, to work, use this.

bronze bison
#

did u get any errors when ur plugin loaded

#

?

graceful adder
#

Nope

bronze bison
#

when ure plugin is being enabled.. when u start the server?

graceful adder
#
>.... [14:18:45 INFO]: [EloPlugin] Enabling EloPlugin v1.0-SNAPSHOT
>.... [14:18:46 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
>.... [14:18:46 INFO]: [PlaceholderAPI] Successfully registered expansion: deluxechat
>.... [14:18:46 INFO]: [PlaceholderAPI] Successfully registered expansion: player
>.... [14:18:46 INFO]: [PlaceholderAPI] Successfully registered expansion: luckperms
>.... [14:18:46 INFO]: Done (21.335s)! For help, type "help"
[Prism Daemon] Server marked as ON
bronze bison
#

Make ur identifier lower case

graceful adder
#

Yeah it now registers

#

Can you add a note on that so someone doesn't repeat the same mistake?

glad lion
#

Plugin should probably shout at people when they do stuff like that vs silently just not registering it

#

(Assuming that nothing has been missed from the log there)

graceful adder
#

yeah true

bronze bison
#

This issue has been fixed in dev build.

#

So it will be fixed in the next version of PAPI.

glad lion
#

reles or be executad!

graceful adder
#

however im not getting any luck on getting my new placeholder working

#

it's registered but my %eloplugin_elo% is showing as it is

bronze bison
#

Where ure using it?

#

Try it using /papi parse me %placeholder%

graceful adder
#

returns the %placeholder%

bronze bison
#

i mean /papi parse me %ur placeholder here...%

runic dirge
#

Guys how to add to my scoreboard the vote party???

sharp jay
austere hawk
#

I'm trying to use PAPI with my kitpvp plugin and it will show the values on the side for a split second on join. And then vanish right after and only show the placeholders.

graceful adder
#

i mean it returned my placeholder literally

austere hawk
#

ok

#

Literally

#

yes

mint fable
#

@graceful adder Your own expansion?

graceful adder
#

i mean my placeholder is %eloplugin_elo%

mint fable
#

But is it your expansion?

graceful adder
#

Yeah

mint fable
#

Can you send the code?

#

=paste

tender vaporBOT
#
HelpChat Paste

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

graceful adder
#

The identifier is all lower case now

mint fable
#

EloPlugin

#

ic