#placeholder-api

150650 messages · Page 11 of 151

lofty pine
#

I have tried the latest devbuild that should have this ready, but it doesn't actually work

frozen yarrow
#

Unfortunate ):

#

Using plugins no longer maintained is always a gamble

rancid minnow
#

Would be nice to actually know what methods youre talking about.

lofty pine
#

Well for sure on the latest devbuild, in plugins that did not update to 2.10.7, it still doesn't seem to work

#

ChatControl updated to 2.10.7, but it also doesn't parse the placeholders for some odd reason

#

Rollbacked to 2.10.6 for now and it seems to work again

final shadow
#

Time to find some new plugins

#

Funny

#

Papi is red in cc description

#

Lol

#

Not clickable either

lofty pine
#

Well, bosshoppro for example barely gets updates. It's stable AS-IS, but is now completely broken in for example my /stats or /servers menu

#

As for ChatControl, the developer sent me a custom build with 2.10.7 support, but the placeholders also didn't work

#

I did rename the folder since it's now lower case

rancid minnow
#

Uhhhhhh

lofty pine
#

I tried 2.10.8-DEV as well.

final shadow
#

Use the latest dev and report bugs so we know where we stand

rancid minnow
#

If failing to hook into another plugin causes several parts of that plugin to not work, then it is not stable

#

This is another reason plugins should use cloud expansions

#

It just makes infinitely more sense

final shadow
#

Glad we provide a good selling point tho

#

Sadly he can’t sell it right now

#

😂😂

lofty pine
#

I have tried it on 2.10.8-DEV, but no single plugin had working placeholders, hence I rollbacked to 2.10.6.

#

Only one error in the console about the vanish placeholder

final shadow
#

Thousands of broken placeholders

#

Lol!

carmine veldt
#

clip is the lowercase name thing just on dev builds or was that released?

final shadow
#

Literally made my day

balmy marten
lofty pine
#

Clip doesn't like chatcontrol I see 😛

#

It's shit lately, but yeah.

final shadow
#

Nah I don’t mind

#

I don’t like the foolish person behind it

#

It’s all good tho

lofty pine
#

Me neither, been a long-term user but lately it's full of bugs and false promises.

carmine veldt
#

kangarko gets too much hate. When hating on him, just remember, he aint songooda

final shadow
#

How did that not get blocked

#

Do @everyone I need to see something

trim mist
#

Cause he spelled it diff

balmy marten
#

no.

lofty pine
#

This was the only error I got with 2.10.8, I doubt that is the reason NONE of my placeholders work though.

carmine veldt
#

i don’t think I have access to the mention clip

lofty pine
carmine veldt
#

not gonna type it just incase

#

discord is funky u kno

final shadow
#

Nah I need u to

carmine veldt
#

no

warm topaz
#

dont let pig get banned Kappa

trim mist
#

Again

final shadow
#

/sudo bacon @everyone

tender vaporBOT
lofty pine
#

I mean, since the last devbuild was suppose to work with the old methods, I am not sure why it still doesn't work in plugins like bossshoppro in that case

final shadow
#

Nah all good but I did go through today and add back a few methods some use to register placeholders and if on the latest dev build it tells you they are using the wrong stuff you should definitely provide the info to them and us

#

I did actually remove some registration methods for good

#

They still exist but won’t work

carmine veldt
#

clip I wouldn’t throw an exception

final shadow
#

It should print messages in your log

carmine veldt
#

just a big red warning

#

cuz exceptions make people think it’s broken

#

a warning is a warning

rancid minnow
#

You literally added back methods that do nothing but throw an exception

warm topaz
#

silly people

rancid minnow
#

It literally solves NOTHING

#

You end up with the same fucking thing

carmine veldt
#

clip I thought u were restoring their functionality?

rancid minnow
#

An exception being thrown

lofty pine
#

I see, yeah in some active maintained plugins that is possible, in some olders like I mentioned that is harder to do. Some plugins are AS-IS that still work stable but are now then broken.

final shadow
#

Literally same thing as deprecating a method that everyone uses

rancid minnow
#

Bruh...

final shadow
#

Don’t come at me

rancid minnow
#

You gained nothing

final shadow
#

Same as u

rancid minnow
#

You added back the method, but just made it throw an exception

#

This is the same fucking outcome as before

carmine veldt
#

k if no one adds it, I’ll try add it back tomorrow or tonight

rancid minnow
#

There was 0 reason to add them back

#

Now instead of the expansion manager catching it, and saying in a simple message that it wont load because its using something that doesnt exist

#

You get a fucking stacktrace

lofty pine
#

So I guess I have to stay on 2.10.6 till you guys figure this out 😛

#

Also noticed 2.10.8 /papi reload doesn't have a message anymore (only in console)

turbid vessel
#

hi - '&aOrt: %player_compass_world%' is not working for colors 😦 i want - '&aOrt: &6%player_compass_world%'

#

i need help 🙂

#

all other placeholders working with this formate

#

and %statistic_mob_kills% is not working

#

Server Version 1.12.2

mint fable
#

papi 2.10.7?

#

try the latest dev build

turbid vessel
#

2.10.6

#

okay i try now 2.10.7

mint fable
#

no, try the latest dev build

turbid vessel
#

PlaceholderAPI-2.10.7

#

this?

mint fable
#

check the pinned messages

turbid vessel
#

k

mint fable
#

my bad i thought it was on the plugin page

jade flume
#

does Statistic support offline players?

turbid vessel
#

placeholderapi-2.10.8-DEV-76 ah okay^^

mint fable
#

i don't believe so @jade flume

#

that's an mc thing i think

turbid vessel
#

need i just delete the old papi jar file or more?

mint fable
#

ya

turbid vessel
#

k

jade flume
#

i mean i asked here before but u said that i need it with leaderheads

#

to make a

#

leaderboard

mint fable
#

