#placeholder-api

1 messages · Page 1 of 1 (latest)

stark jewel
#

Hello!

#

Is there a version of placeholder pai for velocity, or do I just install it on all the backend servers?

#

(sane question for vault if anyone knows)

turbid tide
# stark jewel Hello!

no. PlaceholderAPI doesn't support velocity. you just install it on the backend servers.

#

and I'm fairly certain it is the same for vault

stark jewel
#

Alright, thanks a lot!

unkempt flame
slim fern
#

Is there a way to get a list of all online players? %server_online% just gives me a number but I'd need a way to iterate through all players currently online.

turbid tide
slim fern
#

That's a very nice expansion. Thanks for the pointers

slim fern
#

One issue I seem to have with that expansion seems to be that it never returns an empty list / 0. When I test %playerlist_online,perm,yes,list,abc.def% it always returns my player name even though I do not have the abc.def permission

mint fable
#

are you op

#

or have *

slim fern
#

yes

mint fable
#

then you have abc.def

#

* gives all permissions

#

try negating it from yourself

slim fern
#

oh ok. didn't expect that it would go up that far

slim fern
#

how would I go about excluding certain players/groups from that? Could I just pass it a placeholder / expression to evaluate on a per player basis?

mint fable
unkempt flame
final shadow
#

Hello everyone,

I received an email regarding the JavaScript expansion and it has been reported by @nimble summit as malware. I have unverified the expansion from the ecloud so anyone who wants to use it going forward will no longer be able to download it from in game. Sorry for the inconvenience but if some type of action was not taken it would risk the entire ecloud being shut down. Thanks @nimble summit for reporting an exploit not caused by the expansion but caused by your carelessness with your permission system.

runic dust
#

👍

turbid tide
#

yeah hurtlay, suck an onion

vivid sparrow
#

Yes, thanks hurtlay lmao

tender vaporBOT
turbid tide
#

yes. its bad if you don't set up your permissions correctly...

austere hawk
tender vaporBOT
tender vaporBOT
austere hawk
#

Stupid bot i didnt even ping twice

tawny karma
#

So do I understand correctly that JavaScript expansion is fine and it was just a false report?

final shadow
#

Yes. Now don’t get it confused though

#

The expansion can allow unwanted code be executed as it is a JavaScript interpreter but that’s only if your permission system is compromised

turbid tide
final shadow
#

There is no way to exploit the expansion under normal circumstances

tired anchor
#

So what will happen now?

tawny karma
#

Okay, thanks for the clarification.

turbid tide
#

the expansion was made unverified, there's an update incoming, allowing you to block the command from a config file, and possible older versions of the expansion will be taken down (can't confirm the last one)

final shadow
#

We’re adding a few safeguards to the expansion so even if you are an idiot who can’t manage your own server you will be okay and the expansion won’t allow code be executed by command

tired anchor
#

And when will the expansion be available?

turbid tide
#

it still is

#

just you have to manually download it

tired anchor
#

Yeah but I mean, when will it be added again to the ecloud

turbid tide
#

it still is on the ecloud, its just unverified, so you can't download it using a command. it will be verified soon tho after the update will be pushed

vivid sparrow
#

tl;dr setting up your permissions right will keep you safe from many situations similar to this one

turbid tide
#

yeah. please don't give * permissions or op to anyone, especially people you don't trust. And also use 2fa on your minecraft account xD

final shadow
#

Sorry for any confusion though regarding my announcement. I just wanted to be transparent with what’s going on with the expansion. Didn’t mean to scare anyone and your server is safe as long as you keep your security in check. Basically if you are in a position for the expansion to be exploited, you are at risk of a lot more damage

#

Not just damage from “exploiting” the expansion

trim mist
#

New release will be deploying shortly that implements the new safeguard 🙂

sage mason
#

😫

turbid tide
#

And that's why you don't give op to anyone...

cyan creek
#

how do you remove decimals for math operations?

#

nvm got it, just looked at the msg history xD

dusk sail
tender vaporBOT
trim mist
#

PRs are open

#

Next update is already going to sandbox it so you have to manually undo the sandbox to run stuff we don't allow access to which are Bukkit variables. Nevertheless, console only is an option we're considering.

coarse carbon
#

Is there a total blocks brocken per world placeholder?

steel grove
#

hello

#

%bungee_survival% placeholder is showing 189 players online but there are 170 lol

#

what's going on

meager ocean
#

@turbid tide Hey, thanks for writing the world expansion for me a few days ago. I found a bug where even when then sky is clear, the placeholder returns Thunder. Any idea of what's happening?

tender vaporBOT
vivid sparrow
#

What world expansion?

deep hollow
#

Hey, when I parse %bungee_gamemode> it's duplicating every time a player joins, like it doesn't remove when a player leaves, someone knows what thing could be doing this issue?

#

And there are only 20 players online

#

like it counts total times joined instead of current online players

lone cobalt
#

Is the javascript expansion broken for 1.19?

meager ocean
tender vaporBOT
vivid sparrow
#

ah

vivid sparrow
#

Hey, can someone please test this version of the Vault expansion? All placeholders should work, expect for the color ones, I'm working on them.

steel grove
turbid tide
turbid tide
# steel grove .

yeah the bungee expansion has been reported as broken recently, I don't really have time to look at it as I'm currently in the process of recovering my drive and I also am working on other projects.

turbid tide
meager ocean
#

Ohh so it's prob spigot's fault

steel grove
#

most likely a previous version

turbid tide
#

you can get older versions from the ecloud

#

if you want to test

turbid tide
steel grove
#

does the expansion uses plugin messaging?

turbid tide
#

but as you'll see the 2.0 version has been working for 2 years now

#

no updates required

turbid tide
steel grove
#

yea, my plugin messaging is broken on a server ig as also nuvotifier doesn't forward votes to that server via plugin messaging

#

I think that's the cause

turbid tide
#

could be

turbid tide
# coarse carbon Is there a total blocks brocken per world placeholder?

nope. by default, the statistics are all stored in the main world, together. so you can't really tell them apart since they're all just added up together. You'd need to have your own stats plugin that registers all this information for you, and also you need to have it before people start breaking, otherwise the older broken blocks you won't be able to count at all

real cove
#

Hello, why can't I download Placehloder JavaScript

crisp wren
#

hello, is it possible to get placeholder value in code? some stupid closedsource plugin is formatting placeholder with a color and I want to get it's value and fix it with my custom new placeholder

#

unfortunately asking him to fix it would take weeks

slow crystal
#

yeah just use setPlaceholders

