#placeholder-api

1 messages ยท Page 175 of 1

oblique heron
#

any news?

fervent spire
#

Can you do it again, the link doesn't work for me.

oblique heron
#

Can't I send you an easier .text file?

#

I charge you ?

oblique heron
#

any ideas ?

fervent spire
#

Is that the full log file? Because it doesn't look like the full one.

ornate zodiac
#

@umbral sigil hey you managed to solve the problem?

umbral sigil
ornate zodiac
#

??

sharp jay
#

they updated the plugin

ornate zodiac
#

Okey thanks

umbral sigil
#

To the latest version download

ornate zodiac
umbral sigil
#

Google search

ornate zodiac
#

the same version appears to me

umbral sigil
#

Download

#

I dont know..

ornate zodiac
#

Is 2.10.10?

umbral sigil
#

No

#

2.10.9

ornate zodiac
#

@umbral sigil can you send me the link pls?

umbral sigil
#

i'm at work right now

ornate zodiac
#

Does anyone know why this happens to me?

magic rock
umbral sigil
#

How to link papi and skript?

wind shadow
#

why would you even use skript

#

skript is trash

oblique heron
#

good afternoon I use a spigot 1.16.5 server and the same thing happens to me the placeholderapi does not register the vault.

#

I am yesterday's person just in case

austere hawk
#

How to make guis for multiple players in DeluxeMenus? For example /profile <name>?
U can open your profile but u can open other profiles as well

austere hawk
#

And an economy plugin?

oblique heron
#

I got it

turbid tide
#
var player = BukkitPlayer;
var server = args[0];

function getPlayers() {
  var players = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + "bungee_" + server + "%");
  if (players == 1) return players + " Player";
  return players + " Players";
}

getPlayers();``` something like this maybe
austere hawk
#

someone can give skript parse to skript25 dev

ornate zodiac
magic rock
umbral sigil
#

I linked skript and papi, but if I use the skript variable in the simple score plugin, it is not recognized. Help me

fervent spire
umbral sigil
fervent spire
#

Well obviously the skript placeholder you are trying to use

umbral sigil
#

/papi parse me <{Stat::level::%player%}>

#

If you type it will appear the same

#
 <{Stat::level::%player%}>
fervent spire
#

Without the <>

#

An the proper placeholder is %skript_<variablename>%

umbral sigil
#
/papi parse me %skript_{Stat::level::%player%}%
#

is that right?

#
When you type it, it appears like this:

<none>player%}%  
fervent spire
#

{Stat::level::%player%} Needs the be replaced with the actual Skript variable name.

umbral sigil
#

For example?

fervent spire
#

The name you set the variable.

umbral sigil
#

i don't understand

fervent spire
#

EX: %skript_test% would be the variable {test}

umbral sigil
#

Can you tell me how to create a variable?

fervent spire
#

No, because I don't use Skript and never will.

umbral sigil
#

But when I look at how to use it, it says that {Stat::level::%player%} can be used like this, right?

fervent spire
#

Idk, I don't use Skript and never have used it. Try and see otherwise ask the dev of it.

umbral sigil
#

Weren't the developers here?

fervent spire
#

Idk.

sour wadi
#

Sorry to be annoying but I forget how to use the bot to find placeholders, what's the one for distance walked?

clever cedar
#

Hello I've got a question, how do I use the killStats api

#

I've installed killStats and Papi, In my code I used:

        String kills = "%killstats_kills%";

        kills = PlaceholderAPI.setPlaceholders(p, kills);

        String deaths = "%killstats_deaths%";

        deaths = PlaceholderAPI.setPlaceholders(p, deaths);```
#

Then I used the string in a scoreboard but then it doesn't show the scoreboard & gives me an error

#

(I've downloaded killStats using /papi ecloud download killStats)

polar tapir
#

Hello!

#

My footers look basically like a bunch of -------?????? put together.

magic rock
#

if you want solid line just use "&m "

polar tapir
#

No

#

I'm stupid

#

Wrong server

#

Butt

magic rock
#

๐Ÿ˜ณ

sly scaffold
#

Hello! I am unable to upgrade from 2.10.9 to 2.10.10 (newest version).
Did a clean install. Downloaded all the placeholders i needed, did a restart and still nothing.

Based on the update note, this cant be normal? What am I doing wrong?
This worked just fine on version 2.10.9.
Feel free to tag me if you reply.
Looks like this in featherboard: https://i.imgur.com/EqPK8Jt.png

warm topaz
#

do these placeholders work in the parse command? /papi parse me %blah_blahblah%

sly scaffold
#

It pasted %blah_blahblah%

#

Sorry im a derp

warm topaz
#

well yes u change the placeholder to whichever u wanna test

sly scaffold
#

No, it does not

#

Just pastes the same variable

warm topaz
#

which is?

turbid tide
#

/papi parse me %towny_town% for example

#

try this

sly scaffold
#

That works Blotz. Should I just change it from placeholderapi_towny_town to towny_town ?

warm topaz
#

yes

#

featherboard recently switched from mvdwplaceholderapi to Placeholderapi

turbid tide
#

^^

#

so you should be using %towny_town% instead of all the {placeholderapi... bulshit

sly scaffold
#

Ah of course. Thank you two for great support.

turbid tide
#

if you're on 5.0.0

#

or newer

#

of featherboard

sly scaffold
#

That worked like a charm. Thank you again โค๏ธ

turbid tide
#

no problem

idle adder
#

Hi im new on creating a server is 1.16.5 i change between custom enchants plugins a the new adds some values i never seen before. Now the plugin works well but shows messages like %groupcolor% %successrate% etc, this is the screeshot of the item, if someone can help i really appreciate ๐Ÿ™‚ https://imgur.com/a/IcX56PX

strong hemlock
#

Is it intended that papi won't parse a placeholder if it's preceded by an ampersands (&)?

#

i'd upload a screenshot but i don't have permissions

tender vaporBOT
#
FAQ Answer:

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

turbid tide
#

use imgur ^

strong hemlock
opaque spire
#

@strong hemlock you useing Advanced Enchants?

strong hemlock
#

no?

fair plover
#

Can someone help me with Bungeecord placeholders, Is there any bungeecount placeholder?

coarse carbon
#

whats the placeholder for players exp? in number format ie: 230,000 exp. I cant find one or get it to work anywhere

grand zenith
#

can i make placeholders that do not requier a player to parse?

coarse carbon
#

im trying to use %player_exp% but it gives a weird decimal format. I used %formatter_number_format_player_exp% as you described but it just displays %formatter_number_format_player_exp% do i need to parse anything to use %formatter_number_format_{yourPlaceholder}%?

#

It still gives a decimal. Player has 1,005 exp but placeholder comes back at 0.09 Is there even a placeholder for whole number total exp? you solve this im sending you coffee money ๐Ÿ˜„

still aspen
#

Nbt tags don't work

#

'1':
display_name: ' '
material: PAPER
nbt_int: CustomModelData:10110
slot: 1
click_commands:

warm plover
#

Hey there, does %essnetials_world_time% auto update when no one is online?

sharp jay
#

@warm plover like world time? yes you did miss spell the placeholder btw its essentials

warm plover
#

Yeah I know sorry

#

But ty!

winged chasm
#

is it possible to have a placeholder take only first item of a list returned by other placeholder? like:
{some_placeholder_which_takes_string_here>_%placeholder_returning_a_list%}

(specifically talking about making %quests_player_current_objectives_<quest>% work with oldest quest player has)

sacred thunder
#

is there a way to specify the amount of deciamals in a the math placeholder. i know you can do it in the settings but i want it per equation

vivid sparrow
#

@sacred thunder

#

%math_n:_expression%

tender sphinx
#

Does anyone know how to do javascript like, give a diamond to player when player break the block without type /papi parse %player_name% %javascript_test%

austere hawk
#

Not exactly, but close to what you want. I'm not sure though if you should really do this via javascript if you have many players

austere hawk
#

Btw let me know if you can find out if/how one can use javascript for events.

#

Idk about that tbh

vivid sparrow
#

Js expansion is not meant to do that

austere hawk
#

Can you technically do it though?

vivid sparrow
#

You probably can but idk if you should, Silver

#

There's tones of plugins that could do that

austere hawk
#

That's what i said above basically. I can't imagine a js looping non stop to run checks constantly to be healthy but then again, not sure if you can even do that

#

That's also very true

#

Sadly, very often when looking for small plugins that do maybe 2 or 3 things are rare, usually you end up with getting a huge plugin and disable 90% of it because the rest is not what u need xD

vivid sparrow
#

A good opportunity to learn java xD

austere hawk
#

Shouldnt be too hard; get player, get block, if block = x material then do x otherwise abort mission - or am i wrong

#

If you boil it down to the basics

#

Block break event i think?

junior musk
austere hawk
#

Holy crap, i knew something about java ahaha

#

For you guys thats probably baby stuff but i cant java for my friggin life, so having known that is a huge thing for me xD

junior musk
#

I had the same reaction when I started x)

#

I started all thanks to Blitz lol

#

I just wanted to get a list of players, then I did it with PAPI JS, then I wanted more and did it in Java, and continued with more projects x)

