#placeholder-api

1 messages Β· Page 158 of 1

trim mist
#

Just make sure you retrieve the data on another thread so in case something goes wrong, you don't crash.

wise oak
#

yeah the server is runs on it's own thread

vivid sparrow
#

damn this looks cool

austere hawk
#

Hi

#

Why does this on my vps work but on localhost it doesn't work?

junior musk
#

🀷

#

did you add back the javascript file?

#

and registered it in the javascript_placeholders.yml as well?

#

or just copy other your entire PlaceholderAPI folder

austere hawk
#

But now the points appear

#

1.000

junior musk
#

with which placeholder?

austere hawk
#

your

#

%javascript_tokens%

junior musk
#

πŸ€”

#

any errors in console?

austere hawk
#

No

#

What can I do?

junior musk
#

I don't know =/

austere hawk
#

πŸ™ƒ

errant iron
#

what's going on here

#

you have a JS placeholder that's not formatting it how you want it?

austere hawk
#

I have a normal placeholder that contains ., I want to remove the .!

errant iron
#

if it starts with javascript it's not a normal placeholder

#

what plugin is it for?

austere hawk
#

RevEnchant tokens

errant iron
#
function tokens() {
  return Math.round(PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%RevEnchants_Tokens%").replaceAll(",",""))
}
tokens()
#

try that

vivid sparrow
#

replace() @errant iron

errant iron
#

replace what

vivid sparrow
#

not replaceAll

errant iron
#

oh why

vivid sparrow
#

well the name is misleading and js don't have that

errant iron
#

oh this website says it does

#

i dunno, all I added was Math.round

#

apparently that's already been working for him

vivid sparrow
#

ok

austere hawk
#

Ty

#

Try

#

Wtf

errant iron
#

yeah?

austere hawk
#

I have 131k tokens and it brings them to 131.0

errant iron
#

oh what, is it using decimals instead of commas?

austere hawk
#

Yes

errant iron
#
function tokens() {
  return PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%RevEnchants_Tokens%").replaceAll(".","")
}
tokens()
#

try that

junior musk
austere hawk
#

The tokens command shows me 131.000

#

Empty

#

Papi parse me %javascript_tokens%

errant iron
#

what, it should've replaced the period

austere hawk
#

Is empty

errant iron
#

empty?

#

hmm

#

okay it sucks that it uses decimals instead of commas, cause like none of the javascript functions work

austere hawk
errant iron
#
function tokens() {
  return PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%RevEnchants_TokensFormatted%").replaceAll(",","")
}
tokens()
#

how about that

junior musk
#

isn't that what I said in the first place?

austere hawk
#

131.000 = 1310K

#

what

errant iron
#

okay so I have no clue

#

you want the number without any delimiters right?

austere hawk
#

a

#

yes

errant iron
austere hawk
#

131.000 = 131000

junior musk
#

oh

errant iron
#

okay hold on, let me check something

austere hawk
#

I want this

#

okok

errant iron
#
function tokens() {
  return PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%RevEnchants_Tokens%").replaceAll(/\D/g , '')
}
tokens()```
#

maybe that one

austere hawk
#

ok

#

same

#

131.000

errant iron
#
function tokens() {
  return PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%RevEnchants_Tokens%").replace(/\D/g , '')
}
tokens()```
austere hawk
#

ok work

#

thank you

errant iron
vivid sparrow
#

πŸ™‚ nothing new

tulip burrow
#

is anyone had issue with mysql placeholderapi?

charred bough
#

idk why but The Plugin Just Stopped Work For Me

vivid sparrow
#

ahh the plugin

charred bough
#

What? @vivid sparrow

errant iron
#

which plugin exactly?

#

and is there any errors in console?

charred bough
#

PAPI 2.10.9 No Errors

errant iron
#

So what doesn't work?

kind ledge
#

hi

errant iron
#

hey

warm plover
#

Is there an expansion that can track what day and time it is?

#

I was thinking the local time placeholders, but didn't know if it could be used that way

errant iron
#

%player_world_time%

#

if you want the per person time

#

%world_time_<world>% if you want the real world time

warm plover
#

Hmm is there a way I can track days like saturday/sunday

errant iron
#

minecraft itself doesn't track that

warm plover
#

As an example, parsing %date_saturday% would send yes or no

#

gotcha

vivid sparrow
#

Can probably user server_time with the timeformat for day of the week

#

%server_time_EEE%

meager vault
#

Hello,

which script engine do I need to use for placeholder-api javascript on java 16 please ?

#

(I'm using latest dev build of placeholderapi)

#
>.... [16:44:39 WARN]: [PAPI] [Javascript-Expansion] Failed to set ScriptEngine for javascript placeholder: grade```
trim mist
#

It's just like DeluxeMenus. It will not work until we release a build with support for it.

meager vault
#

any eta ? 😦

trim mist
#

No

meager vault
#

deluxemenus works with your build, so I'm just waiting for javascript now ^^

I tried "JSEngine-3.0.1" but doesn't work

trim mist
#

PlaceholderAPI is open source. Probabaly can just integrate it yourself.

#

And PlaceholderAPI itself should be fine. It's just the JS expansion that needs the engine shaded.

meager vault
#

I'm not a coder :/

But if you know someone that can do it (for placeholderapi, not only me) I can pay him, so it will help many people

meager vault
#

Hope someone can update javascript soon (I can pay) πŸ™‚

errant iron
#

could always try graal.js πŸ₯²

#

but if that doesn't work, then nothing will until it's updated

meager vault
#

I'll wait until update, but I'm searching someone to update it ^^ (I hope someone will accept, as i pay for this)

errant iron
#

i mean graal.js totally might work

#

if you have it installed

meager vault
#

I'll try, but I had some problems with graalvm-11

#

so graalvm-16 maybe also causes issues

stone siren
#

Which permission to I need to negate to stop players from being able to use /papi?

#

The list of permissions on Spigot indicates that they all default to op, but on 2.10.9 my player account can still use that command (and see that PAPI is installed)

mint fable
#

does that just show version info and stuff?

stone siren
#

yes

mint fable
#

don't think you can disable that

#

I think the same for deluxemenus

stone siren
#

I don't use deluxemenus

mint fable
#

I'm just saying

stone siren
#

the other plugins I use properly hide their commands unless the player has the requisite permissions

mint fable
#

it just shows version and all that, no perm required πŸ€·β€β™‚οΈ

stone siren
#

...right, that's what I'm saying is an issue

#

it should have an associated permission

#

even if it defaults to true, it should be capable of being disabled

mint fable
#

it's on github

#

could recompile and remove those messages

#

I assume you've tried to negate placeholderapi.* right?

#

just in case?

stone siren
#

that would require me maintaining a separate fork for what should be a base feature. if you're telling me there is no associated permission, I will open a github issue

#

by default it should not be exposed as a matter of security

mint fable
#

a matter of security?

stone siren
#

yes

#

players shouldn't have access to plugin versions unless server owners indicate they should

mint fable
#

how does seeing the version number and author of a plugin that is available to the public change your security?

stone siren
#

are you familiar with informational security principles generally

mint fable
#

not here to argue

errant iron
#

That is so barely helpful

#

But I mean, he is correct

mint fable
#

just doesn't matter really, but if you want it you can go ahead and open the github issue or recompile it

stone siren
#

neither am I - I'm asking so I don't explain something to you that you already understand

errant iron
#

It reduces attack vector

stone siren
#

exactly

#

the first level of security is security through obscurity

#

I already deny permission to see the plugin list, but I can't stop plugins from showing their commands in tab complete if they don't have associated permissions. And they shouldn't show up in the first place

mint fable
#

πŸ‘

stone siren
#

I'll open a github issue - that was all I needed to know originally

mint fable
#

it was said originally as well

stone siren
#

you said you don't think it can be disabled and that I could recompile it, you didn't say yes or no about whether there was an explicit associated node

meager vault
stone siren
#

that doesn't change tab completion

#

tab completion registration is based on permissions

meager vault
#

and a plugin that remove tab completion

#

ezprotector does it easily

stone siren
#

the correct approach is for the plugin to engage in best infosec practices

errant iron
#

it's a free plugin that every server uses dude

stone siren
#

all the more reason for it to be an example of best practices

errant iron
#

it matters so little

stone siren
#

to you!

errant iron
#

to everyone?

#

i can't name a server that doesn't have PAPI installed

#

i don't think revealing its presence will be of threat to you

mint fable
#

You can't expect everybody to want to match your level of security required.

stone siren
#

I don't - it should be an option

mint fable
#

That's perfectly fine, you are entitled to your opinion on that matter at hand.

#

From a marketing perspective it's a great idea πŸ˜‰

errant iron
#

I mean, I don't think a single person cares besides this guy

mint fable
#

there are others

errant iron
#

In all the years of PAPI's existence, he's the first to ask

mint fable
#

but it is also OS and they usually have somebody that would just make it work for the server

stone siren
#

tab completion is a new phenomenon

#

also, there's been an upswing in botting accounts looking for server vulnerabilities

mint fable
#

gotta love the internet

errant iron
#

isn't the problem that you can't restrict /papi?

#

that existed before tab completion

stone siren
#

even if PAPI isn't a potential source of vulnerabilities, it should conceal its existence to players

mint fable
#

there's gotta be another plugin out there though that can hide this

stone siren
#

I can prevent whatever I want - my request for PAPI is about best practices

mint fable
#

no?

stone siren
#

it's not about whether or not another plugin can do it

mint fable
#

Bro I'm done arguing about it

stone siren
#

I'm not arguing

#

you asked, I answered

mint fable
#

I'm talking about a solution for you

#

for now

stone siren
#

I didn't even realize we were arguing

#

yes in the short term I can use alternative means to prevent access

mint fable
#

I already understand what you want

#

and why

stone siren
#

in the long term and as a matter of best practices PAPI should default to concealing its existence

#

I appreciate you trying to help me consider a short-term solution

mint fable
#

From the marketing perspective of papi it makes sense

#

you provide a free plugin, everybody can see it

stone siren
#

I don't think players are a target audience for marketing

#

and in-game marketing via plugin command is an odd way to go about it

errant iron
#

I don't think PAPI is a target audience for bots

mint fable
#

a lot of the times people want to see what plugin a server uses just so they can have it on a private server

stone siren
#

a poorly-made papi hook in another plugin could lead to vulnerability

#

that's not a papi problem but it is a vector

errant iron
#

they could still exploit it without having access to /papi

stone siren
#

sure - but as you mentioned earlier, every step counts

errant iron
#

it's a good bet that any server you join will have PAPI, so might as well try all your vulnerabilities

stone siren
#

which is why I've opened a github issue

#

if it gets accepted, great, if it doesn't, well, too bad

errant iron
#

this is like saying you want to conceal Windows lol

#

Most people have Windows, might as well try all your attacks targeted towards Windows

austere hawk
#

How could i take a placeholder and divide it by 60?

warm topaz
#

math expansion

austere hawk
#

so i would do %math_{rankup_requirement_playtime-minutes} / 60%

terse trellis
#

Hello all, I am getting an error with the MySQL placeholder
https://api.extendedclip.com/expansions/mysql/

[20:11:05 WARN]: [PlaceholderAPI] Task #2115 for PlaceholderAPI v2.10.9 generated an exception
java.lang.NullPointerException: null
at me.SuperRonanCraft.expansionMySQL.Main.register(Main.java:35) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:139) ~[?:?]

Here is main.java:
https://github.com/SuperRonanCraft/Expansion-MySQL/blob/master/src/main/java/me/SuperRonanCraft/ExpansionMySQL/Main.java

there is more to the error if needed,
anyone know why this is happening?

I googled it a lot and found that some people updated to 2.10.10-DEV and it worked, but it didn't for me.

mint fable
#

can you send the startuplog with 2.10.10-DEV?

#

it's possible that the mysql expansion is broken

terse trellis
#

the whole server log?

mint fable
#

yes

#

=paste

tender vaporBOT
#
HelpChat Paste

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

terse trellis
mint fable
#

that's 2.10.9

terse trellis
#

oh

#

sorry

#

I'm pretty sure its the same error

#

would you like me to try 2.10.10?

mint fable
#

yes please

#

just double checking because I haven't seen a 2.10.10 log yet

#

after that can you also send your papi config

terse trellis
mint fable
#

ooh i think mysql has it's own actually

#

is there a file/folder in the expansions folder?

terse trellis
#

yeah it does

mint fable
#

okay send that one

terse trellis
#

2secs

#

its default atm

#

but when I populated it with the login details it still errored

mint fable
#

ah

#

sadly, it is broken

terse trellis
#

ffs

#

really need this

mint fable
#

could try and get somebody to fix it

#

since it is os

terse trellis
#

that would be amazing

#

also, is there a http placeholder yet?

#

to get web links

mint fable
terse trellis
#

oh, thanks

mint fable
#

what do you mean by that

terse trellis
#

like

#

it would get the body of that and return it in the placeholder

#

(using it for an example, I know you can do random placeholders)

mint fable
#

uh

#

I don't think so

#

but that's all of em that are public this

#

You'd have to have an update interval for it

terse trellis
#

Yeah I have looked

#

feather board does something similar with their <url> tag

#

@mint fable do I need to request for someone to fix the mysql expansion?

mint fable
#

you don't need to, no

#

but nobody is doing it

#

so it would probably help

#

the author probably hasn't had time

#

or might not care anymore, but πŸ€·β€β™‚οΈ

#

I don't know em

terse trellis
#

ughh

#

it would really expand a whole load of things

#

mysql paired with the javascript expansion

mint fable
#

it's probably not hard to fix

terse trellis
#

yeah

#

I have no idea about java tho

#

let alone building it

mint fable
#

I wish you luck in maybe somebody doing it

terse trellis
#

okay, thank you so much for your help, much appreciated!

mint fable
#

could always comment on the issue as well

#

make sure they know

terse trellis
#

what do you mean by that?

opaque ginkgo
#

whats the placeholder api for vault / essentials baltop? I need it for my holograms

flint nacelle
# terse trellis what do you mean by that?

If the expansion has a GitHub post a issue soo he know of the bug/problem. And if he is still active, he will reply/fix the issue (if he has time and/or has interest to fix it).

And if it open source, can others perhaps fix the issue.

ruby patio
#

guys soo
my server is having a lot of crashes recently
the console is being spammed with "The server has stopped responding..... creating a thread dump. etc"
can someone help me in figuring out what is the cause of such crashes ??

I was monitoring the server and i can it is not an issue of cpu overload or over ram usage.

this is happening a lot of times and i am new to server hosting soo if anyone could clearly help me in this tysm

#

i cannot post the logs it says "u are not allowed to send non-whitelisted websites"

wheat smelt
#

Hello, Is their a placeholder where i can display the players version?

wheat smelt
#

I dont use the plugin ViaVersion

#

Will this still work?

junior musk
#

what are you using for multi-versions?

wheat smelt
#

wdym i run a 1.16.1 paper survival server

junior musk
#

then why do you want a placeholder for the player's version?

wheat smelt
#

Because its useful to me

junior musk
#

if the server doesn't have a plugin like ViaVersion to allow players to join with different versions than the server's version, then they all have the exact same version

wheat smelt
#

Mhm

#

I have a diffrent use for it

junior musk
#

well, I don't see what's useful for it

#

you have a 1.16.1 server

#

everyone has to join in 1.16.1

wheat smelt
#

I came here for support not for an argument

junior musk
#

it's not an argument, it's just that I don't understand

wheat smelt
#

Is their a placeholder for it or not?

junior musk
#

you can't join a server in another version without a plugin like ViaVersion

#

alright let's get back to the beggining

#

you want a placeholder for the player's Minecraft version?

wheat smelt
#

Yes

junior musk
#

and your server is using 1.16.1 ?

wheat smelt
#

Mhm

junior musk
#

and you don't have ViaVersion ?

wheat smelt
#

No

#

I have a diffrent use for it!

junior musk
#

that means that everyone who joins, uses 1.16.1

#

wdym you have a different use?

wheat smelt
#

Im going to be using it in future servers and test it on my test server

#

I just need the placeholder for it

junior musk
#

oh

#

so you like

#

want the server's version?

wheat smelt
#

No

#

The player version

#

Ok let me explain

junior musk
#

please do, I'm confused πŸ˜…

wheat smelt
#

I have an anticheat that when someone joins it displays their client

#

i want it too display their version too

#

ik how to add it too the config

#

i just need the place holder for it

#

On my server anyone in 1.16 can use it

junior musk
#

but

#

if anyone joins in 1.16

#

what's the point of showing the player's version?

#

you could just write Version: 1.16 directly

wheat smelt
#

Cause i just want to know

junior musk
#

but they can't join with anything else

#

the server will tell them Outdated version! or Outdated server!

wheat smelt
#

yes but its good to know whether they are on 1.16.1 1.16.5 etc

junior musk
#

oh you mean sub versions

wheat smelt
#

mhm

junior musk
#

I think they can't join if they don't have the same version as the server, except for some exception

wheat smelt
#

I a priv plugin for that

junior musk
#

ah

wheat smelt
#

anyone on 1.16 can join

#

any type

#

of 1.16

#

i just need the placeholder

junior musk
#

then I think your plugin should create the placeholer

#

like ViaVersion did

#

I don't see another way

wheat smelt
#

πŸ™„

#

You dont understand

#

but ok

junior musk
#

Spigot doesn't have a way to detect the player's version,

wheat smelt
#

i dont use spigot

junior musk
#

what do you use?

wheat smelt
#

Paper

junior musk
#

it's the same thing

wheat smelt
#

Nope

junior musk
#

Paper is a fork of Spigot

#

which means it uses Spigot code

#

but with improvements

#

(well for now)

wheat smelt
#

Ok Buddy, I Wasent here for this i was here for 1 simple thing is it possible or impossible

junior musk
#

it's possible if your plugin makes one

wheat smelt
#

Finnaly

#

Thanks, I guess.

junior musk
meager vault
#

closed ? I can ask for my issue ? πŸ™‚

junior musk
#

yeah go for it

meager vault
#

Hello,
As there is no javascript-expansion update, and I moved to java 16 (so doesn't work anymore)

I tried GraalVM for java 16, I set "engine : graal.js" but it keeps tells me :

>.... [12:52:54 WARN]: [PAPI] [Javascript-Expansion] Failed to set ScriptEngine for javascript placeholder: grade
>.... [12:52:54 INFO]: [PAPI] [Javascript-Expansion] 0 script loaded!
>.... [12:52:54 INFO]: [PAPI] [Javascript-Expansion] Java version: 16.0.1```
junior musk
#

idk why graal.js doesn't work tho

meager vault
#

h and set the script engine to js
Only in javascript_placeholders.yml
or also in config.yml ?

#

(as in config.yml I can set an engine type)

junior musk
#

uh

meager vault
#

I tried this plugin, but I didn't now I had to set "js" as engine x)

junior musk
#

I think the one in the config is the default script engine

meager vault
#
    engine: javascript
    debug: true
    github_script_downloads: false
    argument_split: ','```
junior musk
#

so you can just put it in the config and remove the engine: from your javascript_placeholders.yml and it will default to the one in the config yeah

meager vault
#

I'll only change in the javascript_placeholders ^^

junior musk
#

oki

meager vault
#

but I tried so much things, and nothing worked x)

junior musk
#

that works too I guess

meager vault
#
>.... [13:05:24 INFO]: [PAPI] [Javascript-Expansion] 0 script loaded!
>.... [13:05:24 INFO]: [PAPI] [Javascript-Expansion] Java version: 16.0.1```
#
  file: quetes_emeraude.js
  engine: js```
#

and I got the plugin

junior musk
#

πŸ‘€

meager vault
#

I got also two people that tried to update the javascript expansion for me (one tried to add the graalvm engine, the other to hook into "JSEngine") none of them worked 😦

junior musk
#

even though I don't think that'll change much

meager vault
#

Same

#

:c

#

I don't know what's wrong

junior musk
#

me neither

#

I see that you got the debug mode enabled, do you get something else in console like Displaying all script engine factories ?

#

maybe on /papi reload

meager vault
#
>.... [13:11:24 INFO]: [PAPI] [Javascript-Expansion] 0 script loaded!
>.... [13:11:24 INFO]: [PAPI] [Javascript-Expansion] Java version: 16.0.1
>.... [13:11:24 INFO]: Displaying all script engine factories.
>.... [13:11:24 INFO]: [PlaceholderAPI] Successfully registered expansion: javascript
>.... [13:11:24 INFO]: [PlaceholderAPI] Successfully registered expansion: cooldownbar
>.... [13:11:24 INFO]: [PlaceholderAPI] Successfully registered expansion: parseother```
junior musk
#

πŸ‘€

meager vault
#

I see this but nothing else

junior musk
#

then it means there's no script engine

#

but that makes no sense

meager vault
#

I got graalvm and also JSEngine :c

junior musk
#

yeah I know ;-;

meager vault
#

πŸ˜‚

safe rose
# meager vault I got graalvm and also JSEngine :c

javascript-Expansion does not use Bukkit service provider to get the instance of ScriptEngineManager.

if they instantiate ScriptEngineManager like

RegisteredServiceProvider<ScriptEngineManager> servicesManager = Bukkit.getServer().getServicesManager().getRegistration(ScriptEngineManager.class);
ScriptEngineManager scriptEngineManager = servicesManager.getProvider();
ScriptEngine engine = scriptEngineManager.getEngineByName("js");

simply having JSEngine.jar in plugin folder will work.

meager vault
#

Tanguy helped me and it works fine, I just got some issues with some javascript in deluxemenus, I'll have to check

junior musk
junior musk
safe rose
junior musk
#

I'm trying things and all x) I seem to be able to get it if I get the Plugin instance with the Bukkit PluginManager and then use it's getNewEngine() method

#

but I don't understand why it doesn't work with the 3rd way provided on Spigot

safe rose
#

and it picked it up.

#

are you using 3.0.2?

junior musk
#

πŸ‘€

#

12m ago πŸ˜…

#

I'll dl it

safe rose
#

that seems to be just extra checking being added.

junior musk
#

did I forget something?

carmine veldt
#

tf

junior musk
#

idk

#

I'm trying

#

;-;

#

oh you're kidding me

safe rose
#

?

junior musk
#

there's no way

#

I was using js

#

but when I tried JavaScript

#

it worked 😭

carmine veldt
#

fyi I think we're switching to v8 in the javascript expansion for papi 3

safe rose
#

hmm, odd, the js is also listed in the name list.

junior musk
#

yeah I know, I don't get why it didn't find it

safe rose
#

yes, v8 would be faster?

carmine veldt
#

yes but that's not the main reason for switching

junior musk
#

it doesn't even seem to detect it there

carmine veldt
#

mainly es6 support

warm topaz
#

pig is the expansion format for papi 3 finalised btw?

carmine veldt
#

no

#

nothing is finalised till it becomes os

warm topaz
#

πŸ₯²

carmine veldt
#

but that being said I don't see it changing

warm topaz
#

its with annotations atm right?

carmine veldt
#

there's a few different ways

safe rose
carmine veldt
#

nashorn has minimal es6 support

#

rhino has basically none

safe rose
#

ah.

carmine veldt
#

graal.js was the ideal option but it required jvm args to run on openjdk

#

and openjdk is now removing the graal jit compiler so it's not an option

#

basically v8 bindings is the only option left if we want to actually improve the current situation

safe rose
#

and v8's es6 implementation is more complete?

carmine veldt
#

well yes

#

v8 is what chrome uses

#

and node

junior musk
#

||with all those JS problems, maybe a Python-Expansion would be better ? πŸ˜‚||

safe rose
#

or closure?

carmine veldt
#

do you mean clojure?

safe rose
#

;P yes.

warm topaz
#

oh no

#

oh no

#

oh no

carmine veldt
#

clojure is a niche language

#

python is fucking disgusting

#

only other language I think I'd seriously consider is lua

warm topaz
#

obligatory kotlinscript expansion plug that is already made

safe rose
#

go is not an option?

carmine veldt
#

I mean I'm sure it is an option, but that's really not what go is for

safe rose
#

i know.

carmine veldt
#

lua's primary purpose for example to be used as an embedded language

#

it's designed to be used for plugins

#

however I'm not really looking to change away from javascript

#

that's what people are already used to

#

and v8 looks like a very promising nashorn alternative

warm topaz
#

no need ofc, but would be cool to see more just for fun

junior musk
#

||then maybe we'll get a Java-Expansion? x)||

safe rose
#

so, PAPI ecloud would be used to download v8?

carmine veldt
#

there's java bindings for v8

safe rose
junior musk
carmine veldt
safe rose
carmine veldt
#

you just bundle all 3 platform dependencies (works on linux, mac, and windows) into the javascript expansion

#

mind you that makes it 15MB, but size isn't too much of an issue since the expansion isn't uploaded to spigot

warm topaz
carmine veldt
#

java 9+ has a java interpreter called jshell

#

could technically use that for a java expansion

warm topaz
#

lol

junior musk
#

let's do it πŸ‘€

#

x)

warm topaz
#

cant wait to write so much boilerplate in a java "script"

junior musk
#

yeaaaah buuuuuuut,

#

Meow

warm topaz
#

we dont want a repeat of 2.10.7 do we 🌚

carmine veldt
#

oh I forgot about that (making a compat layer)

#

iirc we were going to make a compat layer, but I'm not sure you realise just how different papi 3 is

warm topaz
#

i probably do not

carmine veldt
#

have you looked at the code?

warm topaz
#

looked at like 1 class

#

was too much for my smooth brain

carmine veldt
#

yeah that's a recurring problem

warm topaz
#

idk ill try and look at it again eventually

carmine veldt
#

I need to document it

warm topaz
#

lol

flint nacelle
vivid sparrow
#

Has anybody told Thien about V8?

warm topaz
#

i havent saw thien in a while actually

west blaze
#

Hi, through the API is it possible to reload the placeholders in a scoreboard after 2 seconds? I made a scoreboard with the Spigot API, now I have to make the placeholders I put update after a few seconds.

mint fable
#

well you'd do it through your end

#

every 2 seconds just redo the text in the scoreboard, when the placeholder is parsed it is updated to the new value

#

some expansions do have separate update intervals set in configs though, like the vault baltop for example

#

@west blaze this

west blaze
#

so always reload the scoreboard?

mint fable
#

well, I'd use the word "update", but yes

#

I've never worked with the scoreboard in java before πŸ€·β€β™‚οΈ

shy kayak
#

Hi does someone know how to register a placeholder with version 2.10.9? The documentation doesn't show it and there is no tutorial

#

I've used a PlaceholderExpansion to register it but when I use the method setPlaceHolders it doesn't work

shy kayak
turbid tide
#

no worries πŸ‘

#

that's why I'm here

rare lily
tender vaporBOT
#
Hey!

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

rare lily
#

Learning for university is a pain

#

I only send in discord a total of only 20 msgs a day now lol

warm topaz
#

good luck with ur University endeavours ig

rare lily
#

πŸ’š

fading sapphire
#

I can't get stats playtime to work?

#

It just says 0

errant iron
#

It just reads from your world file

#

Maybe your player data isn't being saved correctly? I'd check that first

fading sapphire
#

How do i check if it is or isn't being saved correctly? I wouldn't really know what it would look like if it wasn't

errant iron
#

I mean you can open your world file with NBTExplorer and see if it has the correct time played data

fading sapphire
#

Uhh i don't think it is

next lotus
#

so

#

im trying to make a command block

#

that does the command /lp user %playername% permission unset timber.disallow

#

%playername% needs to be @p

#

or just something to make the %playername% the player who pressed the button

#

and activated the command block

vivid sparrow
#

@p

#

But why use command blocks anyways

next lotus
#

long explaination i dont want to get into

#

@p dosent work

#

/papi ecloud download luckperms
/papi ecloud download Player
/papi ecloud download PlayerList
thats what ive been told to download to get @p working and it dosent

next lotus
#

is there any way to do that

#

i just need %playername% to be @p

errant iron
#

i don't think PAPI works in command blocks...

next lotus
#

does it not

#

fuck

flint nacelle
# next lotus i just need %playername% to be @p

I think you can't use that placeholder like that.

And in most cases it exists plugins, some can replace the command block.
I will also say use command blocks on a server are not good idea.

shy kayak
#
class TempFlyCommand(private val plugin: UnitiaTempFly): CommandExecutor {
    init {
        this.plugin.getCommand("tempfly").executor = this
    }
#

@austere hawk

shy kayak
#

Can someone help me please, I have created a placeholder like that:

object: PlaceholderExpansion() {
            override fun canRegister(): Boolean { return true }

            override fun getIdentifier(): String { return "tempflyactive" }

            override fun getAuthor(): String { return "Pseudow" }

            override fun getVersion(): String { return unitiaPlugin.description.version }

            override fun onPlaceholderRequest(player: Player?, params: String): String {
                if(player != null && player.isOnline &&
                    unitiaPlugin.cache.containsKey(player.uniqueId.toString())) {
                    val time = unitiaPlugin.cache[player.uniqueId.toString()]

                    return if(time == -1L) {
                        unitiaPlugin.loadConfigMessage("placeHolderInfiniteTime")
                    } else {
                        return "${(time!! - System.currentTimeMillis()) / 1000 / 60}min"
                    }
                }

                return unitiaPlugin.loadConfigMessage("placeHolderNoTime")
            }

            override fun onRequest(player: OfflinePlayer?, params: String): String {
                return this.onPlaceholderRequest(player?.player, params)
            }
        }.register()

The console told me it was registered but when i do:

it.sendMessage("Β§aIl vous reste ${PlaceholderAPI.setPlaceholders(it, "tempflyactive")} de vol !")

It sends me: "Β§aIl vous reste tempflyactice de vol !"

junior musk
#

you need the %% in the setPlaceholders

errant rapids
#

Hello, I need help with PAPI

#

I run a bungeecord server, and i use chatmanager. if i use %server_name% as a prefix, it gives me "A minecraft server" instead of hub.

#

anyone please help

#

ohh ok thanks

tender vaporBOT
#
Hey!

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

errant rapids
#

k sorry

warm topaz
#

what in the hell

shy kayak
junior musk
#

x)

tardy current
#

is dere a placeholder for what dimension your in?

#

@junior musk

junior musk
#

%player_world%

tardy current
#

also

#

whats the uh

#

placeholder for how much money u have

vivid sparrow
#

vault

agile aspen
#

How would you make a place holder on items you have unlocked so for example I have unlocked 25 items out of 100?

vivid sparrow
#

You need a plugin for this if you want to do something like hypixel skyblock

wet basinBOT
#

@tardy current Unknown expansion.

#

@tardy current Unknown expansion.

tardy current
#

what is da placeholder for ping

wet basinBOT
#

@tardy current Unknown expansion.

turbid tide
#

why ask in 2 channels?

tardy current
#

i asked that before

turbid tide
#

oh my bad.

#

still please stick to 1 channel when you can. thank you

tardy current
#

also

#

@turbid tide

#

is there a way to fix my essentials nick cutting off?

#

since its really long and it just cuts off on my scoreboard

turbid tide
#

they allow 32+ chars

#

I think all of them do in 1.8.8+

tardy current
#

i use scoreboard r

turbid tide
#

yeah you should probably just change to one of those I Listed

mossy sleet
#

How can I get a player head from a placeholder as a GUI button??

#

Like how can I use the placeholder to get the players head

turbid tide
#

?dm-heads

tender vaporBOT
#
FAQ Answer:

How to use custom heads in DeluxeMenus:
a) A player name material: head-extended_clip
b) The player's head material: head-%player_name%
c) The base64 code of a head material: basehead-<code>:
- Go to https://minecraft-heads.com and find a head.
- Copy the head Value code (from the page bottom)
d) EpicHeads material: heads-<id>:
- Require https://www.spigotmc.org/resources/13402/
e) HeadDatabase material: hdb-<id>:
- Require https://www.spigotmc.org/resources/14280/