#
String res = PlaceholderAPI.setPlaceholders("%player_name%", player);
``` or whatever
mint fable
crisp wren
mint fable
#

%player_name% is the value you want to get

crisp wren
#

oh oki

#

thanks

mint fable
#

setPlaceholders is just the method name to turn %player_name% into cj89898

#

👍

next fossil
#

I have a question about top placeholders (but it's not about balancetop) is there a way to generate a list of people who have the top values for i.e. drowned killed? or if it's like an analysis using the math expansion?

tender vaporBOT
#

v2.1.0 by HSGamer
Another leaderboard plugin with better features and performance

Downloads:

211

Rating:

5.0★

Reviews:

1

mint fable
#

@next fossil checkout this plugin this

next fossil
#

Thanks! thepig

deep hollow
tender vaporBOT
turbid tide
#

yeah, then its most likely a problem with the plugin messaging thingy

deep hollow
#

but you mean a bungee plugin

#

or a plugin on the server where I've the bungee expansion?

steel grove
deep hollow
#

I've only these plugins

#

and still giving me 8 players when I'm alone at the config server

turbid tide
deep hollow
#

oh..

#

and there isn't any debug for seeing where comes the issue, no?

turbid tide
#

well, I didn't get into my linux yet (Been locked out for a few days now), so can't really do any testing myself

#

and as far as I know, there's no way to debug this unless you write code for it

deep hollow
#

okay okay don't worry, so I'd have to take a look by myself

#

do you know anyone with experience on expansions to tell if he can make a debug pl or something like that?

tender vaporBOT
#
Hey!

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

trim mist
#

Okay?

#

What I was referring to was the parse command.

#

If there's a problem you see, Pull Requests are open 🙂

#

I don't fully understand what you're saying sorry, can I see an example?

tender vaporBOT
#
Uploading Images

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload or similar service to upload images/screenshots.

trim mist
#

Imgur should suite just fine 🙂

#

Ahh you want a command to enable the parse command.

#

Probably going to say no to that one.

#

That way only the server administrator can enable it.

#

Still it opens the ability for another plugin to execute something as console.

#

Safest option is to require the server administrator to manually enable it in the config 🙂

#

That's beyond my knowledge. I don't use it.

#

You can go and manually download them though.

plush dove
#

I have this placeholder: %ajlb_position_{placeholder}_{deluxemenus_meta_type_STRING_alltime}% but it gives me this error: https://paste.helpch.at/usotubuxob.bash when parsing %ajlb_position_{placeholder}_alltime% it works fine

next fossil
#

Is this placeholder written correctly? %math_({statistic_WALK_ON_WATER_ONE_CM})/100+({statistic_WALK_UNDER_WATER_ONE_CM})/100+({statistic_SWIM_ONE_CM})/100+({statistic_BOAT_ONE_CM})/100% I've been getting this error in console https://paste.helpch.at/oleruvagiq.coffeescript

turbid tide
plush dove
next fossil
#

559381 - WALK UNDER WATER
269603 - Swim One cm
3040456 - Boat one cm

turbid tide
#

just get distance travelled in meters?

next fossil
#

yeah

#

in the water though

turbid tide
# next fossil in the water though

try %math_0_({statistic_WALK_ON_WATER_ONE_CM}+{statistic_WALK_UNDER_WATER_ONE_CM}+{statistic_SWIM_ONE_CM}+{statistic_BOAT_ONE_CM})/100%.

next fossil
#

Idk what is messing up but i'm getting the same issue. It might be the plugin I'm trying to use with it so i'll check there. but thanks for this :)

gilded prawn
#

What placeholder can I display the current date?

acoustic tusk
#

hey

#

why does placeholder api fake tps

#

%server_tps% is 20.0, 20.0, 20.0 while tps in /spigot:tps is not same

warm plover
#

Is there a PlaceholderAPI expanion to put players heads in chat?

warm plover
sweet current
#

How do i add %tokenenchant_<enchantment>_cost% to my menu? i tried to add %tokenenchant_efficiency_cost% to my deluxemenu, but it won't open after i do so

lyric pine
#

How to make it so that the online server of everything is displayed and when the player exits, this online goes down and first becomes red, and then in its usual color and then with the entrance itself, if the player enters Hello online and becomes first in lime and in your normal color?

tall plover
#

hello, is there a way to insert a placeholder into a new placeholder?

#

%startplaceholder1 %placeholder2% endPlaceholder1%

turbid tide
tall plover
#

if a placeholder doesent support it, can I use a 3rth placeholder to exploit it? like I was trying to use Strings %string_random_{placeholder1{placeholder2}}%

#

but no results

turbid tide
#

you can't have placeholder inside placeholder inside placeholder

tall plover
#

ok so the only way is to create a custom placeholder or use js

#

sad

#

is possible to be implemented in the future?

turbid tide
#

pretty sure that's a no. I mean in theory its possible but I doubt anyone will spend the time doing it. Maybe PAPI 3 will have it. IDK

tall plover
#

I hope for it

#

thanks for the help

carmine veldt
#

not on the agenda

#

don't recommend using placeholder values like that anyway

#

their values don't have any guarantee of consistency

tall plover
#

I was just trying to use shortcut and ascii tooghether

lyric pine
#

How to make it so that the online server of everything is displayed and when the player exits, this online goes down and first becomes red, and then in its usual color and then with the entrance itself, if the player enters Hello online and becomes first in lime and in your normal color?

austere hawk
#

exist a way for parse yml file?

stark jewel
#

Is there a way to use papi on velocity?
Because I have TAB installed on my velocity server, running luckperms on velocity as well and I want to use the luckperms prefixes with the TAB plugin.
I tried to install it on the backend servers but because TAB is running on the proxy it doesn't work :/

#

I am starting to fix a lot of issues with TAB being on the proxy, I think its best to have it on the backend servers

short shoal
#

TAB doesnt support Velocity anymore

#

You should use it only on backend servers

turbid tide
stark jewel
#

thank yous!

hard burrow
#

how do I make the first letter of text uppercase?

pseudo pagoda
#

Yo i have this problem where if i download papi in my server and when I start it it shows could not find expansions information or smth like that and if i check expansions folder there is no expansion and if i do /papi ecloud download player/server/any other it says no expansion found with the name: [name]

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.

turbid tide
#

@pseudo pagoda this

turbid tide
pseudo pagoda
#

Thx I'll try it

finite dirge
#

Hi,everybody

#

I have a problem

#

This is papi's log

#

%deluxetags_tag% and %guild_name% donesn't work again 😦

#

guild have some logs

#

This is Julyguild's error

#

java.lang.NullPointerException
[01:43:01 INFO]: Cannot invoke "org.bukkit.entity.Player.getUniqueId()" because "p" is null com.github.julyss2019.mcsp.julyguild.thirdparty.PlaceholderAPIExpansion.onPlaceholderRequest(PlaceholderAPIExpansion.java:42) me.clip.placeholderapi.PlaceholderHook.onRequest(PlaceholderHook.java:35)
[01:43:01 INFO]: me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:119)
[01:43:01 INFO]: me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:71)
[01:43:01 INFO]: me.clip.placeholderapi.commands.impl.local.CommandParse.evaluateParseSingular(CommandParse.java:118)

#

But Enter /papi parse guyao %deluxetags_tag% result returned is empty

#

🥲

lyric pine
#

How to make it so that the online server of everything is displayed and when the player exits, this online goes down and first becomes red, and then in its usual color and then with the entrance itself, if the player enters Hello online and becomes first in lime and in your normal color?

vivid sparrow
#

what?

warm plover
#

Hey there, how does %checkitem_nbtStrings:<key>=<value> work?

#

I am using MMOItems and it has Custom NBT Tags and I'm trying to detect them with CheckItem

odd geyser
#

anyone know why pinger isnt working the placeholder it always says my server is off even when its on for like 5 hours+

trim epoch
#

'registerPlaceholderHook(org.bukkit.plugin.Plugin, me.clip.placeholderapi.PlaceholderHook)' is scheduled for removal in version 2.13.0
any solution
when i try to register my placholders onEnable
it gives this error

#

pls help

short shoal
odd geyser
#

oh

#

are they working on it

short shoal
#

Hard to say

keen garden
#
var color,
  red = args[0],
  green = args[1],
  blue = args[2]
function placeholder(r, e, l, a, g) {
  return 3 === g.length
    ? r + " " + e + " " + l
    : (r = 255) + " " + (e = 255) + " " + (l = 255)
}
placeholder(red, green, blue, color, args)

the plugin constantly throws an error:
An internal error occurred while attempting to perform this command

#

Even the script from the documentation - hello world also gives an error!

keen garden
cloud mortar
#

Heyyy I’m trying to create leader boards, how would I go about doing this? Can anyone help

#

/ what plugin do you recommend

zinc nexus
#

Hey, in DeluxeTags if force_tags is enabled and the permission given - Can a player "opt out" of the tag and disable it themselves manually, or are they locked into it?

finite dirge
#

pls help me🥲

#

%deluxetags_tag% and %guild_name% donesn't work again 😦
guild have some logs

#

This is papi's log

#

java.lang.NullPointerException
[01:43:01 INFO]: Cannot invoke "org.bukkit.entity.Player.getUniqueId()" because "p" is null com.github.julyss2019.mcsp.julyguild.thirdparty.PlaceholderAPIExpansion.onPlaceholderRequest(PlaceholderAPIExpansion.java:42) me.clip.placeholderapi.PlaceholderHook.onRequest(PlaceholderHook.java:35)
[01:43:01 INFO]: me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:119)
[01:43:01 INFO]: me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:71)
[01:43:01 INFO]: me.clip.placeholderapi.commands.impl.local.CommandParse.evaluateParseSingular(CommandParse.java:118)

#

But Enter /papi parse guyao %deluxetags_tag% result returned is empty

#

🥲

austere hawk
#

Hey I have 2 questions:

  1. How may I sign up in PlaceholderAPI website?
  2. What is the ToS or what are the requirements to make my expansion verified?
#

There's a long time ago I don't code Minecraft plugins and it's the first time I will create an expansion and I really want to contribute and get some info about this

turbid tide
turbid tide
austere hawk
#

ah ok thanks Blitz ^^

turbid tide
turbid tide
turbid tide
turbid tide
# odd geyser are they working on it

nope. as far as I am aware, no one is maintaining the expansion. It is open source tho so if you know how to update it, or know someone that could, we wouldn't mind a PR xD

turbid tide
trim epoch
#

already figured it out, but thanks

turbid tide
#

👍

finite dirge
tender vaporBOT
tender vaporBOT
turbid tide
#

I've never used CMI, but maybe it uses bracket placeholders

#

try {deluxetags_tag} instead

finite dirge
#

Thank you for your reply, I will try and let you know the result

short shoal
#

CMI actually used [] iirc

#

At least the player one was [playerName]

turbid tide
#

yeah but those are internal placeholders

finite dirge
#

This is my config

#

Format: '&2[%guild_name% &2] &6%deluxetags_tag% &b&l{nickName}:&f'

finite dirge
turbid tide
#

Format: '&2[{guild_name} &2] &6{deluxetags_tag} &b&l{nickName}:&f'

finite dirge
turbid tide
#

what error?

finite dirge
#

Can I send picture?

tender vaporBOT
#
FAQ Answer:

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

finite dirge
#

This is screenshot

short shoal
finite dirge
#

But I am use it in cmi plugin

prime totem
#

Having an issue, can't download JavaScript expansion

#

It says there is no expansion called like that

finite dirge
#

Where are yours server?

#

China?

finite dirge
#

If you in the China,you must use vpn to download

vivid sparrow
#

The expansion is unverified for now, you have to download it manually

turbid tide
# finite dirge But I am use it in cmi plugin

I mean it seems to be a problem in CMI. If the placeholder works using /papi parse, then there shouldn't be a reason to not work anywhere else. I recommend you either read the CMI documentation and make sure you're using them right, or if you already did that, contact their support.

finite dirge
pseudo pagoda
#

Hello! I am making a join/leave msges plugin and i have a problem when a player joins it says "%luckperms_prefix% %player_name% has decided to stop by!" So i have a test rank and it's prefix is &1[hi] when a player joins its not showing the prefix with blue colour it's showing just the "&1[hi] SnowFyre_o7 has decided to stop by!"

turbid tide
#

you've said that /papi parse me %deluxetags_tag% works right?

turbid tide
finite dirge
#

/papi parse me %deluxetags_tag% works is right,/cmi placeholder %deluxetags_tag% is Unknown

#

So I think is cmi's problem

ancient fox
#

hello i used %statistic_player_kills% in a leaderboard, but now i want to reset the kills. how can i do this?

turbid tide
#

you'd have to manually go thru all files in world/stats/ and set the kills one to 0

ancient fox
#

ok thanks

tender vaporBOT
pseudo pagoda
#

sorry

turbid tide
#

d;spigot ChatColor#translateAlternateCode

ionic fractalBOT
#
@NotNull
public static String translateAlternateColorCodes(char altColorChar, @NotNull String textToTranslate)```
Description:

Translates a string using an alternate color code character into a string that uses the internal ChatColor.COLOR_CODE color code character. The alternate color code character will only be replaced if it is immediately followed by 0-9, A-F, a-f, K-O, k-o, R or r.

Returns:

Text containing the ChatColor.COLOR_CODE color code character.

Parameters:

altColorChar - The alternate color code character to replace. Ex: &
textToTranslate - Text containing the alternate color code character.

turbid tide
#

use this

tulip mauve
#

Hello, i have a problem with papi ecloud. Some of expansions on my minecraft server after restart stop working. And in the console I see this error: [PlaceholderAPI] Failed to load class files of expansion.
java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: net/ess3/api/IEssentials.
What should I do?

tender vaporBOT
vivid sparrow
#

@tulip mauve

pseudo pagoda
# ionic fractal

Should I add the
@NotNull public static String translateAlternateColorCodes(char altColorChar, @NotNull String textToTranslate)
In the main class? or somewhere else?

fierce chasm
#

When I start my server the expansions do not load and I have to do /papi reload for them to load, how can I fix this?

bright goblet
#

Hello, on my test server not connected to bungee and without the registration plugin, they bypassed the whitelist and registered this command

#

yYoung issued server command: /papi ecloud download MySQL

#

what could they get if they do not have access to files, and mysql is not on the test server?

#

yYoung issued server command: /papi dump

#

and added this

deep hollow
#

Hey, anyone knows how to remove max-money cap on essentials to use number suffix well?

#

i'm using number suffix javascript

#

and it's capped to QN

cerulean ginkgo
#

@here Who can drop a link to download JavaScript 1.6.0 for PlaceholderAPI?

short shoal
urban marsh
#

People smh

toxic nest
#

Hi guys i am having issues while trying to create a nested placeholderapi usage
I want to uppercase the first letter that is returned from the essentials home name
%string_uppercase_{string_charat_0_{essentials_home_1}}%
This is the placeholder i used but it returns first or n character from the word {essentials_home_1}

mental crescent
#

Hello ! Could you help me with this error? It happens to me when I put /papi reload (I speak Spanish and I am translating this in case it is not well understood)
https://paste.helpch.at/iliroreyoh.sql

#

When I put "/papi ecloud download server" everything bugs and the other expansions stop working

trim mist
mental crescent
#

Ok thank you

#

Yes it worked for me! Thank you very much

austere hawk
#

I got some issues with papi bcs this dont show colors of lucky perms prefix

short shoal
round herald
#

ChatColor.translateAlternateColorCodes(‘&’, message)

cerulean ginkgo
#

@here Who can drop a link to download JavaScript 1.6.0 for PlaceholderAPI?

slim fern
#

