#placeholder-api

1 messages · Page 24 of 1

warm sequoia
#

i realized something just now

#

but

#

let me make sure tho

#

yeah i think it should be ok

#

ty

dense trail
#

still erroring

tender vaporBOT
dense trail
#

i'm gonna ignore it for now making this config bothering me more

#

sorry for ping

mint fable
#

hmmk lol

#

send the script if you get the chance

#

it's PlaceholderAPI.static.setPlaceholders() fyi

dense trail
#
function checkAndPrintPlaceholders() {
  var placeholders = [];

  for (var i = 1; i <= 10; i++) {
    var placeholderName = "Level_aoneblock_top_name_" + i;
    var value = PlaceholderAPI.setPlaceholders(BukkitPlayer, "%" + placeholderName + "%");
    if (value === "") {
      return "Empty Spot, " + i;
    }
  }
  return "No Empty Spot";
}  

checkAndPrintPlaceholders();
mint fable
#

ya, should work by putting the .static in there

#

🤞

dense trail
dense trail
tender vaporBOT
mint fable
#

nice!

dense trail
#

nevermind it only prints 2

mint fable
#

just 2?

#

or Empty Spot, 2

dense trail
#

Second

mint fable
#

and what does /papi parse me %Level_aoneblock_top_name_2% return?

dense trail
#

blank

mint fable
#

and what does /papi parse me %Level_aoneblock_top_name_1% return?

dense trail
#

Kurichibo

mint fable
#

so... it's working?

#

idk what you want it to do

#

so

dense trail
#

I can't share screenshots which is annoying asf

tender vaporBOT
dense trail
#

netherite_block = %Level_aoneblock_top_name_1% which should print my name

#

emerald_block = %Level_aoneblock_top_name_2% which is no one right now (meaning empty) so it should print "Empty spot"

mint fable
#

it looks like you're using the javascript placeholder for both

#

What are you wanting to actually show here?

#

It looks like you want to show the top 10 islands or so

#

which shouldn't need this javascript placeholder

#

this javascript placeholder, when you first sent it, I figured the main goal was to print the first empty spot

dense trail
tender vaporBOT
# dense trail yes correct
Hey!

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

dense trail
#

but when there's no user it gives an empty string instead of actual text

#

so i thought i could just make a quick js file for that

#

apparentl not lol

mint fable
#

Oh...

#

probably should've started with that

#

you can simply just use changeoutput for that

#

@dense trail this

dense trail
#

well that's brain damage lol

mint fable
#

ya...

dense trail
#

should've asked first xD

mint fable
#

and if you did wanna do js, the script you sent wouldn't be useful

wheat falcon
#

Hey, I'm somewhat new to how PAPI works and all that. I saw that the Advancements expansion lets me check if a user has a certain advancement.

I want to prevent players from either opening a door or entering an area (either or, not picky) unless they have a certain advancement. I know I can use %Advancements_<advancement>% to check, but how do I use it? Would this be something to do with PAPI, or does a different plugin handle it? If so, any recommendations for what might be able to fit my needs? I use stuff like CMI and WG if that helps.

Thanks!

mint fable
#

papi is just an api for other plugins to use placeholders from other plugins/expansions

#

not sure if worldguard has support for "if placeholder returns yes, they have access to the region"

wheat falcon
#

yeah, i guess that's my biggest question then

#

ill ask them next

mint fable
#

probably will need a custom plugin

stone edge
#

You can (maybe) try ConditionalEvents plugin

#

which has an event when player enters a region

#

and allows you to check/compare placeholders output with words like true/false/yes/no etc

#

and cancel events (plus other actions)

mint fable
#

ah I was trying to remember that name

#

only remembered executableevents

stone edge
#

haha :xd:

wheat falcon
wheat falcon
#

followup: for %Advancements_<advancement>%, is there a list of all the advancements? i know the vanilla id of the advancements, but PAPI doesnt like it. im curious on what format i need to use for them

#

nvm, figured it out: papi wants it to be prefixed by the directory (for example, story/enter_the_nether)

sharp bloom
#

is there a way for checkitem to check for a random item in an itemsadder category? i think not but i wanted to ask to be sure

vagrant fog
#

Hi, I have created a placeholder using placeholderapi with spigot, but I don't know how to update it, I have to restart the server each time to update it.

#

I'm printing a player's discord name, the placeholder is not updated when the player's name is changed.

#

someone can help me?

vivid sparrow
#

The placeholder just returns what data you have stored. As long the name is changing, it will work.
Make sure the place where you use the placeholder is set to update the text on an interval.

vagrant fog
#

I created a bossbar with the tab plugin and I'm using the placeholder there. I already have a code that takes the players discord name, the placeholder ' ' will remain empty until the player's name is retrieved. Once received, it will be replaced with the player's discord name. Everything works, but the placeholder appears empty even though the player has a name, I have to turn the server off and on.

naive glacier
#

Does latest support paper 1.19? Edit: yes

austere hawk
#

How can I display the time of the player in his country, I saw that with localtime but I want it to be automatic

#

That I don't have to define the timezone, I just need to display the time of the player's country, I would really appreciate the help

mint fable
#

should just be %localtime_time% %localtime_time_<SimpleDateFormat>%

#

@austere hawk

#

without the need to define the timezone id

#

it will get it from the user's ip

austere hawk
#

I used it and it tells me that it is 2am

#

and it's 8pm

mint fable
#

are you connected via localhost

austere hawk
#

used hosting

mint fable
#

anything in your console?

#

it should print if it's failing

austere hawk
#

How?

mint fable
#

?startuplog

tender vaporBOT
#
FAQ Answer:

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

austere hawk
#

0 erros o Warn

mint fable
#

can you send the log

austere hawk
#

Idk, but maybe it's because of the geyser?

#

on mobile

mint fable
#

no idea

austere hawk
#

?paste

tender vaporBOT
#
FAQ Answer:

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

austere hawk
#

In fact, I also get that it is 28

#

And it's 27

mint fable
#

can you send a log where you login and the placeholder is parsed?

#

if you have it on a scoreboard or something, logging in should be enough

#

@austere hawk

#

localtime should say something in the log if it fails to retrieve the timezone

austere hawk
#

Waiy

#

Wait*

#

Offline mode servers can get help?

mint fable
#

are you admitting to not owning the game?

#

Because you are correct, I would not assist

#

I recommend purchasing things you use

austere hawk
#

was question

mint fable
#

right

austere hawk
#

Is it %localtime% or %localtime_time%?

mint fable
#

the latter

fossil barn
#

Im creating my custom javascript placeholder but i want to use a placeholder in a function but i want to change an argument and get it parsed is that possible?

#

return '%deluxemenus_meta_swordlvl_STRING_0%';

#

In this case i want to change swordlvl with multiple things

#

if i just intecrate the variable like this ${var} papi do not resolve the bar first just parse the placeholder as plain text

mint fable
#

remove the %%

#

otherwise it will be parsed before the script is run

#

you can parse it as follows

return PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%"+variable+"%");
austere hawk
tender vaporBOT
austere hawk
#

?paste

tender vaporBOT
#
FAQ Answer:

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

austere hawk
#

If you see that it turns on without connection, it is because there are some errors with the proxy that I use, which is xcord

#

Oh, you verify that it is premium, if it appeared available it would be cracked

crisp crystal
#

Does anyone have a placeholder which displays count of players who have joined a server or a placeholder which counts count whitelisted?
EDIT: Found %server_unique_joins%

Also, a placeholder which displays the count of banned players?

I'm trying to make a math placeholder which displays the amount of players dead vs players joined placeholder.

junior musk
#

for whitelisted and banned players, you can use the PlayerList expansion

crisp crystal
#

thanks

shut cloak
rustic wave
#