turbid tide
#

@mossy sleet second option

mossy sleet
mossy sleet
#

@turbid tide ?

tender vaporBOT
#
Hey!

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

turbid tide
#

not sure. never heard of that plugin before

wary onyx
errant iron
#

Send your startuplog

#

?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.

wary onyx
errant iron
#

/papi dump

wary onyx
errant iron
#

Might be related to McMMO, which is getting messed up by ViaVersion

#

Not entirely sure, that is a very vague error

turbid tide
wary onyx
#

I deleted the expansion, and after /papi reload the same error showed up

errant iron
#

Go through one by one and remove PAPI expansions, one of them is causing this problem

wary onyx
#

figured it out, apparently one of the expansions were empty

errant iron
#

ah, that'd do it

wary onyx
#

thanks for the help!

austere hawk
#

Why PAPI throwing JSON parsing error on startup?

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.

austere hawk
errant iron
#

that's not your startup log

austere hawk
#

Yeah but that's the error

errant iron
#

Okay, the startup log will help us by not requiring us to ask you a million questions you may or may not know the answers to

austere hawk
#

Ok ok wait

#

@errant iron

errant iron
#

Ah, it is getting malformed JSON

austere hawk
#

So?

errant iron
#

So somewhere in your network connection is messing with that data

austere hawk
#

