#placeholder-api

1 messages ยท Page 138 of 1

austere hawk
#

@mint fable done.

tender vaporBOT
#

@austere hawk,

Hey!

Please respect the rules, be patient and don't ping staff members!

austere hawk
#

I cant see the scoreboard Cj

#

I see the time, the ping.

#

And how can I shorten the scoreboard?

#

And how can I shorten the welcome text.

steep thorn
#

@austere hawk that question does not seem Papi related, use another channel*****

silver minnow
#

channel*

brazen breach
#

Hey guys ๐Ÿ˜„ I seem to have a problem with PlaceholderAPI.. Can anyone help? โค๏ธ

mint fable
#

What's the issue?

brazen breach
#

Can i post a picture here?

turbid tide
#

?imgur

tender vaporBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.

brazen breach
#

ah okay, 2 sec

#

there we go

#

I see the "Could not fetch placeholder %votingplugin_total_alltime% from plugin PlaceholderAPI. Is the plugin properly installed?"

mint fable
#

do you have votingplugin installed?

brazen breach
#

yeah

#

That's the weird part

#

And that plugin is working fine

mint fable
#

it's possible you don't need the expansion

brazen breach
#

How do I remove it? :/

turbid tide
#

go to plugins/PlaceholderAPI/expansions

mint fable
#

hmm you do

turbid tide
#

and delete the one that is called VotingPlugin or something

#

probably there's a command for that but no idea what it is

brazen breach
#

aw

#

Okay i'll try, thank you so far!

#

๐Ÿ˜„

turbid tide
#

then do /papi reload

brazen breach
#

oh so I don't have to close the server to delete it?

mint fable
#

you still need it

#

maybe you just need to update it

#

run /papi ecloud download votingplugin

#

and /papi reload

brazen breach
#

okay ill try that first

mint fable
#

lookin good

brazen breach
#

Hmm, does the orange line mean anything?

#

oh okay cool

mint fable
#

just a warning

#

you see the WARN

turbid tide
#

nah just spigot showing unnecessary warnings

mint fable
#

I believe the expansion is a bit wrong

#

should be fixed, but should be fine

#

I wouldn't say "unnecessary"

brazen breach
#

yeah okay, thanks a lot guys! Seems like it isn't spamming the first pictures lines anymore

turbid tide
mint fable
#

it's because it doesn't override getrequiredplugin

#

but it also doesn't override onrequest

#

so I'm confused

brazen breach
#

Seems to be working anyway xD

mint fable
#

odd

brazen breach
#

I appreciate it hehe

mint fable
#

but good

brazen breach
#

๐Ÿ˜„

mint fable
#

lol I see a lot was put into it

#

so much so that it's class is actually called VotingPliuginExpansion.class

#

๐Ÿ˜‚

brazen breach
#

x)

mint fable
#

๐Ÿ˜ฎ @override is not required

#

at all

#

this proves how little I know about annotation in java

turbid tide
#

:)))

mental night
#

blitz looking thic ;)))

brazen breach
mental night
#

Contact ur host

brazen breach
#

Yeah, it was them

#

Ty tho ๐Ÿ˜„

austere hawk
#

Hi, I'm getting an error or I don't know if it's an error

Placeholderapi version: 2.10.6
/papi ecloud download statistic I'm writing gives the following message

No cloud expansions are available at this time.

The reason I can't use the higher version is because the dev36 script gave an error.

turbid tide
#

?ecloudblock

tender vaporBOT
#
FAQ Answer:

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

turbid tide
#

read this @austere hawk ^. Also update PAPI. 2.10.9 is out and there's also 2.10.10 dev builds

austere hawk
#

Shall I download the latest version?

turbid tide
#

its what we recommend yes. But we can't say that will fix your problem. The best solution we have is manual expansions download as the bot said

austere hawk
#

I am using the dev36 script. When I update the placeholder Api it gives the following error.

#

Caused by: java.lang.ClassNotFoundException: me.clip.placeholderapi.external.EZPlaceholderHook

#

@turbid tide

turbid tide
#

oh yeah so you have an expansion or plugin that uses an outdated hook

#

ah by the looks of it the skript expansion

#

idk if there's a more updated version of that expansion

austere hawk
#

Why can't I install in version 2.10.6 / papi ecloud download statistic @turbid tide

#

?

mental night
#

ur using outdated placeholderapi

austere hawk
#

yep

#

script developer returns 36 errors

#

skript dev36

#

I'm using low version because of this bug

steep thorn
#

@austere hawk because of 'which bug'? The error is because of your outdated version

austere hawk
#

Placeholderapi 2.10.6 /papi ecloud download statistic not working

#

No cloud expansions are available at this time.

steep thorn
#

That has nothing to do with Skript though

#

I don't know why that errors occurs, I suggest resetting the entire PlaceholderAPI folder and reinstalling latest dev build

austere hawk
#

Tried and gave the same error again

compact swallow
#

for the server extension, where does it get the name of the server

austere hawk
#

Hi, need a little help. I'm thinking now. So I use LeaderHeads, the placeholder gives me a nickname, can I somehow set the text color based on this data, depending on the user's group? Coloring his nickname in the band color

ashen sphinx
#

is papi 2.10.9 working for paper 1.16.4? if not where can I find dev builds of papi that work for paper 1.16.4?

mint fable
flint nacelle
flint nacelle
#

is it a way to but in a . or , in a placeholder? when it are large numbers is always help if you can split it.

carmine veldt
mint fable
#

@flint nacelle you around to test? just added loreequals and it works with give

#

as long as this test works I'll push 2.0.0

flint nacelle
#

yes can test ๐Ÿ™‚ witch server versions will you I shall test?

mint fable
#

I tested with 1.16.4

#

so I feel testing with 1.8 or 1.9 would be fine

#

that's a good range

flint nacelle
#

will check ๐Ÿ™‚

flint nacelle
# mint fable so I feel testing with 1.8 or 1.9 would be fine

So test 1.9.4 all functions work can give lore and name, colours and text style work fine. 8.8 give gives fairly unstable results. gives numbers when using n. simply says that I did not receive the item (no errors), but if I relog in get the item but an item some has the properties from the item I give before. portion does not work (do not know if it is completely different name for this). But work fine if you use colors and k, l, m and lore, name can you change (test normal items). change lore row work fine.

tender vaporBOT
#

@flint nacelle,

Hey!

Please respect the rules, be patient and don't ping staff members!

#

@flint nacelle,

Hey!

Please respect the rules, be patient and don't ping staff members!

regal parrot
#

hello i would like to display the number of golems killed but i can't find the correct entity name for mc 1.8.8 can you help me?

#

"Could not get the statistic 'KILL_ENTITY' for 'IRON_GOLEM'"

turbid tide
regal parrot
#

for 'IRONGOLEM' i have invalid entity

turbid tide
#

ye so IRON_GOLEM is right then the problem is something else

regal parrot
#

ok :/

turbid tide
#

make sure you're on the latest version of PAPI and same for the Statistic expansion

regal parrot
#

papi : 2.10.9
statistic : 2.0.0

regal parrot
#

[Statistic Expansion] Could not get the statistic 'KILL_ENTITY' for 'IRON_GOLEM'
java.lang.IllegalArgumentException: The supplied EntityType does not have a corresponding statistic

