#placeholder-api

1 messages · Page 16 of 1

turbid tide
#

Andre can you please not use interrogative affirmations for the wiki? It can get very very confusing for someone that uses them very rarely or not at all. (this is just a personal request)

#

Also, something seems to be broken here

#

Also, it seems like code snippets are no longer highlighted

arctic loom
turbid tide
#

Oh. That makes sense. For some reason I thought Commands is just a title in the same page.

arctic loom
analog flax
#

I submitted a review

#

I didn't go in depth on the grammar

turbid tide
#

Another note, this could create confusion and we might end up with people setting up their identifier as rel_identifier instead of identifier.

Maybe another way of phrasing it would be:

Relational Placeholders are always prefixed with rel_, meaning that a relational placeholder that has the identifier set as example with value friend looks like %rel_example_friend% when used.

analog flax
#

Tbh; I think that page needs breaking up into separate pages for internal/external expansions & API overview, it's quite long and wordy

#

I do also think individual descriptions of methods aren't useful in general

#

Like, that's best done in a Javadoc. Clear examples are much better

#

(which it has to be fair! it's not bad documentation, just a lot of the good stuff is buried in..words :P)

#

and so hard to find, and easy to walk into garden paths. I like the improvements you've made, though, Andre.

turbid tide
#

Those are the only notes I have. Other than that, William is not wrong. it might be best to split it up in pages.

  • getting started
  • internal expansion
  • external expansion
  • relational placeholders

or something like that

arctic loom
#

Personally, I feel like that at this point the wiki would be better of being put onto a page hosting like GitHub Pages... GitHub Wiki is just so limited and tools like MkDocs would provide much wanted extension and customization.

analog flax
#

I think you can have effective docs without overcomplicating it

#

Check plan docs for instance

#

Very similar situation for PAPI with expansions for data viewers for instance

#

Hosted on GitHub wikis and very effective and easy to read through and understand

#

And probably no longer or shorter than PAPI’s existing docs in terms of character count

zinc musk
#

so you suggested that I use %placeholder_color_luckperms_prefix% ?

junior musk
#

well if you're switching to TAB, you don't need to use that

#

but if you are sticking to TitleManager, then yes

zinc musk
junior musk
#

alr

vivid sparrow
#

make sure papi is imported right

sharp glacier
#

how

#

(sorry im new to plugin dev)

#

for the depencies compileOnly 'me.clip:placeholderapi:{VERSION}'

do i put placeholder api latest version?

vivid sparrow
#

you need to replace {Version}

sharp glacier
#

but what do i replace it with

vivid sparrow
#

a version, it is the same as the one from spigot

#

latest is 2.11.3

sharp glacier
#

placeholderapi version?

vivid sparrow
#

yes

sharp glacier
#

ah alright, ty

vivid sparrow
#

np

sharp glacier
#
C:\Users\Owner\OneDrive\Documents\law-mixer-uhc-core-dev\src\main\java\com\gmail\val59000mc\placeholderapi.java:16: error: package me.clip.placeholderapi.expasion does not exist
import me.clip.placeholderapi.expasion.PlaceholderExpasion; 
vivid sparrow
#

did you reload gradle?

sharp glacier
#

yes i did

vivid sparrow
#

hmm

sharp glacier
#

now its saying that

mint fable
#

PlaceholderExpansion

#

missing n

sharp glacier
#

LOL

vivid sparrow
#

yeah dont type imports manually

mint fable
#

was gonna say, your IDE should do this

#

if it doesn't find the import, don't write it, fix your project setup

vivid sparrow
#

and the name of the file should be the same as the class name

#

so, PlaceholderAPI.java (and perhaps use something else lol)

sharp glacier
#

thank you guys!

junior musk
#

cjjjj

#

so, what should I rename my expansion to? Parse?

#

or do you want something else?

vivid sparrow
#

util maybe?

junior musk
#

that's a good idea

#

yeah I like it

#

thanks

#

I'll re-upload it tomorrow after school

vivid sparrow
#

great

junior musk
#

btw should I update my PlayerList expansion to support multiple filters at the same time? like check for both a permission and a world for example
Would probably make it editable through PAPI's config and use identifiers in the placeholder though

mint fable
#

Sounds nice to have

random basin
#

I copied my config files to a test server and now only my nested placeholders arent working

uncut solar
#

hello why in the expansion files there is vault but in the papi list there is not here

mint fable
random basin
#

Which is kinda odd

mint fable
#

it does

mint fable
#

does discord just hide the rest of the link O.o

random basin
#

in my folder

mint fable
#

so weird

random basin
#

i'm a cs major and i dont even get it idk

#

it works in any text box

#

they somehow make invisible characters

mint fable
#

just all invisible ig

#

%E2

#

idk cs

#

so

random basin
#

okay I uploaded the extension and am restarting

mint fable
#

soo weird

random basin
#

it definitely doesnt hide it lol

#

pretty jank huh lol

random basin
#

🤷‍♂️

mint fable
#

lmao

#

wtf

random basin
mint fable
#

As I was saying earlier though, Tanguygab will upload Util soon

#

it will include nested as a function

random basin
#

i uploaded the expansion jar so i have it for now 😛

mint fable
#

for future use

uncut solar
#

hello why in the expansion files there is vault but in the papi list there is not here

mint fable
#

/papi dump

#

@uncut solar

uncut solar
#

ok and now

mint fable
#

send the link

uncut solar
mint fable
#

hmm might need an older version of the expansion

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
#

send that over this @uncut solar

uncut solar
#

?

#

logs

mint fable
#

yes

jaunty hatch
#

Hi there, I just updated to PAPI 2.11.3 and Paper 1.19.4 and it seems I'm getting a NoSuchFieldException in my console for the field ping. Has something changed with this? I did try updating the Player expansion but it didn't help.

https://i.imgur.com/3Wq4HPX.png

mint fable
#

Can you also send your log over with that error @jaunty hatch ?

jaunty hatch
#

Sure, one moment!

uncut solar
#

its over 6000 caracter

#

i don't can

mint fable
#

Send it using our paste website

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

uncut solar
tender vaporBOT
# uncut solar https://paste.helpch.at/kodudetalu.makefile
Possible Solution Found:

The version of the plugin you are using doesn't support 1.8 or lower as it's trying to a call a 1.9+ method.
To fix download an older version that is combatable with your spigot version or upgrade your spigot to a supported version.
For AutoSell: /ver AutoSell

tender vaporBOT
mint fable
#

oh my

uncut solar
#

what

mint fable
jaunty hatch
#

I do have another plugin that seems to be having a similar issue there so that's what I'm leaning towards as well.

mint fable
#

i see that

jaunty hatch
#

Is this something that would have to be fixed in PAPI itself or you think it's just something with the Player expansion?

#

Or you think the latest Paper release just has some weird bug in it? Lol

mint fable
#

no idea

uncut solar
#

no, the serv must remain in 1.8.9

jaunty hatch
#

I was able to clear up the other issue by updating ProtocolLib to the latest build that says compatible with 1.19.4. Unfortunately, the issue with TAB and PAPI Player expansion is still present.

uncut solar
#

so what is it, we can't solve the problem

jaunty hatch
#

Alright, so I've realized I cannot update the Player expansion. Every time I try to update, it says successfully downloaded, then tells me Failed to load expansion player. Identifier is already in use.

Logs: https://paste.helpch.at/moteliriku.makefile

#

Oh interesting, taking a look in the expansions folder, I see both a Expansion-Player.jar and Expansion-player.jar. I wonder how that happened.

#

Issue fixed!

Solution: The Player expansion was out of date. Somehow there were two versions of it with different capitalization file names in my expansions folder in the plugin folder. Stopping the server, deleting both, starting the server and downloading it fresh with /papi ecloud download player followed by a reload with /papi reload has resolved the issue with no more error in the console.

Thank you for your help, hopefully this helps anyone who runs into the issue as well :3

balmy marten
#

Reading the plugin page it looks like the plugin supports PlaceholderAPI, so you'll have access to these https://helpch.at/placeholders assuming placeholderapi is also installed with the relevant expansions

slim rune
tender vaporBOT
tender vaporBOT
slim rune
#

Sorry for ping btw,

marsh moss
#

I made a TAB placeholder, and when you restart the plugin and reconnect to the server, the suffix above the head is removed and writes %tab_tabsuffix%. Can I somehow fix it?

vivid sparrow
marsh moss
vivid sparrow
#

You said "I made" so I guessed you coded it

mint fable
slim rune
#

Yep Im

#

But still a have issue, /baltop force command cant changing the placeholders.

#

only If I use /papi reload it is work.

#

For now Im using Vault Expansion version 1.7.0

#

Vault Expansion version 1.7.0 have this solution in placeholderapi config:

  baltop:
    check_delay: 30
    cache_size: 100
    enabled: true```
#

Maybe you can option like this?

austere hawk
#

my ecloud not working

#

**/papi ecloud download ** then anything not showing

#

@gleaming charm? sry for ping

junior musk
mint fable
#

I believe they figured it out

junior musk
#

wot

vivid sparrow
#

update the placeholders @junior musk

junior musk
#

fak

#

I did in the expansion, the readme, but not on the ecloud lol

#

done

sharp glacier
#

can PlaceholderAPI.setPlaceholders take in List<String> as a param?

vivid sparrow
#

no

errant wedge
#

what was the command for trying stats

mint fable
#

parsing?

#

/papi parse <player|me> %placeholder%

errant wedge
#

yeah thanks lol i forgor

#

hmm wierd tho this isnt working /papi parse ChiruMC %playtime_player%

#

i know /playtime exists but i want to make a leaderboard using aj

mint fable
#

do you have playtime

errant wedge
#

yes

mint fable
#

playtime already has top placeholders

#

no need to use ajl

mint fable
wet basinBOT
#

@mint fable Unknown expansion.

mint fable
#

😮

errant wedge
#

not the expansion

#

and it doesnt appear ingame

mint fable
#

wrong plugin

#

mb

#

can you /papi dump

#

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

and/or send that over

errant wedge
mint fable
errant wedge
#

oh wierd

mint fable
#

but /playtime works? O.o

errant wedge
#

lol i though i didnt need a plugin i thought it was a default one

errant wedge
mint fable
#

statistic is the default one

mint fable
errant wedge
#

well i will install playtime i guess, or do i install playertime?

mint fable
#

whichever one works for you

#

or use the statistic

#

and make a leaderboard with ajl

errant wedge
#

o statistics has one

mint fable
#

many opptions

errant wedge
#

whats the stat called for statistics

mint fable
#
%statistic_ticks_played%
%statistic_seconds_played%
%statistic_minutes_played%
%statistic_hours_played%
%statistic_days_played%
%statistic_time_played%
%statistic_time_played:seconds%
%statistic_time_played:minutes%
%statistic_time_played:hours%
%statistic_time_played:days%```
errant wedge
#

Thanks allot

granite zephyr
#

hi, i want to know if there is a way to fix this. placeholderAPI does not return color codes, this happens with luckperms prefixes and in this case with the progress expansion

quasi meadow
#

need help with this

tender vaporBOT
#
Hey!

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

austere hawk
#

Why isn't Utils listed in wiki?

regal yew
junior musk
austere hawk
#

oh cool

frozen shoal
#

Hello !

I have this error on my "vote" script : https://mclo.gs/NpQWuJ2
The vote script is :

function sitesNombre() {
    var i = 2;

    if (BukkitPlayer.hasPermission("vote.site1"))
        i--
    if (BukkitPlayer.hasPermission("vote.site2"))
        i--

    return i.toPrecision(1)
}
sitesNombre()
turbid tide
proud tide
#

Hey everyone! How could we possibly check the NBT for an item, basically we're trying to create trades in deluxemenu, for example: 64 iron ingots will give 1 thick iron ingots

This is the command I use to give myself the item:

minecraft:give agaloth iron_ingot{display: {Name: '{"extra":[{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"T"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"h"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"i"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"c"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"k "},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"I"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"r"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"o"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"n "},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"I"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"n"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"g"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"o"},{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"t"}],"text":""}', Lore: ['{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":""}],"text":""}', '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":"Iron that was enriched"}],"text":""}', '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":"with more Iron"}],"text":""}', '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":""}],"text":""}', '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":""}],"text":""}']}, Enchantments: [{id: "imageonmap:____gloweffect____", lvl: 1s}]}

mint fable
#

all the same color stuff could be combined fyi to make that shorter

minecraft:give agaloth iron_ingot{display: {Name: '{"extra":[{"bold":true,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"#FBFBFB","text":"Thick Iron Ingot"}],"text":""}', Lore: ['{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":""}],"text":""}', '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":"Iron that was enriched"}],"text":""}', '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":"with more Iron"}],"text":""}', '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":""}],"text":""}', '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":""}],"text":""}']}, Enchantments: [{id: "imageonmap:____gloweffect____", lvl: 1s}]}

that might work

#

but for checking information, most likely want to check the lore here because lore can't be manipulated, but names could be

#

If you want to use a placeholderapi expansion, you can use checkitem

#

but deluxemenus also has has item built in where you can check if the lore contains Iron that was enriched (unique phrase to this item)

#

@proud tide

proud tide
late rivet
#

Im having some problems with the Player expansion with PAPI

#

But just with latest placeholderapi (2.11.3)

#

Player expansion works fine with the 2.11.2 one

#

With the latest one, it just returns text, i already tried renaming the whole PlaceholderAPI folder but still not working

#

When i do /papi parse me %player_name% or any other Player placeholder it just returns %player_name%

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 that over @late rivet this

late rivet
#

Give me a second

#

I cant send files

#

lmao, i thought it was my pc

mint fable
#

Please copy the contents and paste them to a paste service.
Type ?paste for more information.

late rivet
#

Its quite big

mint fable
#

it's ok

late rivet
#

Lemme paste it on a pastebin

mint fable
#

we prefer ours

#

?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

late rivet
#

Ohh

#

There

mint fable
#

you seem to have v1.0.0 of player expansion

#

run those commands to get the latest version

#

you have multiple player expansions actually

#

remove them all

#

use the command to download the latest

#

try again

late rivet
#

I did it

#

It says i have 2.0.4 (latest)

#

I've just tried /papi parse me %player_allow_flight% and it returns %player_allow_flight%

#

I dont have any other expansions in the expansions folder

mint fable
#

can yoou send a new startuploog

#

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

late rivet
#

?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

late rivet
#

I manually downloaded the latest one and restarted the server

mint fable
#

umm

#

you still have player 1.0.0

#

you said something earlier about renaming the papi folder?

late rivet
#

Mhm

mint fable
#

shouldn't need to rename anything...

late rivet
#

Ik, i renamed it to something else

mint fable
late rivet
#

So i dont loose my config

#

If i rename the placeholderapi folder

#

It should regenerate a new one

mint fable
#

sure

late rivet
#

without any expansions

mint fable
#

yes

late rivet
#

Ill rename it again

mint fable
#

okay, stoop the server first

late rivet
#

Okok

#

[17:59:27 INFO]: iStxfaa_ issued server command: /papi ecloud download player
[17:59:27 INFO]: [PlaceholderAPI] Fetching available expansion information...
[17:59:29 INFO]: iStxfaa_ issued server command: /papi reload
[17:59:29 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[17:59:29 INFO]: [PlaceholderAPI] Fetching available expansion information...
[17:59:29 WARN]: [PlaceholderAPI] Failed to load expansion player. Identifier is already in use.
[17:59:29 WARN]: [PlaceholderAPI] Cannot load expansion player due to an unknown issue.

mint fable
#

send whole log

late rivet
#

?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

late rivet
#

There

mint fable
#

you're still registering player 1.0.0 somehow

#

/papi dump

late rivet
#

Lemme send u the logs using PAPI-2.11.2

mint fable
#

type that send it here

late rivet
#

Ok

late rivet
mint fable
#

player iis froom something else

#

the author is LagBug

#

aha

late rivet
#

player [Author: LagBug, Version: 1.0.0]

mint fable
#

i think it's in emailer

#

I had the thought earlier

#

hmm doesn't seem like it

#

lookiing to see what oother plugins you have

late rivet
#

[18:14:54 INFO]: iStxfaa_ issued server command: /papi ecloud download Player
[18:14:54 INFO]: [PlaceholderAPI] Fetching available expansion information...
[18:15:01 INFO]: iStxfaa_ issued server command: /papi reload
[18:15:01 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[18:15:01 INFO]: [PlaceholderAPI] Fetching available expansion information...
[18:15:01 INFO]: [PlaceholderAPI] Successfully registered expansion: player [2.0.4]

#

^ Using PAPI 2.11.2

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
#

send the log please

late rivet
#

?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

mint fable
#

ah

#

it is emailer

#

I would contact lagbug to change that

#

they shouldn't use the player identifier

#

it should be emailer

late rivet
mint fable
#

the placeholder should then be %emailer_email%, not %player_email%

#

This is causing the issue

late rivet
#

Ohh

#

Nice

#

ok, thank you

mint fable
#

I would presume that maybe in 2.11.2, the 2.0.4 version loads, but shouldn't be

#

it might cause errors upon parsing

#

might not

#

🤷‍♂️

#

yep

#

Fix duplicate expansion loading by @Andre601 in #866

late rivet
#

Parsing works fine on this version

mint fable
#

you say "fine"

#

but things iin the background are noot workign fine

#

which is why it was fixed

late rivet
#

I see

mint fable
#

now only if

#

somebody could fix my keyboarrd

#

smh

#

😂

late rivet
#

My keyboard does the same shit

#

Start spamming when i press one letter

mint fable
#

mine is v old at this point fs

late rivet
#

or doesnt even work sometimes

mint fable
#

not worth gertting a new one

#

lol

late rivet
#

Mine is from 5 years ago lol

mint fable
#

damn reaching 7 years

#

ordered on 4/20/2016

#

nice

#

imma take a dab for that

late rivet
#

Wow

#

Thats a lot of time

mint fable
#

prob goonna last another 1-2 depending on if I get fed up with this or not lol

late rivet
#

U should make a fundraise

mint fable
#

lol

austere hawk
#

%essentials_balance%

#

check the wiki next time :) it has all placeholders

#

i just ctrl + f balance if its anything related to balance

#

oh wait im dumb, vault manages the economy

#

%vault_eco_balance%

#

sorry lol

pearl atlas
#

Does anyone know if it's possible to get the value of %essentials_is_muted% for another player?

***For example: *I am Player_1. I use a plugin to see player information and am looking at the punishment status of Player_2. In the GUI, it shows the value of %essentials_is_muted% for that player. I can see that they are muted.

pearl atlas
#

I might have found it

pearl atlas
#

I have found it

pearl atlas
austere hawk
pearl atlas
#

Yes

#

Also around the username

idle sundial
#

Can someone help me? I'm trying to set a playercount and its not really working, im using minecraft 1.19.4 and im trying to use the
papi ecloud download listPlayers
And it doesnt seem to be a command, this is the code too that im trying to run

      text:
      - "Lobby: %listplayers_in_world_<worldname>%"
      random: false
      interval: 1000
      score: "0"
sage kelp
#

Someone, please help. Tried to find how to call functions inside of Javascript extension, but found nothing actual. What am I doing wrong? I'm trying to parse placeholder from a multiple strings merged into one:

PlaceholderAPI.setPlaceholders(BukkitPlayer, pl + "1%");

pl is just a first part of placeholder string.

blissful grove
#

Can someone help, it says to do /papi download blabla but it says unknow command

austere hawk
#

Its /papi ecloud download

#

If its not downloadable then you could probably just use the placeholders on that plugin site.

austere hawk
#

brro

#

not WORKING

#

"502 Bad Gateway"

indigo geyser
#

What's the placeholder for Essentials Playtime?

sour stump
#

/papi parse deluded_ %commandtimer_EmeraldMarket_nextExecutionFormat% returns nothing

#

like its just blank

mint fable
mint fable
mint fable
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.

late rivet
#

Or i just need to wait LagBug to change that %player_email% to %emailer_email%

vivid sparrow
#

There is not bug with the player expansion, ask the developer to find another prefix as you said or to replace the internal placeholders and then papi.

junior musk
trim mist
#

Well then PR the changes

junior musk
#

oh right, forgot I could do that 😅

#

can I get my expansion verified as well?

trim mist
#

Mhmm

junior musk
#

thanks :D

sour stump
tender vaporBOT
sour stump
#

It's do to with the plugin itself and not PAPi

#

so its all good ty

earnest cape
#

Does PAPI maintain the LocalTime placeholder? Keep getting an error saying it's unable to get player time

trim mist
#

Negative

craggy drum
#

Hey, anyone know why I get this everytime a player logs onto the server?

! [Sat 01:24:43 WARN  PlaceholderAPI] [math] Invalid Placeholder detected!
! [Sat 01:24:43 WARN  PlaceholderAPI] [math] Placeholder: %math_({mcmmo_level_swords}+{mcmmo_level_axes}+{mcmmo_level_archery})*0.25%
! [Sat 01:24:43 WARN  PlaceholderAPI] [math] Cause: '(++)*0.25' is not a valid Math Expression.```
The math works perfectly in all areas that I am using it
coarse lily
#

maybe new player make this issue ?

austere hawk
chrome night
#

Where should I report a bug that is in world expansion?

raw mica
#

I have a question, I created a placeholder for javascript, how to transfer values to it when using it in configs, for example, as here %javascript_animated_text_<ID>,<Text1>,<Text2>,<Text3>%

undone yacht
#

anyone plz help how to slove when i am command enter this '/papi ecloud download player'

#

here is massage falied to find expansion

#

@idle coral

tender vaporBOT
undone yacht
#

anyone plz help how to slove when i am command enter this '/papi ecloud download player'
here is massage falied to find expansion

vivid sparrow
#

I think we have read the first 5 messages

craggy drum
austere hawk
craggy drum
austere hawk
#

what if papi tries to parse the placeholder BEFORE the plugin loads the data?

errant iron
#

PAPI doesn't parse placeholders by itself, it only does it when requested

#

so if another plugin is trying to parse your placeholders before they're loaded, it's a problem with that plugin

mental arch
#

Hello, I have this problem that I can't solve

#
[17:41:16 ERROR]: [PlaceholderAPI] Failed to load expansion Expansion-quests.jar (is a dependency missing?)
java.lang.NoClassDefFoundError: me/blackvein/quests/quests/IQuest
        at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
        at java.lang.Class.privateGetDeclaredMethods(Class.java:3402) ~[?:?]
        at java.lang.Class.getDeclaredMethods(Class.java:2504) ~[?:?]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:419) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
        at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
        at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
Caused by: java.lang.ClassNotFoundException: me.blackvein.quests.quests.IQuest
        at java.net.URLClassLoader.findClass(URLClassLoader.java:445) ~[?:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:587) ~[?:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
        ... 11 more
undone yacht
trim mist
#

Reach out to the author of the plugin.

#

They maintain their expansion.

idle pond
#
java.util.concurrent.CompletionException: java.sql.SQLSyntaxErrorException: No such column: 'id'. 'id' must be in [luckperms_players.primary_group, luckperms_players.username, primary_group, username]```

Assuming the following error is because of luckperms and not placeholder api?
errant iron
#

yup

#

looks like your SQL db is messed up

idle pond
#

odd, was working fine before

#

thanks though :)

#

one more thing:

#
[6483.498s][warning][gc,alloc] Craft Scheduler Thread - 160 - PlaceholderAPI: Retried waiting for GCLocker too often allocating 256 words
[6483.501s][warning][gc,alloc] Craft Scheduler Thread - 222 - PlaceholderAPI: Retried waiting for GCLocker too often allocating 1048576 words
[6483.504s][warning][gc,alloc] Craft Scheduler Thread - 223 - PlaceholderAPI: Retried waiting for GCLocker too often allocating 1048576 words
[6483.507s][warning][gc,alloc] Craft Scheduler Thread - 225 - PlaceholderAPI: Retried waiting for GCLocker too often allocating 1048576 words```

lots of these popping up too
#

right before crashing

#

on latest paper 1.19.4 + latest papi ^

errant iron
#

ngl never seen that message before, but probably has to do with your gc settings

rocky jacinth
#

Hello, how can I register a placeholder in velocity and use it in downstream servers?

errant iron
#

You'd need to make a bridge or something yourself, PAPI only works on backend servers

rocky jacinth
#

how do these work?
%bungee_total%
%bungee_<servername>%

vivid sparrow
#

Plugin messaging and local cache

tender acorn
#

I have a scoreboard and I display money on it. However, it is displaying anything in 10 millions or above with an E and a number. How do I round so it will say, for example, 39m?

tender acorn
#

I am using Vault for the placeholder.

#

nvm i figured it out

tender vaporBOT
rain fulcrum
#

hello i'm tryin to get "%vault_eco_top_balance_1%" to work in my gui, but even tho i have everything installed its showing me [ %vault_eco_top_balance_1% ] still as in the place of the baltop?

vivid sparrow
#

the top placeholders were moved to the esentials expansion

#

since it has a native top function

rain fulcrum
#

okay ill try thanks

#

works thanks so much, been lookin for a solution for a while, even tho easyest way was to join discord 😄

vivid sparrow
#

great

solar raptor
#

Hi, how i can make a block invisible in deluxepanels?

severe dawn
#

how to change the refresh of placeholders from 1s to 5s?
%statistic_seconds_played%

random geode
#

Is there a placeholder that returns a url to the avatar icon?

errant wedge
#

i was wondering with deluxhub in my lobby if in the description of the item i could put if the modality is currently online like in the bungee and how many players are online of the max players

#

nvm it was %bungee_survival%

oblique coyote
#

Hi, i installed PlaceholderAPI, and i tried to use the placeholder %bungee_<servername>% for deluxehub, to see how many players are on the server but its still display 0 players, and my friend is on the server, but i also seen that there is a error-message from deluxehub coming when reloading the plugin or restarting the server

oblique coyote
coarse lily
oblique coyote
#

and restarted the server

coarse lily
solid fossil
#

Hello guys, I have a question about NBSP symbols in my placeholders. How can I remove it?
I'm using EssentialsX-2.19.7 placeholder: %essentials_baltop_balance_commas_<rank>%
Showing it through: Decent Holograms 2.7.5
Minecraft version is 1.18.2
If I use parse command in chat it's still showing NBSP, tho in console it shows a symbol.
Not sure how to place image in here😅

solid fossil
#

1 minute, i figured out how to post images here

oblique coyote
coarse lily
#

oh, yes

coarse lily
solid fossil
#

I mean, this happening to any placeholder

#

PlayerStats for example

coarse lily
#

huh

#

any ?

solid fossil
#

%playerstats_ only:number, top:1, damage_dealt% this one from Player stats and their 'Spaces' also changed with nbsp

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

coarse lily
#

give me your config.yml at placeholderAPI

oblique coyote
solid fossil
coarse lily
#

the nbsp should be . or ,

solid fossil
#

Yeah, console tells me it's a

coarse lily
#

weird :/

solid fossil
coarse lily
#

/papi parse me %playerstats_ only:number, top:1, damage_dealt%

#

use this in game

solid fossil
#

NBSP

coarse lily
#

:/

coarse lily
#

maybe you should wait for staff help

#

:/

solid fossil
#

Okay, thank you for help very much😅

#

I could use another placeholder which not using this Spacebars or a but this is not a good option for me😅
If anyone knows solution, please help

oblique coyote
coarse lily
solid fossil
#

At least i have installed it on all of my servers

oblique coyote
#

ok now it works, thanks

heady lance
#

Hello i maked a custom placeholderapi but its not showing in ajlb i asked aj and he say go to helpchat

vivid sparrow
#

then you are probably using it wrong

primal pendant
#

hello people help! I create a menu, but it doesn’t work out to bind a command so that it would be executed on behalf of the operator

tender vaporBOT
#
Hey, I'm Barry!

I'm a unique Discord bot created especially for HelpChat.

Authors:

I was created and I'm maintained by @balmy marten with support from the Staff team.

Code base:

I'm created in Javascript using Discord.JS

Source code:

At this stage I'm closed source due being a mess and some secret internals. However you can contribute to my links/version knowledge here.

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

sharp jay
#

show your menu and explain more

craggy drum
unkempt widget
#

Does placeholder api have any issues with paper 1.12.2 ?

#

or communicating with neznamy's tab plugin through variables?

craggy drum
#

Lol I think the math expansion is drunk... (MCMMO Levels: 60, 11, 2 (same order as placeholders) am I being dumb here?
%math_({mcmmo_level_swords}+{mcmmo_level_axes}+{mcmmo_level_archery})/4% returns 18.25 (correct)
%math_({mcmmo_level_swords}+{mcmmo_level_axes}+{mcmmo_level_archery})*0.25% returns 18.25 (correct)
%math_0:1_({mcmmo_level_swords}+{mcmmo_level_axes}+{mcmmo_level_archery})/4% returns 18 (correct)
%math_0:1_({mcmmo_level_swords}+{mcmmo_level_axes}+{mcmmo_level_archery})*0.25% returns 0 (whattt?)
%math_1:1_({mcmmo_level_swords}+{mcmmo_level_axes}+{mcmmo_level_archery})/4% returns 18.3 (correct)
%math_1:1_({mcmmo_level_swords}+{mcmmo_level_axes}+{mcmmo_level_archery})*0.25% returns 21.9?????????

mint fable
#

cc: Andre_601?

keen spear
#

Im having issues with parseother

there is this placeholder from the plugin mythicdungeons %md_party_member_[##]% which parses the name of the player ex %md_party_member_1% = notch

I've tried to replace it with %parseother_{md_party_member_2}_{mmoitems_stat_max-health}% and its not working it gives me this error: https://pastebin.com/59QMAWCU

if I do %parseother_{notch}_{mmoitems_stat_max-health}% the parse does seem to work so perhaps theres a formatting error on my end?

vivid sparrow
#

"Player data is not loaded" - I assume the placeholders only work for online players

lethal breach
#

Is there a way to return a random number? It seems here that the expansion RandomNumber isn't working

tender vaporBOT
keen spear
#

kekw

#

however when I was parsing the placeholder the targeted player was online

unkempt widget
junior musk
#

is TAB on BungeeCord?

unkempt widget
#

no

junior musk
#

does the placeholder work in /papi parse me %player_level% ?

unkempt widget
#

It does not, it displays as %player_level%

junior musk
#

do you get an error in console when doing /papi reload?

#

ah nvm

#

go to plugins/PlaceholderAPI/expansions

#

what files do you have in there?

unkempt widget
#

player, server and vault

junior musk
#

or actually, I think /papi dump works as well

junior musk
unkempt widget
#

no message in game or in console when I do /papi dump

unkempt widget
junior musk
#

wat

#

which PAPI version?

unkempt widget
#

most recent

#

2.11.3

junior musk
#

I'm guessing /papi list doesn't show player in it?

unkempt widget
#

it does not, just shows eglow, plan, spark and tab

junior musk
#

I have no idea what's wrong, sorry, you'll have to wait for someone else who knows more

#

maybe try on 2.11.2 in the meantime

unkempt widget
#

No worries, thanks for your time on it 🙂

#

I did, same issue, checked if was any recent version, so I updated it.

#

Was originally on 2.11.2

junior musk
#

uh

#

can you try /papi ecloud download Player 2.0.3 ?

#

and then /papi reload

unkempt widget
#

Done, but doesnt display on the lists

junior musk
#

=/

unkempt widget
#

Pretty sure I can't download any eclouds

junior musk
unkempt widget
#

should I rename it?

junior musk
#

should work with any name

unkempt widget
#

tried it, still same issue, variable didnt work with the parse command after installing, then doing /papi reload, then doing /papi parse

junior musk
#

I'm out of ideas =/

unkempt widget
#

No worries, thanks for your time.

unkempt widget
#

If anyone else can help me with this, please ping me as soon as you respond.

unborn cipher
#

is the javascript ecloud expansion no longer a thing?

warm topaz
unborn cipher
#

okay thank you 🙏

unkempt widget
#

https://gyazo.com/52880682caec0165f1e07b475ef58099
https://gyazo.com/0cb02b6aff49af0e75bb867cd8459612
https://gyazo.com/08036c25e96ca5df7e94a2684054ea46

Trying to download the ecloud expansion for Player, to have the player_level variables display in neznamy's tab plugin.

However, whenever I do install the ecloud, none of the variables work, is there issues with Placeholderapi on 1.12.2?
I believe now, it's a problem with the placeholderapi loading the expansions, as I can download jars but they aren't recongnized via commands.
on top of that, some commands like /papi dump do not work.

fossil tusk
#

Hi! What's wrong whit this: %checkitem_inhand:main,matcontains:bed%

#

I try parse and even with a bed in my hand I get a "no" output.

#
  /papi parse me %checkitem_inhand:main,matcontains:red% # No
#

Why? :c

hollow hatch
#

If anybody familiar with PlaceholderAPI development is willing to help me out with my weird issue, please check #development.

unkempt widget
#

Anyone able to help me out with /papi dump not working, as well as unable to load expansions properly from ecloud? .-.

vivid sparrow
unkempt widget
#

Is there another place I can go to get support relating to placeholder plugin? Or should I report my issues as a bug on the github?

turbid tide
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.

unkempt widget
#

?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

tawny barn
#

Hey anyone know the placeholder for the person that you got killed by in PAPI? It should show their username and not their displayname. Not sure what expansion can do this

unkempt widget
vocal oyster
#

Hello I use the plugin and I put "Expansion-LuckPerms.jar" to prefix and put in the chat. When I send my message in the chat the prefix is not added

arctic loom
#

Appreciate if someone with permissions can approve my Math Expansion update. 🙏

proud heron
#

Is there a way how to put a cooldown on a placeholder? For example if the placeholder should only update every 10, 5, 2 seconds etc

errant wedge
#

I need help, with the plugin excelent crates

#

when i activate broadcast

#

it says on chat %player% has won .....

#

instead of the actual player

midnight sable
#

use %player_name%

errant wedge
#

thanks

fringe flower
#

Its some web that haves examples of the expansions?

#

Idk, like animation, etc

austere hawk
#

help

#

[12:49:18 WARN]: [PlaceholderAPI] skript is attempting to register placeholders via a PlaceholderHook class which is no longer supported!

fervent girder
#

help
EssentialsXChat
{GUILD_FORMATTED} not working on last update guild plugin

tender vaporBOT
#
Spigot Account Link

To link your Spigot profile please do the following:

  1. On Spigot, set your Discord to GabyTM | RO#6463 under contact details.
  2. Type /Spigot and press TAB twice to show the id: prompt.
  3. Type or paste in your Spigot account's numerical Spigot ID and hit enter.
vivid sparrow
#

@fervent girder

severe dawn
#

how to change the refresh of placeholders from 1s to 5s?
%statistic_seconds_played%

turbid tide
austere hawk
#

I would like to write a regular time on the scoreboard, but what kind of priest do I need or what is the code for it at all?

keen spear
#

is math placeholder down? Im unable to download it. yes I have ecloud enabled and no theres no error in console

stable kiln
#

how to tranfer placeholder autput in bungee network and use it

uncut folio
#

So how does the book check item will work? im testing in but not working for me

#

enchantments:<enchantment=lvl>;<enchantment>
Checks if the item's enchantments contains <enchantment> with an optional =level
Uses vanilla minecraft enchantment names ^ ~

getting yes for everything, holding sharpness 1 book

/papi parse rexmen %checkitem_enchantments:=1;fortune%
/papi parse rexmen %checkitem_enchantments:=5;fortune%

iron ore
#

hey guys for this placeholder %server_countdown_<SimpleDateFormat>_<time>% what goes for the <SimpleDateFormat>

#

I am trying to setup a timer for my mythicmob+ boss

mint fable
#

weird combo, but 🤷‍♂️

uncut folio
#

Ty

royal belfry
#

Hello when I try to update a placeholder I have this error 😦
Can someone help me ?
Thx !

papi ecloud update player [07:37:04 INFO]: Updating expansions: [Player] [07:37:04 INFO]: Successfully downloaded updates, registering new versions. [07:37:04 WARN]: [PlaceholderAPI] Failed to load expansion player. Identifier is already in use. [07:37:04 WARN]: [PlaceholderAPI] Cannot load expansion player due to an unknown issue. [07:37:04 INFO]: Registered expansions:

royal belfry
#

Oh I can’t now…

uncut plume
royal belfry
#

I need to go to school 👀

uncut plume
vivid sparrow
royal belfry
#

Ok I’ll try when I can !

#

I restarted my server and when I write “papi ecloud update all” server answer “no updates available for your active expansions”

#

I didn’t change .jar btw

vivid sparrow
#

yeah the new expansions jars were downloaded but couldn't be loaded, so they were loaded on the next boot

royal belfry
#

ok so expansions are update now ?

vivid sparrow
#

yes

royal belfry
#

Ok thx a lot !

#

So need I to change .jar ? Or I keep mine ?

vivid sparrow
#

you can probably keep yours

uncut folio
#

is there easy way to make this work? i want to check for enchantment books and in return wanna give custom currency called shards

for sharpness 1 want to give 1 shard and for sharpness 10 want to give 10 shards... but making diff confgi for every enchantment means 30x10 = 300 options... anyway to make it shorter?

austere hawk
#

pls vault for placeholder-api

warm topaz
#

@austere hawk ^

austere hawk
#

thank you

austere hawk
#

How to get a placeholder for how much money a specific person has?

sharp bloom
#

is there any expansion that says how many blocks away a player is from an XYZ position?

turbid tide
turbid tide
#

haha. I was just thinking about this as well. it should be possible with math

turbid tide
#

replace LOCCATIONX with the x of the destination, LOCATIONY with the y of the destination and LOCATIONZ with the z of the destination

sharp bloom
#

math yeah!!!... awesomesad_fingerguns

#

thanks i ll give it a try

#

what is the ^2 supposed to be

dire siren
#

Can someone help me with the syncing of the placeholderapi in my own plugin? I tried so much but its not working for me

ocean beacon
sharp bloom
#

what is the sqrt even 💀

#

oh square root? ye that would make sense ig?

turbid tide
#

And sqrt is square root yeah

winter patio
#

hello

#

i need help with checkitem

#

how to check if player has steak?

#

i will try %checkitem_steak%

#

but is always return yes

ocean beacon
stark jewel
#

Yo, is there any placeholders for playtime in hours?
(that I don't need an extra plugin to use)

winter patio
stark jewel
#

I looked into it but it seems like %statistic_time_played% displays the play time like 2w 1d 3h 5m and %statistic_time_played:hour% displays the "3" of the hours played instead of the entire time in hours and I am looking for something that would show the number of total hours played

ocean beacon
stark jewel
#

oh I didn't see this one, I will try it out

#

Thank you :D

ocean beacon
#

👍

stark jewel
#

It doesn't seem like there is a placeholder called statisitc_hours_played on the wiki and doesn't work in game

ocean beacon
#

%statistic_hours_played%

#

statisitc

#

😩

stark jewel
#

oh oups

#

I just copy pasted from up there

#

my bad :/

ocean beacon
#

np

plain rapids
#

for some reason my basics_menu.yml is not being detected

kind storm
#

hi i have installed mcmmo expansion but dont work

#

some of the mcmmo placeholders but not others, for example the level ones don't work for me

#

What could I do to fix it? I have the latest spigot update downloaded

cobalt ibex
#

Unfortunately, ASB can no longer read the player and playerlist modules of placeholderAPI. The two modules are up to date in placeholderAPI in eCloud. The command "/papi parse me %player_name%" returns "%player_name%"
And this is what I got from the console during startup:
https://pastebin.com/Y8FVSifG
Does anyone else also have such problems?

autumn coral
#

Hi i have to use math placeholder for a calculation so i followed the syntax but it returns an error :
[14:49:38 WARN]: [PlaceholderAPI] [math] Invalid Placeholder detected! [14:49:38 WARN]: [PlaceholderAPI] [math] Placeholder: %math_0:_% [14:49:38 WARN]: [PlaceholderAPI] [math] Cause: Not allowed placeholder-syntax '%math_<text>_%'

Here's my placeholder : %math_0:_{vault_eco_balance}%

Thank you for your help :)

Edit : I've also tried with this one : %math_0:half-up_{vault_eco_balance}%

ocean beacon
turbid tide
turbid tide
feral nova
#

Hi i search placeholder for mined block No Statistic this placeholder is counting x2

unkempt widget
#

Anyone able to help? I'm unable to correctly load any eclouds. I can download them and such, but placeholderapi wont load them. No error messages, and cant do /papi dump (prints out nothing)

Scrrenshots of Player ecloud not properly loading:
https://gyazo.com/52880682caec0165f1e07b475ef58099
https://gyazo.com/0cb02b6aff49af0e75bb867cd8459612
https://gyazo.com/08036c25e96ca5df7e94a2684054ea46

Previous message explanation:


However, whenever I do install the ecloud, none of the variables work, is there issues with Placeholderapi on 1.12.2?
I believe now, it's a problem with the placeholderapi loading the expansions, as I can download jars but they aren't recongnized via commands.
 on top of that, some commands like /papi dump do not work.```

Startup: https://paste.helpch.at/taqesedazo.makefile
mint fable
#

Hmm, I'm only seeing the spark expansion being loaded there. try manually installing the expansion from the ecloud here: https://api.extendedclip.com/expansions/player/

  1. stop server
  2. manually install
  3. restart server
  4. If any issues, send new startup log and /papi dump (if that works)
#

very weird to see /papi dump not working

unkempt widget
#

Done, recently tried it though through someone else's suggestion.
/papi dump is same with not loading. There's no error's that pop up, but still can't see player expansion in /papi list

Should mention this is with all ecloud extensions I try to install.

No visible issues. I'm grabbing the startup log rn.

But everything is same as reported before.

#

ignore the skript error's lol

proven narwhal
#

when i use %server_tps% i only get a return of 0.0, 0.0, 0.0?

mint fable
#

Can you type /papi dump as well in your startuplog before sending it over

unkempt widget
#

yes, you want me to input it in the expansions folder right

#

sure

unkempt widget
#

ill do another reboot real quick

mint fable
#

your server might have a problem connecting to outside services such as the ecloud or paste.helpch.at

#

could be because of some sort of firewall

#

🤷‍♂️

unkempt widget
#

is there an ip i can whitelist?

mint fable
#

idk about ips

unkempt widget
#

that seems most probable

#

but I am still able to download expansions, just can't seem to load them 😐

mint fable
#

can you enable debug: true in config, restart, and send startup log @unkempt widget

unkempt widget
#

yes

mint fable
#

ok imma have to head out soon, but wont forget to check back

unkempt widget
#

oh what okay

#

papi dump worked that time

#

i might be an idiot 😐

#

yeah everything loading now, okay one sec

unkempt widget
#

Okay, it actually looks like it's a conflict with skript. Because everything worked as soon as I uninstalled the skript jar. So
ye, not sure what to say to that.

scenic hinge
#

I am trying to install the McMMO expansion on 1.19.4, but when I do so I get an error,
[20:40:18 WARN]: [PlaceholderAPI] Failed to load expansion mcmmo. Identifier is already in use.
[20:40:18 WARN]: [PlaceholderAPI] Cannot load expansion mcmmo due to an unknown issue.

#

Anyone know what would be causing that?

turbid tide
#

if that doesn't work downgrade 1 version

#

a fix is being made for this I just don't know what version the problem showed up in

scenic hinge
#

Downgrading worked. Thank you!

kind storm
#

Hi i cant do papi dump

tender vaporBOT
kind storm
vivid sparrow
#

There's an issue with the webhooks expansion, contact the dev

kind storm
tender vaporBOT
neat adder
#

how to use placeholder api with duels plugin

#

and scordboard

vivid sparrow
kind storm
#

here

vivid sparrow
#

It says webhook not mcmmo

kind storm
#

i dont have expansion of webhook

vivid sparrow
#

at net.ecoporium.webhooks.expansion.WebhooksExpansion.getAuthor(WebhooksExpansion.kt:14) ~[SpartanWebhooks.jar:?]

kind storm
#

ok

#

now i can put the command

#

but i have a problem

#

mcmmo dont update

#

i put the command to update

#

and i download the expansion manually and nothing

vivid sparrow
#

Make sure you remove all mcmmo expansions from the expansions folder (/plugins/papi/expansions)

vivid sparrow
kind storm
#

which plugin i open?

vivid sparrow
#

I said that too

kind storm
#

sorry i am spanish

vivid sparrow
#

SpartanWebhooks

kind storm
#

i prefer remove the plugin spartanwebhooks better

#

and for mcmmo what can i do?

#

always appear i have 2 updates

#

how can i get placeholders of a plugin?

#

that is to say, it appears that the plugin has placeholders but I don't know what they are and apart from that they are not in the list of placeholders and it appears registered in the plugin

junior musk
#

check that plugin's documentation

#

usually, when plugins add placeholders to PAPI, they put them in their plugin's description on Spigot or on their wiki

kind storm
#

and tanguygab for the theme of updates

#

can you help me?

junior musk
#

uh, what's the issue?

kind storm
# junior musk uh, what's the issue?

some mcmmo placeholders don't work for me. I am updating the expansion but it does not update me. And if I download it manually it's still the same

junior musk
#

which don't work?

kind storm
#

mcmmo

junior musk
#

woaw

#

thank you

#

I didn't know

kind storm
#

%mmcmo_level_mining%

junior musk
#

what does it say in chat when you do /papi parse me %mcmmo_level_mining% ?

kind storm
#

say

#

you have the expasion for download and install

junior musk
#

why do you have 3 mcmmo expansions?

kind storm
daring mesa
#

I cant install any expansion, it says "Failed to find an expansion named: Luckperms" I tried other expansion, but no luck.

#

The command does not tab-complete it

#

and /papi list shows An internal error occurred while attempting to perform this command

#

it does tab-complete the /papi ecloud download part

#

Idk what's wrong, but i'm strugeling with it for 1 hour

#

I reinstalled the plugin many times and many versions.

#

It was not like that 2-3 hours ago

turbid tide
daring mesa
#

Nope

#

No errors

#

It just shows the full command

turbid tide
#

can you please send a full startup log and a papi dump?

#

/papi dump

#

and:

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.

daring mesa
#

Wait nvm

#

there is a error

#
java.net.UnknownHostException: api.extendedclip.com
        at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567) ~[?:?]
        at java.net.Socket.connect(Socket.java:633) ~[?:?]
        at java.net.Socket.connect(Socket.java:583) ~[?:?]
        at sun.net.NetworkClient.doConnect(NetworkClient.java:183) ~[?:?]
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:531) ~[?:?]
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:636) ~[?:?]
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:279) ~[?:?]
        at sun.net.www.http.HttpClient.New(HttpClient.java:384) ~[?:?]
        at sun.net.www.http.HttpClient.New(HttpClient.java:406) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1665) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) ~[?:?]
        at java.net.URL.openStream(URL.java:1161) ~[?:?]
        at com.google.common.io.Resources$UrlByteSource.openStream(Resources.java:72) ~[guava-31.0.1-jre.jar:?]
        at com.google.common.io.ByteSource.read(ByteSource.java:296) ~[guava-31.0.1-jre.jar:?]
        at com.google.common.io.ByteSource$AsCharSource.read(ByteSource.java:486) ~[guava-31.0.1-jre.jar:?]```
#
        at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$fetch$4(CloudExpansionManager.java:182) ~[?:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
        at java.lang.Thread.run(Thread.java:833) [?:?]
[17:02:32] [Craft Scheduler Thread - 8/INFO]: [PlaceholderAPI] Failed to check for updates on spigot.
daring mesa
# turbid tide `/papi dump`
java.util.concurrent.CompletionException: java.net.UnknownHostException: paste.helpch.at
        at me.clip.placeholderapi.commands.impl.local.CommandDump.lambda$postDump$1(CommandDump.java:113) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) [?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) [?:?]
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [?:?]
        at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) [?:?]
        at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) [?:?]
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) [?:?]
        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) [?:?]
Caused by: java.net.UnknownHostException: paste.helpch.at
        at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567) ~[?:?]
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) ~[?:?]
        at java.net.Socket.connect(Socket.java:633) ~[?:?]
        at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304) ~[?:?]
        at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:174) ~[?:?]
        at sun.net.NetworkClient.doConnect(NetworkClient.java:183) ~[?:?]
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:531) ~[?:?]
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:636) ~[?:?]
        at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:266) ~[?:?]
        at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:380) ~[?:?]
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:193) ~[?:?]
#
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128) ~[?:?]
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179) ~[?:?]
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:142) ~[?:?]
        at me.clip.placeholderapi.commands.impl.local.CommandDump.lambda$postDump$1(CommandDump.java:102) ~[?:?]````
turbid tide
#

hmm

#

It seems like your server might not have access to the internet?

wise siren
#

Is there a reason why chat isn't parsing placeholders?

#

sorry for interrupting btw

turbid tide
wise siren
#

but perhaps a config is messed up

turbid tide
#

Well first of all. Let's check if your expansions are properly loading

#

can you send a screenshot of a chat message

#

with placeholders not working?

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.

daring mesa
#

I mean, i'm getting great ping

#

and other plugins are working just fine

#

@turbid tide (I'm not sure if I can ping staff members or not)

turbid tide
#

in this case it is fine since we were having a conversation

daring mesa
turbid tide
#

will take a look in a bit. busy rn

#

send full startup log please

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.

daring mesa
#

Can anyone help?

errant wedge
#

if i do papi parse %statistic_player_kills%

#

it says 78

#

but on my ajl leaderboard the top 1 says 38

#

and it is another person

#

and i have members with like 400 kills

ocean beacon
errant wedge
#

the ajl one?

daring mesa
#

I cant install any expansion, it says "Failed to find an expansion named: Luckperms" I tried other expansion, but no luck.
The command does not tab-complete it
and /papi list shows
An internal error occurred while attempting to perform this command
it does tab-complete the /papi ecloud download part
Idk what's wrong, but i'm strugeling with it for 1 hour
I reinstalled the plugin many times and many versions.

ocean beacon
#

no

#

holograms

errant wedge
#

i havent touched it

#

&e&l#1 &f&ajlb_lb_statistic_player_kills_1_alltime_name% %c%l%ajlb_lb_statistic_player_kills_1_alltime_value%

#

this is what i use

ocean beacon
#

ah, i see your problem

errant wedge
#

wdym

#

like that gives you a correct player

#

and its value

#

but it isnt the top 1

ocean beacon
#

i said double-check

#

just at that line

#

if name wrong, check name

#

if value wrong, check value

errant wedge
#

it is ig but i didnt type it on discord my bad

ocean beacon
#

don't tell him :/

errant wedge
#

the name and value is right the wierd thing is that it appears top 1 a person who isnt top 1

#

it is wierd, but i think is an ajlb error

ocean beacon
#

😩

daring mesa
#

I cant install any expansion, it says "Failed to find an expansion named: Luckperms" I tried other expansion, but no luck.
The command does not tab-complete it
and /papi list shows
An internal error occurred while attempting to perform this command
it does tab-complete the /papi ecloud download part
Idk what's wrong, but i'm strugeling with it for 1 hour
I reinstalled the plugin many times and many versions.

#

can anyone help?

ocean beacon
#

-/pl ?

#

does placeholderAPI red ?

daring mesa
#

nope

#

it's green

ocean beacon
errant wedge
#

so withouth the alltime?

ocean beacon
daring mesa
errant wedge
#

no, sorry

#

also in ajlb list statistic_player_kills

#

it also is wrong

#

so that is the wierd thing

ocean beacon
ocean beacon
daring mesa
ocean beacon
#

and what happened

daring mesa
ocean beacon
#

/papi list ?

#

nothing ?

daring mesa
#

clv, ultimateautorestart, vulcan

ocean beacon
#

did you restart server ?

daring mesa
#

yeah

#

many times

ocean beacon
#

and delete folder of placeholderAPI ?

daring mesa
ocean beacon
#

no, said folder

#

not .jar file

daring mesa
#

o\

#

the config?

#

or expansion?

ocean beacon
#

maybe all

daring mesa
#

k

errant wedge
#

that is another misstype of mine

#

in game i have it right

daring mesa
ocean beacon
#

for placeholderAPI.jar update new folder

daring mesa
#

The same thing

daring mesa
#

i'm already using the latest version

errant wedge
#

@ocean beacondo know what can i do?

ocean beacon
ocean beacon
#

😩

daring mesa
#
java.net.UnknownHostException: api.extendedclip.com
        at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:567) ~[?:?]
        at java.net.Socket.connect(Socket.java:633) ~[?:?]
        at java.net.Socket.connect(Socket.java:583) ~[?:?]
        at sun.net.NetworkClient.doConnect(NetworkClient.java:183) ~[?:?]
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:531) ~[?:?]
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:636) ~[?:?]
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:279) ~[?:?]
        at sun.net.www.http.HttpClient.New(HttpClient.java:384) ~[?:?]
        at sun.net.www.http.HttpClient.New(HttpClient.java:406) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1665) ~[?:?]
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) ~[?:?]
        at java.net.URL.openStream(URL.java:1161) ~[?:?]
#
        at com.google.common.io.ByteSource.read(ByteSource.java:296) ~[guava-31.0.1-jre.jar:?]
        at com.google.common.io.ByteSource$AsCharSource.read(ByteSource.java:486) ~[guava-31.0.1-jre.jar:?]
        at com.google.common.io.Resources.toString(Resources.java:111) ~[guava-31.0.1-jre.jar:?]
        at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$fetch$4(CloudExpansionManager.java:182) ~[?:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
        at java.lang.Thread.run(Thread.java:833) [?:?]```