Anyone know why the %bungeecord_<servername>% placeholder isn't working for me?

#

I'm using it on an NPC with a hologram

#

On a 1.19.4 Paper backend server

#

And it just shows up as the placeholder...

rustic wave
#

Got it working! Turns out it's %bungee_<servername>% not %bungeecord_<servername>% 🙃

half oak
#
[23:47:56 INFO]: [Skript] Line 11: (msg.sk)
[23:47:56 INFO]:     Can't understand this expression: betterteams_tag
[23:47:56 INFO]:     Line: set the chat format to "[%betterteams_tag%] %player% » %message%"
[23:47:56 INFO]:
#

After enabling skript and installing placeholderapi, Enabling placeholderAPI in the plugin, It dosen't work.

vapid ocean
#

any idea how to conver user to a bukkituser?

var user = args[0];

function discord(){
    return PlaceholderAPI.static.setPlaceholders(user, "%discordsrv_user_islinked%");
}

discord();```
#

cuz it dont work like that ^ (i know its bc user is not a bukkit user)

thorny charm
#

People how I remove the kills hours played deaths all that I use statistic

long turtle
#

Is there any placeholder linking to an image?

austere hawk
#

Hi, can someone help me why the local time placeholder doesn't give me the time, right?

#

When using papi parse it says that he set the timezone default

brittle depot
#

Hello, how can I get server name on velocity please? I tried to use %server_name% but it shows the entire server network name, not name of "subserver". I need to distinguish between subservers, e.g. "Factions", "Skyblock" etc.

void patio
turbid tide
# void patio https://mclo.gs/FNhUTh0 how to fix this issue?

Check your plugins/PlaceholderAPI/expansions/ directory. You might have multiple instances of the Bungee expansions installed. Remove them all, execute /papi reload and then redownload the expansion using /papi ecloud download Bungee then /papi reload

turbid tide
junior musk
#

isn't it the name in PAPI's config?

turbid tide
#

Is it? I might be misremembering. Let me double check

junior musk
#

I remember someone asking me how to get the one from server.properties because they had their plugins folder synced accross different servers and server_name didn't work

turbid tide
#

Oh. You're right. So then, change the name of your server in plugins/PlaceholderAPI/config.yml under expansions.server.server_name

turbid tide
junior musk
#

yeah, not exactly the placeholder we use the most xD

austere hawk
#

[11:17:26 ERROR]: [PlaceholderAPI] Failed to load class files of expansion.
java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot invoke "java.lang.Class.getClassLoader()" because "result" is null

cant use %bungee_servername% 😦

worn robin
#

I did /papi reload and now all my placeholders are not parsing

#

Server restart resolved. Would there be another way to resolve if that happens again in the future without a server restart?

tall compass
#

why the PlaceholderAPI its not working on my server? Need any other plugin with ?

tender vaporBOT
#
FAQ Answer:

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

austere hawk
#

[11:17:26 ERROR]: [PlaceholderAPI] Failed to load class files of expansion.
java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot invoke "java.lang.Class.getClassLoader()" because "result" is null

tender vaporBOT
austere hawk
#

Hi, can someone help me why the local time placeholder doesn't give me the time, right?

#

When using papi parse it says that he set the timezone default

#

Help please

cyan stone
#

Hello, I have a question so im trying to connect a economy plugin to a score board right and I need this plugin to do it

#

can somone guide me on how to do it

junior musk
#

PlaceholderAPI provides an easy way for plugins to create placeholders (special text that returns values) and for other plugins to parse/translate them (so they display the values)

If the economy plugin you're using provides PAPI placeholders and your scoreboard plugin supports PAPI, you can use those in your scoreboard plugin.
Most plugins list their placeholders on their overview or wiki pages, try and check their.

cyan stone
#

%lighteconomy_money% - returns the current Player balance
%lighteconomy_currency_singular% - returns the current currency in singular
%lighteconomy_currency_plural% - returns the current currency in plural
%lighteconomy_bank_balance% - returns the current bank balance
%lighteconomy_bank_limit_balance% - returns the max bank limit comming from the bank limit
%lighteconomy_bank_current_level% - returns the current bank level
%lighteconomy_bank_max_level% - returns the max possible bank level

#

those are the examples

junior musk
#

use the one that you want in your scoreboard plugin

cyan stone
#

ok ty

#

i must have done somthing wrong both are compatible but all it shows is this %lighteconomy_money%

junior musk
#

what's your scoreboard plugin?

cyan stone
#

Simple score

junior musk
#

does the placeholder work in /papi parse me <placeholder here> ?

cyan stone
cyan stone
#

so I just updated its all fixed now

junior musk
#

👍fingerguns

waxen delta
#

[PlaceholderAPI] Failed to load expansion upun. Identifier is already in use.

#

have this with several plugins what could be the problem?

vivid sparrow
#

downgrade to papi 2.11.2 until we release an update with a fix for that

fresh venture
#

guys, i did placeholders, but i wanna do them be per-player, cuz they are globally for everyone
how can i do that? i've used PlaceholderExpansion way

wraith berry
austere hawk
fresh venture
#

i will try recode this part in morning then

vocal coral
#

Is anyone else having issues with luckperms / vault? My prefix placeholders arent loading.

mint fable
#

I've already told you in the past it was probably due to your host blocking the access to the ipapi that the localtime expansion uses

#

@austere hawk

#

the fact that you get this message confirms that that is most likely the issue
[05:13:19] [Craft Scheduler Thread - 19 - PlaceholderAPI/INFO]: [LocalTime] Couldn't get ZxyretrohackyxZ's timezone. Will use default timezone.

austere hawk
tender vaporBOT
mint fable
#

Most likely a host error

#

maybe ask your host if they can help you access ipapi.co if that is what's happening

#

maybe it's not getting the ip address correctly for the user?

#

another possibility

#

but most of the times for things like this, it's being blocked from accessing ipapi.co

mint fable
#

yes

austere hawk
mint fable
#

yes those are the options

#

99% of the time, blocked by host

austere hawk
#

Ok, I'll see with the hosting I use

mint fable
#

👍 i wish you luck

tall compass
torpid path
#

Leviathan: '&8[ &b{CLAN}&8]&r {DISPLAYNAME} {deluxetags_tag} &9◗ &b{MESSAGE}'

#

why deluxetags not working with essentialsxchat

#

helpme

#

if using %deluxetags_tag% the chat will return to vanilla

mellow rock
#

Does anyone know a plugin that can count certain entities (prefer in a certain area) like:
pig:28
sheep:10

as an exsample that works with placeholderapi so i can add it to the scoreboard with powerbord

thanks!

fresh venture
wraith berry
#

What's the code you're using?

vivid sparrow
#

make playerManager a variable inside onPlaceholderRequest

#

so it only exists during the placeholder evaluation & this way it will have a different value for each player

cerulean skiff
#

can i add website redirection to my deluxe emnus

#

menus**

#

and if yes then how

#

i wanna add redirection to my discord server link

tender vaporBOT
fresh venture
deep spade
#

Hi !

#

I need help 🥲

#

I gonna
/papi ecloud download PointsAPI, and he break my scoreboard and placeholder

restive nova
#

Why it takes so long

tender vaporBOT
tall compass
junior musk
#

send the entire logs

worn robin
#

Does anyone know of any placeholders that will track vindicators killed by all players cumulatively, for example

restive nova
#

statistics

stone edge
#

there isn't any afaik

#

per player, yes, in group no

worn robin
stone edge
#

well, it's kinda hard tbh, considering statistics are per player

#

the only way to get that would be with a custom expansion

#

that sums all statistics from provided players

#

the other option (which is maybe a bit slower and requires configuration)

#

would be using math expansion to sum what you want

#

something like %math_{stats of player 1}+{stats of player 2}+etc%

#

but that requires specifying player names and probably use parseother expansion

#

however, i'm not sure if that will work if player is offline as i dont remember if it supports OfflinePlayer by name

#

all depends on what you wanna do exactly and in which context you plan to use the placeholder

vivid sparrow
#

Statistics of offline players can be accessed on 1.15 and above iirc

worn robin
stone edge
#

i mean, you can using NBT (i guess)

stone edge
sick jolt
#

We are creating a stealth related SMP, we managed to remove tabs players and online players in multiplayer selection.

Main Concern
Is it possible to hide the player in social interaction screen since it shows the skin and name of the players online. I tried adding fakeplayers and bitmapping a user but it only adds fake players to the count of players which we do not want to touch.

We only need to private the SIS one.

sleek kayak
stone edge
#

You just use %headsanywhere_head%

#

and it will display the player head (the head of the player used to parse the placeholder)

#

however, that uses a resource pack iirc, so i wouldn't use it

#

i'd just use a login plugin with premium support so heads appear in tab

half jacinth
stone edge
#

update bungee expansion (most likely)

half jacinth
#

No updates available for this expansion.

stone edge
#

otherwise, try the version from pinned

vivid sparrow
#

Read the error, it tells you that one expression has a N in it, could be from a placeholder.

mint fable
#

do you also have the vault expansion?

edgy bobcat
#

Does %essentials_nickname% display the players regular name if they don’t have a nickname?

vivid sparrow
#

try and see, but it should

simple eagle
#

can someone help me in spanish?

#

What happens is that I want to place this marker on my scoreboard but the capital letters do not appear, I already looked at the page recommended by the plugin but it does not work for me

%localtime_time_MMM. dd hh:mm to%

smoky egret
#

Hello, does anyone know this issue?

at java.lang.Class.privateGetDeclaredMethods(Class.java:3402) ~[?:?]at java.lang.Class.getDeclaredMethods(Class.java:2504) ~[?:?]at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:419) ~[PlaceholderAPI-2.11.3.jar:?]at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]```
#

