#placeholder-api

150650 messages · Page 30 of 151

austere hawk
#

oh ok thanks g

#

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

trim mist
#

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

austere hawk
#

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

balmy agate
#

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

austere hawk
#

you need to update

balmy agate
#

What exactly to update?

#

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

sage thicket
#

The error im having is kiteboard 😛

sharp jay
#

@heady falcon ^

rare lily
#

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

#

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

austere hawk
#

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

brisk coral
#

Have both oppened?

austere hawk
#

that will crash my pc

brisk coral
#

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

austere hawk
#

I c

#

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

#

some expansions aren't working for some reason

turbid tide
wet basinBOT
#

@edgy notch Unknown expansion.

warm topaz
#

yes

turbid tide
#

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

#

it needs updating.

#

the dev of the ChatColor expansion

#

no idea who it is

#

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

#

yeah seems like its integrated

#

well I mean ask the dev to update

#

oh wait

#

you're using v 6.2

#

why?

#

that plugin is at version 1.10.3

#

or something

#

are you sure you have the right plugin>

limber flax
#

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

turbid tide
#

you can do it with javascript

#

if you want

#

I know I've done it before

#

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

limber flax
#

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

turbid tide
#

after this game tho

limber flax
#

👍

austere hawk
turbid tide
#

/papi parse null %placeholldeer%

#

should work

austere hawk
#

nope

turbid tide
#

doesn't seem like there is a parse command

turbid tide
#

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

#

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

#

would start a timer since yesterday 1 am

#

DAY = day of the year

#

not of the month btw

#

@limber flax ^

#

that js could probably require an update since its pretty old

#

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

limber flax
#

Legend, thanks a ton!

turbid tide
#

it uses 24 hours format btw @limber flax

#

not 12 hours

#

hope it still works btw xD

turbid tide
#

the old one was a bit broken.

#

this one seems to work fine

#

I updated the math and the code

limber flax
#

Okay, great. Thanks!

robust patrol
#

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

Thanks 🙂

turbid tide
#

well you could use the javascript placeholders

#

to make your own custom placeholders

robust patrol
#

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

turbid tide
#

well you can change the output yourself in config.yml

#

plugins/PlaceholderAPI/config.yml

#

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

robust patrol
#

I have a lot of these

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

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

#

you can change the output to whatever you want

robust patrol
#

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

#

Thanks 🙂

flint nacelle
sullen dome
#

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

mint fable
#

Gotta download the expansion, run those commands this

sullen dome
#

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

mint fable
#

put your server name in it

#

ah wait

#

your plugin?

#

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

sullen dome
#

Yes exactly

#

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

#

will it work right away?

mint fable
#

are you only using it for bungee placeholders?

sullen dome
#

Right now yes

mint fable
#

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

sullen dome
#

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

mint fable
#

PlaceholderAPI.setPlaceholders(Player, String);

#

huh?

#

You'll need to fake a player somehow

sullen dome
#

Got it

mint fable
#

could you not hook into the bungee api though?

turbid tide
#

can't you use null?

mint fable
#

and do the same thing?

#

Maybe, give null a try

sullen dome
#

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

#

thx I'll try with null

flint nacelle
#

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

tender vaporBOT
#

@flint nacelle,

flint nacelle
#

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

mint fable
#

give should not be used as a requirement

#

it should be used as a command

#

same for remove

#

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

#

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

flint nacelle
#

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

mint fable
#

probably not the easiest to do with deluxemenus

#

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

#

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

#

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

#

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

flint nacelle
#

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

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

mint fable
#

just uploaded it, updating wiki now 👍

#

thanks a bunch for the help again

flint nacelle
#

no problems 🙂 you do a great job (is only me some causes problems 😉 )

mint fable
#

there was that one time where I removed all items in inventories though 😉

#

not too long ago 😂

#

@turbid tide I added give to checkitem fyi

turbid tide
#

I saw

#

👍

#

this will become a plugin soon xD

#

even tho there is one already

mint fable
#

ye

flint nacelle
#

Yes if it get to a plugin I will get it 🙂 no mater the cost 😉

mint fable
#

imagine charging people to give players items

flint nacelle
#

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

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

In that case, need to fix it so it is in English 🙂

sick pawn
#

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

sick pawn
#

Im new to it so i dont know really much xD

steep thorn
#

Where do you want to use it lol

sick pawn
#

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

steep thorn
#

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

sick pawn
#

or is that not how it works

steep thorn
#

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

#

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

#

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

sick pawn
#

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

steep thorn
#

Seems like a general plugin question

#

Not something placeholderapi related

sick pawn
#

okay, i will try it there

grand zenith
steep thorn
#

/papi dump

grand zenith
steep thorn
#

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

grand zenith
#

i will restart and see after that

steep thorn
#

Make sure you got the latest dev build btw

mint fable
#

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

#

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

grand zenith
mint fable
#

rip no response

grand zenith
#

i will try a dev build now

mint fable
#

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

grand zenith
#

rip

#

:))