hmm anticheat?

errant iron
#

Possibly

#

Worth a try

austere hawk
#

hmm ok let me remove that

errant iron
#

Worst case scenario, you make a new server with just PAPI and see if it works

#

if it doesn't, it's something at your network level and not your server

austere hawk
#

;__;

#

ok

errant iron
#

cause that is quite a weird error ngl

turbid tide
#

also try reinstalling PAPI as wel

#

well*

austere hawk
#

did already

obtuse forum
errant iron
#

send your startuplog

#

?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.

errant iron
#

That is pretty weird, have you tried downloading PAPI again?

#

It looks like it got messed up somehow

obtuse forum
errant iron
#

Try unzipping it and send the plugin.yml

obtuse forum
errant iron
#

You should replace the plugin.yml on any server that it doesn't work on, since it seems that it got corrupted somehow

past topaz
#

PlaceholderAPI is downloading the vault expansion with /papi ecloud download vault, and it's appearing in the expansions folder, but /papi reload doesn't register the expansion: "No expansions were registered"

errant iron
#

/papi dump

#

and any errors in console?

past topaz
#

Tried manually adding the expansion too and problem still occurs

errant iron
#

ah, 1.8.8. i think you need to use a different version maybe

past topaz
#

Oh, it was working before I uploaded it to my host. On my local server it was working fine, does Bungee interfere with it at all?