austere hawk
#

I've always been interested in java, it just seems so undoable like you stand in front of this massive wall as rookie and you think 'maybe i should just get outta here instead'

junior musk
#

there are some pretty good websites explaining the basics in details

#

and you can also check other plugins' code on GitHub to help a bit

austere hawk
#

Idek where to start. 2 years ago i actually bought one of them weird online courses and never got past the explanation of objects

#

๐Ÿ˜‚

junior musk
#

tbh I didn't buy anything, I only checked w3Schools to understand how to set up the thing x) ||https://www.w3schools.com/java/java_intro.asp|| and then checked Spigot's wiki to check what dependencies I had to use and how to actually create the plugin

austere hawk
#

Lucky you. I mean, i never touched any code language ever so no wonder my brain blew up at first. Now that i have a few basics in javascript, it's a bit better since well, you get a feeling for the way you need to think. I'm still struggling with my all-time enemy: arrays

junior musk
#

x)

austere hawk
#

I hate arrays so much. Soooo much, i can't even put it into words

junior musk
#

what's wrong with them?

austere hawk
#

They make no sense xD

#

In some ways they do but then not some other times idk

junior musk
#

you get an array, maybe called args, you take the item at position x in the array with args[x] and check for the length of the array with args.length

junior musk
austere hawk
#

I did some exercises the other day and it had me check 5 different arrays in one go, one being empty, for which i had to return 0 instead, return first, return last, return every 2nd, so like the whole battery of possible outcomes in one task

#

Took me 3 hours to get it right and 2 aspirin for my headache

#

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

junior musk
#

but it sounds easy ;-;

#

x)

austere hawk
#

To you yes, no doubt. For me, that was a trip to hell.

junior musk
#

rip

austere hawk
#

In the end i did it, so i was happy about that ofc but then the next exercise killed me and i haven't done javascript for like a week now lul

#

Mayyyybe you can explain that one to me :P

junior musk
#

why not :D

#

but we should probably go in DM so we don't disturb this channel x)

austere hawk
#

Oof yea you're right lol

vivid sparrow
#

Feel free to chat @austere hawk @junior musk, just not in this channel

austere hawk
#

We moved to dms, sorry

vivid sparrow
#

No problem

peak token
#

for some reason i cant reload placeholderapi

#

heres the console message

chrome totem
#

hey

#

do u have leak parkour

finite cove
#

is there a placeholder to show a player name?

warm topaz
#

?player

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

willow quartz
#

?help

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

Source

willow quartz
#

hi, i'm searching for someone who explains how to send the ip address (not always the same, because it's my ip address) with the DiscordSVR plugin and they told me to ask here if there is a plugin.

magic rock
magic rock
#

papi ecloud download Player
papi reload

willow quartz
magic rock
#

where do you want it

willow quartz
#

and then to show on DiscordSVR?

magic rock
#

if discordsrv support placeholderapi just put it in message where you want

willow quartz
warm dune
#

hi, i have this error with the guild plugin on my 1.17.1 paper spigot server

turbid tide
rotund swift
#

Heya,

how does the "server" expansion retrieve the server name?

It just says "A minecraft server" in the actual java file.

I can't find the config that bukkit provides the server name.
Yes, I have tripple checked server properties

junior musk
#

iirc it's from PAPI's config.yml

rotund swift
#

Ahh! Thank you so much! Why didnt I think of that iwi

austere hawk
#

Hi guys

#

I'm having this error that when i get 1.8.2 dev version the placeholder api doesnt work

#

I can't use 1.8.1 because it dont work for 1.17

#

(for deluxetags)

idle adder
#

https://imgur.com/a/LL1xNsO hi, i use a plugin to custom enchants, uses the placeholders on the image link but i dont know how to use em

turbid tide
austere hawk
#

it says internal occurred error bla bla bla

turbid tide
#

don't use 1.8.1

#

use 1.8.2

#

and delete the deluxetags expansion

#

from plugins/PlaceholderAPI/expansions

austere hawk
turbid tide
#

no

#

don't download it at all

austere hawk
turbid tide
#

%deluxetags_tag%

austere hawk
#

@turbid tide dms

tender vaporBOT
visual yacht
#

%math_100_[precision:2]% why this doesnt work

sharp jay
#

@visual yacht you sure?

visual yacht
#

Yes, got it now

#

its %math_2:1_100%

sharp jay
#

kk

#

when they show [] in placeholders it usually imply to saying you can replace it and no need to include []

#

headsup for the future tense

toxic jungle
#

Helo, does anyone knows why custom placeholders aint working? I have multiple servers and this happened at the same time

austere hawk
#

how can i do in javascript to transform a number into simplified? i.e. instead of having 12000000 I would like to have 12M

silk finch
#

DeluxeChat 1.17.1 @final shadow

tender vaporBOT
silk finch
#

?

austere hawk
#

how can i do in javascript to transform a number into simplified? i.e. instead of having 12000000 I would like to have 12M
like this but not in vault ^^ thousands: k trillions: T quadrillions: Q billions: B millions: M

