#placeholder-api

150650 messages · Page 8 of 151

junior musk
#

the exact same

pure sundial
#

tbut i tried it

#

and it didnt work

junior musk
#

explain "didn't work"

pure sundial
#

so when i tab reload

#

it spams tab saying

#

"The provided value was invalid! Reason:Unknown"

#

id send screenie but it doesnt work

junior musk
#

👀

turbid tide
#

oh wait you want to show it under your player name ?

junior musk
#

do /papi list

turbid tide
#

like in tags?

#

pretty sure you can't use placeholders there

#

might be wrong

#

but I've tried a few times

pure sundial
#

not under playername

#

in tab

#

next to the player name

#

in between the ping and name

#

maybe im using the config wrong

#
    tabprefix: '%vault-prefix%'
    tagprefix: '%vault-prefix%%eglow_glowcolor%'
    tagsuffix: '%afk%'
    customtabname: '%nick%'
    customtagname: '%essentialsnick%'
    tabsuffix: '%math_{player_health}/2%'```
#

my papi list has

#

math

#

eglow

#

healthbar

#

magic

#

tab

turbid tide
#

what does /papi parse me %math_{player_health}/2% return?

#

also try %math_{player_health}/2[precision:0]%

junior musk
#

you don't have Player

#

/papi ecloud download Player
/papi reload

pure sundial
#

omg

#

ty

#

that worked

turbid tide
#

oh welp xD

short flicker
#

the only way tab's automatic expansion downloading doesn't trigger and there are complaints immediately

trim mist
#

Hmm?

austere hawk
#

why does the voteparty plugin placeholders work for the premium version?

warm topaz
#

#spigot-linking

austere hawk
#

thanks.

snow bolt
#

Hello! im dev on a bungee network and the papi is not working

#

we first thougt it was vault

#

but it wasent cus we tride diffrent api-s

#

then we thougt it was the scoreboard plugin so we changed and no resutalt

#

so im now here bc i think there is something wrong with papi

#

and i have never had this problem before and i have used papi for 3 years!

#

pls help

heady falcon
#

What placeholders are you using? You can test them with /papi parse me %placeholder%

snow bolt
#

wdym

#

It just returns what comes after me

#

for example /papi parse me %vault_rank% just returns %vault_rank%

heady falcon
#

Have you recently upgraded?

#

Try downloading expansions: /papi ecloud download vault

#

/papi reload

snow bolt
#

Yes, but now its says that:An internal error occurred while attemting to perfrom this command

#

and i have reinstalled multiple times

#

any help?

mint fable
#

if you sent the log I bet it would tell you that you can't connect to the ecloud

#

so you'll have to manually download it

#

@snow bolt ^

austere hawk
#

18.07 22:27:47 [Server] ERROR [PlaceholderAPI] CloudPass is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [Fazal] and urge them to update it ASAP.

#

Anyone know how to resolve this or how we can get into contact with "fazal"

#

its a custom jar

trim mist
#

Shouldn't you know him if he made it for you?

#

Your options are to

  1. Contact him
  2. Downgrade PlaceholderAPI and risk breaking everything else
austere hawk
#

ok

mental night
#

i know fazal not well but can message him, which spigot of his are you running?

snow bolt
#

This is the error:
10:22:06 ERROR]: null

#

org.bukkit.command.CommandException: Unhandled exception executing command 'papi' in plugin PlaceholderAPI v2.10.6
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[server.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[server.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[server.jar:git-Spigot-21fe707-e1ebe52]

#

at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-21fe707-e1ebe52]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_242]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_242]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-Spigot-21fe707-e1ebe52]

#

at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-21fe707-e1ebe52]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
Caused by: java.lang.NoClassDefFoundError: net/luckperms/api/LuckPerms
at me.lucko.luckperms.placeholders.LuckPermsExpansion.canRegister(LuckPermsExpansion.java:48) ~[?:?]
at me.clip.placeholderapi.expansion.ExpansionManager.registerExpansion(ExpansionManager.java:110) ~[?:?]
at me.clip.placeholderapi.expansion.ExpansionManager.registerAllExpansions(ExpansionManager.java:174) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPIPlugin.reloadConf(PlaceholderAPIPlugin.java:186) ~[?:?]
at me.clip.placeholderapi.commands.PlaceholderAPICommands.onCommand(PlaceholderAPICommands.java:261) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:4

tender vaporBOT
#

@snow bolt,

snow bolt
#

Im not sure if it works on bungee

junior musk
#

you need LuckPerms on Spigot too

honest pulsar
#

Hello, could I ask why placeholder %localtime_timezone_467,d. MM. H:mm% doesnt work properly? Thats my timezone and its always minus two hours from my time.. Tried to change the timezone ID to something else but still same result. Thanks for answer.

austere hawk
#

/papi parse me %localtime_timezone_467,d. MM. H:mm%
can u try this

#

@honest pulsar

honest pulsar
#

Wanted to post screenshot but I can't. Yes I got: 19. 07. 12:08, as I said.. minus two hours. @austere hawk

austere hawk
#

I m not expert in PlaceholderAPI so u gotta wait for someone else sorry

warm sail
#

blitzz, were u ale to fix my issue?

#

or do i gotta resend the screenshots

#

I did what you said but theres still not a space and just says {javascript_tags_spacing} in essentilasChat now..

brisk coral
#

Do you have the expansion, and what does %javascript_tags_spacing% return when parsed

warm sail
#

/papi parse %javascript_tags% ?

brisk coral
#

Whatever your placeholder is named yes

warm sail
#

says papi help, did i type it wrong?

brisk coral
#

@turbid tide What's the esschat papi parser shit called?

Austin, /papi parse me %placeholder%
(Didn't see that you were missing that)

warm sail
warm topaz
#

chat injector?

warm sail
#

does this

#

i have chatinjector

brisk coral
#

Have you reloaded papi?

warm sail
#

yes

#

I just did it again and downloaded DeluxeTags for it /papi ecloud download DeluxeTags and nothing works for some reason..

brisk coral
#

Do you have the javascript expansion?

warm sail
#

is that a plugin?

#

or u mean /papi ecloud download javascript? because i did that yesterday

wet creek
#

No it’s a papi expansion

brisk coral
#

And have you reloaded papi afterwards?

warm sail
#

Yes

#

and nothing seems to work :/

brisk coral
#

Show your startup log

#

=paste

tender vaporBOT
warm sail
#

okay

#

Frost did it help?

brisk coral
#

Pastebin smh

warm sail
#

what?

#

i used a paste place like you say

brisk coral
#

@turbid tide React with the paste emoji, on mobile so phisically can't

warm sail
#

oh do i need to use the helpchat personal paste?

#

it didnt save last time so i used pastebin i will try again

brisk coral
#

It's easier to read, pastebin is light theme, and the formatting on it is fucked for mobile

#

?paste

tender vaporBOT
brisk coral
#

You can click usage if you aren't sure on how to use it

warm sail
#

i can try again if i didnt

brisk coral
#

It worked yea, sec

warm sail
#

okay

brisk coral
#

Add the engine part to your javascript.yml as well

#

(same as the above example)

warm sail
#

engine??

#

like tags_spacing.js agian?

brisk coral
#

No,
tags_spacing:
file: tags_spacing.js
engine: nashorn

warm sail
#

then /papi reload?

#

i reloaded but it didnt work still shows javascript_tags_spacing weird

#

in chat

brisk coral
#

Read what console says and see if it loaded the js properly

warm sail
#

that what it say

brisk coral
#

Show me your javascript.yml file

warm sail
brisk coral
#

:what the hell:

warm sail
#

idk ;-;

#

want met o delete the yml and reload?

brisk coral
#

Delete the entirety of the js things, as well as the expansion, then restart the server, redownload the expansion, reload papi and try with the files again

warm sail
#

so delete javascripts folder and yml or what

#

alrighty restarting

#

didnt work frosty

#

i redownloaded javascript as there wasnt one there after deleting it, reloaded it and it still wont work

#

and now tags_spacing dont show up in javascript.yml

#

ugh

#

idk why it never wokrs

warm sail
#

hello?

#

is it not possible to fix?

#

!tags

brisk coral
#

It is, I'm currently driving home from vacation so I can't assist you, wait for someone else who has time

#

Also no need to ask in other channels kek

warm sail
#

oh

#

well i wanna fix it asap so my chat isnt flooded with javascript_tags_spacing

candid wind
#

Any idea how i can do switch for javascript with PAPI ?

brisk coral
#

What?

candid wind
#

Like if %x% is 1 he return a if 2 then b if 3 then c

#

This but in PAPI

#

I'm pretty bad with js for now

brisk coral
#

You use it the same way as you would in java

candid wind
#

I got script error so i think i'm just not good with that

brisk coral
#

Show what u got

warm sail
#

is blittz back?

daring basin
#

Hello!

#

I've found 5 wrong placeholders.

#

Placeholderapi, redprotect, and infinitescoreboard is installed and running,

plucky wadi
#

How can I escape a %

#

I've tried \

warm topaz
#

why do u need to escape a %?

honest pulsar
#

Hello, could I ask why placeholder %localtime_timezone_467,d. MM. H:mm% doesnt work properly? Thats my timezone and its always minus two hours from my time.. Tried to change the timezone ID to something else but still same result. Thanks for answer.

austere hawk
#

yo do y'all know if there's a placeholder that shows the amount of loaded worlds you have on your server? If not, how would I make one?
something like server#getWorlds

junior musk
#

maybe the world expansion has that?

#

nope

#

doesn't seem like it

#

then, the solution to all our problems....

#

JAVASCRIPT

rare lily
#

Could've suggested me to update the expansion 😂

junior musk
#

NO

#

sorry =/

#

it is not POSSIBLE

warm topaz
#

yeah thats an easy placeholder to add

#

might pr server expansion tomorrow 😳

#

@rare lily unless u wanna do it?

austere hawk
#

oh sweet, that would be sick 👍

#

like it displays world1, world2, world3, etc

#

?

rare lily
#

You say that you want to show the amount, not names thonking

austere hawk
#

oh my bad*, I meant the names of the loaded worlds.

#

number could also be a nice addition i guess

jaunty zephyr
#

anyone have news for PAPI 1.16?

balmy marten
#

See the pinned message for dev builds

azure blade
#

how do I remove4 exnacnen help idk how!!

#

how do I undownload!!

warm topaz
#

please formulate that sentence properly

azure blade
#

ok ok ok

#

How do I remove an expansion

warm topaz
#

go to /plugins/PlaceholderAPI/expansions folder and delete it there

azure blade
#

I can't!!! minehut doesnt let me!!!

warm topaz
#

minehut lol

#

idk contact them and ask them to delete it

azure blade
#

I can see the files but it blocks me from removing the expansion files!

#

please im so sad because I spent so long and I added this expansion and it runied everything!!!!

#

I SPENT like A million years

warm topaz
#

idk contact them and ask them to delete it
@warm topaz

azure blade
#

they turned it off to contact!

warm topaz
#

nothing we can do if minehut doesnt allow u to delete files lol

azure blade
#

It does! It just doesnt let me delte the expansion files!!! it deems them "Very Imporant server breaking"
}

warm topaz
#

get a new host 🤷‍♂️

rare lily
#

^

azure blade
#

I cant! I already spent $100 on minehut!

rare lily
#

Your loss

warm topaz
#

$100?!?!?!

rare lily
#

Either contact minehut staff, or get a new host

#

We can't help with that system

pallid oxide
#

Minehut? 🤮

azure blade
#

I thught there was a command I didnt know about!!

rare lily
#

Get a new host!!!

warm topaz
#

nope

#

not to my knowledge

rare lily
#

Or contact them!!

#

Why am i doing this expression sentence!!

azure blade
#

HOW

warm topaz
#

email them

pallid oxide
#

A easy way depending on what you have done is reset and reconf/repaste configs

azure blade
#

casn you tell the owner of placeholder to add the command to remove the thing!!

warm topaz
#

they must have an email

rare lily
#

Either contact minehut staff, or get a new host
@azure blade read that !!

pallid oxide
#

Or ask on their discord

azure blade
#

I READ IT

warm topaz
#

casn you tell the owner of placeholder to add the command to remove the thing!!
@azure blade there is literally no need for this

rare lily
#

Ahh!!

azure blade
#

well there isd I thnought it would be a good ideade!

warm topaz
#

na

rare lily
#

Not always!!

viral portal
#

hey

#

do u guys know if there's a placeholder that shows all of the world names u have on ur server?

#

like hub, creative, survival, etc

warm topaz
#

that is terrifyingly creepy that this has came suggestion up within 6 hours of each other

viral portal
#

?

warm topaz
#

anyways, ill be adding this placeholder soon™️

viral portal
#

wait are u part of the dev team?

warm topaz
#

no

viral portal
#

oh

warm topaz
#

but anyone is able to add placeholders

viral portal
#

but u need to know how to code right?

warm topaz
#

yes

viral portal
#

ah okay

heady falcon
#

@azure blade What happened?

#

/papi unregister MyExpansion.jar

austere hawk
#

I had an error, when i put the command /papi ecloud download (expansion), the following message appears: No clouds expansions are available at this time
How can i solve that?

tropic radish
#

hi guys, can i ask for help pls and wait 4 hours to receive it? ty

#

so my problem is that in leaderheads plugin i get "Received invalid value 4h 27m 55s for placeholder %statistic_time_player% for player "player". Expected a number."

#

see you in 4 hours if not more because support doesnt want to give dm answers

heady falcon
#

%statistic_time_player% gives a human readable format

#

Which leaderheads probably doesnt want

#

You could try using just %player_time%

brisk coral
#

Niall, leaderheads question so: CC: @steep thorn

steep thorn
#

@tropic radish DM me

heady falcon
#

@brisk coral Can you do the same with me for KiteBoard support?

tender vaporBOT
#

@heady falcon,

heady falcon
#

Because I usually miss some of the messages here

brisk coral
#

👌

mental night
#

how does one spend over $100 on minehut it’s free hosting?

junior musk
#

how does one spend over $100 on Fortnite while it’s free?

austere hawk
#

That's the whole point of it being free, you spend money on it regardless. That's why companies do it, they want you to spend money.

#

Any updates on the World placeholder? %world_#_total% returns the number of loaded worlds, not the names.

brisk coral
#

CC: @rare lily

austere hawk
warm topaz
#

he made it

austere hawk
#

?

#
%world_#total%
%world<world>_thunder%```
#

