#placeholder-api

1 messages ยท Page 162 of 1

thorn thunder
#

Great!, could you test if your scripts are working fine?

mellow compass
#

error, sending log

thorn thunder
#

Alright

mellow compass
dry lake
#

How do I deelete a placeholder?

mellow compass
#

this part seems relevant
27.06 19:48:54 [Server] INFO Caused by: java.lang.UnsatisfiedLinkError: /tmp/quickjs-1.0.0/libquickjs.so: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /tmp/quickjs-1.0.0/libquickjs.so)

thorn thunder
#

That is quite weird, it seemed to have not required that library on other servers tested on.
Just so we can be sure, try the same after a restart* whenever possible and tag me with the results

thorn thunder
#

delete a placeholder?

buoyant pivot
#

@sharp jay placeholderapi support for 1.17 paper server?

tender vaporBOT
#
Hey!

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

buoyant pivot
#

Uh

sharp jay
#

It should

buoyant pivot
undone narwhal
thorn thunder
#

. This one

undone narwhal
#

yep, it does, thank you

thorn thunder
#

Great!

lean fable
#

I just swaped the world in server properties and my playtime counter reset. Does anyone know, where these statistics are saved? And whether its "transferable"?

small sage
#

The New java script engine provided isn't working for my placeholder

It throws this error
[11:12:23 WARN]: [PAPI] [Javascript-Expansion] Failed to set ScriptEngine for javascript placeholder: worldtag
[11:12:23 INFO]: [PAPI] [Javascript-Expansion] 0 script loaded!
[11:12:23 INFO]: [PAPI] [Javascript-Expansion] Java version: 16.0.1

trim mist
austere hawk
#

Wait so for papi 1.17 in #852317810394267708 do I download just the 1.17 papi plugin or the 1.17 and the two expansions for server and player

errant iron
#

If you use the server and player expansions, you need the 1.17 versions of those

austere hawk
#

K

#

Ty

austere hawk
#

I need help with fixing this

#

(1.17 paper server)

errant iron
#

Uh yeah we're gonna need the full stack trace

#

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

send that ^

#

@austere hawk first off, do not post in #showcase, second off put it into a paste

#

?paste

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
โ€ข HelpChat Paste - How To Use

austere hawk
errant iron
#

You uh... don't have Vault installed

austere hawk
#

I do

errant iron
#

That startup log does not show it being enabled

austere hawk
errant iron
#

You need the plugin called Vault

austere hawk
#

Oh

errant iron
#

That's why the expansion won't enable, it can't find the plugin it needs

austere hawk
#

Ty

tender vaporBOT
#
Hey!

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

tender vaporBOT
#
Hey!

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

silver belfry
#

Still having issues with JS Expansion

#

Plugin DeluxeMenus v1.13.3-Release generated an exception while executing task 9050
java.lang.UnsatisfiedLinkError: /tmp/quickjs-1.0.0/libquickjs.so: Error loading shared library libstdc++.so.6: No such file or directory (needed by /tmp/quickjs-1.0.0/libquickjs.so)```
trim mist
#

@thorn thunder ^

magic rock
#

Hi, how to return 1 instead of true and 0 instead of false in placeholder %pinger_isonline_ip:port%? (I want to use it in Math expansion)

dry lake
#

Hello, I am having this bug where it saying this in console and it is spamming it a lot.

[10:26:36 WARN]: [PlaceholderAPI] [Math] Cause: '{player' is not a valid number for precision!
[10:26:36 WARN]: [PlaceholderAPI] [Math] Invalid Placeholder detected!
[10:26:36 WARN]: [PlaceholderAPI] [Math] Placeholder: %math_{player_health}*5[precision```
#

@thorn thunder

dry lake
#

Can anyone help out?

turbid tide
#

%math_0_{player_health}*5%

#

its no longer [precision]

#

you probably have it in a hologram or something

#

and it spams every time its being accessed

mellow compass
#

@thorn thunder hey, i tested after a reboot like discussed yesterday, still crashing but from memory i think its a different error
https://pastebin.com/trdT8vPG

#

nvm same error, here is a part of the log i think is key

28.06 11:34:42 [Server] INFO Caused by: java.lang.UnsatisfiedLinkError: /tmp/quickjs-1.0.0/libquickjs.so: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /tmp/quickjs-1.0.0/libquickjs.so)
#

as always, thanks for your time

rough vector
#

Hello there, is it true that PlaceholderAPI doesnt support AConomy with vault anymore? I used it for a long time but now it stopped working :/
The Aconomy developer says its a bug in placeholderapi's code unfortunately

trim mist
#

We don't directly support any plugin. We are simply an API that other plugins hook into.

rough vector
#

Alright, so until they find a way to fix it it wont work?

turbid tide
#

and if there really is a bug, they can always contact. we were never noticed about anything like that

rough vector
#

alright! thanks for the reply ๐Ÿ™‚

#

One more question. My placeholder for vault economy doesnt get rounded to 2 commas anymore

#

when a small amount of money gets withdrawed by buying something for example it turns to up to 10 decimals

turbid tide
#

ugh. it never rounded down to just 2

rough vector
turbid tide
#

it was always like this. that's how vault works

#

it never rounded to 2 decimals unless it had just 2

#

or less

rough vector
#

Yes but how to get it so that it does always round?

#

because the economy plugins itself do that, just placeholderapi doesnt

turbid tide
#

ugh well you could get the fixed one, which has no decimals %vault_eco_balance_fixed%

#

or use javascript to round it yourself I guess

tender vaporBOT
#
Javascript
Useful Links & Information:

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

turbid tide
#

you can learn more about the second option here ^

turbid tide
rough vector
#

Oh okay, well I'll see what I can do then

reef sparrow
#

