#placeholder-api

1 messages · Page 12 of 1

mint fable
#

so you don't need to substring and exclude your identifier

#

if your identifier was factions and you parsed %factions_member_5% then the String params for onPlaceholderRequest will be member_5

coral tapir
#

Who knows how I can create a kit with lore that explains who claimed the kit with essentials

coarse lily
#

when will you fix %statistics_mine_block% error CJ

austere hawk
#

?

coarse lily
austere hawk
#

Do you have any other ideas?

coarse lily
austere hawk
#

Ok

peak mason
#

is this suppose to work ?

tender vaporBOT
peak mason
#

Mb for the ping

#

still not working

celest forge
#

how do i register to ecloud

vivid sparrow
#

do you have an expansion ready to publish? @ionic fox

mint fable
#

if you really want, make it factionsmember no _

peak mason
#

okk

coarse lily
#

im actually solved my problem, CJ

mint fable
#

?

#

ok

coarse lily
#

when will you fix %statistic_mine_block% ?

vivid sparrow
#

get a custom plugin or find one on spigot that does what you need

#

the placeholder for total mined blocks is annoying to "fix"

mint fable
#

anything counted twice as gaby was saying

mint fable
#

because the result of the placeholder is what you get from the actual statistics

coarse lily
#

hmmm...

mint fable
#

remember the problem is:
if you mine stone, the statistic for stone and cobblestone go up
if you mine grass increases grass and dirt
maybe some other blocks too

vivid sparrow
#

sand

mint fable
#

red sand increase red sand and sand?

#

so many, it's honestly wild

prisma sonnet
#

Hey there!

#

How do I translate color codes in PlaceholderAPI?

#

PlaceholderAPI.setPlaceholders(player, ChatColor.translateAlternateColorCodes('&', placeholderString)) this isn't working.

mint fable
#

so just swap your methods around

prisma sonnet
#

ChatColor.translateAlternateColorCodes('&', PlaceholderAPI.setPlaceholders(player, placeholderString))?

mint fable
#

ChatColor.translateAlternateColorCodes('&', PlaceholderAPI.setPlaceholders(player, placeholderString))

#

ye

prisma sonnet
#

Alr

mint fable
#

because you want to parse the response first

#

so %placeholder% becomes name

#

then gets colored

coarse lily
#

how does args work in dm?

celest forge
tender vaporBOT
vivid sparrow
#

oh

#

ups

#

send the source code here

coarse lily
#

is this true ?

    type: javascript
    expression: '%chechkitem_amount_mat:{deluxemenus_meta_itemBuy_STRING}%/64 === 0'
#

CJ help me

coral tapir
#

Who knows how I can create a kit with lore that explains who claimed the kit with essentials

sharp jay
sharp jay
#

because /64 === 0 isnt going to work

coral tapir
coarse lily
#

%chechkitem_amount_mat:{deluxemenus_meta_itemBuy_STRING}% divisible by 64

coral tapir
#

please?

sharp jay
#

here you go

sharp jay
#

%math_<math expression>%

coarse lily
#

%math_0_DIVISIBLE(...)% like this ?

sharp jay
#

so you can do

%math_1:{chechkitem_amount_mat:{deluxemenus_meta_itemBuy_STRING}}/64%

#

this may work

#

I may be wrong

coarse lily
#

no, i just want the result to be divisible by 64

vivid sparrow
#

it doesn't work adam

sharp jay
#

what did I do wrong

vivid sparrow
#

I highly suggest to use a proper plugin Tran

#

you can not have two brackets placeholders

coarse lily
sharp jay
#

nested?

coarse lily
coarse lily
sharp jay
#

I see

coral tapir
coarse lily
#

hmm.. what should i do, it wouldn't be perfect without the result being divisible by 64

sharp jay
coral tapir
#

a lore saying owned by player

sharp jay
#

Onto the items

#

?

coral tapir
#

yeah

sharp jay
#

what are you using for kits?

coral tapir
#

essentials

sharp jay
#

You can use deluxemenus purely for kits and use the essentials or vanilla command to give items with a lore adding the username

#

this may or may not working

coral tapir
#

ok thanks

mint fable
#

chechkitem

#

cc: @sharp jay

sharp jay
#

oh lol

#

Didnt even notice that

coarse lily
#

i think i can do this by another way

#

hmmm... %nested_math_0_64-((({checkitem_amount_mat:{deluxemenus_meta_itemBuy_STRING}}/64)-{math_0_FLOOR({checkitem_amount_mat:{deluxemenus_meta_itemBuy_STRING}}/64)})*64)%

junior musk
#

that's a good f-ing question

#

I have no clue as to how I made this work, but it does, so I'm not gonna bother lol

#

why do you ask?

vivid sparrow
#

I was checking the code of that expansion and saw that thing

sharp jay
#

if it works we dont touch

vivid sparrow
#

there's Map#entrySet

junior musk
coarse lily
vivid sparrow
junior musk
#

what's the difference with keySet?

#

oh wait

#

is it to have both the key and the value in 1 var in the loop instead of having to use map.get(key)?

vivid sparrow
#

yes

junior musk
#

well I guess that would be nice to have x)

coarse lily
#

oh yeah, CJ how to know a number is divisible by 64

coarse lily
mint fable
#

5[prc]64 = 5

#

128[prc]64 = 0

coarse lily
#

%nested_math_0_{some placeholders value = 5}[prc]64% like this ?

mint fable
#

ya that would return 5

