#placeholder-api

1 messages ยท Page 63 of 1

mint fable
#

this guy crazy

bronze bison
#

agree

brisk coral
#

48 ||so it fits my sleep schedule||

bronze bison
#

no one cares about ur sleep schedule ๐Ÿ™‚

#

๐Ÿ˜›

neon oxide
#

Thank you so much @bronze bison ๐Ÿ˜Š

bronze bison
#

np ๐Ÿ˜

neon oxide
#

๐Ÿ‘Œ๐Ÿป

jade roost
#

Hey guys! I am trying to create a scoreboard plugin for my server, And i am trying to hook placeholderAPI into my plugin. Anyone able to help on how to do it?

#

String current = ChatColor.translateAlternateColorCodes('&', scoreboardtext.get(i)); current = PlaceholderAPI.setPlaceholders(p, current);Will this register all the placeholders from PAPI or am i doing it completely wrong

bronze bison
#

no looks correct

#

and yes by that ull be able to use all papi placeholders there

jade roost
#

What is the player needed for though? Just wondering

#

is it for registering it for that player?

final shadow
#

It sets the values of the placeholders to the player you specify (usually the one viewing the text)

jade roost
#

Ahh yeah of course lmao

#

So for example, The player the text was created for got his name

final shadow
#

Yes

jade roost
#

when using {player} of course ๐Ÿ˜›

#

Alright! All i had to know, Thanks!

neon oxide
#