i believe leaderheads caches the value itself

jade flume
#

oh

mint fable
#

once the player logs in once

turbid vessel
#

scheisse.... all my Placeholders are removed

mint fable
#

i've never personally used it, but I know many have

turbid vessel
#

😭

mint fable
#

@turbid vessel as in?

turbid vessel
mint fable
#

?startuplog

tender vaporBOT
mint fable
#

can you send that over

turbid vessel
#

yes

jade flume
#

/papi ecloud download Player ????

mint fable
#

it shouldn't have deleted anything

#

you might just need to update them though, (which can be done with that command)

turbid vessel
#

?paste

tender vaporBOT
turbid vessel
#

@mint fable 🙂

mint fable
#

hmm

turbid vessel
#

dont say hmm this make me cry^^

mint fable
#

it doesn't look like you have the expansions

turbid vessel
#

and sorry for my bad english

mint fable
#

/papi ecloud download <expansion>

#

so do that for player

#

vault

turbid vessel
#

i download a lot expansions^^

mint fable
#

your statz expansion is in the wrong folder

#

it needs to be in plugins/placeholderapi/expansions

turbid vessel
#

/srv/daemon-data/Privat/plugins/PlaceholderAPI/expansions/

mint fable
#

yep

#

right now you have it in /plugins/

turbid vessel
mint fable
#

can you type /papi reload

turbid vessel
#

same then before 🙂

mint fable
#

and then /papi list

#

you might have outdated expansions

#

so you have to get new ones

turbid vessel
#

okay

mint fable
#

when you download statistic, use this command /papi ecloud download statistic 1.7.0

turbid vessel
#

okay

jade flume
#

%leaderheads_name_statistic_player_kills_alltime_1% is that right?

turbid vessel
#

i never see that before sorry

mint fable
#

smh

#

ya it looks right to me

jade flume
#

it was returning to ""

#

now

#

its

#

the placeholder

#

it self

turbid vessel
#

./papi reload have no feedback in my chat^^

jade flume
#

after this command 😦

mint fable
#

wym no feedback?

#

it doesn't say reloaded?

turbid vessel
#

no

#

and normal stay in the chat succefull reloadet or somting like this (sorry for my bad English i speak better German^^)

mint fable
#

server version @jade flume ?

turbid vessel
#

can i share my screen? I have Nitro the Quality is not bad

jade flume
#

1.8.8

mint fable
jade flume
#

statistic is fine

#

working fine

#

but the leaderheads placeholder is not

mint fable
#

and did you enable it?

jade flume
#

oh now it gives me a space

#

the top killer is me but idk what wrong

mint fable
#

wym

#

is it not showing you?

jade flume
#

No

#

It doesn't

mint fable
#

what if you relog

jade flume
#

I restarted

mint fable
#

are you excluded?

#

/leaderheads excluded

jade flume
#

No players are..

mint fable
#

man i got no idea

#

does it work on signs

jade flume
#

I doesn't work when i do papi parse me

mint fable
#

but does it work on signs

jade flume
#

Didn't test

#

That

mint fable
#

that's why I asked

jade flume
#

I can't type that

mint fable
#

😉

jade flume
#

In a sign

#

I guess

mint fable
#

what?

jade flume
#

Imma test it in hologram

mint fable
#

no

#

you keep testing the same thing

#

stop testing the placeholder

#

test the leaderheads sign

jade flume
#

K

turbid vessel
#

i make the old Placeholder Plugin back and all (just not the) - '&aMobs Getötet:&6 %statistic_mob_kills% &a!' is working again 🙂

mint fable
#

did you type /papi ecloud download statistic 1.7.0

#

also from your screenshot, it looked like you had 2 jars in your folder

jade flume
mint fable
#

what is that

jade flume
#

ss

mint fable
#

...

jade flume
#

ScreenShot

mint fable
#

what of

jade flume
#

of the sign

#

gave me

#

0 kills

#

but in the scoreboard..

mint fable
#

that's on a sign?

jade flume
#

yes

mint fable
#

hmm

#

@steep thorn

#

i got no idea what's going on here

jade flume
#

lmfao

mint fable
#

Robin made it ^

#

so we'll see if we get blessed with help today

jade flume
#

made what

mint fable
#

leaderheads

jade flume
#

oh

#

i mean its not that important

mint fable
#

'tis most important

jade flume
#

wait wait wait

#

i now know why

mint fable
#

uh oh

#

i mean yay

#

why

jade flume
#

xd

#

i have a custom spigot

#

fork

mint fable
#

oh?

jade flume
#

maybe its the reason

mint fable
#

maybe

#

but the placeholder works

#

in papi

#

so

#

idk

jade flume
#

imma switch to spigot

#

may fix it

#

YES IT WAS

#

GG

#

THX

mint fable
#

now the ping was all useless

#

so sad PepeHands

jade flume
#

oh 😦

#

sorry Robin 😦

mint fable
#

👍 glad you found the issue

amber dirge
#

thanks piggy 🐷

west portal
#

why is PlaceholderExpansion#register deprecated, if it's recommended to use it in latest update?

final shadow
#

Yes

west portal
#

very helpful

brisk coral
#

Yes

west portal
#

after update neither onPlaceholderRequest nor onRequest get fired

balmy marten
west portal
#

there's not a word about new methods not actually working

balmy marten
#

Create an issue on the repo and someone will look into it

west portal
#

what's the point of this chat then if it just redirects back to github

balmy marten
#

It's more or less for the user end

#

Things that can be quickly sorted

#

I can't help you with your issue as I don't deal in the papi code

west portal
#

i see

main pelican
#

is it safe to use on venturechat now?

#

i saw they had an update that said its compatible now

brisk coral
#

Then yes

austere hawk
#

Does PAPI check for updates on cloud downloaded expansions?

final shadow
#

Only onEnable or in refresh

austere hawk
#

O
Thanks

#