#

now it works, thanks

tender vaporBOT
#

@silver olive,

austere hawk
#

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

mint fable
#

you should use onRequest as it supports OfflinePlayer

austere hawk
#

ok

upper raptor
turbid tide
#

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

#

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

upper raptor
#

Thank you so much 😉

#

It was the issue

turbid tide
#

no problem

scarlet valve
#

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

#

Am i doing something wrong

#

Pls @ me when someone answer

turbid tide
#

its been like that for a while

#

nothing we can rly do

#

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

scarlet valve
#

Big F

#

Ok ty for helping

turbid tide
#

no problem.

#

I think the closest thing

#

to that is the server_time

#

placeholder

solid mesa
#

%checkitem_<modifiers>%
what to write in modifiers

turbid tide
#

?checkitem

tender vaporBOT
solid mesa
#
  • ?checkitem
#

yes

turbid tide
#

`click here1

solid mesa
#

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

turbid tide
#

yeah click the "click here" blue text

#

from the bot's message

#

it will take you to the wiki

solid mesa
#

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

#

which one do I need to insert STONE into

#

i'm all confused

vivid sparrow
#

material:STONE

solid mesa
#

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

#

%checkitem_namecontains:<STONE>% ???

turbid tide
#

no

#

%checkitem_material:STONE%

solid mesa
#

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

turbid tide
#

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

#

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

solid mesa
#

yes

#

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

turbid tide
#

try %checkitem_material:STONE%,strict:true

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

works

#

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

#

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

pine moon
#

how can i add pinger to add restarting

#

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

pulsar lake
#

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

turbid tide
#

once again there isn't one made

pulsar lake
#

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

austere hawk
austere hawk
#

For some reason they are not added to config.yml

#

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

#

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

turbid tide
#

what config.yml do oyu mean?

#

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

austere hawk
#

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

#

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

#

and weighs 3 times less than the version with spigotmc

turbid tide
#

can you restart the server and send the startup log?

#

?startuplog

tender vaporBOT
austere hawk
#

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

#

everything won't fit here

#

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

marble tiger
#

Any placeholders for local weather from an actual city ?

turbid tide
#

so real weather?

#

no I'm afraid not

marble tiger
#

ah alright, thanks

smoky spoke
#

%checkitem_inhand_lorecontains% has issues

#

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

mint fable
#

wo wo wo

#

issues

mild gale
#

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

#

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

winged kraken
#

How to install EZRanksPro papi support?

mint fable
#

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

#

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

smoky spoke
#

oh ok tysm

dry heron
#

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

#

or any item

#

The wiki looks confusing for this

#

........

carmine veldt
#

pretty sure it is

dry heron
#

yes it is

#

its shown in papi but very confusing

mild gale
#

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

dry heron
#

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

#

something like this should work

#

Thanks anyhow shixroix

#

Hope someone could help

#

would be cool if its specifcially for diamond in players inv

carmine veldt
#

%checkitem_mat:diamond,amt:69%

#

I think

#

@dry heron

flint nacelle
junior musk
#

you have to use %checkitem_amount_<modifiers>% instead

#

so I guess %checkitem_amount_mat:diamond%

#

and it will give you the amount of diamonds you have

flint nacelle
#

👍 that will work Tanguygab 🙂

dry heron
#

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

junior musk
#

yes

dry heron
#

😍 👍

solid mesa
#

test:
command: /test
type:

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

I don't really know how mycommand script works unfortunately

#

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

solid mesa
mint fable
#

?

solid mesa
#

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

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

well

solid mesa
#

Am I writing correctly ?

mint fable
#

it returns yes or no (set in papi config)

#

so don't check if it's true

solid mesa
#

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

mint fable
#

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

solid mesa
#

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

mint fable
#

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

#

try that

solid mesa
#

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

sick pawn
#

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

vivid sparrow
#

Is a warning, ignore it

sick pawn
#

but now it isnt working, like iit isnt showing up

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

whats the error

#

full error

sick pawn
#

thats it

silver minnow
#

o

#

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

#

there would usually be some kind of stacktrace under those lines

sick pawn
#

oh here

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

uhhh

sick pawn
#

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

silver minnow
#

ok

sick pawn
#

sorry see you soon

vivid sparrow
#

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

sick pawn
#

ohh

#

i will look, thanks.

turbid tide
#

also make sure you have ProtocolLib installed

#

the right version of PLib I mean

solid mesa
#

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

mint fable
#

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

cinder oyster
#

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

rich star
#

hello guys

#

how to use hex color in placeholder javascript ?

#

im trying

#

and still trying

#

😄

#

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

#

😄

cinder oyster
#

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

trim mist
#

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

cinder oyster
#

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

pine moon
#

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

carmine glade
#

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

warm topaz
#

that is how u remove an expansion? are u sure u actually deleted it 🤔

carmine glade
#

Yeah, do I have to clear the cache too?

#

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

warm topaz
#

stop server
delete jar
start server

carmine glade
#

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

warm topaz
#

oh right that makes more sense then

#

the parkour expansion is built into the plugin itself

#

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

atomic trench
#

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

warm topaz
#

probably not

#

im down to make this tho 🤣

carmine glade
#

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

atomic trench
#

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

warm topaz
#

eh possibly

atomic trench
#

Nevermind! I fount OtherPlayer expansion lol

#

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

warm topaz
#

ah nice

#

i didnt know the otherplayer expansion had that placeholder

atomic trench
#

Neither I theotherpig

#

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

fierce kraken
#

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

warm topaz
#

u can create an internal class and extend PlaceholderExpansion

fierce kraken
#

Thank you kaliber

warm topaz
#

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

fierce kraken
#

Ok

atomic trench
warm topaz
#

custom plugin
fingerguns

fierce kraken
#

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

solid mesa
#

For all those who have suffered like me...

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

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

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

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

mint fable
#

pssh... otherplayer

#

parseother 10/10

#

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

#

glad you finally got a solution to your issue

mint fable
solid mesa
#

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

silver minnow
#

why do people always use ` instead of ```

mint fable
#

true you didn't

#

probably don't know about it

#

?codeblocks

tender vaporBOT
mint fable
#

Here zxter ^ some more information to learn 👍

silver minnow
#

much easier than doing ` on every line