turbid tide
#

huh that's very weird

#

you're on what server version again? 1.8 or 1.8.8 ?

mental night
#

for mc 1.8.8

mild gale
#

what is the placeholder for all online players?

mental night
#

playerlist expansion

mint fable
#

i think potions uses damage numbers so it might be mat:potion,data:8201 in 1.8 or something like that @flint nacelle

flint nacelle
mint fable
#

๐Ÿ‘

#

as for the item glitching thing, I got no idea...

#

gives numbers when using n. simply says that I did not receive the item (no errors), but if I relog in get the item but an item some has the properties from the item I give before very odd behavior

flint nacelle
#

oo I see I was too lazzy, I mean &n my bad.

mint fable
#

ohhh

#

I don't think you can underline item names in 1.8

#

i don't know why, but I just feel that it wasn't possible

flint nacelle
#

Yes it seams like it way it buged, in 1.9.4 it work fine. But other like &k &o &l work, but the output is strange for &n you shuold not get a item.

mint fable
#

ya, I'll check into that

#

just tested, &n seems to work fine on 1.8.8 for me

#

in name and lore

flint nacelle
#

strange

mint fable
#

maybe it's something else on your server/client?

flint nacelle
#

new installed client and server (1.8.8 paper new from papermc).

mint fable
#

paper could be the issue

flint nacelle
#

Strange seams like the server or client needed a restart, for it work now.

mint fable
#

okay so

#

give with data was broken, just fixed that too

flint nacelle
#

yea that not work. give error.

mint fable
#

latest version

#

tested in 1.8 and 1.16 to work

#

just wanna make sure most bugs are out when I upload it

#

excluding the ones when people use invalid materials/potions/etc. ๐Ÿ˜‰

flint nacelle
#

I run this command, some times it not notice that there is an empty slot. Know that there is some vanilla bug that does not register a slot even always (do not know about what is causing the error). I deletes an item that the plugin added and runs it again for a new item and it says yes without adding an item (does not happen every time)

papi parse my name %checkitem_give_amt:1,mat:potion,data:8257,nameequals:&n test,loreequals:&6&n test if it work|&6or if it not%

mint fable
#

what version?

#

also did you copy that from in game? it says loseequals

#

i gotta head to work, will be back later

flint nacelle
tender vaporBOT
#

@flint nacelle,

Hey!

Please respect the rules, be patient and don't ping staff members!

flint nacelle
regal parrot
#

Sorry Blitzzzzz i'm using 1.8.8

pulsar pendant
#

How do I use Skript with a variable? I tried this: %skript_percentage{player}%

This is the variable trying to place it with {-percentage%player%}

#

Oh is it normal to say "There is no expansion loaded with the identifier: Skript" when I try /papi info Skript, I downloaded it via /papi ecloud download Skript and did /papi reload which said no extensions registered and also tried restarting the server

silver minnow
#

@pulsar pendant

pulsar pendant
#

Still no registered

#

It is only detecting tab plugin

#

which I didn't even download the extension for it, it automatically added it

turbid tide
#

?ecloudblock

tender vaporBOT
#
FAQ Answer:

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

turbid tide
#

you tried this ^ ?

pulsar pendant
#

No, but the file is in the extensions folder

#

will try

turbid tide
#

delete it

#

and download it again manually

pulsar pendant
#

is it ok to have _bGsPupR at end of the name file?

turbid tide
#

yeah idk if that matters

pulsar pendant
#

Still nothing after /papi reload

turbid tide
#

ok restart your server

#

and send the startup log

#

?startuplog

tender vaporBOT
#
FAQ Answer:

Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.

turbid tide
#

^

pulsar pendant
#

Yeah, was about to, since I just saw an error showing in the log

turbid tide
#

ye I think you are using PAPI 2.10.7 or higher with the old Skript expansion. But I need the logs to confirm

pulsar pendant
#

Most likely the case, I have PAPI 2.10.9

turbid tide
#

ye

#

that confirms it

pulsar pendant
#

So, how do I get the newer one? I am only finding 1.0.0

turbid tide
#

ye its just a fork. i forgot who made it. It'll take a while to find it

pulsar pendant
#

Oh. Thanks!

turbid tide
#

oh

#

didn't know its on ecloud

#

you can try it

junior musk
turbid tide
#

seems like its been updated last year

junior musk
#

ah

turbid tide
#

does the fork not work?

#

the one from the ecloud?

pulsar pendant
#

with /papi reload the same message

turbid tide
#

try the one from Tangu's link

junior musk
#

December 23, 2019
surely won't

#

try to download the jar from the GitHub link I sent and put it in your Expansions folder in your PlaceholderAPI folder

turbid tide
#

delete the other skript jars from the expansions folder as well

pulsar pendant
#

It works

#

Thanks

turbid tide
#

๐Ÿ‘

#

or maybe @vivid sparrow saw you're online xD

turbid tide
#

ty

empty rose
#

Im new to all of this... how would I start this process? I downloaded it, but I am unsure how to use it

empty rose
#

So I downloaded it bec I am starting a factions server and I want the score board to show on the side all of this information, But I can't seem to get the scoreboard to show

turbid tide
empty rose
#

ahhhh Ok, ok

#

do you know of any good ones?

turbid tide
#

Scoreboard Revision is a free one

#

but good ones if you can afford of course are KiteBoard

#

for example

#

is *

silver minnow
#

titlemanager 3.0.0

junior musk
#

or TAB Premium ยฏ_(ใƒ„)_/ยฏ

turbid tide
junior musk
#

it does

turbid tide
#

also can you even buy it anymore?

junior musk
#

you can

turbid tide
#

well with paypal I mean

junior musk
#

ah yeah

#

but you can with a credit card on Polymart

turbid tide
#

ah

#

ok

junior musk
turbid tide
#

xD

empty rose
#

ty all!

turbid tide
#

๐Ÿ‘

safe rock
#

Hello

#

i got a error

#

[19:53:37 ERROR]: [PlaceholderAPI] expansion class TownyChatExpansion is outdated:

#

[19:53:37 ERROR]: [PlaceholderAPI] Failed to load placeholder expansion from class: pw.valaria.placeholders.mcmmo.bridge.McMMOPlaceholderExpansion

#

That the error i get on my server

#

how to fix it? ๐Ÿ˜„

turbid tide
#

the problem is that those expansion are outdated. Someone needs to update them. Idk who has access to update them tho. Until they are updated you could downgrade to PAPI 2.10.6

safe rock
#

uhm you need to help me here

#

is it the plugin PlaceholderAPI

#

that give me the error

#

and do you got a link i need to downgrade to PAPI

turbid tide
#

yes. well not the plugin itself

#

the expansions

#

the TownyChat and MCMMO expansions

#

need updating

safe rock
#

so i need to remove the file and replace it with PAPI?

turbid tide
#

download version 2.10.6

#

go to plugins and delete PlaceholderAPI.jar

#

now go again to plugins and place the one you downloaded from the linkj

#

link*

#

then restart the server

safe rock
#

Thanks

#

now i get more errors

#

[20:26:13 ERROR]: [PlaceholderAPI] Failed to init placeholder expansion from class: com.extendedclip.papi.expansion.townychat.TownyChatExpansion
[20:26:13 ERROR]: [PlaceholderAPI] com/palmergames/bukkit/towny/exceptions/NotRegisteredException