%world_#_total% returns the number of loaded worlds.

#

When I try to download the expansions luckperm via ecloud it only gives this message in game: No cloud expansions are available at this time. and no errors in the console for the rets. how do i list this. I have placed all the necessary plugins where appropriate

tender vaporBOT
balmy marten
#

^

rare lily
#

I don't think anyone in existence would show all the names of the world packed in 1 placeholder ._.

#

This is already disgusting: world,world_nether,world_the_end,test,prison

brisk coral
#

world, world_nether

warm topaz
desert sonnet
austere hawk
#

I mean world names with spaces in between. Such as world, world1, world2, etc. Some people have uses for them, including me.

#

Kaliber, didn't you say you were gonna make it? 😉

warm topaz
#

thien beat me to it 🤷‍♂️

#
  • im not at my pc
austere hawk
#

🙂

#

The amount of loaded worlds is a nice addition, but having the names of all the worlds loaded would be nice as well. Following worlds loaded (3): Factions, survival, Towny

brisk coral
#

Javascript fingerguns_reversed

austere hawk
#

👍

ornate falcon
#

Are there any placeholders that count the amount of advancements earnt by a player?

onyx loom
#

Hello, the latest version of Placeholder API on spigot works in 1.16.1 Bungee server ?

junior musk
#

check the pinned messages