Has anyone ever done some performance tests to compare different requirement types? e.g. how do "has permission", "string equals" and "javascript" compare against each other

turbid tide
placid light
#

@warm topaz when i try to parse me using ChangeOutput papi placeholder, it always doesn't translate color codes

tender vaporBOT
warm topaz
#

that's because of papi version 2.11.2. it no longer parses colour codes automatically.
if u are to use the placeholder in a plugin, then they should then be parsed.
I dont really think colours should be parsed within the expansion, but unless it's needed please let me know

austere hawk
# short shoal Provide more information

I have scoreboard which have placeholder of my prefix %luckyperms_prefix% and this shows me rank but dont show color I mean rank should be red but i see &7[&4owner&7}

short shoal
#

Well as mentioned above your message, papi no longer parses color codes

#

Its most likely your issue

pseudo pagoda
#

Any way?

turbid tide
# pseudo pagoda Any way?

talk with the developers of the plugin that you're using the placeholder in and ask them to parse placeholders first and parse colors after that. If that's not an option use section symbol instead of ampersand in your placeholder.

plush dove
#

Is there a way using the math placeholder to get 60 from 64/10? so like division but no remainder

#

if that made sense

#

or is there a way to get just the remainder of the number? either work

#

so like input 64/10 and get out 4

#

found it :) I think

#

ima try [prc]

#

yes it works

#

thanks!

deep hollow
tender vaporBOT
deep hollow
#

but doesn't prints any plugin

round herald
# plush dove thanks!

I wonder if you asked the question and answered yourself, or the respondent deleted the message. 😂

turbid tide
#

sometimes all it takes to figure stuff out is just type the question. happens to me as well

round herald
#

😂

plush dove
#

🤣

plush dove
round herald
gilded prawn
#

Is there a placeholder that returns the time when the last player was online?

#

E.g 5 minutes ago

trim mist
#

Not that I'm aware of.

plush dove
#

I gave myself 1 exp, parsed the %player_exp%, got 0.14285715

mint fable
#

%player_current_exp%

#

?

plush dove
#

figured it out

mint fable
#

what did you use

plush dove
#

%player_exp%

#

I searched the discord chat logs

mint fable
#

huh

plush dove
#

i see someone said its the percentage to the next level

mint fable
#

ye

plush dove
#

thanks

mint fable
#

okay lol

plush dove
#

well that doesn't fix my issue I just realized :P

mint fable
#

icic

#

ya, few different exp methods

#

and the names don't help

#

lol

plush dove
#

I have this:

      requirements:
        money:
          type: has exp
          amount: '%math_{deluxemenus_meta_price_INTEGER_1}*{deluxemenus_meta_amount_INTEGER_1}%'
          deny_commands:
          - '[message]&cYou do not have enough exp'
          - '[close]'```
#

xp is 601

#

says I don't have enough exp

mint fable
#

well

#

none of that has to do with exp

plush dove
#

wot

mint fable
plush dove
#

whatcha mean

mint fable
#

lol

#

you didn't use any exp placeholder

plush dove
#

huh, the type is has exp? is that wrong?

mint fable
#

ohhh

plush dove
#

im confused

mint fable
#

i was looking for current exp

plush dove
#

h

#

ah

#

if I parse %math_{deluxemenus_meta_price_INTEGER_1}*{deluxemenus_meta_amount_INTEGER_1}% while im in the menu, it gives me 400

mint fable
#

400 even?

plush dove
#

yep

mint fable
#

or does it say 400.00

plush dove
#

lemme see

mint fable
plush dove
#

400.000

mint fable
#

set precision to 0

plush dove
#

ok that fixed it

#

yep

#

odd, whys it do that

mint fable
#

it only accepts an integer

#

xp can only be integer so

#

idk

plush dove
#

ah ok

#

thanks

plush dove
#

trying to turn raw_chicken to cooked_chicken, I have this javascript:

var replace = item.replaceAll('raw','cooked');
return replace;```
giving this error in console: https://paste.helpch.at/ijiniqubuz.cs
#

I removed the return replace, giving me nothing now

#

uh

#

noComma = "%player_item_in_hand%".replace("raw","cooked"); from this I get just RABBIT when im holding raw rabbit

#

bruh

#

the item's name is just rabbit

#

thats why

#

bruh. all the items arent raw_item, its just item

#

yasss

#

it works

#

great thanks

round herald
#

Wtf

warm notch
#

what the placeholder ecloud download for deluxetag?

urban marsh
#

u dont need it for deluxetag

#

itll just hook in automaticcaly

winged basin
#

I am getting this error message

#

Like It doesnt make sense to me

short shoal
#

What server version do you run

turbid tide
winged basin
turbid tide
#

go to plugins/PlaceholderAPI/expansions/ and delete this file Expansion-chatreaction.jar then restart the server

winged basin
#

Ok

winged basin
turbid tide
#

the chat reaction expansion is trying to get a class from the chat reaction plugin which you don't have installed. this ends up in it throwing a NoClassException or whatever its called

#

NoClassDefFoundError

winged basin
#

Thank you

#

I recently removed all the plugins except some essential ones such as papi so thats why

#

I also kept the folders

#

😂

#

Woops