hi, how do i fix these fail to sets? i.e. [08:56:52 WARN]: [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder:

signal loom
#

how do I display a players xp with %%?

#

I tried %player_xp% but it didn't work

errant iron
#

Do you have the player expansion?

signal loom
#

yes

#

not sure why but it works when I do current exp

#

not reg xp

dry lake
tender vaporBOT
#
Hey!

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

turbid tide
stable pollen
#

I got this error any1 who could help?

trim mist
#

Looks like the plugin is trying to automatically download expansions and it's freaking out.

#

Not sure why it's automatically trying to do that. We used to do it in PlaceholderAPI over a year ago but we took it out because it was causing problems like this.

#

"the plugin" being TAB v2.9.1.

stable pollen
#

yes is there something I could do that?

trim mist
#

Ask the developer why it's doing that? It's probably trying to download the player expansion

#

So you can just do /papi ecloud download player and then /papi reload

#

Might fix it.

#

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

stable pollen
#

I told them bout this and they told me to come here :๐Ÿ˜†

trim mist
#

Yeah sorry not sure why they are sending you here, haha.

#

Try just running the commands I sent you, might fix it.

#

I have no idea what TAB is trying to do.

stable pollen
#

As you can see here it says that it is already downloaded

trim mist
#

Yup then you should be okay.

#

Try a full reboot maybe?

stable pollen
#

I am doing this atm

rough vector
#

Im using tab 2.9.1 as well. works fine with latest papi version for me on 1.16.5. I do have the server and player expension

#

so perhaps its a setting you can change that's causing this that I turned off (or you turned on)

stable pollen
#

the issue is there I will try and remove the expansion

#

reboot and add it again!

#

The issue comes back after you restart again

#

I deleted the expansions

#

restarted and the issue was gone After that i restarted again and it came back!

trim mist
#

Yeah it's going to keep coming back because it's doing it on startup. Frank did you say it was a config option to turn it off?

stable pollen
#

Cant see anything

trim mist
#

This is really weird... I'm looking through the code of TAB and it looks like it attempts to parse all the placeholders in your scoreboard or whatever on startup and any that fails, it tries to download them from the eCloud... which is not usually how a plugin should handle stuff.

#

The bottom line here is that TAB is automatically trying to download them and PlaceholderAPI is not liking what it's doing.

#

Your fix is to look through your scoreboards for all the PAPI placeholders you have and then make sure you have the expansion installed for all of them.

#

Then and only then does it look like it won't attempt to download more expansions automatically.

stable pollen
#

Where can I find the lates papi version?

trim mist
stable pollen
#

thats the one I am using!

trim mist
#

Awesome! ๐Ÿ˜„

#

It looks like TAB has a debug mode too btw. If you turn it on, it should tell you all the expansions it's going to try to download.

stable pollen
#

I will reinstall both plugisn and I will dete papi folder

trim mist
#

If that's what you decide, okay.

stable pollen
#

Well i have no idea

blazing inlet
trim mist
#

@thorn thunder ^

arctic zealot
#

i have tried. it works fine but it seems like the variable is updating a little late.

rough vector
#

One more question, is there any way to have unicode characters as placeholder? so that it replaces the standard \u0600 to the icon for example?

tidal canyon
#

Is there a way to list all placeholders registered by a plugin? I see the plugin listed when I type /papi list, but looking to see if you can list all possible placeholders from it

turbid tide
#

think its /papi info <expansion>

tidal canyon
blazing inlet
trim mist
#

Unsure about the J2V8 one, fairly sure we're phasing that out as it didn't work as expected. Our current attempt is QJS.

thorn thunder
arctic zealot
#

Yugi, is js expansion plugin completely finished so it can be used?

pure wraith
#

how do you install the expansion? What plugins do I need?

warm topaz
#

what expansion

pure wraith
warm topaz
#

placing the jar inside of the plugins/PlaceholderAPI/expansions folder should be enough

dry lake
tender vaporBOT
#
Hey!

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

pure wraith
#

it worked thanks

latent cargo
#

Where is papi server getting %server_name% from?

vivid sparrow
dry lake
#

How do I fix this??

[18:10:01 WARN]: [PlaceholderAPI] [Math] Placeholder: %math_{player_health}*5%
[18:10:01 WARN]: [PlaceholderAPI] [Math] Cause: '{player' is not a valid number for precision!
[18:10:01 WARN]: [PlaceholderAPI] [Math] Invalid Placeholder detected!
[18:10:01 WARN]: [PlaceholderAPI] [Math] Placeholder: %math_0_{player_health}*5%
[18:10:01 WARN]: [PlaceholderAPI] [Math] Cause: '{player_health}*5' is not a valid Math-Expression.
[18:10:01 WARN]: [PlaceholderAPI] [Math] Invalid Placeholder detected!```
#

its been spamming my chat for like 2 days now

latent cargo
#

ty ๐Ÿ˜„

vivid sparrow
#

ah

#

there's a new format

#

so it will be %math_0:_{player_health}*5%

latent cargo
vivid sparrow
#

papi reload

latent cargo
#

done..

#

i think it's because im missing ' though

#

yes i was haha

scarlet valve
#

Is there any speed per sec plachlder

Pls dony say speedpersec

thorn thunder
arctic zealot
#

okay, thanks for information

thorn thunder
scarlet valve
#

Is there a right click cps placeholder?

#

Blitz always had answer but he is offline sadly

blazing inlet
dry lake
tender vaporBOT
#
Hey!

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

dry lake
#

change*

dry lake
tender vaporBOT
#
Hey!

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

raw yacht
#

I have the latest version of placeholder-api installed, what else do i need to install for the placeholders to work correctly?

scarlet valve
#

Expansions

raw yacht
#

Where can i find that?

mellow compass
#

in case you simply missed it

#

This is using QJS and with a full reboot. I'm using ApexHosting, like another person above which had issues

#

also i dont get anything relevant during startup, just like the other user

opaque ginkgo
#

/papi reload doesnt work and neither do some placeholders @thorn thunder

thorn thunder
proper acorn
#

Anyone here great at using the javascript expansion from papi and has a bit of time to help me?

thorn thunder
#

Sure

#

Whats up?

proper acorn
#

I'm trying a script but get some errors

thorn thunder
#

What is the error?

proper acorn
#

This is my script


const redis = require("redis");

const redisClient = new redis.RedisClient({host: '', port: '', password: '', auth_pass: ''})

async function getProxies(){
    redisClient.hgetall('heartbeats', async function(err, result){
        let playerCount = 0;
        for(let proxy in result){
            let proxyName = "proxy:"+proxy+":usersOnline";
            await redisClient.multi().smembers(proxyName).keys("*").dbsize().exec(function(err, replies){
                playerCount += replies[0].length;
                console.log(`${replies[0].length} spelers via ${proxy}`);
                })
            }
        await wait(2000);
        return playerCount;
    })
}```
#

This is the error [11:01:33 ERROR]: [PAPI] [Javascript-Expansion] An error occurred while executing the script 'playercount': <eval>:1:0 Expected an operand but found const const wait = require("util").promisify(setTimeout); ^ in <eval> at line number 1 at column number 0

#

I'm trying to get a number from my redis database to get that into a placeholder

proper acorn
thorn thunder
#

You are on the old js-expansion correct?

#

It doesnt currently suppourt the const keyword, thats part of ES-6

#

Try with var

proper acorn
#

Alright

#

A new error occured [11:12:26 ERROR]: [PAPI] [Javascript-Expansion] An error occurred while executing the script 'playercount': <eval>:7:6 Expected ; but found function async function getProxies(){ ^ in <eval> at line number 7 at column number 6

turbid tide
#

and tell me what it says?

turbid tide
vivid sparrow
#

Well not really

turbid tide
#

ugh?

vivid sparrow
#

It is because the script is put on a single line by papi

turbid tide
#

did he send the code somewhere?

proper acorn
vivid sparrow
#

put semicolons at the end of definitions

turbid tide
#

const redisClient = new redis.RedisClient({host: '', port: '', password: '', auth_pass: ''})

#

I assume at the end

#

there

vivid sparrow
#

Semicolons are optional in js, blitz

turbid tide
#

ugh

#

then idk

proper acorn
#

I did

turbid tide
#

I wasn't here for the whole thing xD

proper acorn
#

but same error

vivid sparrow
#

But they need one there

proper acorn
turbid tide
#

ask gaby. seems to know more than me xD

#

same error btw?

proper acorn
#

yes

#

Gaby can you help me further?

vivid sparrow
#

Cant be the same error if you have added the semicolon

proper acorn
#
async function getProxies(){
^ in <eval> at line number 7 at column number 6```
#

I did /papi reload

vivid sparrow
#

What if you remove the async?

proper acorn
#
redisClient.hgetall('heartbeats', async function(err, result){
^ in <eval> at line number 8 at column number 44```
proper acorn
vivid sparrow
#

It probably doesnt know what async is

proper acorn
#

I think so

thorn thunder
#

async await is part of ES8

#

Not available in old js-expansion

vivid sparrow
#

F

proper acorn
#

Can i use the new js-expansion by any change then?

vivid sparrow
#

Long-story-short dont use js

thorn thunder
#

You can use the new one but it doesnt work on a few specific devices

#

Depends on availability of glib

proper acorn
thorn thunder
#

You need atleast a certain version of gcc installed on linux which different versions of linux may have other versions installed

#

so as long as you have that specific library from that version of gcc it works

#

Which is why this version is still in early stage

#

Ill probably switch it out for nashorn, this is getting to be too much of a hassle for a few ms

proper acorn
#

i'm using nashorn as engine

thorn thunder
#

This also means if we do switch back to nashorn, you still wont get these features

thorn thunder
#

nashorn implements ES5 with partial suppourt for ES6 and ES7 here and there

#

QuickJS suppourts ES11 but... issues as mentioned earlier

proper acorn
#

So there is no way i would get this script tot work?

austere hawk
#

Hi
Is there an option to create compounded placeholders?
For example I wrote a region selling plugin and want to create this placeholder:
%regionplaceholder_world_regionId_price%

Now of course someone could just use the placeholder with %regionplaceholder_testworld_testregion_price%
But can I somehow create the placeholder name from other placeholders? For example %regionplaceholder_(%player_world%)_(%arm_regionfromlocation%)_price% and let PAPI replace the placeholders %player_world% and %arm_regionfromlocation% before evaluating the "big" placeholder?

thorn thunder
vivid sparrow
#

Yugi, cant we have a different version for each gcc version?

thorn thunder
#

different version of what gab?

vivid sparrow
#

Js expansion

#

So those that have the latest linux or whatever can use ES11

thorn thunder
#

Like with different engines?

vivid sparrow
#

Just like with the mc versions

#

If you stay on 1.8 cant use hex colors

#

@austere hawk use {} for placeholders inside other placeholders

thorn thunder
#

That could work, but wont that be harder to provide support for with different people working on different engines and implementation limits?

austere hawk
#

@vivid sparrow Thanks ^^

thorn thunder
#

maybe just a warning before switching to nashorn

#

Not really sure

vivid sparrow
#

Can we add a command to papi js to check the gcc version and output what ES version they can use?

thorn thunder
#

yes

vivid sparrow
#

I would personally not mind having multiple js jars / implementations

#

But idk how hard that would be to achieve

thorn thunder
#

Pretty simple

#

Lets ask piggy and glare tho

vivid sparrow
#

Does it even have to be multiple jars?

thorn thunder
#

Nope

#

can be in the same one

vivid sparrow
#

Even better

vivid sparrow
thorn thunder
tender vaporBOT
#
Hey!

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

thorn thunder
#

Thanks barry

vivid sparrow
#

Does this gcc thing have to be installed on the OS? Is not possible to package it on the js expansion or whatever?

proper acorn
thorn thunder
vivid sparrow
#

Ic

thorn thunder
vivid sparrow
#

English Yugi

proper acorn
#

It's a long time ago that i used javascript

thorn thunder
#

There are multiple implementations of javascript

vivid sparrow
#

Search how to do async requests on ES5

thorn thunder
#

The version that nashorn implements is the 2016 standard

#

You are using features from 2018 and such, which wont work

proper acorn
#

Thanks

#

I will ask one of my friends to help

#

I completely forgot it

#

haha

#

Don't think you guys will reprogram it to es5...

carmine veldt
#

hello

turbid tide
#

hello

carmine veldt
#

@thorn thunder what's wrong with qjs

thorn thunder
#

It still seems to have the glib issue, just on lesser devices

carmine veldt
#

great

#

well then yea ig putting multiple engines in the expansion isn't a bad idea

#

in the meantime I might try downgrade javet to v8 8

#

if that's worthwhile

thorn thunder
fresh ore
#

is there a way to get redis players from redis bungee

stable pollen
#

๐Ÿคฎ

#

I tried finding the last ticket and could not find it

thorn thunder
#

You should probably talk this out in DMs instead

turbid tide
#

o

proper acorn
#

So i found a fix for my problem @vivid sparrow

tender vaporBOT
#
Hey!

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

proper acorn
#

I was using javascript because the redisbungee placeholders don't work anymore

#

Now they tried to get the newest placeholders pushed to papi but it got ignored.

#

I think that it is a great idea to let them update redisbungee expansion

trim mist
#

I will read over it sometime on a work break today if no one else has yet. We didn't ignore it, we've just been really busy elsewhere.

proper acorn
#

Awesome!

dry lake
tender vaporBOT
#
Hey!

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

turbid tide
#

idk what thaty means... it should return an output

dry lake
#
[09:20:14 WARN]: [PlaceholderAPI] [Math] Placeholder: %math_0_{player_health}*5%
[09:20:14 WARN]: [PlaceholderAPI] [Math] Cause: '{player_health}*5' is not a valid Math-Expression.
[09:20:14 WARN]: [PlaceholderAPI] [Math] Invalid Placeholder detected!
[09:20:14 WARN]: [PlaceholderAPI] [Math] Placeholder: %math_{player_health}*5[precision:0]%
[09:20:14 WARN]: [PlaceholderAPI] [Math] Cause: '{player' is not a valid number for precision!
[09:20:14 WARN]: [PlaceholderAPI] [Math] Invalid Placeholder detected!
[09:20:14 WARN]: [PlaceholderAPI] [Math] Placeholder: %math_{player_health}*5%
[09:20:14 WARN]: [PlaceholderAPI] [Math] Cause: '{player' is not a valid number for precision!
[09:20:14 WARN]: [PlaceholderAPI] [Math] Invalid Placeholder detected!
[09:20:14 WARN]: [PlaceholderAPI] [Math] Placeholder: %math_0_{player_health}*5%
[09:20:14 WARN]: [PlaceholderAPI] [Math] Cause: '{player_health}*5' is not a valid Math-Expression.
[09:20:14 WARN]: [PlaceholderAPI] [Math] Invalid Placeholder detected!
[09:20:14 WARN]: [PlaceholderAPI] [Math] Placeholder: %math_{player_health}*5[precision:0]%```
#

What does this mean!!

turbid tide
#

would you please just tell me what I've asked?

#

and once again

#

its invalid because of [precision:0]

#

and probably because you don't have the player expansion

dry lake
#

How do I fix that

turbid tide
#

first of all /papi ecloud download Player then /papi reload then change every %math_{player_health}*5[precision:0]% to %math_0:_{player_health}*5%

dry lake
#

the thing is i dont know where to find where i cna change it

turbid tide
#

where you've used it...

#

I've got no idea where you've used it.. menus, holograms, scoreboards etc

dry lake
#

i did this command

#

and it was for tab

#

/tab group _OTHER_ belowname %math_{player_health}*5[precision:0]% &cHP

turbid tide
#

well then change it

#

it should be in plugins/tab/config.yml

junior musk
#

you can either change it by doing the same command with the placeholder Blitz told you or by editing the belowname in your _OTHER_ section of your Groups section in your TAB config

flint nacelle
dry lake
warm topaz
#

use the same download command again
papi ecloud download math
papi reload

dry lake
tender vaporBOT
#
Hey!

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

warm topaz
#

in newer versions of math, precision is replaced with %math_0_{blah} <- 0 being the precision here

dry lake
#
    tabsuffix: '%afk%'
    tagsuffix: '%afk%'
    customtabname: '%essentialsnick%'
    customtagname: '%essentialsnick%'
    belowname: '%math_0_{player_health}*5% &cHP'``` so is this correct?
warm topaz
#

try and see

dry lake
#

Bruh its still spamming chat

#

Whenever I try to remove the placeholder itself it just adds itself again..

austere hawk
#

@balmy marten Since I can't write you private messages and I can't add you as a friend. I am writing you here. Can you create me an account for the eCloud?

tender vaporBOT
#
Hey!

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

austere hawk
#

I have another question regarding palceholder compounding
I made 3 placeholders

%arm_regioncount_sold_regionkind_<Some-regionkind-name-here>% <-- displays the number of sold regions that belong to a specific regionkind
%arm_regionplaceholder_world_<Some-regionId-here>_regionkind% <-- replaces a massage with the plugininternal placeholders that belong to a region. In this case the corresponding regionkind name
%arm_regionid% <-- Displays regionId at the location of the player

I want to compound these placeholders together so the placeholder shows me the number of sold regions that belong to the same regionkind that the region belongs to that I'm currently standing in.
The resulting placeholder would be:

%arm_regioncount_sold_regionkind_{arm_regionplaceholder_world_{arm_regionid}_regionkind}%

I use the method

identifier = PlaceholderAPI.setBracketPlaceholders(offlinePlayer, identifier);

to replace placeholders in placeholders. The problem is that if PAPI always tries to evaluate the internal placeholders it begins it's evaluation process at the first closing bracket, which results in an invalid result.
This is what PAPI tries to evaluate first: arm_regionplaceholder_world_{arm_regionid
This is what should be evaluated fist: arm_regionplaceholder_world_{arm_regionid}_regionkind

Am I using the wrong method to replace the internal internal placeholders?

junior musk
#

it's the right method, it's just the way it works

turbid tide
#

^^ u can't have placeholders in placeholders in placeholders. Actually some do it using <> but with their own regex and stuff like that

mellow urchin
#

Is there a dev ver of Papi for 1.17?

mellow urchin
#

Oh, yeah, sorry. I tried that one, was wondering if there was a dev build server around we cna monitor.

#

Wait

#

No, I think it is the expansion

#

Nope

#

I will try get erroe

turbid tide
#

oh so server expansion

#

just /papi ecloud download Server then /papi reload

#

latest one from ecloud works on 1.17

mellow urchin
#

Oh realy!

#

Shall I remove the engine from support?

turbid tide
#

what engine?

mellow urchin
#

JS expansion update

austere hawk
#

Hmm ok then this are the limitations ๐Ÿคทโ€โ™‚๏ธ

mellow urchin
turbid tide
#

oh yeah the javascript expansion does not work on 1.17 yet. there's development builds rolling out in #852317810394267708 but there is no stable one yet

mellow urchin
#

YEah, invalid plugin.yml?

quartz hull
#

Is there a placeholder that can calculate 20% of the players balance?

turbid tide
turbid tide
#

its supposed to go in plugins/PlaceholderAPI/expansions

trim mist
#

Can the Math expansion not handle that? I've never used it.

turbid tide
#

well he probably doesn't have a way to calculate the total

trim mist
#

Ahh

quartz hull
turbid tide
#

yeah. but those don't give the total

#

per server

#

you'd have to somehow add the amount for each player up

#

which is not possible

quartz hull
#

Oh

#

is there any other way?

turbid tide
#

well as I said, most if not all economy plugins offer 0 way of knowing the total balance

#

so not really

#

you can't calculate a percentage of something if you don't know what that something is

quartz hull
#

I am trying to do it in a GUI. It fills %player% with the player name. %vault_eco_balance% also works in the GUI so the GUI plugin is pulling from the player

turbid tide
#

yeah but you want to know the percent of the total server economy

quartz hull
#

No

trim mist
#

Actually.

quartz hull
#

I just want to know 20% of the player's balance

turbid tide
#

ohh you said players but meant to say player's xD my bad

#

yeah

#

that's totally possible

trim mist
#

When EssentialsX releases 2.19.0, they have a method to return the total of all balances.

turbid tide
#

its on 2.18.x now isn't it?

quartz hull
trim mist
#

Ya

turbid tide
#

is 2 alr?

quartz hull
#

Yes

turbid tide
#

%math_2:_({vault_eco_balance_fixed}*20)/100%

#

think I got the math right xD

quartz hull
#

Let me try that

turbid tide
#

the 2: is the number of decimals

#

you can set it to 0

#

if you don't want any

#

or 1

#

3, etc

quartz hull
#

It worked! Thanks

hard kernel
#

Hey! I'm trying to make a placeholder that counts the time until 9:45 PM each day via this placeholder %server_countdown_<SimpleDateFormat>_<time>% can someone help me out?

tender vaporBOT
#
Hey!

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

sage bobcat
#

Hey all ๐Ÿ‘‹ Just testing out 2.10.10DEV from #852317810394267708 and am getting this error, was getting it previously with 2.10.9 as well. Looks like our Tablist plugin is trying to call the ping and is producing the warning message as it can't get it. Using Paper 1.17 #63
Any ideas?

#
29.06 22:27:18 [Server] WARN java.lang.NoSuchFieldException: ping
29.06 22:27:18 [Server] WARN at java.base/java.lang.Class.getDeclaredField(Class.java:2549)
29.06 22:27:18 [Server] WARN at com.extendedclip.papi.expansion.player.PlayerUtil.getPing(PlayerUtil.java:49)
29.06 22:27:18 [Server] WARN at com.extendedclip.papi.expansion.player.PlayerExpansion.onRequest(PlayerExpansion.java:272)
29.06 22:27:18 [Server] WARN at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:160)
29.06 22:27:18 [Server] WARN at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:70)
29.06 22:27:18 [Server] WARN at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:98)
29.06 22:27:18 [Server] WARN at hu.montlikadani.tablist.bukkit.utils.Variables.setPlaceholders(Variables.java:209)
29.06 22:27:18 [Server] WARN at hu.montlikadani.tablist.bukkit.utils.Variables.replaceVariables(Variables.java:127)
29.06 22:27:18 [Server] WARN at hu.montlikadani.tablist.bukkit.tablist.TabHandler.sendTab(TabHandler.java:223)
29.06 22:27:18 [Server] WARN at hu.montlikadani.tablist.bukkit.tablist.TabManager.lambda$addPlayer$0(TabManager.java:58)
29.06 22:27:18 [Server] WARN at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100)
29.06 22:27:18 [Server] WARN at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54)
29.06 22:27:18 [Server] WARN at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
29.06 22:27:18 [Server] WARN at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
29.06 22:27:18 [Server] WARN at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
29.06 22:27:18 [Server] WARN at java.base/java.lang.Thread.run(Thread.java:831)
#