The plugin broke after a server restart, out of nowhere :(
WARN Task #19 for PlaceholderAPI v2.10.2 generated an exception

trim mist
#

A startup log would help.

brisk coral
#

=paste

tender vaporBOT
#
HelpChat Paste

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

#
๐Ÿ“‹ Your paste, HeyOppa
https://paste.helpch.at/zukocijayo

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

neon oxide
#

Since it's quite small, I didn't see a reason why? But I'll make sure next time ๐Ÿ˜‰

#

.....

trim mist
#

Means you're using WorldGuard expansion but it doesn't think you have WorldGuard installed.

mint fable
#

ah

#

you're using the latest worldguard?

#

@trim mist not the case

#

sk89 fucked everything up

neon oxide
#

I think I am, yeah.

mint fable
#

Right now the WG expansion is only good for Worldguard 6.2.2 and below

#

Worldguard 7 changed a LOT of things

neon oxide
#

So, what should I do?

mint fable
#

try 6.2.2 on 1.13?

#

not sure if it'll work

#

wait

#

you're on 1.12

#

why use the 1.13 version of wg

#

and how O.o

neon oxide
#

I'm not? I'm using the following: worldguard-bukkit-6.2.2.jar

mint fable
#

i take back everything I said

#

Glare was correct

#

what's your papi version

#

latest

#

hmmmmmmm

neon oxide
#

Yeah.

#

PlaceholderAPI-2.10.2

mint fable
#

wait

neon oxide
#

If you visit the WorldGuard page on Bukkit one of their members said: It's their plugin so it's entirely their issue. We don't support other plugins.

mint fable
#

i think i got it backwards

trim mist
#

cj, it's an issue with the WorldGuardEpxansion.

mint fable
#

I did get it backwards

neon oxide
#

Hm, how does one solve this then? ๐Ÿ˜„

mint fable
#

gimme 1 sec to double check

#

before i say more stupid stuff

neon oxide
#

Sure, take your time ๐Ÿ˜ƒ

mint fable
#

/papi ecloud download worlguard 1.0.2

#

1.2.0 is for worldguard 7 and above

bronze bison
#

NoClassDefFoundError... they changes some stuff in the api...

mint fable
#

1.0.2 is for 6.2.2 and below

neon oxide
#

No expansion found with the name: worldguard

bronze bison
#

1.2.0 doesnt work for latest wg, cj

#

tried that yesterday

mint fable
#

it should do

#

what's the error you got?

bronze bison
#

but i guess it should work for him, since he isnt using new wg

mint fable
#

@neon oxide

bronze bison
#

NoClassDefFoundError

mint fable
#

what class

bronze bison
#

idk let me check

neon oxide
#

Should I try and upload that and restart my server? @mint fable

mint fable
#

yes

#

restart server just in case

neon oxide
#

Okay, I'll give it a try.

mint fable
#

okay aboody

#

I figured it out

#

sk89 fuck so many things

#

he fucked it, then unfucked it

bronze bison
#

yea lol

mint fable
#

so for 7.0.0 beta 1 the class was moved

#

and he put it back in beta 2

#

so 1.2.0 is only for 7.0.0 beta 1?

bronze bison
#

i checked it yesterday cuz i was talking a look at the issues in papi repo

#

and it didnt work for me, so i left it cuz im not so sure but i guess clip said that he wants to update the expansion

neon oxide
#

Yeah, that didn't work-

mint fable
#

1.0.2 doesn't work?

neon oxide
#

The file you told me to upload.

mint fable
#

can you check the version

neon oxide
#

What do you mean?

mint fable
#

can't remember the command for it, 1 sec

#

try /papi info worldguard

neon oxide
#

Yup, it says there's no such expansion.

#

But it's there lol

mint fable
#

startup log?

#

Also, did you make sure to delete the other one?

neon oxide
#

Oh..

#

You didn't tell me that-

mint fable
#

Not wrong

#

also, @bronze bison I can't keep the story straight

#

sk89 fucked stuff up and idk which version is for which and it's all lies

#

I THINK 1.0.2 is 7.0.0 beta 1 and below, 1.2.0 is beta 2 and beta 3

#

so 1.2.0 should work on the latest

neon oxide
#

I'm so confused lol

mint fable
#

you're not alone

neon oxide
#

๐Ÿ˜‚

mint fable
#

but if you delete that other expansion, it should start working

neon oxide
#

Hm, which one? The other WorldGuard one?

mint fable
#

what are the names of the files

neon oxide
#

They are different.

#

I deleted the older one and I'll now restart.

#

It works now ๐Ÿ‘Œ๐Ÿป

#

Thanks for the help @mint fable. Really helpful ๐Ÿ™๐Ÿป

mint fable
#

ya....

#

we got there in the end

neon oxide
#

It must be frustrated for you huh?

mint fable
#

that's all that matters

neon oxide
#

I can imagine lol

mint fable
#

I like to fuck everything up as long as I fix it in the end

#

right?

neon oxide
#

Well, yeah haha

#

๐Ÿ˜„

#

But I was mentioning the other guys messing everything up lol

mint fable
#

perfect

bronze bison
#

ill take a look at it and try it when i got some time to

limber ice
#

worldguard placeholders haven't worked for awhile now, since I don;t use I didn't seem to care

sharp jay
#

its been a while ya

final shadow
#

@ionic lodge can you fix the token enchant expansion version

#

Seems the version in the expansion doesnโ€™t match the version specified on ecloud

#

Causes users to always receive a message the expansion is out of date

trim mist
#

@final shadow Have you actually made changes to the plugin since last update? Thought you said you did.

final shadow
#

What

#

Papi?

trim mist
#

Ya

final shadow
#

Yeah but just one

#

Have a few more I want to do tho

trim mist
#

"Set version to dev build"

#

Okay

trim mist
#

Ahh okay.

final shadow
#

Kinda important only a 1 check change

trim mist
#

Fair enough.

final shadow
#

Hater

trim mist
#

It's a pretty solid update. Probably need more though.

final shadow
#

Duh

#

I have a few more things to do before release of an update

trim mist
#

Good

final shadow
#

Been working on dm all day

trim mist
#

Going to release 1.13 today?

final shadow
#

No

#

Friday Iโ€™m planning on dropping a zip for 1.13 and 1.14

trim mist
#

Nice. And then it'll just be 1.14 from then on?

vivid sparrow
#

๐Ÿ’ฃ

final shadow
#

Well api version is shit so yeah

#

Latest here on out

#

U know the plugin wonโ€™t load pre 1.14

trim mist
#

Good

#

Yup

final shadow
#

For 1.14 I am adding a nbt option

#

U can specify the key value of nbt data for an item

trim mist
#

Have fun with that

final shadow
#

Itโ€™s basically done lol

trim mist
#

Awesome.

final shadow
#

Go fix the bug in timeismoney

trim mist
#

No u

final shadow
#

Ez fix

#

Say I wonโ€™t

#

Already dealt with that one so itโ€™s as easy as adding if the event is sync or async in the constructor and only calling the event in the thread specified

vivid sparrow
#

Clip please stop ignoring me and update the engine of the js expansion, blobLove

final shadow
#

super(true)

#

Bruh na shorn is dead

#

Iโ€™m really not sure going forward what to do yet

#

Java eliminated the JavaScript engine

vivid sparrow
bronze bison
#

rip lol

#

well the current one isnt bad

vivid sparrow
#

No but could use an update =/

final shadow
#

Stay on java 8

vivid sparrow
#

Thanks for making it tho โค

final shadow
#

Lol

bronze bison
#

yea its the best expansion

ionic lodge
#

@final shadow will fix it

final shadow
clever quail
#

hey, whats exactly is placeholder for? im confused af

#

i have it downloaded, since a lot of other plugins require it. but is there anything i need to do with it specifically?

trim mist
#

There's not really too much you need to do with the plugin itself at this point in time! It's mainly for plugins to hook in to!

clever quail
#

okay awesome ๐Ÿ˜„

#

what about vault? can you give me any insight as to what that is?

#

is it essentially the same thing

trim mist
#

Yeah vault is a plugin that lots of economy and permission and chat plugins hook into

clever quail
#

but i dont need to do anything with it, either? I am doing a vanilla server so there isnt any economy. just LuckPerms and perhaps ChatControl

trim mist
#

Correct, you should be okay.

clever quail
#

You're awesome! I couldn't find anything that really spoke too much about either of the two.

trim mist
#

Glad I could help man!

ionic lodge
#

@final shadow fixed.

sharp jay
#

;o

ionic lodge
#

i forgot to add version placeholder in my groovy script.

final shadow
#

Ty

ionic lodge
#

np.

vast path
#

Hey @final shadow sorry for ping. But on the Pinger extension, it doesn't seem to support the second line of the MOTD could that be added like
motd_1 motd_2 or if they just do motd it would be the same as now? that would be really helpful in case of rn i could put a hologram with first line being RELEASING and second being the timer.
could you look into it?

slow lintelBOT
#
Gary Command Help Menu
Commands:

!faq - Retired command.
!help - Shows this menu.
!info - Get info about stuff
!papi - Papi command
!ping - Is gary online?

near nimbus
trim mist
#

Don't think you can parse those because it requires two factions

bronze bison
#

use the parserel command and for colors add some text after the placeholder to be able to see the color

trim mist
#

Latest PlaceholderAPI build from the CI is compiled under 1.14.1 if anyone wants to try it out.

limber ice
#

is there release for 1.14.1 yet?

trim mist
#

Of PlaceholderAPI?

limber ice
#

no, I forgot I was attempting to compiling 1.14.1, and forgot to check if it did it

#

the papi I have loaded just fine

frozen scaffold
#

Hi

#

good morning because this happens

balmy marten
#

You're missing the player and vault expansions of PlaceholderAPI

#

/papi ecloud download Player

#

/papi ecloud download vault

#

/papi reload

frozen scaffold
#

Thaxx!!

#

a query as I do to combine the prefixes of luckperms

#

@balmy marten

balmy marten
#

hm?

frozen scaffold
#

I want to show in the chat the prefix and suprefix of each group that I put in the permissions plugin

#

#luckperms

#

What?

vivid sparrow
#

@noble brook dont send useless messages.

balmy marten
#

Just need to download them with /papi ecloud download LuckPerms

frozen scaffold
#

Thaxxxxxxxxx Approved

#

@balmy marten I can annoy you once again sorry

balmy marten
#

Just ask, someone will help if not me

frozen scaffold
#

how do I set the name of the clan to appear

balmy marten
#

Which clan plugin is it?

frozen scaffold
#

Faction mcore

vivid sparrow
#

Here.

balmy marten
frozen scaffold
#

what I want to know where% factions faction% goes in the configuration folder

limber ice
#

@frozen scaffold %factions faction% goes where you want it to appear in the cat format

limber ice
final shadow
#

Thatโ€™s fine

#

If we specify an api version it will only work on the specific version we set after that api version was introduced

#

Ex: if we specify 1.14 then the plugin does not load on 1.13

#

Since we donโ€™t do anything regarding the breaking changes that require api version itโ€™s not necessary

balmy marten
#

Can we set it to an invalid one lol

final shadow
#

Uh

#

I donโ€™t think so

balmy marten
#

api-version: daddy

bronze bison
#

^^ ;p

vivid sparrow
#

stop lol

limber ice
#

I set my plugins to 1.13 and they work on 1.13 and 1.14

bronze bison
#

not all plugins do

limber ice
#

I know if they are coded to work on older version then 1.13 they don't like to work if you do that

hollow heart
#

is there any way to edit the format of a placeholder?

#

for example the %towny_town% placeholder, I would like to format it like this [TownName], but if you do [%towny_town%] and have no town, it ends up looking like [] in chat.

is there a way to edit it so the placeholder parses with the brackets like [TownName]?

limber ice
#

@hollow heart can you add the brackets on the town names in towny

hollow heart
#

i'll try that and see if it changes

brisk coral
#

You could edit the expansion if that doesn't work

limber ice
#

if that don't work then make a js expansion, but thats how I do it for LP prefixes

hollow heart
#

when you say add the brackets to the town names, where in towny's config is that?

limber ice
#

I add color and what ever bracket I want to use in prefix

#

I don't use towny, my guess is how you create the town names. if done by players then you will have to use a js placeholder to do it

hollow heart
#

alright i'll have to do that then

limber ice
hollow heart
#

how would I implement that as an expansion?

limber ice
#

did you download the JavaScript expansion?

#

then you add a couple of lines to javascript_placeholders.yml to create the file to place that code it

hollow heart
#

perfect! got it working, thanks for your help and for basically doing it for me

limber ice
#

next one you should have a better understanding how to do on your own

hollow heart
#

mhm

#

didnt know that the javascript expansion existed

latent prairie
#

Hey, is it "normal" if when I want to use the placeholder
%worldguard_region_name%
I see a lot of error ?

Spigot 1.13.2 latest build
Papi 2.10.2
Worldguard 7.0.0-beta-03;e51a220

trim mist
#

Yup, we're aware of it. It's an issue we have to wait on till a stable release of Worldguard is out.

latent prairie
#

Ok so I can prepare my commands on it ^^ Thanks

#

By the way, Worldguard is still alive ? ๐Ÿค”

trim mist
#

Yup

latent prairie
#

Ok perfect

#

Thanks !

frozen scaffold
#

@limber ice I tried to put it everywhere and could not give me an example?

limber ice
#

@frozen scaffold I don't recall what your issue was?

frozen scaffold
#

Hi I can not make the clan appear in the chat

limber ice
#

clan? and are talking about Dchat?

frozen scaffold
#

Yes

#

I have chat and mcore factions and I can not make the clan look in the chat

limber ice
#

what is the format in Dchat look like?

frozen scaffold
#

now i show you

limber ice
#

=paste

tender vaporBOT
#
HelpChat Paste

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

frozen scaffold
#

@limber ice

limber ice
#

it says you image was deleted

mint fable
#

worked for me

frozen scaffold
#

Ehat

mint fable
#

but not ss xD

frozen scaffold
#

What

limber ice
#

both attempts to open it says deleted

mint fable
#

?

frozen scaffold
#

Thax

limber ice
#

this is what I use ofr a prefix
prefix: '%deluxetags_tag%&7<%rel_factions_relation%%factions_role% %rel_factions_relation_color%%javascript_faction%'

#

the channel should be left alone at default settings

frozen scaffold
#

now I try it and I say

#

Okey

#

so that the symbols left him in this?

#

encode in UTF-8

limber ice
#

not too sure whats saying OKay

frozen scaffold
#

@limber ice

limber ice
#

well if you don't have deluxetags you should remove this placeholder, %deluxetags_tag%, and this placeholder is a JavaScript placeholder if you didn't set it up then it will not work, %javascript_faction%

#

do you have placeholderAPI

#

/papi ecloud download factions

#

/papi reload

#

the two commands at bottom have to be run to get the list of placeholders to work

frozen scaffold
#

I already did that

limber ice
#

also in dchat you need to enable relationship placeholders

#

relation_placeholders_enabled: true

frozen scaffold
#

is already activated

#

the truth that there is no way I think I'm going to have to change plugin

limber ice
#

what version of MC?

frozen scaffold
#

1.8

limber ice
#

I assume your running an older version of faction

frozen scaffold
#

Yes

limber ice
#

just went to my faction server and the chat is broken

frozen scaffold
#

One more thing, how do I put symbols?

limber ice
#

I have never done it, others who help say you change config format to UTF-8

#

open file in notepad++ and you can change encoding there

frozen scaffold
#

yes i did it and it stays the same

hollow ridge
#

Is there a way to sync placeholder api data across servers with mysql?

trim mist
#

Well considering PAPI actually doesn't store any data itself other than the config, no.

hollow ridge
#

where is the placeholder data stored?

#

like kills, deaths ect

trim mist
#

Well, those specifically are from playerdata in the world folder.

hollow ridge
#

wish there were some premade plugins

#

ยฏ_(ใƒ„)_/ยฏ

trim mist
#

I mean

#

Statz

hollow ridge
#

oh cool

#

didnt know this was alive

#

thanks

trim mist
#

Si.

hollow ridge
#

damn plugin is broken in 1.14.1

#

honestly no other stats plugin besides the one made by the spartan guy but it only has a gui

#

no placeholders

trim mist
#

Ahh

#

Whelp, maybe something will come along.

hollow ridge
#

I think i can use mvdw's mysql placeholders but that will be a pain in the ass

trim mist
#

They still pull from player data

hollow ridge
#

i can make it store a placeholder in the mysql database and add tables but it is mostly manual

#

and not really advised

#

and i think i can pull data from the database

trim mist
#

Placeholders also update very often based on what it is

hollow ridge
#

yeah that wont be good lol

trim mist
#

I would try to compile it for you under 1.14, but it's dependencies don't event download.

hollow ridge
#

that would nice but not worries

#

its got some data base save errors

limber ice
#

@hollow ridge those are normal errors on first boot when installing statz

hollow ridge
#

ah ok

#

is there any way to use placeholders to make a leaderboard for statz?

limber ice
#

but statz is till broken in 1.14

hollow ridge
#

dang

limber ice
#

I have a working version if you don't need travel stats

hollow ridge
#

that would be nice if you could send it to me

#

no need for travel

limber ice
#

I'm making sure I have the right file been working on getting the travel to work, this one has many working for travel but not all

hollow ridge
#

I found this as well but it is already dead

novel sorrel
minor wolf
#

hey

#

is there any way to create placeholders with something like javascript

#

without having to put {javascript_<name>}

limber ice
#

@novel sorrel lolmewn is updating his plugin, I reported an issue I found while testing it and he responded in a few hours

#

@minor wolf no, has to have that so PlaceholderAPI knows where to get the info

minor wolf
#

hmm

#

so the only way to reate custom placeholders

#

is creating your own plugin?

vivid sparrow
#

No

#

You can make an expansion

minor wolf
#

oh

#

but that still involves proper java coding no?

vivid sparrow
#

Yeah

minor wolf
#

๐Ÿค”

#

is it possible to use mvdw instead?

vivid sparrow
#

Yes, you can use mvdw placeholderd on papi

#

@carmine veldt is the footer icon broken for you too?

minor wolf
#

but how do i add placeholders

#

custom placeholders

#

to mvdwplaceholderapi

vivid sparrow
#

That's not what I meant.

minor wolf
#

i cant find a mvdw support server :/

vivid sparrow
#

I dont know if mvdw support custom placeholder

minor wolf
#

yeah i understand what you mean

vivid sparrow
#

But if it would, you will have to code them too I assume.

minor wolf
#

i know the individual plugins do

vivid sparrow
#

Do you know js?

carmine veldt
#

yeah it is broken gaby, it must of broke when I updated his icon. Iโ€™ll update the code soon

limber ice
#

what plugin do you want placeholder for?

vivid sparrow
#

You can make custom placeholders using the js expansion

minor wolf
#

they are in js

vivid sparrow
#

Oke piggy

minor wolf
#

yeah i know js basically

#

yeah i know, and its worked, but i dont like haveing to type up javascript_ infront of my placeholders

tender vaporBOT
#
Placeholderapi
Useful Links & Information:

Description: A resource that allows information from your favorite plugins be shown practically anywhere!
โ€ข Spigot
โ€ข Wiki
โ€ข Placeholder-List
โ€ข GitHub
โ€ข eCloud

vivid sparrow
#

You cant have everything with no work.

minor wolf
#

yeah true :/

vivid sparrow
#

Use js
Learn java
Or dont use custom placeholders

minor wolf
#

just seems a little gimmicky imo

#

๐Ÿคท

#

well atleast the option is there

#

also sorry my wifi is making my discord messages send 10-20 seconds later

vivid sparrow
#

Dw :')

cosmic shale
#

I mean why do you really care about a damn javascript_ prefix

bronze bison
#

cough wrong channel ๐Ÿ˜‚

hearty flame
#

Can anyone help me with papi chatinjector

#

putting ezrankspro prefixes in chat

#

but player needs op for it to work

#

?

bronze bison
#

chatinjector.parseโ€‹

hearty flame
#

yea

#

but that means they can type any placeholder

#

and it works

#

like they can type {ezrankspro_rank} in chat and it returns their rank

bronze bison
#

it doesnt work without this permission?

hearty flame
#

no

bronze bison
#

ok then u need the permission

hearty flame
#

thats annoying

#

lets hope players don't know how to use chatinjector

bronze bison
#

yea lol

hearty flame
#

ok

#

the permissions not working

#

lol

bronze bison
#

o lol

#

i suggest u use a chat plugin that supports papi by itself..

#

like DeluxeChat (Premium)
or VentureChat (Free)

hearty flame
#

:/

bronze bison
#

@trail cape do u want to add [ ] for the placeholder too?

trail cape
#

yes if its possible

bronze bison
#
var guild = "%guild placeholder%";

function getGuild() {
  if (guild !== "" || guild !== " ") {
    return "[" + guild + "] ";
  }
  return "";
}
getGuild();
``` ok use js expansion and use thic
#

just change the guild placeholder to the guild placeholder (obviously ;p)

trail cape
#

oh ๐Ÿ˜ฎ thats cool

#

I'll try that out thanks!

bronze bison
trail cape
#

Thats so cool! Thanks

#

I didnt know about js placeholders lul

bronze bison
#

ikr, np ๐Ÿ˜

#

yea js expansion is so useful

upper panther
#

What are the bungeecord placeholders/variables?

#

And is there an placholder such as: %whitelist: server%

#

It would say something such as: "Whitelist: No" When you response please mention me.

mint fable
#

@upper panther

upper panther
#

Okay, Is there any placeholder such as this? %whitelist: server%

#

But for bungee

mint fable
#

not sure about that

#

doesn't look like it

limber ice
#

@upper panther where do you want to use that placeholder

upper panther
#

In the hub and the server-selector (compass)

#

In the hub I mean above the npc it says: whitelist: off/on

mint fable
#

oh you want to check if it's on or off, not if a player is whitelisted

#

that sounds like it could be useful, ye

upper panther
#

Yes but for the servers connected to the bungee

limber ice
#

I use a plugin that might be what your trying to do

#

=spigot MaintenanceMode

tender vaporBOT
upper panther
#

Does the plugin have placeholders?

limber ice
#

there is a addon that hooks into papi

upper panther
#

Nvm

#

Yes found them

#

Thanks a lot!

limber ice
#

np

trail cape
mint fable
#

can't guarantee this'll work, but try updating to the latest papi?

#

honestly probably shouldn't make a difference, but you never know

trail cape
#

um /papisp command does this

#

anyways

var town = "%towny_town%"

function getTown() {
  if (town !== "" | town !== " ") {
    return "&8[&c" + town + "&8]&r ";
  }
  return "";
}
getTown();
#

is this correct?

#

I get script error

sharp jay
#

=paste

tender vaporBOT
#
HelpChat Paste

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

vivid sparrow
#

|| not |

sharp jay
#

gaby nice try ๐Ÿ˜›

vivid sparrow
#

??

trail cape
#

var town = "%towny_town%";

#

sorry xD

#

missed semicolon

#

๐Ÿคฆ

vivid sparrow
#

That too

trail cape
#

yeah cool ๐Ÿ‘Œ

#

Thanks

vivid sparrow
#

Yw

tribal rune
#

Can i use placeholders in open command?

vivid sparrow
#

Sadly no

tribal rune
#

fuck

bronze bison
#

open commands?

vivid sparrow
#

like stats %player_name% i think

bronze bison
#

ah

#

Excuse me, open command

#

๐Ÿ˜‚

vivid sparrow
#

Oui

#

Then yea haha xD

sharp jay
#

lmao

#

how would that work ๐Ÿ˜›

#

@trail cape whats that script for btw?

vivid sparrow
#

Read it lul

bronze bison
#

with s, will run the command when u open the menu
Without s, is the command to open the menu

sharp jay
#

@vivid sparrow send me fixed version ๐Ÿ˜›

#

also is that just papi script?

vivid sparrow
#

add ; after the var and one more |

sharp jay
#

as in js?

vivid sparrow
#

javascript expansion

sharp jay
#

ah kk

#

function getTown() {
  if (town !== "" || town !== " ") {
    return "&8[&c" + town + "&8]&r ";
  }
  return "";
}
getTown();```
#

so that :?

vivid sparrow
#

Yeah.

sharp jay
#

k I got an idea

#

๐Ÿ˜›

vivid sparrow
#

:P

sharp jay
mint fable
#

try it

#

pixel never said if it did or didn't

vivid sparrow
#

That cmd is broken afaik

mint fable
#

@trail cape did it fix your issue?

#

o

#

oh is that what pixel was using earlier too?

#

it's a weird error tho... because the method does exist

#

Oh wait I don't think it does

sharp jay
#

oh

#

town

#

wait up

#

lmao

#

I am dumb af

trail cape
#

Yup. The command /papijsp is broken

#

but the js placeholders work

mint fable
#

It's because it's String... instead of String maybe? I've never seen ... in java

#

and okay, that makes sense

trail cape
#

And updating papi didnt solves the /papijsp error. Just tried

mint fable
#

nah it wouldn't

#

I didn't know your error was a /papijsp one

#

since you cut that bit off

bronze bison
#

/papi reload then try it, it doesn't always work properly

limber ice
#

/papijsp is a command, what does it do?

bronze bison
#

gives u papi js expansion commands

#

/papijsp list/reload

#

and theres another one iirc

limber ice
mint fable
#

what is it used for anyway

limber ice
#

I never used it, guess if your too lazy to look in folder of JS

steep portal
#

Where i can find the expansion pack for KitPvP 2.0?

#

Help?

wet basinBOT
#

@vivid sparrow Unknown expansion.

hollow heart
#

is it an expansion listed in the placeholder list?

vivid sparrow
bronze bison
#

it doesnt have an expansion.

#

its built-into the plugin

#

and the placeholders are in the plugin page

steep portal
bronze bison
#

it doesnt have one

#

its built-into the plugin ITSELF apparently

steep portal
#

oh,ok,it's possible to make an expansion pack for this plugin?

#

I want to create one.

bronze bison
#

not all plugins should have expansion to support papi

vivid sparrow
#
%kitpvp_stats_deaths% - The deaths of a player
%kitpvp_stats_kdr% - The kill : death ratio of a player
%kitpvp_stats_level% - The level of a player
%kitpvp_stats_experience% - The experience of a player
%kitpvp_player_killstreak% - The player's current kill streak
%kitpvp_player_kit% - The player's current kit```
bronze bison
#

it can be built-into the plugin ....

vivid sparrow
#

Read the plugin page, not the reviews.

bronze bison
#

so u dont have to download anything, just the plugin

#

and the placeholders should work

steep portal
#

i want to use the placeholders in other plugin

bronze bison
#

as i said the placeholders are in the plugin page, and gaby just sent them

#

ok?

#

use them wherever u want

#

just make sure that the plugin ure using them in supports papi

steep portal
#

I don't must download an expansion pack for using in other plugins?

bronze bison
#

no

steep portal
#

ok,wait,i test it

vivid sparrow
#

Daca nu gasesti o expansiune in ecloud atunci pluginul fie nu are placeholdere ori sunt adaugate direct in plugin. Ez pz @steep portal

bronze bison
#

o

vivid sparrow
#

xD

steep portal
#

Am testat,nu are adaugate,atunci de ce spune ca are?

#

=]