Hello everyone! Does anyone know what the placeholder is for voteparty in featherboard? {voteparty_votesneeded} doesnt work for me

#

Also, whats the name of the papi? I tried /papi ecloud download Voteparty but it doesnt excist

brisk coral
austere hawk
#

@brisk coral I didnt purchase it. The owner did. Im the developer of the server.

brisk coral
#

?notowner

tender vaporBOT
austere hawk
#

Alright then ill wait. hes sleeping rn xD

brisk coral
cunning ginkgo
#

hey

#

how much placeholderapi i can dowlnoad

#

14?

warm topaz
cunning ginkgo
#

%playtime_player% why isn't work

#

also %playertime_time% not work

turbid tide
#

ugh you have the plugin PlayerTime/

#

you need a plugin for that expansion to work

cunning ginkgo
#

?

#

why

#

PlayTime
/papi ecloud download PlayTime
%playtime_player%
%playtime_time%
%playtime_timesjoined%
%playtime_serveruptime%

#

i did

#

and isn't work

#

@turbid tide

turbid tide
#

but you need the PlayTime plugin

#

not just the expansion

cunning ginkgo
#

how he calld

#

i have essentials

austere hawk
#

Hey, I need a little help. I've been busting my ass for the past hour trying to make a java file to give me the time until midnight tonight. Kind of a cooldown, I'd like to give a temporary permission that expires at midnight every day ^^

red inlet
#

how can i make custom placeholders using placeholderapi?

turbid tide
#

@cunning ginkgo you don't need essentials

#

that's not a essentials placeholder

red inlet
#

ive got placeholderapi integrated already

turbid tide
warm topaz
#

@red inlet are u trying to make a separate expansion or add placeholders to a plugin?

#

^

cunning ginkgo
#

but on my last server i didn't has that and is worked

turbid tide
#

but on my last server i didn't has that and is worked
@cunning ginkgo I don't believe you

red inlet
#

@red inlet are u trying to make a separate expansion or add placeholders to a plugin?
@warm topaz im making my own plugin and need to add a few placeholders for messages

turbid tide
#

just use %player_time_played%

#

instead

#

Elitestars then check the wiki I sent

#

this is the correct link

austere hawk
#

@turbid tide with this %server_countdown_dd.MM.yyyy HH:mm_18.07.2020 12:00% I can't set today's date? which will change every day ^^

turbid tide
#

oh

#

I see

#

you said a java file ... so I thought you want to code it

#

or something

austere hawk
#

I misspoke:p

turbid tide
#

you can try %server_countdown_dd.MM.yyyy HH:mm_{server_time_dd.MM.yyyy} 12:00%

#

try this

austere hawk
#

return 0

#

hum

turbid tide
#

oh

austere hawk
#

ok if i set 12:00 to 23:59 he return what i want :p

turbid tide
#

do 24:00

#

not 23:59

austere hawk
#

ok ^^

turbid tide
#

for exatct time

#

just realised as well :))

austere hawk
#

😄 perfect now, trying to use this with luckperm xD

turbid tide
#

well I mean it will probably work if you are using it from a plugin that parses placeholders

austere hawk
#

i use deluxemenu ^^ (the best :p)

turbid tide
#

yeah then you'll probably be able to use it

austere hawk
#

not in the state 😦

#

[LP] Set test to true for n54b for a duration of 7 hours in context server=56m, world=56s.

#

I think I have to be able to eliminate the space when he gives me the resutat of /papi parse me %server_countdown_dd.MM.yyyy HH:mm_{server_time_dd.MM.yyyy} 24:00%

turbid tide
#

ugh

#

I see

#

you will probably have to use javascript expansion

austere hawk
#

yea i think too ^^

#

and no 😄

#

just like that

#

- '[console] lp user %player_name% permission settemp test true "%server_countdown_dd.MM.yyyy HH:mm_{server_time_dd.MM.yyyy} 24:00%"'

#

juste add " " and its perfect 😄

#

[LP] Set test to true for n54b for a duration of 7 hours 52 minutes 21 seconds in context global.

turbid tide
#

usually devs don't watch this channel as much

#

nice n54b

austere hawk
#

ty for help 😄

final shadow
final shadow
#

we are testing live in room 1

balmy marten
#

@Azim#6620 When you get a chance can you test the latest dev build of papi and see if it fixes your issue?

dusty dove
stable mist
#

Hello there is a problem with latest version

#

of papi

turbid tide
#

read above please

stable mist
#

it wont load my placeholders

turbid tide
#

clip's message

stable mist
#

@turbid tide still broken

#

xd

dusty dove
#

XxSkytoonexX
Orf1
Jesen
BoolyStudy
CarlosVitor
AhmedSaints

tall torrent
#

Hi! I have a problem with Javascript Expansion, I'm trying to create a variable with %quests_player_current_quest_names% but it creates an error because it outputs a list of current quest names with \n for the placeholder itself. I tried .replace() but it doesn't work :/. Does anyone have solution for this? ;_; Thanks

Error Log: https://paste.helpch.at/apefihowiy.bash

lofty pine
#

So latest papi dev build should work with non updated plugins?

final shadow
#

83 should

#

unless they are super outdated and use PlaceholderHook

junior musk
#

@tall torrent apparently you forgot a " somewhere

tall torrent
#

@tall torrent apparently you forgot a " somewhere
@junior musk it has " :(( idk why the result is like that with that placeholder

lofty pine
#

83 failed to build

junior musk
#

send the js file