#

This is the console error

errant wedge
ocean beacon
#

do /papi parse me %ajlb_lb_statistic_player_kills_1_alltime_name% %ajlb_lb_statistic_player_kills_1_alltime_value%

daring mesa
#

@ocean beacon Can it be that a plugin is stopping the placeholder to work?

ocean beacon
#

just delete or disable it

#

you have plugman yet ?

daring mesa
daring mesa
ocean beacon
#

so disable placeholderAPI

#

and delete placeholderAPI folder at plugin

#

and enable it again

daring mesa
#

k

errant wedge
#

could it be that the top 1 needs to kill smone for it to update?

ocean beacon
#

/ajlb updateplayer statistic_player_kills <name>

ocean beacon
errant wedge
#

thanks

daring mesa
#

it dint

errant wedge
#

i tried searching for that command and i couldnt find

ocean beacon
daring mesa
#

k

ocean beacon
#

everything must work fine as default :/

daring mesa
#

it also tab-completes the command

#

@ocean beacon What do I do now?

ocean beacon
#

hmm...

#

copy paste every folder to test server without placeholderAPI folder

daring mesa
ocean beacon
#

without placeholderAPI

#

without "problem"

daring mesa
#

That would take 20 years to do

#

@ocean beacon Can we do something else?

#

Hol on, some placeholders are working