covert ice
#
[13:25:17 ERROR]: Thread pool-23-thread-1 failed main thread check: Chunk getEntities call
java.lang.Throwable: null
        at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[paper-1.19.jar:git-Paper-50]
        at net.minecraft.server.level.ServerLevel.getEntities(ServerLevel.java:2425) ~[?:?]
        at org.bukkit.craftbukkit.v1_19_R1.CraftWorld.getNMSEntities(CraftWorld.java:1058) ~[paper-1.19.jar:git-Paper-50]
        at org.bukkit.craftbukkit.v1_19_R1.CraftRegionAccessor.getLivingEntities(CraftRegionAccessor.java:428) ~[paper-1.19.jar:git-Paper-50]
        at com.extendedclip.papi.expansion.server.ServerExpansion.getLivingEntities(ServerExpansion.java:424) ~[?:?]
        at com.extendedclip.papi.expansion.server.ServerExpansion.lambda$onRequest$1(ServerExpansion.java:162) ~[?:?]
        at com.extendedclip.papi.expansion.server.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$27(BoundedLocalCache.java:1261) ~[?:?]
        at java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916) ~[?:?]
        at com.extendedclip.papi.expansion.server.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:1259) ~[?:?]
        at com.extendedclip.papi.expansion.server.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:1242) ~[?:?]
        at com.extendedclip.papi.expansion.server.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:103) ~[?:?]
        at com.extendedclip.papi.expansion.server.caffeine.cache.LocalManualCache.get(LocalManualCache.java:54) ~[?:?]
        at com.extendedclip.papi.expansion.server.ServerExpansion.onRequest(ServerExpansion.java:162) ~[?:?]
        at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:119) ~[PlaceholderAPI-2.11.2.jar:?]
        at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:71) ~[PlaceholderAPI-2.11.2.jar:?]
        at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:99) ~[PlaceholderAPI-2.11.2.jar:?]
        at me.neznamy.tab.bridge.bukkit.DataBridge.lambda$registerPlaceholder$7(DataBridge.java:217) ~[TAB-Bridge v2.0.3 (1).jar:?]
        at me.neznamy.tab.bridge.shared.placeholder.ServerPlaceholder.request(ServerPlaceholder.java:35) ~[TAB-Bridge v2.0.3 (1).jar:?]
        at me.neznamy.tab.bridge.shared.placeholder.ServerPlaceholder.update(ServerPlaceholder.java:25) ~[TAB-Bridge v2.0.3 (1).jar:?]
        at me.neznamy.tab.bridge.bukkit.DataBridge.updatePlaceholders(DataBridge.java:264) ~[TAB-Bridge v2.0.3 (1).jar:?]
        at me.neznamy.tab.bridge.bukkit.DataBridge.lambda$new$1(DataBridge.java:44) ~[TAB-Bridge v2.0.3 (1).jar:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
#

spamming this error in my server

#

from the server expension pack

winged basin
#

Also do /papi dump

#

and I could maybe sort it out

turbid tide
turbid tide
covert ice
#

Yes already saw it, but after removing it, it still spam the console.

winged basin
#

@turbid tide could you accept my friend request I need to ask you something

turbid tide
covert ice
#

already did.

turbid tide
covert ice
#

let me try restart again

turbid tide
#

@winged basin you can just message me. I opened my DMs

winged basin
#

Ok thanks

covert ice
#

still spamming after restart

#

for some reason after restart and removing it

#

it will keep going

turbid tide
covert ice
#
[13:37:20 ERROR]: Thread pool-23-thread-1 failed main thread check: Chunk getEntities call
java.lang.Throwable: null
        at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[paper-1.19.jar:git-Paper-50]
        at net.minecraft.server.level.ServerLevel.getEntities(ServerLevel.java:2425) ~[?:?]
        at org.bukkit.craftbukkit.v1_19_R1.CraftWorld.getNMSEntities(CraftWorld.java:1058) ~[paper-1.19.jar:git-Paper-50]
        at org.bukkit.craftbukkit.v1_19_R1.CraftRegionAccessor.getEntities(CraftRegionAccessor.java:412) ~[paper-1.19.jar:git-Paper-50]
        at com.extendedclip.papi.expansion.server.ServerExpansion.getTotalEntities(ServerExpansion.java:433) ~[?:?]
        at com.extendedclip.papi.expansion.server.ServerExpansion.lambda$onRequest$2(ServerExpansion.java:164) ~[?:?]
        at com.extendedclip.papi.expansion.server.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$27(BoundedLocalCache.java:1261) ~[?:?]
        at java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916) ~[?:?]
        at com.extendedclip.papi.expansion.server.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:1259) ~[?:?]
        at com.extendedclip.papi.expansion.server.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:1242) ~[?:?]
        at com.extendedclip.papi.expansion.server.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:103) ~[?:?]
        at com.extendedclip.papi.expansion.server.caffeine.cache.LocalManualCache.get(LocalManualCache.java:54) ~[?:?]
        at com.extendedclip.papi.expansion.server.ServerExpansion.onRequest(ServerExpansion.java:164) ~[?:?]
        at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:119) ~[PlaceholderAPI-2.11.2.jar:?]
        at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:71) ~[PlaceholderAPI-2.11.2.jar:?]
        at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:99) ~[PlaceholderAPI-2.11.2.jar:?]
        at me.neznamy.tab.bridge.bukkit.DataBridge.lambda$registerPlaceholder$7(DataBridge.java:217) ~[TAB-Bridge v2.0.3 (1).jar:?]
        at me.neznamy.tab.bridge.shared.placeholder.ServerPlaceholder.request(ServerPlaceholder.java:35) ~[TAB-Bridge v2.0.3 (1).jar:?]
        at me.neznamy.tab.bridge.shared.placeholder.ServerPlaceholder.update(ServerPlaceholder.java:25) ~[TAB-Bridge v2.0.3 (1).jar:?]
        at me.neznamy.tab.bridge.bukkit.DataBridge.updatePlaceholders(DataBridge.java:264) ~[TAB-Bridge v2.0.3 (1).jar:?]
        at me.neznamy.tab.bridge.bukkit.DataBridge.lambda$new$1(DataBridge.java:44) ~[TAB-Bridge v2.0.3 (1).jar:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
#

dont know if this is the same one

turbid tide
#

yeah. its the same one. You must have missed some placeholder somewhere

#

I can't tell what else might be going on

covert ice
#

i setup that chunk check

#

but then it gave errors

#

so i removed it

#

and reloaded en restarted everything

#

and now its keep comming

#

o i fixed it

#

but still thanks!

warm falcon
#

Hey, is it possible to skip a %? I'm trying to do something like %my_placeholder,param1 = \%,param2%

#

Adding a backslash before a % will still consider as the end of the placeholder

turbid tide
warm falcon
#

hmm I see, thanks 🙂

deep hollow
#

Any mathematical here? 🙄

pseudo pagoda
tender vaporBOT
turbid tide
tender vaporBOT
coarse oar
rugged widget
wide reef
#

the sharpness enchant is called DAMAGE_ALL

#

no idea why they havent changed it yet

coarse oar
turbid tide
#

the code uses the spigot enchantment names. just looked at it and as far as I know there is no wiki for this expansion

wide reef
#

try it atleast

coarse oar
#

Ty

pseudo pagoda
tender vaporBOT
plush dove
#

Is there a way to edit meta outside of deluxemenus? Like within a placeholder? Like when parsing the placeholder (for example) %meta_add_amount_INTEGER_1% it adds 1 to the amount meta?

mint fable
#

not via placeholder but deluxemenus provides a dm execute command

deep hollow
#

Hey, someone knows a yaml generator for do too many levels?

#

like doing

        rewards:
          block:
            '1':
              chance: 100
              commands:
              - '[COMMAND] tokens add %player% 10000'
          explosive:
            '1':
              chance: 1
              commands:
              - '[COMMAND] give %player% explosive'```
#

to 10k levels

#

adding up tokens in each level

vivid sparrow
#

python

deep hollow
#

do you've any tutorial or something like that?

frigid saddle
tender vaporBOT
deep hollow
tender vaporBOT
deep hollow
#

I mean, a yaml file can have 3m lines for example?

vivid sparrow
#

no, there's no limit

#

and you can also write stuff like lists on the same line

#

or objects

deep hollow
#

Hey, anyone could help me with an expression?
I want to add each prestige the cost of (30000000000000000) to the previous prestige cost but I can't see how to do that with only {number} and {rankcost} placeholders (using prisonranksx). Starting price of first prestige is (1000000000000000000)

So prestige 2 will be (1,030,000,000,000,000,000)
Prestige 3 (1,060,000,000,000,000,000), etc

#

would appreciate any help 🙂

vivid sparrow
#

Unless the plugin supports BitInteger, that is most likely not possible

deep hollow
#

I think prisonranksx supports large numbers

#

for op economy servers

vivid sparrow
#

9,223,372,036,854,775,807 this is the max for long

#

and you have 30,000,000,000,000,000 for one

#

that's like 280 prestiges or something I guess

deep hollow
#

I think it supports way more than this

vivid sparrow
#

what you want is probably 1000000000000000000 + {number} * 30000000000000000

deep hollow
#

yeah it was that expression

#

thanks a lot!!

balmy stirrup
#

Heyo

#

How to use placeholders inside items lore in deluxemenus

#

I'm clueless

#

alr it works now

fast reef
#

hey, I'm trying to make a compact version of a placeholder, could you help me with that?

silent kiln
#

i need a way to identify the tag with the deluxetags plugin, because if a player doesnt has a tag it'll show just nothing

silent kiln
silent kiln
turbid tide
#
var tag = "%deluxetags_tag%";

function tagFormat() {
  return tag === "" ? "&cNone" : "&r" + tag;
}

tagFormat();``` try this. but its basically the same code just shortened. so don't know if it will work if the other one doesn't
silent kiln
#

thats why i needed the code

turbid tide
#

not the deluxetags one

silent kiln
#

nothing

#

i cant send images

tender vaporBOT
turbid tide
#

not the code but the actual placeholder you're putting in the hologram

turbid tide
#

scoreboard then, show me the placeholder

silent kiln
turbid tide
#

oh. missed that message

silent kiln
#

dw!

turbid tide
silent kiln
turbid tide
#

ah there's your problem

silent kiln
#

i just realized that i forgot to identify it

turbid tide
#

you're not registering the placeholder

#

yup

silent kiln
#

i just said it works in caps

#

bots gonna hate me

silent kiln
turbid tide
#

no problem and you're welcome

coarse wedge
#

Is there a way to use placeholders to convert material names to friendly / language file names?

#

I.E. %friendly_material_LAPIS_LAZULI% becomes "Lapis Lazuli"

vivid sparrow
#

no

#

since bukkit names aren't the same as in-game

mint fable
turbid tide
vivid sparrow
#

components

#

but yeah, it might work shrug_animated

mint fable
#

lay out what you're trying to do a little bit

#
String parsedPlaceholders = PlaceholderAPI.setPlaceholders(Player, "%player_displayname% has the rank %luckperms_primary_group_name% and $%vault_eco_balance%");
String parsedColors = ChatColor.translateAlternateColorCodes('&', parsedPlaceholders);

Just to clarify, the setPlaceholders method takes in any string, not just a single placeholder at a time

pseudo pagoda
mint fable
#

setPlaceholders just parses placeholder inside a string to what they should be

#

so it could return cj89898 has the rank Owner and $500.00

#

for example

pseudo pagoda
mint fable
#

all of them inside the string...

pseudo pagoda
#

i did

#

so if i keep
String parsedPlaceholders = PlaceholderAPI.setPlaceholders(Player, "%luckperms_prefix%");

does it parse %luckperms_prefix% and when i use that placeholder itll show its colour and name both?

mint fable
#

Yes, and no

#

PAPI does not translate/parse colors

#

So you have to do that part

pseudo pagoda
#

i do have this too so now does it work?

#

String parsedColors = ChatColor.translateAlternateColorCodes('&', parsedPlaceholders);

mint fable
#

Yes it will

pseudo pagoda
#

with color?

mint fable
#

Yes that method specifically translates the &2 format to the correct format for colors

pseudo pagoda
#

ok

#

thank you! ill try it right away

deep hollow
#

Anyone knows how to add dots on a raw number

#

with javascript?

#

without decimals

#

to remove decimal and add dots

deep hollow
#

it's only removing decimal

#
    return (parseInt("%autosell_total_multiplier%") + 0).toFixed()
    console.log(new Intl.NumberFormat('de-DE').format("%autosell_total_multiplier%"));
}
hp()```
#

but not adding dots

turbid tide
#

what exactly are you trying to do?

deep hollow
#

sorry, I'm so bad at javascript so don't bully me 😂

#

removing decimals and adding dots

#

to a raw number with decimals

turbid tide
#

how? 24.423 would become 24....?

#

or what exacttly?

deep hollow
#

150123.23 would become 150.123

deep hollow
#

150050

turbid tide
#

you might have to add the style as well

#

from the example above

#

actually never mind

#

that would just add the euro symbol

deep hollow
#

yeah that's weird

deep hollow
#

anyone have any idea?

rose mason
#

hi how do i reset an leaderboard like mob kills etc to 0?

radiant plaza
simple musk
#

is it possible to use a placeholder inside of another placeholder?

warm notch
deep hollow
half mist
#

hi

#

I have some problems

#

Papi expansion cannot be used normally

#
java.util.concurrent.CompletionException: java.io.EOFException: Unexpected end of ZLIB input stream
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:428) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1692) ~[?:?]
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) ~[?:?]
        at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) ~[?:?]
        at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) ~[?:?]
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) ~[?:?]
        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) ~[?:?]
Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
        at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:245) ~[?:?]
        at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:159) ~[?:?]
        at java.util.zip.ZipInputStream.read(ZipInputStream.java:197) ~[?:?]
        at java.util.jar.JarInputStream.read(JarInputStream.java:207) ~[?:?]
        at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:143) ~[?:?]
        at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:121) ~[?:?]
        at java.util.jar.JarInputStream.getNextEntry(JarInputStream.java:142) ~[?:?]
        at java.util.jar.JarInputStream.getNextJarEntry(JarInputStream.java:179) ~[?:?]
        at me.clip.placeholderapi.util.FileUtil.findClass(FileUtil.java:51) ~[?:?]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:405) ~[?:?]
        ... 7 more```