asked in viaversion, but was told its a papi issue.

vivid sparrow
#

@smoky egret send the full error

inner edge
#

Hello, I would like to post a extension. But accout registration is locked

#

Where can I ask to create a account for me ?

stone edge
austere hawk
#

Is there a placeholder to show how old a server is in days?

crisp crystal
#

Does anyone know a placeholder, just like objective scoreboard dummys, but which lets you create global dummys?

#

Where you can increase/decrease their value?

fallen yarrow
#

Hi, is there any reason the %vault_eco_top_player_1% and %vault_eco_top_balance_fixed% no longer works for me?:P when i use papi parse it just shows the placeholder, the normal balance to show my own etc works fine,

#

baltop is still enabled in the config, and it have been working before:D

vivid sparrow
#

the top placeholders were moved to the essentials expansion

fallen yarrow
#

aaaah:D

austere hawk
tender vaporBOT
vivid sparrow
#

%server_online%

austere hawk
#

Thank you

austere hawk
austere hawk
vivid sparrow
#

I'm pretty sure I've already told you no

austere hawk
#

Okay thanks

worn raptor
tender vaporBOT
worn raptor
vivid sparrow
#

Why do you feel the need to mention me

#

It is a spigot plugin

worn raptor
#

Is there

#

Any plugin

#

Works on bungee

#

For placeholders

#

I have to setup tab plugin

junior musk
#

if you're using TAB, use its bridge

worn raptor
#

Oo thx

austere hawk
modest storm
#

What placeholder will work for give commands? (exact player name)

wraith berry
#

%player_name%

modest storm
#

It's not working with voteparty it seems

#

Okay, I downloaded the Player placeholders and it worked. tysm

austere hawk
#

%player_name% and %player% isnt working

#

not for me server at least

#

I need help fixing it please

austere hawk
#

/papi ecloud download Player

#

I have

#

papi is also fully up to date

#

What does /papi bcparse me %player_name% show

#

it feeds me back my username

#

So the expansion is fine

#

Where is the placeholder not working for you?

#

well thats good to know

#

in my deluxemenus plugin gui

#

Show me where you're using it

#

okay

#
 left_click_commands:
    - '[console] eco take %player_name% 10000'
    - '[console] lp user %player_name% parent add Member+'
    - '[message] &a(!) You have successfully purchased the &#caffd9[Member+] &r&arank!'
    - '[console] adjustbonusclaimblocks %player_name% 1000'
    - '[console] cc give-random physical 1 <player>'
    - '[console] broadcast &f %player_name% &ahas just purchased &#caffd9[Member+] &arank!'
#

I know the <player> isnt a proper placeholder I was just testing to see if it would work

#

What does it show on the broadcast for the placeholder

#

I use the same plugin for rank ups and it works

#

the broadcast seems to only work for bedrock players

#

it shows %player_name% for java players

#

What plugin handles the broadcast command

#

essentials

#

im a few updates behind so that could be why

mint fable
austere hawk
#

also though the items arent being givin to players when they purchase a rank

mint fable
#

usually these things happen the other way around lol

#

java works, bedrock doesn't

austere hawk
#

it is odd to me too

mint fable
#

I would update deluxemenus if not on latest

#

maybe send a startuplog

#

hard to diagnose these sort of things, especially when it's happening like this... thonking

austere hawk
#

dm is on latest update

tender vaporBOT
#
FAQ Answer:

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

austere hawk
#

I cant restart my server for a while

#

let me check the logs

frail raft
#

I've been using PlaceholerApi for a while, but the Statstic part doesn't increase when breaking blocks, and other parts like %player_name% are still working fine.

mint fable
#

do you have the latest statistic expansion

#

you can run those commands to update it to make sure

frail raft
#

i tried reload plugin, delete ecloud reload but it still doesn't work

mint fable
#

do you have anything that deals with block breaks?

#

any plugins

frail raft
#

nope

mint fable
#

what placeholder are you using

frail raft
#

About 2 weeks ago it was working fine and I never installed anything that affected

frail raft
mint fable
#

I meant the %placeholder%, but you should update placeholderapi first

frail raft
#

I tried upgrading to the latest version but it's the same

mint fable
#

I would still update

frail raft
#

%statistic_player_kills%
%statistic_deaths%

mint fable
#

none of them update?

#

can you send a startuplog over

#

?startuplog

tender vaporBOT
#
FAQ Answer:

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

frail raft
#

all Statstic related placeholerapi are not working i think it's the world file but i'm not sure if it is

mint fable
#

it's possible

#

what happened to your world file?

#

it contains all statistic data*

#

it's in the stats folder of the world

frail raft
#

can you use ultraviewer to check for me

mint fable
#

i have no idea what that is

#

so no

#

best I can do is take a look at the log

#

see if i see anything

austere hawk
mint fable
#

oh

#

no

#

ah....

#

Not very nice to use leaked plugins

#

I recommend purchasing things you use

frail raft
#

aww i'm so sorry

#

cuz i don't have enough money to do

austere hawk
#

Use a free version/alternative of the plugin then

#

It's not fair on the developer

stable forge
#

@sharp jay where we can find all apis

tender vaporBOT
sharp jay
#

APIs? for what

junior musk
#

I'm guessing he's asking for all the placeholders

stable forge
sharp jay
#

stop replying to me so you can ping me

sharp jay
stable forge
junior musk
#

he just sent you the link

#

2 messages above

wicked lava
#

Voteparty placeholder? /papi ecloud download Player does not work for it.

vivid sparrow
#

What

#

If you want to display for example the amount of votes, thats from the voteparty expansion. If you want to get player's name for the vote / party commands, you get it though the player expansion

wicked lava
tender vaporBOT
wicked lava
#