#

Bungee expansion works, just seems to be Vault, I'm not sure why

errant iron
#

huh, yeah I am not sure either

warm topaz
#

possibly a corrupted jar file idk? altho that would probably throw an error

#

try restarting the server, or downgrading to the previous version of the vault expansion

past topaz
#

Prior two versions of vault expansion also not loading

dense trail
#

is there a placeholder that returns the itemname of the item that a player is holding?

vivid sparrow
#

%player_item_in_hand_name%

dense trail
#

amazing

shy kayak
austere hawk
#

reeeeeeeeeee

#

I mean I can type that too but does it build?

shy kayak
#

This is the proof

#

Yes i use that in my plugin

austere hawk
#

I mean,,,

#

you expect me to just take your word for it?

shy kayak
#

Yes

#

Why

austere hawk
#

why would I

#

what target version btw

#

bukkit/spigot/paper version

#

because my research points out it's to do with the annotation mismatch between getExecutor and setExecutor, and I know for a fact the @Nullable & @NotNull annotations haven't always been part of bukkit

errant iron
#

damn emilyy kinda smart

austere hawk
#

lo and behold it does work for ancient versions like 1.12.2 and prior

past topaz
#
Failed to load due to a [NoClassDefFoundError], attempted to use net/luckperms/api/LuckPerms```
could anyone explain this for me
errant iron
#

Sounds like LuckPermsExpansion is outdated

jade sail
#

Do PAPI & HeroChat play well together?
Wanting to change the format a little bit

Currently using a mix of LP & HeroChat.

#

however seems like everything gets stored within the {name} field...
the prefix, name and suffix...

Which in turn doesn't let me edit a users nickname color

austere hawk
#

Damn

austere hawk
#

Try what?

#

I did, read the following messages

austere hawk
shy kayak
#

Use the .executor = this in koltin

austere hawk
#

You can't do that on 1.13.2+

#

You can with older versions

#

targeting older versions, this has no difference during runtime

cold plover
#

[13:04:14 WARN]: [PlaceholderAPI] player is attempting to register placeholders via a PlaceholderHook class which is no longer supported!

#

how can i fix this?

shy kayak
shy kayak
#

With placeholder 2.10.9 you have to use PlaceHolderExpansion

#

And create an anonymous class

cold plover
#

oh ok

austere hawk
#

Hey, can I get some help? I'm trying to replace the %worldguard_region_name% with another words, but idk how

#

I mean like, if a player is in region Test1, but instead of test1 I need it to show RegionA

#

I tried with formatter but idk how

#

I tried this "%worldguard_region_name% %formatter_text_replace_%worldguard_region_name%_andrews-fashion_Store%"

austere hawk
#

is ther a place holder for essentials balance?

vivid sparrow
#

vault @austere hawk

smoky spoke
#

how to make a checkitem placeholder that checks if you have an enchanted book with efficiency 1, it will say yes

fickle tide
#

When i set arguments is it possible to set that i can use command without arguments without any permission and if i want to add argument i need a permission
I would do so regular players can use the /stats command
But the /stats (player) is only for VIP ranks
Is that in any way possible ?

quick sphinx
#

Formatter API breaks all other placeholders

#

any solutions?

true coyote
#

Hi,
I have issue with placeholder %player_ping_color%. Placeholder showing me always zero and its grey.

storm lantern
#

Hi I have a question about placeholderapi! Basically we use essenstials for our money system and we are trying to put the ballance amount on our scoreboard. We did this with the %player_name% but please let me know if you know how to show their balance!

versed iris
#

how to only get number of non staff players with placeholder ?

paper grail
#

Hello! I've successfully integrated with PlaceholderAPI and registered some placeholders of my own

#

However, when I run /papi parse me <custom placeholder> in-game, it returns not just the value I assigned it

#

but also the name of the placeholder?

paper grail
#

It's OK, I'm an idiot

#

I wasn't returning the value

#

so it actually wasn't updating the placeholder

distant relic
quick sphinx
#

"Formatter" Expansion breaks all other expansions, any solutions?

tender vaporBOT
#
Hey!

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

kind ledge
#

papi help

#

eCloud help

tender vaporBOT
#
FAQ Answer:
Β» Give the helpers some details
Β» Ask suitable questions
Β» Be polite
Β» Wait

Source

kind ledge
#

?help

tender vaporBOT
#
FAQ Answer:
Β» Give the helpers some details
Β» Ask suitable questions
Β» Be polite
Β» Wait

Source

quick sphinx
kind ledge
#

-server

#

-date

quick sphinx
#

@kind ledge

kind ledge
#

ohk

warm topaz
#

update ur java version

quick sphinx
#

oh yeah, there is a new verison isn't there

warm topaz
#

u should (really) be running java 16, as paper 1.17 will be requiring that in a few days when it releases

quick sphinx
#

true

#

also, few days?

warm topaz
#

1.17 releases june 8

quick sphinx
#

pog

tender vaporBOT
#
Hey!

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

quick sphinx
#

can I have a placeholder inside 2 placeholders?

#

like %{<placeholder>}%

#

what brackets would I need?

#

if possible

warm topaz
#

{} for inner placeholders yea, depending on if the placeholder supports it

quick sphinx
#

I want a placeholder inside of the {}

warm topaz
#

oh right, then nah

quick sphinx
#

😦

warm topaz
#

u could get around it by using a javascript placeholder tho

quick sphinx
#

Will formatter expansion allow me to make 1000000 into 1M?

warm topaz
#

i think so yea

quick sphinx
#

how to do?

distant sail
#

Is this the right place to ask for an eCloud account?

balmy marten
distant sail
tender vaporBOT
#
Hey!

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

torpid quiver
#

dose anyone know how i can get the bungeecord placholders to work?

#

like for server count?

torpid quiver
#

thx

tacit void
#

Hello, I am wondering if someone can help me. I use ApexHosting and they have tried to help me. I cant seem to get any placeholders to work. Mainly for Jobs Reborn (Latest version) I was wondering if someone would be able to help me. I input %jobsr_user_points% and that is all that comes up when I reload, and even restart the server. I have made sure that everything I have is compatible. Im using GUI Plus to create a GUI for jobs and use the placeholder so they can see their points. But nothing seems to work

errant iron
#

what does /papi parse me %jobsr_user_points% put in chat?

trim mist
#

Also for the record that is a premium plugin, they might have a support Discord for this kind of stuff. I've never heard of that plugin before.

#

I do see it claims to support PlaceholderAPI but they would know better.

#

But yeah follow what Star suggested too.

tacit void
#

It was a premium plugin, so premium I have to get verified... Bit of a pain haha! But oh well! I will give that a go now star and let you know how that goes. I just tried a standard vault placeholder and it worked. So Ill try this and see!

trim mist
#

No it's not one of our preium plugins so you don't need to verify anything.

#

I'm just saying typically premium plugins have their own support Discord.

tacit void
#

Ahh I understand! Sorry about that, yes you are right! I entered that command and the amount showed up in chat

#

Star you fixed it!

#

Absolute genius, thank you so much!!!

errant iron
#

Yeah so it's a problem with the premium plugin not displaying it correctly

tacit void
#

Ahh I see, well thats very good to know. I will do that if I ever have this issue again! Seriously thank you, Ive contacted so many people about this, and no one had a clue!

austere hawk
#

Anyone know what I did wrong? I downloaded all placeholders and did the stuff but it does not work

%math0:{server_online_Hungergames}+{server_online_Cove}+{server_online_Cove2}+{server_online_Cove3}%

I am trying to combine worlds player count and put it on a npc I did it to my other one but I removed and forgot that command but I know it worked

errant iron
#

it's %math_0: not %math0:

austere hawk
#

Ok thanks!

#

This? it didn't work

&b&lPlayers: %math_0:{server_online_Hungergames}+{server_online_Cove}+{server_online_Cove2}+{server_online_Cove3}%

errant iron
#

try /papi parse me %math_0:{server_online_Hungergames}+{server_online_Cove}+{server_online_Cove2}+{server_online_Cove3}%

#

see what it returns

austere hawk
#

ok

austere hawk
errant iron
#

it just says %math_0:{server_online_Hungergames}+{server_online_Cove}+{server_online_Cove2}+{server_online_Cove3}%?

austere hawk
#

yes

errant iron
#

/papi dump

#

and send it here

austere hawk
errant iron
#

now that is weird

#

try /papi parse me %server_online_Hungergames%

austere hawk
#

Ok

austere hawk
errant iron
#

okay /papi parse me %server_online_Cove%

austere hawk
#

0

errant iron
#

okay so it's something up with the math placeholder then hmmmmmm

austere hawk
#

what if it needs a update

errant iron
#

nope, you're up to date

austere hawk
#

oh

errant iron
#

try %math_{server_online_Hungergames}+{server_online_Cove}+{server_online_Cove2}+{server_online_Cove3}%

#

uh /papi parse me (that)

austere hawk
#

0.000

#

it says

errant iron
#

hmm okay one second

#

%math_0_{server_online_Hungergames}+{server_online_Cove}+{server_online_Cove2}+{server_online_Cove3}%

#

try that

austere hawk
errant iron
#

hmm I forget how to do the rounding, but at least it's technically right, right?

austere hawk
#

did you guys add decimals

errant iron
#

well I'm not sure why that's even a decimal since you can't have half of a player

austere hawk
#

when they are in the world it says 1.000

#

oh I changed the hungergame worlds to something else and changed it back now its at 0

#

instead of 0.000

#

I guess it works thanks

errant iron
#

oh excellent, im glad that worked!

#

maybe one of them wasn't correct and it was parsing as 0.00 instead of just 0

#

I think you can set the default, so maybe you can remove the .00 from the default options

quick sphinx
#

is there a expansion that allows you to make 1000 to 1k

thick monolith
#

Hello! I am currently attempting to integrate one of my plugins with PlaceholderAPI using Maven. I am running into this error:

Dependency 'me.clip:placeholderapi:2.10.9' not found

Have I imported the project incorrectly?

vivid sparrow
fervent spire
quick sphinx
fervent spire
quick sphinx
#

VotingPlugin Points

austere hawk
#
5:
  NAME: '&c&lDINERO'
  LORE:
    - '&2[Dinero]'
    - '&6$%vault_eco_balance%'
  MATERIAL: gold_block
  POSITION-X: 5
  POSITION-Y: 1
  KEEP-OPEN: True```