This is the tablist config, was working on 1.16 but has anything changed for 1.17?

footer:
- "%server_tps_1_colored%&7tps&r - %player_colored_ping%&7ms"
trim mist
#

Update your player expansion.

sage bobcat
#

Ah, another admin on our server must have set that up before, I'm still getting my head around how everything works. Will do some digging

trim mist
#

/papi ecloud download player

#

/papi reload

sage bobcat
#

Perfect thank you! Just tracked down the jar downloads as well

#

Everything is working great, thanks for your help :)

trim mist
#

๐Ÿ‘

near inlet
#

im getting this error with papi

errant iron
#

Did you use PlugMan or something?

#

Oh and are you using the new 1.17 version of PAPI

balmy marten
#

DM me a username and email you'd like

near inlet
errant iron
#

Have you tried restarting your server?

#

It seems that one of the libraries is messed up a little

#

And if it still doesn't work, send a startup log

#

?startuplog

tender vaporBOT
#
FAQ Answer:

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

trim mist
#

Killian it's a known issue. It's from json commands.

#

Waiting on a 3rd party dev.

errant iron
#

Can you not just fix JSONMessage.java?

#

looks like it's around there

#

Oh it's literally getting fixed tomorrow

near inlet
#

oh ok good, cool

warm bobcat
#