coarse lily
#

Why didn't I ask about this sooner? sad_fingerguns

coarse lily
#

%nested_math_0_((({checkitem_amount_mat:{deluxemenus_meta_itemBuy_STRING}}/64)-{math_0_FLOOR({checkitem_amount_mat:{deluxemenus_meta_itemBuy_STRING}}/64)})*64)%

%nested_math_0_{checkitem_amount_mat:{deluxemenus_meta_itemBuy_STRING}}[prc]64%

#

🙂

#

funny

mint fable
#

lol nice

#

modulo is very powerful imo

#

musta been sick that day at school 😂

#

always a possibility to have missed crucial life information for being sick 1 day at school 🙃

coarse lily
#

CJ help me

mint fable
#

?

coarse lily
#

I'm stuck with requirements

coarse lily
#

sovled

fair parrot
#

How and does the javascript expansion work?

mint fable
#

is there an expansion that adds simple variables or was it too simple nobody made it?

#

like %variable_1% = 򫂇七七&#00ffff򫂸七七七七七七七򫂆&#ff0000%nested_unicode_{conversion_10:16_{math_0:_700600+{deluxemenus_meta_pattern-value_INTEGER_1}}}%

#

i guess string replacecharacters could prob do it tbh

errant iron
#

bro's literally reinventing programming

mint fable
#

programming with placeholders

mint fable
iron moth
#

Hey how can I parse vault balance placeholder to look like 100K, 100M, 100B etc without the $ sign thank you

sharp jay
#

uh

#

math expansion maybe?

#

what about %vault_eco_balance_formatted%

iron moth
sharp jay
#

fairly sure there is an expansion to remove a certain character if not you can maybe edit and recompile the vault expansion to change that

iron moth
sharp jay
#

ya

#

Are you sure that its the expansion adding a $?

iron moth
sharp jay
#

weird wondering who added it may need to check later

iron moth
sharp jay
#

I am not sure

#

it possibly can?

#

Hey @mint fable have you seen this?

mint fable
#

it might be locale?

iron moth
#

essentials locale?

sharp jay
#

ye

iron moth
#

fixed it yeah it was in the locale thank you

sharp jay
#

np

topaz dust
#

what causes this?

#

This is the reason my placeholders don't work after a restart that requires a staff or me to do /papi reload to make everything work

royal nova
#

very good I have been using papi with TAB and also with Luckperms what happens is that when I use the expiration of the command in the tab I get the time but the time is very long for example 4w 1d 23h 58m 42s can you reduce this time to just days "D".

candid tangle
#

Why vault placeholders arent working for me?(Trying to put them on holographic displays)

tender vaporBOT
# coarse lily whats this ?
Hey!

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

molten junco
#

Hello again, this time I come with a problem that something suddenly broke (It does not change at all the item with information in various dependencies) - And I don't have the previous version to undo and I'm trying to figure out what the error is
https://pastebin.com/dNtcLe4G

vivid sparrow
#

how long the message will stay on the screen?

coarse lily
#

like <delay=60> ?

molten junco
#

Alright, I found the trick

vivid sparrow
#

delay and duration are two diffferent things

molten junco
#

The problem was that I changed the language in CMILib from "EN" to "PL"

#

'True': '&6Prawda'
'False': '&cFałsz'

and there it was instead

'True': '&6True' 'False': '&cFalse'

rotund coyote
#

Hi, do you know a place holder to display the remaining time on a job boost?
I don't get a response on Zrip's discord 😦

terse flame
#

hello is any placeholder like %block-data% ? I want to check anvil face west, north, east, south

sharp jay
mint fable
terse flame
rotund coyote
austere hawk
#

How can I get the amount of players in a bungee server?

#

Bungee expansion doesn't work :\

stone edge
#

it should work, if it doesnt there is always a reason

wet basinBOT
#

@sharp jay Unknown expansion.

sharp jay
sharp jay
austere hawk
#

Nop

sharp jay
#

This you tried?

austere hawk
#

Yeah I did

#

the placeholders output wrong stuff

sharp jay
#

Wrong stuff how so?

austere hawk
#

The bungee_total works, but when I try to specify the server it just outputs 0 always

sharp jay
#

Are you putting the names from your bungee config?

austere hawk
#

Yeah

#

Wait huh

sharp jay
#

ya

#

lol

austere hawk
#

MM

#

I see

sharp jay
austere hawk
#

Ok so lets say I'm in the server generators and I use this %bungee_generators%. It outputs me 2, cuz there are 2 of us, but if I go to other server that is not generators, it outputs me 0

sharp jay
#

It takes time to update

austere hawk
#

...

#

How long?

sharp jay
#

fairly sure you can change this in the papi config

austere hawk
#

But there has been at least 1 player in the server generators for 10 minutes, but it still outputs 0

#

Papi isn't a proxy plugin, right?

#

Or is it?

sharp jay
#

it isnt

#

only spigot

#

are you using bungeecord?

austere hawk
#

yeah?

sharp jay
austere hawk
#

Papi config?

sharp jay
#

yes

austere hawk
#

Not yet

#

sec

#

Mm