tall torrent
#
var questlist = "%quests_player_current_quest_names%";
function PlayerQuest() {
    return questlist;
}
PlayerQuest();```
@junior musk
junior musk
#

I don't see the problem =/

brisk coral
#

I'm confused as to what you're trying to do here

balmy marten
#

83 failed to build
@lofty pine looking into it

#

@lofty pine try 84

lofty pine
#

Thank you, I will try it soon!

hollow plank
#

i followed the wiki for creating expansions but when i'm registering my expansion it's telling me that the register method is deprecated so is there a new way to register expansions with 2.10.7?

mint fable
#

can you link the page you followed?

mint fable
#

ah yes, you are correct

#

you need to switch to onRequest(OfflinePlayer, String)

final shadow
#

Use the latest dev build which is a likely candidate for release tonight

#

Those deprecation warnings are gone

mint fable
#

is onPlaceholderRequest staying?

final shadow
#

No

#

OnRequest

mint fable
#

but why remove the deprecated

#

or do you mean just the "not loading" part

final shadow
#

Nah register is no longer deprecated

mint fable
#

what about onPlaceholderRequest

final shadow
#

That’s deprecated use onRequest(offlineplayer, text)

mint fable
#

ye ye

#

that's the one on the wiki, gotta switch it over

#

somebody changed it in one place but not the other 2

#

updated wiki 👍

final shadow
#

ty

#

looks like 2.10.8 is going to be good so far

mint fable
#

I didn't revert back to register because I think the new canRegister should still work right?

#

ye it will

final shadow
#

canRegister is just to override if you have requirements based on if the expansion should be registered or not

#

ex: making sure fields are initialized etc

#

always gotta call register()

mint fable
#

oh?

#

nvm, papi will call it

final shadow
#

ya it will call canregister

#

but not register

loud pine
#

the latest dev build appears to have broken venture chat

mint fable
#

you're using {placeholders} right?

loud pine
#

never mind looks like I had build 74 not latest, oops

#

now supervanish is unhappy again, supervanish liked build 74 but not the release version... lol

turbid tide
#

there is a dev build

#

in the pinned messages

#

use that

loud pine
#

That is the one I'm using.

austere hawk
#

@austere hawk is my developer can you guys give him support perms or whatever

#

I think he had a placeholder question i was asleep

turbid tide
#

@austere hawk when you're trying to use them into mvdw placeholders you need to use them like this `{placeholderapi_placeholder} so in your case I think it is {placeholderapi_voteparty_votes} or something which is actually not a placeholder

#

check the wiki for all the placeholders

#

=wiki voteparty placeholders

tender vaporBOT
turbid tide
#

just change %% to {} and add placeholderapi

austere hawk
#

Thanks!!

#

It doesnt work

#
  • '&b➛ &7Voteparty {placeholderapi_voteparty_votes}'
#

this is the whole line

turbid tide
#

where are you trying to use it?

#

in featherboard?

austere hawk
#

yes

#

Wish I could send screenshots

#

Can i send you a screenshot in dm to show what it looks like with the placeholders?

brisk coral
#

?imgur

tender vaporBOT
turbid tide
#

go to plugins/placeholderapi/expansions and make sure there is no voteparty expansion

#

also yeah use imgur to send screenshots here

austere hawk
#

there is no voteparty expansion in there

#

the first picture is what it looks like right now. the second picture is what I want it to look like

#

the first picture is made with this line:

#
  • '&b➛ &7Voteparty {placeholderapi_voteparty_votes_required_party}'
turbid tide
#

- '&b➛ &7Voteparty &f{placeholderapi_voteparty_votes_recorded}{placeholderapi_voteparty_votes_required_total} @austere hawk

#

I think this is it

trim mist
warm topaz
#

read up glare

#

?notowner

tender vaporBOT
warm topaz
#

that stuff ^

austere hawk
#

@turbid tide going to try it right now

trim mist
#

Okay, where's the owner?

junior musk
trim mist
#

Ahh okie

#

Just work up

#

Woke

warm topaz
#

good morning

turbid tide
#

don't worry glare I'm not working against you xD

austere hawk
#

it works!

#

thank you for helping me out

#

One more question. is it possible to get this with clearlagg aswell?

#

like this

compact swallow
#

so i need to install an extenstion

#

i have the repo for it, i just dont know how to install it

#

i downloaded the jar, how do i register it?

west condor
#

I have PAPI in my project, I have it on my server too

#

Nevermind fixed it

turbid tide
#

@austere hawk doesn't seem like ClearLag has placeholders so you'll probably have to make your own (using java or kotlin or some other programming languages)

austere hawk
#

It does!

#

there is this addon I found on spigot

turbid tide
#

ah I see

#

then someone else made it for you xD

#

nice

turbid tide
#

no worries don't like clearlag

austere hawk
#

why?

turbid tide
#

@compact swallow so you want to download a placeholder extension? then you can either use the /papi ecloud downloade EXPANSIONNAME or just download it from the ecloud or some are on spigot or wherever you want to download from and add it to plugins/PlaceholderAPI/expansions

#

Gils because its not the best. for some servers it even causes more lag than its suppose to clear

#

yeah for some situations like Prison servers where you could get a lot of items on the ground you can have it

#

but for the rests there are other better ways to optimize your server

austere hawk
#

ohh for real? what plugin would you recommend that does the same job as clearlagg?

turbid tide
#

well I'm not talking about clearing items

#

its just unless you rly have a lot of items

#

on the ground all the time

#

you don't need it

austere hawk
#

Yeah I've heard about clearlagg causing more lagg before. The thing is that I don't know how to optimize my server anymore. Done alot of things but whenever someone uses an elytra with fireworks, the tps drops alot. Even when the world is pre-generated.

turbid tide
#

oh

#

wtf

#

?optimize

tender vaporBOT
turbid tide
#

check this link

#

it will teach you a lot

urban vigil
#

Hey can someone help me pls? xD

#

😄

#

so

austere hawk
#

Thank you!

urban vigil
#

I just installed the new placeholder api version

#

and all my placeholders broke lol

#

so can someone help me fix this pls? xD

#

😄

#

oh nvm xD

#

I just fixed it lol

#

ty anyways xD

#

😄

lofty pine
tender vaporBOT
#