#

[20:26:13 ERROR]: [PlaceholderAPI] Failed to init placeholder expansion from class: pw.valaria.placeholders.mcmmo.bridge.McMMOPlaceholderExpansion
[20:26:13 ERROR]: [PlaceholderAPI] Did not find a valid bridge! Are you using a supported version of mcmmo?

#

this 4

#

do i need to delete both folders?

#

befor?

turbid tide
#

hmm don't think so

#

do you have TownyChat installed?

safe rock
#

no

turbid tide
#

well then why do you have the expansion? delete it. go to plugins/PlaceholderAPI/expansions and delete the TownyChat one

#

and the McMMO one

safe rock
#

this is my plugin list

tender vaporBOT
#
๐Ÿ“‹ Your paste, Fluffy_AK47
https://paste.helpch.at/iqidamakic

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

turbid tide
#

yes then do as I said above

safe rock
#

and then restart the server?

turbid tide
#

just do /papi reload

#

should be enough

safe rock
#

I got no errors now ๐Ÿ˜„

turbid tide
#

๐Ÿ‘

safe rock
#

thanks you so much!

turbid tide
#

you can also update PlaceholderAPI back

#

if you want

safe rock
#

I will ๐Ÿ˜„

#

what is this

#

20:37:39 INFO]: ProCosmetics has been disabled! Reason: Maximum IP addresses reached for this license.

turbid tide
#

seems like the plugin has a license system

#

contact the plugin's developer

safe rock
#

Okay thanks ๐Ÿ˜„

raw plaza
#

EssentialsX helper, says to contact here that Placeholders of Vault not work with EssentialsX currency.

mental night
#

did you download the vault expansion

austere hawk
#

Deluxechat placeholderapi Where can we find the part

tender vaporBOT
#

@austere hawk,

Hey!

Please respect the rules, be patient and don't ping staff members!

novel moss
#

Can you be more specific? You can find placeholders on the wiki page for papi

#

Also your question sounds like a google search

#

Lmao

tender stump
#

hello can you guys please help me?

So from a day to another placeholder api stop working when I do /papi reload it says this

#

an internal error ocurred while attempting to perform this command

steep thorn
#

Share the error that happened

tender stump
#

ok

steep thorn
#

It's in your logs

tender stump
#

I cant

steep thorn
#

?paste

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
โ€ข HelpChat Paste - Usage
โ€ข Hastebin

tender stump
steep thorn
#

Seems to be related to AutoRestart

#

I'm not sure exactly what the issue is, LinkageError's are pretty weird

#

Maybe someone else in this chat has better advice

#

Btw, always make sure to use latest version of both plugins

naive parcel
#

hi everyone

#

I'm one of the Multiverse devs. I was just curious as to where the code for the MV expansion is

#

reason I'm asking is because we're planning on changing the API a little bit (just removing deprecated stuff), and I want to make sure the Placeholders won't break

tender stump
#

yep it works!

manic sky
#

the nicegamer7 is a multiverse dev i can verify

rare lily
#

It's close-sourced, I'm afraid

naive parcel
#

okay, that's what I thought

#

I couldn't find it on the internet so I came here just to make sure

#