#

#RomanaPeLaColtulGurii

vivid sparrow
#

Contacteaza developerul. Nu putem face mai mult.

steep portal
#

Ok,multumesc.

vivid sparrow
#

;)

steep portal
#

=]

vivid sparrow
#

Papi have changed the method used to register placeholder and maybe they havent updated yet.

steep portal
#

ok.

bronze bison
#

contact the plugin's dev if they havent updated yet

steep portal
#

ok

near nimbus
#

Not sure if this is know or not but every time I use /papi reload, all the placeholders unload in a bunch of other plugins and don't re-enable after. Is there a fix for this? Am currently 1 version behind of placeholderapi due to having plugins still on the old system.

steep portal
#

reload these plugins

bronze bison
#

havent happened to me, does reloading the other plugins fixes that?

near nimbus
#

already tried, did nothing.

bronze bison
#

does the placeholder(s) work in the parse command?

near nimbus
#

yes but not in the plugins

bronze bison
#

well then i dont think its a papi issue

#

since the placeholder(s) work fine using the parse command

near nimbus
#

I believe it is.

#

it happens in multiple plugins.

bronze bison
#

i dont think so, Clip? ^^

sharp jay
#

@near nimbus happens to me

#

its plugin side issue

#

since it only happens to certain plugins

near nimbus
#

