#placeholder-api

1 messages · Page 77 of 1

mint fable
#

and that's the version you're testing with?

#

if you type /papi reload does your expansion show up

#

or is this in your plugin directly?

graceful adder
#

is in my inner class

mint fable
#

switch to onRequest(OfflinePlayer, String)

graceful adder
#

ok let me try that

mint fable
#

Also I recommend adding getPlaceholders() to your class

#

returns a List<String>

austere hawk
#

I'm trying to use PAPI with my kitpvp plugin and it will show the values on the side for a split second on join. And then vanish right after and only show the placeholders. Any help?

mint fable
#

any errors?

austere hawk
#

Nope

mint fable
#

post log

#

=paste

tender vaporBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
HelpChat Paste

austere hawk
#

No errors

mint fable
#

what scoreboard plugin are you using

austere hawk
#

TitleManager

mint fable
#

Send config?

austere hawk
#
# PlaceholderAPI
# Version: 2.10.3
# Created by: extended_clip
# Contributors: https://github.com/PlaceholderAPI/PlaceholderAPI/graphs/contributors
# Issues: https://github.com/PlaceholderAPI/PlaceholderAPI/issues
# Expansions: https://api.extendedclip.com/all/
# Wiki: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki
# Discord: https://helpch.at/discord
# No placeholders are provided with this plugin by default.
# Download placeholders: /papi ecloud
check_updates: true
cloud_enabled: true
cloud_allow_unverified_expansions: false
boolean:
  'true': 'yes'
  'false': 'no'
date_format: MM/dd/yy HH:mm:ss
expansions:
  vault:
    formatting:
      thousands: k
      trillions: T
      quadrillions: Q
      billions: B
      millions: M

mint fable
#

Titlemanager config

austere hawk
#
  # Each line must also be unique, a work around would be to put a color code at the end your line, to make it unique.
  lines:
  - '&d&l----------------------------------'
  - '&7Rank: &f%vault_rank%'
  - '%r'
  - '&e&lSTATS:'
  - '%r'
  - '&7Balance: &f%kitbattle_coins%'
  - '&7Kills: &f%kitbattle_kills%'
  - '&7Deaths: &f%kitbattle_deaths%'
  - '&7Coins: &f%user-coins%'
  - '&7KD ratio: &f%user-kd-ratio%'
  - '&r'
  - '&e&lLEVEL:'
  - '&7Level: &f%kitbattle_player_rank%'
  - '&7Next level: %kitbattle_player_next_rank% &7( %kitbattle_player_next_rank_exp% EXP )'
  - '&r'
  - '&e&lINFO:'
  - '&7Killstreak: &f%user-killstreak%'
  - '&7Highest Killstreak: &f%user-best-killstreak%'
  - '&d&l---
graceful adder
#

This is the class im using

mint fable
#

@austere hawk please use the paste site provided instead of psoting in chat

austere hawk
#

kk sorry

#

=paste

tender vaporBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
HelpChat Paste

austere hawk
graceful adder
#

So i have to replace the onPlaceholderRequest(Player) to OfflinePlayer?

mint fable
#

onRequest(OfflinePlayer, String)

#

Can you send startup log? @austere hawk

graceful adder
#

replace it completely or add it?

mint fable
#

replace

graceful adder
#

still having the issue

austere hawk
#

@mint fable there is no log 🤦

graceful adder
mint fable
#

What do you mean there's no log?

#

it's located in the logs folder

#

are you registering it @graceful adder ?

#
            papiEnabled = true;
            new PlaceholderAPIHook(this).register();
        }```
graceful adder
#

Yeah

mint fable
#

hmm

#

no idea

#

startup log?

graceful adder
#
            new PlaceholderHook(instance).register();
        }
#

do i have to do the papiEnabled?

mint fable
#

no

austere hawk
#

@mint fable and this is. Where?

#

lmao

mint fable
#

your server directory

graceful adder
austere hawk
mint fable
#

you don't even have title manager

#

?

#

or placeholderapi

#

or a kit pvp plugin

#

Did you send me the right server log? O.o

#

I got no idea @graceful adder

#

you're trying /papi parse me %eloplugin_elo% right?

austere hawk
#

latest.log

mint fable
#

and no errors in console? @graceful adder

austere hawk
#

no

mint fable
#

@austere hawk if that's your log, then you don't have any of the plugins I said

austere hawk
#

omg fml

#

I sent lobby log

#

fml

#

1s

#

@mint fable

mint fable
#

bro

#

there's a large error right there

austere hawk
#

Line

mint fable
#

424

#

seems that it might be because of kitbattle I suggest asking the dev if there's a fix or check if there's an update

graceful adder
#

i got no errors in console

austere hawk
#

kk

#

the dev has no contact info

mint fable
#

or you could try using mvdw's placeholders

austere hawk
#

will try

graceful adder
mint fable
#

PM them on spigot?

#

or use the discussion page for the plugin

austere hawk
#

Bukkit

mint fable
#

You're using the... outdated version?

austere hawk
#

Am I?

#

1s

mint fable
#

if it's on bukkit, then yes...

austere hawk
#

Nvm

#

it can't of been bukkit

mint fable
#

still outdated

#

you're on v4.1

#

latest is 5.4

austere hawk
#

from?

#

The spigot page

mint fable
#

spigot...

austere hawk
#

is 5.4

mint fable
#

Yes

austere hawk
#

Yes

#

That's it

mint fable
#

What

#

you're using v4.1

#

update

#

I don't see why you're repeating what I just said

#

if updating doesn't fix it, then idk

#

🤷

austere hawk
#

f

mint fable
#

but definitely update and see if that works

graceful adder
#

i pasted you my log

#

And it shows no errors

mint fable
#

o

#

no idea then

graceful adder
#

if im not getting the value correctly or is null it's a normal thing that papi is giving me my placeholder

mint fable
#

Yep, hence why I can't really help you there

#

because it's your own plugin :L

#

but I feel like there should be an error if something like that is happening

#

debug it

#

try something like Bukkit.getLogger.info(identifier)

#

?

fickle tide
#

Hello guys i need help where can i and can i request for small update to papi (i don't know if it is updated by the papi staff team or the owner of the plugin)
I've seen there is option for is_teleport enabled in essentials and is pay enabled but i can't to seem to find if it has something for the /msgtoggle supported if it does not can i, and other server owners expect that soon,
Thanks in advance

#

you can toggle if someone can msg you

mint fable
#

I see

#

what does %essentials_msg_ignore% do?

fickle tide
#

i think it is for when you ignore one player

mint fable
#

Did you try it?

fickle tide
#

well i am currently having issues at all with teleport and pay enabled ill try that to

#

ill give you info in few minutes

graceful adder
#

Thanks for the help Cj and sorry for wasting your time

mint fable
#

rip

graceful adder
#

now it really works

#

who would have thought im just this dumb

#

lol

mint fable
#

happens to the best of us

modern burrow
#

#pvp-stats Placeholders is not working

fickle tide
#

what does %essentials_fly% works for ? as i tested it it does not work with if i am flying or if i have fly enabled

vivid sparrow
#
return essentials.getUser(p).isFlyClickJump() ? PlaceholderAPIPlugin.booleanTrue() : PlaceholderAPIPlugin.booleanFalse();```
Guess it check if you flying
vague pine
fickle tide
#

Is it possible just to get the toggle option like if the fly is enabled not if i am flying ?

limber ice
#

@fickle tide

fickle tide
#

?

deep sand
#

Hi

#

I am using spigot1-.12 and lastest ver

#

when i type /papi parse me %player_item_in_hand_level_efficiency% it show error

brisk coral
#

Have you perhaps considered that showing the error would help? if so use this