Girl, this thing is ridiculous, I reply to everyone by habit.

junior musk
#

for VoteParty placeholders, they come with the VoteParty expansion which doesn't need to be downloaded as it is integrated within the plugin

#

as for why they don't work, I'm not really sure, does voteparty show in /papi list?

junior musk
#

nope for?

wicked lava
#

it showing up

#

it doesn't show up in /papi list

#

Running 1.20.1 latest version

junior musk
#

what's your PAPI version?

#

and can you show your console on /papi reload?

wicked lava
junior musk
#

try to downgrade to 2.11.2

#

but just to make sure, send your console log on /papi reload

hard jackal
austere hawk
tender vaporBOT
# austere hawk https://paste.helpch.at/wifijajibu.rb
Possible Solution Found:

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

wind shadow
#

Is there any way with placeholderapi that i can just put a placeholder in front of my deluzemenus titles and when i change that color it changes in all the menus?

#

So i can change the color of all menus in 1 config.

#

Not just deluxemenus but im planning to do this on more plugins

#

Or does that cause any performance issues? As far as i know papi is really performance proof and i dont think it causes performance drops when used heavily but never used it that way

fervent lava
turbid swan
#

extension author here - trying to update the version of ScoreboardObjectives currently posted on the eCloud. the previous author @LethalBunny transfered ownership of the spigot page last year, but not his ecloud login. i don't use PlaceholderAPI myself, but I took over maintenance of the extension since a lot of server owners use it in conjunction with one of my other plugins.
anyways the version on the ecloud is 4.2.0 and the version on spigot is 6.1.0, and there have been a lot of changes, and it's annoying when users keep reporting old bugs (from 4.2.0) that have long since been fixed because they are downloading thru the ecloud and not spigot

#

i'm fine with any of these solutions:

  • deleting it from ecloud
  • granting me access to the ecloud account
  • updating the ecloud jar
mighty goblet
quasi bolt
#

can someone help me with deluxe menus base64 custom heads

lunar coral
#

hi, I'm trying to run this command: /papi bcparse me %checkitem_getinfo:mainhand,custommodeldata:10019%, and it keeps returning Invalid number for slot, I've tried numbers instead of "mainhand" and it still returns the same output

#

im fairly certain ive followed the section on the wiki correctly

#

wait I see what ive done

#

nvm lol

signal oasis
#

Anyone know placeholder to use to show world date?

#

like the date counted from the world first day

sonic jackal
#

Hello, i need help the prefix doesnt change to what my rank is i try to papi ecloud download EssentialXChat chat injector none of that work and try to add additional plugin like luckperms chat injector

warm plover
#

Anyone have any idea how I can replace :joy: which an emoji in my server that makes it white by default?

#

I know with the string replace expansion I can do this:
emojis: '\:joy:': '😂'

#

But it sends it as the color of my chat color, which makes it look odd. If I add &f😂 it disconnects me as it's an invalid character for chat (I'm guessing because it gets replace as §, which cannot be put in chat)

tame kestrel
#

For some reason, placeholderapi isnt parsing placeholders within other placeholders? Not sure what changed, I did a server migration that ended up being a disaster, and now this wont parse properly.

junior musk
#

it depends on the placeholders you use

#

not all placeholders support nested placeholders

#

that's why I made the Utils expansion to do exactly that :D
%utils_parse_placeholder_{nested_placeholder}%

#

though some expansions like the Math expansion support nested placeholders directly

#

only 1 level of nesting though

tame kestrel
#

these all worked previously

#

i use shortcut expansion to allow for more levels

junior musk
#

no idea what your set up is so idk

tame kestrel
#

is there a dev build out for placeholderapi for 1.20? or is it still 2.11.3

junior musk
#

latest is fine

#

PAPI isn't version dependant

#

its expansions may be though, like the Player one because of the ping placeholder

tame kestrel
#

i figured it out

#

changeoutput isnt working at all

#

wtf i have to add the stupid input: matcher: bs

#

this is annoying

#

i had to downgrade changeoutput because i still use old syntax

austere hawk
#
java.lang.IllegalStateException: java.io.EOFException
#

figured it out

#

had to update it

turbid swan
#

Registration is currently locked. If you feel it is necessary to create an account, please join our discord and get in touch with us.
^ would appreciate gettnig an account.
can't seem to post screenshots in this channel

tender vaporBOT
turbid swan
stray plume
#

How do I show nothing if not afk and AFK if afk with TAB and PlaceholderAPI

topaz dust
#

Hey guys, I'm trying this math placeholder to set something but i don't know how

#

I want to like do placeholder_value + 1

#

something like %math_%lifesteal_heartscap%+1%

#

nvm i guess it's just %math_{lifesteal_heartscap}+1%

austere hawk
#

any expansions for player playtime? i don't see any by searching playtime

#

found it ^^^ Statistic

warm plover
#

Anyone have any idea how I can replace : joy : which an emoji in my server that makes it white by default?
I know with the string replace expansion I can do this:
emojis: ': joy :': '😂'
But it sends it as the color of my chat color, which makes it look odd. If I add &f😂 it disconnects me as it's an invalid character for chat (I'm guessing because it gets replace as §, which cannot be put in chat)

kind shoal
#

Getting internal error when using %player_ping%

#

ping if there is a sulution

stone edge
#

update player expansion

turbid swan
mint fable
#

Well that doesn't help ||If you do come back and see this message though, please give some information about what you want to put on the ecloud, including a link to the source (github). Feel free to ping me||

#

🤷‍♂️

manic ingot
#

Lucky I put all my discord server to group and name it 😅

mint fable
#

before folders/groups was a mess

manic ingot
mint fable
#

so many support servers im in (to get help)

#

11/10 feature

kind shoal
# stone edge update player expansion

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

stone edge
#

what, lol didnt know the expansion had that issue

#

restart the server and player_ping should work (if you were using 1.20)

kind shoal
#

using 1.20.1

#

works PlusOne

warm plover
#

Bump
Anyone have any idea how I can replace : joy : which an emoji in my server that makes it white by default?
I know with the string replace expansion I can do this:
emojis: ': joy :': '😂'
But it sends it as the color of my chat color, which makes it look odd. If I add &f😂 it disconnects me as it's an invalid character for chat (I'm guessing because it gets replace as §, which cannot be put in chat)

nocturne blade
#

anyone got papi folia jar?

quasi spire
#

Attempt to get net.minecraft.server.level.PlayerInteractManager field "net.minecraft.server.level.EntityPlayer.e" with illegal data type conversion to int
i need to update expansion?

junior musk
#

the Player expaison, yes

#

1.20 changed the ping field (again), so it broke the expansion

quasi spire
#

😭

junior musk
#

you just need to do /papi ecloud download Player and /papi reload

#

don't cry 😅

quasi spire
#

lol it doesnt exactly work everytime

junior musk
#

if it doesn't work, check your PAPI's expansion folder

#

it may have multiple player expansion files

quasi spire
#

Caused by: java.lang.IllegalStateException: Asynchronous Chunk getEntities call!
i always thought this error is from plugin looks like placeholder api lmao

#

xD

#

thanks

junior musk
#

that's something else

#

are you using %server_total_entities% in TAB ?

#

if yes, replcace it with %sync:server_total_entities%

quasi spire
#

nah i use holo plugin for some reason it blames it

junior musk
#

then maybe that plugin is refreshing the placeholder asynchronously

#

try to reach out to them to see if they can add a way to make it sync

quasi spire
#

ye probaly the case

junior musk
#

otherwise, if you can wait a few minutes, I may have another solution

quasi spire
#

since it got folia support

#

xd

junior musk
#

o

#

right

#

not sure if the placeholder will work at all on Folia

#

nevermind my idea then

quasi spire
#