#

there's a link to the dev builds which are compatible with 1.16

balmy marten
#

Papi doesn't support bungee

junior musk
#

ah bungee

balmy marten
#

It's a planned feature though.

onyx loom
#

oh ok thanks !

junior musk
#

but since you asked that same question on TAB's discord, I guess you wanted to use PAPI with TAB on BungeeCord, which is possible since TAB made a bridge to allow PAPI placeholders on its bungeecord version

onyx loom
#

ok thank you very much for your help ! 🙂

long crater
#

are the dev builds stable

warm topaz
#

yea i havent had any issues with it

#

nor have many issues been reported afaik

long crater
#

sweetness

#

thanks

atomic cradle
#

when will papi support 1.16.1?

junior musk
#

it already does

atomic cradle
#

still in dev?

junior musk
#

yes

final shadow
#

Yeah we’re still working on performance stuff but the dev builds are functional with no issues

trail sparrow
#

Hello, could you help me with something? I use bungeecord and I want the online players using the Deluxe menus to appear on the server, I explain, I want the menu to show how many players there are in a server being in the lobby

austere hawk
#

I had an error, when i put the command /papi ecloud download (expansion), the following message appears: No clouds expansions are available at this time
How can i solve that?

warm topaz
#

?ecloudblock

tender vaporBOT
warm topaz
#

do as the bot says

austere hawk
#

Any updates on the world names placeholder? I would do it myself, but I don't know javascript 😭

edgy lichen
#

SO I have an odd (?) question:

My chat provides hover functionality for prefixes in chat. However they must be the vault prefix.

I have the ability to modify the vault prefix, but I'd like to use a placeholder in the prefix (Show faction tag before name)

I know I could just put it in the chat format, but then I can't have hover effects. So I set the prefix with LuckPerms to be a string of placeholders, and it just shows the raw placeholder string.

Is there a way to evaluate such a string?

#

This is what the chat shows:

#