mint fable
#

you don't

silver minnow
#

o

#

for me i do

mint fable
#

if you do this it shows up like this

silver minnow
#

test test2 test3

#

oh

mint fable
#

1 on top and bottom

silver minnow
#

im stupid

#

ok

rare lily
#

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

turbid tide
#

@rare lily

#

please

#

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

#

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

carmine veldt
#

I don't see a need to remove it

#

and I can see why keeping it may be beneficial

#

afaik you can add more scripting languages to the jvm

#

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

turbid tide
#

at least remove the "error"

#

that's just a debug message no one needs

#

):

rare lily
#

Not sure

carmine veldt
#

no

turbid tide
#

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

rare lily
#

Lol

carmine veldt
#

feel free to open a pr

turbid tide
#

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

#

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

rare lily
#

I already am working on that in 1.7 too

#

Might take long

#

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

turbid tide
#

ah

#

I'm experimenting shit

#

a lot are just testing

#

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

rare lily
#

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

carmine veldt
#

are you rewriting js expansion with graal?

rare lily
#

Could be

#

That only inflict the most with my own ExpansionUtils class

carmine veldt
rare lily
#

:+1:

#

Just realized

brave oar
#

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

brave oar
#

??

austere hawk
#

PlaceholderAPI.setPlaceholders() pretty sure

brave oar
#

to get a placeholder made from another plugin

austere hawk
#

why do u need that ?

turbid tide
#

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

brave oar
#

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

#

so

#

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

#

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

austere hawk
#

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

brave oar
#

Ok I understand

#

ty

marble tiger
#

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

turbid tide
#

what are you using the time zone code for?

#

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

#

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

#

442 is a GMT+2 tho

#

if you want it

oak bear
#

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

#

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

#

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

marble tiger
tender vaporBOT
#

@marble tiger,

marble tiger
#

oops sorry forgot to turn off mention

turbid tide
#

nah there isn't any unfortunately.

marble tiger
#

alright, np

austere hawk
#

Hi, how i can download papi?

#

This %%

austere hawk
#

In papi

flint nacelle
#

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

steep thorn
austere hawk
#

%specializedcrates_cooldown_[cratename]%

#

This

steep thorn
#

Use backticks

#

To avoid Discord formatting

austere hawk
#

Idk how

steep thorn
#

Put your fingers on the keyboard, type a backtick and press enter

austere hawk
#

%specializedcrates_cooldown_[cratename]%

steep thorn
#

In regards to the PlaceholderAPI placeholders, they seem to be built-in

austere hawk
#

Papi dont have this plug in list

steep thorn
#

Yeah, because it's built-in like I said?

#

/papi parse me %specializedcrates_last_crate_opened%

#

Try this

austere hawk
#

Oh

#

Wait

#

Just writed this to the chat

steep thorn
#

/papi dump

#

Show this

austere hawk
steep thorn
#

Seems like the expansion is registered correctly

austere hawk
#

When i have Key, chest showed mě amount 0

steep thorn
#

I don't know that plugin, so I can't help with that

#

But the placeholders 'should' work according to what I see

austere hawk
#

Its ok, just thx for help

primal dune
#

Hey, how can I make it for a condition to equal a certain word if the status of a bungeecord server is online/offline?

austere hawk
#

not sure if this is a papi issue or a statistic issue

#

but playtime on my server isn't rounding up

austere hawk
#

oh sweet

#

ty

atomic trench
#

I just did a Javascript placeholder to convert any percentage into a progress bar and I'm so proud of myself https://paste.helpch.at/yajasusare.js I know there may be a better way to to this but since it's my first functional js I'm just happy it works fingerguns

turbid tide
#

don't want to break it to you like this

#

but there's already a progress bar expansion out there xd