if anyone wants to make sure I am who I say, you can join the MV discord or look at GitHub (you'll see some commits by me)

#

anyways, just came to warn that the API might change soon-ish

carmine veldt
#

Might be closed source, i'll chuck it up on github if it is

naive parcel
#

oh ok, cool ๐Ÿ‘

carmine veldt
#

it's decompiled, sorry if shits broken

naive parcel
#

no worries

#

I'll take a look at it later

austere hawk
#

when i added %pvpstats_kdr% it just shows as that on quickboard

#

i have the pvp stats plugin and on the website it says theres no download command

near nimbus
#

Any ideas how to make it so it doesn't say 55 hours?

austere hawk
#

is there any placeholder for kills deaths or kdr that actually works?

olive venture
#

LeakParkour no extension?
Console->papi ecloud download LeakParkour [06:53:45 INFO]: Failed to find an expansion named: LeakParkour

olive venture
#

So is there any way to do it manually or something?

austere hawk
#

there another expansion with parkour instead of leak

near nimbus
olive venture
austere hawk
#

bruh

#

leakparkour will not work

austere hawk
austere hawk
#

i was telling him it wasnโ€™t gonna work

vivid sparrow
#

@turbid tide is js expansion usable on java 15?

turbid tide
#

but we should ask @rare lily xD

#

he's the one working on it

vivid sparrow
#

aight

pulsar plank
#

i need help. when i type in chat "/papi ecloud download Player" it says "Failed to find an expansion named: Player". Can anyone help me?

warm topaz
#

?ecloudblock

tender vaporBOT
#
FAQ Answer:

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

orchid thistle
#

guys is there a way to create a top kills leaderboard with placeholderapi ?

mint fable
#

leaderheads does just that

#

=pl leaderheads

orchid thistle
#

with hologram ?

tender vaporBOT
#

v4.0.5 by RobiRami
A full-fledged solution to manage statistics and create leaderboards

Downloads:

3,851

Likes:

93

Reviews:

352

mint fable
#

yep it has PAPI support

#

so you can use the placeholders wherever

orchid thistle
#

nice, ty mate : D

mint fable
#

๐Ÿ‘ it also has a really good wiki

orchid thistle
#

i will check it : D

ivory lark
#

Hello, is this plugin compatible with 1.16.3 ? Because the last update I see was on Aug 4 2020.

mint fable
ivory lark
#

I just ckick to
PlaceholderAPI-2.10.10-DEV-118-javadoc.jar ?

austere hawk
#

can I format placeholders? for example, if a placeholder either can say 'online' or 'offline', can i make it say 'Online'? (i want to format stuff)

mint fable
#

you can with javascript

#

yes @ivory lark

ivory lark
#

Ok, thanks

mint fable
#

sorry not javadoc

#

download the bottom one

ivory lark
#

?

austere hawk
#

how though? @mint fable is there a guide?

trim mist
tender vaporBOT
#
Javascript
Useful Links & Information:

An expansion that allows you to use javascript for processing
โ€ข Wiki
โ€ข Community Scripts
โ€ข GitHub
โ€ข eCloud

mint fable
#

umm

#

so you can checkout the wiki

ivory lark
#

ohh, ok

near nimbus
mint fable
#

could you give more information?

near nimbus
#

Basically i'm using the countdown PAPI Placeholder to Dec 25th and it says 55 hours for some reason along with days. Fairly sure thats a bug as it's only a week away..

mint fable
#

oh icic

#

the countdown or the difference between 2 dates?

#

and you can just remove what you don't want shown

near nimbus
#

oh

#

wait I think I found the issue

#

I'm on 2.2.3, latest is 2.4

#

I think it worked! Thank you though.

flint nacelle
#

I has update the issue cj89898 sry took some time for me to test this properly.

mint fable
#

all good, thanks again for the help

#

if you think it's ready for release I'll update it

flint nacelle
#

Oright i can do some more testing on newer versions (if we not counts errors if you set it up wrong ๐Ÿ˜‰ ).

mint fable
#

ye dont count that

sick pawn
#

Hello, can i ask a question here?

mint fable
#

ask away

sick pawn
#

alright, im using luckperms and essentialsX (+essentialsXchat) and i want to add this line as placeholder (need to be in essentialsXchat if im right:

%clans_clan_tag%

But i dont really know where to add it. maybe its a dumb question but i've searched for the combination of these two and cant find it.

#

is this the right channel or?

mint fable
#

You need chatinjector

#

it's a plugin that will allow you to put papi placeholders in your essentials chat

sick pawn
#

oh thanks, i will look ๐Ÿ™‚

#

i've installed chatinjector and restarted the server and its now this way in essentialsXconfig (Chat part)

 format: '&8 {clans_clan_tag} &7{PREFIX}&r {DISPLAYNAME}&r &7{SUFFIX}&r: {MESSAGE}'

But its still not showing the good prefix, maybe i did something wrong?

#

it worked, nvm. thanks for the help!! really appriciate it

#

๐Ÿ˜„

solid mesa
#

and there is a placeholder responsible for taking the item ?

sage thicket
#

help?

turbid tide
warm sail
#

any reason placeholderapi red in pl?

turbid tide
#

?startuplog

tender vaporBOT
#
FAQ Answer:

Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.

turbid tide
#

@warm sail send this please ^

warm sail
#

how do i get my log from here

turbid tide
#

well you copy the text from the file

#

and paste it to paste.helpch.at

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
โ€ข HelpChat Paste - Usage
โ€ข Hastebin

turbid tide
#

thank you @silver minnow

silver minnow
#

๐Ÿ˜„

#

there should be autodelete message tho

turbid tide
#

nah

#

its better like this

warm sail
#

ok sorry

#

what ?

turbid tide
#

1 sec

#

ugh

#

your pastebin doesn't work for me

warm sail
#

ok

#

this?

turbid tide
#

yep that

#

ok I'll be right back

warm sail
#

ok well idk latest placeholderapi broken in 1.16.4

turbid tide
warm sail
#

Yes

#

but placeholderapi 2.10.7 doesnt which is stranger

turbid tide
#

1 sec

warm sail
#

ok

turbid tide
#

download the latest dev build of PAPI

#

from the link and change the jar in your plugins folder

#

then restart

warm sail
#

sure ill try

#

ok my server up

turbid tide
#

and is PlaceholderAPI still red?

warm sail
#

yes

turbid tide
#

can you send the new log?

#

?startuplog

tender vaporBOT
#
FAQ Answer:

Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.

turbid tide
#

?paste

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
โ€ข HelpChat Paste - Usage
โ€ข Hastebin

warm sail
#

i might just go back to placeholder api 2.10.7 since none of newer ones work

steel veldt
#

hm? the latest dev build didn't help with the error flood?

turbid tide
#

it doesn't give an error

#
[17:55:10] [Server thread/INFO]: [PlaceholderAPI] Disabling PlaceholderAPI v2.10.10-DEV
[17:55:10] [Server thread/INFO]: [PlaceholderAPI] null
[17:55:10] [Server thread/INFO]: [PlaceholderAPI] Error loading PlaceholderAPI v2.10.10-DEV at com.onarandombox.PlaceholderAPI.<init>(PHjava:56) ~[?:?]```
#

this is all it says

warm sail
#

i will use older version till new one is fixed

steel veldt
#

ah, my bad. I was just making an assumption based on my own issues, sorry

turbid tide
#

nah.

#

Opal what's your issue?

warm sail
#

thank u for help blitz

turbid tide
warm sail
#

can you let me know when it fixed so I can update?

steel veldt
#

Just some stacktrace errors on server shutdown, I've just updated to the latest dev build, so hopefully that should solve the issue

turbid tide
#

well if I ever find out what the problem is I'll let you know

warm sail
#

ok

turbid tide
#

errors***

steel veldt
#

sure thing, granted - there didn't seem to be anything inherently wrong, the plugin still functioned fine and I didn't notice anything going wonky, just some stacktrace errors whenever I shutdown

turbid tide
#

I mean I have an assumption to what it might be but once again just an assumption since i didn't see the errors

steel veldt
#

oh, no image perms

turbid tide
#

ah yeah

#

ultraperms expansion is missing the getVersion method

#

its not going to affect the placeholder indeed but its going to print a stacktrace yeah

steel veldt
#

mhm, figured as much.

turbid tide
#

yeah so nothing really you can do just ask the dev of the expansion to add the method

steel veldt
#

I'll talk to evan about it

atomic trench
#

Hi guys, do you know a way I can add placeholder outputs and return the added value with another placeholder? Like %javascript_sum% = %placeholder_1% + %placeholder_2% + (...) I feel this would be pretty simple with js but I'm just too dumb.

turbid tide
#
function main() {
  return parseInt("%placeholder_1%") + parseInt("%placeholder_2%") + parseInt("%placeholder_3%");
}
main();```
#

this is the code

#

you'd need

toxic nest
#

Hello guys, i have a problem which i had in the past but still not finished (fixed)
The main issue is that some placeholders are not right sinced.
By that i mean that for example statistics. Mined blocks are set and it counted it one day it just set it to 0 and stopped working.
I've set placeholder in parse to test and it gives 0 for me.
I've removed player data in my world + some cashe files + essentials player data just in case

Does anyone have any idea where is statistics getting the values.
I am using 1.8 version and latest 2.10.9 papi version + no errors in console

warm sail
trim mist
#

Can you be a little more specific?

turbid tide
#

well enabling and disabling

#
[17:55:10] [Server thread/INFO]: [PlaceholderAPI] Enabling PlaceholderAPI v2.10.9
[17:55:10] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...
[17:55:10] [Server thread/INFO]: [PlaceholderAPI] Disabling PlaceholderAPI v2.10.9
[17:55:10] [Server thread/INFO]: [PlaceholderAPI] Error loading PlaceholderAPI v2.10.9 please contact author!```
#

this is all it says

trim mist
sage thicket
#
[00:16:03 INFO]: This server is running Paper version git-Paper-318 (MC: 1.16.4) (Implementing API version 1.16.4-R0.1-SNAPSHOT)
[00:16:03 INFO]: Checking version, please wait...
[00:16:04 INFO]: Previous version: git-Paper-213 (MC: 1.15.2)
[00:16:04 INFO]: You are 14 version(s) behind```

```>bungee
00:16:49 [INFO] CONSOLE executed command: /bungee
00:16:49 [INFO] This server is running BungeeCord version git:BungeeCord-Bootstrap:1.16-R0.4-SNAPSHOT:9c078b7:1539 by md_5```

```papi
[00:17:11 INFO]: PlaceholderAPI (2.10.9)
Author: [HelpChat]
PAPI Commands: /papi help
eCloud Commands: /papi ecloud```

Idk if this helps
#
[00:20:06 INFO]: Installed Expansions
    Name        Author  Verified  Version  
-------------------------------------------
2.  Player      clip    Y         1.7.2    
3.  Bungee      clip    Y         1.0.1    ```
warm sail
#

ok so just reinstall it?

sage thicket
#

reinstall what?

warm sail
#

placeholderapi? cuz dev version or latest version dont work

sage thicket
#

i mean the problem is its not updating

#

if i would of guess

austere hawk
#

yo how come galistener placeholder isn't working on deluxemenus @final shadow

tender vaporBOT
#

@austere hawk,

Hey!

Please respect the rules, be patient and don't ping staff members!

warm sail
#

ok ill use older verson one till version 2.10.11 is out

sage thicket
#

I think the wrong bungee expansion was uploaded to the ecloud https://prnt.sc/w5pwoe <- screenshot from lightshot with the info

austere hawk
#

it was cause i got that same notification to update it yet i did

sage thicket
#

On the ecloud it says "Version 2.0" in the jar file it says "1.0.1"

austere hawk
#

he uploaded the wrong version

#

@sudden slate

tender vaporBOT
#

@austere hawk,

Hey!

Please respect the rules, be patient and don't ping staff members!

sage thicket
#

xD

austere hawk
#

hey guido clip uploaded the wrong version of the bungee expansion

#

@sudden slate

tender vaporBOT
#

@austere hawk,

Hey!

Please respect the rules, be patient and don't ping staff members!

sage thicket
#

dotn ping please

vivid sparrow
#

@austere hawk last warning, stop

austere hawk
#

ok ms

sage thicket
#

You will get in trouble for spamm pinging staff

vivid sparrow
#

3 pings in 10m.

austere hawk
#

sorry ms.gaby

vivid sparrow
#

๐Ÿ‘

austere hawk
#

yo tho

#

could u tell clip to upload the right version?

trim mist
austere hawk
#

waffle king so he did?

trim mist
#

I have no idea. I just compiled the latest for you.

austere hawk
#

oh ok thanks g

#

waffle king also when i add galistener placeholder to deluxemenus it doesn't work it just shows the placeholder am i missing an expansion?

trim mist
#

That expansion has not been updated in 4 years, and, clip isn't the developer for that one. Reach out to the developer, but, I doubt they really care anymore.

austere hawk
#

oh ok and ya looks like it didn't show the update issue anymore so it was the wrong version he uploaded then

balmy agate
#

Hello Friend! Could you help me with the DeluxeMenu plugin. The fact is that I run version 1.10.4 of the plugin on the papermc 1.12.2 core and everything works fine, but as soon as I want to install the latest version, I get errors in the console, they say I have incorrectly specified the id of the item and this error appears even in standard files that are created automatically by the plugin the first time.

austere hawk
#

you need to update

balmy agate
#

What exactly to update?

#

Here's the error: ( Material for item: examplecd in menu: advanced_menu is not a valid material name / id! )

sage thicket
#

The error im having is kiteboard ๐Ÿ˜›

sharp jay
#

@heady falcon ^

rare lily
#

This is kinda bizzare, but I had to kinda force-update JS expansion stuff to 1.7 for new engine setup

#

Meanwhile, lists every features that are needed for this. Thank you

austere hawk
#

can we use /papi parse without an online player, cuz I don't want to close my IDE then start Minecraft and test and then close Minecraft and start IDE to code

brisk coral
#

Have both oppened?

austere hawk
#

that will crash my pc

brisk coral
#

If it's a player specific placeholder then yes you will need an online player

austere hawk
#

I c

#

i'm having a bit of an issue with the plugin

#

some expansions aren't working for some reason

turbid tide
wet basinBOT
#

@edgy notch Unknown expansion.

warm topaz
#

yes

turbid tide
#

well the ChatColor expansion is using an outdated way to register placeholders

#

it needs updating.

#

the dev of the ChatColor expansion

#

no idea who it is

#

Is it integrated in the plugin? If yes then the dev of the plugin itself has to update it

#

yeah seems like its integrated

#

well I mean ask the dev to update

#

oh wait

#

you're using v 6.2

#

why?

#

that plugin is at version 1.10.3

#

or something

#

are you sure you have the right plugin>

limber flax
#

Does anyone know of a Placeholder that I can use to count forward from a specific date? For example, I want to be able to set the date to say 18 December 2020 and it should display 22 Hours 39 minutes and 10 seconds

turbid tide
#

you can do it with javascript

#

if you want

#

I know I've done it before

#

maybe if I can find the file I'll send it to you

limber flax
#

That'd be a big help, otherwise I'm gonna have to go and fiddle with js

turbid tide
#

after this game tho

limber flax
#

๐Ÿ‘

austere hawk
turbid tide
#

/papi parse null %placeholldeer%

#

should work

austere hawk
#

nope

turbid tide
#

doesn't seem like there is a parse command

turbid tide
#

you need to use it like this: %javascript_timer_YEAR,DAY,HOUR,MINUTE,SECOND%

#

so for example %javascript_timer_2020_353,1,0,0%

#

would start a timer since yesterday 1 am

#

DAY = day of the year

#

not of the month btw

#

@limber flax ^

#

that js could probably require an update since its pretty old

#

but yeah xd if I do update it I'll let you know

limber flax
#

Legend, thanks a ton!

turbid tide
#

it uses 24 hours format btw @limber flax

#

not 12 hours

#

hope it still works btw xD

turbid tide
#

the old one was a bit broken.

#

this one seems to work fine

#

I updated the math and the code

limber flax
#

Okay, great. Thanks!

robust patrol
#

Anyone know if there is a simple way to change a color or character that appears depending on a condition being met? e.g. %haspermission_example.perm% returning a tick or cross instead of true/false or changing the color already present e.g. green or red

Thanks ๐Ÿ™‚

turbid tide
#

well you could use the javascript placeholders

#

to make your own custom placeholders

robust patrol
#

Yeah I did a bit of experimenting with that, it's a little annoying that the boolean thing in PlaceholderAPI's config seems to remap the output to yes/no rather than continuing to accept true/false

turbid tide
#

well you can change the output yourself in config.yml

#

plugins/PlaceholderAPI/config.yml

#

but it will change it for all PAPI placeholders that return a boolean

robust patrol
#

I have a lot of these

              type: string equals ignorecase
              input: '%player_has_permission_perm.1%'
              output: "no"```
which could be changed to this for future proofing
```            hasperm:
              type: string equals ignorecase
              input: '%player_has_permission_perm.1%'
              output: false```
turbid tide
#

yeah well you can change that in config.yml once again

#

you can change the output to whatever you want

robust patrol
#

But I'd have to make sure that green tick / red cross everywhere (and I have a bunch of menus). I'll give it a go

#

Thanks ๐Ÿ™‚

flint nacelle
sullen dome
#

Yo, new to PAPI. I'm trying to use the placeholder %bungee_<servername>% in my plugin to send a message.
I already imported PAPI, how would I go about actually getting the placeholder to work in a string.
Thanks in advance.

mint fable
#

Gotta download the expansion, run those commands this

sullen dome
#

Ok. And then what do I have to do for %bungee_<servername>% to be replaced with the number of players?

mint fable
#

put your server name in it

#

ah wait

#

your plugin?

#

as in you're developing a plugin to work with papi placeholders?

sullen dome
#

Yes exactly

#

But I just want to broadcast a message with %bungee_<servername>%

#

will it work right away?

mint fable
#

are you only using it for bungee placeholders?

sullen dome
#

Right now yes

mint fable
#

just 1 line really (and all the checks and balances at startup ofc)

sullen dome
#

Well yeah I read that page but do I put on event.getPlayer()? I don't have a player to use it with right?

mint fable
#

PlaceholderAPI.setPlaceholders(Player, String);

#

huh?

#

You'll need to fake a player somehow

sullen dome
#

Got it

mint fable
#

could you not hook into the bungee api though?

turbid tide
#

can't you use null?

mint fable
#

and do the same thing?

#

Maybe, give null a try

sullen dome
#

@mint fable I'm trying out with this first but you're right I should use Bungee messages and whatnot

#

thx I'll try with null

flint nacelle
#

@mint fable sry for ping you, beside the issue I send on github, I seams too fine. Has not find any more bugs soo far.

tender vaporBOT
#

@flint nacelle,

Hey!

Please respect the rules, be patient and don't ping staff members!

flint nacelle
#

So i should say it do what is say it should do and give items or send a number if it cant.

mint fable
#

give should not be used as a requirement

#

it should be used as a command

#

same for remove

#

because every time the placeholder is parsed, the action is run

#

what you should probably check is if they have an empty slot

flint nacelle
#

oright, so how should yes or a number work in a command?

mint fable
#

probably not the easiest to do with deluxemenus

#

most likely javascript placeholder would be able to take and store the remaining amount if needed

#

and the yes is just saying that it worked, so you can use that in javascript as well

#

it's just the boolean response of true since the placeholder has to return something

#

I'd say just check that they have an empty inventory spot and then use give as the command

flint nacelle
#

oright god to know how it is thought too work, yes I understand that part, not how i shall use just this output for example take money or an other item from the player. no is not the easiest thing to do in dm.

but apart from this, what I can see give and the portions works fine. so for I think is ready for realise.

mint fable
#

just uploaded it, updating wiki now ๐Ÿ‘

#

thanks a bunch for the help again

flint nacelle
#

no problems ๐Ÿ™‚ you do a great job (is only me some causes problems ๐Ÿ˜‰ )

mint fable
#

there was that one time where I removed all items in inventories though ๐Ÿ˜‰

#

not too long ago ๐Ÿ˜‚

#

@turbid tide I added give to checkitem fyi

turbid tide
#

I saw

#

๐Ÿ‘

#

this will become a plugin soon xD

#

even tho there is one already

mint fable
#

ye

flint nacelle
#

Yes if it get to a plugin I will get it ๐Ÿ™‚ no mater the cost ๐Ÿ˜‰

mint fable
#

imagine charging people to give players items

flint nacelle
#

I allredy do it to players ๐Ÿ™‚ . read somewhere by the way, you could submit your menu so it could end up on github? is it still possible?

Has three portions gui (for all three types). both sell and buy thanks to checkitem.

In that case, need to fix it so it is in English ๐Ÿ™‚

sick pawn
#

Hello, Where do i add %discordsrv_user_tag% from discordSVR?

sick pawn
#

Im new to it so i dont know really much xD

steep thorn
#

Where do you want to use it lol

sick pawn
#

Don't i need to add it in the config of DiscordSRV?

steep thorn
#

I mean, that just looks like a placeholder? I never used DiscordSRV, but I don't see why you would need to use placeholder in there

sick pawn
#

or is that not how it works

steep thorn
#

I mean, based on what I see, that placeholder just shows what your Discord user tag is

#

' i use the placeholders but how do i use this on' does not make a lot of sense

#

In case you're trying to explain that the placeholder does not work, you probably need to do /papi ecloud download DiscordSRV

sick pawn
#

i did but when i restart the server and i join it doesnt show the discord name + tag in the channel i've set it to

steep thorn
#

Seems like a general plugin question

#

Not something placeholderapi related

sick pawn
#

okay, i will try it there

grand zenith
steep thorn
#

/papi dump

grand zenith
steep thorn
#

Can't really say what the error is, could be connection related

grand zenith
#

i will restart and see after that

steep thorn
#

Make sure you got the latest dev build btw

mint fable
#

I think if you post more of the startup log barry might have a response

#

it's just to disable the cloud and download things manually iirc

grand zenith
mint fable
#

rip no response

grand zenith
#

i will try a dev build now

mint fable
#

try that, if it doesn't work you'll have to just disable the ecloud and download manually

grand zenith
#

rip

#

:))