not work %vault_eco_balance%
finite bronze
#

/papi ecloud download Vault
/papi reload

#

PlaceholderAPI plugin

austere hawk
#

;_;

#

thanks

hollow axle
#

I'm having some issues in my timmings, one of then is this:
PlaceholderAPI::Task: de.tr7zw.nbtapi.utils.ApiMetricsLite$1$$Lambda$7677 (Single)
Can anybody tell what this is?

austere hawk
#

Is There Any Kind Of Papi Available Which Can Show Bedwars1058 Win Streak

warm topaz
austere hawk
#

Its Not For Win Streak

next sentinel
#

Unknown statistic 'mine_block_STONE'
Does anyone know how to fix this?

warm topaz
austere hawk
#

Let Me Show You How It Looks

#

Oh That Server Is Offline

#

Where I Can Show Images?

warm topaz
warm topaz
#

?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.
You can also use a screenshot service like gyazo or jinx and post those links here.

austere hawk
#

ok

warm topaz
#

Β―_(ツ)_/Β―

#

if its not listed on the placeholderapi github page, then check the plugins wiki

austere hawk
#

It Tell Something Page

#

IDK Where I Can Find It

finite bronze
unique leaf
#

is there a placeholder that lets you ping your own server form diffrent locations? so you know what the ping is?