#

No need for all this work :)))

atomic trench
#

cries in 2 hours wasted on w3schools

turbid tide
#

Why u always hating ... ? xD

atomic trench
#

Well I learned a bit of js so I see this as an absolute win

turbid tide
#

that is a win

grand blade
#

You know: Spigot, Paper, etc.

manic forge
#

I need help can someone DM me so i can send photos

tender vaporBOT
trim mist
pulsar berry
#

How would I display online players?

vivid sparrow
#

%server_online%

pulsar berry
#

Thank you,

#

Will I need to ecloud it in or anything?

vivid sparrow
#

server

pulsar berry
#

Thank you,

primal dune
#

Is there a way to display the status of a bungeecord server?

manic forge
#

How do I display current item in hand?

pulsar berry
#

With luck perms, say as user was on 3 different tracks, how would I only display their highest group on the highest track

#

Because when I do, %luckperms_primary_group_name%, I of course get the name, and not the prefix.

#

Is gthere a way to get the prefix?

vivid sparrow
#

%luckperms_prefix%

pulsar berry
#

Heya, yes but if a user has several prefixes because they're in several groups, it'll just display them all?

meager nymph
#

no

#

the highest one will be displayed

#

@pulsar berry

pulsar berry
#

Heya, it's displaying all 3 lol,