@lofty pine,

lofty pine
#

This happens with 2.10.8 #84

#

2.10.6 works fine

turbid tide
#

yeah then you'll have to wait a bit until the ChatControl updates

#

just use 2.10.6

#

its not a lot you'll lose

#

just the tab completion

#

the rest are mostly just on the development side

#

might be wrong haven't fully looked at the update log yet

lofty pine
#

Hmm I see, since with 2.10.8 the old methods should work again I thought

turbid tide
#

yeah I thought the same

#

and they tested them a lot

#

today

trim mist
#

I'll forward this on

final shadow
#

I’ll fix that tonight

#

Missed adding back that method

lofty pine
#

Thank you

warm plover
#

Hey, whats up with the statistic placeholders?

#

They aren't working for me, I downloaded it and put it in expansions folder.

final shadow
#

@lofty pine can you test build 85

pulsar siren
#

Literally tons of plugins dont work with the new papi update lmao - even plugins such as ezblocks

final shadow
#

should now in #85

pulsar siren
#

Hmm alright ill try that out

final shadow
#

pretty sure that adds back everything that was removed which would break stuff

pulsar siren
#

Alright ill try it out now and let you know 😉

warm plover
#

are statistic placeholders working

pulsar siren
#

Use the latest dev build and try again

warm plover
#

Okay thanks so much

#

Probably should have tried before asking sorry xD

pulsar siren
#

@final shadow

WARN [PlaceholderAPI] tokenenchant is attempting to register placeholders via a PlaceholderHook class which is no longer supported!

#

A few plugins are doing this - does this mean they gotta update?

final shadow
#

Yep that will need to be on them to fix

pulsar siren
#

alr cheers

final shadow
#

But no more errors tho right ?

pulsar siren
#

Nope seems good

lofty pine
#

Thanks, I did not test it out yet since I went to bed

final shadow
#

Sikatsu I added back the missing method so chat control should not break now

lofty pine
#

Awesome stuff, will test it in the morning!

warm plover
#

Statistic placeholders dont work on newest dev version either 😦

trim mist
#

Define "don't work". Any errors?

warm plover
#

They aren't useable

#

They dont display

#

Ill check

#

No errors

final shadow
#

im testing now

trim mist
#

Ahh rip

pulsar siren
#

Clip should ezrankspro placeholders work? As they currently dont along with some others - (im aware i dont have the role, someone on my staff team has purchased it so we're using his until i can buy it myself which is soon)

I understand if i am denied support due to this though as hes not here to vouch for that.

#

hold iup

#

nvm

final shadow
#

they should

pulsar siren
#

Yeah the expansion just needed to be re-downloaded

warm plover
#

Im dumb sorry

pulsar siren
#

Works fine for me aswell.

warm plover
#

Do I download via the jar or in game

#

both didn't work..

#

They dont even come up for me with parse

warm topaz
#

whats ur server version?

warm plover
#

1.8.8 (paper)

warm topaz
#

/papi ecloud download Statistic 1.7.0
/papi reload

warm plover
#

Doesntr work

warm topaz
#

what placeholder are u trying to use?

warm plover
#

%statistic_player_kills%

#

%statistic_deaths%

warm topaz
#

post a full startup log to a paste

#

?startuplog

tender vaporBOT
warm plover
#

. . .

#

ok

final shadow
#

rip!

#

well the old expansion for statistic uses outdated method

trim mist
#

Yeah that's going to be an F.

warm plover
#

I tried the newest.

final shadow
#

cindy_k?

warm plover
#

So what do I do?

faint jay
#

Hi! so I have a 1.16.1 spigot test server and a plugin I am working on that uses PlaceholderApi. I downloaded 2.10.7 and put it on my server and am trying to use it but I can't get it to parse anything.

trim mist
#

I'm thinking we need to split up the statistics expansion. Introduce a legacy one.

faint jay
#

I am trying to call even the statistics and I am not getting anything. Am I missing something? /papi parse me %statistic_time_played%

trim mist
#

If we can't make a new version work across all versions, that is.

faint jay
#

:) ahh that decision. I go with abandoning the old and working on the new.

warm topaz
#

@trim mist gaby updated it and it was pinned in one of the channels. idk what happened to it

trim mist
#

There's an open PR for it

#

But idk how much it was tested.

#

CC: @vivid sparrow

final shadow
#

cindy 2.10.7 seemed to break a lot of things but we are updating tonight with a version that will fix the issues you are having

faint jay
#

oh goody :) I will wait. Thank you!

final shadow
#

you can use a dev build if you would like

warm plover
#

How about the statistics? Did I do something wrong

final shadow
#

would be nice to know if we already fixed your issues

trim mist
#

Duke, you'll have to use PAPI 2.10.6

warm plover
#

oof...

#

Really?

#

ok

trim mist
#

I mean it's literally just one update back

final shadow
#

waffle we can just create a new expansion for legacy stats

trim mist
#

Need to see if Gaby is ready to merge his statistics update

#

Cause apparently his open PR makes it work

warm plover
#

I didnt mean it in a mean way sorry

trim mist
#

Across all versions

warm plover
#

I was just surprised

trim mist
#

I mean you're using like 5 year old software

final shadow
#

basically an updated 1.7 stat expansion

trim mist
final shadow
#

why havent we merged it? lol

warm plover
#

1.8.8 seems to work best 🤷

trim mist
#

Cause I never got 100% confirmation it worked as needed.

#

I can go ahead and just merge it if you want

#

Actually I told him in April to merge when ready

#

¯_(ツ)_/¯

final shadow
#

yeah

#

lets let duke test

warm plover
#

Oh..? Ok

final shadow
#

lol!

trim mist
#

Aight

#

You going to compile it for him, or do I need to?

final shadow
#

jenkins should

trim mist
#

Not if we don't merge it

#

I don't want to merge it if it doesn't work