#

=paste

tender vaporBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
HelpChat Paste

deep sand
#

@brisk coral Here is my paste

brisk coral
#

Why are you pinging?

deep sand
#

sorry for the ping

brisk coral
#

This isn't an enchantment efficiency

deep sand
#

but the minecraft wiki said that

#

Efficiency is an enchantment that increases the speed the player mines.

deep sand
#

OHH

#

Thx a lot

austere hawk
#

Can /papi ecloud install {} install any addons for a plugin you have?

brisk coral
#

if the expansion exists (and by {} you mean the expansion name, cuz that wouldn't work on it's own)

austere hawk
#

Yea

#

How do I add the expansion?

brisk coral
#

/papi ecloud download <expansionname>
/papi reload

austere hawk
#

i tried /papi ecloud download kitbattle and it said Invalid Expansion

brisk coral
#

What placeholder are you trying to use

austere hawk
#

alot

#

eg: %kitbattle_coins%

#

@brisk coral

brisk coral
#

What's with people and pinging today jesus....

austere hawk
#

lmao

vivid sparrow
#

🤷

brisk coral
#

The placeholders are internal (meaning there is no expansion for it)

austere hawk
#

Then whats the \expansions folder

brisk coral
#

There is none

austere hawk
#

omg

#

yes there is

#

wait 1s

brisk coral
#

I mean the expansions folder is where all the expansions are stored

#

player expansions etc

austere hawk
#

So

#

How would I add this placeholder?

brisk coral
#

Where are you trying to use the placeholder?

austere hawk
#

TitleManager

#

Scoreboard

brisk coral
#

Not sure about title manager, but iirc you can just set it as %kitbattle_coins% on your scoreboard

austere hawk
#

fml

brisk coral
#

getting a Zoinks so 🤷

austere hawk
#

?

#

tf a Zoinks lmao

brisk coral
#

read the link you sent..

austere hawk
#

tf

#

1s

#

there

lime osprey
#

%deluxetags_tag% doesnt work for me

primal vault
#

Would cmi placeholder be supported by papi?

buoyant urchin
#

hi, i need help with something
i have a bungeecord server minigame and when it's in game the motd is changed in "In game"
i want to use %pinger_motd_testplugins.com:25565% in another server but it's showing the motd from server.properties. exist any way to show the motd from minigame?

#

@brisk coral

tender vaporBOT
#

@buoyant urchin

Hey,

Please be patient and don't ping helpful or staff members!

tepid cave
#

Hey guys, i have a problem with PlaceHolderAPI plugin who can help me for it ?

bronze bison
#

@buoyant urchin No, not possible at the moment.

#

?asktoask

tender vaporBOT
#
FAQ Answer:
bronze bison
#

@tepid cave ^

tepid cave
#

Ok i have fix my problem to PlaceHolderAPI but now my problem is with HolographicDisplay

#

I get error occured in console

bronze bison
hushed whale
#

hello ? can anyone help me ?

#

I can't download some eclouds

austere hawk
#

hi, how do I implements external PlaceHolders on my plugin ? (I am using Jobs Reborn and I would like to use their PlaceHolders. but I don't know how to add external PH to my plugin)

hushed whale
#

@austere hawk /papi ecloud download JobsReborn

austere hawk
#

it says "No expansion found with name: JobsReborn"

hushed whale
#

try Jobs instead of jobsreborn

austere hawk
#

sorry if I am a bit dumb ^^' I am just kinda new with this api ^^

#

it's the same :/

hushed whale
#

it's not

#

try /papi ecloud download Jobs

#

it works

austere hawk
#

oh yes ^^ it worked

#

the problem is that the PH is supposed to be in the Scoreboard but it's actually in the chat ^^'

bronze bison
#

Jobs has the placeholders built into the plugin, no need to download anything

#

New placeholders can be found here

hushed whale
#

hey @bronze bison are you good at papi ?

bronze bison
#

What do u want?

hushed whale
#

i have a problem

#

I can't download some eclouds
it says it's installed
but when i use command /papi ecloud list installed
it's not there
i reloaded plugin
i tried lot of times
but didn't work

bronze bison
#

U have to reload papi after installing expansions

#

Also, some expansions need a plugin to work.. make sure u have the plugin it needs

hushed whale
#

I wanna download expansion Statistic

#

and i can't

#

also i have SavageFaction plugin and can't download Faction expansion

bronze bison
#

Spigot version?

#

Also, savage factions has the placeholders built into the plugin

#

U dont need to download an expansion for them

austere hawk
#

do I have to implement PHAPI in my scoreboard plugin ?

brisk coral
#

If you're trying to use a placeholder from a different plugin inside your you either have to implement papi, or implement the plugin you're using to get the placeholders methods

austere hawk
#

I have implemented Jobs ^^ but it's not changing any of the PHs in the scbrd

#

maybe I'm a bit dumb ^^ I've implemented only Jobs do I need to implement PHapi too ?

hushed whale
#

@brisk coral i can't download eclouds it says it's download but it's not

bronze bison
#

@austere hawk if u want to use a papi placeholder in ur scoreboard then ull have to implement papi in ur plugin

austere hawk
#

how do I place a PHapi placeholder in my scoreboard ?

bronze bison
austere hawk
#

oh I just have to put this ?
if (Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null) { Bukkit.getPluginManager().registerEvents(this, this);} else { throw new RuntimeException("Could not find PlaceholderAPI!! Plugin can not work without it!");}}

bronze bison
#

Also check the first step at the top

#

If thats what u want inside the brackets, the yes

#

Then u use the parse method, read whats mentioned in the wiki please

austere hawk
#

hey

#

Is there a placeholder API that detects forge?

trim mist
#

No

bronze bison
#

Don't think so

austere hawk
#

If it detects forge I want to connect with bossshop to create a GUI that only shows people with forge.

trim mist
#

Okay, you'll probably have to go ask boss shop for that then.

austere hawk
#

hmm

modern flame
#

Hey, if a plugin is not supporting the placerholderapi plugin then I'm out of luck if I want to use a few specific variable value?

bronze bison
#

Contact the author to support it?

#

If you want them in chat take a look at this

tender vaporBOT
#
Chatinjector
Useful Links & Information:

Allows you to parse PlaceholderAPI placeholders in chat!
Spigot
GitHub

modern flame
#

I'll give it a try, thanks

bronze bison
#

np 😄

dawn blade
#

whats the placeholder for tps?

bronze bison
royal parcel
bronze bison
#
/papi ecloud download vault
/papi reload
royal parcel
#

i have

bronze bison
#

Do u have vault plugin?

#

Cuz the expansion didnt load

royal parcel
bronze bison
#

/pl and see if its there....

royal parcel
#

it have and Vault is green : 0

bronze bison
#

ok then, run the commands i sent....

royal parcel
#

yea

bronze bison
#

its an issue from mmocore placeholder

royal parcel
#

ok

bronze bison
#

hmm? progress expansion has nothing to do with the error u sent ?

#

did u send the error to them?

royal parcel
#

yes i have

bronze bison
#

and what they said?

royal parcel
#

they think the issue might is papi

bronze bison
#

can u parse the mmocore placeholder ure using in that menu?

#

using parse command /papi parse me %placeholder%

royal parcel
#

yes i can parse mmocore

bronze bison
#

did it send any error when u parsed it? and what it returned?

royal parcel
#

here

#

i forgot send you

bronze bison
#

its mmocore's issue

river pollen
#

Anyone good with the javascript extension?

#

Code: <embarrassing code>
Output: just outputs the function instead of what should be returned

#

(figured it out)

austere hawk
#

What's the point of a placeholder when you don't return anything thonking