(Can't put images)

#

/papi parse me %luckperms_prefix% results in:

%factionsuuid_faction_relation_color%%factionsuuid_player_role%%factionsuuid_faction_name%
#

Note: I've also tried with {}

#

This is my VentureChat config format:

format: '{luckperms_prefix} &f{player_displayname}&8 {ascii_77}&f'
trail sparrow
#

Hello, could you help me with something? I use bungeecord and I want the online players using the Deluxe menus to appear on the server, I explain, I want the menu to show how many players there are in a server being in the lobby

mint fable
#

I think you want that ^

grand blade
#

So the new PAPI dev builds (102+) have deprecated some older methods, so now-broken plugins need to update?

trim mist
#

It's an on-going discussion. Still some changes being made.

#

Nothing would necessarily break just because we set them as deprecated.

mint fable
#

did not read right

trim mist
#

We didn't fully remove them (as far as I know, Sxtanna has the lead on the major PR for this update). But I believe we only deprecated stuff for the time being.

mint fable
#

but they will most likely in the future ye?

grand blade
#

At least one of the plugins we use broke. Works fine up to 101, broken 102+

trim mist
#

@rancid minnow ^

final shadow
#

Holy

#

Did slime actually come to discord

trim mist
#

I was thinking the same thing, haha.

rancid minnow
#

@grand blade can you provide me with the stacktrace?

grand blade
#

It seems to be the only way. Not happy about it.

final shadow
#

Don’t use 100+ yet

#

We’re still breaking shit

grand blade
#

As I see. 🙂

rancid minnow
#

Dont even use like... 2 versions before 100

mint fable
#

they're almost as good as spigot

rancid minnow
#

Because those also have broken shit in them

final shadow
#

Don’t be mean

mint fable
#

sorry that was rude

#

nowhere near spigot level

final shadow
#

No but fr were literally doing some good things

grand blade
#

We're using 101, without apparent errors.

rancid minnow
#

Can you send the stacktrace though?

grand blade
#

I'll post a ticket.

rancid minnow
#

a ticket??

#

do we have tickets here??

mint fable
#

an issue?

#

on github?

rancid minnow
#

oh

#

that makes more sense

mint fable
#

maybe

grand blade
#

ticket = Github issue. You know --- tracking. Unlike Discord.

mint fable
#

ye that makes sense

rancid minnow
#

Not really a ticket, but yes, I get it now.

grand blade
#

In the world of technical support, it's called a ticket.

final shadow
#

Slime I know you are a good dude who loves those updates but let us work some stuff out and stay on builds > 100 for a day or 2 lol

grand blade
#

Sure.

rancid minnow
#

wrong symbol

#

bad

#

oh 102 is where I changed to the new replacer

#

This'll be fun

final shadow
#

Slime test 102

grand blade
#

Can I ask why you post builds to Github until things sort-of work?

final shadow
#

Because they aren’t updates

rancid minnow
#

Can I ask why youre pulling builds from github?

#

Would it not make more sense to pull from spigot?

#

Where you know its stable?

grand blade
#

Because I spend my life testing dev builds.

final shadow
#

Test away my friend

#

Lol

rancid minnow
#

So then why are you surprised that a dev build is broken?

grand blade
#

It's my way of paying back to MC community (well, Spigot community).

#

Mostly, they aren't.

rancid minnow
#

fuck the spigot community

#

lol

grand blade
#

This is exactly why I stay off Discord. Noise >>>>>>> signal.

#

bye now.

final shadow
#

Slime we’re in the middle of basically making placeholders be parsed 2-4x faster

rancid minnow
#

Oh excuse me Mr. high and mighty

mint fable
#

Noise?

#

thonking1 imajin

final shadow
#

Nah don’t give slime shit he’s a good dude

rancid minnow
#

He's kinda stuck up

final shadow
#

He’s not used to us

rancid minnow
#

Makes no difference to me

#

Can at least try to pretend that you aren't an elitist

final shadow
#

Nah man he’s a good one. He actually tests shit and reports bugs

mint fable
#

he's second tier slime, behind deluxeslime

final shadow
#

Hence why he’s even bothering with Jenkins builds

mint fable
#

😉

rancid minnow
#

Mhmm

#

Someone downloading a jar and running it hardly renders them the title "good"

final shadow
#

He gives feedback

rancid minnow
#

I could write a program to do exactly that and save the hassle of being talked down to

final shadow
#

That renders good imo

#

Just stfu

#

Leave the man alone and let’s get back to work

rancid minnow
#

Not even talking to him

#

And I am still working

#

I'm waiting for the ticket

final shadow
#

I could write a program that’s programmable

#

At your desired rate of speed

mint fable
#

I have a motor for that

#

and the 3d printer

rancid minnow
#

LMFAO

#

Is that a THREAT

mint fable
#

a sales pitch actually

rancid minnow
#

oh my god

#

GROSS

mint fable
#

😂

warm topaz
#

ur gross but no one says that

rancid minnow
#

@warm topaz well youre short

#

So who really wins?

warm topaz
#

🤔

#

i thought we said that 6 foot 9 = 3cm which is ur height

#

lol

#

short

mint fable
#

i'm high if that matters

rancid minnow
#

:O

#

drugs?!?!?

#

In my christian minecraft discord?!?!?

mint fable
#

dRuGs?1?!!?

#

this is all papi related I swear

final shadow
#

Kind of disappointed

austere hawk
#

I had an error, when i put the command /papi ecloud download (expansion), the following message appears: No clouds expansions are available at this time
How can i solve that?

warm topaz
#

?ecloudblock

tender vaporBOT
warm topaz
#

follow the bot ^

green osprey
#

Hello guys! Who know how to fix this? [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: example

trim mist
#

Are you using ChatControlPro?

green osprey
#

Yes

mint fable
#

😮

#

use that

#

@trim mist i got it

#

it's in discord already

#

aaand he's gone

green osprey
#

Oof, thank you so much!

trim mist
#

Ty

#

I was looking for it.

mint fable
#

ya i just search chatcontrolpro now in discord

#

lmao

trim mist
#

Can you make it a faq

mint fable
#

?chatcontrolpro

tender vaporBOT
mint fable
#

that's

#

not right

trim mist
#

Lol

mint fable
#

?chatcontrolpro

tender vaporBOT
rancid minnow
#

@trim mist what was breaking that?

mint fable
#

good enough

trim mist
#

When CCP loaded after PAPI, it was nullifying the engine after reloading the expansion.

#

I just forced it to always get it again as a new one until I made a proper fix.

rancid minnow
#

nullying, as in legit setting it to null?

trim mist
#

I'd show you but I'm on mobile and they just moved everything to another git repo

#

They are forcing people to use their mineacademy now for ticket crap

rancid minnow
#

gross

vivid sparrow
#

Ew

gusty heron
#

Can placeholders be checked for OfflinePlayer?

mint fable
#

only if the placeholder itself supports it

gusty heron
#

ah i see. Do you know if that's a problem for many placeholders off hand?

mint fable
#

it really depends, do you have any in mind?

gusty heron
#

basically just common ones that users might use - this is AVPN and people can set placeholders in the kick message for using a VPN, so probably things like Player and Server and maybe Luckperms/other common ones for chat/utilities

mint fable
#

oh you're not talking about using them yourself

#

luckperms doesn't work offline

#

i know

#

i think most of player works

#

server isn't related to the player

gusty heron
#

vault maybe?

#

it should

mint fable
#

not sure

gusty heron
#

it works for checking perms so id hope it works for papi

mint fable
#

but shouldn't the kick message be made before the player is disconnected?

gusty heron
#

it's during AsyncPlayerPreLoginEvent

#

so they're not really online or offline

mint fable
#

a kick message?

gusty heron
#

can't use Player cause that's only during/after PlayerLoginEvent

#

and yeah the whole thing

#

all during the good ol' APPLE

mint fable
#

icic

#

🤷‍♂️

#

you can test it

gusty heron
#

fair enough lol

mint fable
#

/papi parse <player> <placeholder>

gusty heron
#

if users complain that's on them :kek:

mint fable
#

yep

#

🤷‍♂️

gusty heron
#

hey random unrelated feature suggestion

#

/papi parse <OfflinePlayer> <placeholder>

#

loads the user to memory and then does the thing

mint fable
#

i'm pretty sure it works for offline

#

hence why i said you can test it with that...

gusty heron
#

oh fancy, thanks!

#

❤️

rare lily
#

@austere hawk you here?

#

I will replace the code from that wiki to the one i will give to you

austere hawk
#

Hello?

#

I am reading that right now.

#

Your gonna be editing the wiki with the world names code?

rare lily
#

Not possibly

#
    function getWorldNames() {
        var server = BukkitServer;
        var worlds = server.getWorlds();
        var worldNames = [];
        for (int i = 0; i < worlds.length; i++) {
            worldNames.push(worlds[i]);
        }
        return worldNames.join(", ");
    }
    getWorldNames();```
austere hawk
#

oh okay i gotchu

#

So the placeholder would be %javascript_getworldnames%?

brisk coral
#

Whatever your file is named

austere hawk
#

returns this error

rare lily
#

I figured it out

#
    function getWorldNames() {
        var server = BukkitServer;
        var worlds = server.getWorlds();
        var worldNames = [];
        for (i = 0; i < worlds.length; i++) {
            worldNames.push(worlds[i]);
        }
        return worldNames.join(", ");
    }
    getWorldNames();```
#

I messed up between Java and js, whoops

austere hawk
#

ah okay thanks, that returns CraftWorld{name= world}, etc. Is it possible to just list them out like world1, world2, world3?

brisk coral
#
    function getWorldNames() {
        var server = BukkitServer;
        var worlds = server.getWorlds();
        var worldNames = [];
        for (i = 0; i < worlds.length; i++) {
            worldNames.push(worlds[i].getName());
        }
        return worldNames.join(", ");
    }
    getWorldNames();
rare lily
#

That is funky

#

server.getWorlds() supposely return a List<Worlds>, i think

brisk coral
#

I mean yea, the objects

austere hawk
#

appreciate it, that works. going to learn javascript now 👍

rare lily
#

I forgot about that..

vivid sparrow
#

@brisk coral try BukkitServer.getWorlds().map(world => world.getName()).join(", ");

brisk coral
#

Imagine pinging me smh, ping thien

austere hawk
#

@brisk coral

rare lily
#

@vivid sparrow i wish I can use that on ECMA5...

tender vaporBOT
#

@rare lily,

rare lily
#

Shush barry

#

Apparently Nashorn doesn't support lambda function

rancid minnow
#

prime reason placeholders should be kotlin

vivid sparrow
#

Make the kotlin script expansion then @rancid minnow

rancid minnow
#

@vivid sparrow ok

turbid tide
#

that will be an amazing addition

tender vaporBOT
last mesa
#

https://paste.helpch.at/pegacabewu.md
Exception in thread "AsyncPlayerJoinThread" java.lang.NoSuchMethodError: me/clip/placeholderapi/PlaceholderAPI.setPlaceholders(Lorg/bukkit/entity/Player;Ljava/lang/String;)Ljava/lang/String; (loaded from file:/E:/Eien/plugins/PlaceholderAPI-2.10.7-DEV-107.jar by PluginClassLoader{plugin=PlaceholderAPI v2.10.7-DEV-107, pluginEnabled=true, url=plugins\PlaceholderAPI-2.10.7-DEV-107.jar}) called from class studio.trc.bukkit.litesignin.config.MessageUtil (loaded from file:/E:/Eien/plugins/LiteSignIn.jar by PluginClassLoader{plugin=LiteSignIn v1.3.5, pluginEnabled=true, url=plugins\LiteSignIn.jar}).

rancid minnow
#

Thats only mildly annoying

#

@last mesa do you mind reporting that deprecation to the maintainers of those plugins?

last mesa
#

sure

#

This problem occurred after I updated the placeholderapi from dev96 to dev107 today

rancid minnow
#

@last mesa you should be able to run the latest build when it finishes compiling

#

Yeah, technically they would only just have to recompile their plugins and the issue would be gone, but for now I added back that method

last mesa
#

thank you

brisk coral
#

smh Sx

lime light
#

so i know you've probably heard about that often. Statistics expansion not working with 1.12. it's even showing on the damn github.
Stop bitching about it not working on 1.12
but okay, i need to find a way to make it work no matter what, even if it means paying devs to add its support idc

warm topaz
#

try the jar in the pinned messages

amber dirge
tender vaporBOT
#

@amber dirge,

amber dirge
#

Bruh

austere hawk
#

😆

rancid minnow
#

@amber dirge What happened to trigger that?

#

nvm, I see it

dapper temple
#

i get this on startup in 1.16, will 1.16 support be added soon or is there a different scriptengine i should be choosing?

#

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

warm topaz
#

u can use the dev builds in the pinned messages for 1.16 support

#

@rancid minnow what build is stable now?

#

ik u were messing about with them

rancid minnow
#

the one thats on spigot?

warm topaz
#

😐

rancid minnow
#

?

dapper temple
#

i switched to the dev build today but got the same error

warm topaz
#

after 90 u were messing about with them

#

so i wanna know if its all good now

rancid minnow
#

@dapper temple is there a stacktrace that accompanies that message?

#

@warm topaz I'm saying none of them are really stable

#

You don't find stability in dev builds

#

You get that with releases

warm topaz
#

@dapper temple add
engine: 'nashorn' to ur javascript file in javascript_placeholders.yml

#

¯\_(ツ)_/¯

dapper temple
#

no it happens on startup

#

and yeah that's what i had before: nashorn

rancid minnow
#

omg...

#

it has a catch on NPE

#

I'm gonna literally vomit

warm topaz
#

LOL

#

🙂

rancid minnow
#

@dapper temple remove that entry from the config

#

Also, which JVM are you using?

dapper temple
#

if i remove it from the config it won't load my javascript, why would i do that

rancid minnow
#

Remove the engine entry

dapper temple
#

still throws the error even with that removed

#

java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode)

rancid minnow
#

It seems that your jvm doesnt have the nashorn engine in it then

dapper temple
#

that seems unlikely since i didn't have this problem when running 1.15.2 on the same machine

rancid minnow
#

Add a debug entry to root of the javascript config section

#

and set it to true

#

That will make it print out the available script engine factories

dapper temple
#

not sure what you mean by the "root of the javascript config section"... i tried this but it did nothing:
expansions:
javascript:
debug: true
engine: javascript

rancid minnow
#

Oh, its actually using the debug value in the root of the papi config itself

dapper temple
#

so then above the expansions bit even then

rancid minnow
#

Yes

#

It should be there already

#

set it to true

dapper temple
#

no, is not there already. i placed it there, again: no effect.

rancid minnow
#

send your config

#

Its definitely there by default xD

dapper temple
#

in yours just not in mine

rancid minnow
#

?

#

The same default config gets generated for everyone

#

Can you send your current config please?

dapper temple
#

can't seem to no let me try again....

rancid minnow
dapper temple
#

it won't let me put a file let me pastebin if i can put a link

rancid minnow
#

Why do you have engine set to javascript?

dapper temple
#

i don't, it does that auto. I tried removing it and it just puts it back tehre again when the plugin loads

mental night
#

sxtanna do you ever sleep?

rancid minnow
#

Um...

#

I dont think thats true actually

#

The default value it writes is "nashorn"

#

Can you turn the server completely off

#

Change that value to nashorn, save it, and then start the server

dapper temple
#

it says "nashorn" in the javascript_placeholders.yml, yes

#

and i could remove that line without any difficulty... this one in config on the other hand seems unrelated and self-spawning

rancid minnow
#

@mental night no

dapper temple
#

sure i can try that hold on

mental night
#

smart move

rancid minnow
#

@mental night sleep is for the weak

#

😈

warm topaz
#

indeed

mental night
#

sleep with one eye open when kalibear is here

warm topaz
#

👀

mental night
#

i know what you did last summer

dapper temple
#

ok it kept the setting if i changed it while the server was off, but this had no effect, still cannot load my javascript_placeholder and i have no indication that debugging has done anything

rancid minnow
#

Do you get literally 0 messages when the javascript placeholder is loading?

#

If debugging is set to true it prints a couple of things

dapper temple
#

just the same one I've been getting for forever: [20:14:57] [Server thread/WARN]: [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: showping , nothing else... shows the registring of every other expansion as usual, says nothing else in regards to javascript, not a single extra character about it

rancid minnow
#

can you send whats inside of latest.log please?

dapper temple
warm topaz
#

i know what you did last summer
@mental night this seems familiar

#

cant figure out what from

rancid minnow
#

This just straight up doesnt make sense

dapper temple
#

i'll be back in like 30 or so mintes maybe message me if you come up with something new for me to attempt, i thought the dev build would magically fix this and since it hasn't i'm not really sure how this isn't a known issue so... anyway i'll be back in a bit

rancid minnow
#

can you delete the javascript expansion you have

#

and redownload it

dapper temple
#

sure i'll try that after

rancid minnow
#

It looks like youre using a REALLY old version, that error message was changed like 4 months ago

dapper temple
#

unregistered it, downloaded new off ecloud says version is 1.5.3 on reload gave identical error

rancid minnow
#

Welp

#

¯_(ツ)_/¯

dapper temple
#

yeah i guess this is broken on my 1.15.2 machine too now for i guess the same reason

#

and it has a somewhat older version of java on it still, yet it still isn't doing nashorn anymore either i guess? wonder when they took it out

#

and if they did what are our other options

rancid minnow
#

@dapper temple I mean.... if were considering all options here

#

You can download the kotlin scripting expansion

#

lol

dapper temple
#

so you're saying nashorn is the only availble engine for javascript so people just can't use javascript at all now because java itself no longer supports it?

rancid minnow
#

I suspect theres more fuckery going on here than what is obvious

#

nashorn is only deprecated atm

#

It should still work

dapper temple
#

only information i'm finding so far is that it's the only engine included in the jdk, but any engine should work and... i'm not sure what's in the runtime environment - if anything

hasty dome
#

[DeluxeMenus] Error in requirement javascript syntax - %luckperms_groups% >= helper

#

help me

vivid sparrow
#

= it's used for numbers

hasty dome
#

I can not do . to buy only a certain degree that I put it?

dapper temple
#

that placeholder returns a list of groups inherited by the player you couldn't use >= a list

#

you'd have to like %luckperms_groups%.forEach(item,index) {and check each item >= some value}

vivid sparrow
#

it doesnt work like that

odd jay
#

Hello, is there a way to cancel/stop all the following actions if the first condition you put isn't met?

random hazel
#

Hello, using placeholder API v2.10.6 works fine, but when using the DEV version 2.10.7 this error is created:

Caused by: java.lang.NullPointerException
        at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:99) ~[?:?]
        at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:301) ~[?:?]
        at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:630) ~[?:?]
        at me.rockyhawk.commandPanels.commandpanels.openGui(commandpanels.java:432) ~[?:?]
        at me.rockyhawk.commandPanels.commands.commandpanel.onCommand(commandpanel.java:343) ~[?:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.16.1.jar:git-Paper-103]
        ... 27 more