#

I'll just compile it.

#

Give me a min or 2.

final shadow
#

duke try that on #85 or later

trim mist
#

What do you want me to compile this under if it works, 2.10.8 dev?

#

Or just 2.10.6

final shadow
#

shouldn't matter as long as its registered properly

trim mist
#

I thought the dev builds were deployed somewhere

final shadow
#

they are

#
  <repository>
    <id>dev</id>
    <url>https://repo.extendedclip.com/content/repositories/dev/</url>
  </repository>

<dependency>
  <groupId>me.clip</groupId>
  <artifactId>placeholderapi</artifactId>
  <version>2.10.8-DEV-86</version>
</dependency>
trim mist
#

Idk if that jar will work in the latest. I'll need to change this to use offline player and then just cast it to online

#

Sec

final shadow
#

yeah make sure its using onRequest

#

was that the cindy_k though?

#

this one...

trim mist
#

Okay this should be using it properly now.

final shadow
vivid sparrow
#

HEY

final shadow
#

@faint jay sorry gotta know

austere hawk
#

hey bbs

trim mist
#

Hey Gaby, we're working on pulling in your PR you made ont he Statistics awhile back.

vivid sparrow
#

where is that from :0

trim mist
#

Afaik it's ready to go

flint kayak
#

Does xconomy have an expansion in PAPI?

vivid sparrow
#

I dont remember, statistics are a pain to work with

#

Why would multiple materials share the same value

final shadow
#

@flint kayak if it hooks into Vault you can just use that

trim mist
#

Okay, well, it's registering on 1.8.8

#

Idk what is something to test tho

final shadow
#

attempt to parse a placeholder? lol

vivid sparrow
#

logs?

final shadow
#

parse now auto completes so it shouldnt be hard to find one to test

vivid sparrow
#

legacy is ever worse I assume

#

Ayy, it took only 5 years

trim mist
#

Erm it's not on 1.8.8

warm topaz
#

clip thats only for 1.13+ iirc

final shadow
#

ah right...

trim mist
#

Looks to be working.

final shadow
#

send it

warm topaz
#

try a material one idk

final shadow
#

actually let me test it on 1.16

warm topaz
#

like a block broken statistic

trim mist
#

Is block breaking statistics a thing in 1.8.8?

warm topaz
#

good question

#

?javadocs

tender vaporBOT
trim mist
#

Doesn't look like it

faint jay
#

@final shadow :D yep

trim mist
#

Use item looks to be one.

final shadow
#

working for me after eating a few apples

warm topaz
#

even if it doesnt work in some areas, ig its better than it being completely broken 😂

vivid sparrow
#

The problem its blocks_broken

final shadow
#

maybe we shouldn't hardcode any statistics

#

let it all be dynamic

trim mist
#

It is all dynamic iirc

#

Oh

#

I see what you mean

final shadow
#

but we should keep some that arent actually statistics

#

like "time played"

vivid sparrow
#

Ye

final shadow
#

tbh I thought I did that

vivid sparrow
#

Thats how it works, isnt it?

#

only a few are made by us

final shadow
#

yeah

#

but will need some modification to support things like arguments of material types

#

for things like use item

#

block broken etc

trim mist
#

Okay so it looks like this new one works. That means that when 2.10.8 is ready, I'll compile off the release of it and push this to the ecloud as like 2.0 for statistics expansion.

final shadow
#

we can always make those changes later

#

the good thing is it works

#

are you going to wait to merge until release of 2.10.8

#

or merge now and then update dependency to the plugin release later

#

then update the expansion after

#

tbh I think we are going to wait until after release to merge frostys pr

#

it has some work to be done

#

that can be included in 2.11

trim mist
#

I can go ahead and merge statistics now if you want.

final shadow
#

yeah go ahead and merge that now

#

can i build it on jenkins

trim mist
#

If you want to, sure.

final shadow
trim mist
#

Okay, awesome.

final shadow
#

tbh you can just drop that to the ecloud now

trim mist
#

I don't want to lol

final shadow
#

nothing is going to change

trim mist
#

If you want to, go ahead.

final shadow
#

ok

trim mist
#

I need to go pick up dinner. I'll be back in a few hours.

warm topaz
#

if its not going on the ecloud then pin the jenkins build ig

trim mist
#

Just leave me a message in #papi or whatever if I need to do something before the next update. I assume we aren't updating it tonight.

final shadow
#

2.0.0?

#

im updating tonight

trim mist
#

For statistics? Yeah

#

You're updating papi tonight?

final shadow
#

i havent tested all day to go to bed without an update

#

yes

trim mist
#

Alrighty

#

Just text me or something if you need me to look at anythign

#

I'm off for a bit. 👋

final shadow
#

done and all good. Ty

warm topaz
#

👌

final shadow
#

did someone say the player expansion was broken though?

#

ive been using it but i swear someone said it was broken since 2.10.7

warm topaz
#

probably a user issue otherwise more reports wouldve been coming in idk

trim mist
#

Go through every expansion that we have a repo in the org for and look for the old expansion method

#

For placeholders

#

I think the EssX one needs to be updated too

warm topaz
#

i can help out if u like

trim mist
#

Go for it. Just talk to clip about it all. Gotta drive. Ttyl.

warm topaz
#

hf 👋

final shadow
#

kotlin if ur down to help i wont mind

#

just have to make sure no expansions use

PlaceholderAPI#registerPlaceholderHook
warm topaz
#

yea ill pr and change any if they do

final shadow
#

TYVM

#

Tbh most shouldn’t although I can’t guarantee it

#

I might have overridden register and called that instead of super.register

#

So in terms of functionality

#

Dev builds are a-1 in my test cases

#

The only thing I really have left is going through visual stuff to make commands look pleasing

#

Then formatting

#

After that I feel it’s ready

warm topaz
#

awesome

#

disappointing the fact that half of the expansions arent using build tools 😔