#

now it works, thanks

tender vaporBOT
#

@silver olive,

Possible Solution Found:

As part of the 2.10.7 PlaceholderAPI update we broke some methods, please update to the latest PlaceholderAPI release found here to fix these issues.

austere hawk
#

what is the difference between, onRequest and onPlaceholderRequest, methods from PlaceholderExpansion ?

mint fable
#

you should use onRequest as it supports OfflinePlayer

austere hawk
#

ok

upper raptor
turbid tide
#

seems like you're missing VotingPlugin? the plugin I mean. Or maybe the expansion?

#

make sure you have the correct version of VP and the latest version of the VP expansion

upper raptor
#

Thank you so much ๐Ÿ˜‰

#

It was the issue

turbid tide
#

no problem

scarlet valve
#

Hi i thinn the Localtime papi is broken
When i make the time in dd/mm/yyyy
The mm goes all buggy and doing odd numbers

#

Am i doing something wrong

#

Pls @ me when someone answer

turbid tide
#

its been like that for a while

#

nothing we can rly do

#

the dev of the expansion doesn't update it anymore I don't think so

scarlet valve
#

Big F

#

Ok ty for helping

turbid tide
#

no problem.

#

I think the closest thing

#

to that is the server_time

#

placeholder

solid mesa
#

%checkitem_<modifiers>%
what to write in modifiers