Is there some API changes or does anyone know what the issue is?

brisk coral
#

smh Sxtanna

#

One of those methods was removed iirc

random hazel
#

.setPlaceholders() is removed?

brisk coral
#

Show me where you're using it

random hazel
#
PlaceholderAPI.setPlaceholders(p, (List<String>) pconfig.getList("panels." + panels + ".item." + item.split("\\s")[c] + section + ".lore"))
#

I have a feeling it might have to do with using a List<String> but it was working before

brisk coral
#

It takes a string..

#

Also, you can use getStringList and remove the cast

random hazel
#

oh yeah I forgot lol,
it only takes a string now?

brisk coral
#

I think it always took a string did it not?

random hazel
#

idk because version 2.10.6 works fine but 2.10.7 DEV doesn't work anymore

austere hawk
#

Will OtherPlayer Expansion work if the player I m trying to parse is offline ?

junior musk
#

depends on the placeholders

#

and you can also use the ParseOther expansion, it will let you use all PAPI placeholders

night owl
#

Is there a way to use math expressions with placeholders? For example having 10*%vault_eco_balance% output the player's balance multiplied by 10

junior musk
#

%math_{vault_eco_balance}*10%

#

if you want to round, add [precision:0] before the last %

night owl
#

Is this built in, or does it need an expansion?