Just added a bunch of extensions to PAPI and now it's throwing an exception on startup. Any ideas as to which one it is? (Server is Paper 1.16.5)
https://pastebin.com/aMkD8R6M

trim mist
#

ConfigExpansion

warm bobcat
#

LoL, I totally missed that in the 1st line, I see it now. TYVM

tender vaporBOT
#
Hey!

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

trim mist
#

Just left a review.

magic rock
#

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

magic rock
#

/papi ecloud download player

#

/papi reload

#

You need to download extension

#

btw instead of your long name you can use me (papi parse me %placeholder%)

calm copper
#

Is anyone having issues with Unicode characters with the Dev builds of the Javascript expansion?

thorn thunder
#

Are you having any such issues?

calm copper
#

I am yes. I just upgraded to Java 16 Development kit, and upgraded my JS Expansion to the latest dev build

thorn thunder
#

Could you give me an example of what is going wrong?

calm copper
#

On previous versions, all these emojis functioned properly. โ™š; โ™; โ™ž; \โญ

#

Now they are replaced with Latin characters, or ? characters.

#

Or various alt codes.

thorn thunder
#

Ah, alrighty, noted. Ill have that fixed. thanks for reporting

calm copper
#

No problem, I'll disable them for now and look forward to the fix. Thank you!

thorn thunder
#

yw

calm copper
#
var ranks = {
    king: "&aโ™š",
    mayor: "&aโ™š",
    assistant: "&aโ™",
    helper: "&aโ™ž",
    sheriff: "&aโญ",
    "": ""
}