so for this needs another papi update ig?

#

xD

junior musk
#

wait, are you on Folia or is it just the holo plugin that supports folia?

quasi spire
#

" just the holo plugin that supports folia"

junior musk
#

ah then all good

#

give me a sec

quasi spire
junior musk
#

?

quasi spire
#

i mean myself
since i was dumb enought not to ansver (just my thoughts) i had to be pushed by you xd

junior musk
#

oh

#

dw

#

sent you a jar in DM, use %utils_parsesync_server_total_entities%

#

let me know if it works

quasi spire
#

okay sec

#

- '&6Entities living/total:&a {Papi:server_total_living_entities}/{Papi:server_total_entities}'

junior musk
#

{Papi:utils_parsesync_server_total_entities}

junior musk
#

and probably {Papi:utils_parsesync_server_total_living_entities} as well

quasi spire
#

no reload? its inside expansion folder right?

junior musk
#

just /papi reload

#

and yeah

quasi spire
#

ah papi reload gave nothing good

junior musk
#

👀

quasi spire
#

had to restart lol

junior musk
#

o

#

does it work now?

quasi spire
#

yes

junior musk
#

👌

twin blaze
#

Why is this not showing the first placeholder
[12:02 AM]
display_name: '%checkitem_getinfo:0_nameequals:% %checkitem_getinfo:0_amt:%'

austere hawk
#

hello! so I'm using essentials(x) to do all the economy stuff on my server but my issue is that when I use a placeholder from Vault it doesn't use the formatting set in the essentials(x) config :/

#

this would be a lot easier to show with pictures but since we cant

#

essentials itself doesnt have placeholder to show individual balance so im using vault

#

BUT it doesnt respect the formatting set in the config which is 1,234.50

#

instead it shows 11,100 (even though i have .05 in my balance) when using %vault_eco_balance_commas%, 11100.5 when using %vault_eco_balance%, and 11k when using %vault_eco_balance_formatted%

#

basically i just wanna use the x,xxx.xx format please send help 😔

gusty hawk
#

hello i have a good day i have a problem can you help me
my problem:
Every time I start the server, I have to jazz /papi register expansion-name.jar. It is not good to do this manually. I always start the server and check the changes I have made. How can I save this automatically?

cunning ice
#

hello, sorry for bothering, can i somehow use a placeholder for checkitem, to find an item from ItemsAdder plugin?

thorn siren
#

is there a latest dev build of PAPI that remotely supports 1.20+?

junior musk
#

the one on Spigot

glossy mica
#

Why do I get this warning every time I restart the server?
[22:01:20] [Server thread/WARN]: [PlaceholderAPI] Failed to load expansion ultimaterewards. Identifier is already in use.

junior musk
#

That's because the latest version of PAPI prevents plugins from overriding already registered expansions. Either ask UltimateRewards' dev to unregister its expansion on reload (or update if it has already been done) or downgrade to PAPI 2.11.2

glossy mica
#

Will I experience any corruption if I downgrade to 2.11.2 until the plugin owner fixes it?

junior musk
#

nope

glossy mica
#

okey

calm charm
#

hello, i saw that you can change the font, but i don't remember placeholder, would anyone have it please?

stone edge
#

translatefont maybe?

wintry smelt
#

I am looking for a specific placeholder - maybe a plugin. I want to display the amount of deaths behind a player on TABlist.
I use CMI, so I just need a working placeholder for that. Any ideas which one or which plugin i should use for that?

twin blaze
#

I know that this does not work but is there anything that I can use to have this similar function. %essentials_worth:{checkitem_getinfo:0_mat:}%

junior musk
#

%utils_parse_essentials_worth_{checkitem_getinfo:0_mat:}%

junior musk
analog pagoda
#

Hello, I try to install some placeholders, and they work, but when the server is restarted, they stop doing it and the variables do not return anything.

The jar of the placeholders appears in the /dump, but still does not return anything when using the /parse. Any way to know the reason?

mint fable
#

big brain

#

sometimes i forget essentials has pricing features

weak vapor
#

When using the placeholders for EzRanksPro, for me they don't work for scoreboards and such. Anyone else try this?

main mantle
#

never give up never back down

quasi spire
#

console froze (thanks win 10) so i didnt noticed it first

pulsar willow
#

Ideas? [12:16:28 WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.11.3 generated an exception whilst handling plugin message java.lang.IllegalStateException: java.io.EOFException at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:472) ~[guava-31.1-jre.jar:?] at com.extendedclip.papi.bungeeexpansion.BungeeExpansion.onPluginMessageReceived(BungeeExpansion.java:123) ~[?:?] at org.bukkit.plugin.messaging.StandardMessenger.dispatchIncomingMessage(StandardMessenger.java:455) ~[purpur-api-1.19.3-R0.1-SNAPSHOT.jar:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.handleCustomPayload(ServerGamePacketListenerImpl.java:3674) ~[?:?] at net.minecraft.network.protocol.game.ServerboundCustomPayloadPacket.handle(ServerboundCustomPayloadPacket.java:37) ~[?:?] at net.minecraft.network.protocol.game.ServerboundCustomPayloadPacket.handle(ServerboundCustomPayloadPacket.java:15) ~[?:?] at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:51) ~[?:?] at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.19.3.jar:git-Purpur-1933] at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?] at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?] at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1368) ~[purpur-1.19.3.jar:git-Purpur-1933] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[purpur-1.19.3.jar:git-Purpur-1933] at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?] at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1345) ~[purpur-1.19.3.jar:git-Purpur-1933] at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1338) ~[purpur-1.19.3.jar:git-Purpur-1933] at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?] at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1316) ~[purpur-1.19.3.jar:git-Purpur-1933] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1204) ~[purpur-1.19.3.jar:git-Purpur-1933] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:321) ~[purpur-1.19.3.jar:git-Purpur-1933] at java.lang.Thread.run(Thread.java:833) ~[?:?] Caused by: java.io.EOFException at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:346) ~[?:?] at java.io.DataInputStream.readUTF(DataInputStream.java:595) ~[?:?] at java.io.DataInputStream.readUTF(DataInputStream.java:570) ~[?:?] at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:470) ~[guava-31.1-jre.jar:?] ... 19 more

stone edge
#

Update bungee expansion or try the pinned version

main mantle
#

I need help

tender vaporBOT
#

There is no time to wait! Ask your question @main mantle!

main mantle
#

I was gonna nerd react u, bruh

turbid tide
austere hawk
#

guys how can i fix discord crash loading grey screen and when i open it again it has update loop

junior musk
#

This is a Minecraft Plugins suport server, not Discord's Official support server

austere hawk
#

ik

junior musk
#

then why ask here

#

if you still wanted to ask in this server, then ask in appropriate channels, #off-topic

vocal coral
#

Hi,

I'm trying to use the BuyCraft Expansion PlaceholderAPI
%buycraftAPI_vault_top_donor_global_name_<number>%

What do we need to put on number?

      - '10| %buycraftAPI_vault_top_donor_monthly_name_0%'
      - '13| %buycraftAPI_top_donor_current_month_name_100%'

is giving the text ERROR

analog pagoda
#

same problem

tender vaporBOT
sonic jackal
#

What's placeholder to showing what device IM using

vivid sparrow
#

what

sonic jackal
#

What % to show my device im using on nametag or sb

vivid sparrow
#

what do you mean by device

keen sentinel
keen sentinel
sharp jay
#

oh nvm you have essentials

#

weird

keen sentinel
#

yeah right

sharp jay
#

what scoreboard plugin

#

I mean hologram

keen sentinel
#

decent holograms

sharp jay
#

its been awhile since I have seen this issue

keen sentinel
#

is so weird

#

cus sometimes its the #1 spot and sometimes another spot lmao