brisk coral
#

expansion

night owl
#

Thank you!

reef holly
#

hi, im having problems with a custom placeholder done with javascript_expansion. It just subtract a part of the number it gets from args. Now the problem is, i want to make this placeholder work with commands (ej: /bank deposit %javascript_example_100%), but it returns NaN, and i can't figure out why.

I checked that without putting it on a command line and it work just fine (papi parse me %javascript_example_100% return the desire ammount) and i also checked that "/bank deposit %player_name%" return the player name just fine, so i know for sure is an error on my placeholder

https://pastebin.com/mG3wvRaA

brisk coral
#

javascript_example_100

reef holly
#

sorry i put just example, but is javascript_example

tender vaporBOT
reef holly
#

alright i just checked something

#

the problem is i'm using the placeholder as %javascript_example_{money}%, being money the first args you pass when you open a deluxemenu, and it seems to not work this way, i doubled checked that %javascript_example_100% works fine inside a command

https://paste.helpch.at/rejitanipi.bash

#

also %javascriptexample{money}% works fine if not put on a command line (see line:19)

austere hawk
#

Is there some placeholder similar to Kills Stats ?

warm topaz
#

soon™️ fingerguns

odd jay
#

Hello! Can someone please help me make a javascript for this placeholder? %vault_eco_balance_fixed%
So the placeholder displays your currency without any decimals or commas, but I want it to have commas between the 3 digits, is it possible to add them?

warm topaz
#

vault_eco_balance_commas @odd jay ?

odd jay
#

Thanks!

odd jay
#

Now I wanted to replace all commas with dots since that is how currency works in my country, but there is something I'm missing on my placeholder, and it turns empty: https://hastebin.com/ujevuxaver.js
What could be wrong? can someone help please?

vivid sparrow
#

You have no return

odd jay
#

Thanks!!!

#

it works

rancid minnow
#

@brisk coral removing a method would not cause an NPE

tender vaporBOT
#

@rancid minnow,

rancid minnow
#

It would cause a NSME

gleaming charm
#

Indeed

rancid minnow
#

@random hazel You're passing null in somewhere

#

I've been changing papi internals to no longer consume exceptions

#

If you do something wrong, it's going to tell you now

gleaming charm
#