#
  owner:
    tabprefix: '%luckperms_prefix% &f'
  network-administrator:
    tabprefix: '%luckperms_prefix% &f'
  senior-administrator:
    tabprefix: '%luckperms_prefix% &f'
  admin:
    tabprefix: '%luckperms_prefix% &f'
  senior-moderator:
    tabprefix: '%luckperms_prefix% &f'
  moderator:
    tabprefix: '%luckperms_prefix% &f'
  helper:
    tabprefix: '%luckperms_prefix% &f'
  baron:
    tabprefix: '%luckperms_prefix% &f'
  viscount:
    tabprefix: '%luckperms_prefix% &f'
  earl:
    tabprefix: '%luckperms_prefix% &f'
  duke:
    tabprefix: '%luckperms_prefix% &f'
  peasant:
    tabprefix: '%luckperms_prefix% &f'
  apprentice:
    tabprefix: '%luckperms_prefix% &f'
  craftsman:
    tabprefix: '%luckperms_prefix% &f'
  soldier:
    tabprefix: '%luckperms_prefix% &f'
  wizzard:
    tabprefix: '%luckperms_prefix% &f'
  prophet:
    tabprefix: '%luckperms_prefix% &f'
  sorcerer:
    tabprefix: '%luckperms_prefix% &f'
  guardian:
    tabprefix: '%luckperms_prefix% &f'
  overseer:
    tabprefix: '%luckperms_prefix% &f'
  default:
    tabprefix: '%luckperms_prefix% &f'```
meager nymph
#

is that tab plugin ?

pulsar berry
#

Yes,

meager nymph
#

did you even set a priority for your groups ?

#

prefix's

twin crater
#

This returns the highest I think

#

%luckperms_highest_group_by_weight%

pulsar berry
#

Watcha mean, each Luck Perm group has different weights,

meager nymph
#

yea

twin crater
#

Description: Returns the name of the players highest priority group.

pulsar berry
#

And each group has a prefix,

#

@twin crater I'll give it a go,

twin crater
#

Alright

#

Here's the wiki it has descriptions of every placeholder

pulsar berry
#

Yeah, I've given them a look,.

#

However I couldn't see any that woluld do it.

meager nymph
#
Groups:
  _OTHER_:
    tabprefix: ""
    tabsuffix: " %luckperms_prefix%"
    customtabname: "%essentialsnick%"
    customtagname: ""
#

I just have this

pulsar berry
#

Bro, it's just displaying it as 'default', despite that not being the group with the highest weight-

#

Here's my editor,

#

Lmao, any idea why?

meager nymph
#

no

#

it should work

pulsar berry
#

One mo, just checking that Luckperms is actually downloaded from papi,

#

Bro- when I run /papi ecloud download LuckPerms

#

It just says expansion not found.

#

Ah, likely because it's already downloaded.

#

Any idea why?

#

Bro, I just deleted luck perms expansion to reinstall it, and it still can't find it-

#

Is the ecloud down or something?

meager nymph
#

no

pulsar berry
#

Any idea why it wouldn't b downloading then? Lmao,

meager nymph
#

download it manually

pulsar berry
#

Okay thanks, it's installed but I'm still having my prefix appear as 'default'

manic forge
#

How do I display current item in hand?

austere hawk
manic forge
#

ty

civic hollow
#

How do I use this plugin ?PlaceholderAPI Animations

turbid tide
#

in that order

#

here is an example tho: %animations_<pulse color=multi pause=1>TEXT</pulse>%

#

this will show TEXT and every frame

#

it will change the color

#

of the text

#

the full list of tags pulse is a tag and options color and pause are options is on the wiki

civic hollow
#

Will this expansion work with ChestCommands? And I still don't understand where to write "%animations_<pulse color=multi pause=1>TEXT</pulse>%"? In chat? In ChestCommands menu?

turbid tide
#

anywhere you want to use it

#

and it will work with CC only if it has a refresh option

#

so only if the menu itself refreshes as well. otherwise it won't work

#

but yeah if you want to use it in the menu then put it in the menu

#

and change the TEXT

#

to whatever text you want to display

civic hollow
#

I have typed in "/papi ecloud download Animation" and I get an error in console

turbid tide
#

show me the error please

#

?paste

tender vaporBOT
civic hollow
#

?paste

tender vaporBOT
civic hollow
#

I can't paste anything

turbid tide
#

you can. paste it there then press ctrl+s

#

and then copy the link at the top

#

and paste it here

civic hollow
#

oh

#

thanks

turbid tide
#

you on java 15?

civic hollow
#

not sure

#

let me check

turbid tide
#

btw try doing it from ingame

#

not from console

#

maybe that changes something

vivid sparrow
#

pretty sure java15Compat refers to java 1.5 xD

turbid tide
#

ah

#

nvm then

civic hollow
#

java 8

#

so what do I do?

turbid tide
#

I have no idea what that error means. Well I mean it can't find a class I guess but still no idea how to fix.

civic hollow
#

Thanks, anyway

turbid tide
#

Probably someone else has an idea but you'll have to wait a bit till someone that knows sees the message

civic hollow
#

i don't think that anyone know what's the problem as this expansion is very old like 6 years

#

It's sad such as good expansion is not supported anymore:(

turbid tide
#

yeah I mean it got an update like 2 years ago or something

civic hollow
#

I think it's something wrong with PlaceholderAPI because when i tried /papi reload i get that error again

mint fable
#

animation? or something else?

civic hollow
#

PlaceholderAPI animation

mint fable
#

animation was updated this year

turbid tide
#

cj he gets a weird error

#

Java15Compat

#

not found or something

mint fable
#

me.incomprehendable.dev.pwp.

#

what is that

turbid tide
#

yeah no idea what that is xD

mint fable
#

that's the issue

turbid tide
#

I googled a bit but couldn't find anything

mint fable
#

whatever expansion/plugin has that class

#

bruh

#

y'all need to learn google

turbid tide
#

ohh

#

lmao

#

when I googled tha

#

tit did give me PerWorldPlugins

#

lmaoo

#

didn't make the connection

#

PWP - PerWorldPlugins

#

I'm dumb

mint fable
#

pwp does some fucky stuff to make plugins per world

turbid tide
#

yeah I assume so. weird plugin

civic hollow
#

right, i have installed the older version of papi

#

and animations are installed

#

now

#

now what?

#

I have tried to get animation in chat and in ChestCommands menu

#

and I get nothing

mint fable
#

does chestcommands support papi?

civic hollow
#

idk

mint fable
#

do you have a chat plugin that supports papi? or chatinjector?

#

Have you tested the placeholder with /papi parse me <placeholder> to make sure it works?

civic hollow
#

/papi parse me <placeholder> works

civic hollow
#

I have installed ChestComands that supports PAPI and also the chat plugin and still get the "%animations_glow_Glowing Text Here!%" instead of glowing "text"

#

I want use this expansion but it's just not working

turbid tide
#

%animation_<glow>GLOWING TEXT HERE</glow>%

civic hollow
#

ehhh...still doesn't work anywhere

#

not in menu

#

not in chat

mint fable
#

i thought you said it was working earlier in the parse command

#

did you install chatinjector for the chat?

#

Does chestcommands support placeholders changing?

civic hollow
mint fable
#

so /papi parse me %animation_<glow>GLOWING TEXT HERE</glow>% returns %animation_<glow>GLOWING TEXT HERE</glow>%?

mint fable
#

and you're positive you downloaded it?

#

ah

#

well that would be why

#

animations not animation

#

once again I blame blitz

austere hawk
#

hmm why does rogueparlour placeholder not work?

mint fable
#

the rogueparkour-temporary?

austere hawk
#

yea or does it not work with holographic displays?

mint fable
#

what placeholder are you using?

#

do you have holographic extension?

austere hawk
#

%RogueParkour-temporary_top_1%

#

uh i thnk no? what extension?

mint fable
#

holographic displays doesn't support papi

austere hawk
#

ah

mint fable
#

holographicextension makes that possible

#

don't forget to install protocollib

austere hawk
#

yes thank you :D

civic hollow
#

weird but when I do "papi reload" it says "no expansions were registered"

civic hollow
turbid tide
#

lmao

#

I just took his placeholde

mint fable
#

i blame kingfatif then

turbid tide
#

I actually gave him a correct placeholder

mint fable
#

does it work now?

turbid tide
#

earlier on

austere hawk
#

also thwe command to install the temp rogue parkour placeholder doesnt work

#

that link doesant work

mint fable
#

might not work with -, download it manually there ^

#

the link works for me

#

if you can't connect to the ecloud then idk

austere hawk
mint fable
#

that's a command not a link

#

did you click the link?

austere hawk
#

what

mint fable
#

the manual download

austere hawk
#

the manual works but not ther ocmmand

mint fable
#

are you reporting this as a bug or trying to download the expansion?

#

I'm confused

austere hawk
#

i just wanted to let you guys know that the command doesnt work

mint fable
#

ah

#

does it work if you type rogueparkourtemporary by chance?

austere hawk
#

nope

mint fable
#

interesting

austere hawk
#

who to blame?

mint fable
civic hollow
#

I can't reload papi via command

austere hawk
#

/papi reload?

mint fable
#

i gotta go get food so i'll be back in a bit

civic hollow
#

animations still don't appear

#

😢

#

has anyone test it ?

lucid olive
#

Someone was able to access my testserver in some way, and performed this command: '/papi register adduser toast;password;password;adduser toast sudo;1;1;1;1;1;1;1;1;1;1;1;1;'

#

What is this for command and in what cases should this command work? They weren't able to do any harm, but it is at least very strange

turbid tide
#

isn't there permission for that?

#

placeholderapi.register: true

#

it should only work if they have that permission

#

and that is to register an expansion jar I think

#

so it shouldn't cause anything

lucid olive
#

Yes, but with this command they try to add a new user to the dedi with all permissions

#

And I think they hoped the server was running under root account

turbid tide
#

ugh

#

try the command yourself

#

you'll see it doesn't work

civic hollow
turbid tide
#

because it doesn't find the adduser jar

lucid olive
#

Exactly it doesn't work

turbid tide
#

unless as KingFatif

#

said

#

you have some cracked

#

plugins

civic hollow
#

sometimes there are plugins that hack the server

turbid tide
#

so they probably expected you to have cracked plugins

lucid olive
#

But okay, than it should have worked yes

turbid tide
#

or somethging

#

and tried to see

lucid olive
#

Ahh that clarifies a lot

turbid tide
#

if you have that specific one I guess

lucid olive
#

Now I understand what they tried to do

#

Thank you

turbid tide
#

that's an assumption anyways xD But yeah no problem

civic hollow
#

everyone's problem is solved except mine

turbid tide
#

xD

#

KingFatif

#

1 sec

#

I'll try something

civic hollow
#

thanks

turbid tide
#

this

#

papi parse me %animations_<glow>GLOWING TEXT HERE</glow>%

#

works for me

#

I just tested it

civic hollow
#

what plugins did you install?

turbid tide
#

nothing

civic hollow
#

huh?

turbid tide
#

I have PAPI installed

#

and the Animations expansion

civic hollow
#

right , I will try to recreate the server

turbid tide
#

ugh

#

actually don't

#

do /papi reload

civic hollow
#

i did

turbid tide
#

and did it say

#

that Successfully registered expansion: animation ?

civic hollow
#

no

turbid tide
#

ah nvm

#

it doesn't say it for me either xD

#

what's your server version?

civic hollow
#

1 expansion hooks successfully registered

#

1.12.2

turbid tide
#

and you only have the animations one ?

#

in plugins/PlaceholderAPI/expansions

civic hollow
turbid tide
#

do /papi info animations

#

tell me what it says

civic hollow
#

Placeholder expansion info for: Animations
Status: Registered
Author: Niall
Version: 1.0.5

turbid tide
#

ugh

#

so it is installed

#

it should work

#

100%

#

or 99% xD

civic hollow
#

so you just installed papi and nothing else ?

#

and it worked?

turbid tide
#

yeah

#

well I have it for a while now

#

its a live server

#

so more plugins

#

but it works

civic hollow
#

weird

turbid tide
#

maybe its server version

#

since I'm on 1.16.4

civic hollow
#

I will re-create the server if it won't work I won't disturb you anymore just won't use the expansion

#

Thanks for trying to solve this problem

#

😀

#

One more question : did you install any plugin for chat?

turbid tide
#

DeluxeChat

#

I use for chat formatting

mint fable
#

it doesn't work even with /papi parse?

turbid tide
#

nope

#

same thing works for me

#

but not for him

#

only difference I can find is plugins installed and server version

mint fable
#

can you send a startuplog

turbid tide
#

the expansion is loaded

mint fable
#

or link me to one

#

that was sent

turbid tide
#

@civic hollow ^

#

btw

#

I assume you fixed

#

by changeing downlaod to download ?

#

xD

mint fable
#

and encloud to ecloud

turbid tide
#

ah didn't even see that one

civic hollow
#

it seems to be working for 10%

mint fable
#

how so

civic hollow
#

"papi parse me %animations_<glow>GLOWING TEXT HERE</glow>%" only "G" changed the color and that's it

mint fable
#

that makes sense

#

it won't animate on that return

#

only when it's repeatedly called, if you test it fast repeatedly you should see some changes

civic hollow
#

huh?

mint fable
#

okay so the placeholder works

civic hollow
#

But how to make animate on its own and all the time

mint fable
#

so now you need to get it working in chestcommands and in chat, right?

civic hollow
#

?

mint fable
#

Well that was one of my earlier questions: Does chestcommands support updating placeholders?

#

and for chat I've already asked: What chat plugin do you use? Have you tried installing chatinjector?

civic hollow
civic hollow
mint fable
#

Does the placeholder show in the chestcommand gui at all?

civic hollow
mint fable
#

I mean, that wasn't really what I was asking. If your menu doesn't open I don't think it's the placeholder's fault

#

it would be incorrect configuring I would assume

mint fable
#

okay, so does the placeholder work?

#

at all?

civic hollow
mint fable
#

so what is the issue

civic hollow
#

The main issue is solved

mint fable
#

ah ok

civic hollow
#

How to make it animate all the time ?

mint fable
#

Does chestcommands support updating placeholders?

civic hollow
#

%animations_<glow>GLOWING TEXT HERE</glow>% - "G" changes the letter color

mint fable
#

that is what the question refers to

#

if chestcommands doesn't update placeholders every so often, it won't work

civic hollow
#

ChestCommands support api

mint fable
#

deluxemenus supports updating items, but the max is once every second

#

Ask the dev to add it I guess

#

🤷‍♂️

civic hollow
#

Thanks for your help

mint fable
#

👍 gl

civic hollow
#

I will try deluxemenu

mint fable
#

just beware it will look a bit weird...

#

since it only updates once a second

turbid tide
#

lmao

#

becasue a message that you sent

#

doesn't refresh

#

at all

mint fable
#

i know

civic hollow
#

Is there any other ways to animate properly the text in menu [ChestCommand,DeluxeMenu] without Animation expansion ?

turbid tide
#

not rly

mortal wind
#

Im trying to make a rng placeholder that will give me a new number each day but im trying to figure out the best way to create the javascript placeholder. ```var min = 1;
var max = 25;