austere hawk
#

if anyone is lazy asf and wants me to make them a juicy config, just message me. i love helping.

lament coral
#

Idk why but my jobs reborn placeholder doesn't work and i have download the expansion from the website.
when i use %jobsr_user_points% the placeholder isn't replaced and when i use %jobs_user_points% i have a blank

bronze bison
#

U dont need the expansion anymore, is built into the plugin now

lament coral
#

hum i see but why it doesn't work ?

bronze bison
#

Do u have the latest version of jobs?

lament coral
#

all of my plugin on the latest version

bronze bison
#

Does ur scoreboard plugin support papi? Try the placeholder using the papi parse command /papi parse me %placeholder here%

lament coral
#

and yes he support PAPI
scoreboard: PlaceholderAPI: true

bronze bison
#

Try restarting the server and try again

#

If that didn't work, contact jobs author

lament coral
#

After restart always broken. Thanks for your help.

bronze bison
#

That's unfortunate.

meager vault
#

Hi ! I have problem with a placeholder :
Here is my problem :

I created challenges with deluxemenus, but fabledskyblock placeholder do not work perfectly :/

If I do /papi parse me %fabledskyblock_island_level% it works, If I have the placeholder %fabledskyblock_island_level% it will show me my island level.
But if I use the placeholder for a view_requirement, it doesn't work :/

I tried the two requirements ( to test ) but it doesn't work :

https://pastebin.com/FJGiCu0W
https://pastebin.com/kuYf4YAu

And if I replace the placeholder with another ( like this one : https://pastebin.com/z7b7dmTU ) it works perfectly.
So where is the problem ?

meager vault
#

I contacted songoda and they said the problem comes from deluxemenu ^^

brisk coral
#

How does it return the value (the level)

#

commas or anything like that?

meager vault
#

no commas, it returns "382" for example

bronze bison
#

@meager vault try expression: 'parseInt("%fabledskyblock_island_level%") >= 100'

meager vault
#

It doesn't work @bronze bison

bronze bison
#

does it says anything in console when u open the menu

meager vault
#

Nothing

#

And for the other requirement it says : [DeluxeMenus] Error in requirement javascript syntax - %fabledskyblock_island_level% >= 100

bronze bison
#

use what i sent for open requirements too

#

not sure, but it seems that its not parsing the placeholder before checking the js expression...

meager vault
bronze bison
#

yes

meager vault
#

doesn't work

#

it doesn't open the GUI

bronze bison
#

now does it say anything in console?

meager vault
#

Nothing

bronze bison
#

ok, can u try using that placeholder in math placeholder?
so

expression: 'parseInt("%math_{fabledskyblock_island_level}+0%") >= 100'```
#

you need to download math expansion for that

/papi ecloud download math
/papi reload
meager vault
#

Error in requirement javascript syntax - parseInt("%math_{fabledskyblock_island_level}+0%") >= 100

bronze bison
#

u downloaded math expansion right ?

meager vault
#

yes

bronze bison
#

wait, it returns the level with colors?

meager vault
eternal drift
#

%canseeonline% is not working for me

bronze bison
#

in language.yml under Placeholder theres fabledskyblock_island_level, can u send me what it has there @meager vault

#

@eternal drift what is this placeholder? from where?

eternal drift
#

plugin

#

The TAB plugin

meager vault
bronze bison
#

this isnt a papi placeholder...

#

there you go :p

#

do u want &f part or u can remove it?

meager vault
#

I can remove it 😄

bronze bison
#

well then remove it and the &c

#

then it should work fine

meager vault
#

I didn't know it was the color that created a bug 😮

bronze bison
#

yea, the number started with a string

#

thats why it couldnt parse it as a number to compare it

sudden anvil
#

getting this error

bronze bison
#

Contact LuckPerms author.

serene burrow
#

I have a problem. The placeholder refreshing is very slow.

#

It refreshing every 15-25 seconds on featherboard for example

#

This problem came up when I changed the server's version from 1.12 to 1.14.4

brisk coral
#

change the update interval in the placeholderapi config

serene burrow
#

There isn't setting like that

mortal remnant
#

Does PAPI support placeholders in placeholders?
Example:
%proquests_progress_battlequest%javascript_getDate%%

bronze bison
#

Depends if the placeholder supports placeholders inside it

#

And if it does, it wont be %%

mortal remnant
#

Pretty sure it doesn't in my case :(
Rip

kindred berry
#

When I try to use the BattleLevels variables, it doesn't work. (%battlelevels_level%)

azure holly
#

hey

#

why %player_name% doesnt work in DeluxeMenus?

balmy marten
#

/papi ecloud download player

#

/papi reload

bronze bison
#

@kindred berry does the plugin ure using it in, supports papi?
Does it work using the parse command /papi parse me %the placeholder here...%?

If none work, contact the dev

frank summit
#

Hey i need Help

#

What is the variable for the money?
I have Essentials

vivid sparrow
#

@frank summit type -papi vault in #bot-commands

frank summit
#

Thanks

visual brook
#

Im having trouble on my scoreboard using scoreboard-revised with placeholderAPI with luckperms expansion im trying to do %luckperms_prefix% and it shows up perfect with the correct prefix with the correct colours but as soon as i try to do &7Rank: %luckperms_prefix% it breaks it and nothing shows up

#

If anyone knows why that would be amazing

#

Not sure if its to do with the scoreboard, papi or luckperms

bronze bison
#

Its from ur scoreboard plugin, contact the author

cunning charm
#

Just download the new one and reload PAPI.

coarse spoke
#

How are essentials placeholders used exactly

#

What string do they return

#

Or is it a boolean

cobalt lava
#

hey can i get some help ? im using latest version of papi

#

but when i use /papi ecloud download Guilds

#

it says there is no expansion with that name

bronze bison
#

You don't that for Guilds, its built into the plugin now.

cobalt lava
#

its not working on featherboard

bronze bison
#

{placeholderapi_(papi placeholder without %% and brackets)}

cobalt lava
#

on wiki it says that is for mvdw

#

i dont have it

#

i need to download?

bronze bison
#

Oh, thanks for letting me know. Ill remove it from the wiki

#

its build into the plugin now, so u dont need to download it

cobalt lava
#

im talking about guilds wiki

#

ok thanks for the help

bronze bison
#

np, just checked guilds code, it has it built into the plugin. the placeholders should work fine.

cobalt lava
#

ye its working now thanks

bronze bison
#

👍

delicate crown
#

I have the Plugin Scoreboard-r and I would like to display the players Primary group, how do would you do that using the Placeholder API?

bronze bison
#

Check vault, or LuckPerms if ure using it

delicate crown
#

Thanks

#

it's working now

bronze bison
#

👍 😃

crimson axle
#
%voteparty_votes%
%voteparty_total_votes_needed%
%voteparty_is_ignoring%```

Can anyone tell me what these placeholders will return? I'm guessing the 2nd one will give how many votes are done for the server and the 3rd one will display the total needed until vote party
stone thorn
#

Hey, I simply don't understand how palceholders work even after reading the wiki. When I created a hologram I just got the variable that I wrote in, rather than any value?

vivid sparrow
balmy marten
#

Does your hologram plugin support placeholderapi @stone thorn ?

stone thorn
#

Yes, I figured it I think 😄 thanks though! @balmy marten

balmy marten
#

Ah, good

crimson axle
#

@vivid sparrow will do when I’m home

gentle flicker
#

But when I put it in the expansions folder, it gives this error: Failed to init placeholder expansion from class: com.klyser8.karmaexpansion.KarmaExpansion

#

I followed the guide on the PAPI wiki

#

I am almost certain that it's because I should not be instantiating the Main class of the other plugin

bronze bison
#

Use != null instead of isEnabled()

#

not sure if this is ths issue, but it might be it

#

Other things seems fine to me

gentle flicker
#

Got it to work, it was the whole instantiating the main class thing

#

that caused it to crash

bronze bison
#

👍

gentle flicker
#

How do you upload an expansion on the PAPI ecloud?

brisk coral
#

Exactly like that :p

gentle flicker
#

haha

#

I am trying to download it tho through minecraft and it can't find it

#

Oh

#

How do I verify the expansion?

brisk coral
#

someone probably gotta verify it, idk 🤷

gentle flicker
#

okei

bronze bison
#

Will check it later today if i could

gentle flicker
#

Are you a moderator?

bronze bison
#

Yes

gentle flicker
#

oh okay well check it whenever you have time don't worry haha

frank summit
#

How do I limit the number of money to appear?

#

I am using %vault_eco_balance%

#

But after the point many decimals appear

mint fable
#

@frank summit use fixed, formatted, or commas ^

frank summit
#

How?

#

Can you give me an example please?

brisk coral
#

%vault_eco_balance_formatted%

#

wait, limit as in have a limit on how much money the player can have or?

vivid sparrow
#

no decimals I believe.

mint fable
#

@frank summit just use the placeholder, it removes the decimals

frank summit
#

limit of the decimals that are seen

#

@mint fable I'll try

frank summit
#

@mint fable How can I remove decimals?
I can't find it in the archive config

mint fable
#

What does the new placeholder return?

#

/papi parse me %vault_eco_balance_fixed%

#

you can also try formatted and commas

#

they're all different

frank summit
#

If I want to put only two numbers after the comma I put %vault_eco_top_balance_commas_2% ??

vivid sparrow
#

no

frank summit
#

Sorry i'm dumb haha

bronze bison
#

maybe use math expansion with %vault_eco_balance%

#

But not sure if it will work fine for big numbers

#

commans will return 1000 like this 1,000

frank summit
#

i "fixed"

#

I remove the decimals with %vault_eco_balance_commas%
I only see the whole number

bronze bison
#

hmm?

#

commans doesn't return any decimals iirc

#

It returns the same value of fixed, but will commans between every 3 digits

frank summit
#

I wanted the number and after the comma two decimals. But np. Thank you all

bronze bison
#

if u really want something like that, open an issue in vault expansion repo and i may add it

frank summit
#

ok, thanks!

mint fable
#

oh wait

#

i feel like this is a thing where they might use 598,98 instead of 598.98?

#

and that could've caused confusion

#

🤷

frank summit
#

I think so, because in my country it is different from yours haha

bronze bison
#

Hey @gentle flicker,
It seems to me that you uploaded the whole plugin to the eCloud?
If you want the expansion to be built into your plugin, just add the expansion class in your plugin and register it on enable check the wiki for more info https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/PlaceholderExpansion#internal-class

Or if you want an expansion (separate jar) just hook into your plugin form it and add the expansion class only. (so it will be an expansion and not a whole plugin)

mint fable
#

yep yep

#

@frank summit We use commas and decimal points (periods) like this : 5,938.93

frank summit
#

Exactly

#

I want it to look like this

#

It looks like this to me 5938.93457

mint fable
#

and you want it to look like 5,938.93?

frank summit
#

Yep

mint fable
#

I think this calls for javascript

rough briar
#

could someone help here

mint fable
#

?help

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

Source

mint fable
#

=paste

tender vaporBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
HelpChat Paste

bronze bison
#

put it in "" or ' '

rough briar
#

okay will try

#

works, thanks!

bronze bison
#

Great! 👍

gentle flicker
#

@bronze bison Do you think that it is better to have an outside expansion, or have it within my plugin?

tender vaporBOT
#

@gentle flicker

Hey,

Please be patient and don't ping helpful or staff members!

gentle flicker
#

Ah sorry

#

Idk if the message got delivered or not

#

And aBooDyy, I tried not putting my whole plugin into the expansion, but how can I retrieve my plugin's information without adding it into the extension's libraries?

silent lava
#

I am trying to download the "server" download on PAPI, among several others; however, it only seems to have kept 1 of the downloaded addons and I get an error when I try to reload papi https://gyazo.com/67a44dc7c27813e7b63c372bff95b50f

I did the command right to download the "server" addon but it doesnt save it for some reason

vivid sparrow
#

You can use maven or gradle Klyser

#

/papi reload maybe? @silent lava

#

Cant open the link on mobile.

#

Also Klyser, imo an expansion would be easier to maintain because it takes a few seconds to download, rather that loading a new plugin version.

silent lava
#

Thats the error that comes up when I do /papi reload

#

Is the screenshot I sent

gentle flicker
#

I am using maven

#

But it imports the whole plugin

#

Or I assume so since it is 55kb or so

#

Which is the weight of the extension + my plugin

gentle flicker
#

Ping me whenever someone knows if there's something wrong with my pom.xml please

mint fable
#

I don't use maven so I have no idea :L

bronze bison
#

@gentle flicker its completely up to you.
Having the expansion built into the plugin would be better imo cuz u wont have to do anything (u dont have to download it using the ecloud commnd).

If you want to make an external expansion (sperate jar), you don't need to shade/include you plugin in it. It will be provided (because you're using the plugin in the server) same as you're using spigot api without shading it in your plugin.