I do love useless error messages though like “fatal error occurred” with no more information is great fun

odd jay
brisk coral
#

Shut up @rancid minnow

rancid minnow
#

@gleaming charm The will be no more of that

#

@brisk coral fight me noob

brisk coral
#

Words yes

gleaming charm
#

He messed up both sentences 🤦‍♂️

rancid minnow
#

You're still a noob

#

Lol

#

I just woke up, leave me alone

brisk coral
#

What time is it for you?

gleaming charm
#

5pm likely

brisk coral
#

He's american

gleaming charm
#

he just sleeps

brisk coral
#

It's 4:30pm here

gleaming charm
#

ohh right about 10 then

rancid minnow
#

It's 10 am

odd jay
#

.replace only changes 1 or does it change all the values that it found? and if only replace 1, what should be used to replace all?

#

my bad

#

*.replace

rancid minnow
#

replace replaces all the values

#

replaceAll uses regex to do the same thing

heady falcon
#

"Error has occured: error"

rancid minnow
#

oh wait

#

youre talking about js

#

No, in JS, if its not regex, it only replaces the first value it finds

odd jay
#

Thax stana

#

thanks

#

sxtanna*

rancid minnow
#

youre a mess

#

lmfao

odd jay
rancid minnow
odd lance
#

Uhhhh, I don't see an update for 1.16; does it work? (latest version). ||Sorry for nub||

brisk coral
#

Of what plugin?

#

If papi, pinned messages

odd lance
#

👌 ❤️

rose rain
#

Hey guys, I'm having an issue with PAPI.

#

I have the Player extension installed but %player_name% remains the same.

rare lily
#

Use the commands provided in that

rose rain
#

What do you mean?

#

I'm pretty new to this, so bear with me 😂

rotund pendant
#

do /papi parse me %player_name% @rose rain

rose rain
#

But i want everyone to be able to have it.

#

It's for my scoreboard.

#

I deleted PAPI and reinstalled it, hopefully that helps.

rotund pendant
#

What scoreboard plugin are you using?

rose rain
#

RealScoreboard

#

I just switched from Scoreboard-R

rotund pendant
#

Use %displayname%

#

FYI, doesn't look like RealScoreBoard supports PAPI

rose rain
#

im switching to infinitescoreboard

#

WHat do you suggest

rotund pendant
#

KiteBoard

wide gulch
#

is placeholderapo been updated for 1.16

trim mist
#

Pins.

wide gulch
#

yea was just checking if that was an actuall 1.16

#

thanks

#

sorry to download do i click on #110 build

trim mist
#

I wouldn't do anything over 98

wide gulch
#

and with 98 still work for 1.16

leaden kraken
#

yes

final shadow
#

Use the latest so we have feedback on if the latest is broken lol

unborn smelt
#

How do I get papi to work with bungeechat?

balmy marten
#

huh?

#

Papi doesn't support bungee

unborn smelt
#

I've noticed multiple servers that have the %server_unique_joins% placeholder on their bungee network

#

Do you know they are accomplishing this?

balmy marten
#

Would just be on the lobby server if it was using papi

heavy surge
#

Im setting up goldencrates & I would like to ask what the place holder would be if I want to use money as a reward

#

./eco give %player% 100 doesn't seen to be working

#

it sets it to my name

brisk coral
#

?player

tender vaporBOT
heavy surge
#

thank you

lone cipher
#

hi

#

are their placeholders for ezblocks blocks mined?

#

how would i use this on holograms

#

holographic displays

brisk coral
#

You need to get the holographic extension plugin, and then use it with {} instead of %%

austere hawk
#

Is there any Placeholder Similar to %askyblock_leaderboard_level_<1-10>% ?

vivid sparrow
#

Leaderheads

austere hawk
#

any other ?

brisk coral
#

doubtful

austere hawk
#

ok thx

ivory fjord
#

Hello! Sponge's download servers are down, does anyone happen to have a mirror for the sponge version of PlaceholderAPI?

junior musk
#

PlaceholderAPI doesn't have an official Sponge version

brisk coral
#

papi3 😏

junior musk
#

yet*

balmy marten
#

Hello! Sponge's download servers are down, does anyone happen to have a mirror for the sponge version of PlaceholderAPI?
@ivory fjord

#

We're not associated with that sponge version

#

We're working on an official build, but that is still some time away.

ivory fjord
#

ohh, oops

#

alright thank you, i'll use a different solution for now

balmy marten
#

np

night owl
#

Where can I find documentation on how to write JavaScript placeholders?

night owl
#

Thank you!

warm edge
#

Hey I am looking to talk to the Dev in private chat is that possible?

balmy marten
#

In regards to?

warm edge
#

It's about using the logo

rare lily
#

How does Dev have any relation to logo

balmy marten
#

dw its sorted

night owl
#

Is it possible to use placeholders within a scipt? Or would those placeholders need to be passed as arguments to the javascript placeholder?

rotund pendant
#

@brisk coral One for you ^

tender vaporBOT
#

@rotund pendant,

balmy marten
#

Is it possible to use placeholders within a scipt? Or would those placeholders need to be passed as arguments to the within javascript placeholder?
@night owl Yeah it's possible, not sure how off the top of my head, but if you have a google around you'll find it

night owl
#

Thank you!

rare lily
#

The answer is certainly

brisk coral
#

var placeholder = "%deluxetags_tag%";

#

?

austere hawk
#

Javascript expansion can't be used as %javascript_top_#% (where # = any number, Something like a leaderboard)

brisk coral
#

Well technically it can

austere hawk
#

huh ok thx for info

brisk zinc
#

is there a dev build for papi?

turbid tide
#

yep

#

link in pinned messages

brisk zinc
#

sweet thanks!

stone parcel
turbid tide
stone parcel
#

lol i searched everywhere and didnt found it

#

thank you blitztztztz :)

turbid tide
#

welp not everywhere xD. You are welcome

stone parcel
#

i dont have to download the ecloud thing, do i?

turbid tide
#

well if they work you don't

#

if they don't you probably do

#

hmm seems like there is an expansion

#

to be downloaded

stone parcel
#

because it didtn work and I do /papi ecloud download quests it downloads the extention for quests from the other person

#

ah thanks

#

oh well no, this is the other quests plugin

turbid tide
#

hmm

#

I see and it doesn't work without downloading the expansion?

stone parcel
#

yes

turbid tide
#

try going into plugins/PlaceholderAPI/expansions and delete the Quests one then restart the server and try the placehodlers again without downloading it

#

it = expansion

stone parcel
#

okay ill try it

#

you are godly

#

it works now lol

#

thank u very much!!

turbid tide
#

no problem

fervent jackal
#

Javascript Placeholder
Why array.includes(element) doesn't work?

junior musk
#

try .contains?

fervent jackal
#

Still not working

