#placeholder-api

1 messages ยท Page 187 of 1

simple nova
#

i think u need chat plugin like EssentialsXChat or deluxechat

#

to change the chat

#

with new placeholder

simple nova
#

otherwise i duno how to change vanlla chat

velvet fern
#

but

simple nova
#

maybe bukkit or duno

velvet fern
#

it worked yesterday

#

when i done ecloud download

simple nova
#

well what did u changed

velvet fern
warm topaz
#

if it didnt work with the luckperms placeholder, then the only thing i can think of for it not working is because u have luckperms on the bungeecord server, rather than on the spigot server

#

im not sure

fresh kettle
#

Hey,
I'm having trouble. Only part of our placeholders are loaded.

tender vaporBOT
#
๐Ÿ“‹ Your paste: JelmerNL
https://paste.helpch.at/ulesikalix

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

#
๐Ÿ“‹ Your paste: JelmerNL
https://paste.helpch.at/oqapinumuk

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

turbid tide
simple nova
#

๐Ÿ˜„

fresh kettle
#

๐Ÿคฆโ€โ™‚๏ธ that makes sense lol

#

new server thought I had all of the plugins transferred

#

appearently forgot one

simple nova
#

bltz

#

is it possible to make a loop for searching in lore of particular text ?

#

and output it

turbid tide
#

make it where?

simple nova
#
var player = BukkitPlayer;
var material = '%player_item_in_hand%';


function lorelines() {
  if ( material !== 'AIR' ) {
    var lore = player.getInventory().getItemInHand().getItemMeta().getLore();
    var has = player.getInventory().getItemInHand().getItemMeta().hasLore();
  }

  if ( material === 'AIR' ) {
    // return 'AIR' when you aren't holding an item (You can change it to whatever you want)
    return 'AIR';
  } else if ( has ) {
    return lore.length;
  } else {
    // return '0' when the item you're holding doesn't has lore (You can change it to whatever you want)
    return '0';
  }
}
lorelines();
#

so basicaly

#

to search of a specific lore and output it

#

ill show u

#

pic

#

u see how this Strenght: +10

#

is there

#

thats modifier

#

but also is it in the lore

#

apperantly i cant get NBT tags in JS

#

my other way is to search for a exact lore, get the value when contains the lore and modify it

#

like custom enchanter

austere hawk
#

Hey, do you know how I solve this?

spiral badge
#