turbid tide
#

?checkitem

tender vaporBOT
#
FAQ Answer:

Command:

/papi ecloud download checkitem
/papi reload

Manual Download:
Download
Click here for more information on how to use the CheckItem Expansion.

solid mesa
#
  • ?checkitem
#

yes

turbid tide
#

`click here1

solid mesa
#

I'm trying to do a check on a certain item in my hand

turbid tide
#

yeah click the "click here" blue text

#

from the bot's message

#

it will take you to the wiki

solid mesa
#

namecontains:<text> - Checks if the item's display name contains <text>* **
namestartswith:<text> - Checks if the item's display name starts with <text>* **
nameequals:<text> - Checks if the item's display name equals <text>* ** ^

#

which one do I need to insert STONE into

#

i'm all confused

vivid sparrow
#

material:STONE

solid mesa
#

Excuse my English.
I've been trying to figure out how it works for an hour.
I'm trying to make a check for the presence of an object block of stone.
How do I do this ???

#

%checkitem_namecontains:<STONE>% ???

turbid tide
#

no

#

%checkitem_material:STONE%

solid mesa
#

I have shows that the check passes although in the inventory a shovel and not a stone

turbid tide
#

and you don't have a stone in your inventory at all?

#

if you do /papi parse me %checkitem_material:STONE% what does it say?

solid mesa
#

yes

#

I have a shovel in my inventory but not a stone
but outputs YES

turbid tide
#

try %checkitem_material:STONE%,strict:true

solid mesa
#
  • "%checkitem_remove_mat:STONE,strict%"
#

works

#

thank you ( it's hard for me because of a lack of understanding of English )

#

can I remove the message (yes) when the item is successfully checked ?

pine moon
#

how can i add pinger to add restarting

#

like pinger have offline and online but when server is restarting i want it to display restarting

pulsar lake
#

are there any placeholders or Javascript for reading enchantments? I found one for lore that I needed, but it doesn't read enchantments

turbid tide
#

once again there isn't one made

pulsar lake
#

I don't know Javascript, does anyone know how to make one?

austere hawk
austere hawk
#

For some reason they are not added to config.yml

#

Expansions are not added to config.yml at all, I tried to reset, all that was added was from plugins

#

downloaded via ecloud normally, are in the folder, but do not turn on at all

turbid tide
#

what config.yml do oyu mean?

#

the statistic expansion doesn't need to appear in config.yml

austere hawk
#

All extensions used to appear in the configuration, but now nothing, so they do not work, because they are not shown even in / papi list

#

tried to build from source, the plugin does not start at all

#

and weighs 3 times less than the version with spigotmc

turbid tide
#

can you restart the server and send the startup log?

#

?startuplog

tender vaporBOT
#
FAQ Answer:

Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.

austere hawk
#

did not understand the instructions, copy the entire file? or what

#

everything won't fit here

#

Although it's okay, I found on my one server where the plugin is not broken, it works

marble tiger
#

Any placeholders for local weather from an actual city ?

turbid tide
#

so real weather?

#

no I'm afraid not

marble tiger
#

ah alright, thanks

smoky spoke
#

%checkitem_inhand_lorecontains% has issues

#

if i hold a netherite pickaxe with no lore and run this
%checkitem_inhand_lorecontains:&fTest,mat:netherite_pickaxe%
it will return as yes

mint fable
#

wo wo wo

#

issues

mild gale
#

anyone knows how to make the holographic display reload automatically. Like I have a scoreboard of playtime but it's stuck at a time and it's not counting

#

feel free to tag me if you know how to do this. ^^

winged kraken
#

How to install EZRanksPro papi support?

mint fable
#

@smoky spoke you're using inhand incorrectly, it is a modifier

#

checkitem_inhand,lorecontains:<lore>,mat:<mat>

smoky spoke
#

oh ok tysm

dry heron
#

Can anyone tell whats the placeholder to see the number of diamonds in players inventory?

#

or any item

#

The wiki looks confusing for this

#

........

carmine veldt
#

pretty sure it is

dry heron
#

yes it is

#

its shown in papi but very confusing

mild gale
#

I'm sorry, I just ask. Just wait for someone to help you.

dry heron
#

amt:<number> - Checks if the player has <number> of items ^

#

something like this should work

#

Thanks anyhow shixroix

#

Hope someone could help

#

would be cool if its specifcially for diamond in players inv

carmine veldt
#

%checkitem_mat:diamond,amt:69%

#

I think

#

@dry heron

flint nacelle
junior musk
#

you have to use %checkitem_amount_<modifiers>% instead

#

so I guess %checkitem_amount_mat:diamond%

#

and it will give you the amount of diamonds you have

flint nacelle
#

๐Ÿ‘ that will work Tanguygab ๐Ÿ™‚

dry heron
#

@junior musk ofcourse the amount of diamonds in my inventory?

junior musk
#

yes

dry heron
#

๐Ÿ˜ ๐Ÿ‘

solid mesa
#

test:
command: /test
type:

  • RUN_COMMAND
    runcmd:
  • "$Script$%if%%checkitem_mat:STONE,strict%"
  • $text$yes
  • $Script$%else%
  • $text$ no!
  • $iteminhand
    What did I write wrong ???
mint fable
#

I don't really know how mycommand script works unfortunately

#

does the placeholder work? /papi parse me %checkitem_mat,stone,strict%

solid mesa
mint fable
#

?

solid mesa
#

this removes 2 blocks and issues the command *
It just works.
And how to push the check into if ?

  • "%checkitem_remove_mat:STONE,amt:2%"
#
  • "$Script$%if%%checkitem_mat:STONE%==true"
mint fable
#

well

solid mesa
#

Am I writing correctly ?

mint fable
#

it returns yes or no (set in papi config)

#

so don't check if it's true

solid mesa
#

I changed the message to + = - for convenience ( the command does not pass for some reason ) although I comply with all the conditions

mint fable
#

ugh mycommand script is so weird every time i look at it

solid mesa
#

I'm sorry to annoy you. It's just that English is bad and doubly difficult to understand how it works

mint fable
#

$Script$%if%%checkitem_mat:STONE%==yes

#

try that

solid mesa
#

I'm trying to create a check for an item that doesn't need to be placed in the quick access slot of the inventory...
So that you don't have to hold it in your hand.
You wrote the command and checked the presence of the item if there is an item removed and the effect was obtained

sick pawn
#

Hello, when i try to install chat injector it gives this error:
Legacy Chatinjector.jar doenst have a api
I dont know why

vivid sparrow
#

Is a warning, ignore it

sick pawn
#

but now it isnt working, like iit isnt showing up

#
Legacy plugin ChatInjector v1.0.0 does not specify an api-version.
21.12 13:11:14 [Server] ERROR Could not load 'plugins/chatinjector.jar' in folder 'plugins'
silver minnow
#

whats the error

#

full error

sick pawn
#

thats it

silver minnow
#

o

#

the first line is just a warning, won't affect anything

#

there would usually be some kind of stacktrace under those lines

sick pawn
#

oh here

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
โ€ข HelpChat Paste - Usage
โ€ข Hastebin

sick pawn
#
21.12 13:11:14 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:141) ~[patched_1.16.4.jar:git-Paper-330]
silver minnow
#

uhhh

sick pawn
#

but i gotta eat now, i will be back soon, sorry

silver minnow
#

ok

sick pawn
#

sorry see you soon

vivid sparrow
#

There is an updated version of CI left in reviews or smth

sick pawn
#

ohh

#

i will look, thanks.

turbid tide
#

also make sure you have ProtocolLib installed

#

the right version of PLib I mean

solid mesa
#

Guys, How to make a script check for the presence of an item in the inventory. For example ( if a person has a stone in their inventory, this will happen ....)

mint fable
#

did $Script$%if%%checkitem_mat:STONE%==yes not work?

cinder oyster
#

Hey I have a little problem with the %statistic_time_played% placeholder. The hours are accumulated further and not reset to days after the accumulation of 24. https://imgur.com/a/X1YB5Hy

rich star
#

hello guys

#

how to use hex color in placeholder javascript ?

#

im trying

#

and still trying

#

๐Ÿ˜„

#

dose anyone know how to use hex color please tell me thanks

#

๐Ÿ˜„

cinder oyster
#

What have you already tried and it doesn't work?

trim mist
#

The statistic placeholder bug is know. There's a fix being worked on!

cinder oyster
#

Oki I hope everything will work well soon
Thank you :)

pine moon
#

how to add restarting papi ping that shows when server is restarting

carmine glade
#

How do you remove an ecloud extension? I deleted the jar in the expansions folder and restarted but it says it's still installed

warm topaz
#

that is how u remove an expansion? are u sure u actually deleted it ๐Ÿค”

carmine glade
#

Yeah, do I have to clear the cache too?

#

Hmm, nope did that and then did papi reload and it is still showing as installed

warm topaz
#

stop server
delete jar
start server

carmine glade
#

It still says it's installed and that's after I deleted the whole plugins folder. I guess some plugins auto-install expansions? Parkour 6.0 is the one I'm talking about

warm topaz
#

oh right that makes more sense then

#

the parkour expansion is built into the plugin itself

#

so to delete the expansion, the plugin in ur plugins folder would have to be deleted

atomic trench
#

Is there an Expansion that helps me check if the input is a playername? Something like %isname_<input>% or anything similar?

warm topaz
#

probably not

#

im down to make this tho ๐Ÿคฃ

carmine glade
#

Okay thank you, I asked the developer and they confirmed that is the case

atomic trench
#

Maybe a js would do the job? I was trying to do that but I can't think of a way to check if a variable == connected player name

warm topaz
#

eh possibly

atomic trench
#

Nevermind! I fount OtherPlayer expansion lol

#

%otherplayer_getname_<player>% returns PNF if <player> is not a joined player's name.

warm topaz
#

ah nice

#

i didnt know the otherplayer expansion had that placeholder

atomic trench
#

Neither I theotherpig

#

Very useful for the referral system I'm tryning to do with DMenus

fierce kraken
#

How can I add custom place holders ???? That I create with a custom plugin ????

warm topaz
#

u can create an internal class and extend PlaceholderExpansion

fierce kraken
#

Thank you kaliber

warm topaz
#

u can create an external jar too, but id recommend the internal class

fierce kraken
#

Ok

atomic trench
warm topaz
#

custom plugin
fingerguns

fierce kraken
#

Nah donโ€™t want no JavaScript I prefer to hard code it in over that Iโ€™m looking for TPS over more things tbh and in my experience a lot can go wrong that I prefer hard coding it then I know the variables

solid mesa
#

For all those who have suffered like me...

I spent 2 days trying to make it work!
If you use plugins such as PlaceholderAPI + MyCommand...
be Aware that the PlaceholderAPI configuration will show the following lines
boolean:
'true': 'true'
'false': 'false'
If you change the value to " then in any case write not true but the value that you set... If you don't do this, then nothing will work for you. To hide the annoying message, just run with RUN_CONSOLE

`test:
command: /test
type: RUN_CONSOLE
placeholders_replace_mode : ONLY_PLACEHOLDER_API
runcmd:

  • "$Script$%if%%checkitem_mat:STONE%==true"
  • "%checkitem_remove_mat:STONE,amt:1%"
  • "%PlayerOptions%chat: YES"
  • "%PlayerOptions%playEffect: WITHER_SHOOT"
  • "%PlayerOptions%playSound: NOTE_BASS:3.0F:1"
  • $Script$%else%
  • $text$NO!
    permission-required: false`
#

This script checks for the presence of a stone and if there is one takes one

mint fable
#

pssh... otherplayer

#

parseother 10/10

#

I swear we tested the placeholder and it returned yes @solid mesa . That's my bad if we never did though

#

glad you finally got a solution to your issue

mint fable
solid mesa
#

Come on, norm. But it was very hard. I didn't give up )

silver minnow
#

why do people always use ` instead of ```

mint fable
#

true you didn't

#

probably don't know about it

#

?codeblocks

tender vaporBOT
#
FAQ Answer:

Use codeblocks for formatting code or configuration files:
```<language name>
<your code here>
```

For example:
```yaml
test:

  • โ€œhiโ€
  • โ€œthereโ€
    ```

Produces:

test:
- โ€œhiโ€
- โ€œthereโ€```
mint fable
#