rancid minnow
#

@fervent jackal can you send the code youre using?

fervent jackal
#

Forget it, i replaced that part with array.indexOf(element) !== -1

rancid minnow
#

lol

warm topaz
#

cant embed images here

#

lol

rancid minnow
#

I am aware

warm topaz
#

fc be giving development more perms 😠

fervent jackal
wispy dove
#

Hey ! Is it possible to get a placeholder value of another server in a bungee cord network ?

tender vaporBOT
wispy dove
#

This plugin seems be dead

#

Not updated since 1.14

warm topaz
#

¯\_(ツ)_/¯

brisk coral
#

Charlie ded fingerguns

warm topaz
#

thats the only way i know of

heady falcon
#

charlie not dead

warm topaz
#

he isnt dead frosty

brisk coral
#

I know Kali smh, I got a 200 SC streak with em :p

warm topaz
#

o

junior musk
#

yeah I forgot about that

heady falcon
#

🤨

junior musk
#

I was saying, remember the site where it is posted

heady falcon
#

Also I've just realised, is your profile picture a helicopter in minecraft?

warm topaz
#

i can test it to see if it works on 1.16 when i get on pc

#

but i assume it does already

junior musk
#

Also I've just realised, is your profile picture a helicopter in minecraft?
@Niall yeah, I was using MC Heli on 1.7.10 when I started to play Minecraft =)

heady falcon
#

Lol nice

rancid minnow
#

nerds

junior musk
#

still hasn't been updated 😭

heady falcon
#

I always wanted to try out the flans mod or something

#

With vehicles

#

I could never get it to work

junior musk
#

In the end I went with MrCrayfish's Vehicle Mod ¯_(ツ)_/¯

night owl
#

can placeholders be passed as arguments inside javascript placeholders?

warm topaz
#

didnt u get answered earlier?

turbid tide
#

{placeholder}

night owl
#

like this? %javascript_titleprice,{luckperms_check_permission_title.healer}%

fervent jackal
#

Javascript Placeholder
I want to do something a little complex, I've already tried it in several ways and none of them have worked for me.

There are 3 lists:

var list1 = [];
var list2 = ["perm.one", "perm.two", "perm.three"];
var list3 = ["text1", "text2", "text3"];

I want to verify each element of the second list, if the player has the permission, the text of the third list that is in the same position of the permission will put in the first list

For example, if the player has perm.one and perm.three the first list would look like this:

var list1 = ["text1", "text3"];
rancid minnow
#

index loop

brisk coral
#

:what:

turbid tide
#

@night owl no. between the javascript name and first argument there needs to be an underscore not a comma %javascript_titleprice_{luckperms_check_permission_title.healer}%

rancid minnow
#
list2.forEach(function (value, i) {
  if (player.hasPermission(value)) {
    list1.push(list3[i]);
  }
});
#

@fervent jackal

#

something like that

#

I dont know JS like that, but should be along those lines

brisk coral
#

Does forEach even work in js?

rancid minnow
#

yes?

brisk coral
#

Interesting

night owl
#

That was it, thank you!

fervent jackal
#

@rancid minnow
Thanks, i will try with that

main kettle
#

hello

#

%mcmmo_level_swords%

#

this mcmmo placeholder not work

#

how to solve it

balmy marten
#

/papi ecloud download mcMMO /papi reload

main kettle
#

`/papi ecloud download mcMMO
/papi reload
sure i have all did

#

only
mcmmo_power_level
mcmmo_power_level_cap
work

#

but mcmmo_level_<skillname>

mcmmo_rank_<skillname>

#

not work

trim mist
#

mcMMO maintains their own expansion. You might have better luck in their Discord since they are actively updating that.

main kettle
#

but i ask them they said this

#
you might need to go talk to the papi guys, I don't know how that stuff works
trim mist
#

I responded in their support channel and tagged the proper person for you.

main kettle
#

okay thx 🙂

rancid minnow
#

@main kettle did you try %mcmmo_level_SWORDS%?

main kettle
#

let me try

#

same

rancid minnow
#

jesus since when does mcmmo cost money??

rare lily
#

A long time ago

#

I don't remember they cost 15$ actually

#

It was 10$ back then

trim mist
#

It's going up to 20 soon.

rare lily
#

These dudes..

rancid minnow
#

@main kettle uhhhh

#

the placeholder totally works

#

what the hell?

#

Why did I think that would embed...

rare lily
#

Weird

main kettle
#

hmmmmm

#

%mcmmo_level_swords% not work but %mcmmo_power_level% work

austere hawk
#

@main kettle can u try /papi parse me %mcmmo_level_swords% ?

#

also check if u have levels in swords

main kettle
#

sure

#

wait a minute

austere hawk
#

can't reach (can't open the page )

rancid minnow
#

its cause he pasted twice

#

just remove the second link

main kettle
vivid sparrow
#

jesus since when does mcmmo cost money??
@rancid minnow it always did

#

||but you can download it for free from their CI pls dont do this||

main kettle
#

ok i have fund why

#

when i change en_US to zh_TW

#

then the %mcmmo_level_swords% placeholder will not work

#

Locale: zh_TW

trim mist
#

The locale in mcmMO?

main kettle
#

yes

trim mist
#

I would report that to them.

main kettle
#

ok

#

i have solved by using chinese characters

#

/papi parse me %mcmmo_ level _劍術%

final shadow
#

So what’s up

#

How is it looking for a papi update today

trim mist
#

There's an open PR waiting for you.

rancid minnow
#

Theres also a design change discussion we need to have when youre free @final shadow

coarse wedge
#

Heya

#

Is there an "update all expansions" command?

#

i.e. /papi ecloud update all

rancid minnow
#

no.

#

wait

#

make an issue for it

#

and I'll probably do it

#

idk

#

maybe not

coarse wedge
#

Well that was a roller coaster

rancid minnow
#

¯_(ツ)_/¯

coarse wedge
#

Are ya'll adding relational placeholders or is that just mvdw?

rancid minnow
#

thats already a thing

#

I might remove it though

#

idk

coarse wedge
#

Is there somewhere I can read about that to learn what it is?

rancid minnow
#

?

coarse wedge
#

I have no idea what relational placeholders are

#

I think I read somewhere that it's got to do with multiple plugins interacting or something

#

I've only read that mvdw is working on adding them and not actually found anything explaining what they are.

rancid minnow
#

I know nothing about anything else

#

I barely know about papi

#

but papi has had relational placeholders for a while

#

since 2018 at least

coarse wedge
#

Oh it's relationships between two -players- got it

#

that's really cool

rancid minnow
#

What...

#

were you expecting?

coarse wedge
#

I can see how that would be useful

#

Like I said I had heard that it was between two plugins

#

That was literally what my question was

rancid minnow
#

Im...

#

wtf are you talking about dude