final shadow
#

You wouldn’t want to shade in the dependency

#

Just depend on it and let that be that

gentle flicker
#

Yeah but I don't understand how I shade dependencies and how I don't shade them

#

Like what do I write in the pom.xml so that it doesn't shade the dependencies?

bronze bison
#

u dont write anything, it normally doesn't unless u make it to

#

also, there's a difference between a dependency, and classes in the project itself

#

if you want to create an external expansion, you create a whole new project in your IDEA

#

Unless if you can just compile a specific class, but dont think thats possible

gentle flicker
#

I did create a whole new project

#

I added my plugin as a dependency

#

But I think that it shaded my dependency

bronze bison
#

Not a maven expert, but afaik its because of the second plugin

gentle flicker
#

Yeah, It isn't cause of PAPI it's because of my plugin

#

But I am not sure how I unshade it

bronze bison
#

I meant the second plugin that starts at line 31

#

Maven plugin, in build section

gentle flicker
#

I'll try removing the plugin entirely, I usually don't want to shade anything afaik

bronze bison
#

don't remove the first plugin tho

gentle flicker
#

Yeah I know

gentle flicker
#

aBooDyy I did it! Now the expansion works and is only 5kb

#

How do I update my expansion on the eCloud?

bronze bison
#

Nice! Go to versions and click add version or add new version

gentle flicker
#

Alright I did it

bronze bison
#

👍

#

Will let you know when i verify it.

gentle flicker
#

Okay thank you! No rush

#

How do you become a verified author?

bronze bison
#

Have no idea 😅

bronze bison
#

I've just verified your expansion @gentle flicker 😃
Just a FYI, plugin.yml file is useless and not needed, because its an expansion, not a plugin.

Thanks for using PlaceholderAPI.

brisk coral
#

aboo, should I make my placeholders internal or external

bronze bison
#

up to you

round sand
#

i cant get my factions placeholders to work

#

welp

#

-placeholder factions

#

-help

bronze bison
#

can you give us more information, please?

round sand
#

So i did put the placeholders in to their place but they dont work

#

and i have downloaded the eclouds

#

and reloaded

gentle flicker
#

aBooDyy I forgot to remove it oops

bronze bison
#

u put them where? and which faction plugin ure using?

#

its all good Klyser, not a big issue

round sand
#

it was nothing

bronze bison
#

hmm?

ruby totem
#