keen sentinel
#

yes

hot quartz
#

Hello, is there a way to get an essentials placeholder like this: %logoutlocation%?

random shoal
#

Hello! I would like to put another placeholder instead of %player_experience% to be displayed where the bottom level number is at the xp bar, how could I do this?

dusty prairie
#

Is it possible to replace all text inputted in a placeholder to a new font, i want the player name in a deluxemenu item to be ᴛʜɪs ғᴏɴᴛ

austere hawk
fresh prism
#

why vault don't working

#

?

#

i doing /papi ecloud download vault

#

and after this /papi reload

#

and this don't working

#

please help to me

#

???

austere hawk
#

how can I modify the playtime of a player? in statistic

keen sentinel
tender vaporBOT
sharp jay
keen sentinel
#

hm

near peak
#

Is there any way to fix the Essentials placeholder from having 7 decimal digits on baltop

#

I just want 1 max

turbid tide
#

you can have no decimals or decimals

analog pagoda
mint fable
#

you have it in the directory, but it's not registering

#

?startuplog

tender vaporBOT
#
FAQ Answer:

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

mint fable
#

can you send this over this

#

@analog pagoda

analog pagoda
#

?paste

tender vaporBOT
#
FAQ Answer:

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

analog pagoda
tender vaporBOT
#
📋 Paste Converted!
https://paste.helpch.at/onituduror

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

mint fable
#

you don't have vault

analog pagoda
#

...

#

I love you PlusOne

near peak
tender vaporBOT
turbid tide
pallid escarp
#

how to set value of placeholder api, i want to change %statistic_jumps% from 0 to 2829 with a command

pallid escarp
#

that plugin support placeholder api?

#

ok

#

help

#

when i send message

#

this error hapened

#

solved

austere hawk
#

is there a guide or something to learn how to create commands for my expansion?

junior musk
#

the only ways I could see this being possible is either by listening to the PlayerCommandPreprocessEvent or creating a BukkitCommand and adding it to the commandMap (can be accessed with NMS/Reflection or easily with Paper)

austere hawk
#

but is there any documentation for developers trying to create a PAPI expansion? so i can see what is possible and what is not with it

#

and see how it works

junior musk
#

there isn't much things, you just extend the PlaceholderExpansion, override the onRequest method and put your code in there

slate anvil
junior musk
#

you don't have the Quest plugin

slate anvil
#

i have

#

thats the problem

junior musk
#

then not the right one

#

this expansions seem to have been made for Blackvein's quests plugin

slate anvil
#

i have this one

junior musk
#

then maybe either the plugin or the expansion isn't up to date

slate anvil
#

i mean im 99% sure so let me run mc and check that to be 100% sure

junior musk
#

seems like the expansion is outdated

#

or didn't get updated for newer versions of the plugin

#

can you do /ver Quests and /papi info Quests?

#

the first command should say 4.8.3 and the second 1.6

slate anvil
#

infinity loading screen on mc launcher.. need a little bit more time, sorry. I'll send u information from both commands in a few minutes

#

yup thats correct

#

4.8.3-b423 for /ver quests
1.6 for /papi info quests

junior musk
#

can you try to redownload the quests expansion?

slate anvil
#

/papi ecloud download quests right?

junior musk
#

yeah

slate anvil
#

successfully registered expansion quests [1.6]

junior musk
#

👌

slate anvil
#

let me restart server to check if i still have this problem in console

#

nope, fixed. Thanks for help Tanguy

junior musk
#

first person that didn't destroy my name 🙏

rotund pendant
rapid dove
#

Moin, kann hier wer deutsch und könnte mir bei der VAULT erweiterung helfen?

balmy marten
#

Please stick to english as per the #rules

rapid dove
#

Hey can anyone help me with the Vault extension?

opal rose
#

I want to make a menu with deluxemenus and when you click the console to give a grade to the player, but I don't know what placeholder to use for the player because it says that %player% is not valid

tender vaporBOT
#
FAQ Answer:

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

ivory rampart
#

Any known issues with the pinger exstension? It fetches the first line just fine but the second line keeps disappearing and I need to close and open the menu for it to appear back, then it disappears again. I'm using DeluxeMenus.

#

I've changed how often the placeholder updates, as well how often the menu updates.

#

Might be a limitation in the plugin? I've tried looking for fixes but couldn't find any.

waxen shell
#

Could anyone help me please?, I used to have this placeholder working:
&c%math_{player_health_rounded}/2%❤ %changeoutput_>_300_{player_ping}_&a{player_ping}_&6{player_ping}%ms

using Math and Change Output Expansions but now it isn't working... I've been trying to fix it for hours :(

I'm trying to use TAB plugin to display Player health and
Player ping, showing red when it is 300+ or yellow or green depending on how low it is, I don't know why it broke but i hope it doesn't have anything to do with an outdated expansion...

Useful info: I think i used Action Bar Health before... but the placeholders aren't registered?, maybe all of this is because of that... how do i register them?, (It doesn't have any config for that)

Picture link: ||https://cdn.discordapp.com/attachments/766097274941603854/1139239356905816104/image.png||

junior musk
#

send the output of /papi list

#

and check if the changeoutput placeholder works in /papi parse me <placeholder here>

#

also, why not just use TAB's placeholder-output-replacements or conditions features?

waxen shell
junior musk
#

try the parse command now

waxen shell
junior musk
#

then something's wrong with the placeholder

waxen shell
#

But it is weird... because health shouldn't appear that either... so basically everything is wrong

junior musk
#

oh yeah it doesn't follow the correct syntax at all

waxen shell
#

Health should be 9 instead of 9.000 (It was like that before)

junior musk
#

%math_0_{player_health_rounded}/2%

#

to round the placeholder

junior musk
waxen shell
#

but that makes me think that i was using another expansion

#

That had

player_health_rounded, and player_ping

#

because i didn't have that math_0_ before and it worked

junior musk
#

those 2 placeholders still exist in the player expansion

junior musk
#

it's been a while since it got added though

waxen shell
#

in 1.17 my placeholder used to work q_p

junior musk
#

MC version doesn't matter

#

depends on when you downloaded the expansion

waxen shell
#

The thing is that i think the expansion i'm talking about stopped updating on 1.17

#

Could you please help me fix my change output placeholder?, it is too complex, i remember it took me hours T_T

junior musk
#

%changeoutput_>_input:{player_ping}_matcher:300_ifmatch:&a{player_ping}_else:&6{player_ping}%

waxen shell
#

Omg, tysm!!

austere hawk
#

Hey anyone know how to add a placeholder that counts from 60minutes as mins and seconds and restarts every 60min after it has had counted down?

gusty hemlock
#

Quick question, if I need to work with a percent sign inside a string of one of my placeholders, how can I escape it? For example, if I have something like %formatter_text_replace_"%"_""_30%%, where I want to shave off the "%" from the "30%", how can I escape the percent so it doesnt "cancel" the entire placeholder?

junior musk
#

unless the expansion has a way to do it (for example, Math lets you use [prc] for operations requiring %) you can't

#

or actually

#

since Formatter supports inner placeholders, you can use a placeholder that returns the % character

gusty hemlock
#

lol

#

Seems over-the-top but might work

junior musk
#

give 2min, I know I've seen one that does exactly that

gusty hemlock
#

^^

junior musk
#

works as well

#

was thinking of ASCII

#

%ascii_37%

gusty hemlock
#

Hahaa

#

That works

#

Ty!

waxen shell
#

Tanguygab, do you know if Action bar has an expansion?, i swear i'm not tripping, but i don't remember how i managed to activate it, i think the creator told me to make a command and i thought something like... "why isn't this on the wiki?"

junior musk
#

actionbar?

waxen shell
#

Action Bar Health, sorry

junior musk
#