Hi guys, can someone help me out with the placeholder expansion of the plugin deluxecombat. I tried everything like /papi ecloud download deluxecombat and /papi reload . This is what I see in the server (https://paste.helpch.at/semivinobu.sql). I have got the right plugins in the server with the right version. I get this error in the console. I did exactly what the server asked me to do to implant a leaderboard with holographic displays.

sleek grove
spiral badge
#

omg

#

wait

spiral badge
austere hawk
sleek grove
peak oar
junior musk
#

/papi ecloud download Server
/papi reload

#

if the error still occurs, check your PlaceholderAPI's Expansions folder, if it got 2 server expansion jars, delete them both then reexcute the commands

peak oar
cobalt cave
#

Didn't work

#

I figured out why it's not working [Mon, 21. Feb 2022 20:18:19 UTC INFO] Successfully registered expansion: math [1.3.1] โ„–#########[Mon, 21. Feb 2022 20:18:19 UTC WARN] Loaded class net.luckperms.api.LuckPerms from PayRank v1.0 which is not a depend or softdepend of this plugin. [Mon, 21. Feb 2022 20:18:19 UTC INFO] Successfully registered expansion: server [2.6.0] [Mon, 21. Feb 2022 20:18:19 UTC INFO] Successfully registered expansion: vault [1.7.0] [Mon, 21. Feb 2022 20:18:19 UTC INFO] 3 placeholder hook(s) registered!

trim mist
#

That's just a warning

cobalt cave
#

Nope

#

It fixed after I disabled payrank via plugman

untold crater
#

plugman

#

plugman is very well known for breaking stuff

cobalt cave
#

But idk why it's doing this

untold crater
#

errors โ‰  broken things

cobalt cave
#

Ye

austere hawk
wraith pawn
#

Hello, I have made a js variable, but the issue is that when I try to "update" it, it does not update, it is a variable that changes each range that I have, but when I put another one it simply does not update, where or how do I do that instant update? This is the code: https://sourceb.in/p6cbRdj5xa

stone edge
#

wdym by doesnt update?

#

isnt that run everything the placeholder is used?

austere hawk
#

I have the papi plugin with the pinger expansion installed. It is working to show info about the hub server but it wont show info about other servers

stone edge
#

make sure youhave the latest version

#

and you have the correct format

#

apart from that, i can't tell

austere hawk
#

i just downloaded everything

#

it seems to be only for a certain server. it works when i try to ping others but it is only this certain one

simple nova
#

im looking for a Coins/Tokens Plugin that have option for muliplier/boosters

#

any ideas ?

cobalt cave
woven mural
#

why are all placeholders working for attributes excepting knockback and flying speed?

#

%attribute_player_value_GENERIC_ATTACK_KNOCKBACK%

#

is it a problem from deluxemenus?

#

or from papi

#

or something else.. i can t figure it out

blissful mango
vivid sparrow
#

it should print in console all the attributes that you can use

remote valley
#

Hey, any reason %vault_eco_top_player_1% is returning an empty line? (Top balance is also 0 for some reason)

woven mural
#

i typed ./papi list and i don t see this expansion in the list

#

should i load it or something?

#

oh i know why

#

is an error

#

do i need another extention/plugin?

#

or is because my server is running on 1.17.1?

#

@vivid sparrow

tender vaporBOT
woven mural
#

oh

vivid sparrow
#

can you update to papi 2.11.1?

woven mural
#

oh i didn t know there is a newer version

#

1 sec

#

ok now is working fine

#

it was my fault i didn t updated papi

#

it shows GENERIC_ATTACK_KNOCKBACK too

#

but is not working

#

should i do something else? @vivid sparrow

#

also.. if i type the wrong attribute i get this

#

flying speed

vivid sparrow
#

I have no clue why that happens tbh

#

I need to do some debug

woven mural
#

oh ok

#

thank you for help

white pendant
#

Hello, I having been using Papi for a long time now and have made no changes to it recently and it now it seems to not load in correctly when the server is restarting. However, a simple /papi reload gets it working properly. I am running PAPI 2.11.1 on Purpur #1563.

PAPI Error: https://mclo.gs/hThzeO9
Full log if you need it: https://mclo.gs/zWUdx2A

austere hawk
#

Hello!

#

Can I somehow creat an account on eCloud?

#

I would love to create my own expansion for PAPI.

wraith pawn
#

Hello, I have made a js variable, but the issue is that when I try to "update" it, it does not update, it is a variable that changes each range that I have, but when I put another one it simply does not update, where or how do I do that instant update? This is the code: https://sourceb.in/p6cbRdj5xa

vivid sparrow
#

@austere hawk message funnycube#0001 an email and username

#

What exactly is not updating? @wraith pawn
Also, why are you not using prefixes

chrome sentinel
#

Is there an expansion for formatting hex colors?

vivid sparrow
#

For what?

#

@white pendant /papi dump

chrome sentinel
wraith pawn
tender vaporBOT
wraith pawn
#

and I don't understand what about the prefixes, if you mean luckperms, yes I use it, if you mean the code, I wouldn't know how to answer you since I didn't do it

vivid sparrow
#

What you are doing looks like prefixes

wraith pawn
#

Ah, yes, the idea is that it shows what rank I have

#

What I come to is that I saw the other time that in the config I can make the variable update...

vivid sparrow
#

If you parse the placeholder with /papi parse, does it update?

#

Because LP placeholders update instantly

wraith pawn
wraith pawn
#

But in the scoreboard (where I have the variable, it is not updated)

#

Uh, it's supposed to be the scoreboard itself which is holding it back, right? since I remembered that the scoreboard plugin is custom, it could be that... I'll talk to the dev

austere hawk
#

@balmy marten

tender vaporBOT
austere hawk
#

Sorry, I couldn't find you ๐Ÿ˜„

austere hawk
vivid sparrow
#

I think your friend requests are off

austere hawk
#

They're not

tender vaporBOT
simple nova
simple nova
#

well still searching for second currency for my server (gems/tokens/coins what ever) and to have a multiplier/booster option ....hope some1 got idea

vapid merlin
#

Hi, I want to make a SSB2 placeholder return "None" if %island_exists% is false, does anyone know how I could achieve this

stone edge
#

ssb2?

vapid merlin
#

superior skyblock 2 ๐Ÿ™‚

stone edge
#

changeoutput expansion

fickle tide
stone edge
#

maybe full console log to help staff to help you (maybe include /papi dumb or something)

fickle tide
#

this is the rest of the logs

flat spruce
#

can I suggest changing %bungee placeholders to %proxy as it supports velocity too - made it kinda confusing to set up (totally wasnt looking for velocity placeholders for like 10 minutes)

stone edge
mint fable
#

ya...

#

def not gonna happen to something that's used so widely already

#

also people looking for bungee placeholders, 99% of them won't know to look for proxy

#

:L

tender vaporBOT
#

๐Ÿ”จ It has come to my attention that a user was using a leaked plugin, they have been... well let's say.. dealt with.

shut sundial
#

Does Placeholder API support Sponge?

warm topaz
#

just bukkit

shut sundial
#

Ok thanks ๐Ÿ™‚

blazing zephyr
#

Hello is there a way to create my own placeholder? just a placeholder for gender: male/female

stone edge
#

you can, you have 2 options (maybe 3)

#
  1. code your plugin
#
  1. code an expansion
#
  1. use changeoutput
#
  1. use javascript
#

well it was four, but 1 and 2 are almost the same

blazing zephyr
#

how about use javascript?

mint fable
#

how are you going to change the placeholder?

blazing zephyr
#

I just want a Gender

mint fable
#

Yes, but how do you want to set that gender

#

command? menu?

#

custom parkour mission?

#

๐Ÿคทโ€โ™‚๏ธ

blazing zephyr
#

command

mint fable
#

then you'll need an expansion/plugin

#

or you could do some more advanced things with a plugin like mycommand and a javascript placeholder

tender vaporBOT
#
Javascript
Useful Links & Information:

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

blazing zephyr
#

I'll use mycommnad i have that plugin. Thnaks

meager ocean
#

Anybody knows a plugin that enables users to create their own placeholders?

mint fable
#

Read the chat directly above

meager ocean
#

Sure, thanks!

#

Alright. What if I want to point my placeholder to another placeholder? (e.g. %name% will return %player_name% which outputs the player's name)

#

Is coding an expansion the only option now?

mint fable
#

but

#

why?

meager ocean
#

It's hard to explain but I'll try my best

mint fable
#

you can't make %name%

#

you need %identifier_placeholder%

meager ocean
#

Basically I use TAB Premium and they have a layout option for each line of the tab list. The syntax of it is slot-number|text|avatar

#

The placeholder I want to use in text contains the character |, which makes the plugin thinks the stuff behind the | is referring to avatar

mint fable
#

sure with javascript it's easy

#

the entire js file would be

"%placeholder%"```
#

and you can name it whatever you want and use %javascript_yourplaceholder%

meager ocean
#

I have zero knowledge in coding so...

tender vaporBOT
#
Javascript
Useful Links & Information:

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

meager ocean
#

Let me check that out first

#

Thanks

meager ocean
tender vaporBOT
meager ocean
#

Oh sorry

mint fable
#

can't divide by 0

#

you could try using changeoutput to change the 0 to a 1

#

although I'm not sure if you'll be able to nest the placeholder in {} again, which I think is required

#

might just need to make a custom js to do what you want instead

stone edge
#

js is slow right?

full pine
#

I don't get the deluxetags prefix I get like this {deluxetags_tag} player> hi

#

@mint fable help pls

tender vaporBOT
stone edge
#

why

turbid tide
#

๐Ÿ˜ฆ

stone edge
#

do you ask the same thing in 2 channels

full pine
#

yes

turbid tide
#

someone literally asked you a question in #general-plugins and you go ask in another channel and ping a staff member (which is against the rules) ... please go back to #general-plugins and give more context like you were asked to. thanks

foggy crown
#

Hi, anyone knows how to create an if statement for a placeholder?

stone edge
#

elaborate a bit more?

simple nova
#

some1 with knowledge of Skript ?

austere hawk
turbid tide
# stone edge js is slow right?

well not really. The problem is that it can have a pretty big impact on performance when you use it in places like TABs if they refresh very fast. I keep forgetting what it was or if yugi ever found a fix for it but I believe he had an idea of what the problem might be. I think I asked him like 10 times already so he'd probably scream at me if he saw this message lol

stone edge
#

im asking js in here

#

when using placeholders

turbid tide
stone edge
#

it uses eval method?

austere hawk
# turbid tide even low scales can be bad.

Yeah I had no idea it could be this bad until I tried making a semi-interactive GUI using a few js placeholders. TPS dropped to like, 16 whenever opening the gui lmao

#

ended up coding my own expansion and it worked pretty well

turbid tide
#

yeah. I really wanted to try the kotlin expansion but was too lazy to do so

austere hawk
#

oh is that a thing already? Haven't heard of it before

turbid tide
#

yeah not on the ecloud

austere hawk
#

sxtanna :fr:

#

That looks pretty outdated though, does it still even work?

turbid tide
#

pretty sure. don't see why not

stone edge
#

best solution: code a plugin

simple nova
#

some1 with knowledge of Skript ?

#

need few lines

stone edge
#

๐Ÿคจ

tender sphinx
#

Dose anyone know, how to get Entity methods in javascript

vapid merlin
#

Hey, I'm using the changeoutput expansion however the input I'd like to check returns nothing, how would I use changeoutput in a way that it can detect the empty line?

celest heath
vapid merlin
#

What do you mean?

celest heath
#

That puts out a blank output

vapid merlin
#

%deluxetags_tag%

celest heath
#

Gotcha give me one moment

vapid merlin
#

Okay ๐Ÿ™‚

celest heath
#

%changeoutput_equals_{deluxetags_tags}__<what you want this to say when none>_{deluxetags_tags}%

#

this @vapid merlin

#

Let me know if that works

turbid tide
#

you might want to add one more _ at the end. for the output

vapid merlin
#

That worked, thank you very much !

kind shale
#

hey

#

can someone help me

#

I want it to open the menu only when %mmocore_level% is greater than or equal to 20, what should I do?

tender vaporBOT
#
Hey!

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

kind shale
#

sry

stone edge
#

You literally pinged 3 staff members lol

kind shale
#

sry T^T

stone edge
#

suggestion, dont ping staff in any server you join, just saying ๐Ÿ˜›

sharp jay
#

bruh

lilac oxide
#

๐Ÿ˜ฎ ghost ping

#

fun

sharp jay
stone edge
sharp jay
#

go read the rules before

stone edge
#

maybe choose items based on placeholder, but idk if thats allowed in command to open the gui

kind shale
#

im sorry

lilac oxide
#

@kind shale Please Refrain From Pinging Staff, and even worse deleting it

sharp jay
stone edge
#

๐Ÿ˜ฎ

#

then you can

lilac oxide
#

you can use math placeholders

sharp jay
#

%mmocore_level% >= 20

#

hm? fred

kind shale
#

what the type

sharp jay
#

javascript

kind shale
#

thx

#

im very sorry for the ping

sharp jay
#

np

lilac oxide
#

I thought this was a scoreboard

#

my fault

sharp jay
#

all good

raw yacht
#

Anyone around?

#

Need some assistance with ezrankspro

stone edge
#

There is a channel for that plugin support iirc

#

verify your account to access to it i guess

verbal belfry
#

what placeholder should i use to tell the player how active he was at the server ?? ๐Ÿ˜„

turbid tide
tender sphinx
#

I try to import PlaceholderAPI by use

          <id>placeholderapi</id>
          <url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
      </repository>```

```        <dependency>
          <groupId>me.clip</groupId>
          <artifactId>placeholderapi</artifactId>
          <version>2.11.1</version>
          <scope>provided</scope>
      </dependency>

on the import line, it just normal color
Dose anyone know how to fix it?

#

it say Could not find artifact me.clip:placeholderapi:pom:2.13.0 in spigotmc-repo (https://hub.spigotmc.org/nexus/content/repositories/snapshots/)

tender vaporBOT
#
๐Ÿ“‹ Your paste: atcpybd
https://paste.helpch.at/etaxocibol

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

turbid tide
#

2.13.0? what?

turbid tide
tender sphinx
#

yeah, i change to 2.11.1

#

but it

#

can't import they package

#

import mc.clip.placeholderapi.PlaceholderAPI;

#

it not import

#

just normal color

#

package mc.clip.placeholderapi does not exist

#

that what it say

untold crater
#

me.clip

#

not mc.clip

elfin dust
#

Hello i need help , when i do /papi reload

#

my plugin placeholder breaks

#

is there a fix for this?

tender sphinx
#

๐Ÿ™‚

#

i try it all day

turbid tide
elfin dust
#

oky

#

not sure if this is the best way to handle placeholders ,

#

oh i can't post a picture here

tender vaporBOT
elfin dust
turbid tide
#

yeah that's alright i GUESS

elfin dust
elfin dust
#

so what's the problem??????

turbid tide
# elfin dust so what's the problem??????

Hello. Sorry. I had to go somewhere. is this the error you're talking about? [19:11:46] [Async Chat Thread - #0/ERROR]: Could not pass event AsyncPlayerChatEvent to SkyPvP v1.8.0.0 bcz I don't see any other error and this one seems to be related with the SkyPvP plugin's chat formatting

empty pilot
#

Is there a way using the Statistic placeholder to get how much wheat someone has farmed? please ping with reply im trying to use %statistic_mine_block:WHEAT%

vivid sparrow
#

I think that WHEAT is the item

#

d;spigot material%wheat

ionic fractalBOT
vivid sparrow
#

Hmm, maybe not

ember shell
#

Hi all, is this not released, yet?

tender vaporBOT
tender vaporBOT
turbid tide
ember shell
#

๐Ÿ˜ฆ

turbid tide
#

I mean why not use that one?

chrome sentinel
#

I want to use the ChangeOutput expansion for a json message, but it doesnt seem to work because json messages use { and } which the expansion probably recognises as a placeholder, is there a way to get around this?

empty pilot
#

I've broken multiple wheat crops and the statistic didn't leave 0

median hound
#

Does PAPI work on Waterfall, so that I can use placeholders in the server list motds?

mint fable
#

papi won't work on bungee/waterfall

#

it runs on the servers themselves

median hound
#

hmmm

#

So not really a way to parse them there right?

mint fable
#

nope

#

what placeholder were you wanting to use

#

They're player-specific btw (it's how papi is setup)

median hound
#

The %pinger.. % ones

mint fable
#

ah

median hound
#

I have seen parsing against an offline player which is set to null works on some serverlist plugins

#

I tried myself but failed xED

mint fable
#

ya, no communication to the waterfall server via papi

#

so won't be able to parse anything

#

ah, even Serverlistmotd says The Spigot version also comes with PlaceholderAPI support.

mint fable
median hound
#

Well, I am still on Velocity and thought about changing to a bungee base if it would work there

mint fable
#

icic

median hound
#

so I tried a velocity thing, but yeah

mint fable
#

won't work anywhere

#

but if you're going to make a plugin, you could just make the motd yourself

#

and ping the servers in your own plugin

delicate haven
#

how do you write this checkitem command?
nbtstrings:<key>=<value> or nbtstrIngs:<key>=<value>

the first one tells me everything not with the correct and incorrect data.
the second tells me everything yes with the correct and incorrect data.

mint fable
#

Can you send the entire placeholder @delicate haven ?

delicate haven
#

/papi parse me %checkitem_nbtInts:slots=2%

#

my nbt data is integer slots: 3

mint fable
#

the formatting is nbtints now

#

should be changed on the wiki as well

delicate haven
#

/papi parse me %checkitem_nbtints:slots=3%
my nbt data is 3 but the checkitem says no

mint fable
#

what if you supply a mat:

delicate haven
#

now it works

mint fable
#

weird

delicate haven
#

but that would be two conditions

mint fable
#

would matcontains work better for your situation?

delicate haven
#

it works

mint fable
#

o ok

#

nice

delicate haven
#

if i let matcontains the blank will be as a single condition

#

thank you very much, it will be very helpful
PS: the messages were translated by google

mint fable
#

wait it works if `matc

#

ohhh

#

I seee

#

that makes sense

#

good work around!

gloomy marsh
tender vaporBOT
# gloomy marsh https://paste.helpch.at/lifadidiku.bash
Possible Solution Found:

DeluxeTags no longer requires an expansion! Go to plugins/PlaceholderAPI/expansions and delete the DeluxeTags expansion. Restart the server afterwards.

simple nova
#

how to put head in material

#

custom head

stone edge
#

?dm-heads

tender vaporBOT
#
FAQ Answer:

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

simple nova
#

head-key

#

but i got steeve head

stone edge
#

make sure you are doing it correctly

simple nova
#

ah its basehead

#

ok works

merry ginkgo
#

Good day, im having issues with 3 of my plugins unable to hook into papi causing them to not enable and disable them upon start, any ideas why this may be

#

these plugins were working just 2 days ago and i haven't touched anything regarding them

stone edge
#

unless you share and error or something

#

i dont think someone can help you

#

just saying: use latest version

merry ginkgo
#

i am

#

their all roughly the same issue

stone edge
#

[09:25:49 WARN]: Caused by: java.lang.NoSuchFieldException: placeholders
[09:25:49 WARN]: at java.lang.Class.getDeclaredField(Class.java:2070)
[09:25:49 WARN]: at kangarko.chatcontrol.hooks.PlaceholderAPIHook.<init>(HookManager.java:576)

#

weird, looks like an issue with the other plugin

#

try asking its dev

#

placeholder api works completely fine

vivid sparrow
#

CC ๐Ÿคก

stone edge
#

imagine all plugins having issues

merry ginkgo
#

its 3 plugins made my 3 different devs all having the same console issue

#

doesn't seem like its the other plugin causing this

stone edge
#

is most likely than the others have issues

#

than papi

gritty sundial
#

Good day,
I downloaded the latest version of the plugin, but I can't use the command to download the skript extension. Console tells me that this extension could not be found.

stone edge
#

didnt know there was a Skript expansion thonking1

turbid tide
stark shard
#

Is there a %killer% and %victim% placeholderapi placeholder???

#

URGENT

#

๐Ÿค”

mint fable
#

Well, no there are not placeholders based on events

#

where are you trying to use placeholders like those?

austere hawk
#

you may need a plugin to grab those variables

honest arrow
#

Is there anyone who speaks German? ๐Ÿ™‚

tall apex
#

Guys where do I find live support?

sleek grove
mint fable
#

@sleek grove Where are you trying to use them?

#

You can use /papi parse me %placeholder% to test if the placeholder itself works

#

Is the Balance a placeholder as well?

#

that looks like it works

sleek grove
#

I am trying to use them in a deluxemenus -> baltop menu.

#

/papi parse lo_cl %vault_eco_top_balance_formatted_1% = 0

papi parse lo_cl %vault_eco_top_player_1% = nothing

#

My balance is $150 atm

#

%vault_eco_balance% works

mint fable
#

and what about /papi parse me %vault_eco_top_rank%

sleek grove
#

doesn't recognise it

#

I am getting the placeholder as output

#

Anything with %vault_eco_top_ doesn't seem to be working

warm topaz
#

the baltop placeholders were removed from the vault expansion, checked pinned messages for the updated essentials expansion which has them instead

mint fable
#

yikes

#

||removing features without having a new fix on the ecloud||

lethal basin
#

they are still on github list O_o

mint fable
#

older versions will still have them

#

It will most likely (hopefully soon) be edited when changed

lethal basin
#

good to know

mint fable
#

I just noticed that was 2 months ago

warm topaz
#

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

mint fable
#

@turbid tide When are we pushing that essentials build to the ecloud?

If you need something looked at for the baltop not running at the start, and adding a placeholder replacement for %vault_eco_top_rank% lmk

warm topaz
#

i dont think theres been any issues with that build so far, so might be worth asking blitz/glare if we can get it the ecloud

sleek grove
#

With the new essentials 'expansion', is there a replacement for %vault_eco_top_rank%?

mint fable
#

sheeet

#

there's one!

warm topaz
#

the expansion source hasnt even been updated on github ๐Ÿ˜
so idk if blitz has missed a placeholder in that message or not

mint fable
#

try downloading an older vault version

#

When was it removed?? september??

#

in 1.7.0?

#

wot

#

it says it's disabled by default

warm topaz
#

i think u have to go back to the 1.5.3 update or whatever it is

mint fable
#

@sleek grove check your config

#

maybe you gotta enable baltop

#

then run the /baltop command once most likely

#

then test

warm topaz
#

i dont think the setting works kek

mint fable
#

even 1.6.0?

#

damn

#

try 1.5.2

#

/papi ecloud download vault <version>

sleek grove
warm topaz
#

be warned tho u might experience some performance issues with the vault baltop placeholders, thats why they were removed

sleek grove
#

Mm okay thanks for the warning. I tried the essentials one but it didn't work properly. So I think I'll stick with the older Vault expansion for now.

mint fable
#

1.6.0 started caching them if that works use that

#

instead of 1.5.2

#

at least that's what the changelog says

#

@sleek grove

sleek grove
#

Thanks for letting me know, I'll give it a try

turbid tide
#

hello. I was pinged

#

I shall read the 200 sent messages and figure out what is going on now

turbid tide
# warm topaz the expansion source hasnt even been updated on github ๐Ÿ˜ so idk if blitz has m...

Ugh. first of all. I didn't make the update!
Star and Cube did!!! don't blame me please.
Second of all. The code is on github. just under a different branch I believe.
Third, the baltop is updated at the start @mint fable. its updated every time the expansion is loaded now bcz there's no realistic way of doing it only when the expansion is loaded on server start.
About the other placeholders tho, idk. I told star to make a 1 to 1 copy of them but he decided to not and instead even change other essentials placeholders. I could add them if you open an issue before we release, whenever that will be

warm topaz
#

@errant iron bad

mint fable
#

agree

#

Well Star lmk if you need anything so we can push that

#

I personally can't push it, but can help if any (other) placeholders are missing

sleek grove
#

The only vault placeholder related to baltop that is missing, is %vault_eco_top_rank% as far as I know.

mint fable
#

shakes stick at star ๐Ÿคฆโ€โ™‚๏ธ

empty ledge
#

[19:02:37 INFO]: [LocalTime] Couldn't get _Chriqsq's timezone. Will use default timezone.

#

why cant it get anyones timezone

austere hawk
#

I'm trying to create a placeholder for placeholderapi so other plugins can use it. Does anyone know why it doesn't work?

#
        if (player == null) {
            return "";
        }
        switch (identifier) {
            case "kills":
                return (ProfileManager.getProfile(player.getUniqueId()).getStat(PlayerStat.KILLS) == null ? "" : (ProfileManager.getProfile(player.getUniqueId()).getStat(PlayerStat.KILLS)));```
Error says `Operator '==' cannot be applied to 'int', 'null'`
warm topaz
#

im guessing getStat returns an int?

austere hawk
#

Yes

warm topaz
#

yeah, primitives cant be null hence why u cant compare it to null

#

so pretty much that whole line is redundant and can just be return ProfileManager.getProfile(player.getUniqueId()).getStat(PlayerStat.KILLS)
unless ProfileManger.getProfile can be null, in which case null check that instead

sweet current
#

how do you make the rainbow chroma effect shown on the website?

subtle oriole
#

Hi, can anyone help me? The javascript extension stopped working after I've updated my server to 1.18. I've updated the extension and the plugin.

tender vaporBOT
# subtle oriole https://paste.helpch.at/qavetixegi.md
Possible Solution Found:

Multiple bungee expansions loaded.
Go to plugins/PlaceholderAPI/expansions and delete all the BungeeExpansions, then execute a /papi reload. After that redownload the expansion using /papi ecloud download bungee then /papi reload.

subtle oriole
#

Wrong error

vivid sparrow
#

Download the latest js expansion

subtle oriole
stark shard
#

If you downloaded the latest papi plugin and restarted your server it should work

#

Delete the placeholder file entirely and let the jar file create a new one

#

the file may be corrupted

subtle oriole
#

Imma do that

#

Thank you!

stark shard
#

๐Ÿ‘

subtle oriole
#

Still not working.

stark shard
#

what version is your server?

subtle oriole
#

1.18.1

stark shard
#

That's probably why

#

problem is that a class is not being initialized I believe

#

and I think because papi may not be updated for that specific version

#

can you try on older servers?

#

OH

#

@subtle oriole you are missing a dependency?

#

I tried it on my server and it seems that you need a dependency to load this parse

#

Do you have the plugin that connects for it?

#

Make sure that plugin that you have as a dependency works for the version you are using or papi won't recognize a jar file that doesn't work

subtle oriole
subtle oriole
stark shard
#

Send the spigot link for it

subtle oriole
#

It's worldedit lol

stark shard
#

i dont think so

subtle oriole
#

worldguard*

stark shard
#

I have worldguard on my server and it doesn't recognize

subtle oriole
#

oh you mean from the other plugin?

#

Itemsadder works without any issues rn

#

just the javascript acting crazy

stark shard
#

ok

#

there might be more dependencies

subtle oriole
#

it was working without any issues before updating to 1.18

stark shard
#

so the version change is the problenm

#

one of the dependencies is not compatable with the update

#

as i mentioned before

subtle oriole
#

That can't pe possible as I've updated everything to 1.18

stark shard
#

that doens't mean it's compatitable

#

unless region is not a placeholder but i doubt that's the case

#

maybe it's called something else

subtle oriole
#

the javascript was supposed to identify the region and then turn it into a itemsadder image.

#

Tried both of the placeholders separately and had no issues

stark shard
#

so maybe they are not compatiable with each other in the newer versions

stark shard
subtle oriole
#

oop-

#

The spigot page says that it is

stark shard
#

the discord is more reliable

fathom path
#

Hey. Is there some easy way to create custom placeholders with a command? Say I have an equation and want the result of that stored as a placeholder, can I do this with PAPI or do I need some extrenal plugins for this?

#

The reason I'm looking for something like this is that I'm using CMI to calculate two placeholders together, and would like to use this result with a third plugin. This third plugin doesn't allow the formatting I need for CMI placeholder to work. So I'd like to store that CMI placeholder result in a placeholder the third plugin can actually read. ๐Ÿ™‚

sleek grove
fathom path
#

I will look into that, thanks.

primal steppe
#

on the Javascript expansion how would I write a message to the server console (for debugging purposes)

woeful dagger
#

How would I add a date to my scoreboard?

vivid sparrow
#

@primal steppe try System.out.println or() PlaceholderAPI.static.getInstance().getLogger().info()

primal steppe
#

ill try the second one because i already tried the first one and it didnt seem to work

#

how do i use the second one

#

like where to i put the message

#

or like what does it do ahah

#

javax.script.ScriptException: TypeError: PlaceholderAPI.static.getInstance is not a function in <eval> at line number 2

#

oh its as simple as print() ahah

woeful dagger
sleek grove
austere hawk
tender vaporBOT
primal steppe
#

In using the Javascript expansion
okay so this:

print(args[0]);
print(cost);```
 prints the following in the console:

1
0.33But this gives a null error when i try to parse itvar cost = parseFloat("%deluxeshop_"+args[0]+",sell%");```
Why would that happen??

#

args[0] is 1 so why would it give an error when i put that variable there..

simple nova
#

need help with js expansion

woeful dagger
#

How do I show the amount of wins a player got in total in bedwars

#

on the scoreboard

simple nova
#

ur plugin should have placeholders

woeful dagger
#

I couldnt find the placeholder for it

#

its "clashwars bedwars"

simple nova
#

show plugin

woeful dagger
simple nova
#

well

#

show me the plugin

#

duno what plugin u r using

woeful dagger
#

its "clashwars bedwars"

sleek grove
simple nova
#

is that ur plugin

mint fable
simple nova
#

cj

#

got a question

mint fable
#

I'm sure tons of people can answer it ๐Ÿ‘

primal steppe
woeful dagger
mint fable
simple nova
#

can i extract email from authme in JS expansion

woeful dagger
#

@simple nova ^

mint fable
#
var placeholder = "%deluxe..."+args[0]+"...%"
var num = parsefloat(placeholder)
#

might help with when the placeholder is parsed

simple nova
#

in authme there is a command /authme email, shows registered email

#

and i want to replace it with symbol

#

like indicator

#

that player got email

#

js expansion

primal steppe
simple nova
#

so need to ask this in general ?

mint fable
#

whats the placeholder

mint fable
#

I just saw bedwars then authme and missed the js part

primal steppe
mint fable
simple nova
#

yea i wana try to make a script showing registered email but replaced with some indicator like a symbol

primal steppe
#

its related to the code you sent me yesterday

mint fable
#

%javascript...%

mint fable
woeful dagger
#

Treb did you find placeholders the plugin?

primal steppe
mint fable
#

surround with `` to escape formatting

primal steppe
#
var placeholder = "%deluxeshop_"+args[0]+",sell%";
var num = PlaceholderAPI.static.setPlaceholders(placeholder);``` also gives: `java.lang.NullPointerException: null`
primal steppe
mint fable
primal steppe
mint fable
#

when you /papi parse me %javascript_dm-refund_{item}%

#

but replace {item} with 1 ig

primal steppe
#

the placeholder doesnt do anything at the moment because i removed the script to debug, but this is what the script used to look like:js function fun() { var placeholder = '%checkitem_give_mat:{deluxeshop_{item},name},amt:{deluxeshop_currentAmount}%'; var notGiven = parseInt(placeholder); var buy = parseFloat("%deluxeshop_{item},buy%"); if(!isNaN(notGiven)){ return (notGiven*buy).toFixed(2); } return 0; } fun();

#

wait 1 second thats not right

#

but the item tag doesnt work so i pass in {item} so it becomes args[0]

simple nova
#

cj when u done here tell me if i can do this

primal steppe
mint fable
#
function fun() {
  if(args[0] == null) {
    return "No item specified";
  }
  var mat = PlaceholderAPI.static.setPlaceholders("%deluxeshop_"+args[0]+",mat%");
  var placeholder = PlaceholderAPI.static.setPlaceholders("%checkitem_give_mat:"+mat+",amt:{deluxeshop_currentAmount}%");
  var notGiven = parseInt(placeholder);
  var buyPlaceholder = PlaceholderAPI.static.setPlaceholders("%deluxeshop_"+args[0]+",sell%");
  var buy = parseFloat(buyPlaceholder);
  if(!isNaN(notGiven)){
    return (notGiven*buy).toFixed(2);
  }
  return 0;
}
fun();
#

what about something like that

primal steppe
mint fable
#

i put items instead of item

#

fix that

#

in the placeholder

primal steppe
#

do you mean that the other way round?

#

the variable is item

mint fable
#

yes

simple nova
#

quick question, can i use some parts of plugin in JS expansion?

primal steppe
#

because i did already replace the items with item

mint fable
#

I accidentally put items in placeholder

#

ah

#

ah well i see

#

the material is not gonna be the args

primal steppe
#

same error

#

i seem to get the error whenever i try and concatenate strings when settings up the placeholder

mint fable
#

same exact error?

primal steppe
#

yeah

mint fable
#

because the last error was to due with checkitem

#

and the material being invalid

#

it was not the same error from the start

#

or anything to do with js

primal steppe
#

well the last error only appeared because you were entering null into the checkitem material, but my initial error when i was doing print was because i was printing null

mint fable
#

well no, we were entering the item argument

#

instead if the material name

primal steppe
mint fable
#

ahhhh

#

setPlaceholders(BukkitPlayer, "")

#

fix all that and it should be workin

primal steppe
#
function fun() {
  if(args[0] == null) {
    return "No item specified";
  }
  var mat = PlaceholderAPI.static.setPlaceholders(BukkitPlayer,"%deluxeshop_"+args[0]+",mat%");
  var placeholder = PlaceholderAPI.static.setPlaceholders(BukkitPlayer,"%checkitem_give_mat:"+mat+",amt:{deluxeshop_currentAmount}%");
  var notGiven = parseInt(placeholder);
  var buyPlaceholder = PlaceholderAPI.setPlaceholders(BukkitPlayer,"%deluxeshop_"+args[0]+",sell%");
  var buy = parseFloat(buyPlaceholder);
  if(!isNaN(notGiven)){
    return (notGiven*buy).toFixed(2);
  }
  return 0;
}
fun();```
#

like so??

mint fable
#

ye

primal steppe
#

because that gives the same error

primal steppe
mint fable
#

print mat

#

and args[0]

#

why not

#

I gotta go to work real soon

primal steppe
#

line 5 is just print(mat);

#

sojs function fun() { if(args[0] == null) { return "No item specified"; } var mat = PlaceholderAPI.static.setPlaceholders(BukkitPlayer,"%deluxeshop_"+args[0]+",mat%"); print(mat); print(args[0]); var placeholder = PlaceholderAPI.static.setPlaceholders(BukkitPlayer,"%checkitem_give_mat:"+mat+",amt:{deluxeshop_currentAmount}%"); var notGiven = parseInt(placeholder); var buyPlaceholder = PlaceholderAPI.setPlaceholders(BukkitPlayer,"%deluxeshop_"+args[0]+",sell%"); var buy = parseFloat(buyPlaceholder); if(!isNaN(notGiven)){ return (notGiven*buy).toFixed(2); } return 0; } fun();

mint fable
#

i gotta go, but it's saying that args doesn't exist

#

never defined

#

try checking your papi config

#

make sure everything is right there

#

other than that I got no clue rn but I wish you luck

primal steppe
#

when i do print args[0] i get 1 in the console

primal steppe
vivid sparrow
#

try to separated the % from the rest of the strings

#

PlaceholderAPI.static.setPlaceholders(BukkitPlayer,"%deluxeshop_"+args[0]+",mat%");

PlaceholderAPI.static.setPlaceholders(BukkitPlayer,"%" + "deluxeshop_" + args[0] + ",mat" + "%");

primal steppe
#

tried it already, but when i concatenate the % to the start and end it just gets the same problem

vivid sparrow
#

iirc not separating them cause some problems

primal steppe
#

oh somethings working now

#

but not everything

primal steppe
tender vaporBOT
primal steppe
#

oops sry

#
function fun() {
  if(args[0] == null) {
    return "No item specified";
  }
  var mat = PlaceholderAPI.static.setPlaceholders(BukkitPlayer,"%" + "deluxeshop_" + args[0] + ",mat" + "%");
  var currentAmount = PlaceholderAPI.static.setPlaceholders(BukkitPlayer,"%" + "deluxeshop_currentAmount" + "%");
  var string = "checkitem_give_mat:"+mat+",amt:"+currentAmount;
  var placeholder = PlaceholderAPI.static.setPlaceholders(BukkitPlayer,"%" + string + "%");
  var notGiven = parseInt(placeholder);
  var string1 = "deluxeshop_"+args[0]+",buy";
  var buyPlaceholder = PlaceholderAPI.static.setPlaceholders(BukkitPlayer,"%" + string1 + "%");
  var buy = parseFloat(buyPlaceholder);
  if(!isNaN(notGiven)){
    return (notGiven*buy).toFixed(2);
  }
  return 0;
}
fun();```
austere hawk
#

toReturn.add("&7%server_time_dd MMM yyyy% Wargrounds");
Would anyone know how to make my internal scoreboard work with placeholderapi?

simple nova
#
  // Expand shorthand form (e.g. "03F") to full form (e.g. "0033FF")
  var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
  hex = hex.replace(shorthandRegex, function(m, r, g, b) {
    return r + r + g + g + b + b;
  });

  var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex);
  return result ? {
    r: parseInt(result[1], 16),
    g: parseInt(result[2], 16),
    b: parseInt(result[3], 16)
  } : null;
}```
#

can some1 tell me whats wrong with this

vivid sparrow
#

You are returning .. something

simple nova
#

what u mean

#

how should be ?

simple nova
tender vaporBOT
woeful dagger
#

Anyone know any win stats placeholder's?

turbid tide
#

win? win for what?

woeful dagger
#

Bedwars

#

Lke on the scoreboard I want it to list the amount of wins the player has

#

I tried looking for a placeholder for the plugin but I couldn't find one

simple nova
#

blitz

#

could u check the code

#

cus i get empty return

turbid tide
turbid tide
proud tide
#

how often do placeholders refresh?

#

like this one per exemple %math_0_{townyadvanced_town_townblocks_maximum}-{townyadvanced_town_townblocks_used}%

turbid tide
#

I know the math expansion caches it for a few seconds or something like that

simple nova
tender vaporBOT
# simple nova The script
Hey!

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

simple nova
#

Im getting empty result

unreal spoke
#

and got this error

stark shard
#

how to remove a placeholder from the ecloud?

stone edge
#

you can't remove something from eCloud lol

vivid sparrow
#

d;fields spigot potioneffecttype

ionic fractalBOT
#
Fields:
org.bukkit.potion.PotionEffectType%LUCK
org.bukkit.potion.PotionEffectType%HEALTH_BOOST
org.bukkit.potion.PotionEffectType%HERO_OF_THE_VILLAGE
org.bukkit.potion.PotionEffectType%SLOW_DIGGING
org.bukkit.potion.PotionEffectType%INCREASE_DAMAGE
org.bukkit.potion.PotionEffectType%WATER_BREATHING
org.bukkit.potion.PotionEffectType%WEAKNESS
org.bukkit.potion.PotionEffectType%CONFUSION
org.bukkit.potion.PotionEffectType%LEVITATION
org.bukkit.potion.PotionEffectType%SPEED
org.bukkit.potion.PotionEffectType%REGENERATION
org.bukkit.potion.PotionEffectType%GLOWING
org.bukkit.potion.PotionEffectType%INVISIBILITY
org.bukkit.potion.PotionEffectType%SLOW
org.bukkit.potion.PotionEffectType%POISON```
vivid sparrow
mortal wind
#

Is there any way to figure out if one server is whitelisted from another server? Im trying to use something like %server_has_whitelist% on my lobby to tell if a different server has its whitelist enabled

lethal basin
#

No I dont think so

stark shard
stone edge
#

Delete?

#

Clear?

#

eCloud can only be modified by his owner (papi dev)

#

If you mean remove your expansions, delete the files in Expansions folder

smoky spoke
#

i wanna suggest about an option that checks specific gui slots like anvil slots
so i can utilize it on my custom items plugin to block specific enchantments and etc

stone edge
#

just wondering, example? (im not papi dev, just wondering)

drifting snow
#

How can I import javascript packages in javascript expansion's scripts

sharp pine
#

It is possible if you did not do /papi ecloud download Vault

#

and it is also possible that superlobby would not have papi support

#

i prefer using %luckperms_prefix% xd

primal steppe
#

With the gradient expansion can i add format codes to the message like '&l'

tired ice
#

what is the placeholder for online op'ed players?

#

is there one?

stone edge
#

you checked wiki?

tired ice
#

yeah

#

i cant find anything

stone edge
#

yeah, doesnt exist

tired ice
#

okay

stone edge
#

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

tired ice
#

thanks for help

stone edge
#

you can always code it ๐Ÿ˜›

tired ice
#

I guess

#

also I know this placeholder exists because i've seen it before on other servers, but whats the placeholder for lifetime players joined? i cant find it on the wiki

stone edge
#

thats called

#

unique joins

tired ice
#

okay

#

thanks

stone edge
#

is not hard

#

you simply say:

#

it returns my prefix

#

instead of target

#

or similar

#

indeed

#

dont setPlaceholders for you

#

set it for him

#

i dont think its your plugin

#

the one you ahve problems with

#

so you wrote the code

#

udemy

#

._.

#

PlaceholderAPI.setPlaceholders

#

dont user your player

#

use the target

#

or viceversa

zealous ledge
#

Is there an expansion that allows me to add countdowns? For example a something that would count down lets say 10 seconds so it would go 9 seconds, 8 seconds (etc)

stone edge
#

afaik

#

server expansion has a countdown thing

#

but you need to set the target date/time

#

i think what you want is an expansion that converts milliseconds to pretty ms

#

like 1000 => 1s

#

(yeah, i dont know any)

zealous ledge
#

Ok, ty

stone edge
#

what do you need that for?

#

i mean, if you want to convert remaining time of something

#

that plugin should probably add a placeholder for it

zealous ledge
# stone edge what do you need that for?

I'm making an item generator with skript and I have a hologram over it which I want to display a countdown till the next item spawns (these countdowns can be 1.5 seconds to like 10 seconds)

stone edge
#

skript

#

๐Ÿ™ƒ

zealous ledge
#

Yeah

#

I'm using a mix of Skript and Custom Java Plugins

stone edge
#

naaa, you still using skript

#

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

#

and how you plan to link

#

the data to placeholder

zealous ledge
#

I have that covered, I just need to know if theres a countdown expansion

stone edge
#

server expansion

#

has countdown thing

#

you need to specify the end date tho

#

that means you cannot repeat the countdown

#

until you modify it i guess

zealous ledge
#

Alright I'll look into it, thank you

stone edge
lost lagoon
#

ะฟะพั‡ะตะผัƒ?

#

ั ะฟั€ะพัั‚ะพ ะฟะตั€ะตะทะฐะณั€ัƒะทะธะป ัะตั€ะฒะตั€ ะธ ะฟะธัˆะตั‚ ะพัˆะธะฑะบัƒ

unique saffron
#

hello please help

tender vaporBOT
#
๐Ÿ“‹ Your paste: ๐“๐“ฒ๐“š๐“ธ๐“ฃ๐“ฒ๐“_๐“”๐“ท๐““
https://paste.helpch.at/tobuxuruwo

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

drifting snow
#

How can I import javascript packages in javascript expansion's scripts

stone edge
urban smelt
#

Hello can i use "require" for my Javascript placeholder.

dense trail
#

Is this correct

    view_requirement:
      requirements:
        anythinghere:
          type: javascript
          input: '%vault_group%'
          expression: '"INPUT".indexOf("iron") != -1 || "INPUT".indexOf("gold") != -1 || "INPUT".indexOf("diamond") != -1 || "INPUT".indexOf("emerald") != -1 || "INPUT".indexOf("ruby") != -1'
stone edge
#

I guess you can

#

Javascript engine read it as code

#

So you should be able to

grand shard
#

Why am i facing issues when i try to use the placeholder
%mysqleconomybank_balance%

#

not only this i am facing issues when i try to use any mysqleconomy bank placeholder

urban smelt
#

don't know the require

stone edge
#

And the error is?

#

unknown symbol require?

urban smelt
stone edge
#

lmao

#

Can you show the content

potent fog
#

hiya! was wondering if it were possible to add a certain time to this? %server_countdown_dd.MM.yyyy_01.03.2022%

urban smelt
#

Let me upgrade it to github

stone edge
#

The content of the script ๐Ÿคก

stone edge
#

i'm facing issues with %this_is_a_random_placeholder%
Please help me without giving any details about what is not working or if i have errors

grand shard
#

my all extensions working fine but error with the mysqleconomy bank because i installed that extension today ig

stone edge
lethal basin
unique saffron
#

answer me

#

please

maiden knot
#

How add placeholder to Html Website?

stone edge
#

is that possible?

celest anchor
#

i cant download skript with /papi ecloud download skript

stone edge
#

and what is says??

celest anchor
#

it says not found

stone edge
#

then its not found

celest anchor
#

failed to find an expansion named skript

#

but there is skript

#

at the github

stone edge
#

yes and no

#

its not a verified expansion

celest anchor
#

bruh

stone edge
#

bruh what

#

its not a verified one

#

ask the dev to verify it

#

or download it manually from the github

celest anchor
#

k

mint fable
#

there's 4 skript expansions on the ecloud and that isn't even one of them lmao ๐Ÿ˜‚

celest anchor
#

i get an error loading skript expansion

mint fable
#

makes sense

celest anchor
#

i manually downloaded it

mint fable
#

I'd recommend the one on the ecloud at least

#

it was updated most recent (august 24, 2021)

#

click that download this

celest anchor
#

{"Detail": "Expansion does not exist.", "Error": 1}

mint fable
#

gotta click it

celest anchor
#

and btw i already have it

mint fable
#

oh wait

#

weird

celest anchor
#

but it loads with an error

mint fable
#

maybe it was renamed or soemthing

#

it was

#

weird

mint fable
celest anchor
#

ye

#

it loads with an error

mint fable
#

completely different

#

I have no idea what that is

celest anchor
#

ill download this one

mint fable
#

and also more outdated

celest anchor
#

ill tell u if it worked or not

#

Could not load 'plugins/Expansion-Skippi_NOjwIyx.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml

mint fable
#

ah, did you do the same with the last one?

celest anchor
#

ye

mint fable
celest anchor
#

oh

#

xd

#

wait ill try

#

It loaded

#

๐Ÿ™‚

mint fable
#

noice

celest anchor
#

it returns a n/a

#

"does not give a numeralic value"

mint fable
#

what does

#

the placeholder?

#

or where you're trying to use it

celest anchor
#

it should create a leaderboard with ajleaderboards

#

but the placeholder gave me a error

mint fable
#

so /papi parse me %skript_<variable>% is erroring?

celest anchor
#

ye

#

oh wait i didnt try that

mint fable
#

might have to re-check your skript configuration or try contacting the dev

#

could also see if anybody in skript's discord knows anything that could help you

celest anchor
#

uhh is that right that it returns "N/Aplayer%"

mint fable
#

probably not

#

what did you try?

celest anchor
#

do i need the < >

mint fable
#

/papi parse me %skript_player%?

mint fable
celest anchor
#

/papi parse me %skript_{money::%player%}%

mint fable
#

oh that's why

celest anchor
#

{money::%player%} is the variable

mint fable
#

you can't put %player% in it

celest anchor
#

oh

#

so only player

mint fable
#

wait

#

hmm

#

is %player% a skript thing?

#

or are you trying to pass the player's name?

celest anchor
#

it displays the player's money

#

that im trying to do with leaderboard

mint fable
#

ye not gonna be possible if the variable contains %

#

ohh wait

#

you could try...

#

I feel I got your hopes up, sadly this won't work

celest anchor
#

oh

mint fable
#

the skript expansion doesn't let you parse other placeholders in the variable

#

I was going to say use the ascii expansion to get a %

celest anchor
#

what if i do %player% as a *

#

so it would be

#

{money::*}

mint fable
#

sure?

#

I don't know skript

celest anchor
#

i will try

mint fable
#

๐Ÿ‘

celest anchor
#

but i gtg for now i will tell you when im back home and tried

celest anchor
#

im back imma try it now

#

ok so

#

i tried it

#

with /papi parse me %skript_{x}%

#

and it returned an "N/A"

celest anchor
tender vaporBOT
# celest anchor didnt work
Hey!

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

mint fable
#

is the variable {x} or x

celest anchor
#

{x}

mint fable
#

I really recommend asking in a server where people know skript tbh

celest anchor
#

wait ill set it to x

#

oh thats impossible

#

well ill just go continue look at skunity to find it

austere hawk
#

Sooo I have economy formatting (vault) setup right as far As I Can see but when going over 1q It breaks and just showing numbers instead of the formaatted

urban smelt
#

๐Ÿ˜ช i will upload the js file tomorrow. I already turn off my pc

austere hawk
#

it breaks on quintillions and then completly gets wrecked in the hextillions

tropic flame
#

how do i get it to show things like balance: q, qi, H for %vault_eco_balance_formatted%

#

cant find it anywhere

#

we are using vault

austere hawk
stone edge
#

ints are ints

#

unless its your plugin

#

i dont think so

#

1 000 000 000 000 000 000 000 000 000 000,

#

thats way too much money

#

dont expect too many plugins

#

to support more than that

austere hawk
#

Well On other server that I know has the same they din't break like that so I'm guessing its the plugin thaats fcked then maybe?

#

we have less then that when it breaks

tropic flame
#

quadrilion works fine

#

qi is next but wont update

loud swan
#

does placeholderapi always return string values when used in configs?

#

I ask because I'm looking to parse and evaluate an expression in a config file using a value that a placeholder returns

also, can anyone tell if it's possible to create my own variables in a config

looking to do something like this

x = %placeholder%+1
then be able to call the variable in the (votingplugin) config where it executes a command when triggered by a vote:
/lp user %player% permission set limit.x

hence calling the x variable there

sacred hazel
#

theres an expansion to let me know the world size in GB?

stone edge
junior gyro
#

hey, im trying to integrate my plugin into papi to have a custom placeholder, but it doesnt look like the onRequest method in my custom placeholder class is every firing... Thanks!

#

i would assume that would fire anything a plugin tries to update any placeholder?

#

my placeholder appears registered in /papi list

stone edge
#

what is exactly not working

#

and you probably added debug messages

#

if not, do it

junior gyro
#

the placeholder is just showing %blah%

#

and yes i added debug

#

but its not sending that

#

lemme get ss

#

o i cant send ss