hallo can any1 here tell me how was it i get deluxe chat to work i remember simthing about download player somthing

vivid sparrow
#

@ruby totem

ruby totem
#

noi what i seek ís somthing you need to need do in the placeholder api plugin

brisk coral
#

If you wish to receive support regarding DeluxeChat, verify your account.

silent lava
#

I still need help on my message from yesterday if anyone can assist:

"I am trying to download the "server" download on PAPI, among several others; however, it only seems to have kept 1 of the downloaded addons and I get an error when I try to reload papi https://gyazo.com/67a44dc7c27813e7b63c372bff95b50f

I did the command right to download the "server" addon but it doesnt save it for some reason"

vivid sparrow
#

contact the quests author.

bronze bison
#

The issue is from quests expansion and not server expansion/papi.
If you want to get it working for the meantime, delete Quests expansion from plugins/PlaceholderAPI/expansions/ folder and it should work fine.

silent lava
#

Oh okay thanks for letting me know

stone thorn
#

my bungee placeholders suddently stopped working and only show variable now %bungee_skyblock% instead of integer

bronze bison
#
/papi ecloud download bungee
/papi reload
stone thorn
#

already have it :/

#

restarted server twice

bronze bison
#

is it in /papi list? Any errors when you reload papi?

austere hawk
#

yo

#

aBoo

#

can i get help from you?

bronze bison
#

?help

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

Source

stone thorn
#

no it register the bungee on start and throws no errors at all

#

fixed it 🙂

bronze bison
#

👍

slow hedge
#

Could we please get a placeholder expansion for Autorank Rebooted? The original Autorank placeholders don't seem to work with it

brisk coral
#

Contact the author and ask him to add it

slow hedge
#

thanks for that! Unfortunately, the %autorank_active_path% returns an "internal error" message

bronze bison
#

Send the error you get in the console please.

slow hedge
#

one sec

bronze bison
#

=paste

tender vaporBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
HelpChat Paste

slow hedge
bronze bison
slow hedge
#

sure thing - thanks for the help

wet basinBOT
#

@slow hedge Unknown expansion.

#

@slow hedge Unknown expansion.

#

@slow hedge Unknown expansion.

bleak ravine
#

Is there any way to make an old plugin work on the new version of placeholderapi

bronze bison
#

Update the old plugin

bleak ravine
#

its abandoned

bronze bison
#

idk any, id use dm and a chat plugin that supports papi 😄

brisk coral
#

TheMonDon, you should use DM and make it using that <o/ (note: you will get a lot of perms spam :p)

untold wren
#

Anyone know why my placeholders aren't working in holograms? I copied the exact placeholder and made sure I had it

bronze bison
#

u need holographic extension plugin to use papi placeholders in holographic displays

#

dont forget ProtocolLib too

untold wren
#

Ah thanks man

bronze bison
#

np 😄

golden rock
#

anyone know if theres a placeholder which displays how many players have a certain permission?

wet basinBOT
#

@bronze bison Unknown expansion.

bronze bison
#

if u want to get a number, ull be able to get that with js

golden rock
#

thx

bronze bison
#
var list = "%listplayers placeholder here%";

function getCount() {
  return list.split(",").length;
}
getCount();
#

ive guessed that and made it for you ^ 😄

#

ive sent the link to js wiki, follow the steps there and use the js script i sent instead of the one in the wiki

bronze bison
#

?? Great :p

golden rock
#

thank you

bronze bison
#

Yw 😃

neon oxide
#

Only me that the 'Bungee' expansion isn't working with the latest version?

brisk coral
#

have you reloaded papi?

neon oxide
#

I have tried everything, even tried older versions and nothing.

bronze bison
#

whats the value of the placeholder when theres no one?

#

i mean listplayers placeholder

bronze bison
#

then use this @golden rock

var list = "%listplayers placeholder here%";

function getCount() {
  if (list == "0") return "0";

  return list.split(",").length;
}
getCount();
bronze bison
#

are u sure the listplayers placeholder returns 0 when theres no players?

#

and dont use /papijsp reload for the meantime, use /papi reload instead

#

@golden rock guess should work, listplayers placeholder return nothing not 0

var list = "%listplayers placeholder here%";

function getCount() {
  if (list == "") return "0";

  return list.split(",").length;
}
getCount();
#

👍

mellow sandal
#

hey man

#

just wondering

#

how can you use placeholderapi in mvdwplaceholderapi

#

i remember there is a placeholder for it but i can't find it

#

nvm found it

#

{placeholderapi_[placeholder]}

#

nvm again

#

doesn't work

#

;p

brisk coral
#

{placeholder_vault_eco_balance}

mellow sandal
#

thanks

#

love ya frosty

#

no homo

#

oof doesn't work

brisk coral
#

you got the expansion?

bronze bison
#
/papi ecloud download vault
/papi reload

{placeholderapi_vault_eco_balance}

mellow sandal
#

yup i have it

#

it doesn't work

#

huh

#

that is strange

bronze bison
#

Keep in mind that mvdwpapi placeholders wont work without one of maxim's premium plugins (e.g. featherboard, AnimatedNames, etc)

mellow sandal
#

i have featherboard

#

i'm using it

bronze bison
#

And make sure that the place ure using it in support mvdwpapi

mellow sandal
#

i have that too

bronze bison
#

U have vault? U have papi?
/papi list vault is there?

mellow sandal
#

yup

#

let me see the console

#

if mvdw no longer supports papi

#

ah f-

#

nevermind

#

dude mvdw is insane

#

it gave me the placeholders i needed in the console

#

{factions_faction_id}
15.09 17:36:59 [Server] INFO [MVdWPlaceholderAPI] LegacyFactions added custom placeholder {factions_faction_name}
15.09 17:36:59 [Server] INFO [MVdWPlaceholderAPI] LegacyFactions added custom placeholder {factions_faction_name_blankwild}
15.09 17:36:59 [Server] INFO [MVdWPlaceholderAPI] LegacyFactions added custom placeholder {factions_faction_description}
15.09 17:36:59 [Server] INFO [MVdWPlaceholderAPI] LegacyFactions added custom placeholder {factions_faction_description_blankwild}
15.09 17:36:59 [Server] INFO [MVdWPlaceholderAPI] LegacyFactions added custom placeholder {factions_faction_admin}
15.09 17:36:59 [Server] INFO [MVdWPlaceholderAPI] LegacyFactions added custom placeholder {factions_faction_power}
15.09 17:36:59 [Server] INFO [MVdWPlaceholderAPI] LegacyFactions added custom placeholder {factions_faction_powermax}

#

i wish papi does this 🤔

brisk coral
#

papi3 🔜™

mellow sandal
#

xd

bronze bison
#

Suggest what do u want in its repo in gh

mellow sandal
#

Awwwww mannn!

#

the mvdw placeholder in faction won't work

#

fudge

#

guess switching back to papi

#

papi for lyf?

floral monolith
#

Guys

#

i am using math to substract 2 different placeholders, the only problem is that the result has decimals

#

anyway to remove them?

#

nvm i think i found out

brisk coral
#

add [precision:0]

floral monolith
#

yep used that

#

Now i'm struggling to find a way to check if a placeholder value is bigger than a set one... i think i need to use javascript but i has no clue how to do that.

iron turtle
#

Excuse my noob-yness when asking these questions.

I am trying to create a store using DeluxeMenus that takes 1 token for X item. And looking at the great examples you guys have I found this place: https://www.spigotmc.org/wiki/placeholderapi-javascript-expansion-scripts/#tokenenchant-token-value . And I'm assuming that I'll need Has Item... So all I need to do is save that script as hasItem.jsand add those two lines to javascript_placeholders.yml