#

that I dint needed to download it from /papi ecloud download

ocean beacon
#

try to install again

daring mesa
ocean beacon
#

you can install at there

#

and put it in expansion folder on placeholderAPI folder

daring mesa
#

Then I relaod the plugin, right?

ocean beacon
#

yeah

daring mesa
#

I installed vault expansion

#

it dint work with the %vault_eco_balance_fomatted%

ocean beacon
#

i need to eat somethings

#

wait for 10m

daring mesa
#

wait, I dint enable my essentials

#

lol

ocean beacon
#

@daring mesa everything good ?

daring mesa
ocean beacon
#

why it isn't work

var timeString = '22:22:22';
var timeArray = timeString.split(':');

var hours = parseInt(timeArray[0]);
var minutes = parseInt(timeArray[1]);
var seconds = parseInt(timeArray[2]);

var totalSeconds = (hours * 60 * 60) + (minutes * 60) + seconds;

parseFloat(hours);
turbid tide
#

@daring mesa I'm not sure if you've solved your problem but I've asked for a startup log. If you still need help, please provide it.
#placeholder-api message

There's a couple possible issues here. It could be that your internet connection doesn't work, it could also be that your hosting company is blocking connection to the ecloud

tender vaporBOT
#
FAQ Answer:

Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.

daring mesa
#