what plugins does it happen with you?

sharp jay
#

like deluxe plugins doesnt cause an issue only things like factionsuuid

near nimbus
#

ahh. for me, noticeably it happens with savagefactions (fuuid fork) and TAB.

sharp jay
#

ya

#

I mean savagefactions*

#

sorry

#

its the same thing

#

but yes

near nimbus
harsh delta
#

hey i need help

bronze bison
#

with?

harsh delta
#

im trying to do this

bronze bison
#

=imgur

tender vaporBOT
#
Uploading Images

Please use imgur to share screenshots and other images.
โ€ข Imgur

harsh delta
#

ohhh ok

#

im trying to make it work like hypixel does their HD

bronze bison
#

is that Holographic Displays?

harsh delta
#

yeah

bronze bison
#

do u have holographic extension?

harsh delta
#

what do you mean

bronze bison
#

Holographic displays doesnt support papi, u have to get this plugin to make papi placeholders work in hd

harsh delta
#

ohhh okay

bronze bison
#

and make sure u have the expansion

harsh delta
#

i have that extension

#

jar

#

wait thers other jar?

bronze bison
#

i mean the player expansion

/papi ecloud download player
/papi reload
#

and do the same for other placeholders

harsh delta
#

what do you mean do same for other placehodlers i just did /papi ecloud