My question here is then... Where is the javascript_placeholders.yml? And where should I save hasItem.js.

  • I hope this was the right chat to put this.
bronze bison
#

There's no has item js

#

Its a requirement type

#

oof no lol

#

There's and i made it 😅... Dont use it anyway

#

Use checkitem

iron turtle
#

Oh yeah, that's miles easier

#

Cheers

bronze bison
#

it is indeed :p

iron turtle
#

Could I use that to also check if there's at least one empty slot in the player's inventory? By checking for air? Or is that not how that works? 😛

bronze bison
#

There's a player placeholder for this

iron turtle
#

🙌

floral monolith
#

How can i put 2 different json messages on the same line?

bronze bison
#

In which plugin? Where?

visual brook
#

In PlaceholderAPI or MVDWPlaceholderAPI is there a way to round the skyblock level because i want it to say island level 10k instead of 10000
Askyblock^

bronze bison
visual brook
#

Do i just download it and put it in my plugins folder then @bronze bison

tender vaporBOT
#

@visual brook

Hey,

Please be patient and don't ping helpful or staff members!

visual brook
#

oh sorry i didnt realise you were staff

bronze bison
#

You replace it with the current one in plugins/PlaceholderAPI/expansions

#

Im helpful, not staff btw 🙂

visual brook
#

So i put it in the expansions?

#

Wont that get rid of the original skyblock stuff if i replace the askyblock expansion?

bronze bison
#

U delete the old askyblock expansion there, and put this new one

#

The new one is the same as the old one, just has these new placeholders

visual brook
#

Ohh thank you

bronze bison
#

np 😄

visual brook
#

Yayy it works thanks so much for making that!

#

And do you have any experience with IslandBorder placeholderapi?

#

Because I have an issue with it

bronze bison
#

Glad it did! Thanks to who suggested it.

#

Guess ull have to contact the plugin's author since its most likely have the placeholders built into the plugin.

elder stump
#

Hey!
I need help with javascript, this placeholder: %fabledskyblock_island_level% returns a non formatted value, how can I place commas between them? e.g 12,500 101,000

bronze bison
elder stump
#

I'm a bit confused, what exactly? Lots of data are there

bronze bison
#

Hmm,

  • Put ur placeholder in a variable.
  • Remove the first check cuz u wont need args.
  • Remove num variable.
  • Replace num in cost variable with ur placeholder variable.
  • And ure done.
#

Kinda few things * :p

brisk coral
#

kek

elder stump
#

Thank you its working! 😛

bronze bison
#

Noise, np 😄

next minnow
#

my placeholders that were using placeholderapi just stop working on my featherboard

arctic loom
#

For some reason does /papi parse me %placeholder% throw the error "Failed to find player: me"
This also happens when using the playername instead of me.
I run PlaceholderAPI on PaperMC 1.14.4 and it's a network, meaning it's connected to a BungeeCord (online mode and IP forwarding are setup)

#

It is kinda urgent so I would appreciate if someone has any idea what is going on.

bronze bison
#

Rejoin and it should work @arctic loom

#

@next minnow if the placeholders work using papi parse commnd /papi parse me %the placeholder here%, then its an issue from fb

arctic loom
#

@bronze bison Rejoining doesn't fix it at all

tender vaporBOT
#

@arctic loom

Hey,

Please be patient and don't ping helpful or staff members!

marsh urchin
austere hawk
#

You didn't specify the {VERSION}

arctic loom
#

Anyone else available here to help me?

brisk coral
#

the me problem is resolved by restarting the server and rejoining

#

(usually a rejoin fixes it)

arctic loom
#

@brisk coral Nope.
Even after stopping and starting the server again does Papi not recognize me nor any playername

brisk coral
#

What version you on?

arctic loom
#

1.14.4

brisk coral
#

papi ver

arctic loom
#

And is setup as server network

#

2.10.3

brisk coral
#

That's odd, try reinstalling it and see if that works

#

Had that issue a few times, but a relog always fixed it

arctic loom
#

Still the same Frosty

#

Tried reinstalling, rejoining, reloading plugin, testing with different expansions...

velvet forge
#

Do placeholders have to be registered before using them?

bronze bison
#

Yes.

tardy matrix
#

Hi, i need help

#

I am trying to add the placeholders on the featherboard

#

trying to add these:

#
  • %kingdoms_kingdom%
    - %kingdoms_haskingdom%
    - %kingdoms_points%
    - %kingdoms_land%
    - %kingdoms_onlinemembers%
    - %kingdoms_offlinemembers%
    - %kingdoms_offlinecount%
    - %kingdoms_onlinecount%
    - %kingdoms_king%
    - %kingdoms_rank%
#

config:
player-line1:
text:
- '&7{placeholderapi_kingdoms_kingdom}'
interval: 2
spacer1:
text: []
interval: 100

#

What am i doing wrong?

bronze bison
#

Try them using papi parse commnd /papi parse me %placeholder here%

#

If they are working, then the issue is from fb

tardy matrix
#

@bronze bison not working

#

If i use the command i see %kingdoms_points%

bronze bison
#

Well then, try restarting the server and try again

#

If that didn't work, contact kingdoms author

tardy matrix
#

I also tried the essentials one :/

bronze bison
#

Can u stop tagging me please?

#

The essentials ones need this

/papi ecloud download essentials
/papi reload
#

And the answer for ur question is no

tardy matrix
#

It is kingdoms, i assume. Essentials work fine.

#

Thanks for the support

bronze bison
#

well then contact the author

tardy matrix
#

Will do

bronze bison
#

Np and gl 😃

marsh urchin
#
package me.zooma.join;

import net.md_5.bungee.api.ChatColor;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.plugin.java.JavaPlugin;

public final class Join extends JavaPlugin implements Listener {

    @Override
    public void onEnable() {
        // Plugin startup logic
        getConfig().options().copyDefaults();
        saveDefaultConfig();

    }

    public static String format(String format){
        return ChatColor.translateAlternateColorCodes('&', format);
    }

    @EventHandler
    public void onPlayerJoin(PlayerJoinEvent e){
        String JoinMSG = getConfig().getString("JoinMessage");
        e.setJoinMessage(JoinMSG);

    }

    @Override
    public void onDisable() {
        // Plugin shutdown logic
    }
}
#

any reason why it doesn't work

#

it doesn't send a join message

vivid sparrow
marsh urchin
#

ooo sorry i stupid 😄

brisk coral
#

Also, use seperate classes

cedar gust
#

%VotingPlugin_top_month_#_votes% and %VotingPlugin_top_month_#% both display the top voters ign, I thought one displayed the ign and the other the amount of votes?

cedar gust
#

got it thanks

arctic loom
#

I'm still having those PAPI issues and would appreciate if someone could take a look... I also made an issue about it on GitHub

bronze bison
#

Will do if i got time tonight.

swift trail
#

So I'm trying to make 'time played' with DeluxeMenus and the placeholder doesn't work
%statistic_time_played%
that doesn't work
I did do /papi ecloud download Statistic
and since my server is running on 1.8.8
I did /papi ecloud download Statistic 1.7.0
that's the command I'm supposed to use
although I tried with both of them and it still didn't work

arctic loom
#

what does the parse command return?

swift trail
#

well I can't send images here so look at #showcase

worn wedge
#

my player expansion keeps getting unregistered

#

after reboots

steep kernel
#

What would cause items to glitch inside a chest? By this I mean when im putting items into chest, it will eventually stop going in when i place them in, it places, but then goes straight back to my cursor as if i never put it in another slot... D:

marsh urchin
#

lag?

austere hawk
#

is there a way to get the placeholder for something to allow you to specify the user?