var type = args[0].split('_')[0]

function townRank() {
    if (type === "town") return ranks["%javascript_rankParse_town%"];
    if (type === "nation") return ranks["%javascript_rankParse_nation%"];
}
townRank();

Here was my code, ES5 on Nashorn. Input would look like %javascript_rank_town%, and use the rankParse placeholder to sort which rank they had was the highest priority (since towny doesn't sort them by default)

magic rock
#

So you want to use PlotSquared placeholders, but they are not working? What version of PS are you using?

#

isnt there some option to enable it in one of PS configuration files? (did you buy the plugin?) What placeholder isnt working?

#

mhm, and you are trying to papi parse, not use it in captions, flags, etc., right?

#

idk then, sorry (check that ps & papi are up to date)

solar scroll
#

Hello, i need help please, i have an error in my server console

#
>.... [18:21:42 WARN]: at me.neznamy.tab.shared.features.PlaceholderManager.access$200(PlaceholderManager.java:35)
>.... [18:21:42 WARN]: at me.neznamy.tab.shared.features.PlaceholderManager$1.run(PlaceholderManager.java:83)
>.... [18:21:42 WARN]: at me.neznamy.tab.shared.cpu.CPUManager$4.run(CPUManager.java:166)
>.... [18:21:42 WARN]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
>.... [18:21:42 WARN]: at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
>.... [18:21:42 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
>.... [18:21:42 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
>.... [18:21:42 WARN]: at java.base/java.lang.Thread.run(Thread.java:831)
>.... [18:21:42 WARN]: java.lang.NoSuchFieldException: ping
>.... [18:21:42 WARN]: at java.base/java.lang.Class.getDeclaredField(Class.java:2549)
>.... [18:21:42 WARN]: at com.extendedclip.papi.expansion.player.PlayerUtil$1.cacheReflection(PlayerUtil.java:88)
>.... [18:21:42 WARN]: at com.extendedclip.papi.expansion.player.PlayerUtil$1.apply(PlayerUtil.java:61)
>.... [18:21:42 WARN]: at com.extendedclip.papi.expansion.player.PlayerUtil$1.apply(PlayerUtil.java:49)
>.... [18:21:42 WARN]: at com.extendedclip.papi.expansion.player.PlayerUtil.getPing(PlayerUtil.java:95)
>.... [18:21:42 WARN]: at com.extendedclip.papi.expansion.player.PlayerExpansion.retrievePing(PlayerExpansion.java:345)
>.... [18:21:42 WARN]: at com.extendedclip.papi.expansion.player.PlayerExpansion.onRequest(PlayerExpansion.java:296)
>.... [18:21:42 WARN]: at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:156)
>.... [18:21:42 WARN]: at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:69)
>.... [18:21:42 WARN]: at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:97)
>.... [18:21:42 WARN]: at me.neznamy.tab.platforms.bukkit.BukkitPlatform.setPlaceholders(BukkitPlatform.java:245)
>.... [18:21:42 WARN]: at me.neznamy.tab.platforms.bukkit.BukkitPlatform$2.get(BukkitPlatform.java:210)
>.... [18:21:42 WARN]: at me.neznamy.tab.shared.placeholders.PlayerPlaceholder.update(PlayerPlaceholder.java:36)
>.... [18:21:42 WARN]: at me.neznamy.tab.shared.placeholders.PlayerPlaceholder.getLastValue(PlayerPlaceholder.java:59)
trim mist
#

Update your player expansion.

solar scroll
#

How i can update this expansion ? Just : /papi ecloud download Player ?

trim mist
#

Yes and then the reload command.

mossy sleet
#

I got this warning and I have no idea what is causing it

#
[18:43:58 WARN]: [PlaceholderAPI] Task #1388 for PlaceholderAPI v2.10.9 generated an exception
java.lang.NullPointerException: null
        at me.gabytm.placeholderapi.config.ConfigExpansion.register(ConfigExpansion.java:56) ~[?:?]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:139) ~[?:?]
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ~[?:?]
        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) ~[?:?]
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
        at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:257) ~[?:?]
        at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:248) ~[?:?]
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
        at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:605) ~[?:?]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$2(LocalExpansionManager.java:288) ~[?:?]
        at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46) ~[?:?]
        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.5.jar:git-Paper-517]
        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.5.jar:git-Paper-517]
        at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:950) ~[patched_1.16.5.jar:git-Paper-517]
        at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:175) ~[patched_1.16.5.jar:git-Paper-517]
        at java.lang.Thread.run(Thread.java:834) [?:?]```
#

Please ping me if you can help me

trim mist
#

ConfigExpansion.

mossy sleet
trim mist
#

It's coming from an expansion literally called ConfigExpansion.

mossy sleet
#

I can't send a screenshot REEE

tender vaporBOT
#
Uploading Images

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

mossy sleet
#

That is the same as imgur
But I can't use imgur because it won't send me a sms

dense zinc
#

hey i need help for my dscord on windows

#

@everyone who can help me ?

vast phoenix
#

elloooo is there a full complete list of placeholders other than https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders where I can look for collisions?

My placeholders sort of got out of hand, length wise, and now someone wants to put them on signs so I am looking into also offering abbreviated placeholders with the prefix "sps_" - will I get banned or something for doing that? ๐Ÿ˜„ I made sure to only offer one placeholder prefix per plugin >instance< is that okay?

currently I am generally using the not documented "slipcorpvpstats_" with a ton of appendages which is kinda tedious - and not sign compatible ๐Ÿ˜›

honest mantle
#

Hi, some expansions are not working like Grief Prevention and Vault, in console I get this error in boot sequence:

[22:21:54 INFO]: [PlaceholderAPI] [Config Expansion] Loading the configs ...
[22:21:54 WARN]: [PlaceholderAPI] Task #4235 for PlaceholderAPI v2.10.10-DEV-null generated an exception
java.lang.NullPointerException: null
        at me.gabytm.placeholderapi.config.ConfigExpansion.register(ConfigExpansion.java:56) ~[?:?]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:156) ~[?:?]
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ~[?:?]
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) ~[?:?]
        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) ~[?:?]
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
        at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:257) ~[?:?]
        at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:248) ~[?:?]
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
        at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:605) ~[?:?]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$1(LocalExpansionManager.java:307) ~[?:?]
        at me.clip.placeholderapi.util.Futures.lambda$onMainThread$0(Futures.java:46) ~[?:?]
        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.16.5.jar:git-Airplane-2]
        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.5.jar:git-Airplane-2]
        at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1083) ~[patched_1.16.5.jar:git-Airplane-2]
        at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:293) ~[patched_1.16.5.jar:git-Airplane-2]
        at java.lang.Thread.run(Thread.java:834) [?:?]
#

I just tried to register the expansion that didn't register with /papi register, and were registered correctly... so maybe the Config Expansion error is not letting some expansion register...

toxic wolf
#

Hello i have an error when i start my server :

org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
        at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:178) ~[patched_1.17.jar:git-Paper-53]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:160) ~[patched_1.17.jar:git-Paper-53]
        at org.bukkit.craftbukkit.v1_17_R1.CraftServer.loadPlugins(CraftServer.java:393) ~[patched_1.17.jar:git-Paper-53]
        at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:275) ~[patched_1.17.jar:git-Paper-53]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1118) ~[patched_1.17.jar:git-Paper-53]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[patched_1.17.jar:git-Paper-53]
        at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
        ... 7 more
[22:57:28 ERROR]: Could not load 'plugins/PAPI-Expansion-Player.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
        at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:178) ~[patched_1.17.jar:git-Paper-53]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:160) ~[patched_1.17.jar:git-Paper-53]
        at org.bukkit.craftbukkit.v1_17_R1.CraftServer.loadPlugins(CraftServer.java:393) ~[patched_1.17.jar:git-Paper-53]
        at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:275) ~[patched_1.17.jar:git-Paper-53]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1118) ~[patched_1.17.jar:git-Paper-53]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[patched_1.17.jar:git-Paper-53]
        at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
        ... 7 more```