bronze bison
#

so to make player placeholders work, u have to download player expansion

#

and so for other placeholders

#

this have all papi placeholders with their download commands

harsh delta
#

from that link

#

BedWars1058
NO DOWNLOAD COMMAND

bronze bison
#

ok then u dont have to download anything then

harsh delta
#

thats what it look like now

bronze bison
#

if it doesnt have a download command then its probably built-into the plugin, so u dont have to download anything

#

ok they should work now

harsh delta
#

yeah it still shows %bw1058_player_level%

bronze bison
#

on the hologram ?

harsh delta
#

yup

bronze bison
#

did u download ProtocolLib too?

harsh delta
#

yup its there

#

oh wait

bronze bison
#

wait is the player placeholder working ?

harsh delta
#

yeah its there

#

yeah

#

check that

#

its latest

bronze bison
#

i mean on the hologram

#

is the player placeholder working ?

harsh delta
#

yes

#

it shows my name now

bronze bison
#

ok try try restart ur server

harsh delta
#

okay restarting

#

is there a way to get like top player placeholder so it dont show the name is yours but someones as live update

#

YES

#

it worked!!

bronze bison
#

ok great! ๐Ÿ˜

#

wdym top?

harsh delta
#

like top players

bronze bison
#

top on what

harsh delta
#