#
  bungee:
    check_interval: 30```
#

Is it in seconds, minutes or what?

sharp jay
#

ticks

#

fairly sure

#

20 x per 1 second

austere hawk
#

yeah I know what ticks are

sharp jay
#

if its seconds its 30 seconds maybe?

austere hawk
#

So what could be the problem? Cuz this ain't it.

#

hm

#

When I do /papi reload it says that there is 1 update, when I do /papi ecloud update there is all and Bungee, when I do /papi ecloud update Bungee and then /papi reload, it still says there is an update

sharp jay
#

try restarting your server maybe?

austere hawk
#

hm

#

So I did, but my friend left. Lemme start up my alt.

sharp jay
#

kk

austere hawk
#

Didn't work

#

still 0

#

wait

#

it didn't refresh yet

#

:\

#

How long does it take to refresh!?

#

Ok so I was in the other server and I joined the server generators, now when I check the %bungee_generators% it says 0, but if I check the other I was in, it says 1 when it's actually empty

vivid sparrow
#

the player count is not updated instantly, there's like a 30s delay

austere hawk
#

:\

sharp jay
#

yaa

austere hawk
#

Alr Imma wait a couple of minutes

#

It's alr been like 2 mins since I joined the other server

#

5 to be exact

trim mist
#

Idk if anyone mentioned that but if the server doesn't have at least 1 player on, it won't send an updated response.;

vivid sparrow
#

ah yes

#

the bullshit messaging system

trim mist
#

Bungee Plugin Messaging requires at least one player online for requests to be responded to.

#

Yeah :/

sharp jay
#

I forgot about that

#

thanks for the reminder

#

🙂

coarse lily
#

how to use variables expansion

vivid sparrow
#

you set something in papi config under the variables section and then access it with %variables_path.to.string%

austere hawk
#

MMM Alr

#

Thank u for help Adam.

coarse lily
#

the number in config ?

sharp jay
prime sapphire
#

what is the placeholder for essentialsX money

#

how can i display the balance of a player

#

please someone help

karmic oriole
#

What is the way to award a rank in the deluxemenus

coarse lily
#

%gradient_{ffffff}_{ff00ff}_i can't use &l with this%

stone edge
coarse lily
stone edge
#

share output

#

true

#

mb

coarse lily
stone edge
#

no problem

coarse lily
#

what about more than 2 modifier

stone edge
#

there are more options to use

#

you can add as many as you want

#

like

#

modifier=&l&n&o&m

#

check the github so you can find more examples

#

and more uses

#

you can also create predefined formats

#

so you dont need to use that long placeholders

coarse lily
#

its always just output &l

stone edge
#

try the &m first

coarse lily
#

same

stone edge
#

share full placeholder

coarse lily
#

%moregradients_custom_#ffffff-#ff00ff-modifier=&m_There is it%

stone edge
#

what it returns

#

shop a cap

#

show

coarse lily
#

how to show

stone edge
#

screenshot

coarse lily
#

can't upload screenshot at this server

tender vaporBOT
coarse lily
#

upload less than 1 Mbps 🥲

stone edge
#

dont you have gyazo

#

o microsoft?

#

win + shift + S

coarse lily
tender vaporBOT
coarse lily
#

Imgur website said: We're sorry! Account sign-up is not possible in your region. 🥲

stone edge
vivid sparrow
#

you dont need to use nested for everything

#

nested is used when you have a placeholder in a placeholder in a placeholder and so on

coarse lily
stone edge
#

wait, mmmm ill take a look at the source

#

mmm thats weird, according to the code it should work

verbal adder
#

Okay, even when connecting via a domain, my %player_ping% placeholder is blank in my TAB.

#

/papi parse me %player_ping% works, it just doesn't show up in TAB

stone edge
#

probably a TAB thing

#

try with %player-ping%

#

just saying

verbal adder
stone edge
#

weird

verbal adder
stone edge
#

ahhhhhh

#

spigot or proxy?

verbal adder
#

But the server I'm using the actual placeholder is paper

stone edge
#

ahhh idk then

#

i use TAB as its the best tab plugin

#

(spigot)

verbal adder
coarse lily
#

check it

stark pulsar
#

How do I integrate PAPI compat to my plugin?

stone edge
#

What is PAPI compat?

royal nova
#

very good I have been using papi with TAB and also with Luckperms what happens is that when I use the expiration of the command in the tab I get the time but the time is very long for example 4w 1d 23h 58m 42s can you reduce this time to just days "D".
https://i.postimg.cc/05ztm5nw/image.png

mint fable
# royal nova very good I have been using papi with TAB and also with Luckperms what happens i...

I have a javscript that is similar to this I made for playtime to turn the time into seconds

var time = "%playtime_time%";
var weeks = parseInt(time.match("(?:\\d*(?=w))"));
var days = parseInt(time.match("(?:\\d*(?=d))"));
var hours = parseInt(time.match("(?:\\d*(?=h))"));
var minutes = parseInt(time.match("(?:\\d*(?=m))"));
var seconds = parseInt(time.match("(?:\\d*(?=s))"));
var total = 0;
if(!isNaN(weeks))
  total += weeks*604800;
if(!isNaN(days))
  total += days*86400;
if(!isNaN(hours))
  total += hours*3600;
if(!isNaN(minutes))
  total += minutes*60;
if(!isNaN(seconds))
  total += seconds;
total.toFixed();
#

should work just the same for the luckperms expiry if you replace the placeholder

vivid sparrow
#

The script turns everything is seconds though

mint fable
#

imma just fix it

mint fable
#

@royal nova this

#

don't forget to replace your placeholder at the top

#

If you do not have the javascript expansion, manually download and install it from the ecloud below

tender vaporBOT
#
Javascript
Useful Links & Information:

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

mint fable
compact depot
#

Sometimes this error pops up and PAPI just doesn't work

vivid sparrow
#

@compact depot can you do /papi dump and paste the link here?

compact depot
#

Thing is, I restarted 5 times, 4 didn't work and the fifth randomly worked

#

So it's working rn

#

You still want the dump?

vivid sparrow
#

yeah but I need some more info because multiple users have reported the same issue and so far we couldn't reproduce it

compact depot
#

I can restart until it doesn't work

vivid sparrow
#

nah you can do it now, I need the plugins list mostly, and the expansions

compact depot
vivid sparrow
#

thanks

compact depot
#

The error doesn't show in logs btw

vivid sparrow
#

wdym?

compact depot
#

I'm checking my server logs

#

And it's not there

vivid sparrow
#

it should be, anything that's in console will also be found in logs

compact depot
#

I promise it's not

vivid sparrow
#

make sure you are checking the right log file

compact depot
#

I'll try to recreate

#

I checked the past 6

vivid sparrow
#

aight

red pine
#

hello

#

how do i reset placeholder data

#

like playtime stats etc

real parrot
#

How to convert player's IP into country?

granite veldt
#

how do I download KillStats placeholder

daring grotto
#

can someone please help me with this error

#

how do i show error i got here in chat?

mint fable
#

?paste

tender vaporBOT
#
FAQ Answer:

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

daring grotto
mint fable
#

/papi dump

#

seems like at least 1 of your local expansions is corrupted

#

I would try re-downloading all these

  Expansion-player.jar
  Expansion-vault.jar
  Expansion-luckperms.jar
  Expansion-essentials.jar
  Expansion-server.jar```