agile aspen
#

Is there a way to make a place holder for how many tags you have unlocked for deluxe tags?. Like for example I have 5 out of 20 holiday tags, abd 20 out of 20 crate tags?

agile aspen
finite bronze
#

Yes

#

If you have 200 tags in total and you unlocked 36 it will say 36/200

vivid sparrow
#

@unique leaf pinger

jovial wing
#

Hey, I use Deluxemenus and I donΒ΄t know the placeholder for the executer. My plan was when a Player klicks a block he gets command executed from the console. Like:
- '[console] give %player% diamond'

And my question is what is the placeholder for the player ? πŸ˜…

warm topaz
#

?player

tender vaporBOT
#
FAQ Answer:

Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload

jovial wing
#

thx worked

crystal vine
#

hello %server_online% placeholder is showing vanished players too how can i fix?

warm topaz
#

what plugin is handling the vanishing?

crystal vine
wet basinBOT
#

@warm topaz Unknown expansion.

warm topaz
#

try %supervanish_playercount%

crystal vine
#

okayy

wicked minnow
#

i need help what is this? %javascript_rewards_delay_opendelay%

#

can enybody help fix it?

uncut trench
#

I think that is the javascript addon

crystal vine
ornate warren
#

plugin guilds file:tires

#

tiers:
# Should permissions carry over between tiers?
carry-over: true
list:
1:
# Which level tier is this? 1 is the default.
level: 1
# What is the name of this tier?
name: Bronze (how use Placeholders)