trim mist
#

They aren't plugins. They go in plugins/PlaceholderAPI/expansions/

toxic wolf
#

ohh okay

bronze nest
#

there are any update for 1.17 of placeholder?

warm topaz
hard basalt
#

what is the alternative for nashorn in java 16 ? and how to use it

compact swallow
#

If I need to return a placeholder with no content (like if no player context is passed), what would be the preferred thing to return? Just an empty string?

compact swallow
#

How can I unregister an expansion?

honest mantle
compact swallow
#

what

#

unregister

#

like on disable of the plugin

honest mantle
#

oh... for some reason I read "register"... sorry xd

#

well in that case just delete the extension file and reload the plugin...

#

well, it's /papi unregister [Expansion]

compact swallow
#

I'm talking about the API

#

Not the plugin PlaceholderAPI

#

I'm writing a plugin

honest mantle
#

oh... ok...

tall saddle
#

is there anyway to add a placeholder to a item's lore?

mighty drift
#

how to make it possible to transfer to another server bungee

#

?

coral schooner
#

Hello, I can install this plugin on my paper servers to make the placeholders work on a bungeecord plugin right?

turbid tide
crude estuary
#

Does Placeholder is it support 1.17 right now?

turbid tide
tender vaporBOT
crude estuary
#

Okay,Thx

turbid tide
turbid tide
turbid tide
#

and also just make the expansion into your plugin so it automatically unregisters when the plugin stops

turbid tide
coral schooner
turbid tide
turbid tide
#

you can basically send messages from spigot server to bungee and the other way around

#

so you can request a placeholder from bungee, you parse it in spigot and give it back to bungee

#

you can check the TAB plugin as well and see how they do it

clear dust
#

any one experienced in converting old .JS to the new stuff its having a fit about my placeholder.

thorn thunder
#

Whats the issue?

hidden grail
#

Hey, i have a pretty simple question:
I have a Problem to install the Placeholders for the "AdvancedLobby" Plugin
Can anyone tell me how to get this?
(I checked the ecloud and did not find something)

turbid tide
#

what does %mmocore_class% return?

hidden grail
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.

turbid tide
#

use imgur and send it here ^^^

#

can you do /papi parse me %mmocore_class% and see what it says?

#

ok and what are you trying to do with this?

hidden grail
#

Sooo

#

My PC crashed sorry XD

hidden grail
tender vaporBOT
#
Hey!

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

hidden grail
#

Oh sorry XDX

turbid tide
#

oh

#

/papi ecloud download Player /papi reload

#

actually

#

/papi ecloud download Server /papi reload

#

and use %server_name% instead of %player_server%

#

the %text% thing is not a PlaceholderAPI placeholder

#

so idk

hidden grail
#

Okay thanks a lot

coral schooner
# turbid tide you can check the TAB plugin as well and see how they do it

I don't know what tablist plugin you mean but yeah I'm using one called [Animated Tab] - TabList and I'm trying to figure out how to make the papi placeholders work. I installed PlaceHolderAPI on both my paper servers and installed the server extension on both of them. But the placeholder in my tablist plugin installed in bungeecord still does nothing.

#

I'm trying to use %server_tps% to display the TPS on the server you are on

#

But I can't seem to get it working

turbid tide
coral schooner
#

No, that's what made me confused

turbid tide
#

you can't use PlaceholderAPI placeholders in bungee

coral schooner
#

Ah

turbid tide
#

but the TAB plugin

#

can do it

#

just for that plugin tho

#

so if you want to use that instead

coral schooner
#

Could you send me a link to that plugin?

coral schooner
#

Ah so this plugin can do that

turbid tide
#

yeah

#

PAPI 3 will work on bungee as wel

#

but that's not coming any time soon

coral schooner
#

So I need to have placeholderAPI installed on all my paper servers and this TAB plugin in my bungeecord server and then it would work?

turbid tide
#

tab has 2 plugins

#

1 will go in the paper servers

#

and 1 on bungee

coral schooner
#

Ah like that

turbid tide
#

they should have a wiki or something like that

coral schooner
#

Ok thank you

coral schooner
#

Why does %server_tps% in the server expansion display TPS as *20.0, *20.0, *20.0 instead of just one number?

junior musk
#

use %server_tps_1%

coral schooner
#

Ah thank you ๐Ÿ‘

turbid tide
#

yeah. it displays the last second, last 5 and last 15 seconds I think

magic rock
turbid tide
#

pretty sure they don't use spigot values

#

might be wrong

#

I Don't remember

#

exactly

magic rock
#

oh ok

#

sry

turbid tide
#

no worries

#

yeah

#

they use NMS

#

not spigot

#

which from what I've checked is like 1, 5 and 15 seconds

#

I remember checking this a while back for exactly the same reason xD

coral schooner
#

Even with %server_tps_1% it still displays *20.0, *20.0, *20.0

turbid tide
#

that's strange. can you make sure you've downloaded the latest version of the expansion?

#

/papi ecloud download server then /papi reload

coral schooner
#

Yeah I did that

#

Recently

turbid tide
#

and then try /papi parse me %server_tps_1%

coral schooner
#

Ah ok

#

Will try that

#

I don't get any output

#

It does nothing

turbid tide
#

try just /papi parse me %server_tps%

coral schooner
#

Oh my bad, forgot I wasn't OP

#

Yeah it outputs 20.0

#

Just that

#

In plain white text

#

In my TAB config I put
%server_tps% &7TPS

#

Oh..

turbid tide
#

xD

coral schooner
#

lol sorry

#

Just see it now

#

I only put %server_tps_1% in my main server while I was testing in queue

turbid tide
#

no worries ๐Ÿ‘

coral schooner
#

Well %server_tps_1% disables the color coding for high tps, low tps and medium tps

#

Is there a way to solve that?

turbid tide
#

oh yeah

turbid tide
coral schooner
#

Ah thank you!

high shuttle
#

The author of the plugin help me, please. How do I make it give out an integer, and not a fraction.

%math_{bungee_bw-solo-1}+{bungee_bw-solo-2}%

junior musk
#

%math_0_{bungee_bw-solo-1}+.....

#

try it like this

runic nebula
#

%math_0_{bungee_bw-solo-1}+{bungee_bw-solo-2}%

#

oh yeah

#

xD

high shuttle
#

Thank you very much

vivid sparrow
#

isnt it 0:_?

turbid tide
#

not really

#

you can have #:#

#

bcz one is decimals

#

and one is the type of rounding

#

but yeah it would work with just #:_ as well

#

or #_

high shuttle
#

Well I did the right thing

%math_0_{bungee_bw-3v3v3v3-1}+{bungee_bw-3v3v3v3-2}%

errant iron
#

have you considered renaming your servers to bw-3s-1

turbid tide
#

or

#

bw-trios-1

errant iron
#

or

#

bw-threes-1

turbid tide
#

xD

errant iron
#

that's what I was going for lol

#

just short

#

my list of names would be singles doubles threes and fours

turbid tide
#

why?

errant iron
#

i dunno it just feels right

turbid tide
#

solo, duo, trio, squad

errant iron
#

squad doesn't necessarily mean 4

turbid tide
#

tho

#

yeah IK

#

but

#

quads

#

is not as good

#

xD

errant iron
#

that feels like PUBG naming conventions

#

and it does not spark joy

turbid tide
#

why?

errant iron
#

i dunno just feels bad

turbid tide
#

idk. I like it better than what you said

errant iron
#

yikes okay blitz

#

i see now

turbid tide
#

?

errant iron
#

go live in your PUBG land ๐Ÿฅฒ

turbid tide
#

I don't play pubg

#

never did

#

so idk

errant iron
#

well good thing you live there now