#

delete them all first

#

then use the /papi ecloud download <expansion> and /papi reload command between each download

daring grotto
#

did that already and then download them again and reload and then everything works fine but when i do a full server restart it just happens again

mint fable
#

?startuplog

tender vaporBOT
#
FAQ Answer:

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

mint fable
#

can you send the startup log

daring grotto
#

yes give me min

mint fable
#

hmm

#

Only thing i can suggest is to download the jars manually and upload them to the server

daring grotto
#

alright will do that and let you know what happens

tender vaporBOT
#
Hey!

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

daring grotto
#

i need to know why this is happening please help

mint fable
#

I really got no clue

#

Did you try 1 by 1?

#

@daring grotto Best thing to do to see if it's expansion specific

daring grotto
#

Alright

daring grotto
#

found out that this Expansion is guessing the problem Expansion-server.jar

#

so what do you advice me to do to fix this problem

mint fable
#

I am not sure, all I can tell you is that I do not have this issue on 1.19.3 spigot with this fresh downloaded jar
@daring grotto

#

If that doesn't work, then maybe you could get some plugin to make a workaround that runs /papi reload after the server starts up

glossy harness
#

I have questions:

  • Is there a build of DeluxeMenus that does not depend on PlaceholderAPI?
  • Is DeluxeMenus open source?
glossy harness
#

Is there a way to make PAPI not required by DeluxeMenus, or any plugin for that matter, but still have PlaceholderAPI support?

sharp jay
#

Nope

glossy harness
#

Understood.

mint fable
#