Here zxter ^ some more information to learn ๐Ÿ‘

silver minnow
#

much easier than doing ` on every line

mint fable
#

you don't

silver minnow
#

o

#

for me i do

mint fable
#

if you do this it shows up like this

silver minnow
#

test test2 test3

#

oh

mint fable
#

1 on top and bottom

silver minnow
#

im stupid

#

ok

rare lily
#

Can we agree to just remove engine specify type in js-expansion? There is actually no point anymore

turbid tide
#

@rare lily

#

please

#

don't joke about this. this is a serious matter.

#

yes remove it. that means the "errors" that no one cares about will be removed to

carmine veldt
#

I don't see a need to remove it

#

and I can see why keeping it may be beneficial

#

afaik you can add more scripting languages to the jvm

#

so if for some reason a user had an altered java, they could use their own script engine

turbid tide
#

at least remove the "error"

#

that's just a debug message no one needs

#

):

rare lily
#

Not sure

carmine veldt
#

no

turbid tide
#

but still remove that message or I'll PR to remove it

rare lily
#

Lol

carmine veldt
#

feel free to open a pr

turbid tide
#

or go the hard way and add a debug option in config.yml in PAPI

#

you know how annoying it is when you have 100 + js

rare lily
#

I already am working on that in 1.7 too

#

Might take long

#

Also, i didn't see anyone thus far have a record of 100+ scripts in a server thonking

turbid tide
#

ah

#

I'm experimenting shit

#

a lot are just testing

#

because usually when I make one I just use arguments to make like 10 scripts in one xD

rare lily
#

Also, i'm still sticking on graal.js, that's my goal

carmine veldt
#

are you rewriting js expansion with graal?

rare lily
#

Could be

#

That only inflict the most with my own ExpansionUtils class

carmine veldt
rare lily
#

:+1:

#

Just realized

brave oar
#

Hey, how would I use placeholder api to request the placeholders from another plugin on a server

brave oar
#

??

austere hawk
#

PlaceholderAPI.setPlaceholders() pretty sure

brave oar
#

to get a placeholder made from another plugin

austere hawk
#

why do u need that ?

turbid tide
#

wait I'm confused. what exactly do you want? can you maybe give an example?

brave oar
#

So I need to put a placeholder from another plugin into a database

#

so

#

I have this plugin thats not mine, dosent have an api and isn't open source. It has placeholder %y% and replaces it with x

#

then I need to do that and put it in my db

austere hawk
#

pretty sure PlaceholderAPI.setPlaceholders() returns a string that has already replaced the placeholders

brave oar
#

Ok I understand

#

ty

marble tiger
#

Ok, this is going to sound like a stupid question, but could someone give me a correct Java time zone code for GMT+2, the top website that comes up, and a few down below have two different lists with different codes for the same city, and the three codes that I tried all have the incorrect time.

turbid tide
#

what are you using the time zone code for?

#

if you're using it for the LocalTime expansion then you should know its broken

#

it gives the same timezone no mather what time zone code you use

#

442 is a GMT+2 tho

#

if you want it

oak bear
#

Hello, I am using QuantumShop plugin and I would like to know how to use placeholders in order to increase the amount of money you get by selling items depending on your job level , I am really struggling , please

#

I typed : sell-price: 1.0*%jobsr_user_jlevel_Miner%

#

Is there a way to fix the syntax to make it work ?

marble tiger
tender vaporBOT
#

@marble tiger,

Hey!

Please respect the rules, be patient and don't ping staff members!

marble tiger
#

oops sorry forgot to turn off mention

turbid tide
#

nah there isn't any unfortunately.

marble tiger
#

alright, np

austere hawk
#

Hi, how i can download papi?

#

This %%

austere hawk
#

In papi

flint nacelle
#

Is it a placeholder where for example a player place a block (if you bind a command to the block player place, can you use a placeholder for get block cords)?

steep thorn
austere hawk
#

%specializedcrates_cooldown_[cratename]%

#

This