#

such as %vault_prefix%

#

or something

#

please @ me if you answer

vivid sparrow
#

@austere hawk

austere hawk
#

oh

#

thank you :D

austere hawk
#

correct me if im wrong, but isnt parseothers supposed to work with offline players?

fast hedge
#

On my minecraft 1.14 server when downloading the vault extension using /papi cloud breaks the extension, i had to download it manually from the ecloud server and drag and drop it on there, was my first time using papi as took me 4 days to figure out, also saw im not the only one so this is a bug that needs to be fixed, where do i send a bug report?

grizzled glacier
#

will %player_time% show current real life time of the location the player is logged in at?

oak badger
#

ok i need a little help

#

i want to make a gui where if someone with damaged items open the gui from there inventory it will go in the gui and with a price it will be fix

oak badger
#

Anyone at all

vivid sparrow
#

And you need help with ..?

oak badger
#

i want to make a repair “shop” gui got damaged items the player has in there inventory

brisk coral
#

Use a placeholder to display the players item in hand

paper field
#

Can someone link me the new way of hooking PAPI into a plugin?

oak badger
#

What gui plugin supports that placeholder tho?

cunning charm
#

Deluxe menus

elder stump
#

hey!
Anyways to display PAPI placeholders in php or javascript on a website?:O

brisk coral
#

doubtful

elder stump
#

would be really cool

bronze bison
#

make a plugin that sends u the value of the placeholder to ur website

grizzled glacier
#

will %player_time% show current real life time of the location the player is logged in at?

cunning charm
#

Run /papi parse me %player_time% to see for yourself.

vivid sparrow
#

how dare you to suggest that MrSwalbert??

cunning charm
#

tad confused

vivid sparrow
#

why test when you can ask a few times

brisk coral
#

Swalbert he's messing with you :p

coarse spoke
#

hello

#

i am having issues loading the PlayTime expantion in PAPI

#

it is just ignored

#

and the placeholders dont work

brisk coral
#

Do you have the plugin?

coarse spoke
#

yes

#

i have PAPI

#

but the expantion wont show when i do /papi list

buoyant mountain
#

errors in console?

coarse spoke
#

nope

#

its just completely ignored

#

while loading the plugin

brisk coral
#

have your reloaded papi after downloading the expansion?

coarse spoke
#

i have done both reloading papi and restarting the server

#

i have also tried downloading the jar and placing it manually in the expansions folder

oak badger
#

Can someone send my the placeholders for the deluxe menu plugin

brisk coral
#

DM doesn't have specific placeholders, you can use any placeholder PlaceholderAPI provides, you can look at all the available on the ecloud

oak badger
#

You act like I know what I’m doing

brisk coral
#

sec lemme get you the link

oak badger
#

What’s papi mean and what does ecloud mean?

brisk coral
#

Here you can view all the available placeholders/expansions

oak badger
#

Thanks but people are telling me deluxe menus works with placeholders but it isn’t listed on the thing you just sent me

brisk coral
#

As I've said, DM does not have placeholders by itself, instead is supports any placeholder PlaceholderAPI provides

oak badger
#

Ohhhh DM is deluxe menus I’m slow

brisk coral
#

.-.

oak badger
#

Would you happen to know the placeholders for damaged items in someone inventory? If you don’t that’s fine I can check on it later

brisk coral
#

no clue

oak badger
#

Kk

oak badger
#

I can’t find a placeholder for damaged items ;-;

bronze bison
#

%player_item_in_hand_data% ?

worn wedge
#

Can someone help me, my expansion-player.jar keeps unregistering every restart,

mint fable
#

Did you type /papi ecloud download player

oak badger
#

not exactly what i'm looking for aboodyy but thanks for trying

brisk coral
#

I mean depending on your version you could use that placeholder to get the items damage

oak badger
#

Isn’t that placeholder only for items in the players hand?

#

I found a placeholder that checks if the player has an item in there inventory. It’s close to what I’m thinking but if the item is full durability I don’t want player pay like 10k and complaining to me about it (I didn’t know 🙄)

vivid sparrow
fleet crest
#

Expansion-ASW can be used to execute bash commands. Was used to escalate privilleges on our server.

wet basinBOT
#

@brisk coral Unknown expansion.

#

@brisk coral Unknown expansion.

brisk coral
#

,-,

atomic belfry
#

Set up two bungees today with redisbungee and the %redisbungee_total% placeholder is taking a really long time to update, heres my config, what am i doing wrong? https://paste.helpch.at/ihofimemid.bash

neat abyss
#

I have downloaded the extension for javascript as well

bronze bison
#

check_interval: 5, it should take 5 seconds to update @atomic belfry

atomic belfry
#

It takes way more then that

bronze bison
#

@neat abyss it should be expression: 'parseInt("%Ur placeholder HERE%") >= 5'

atomic belfry
#

It takes atleast like a minute to update, super weird

#

Well i didnt time it but its way longer then it should be

bronze bison
#

did u try restarting?

atomic belfry
#

Yes ive tried restarting the bungees the spigot servers and no luck

bronze bison
#

weird..

atomic belfry
#

Any ideas? Im down to try out suggestions to possibly fix it

bronze bison
#

Sorry, have no idea.

#

havent used that before

atomic belfry
#

Ah alright, if anyone has any ideas you can @ me

austere hawk
#

Is there a way i can change the symbol papi uses?

#

so it doesnt use %

sharp jay
#

Nope

austere hawk
#

hmm

#

so

#

my luckperms prefix has {javascript_worldDimensionsTab} in it

#

and that just shows up as that in tablist

#

in chat it shows the players dimension

flint lark
#

does the tablist support placeholders?

austere hawk
#

yea

#

so basically its setup so that it shows the players prefix, their name

#

i need to include a placeholder in their PREFIX for chat reasons, the only way i can do this is by using chat injector

#

using chat injector means the placeholder symbols need to be swapped to {}

#

but tab doesnt support that

#

it needs %

#

@flint lark

flint lark
#

why not include the placeholder in the chat formatting itself?

austere hawk
#

that doesnt work

#

like %javascript_worlddimensiontab% doesnt work when its in teh prefix

#

it just comes up with the raw text

flint lark
#

What plugin do you use for formatting your chat?

austere hawk
#

essentialsXchat

flint lark
#

have you tried placing the {} placeholder in the chat format, rather than the prefix?

austere hawk
#

i ahve other reasons why it needs to be in the prefix

flint lark
#

and I'm guessing you can't just remove prefix from the tablist and use the placeholder there?

austere hawk
#

na

flint lark
#

then looks like your option is change what you want to do, or find a tablist that lets you use {} placeholders

austere hawk
#

mm

#

thats a pain

austere hawk
#

Is there any other alternatives?

#

like using javascript or something to swap out the {} for %% before it goes to the tab menu

neat abyss
#

Got it fixed ^^

oak badger
#

anyone know a placeholder for a player's head that open the gui there in?

brisk coral
#

@austere hawk you could try using %placeholderapi_urplaceholdernosymbols%

austere hawk
#

huh?

#

wdym?

austere hawk
#

@brisk coral

austere hawk
#

dw i think i foudn a solution

brisk coral
#

%placeholderapi_javascript_worlddimensiontab%

floral monolith
#

Placeholder for mob kills?

vivid sparrow
#

statistic

floral monolith
#

hmm and to add all type of mobs kills i need to use math placeholder?

vivid sparrow
#

iirc without arguments it will show the total amount of killed mobs

floral monolith
#

%math_{statistic_kill_entity:Skeleton}+{statistic_kill_entity:Zombie}+etc%

#

invalid statistic when used without arguments

vivid sparrow
#