#

like this but with another placeholder and not a number :p

turbid tide
unborn dagger
#

hi, i want to put an "-" to the placeholder if it's empty
for example if i'm in a plot in plotsquared, it shows the owner of the plot, but if i'm on the road, the placeholder is like empty

pure wraith
#

is there a placeholder for what a worlds weather is?

magic rock
unborn dagger
#

i have another question
how can i use javascript placeholder for scoreboard?

magic rock
#

wdym? the placeholder should work everywhere

turbid tide
#

everywhere where PAPI is supported*

unborn dagger
#

i mean what is "yourplaceholderidentifier" meaning in %javascript_<yourplaceholderidentifier>%?

magic rock
#

%javascript_filename% without JS

turbid tide
#

well you make the placeholders and declare them in javascript_placeholders.

magic rock
#

๐Ÿ˜ณ

unborn dagger
#

oh no, i got an error

    ReferenceError: "MrEveriX" is not defined in <eval> at line number 1```
turbid tide
#

can we see your code?

unborn dagger
#

ofc

#
var output;

placeholder == true ? output = placeholder : output = "-";```
#

nvm

#

i forgot to reload papi

#

but now, it's showing "-" when i'm in a plot too :/

turbid tide
#

well

#

parse the placeholder

#

see if it returns

#

true/false

#

or maybe a name

#

instead of true/false

unborn dagger
#

it's working

#

i accidently worked with null instead of ""

#

but anyway, thank you for helping

elder stump
#

Hey
I run into a small issue, I want to use ChangeOutput in FeatherBoard.
The issue is that FeatherBoard uses {} and ChangeOutput asks to use {} for inside placeholders

#

Is there any solution for this?

#