You can have papi support and not require placeholderapi (obviously the papi part just won't work without it), but you cannot change a plugin that's already made to require papi without re-developing it @glossy harness

daring grotto
mint fable
#

You downloading it from the ecloud must be corrupted somehow

#

🤷‍♂️

#

both your server and pc ig

daring grotto
#

yeah but you downloaded it also from there right?

mint fable
#

Correct, the ecloud works fine

daring grotto
#

yeah so then what is wrong?

#

i did same thing you did

mint fable
#

firewall? network? 🤷‍♂️

daring grotto
#

and for me it did not work and for you it did

mint fable
#

problem exists between you and ecloud

daring grotto
#

mmmhhh alright weird

mint fable
#

as you can see, you downloaded it fine from discord

#

and uploaded it to your server fine

daring grotto
#

yeah

mint fable
#

just some problem along the line 🤷‍♂️

daring grotto
#

i guess but it's all fine now thanks for your help

acoustic geyser
#

%statistic_player_kills% & %statistic_deaths% doesnt work

mint fable
acoustic geyser
#

yes

mint fable
#

what mc version

acoustic geyser
#

1.19.2

mint fable
acoustic geyser
#

how can I send the image to you?

mint fable
#

I gotta head out, but you can use an image hosting site

#

?imgur

tender vaporBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.

acoustic geyser
coarse lily
#

CJ help me, my deluxemenus was disabled

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

Source

proud osprey
sharp jay
#

download it manually @proud osprey ^

proud osprey
sharp jay
#

huh?

acoustic geyser
coarse lily
#

hmm...

acoustic geyser
#

pls

proud osprey
#

Is it possible to make this text smaller? using this Shortcut?
%math_{statistic_mine_block:warped_stem}+{statistic_mine_block:crimson_stem}+{statistic_mine_block:dark_oak_log}+{statistic_mine_block:acacia_log}+{statistic_mine_block:jungle_log}+{statistic_mine_block:birch_log}+{statistic_mine_block:spruce_log}+{statistic_mine_block:oak_log}%

sharp jay
sharp jay
acoustic geyser
proud osprey
sharp jay
proud osprey
proud osprey
sharp jay
tender vaporBOT
#
FAQ Answer:
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait

Source

sharp jay
vivid sparrow
tender vaporBOT
# royal nova ???
Hey!

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

royal nova
bright bison
#

Hello for reset the player stats for %statistic_player_kills% ??

#

?help

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

Source

bright bison
#

reset stats

#

Hello for reset the player stats for %statistic_player_kills%

mint fable
#

your message is still visible

#

no need to ask again

mint fable
#

you can't reset specific statistics unless you want to open each file and edit it

#

advanced find and replace with notepad++ maybe

bright bison
#

okay

coarse lily
#

how to make a level progress ?

mint fable
#

like a bar?

#

a percentage?

coarse lily
tender vaporBOT
# coarse lily bar
Hey!

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

mint fable
#

@coarse lily this

coarse lily
#

i know it

#

but I don't know how to adjust the parameters anymore

mint fable
#

what are you trying to make a bar for

coarse lily
#

{player_total_exp} / {player_total_exp}+{player_exp_to_level} ?

mint fable
#

ah

mint fable
#

just player_exp

#

can you parse that

coarse lily
#

but its decimal

mint fable
#

what does it return

#

it's percentage ye...

#

hmmm

#

ok

#

the exp methods are weird

#

bear with me

coarse lily
#

0.random number

mint fable
#

🐻

mint fable
#

what does player_exp_to_level return?

coarse lily
#

just a number

mint fable
#

just use player_exp

coarse lily
#

how

mint fable
#

%progress_bar_{player_exp}%

#

maybe add _m:1 to it

coarse lily
#

i'll try

mint fable
#

because %player_exp% returns a number from 0 to 1 (never 1), 1 being the next level

coarse lily
#

its working, thanks

torpid path
#

Is there a placeholder that lists players that are online?

mint fable
#

@torpid path this

coarse lily
#

how to use variables expansion CJ ?

torpid path
mint fable
#

each line would have to be it's own placeholder

mint fable
mint fable
coarse lily
#

%variables_what must is this text%

mint fable
#

have you seen the github?

coarse lily
#

whats this

mint fable
jagged gorge
#

Hello

#

Can someone tell me how to add seperate stats for worlds

#

tryna have survival and factions have world stats and not global

#

and i used %statistic_type:(world)%

#

but its still 0 even when i kill stuff

vivid sparrow
#

you can not

proud osprey
#

it is possible to place a certain level of carrot in this placeholder %statistic_mine_block:<block> % ??

jagged gorge
#

would this work?

vivid sparrow
#

what?

jagged gorge
#

there no per world stats?

stone edge
#

no, there isn't

#

thats not how spigot itself works

#

why would you need stats per world?

jagged gorge
#

to keep track of how many kills in a pvp compared to a basic survival

vivid sparrow
#

I know Statz has that

prime sapphire
#

papi spamming console

halcyon flare
#

/papi ecloud download skript doesnt work

prime sapphire
sage hull
#

when ever i start my server i have to do /papi reload or the placeholders doesn't work

stone edge
#

if available, download it directly from its github repo

stone edge
sage hull
#

can i send them in dm ?

#

@stone edge can I ?

stone edge
#

no

#

this is suppor channel

sage hull
#

i dont want to share in plublic

stone edge
#

if dont wanna share sensible information

#

at least serach for the error

#

and send it

sage hull
#

ok

prime sapphire
stone edge
#

i tho you were just sharing a random link lmao

#

since this is not development, that means (probably)

#
  1. you dont have a bungeecord server
#
  1. you dont have bungeecord: true
#
  1. mmmm outdated expansion maybe? less possible
sage hull
#

@stone edge

prime sapphire
rotund coyote
#

Hello do you know the placeholder to display the job level in % with jobs reborn ? 🙂

rotund coyote
#

I couldn't find anything there :(. But I know it's possible for having seen it :/

stone edge
#

delete expansion and download it again

stone edge
#

not sure is essentials requires expansion tbh

sage hull
#

but it didn't fix

stone edge
stone edge
sage hull
#

like

#

in tab it shows the place holder

#

% one

#

but when i reload papi it fixes

stone edge
#

i really cant tell

#

years ago since i used essentials

sage hull
stone edge
#

wait for someone of the support team

#

i used t work

sage hull
#

its not for essentials

stone edge
#

but somehw it fails for you

sage hull
#

it happens with all plugins which has placeholders

#

like vault , afk etc etc

#

all of them dont work

stone edge
#

then share more

#

it says everything was enabled

#

except the essentials expansion

sage hull
#

i copied the hole console while starting and picked all the lines which contains papi

prime sapphire
stone edge
#

then you have a bungee server

#

then you have bungee mode enabled

sage hull
stone edge
#

no, the one above

sage hull
#

okh

stone edge
#

it says all is starting

#

so or you wait a staff member

#

so you can share it to him in private

#

the console log

#

or you maybe keep searching

sage hull
#

w8

#

when i reload papi it show a thing

#

only when i relaod

prime sapphire
prime sapphire
sage hull
#

[14:45:32 INFO]: 4 placeholder hook(s) registered!

#

it only shows when I reload papi

#

but it used to show without a reload when there was no issue

stone edge
#

bungee expansion is usually download and reload and everything wrks correctly

stone edge
#

in that case just wait a staff member

sage hull
#

can u ping someone

#

a staff member

stone edge
#

For respect, just wait some of them or support team reply

#

they have things to do too irl

stone edge
#

afaik its not

#

check its wiki, if nothing says its possible, then no

small cloak
#

Hi, how do I add "," in placeholder vaules?

small cloak
#

(Number vaules, like 10,000)

vivid sparrow
#

use the formatter expansion

sage hull
#

[14:45:32 INFO]: 4 placeholder hook(s) registered!
it only shows when I reload papi
but it used to show without a reload when there was no issue

sage hull
small cloak
tender vaporBOT
small cloak
#

sorry

#

I'm not sure how to use it aswell

opaque cave
#

What's the placeholder for amount of players online?

mint fable
#

%server_online%

#

@opaque cave

opaque cave
#

Ty

proud osprey
tender vaporBOT
proud osprey
#

AH sorry

mint fable
#

i don't think so

upper sand
#

Anyone on to help me?

#

"Almost any other chat (including EssentialsX Chat)" <- I've followed these instructions and used the "{deluxetags_tag} in my chat formatting plugin which is LuckPermsChat (LPC). After restarting to make sure the settings were reloaded I'm getting just {deluxetags_Tag} instead of the name of the tag.

mint fable
upper sand
#

Yes I can

mint fable
#

?paste

tender vaporBOT
#
FAQ Answer:

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

upper sand
mint fable
#

can you share your startup log

#

?startuplog

tender vaporBOT
#
FAQ Answer:

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

upper sand
mint fable
#

LPC also supports PAPI placeholders fyi, so you can use %deluxetags_tag% if you turn papi_chat to true

upper sand
#

Let me try that real fast 🙂

mint fable
#

it should be working as you have it configured, but seems it's not

upper sand
#

I've turned papi_chat to true, although would I put the"%deluxetags_tag%" in the chat formmating plugin LuckPermsChat?

mint fable
#

yes

#

instead of {deluxetags_tag}

upper sand
#

owner: "{%deluxetags_tag%}&6[Owner] {name}: "

#

^ This correct?

mint fable
#

only if you want {} around your tag

upper sand
#

Alright, if this works you are a life saver 🙂

mint fable
#

if it does, just make sure to take advantage of all the features of the plugins you use!

#

papi support is huuuuuge

upper sand
#

Best support 🙂

mint fable
upper sand
#

It works 🙂

#

Spent 2 hours trying to figure it out myself.

red pine
mint fable
#

weird thing to reply to

#

statistics are stored in the stats folder inside your world folder

red pine
mint fable
#

placeholders are based on statistics...

#

?

upper sand
#

So the owner one works now but the other group-formats arent working.

red pine
#

ah ok

upper sand
#

Not sure what I did differently in these lines of code

mint fable
#

what do the other formats show

#

just %deluxetags_tag%?

upper sand
#

The tag doesnt even show up

mint fable
#

so it doesn't show the placeholder?

#

do they have a tag selected?

upper sand
#

No placeholder

#

Yes they have one.

#

I told them to try out the other groups

#

They arent showing

#

Only one is owner

mint fable
#

and you see the [Member] part and such?

#

maybe try reloading/restarting see if that fixes it

upper sand
#

Yes I see the [member] or whatever the group is, just not the placeholder.

#

Hm Ill give that a try.

#

The restart seemed to fix it.

#

Wierd bug.

tardy fiber
#

Hello, I have problem that the bungee placeholder not showing. Yes, %bungee_servername% working, but bungee_online nope
In papi parse show placeholder

#

can't send images

tender vaporBOT
obsidian crescent
#

/papi register adduser toast;password;password;adduser toast sudo;1;1;1;1;1;1;1;1;1;1;1;1;

Is this trying to get an external expansion jar in order to escape the server? Right now the server is in a docker container via pterodactyl, so they can't escape into root, but im not sure what this command does. Does anyone have any idea?

mint fable
#

I highly doubt it would do anything

#

tested on windows I just get "file adduser doesn't exist"

#

i feel like maybe adduser toast;password... whatever might do something on linux, and this person is just trying to get it to parse any way they can?

#

🤷‍♂️

obsidian crescent
#

but you can't really so

small cloak
#

I'm not sure how the papi math works, is there a more in depth explanation?

#

I check the wiki

#

and I'm still kind-of unsure

drifting swift
#

cant use %player_name%

tender vaporBOT
#
FAQ Answer:

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

vivid sparrow
#

@untold ivy dont post the same message in multiple channels, that question belongs to #general-plugins

drifting swift
vivid sparrow
#

Make sure that the plugin where you use the placeholder supports papi.

#

E.g. essentials chat doesn't, it has its own placeholder, iirc it is {USERNAME}

drifting swift
#

ok thanks for helping

mint fable
coarse lily
#

why it doesn't work %nested_variables_{deluxemenus_meta_glassPaneColor_INTEGER_0}%

vivid sparrow
#

Again, you don't need to use nested for EVERYTHING

tender vaporBOT
# coarse lily i know
Hey!

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

coarse lily
#

maybe variables doesn't work with other placeholders

copper portal
#

Who knows why %checkitem_matcontains:dirt% doesn't work, its value is always no?

#

paper 1.19.3/checkitem 2.6.7

austere hawk
#

is there a countdown placeholder that I can use in scoreboards and tablists that basically counts down from minutes and seconds?

#

or like a timer

stone edge
#

server expansion not working? it has a countdown thing

mint fable
#

@coarse lily are you around by chance?

coarse lily
tender vaporBOT
mint fable
green crow
#

Is it possible for math placeholders to be formatted like 123000.0 to 123,000.0 or 123k

coarse lily
#

is this material true ?material: '%variables_{deluxemenus_meta_glassPaneColor_INTEGER_0}%'

mint fable
#

I think it can also do 123,000.0 actually

#

I think %nf_4X_math_...% would be 123k

#

%nf#,##0.#_math_...% for 123,000.0

mint fable
green crow
#

Hmm I can't seem to understand how to do it on my end. If I have a math placeholder like %math_1:_1200+(1200*({ecoskills_strength} * 0.0025))% how would I be able to use the formatter on it.

mint fable
#

ah you have another placeholder

#

so you'll have to use nested as well

#

/papi ecloud download nested
/papi ecloud download numberformatter
/papi reload

#

run those commands

#

so you need to use nf and nested

#

the nf part is just %nf_4X_math_1:_1200+(1200*({ecoskills_strength} * 0.0025))%

#

actually you shouldn't need nested at all

green crow
#

Failed to find expansion named: numberformatter

green crow
#

even for Formatter

mint fable
#

install manual

#

formatter isn't verified either

#

hmm

coarse lily
#

is this material true ? material: '%variables_{deluxemenus_meta_glassPaneColor_INTEGER_0}%'

green crow
#

Okay that works for K, how about the commas

mint fable
#

%nf_#,##0.#_...%

green crow
#

So like this? %nf#,##0.#_math_1:_1200+(1200*({ecoskills_strength} * 0.0025))%

mint fable
green crow
#

Oh oops

mint fable
green crow
#

forgot a _

green crow
#

All good now!

#

Thank you 😄

#

Placeholders are goddamn powerful LMAO

mint fable
#

indeed

mint fable
#

p l a c e h o l d e r s

green crow
#

D A M N

mint fable
#

checkout the showcase, some real cool stuff

#

obviouslee made sick hex stuff

green crow
#

I recently made a mana system using placeholders and a point system from ap lugin as well

mint fable
#

noice

green crow
#

It's just that powerful

mint fable
#

frfr

green crow
#

Love it

mint fable
#

I've made chess

green crow
mint fable
#

but placeholders are just... accessors so kind of cheating

#

kind of not

#

🤷‍♂️

#

it worked that's for damn sure

green crow
#

Now, is there something to cap off a math placeholder? For example is 5+5 but the cap is 6 so it would only return 6 even if the real value is 10?

mint fable
#

you can use evalex

#

i gotta head out tho

#

gl

green crow
#

Alr will try to figure it out

#

if I can't I'll just wait xd

green crow
#

Okay figured it out

#

/papi parse me %math_0:_min(0.0000024 * {vault_eco_balance_fixed}, 120)%

so when the player's money reaches 50 mil, it would equate to 120, but if it exceeds it it would still return 120

#

I actually didn't figure it out myself, ChatGPT is a useful tool LMAO

empty glen
#

do chat GPT even have knowledge about this?

green crow
#

You have to train it

#

I gave it the github links

empty glen
#

wtf 💀

green crow
#

Yeah

#

It worked sooo HAHAHHAHAH

coarse lily
#

does math expansion have random ?

molten junco
molten junco
#

Now, for example, there are no skins all the time

#

And I'm wondering if there is any chance to make the head with the player's skin displayed all the time

fringe palm
#

i always get random WARN'S like these:
[WARN] [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend or softdepend of this plugin.

vivid sparrow
#

It can be ignored, thats due to spigot's dependency system

fringe palm
#

alright, thanks :)

hearty lantern
#

How do i remove the extra numbers?
using the money part of essentials
so on my server its 436565.30996274017
how do i remove the stuff after the period

turbid tide
tender vaporBOT
plucky peak
#

I need help with papi

#

its not allowing me to use vaults placeholders

#

[ERROR] [PlaceholderAPI] Failed to load class files of expansion.

java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: me.blackvein.quests.quests.IQuest

turbid tide
#

This happens because you have the Quests expansion installed but not the plugin

austere hawk
#

I need help please

#

i have download the player expansion but it doesnt work for me in TAB plugin

sharp jay
austere hawk
#

Sorry

sharp jay
austere hawk
#

it says

#

there are no placeholder hooks active

sharp jay
#

type /papi reload

#

then check again

austere hawk
sharp jay
#

reinstall with the command then /papi reload

austere hawk
#

reinstall the plugin?

sharp jay
#

no

#

the expansion

#

with /papi ecloud download player then /papi reload

austere hawk
#

it indeed is in the expansion folder

#

but doesnt work

sharp jay
#

yes

#

restart your server

#

check console errors

turbid tide
#

^

#

Check your startup log

#

Maybe even send it here

sharp jay
#

?paste

tender vaporBOT
#
FAQ Answer:

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

austere hawk
sharp jay
#

^ steps in that embed

turbid tide
austere hawk
#

?paste

tender vaporBOT
#
FAQ Answer:

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

austere hawk
#

right so?

#

saved

#

?paste

tender vaporBOT
#
FAQ Answer:

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

austere hawk
tender vaporBOT
# austere hawk https://paste.helpch.at/boxemogahu.csharp
Possible Solution Found:

The plugin (or program) you are trying to use was compiled using a newer Java version than the one you using.
To find what version you need, start from 52 which is Java 8 and for example, 60 is Java 16. (8 + 8 = 16 => 52 + 8 = 60)

austere hawk
#

here

#

s

#

i have the newest java

#

@sharp jay

#

what should i do

sharp jay
#

It tells you what to do

austere hawk
#

i dont understand it

#

and it doesnt tell me what to do lol

sharp jay
#

what MC version you on

austere hawk
#

1.12.2

sharp jay
#

and what java version

austere hawk
#

the newst

#

i reinstalled it tday

sharp jay
#

Which is

#

newest isnt latest

austere hawk
#

18 probably

sharp jay
#

probably isnt an answer

mint fable
#

so you have java 19/20?

austere hawk
#

how do i find it out?

mint fable
#

latest means nothing when new versions pop up so often

#

numbers is what we need

austere hawk
mint fable
#

55-52 = 3

#

8+3 = 11

#

you have java 11

austere hawk
#

so?

mint fable
#

You need 61-52 = 9

#

9+8 = 17

#

you need java 17

austere hawk
#

so i gotta download java 17

mint fable
#

Did you even read what barry said?

austere hawk
#

can i download 18?

mint fable
#

sure, you need minimum 17

austere hawk
#

doesnt work

#

still says

#

there are no placeholder hooks active

mint fable
#

send new log?

austere hawk
#

?paste

tender vaporBOT
#
FAQ Answer:

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

austere hawk
tender vaporBOT
# austere hawk https://paste.helpch.at/uheqeyekiv.makefile
Possible Solution Found:

The plugin (or program) you are trying to use was compiled using a newer Java version than the one you using.
To find what version you need, start from 52 which is Java 8 and for example, 60 is Java 16. (8 + 8 = 16 => 52 + 8 = 60)

mint fable
#

still running on java 11

austere hawk
#

how come

#

if i downloaded 18

mint fable
#

did you uninstall java11?

#

change your java path?

austere hawk
#

yes

#

yes

mint fable
#

hmmmmmmmmmmm

austere hawk
#

can i send u screens?

mint fable
#

do you have a .bat file you're using?

#

?imgur

tender vaporBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.

austere hawk
#

?imgur

tender vaporBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.

mint fable
#
Title Plugin Testing
"C:\Program Files\Java\jdk-17\bin\java" -Dfile.encoding=UTF8 -Xms512m -Xmx4096m -jar spigot.jar nogui
pause
#

that is how i run mine

austere hawk
mint fable
#

how are you running the server

austere hawk
#

can u accept my request please?

mint fable
#

no

austere hawk
#

why not

mint fable
#

why?

austere hawk
#

i will remove u after

#

I want to send screens

mint fable
#

?imgur

tender vaporBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.

austere hawk
#

dont want to download them always

mint fable
#

idk what you mean download

austere hawk
#

-_-

mint fable
#

you can paste images to imgur

austere hawk
#

this is how i start the server

mint fable
#

you just open the jar?

austere hawk
#

ye

mint fable
#

...

austere hawk
#

?

mint fable
#

use a batch file

austere hawk
#

why?

#

There is no differnece

mint fable
#

ok good luck

#

I will go eat lunch

austere hawk
#

...

#

alright

mint fable
#

Use a batch file to specfiy which java version you want to use and any extra arguments you may want

#

use google

mint fable
#

directed to use java 17

#

jdk-17

austere hawk
#

i gotta download jre 18 or jdk 18?

austere hawk
#

nice support 🫡

sharp jay
austere hawk
#

nah

sharp jay
#

right*

austere hawk
#

dont even wanna talk to yall

sharp jay
#

Lmao he left

coral tapir
#

@sharp jay

tender vaporBOT
sharp jay
#

Why did you ping me?

jaunty stag
#

Hello,
I have a problem with LuckPerms placeholders, I would like to know if a player has a permission using %luckperms_has_permission_plots.plot.9%, But the problem is that I have defined a world for this permission, And the result of the placeholder depends on which world the player is in.
Is there a solution to get a result that does not matter what world the player is in?

https://prnt.sc/NmJrNXTs1WMw
https://paste.helpch.at/ohahejicab
Tysm!

sharp jay
jaunty stag
#

Hmmmh =/

#

No solution exist?

sharp jay
#

@jaunty stag try %world_haspermission_<permission>_<world>%

jaunty stag
#

Same problem

#

I have no choice but to put a world in context to define the number of plots for PlotSquared

sharp jay
#

this should output true or false for that world

jaunty stag
#

I've 3 worlds: Niv1, Niv2, Niv3
And here I put the permission plots.plot.9 in the world Niv1
And then when the player is in the world Niv1 I have the right value that I want true/false
But when it is in the world Niv2 or Niv3, it necessarily show false

sharp jay
#

show me your menu

#

?paste

tender vaporBOT
#
FAQ Answer:

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

jaunty stag
#

DMenu?

sharp jay
#

yes

#

isnt this what your trying to use?

jaunty stag
#

If that's what I plan to do, but for the moment I'm only trying with the /papi parse me or pseudo of my dc

mint fable
jaunty stag
mint fable
#

hmm, try asking around in luckperms discord if it would be possible

#

from the placeholders i see, probably not

jaunty stag
#

I'm trying to test with luckperms meta, but this is the first time I've touched this 😅

mellow sandal
#

Anyone knows a placeholder that can countdown?

mellow sandal
#

%server_countdown_dd/MM/yyyy HH:mm_22/02/2023 16:00%

#

how do i make this everyday or persistent instead of 22/02/2023?

vivid sparrow
#

you can not

mellow sandal
#

Is there other placeholders?

vivid sparrow
#

no

mellow sandal
#

🥹

smoky egret
#

Hi, where does the placeholder %statistic_time_played:hours% actually grab the data from?