download v1.7.0 for 1.12.2 and lower btw

floral monolith
#

i am using 1.14

floral monolith
#

So i'm trying to do some complex stuff with placeholders, dunno fi anybody has a clue on how to do this but
I'd like to run a command for when the placeholder for the specific players reaches a value of 0.
I'd like to use luck perms temporary permission and i want a command to be run for the player that the timer expired %luckperms_expiry_time_permission.example%.
Is this even possible?

vivid sparrow
#

ik there's a plugin to run commands with delay / in advance

#

let me see if I can find it

atomic belfry
#

Yesterday i said that redisbungee placeholders are taking a really long time to update, (more then a minute)
despite having set it to update every 5 seconds, i tried multiple fixes and config changes, but the %redisbungee_total%
placeholder doesn't want to update quickly, i also tried this one

%math_{redisbungee_hub1}+{redisbungee_hub2}+{redisbungee_SMP}[precision:0]% while it does show the player
count correctly like the other one it also takes the same amount of time to update, has anyone experienced this in the past and
have any fixes for it?

atomic belfry
#

been trying for hours now no luck rip

edgy niche
#

I did:
/papi ecloud download Javascript
/papi reload
(restart server)
Then I used:
/papi parse Meldiron %javascript_1+1%
and it didnt work, it returned %javascript_1+1%

No errors in console, whats wrong?

bronze bison
#

its math expansion not JavaScript

edgy niche
#

my goal is to do:
%sapi_prestige-color% === '' ? '7' : %sapi_prestige-color%

is prestige color placeholder returns empty string, return 7.. otherwise return the value of the placeholder

edgy niche
#

Oh, I found error:
java.lang.NoSuchMethodError: 'void me.clip.placeholderapi.util.Msg.msg(org.bukkit.command.CommandSender, java.lang.String)'

How ot fix this?

warm topaz
#

is there a placeholder that shows time played?

balmy marten
warm topaz
#

ty

wispy knoll
#

i need help i did bungee placeholders but its just blink line what do i do?

austere hawk
#

so ontime placeholders dont work well with parseother, parseother is supposed to be able to detect offline players, it works with vault, but not with ontime

austere hawk
#

please @ me if you answer this

dark olive
#

So i'm attempting to use JobsReborn placeholders (specifically for Points) but cant seem to get them working?
I manually got the jobs expansion from the Ecloud site, but still no avail.

Another interesting thing is if i use the provided %jobsr_user_id% placeholder from the wiki, this wont work, but if i use %jobs_user_id% it will.

#

The placeholder I'm trying to get functional is specifically: %jobsr_user_points%

brisk coral
#

Jobs has an internal expansion

dark olive
#

Is there a way to activate it? without it the manually downloaded expansion it didnt seem to work?

#

So i removed the manual expansion, leaving the internal one.
Same results on output however

brisk coral
#

Where are you trying to use it?

dark olive
#

Just via deluxejoin

#

in a display of stats on login

atomic belfry
#

Few days ago i said that redisbungee placeholders are taking a really long time to update, (more then a minute)
despite having set it to update every 5 seconds, i tried multiple fixes and config changes, but the %redisbungee_total%
placeholder doesn't want to update quickly, i also tried this one

%math_{redisbungee_hub1}+{redisbungee_hub2}+{redisbungee_SMP}[precision:0]% while it does show the player
count correctly like the other one it also takes the same amount of time to update, has anyone experienced this in the past and
have any fixes for it?

brisk coral
#

have you tried parsing the placeholder Wicked

#

Fly, did you set the update interval correctly ?

#

Where are you trying to display it btw

dark olive
#

No, i had not, I'll try now

#

@brisk coral
Seems that parsing returns an empty value for points. No 0.0 or anything like that, just a blank line

tender vaporBOT
#

@dark olive

Hey,

Please be patient and don't ping helpful or staff members!

warm flax
#

@tender vapor

glad hemlock
#

[PlaceholderAPI] Plugin PlaceholderAPI v2.10.4 generated an exception while executing task 23
java.lang.NullPointerException: null
at me.clip.placeholderapi.expansion.cloud.ExpansionCloudManager.lambda$null$3(ExpansionCloudManager.java:181) ~[?:?]
at java.util.Map.forEach(Unknown Source) ~[?:1.8.0_221]
at me.clip.placeholderapi.expansion.cloud.ExpansionCloudManager.lambda$fetch$4(ExpansionCloudManager.java:172) ~[?:?]
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:81) ~[spigot.jar:git-Spigot-065a373-763e560]
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [spigot.jar:git-Spigot-065a373-763e560]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_221]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_221]
at java.lang.Thread.run(Unknown Source)

#

What's wrong?

cloud salmon
#

hey there

#

for java help do i go in development for placeholderapi or here?

vivid sparrow
cloud salmon
#

thanks

balmy marten
#

@glad hemlock Seems your server is having a bit of an issue access our api (api.extendedclip.com)

#

Possible ur firewall is blocking it

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.

glad hemlock
#

@balmy marten oh thanks ^^

atomic belfry
#

sorry for the late reply didnt realize you were talking to me, yes im certain ive set the update correctly, and im trying to show it on a scoreboard, but i also tried showing it on a diffrent plugin in the server selector compass and it has the same update speed @brisk coral

brisk coral
#

perhaps try setting the update interval of the scoreboard

atomic belfry
#

already tried that

#

What else could i try

atomic belfry
#

installed the Pinger expansion and ping the bungee and that updates instantly, its probably not the most efficient thing but im not sure
at least it works, so if i dont end up finding a fix for it then ill just use that

cedar gust
#

- '[player] server customskyblock'

#

this doesn't work to connect to my other server, any idea why?

short flicker
#

calling PlaceholderAPI.unregisterExpansion(PlaceholderExpansion) in onDisable results in java.lang.IllegalStateException: ExpansionUnregisterEvent may only be triggered synchronously.
Any way to solve it ?

bronze bison
short flicker
#

I would like to, however the issue was reported by one of my users and i forgot who and i only have a stack trace, not even PAPI version or any other info that will be required to post it on github.

austere hawk
#

ParseOther doesn't work with OnTime, the regular OnTime command allows offline players, but the placeholder doesn't when used with ParseOther.

mint fable
#

is there an error?

#

=paste

tender vaporBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
HelpChat Paste

mint fable
#

@austere hawk

austere hawk
#

No, it's just empty.

mint fable
#

you say OnTime works with offline?

austere hawk
#

yes

mint fable
#

the command or the placeholder

austere hawk
#

command

#

placeholder has an issue

mint fable
#

type /papi parse <player> <placeholder>

austere hawk
#

just did and it's empty

mint fable
#

because if OnTime expansion doesn't support it, it won't work with ParseOther either

austere hawk
#

so not parseother

#

just ontime

mint fable
#

yep

#

exactly

#

Clip made that expansion, not sure if it's on github or anything

zealous shell
#

I'm using customenchants ftop plugin. The placeholder for FTOP is not working in chatmanager. I've had both Devs from each plugin looking but no one knows why. Anyone got any suggestions?

robust saddle
#

Hey so I am the owner of PlatinumHubCore (a hub core) and I have added papi 2.10.4 into my Maven dependencies. Users cannot use placeholders in 2.10.4, but they can in 1.9,2. Is there a reason behind this?

brisk coral
#

Mind explaining what you mean by can't use placeholders?

vivid sparrow
#

First of all, there's no reason for anybody to use other versions than the latest of papi.

brisk coral
#

also poggers ^

robust saddle
#

2.9.2 sorry

#

And This is what it looks like in 2.9.2:

#

Bungee extension installed for both, restarted server to no avail

vivid sparrow
#

Same for all placeholders?