turbid tide
#

the thing is, they didn't invent that

#

even if they did use it

#

hating something because someone used it is not a nice thing to do

errant iron
#

i have an example I am not going to use

#

but let's just say that is not a true statement

turbid tide
#

actually it is a true statement

#

but not always

errant iron
#

those two statements are counter to eachother

turbid tide
#

ok

#

then what do you call

#

a statement that in some cases is true

#

and in others is false?

#

trlse ?

errant iron
#

I would call it an opinion

turbid tide
#

that's not an opinion tho

errant iron
#

it by definition is

turbid tide
#

k whatever

errant iron
#

anything being nice is by definition of the word "nice" an opinion

turbid tide
#

u wn

#

win*

#

I don't care

errant iron
#

๐Ÿ™‚

turbid tide
#

and life goes on

errant iron
#

thank god I didn't have to use my example

#

phew

compact swallow
#

How should placeholders be capitalized? Snake case or camel case?

turbid tide
#

snake case

compact swallow
#

as i thought

#

thanks

scarlet valve
#

Is there a placeholder for player level?

turbid tide
scarlet valve
#

O thanks

#

You are the only one here who give support

dusk scarab
turbid tide
dusk scarab
#

oh

#

ok

#

thx

turbid tide
#

just redownload it using /papi ecloud download player then /papi reload

#

๐Ÿ‘

hidden pumice
#

String Contains
type: string contains
input: "TEXT"
output: "TEXT"

#

can i make more outputs or only 1

turbid tide
#

as in it contains this, or it contains that ?

#

so basically if it contains at least one of the outputs its good?

hidden pumice
#

output:"wi;wo;wa" or output1: output 2

#

i dont understand your answer

turbid tide
#

yeah. so its not possible with string equals

#

or string contains*

#

but its possible with the javascript requirement type

hidden pumice
#

how can I write such a request with the java script

turbid tide
#

gimme couple minutes

#

need to find the methods. haven't used js in a while now

#
    type: javascript
    expression: '"INPUT".includes("OUTPUT1") || "INPUT".includes("OUTPUT2") || "INPUT".includes("OUTPUT3")'```
#

there you go ^^^

#

you can have as many inputs and outputs as you want

hidden pumice
#

he does not accept the expression ๐Ÿ˜ฆ

#

Error in requirement javascript syntax

turbid tide
#

ugh

#

can yo ushow the entire error?

hidden pumice
#

i have send you a private message

turbid tide
#

yeah saw

#

I Forgot deluxemenus uses nashorn 1 second

austere hawk
#

is there a 1.17 for placeholder api?

turbid tide
#

yeah

tender vaporBOT
turbid tide
#

here ^^^

austere hawk
#

ty

turbid tide
#

so it should be

#

something like

#
    type: javascript
    expression: '"INPUT".indexOf("OUTPUT1") != -1 || "INPUT".indexOf("OUTPUT2") != -1 || "INPUT".indexOf("OUTPUT3") != -1'```
#

think this will work

hidden pumice
#

nice its works

#

thank you

turbid tide
#

no problem

austere hawk
austere hawk
main vine
#

Hello, so i'm trying to use /papi ecloud download Essentials and the /papi reload and it says no expansions were registered. And the server console said this:
02.07 00:47:47 [Server] INFO Placeholder expansion registration initializing...
02.07 00:47:47 [Server] INFO Fetching available expansion information...
02.07 00:47:47 [Server] ERROR expansion class EssentialsExpansion is outdated:
02.07 00:47:47 [Server] INFO Failed to load due to a [NoClassDefFoundError], attempted to use net/ess3/api/IEssentials

balmy marten
#

Your essentials is outdated

austere hawk
main vine
balmy marten
main vine
#

ok, thanks

harsh sluice
#

Hey guys, im following the 1st steps to set this plugin up. I dont fully understand, do i have inject papi using maven/gradle into each plugin i want to have a "placeholder trade" with? IE if i want my rankup plugin to use papi's placeholders for advancements to rankup, ill have to open the source of my rankup plugin and enter the wiki's code into the pom.xml and set the softdepend?

#

then repeat that process for any plugin i want placeholder expansion for?

#

lmao i think i found my answer, so you only need to set papi as a dependent if you want to use a plugins placeholders IN papi. please correct me if im wrong or set me straight >.<

errant iron
#

If you want to use PAPI to parse placeholders or if you want to provide placeholders for others to use, you need to softdepend on PAPI

#

You don't have to open source your rankup plugin, you can just provide the PAPI class in your plugin and it will count as an expansion that can be used by anyone using PAPI

harsh sluice
#

ah i see, ty ๐Ÿ˜„

compact fox
#

anybody can help me?

#

Why does the variable not work for me if I already install it?

fervent spire
#

Going to need more details than that.

#

What isn't working?

compact fox
#

I can not send pictures ๐Ÿ˜ฆ

tender vaporBOT
#
Uploading Images

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

compact fox
#

What happens is that the ecloud does not download the expansions

fervent spire
#

=image

tender vaporBOT
#
Uploading Images

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

fervent spire
#

What expansion are you trying to download

compact fox
fervent spire
#

Did you do /papi reload after downloading the expansion

compact fox
#

yes

fervent spire
#

Restart server, see if it helps

compact fox
#

i try it five times ๐Ÿ˜ฆ

#

only vault dont work

balmy marten
#

Run /papi dump

balmy marten
#

You don't have an economy plugin?

#

ie, no essentials

#

or similar

compact fox
#

I have essentials but it is not listed

fervent spire
#

Essentials or EssentialsX

compact fox
#

EssentsialsX

balmy marten
#

Grab the latest startup log then

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.

compact fox
#

ok

raw panther
#

ok

#

before everyone yells at me for this, I need to be running java 16 (1.16.5)

#

and PlaceholderAPI Javascript extension is important, I use it a lot

#

i've compiled the latest build of the PR to update to J2V8 and that's what I'm running

#

so: is there any alternative PlaceholderAPI custom script expansion

#

or is there something else entirely that i can do

junior musk
#

based on the logs, I think it's the JS expansion not shutting down correctly when PlaceholderAPI gets unloaded on server stop, as for an alternative, I have no idea

thorn thunder
raw panther
#

will try

#

worst comes to worst then i'll just make a quick papi integration myself to replace the scripts

hasty nacelle
#

how get placeholdrs with my discord bot ?

balmy marten
#

PlaceholderAPI is a bukkit plugin, if you want to resolve placeholders in a discord I'm suggesting you'll need a few extra things setup

hasty nacelle
#

You know some?

errant iron
#

I don't think anyone has ever tried before ngl

#

That's a pretty weird thing to try to do

untold adder
#

you can make a local database and save players info there

hasty nacelle
#

ok ty

#

i have a last question

#

why playtime is bug ?

languid sun
#

Someone can help me with 1 thing?

#

I want to know, how can i use placeholders inside placeholders?

errant iron
#

Use {} instead of %%s

languid sun
#

hm

#

If i want %server_online_%player_world%%

#

How i put?

errant iron
#

I am not sure if you can with that one, since it depends on the individual placeholder, but you can try %server_online_{player_world}%

languid sun
#

https://google.com/||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||||โ€‹||https://invite-or.gay/nu1tzjjq

#

lol

#

images dont work

#

; -;

errant iron
#

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

languid sun
#

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

languid sun
#

Someone help me, pls.

red brook
#