final shadow
#

what ones?

#

all mine on git use maven at least

warm topaz
#

scoreboard objectives, checkitem

final shadow
#

not mine lol

warm topaz
#

ya

final shadow
#

So if that’s not using maven or a build system how the heck should we compile

warm topaz
#

the new register method is canRegister correct?

#

u gotta add the jars urself haha

final shadow
#

No just register

#

Papi calls it

#

Just make sure if the expansion overrides register it calls super.register

warm topaz
#

this expansion calls both methods 🤔

final shadow
#

That’s fine

warm topaz
#

alr lol

lofty pine
#

Chatcontrol works fine now, but premiumvanish doesn't

#

There is no error, and I know premiumvanish updated for papi even.. but the placeholders do not parse

#

While on 2.10.6 they do

warm topaz
#

3 expansions down

rare lily
#

@warm topaz what about mine :p

warm topaz
#

i already updated urs 😠

rare lily
#

Oh ok

#

Lol

warm topaz
#

Just make sure if the expansion overrides register it calls super.register
@final shadow did u mean this? as this is deprecated

tender vaporBOT
#

@warm topaz,

trim mist
#

Don't all expansions need to be changed from onPlaceholderRequest to just onRequest?

final shadow
#

yeah

#

but the other still works

#

for now

trim mist
#

Oh really? I couldn't even compile the statistic expansion when I switched to the dev build

#

Maybe my IDE was being dumb, or I was.

meager pulsar
#

whats the placeholder for clearlag timer?

jagged venture
#

when updating PAPI my deluxetags stop working on my 1.16.1 server if I then change it back the work again, please @jagged venture ping me when you reply, thank you

balmy marten
#

What papi version?

jagged venture
#

latest

balmy marten
#

/papi dump

jagged venture
#

2.10.8

balmy marten
#

and grab the startuplog

tender vaporBOT
jagged venture
#

I'm getting the updtaded vresion and starting up the server

tender vaporBOT
#

@jagged venture this

jagged venture
#

still wont work

mint fable
#

send over the startup log

river palm
#

Hey Clip, can i make a placeholder listen a SQL query?

mint fable
#

you can make a placeholder do whatever you want

river palm
#

Thank you!

river palm
#

There is no problem if i build with maven using mvn clean package right?

river palm
#

I'm having troubles while trying to make a new placeholder expansion for my plugin

bitter knoll
#

i can't receive ecloud register mail

balmy marten
#

erh theres a known issue if you use capital letters

#

it bugs out

bitter knoll
#

my address is not using capital letters

balmy marten
#

The username

#

give me send and ill manually verify it

bitter knoll
#

username?

balmy marten
#

@bitter knoll what username you use? cursan?

bitter knoll
#

yes

balmy marten
#

Aight you should be able to login now

bitter knoll
#

thanks you 😄

mint fable
#

@bitter knoll you don't need to upload tests to the ecloud

west socket
#

Hi

#

The Statistic & PlayerPoints expansions are not working

#

Any solutions?

#

When they will be available?

balmy marten
#

Run /papi dump are share the link here

dim compass
#

what is the placeholder for player default name?

jolly barn
balmy marten
#

Redownload the plugin @jolly barn

#

Looks like it was corrupted on download

jolly barn
#

I have no idea why, but that worked...
Thx

balmy marten
#

what is the placeholder for player default name?
@dim compass %player_name%

dim compass
#

okay thx

west socket
tender vaporBOT
#

@west socket,

mellow sandal
lost saffron
#

im trying to use PAPI in game to download griefprevention placeholders but when i go to register the file it downloads it tells me the file it downloaded is out of date, i even tried older files this is making me crazy lol

mellow sandal
#

same

#

the griefprevention placeholder is broken

lost saffron
#

i super want it just to show who owns a claim in holographic display

mellow sandal
#

i think they haven't updated yet with the latest PAPI

#

the latest PAPI broke alot of placeholders lately.

lost saffron
#

:C

mellow sandal
#

but its a better system.

turbid tide
#

have you tried latest dev build Polar?

#

of PAPI I mean

lost saffron
#

i dont think so ill try that, i added papi like 3 days ago

#

if that doesnt work ill poke griefprevention discord lul

turbid tide
#

well you could because the dev builds only add those methods back as deprecated

#

so developers have time to switch

lost saffron
#

ooooh they stopped support and went premium it looks like 😮

turbid tide
#

well I'm pretty sure they have been for a while

#

premium I mean

lost saffron
#

bruh im like following breadcrumbs in the dark at this point

turbid tide
#

btw I saw a lot of people recommend GriefDefender over GriefPrevention

#

its premium

#

but its open source

#

so you can compile it you just won't get support from their discord most likely

lost saffron
#

well thank you, this quickly became more than i was looking for so ima just turn back now lol

turbid tide
#

xD

lost saffron
#

bro what a twist

#

i joined an OLD discord

#

griefprevention is still up lol and someone else was asking about the same thing in their actual discord

#

we submitted the issue to the github hopefully they update 😄

lilac oasis
#

can someone help

turbid tide
#

its not a problem with papi

#

its just that papi removed some methods

#

you can try using latest dev build of PAPI

lilac oasis
#

ok

#

where can i get it

#

github?

junior musk
#

you can download the latest update from yesterday (2.10.8) on SpigotMC

lilac oasis
#

i did

junior musk
#

from today*

lilac oasis
#

tahst the version that made the plugin stop working

#

o

junior musk
#

2.10.8 or 2.10.7 ?

lilac oasis
#

2.10.8

warm topaz
#

theyre probably using the PlaceholderHook method which was removed entirely

lilac oasis
#

most likely

turbid tide
#

then you'll have to stick with papi 2.10.6

#

or update the plugin yourself

warm topaz
#

considering it hasnt been updated since 2018 thats my guess

turbid tide
#

or get rid of it