&f{placeholderapi_changeoutput_equals_%superior_island_top_level_position%_&f_Nincs_#%superior_island_top_level_position%}

#

All arguments can be replaced with other placeholders, wrapped in {}

austere hawk
#

Iirc, featherboard does not rely on mvdw placeholders anymore. When i updated to 1.17 and latest featherboard, oddly, my placeholders all broke due to the {}, i had to replace them all with % and now it's fine. Just saying

elder stump
#

at which version?

austere hawk
#

5.0.3b. There was an update on oct 10th to ver 5.0.4, haven't tested that one yet

exotic lily
#

Can someone help me why I get this when installing the vault expansion?
"[10:29:33] [Server thread/ERROR] [me.clip.placeholderapi.PlaceholderAPIPlugin]: [PlaceholderAPI] Failed to load expansion class VaultExpansion - One of its properties is null which is not allowed!"

warm topaz
#

do u have the vault plugin installed? and an economy plugin that hooks into vault?

exotic lily
#

i have vault and essentials x

#

I have both plugins in their latest version, my server is version 1.12.2, I don't know if that will have something to do with it

warm topaz
#

can u send a startup log pls

#

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

turbid tide
#

my assumption is that the problem is with the version again. seen this happen quite a bit for people. Someone said it might have to do with the system or something but don't remember any fix or anything

woeful elm
turbid tide
woeful elm
#

Okay thanks

#

But the join game stat is gone? I can only find the LEAVE_GAME one

#

Or I just can't read

turbid tide
#

if its supposed to show when you joined, I don't believe that was ever a thing

woeful elm
#

I believe it should show how many times you joined

#

I remember it working (quite) some time ago

turbid tide
#

oh

#

there is one for how many unique players have joined a server but don't remember any for how many times a player has joined

exotic lily
#

?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

tender vaporBOT
warm topaz
#

im gonna guess what blitz said

warm topaz
exotic lily
tender vaporBOT
warm topaz
#

its just one that i created now to fix the issue. but seems as tho it works, i will now create a PR to the expansion on github, and hopefully will be available to everyone else through ecloud soon

exotic lily
#

Thank you very much, I appreciate your work

lunar slate
#

[PlaceholderAPI] Failed to load expansion class MathExpansion (Is a dependency missing?)

warm topaz
#

is there an error to go with that?

lunar slate
haughty canopy
#

does latest PAPI works with java 8?

turbid tide
turbid tide
vivid sparrow
#

Yes

magic rock
lunar slate
#

there is an alternative to display players from 2 servers combined?

magic rock
#

Math expansion

lunar slate
#

dosent work

cerulean spade
#

The placeholder 'VotingPlugin_Total_AllTime' does not give a numerical value. Make sure that the placeholder returns a number that is not formatted

magic rock
# lunar slate dosent work

did you downloaded the expansion? did u realoded the papi?
what placehodler do you use? what /papi parse me %placeholder% returns?

lunar slate
#

i just downloaded the math

#

and reload

magic rock
#

like %math_hello% or %math_1+1%

cerulean spade
lunar slate
#

no one

#

i didnt use it

magic rock
#

how do you know it doesnt work then

lunar slate
#

i have the error

magic rock
#

what error, can you send screen & stracktrace of error (basically error in console/latest.log)

lunar slate
#

here

clear comet
#

hiya, every once and a while my server will un-register my placeholders for venturechat, vault and such. Just wondering if I could get some assistance with that!
the paste is here. https://paste.helpch.at/uxixijasun.md

sour wadi
#

Is there a placeholder to get the owner of a worldguard region? I've tried parsing this %worldguard_region_owner% it's only good if your standing in the region something like %worldguard_region_<region>_owner% is what I'm after

austere hawk
#

i imagine this isnt the fault of papi. but im going to post here in hopes of some help anyway.
Im using mycommand to store playerdata for boss kills. When i use papi parse on a player with no value i get NoData or just the correct numerical value. when i try it again on some other users i get An internal error occurred while attempting to perform this command
for example this is a players data file:

  HansGruberKill: 1
  TotalKills: 1```
this is another playerd data file
```f8bafa58-d180-4199-89b1-ba01de5fd43e:
  MerlinKill: 15
  TotalKills: 15```
the output of this command: ```/papi parse <uuid> %mycommand_playerdata_TotalKills%```for the latter player is ```15``` and the other is ```An internal error occurred while attempting to perform this command```
#

this is consoles output

hollow copper
#

Hello a few days ago I installed the animated scoreboard but they recommended to me they used the PlaceholderAPI to obtain extra commands and I did so but every time I try to modify something in the animated scoreboard and then restart my server so that the modified work does not respond it is as if it will be in a loading loop, uninstall the plugin and the problem is fixed but I would like to continue using this one, thanks for the help in advance
** 19.10 05:16:47 [Server] Server thread / INFO [me.clip.placeholderapi.PlaceholderAPIPlugin]: [PlaceholderAPI] Placeholder expansion registration initializing ... ** ** Full registration: ** https://paste.shockbyte.com/uceboloqalonuqarezon

ocean edge
#

what is the different between this 2 placeholder? i tried both and they give me the same result

%pinger_gameversion_testplugins.com:25565%
%pinger_version_testplugins.com:25565%
turbid tide
#

just every placeholder has 2 options for some reason

sturdy sluice
#

for the javascript placeholder script, is there some BukkitPlayer equivalent for the player that receives the message / placeholder, instead of the player that gets parsed along with the placeholder? (like where it'd always return my username)

sturdy sluice
pearl locust
#

So im having a HUGE issue rn and i have no clue what im doing wrong
my %luckperms_prefix% in deluxe chat is showing as nothing?
it doesnt show the placeholder as if i didnt have it installed in placeholder api, it just shows an empty space where the placeholder should be
idk if anyone can help?

cerulean quarry
#

How do I use placeholders like %bungee_<server.name>% on mine bungeecord server? I want it to display the number of players on the main server, but nothing works. Do I need to install PlaceholderAPI on bungeecord server? It is not installed in anyway .

magic rock
magic rock
#

i think lp placeholders are not vault dependant

fervent spire
thorn canyon
#

Quick question about formatters โ€”ย how do you run a formatter on another placeholder?
{formatter_text_substring_0:7_{player_first_join_date}}

So that I can turn 01/31/21 13:45 into 01/31/21?

turbid tide
#

formatter only formats integer does it not?

#

don't think you can take a placeholder and change text around. that sounds like a job for the Javascript expansion. If you know some javascript that's your only option I believe

austere hawk
#

Agreed, just looked at the expansion and I don't see a way to do this with it.

thorn canyon
turbid tide
#

that's fine. its the same.

#

only difference is that you get a few default variables that you can use and also you can access the spigot api if you for some reason want to do that.

#

/papi ecloud download javascript then /papi reload to install the expansion

#

ah. one thing before you do that.

#

it requires java 15 or newer

#

if you can't update and you're on 14 or lower

#

you need to install an older version

#

/papi ecloud download javascript 1.6.0 then /papi reload for java 14 or lower

#

and now if you navigate to plugins/PlaceholderAPI you should find a javascript_placeholders.yml file. that's where you declare new placeholders you want to make.

#

also about how to make the code and where to put it

#

and how to call it.

thorn canyon
#

i'm on java16 so cool

turbid tide
#

btw. a heads up. it uses the nashorn enjine. so ecmascript 5.1 or something like that

austere hawk
#
function joinDate(){
var datewithTime = '%player_first_join_date%'

  if (datewithTime.length > 8)
  return datewithTime.slice(0,8);

}joinDate();```
#

Don't hit me.

#

Thank god it doesn't shorten itself by removing zeros so the length is always 8 xDDDDD

vivid sparrow
#

๐Ÿคฃ

#

could also split at space and get the first half

austere hawk
#

I was looking into that but w3 failed me or im blind

vivid sparrow
#

or change the default time format from papi config if you don't need the extra stuff anywhere else

#

return '%player_first_join_date%'.split(' ')[0];

austere hawk
#

Basically. Split at space, include 0 after?

#

I like to try things so they make sense, what were to happen if you changed the 0 to lets say 3

vivid sparrow
#

split() returns an array and you use [0] to access the first element

austere hawk
#

AH

#

Well, f me xD

vivid sparrow
#

['01/31/21', '13:45']

austere hawk
#

Good to know, just glad mine works. First thing that happened to me here was that i had the file on desktop, copied to server and still had the desktop one open... 'why do i always get the same errorrrrrrr?!'

#

I hate myself

austere hawk
#

If i want to download Placeholder API from Spigot i got this error

SpigotMC - High Performance Minecraft - Error
Your IP address has been banned.

What can I do than?

vivid sparrow
#

F

#

You can built it from github or download dev builds

tender vaporBOT
austere hawk
#

Okay, thank you

austere hawk
#

What can I do now?

turbid tide
austere hawk
#

Now it works, thank you

west surge
#

For creating a PAPI expansion, the class that extends PlaceholderExpansion is loaded using a class loader ?

#

because I need to inject a dependency into the class

#

without using a static reference from my main class.

thorn thunder
#

Is it an internal expansion or an external one?

west surge
#

the same plugin is an expansion also

magic rock
#

hello, how to replace two chars in one formatter placeholder?
Like in
{#HHEEXX}A{#HHEEXX}B
I want to replace { for #
and delete }

restive slate
#

Hi guys, I am making a Chat Format Plugin. How can my plugin read papi placeholders?
Example of config.yml
format: %nicknamepapi% %rankez% >> message

#

Does maybe PAPI read them automatically and I do not have to do anything?

restive slate
#

I have read that, but I do want players to chose their placeholders, like maybe %essentials_nickname%, so I do not know what they will chose. What do I do?

sleek timber
#

Hi, I was wondering why the Math-expansion wasn't working when I transferred my exact files from my laptop for localhosting, to a professional platform like Ramshard and the error log below appears. Tried searching around in this chat for any resolved issues but they didn't seem to help my situation.

Overall issue is 'dependency missing' when using Math-expansion on Ramshard, but completely works when running on my laptop.

I haven't spoken to Ramshard support yet since I wanted to see if this was a plugin-side issue first.

Server: 1.17.1 paper-341
Math-expansion: 1.2.5
PlaceholderAPI: 2.10.10

lavish sail
#

How would I do so if a placeholder gives a value greater to or equal a color code will be given, I tried this but it doesn't seem to work:

if ("%BLP_level%" < "5") perm = "&a"
if ("%BLP_level%" < "10") perm = "&2"
perm```
lavish sail
#

it works when i do ==

#

but not when i do <=

#

so specific values work but not greater to or equal

turbid tide
turbid tide
lucid lance
#

anybody's ping placeholder not working?

lost canyon
#

Hello

#

does PlotSquared placeholders not work

#

Im trying to show them in deluxemenus

#

and they donot have an ecloud download command

#

the placeholders on the wiki do not work

austere hawk
#

can someone give me the plcahodler fopr luck perm ranks

#

@me pls

magic rock
austere hawk
#

@magic rock why vault?

fervent spire
#

@austere hawk ^

austere hawk
#

okay ty

#

also

#

do any of yk

#

if i can use luck perms and have certian perms only apply in certain worlds

#

not usnig a bungeecord server

#

@fervent spire

fervent spire
#

Add world=<world name> to the end of the command, when adding permissions and/or ranks

austere hawk
#

oh thanks

#

do yk how to do it like in mass

#

or on the editor

fervent spire
#

In the editor you can do it easily just add it to the context field or use https://luckperms.net/wiki/Bulk-Editing

#

The bulkediting, will allow you to change heaps of them with the one command.

#

Depending on what you want to change, and how you want to change it

austere hawk
#

okay ty ill try it out

#

question

#

wait nvm

#

it works man thanks epic

turbid tide
# lucid lance anybody's ping placeholder not working?

IF you haven't found out why yet, I might have an answer. This is only if you're on 1.17 or newer tho. If you server is on 1.17 or newer, then all you have to do is update the player expansion: /papi ecloud download player then /papi reload

turbid tide
#

of placeholders. they might've not updated our wiki

carmine herald
#

hello eveytime i try to download the math expansion it says this in the console

#

[16:48:31 ERROR]: [PlaceholderAPI] Failed to load expansion class MathExpansion (Is a dependency missing?)

turbid tide
#

is that the only thing it says? it should probably be like a bigger error

carmine herald
#

its not letting me send it

#

idk

#

says message it too long

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

carmine herald
turbid tide
#

@arctic loom can you look at this when you got some time? ^

arctic loom
#

Uh....

#

No idea tbh

carmine herald
#

can i contact the guy who made the expansion

sharp jay
#

?help

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

Source

chilly gust
#

Hello I have an error on my console which means that I cannot load vault on placeholderapi```

.... [19:16:10 ERROR]: [PlaceholderAPI] Failed to load expansion class VaultExpansion - One of its properties is null which is not allowed!

sharp jay
#

update to the latest version of vault

carmine herald
#

how do i contact the owner of an expansion

warm topaz
#

andre is the owner of the math expansion, and hes just said he doesnt know

warm topaz
chilly gust
tender vaporBOT
chilly gust
#

oups

#

but this problem does not cause it to me that on vault its does it to me on plain else (sorry for my anglish i'm french)

warm topaz
#

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

sleek timber
#

Hi, not sure how to 'bump' my issue I posted previously without sounding impolite, but I was wondering about the Math-expansion issue similar to Yoshi's.

My previous post.
#placeholder-api message

warm flax
#

well first of all ur missing a ) at the end

#

but i dont know much js with papi

arctic loom
warm flax
#

lmao

arctic loom
#

I honestly don't quite get the error.... Maybe some java incompatabilities between the expansion jar and Caffeine (The caching utility)?

warm flax
#

yeah i hate those type of java errors

#

especially classloader ones

arctic loom
#

Maybe it would help if I shade the dependency into my own package?
Right now I only include it which worked from my testings...

sleek timber
#

Andre, if you don't mind shedding some light on my similar issue as well?

My error seems to result from clip.placeholderapi missing when I'm using it on Ramshard, a hosting platform. Though the same file/configs works on my laptop with no issues.

keen garden
#

Hello, I am writing javascript placeholder (I am quite a beginner in this regard)

and my question is how exactly is javascript_data used? Whether it is used automatically when the script is running, is it possible to access it for writing / reading.

would not want to break plugin ๐Ÿ˜„

#

The fact is that when writing regular javascript, I used the yml.js module, but I don't know exactly how it will work within the server ...

arctic loom
sleek timber
#

What is a 1-click plugin installer?

arctic loom
#

Idk?

#

The host you mentioned it on their plans page

#

Like how did you install the plugins?

sleek timber
#

Ah, then no. I transferred all my files that were portforwarded on my computer directly into the server files via FTP

arctic loom
#

hm...

#

Only other guess I have here is some Java issues... Like incompatible Java versions or something...

sleek timber
#

Meaning Ramshard's issue

arctic loom
#

maybe.

#

I can't tell what the actual cause here is

#

But if it works fine on your laptop could the cause be on the hosting

sleek timber
#

Right, I thought so too unless I wasn't aware of something with the expansion.

When you mentioned incompatible Java versions, what versions would those be so I can bring it up with Ramshard support?

arctic loom
#

Math expansion itself should work on all versions starting from Java 8

#

PAPI shouldn't be different

#

Incompatible could also mean that they may use a different distribution of Java which may lack some features or have different variants of it.

#

I'm not an expert in this, so what I say here could be wrong, so take it with a grain of salt

sleek timber
#

Heard and thank you.

carmine herald
#

thanks anyways , sorry andre i didnt know u were the creator lol

silver snow
#

Why isn't something like PAPI built right into Spigot/Paper because in languages like C++, you always have similar placeholder macros available

fervent spire
#

No, Spigot/Paper don't include PAPI internally. You need to add it.

silver snow
#

That's why I'm asking

fervent spire
#

It's not added because it's not a normal Minecraft function.

silver snow
#

Now I see

turbid tide
#

unless I'm misremembering

vivid sparrow
turbid tide
#

ok nvm. might be going insane

vivid sparrow
#

I remember something about 11+ as well

uncut matrix
#

Hello,

This JavaScript placeholder works, but im wondering if its possible to remove the decimals? Like when 2 humans are online in the hubs then it will return 2.0

function hubCount() {
    return Math.round(parseInt(%bungee_hub1%)+(%bungee_hub2%));
}
hubCount();
vivid sparrow
#

add a .toFixed() at the end

uncut matrix
#

Okay

#

Works, thank you Gaby ๐Ÿ˜„

vivid sparrow
#

Np

arctic loom
tender vaporBOT
arctic loom
#

Shhhhh

vivid sparrow
#

ah

turbid tide
#

couldn't be me

austere hawk
#

Hello

#

so

#

nvm

#

I installed vault expansion and %vault_eco_top_balance_formatted_1% doesn't work
it just says 0
and %vault_eco_top_player_1% is just empty message

#

is this the right channel?

turbid tide
austere hawk
#

i have ssentials expansion too

turbid tide
#

you can read in pinned messages why but short answer is they were very bad for performance

turbid tide
#

you can take it from there

#

go to plugins/PlaceholderAPI/expansions and delete the Expansion-Essentials from there

#

and put the one you just downloaded from pinned messages

#

and do a /papi reload

#

the available top placeholders are all listed there

#

in pinned messages

austere hawk
#

ok

#

still says 0

turbid tide
#

what placeholder did you test?

austere hawk
#

%essentials_baltop_balance_fixed_1%

turbid tide
#

try executing /baltop first and then parsing the placeholder

austere hawk
#

k

#

well btw

#

i have 1k money

#

when i type /baltop

#

there is no me in it

turbid tide
#

are you op?

austere hawk
#

yes

#

my friend is op too

#

he is on it

turbid tide
#

essentials has a permission to not be listed there

austere hawk
#

hmm

#

my friend is op

#

he is on baltop

#

bu

#

but

turbid tide
#

essentials.balancetop.exclude

austere hawk
#

tthere is null in 4th place

#

i think its me

turbid tide
#

set this permission to false

#

for yourself

austere hawk
#

nope

turbid tide
#

not sure then I'm afraid

#

that's the only thing I could think of

austere hawk
#

there is my friend in first place

#

he is op

#

then there is 3 more friends

#

and there is null

turbid tide
#

what version of essentials you got? try getting the latest and greatest

austere hawk
#

ok

#

i will try

#

ill try reinstalling

turbid tide
#

if not you might want to contact their support as I have 0 clues. or maybe ask in #general-plugins and be patient until maybe someone that knows is online

austere hawk
#

k

austere hawk
#

Maybe its a problem cuz i use purpur?

#

i switched to paper same sht

deft crest
#

Hi, does anyone here know anything about java skript?

#

I use 3 placeholders in the scorboard, but I need to create my

&b%statistic_time_played:days% &7ะด. &b%statistic_time_played:hours% &7ั‡. &b%statistic_time_played:minutes% &7ะผะธะฝ.

#

The problem is that I am displayed 0 days, I can of course remove them at all, but I need to display only what is played.

#

I can't figure out how to create this placeholder, since my js level = 0

turbid tide
#

ah unless you really need the language

#

to be that

deft crest
turbid tide
#

yeah nah. that won't work. javascript is the way. 1 second. I'll make one for you

junior musk
#

changeoutput expansion?

deft crest
#

I'm trying something like this right now

junior musk
#

if placeholder returns 0, return nothing?

deft crest
#
var placeholder1 = "%statistic_time_played:days%";
var placeholder2 = "%statistic_time_played:hours%"; 
var placeholder3 = "%statistic_time_played:minutes%";

function placeholderCheck() {
    
  if(placeholder1 == "0"){
      return "";
  }
  else {
      return "&b%statistic_time_played:days% &7ะด.";
  }
  if(placeholder2 == "0"){
      return "";
  }
  else {
      return "&b%statistic_time_played:hours% &7ั‡.";
  }
  if(placeholder3 == "0"){
      return "";
  }
  else {
      return "&b%statistic_time_played:minutes% &7ะผ.";
  }
}

placeholderCheck();
turbid tide
#

hmm

deft crest
turbid tide
#

what tangu said could also work

deft crest
#

And how can you use this changeoutput, I'm just not very knowledgeable in js and do everything from the guide somehow

#

I can see the placeholders, but how do I implement it correctly?

turbid tide
#
var days = "%statistic_time_played:days%";
var hours = "%statistic_time_played:hours%"; 
var minutes = "%statistic_time_played:minutes%";

function getTimePlayed() {
  var result = "";
  if(days != "0"){
      result = "&b" + days + " &7ะด. " + result;
  }
  if(hours != "0"){
      result = "&b" + hours + " &7ั‡. " + result;
  }
  if(minutes != "0"){
      result = "&b" + minutes + " &7ะผะธะฝ." + result;
  }

  return result;
}

getTimePlayed();```
#

try this code

deft crest
tender vaporBOT
deft crest
#

sry

#

Only now I have the minutes in front of the hour :DDD

turbid tide
#

all good. you're welcome

deft crest
#

was it possible to remove the + result? I removed it in minutes and everything seems to be fine

turbid tide
#

hmm. that might break it

#

the first + result

#

you can remove

#

but the rest no

deft crest
#
function getTimePlayed() {
  var result = "";
  if(days != "0"){
      result = "&b" + days + " &7ะดะฝะตะน " + result;
  }
  if(hours != "0"){
      result = "&b" + hours + " &7ั‡ะฐัะพะฒ " + result;
  }
  if(minutes != "0"){
      result = "&b" + minutes + " &7ะผะธะฝัƒั‚.";
  }

  return result;
}
#

Yes it broke him.

#

Maybe I should try switching things around then?

turbid tide
#

yeah don't remove the last one

#

the first one only

#
function getTimePlayed() {
  var result = "";
  if(days != "0"){
      result = "&b" + days + " &7ะดะฝะตะน ";
  }
  if(hours != "0"){
      result = "&b" + hours + " &7ั‡ะฐัะพะฒ " + result;
  }
  if(minutes != "0"){
      result = "&b" + minutes + " &7ะผะธะฝัƒั‚." + result;
  }

  return result;
}```
#

this if you want

deft crest
#
var days = "%statistic_time_played:days%";
var hours = "%statistic_time_played:hours%"; 
var minutes = "%statistic_time_played:minutes%";

function getTimePlayed() {
  var result = "";
  
  if(minutes != "0"){
      result = "&b" + minutes + " &7ะผะธะฝัƒั‚." + result;
  }
  if(hours != "0"){
      result = "&b" + hours + " &7ั‡ะฐัะพะฒ " + result;
  }
  if(days != "0"){
      result = "&b" + days + " &7ะดะฝะตะน " + result;
  }

  return result;
}

getTimePlayed();
#

this worked

#

Only now for some reason the days are displayed in hours as I understand it

#

just put %statistic_time_played% next to it for comparison, and it displays 22 days 24 hours 46 minutes

if you use what we did in the placeholder, it shows 46 days and 46 minutes

#

I sent you a screenshot in a private message

#

Two questions ๐Ÿ˜„ Why are there no clocks, and why are the days different :DDDD

turbid tide
#

are you sure the placeholders are correct?

deft crest
#

Well, I think so, it's working right.

turbid tide
#

so you're saying its working right now?

deft crest
#

Yes, everything works. But I put for example a separate playshare stat_day, not the one in the script, and it showed 44 days, although played was 22, and so, if you use stat.._time_played, it will also be displayed as 44 days

#

I completely zeroed the statistics played time, it seems the bugs are gone, but I'll keep watching.

austere hawk
#

hey!! I need some help with setting up the place holder for mmohorses. P api says itโ€™s regeistered but I have no idea how to put the placeholders in! I just need the %horse_food_bar%

#

if anyone could help it would be much appreciated โค๏ธ

low glade
#

there's no wiki section for simplepets for placeholderapi but i can still download the expansion to my server?

turbid tide
low glade
#

yeah i figured that out, it didn't have useful placeholders anyway. i was just curious

elder stump
#

Hey!
I have a small issue regarding Checkitem
So I try to use the following placeholder:
/papi parse me %checkitem_mat:PRISMARINE_CRYSTALS,amt:192,nameequals:&6&lHarris Generรกtor Tรถredรฉk%
but it only works for 64 amount, is there anyway to check 192?

turbid tide
#

it should work for any amount pretty sure

elder stump
#

nope

elder stump
tender vaporBOT
turbid tide
#

well I've tried it before and it works with any amount

#

starting the test server rn

turbid tide
#

and without enough:

#

as you can see only got 1 stack

#

@elder stump execute /papi dump and send the generated link here

elder stump
#

maybe I have to update checkitem?

turbid tide
#

yeah. that's what I wanted to see

#

with the dump

#

see what versions you got

elder stump
#

ah it works now

#

thank you

grave smelt
#

Hey, random number expansion isnt working

turbid tide
grave smelt
#

i tried manually installing it

#

and through the plugin

true ferry
turbid tide
grave smelt
#

yes

turbid tide
#

can you do /papi dump and send the generated link

grave smelt
#

ohk

true ferry
turbid tide
#

I know that one works

grave smelt
#

ohk

#

tysm, that works

true ferry
#

pls help

#

๐Ÿ˜ฆ

true ferry
turbid tide
#

you said that other javascript placeholders also are broken?

true ferry
#

Yea, idk why

#

I reset the modality and it got damaged

turbid tide
#

can you do /papi dump and send the generated link here please?

true ferry
turbid tide
#

do you know what java version your server runs on by any chance?

#

(not talking about the minecraft version but the java version)

true ferry
#

Ouh, idk... I think its java 11 but im not sure

#

because we have all javas

#

We are a network, so...

#

I really need to solve it, the opening of the modality is today but I don't know why this happened.

turbid tide
#

well. I need to know your java version for me to fully solve this. but for starters I want you to stop the server then go to plugins/PlaceholderAPI/expansions. in there you should find 2 jars: Expansion-Javascript.jar and Expansion-javascript.jar

#

delete both of those and start the server

true ferry
#

Okay its starting

#

I deleted the files

turbid tide
#

ok. now after it starts do /papi ecloud download javascript 1.6.0 then /papi reload

#

and test the javascript placeholders after that

true ferry
#

Now the placeholders not appears XD

turbid tide
#

ok. can you go to plugins/PlaceholderAPI/ and copy whats inside javascript_placeholders.yml, put it in a paste bin (https://paste.helpch.at) and send it here?

true ferry
#

yea wait

#

This?

#

Im really new in papi, sorry :/

turbid tide
#

yes. that

#

hmm

#

can you go to plugins/PlaceholderAPI/javascript and send a screenshot with the files that are inside the folder please?

true ferry
#

yea

#

Ohhh, when i put papi reload the tokenmanager placeholder got bugged too XD

#

But this placeholders got bugged everytime, and i can fix it by deleting the data

turbid tide
#

for that you'll have to contact their developer

#

for the token manager one

true ferry
#

Oh okay

turbid tide
true ferry
tender vaporBOT
#
๐Ÿ“‹ Paste Converted!
https://paste.helpch.at/agebavimot

A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!

turbid tide
#

also. a screenshot of the item you sent earlier. how does it look now?

true ferry
#

hmmm the content of javascript?

#

or what?

turbid tide
#

yeah. you sent a screenshot of a lore at the start showing that it doesn't work

#

and it was showing the placeholder itself

true ferry
#

Ohhh now not appears, look

turbid tide
#

oh so nothing.

true ferry
#

Yea

#

Available en: And here need to be the placeholder

#

Before it appeared, but bugged

turbid tide
#

can you generate a new /papi dump please

true ferry
turbid tide
#

ohh

#

can you try

#

changing that placeholder from %javascript_cooldown_Mv-tp-Dungeon_10800% to %javascript_cooldown_Mv-tp-Dungeon,10800%

#

so , isntead of _ for the last one

#

oh actually nvm. don't do that. that will not fix it

#

can you set a cooldown instead?

#

so use the dungeon mv tp

#

to set the cooldown

true ferry
#

Where i need to go

#

?

#

Im confused XD

#

ohh wait i found it

#

Look, im here.
ยฟWhat i need to do
?

#

'Dung-1':
material: basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmM3ZTExNDNiZDBmYWM0M2NlYjk5OTQzYWJiYzhlN2RmMGRiMzU2MTNjYTY3YmJlNjA5MDBmY2Y1YWNlODRhYSJ9fX0=
slot: 13
priority: 1
view_requirement:
requirements:
name:
type: string equals
input: '%javascript_cooldown_Mv-tp-Dungeon_10800%'
output: 0s
name2:
type: has permission
permission: essentials.kits.Tools

turbid tide
#

no no. in the lore only

#

there should be a lore

#

use CTRL+F to search for %javascript_cooldown_Mv-tp-Dungeon_10800%

#

and see if you can find it inside a lore

true ferry
#
  • '&7Available in: &a%javascript_cooldown_Mv-tp-Dungeon_10800%'
turbid tide
#

but that's not what you do to set the cooldown

true ferry
#

Ohh this

turbid tide
#

I want you to like actually use the menu

#

can you not?

#

to teleport

true ferry
#

Yea, before when a player click on the npc, a deluxemenus opens

#

So the players click the item and they be teleported to the dungeon

#

But with a cooldown too

turbid tide
#

hmm.

true ferry
#

I also have the same javascript in what would be the menu of the mine, they click it and I should tp them

true ferry
turbid tide
#

not sure. took a look at all the files and can't see where the problem can come from

stuck moat
#

I've tried both a reload and a restart, I'm probably just doing something dumb without noticing

turbid tide
#

so you can't replace it for every single placeholder but just for those who actually use boolean

stuck moat
#

Oh that explains it, I'll convert it in-script than, ty!

turbid tide
turbid tide
#

ah. its all closed source. can't look at it.

#

test it on one that we know that uses boolean tho

#

let me find one real quick

#

ok. found one

#

try /papi parse me %player_has_permission_some.perm.node%

#

this one should return true or false

#

make sure you have the player expansion installed tho

stuck moat
#

Yep, that worked perfectly

turbid tide
#

alright then yeah it uses yes and no strings

#

you might want to report this to the developers

stuck moat
#

Will do :p, Thank you!

turbid tide
#

๐Ÿ‘ no problem

true ferry
#

OO

#

I fix it!!

#

Crane i downloaded the 2.1.0

#

And it worked XD

#

the problem is with the 1.6.0

turbid tide
#

well. that's why I wanted to know the java version

#

guess you're on java 15 or newer then

#

I just used 1.6.0 to be safe

#

lmao

#

but I Forgot that doesn't work on java 15 or newer lmao

#

my bad

true ferry
#

XD thanks for the support and attention ๐Ÿ˜„

haughty canopy
#

what am i doing wrong

#

(please tag me)

gaunt osprey
#

Hi I need help with the PlaceHolder API plugin

#

When I try to download the vault expansion I get an error on the console and it won't download

tender vaporBOT
#
FAQ Answer:

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

turbid tide
#

send the error in a paste bin ^

turbid tide
#

ah. well that usually happens because you have a plugin that messes with the class loader. plugins like ChatControl do this.

#

this will be fixed in the next version tho

#

of the vault expansion

gaunt osprey
turbid tide
#

well idk if that messes with the class loader or not

rich flint
#

I uh

gaunt osprey
rich flint
#

Cant get math to work for 1.17?

turbid tide
gaunt osprey
rich flint
#

Is math broken for 1.17?

#

And if so, what can I do to fix it [Since it is open source]

#

Basically, its because of the class loader issue.

#
[19:42:51 ERROR]: [PlaceholderAPI] Cause: LinkageError loader constraint violation: when resolving method 'com.github.benmanes.caffeine.cache.Cache com.github.benmanes.caffeine.cache.Caffeine.build()' the class loader java.net.URLClassLoader @cd71911 of the current class, com/andre601/mathexpansion/MathExpansion, and the class loader java.net.URLClassLoader @2c028a87 for the method's defining class, com/github/benmanes/caffeine/cache/Caffeine, have different Class objects for the type com/github/benmanes/caffeine/cache/Cache used in the signature (com.andre601.mathexpansion.MathExpansion is in unnamed module of loader java.net.URLClassLoader @cd71911, parent loader 'PlaceholderAPI-2.10.10-DEV-123.jar' @447bdb07; com.github.benmanes.caffeine.cache.Caffeine is in unnamed module of loader java.net.URLClassLoader @2c028a87, parent loader 'app')```
gaunt osprey
turbid tide
#

yes sir. its called luckperms

rich flint
#

Luckperms has prefix and suffix easily in it...

turbid tide
#

and the vault one doesn't work for him

#

so I recommended him the luckperms expansion

rich flint
#

Oh, well yeah I just use luckperms placeholders myself,

gaunt osprey
rich flint
#

Is there a working version of the math expansion?

turbid tide
rich flint
#

Where did you download urs from

arctic loom
#

Second time this issue appears. Not sure what exactly happens here....

#

Let me see if shading it into my own path may work...

rich flint
#

Hmm holdon, I may have a diff solution im trying quick

#

I think I might have found the issue...? im trying it.

#

So basically, the papi ecloud version vs the ecloud manual download, have diff file names?

#

Im guessin that COULD have something to do with it?

#

No nvm

#

Prolly not

#

they are the same exact size lmao

#

regardless

#

I am still tryin

#

Yeah, didnt fix.

turbid tide
#

nah same thing

rich flint
#

I had to try

#

lol

#

Ping me if u fix this andre?

arctic loom
#

When my google search is correct does that error point to 2 classes loading 2 different poi classes?
Idk... It's confusing to me

#

Can't even upload a jar here :/

turbid tide
#

lol. fake tier 4

rich flint
#

Im tryin it

arctic loom
#

I have my doubts that it fixes the issue, but if it does....

#

Otherwise will I relocate the caffeine dependency

#

Maybe that will help

#

LinkageError is thrown when a class 'ABC' is loaded by more than one classloader and those classes are being used together in the same code (compared, cast, etc). Independent of whether it is the same Class name or even if it is loaded from an identical jar - a Class from one classloader is always treated as a different Class if loaded from another classloader.

#

There we go, finally some info...

#

So I guess another class loader tries to access caffeine or smth?

rich flint
#

worked

arctic loom
#

That actually worked?

rich flint
#

I guess so

#

No annoying message

arctic loom
#

Lol. All I did was adding a <scope>provided</scope> to the dependency

rich flint
#

Well, The more you know.

#

๐Ÿ˜„

#

It did work tho, atleast, according to the console lol

turbid tide
#

it might come with another plugin or spigot itself then?

arctic loom
#

I don't think Spigot is using Caffeine

#

They have Guava, no?

#

Which iirc does have a own Cache system

turbid tide
#

probably. not sure. just assuming

arctic loom
#

The error mentions 'app' as another class loader

turbid tide
#

yeah guava has its own cache system

#

could it be that they have 2 math expansions installed?

arctic loom
#

That would cause errors on PlaceholderAPI I think

turbid tide
#

nah. I Think it loads just one

#

actually

#

because it happens a lot where people update the server expansion and bcz the name was switched from Expansion-server to Expansion-Server

#

they have both

#

and they still have the 1.17 bug

#

even tho they updated

#

seen it a lot

arctic loom
#

Pushed an update

turbid tide
#

so that wouldn't be it

#

idk

arctic loom
#

I hope 1.2.6 truly fixes this...

turbid tide
#

hopefully

#

@rich flint just for curiosity tho. can you do /papi dump and send the generated link here please?

#

nope. just one. welp thanks

austere hawk
turbid tide
#

did you download the math expansion?

#

also

#

that's not a bungee placeholder

#

it should look like this: {bungee_SERVER-NAME}

turbid tide
#

update

#

a fix just got pushed

#

to the eclou

#

d

flint venture
#

hey!

#

Im currently really confusioned with the pinger extension

#

Its saying the server is offline when it is

#

im using pterodactyl

#

I have the extension downloaded

turbid tide
turbid tide
#

then start the server

#

see if the error still shows up

#

if it does I might need a full startup log

#

oh wait

#

@arctic loom we have a problem

#

you made it provided

#

so now it doesn't find it

#

it means whatever plugins that guy had

#

was using cafeine

#

what you should do

#

is relocate instead

#

because now for people that don't have that plugin it is ClassNotFound

arctic loom
#

Will do in a second... Have something else to deal with first

turbid tide
#

๐Ÿ‘ all good

#

just letting you know

#

@austere hawk ^^ you'll have to wait for the next update

austere hawk
#

Yh np, at least we know what's the issue now ๐Ÿ˜„

#

how to make %essentials_baltop_player_0% to now show prefix?

arctic loom
#

It should have Caffeine relocated

arctic loom
#

strange

turbid tide
#

nothing there

#

it didn't relocate

turbid tide
#

you can open it with winrar and see there's no dependency there

#

still

#

do yo uhave the maven-shade plugin?

arctic loom
#

Next try

#

This time did I re-add the <include> tags for Caffeine

turbid tide
#

seems to be there

austere hawk
magic rock
#

xd

turbid tide
#

it requres java 11

#

why @arctic loom ? does cafeine require 11?

arctic loom
#

Idk? I guess?

#

Like my pom.xml is set to 8

#

Just update Java I guess

#

I seriously can't be bothered to fix that now, especially since it can be fixed on your end anyway

rich flint
#

AND im back

#

so my math doesnt seem to be working

#

I did %math_10+10%

#

and it doesnt work

#

Hmm

#

@arctic loom do u know what im doing wrong here

#

papi parse that doesnt work

#

Ooooo

#

its not finding it

#

yea so

#

the 1.26

#

isnt working

#

NoClassDefFound:

#

[21:58:07 ERROR]: [PlaceholderAPI] Cause: NoClassDefFoundError com/github/benmanes/caffeine/cache/Caffeine

arctic loom
#

Did you try 1.2.7 yet?

rich flint
#

Oh wait what?

arctic loom
#

Like @turbid tide said it works for him

tender vaporBOT
rich flint
#

Another one?

#

lol

arctic loom
#

Idk at this point

rich flint
#

U had 1.25, that wasnt working, u pushed 1.26

#

that one isnt working

#

holdon....

#

ill go back and try

#

the 1.25 u sent me

#

that worked

arctic loom
rich flint
#

oh

#

sorry

#

i see my mistake now

arctic loom
#

The only issue I got from others was that Java versions are incompatible

#

Needs Java 11 now

rich flint
#

I have java 11 but the no class found error thing

#

that must be the same reason

#

ill check

#

yea it worked my bad

#

Sorry for the bother

spring anvil
junior palm
#

set lore

sleek timber
#

That is absolutely fascniating.

#

1.2.6 works for me. 1.2.7 does not.

#

The only error I get from 1.2.7 is
[Sun, 24. Oct 2021 06:19:41 UTC ERROR] Failed to load expansion class MathExpansion - One of its properties is null which is not allowed!
but hey, I'm happy it works now

#

Using 1.2.6

modern dagger
#

Hello everyone is there a placeholderapi for Bungeecord?

turbid tide
austere hawk
#

What math version should I use for Java 8

#

Since I can't really update unfortunately

young maple
#

how to fix this .... I want to use java 11 with java script

young maple
junior musk
#

/papi ecloud download Javascript 1.6.0

#

or download the file manually from the ecloud and put it in your Expansions folder in your PlaceholderAPI folder

tender vaporBOT
# spring anvil Thx
Hey!

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

twin prawn
#

Is there a way to set a scoreboard value to a placeholder value?

austere hawk
#

How to use args to create /stats <player> so /stats opens your stats but /stats <player> opens an offline player stats?

spring anvil
#

Hi, is there any way to parse a placeholder before parsing a javascript placeholder ? e.g %javascript_format_player_name% where player_name is from %player_name% placeholder

spring anvil
#

nvm, using %javascript_format_{player_name}%

turbid tide
turbid tide
#

yes bracket placeholders indeed

frozen arrow
#

Is there a placeholder that shows the players current coordinates

turbid tide
frozen arrow
#

it didnt seem to work when it was imported in my thing

turbid tide
#

did you download the player expansion?