are you talking about a plugin? (if yes, do you have the link?)

#

yeah okay

waxen shell
#

Yes!

junior musk
#

it says it supports PAPI but I'd assume it's just that it allows you to use PAPI placeholders in it, not that it has an expansion

#

what would an expansion even do?

waxen shell
#

It shows player hearts in the exact same way that in the action bar

junior musk
#

I don't see any expansion in the code

#

though maybe you confused it with the HealthBar expansion that MrGraycat made?

waxen shell
junior musk
waxen shell
#

Oh, i'm using that one in the screenshot i sent

junior musk
#

you can customize the heart icon with that expansion, is that what you're looking for?

waxen shell
#

but it has a problem for my use case, because this one doesn't have an empty icon the tab keeps changing in size everytime someone gets hurt

junior musk
#

oh

#

I can ask Graycat to add that if you want

waxen shell
#

Oh my god!, really?, wow, tysm

#

Action Bar Health uses this display mode:

Full Health Icon: "&4❤"
Half Health Icon: "&c❤"
Empty Health Icon: "&7❤"

junior musk
#

I've asked him, I'll let you know if he answers

waxen shell
#

Thank you, thank you!, ping me if he does

#

Do you guys accept donations?, what a nice support

junior musk
#

I personally don't 🤷

#

maybe some others do

#

we're not realy coordinated, we help on our free time

#

and when we know what we're doing 😅

waxen shell
#

Ohh, I am so grateful, thank you so much 😭

#

Maybe Graycat does, idk xdd

flint pike
#

Hello people, I have a problem, I recently updated my server to 1.19.4 (was previously on 1.18.2) along with PlaceholderAPI to its most recent version.

My server runs Skript and Featherboard (Latest versions), I have downloaded the expansion for skript however it doesn't seem to be working. I can see it hasn't been updated in a long time so im wondering if im maybe forgetting to do something or if there is an updated version elsewhere?

waxen shell
austere hawk
wise falcon
#

hello

#

i have probleme

waxen shell
crude cypress
#

I am parsing %world_isgamerule_keepInventory_world but it always gives me false no matter if I enable or disable gamerule. How can I do it?

waxen shell
waxen shell
waxen shell
#

Are you sure your world is called world?, also, you have to download the world expension first

crude cypress
waxen shell
crude cypress
waxen shell
#

Oh, then it might be more complex than i thought, i'm looking for support too qwp, sorry, i tried to help

crude cypress
#

No problem, thank you very much anyway, let's see if it can be solved.

smoky egret
#

Hello does anyone know what this means? well, i do - but why?

[19:47:25 INFO]: [TAB] [WARN] Placeholder %luckperms_prefix% took 106ms to return value for player moonstah

this spams all day everyday with different ms returns. my server isn't laggy and sits at 19.99 tps all day.

junior musk
#

does it happen frequentely or only when you reload TAB ?

#

and can you send the output of /tab cpu ?

smoky egret
#

very frequently

#
[19:47:08 INFO]: [Quests] DEBUG: Saving player 7b6cd067-a7a0-4665-9e5a-acecbac74cd5...
[19:47:08 INFO]: [Quests] DEBUG: Quest progress file saved for player 7b6cd067-a7a0-4665-9e5a-acecbac74cd5.
[19:47:25 INFO]: [TAB] [WARN] Placeholder %luckperms_prefix% took 106ms to return value for player moonstah
[19:57:07 INFO]: BankPlus [INFO] All player balances have been saved!
[19:57:08 INFO]: [Quests] DEBUG: Saving player 7b6cd067-a7a0-4665-9e5a-acecbac74cd5...
[19:57:08 INFO]: [Quests] DEBUG: Quest progress file saved for player 7b6cd067-a7a0-4665-9e5a-acecbac74cd5.
[20:02:54 INFO]: [TAB] [WARN] Placeholder %vault-suffix% took 205ms to return value for player moonstah
[20:07:07 INFO]: BankPlus [INFO] All player balances have been saved!
[20:07:08 INFO]: [Quests] DEBUG: Saving player 7b6cd067-a7a0-4665-9e5a-acecbac74cd5...
[20:07:08 INFO]: [Quests] DEBUG: Quest progress file saved for player 7b6cd067-a7a0-4665-9e5a-acecbac74cd5.
[20:07:30 INFO]: [TAB] [WARN] Placeholder %luckperms_prefix% took 107ms to return value for player moonstah
[20:12:08 INFO]: [CHAT GAMES] A(n) FISH chat game has started in the server!
[20:15:23 INFO]: [TAB] [WARN] Placeholder %vault-suffix% took 177ms to return value for player moonstah
[20:17:07 INFO]: BankPlus [INFO] All player balances have been saved!
[20:17:08 INFO]: [Quests] DEBUG: Saving player 7b6cd067-a7a0-4665-9e5a-acecbac74cd5...
[20:17:08 INFO]: [Quests] DEBUG: Quest progress file saved for player 7b6cd067-a7a0-4665-9e5a-acecbac74cd5.
[20:22:14 INFO]: [TAB] [WARN] Placeholder %luckperms_prefix% took 118ms to return value for player moonstah
[20:27:07 INFO]: BankPlus [INFO] All player balances have been saved!
[20:27:08 INFO]: [Quests] DEBUG: Saving player 7b6cd067-a7a0-4665-9e5a-acecbac74cd5...
[20:27:08 INFO]: [Quests] DEBUG: Quest progress file saved for player 7b6cd067-a7a0-4665-9e5a-acecbac74cd5.
[20:27:18 INFO]: [TAB] [WARN] Placeholder %vault-suffix% took 99ms to return value for player moonstah```
#

sure one moment.

junior musk
#

uh

#

how many players online?

smoky egret
#

0

#

its in development.

junior musk
#

wot

smoky egret
junior musk
#

that's weird

#

what's your TAB version?

smoky egret
#

4.0.4-snapshot

junior musk
#

uh

#

try to ask on the official support server

smoky egret
#

for tab?

junior musk
#

if you bought the plugin

#

yeah

smoky egret
#

he said wasn't anythin to do with him

#

i went there first

junior musk
#

oh right, I just saw the ticket

smoky egret
#

he sort of thought my server is overloaded, but after several 30 minute spark reports, im not seeing anything that will cause simple placeholders to cause so long to respond

junior musk
#

I'm not sure either

#

did you try to do /tab cpu when you get the console msg?

smoky egret
#

errr i can do and try run the command at the same time

#

yeah literally just happened, all green

#

why is this a tab issue and not papi?

junior musk
#

=/

#

I have no idea

smoky egret
#

😔

austere hawk
tender vaporBOT
mint fable
#

On the host can you access it

austere hawk
mint fable
#

Is it a dedi or just a Minecraft server

#

And have you looked into the other option of not being able to obtain the users ip

austere hawk
mint fable
#

Probably just a Minecraft server then

austere hawk
#

So if the hosting does not block anything, what is it?

mint fable
#

idk

#

send your startup log

tender vaporBOT
#
FAQ Answer:

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

austere hawk
#

The server starts in offline mode due to a problem with xcord in the proxy at the moment

mint fable
#

just to make sure, your host said they are not blocking your access to ipapi.co, correct?

mint fable
#

let's see

#

few minutes

austere hawk
#

Inside PlaceholderAPI?

mint fable
#

plugins/placeholderapi/expansions

#

delete the other one

austere hawk
#

Ok, there is a weight difference between the files so they are not identical

mint fable
#

i mean, yeah

#

I just made this

austere hawk
#

I try and send logs

#

The hosting sent me this

#

Well I can't send the image but it pings ipapi.co

tender vaporBOT
mint fable
#

ah hmm

crisp crystal
#

How do you do with the math placeholder extension if you already have a placeholder with {brackets} in it??

austere hawk
shell dagger
#

Does anyone know what expansion is the placeholders %player_x%, %player_y%, %player_world_time_24%

shell dagger
mint fable
#

To me, it looks like it shouldn't be running into the issue of making too many requests (which is what is happening)

austere hawk
#

Do I make an issue on Github for the devs to fix?

mint fable
#

that would be best, so we can track it

#

although

#

it already exists

#

kinda forgot those were a thing

austere hawk
#

oh

mint fable
#

i have no idea how limiting stuff works

#

it says you're reaching the quota, but you're not making more than 30000 requests/month yourself

austere hawk
#

I don't know

mint fable
#

you could do what unturned did and try to request a trial api key

#

they said it wouldn't be a permanent solution, I'm not sure how the trial keys work

#

they might cut you off after a certain amount of time or something

junior musk
#

got an idea regarding how the expansion could be fixed, instead of retrieving the current time of that timezone, you get the difference with UTC and cache it in a file, then when a player joins, you check if the timezone has already been cached, if yes you retrieve the difference and add/substract it to the current time and display it, otherwise you make the html request and cache the diff, that way you only do it 1 time for each zone and only when you need it

austere hawk
#

seems to be a good idea

junior musk
#

or we could manually input all of the timezones into a txt or YAML file if anyone's bored enough xD

austere hawk
#

xd

austere hawk
vivid sparrow
junior musk
#

🤷maybe, but then it would still be a good idea to store the info retrieved from the API in a file to avoid having to make another request again for each time zone after restarting your server and a players from different timezones join

vivid sparrow
#

yeah I just thought about that

austere hawk
junior musk
#

idk, maybe, I hope xD

modern hornet
#

hello! I need help with javascript, the fact is that I have a ping of 100-120 on my server and I need to fix the case with a fake ping. that is, could you tell me how to make a code in which the ping number will be minus 50 and sent to the scoreboard, via %JavaScript_ping%.

dry temple
#

what are the placeholders for the people in /baltop?

modern hornet
golden cloud
#

Hi! I was trying to figure out progress expansion. I wanted to have it progress to my the current playerhealth to thr max health of player. Is that possible?

junior musk
hoary skiff
#

how to make enchanted materials in deluxemenus?

tender vaporBOT
#
Help Menu:

Various Commands for Barry.

󠀠󠀠󠀠/Help General

• General Bot/Guild Commands

/Help Misc

• Miscellaneous Commands

/Help Level

• XP and Level Commands

/Chatreaction Help

• ChatReaction Help

#
FAQ Answer:

How to add a glowing effect to an item:

# First, you enchant the item with any enchantment
enchantments:
- DURABILITY;1 # ENCHANTMENT;level
# Then, you have to hide the enchant name from showing
hide_enchantments: true```
austere hawk
wind shadow
#