#

Can someone help me?

mighty drift
#

who knows if it is possible to change the light of the glass in menia to 1.12.2 I have one light

chrome night
#

Hi, does somebody know how to make placeholder %world_players_<world>% work also for world_the_end world_nether???

short shoal
chrome night
frosty burrow
#

Anyone knows why the Javascript Expansion is not marked as verified anymore

vivid sparrow
turbid tide
frosty burrow
#

oh thanks 🙂

#

Does sandboxing patches blocks using Spigot APIs in js placeholder?

#

like

// get item lore in player's off-hand
function getLore(): Array<string> {
    // check slot
    if (!checkSlot(40)) return []

    // return lore
    return BukkitPlayer.getInventory().getItemInOffHand().getItemMeta().serialize().get('lore')
}
vivid sparrow
#

Hm?

frosty burrow
#

seems no problem with my scripts. 👍

vivid sparrow
#

What are you asking though?

turbid tide
#

at least that's how I'm understanding it. So you should still be able to do what you're doing currently

vivid sparrow
#

Can we not give access to certain classes only?

#

Like collections

turbid tide
#

idk. but right now, the patch creates the nashorn engine using the --no-java arguments which from what I understand does what I've said above

vivid sparrow
#

Aight

frosty burrow
#

understand

mighty drift
short shoal
#

1.12 still uses ID, so ID:1 etc iirc

turbid tide
#

so yml material: stained_glass_pane data: 11

#

data is from 0 to 15 or 16

short shoal
#

Oh 🤔 been a long time since 1.12, thought it's like 90:11 or something

mighty drift
turbid tide
brittle wadi
#

i can't find the crazy crate ecloud, is not exist or im bad on searching?????

brittle wadi
vagrant horizon
#

When I do /papi download factions it says factions doesnt exist

hard kernel
#

%checkitem_inhand_mat:DIAMOND_PICKAXE_namecontains:{player_name}% Does anyone know why this is working with any item in hand? It needs to only work if you're holding a diamond pickaxe, not any item.

hard kernel
pseudo pagoda
tender vaporBOT
tender vaporBOT
mint fable
pseudo pagoda
mighty drift
#

why doesn't material: cow_spawn_egg (1.12.2) show up in my menu

mint fable
#

?materials

tender vaporBOT
limber elm
#

Time is not working

tender vaporBOT
#
📋 Your paste: Narco Gam3X
https://paste.helpch.at/xasefusovi

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

#
📋 Your paste: Narco Gam3X
https://paste.helpch.at/noreqenivo

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

crimson harness
#

Am I a dummy or is there a bug with update checks. Fresh install of Papi and just added some expansions, yet console logs:
[01:40:53] [Server thread/INFO]: 5 placeholder hook(s) registered! 1 placeholder hook(s) have an update available.

#

Tried the ole /papi ecloud update all + /papi reload