1, 2, 3 etc

bronze bison
#

i mean top balance, level? what

harsh delta
#

level

bronze bison
#

check if theres a placeholder for that?

#

if there isnt, suggest that to the plugin dev

final shadow
#

The plugin That provides the placeholders that broke and worked after restarting your server must be adding them from that plugin

bronze bison
#

yea its a built-in expansion

final shadow
#

The dev of that plugin needs to add the persist method to the expansion

silver radish
#

Hellow

bronze bison
#

hey

silver radish
#

I need help

#

Can you put top kills on a placeholder or a scoreboard?

iron sierraBOT
#

Theres not time to wait! Ask your question @silver radish!

bronze bison
#

if theres a placeholders for that then yea

#

too late mr dyno ;p

final shadow
#

If you do /papi reload that expansion will be lost until you restart the server again

bronze bison
#

yea thats for built-in expansions

silver radish
#

I'm not a programmer, I just want to know if it's possible with a plugin or variable

final shadow
#

Tell the author to read the wiki and update

bronze bison
#

if theres a variable/placeholder to show top players, then yes u can

#

and i dont think there is

silver radish
#

Thanks for the help

bronze bison
#

np, glad to help ๐Ÿ˜

harsh delta
#

okay

#

now that is what it looks like

#

now i just need to figure out how to get top players

#

instead of my name

bronze bison
#

if theres a placeholder for top like %blabla_level_top_1% %blabla_level_top_2%

#

u can, but if theres not, u cant

mint fable
#

leaderheads has that, only one I know of

harsh delta
#

oof

bronze bison
#

maybe u can suggest that to the plugin dev to add that?

harsh delta
#

okay im using it for bedwars1058

bronze bison
#

oh yea forgot about that

mint fable
#

umm

#

leaderheads has bedwards stats i believe

#

it is a premium plugin tho

#

and idk if it has top

#

nvm

bronze bison
#

never used it but afaik u can with any placeholder ?

mint fable
#

doesn't look like it

#

Best bet is asking the dev to implement it

bronze bison
#

no it has? thats what people use to get top

#

yea

mint fable
#

not for bedwars @bronze bison

#

unless i'm crazy

#

never used it, so maybe it's there

harsh delta
#

just checked leaderheads it didnt haveit

bronze bison
#

rip

harsh delta
#

i cant paste other links cuz but it is related to leaderheads lol

bronze bison
#

well i guess u can just ask the plugin's dev to add that

harsh delta
#

yeah i just asked dev to add top stats for placeholder

#

now it is just waiting game

#

@bronze bison so thanks for helping out much as you could

#

๐Ÿ˜„

bronze bison
#

np glad to ๐Ÿ˜ and good luck

#

hope the dev add what u want ๐Ÿ˜„

harsh delta
#

yeah me too

stone fern
#

does anyone know a race plugin that uses papi i want the race to be in the name tag

final shadow
#

Gg funnycube

#

Saw your pr

balmy marten
#

Hope we get accepted ๐Ÿ˜‰

final shadow
#

What do we get

balmy marten
#

I'll dm you

brisk coral
#

Fame

silver radish
#

Hellouda

#

[PlaceholderAPI] MyCommand is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [emmerrei a.k.a Ivanpro] and urge them to update it ASAP.

#

ERROR

#

CONSOLE

trim mist
#

Try to contact the author and ask him to update

silver radish
#

Ok!

#

Spigot?

#

@final shadow

#

DeluxeMenus
update_interval: 1
update: true

PlaceholderAPI not working

rotund pendant
#

Do /pl. Does it come up in red?

#

And whats not working about it?

viral ravine
#

Are you sure your using the latest version of both

#

(last stable)

vivid sparrow
#

@silver radish

oak sorrel
#