function randomInteger() {
if (args.length == 2) {
min = args[0];
max = args[1];
}

var random = Math.random() * (max - min);
random += min;

return Math.floor(random);
}

randomInteger();``` this looks like it will return a new number each time it is called. I saw this but am unsure if it will integrate properly https://stackoverflow.com/questions/4455282/call-a-javascript-function-at-a-specific-time-of-day Essentially im trying to generate a new number each 24 hours and set the placeholder to return that value so rng(1-50) day1=4 day2=33 day3=41 if that makes sense. Let me know if you have any ideas thanks 🙂

steep thorn
#

@mortal wind I think you'll need parseInt in order to turn those args into ints

#

Based on the first google results, it seems quite difficult to actually 'seed' a JavaScript random generator

#

You could indeed use the info from that stackoverflow to get the current day as some kind of int

#

This seems like a pretty clean solution for the seed thing

mortal wind
#

So for the actual placeholder itself it should be somthing like %javascript_rng500-1000% and it will give me the number, wouldnt require any sort of args as all of the information needed should already be in the script. Ill try to assemble something and see how it goes, thanks for the info

mint fable
#

does the javascript handle the once per day thing?

#

or just the randomizer

mortal wind
#

im trying to get it to handle both so it will run the clock and each new day it will throw me out a new number from the min max values

mint fable
#

ah ok

#

because I was gonna say there already was an rng expansion

mortal wind
#

Yeah i referenced the one from the wiki

warm topaz
#

🙂

mint fable
#

why didn't that work hmm

mortal wind
#

Now im just trying to figure out how to run the function at a specific time and save the value so its not throwing me a new random number every time its called, should work once i can test with the information robin gave me above

mint fable
#

so

#

I would recommend saving the data

#

lemme throw some pseudocode

mortal wind
#

That probably would make more sense: Generate number each day -> save generated value -> placeholder returns stored value

mint fable
#
var date = today
if(Data.exists(date+".rng")){
  return Data.get(date+".rng";
}else{
  var rng = new random;
  Data.set(date+".rng", rng);
  return rng;
}```
#