I just have to manually download expansion

turbid tide
#

👍 you can also probably talk to your host to see why connection to the ecloud might be broken. Unsure if it is from their side but worth a try

tender vaporBOT
turbid tide
#

this is not the same player expansion as the one you get by doing /papi ecloud download player.

#

@cobalt ibex I've searched for LagBug and I found his spigot account. It seems that you have a plugin from him called Emailer. I am unsure if that plugin is the one registering another player expansion and can't really check because the plugin is paid

#

Ok. The plugin is open source. I just checked, it is definitely the plugin overriding it.

#

I suggest you talk with the author and ask them to change the identifier

dense haven
#

I am using JavaScript from https://github.com/PlaceholderAPI/Javascript-Expansion/wiki/Community-Scripts#cooldown
I want to add in my menu in my cooldown system and it works, but the icon I have added for cooldown is always active and when my cooldown ends the icon does not change.

  YES-COOLDOWN:
    material: AIR
    slots:
      - 0-1
    priority: 1
    view_requirement:
      requirements:
        name:
          type: string equals
          input: "%javascript_cooldown_1_15%"
          output: "0s"
    left_click_commands:
    - '[console] papi parse %player_name% %javascript_cooldown_1_start% §r' ```
**MENU**
```yml
  BREWER-COOLDOWN:
    material: GOLD_NUGGET
    model_data: 11003
    display_name: 'Brewer cooldown'
    slot: 20
    priority: 1
    update: true
    view_requirement:
      requirements:
        name:
          type: string equals
          input: "%javascript_cooldown_1_15%"
          output: "0s"
    lore:
    - '&7Level: &f0'
    - ''
    - '&#AF2A23Cooldown: &8%javascript_cooldown_1_15%'
  BREWER:
    material: GOLD_NUGGET
    model_data: 11001
    display_name: 'Brewer'
    slot: 20
    priority: 2
    lore:
    - '&7Level: &f0'