On DeluxeMenu can I set on open_requirement a placeholder? like I did with the kits..

    data: 5
    amount: 1
    slot: 19
    priority: 2
    update: true
    view_requirement:
      requirements:
        Daily_available:
          type: string equals ignorecase
          output: 'yes'```

So players can't open the GUI if the kit is on cooldown and when they can they will be able to open the GUI
ashen bough
#

Should ask that in #clips-plugins @oak sorrel (and yes you can, check the Wiki)

oak sorrel
#

oh ok thanks

#

and ok lel

#

can you send me link to the Wiki?

balmy marten
oak sorrel
#

ty

ashen bough
#

+Pixel, not too sure

balmy marten
#

Suggest #development for dev help, even if its regarding papi

trail cape
#

ok

latent prairie
#

Yay, Worldguard start to behing stable ^^

limber ice
#

WG has been stable on 1.14 for about a month

rotund pendant
#

I'm having issues with it on 1.13,so idk what your on.about

abstract loom
#

I need help, for some reason I can't use %worldguard_region_name% without a thousand errors, I have the expansion for world guard, and worldguard fully up to date, and no matter what i try to use the placeholder in, it throws errors in my console. im running 1.13.2

bronze bison
#

/papi info worldguiard which version do u have

#

?

abstract loom
#

1.2.0

bronze bison
#

ok then, due the changes of WG API, the expansion isnt working. and waiting for a stable version of wg to update the expansion.

#

so i guess u should wait until that happens

abstract loom
#

That honestly could be a very long time since it seems this has been an issue since 2018.

bronze bison
#

v1.2.0 is meant to add support for 1.13, then WG dev mess with the API again, so thats why clip/glare are waiting for a stable version of WG

#

afaik ^

abstract loom
#

Alrighty, thank you.

bronze bison
#

np ๐Ÿ˜„

mint fable
#

you could always try 1.0.2 and see what happens

#

What beta are you on @abstract loom ? Beta 1, 2, or 3?

#

(Of worldguard 7.0.0)

abstract loom
#

i believe 3

mint fable
#

okay, I'd say give 1.0.2 a try

#

if it works, cool, if not, then we're back to what boo said

abstract loom
#

ill give it a try and let you guys know later if it worked or not

mint fable
#

๐Ÿ‘

high plume
#

When I put %player_displayname% on my scoreboard it dont show my name just %player_displayname%

#

How di I fix

brisk coral
#

/papi ecloud download player

#

/papi reload

high plume
#

Now it works

#

Thanks

brisk coral
#

np

high plume
#

whats the % .......% for player rank

brisk coral
#

%vault_rank% if that's what you (will display just the name of the rank)

high plume
#

thanks again

#

xD

brisk coral
#

no problem

viral ravine
#

or with lp

#

%luckperms_highest_group_by_weight%

#

or

#

%luckperms_prefix%
%luckperms_suffix%

tropic grove
#

Is there a way to download all the placeholders with 1 command

mint fable
#

No, you have to download the expansions as needed

leaden tartan
#

Should /tellraw SenseiTechUS {"text":"%player_name%"} work?

#

I've been using it to test placeholders

#

||sorry for double posting, wanted to put it in the right channel||

mint fable
#

uh

#

/papi parse me %player_name%

leaden tartan
#

๐Ÿ˜ฌ Thanks

mint fable
#

@austere hawk /papi reload

austere hawk
#

k

#

thanks ๐Ÿ˜‰

#

@mint fable

mint fable
#

๐Ÿ‘

hollow ridge
#

how do i update expansions?

#

found it

harsh delta
#

what is this

#

16.05 21:08:04 [Server] ERROR [PlaceholderAPI] SuperCredits is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [PedroJM96] and urge them to update it ASAP.

hollow ridge
#

It says what it means - those plugins are using old methods that are no longer supported to hook into placheolderapi

#

report the errors to the plugin authors so they can update the methods used

harsh delta
#

report to supercredit right?

hollow ridge
#

supercredits yes

harsh delta
#

ok

abstract loom
#

@mint fable No luck on beta2

tender vaporBOT
#

@abstract loom

Hey,

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

abstract loom
#

Rc1, Beta3, and beta2 both dont work for %worldguard_region_name%

mint fable
#

Beta 1 doesnโ€™t work?

abstract loom
#

beta 1 is 1.13.1 exclusive

mint fable
#

Also I was recommending you switch the expansion version

#

Not the beta version

#

So try that if you wanna use beta 2 or 3

hollow ridge
#

Recieved when I tried to reload the javascript extension

final shadow
#

Odd

#

That method is there

mint fable
#

I know

#

apparently that's been broken for a while clip

#

whenever /papijsp is run I guess

bronze bison
#

Use this /papi reload for the meantime

#

And it sometimes works clip

deep hollow
final shadow
#

You need to check the size of the lore before getting a line

#

If lore.length < index

#

@deep hollow

deep hollow
#

appreciate your help ๐Ÿ˜ƒ

final shadow
#

Whatโ€™s the error

deep hollow
vivid sparrow
#

forgot a } at line 31

deep hollow
#

Mmm

#

at the end of the line?

final shadow
#

no

deep hollow
#

` if ( material === 'AIR' ) {
// return 'AIR' when you aren't holding an item (You can change it to whatever you want)
return 'AIR';
} else if ( has && line === ' ' ) {
return lore.replace(/^[/, "").replace(/.$/,"").replace(/, /g, '\n');
} else if ( has && line !== ' ' ) {
line = parseInt(line) - 1;
if (line < lineLore.length) {
return lineLore[line];
} else {
return "Out of bounds";
}

}
itemlore();`

vivid sparrow
#
if (line < lineLore.length) {
    return lineLore[line];
}```
deep hollow
#

Like that is giving error too

#

` if ( material === 'AIR' ) {
// return 'AIR' when you aren't holding an item (You can change it to whatever you want)
return 'AIR';
} else if ( has && line === ' ' ) {
return lore.replace(/^[/, "").replace(/.$/,"").replace(/, /g, '\n');
} else if ( has && line !== ' ' ) {
line = parseInt(line) - 1;
if (line < lineLore.length) {
return lineLore[line];
}
} else {
return "Out of bounds";
}

}
itemlore();`

vivid sparrow
#

Caused by: <eval>:1 ReferenceError: "lineLore" is not defined

deep hollow
#

So I just have to create a new variable "var lineLore = ' '; ?

#

sorry for bother you, don't know javascript :S

bronze bison
deep hollow
#

Thanks boody for you reply

#

but its giving me this error: if (linelore.length โ‰ฅ= line) {

#

I guess that doesn't support this symbol

final shadow
#

what is your goal with this script

#

ill write you one real quick

bronze bison
#

oh sorry thats from my phone lol

final shadow
#

looks like you just want to show a certain line of lore

#

but why are you converting the lore to a string

bronze bison
#

Thats my script clip ๐Ÿ˜›

#

Its in the wiki

final shadow
#

sup with all of the replacements

bronze bison
#

and i have to update it ik

deep hollow
#

The objective is to show the lores of the hold pickaxe on deluxmenus, but I have tokenenchant, so some players may have 80 lores

#

and other players have 1 lore..

#

I don't know how to show the exact lores

bronze bison
#

%javascript_lore% will return all the lores in its own line
%javascript_lore_#% will return that line of lore #
Clip ^

#

Can u change that โ‰ฅ to normal >

#

Typed that from my phone and i have no idea why it typed that

deep hollow
#

Sure ๐Ÿ˜ƒ

#

It's working well when I parse it

#

but when I add the javascript into a deluxemenu menu it's throwing

bronze bison
#

great ๐Ÿ˜„

deep hollow
#

this error

#

Thank you anyway for your help @bronze bison ๐Ÿ˜›

bronze bison
#

How many did u added? ๐Ÿ˜›

deep hollow
#

15

final shadow
#

try this

bronze bison
#

oof

#

Btw durability should be upper case

#

bte clip if he puts 5 and the item had 4 lines only will throw an error

#

Out of bounds error

final shadow
#

actually hold up

deep hollow
#

Deluxemenus fixed, it was the enchantment "needed to be upper case" thanks aboody ๐Ÿ˜ƒ

#

now I'll test clip's script

bronze bison
#

oh great ๐Ÿ‘

deep hollow
#

Clip which placeholder should I use?

#

same one?

bronze bison
#

wdym? U can use any

#

U can comment mine and add that instead

deep hollow
bronze bison
#

oh wait, clip its ain't java

#

Ull have to define what is number

#

and isnt that should ve NumberUtils?

final shadow
#

im using javascript

bronze bison
#

yea, u should define what is Number

#

var Number = Java.type("bla bla bla");

deep hollow
#

Yeah Caused by: <eval>:1 TypeError: Number.isInteger is not a function

#

There isn't an easier way to get lore of hold item and paste to deluxemenus item?

#

because some players will have like 6 enchants on lore, others 10.. etc

bronze bison
#

nope, ive been struggling with this the past 3-4 days ๐Ÿ˜›

deep hollow
#

Oh :S

final shadow
#

here

#

damn

bronze bison
#

isNaN

deep hollow
#

Yeah

#

ReferenceError: "isNan" is not defined in <eval> at line number 1

bronze bison
#

just make the second n upper cae

deep hollow
#

clip it will be easier to make like an option for deluxemenus

#

to show the lore of hold item

bronze bison
#

clone item in hand ๐Ÿ˜›

deep hollow
#

Yeah

#

like cloning item of hold item like Aboody's said

final shadow
#

im an idiot

#

here

deep hollow
#

haha

#

don't worry

final shadow
#

ya there

bronze bison
#

i really should update my shitty code in js wiki ||been saying this for moths sorry ;p||

vivid sparrow
#

>= perhaps

final shadow
#

no

#

length will return the size

#

so if there are 4 items in the array

#

it will return 4

#

when we get an element we start at 0

vivid sparrow
#

oke ๐Ÿ“Ž

final shadow
#

thee end user inputs 1-4

deep hollow
#

Working now, but clip there's a way of cloning the item in hand to deluxemenus item?

final shadow
#

yeah

#

not currently but its a good idea

deep hollow
#

because there're players that maybe have 50 enchantments

#

and others 5 enchantments

final shadow
#

just use the no arg

#

for now

deep hollow
#

Oh, will appreciate if you could add that option ๐Ÿ˜ƒ

final shadow
#

remove the # from the placeholder

bronze bison
#

no arg wont work

#

u cant use \n in lore (tooltip)

final shadow
#

dm doesn't support it?

deep hollow
#

It just create blank spaces

bronze bison
#

will return LF in a square iirc

#

nope it doesnt clip

vivid sparrow
#

rip

final shadow
#

ok ill add that too

#

rip

bronze bison
#

wow that would be great

deep hollow
#

Yeah ๐Ÿ˜›

bronze bison
#

rip my ~5k line for doing that ๐Ÿ˜‚

deep hollow
#

๐Ÿ˜‚

jade roost
#

Hello! I am kind of new to using APIs, I've never really done anything with it. I am creating a scoreboard, with PAPI integration. However when the placeholder updates, The scoreboard does not. Is there an event like PlaceholderUpdateEvent?

#

So i can set the scoreboard every Placeholder update?

final shadow
#

No you need to handle updating the scoreboard on your own. We donโ€™t track when a placeholder updates for the simple fact that event could fire as often as the PlayerMoveEvent

brisk coral
#

which would be ridiciolous ^^

final shadow
#

Or more when you are using hundreds of placeholders in different places

jade roost
#

Hmm that's true. I'll try to find some way of updating it

final shadow
#

Just run a task for the board

#

Call setPlaceholders each update

jade roost
#

every 20 ticks? or would that be too insane

final shadow
#

Well maxim uses packets and featherboard has the ability to update every tick async

#

Itโ€™s up to you

#

Thatโ€™s how his animation stuff works

#

Like scroller or rainbow colors etc

#

Itโ€™s all about how u want to design it

#

No way would I track used placeholders and call an event if the value changes though

#

That would be insane for a big server

austere hawk
#

Hey

sharp jay
#

Yes?

harsh delta
#

how do i fix this

brisk coral
#

something is null :p

trim mist
#

You'll have to contact the author of bedwars

harsh delta
#

oof okay i will cuz bedwars1058 suck at responding the bug comments on discord lol

trim mist
#

Rip

harsh delta
#

yup yup

trim mist
#

Whelp if they keep ignoring you, leave a bad review on the plugin saying that after countless times of reaching out for help, you got no response.

tardy trellis
#

It seems as someone decided to edit the old Spigot page of PlaceholderAPI placeholders. I reverted it back, but I just wanted to let someone know as I don't know if anything is done afterwards. I'm also not sure if this is the right channel, sorry if it's not.

bronze bison
tardy trellis
#

I know, but to what it was edited to, and that it still shows to go to the new one. I just thought it would be right to revert it from what it was edited to

bronze bison
#

Ah ok, thank you for reverting it