#

Even tried restarting the server

#

Papi is still convinced the bungee expansion has an update available

#

🤯

tender vaporBOT
crimson harness
#

yea it's definitely bugged. Soon as you install bungee expansion it prompts with an available update. Guess I'll just disable update checks for now

turbid tide
crimson harness
#

Ah, ok, good to know it's not just me then 🙂

turbid tide
#

@drowsy acorn can you execute /papi dump and send the generated link here please?

turbid tide
ornate ore
#

Is it possible to disable update of placeholders like %statistic_days_since_death% in some worlds like an event world?

turbid tide
#

maybe with a custom plugin actually

ornate ore
#

Okay, I just dont want people to progress their stats in event worl. Ill look around 😛

deep hollow
#

I managed to remove decimals, but I need to add commas now

austere hawk
#

Hey guys I cant find top jobs plugin placeholders ?

wraith sky
#

Does anyone know much about the progress extension that might be able to give me some guidance on how to configure it to actually know what progress it's looking at?

Example - players need to kill 10 withers which is a requirement using a small bit of javascript to check. I'd like to show %statistic_kill_entity:<wither>% as a progress bar for the first 10 kills (If that makes any sense)

vagrant horizon
#

Is there no placeholder for faction position?

stable pollen
#

%vault_eco_balance_<number>dp% how does this work?

ornate sorrel
#

hello

#

anyone can help me?

stable pollen
#

whats ur issue?

ornate sorrel
#

my placeholders is do not working on the plugins GemsEconomy..

stable pollen
#

what version do u use?

#

of both plugins

ornate sorrel
#

2.11.2

#

gems - 4.9.2

stable pollen
#

what verion is ur server?

ornate sorrel
#

1.16.5

stable pollen
#

try 2.10.9

#

of placeholder api

ornate sorrel
#

oky

#

didn't work..

#

;-;

urban marsh
#

@ornate sorrel please do /papi dump

#

And paste it here

deep hollow
#

can someone help, please?

vivid sparrow
#

%formatter_number_format_[locale]:[format]_<number>% try this, xNekio

#

%formatter_number_format_GERMAN:#,###_{autosell_total_multiplier}%

autumn stream
#

Where javascript placeholder.

tender vaporBOT
deep hollow
#

much appreciated Gaby! ❤️

vivid sparrow
#

nice

deep hollow
#

had to update to java 11 because it's only compatible with java +11 formatter placeholder

#

but all good!

#

tyy

little sundial
#

hi! tell me how to specify the correct TimezoneID by example

%localtime_timezone__<TimeZoneID>%

junior musk
little sundial
#

I saw and did not understand I need an example

junior musk
turbid tide
junior musk
#

isn't is supposed to be the number?

turbid tide
#

no

#

its something I spent quite a while trying to figure as well

little sundial
#

can I specify the time format not at 04:00 PM but at 16:00 ?

little sundial
#

how?

turbid tide
#

%localtime_timezone_Africa/Freetown_dd/MM/yyyy HH:mm%

#

example

little sundial
#

thx

#

how do I specify 24 hours in a day?

turbid tide
#

HH will already use the 24 hour system

#

using hh will use the 12 hour

little sundial
#

bro doesn't work, I specify

%localtime_timezone_Europe/Moscow_dd/MM/yyyy HH:mm%

and still writes 1:51PM although for real 17:51

vivid sparrow
#

because there's a comma in between time zone and sdf, not an underscore

#

you can specify only the timezone and it will use the format from config

little sundial
#

thanks

little sundial
#

essentials does not support the placeholders api?

turbid tide
astral python
#

good evening I have a small problem with placeHolderAPI I try to display the tps of my server but it finds nothing at all I downloaded the api server but nothing works can you help me?

turbid tide
tender vaporBOT
#
FAQ Answer:

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

astral python
#

its logs

turbid tide
astral python
#

I can't upload the image

tender vaporBOT
astral python
turbid tide
#

you can also use these:

%server_tps_1%
%server_tps_5%
%server_tps_15%
%server_tps_1_colored%
%server_tps_5_colored%
%server_tps_15_colored%```
astral python
#

its my code

turbid tide
astral python
#

holographic display

turbid tide
#

for PAPI placeholders

#

I believe it is something like {papi: server_tps}

astral python
#

its works it's great if I just want tps 1 I guess I must have papi: server_tps_1_colored

turbid tide
#

yup

#

just don't forget to surround it with {}

astral python
#

its works great thank you well I gallaire for 3 hours

ornate sorrel
turbid tide
# ornate sorrel https://paste.helpch.at/ojasimojip

OK. First of all please update back to 2.11.2 or whatever latest version is and then execute /papi ecloud download gemseconomy then /papi reload to download and load the gems economy expansion which should let you use the placeholders

#

as long as they still work that is

ornate sorrel
#

oky, i'll try

potent fog
#

heyo, dumb question. if i have a plugin installed on my bungeecord server how would i get placeholders to show up? is there a bungeecord version of placeholder api or do i just need to install the plugin on my spigot backends as well?

ornate sorrel
tender vaporBOT
turbid tide
potent fog
uncut matrix
#

Hey is it possible to use two placeholders like this so you need both to be displayed in the playerlist? This currently doesn't work V

%playerlist_online,placeholder,yes,amount,supervanish_isvanished||No+player_has_permission_staff.list||&a&l✓%

junior musk
#

not possible

#

well

#

actually

#

not sure

#

nope

#

nevermind

#

not possible

uncut matrix
#

Is there another work around for it? This is a display staff online list but if they are vanished I don't want them displayed

junior musk
#

I could try add some way

uncut matrix
#

Would be really awesome if you could

junior musk
#

I'm not on my pc rn but I'll try in a bit

uncut matrix
#

Alright, mention me if you get something working 🙂

tender vaporBOT
#
Possible Solution Found:

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

hallow whale
#

anyone got a solution ?

#

It happens when I update ecloud bungee

austere hawk
#

What is the placeholder that outputs a world's ticks?

austere hawk
#

bruh nobody knows?

austere hawk
turbid tide
#

%world_time_<world>%?

austere hawk
#

it outputs the exact time

#

7pm for example

junior musk
austere hawk
turbid tide
# austere hawk hey?

couldn't find any placeholder for that. there's one in the player expansion but that only works for the world the player is in and I'm pretty sure it also returns the formatted time

austere hawk
untold adder
#

can I install ecloud expansions using placeholderapi on my plugin, for exemple, can I install Player expansion using a method from my plugin

turbid tide
#

to get the PlaceholderAPIPlugin instance, you can use the static getInstance method available in the PlaceholderAPIPlugin class

untold adder
austere hawk
#

Hey, can somebody help me with "TimeManager" placeholders?

twin breach
#

is it possible to know who else created potions?

#

Statistics

lusty girder
#

Idk if someone can help me with that. I use CMI and LP on my server. I created a custom Command with cmi (the command: https://pastebin.com/udbEiPvj )
But if i run the command the server freeze for a bit and i get a error in console: https://pastebin.com/RHpziYkQ (CMI Dev couldnt help me and thinks that it dont come from cmi)

austere hawk
#

how do i set a player online list for a specific world

turbid tide
long prairie
#

is there a way to not have a space show up if the papi string is empty?
like for this in LPC default: '[&%discordsrv_user_top_role_color_hex%{prefixes} &r| CC:%simpleclans_clan_color_tag%&r] &r{displayname} &7»&r {message}'

not everyone with the default group has a clan, so if I can remove the space I can make it a lot prettier.

junior musk
#

aw

uncut matrix
#

and if I do || it returns 0

junior musk
#

2sec

uncut matrix
#

Alright 🙂

junior musk
#

the code is fine, are you sure you replaced the jar?

uncut matrix
#

Lemme try it again

junior musk
#

make sure you removed the old jar

uncut matrix
#

Do I need to restart the server or papi reload works fine?

junior musk
#

papi reload

uncut matrix
#

Hm, the expansion doesn't load for me

junior musk
#

send the console log

#

actually I might have an idea

#

what's your server's java version?

#

this one will work on Java 8+

uncut matrix
#

I run 1.16.5 on Java 8

junior musk
#

yeah then that was the problem

#

this jar should work

uncut matrix
#

Alright ill try

#

Yep works but one problem tho when both requirements are passed it counts as 1 player for each requirement so I pass the vanish counter thats 1 then permission counter thats another 1

junior musk
#

oh

#

:/

uncut matrix
#

Want me to send a video of it?

junior musk
#

2sec

#

I'll fix it

uncut matrix
# junior musk <@310772257695989761>

Works, but seems to be another issue with regular online list.

I have this on DeluxeCommands:

- '{"text":"&4&lONLINE &c&lPLAYERS &7(%playerlist_online,placeholder,yes,amount,supervanish_isvanished##No%)&f&l:"}'
- '{"text":"  &8&l» &f%playerlist_online,placeholder,yes,list,supervanish_isvanished##No%"}'

It works on papi parse me but returns this on my command https://gyazo.com/4877311b37db6140303948405c1141ff

#

Nvm don't mind me

#

I put it under target message 🤦

#

Thank you very much sir! 😄 Appreciated 🙂

tawny sun
#

not exactly sure where to ask about this. I'm trying to use relation placeholders to put in a basic chat plugin that supports factionsuuid

#

so I've got the placeholder %rel_factionsuuid_relation_color% which should give the color of the relation between two players (eg. Enemy = red, own faction = green, neutral = white)

#

but how will it send a different message to each player on the server based on this relational placeholder?

wheat wasp
#

Hi, someone can help me with this issue pls?

void patio
turbid tide
#

you can however find top placeholders in the essentials expansion, if you're using essentials for your economy

void patio
turbid tide
void patio
#

%essentials_baltop_player_<rank>% is this for the player name?

turbid tide
turbid tide
void patio
#

same

turbid tide
void patio
#

hmm ok

#

wait

#

nice

#

work!

#

thanks

turbid tide
#

no problem 👍

flat pulsar
#

[06:57:50 INFO]: [Progress] Couldn't get the number from aoneblock. The progress will be 0%.

#

Why

turbid tide
flat pulsar
turbid tide
#

what placeholder?

flat pulsar
#

aoneblock_visited_island_percent_done

#

forked to make it always return a value and remove the '%' at the end

turbid tide
flat pulsar
#

I don't see how exactly this is my fault?

turbid tide
#

no one said its your fault. I'm just trying to figure out what you're doing first so I can maybe figure out what's happening. can't really guess the problem. we're not the developers or maintainers of AOneblock either.

flat pulsar
#

That placeholder returns a number, e.g. 80

#

but for whatever reason the "progress" placeholder thingy cannot figure out what 80 means

turbid tide
turbid tide
#

can you do /papi parse me %aoneblock_visited_island_percent_done% and send a screenshot of the output please?

tender vaporBOT
#
FAQ Answer:

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

turbid tide
turbid tide
#

copy and paste it here

flat pulsar
#

%progress_bar_aoneblock_visited_island_percent_done_m:100%

junior musk
#

put the aoneblock placeholder in {}

#

%progress_bar_{aoneblock_visited_island_percent_done}_m:100%

flat pulsar
#

That might be a bit of an issue considering the weird way our TAB plugin parses placeholders, but I can see the problem now

vivid sparrow
#

thats on you then

flat pulsar
#
 - {text: "${viewer progress_bar_{aoneblock_visited_island_percent_done}_m:100} &7${viewer aoneblock_visited_island_percent_done}", icon: "colors/dark_gray.png", ping: -1}``` kind of breaks if there are two {} but I can see the issue now, I tried parsing it with the {} and it worked, but yeah
vivid sparrow
#

yeah, that's not gonna work

flat pulsar
#

damn

junior musk
#

BTLP?

flat pulsar
vivid sparrow
#

BungeeTabListPlus or something I guess

junior musk
flat pulsar
#

AdvancedTabOverlay, the Spigot version of BungeeTabListPlus :herold:

#

no nitro emotes, ouch

junior musk
#

yeah, so same thing

flat pulsar
#

basically

junior musk
#

maybe they have something for that on theif wiki, let me check

flat pulsar
#

Ty

junior musk
flat pulsar
#

I didn't know that was a thing, thank you good sir

#

I'll try

tawny sun
tender vaporBOT
tawny sun
#

Oops, apologies

turbid tide
tawny sun
#

Will this still work in 1.19?

#

I heard something about how signed chat cannot be cancelled

turbid tide
#

they can be cancelled. its just that the messages will be shown as system messages and won't be signed

#

well I mean, currently on spigot they're system messages anyways

#

so it shouldn't really matter at all for now

austere hawk
#

Hii, idk why my ping always 0

#

Its not change

flat pulsar
tender vaporBOT
flat pulsar
#

sorry mate

short shoal
#

Kinda dont get why would you use javascript for that? Theres already placeholder for that

wide reef
#

why does papi sometimes just not load some expansions?

timber flume
#

does anyone know how to fix this?

tawny sun
#

shouldn't this work?

#

"player" is the player sending the chat

#

I have 2 online players for testing (myself and my alt), both are in seperate factions that are enemies to each other

#

my alt always shows red faction name though from both points of view, and my main always shows green

frail lark
#

Anyone know how the UltraPrisonCore placeholders?

swift nexus
#

Hello! How do I reverse the date on placeholderapi? I want it to be 08/04/22. not 04/08/22. I have it set to MM/dd/yy

silent kiln
#

does any1 knows why the scoreboard doesnt parse the color code (its %luckperms_prefix% placeholder)

prisma sonnet
#

Hi!

#

I'm getting this error

limber elm
slim fern
#

When using Data.set(), Placeholder.saveData() and Data.get() does that data persist across server restarts?
I've had some issues that the data only appears to be partially set. So some keys do get a value assigned, while others don't even get saved. Does anyone have any ideas what might cause this issue?

simple copper
#

Why Pinger expansion isn't work?

raven girder
#

Placeholder API Dependency not working pls help

#

@balmy marten

tender vaporBOT
austere hawk
#

My ping always 0

muted karma
raven girder
austere hawk
paper field
#

What placeholder can I use to show if the server is online? I don't want to use pinger because I have to enter the full ip address.

cloud mortar
#

How would i go about creating a playtime leader board?

paper field
slim fern
paper field
#

Oh sorry I didn't mention that I need that for other servers on the network

north inlet
#

Hi

#

I need support

#

I can't download expansions with papi ecloud download

#

The console give me a error for "failed to find an expansion named: Randomcolor

#

The command is /papi ecloud download RandomColor

#

Idk

#

The link of papi dump

#

The config of the plugin

#

The latest.log content

#

For now i download the extensions manually

#

But anyone can support me

#

Thanks

shut geode
#

hello brothers, is placeholderapi for 1.19.1?

vivid sparrow
#

yes, latest release works

shut geode