#

how use with plugin?

#

name: Bronze (how use Placeholders)

#

example

#

name: Bronze %guilds_name% ?

distant sail
waxen depot
#

Hi guys

#

After updating my plugins loaderboard doesn't work anymore

#

this is what happens

#

Does someone know what might be the cause of t his issue?

#

here's close up

crystal vine
tender vaporBOT
#
Hey!

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

crystal vine
#

sorry for da ping <3

fervent spire
crystal vine
#

someone heeelp

fervent spire
crystal vine
#

opne pastebin link

waxen depot
#

no it doesn't work

#

it just outputs: no expansions were registered!

#

but loaderboard is still not fixed

fervent spire
austere hawk
#

%skript_coins.player% what is wrong with this papi im have installed ecloud

austere hawk
#

help

austere hawk
#

help

austere hawk
#

its show this

#

not 0 or 10

#

its like shop

#

but in minecraft

flint nacelle
austere hawk
#

yes

split swift
#

For some reason %player_first_join_date% isn't giving the correct join date of the players, any idea why

lofty valve
#

is javascript-expansion going to be updated to work with java 15/16?

solar bison
rugged widget
solar bison
#

My mistake, I did not put the EssentialsX hahaha

scenic jay
#

papi parse Klayzx %statistic_time_played:hours%
[19:14:29 INFO]: 5
[19:14:34 INFO]: Klayzx lost connection: Disconnected
papi parse Klayzx %statistic_time_played:hours%
[19:14:36 INFO]:

#

Can someone help me? When I run papi parse being connected if it gives me the values, but when I am not connected it does not

sharp jay
#

It requires player to be online pretty sure

scenic jay
#

😦

austere hawk
#

Someone help

#

%skript_coins.player% what is wrong with this papi im have installed ecloud

#

it shows %skript_coins.TheCreper65% my nickname

exotic vale
#

Hello, are only verified PlaceholderAPI expansions available through the eCloud command?
The website shows 219 entries, but the ingame command only says that there are 185 expansions on the eCloud.

tender vaporBOT
#

Expansions with the blue shield (Verified) have been verified, meaning that they can be downloaded ingame via the command: /papi ecloud download

exotic vale
#

What are the requirements to get an expansion verified? Unfortunately I wasn't able to find informations about that on the linked wiki

lilac oxide
warm topaz
#

cc: @balmy marten ^

balmy marten
balmy marten
scarlet valve
#

Is thee a papi of how many players are multiple worlds combined

vivid sparrow
#

server_online

honest mantle
#

Hi, where do I submit my javascript expansion script?

turbid tide
#

then just PR

#

or open a issue

#

actually

honest mantle
#

oh, ok... the CommunityScripts wiki page said to come here to the Discord Server... thanks...

turbid tide
#

hmm. will update it I guess.

#

its just that here there's not always someone to check it out. there it will not get lost

honest mantle
#

oh ok, I understand... πŸ‘

austere hawk
#

[PlaceholderAPI] Loaded class ch.njol.skript.Skript from Skript v2.5.3 which is not a depend, softdepend or loadbefore of this plugin.
[17:29:22 WARN]: [PlaceholderAPI] skript is attempting to register placeholders via a PlaceholderHook class which is no longer supported!

#

what is that

scarlet valve
tender vaporBOT
#
Hey!

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

scarlet valve
#

Like
World A
World B
World C

I want to know how many are there in A and B combined

#

Without C

#

Pls @ me if you answer

turbid tide
trim mist
trim mist
exotic vale
scarlet valve
exotic vale
#

I doubt that the author is updating the original (currently verified) Skript expansion, as it hasn't been updated in the last 4 years. I kept it the same so anybody switching does not have to change all their configs

austere hawk
#

Hey, can someone help me with this ?

%math_0:_IF({parseother_{PLAYER_NAME}_{jobsr_user_jlevel_hunter}>=10,0,5)%

Without math, the placeholder is %parseother_{PLAYER_NAME}_{jobsr_user_jlevel_hunter}% (And It's working) {} for playername need to be here

When I parse the math placeholder, i have an error from parseother, said its "null", I imagine I need to put some { } somewhere but i dont find where

trim mist
#

I don't even think it would allow the loading of both. No matter what you'll have to change the identifier. Other than that I'll have to discuss with funnycube.

turbid tide
trim mist
#

Or you can try to get in touch with the old author and ask if you can take it over. If they tell us they are okay with it, you can keep the identifier the same and I'll retire the old one.

turbid tide
#

multiple people asked. he's not answering. so idk about updating the old one

trim mist
#

Ahh. I'll have to discuss that with @balmy marten then and we'll get back to you maybe tomorrow.

exotic vale
turbid tide
#

also

#

that math

#

won't even work

#

bcz you have a placeholder inside a placeholder inside a placeholder

#

and its also wrongly written. but idk why you're even using parse other?

#

here try this:

#

hmm nvm. what even were you trying to do here? I'm very confused