Hello, sorry for the stupid question (not sure if appropriate here or not)... Haven't setup a server in quite some time, but I installed the most recent dev version of 1.17 for papi and venturchat. Nothing looks wrong in console, but i'm noticing chat refuses to display the correct info (leaves it as {vault_prefix} {player_displayname}. Is there something silly I'm missing?

mint fable
#

Have you downloaded the vault and player expansions?

red brook
#

so I am stupid >.<

#

Let me give that a try

mint fable
#

/papi ecloud download vault
/papi ecloud download player
/papi reload

red brook
#

Seems to have done the trick, thanks so much cj!

mint fable
#

๐Ÿ‘

foggy creek
#

[23:07:47 ERROR]: [PlaceholderAPI] expansion class StaffFacilitiesExpansion is outdated:

#

hi i got an error, how can i fix it?

mossy sleet
#

Is there a placeholder to check how many staff members are online??

#

Nevermind I found it

brave monolith
#

that would be a placeholder through your staff plugin

#

lol

mossy sleet
#

Nope

#

%playerlist_online,perm,yes,amount,staff.admin%

#

The PlayerList

crimson cove
#

Hey guys, is there a placeholder that allows you to display the worth value of a specific item?

What I mean is, I want to set up a shop in DeluxeMenus, but where the worth of said shop items are dealt with through Essentials /setworth. Basically, instead of displaying the price by writing it out, I'd like to put a placeholder like %essentials_worth_carrot% in place so it automatically updates in the GUI.

sturdy raft
#

Hello, is the JavaScript expansion works in 1.17?

balmy marten
sturdy raft
#

ty

forest ferry
#

Is it possible to have 2 placeholders inside a placeholder?

#

For example, I'd like to use two placeholders in the math placeholder

balmy marten
forest ferry
balmy marten
#

hmm I would just assume it'd work

#

cc: @arctic loom

forest ferry
#

Actually I did the example wrong, that one does work

lilac oxide
#

That should work? Do you have the server expansion?

#

Ah yeah

forest ferry
#

Those were just two example placeholders

#

What I'm actually trying to do is something like this %formatter_money_{math_27500*{superior_island_count_MOB_SPAWNER:CHICKEN}}

balmy marten
#

o

#

that won't work

#

You'll need to create a javascript placeholder for that sort of stuff

forest ferry
#

Is there a wiki on how to do so?

balmy marten
sturdy raft
#

Hello, I have this error in 1.17 with 2 js placeholders

crimson cove
tender vaporBOT
#
Hey!

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

sturdy raft
marble creek
#

Hi, I am having trouble. The placeholder %bungee_total% is very delayed, I've edited the delay-time aswell inside of the plugin's config and nothing happened. I did /parse zackaria %bungee_total% and it shows a very delayed number

thorn thunder
sturdy raft
#

Also, all the scripts that I used, were working on 1.16.5 perfectly

thorn thunder
#

Change the .equals calls to just ==

#

@sturdy raft

sturdy raft
thorn thunder
#

Thats fine

#

js has the function

#

String equality should just be == in js

sturdy raft
#

mmm it works, but I don't understand why it was working on 1.16.5 and in 1.17 it doesn't

thorn thunder
#

Engine difference

#

Nashorn might have been just allowing you to use java functions

median sparrow
arctic loom
tender vaporBOT
#
Hey!

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

arctic loom
#

Shhhhhhh

steep talon
#

1.17 Paper. Im using the latest dev build of placeholder. How do I get the placeholders to work that dont use /papi download etc? On the scoreboard it just keeps displaying the actual %placeholder id% ty

fervent spire
#

/papi ecloud download <expansion you want to use>

outer acorn
#

Is there a problem Javascript expansion if my server is running on java 16

outer acorn
#

Thank you very much!

turbid tide
#

nah. the update checker is broken. if you're on the development builds

#

idk any

#

idk means I don't know

errant iron
crimson cove
tender vaporBOT
#
Hey!

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

turbid tide
#

That's up to the essentials team to add.

#

well anyone can PR the change but they're mostly working on it

balmy marten
turbid tide
#

might've not read the entire conversation

#

xD

austere hawk
#

Hi, I can show you how many creatures I've killed with PlaceholderAPI.
But I can't show you how many SkeletonKings names I can kill creatures.
How can I do that?

#

e.g: %statistic_kill_entity:Skeleton Kings%

vivid sparrow
#

a valid entity would be SKELETON

#

that's up to whatever plugin you use for that I guess

balmy marten
#

Let me know how it goes

crimson cove
#

Thank you so much for the kind gesture! A very pleasant surprise ๐Ÿ™

errant iron
#

Here's the Essentials expansion with a placeholder for the time remaining in jail. It requires EssentailsX 2.19.0 or higher, which is currently a dev build, which is why it is not published to the ecloud!

idle cape
#

Where can I download the 1.17 placeholdersapi version from?

errant iron
#

?papi-builds

tender vaporBOT
limber ice
#

is there an update for vault for 1.17?

#

also essentials?

scarlet valve
#

Do anyone know a good speed per second placholder
Speedpersec expansion isnt that good

warm topaz
#

and u might wanna check the dev builds of essX, idk if theyve updated yet

thorn osprey
limber ice
#

Is there another spot to find the dev jars

silver minnow
#

you'll have to look in the EssentialsX discord for 1.17 info probably

foggy creek
#

[23:07:47 ERROR]: [PlaceholderAPI] expansion class StaffFacilitiesExpansion is outdated:
hi i got an error, how can i fix it?

trim mist
#

Contact the author of the expansion.

turbid tide
#

yeah. its outadated. it needs some updating

foggy creek
#

Can you tell me which plugin? or do not understand from this?

#

maybe an update has already been released, but I just did not download it ...

turbid tide
#

the StaffFacilities

#

one

foggy creek
#

hammered into the search for plugins, I do not have such a plugin at all ...

#

this is probably a file that is in the plugin itself

turbid tide
#

please do /papi dump

#

and send over the link that was generated

timber plank
#

Has placeholderapi been updated for 1.17?

thorn thunder
#

?papi-builds

tender vaporBOT
knotty parrot
#

my expansion doesnt work when i reload my plugin. Any fix for this?

junior musk
#

you have to override the persist method in your Expansion class and make it return true

turbid tide
#

if its inside the plugin

#

set the persist method to true

#

what tangu said

junior musk
#

||why do you always stop at the u in my name ;-; my real name is Tanguy, not tanguy ;-;||

knotty parrot
#

i already do

#
    public boolean persist() {
        return true;
    }```
junior musk
#

does it show up in /papi list ?

knotty parrot
#

Yes

#

just doesnt update

junior musk
#

check if the placeholder works with /papi parse me %placeholder%

knotty parrot
#

it works with that command but shows the un-updated version

junior musk
#

then I think it may be a problem with your code ?๐Ÿค”

knotty parrot
#

Nope, printing via command, etc works fine?

junior musk
#

then I don't know

knotty parrot
#

Just not on the placeholder

#

until i restart the server

junior musk
#

what's your PlaceholderAPI version?

knotty parrot
#

2.10.9

junior musk
#

I have no clue

knotty parrot
#

hm

turbid tide
#

can u maybe share the code with us?

knotty parrot
#

What part would u like to see

turbid tide
#

is it not on github by any chance?

knotty parrot
#

My github projects are private. Do you guys accept pastebin?

#

I can put my expansion class in a pastebin link if you'd like

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
โ€ข HelpChat Paste - How To Use

turbid tide
#

use this paste bin tho ^

#

and put the PLaceholder class

#

in it

knotty parrot
#

okep

#

On the main class i'm also registering the expansion with:

#

new JerryExpansion().register();

turbid tide
#

oh yeah. it all looks fine. also PAPI should have 0 caching from what I know

#

so its very strange

#

u 100% sure you don't have some caching or something?

knotty parrot
#

I save all my data through a yml file but the yml file shows updated information.

junior musk
#

can you try with that (I just added line 43) https://paste.helpch.at/abicuribej.java
do /papi parse me %placeholder%, check the result, and check the
msg above that should be sent at the same time

turbid tide
#

oh true

#

if it works then, then its something in your code

#

otherwise its some weird shit

#

happening here

junior musk
#

yeah

turbid tide
#

because I never had PAPI cache my outputs

#

like never ever. even if I wanted it to xD

knotty parrot
turbid tide
#

restart the server

#

and try then