that's half java half javascript

#

but also pseudocode

mortal wind
#

Gotcha then after that i would need to run Data.getData() when the placeholder is called to return that set data?

turbid tide
#

ye

mint fable
#

well that was the first part

warm topaz
#

nashorn engine was removed in java 15 i think

turbid tide
#

not yet

#

thien is working on implementing a new engine

#

tho

#

but I can't guarantee its coming any time soon

rare lily
#

I got like at least 7 features on pending right now

#

So yeah, still wip

rare lily
#

Latest openjdk has removed nashorn as well

turbid tide
#

%localtime_timezone_Europe/Bucharest% if you want a GMT+2 TimeZone

scarlet valve
#

Hi is their an placeholder that gives you your cps

#

?

#

Pls @ me if yu know

wet basinBOT
#

@brisk coral Unknown expansion.

brisk coral
#

@rare lily Is your cps expansion public

rare lily
#

Not "cps" to be fair

#

It's just speed of stuffs per sec

#

But it's public

scarlet valve
#

I mean click per second

#

Not tps

rare lily
#

Yeah my expansion doesn't have that

scarlet valve
#

Do u know any?

rare lily
#

There is not so far

#

But i will think about it one day

scarlet valve
#

Ok

#

Ty

brisk coral
#

Didn't you showcase cps once?