Hi all. I got this error when im trying to add a view rfequirement in my deluxemenus menu

tender vaporBOT
wind shadow
#

o sorry barry

#

was just trying to compliment you

#

thanks barry!

#

O, im running java 17.

#

Also, now all my menus dont work anymore.

#

Anyone who knows what could be the issue?

warm topaz
#

update to a dev build, as barrys message says

wind shadow
#

had to regenerate the config files it seems like

austere hawk
tender vaporBOT
balmy marten
#

Sure let me take a look

balmy marten
austere hawk
#

oops my bad

balmy marten
modern hornet
#

heeelp

#

please)

vagrant charm
#

Looking to split up a placeholder. I'm using craftingstore_donator_1, which, for example, outputs 'OhSoGamer: 9.99'

Is there a way to split this on the colon (:) so I just get 'OhSoGamer'

jovial tusk
#

Im trying to use the math expansion but I can't get it to work, this is my placeholder: %math_{ecobits_rankupvar}x1.2%. Am i doing it right?

junior musk
#

use * for multiplication

jovial tusk
#

Thanks

modern hornet
#

niiice

#

What's the issue? I've loaded a dependency in Maven, but the import isn't working in the plugin

#
        <dependency>
            <groupId>me.clip</groupId>
            <artifactId>placeholderapi</artifactId>
            <version>2.9.2</version>
            <scope>provided</scope>
        </dependency>
#
        <repository>
            <id>placeholderapi</id>
            <url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
        </repository>
#

import me.clip.placeholderapi.expansion.PlaceholderExpansion; == eror

junior musk
#

2.9.2 is quite old, try with 2.11.3

modern hornet
#

me need 2.9.2

junior musk
#

why?

modern hornet
#

I'm having issues with placeholders on higher versions

junior musk
#

well alright

#

I'm not sure what's wrong with your current setup, haven't used maven in a while

#

you'll have to wait for someone else

modern hornet
#

okay

jovial tusk
#

Now im trying to use Formatter but I can't figure it out, this is what i got: %formatter_number_round_%math_{ecobits_rankupvar}*2.5%%

junior musk
#

use {} instead of %% for placeholders inside other placeholders

jovial tusk
#

ah ok, thanks

jovial tusk
#

wait i messed it up

junior musk
#

oh right

#

placeholders usually support 1 level of nested placeholders

#

so this won't work

#

but you can use the Utils expansion to fix that

#

/papi ecloud download Utils
/papi reload
%utils_parse_formatter_number_round_{math_{ecobits_rankupvar}*2.5}%

jovial tusk
#

It works, thanks

modern hornet
junior musk
#

what was the issue?

modern hornet
#

What's the problem? My data isn't showing up in the boss bar.

#
private String barText = "§3T: §6%server_tps% §7| §3UT: §6%server_uptime% §7| §3R: §6%server_ram_total%§7/§6%server_ram_max%";
junior musk
#

what's showing in game?

#

does it show %server_tps% instead of the number?

#

or do you get an error?

#

and can you send the rest of your code?

modern hornet
#

oh

modern hornet
#

"§3T: §6%server_tps% §7| §3UT: §6%server_uptime% §7| §3R: §6%server_ram_total%§7/§6%server_ram_max%"

junior musk
#

send your code where you send the bossbar

modern hornet
#

second

#

The code is not mine, by the way.

modern hornet
#

hm

#

yeaa

#

thank you

#

❤️

clear oxide
#

is it possible to add decimals to %vault_eco_balance%?

junior musk
#

I think it should already show decimals

clear oxide
#

only shows like the cent decimal but not the other ones

junior musk
#

right, that placeholder only shows 2 max

#

if you want more decimals, you can use %vault_eco_balance_<number>dp%

clear oxide
clear oxide
#

wait let me dm you an image so you can understand

austere hawk
#

They still don't fix the localtime expansion?

echo tree
#

I have a question! Is there anyway to make a timer on your scoreboard that for example count down from 10 minutes to 0 then it resets and loop?

lusty raven
#

am Having issue where Papi is not Registering Expansion from Jar files.

foggy gorge
#

what keyall expansions?

mint fable
#

things take time

modern hill
#

someone help me pls

#

the placeholder not working for deluxetags

#

im using essentials chat

frozen canopy
#

right_click_requirement:
requirements:
tokens:
type: javascript
expression: '%beasttokens_tokens% >= 200'
deny_commands:

'[message] &7[&aSun&eCraft&7] &cHey, no tienes los Tokens suficientes.'

Because it does not work? I need help please.

autumn rose
#

Hey guys, I know this question have been asked a lot but I couldn't find the solution. How can I download vault from the e-cloud, it does not work

junior musk
#

/papi ecloud download Vault
/papi reload
If after that it doesn't show up in /papi list, check the console for errors
If you don't get any errors, make sure you have Vault installed
If you have Vault installed, check if you have an economy plugin and that it is hooked into Vault (you can check with /vault-info)

autumn rose
#

Oh, thank you so much