#

And when my cooldown is over it always shows 'brewer-cooldown'.

turbid tide
dense haven
tender vaporBOT
turbid tide
#

if %javascript_cooldown_1_15% returns 0s it means the cooldown has expired

turbid tide
#

it changes the javascript engine from Nashorn to QuickJS

autumn coral
#

Does anyone knows if there's a placeholder that returns time since epoch ?

hallow pasture
turbid tide
#

@hallow pasture can you execute /papi dump and send the generated link here please?

hallow pasture
turbid tide
hallow pasture
#

yeah i got as much as the cause was the bungeecord expansion. I cant seem to be able to remove it tho. removing the file in the config folder and unregistering the expansion doesnt work

lone cradle
#

Evening guys, im trying to make it show a players playtime in the MOTD using ServerlistMOTD and the PlayerStats plugin, however the playerstats plugin has a placeholder like this %playerstats_player:<player-name>,<statistic>% is it possible to have a placeholder inside of that placeholder to get the specific players name?

sharp bloom
#

i update to the latest of papi and i got this issue

[22:34:06 WARN]: [PlaceholderAPI] Failed to load expansion player. Identifier is already in use.
[22:34:06 WARN]: [PlaceholderAPI] Cannot load expansion player due to an unknown issue.

and the player expansion doesnt work

#

any idea why

sharp bloom
#

i contacted the dev

glacial lance
#

How can i fix this ? :c

[08:56:41 INFO]: Imanol151 issued server command: /papi parse me %statistic_kill_entity:zombie%
[08:56:41 ERROR]: [PlaceholderAPI] [Statistic Expansion] Could not get the statistic 'KILL_ENTITY' for 'ZOMBIE'

cobalt ibex
tender vaporBOT
cobalt ibex
#

I made some tests and disabled the emailer plugin and redownloaded the player extension from the ecloud. But I'm stll having issues with PlayerTime and PlayerList:
[10:09:46 INFO]: admin issued server command: /papi ecloud download PlayerTime
[10:09:46 INFO]: [PlaceholderAPI] Fetching available expansion information...
[10:09:55 INFO]: admin issued server command: /papi reload
[10:09:55 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[10:09:55 INFO]: [PlaceholderAPI] Fetching available expansion information...
[10:09:55 INFO]: [PlaceholderAPI] Successfully registered expansion: playerlist [3.0.1]
[10:09:55 WARN]: [PlaceholderAPI] Cannot load expansion playertime due to a missing plugin: PlayerTime