rare lily
#

It used to be, but I later realized how bad the cps goes in term of spigot listener management

#

I only detected it the most with right click thus far

brisk coral
#

did you use events, or packets

#

Since it'd probably be more concise with packets

rare lily
#

I think it's also a fine idea with packet

rare lily
#

But it's very cheesy

sturdy sluice
#

would this work as a javascript placeholder? am trying to make a placeholder that returns the amount of permission someone has from a list

var player = BukkitPlayer;

function permissionSum() {
  if (args.length > 0) {
    var sum = 0;
    args.forEach(permission => {
      if (player.hasPermission(permission)) sum++;
    })
    return sum;
  }
  return 0;
}

permissionSum();

// %javascript_permissions_permission1,permission2,permission3%
turbid tide
#

yeah it should work.

#

unless the forEach method is not available in the nashorn engine

brisk coral
#

It won't work tho, unless js utilizes foreach differently

sturdy sluice
#

or is there smth existing for this already

brisk coral
#

forEach requires all variables to be effectively final

#

Which your sum is not

#

Make a normal for loop

marble tiger
#

@turbid tide ended up just using %time% with offset of 2 from the TAB plugin

turbid tide
#

ah ok.

#

but just for future reference it works

sturdy sluice
#

hmm it returns an empty string now

var player = BukkitPlayer;

function permissionSum() {
  if (args.length > 0) {
    var sum = 0;
    for(i = 0, len = args.length; i < len; i++) {
      if (player.hasPermission(arg[i])) sum++;
    }
    return sum;
  }
  return 0;
}

permissionSum();
turbid tide
#

ugh

mint fable
#

can you store BukkitPlayer to a variable and use it that way? Or do you need to use BukkitPlayer.hasPermission

sturdy sluice
mint fable
#

it probably works then

#

how are you using it? (the placeholder)

turbid tide
#

oh fuck I said ugh and forgot to ask xD

rare lily
#

Just a head warning in this 1.7 JSE if you all could agree or not: I will significantly get rid of bare placeholders in the script

mint fable
#

?

turbid tide
#

what? xD

#

what are bare placeholders?

mint fable
rare lily
#

Which means you must use this in order to parse placeholder: var a = parse("%player_name%")

turbid tide
#

oh no

#

please don't

mint fable
#

don't do that please

turbid tide
#

add it as option

mint fable
#

it will break many many many scripts

turbid tide
#

but

#

I have over 100 scripts

#

I ain't going to fix all of them

#

some even have like over 10+ options

#

as a return

#

jesus no

mint fable
#

and we will get many people showing up here asking about them

#

ye sounds like hell ngl

#

❤️

turbid tide
#

think that answers it thien :))

#

add it as an option maybe but don't remove the bare placeholders option

rare lily
#

Well, there is a reason though: That sufficiently is more convenient than PlaceholderAPI.static.setPlaceholders()

#

But if that's what yall want then fine thonking

mint fable
#

I like the parse thing

#

but we're saying don't remove this

var test = "%player_name%";```
#

bad example, but still an example

rare lily
#

Yeah ik that

turbid tide
#

I mean thien just add it as an option

#

that's fine

mint fable
#

parse is easier to type than PlaceholderAPI.static.setPlaceholders fr

#

I think aboody added parsePlaceholders in a test version so that could work

turbid tide
#

also aboo said

#

we should use parseBracketPlaceholders

mint fable
#

tru

turbid tide
#

so make sure you include bracket placeholders in parse()

rare lily
#

👍

#

Already planned

turbid tide
#

ok good. also you said you're adding the debug mode setting right? xD

rare lily
#

Sure... thonk

turbid tide
#

the one that allows me to disable the "engine not found. defaulting to global` or whatever

#

lmao

rare lily
#

Erm...

#

You still have to change stuffs from nashorn to graal.js lmao

#

100 lines to work on

rare lily
#

I mean, your engine specification in config

turbid tide
#

well

#

I didn't specify

#

it for all those 100 placeholders xD

#

so I don't need to change anything

rare lily
#

Oh

onyx mauve
#

Hi! I am using this placeholder: %statistic_minutes_played% from the statistic placeholder. And for some reason i get a error in the console when i start my server or reload the plugin. The thing is that the placeholder still works.
Here is the error: https://paste.gg/p/anonymous/e8356a47542545978d4a23c5847d136a
The server is running 1.12.2

turbid tide
#

ugh from that paste it doesn't look like a Statistic expansion error. And also if I get that correctly it just can't get info about the expansion like expansion author, version etc. from the ecloud so I think if you will try to do /papi ecloud info EXPANSION-NAME

#

it will error out

#

so yeah shouldn't affect the placeholders themselves

#

dk why it errors tho