lilac oasis
#

ok

#

ill try to update the plugin

warm topaz
#

public class CoinsPlaceholders extends EZPlaceholderHook {

#

yup

#

lol

lilac oasis
#

i dont really have much java knowledge

#

though

#

so whats an alternative method

#

that hasn't been removed

warm topaz
#

extend PlaceholderExpansion

#

then change onPlaceholderRequest to onRequest and pass an OfflinePlayer instead

lilac oasis
#

kk

#

i put the archive file in eclipse but it says there were no projects found

#

nvm

#

i found a different way

minor hamlet
#

what is the placeholder for numer of online players on the server and server status (online, offline)?

lilac oasis
#

%server_online% is online players

#

idk about status

minor hamlet
#

:(

turbid tide
#

use the pinger expansion

#

to see if a server is online/offline

minor hamlet
#

%pinger_online_testplugins.com:25565% this one?

mellow sandal
#

@turbid tide where can i get the 2.10.7-Dev

#

i'll stick for it in a meanwhile

#

it seems like it was removed from the pin

cunning elk
#

Good afternoon

mellow sandal
#

same to you.

cunning elk
#

on updating to lastest papi i got an error with griefprevention placeholders

turbid tide
#

ugh I think its because 2.10.8 was suppose to fix the issue

cunning elk
#

reported it to them

#

they forwarded me here

turbid tide
#

%pinger_online_testplugins.com:25565% this one?
@minor hamlet yes

mellow sandal
#

yeah

#

we need that 2.10.7-Dev

#

where is the pin tho

turbid tide
#

I mean what you can do is downgrade to 2.10.6

mellow sandal
#

nah

#

2.10.7 is half-support 1.16

cunning elk
#

I have 2.10.7

mellow sandal
#

so i need that for now

turbid tide
#

also yeah papi provides a hook but some methods were removed and they should update. just sending you here won't solve anything

cunning elk
#

it doesnt let me send it here tho

mellow sandal
#

can you upload it here?

#

dm me

turbid tide
#

because the methods are going to be added back just as deprecated

cunning elk
#

also yeah papi provides a hook but some methods were removed and they should update. just sending you here won't solve anything
@turbid tide what should i do

#

report to papi github?

turbid tide
#

well I mean its known about it

#

I kinda lost track of what updates

#

got out

#

and what you should use xD

cunning elk
#

oof

turbid tide
#

give me 2 seconds

mellow sandal
#

nvm the 2.10.7 is on the version history on spigot

turbid tide
#

yeah it is

mellow sandal
#

thanks anyway @cunning elk

minor hamlet
#

ty

turbid tide
#

but does 2.10.8 not fix the problems?

#

tho?

mellow sandal
#

nope griefprevention has not yet keep up to date with the new expansion update

cunning elk
#

Blitz, how can I reference the github issue i sent you hre

#

from gp

#

on papi's

#

i wanna report it just referencing it so they just see what i already have posted and analyzed

turbid tide
#

I don't think that papi's github is public unfortunately

#

I'm already talking with funnycube tho

daring basin
#

hello!

#

java.lang.NoSuchMethodError: me.clip.placeholderapi.PlaceholderAPI.registerPlaceholderHook(Ljava/lang/String;Lme/clip/placeholderapi/PlaceholderHook;)Z
        at kernitus.plugin.OldCombatMechanics.hooks.PlaceholderAPIHook.init(PlaceholderAPIHook.java:13) ~[?:?]
        at kernitus.plugin.OldCombatMechanics.OCMMain.lambda$onEnable$0(OCMMain.java:61) ~[?:?]
        at java.util.ArrayList.forEach(ArrayList.java:1257) ~[?:1.8.0_252]
        at kernitus.plugin.OldCombatMechanics.OCMMain.onEnable(OCMMain.java:61) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[patched_1.12.2.jar:git-Paper-1618]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316) ~[patched_1.12.2.jar:git-Paper-1618]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) ~[patched_1.12.2.jar:git-Paper-1618]
        at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:395) ~[patched_1.12.2.jar:git-Paper-1618]
        at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:344) ~[patched_1.12.2.jar:git-Paper-1618]
        at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:442) ~[patched_1.12.2.jar:git-Paper-1618]
        at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:403) ~[patched_1.12.2.jar:git-Paper-1618]
        at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:341) ~[patched_1.12.2.jar:git-Paper-1618]
        at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:289) ~[patched_1.12.2.jar:git-Paper-1618]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616) ~[patched_1.12.2.jar:git-Paper-1618]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]
[09:48:09 INFO]: [OldCombatMechanics] Disabling OldCombatMechanics v1.8.1
[09:48:09 INFO]: [OldCombatMechanics] OldCombatMechanics v1.8.1 has been disabled

tender vaporBOT
#

@daring basin,

turbid tide
#

^

cunning elk
#

okay

#

so shouldnt even report it?

turbid tide
#

well GP should update

#

just give us 2 minutes

#

we'll check how they are hooking into papi

daring basin
#

thank you!

cunning elk
#

Okay

#

Tag me if you need me

mellow sandal
#

ah yikes

#

in 2.10.7 downloading expansion is not working

turbid tide
#

use 2.10.6

#

then

mellow sandal
#

is it okay with 1.16?

#

the 2.10.7-Dev was working fine though this is strange.

#

Blitz?

turbid tide
#

well I have no idea tbh

#

I do use it

#

and seems to work just fine

warm topaz
#

ok who needed grief prevention expansion

mellow sandal
#

woah

#

thanks man

warm topaz
#

please try it 👍

#

should work

turbid tide
#

if it doesn't just blame him ^

#

xD

warm topaz
#

😦

cunning elk
#

Kotlinber

#

Should that replace Griefprevention itself or just expansion

warm topaz
#

expansion

cunning elk
#

ok

#

I will try it out

#

It worked

#

thank you

#

😄