#placeholder-api

1 messages · Page 52 of 1

steep arch
#

same lol

steep arch
mortal sigil
#

Thank you very much for your reply, i'll go and try that out 🙂

steep arch
#

sob

cedar spear
#

hey man that playerlist works great, but is there a way to make the same thing return numbers instead? like instead of name, name, name it returns 0, 1 ,2 ,3 meaning %playerlist_myCustomList_0% returns 0, cant get my head around it with formatter

junior musk
#

you want the indexes instead of the values?

steep arch
#

🙏

#

good sir

cedar spear
# junior musk you want the indexes instead of the values?

yup, since i need to set values to certain slots in a gui, already made a variable but to change everything in one GUI , i need to make a number identifier hence why i said %playerlist_myCustomList_0% returns 0 instead of the first name in the list

junior musk
#

why not just use 0?

cedar spear
#

i need to move variables through gui to gui, using the names isnt a great idea

junior musk
#

doesn't explain why you can't just use 0

#

if you can use %playerlist_myCustomList_0% then you can just use 0 as well

#

in both cases, the number's there

cedar spear
#

honestly that gave me an idea , not the way u said it but let me see

junior musk
#

I just don't get it xD

#

you want to get 0 from 0

#

just use 0 then xD

#

no need for an extra placeholder to just return the argument you provided

steep arch
#

bump

junior musk
#

yeah I'm still at work

steep arch
#

oh k

vivid sparrow
#

How dare you @junior musk

junior musk
#

yeah how dare I

#

I should be ashamed of myself

#

in fact, I am

#

I should be stuck at home in the same room for years to help users on Discord until I die

#

what am I saying? I shall keep doing so even past the mortal realm!

vivid sparrow
steep arch
#

indeed!

#

@Tanguygab

#

real ping

junior musk
#

Psudo is outdated ;-;

steep arch
#

stares

#

got other solutions? =3

junior musk
#

not really

steep arch
#

aw

#

appreciate your help

junior musk
#

I've been trying to find how to fix it for the past 30 minutes

#

I have no idea where the changes were made in NMS

marsh spire
#

I have a placeholder that gives me the time in this form 1h 20min 5s for example, how could I convert that to only seconds ? it does not necessarily have to be the “s” at the end, leaving the format for example in 3600s or 3600.

#

Is there a placeholder that does it ?

marsh spire
#

difference between %player_seconds_lived% and %statistic_seconds_played% ? I would say they are the same but there is a difference of a few seconds, also the player_seconds_lived so I die I do not restart pos is not as I thought it would be the time “lived” until I die clear

austere hawk
#

hello

#

guys i need help

junior musk
#

if you want the amount of time since the last death, there's %statistic_time_since_death%

somber marten
#

Is it possible to add a server-total placeholder to essentials placeholders?

#

Its the placeholder from the baltop but then the server total.

fringe surge
#

Replacement for "%statistic_player_kills%"?

vivid sparrow
#

why?

fringe surge
#

shows "Unknown statistic for'player_kills' check at "sitename" for more info"

vivid sparrow
#

%statistic_player_kills% should work just fine

fringe surge
vivid sparrow
#

I know the error

fringe surge
#

alr

slate thunder
#

Can the /papi bcparse command also output the placeholders for offline players? If not, how can I output them?

junior musk
#

it does as long as the placeholders you use support offline players

cinder orchid
#

Good morning

this attribute does not work in 1.21.3

%attribute_player_defaultValue_<attribute>%
vivid sparrow
#

do you get any errors?

cinder orchid
tender vaporBOT
cinder orchid
junior musk
#

the expansion needs an update for newer Spigot versions

#

if I find the time tomorrow, I'll try to do it

cinder orchid
#

okay

cursive ermine
#

There is a placfile %player_item_in_hand% that will show the name of the item in the users name. Unfortunately it formats it for example, JUNGLE_LOG. Is there a placefile that properly formats it I.E. Jungle Log?

marsh spire
neat mason
#

Guys when I try to login in my discord account they I see a problem 'new login detected please check your email' and i removed that email from my account and i don't remember the password what should I do?

tender vaporBOT
clever idol
#

hi is there deluxemenus support here

true grail
#

Is there some feature/function or something that allows the text to be visible on every scale without it extending beyond the edges?
~deluxemenus

halcyon spindle
junior musk
#

PlaceholderAPI and ProtocolLib aren't BungeeCord plugins

#

you have to use them on your backend servers

vivid sparrow
pearl cliff
#

Hello, I would like to ask, how do I make multiple identifiers when creating placeholders. I already figured out how to make simple placeholder using one placeholder, but I need at least 2. I need create something like this %plugin_param1_param2%

vivid sparrow
#

the string argument of the onRequest method will give you the entire argument of the placeholder, which in your case would be param1_param. It is up to each expansion to parse the argument. The most common way is to split it by _ and treat each part as a parameter. We don't enforce any format really.

opal panther
#

I seem to be having an issue with my placeholder registering

#

onPlaceholderrequest never seems to get called?

#

the class is initalized though.

package org.connersmods.vmcore.Medals;

import me.clip.placeholderapi.expansion.PlaceholderExpansion;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
import org.connersmods.vmcore.Vmcore;

import java.util.List;

public class MedalPlaceholder extends PlaceholderExpansion {

    private final Vmcore plugin;

    public MedalPlaceholder(Vmcore plugin) {
        this.plugin = plugin;
        System.out.println("MedalPlaceholder initialized.");
    }

    @Override
    public String getIdentifier() {
        return "vmcore_medals"; // This MUST match your placeholder prefix
    }

    @Override
    public String getAuthor() {
        return plugin.getDescription().getAuthors().toString();
    }

    @Override
    public String getVersion() {
        return plugin.getDescription().getVersion();
    }

    @Override
    public boolean persist() {
        return true; // Ensures the placeholder remains loaded
    }

    @Override
    public String onPlaceholderRequest(Player player, String params) {  q
        System.out.println("[DEBUG] Placeholder requested: " + params);

        if (player == null) {
            System.out.println("[DEBUG] Player is null");
            return "";
        }

        List<String> active = plugin.getMedalsConfig().getStringList("players." + player.getUniqueId() + ".active");
        System.out.println("[DEBUG] Active medals for player: " + active);

        try {
            int index = Integer.parseInt(params) - 1;
            if (index >= 0 && index < active.size()) {
                String medalId = active.get(index);
                String medalDisplay = plugin.getMedalsConfig().getString("medals." + medalId + ".display");
                System.out.println("[DEBUG] Medal display resolved: " + medalDisplay);
                return ChatColor.translateAlternateColorCodes('&', medalDisplay);
            } else {
                System.out.println("[DEBUG] Index out of range: " + index);
            }
        } catch (NumberFormatException e) {
            System.out.println("[DEBUG] Invalid placeholder format: " + params);
        }

        return "";
    }
}

command:
/papi parse gameminds %vmcore_medals_1%

opal panther
#

Please someone hold me hand 😢

#

waitttt a second

vivid sparrow
#

do you call new MedalPlaceholder().register()? Also, your identifier can not contain _

opal panther
#

haha nevermind yeah

#

just figured that out

#

Yes i did i was just confused then i took out the underscore and bam lol

#

appreciate it

main quiver
#

I need help with an error that is happening with the PLACEHOLDER API, and at first I thought it was an error with another plugin, but I have already contacted support for that plugin and they also didn't detect anything and said that it is probably something PLACEHOLDER API plugin error, so I wanted to see if you could help me!

The plugin allows you to interact by sending the time in the chat, but whenever it runs, instead of informing you correctly, it sends it as it is in the chat, the support for this plugin said that I would have to use the PAPI Server Expansion, but I am already using the latest version of PAPI Server Expansion, and it is still giving this error, the screenshots below are the error happening on the server and in the console

Link of chat: https://prnt.sc/rbyVtu9uYAeB
Link of Console: https://prnt.sc/NfHoO3zyoOR3

junior musk
#

you're using the server_countdown placeholder?

#

you need to specify hours minutes & seconds alongside year month & day

main quiver
#

i guess no, how can i see?

junior musk
#

uh

#

send your chat plugin's config

main quiver
#

lol

junior musk
#

?

main quiver
# junior musk send your chat plugin's config

check_updates: true
cloud_enabled: true
cloud_sorting: name
boolean:
'true': 'yes'
'false': 'no'
date_format: MM/dd/yy HH:mm:ss
debug: false
expansions:
vault:
formatting:
thousands: k
millions: M
billions: B
trillions: T
quadrillions: Q
player:
ping_value:
high: 100
medium: 50
direction:
north: N
south: S
north_west: NW
north_east: NE
east: E
south_east: SE
west: W
south_west: SW
ping_color:
medium: '&e'
high: '&c'
low: '&a'
server:
server_name: A Minecraft Server
time:
locale: pt-PT
zone: Europe/Lisbon
suffix:
week: w
day: d
hour: h
minute: m
second: s
tps_color:
high: '&a'
medium: '&e'
low: '&c'

junior musk
#

oh god

#

?paste

tender vaporBOT
junior musk
#

and that's PAPI, I asked for your chat plugin's config

main quiver
#

ohhhh

junior musk
#

why'd you resend it with a ping

main quiver
#

sry

junior musk
#

couldn't find it in there, I think it might be from InteractiveChat's config instead, can you send it?

main quiver
#

yah

junior musk
#

so the error seems to come from %server_time_dd/MM/yyyy HH:mm:ss zzz% line 525, though I've just tried that exact placeholder and it works fine for me o_O

#

nevermind

#

I was on an older version of the expansion

#

now it's broken

#

awesome

#

you should be able to fix it by just removing zzz at the end of the placeholder

#

so just %server_time_dd/MM/yyyy HH:mm:ss%

#

that worked for me

#

no idea why it doesn't work anymore though

main quiver
#

Like that? ReplaceText: '%server_time_dd/MM/yyyy HH:mm:ss%'

junior musk
#

yeah

main quiver
#

i will try

#

Aeee, it works, tkx

desert depot
#

For some reason, vault placeholder isn't working. No idea why. Server version: paper 1.21.1

#

I do the norm /papi ecloud download Vault

#

/papi reload

#

But still nothing

junior musk
#

do you have the plugin as well?

desert depot
#

ohh sorry tag

junior musk
#

that doesn't answer my question

cinder orchid
#

Hello, the placeholders of the attributes no longer work in 1.21.3

junior musk
#

oh right, I forgot to check that

#

I'll do that right now

junior musk
#

put it in your /plugins/PlaceholderAPI/expansions/ folder

cinder orchid
#

nop

cinder orchid
cinder orchid
#
  range:
    material: piston
    amount: 1
    slot: 10
    display_name: '&8&l> &aRange'
    lore:
      - '&a&l| Informations'
      - '&a&l| &r&7Base: &b%attribute_player_defaultValue_block_interaction_range%'
      - '&a&l| &r&7Actuel: &b%attribute_player_value_block_interaction_range%'

Is this how it is used?

junior musk
#

try this

cinder orchid
junior musk
cinder orchid
#

I can't send a picture :/

tender vaporBOT
cinder orchid
junior musk
junior musk
#

are you sure you replaced the jar correctly?

cinder orchid
#

and i have /papi reload

junior musk
#

try restarting the server

#

and send /papi dump

cinder orchid
#

ah good

#

thx

tropic obsidian
#

the vault expansion is not working correctly i am using 1.21.3 pape, anyone have the same problem?

junior musk
#

do you have the Vault plugin as well?

tropic obsidian
junior musk
#

do you have an economy plugin?

#

or can you send the link you get from /papi dump?

junior musk
#

the expansion is loaded

#

what's the issue?

tropic obsidian
junior musk
#

send a screenshot

tropic obsidian
#

example

#

balance var vault no working

junior musk
#

send a screenshot of /vault-info

#

I believe you're missing an economy plugin

tropic obsidian
#

ohh

junior musk
tropic obsidian
#

is true

#

which one can I use?

junior musk
#

any that supports Vault

#

If you want a simple one, you could use CoinsEngine made by the same devs that made SunLight which you're using as well

#

otherwise, I know TheNewEconomy is good as well

tropic obsidian
#

ok great thanks

keen mica
#

Is there a placeholder to check if a username has joined the server before

sterile socket
#

hello guys, i have a question, how can i return a color in placeholder expansion?

cunning charm
coral ibex
copper grail
bronze folio
#

Hello i have this problem when i start my server

#

[14:11:24 ERROR]: Could not load 'plugins/PlaceholderAPI-2.11.6 (3).jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:157) ~[MolorioSpigot.jar:git-Molorio-8ca6f81]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:414) ~[MolorioSpigot.jar:git-Molorio-8ca6f81]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:322) ~[MolorioSpigot.jar:git-Molorio-8ca6f81]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.loadPlugins(CraftServer.java:351) ~[MolorioSpigot.jar:git-Molorio-8ca6f81]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:198) ~[MolorioSpigot.jar:git-Molorio-8ca6f81]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1067) ~[MolorioSpigot.jar:git-Molorio-8ca6f81]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:292) ~[MolorioSpigot.jar:git-Molorio-8ca6f81]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
Caused by: java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method) ~[?:?]
at java.lang.Class.forName(Class.java:467) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:82) ~[MolorioSpigot.jar:git-Molorio-8ca6f81]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:153) ~[MolorioSpigot.jar:git-Molorio-8ca6f81]
... 7 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 2 out of bounds for length 1
at me.clip.placeholderapi.PlaceholderAPIPlugin.<clinit>(PlaceholderAPIPlugin.java:67) ~[?:?]
at java.lang.Class.forName0(Native Method) ~[?:?]
at java.lang.Class.forName(Class.java:467) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:82) ~[MolorioSpigot.jar:git-Molorio-8ca6f81]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:153) ~[MolorioSpigot.jar:git-Molorio-8ca6f81]
... 7 more

meager forge
#

Hi! Server papi expansion takes me way to the future since today, as it shows date as 2025-12-29 😄
When I check time with date in Debian, it shows correct year. What can be the cause for this?
%server_time_YYYY-MM-dd%

vivid sparrow
#

Try lower case y @meager forge

pale stump
slim rune
#

is there a problem with statistic player kills?

#

[23:45:50 INFO]: Returned: Unknown statistic 'player_kills' check https://helpch.at/docs/1.21.1/org/bukkit/Statistic.html for more info
[23:45:50 INFO]: The placeholder 'statistic_player_kills' does not give a numerical value. Make sure that the placeholder returns a number that is not formatted.

tidal basin
#

Can anyone help me, when I put the placeholder dependency in my plugin this appears:

[WARNING] Failed to download maven-metadata-placeholderapi.xml [https://repo.extendedclip.com/releases/]
[WARNING] Failed to download maven-metadata-placeholderapi.xml [https://repo.extendedclip.com/releases/]
lavish leaf
#

With CMI's placeholder %cmi.user.homelist% I get a list of the homes I have set.. Is there a way I can display only one of the homes in a text? Like display output value 2 in a placeholder? 🙂

dreamy hornet
#

Hey in the lobby plugin im coding for my network, i installed the bungeecord ecloud thing. Though it doesnt replace %bungee_total%.
I also added the dependency and repo to my pom.xml and updated plugin.yml

rapid ore
#

Is the plugin down?

carmine veldt
rapid ore
#

ok sorry

toxic mist
#

if i do /papi parse <player_name> %player_name% and it doesnt send me my name does that mean API aint working correctly?

golden trench
#

Is there a placeholder that will go above what %vault_eco_balance_formatted% will format to? if i remember correctly, it stops formatting after a certain point right?
(just tested it, the limit is $9223Q. It also never formats to Qt at any point)

Tbh I dont really need one, players will have a hard time reaching $1Q with the current balancing of my server let alone doing it 1000 times so its fine, just curious for the future though

native hatch
#

Can someone help me with an error with essentials and placeholder api?
It's not showing baltop and papi at all for some reason
I do this /papi parse me %essentials_baltop_player_1% and it comes back with %essentials_baltop_player_1% instead of a name
That and when I do /baltop it refuses to show me on baltop

half briar
native hatch
hot sorrel
#

hii

#

how do i know the functions available on javascript expansion

#

on PlaceholderAPI

sour jackal
#

[12:04:36 WARN]: [PlaceholderAPI] Failed to download expansion information
java.net.ConnectException: Connection timed out: connect
at sun.nio.ch.Net.connect0(Native Method) ~[?:?]
at sun.nio.ch.Net.connect(Net.java:589) ~[?:?]
at sun.nio.ch.Net.connect(Net.java:578) ~[?:?]
at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:583) ~[?:?]
at java.net.Socket.connect(Socket.java:751) ~[?:?]
at java.net.Socket.connect(Socket.java:686) ~[?:?]
at sun.net.NetworkClient.doConnect(NetworkClient.java:183) ~[?:?]

#

Hi, my server is 1.20.4 Purpur and it shows that the plugin cannot connect to the internet. I don't know how to operate it

balmy marten
#

Check with your host, as it needs to be able to reach http://api.extendedclip.com/v2

dense depot
#

hello?

#

I use Papi

private fun registerPlaceholderAPI() {
        if (server.pluginManager.isPluginEnabled("PlaceholderAPI")) {
            AutoPlantExpansion(autoPlantManagementService).register()
        }
    }

But when I use the papi reload command, the papi I registered disappears Is there any way to fix this?

#

oh i add it override fun persist(): Boolean = true

half briar
echo crater
#

Was there any update or solution?

junior musk
#

I tried to look into it though there's no easy way to add this

wanton zealot
#

I'm using Papi for my Minecraft server and installed the Statistic expansion, but the stats don't change when I die or kill someone. I also tried installing older versions of the Statistic expansion, but it still didn't work.

wanton zealot
#

@junior musk

viscid orbit
#

Hello guys, this one is not working %playtime_player%

#

any idea ?

sharp jay
sharp jay
viscid orbit
#

I didn't find the expansion playtime

#

only Playertime

#

and didn't work either

sharp jay
viscid orbit
#

i think i had to install plugin called PlayTime

sharp jay
#

Check on the plugin page

wanton zealot
sharp jay
tender vaporBOT
wanton zealot
#

When I change the level-name world in the .properties file on my server, the statistics change, but they still don't count.

wanton zealot
#

@sharp jay

tender vaporBOT
pearl kernel
#

someone help me i am running the newest version of papi and 1.20.4.

When i do /papi list it shows 17 but when reloading papi it says 15 and the 2 that are getting removed also get removed from the scoreboard and other places and i have to restart my server to fix this and it keeps happening any fix?

proper sluice
#

Is there any way to put a PAPI in a DisplayText?

junior musk
#

if you're using a plugin like FancyHologram to make the Display Entity, then yes

#

if you're spawning the entity with vanilla commands, then no

proper sluice
junior musk
#

PlaceholderAPI.setBracketPlaceholders

thorn orbit
#

So I want to add my placeholder for my team plugin to the ecloud off placeholder api but when I want to create a account it says that I need to get contact with staff?

balmy marten
#

We always recommend building the expansion into the plugin, the wiki explains how to achieve this

thorn orbit
# balmy marten We always recommend building the expansion into the plugin, the wiki explains ho...

Adding your own expansion¶
You can add your own expansion to the expansion-cloud for others to use.
In order to do that, you have to follow those steps:

Make sure you have created a seperate jar file as described in the Creating a PlaceholderExpansion page.
Create an account on the site, or log in, if you already have one.

^ it says create a account but on the ecloud website it says that I can't make a account?

thorn orbit
#

oh so it just should work if I have the placeholders in my plugin?

junior musk
#

yes

thorn orbit
#

Ah ok sorry

#

I made my placeholder but when I go ingame it doesn't work?

@Override
    public String onPlaceholderRequest(Player player, @NotNull String identifier) {
        if (player == null) {
            return "";
        }
        // Example placeholder: %easyteams_teamname%
        if (identifier.equals("%et_teamname%")) {
            return teamManager.getPlayerTeam(player.getUniqueId());
        } else if (identifier.equals("%et_teamcoins_balance%")) {
            int coins = teamManager.getPlayerTeamCoins(player.getUniqueId());
            return String.valueOf(coins);
        } else if (identifier.equals("%et_teamkills%")) {
            int kills = teamManager.getPlayerTeamKills(player.getUniqueId());
            return String.valueOf(kills);
        } else if (identifier.equals("%et_teamdeaths%")) {
            int deaths = teamManager.getPlayerTeamDeaths(player.getUniqueId());
            return String.valueOf(deaths);
        } else if (identifier.equals("%et_coin_multiplier%")) {
            return String.valueOf(teamManager.getCoinMultiplier());
        } else if (identifier.equals("%et_coin_event_active%")) {
            return Boolean.toString(teamManager.isCoinEventActive());
        }

        return null;
    }
new PlaceholderExpansion(this, teamManager).register();
junior musk
#

the String in onPlaceholderRequest is not the identifier but the params

#

syntax is %<identifier>_<params>%

#

therefore, you just have to check for teamname, teamcoins_balance, etc... not the entire placeholder

thorn orbit
#

so it is params.equalsIgnoreCase?

junior musk
#

identifier.equals("teamname")

#

you can use equalsIgnoreCase if you want, but that's not the issue here

thorn orbit
#

still doesn't work

junior musk
#

where did you use the placeholder?

#

and can you show the updated code ?

thorn orbit
#
    @Override
    public String onPlaceholderRequest(Player player, @NotNull String identifier) {
        if (player == null) {
            return "";
        }
        // Example placeholder: %easyteams_teamname%
        if (identifier.equals("et_teamname")) {
            return teamManager.getPlayerTeam(player.getUniqueId());
        } else if (identifier.equals("et_teamcoins_balance")) {
            int coins = teamManager.getPlayerTeamCoins(player.getUniqueId());
            return String.valueOf(coins);
        } else if (identifier.equals("et_teamkills")) {
            int kills = teamManager.getPlayerTeamKills(player.getUniqueId());
            return String.valueOf(kills);
        } else if (identifier.equals("et_teamdeaths")) {
            int deaths = teamManager.getPlayerTeamDeaths(player.getUniqueId());
            return String.valueOf(deaths);
        } else if (identifier.equals("et_coin_multiplier")) {
            return String.valueOf(teamManager.getCoinMultiplier());
        } else if (identifier.equals("et_coin_event_active")) {
            return Boolean.toString(teamManager.isCoinEventActive());
        }
vivid sparrow
#

What placeholder do you use in game?

#

I have a feeling that et is the identifier

thorn orbit
#

%et_teamname%

thorn orbit
vivid sparrow
#

Yeah, the "identifier" from onPlaceholderRequest (use onRequest) gives you what's after the first _, in your case teamname.

#

getIdentifier should return "et" or "easyteams"

thorn orbit
#

so I should use onRequest instead off onPlaceholderRequest

vivid sparrow
#

onRequest has String params, which can't be confused with the actual identifier of the expansion, unlike String identifier from onPlaceholderRequest

thorn orbit
#

nope

#

sitll not

junior musk
vivid sparrow
#

Wdym still not

#

Make sure the expansion is registered

thorn orbit
#

it is

vivid sparrow
#

new ExpansionClass().register()

thorn orbit
#
new PlaceholderExpansion(this, teamManager).register();
junior musk
#

send your expansion class again and a screenshot of the placeholder not working in game

#

?imgur

tender vaporBOT
thorn orbit
#

https://imgur.com/a/2wGJc6N

public class PlaceholderExpansion extends me.clip.placeholderapi.expansion.PlaceholderExpansion {
    private final EasyTeams plugin;
    private final TeamManager teamManager;

    public PlaceholderExpansion(EasyTeams plugin, TeamManager teamManager) {
        this.plugin = plugin;
        this.teamManager = teamManager;
    }

    @Override
    public @NotNull String getIdentifier() {
        return "easyteams";
    }

    @Override
    public @NotNull String getAuthor() {
        return "ClearedSpore";
    }

    @Override
    public @NotNull String getVersion() {
        return "1.0";
    }

    @Override
    public String onRequest(OfflinePlayer player, @NotNull String params) {
        if (player == null) {
            return "";
        }
        if (params.equals("teamname")) {
            return teamManager.getPlayerTeam(player.getUniqueId());
        } else if (params.equals("et_teamcoins_balance")) {
            int coins = teamManager.getPlayerTeamCoins(player.getUniqueId());
            return String.valueOf(coins);
        } else if (params.equals("et_teamkills")) {
            int kills = teamManager.getPlayerTeamKills(player.getUniqueId());
            return String.valueOf(kills);
        } else if (params.equals("et_teamdeaths")) {
            int deaths = teamManager.getPlayerTeamDeaths(player.getUniqueId());
            return String.valueOf(deaths);
        } else if (params.equals("et_coin_multiplier")) {
            return String.valueOf(teamManager.getCoinMultiplier());
        } else if (params.equals("et_coin_event_active")) {
            return Boolean.toString(teamManager.isCoinEventActive());
        }

        return null;
    }
}

junior musk
#

you're missing the identifier in the placeholder

#

%easyteams_teamname%

junior musk
#

which means this

thorn orbit
#

oh

junior musk
thorn orbit
#

https://imgur.com/a/5YYUf6P


    @Override
    public @NotNull String getIdentifier() {
        return "easyteams";
    }

    @Override
    public @NotNull String getAuthor() {
        return "ClearedSpore";
    }

    @Override
    public @NotNull String getVersion() {
        return "1.0";
    }

    @Override
    public String onRequest(OfflinePlayer player, @NotNull String params) {
        if (player == null) {
            return "";
        }
        if (params.equals("%easyteams_teamname%")) {
            return teamManager.getPlayerTeam(player.getUniqueId());
        } else if (params.equals("et_teamcoins_balance")) {
            int coins = teamManager.getPlayerTeamCoins(player.getUniqueId());
            return String.valueOf(coins);
        } else if (params.equals("et_teamkills")) {
            int kills = teamManager.getPlayerTeamKills(player.getUniqueId());
            return String.valueOf(kills);
        } else if (params.equals("et_teamdeaths")) {
            int deaths = teamManager.getPlayerTeamDeaths(player.getUniqueId());
            return String.valueOf(deaths);
        } else if (params.equals("et_coin_multiplier")) {
            return String.valueOf(teamManager.getCoinMultiplier());
        } else if (params.equals("et_coin_event_active")) {
            return Boolean.toString(teamManager.isCoinEventActive());
        }
junior musk
#

no

junior musk
#

this is correct

junior musk
#

wherever you want to display the placeholder

thorn orbit
#

yep works now thanks

lofty ice
#

I need help

tender vaporBOT
#

There is no time to wait! Ask your question @lofty ice!

lofty ice
#

Can someone join gen

#

Is for help

lofty ice
river fox
#

If i can 6 rows named %{_iname}%???

manic badge
#

is there any placeholder to parse nearest player OR parse players under x radius

hard jackal
#

Hi im using a placeholder that return a boost money multiplier. When i do "/papi parse me %mymultiplierbooster% this return me 3.0

But in my plugin when i use: `` PlaceholderAPI.setPlaceholders(player, placeholder));
this return me 1.0 How this cannot be the same ?

arctic ridge
#

hi, I'm confused with this:
%checkitem_<modifier1>,<modifier2>,<...>%
I try to check if player totem of undying in main hand or offhand. How itt should look like? I'm new in PAPI... Lemme try?
%checkitem_getinfo:offhand_minecraft:totem_of_undying%
^ I understand it correctly? And for mainhand should I just change offhand to mainhand?

junior musk
#

try this instead %checkitem_getinfo:offhand_mat:totem_of_undying%

#

wait actually

#

%checkitem_mat:totem_of_undying,inhand:main%
or %checkitem_mat:totem_of_undying,inhand:off%

#

getinfo would return the material name, whereas those 2 placeholders would return yes/no if the player is holding a totem of undying

arctic ridge
#

Ok, I'll try it later, thank you

manic badge
#

tried with math expansion and distance formula but it was getting complicated

cedar spear
#

is there there a way to setup a defined custom font like mini in placeholder api config then use it to convert a placeholder output font? without needing resourcepack

cedar spear
#

i know u can use utlis but for custom font, that i dont know

vivid sparrow
#

Try the string expansion

cedar spear
# vivid sparrow Try the string expansion

so basically ?

%utils_parse_{player_name}_{small-numbers_1}%

in string

  string:
    separator: _
    replacements:
      small-numbers:
        '0': ₀
        '1': ₁
        '2': ₂
        '3': ₃
        '4': ₄
        '5': ₅
        '6': ₆
        '7': ₇
        '8': ₈
        '9': ₉
vivid sparrow
#

No

#

%string_replaceCharacters_small-numbers_<number here>%

cedar spear
#

alright thanks

cedar spear
cedar spear
#

ops mb

vivid sparrow
#

does it work if you do /papi parse?

cedar spear
vivid sparrow
#

well then it should work in chat just fine

cedar spear
#

the problem is most of chats uses their own placeholder so i cant use it, but if its a placeholder from papi, i can

#

and i dont see any expansion that gives %player_chat% or something

vivid sparrow
#

if other papi placeholders work, this one should work as well.

cedar spear
#

for example i used a simple one to test which is lpc , i did %string_replaceCharacters_font_{message}% but in chat shows {message}, not the player message literary just {message}

vivid sparrow
#

probably because the plugin first replaces the papi placeholders, and then its own ({message} in this case)

cedar spear
#

oof, it works for others just not chat, is there any other way you would know

vivid sparrow
#

nope, sry

verbal ember
#

?dm-pixelmon

tender vaporBOT
olive tiger
#

hello, why is the name not recognized as view requirement?

has_suspicious_snowball: type: "string equals" input: "%checkitem_mat:SNOWBALL,nameequals:&#3F7EB3Suspicious Snowball,amt:20%" output: "yes"

manic badge
olive tiger
manic badge
#

probably you missed something

#

could you share your full code

olive tiger
#

thanks btw.

manic badge
#

👍

marsh hearth
#

Hi, anyone knows why the Pinger expansion doesn't "work"?
I'm trying to get the MOTD from another server but the response is empty and return the status to offline even after the request.
/papi parse me %pinger_isonline_hypixel.net%

dim forge
#

HI are we able to reset a placeholders value please like i want to reset all data from statistic players kills please ?

marsh hearth
#

If you're tracking Minecraft Stats, then you should delete the stats on the world.
In case of stats from a plugins like Skywars for example, that data should be saved on some kind of internal storage of the plugin itself.

#

PAPI only reads the data inside of that storage

eternal flare
#

Hello

#

lore: - "&7&m-----------------------------" - "&f» &eRang : &d%vault_rank%" - "&f» &eArgent : &a%vault_eco_balance_formatted%" - "&f» &eCrédit : &6%player_points%" - "&7&m-----------------------------" - "&6Créditez votre compte : &e/site"

#

Why does it not change on Minecraft and it stays like that?

sleek sinew
#

Would anyone happen to know why my chat is not working after i updated to 1.21.3? 06.01 17:28:09 [Server] INFO {deluxetag_tag} {displayname} > omg

I had essentials and chatmanager before I just updated them to newer verisons.

rustic cedar
#

I need to register on extendedclip.com to upload my plugin expansion to the site, how do I do that?

Because when I try to register I get a message: Registration is currently locked. If you feel it is necessary to create an account, please join our discord and get in touch with us.

balmy marten
rustic cedar
balmy marten
#

All good

balmy marten
#

Ironic that our own domain isin't whitelisted

fast spoke
#

Hello, WorldBorder ecloud seems not to be working. I'm not sure how to get the world border size without it.....

fallow spindle
#
java.time.format.DateTimeParseException: Text '01.25.2025' could not be parsed: Unable to obtain LocalDateTime from TemporalAccessor: {},ISO resolved to 2025-01-25 of type java.time.format.Parsed
        at java.base/java.time.format.DateTimeFormatter.createError(DateTimeFormatter.java:2079) ~[?:?]
        at java.base/java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:2014) ~[?:?]
        at java.base/java.time.LocalDateTime.parse(LocalDateTime.java:494) ~[?:?]
        at at.helpch.placeholderapi.expansion.server.util.TimeFormatter.calculateTimeBetween(TimeFormatter.java:150) ~[?:?]
        at at.helpch.placeholderapi.expansion.server.ServerExpansion.onRequest(ServerExpansion.java:239) ~[?:?]```
#

The error msg is longer but cant send it all, the command I'm trying is /papi parse --null %server_countdown_MM.dd.yyyy_01.25.2025%. In game it returns invalid date, not sure why

vivid sparrow
#

add HH:mm (hour and minutes) to the format and 00:00 to the value @fallow spindle

keen citrus
#

Hello, I am not really sure what happened, but my placeholders aren't loading properly. My server is hosted on a dedicated server using the latest Paper 1.21.1 build. I typically restart my server using pterodactyl, but I restarted my actual dedicated server for the first time in around a month today and after the server loaded back up, I noticed that none of my placeholders were loading. When I type /papi reload, some of the placeholders begin to work again, but after a restart none of them load.

#
[09:46:39 INFO]: [PlaceholderAPI] Fetching available expansion information...
[09:46:42 INFO]: Flecksing issued server command: /papi reload
[09:46:42 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[09:46:42 INFO]: [PlaceholderAPI] Fetching available expansion information...
[09:46:43 INFO]: [PlaceholderAPI] Successfully registered external expansion: player [2.0.8]
[09:46:43 INFO]: [BuycraftAPI] Tebex found! Using it...
[09:46:43 INFO]: [PlaceholderAPI] Successfully registered external expansion: buycraftAPI [4.7.0]
[09:46:43 INFO]: [BuycraftAPI] Loading API Tasks...
[09:46:43 INFO]: [BuycraftAPI] Successfully hooked into Vault for BuyCraftAPI v4.7.0
[09:46:43 INFO]: [PlaceholderAPI] Successfully registered external expansion: essentials [1.5.2]
[09:46:43 INFO]: [PlaceholderAPI] Successfully registered external expansion: vault [1.8.3]
[09:46:43 INFO]: [PlaceholderAPI] Successfully registered external expansion: statistic [2.0.1]
[09:46:43 INFO]: [PlaceholderAPI] Successfully registered external expansion: kdratio [1.1.0]
[09:46:43 WARN]: [PlaceholderAPI] Failed to load external expansion votingplugin. Identifier is already in use.
[09:46:43 WARN]: [PlaceholderAPI] Cannot load expansion votingplugin due to an unknown issue.
[09:46:43 INFO]: [PlaceholderAPI] Successfully registered external expansion: rng [1.4.0]
[09:46:43 INFO]: [PlaceholderAPI] Successfully registered external expansion: griefprevention [1.7.0]
[09:46:43 INFO]: [PlaceholderAPI] Successfully registered external expansion: luckperms [5.4-R2]
[09:46:43 INFO]: [PlaceholderAPI] Successfully registered external expansion: imgfix [1.0.0]
[09:46:43 WARN]: [PlaceholderAPI] Failed to load external expansion gradient. Identifier is already in use.
[09:46:43 WARN]: [PlaceholderAPI] Cannot load expansion gradient due to an unknown issue.
[09:46:43 INFO]: [PlaceholderAPI] Successfully registered external expansion: math [2.0.2]```
warm topaz
spring sundial
#

what should i do in papi, my issue is: i need to use a variable that includes a %, so if i use that variable it just ends at the %, so what do i do

#

the variable is level%player%

#

from skript

vivid sparrow
#

I think there is a skript expansion that does smth like level::player

junior musk
spring sundial
junior musk
#

only when using the PAPI placeholder

spring sundial
#

didn't work

junior musk
junior musk
#

?imgur

tender vaporBOT
junior musk
#

and the link you get from /papi dump

spring sundial
#

it just doesnt display

#

no errors

#

the variable just doesnt connect

#

it displays N/A

junior musk
#

then your level variable doesn't exist/doesn't have any value for that player

spring sundial
#

it does exist and does have a value

junior musk
#

or maybe you just don't need the ::

spring sundial
junior musk
#

idk how you configured it exactly

#

how do you set it in skript?

spring sundial
#

still no

#

ill send the variable of skript and the one im usinhg

junior musk
#

that should work thonking

#

what if you try with your username instead of {player}?

spring sundial
#

i can try but the server is multiplayer

#

ye still doesnt work

#

may be a problem with my variable

#

ye

#

changed the variable still not working

junior musk
#

does it work when you try to show it within Skript?

spring sundial
#

yes

spring sundial
junior musk
#

idk, I'm in the train right now

candid jay
#

/papi bcparse _GodlyReaper_ %checkitem_amount:1_remove_namecontains:Hoe Fragment%
I'm running this command and it just returns "yes"

#

it doesn't remove the item, I already enabled the remove and give in config

#

oop read someone elses and got it to work with /papi bcparse _GodlyReaper_ %checkitem_remove_namecontains:Hoe Fragment,amt:1%

#

I read that this command is a security risk, how can users run placehlders?

elfin scarab
#

i have download papi and ajlb for leaderboards with decent holograms it work but i put gholo bcs i have 1.21.4 server
and i see this any idea how can i fix it ?

arctic ridge
#

maybe... it's possible to make this placeholder return numerical value or just amount (in this case while it's not stackable it will be 0 or 1)?

arctic ridge
#

I've found ChangeOutput expansion which may help but it will complicate it even more

gusty hemlock
#

Is there a way to add tabcompletion of placeholders in /papi parse with internal expansions?

stone hollow
#

Tell me, is there a placeholder that determines how many players are within a certain radius of another player?

junior musk
junior musk
#

you didn't provide any actual issue nor screenshots or errors or anything

junior musk
#

which is why we recommend using commands instead

arctic ridge
# junior musk %checkitem_amount?

I'm literally blind 🤔 I've tried multiple options, even amt: but haven't noticed that option. Will try if after work. T.hanks 👍

coral ibex
#

Can you help I installed pinger and am trying to ping my server it says Offline oh that's not true

#

@support

#

Help please

elfin scarab
#

but i fix it

unreal raven
#

was there ever a solution to bungee placeholders being weird, slow or returning 0 always

dim raft
#

Hi, whenever i restart my server some of my placeholders dont register until i do /papi reload this is my dumb can someone help?
Successfully posted dump: https://paste.helpch.at/ayepayejaf

warm topaz
#

can you send a startup log with you doing papi reload aswell please?

#

?startuplog

tender vaporBOT
vague steeple
#

Is there support for folia with PlaceholderAPI?

dim raft
#

?paste

tender vaporBOT
warm topaz
dim raft
#

Thats my paste

vague steeple
#

Where would I find the pom.xml file for PlaceholderAPI?

tired wharf
lean coral
#

🙃 what's the right way to do essentially this %server_countdown_dd.MM.yyyy HH:mm:ss_07.02.2025 00:00:00% but the countdown just outputting days like 30days

sonic sparrow
#

Bonjour j’aimerais rajouter une expansion interne pour le plugin beautyquest comment faire merci

sacred flicker
#

Hi I'm trying to use this plugin with SimpleScore but SimpleScore is just spamming my console and im not sure if PAPI is working with it properly either. My console is spamming so much I cant even send the logs lol

maiden depot
#

/papi commands are unkown even though they 100% are installed

#

?papi command

cunning charm
loud peak
#

is there any way to use a placeholder inside another one? i just can't figure it out, i'm trying to use %skript_{gold::%player_uuid%}%, but placeholder doesn't parse this correctly

cunning charm
#

Yes, search the ParseOther expansion on the PAPI ecloud.

twin breach
#

is it possible that whenever a player is in 1 world, the name of the world appears, only modified? the name of the world is world, how can I use the placeholderAPI to rename it to Vanilla?

bitter girder
#

hi i wanted to see placeholders for a plugin how can i see?

cunning charm
#

Likely on the plugin page/wiki

sacred flicker
#

Hi Im just wondering if there are any plguins that have a mob killstreak feature. Im only asking because Im not sure how to that would work with PAPI. Im pretty new to this

white pasture
#

Hi, I'm trying to create a PlaceHolderExpansion but i can't make it worked. So i need to make a PlaceHolder that check if player have a certain value in a array 'data storage id:data players[{ID:1}].comsetic'. I can test this array in minecraft using this commande '/execute if data storage id:data players[{ID:1,cosmetic:[2]}]' that return "Test passed, count: 1" or "Test failed" if the players that have the scoreboard ID to 1 have a "2" in the array

neat snow
#

Hi, where can I get the latest "Player" expansion

vivid sparrow
#

ECloud

native hatch
#

Does anyone know why the %essentials_baltop_player_stripped_2% comes up with "tax" instead of a player name?

lunar heart
#

How do we show the role name?

vivid sparrow
vivid sparrow
#

Idk, the expansions probably needs to take them into consideration

half jewel
#

Hey, with latest version of deluxemenu, i don't understand why this command don't work fine ?

  • '[placeholder] %checkitem_remove_amt:1,mat:cod,custommodeldata:56%'
lunar heart
#

How can I show the 10 people with the most kills in a menu? @lilac oxide

lunar heart
#

sory

white pasture
#

Hii, Can someone respond to my ticket pls -> 'general-plugins-2' ?

tranquil bane
tranquil bane
#

If anyone has any other suggestions, that didn't help ^

sonic tartan
#

Hi, I am new here. Is it appropriate to ask for source code of an expansion? I am looking for source code of SkillAPI papi expansion by clip. Should I tag or dm extended_clip?

#

Or are the source code keep somewhere? May somebody give a hand and point me to it?

vivid sparrow
sonic tartan
sonic tartan
#

Sorry for the ping

junior musk
#

considering the expansion was first uploaded in 2017, I doubt anyone still has the source code, though you can probably just decompile the jar and it'd be fine

sonic tartan
#

I see. Thanks, guys. Just think will try my luck here.

reef sparrow
reef sparrow
#

updated all expansions, if it happens again i'll be back.

last oriole
#

hey, how do I summon a wind charge at a specific trajectory in the direction the player is looking? i'm thinking about trying to use %player_yaw% and %player_pitch% but I can't find out how to summon a charge that goes somewhere.

smoky spoke
warm topaz
#

issue with the expansion

tame trout
#

?

#

mod bring back my message please i just typed 2 paragrapghs to get deleted by a bot

#

HELP PLACEHOLDER API NOT WORKING! so essentials /papi eclound bs works right but then I go to lets say baltop because im oped it dosnt show me on the leaderboard, but when I drop my balance below baltop it replaces the non oped player with me instead its quadruple fucked see message for examoke I HAD MORE TYPED BUT IT GOT DELETES
PLKEASE HELP WORKING ON THIS FOR 2 mMONTHS

#

ive done the permissons and the ecloud stuff its just broken

#

I talked to the essentials discord owner and he said fuck off before even readinbg my message because I posted it in a old thing so 0 help there

#

Im about to blow my brains all over my moniter this shit is getting horrible . its actually been 2 months of 0 proggress because ive been stuck on this bs

half briar
last lark
#

Hey, where I can get support? **
I tried
rankup plugin** with** Papi**, but it's not working and Rankup owner said, that its Papi issue.
I used 1.21.1 version.

last lark
#

`Crafteris:
rank: 'default'
next: 'crafteris'
requirements:
- 'money 15000'
- 'xp-level 15'
- 'item DIAMOND 3'
- 'playtime-minutes 240'
- 'total-mob-kills 500'
rankup:
requirements-not-met: |-
&8&m &r
&a&lAPLINK PASAULĮ &8| &f&lRankUP

     &c&lKLAIDA &8» &7Norint pakilti į lygį &2Crafteris &7jums reikės: 
     &8» &7Pinigų: &f15,000€ &a⛃              &b[%progress_bar_{rankup_requirement_money_percent_done}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lPABAIGTA!%&b]
     &8» &7EXP: &f15 &eEXP Leveliai           &b[%progress_bar_{rankup_requirement_xp-level_percent_done}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lPABAIGTA!%&b]
     &8» &7Daiktų: &f3 &bDeimantai              &b[%progress_bar_{rankup_requirement_item_percent_done}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lPABAIGTA!%&b]
     &8» &7Laikas: &f4 &dŽadimo Valandų      &b[%progress_bar_{rankup_requirement_playtime-minutes_percent_done}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lPABAIGTA!%&b]
     &8» &7Veikla: &cNužudyti 500 gyvių.    &b[%progress_bar_{rankup_requirement_craft-item_percent_done}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lPABAIGTA!%&b]           
     &8&m                                                                      &r `
sharp jay
#

lets do a quick test

run /papi parse %progress_bar_{rankup_requirement_money_percent_done}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lPABAIGTA!%

last lark
tender vaporBOT
last lark
#

I got money, but it shows zero progress bar

wispy pendant
#

i get an error

fair monolith
#

how do i set placeholders where the sender is console? Only thing ive found is to just use null at the player parameter is this correct? it is not annotated as @Nullable,

warm topaz
wispy pendant
#

whats the release eta

warm topaz
#

and if it's not annotated as @NotNull, then 🤷‍♂️

warm topaz
wispy pendant
#

not rlly

#

just need an estimated time

vivid sparrow
last lark
last lark
#

can someone help me?

warm topaz
#

I have tested it and it works, u still want me to remove that part?

vivid sparrow
#

Yes, attributes are filtered by that criteria and then cached

exotic bridge
#

Do i need to replace my placeholder myself? I mean i have an expansion but i think it only works when i replace it myself right? So i need to event or task to intervally update it?

junior musk
#

if you're making an expansion, you should only worry about returning the values

#

if you're making a plugin that displays placeholders, you have to parse them and handle the refresh (=replace them again after some interval)

last lark
#

Hey, where I can get support? **
I tried rankup plugin with Papi, but it's not working and Rankup owner said, that its
Papi issue**.
I used 1.21.1 version.

#

`Crafteris:
rank: 'default'
next: 'crafteris'
requirements:
- 'money 15000'
- 'xp-level 15'
- 'item DIAMOND 3'
- 'playtime-minutes 240'
- 'total-mob-kills 500'
rankup:
requirements-not-met: |-
&8&m &r
&a&lAPLINK PASAULĮ &8| &f&lRankUP

     &c&lKLAIDA &8» &7Norint pakilti į lygį &2Crafteris &7jums reikės: 
     &8» &7Pinigų: &f15,000€ &a⛃              &b[%progress_bar_{rankup_requirement_money_percent_done}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lPABAIGTA!%&b]
     &8» &7EXP: &f15 &eEXP Leveliai           &b[%progress_bar_{rankup_requirement_xp-level_percent_done}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lPABAIGTA!%&b]
     &8» &7Daiktų: &f3 &bDeimantai              &b[%progress_bar_{rankup_requirement_item_percent_done}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lPABAIGTA!%&b]
     &8» &7Laikas: &f4 &dŽadimo Valandų      &b[%progress_bar_{rankup_requirement_playtime-minutes_percent_done}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lPABAIGTA!%&b]
     &8» &7Veikla: &cNužudyti 500 gyvių.    &b[%progress_bar_{rankup_requirement_craft-item_percent_done}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lPABAIGTA!%&b]           
     &8&m                                                                      &r `
wary wyvern
#

good morning all, I am updating to 1.21.4 and I am randomly getting an error loading expansions/checkitem/
not all the time though, just random, I would say it fails 1 in every 5 reboots
I have no issues on the 1.21.1 production server
Any idea what would cause this please?

https://pastebin.com/SR5bKrhK

warm plover
#

Any idea why %player_locale% doesn't work?

wary wyvern
#

This just got even more odd!, after many restarts and tests it just threw the same error but this time for Expansion-playerlist.jar
Up until now it had been the same (checkitem)
It seems to randomly pick one to fail on!
expansions\Expansion-math.jar just failed this time 😦

#

what even is this though?
java.util.concurrent.CompletionException: zip file closed

wary wyvern
#

This is the only thing stopping us updaing, tests continue today, first two restarts all go fine with no issues, 3rd restart and it's back Caused by: java.lang.IllegalStateException: zip file closed

wary wyvern
#

Has anyone got any advice on this please?

rustic sand
vivid sparrow
golden trench
#

Does anybody know if there is a way to make it so %vault_eco_balance_formatted% also returns 2 decimals? Because it returns a string when the number is like mine, in the trillions, i don't think i can use the math place holder on it

#

Like rather than $97T, I'd like it to return $97.42T for example. When I have $97,420,000,000,000

last lark
#

Hey, where I can get support?
I tried rankup plugin with Papi, but it's not working and Rankup owner said, that its Papi issue.
I used 1.21.1 version.
`Crafteris:
rank: 'default'
next: 'crafteris'
requirements:
- 'money 15000'
- 'xp-level 15'
- 'item DIAMOND 3'
- 'playtime-minutes 240'
- 'total-mob-kills 500'
rankup:
requirements-not-met: |-
&8&m &r
&a&lAPLINK PASAULĮ &8| &f&lRankUP

     &c&lKLAIDA &8» &7Norint pakilti į lygį &2Crafteris &7jums reikės: 
     &8» &7Pinigų: &f15,000€ &a⛃              &b[%progress_bar_{rankup_requirement_money_percent_done}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lPABAIGTA!%&b]
     &8» &7EXP: &f15 &eEXP Leveliai           &b[%progress_bar_{rankup_requirement_xp-level_percent_done}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lPABAIGTA!%&b]
     &8» &7Daiktų: &f3 &bDeimantai              &b[%progress_bar_{rankup_requirement_item_percent_done}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lPABAIGTA!%&b]
     &8» &7Laikas: &f4 &dŽadimo Valandų      &b[%progress_bar_{rankup_requirement_playtime-minutes_percent_done}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lPABAIGTA!%&b]
     &8» &7Veikla: &cNužudyti 500 gyvių.    &b[%progress_bar_{rankup_requirement_craft-item_percent_done}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&`a&lPABAIGTA!%&b]           
     &8&m                                                                      &r
exotic bridge
#

Hey i only have one extension integrated in my plugin but still it registeres 2. My plugin name is oneblock and it registeres some extension named like it but then another that i actually implemeneted ("ob") idk why it doubles up and only one ("ob)" only works

vivid sparrow
dim cliff
#

Good day! Attribute expansions seems updated according to the post

#ecloud-updates message

but I** can't seem to download it with /papi ecloud download Attribute**

Thanks!

warm topaz
#

takes a while to update in game I think

#

could be a few hours

wary wyvern
#

I pulled every plugin 1 by 1 to try to establish what is causing our issue (all 100 of them), there is not 1 single plugin that is causing this. I increased the ram, that didn't help. I can only put it down to placeholder api. Which expansion it fails on is completely random. Someone must have some suggestions surely

civic cipher
#

is ```cloud_sorting: name

cosmic hazel
#

Why I cant access http://api.extendedclip.com/v2/ without VPN? I dont want to see java.net.ConnectException: Connection timed out: connect error every time plugin tries to download expansion information. If developers cant fix issue with access, they can just dont log full exception when there are Connection timed out message in Exception

junior musk
#

disable ecloud in your PAPI config

junior musk
#

you can just leave it as is

cosmic hazel
junior musk
#

If you can't connect to it, why keep it enabled?

cosmic hazel
junior musk
#

I can connect to it perfectly fine

#

are you sure your server can access the internet?

#

well I guess it does, otherwise you wouldn't be able to connect

#

maybe it's a firewall issue?

glacial portal
#

Hello, I have placeholder inside a placeholder, so in order to parse it, I'm using utils expansion.

when I use %utils_parse_{placeholder}%, it works and parses the embedded placeholder, but it returns, %-signs at the start and at the end of the parsed text, like: %text%.

Is there a way to get rid of those % signs? When I use utils_parse_placeholder they aren't there, but this way it doesn't parse the embedded placeholder.

junior musk
#

remove the {}

#

and send the entire placeholder

glacial portal
#

It is a placeholder from another plugin (EcoSkills). The placeholder is ecoskills_dynamic_mining_description, and it parses to the following:
"&8get Haste &a3&8 + &a%libreforge_points_dynamic_mining_effect_level%&8 for &a7&8 seconds when right clicking with a pickaxe. 55 mana"

and i want to parse the %libreforge_points_dynamic_mining_effect_level% that is on the inside of this. If i remove the {} it doesn't work

junior musk
#

ah, in this way

#

%utils_parse:2_ecoskills_dynamic_mining_description%

glacial portal
#

Thank you that is it.

cosmic hazel
# junior musk maybe it's a firewall issue?

I tested connect using curl and there are only one server on this domain responding to me.

C:\Users\BoBkiNN>curl -v http://api.extendedclip.com/v2/
* Host api.extendedclip.com:80 was resolved.
* IPv6: (none)
* IPv4: 104.21.64.1, 104.21.112.1, 104.21.32.1, 104.21.80.1, 104.21.48.1, 104.21.16.1, 104.21.96.1
*   Trying 104.21.64.1:80...
* connect to 104.21.64.1 port 80 from 0.0.0.0 port 9487 failed: Timed out
*   Trying 104.21.112.1:80...
* connect to 104.21.112.1 port 80 from 0.0.0.0 port 9499 failed: Timed out
*   Trying 104.21.32.1:80...
* connect to 104.21.32.1 port 80 from 0.0.0.0 port 9511 failed: Timed out
*   Trying 104.21.80.1:80...
* connect to 104.21.80.1 port 80 from 0.0.0.0 port 9541 failed: Timed out
*   Trying 104.21.48.1:80...
* connect to 104.21.48.1 port 80 from 0.0.0.0 port 9552 failed: Timed out
*   Trying 104.21.16.1:80...
* Connected to api.extendedclip.com (104.21.16.1) port 80

Very weird

junior musk
#

could be a firewall issue 🤷

cosmic hazel
#

uh, seems like thats my cringe provider doing weird things again but thanks anyway

wary wyvern
#

There is defo something wrong with placeholderAPI and not the plugins or expansions, as I said before, this issue is random, I just managed to get 2 succesful restarts with all the plugins and expansions in place, then it failed on the 3rd restart. "/papi reload" after a failed restart fixes it every time, and they all load in fine

wary wyvern
# half briar https://github.com/PlaceholderAPI/PlaceholderAPI/issues/1012

I really do appreciate your reply as no one else has \o/
I have read that in there ^ but it doesn't help me.
I have removed every plugin 1 by 1, I have added each plugin a fresh, I have preformed 5 restarts each time I removed plugins or added them, all my tests prove the plugins are not the issue. none of them are corrupt, they are all clean and legit. it is not lack of ram as I tried with a stupid amount allocated, I have replaced evey single plugin and expansion, I can only come to the conclusion that it is either paper 1.21.4 or placeholderapi.
I have the same plugins and setup on 1.21.1 and have no issues at all.
I spent 16 hours solid on this yesterday alone, I am now at a complete loss.
the only solution would be to schedule /papi reload to run a few minutes after restarting

junior musk
#

It's not that I don't want to help, it's just that I can't.
I have seen a few people have this issue in the past, though it usually was just 1 expansion that was broken/corrupted, and redownloading fixed it.
I've never experienced the issue myself and don't even know how it occurs =/

vivid sparrow
#

We were never able to reproduce the problem

rich spoke
#

Is there a way I can make that the TAB show as:
(rank) {player} (guild)
in the header?

stone edge
#

header? or name tag (above player head)

rich spoke
dim cliff
#

good morning! I can't ❌ still download the Attribute Expansion
with /papi ecloud download Attribute

stone edge
#

fails? error?

stone edge
rich spoke
#

for TAB

dim cliff
#

for the meantime, I just downloaded it manually for ecloud website and registered using papi register, all good tho

vivid sparrow
dim cliff
#

yep

dim raft
#

Why do a lot of my placeholders not register when my server starts? I have to do /papi reload every time and manually reload plugins just for them to register

neat furnace
#

Im not sure what Im doing wrong

#

%checkitem_getinfo:<mainhand>_<custommodeldata:<50023>>%

half briar
cunning elk
#

where can we get the development builds?

tender vaporBOT
vivid sparrow
#

@cunning elk

wary wyvern
#

OMG! I sussed it
I finally worked out what caused the zip file closed issue, yay 🙂

wary wyvern
#

And I know why others can't reproduce the error 😁 i have loads to do but I will document all this and update the git issue when i have time

golden trench
#

Is there a way to make %vault_eco_balance_formatted% return 2 decimals at all? So $100T returns $100.00T

#

Can't do %math_2:_{vault_eco_balance_formatted}% because vault_eco_balance_formatted returns a string and not an integer

golden trench
#

Using %formatter_number_shorten_{vault_eco_balance}% for now, it atleast returns 1 decimal which is better than 0

marsh spire
#

is there a placeholder that will convert a date to seconds or minutes or whatever time format you want ? for example I have this 11:43:22 in hh:mm:ss , and I want that to convert to seconds only,

#

or the format can be also and preferably this one 11h 43m 22s

marsh spire
#

or some way to convert this format to the one I want, if I put 5m 30s, it will convert to seconds only.

cunning charm
marsh spire
wispy pendant
#

can i use multiple %changeoutput% inside another %changeoutput%?
kinda like excel IF(A1 = "malteada";"yes";IF(A1 = "Notch"; "yes op"; "no"))
please ping when reply

rustic viper
#

1.21.4 support?

marsh spire
#

si quieres mas tipo esto %variables_{variable_{variable}}% usa tambien la papi Utils

wispy pendant
#

intenté

marsh spire
wispy pendant
#

%changeoutput_contains_input:{quests_player_current_quest_names}_matcher:What's This_ifmatch:What's This_else:{changeoutput_contains_input:{quests_player_current_quest_names_matcher}:Quest 2_ifmatch:Quest 2_else:&fNone yet!}%
%changeoutput_contains_input:{quests_player_current_quest_names}_matcher:What's This_ifmatch:What's This_else:{changeoutput_contains_input:{quests_player_current_quest_names}_matcher}:Quest 2_ifmatch:Quest 2_else:&fNone yet!}%

marsh spire
#

usa la papi Utils

#

la descargas y pruebas con esto

#

%utils_parse_changeoutput_contains_input:{quests_player_current_quest_names}_matcher:What's This_ifmatch:What's This_else:{changeoutput_contains_input:{quests_player_current_quest_names_matcher}:Quest 2_ifmatch:Quest 2_else:&fNone yet!}%

wispy pendant
#

parece funcionar

#

déjame probar

wispy pendant
#

Dónde encuentro información de ese utils

marsh spire
marsh spire
#

oh

#

que raro

#

en la wiki antigua si esta

#

igual la puedes buscar en google y te sale

wispy pendant
#

dale

#

gracias

#

❤️

edgy zodiac
#

I want to add a placeholder that can be used in item lore and displays info about the current item (which is not necessarily in the player inventory) is this possible with placeholderapi?

wispy pendant
edgy zodiac
#

this only works if the player is holding the item no? I need it to work for an item in a chest for example

wispy pendant
#

uh, idk, maybe custom plugin or your item's plugin

plain wharf
#

Hello, we can't use component for placeholders expansions ? ``` public @Nullable String onPlaceholderRequest(Player player, @NotNull String params) {

graceful narwhal
novel spear
#

There is currently no no folia supported planned, or? I only saw the PR

exotic minnow
exotic minnow
round ridge
#

Is the deluxemenu available for 1.21?

wary wyvern
wide flower
marsh spire
wide flower
#

Y solicitud

elfin cove
#

how do i add 1 to a placeholder with /papi cmdparse ?

#

permanatly like i want to add 1 to a placeholder

simple compass
#

Does Placeholder API support 1.21.4?

warm topaz
#

yes, although some expansions may require updating

fringe parcel
#

hello, is there a way to get the players' name in a specific region (world guard)?

gray juniper
#

is there any way to dynamically update material using placeholders?

#

i have a plugin that has a placeholder for the material and DeluxeMenus cannot update it using [refresh] or update: true

cunning charm
long mauve
#

yo for some reason none of my placdeholders are updating now. for example a guy on my server killed a lot of people, but is still at 0. im using %statistic_player_kills%, but it js doesnt update for some reason. any ideas why? (doesnt work on other placeholders too such as %kdratio_kills%)

wispy pendant
#

someone knows how to parse per line?

if i use %placeholder_example% i get

line1
line2
line3```
i just wanna show `line2` for example
turbid tide
wispy pendant
#

when i parse %quests_player_compass_quest_objectives% it gives me multiply lines

turbid tide
wispy pendant
#

when parsing on scoreboard, new line doesnt parse

turbid tide
wispy pendant
#

im using TAB plugin

turbid tide
#

Anyways, you would need to create a custom piece of code to parse the placeholder the way you want it to. Either create a custom expansion or use a script expansion to take the output and change it.

wispy pendant
#

i could use changeoutput expasion but it will take a loot of conditions

turbid tide
#

Yeah it would.

#

I wonder if you could maybe talk with the TAB people as well to figure out if they have a way to parse new lines from placeholders

turbid tide
wispy pendant
#

thanks

turbid tide
gray juniper
tender vaporBOT
gray juniper
#

already tried

#

refresh only updates title and lore, not material

turbid tide
#

Ah yeah. I was wrong. There is no way to do that

rocky aspen
#

idc if this is from 2 years ago or if im js stupid i was tryna find this out for 4 hours bro ty😭

final idol
#

Hello!

#

https://prnt.sc/XQvjHU1EL32X

I have a question, can I somehow make 1 placeholder catch 2 digits after the period? NP: ( 2.46 )
%ajlb_lb_strikepractice_kdr_1_alltime_value%

vivid sparrow
#

if you parse %strikepractice_kdr% does it return 2 or 2.46? @final idol

final idol
#

` - content: '&#ff7d27①. &f%ajlb_lb_strikepractice_kdr_1_alltime_name% &8- &#ff7d27%ajlb_lb_strikepractice_kdr_1_alltime_value% ⚖'
height: 0.3

  • content: '&#ffc338🏆 &fTwoja Pozycja: &#ffc338#%ajlb_position_strikepractice_kdr_alltime% &8| &#ff7d27%strikepractice_kdr% ⚖'
    height: 0.5`
#

Although it updates as I see it

#

update-interval: 20

#

o is 20 seconds yes?

vivid sparrow
#

Could be

final idol
#

I just ask, because it is default
And I wanted to make sure that here it is counted in seconds

coral ibex
#

deluxemenus
Or you can add it to the format {#e6d690>}test ad1 bash please and {#aa1199<}

golden trench
#

Is there a placeholder than can handle %vault_eco_balance_formatted% going to a higher number?

#

Right now it formats M for 1million, B for 1billion, T for 1trillion and Q for 1quadrillion, but when you go past 999Q it just goes to 1000Q instead of 1Qi

golden trench
#

^ I tried making it myself but I dont actually know the first thing about java code, I pretty much just took the code that was there for Quadrillions, copy/pasted it and then just changed it to quintillions and used "Qi".
I went to put the new file in the vault placeholder but I noticed that they are .class files whilst mine is a .java file. Will this matter? I dont know the difference

#

I also dont know how to save them as .class files, im that slow

vernal willow
#

anyone know why my simplekilltracker isnt working after dowloading it

golden trench
#

Try using /papi parse me %simplekilltracker_kills%, tell me what it tells you

vernal willow
#

%simplekilltracker_kills%

#

it says that

vernal willow
#

"&bLevel: %levelcolor%",
"&bNeeded EXP: &7%clv_player_exp_required%",
"&bGold: &60",
"",
"&bKills: &7%simplekilltracker_kills%",
"&bDeaths: &7%simplekilltracker_deaths%",
"&bK/D: &7%simplekilltracker_kdr%",

golden trench
#

It says its built into the plugin, but there also seems to be a downloadable expansion as well so idk whats going on there

#

nevermind ignore me, i read it better and it says there are no placeholders in it, youre welcome to still try it but I imagine it doesnt work

#

in that case, the fact /papi parse me isnt giving you a number either suggests you either have an outdated plugin or the wrong plugin

#

If you type /pl, is the plugin in the list and in green text?

#

Also, is there any console errors around simplekilltracker at all?

vernal willow
#

Yes its green

#

and no i dont

vernal willow
#

didnt change anything

golden trench
golden trench
#

Does anyone know what the placeholder is for getting the amount of money the top three donators have spent using Tebex? I managed to get the players names using %buycraftAPI_top_donor_current_month_name_1% but %buycraftAPI_top_donor_current_month_value_1% doesn't work. Neither does %buycraftAPI_top_donor_current_month_price_1%

tender vaporBOT
#

Yes, it does.

tender vaporBOT
#

Please share your server logs to get started.

vivid sparrow
#

@placid python

golden trench
#

We can't access your panel

#

Now send us the link after you've saved it :)

#

[09:28:35] [Server thread/INFO]: Starting minecraft server version 1.21.3

#

To start with, you're using 1.21.3 atm

#

Also I dont see where you typed /papi reload at all, do these logs contain it and im just being blind atm?

coral ibex
#

can you help

#

%gradient_message_{fff500}{ffc700}%statistic_mob_kills%_%

#

%gradient_message__{fff500}{ffc700}%statistic_mob_kills%__%

#

I wanted to assume HEX in the player player

tender vaporBOT
rose bobcat
#

Hello, I installed the formatted expansion, but I don't get how to use it. %formatter_number_format[_[locale]:[pattern]]_<number>% -> %formatter_number_format:###.#_{vault_eco_balance}%

#
    shorten:
      pattern: '###.#'
      trillions: T
      quadrillions: Q
      billions: B
      millions: M
      thousands: K
      rounding_mode: half-up
    formatting:
      pattern: '#,###,###.##'
      locale: en-US```
this is the config
junior musk
#

I think this should work

#

if it doesn't, try adding en-us or en-US in front of the :

#

but it shouldn't be necessary

vernal willow
#

plugin

broken grotto
#

Hey, I'm trying to use Placeholder API with my plugin and I get this error when I use the placeholder in the chat format.

Could not pass event AsyncPlayerChatEvent to EssentialsChat v2.21.0-dev+154-667b0f7
java.util.IllegalFormatFlagsException: Flags = ' '
#

Could anyone help me please?

junior musk
#

Essentials doesn't support PlaceholderAPI

broken grotto
junior musk
#

yeah

broken grotto
#

Thank you, sorry I was not aware of that

junior musk
#

if you just need a simple chat format, you can use LPC

broken grotto
#

Yeah I'll probably use that

#

Cheers!

sonic parcel
#

how can i convert to vault formatted method 100k to 100.89K

clear dust
#

is someone able to help me format this placeholder or maybe even do my math smarter than iv done.

%utils_parse:2_{math_0:_{math_0:floor_{checkitem_amount_mat:ROTTEN_FLESH}/3}*3}%
yes thats a math inside another math Why you ask? because I need the floor Rounding to be done before the *3 if you do it all in one math placeholder it rounds after the multiplication. 😦

Basicly Example this. I have 5 rotten flesh in my inv Im attempting to give the player 1 item for every 3 Rotten Flesh they have. Iv got the devision worked out with the rounding to return 1 set of 3 in 5 items with the floor rounding ( the center most math placeholder ) but i cant get it to return 3 as it should. the above line returns %3% to my chat and i cant for the life of me workout where the extra % % is coming from.

in the above example this bit {math_0:floor_{checkitem_amount_mat:ROTTEN_FLESH}/3} returns 1 the second math placeholder multiplies that by 3 making 3 but somehow some %% are being added to the returned string.

junior musk
#

remove the {} around the external math placeholder, and parse:2 isn't required btw, you can just have parse

#

you could even have just one math placeholder with %math_0_FLOOR({checkitem_amount_mat:ROTTEN_FLESH}/3)*3%

clear dust
junior musk
#

check the placeholder I sent

clear dust
#

it gives the wrong answe because if the player has 5 flesh the first secton would be 1.75 then it gets multiplied by the 3 making like 5.

where as when the floor rounding is done on the first section 5 items becomes 1 then it gets multiplied by 3 making 3.

junior musk
#

once again, check the placeholder I sent

clear dust
#

wtf.. i Ligit tried exactly that like an hour ago...

junior musk
#

maybe you had the last parenthesis around the *3 as well instead of before it

clear dust
#

nah because i understood it needed to be done before that.

junior musk
#

🤷

#

does it work now?

clear dust
#

yeah has me beat maybe i had the first one in the wrong place.

#

yes thank you, im a dumb i should listen better.

#

I had a good attempt before asking for help spent maybe an hour trying things.

#

i feel like im deep deep in a rabbit hole atm.

junior musk
#

sometimes, all you need is a good night's sleep ¯_(ツ)_/¯

clear dust
#

true that,
if any ones wondering what my use for this is its this:

    - 'hasItem:ROTTEN_FLESH;3! asConsole! pTarget:[playerName]! nexo give [playerName] bottle_mob %math_0:floor_{checkitem_amount_mat:ROTTEN_FLESH}/3%' #rotten flesh
    - 'hasItem:ROTTEN_FLESH;3! asConsole! papi parse [playerName] %checkitem_amount_remove_mat:ROTTEN_FLESH,amt:{math_0_FLOOR({checkitem_amount_mat:ROTTEN_FLESH}/3)*3}%'

its a CMI custom alias It will run a few more of these. all in one command. ( why the papi parse. Cause CMI is dumb )

for some reason nexo never gets the command if I include the _remove in the nexo command i think cmi is not processing the full line or something its weird. and in this case i needed to give 1 number of items and take another number. the parse lets me process the placeholder without sending anything to the player.

junior musk
#

since you're using the math + CheckItem placeholder inside yet another CheckItem placeholder, you'll actually need Utils again 😅

#

%utils_parse_checkitem_amount_remove_mat:ROTTEN_FLESH,amt:{math_0_FLOOR({checkitem_amount_mat:ROTTEN_FLESH}/3)*3}%

marsh spire
# clear dust true that, if any ones wondering what my use for this is its this: ``` - 'h...

mmm that variable does not make sense, if you have 10 items of ROTTEN_FESH, and you divide it and then multiply, it will always be 10, besides you only detect the amount to know the total amount and to be able to eliminate that same amount with the amount_remove, but for that better just put %checkitem_amount_remove_mat:ROTTEN_FLESH% and that already feeds you everything. thonking

junior musk
#

it wouldn't be 10 because of the rounding

#

FLOOR(10/3)=3
3*3=9, not 10

pure wind
#

looking for placeholder that outputs if player is walking or player is idle

spark tree
#

How do i parse placeholders in the scoreboard and tablist?

#

im new to this api

#

please reply when responding

marsh spire
#

you have to download the placeholderapi beforehand with the command /papi ecloud download

#

there are some placeholders that are configured or you have to add more data, it varies depending on what you need.

visual ibex
#

does placeholder still work 100% fine with 1.21?

#

seen a lot of plugins absolutely freak out with a ton of issues

magic hawk
#

Hey does anyone know how to reset my papi data? Like i have kills on my scoreboard that i want to reset back to 0

livid snow
#

Hello what is the palceholder of VoteParty

#

i want to check status of vote

#

like 0/10 needed vote for voteparty

livid snow
#

I got a problem this is not working

#

party_commands:
enabled: true
commands:
- crate key give %player_name% rare 3
- crate key give %player_name% legendary 2

#
        enabled: true
        commands: 
        - crate key give %player_name% rare 3
        - crate key give %player_name% legendary 2```
#

its not working

#

its not giving crate keys to the player whe vote party started

#

/nick Internets

magic hawk
#

Hey does anyone know how to reset my papi data? Like i have kills on my scoreboard that i want to reset back to 0

livid snow
tender vaporBOT
sharp jay
livid snow
sharp jay
livid snow
#

my spigot username is Internets

sharp jay
#

HERE

livid snow
#

@small river how to check spigot id

#

idk

#

i added my discord

sharp jay
#

=check @livid snow

tender vaporBOT
livid snow
sharp jay
#

WAIT

livid snow
#
        enabled: true
        commands: 
        - crate key give %player_name% rare 3
        - crate key give %player_name% legendary 2```i up
sharp jay
#

for admin

#

kk

livid snow
#

not working

#

only /broadcast command working

sharp jay
livid snow
livid snow
#

how to fix

#

also when i start voteparty it doesnt start this

        enabled: true
        commands: 
        - broadcast &#FB6908&lV&#FB6908&lo&#FB6908&lt&#FB6908&le &#FB6908&lP&#FB6908&la&#FB6908&lr&#FB6908&lt&#FB6908&ly &7&l> &fThe Vote Party has ended!```
sharp jay
sharp jay
livid snow
#

bro my problem is this

        enabled: true
        commands: 
        - crate key give %player_name% rare 3
        - crate key give %player_name% legendary 2```i up
sharp jay
#
        enabled: true
        commands: 
        - 'crate key give %player_name% rare 3'
        - 'crate key give %player_name% legendary 2'```
livid snow
sharp jay
#

like that

livid snow
#

?

#

oh ok

livid snow
sharp jay
#

send your full menu

tender vaporBOT
livid snow
sharp jay
#

I mean

#

config

livid snow
#

oh ok

livid snow
sharp jay
#

not in dms

tender vaporBOT
sharp jay
#

this

livid snow
#

done

livid snow
sharp jay
tender vaporBOT
sharp jay
#

ill let glare the owner of the plugin deal with this once he gets on

livid snow
#

Also the effects when voteparty start is missing

quick jackal
#

Hello, I've created images for my item tiers (with ItemsAdder) and I can retrieve them while doing so :rare:. But when I want to recover them to put them in the lore of an item of MMOItems with %img_rare% impossible to display. (If you need the configuration files to help me I would send it)

steep crater
#

Hello there i need a help with PAPI, Also guys i had a custom command named /lookup <playername>
We run this on ingame with a player name and the backed is sending a message to a specific channel on my dc server so i need the placeholders of the given players datas such as death count, kill count playtime and everything. Which is usable for it?

steep crater
#

Like if i use that command the placeholders returns my data. So i need the giving player's data like 1st arg

somber marten
#

Whats the best way to keep async placeholders upto-date

brazen minnow
#

this is the discord for voteparty? this is the link on the site gave me, so I am wundering what just happened to my scoreboard breaking with the plugins placeholders =/

#

%voteparty_top_TYPE_INFO_PLACEMENT%

rustic pewter
#

Does papi work on folia?

lean frigate
#

How i can use papi to calculate placeholder values?

Like, i want total generic armor count [default attribute is maximum = 30]

i trying to use armor placeholder, but it supports only armor pieces, not total

So i want to do something like

%placeholder1% + %placeholder2% + %placeholder3% + %placeholder4% = %placeholder5%

#

Will it work?

#

or is here any expansion for it

wispy pendant
#

does anyone know a fastlogin variable?

warm plover
#

Really helpful expansion

lean frigate
#

and how it works, i readed but didnt understand (

warm plover
#

You’d just do %math_(placeholder1)+(placeholder2)%

junior musk
#

with {}, not ()

warm plover
#

yeah^ didn’t use the () literally but that’s good advice

toxic bay
#

Maybe this is quite a bizarre question, but can I rename the default worlds somewhere in the multiverse? Because I use placeholder nato via multiverse, and there it shows world_nether and such.. 😄 I see that it can be done via changeoutput, I just don't know how to do it and when I read it, I didn't understand anything...

solid narwhal
#

my voteplugin doesnt work correctly

opaque remnant
#

Is it possible to find out the current 'repaircost' item. Is there such a placeholder?

tranquil lantern
#

Hi, anyone knows why the Pinger expansion doesn't "work"?
I'm trying to get the MOTD from another server but the response is empty and return the status to offline even after the request.
/papi parse me %pinger_isonline_hypixel.net%

candid jay
#

just would like to report the checkitem expansion in 1.21.3 is completely broken 🙂

mental stream
#

Hello i was wondering what requirements do i have to put when making a custom shop using deluxemenu

tough canyon
#

Hey i need help. I am using placeholderAPI and ive got a problem. Im using the server_tps_1 placeholder and it keeps flashing a * and I dont know why or how to remove it. I tried to juts use the server_tps placeholder but it crashes my scoreboard plugin. Im running a 1.21.4 paper server.

last lark
#

Hello, can I get Papi support?

#

I need really help, but I got ignored..

tender vaporBOT
junior musk
#

PlaceholderAPI placeholders have the following syntax: %<expansion identifier>_<parameters>%
For example, %player_name% is part of the Player expansion and has name as parameter.
Therefore, your syntax isn't supported.

#

what do you mean?

rustic pewter
#

Does papi work on folia?

warm topaz
#

it's not supported but you can try and see

honest imp
#

hey there i am currently trying to get placeholder working with Valhalla MMO but it dose not seem to work. when i run papi list it displays tab, valhallammo but none of the placeholders are working as well as i also tried the extension made by the creator of Valhalla but i get this every time [20:40:24 WARN]: [PlaceholderAPI] Failed to load external expansion valhallammo. Identifier is already in use.
[20:40:24 WARN]: [PlaceholderAPI] Cannot load expansion valhallammo due to an unknown issue. any help would be much appreciated.

bold token
#

I'm experiencing a NullPointerException when running KenshinsHideAndSeek v1.7.6 on Paper 1.20. However, I don't believe the issue is caused by the plugin itself but rather by PlaceholderAPI or another dependency.

Here is the error log: https://pastebin.com/ASu41Tqr

What I have tried:
Ensured ProtocolLib is up to date.
Updated PlaceholderAPI to the latest version.
Tested without other plugins to isolate the issue.
The error occurs when ending a game, possibly related to handling placeholders.
Could this be caused by an incompatibility with PlaceholderAPI or a missing placeholder expansion? I would appreciate any guidance on resolving this issue.

neat wharf
feral linden
#

Hello, could someone help me with my DeluxeMenus menu, my menu does not detect the placeholder (%mythic_var_global_bossCount%) and the placeholder works fine, does anyone know the reason? this is my menu:

size: 27
open_command:
  - invocar
  - invocarboss
items:
  invocar_boss:
    material: DIAMOND_SWORD
    slot: 13
    display_name: "&6Invocar Boss"
    lore:
      - "&7Haz clic para invocar el boss"
      - "&7Costo: &a$1000000"
    left_click_requirement:
      requirements:
        dinero_suficiente:
          type: "has money"
          amount: 1000000
          deny_commands:
            - '[message] &7(&c!&7) &cNo tienes suficiente dinero para invocar este boss'
        boss_no_activo:
          type: "check placeholder"
          placeholder: "%mythic_var_global_bossCount%"  # Placeholder de MythicMobs
          value: "0"
          deny_commands:
            - '[message] &7(&c!&7) &cEl boss ya está activo! Espera a que sea derrotado antes de invocarlo de nuevo.'
    left_click_commands:
      - "[console] mm mobs spawn SkeletalKnight 1 test,-23,78,15,0,0"
      - "[console] eco take %player_name% 1000000"
coarse fractal
#

Hey how can show playtime of the player in scoreboard

ionic spade
#

Maybe this is quite a bizarre question, but can I rename the default worlds somewhere in the multiverse? Because I use placeholder nato via multiverse, and there it shows world_nether and such.. 😄 I see that it can be done via changeoutput, I just don't know how to do it and when I read it, I didn't understand anything...

golden trench
#

Hey all, when I type /papi ecloud download Player, then /papi reload. It says it installed v2.0.8 however the %player% placeholder does not work

#

%player_name% works

#

Im on paper 1.21.4

vivid sparrow
#

%player% doesnt exist in papi, it is usually an internal placeholder used by some plugins.

golden trench
golden trench
#

Thanks Gaby :)

upper osprey
#

why does the statistics placeholder only record player statistics in a single server session? Like, if i restart my server, my playtime is going to become 0 again

vivid sparrow
#

It doesnt

#

Unless your statistics are reset, it doesnt have this behavior

warm topaz
#

isn't there something in bukkit.yml about saving stats? or one of the server config files

mortal flame
#

Hi, I’m having issues with PlaceholderAPI not recognizing certain player placeholders like %player_name% and %player% on deluxemenus i always get: [12:55:49 INFO]: [Essentials] CONSOLE issued server command: /eco take %player% 2000
[12:55:49 INFO]: Fehler: Spieler nicht gefunden.
[12:55:49 INFO]: Crates » Invalid player!

warm topaz
#

i dont think essentials supports placeholderapi

junior musk
#

It doesn't matter if the plugin that adds the command supports PAPI or not, what matters is the plugin that runs it

#

in this case, DeluxeMenus, which does support PAPI

#

my guess is that they forgot to download the Player expansion

#

if that's the case, run the following commands:
/papi ecloud download Player
/papi reload

warm topaz
#

seems u can read better than me

junior musk
#

Does player show in /papi list?
What does /papi parse me %player_name% show in chat? does it return your name or %player_name% ?

mortal flame
#

it did return %player_name%

junior musk
#

Then you'll need to run the two commands I sent in my previous message

#

If it still doesn't work, send the link you get from /papi dump

mortal flame
#

i rejoined and now it works thanks

tropic spoke
#

how to register on ecloud?

junior musk
#

@vivid sparrow

pseudo tinsel
#

Does anyone know how to fix the placeholderapi error that tells me that the expansion name is missing?

wet kindle
#

Hello, can I set the countdown to 18:00 every day instead of %server_countdown_MM/dd/yyyy-HH:mm_09/14/2025-12:00% in placeholderapi?

wet kindle
#

@junior musk

#

can look

sharp jay
#

/papi ecloud download Server
/papi ecloud download Math
/papi ecloud download NestedPlaceholders
/papi reload
And use this placeholder: %nested_server_countdown_dd.MM.yyyy_{math_0_{server_time_dd}+1}.{server_time_MM}.{server_time_yyyy}%

junior musk
#

Nested has been replaced by Utils for a while 😅

#

/papi ecloud download Utils
/papi reload
%utils_parse_server_countdown_dd.MM.yyyy_{math_0_{server_time_dd}+1}.{server_time_MM}.{server_time_yyyy}%

vivid sparrow
#

@junior musk ?

junior musk
#

there was a guy spamming scams

#

got banned

#

sorry for the ping

last lark
#

I tried rankup plugin with Papi, but it's not working and Rankup owner said, that its Papi issue.
I used 1.21.1 version.
`Crafteris:
rank: 'default'
next: 'crafteris'
requirements:
- 'money 15000'
- 'xp-level 15'
- 'itemh DIAMOND 3'
- 'playtime-minutes 240'
- 'total-mob-kills 500'
rankup:
requirements-not-met: |-

&b[%progress_bar_{rankup_requirement_money_percent_done}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lPABAIGTA!%&b]

&b[%progress_bar_{rankup_requirement_xp-level_percent_done}_c:&d|_p:&d|_r:&3|l:20_m:100_fullbar:&a&lPABAIGTA!%&b]
&b[%progress_bar
{rankup_requirement_itemh#DIAMOND_percent_done}_c:&d|_p:&d|_r:&3|l:20_m:100_fullbar:&a&lPABAIGTA!%]
&b[%progress_bar
{rankup_requirement_playtime-minutes_percent_done}_c:&d|_p:&d|_r:&3|l:20_m:100_fullbar:&a&lPABAIGTA!%&b]
&b[%progress_bar
{rankup_requirement_craft-item_percent_done}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lPABAIGTA!%&b]`

nocturne field
#

what server version yall reccomend?

#

im using 1.21.3 and legit none of the plugins work lol

rotund pendant
nocturne field
#

like worldedit, deluxemenus, decentholograms

junior musk
#

idk where you saw that those didn't support it, maybe you just updated your server jar without updating plugins thinking it'd work perfectly

junior musk
#

I think that should work

vivid sparrow
#

No, I think you need to take into consideration the day, leap years etc.
31 Jan + 1 day = 32 Jan

junior musk
#

I feel like it does it automatically

#

but you could be right

#

I'll try something else when I get home

wet kindle
#

@junior musk

#

any more dependcy?

#

i downloaded utils and math

#

but doesnt work

junior musk
#

I just got out of work

#

I'll test it when I get home

wet kindle
#

ok

toxic bay
#

Does anyone know if it is possible to put 2 placeholders together via changeoutput? Because I want to use it to rename my worlds (via multiverse-core), and when I tried it, it didn't work, but only one did. Or is it possible to somehow make the placeholder not appear when the player is not in that world?

junior musk
# wet kindle ok

yeah it's not easily feasible, too many exceptions, you should probably get someone to make you an expansion that can do that

brisk narwhal
#

1.21.4 folia

#

..

junior musk
lone sandal
#

Hello,

I need to ask how can I e.g. make a placeholder so that I can make a hologram where there will be squares that will represent the number of players on the server?

ember frost
#

Hello, I'm looking for a placeholder to modify the output of my place holder to remove the , when there is one. Is this possible?

warm topaz
#

string expansion

#

%string_replaceCharacters_<configuration>_<string>%

vivid sparrow
#

No @warm topaz

#

Not that placeholder

#

Uh why is there no replace lol

warm topaz
#

yeah i looked already

#

str expansion doesnt either

tender vaporBOT
ember frost
vivid sparrow
#

%formatter_text_replace_[target]_[replacement]_<text>%

dusk rapids
#

is there a way to use %essentials_safe_online% without binding to the player? i require it for discordsrvutils and status
./papi parse --null %essentials_safe_online% dont show nothing
./papi parse me %essentials_safe_online% show good

patent wave
#

I am trying to get the Server expansion to show the correct %server_name% placeholder but it is always showing A Minecraft Server even though I edited the server.properties file to server-name=Playtest 1
Any1 know why this could happen?

magic basalt
#

Hey, can someone help with my placeholder. Is there a way i can get the placeholder to update faster than what it usually does, because i want my placeholder for my ping to update like every 40 ticks, but right now it doesn't update for like 5 seconds. Is there a way i can force it to update it faster?

proud sage
proud sage
patent wave
magic basalt
vivid sparrow
magic basalt
#

@proud sage would i need to make my plugin update the placeholders faster?

proud sage
magic basalt
#

Wdym show you the code? Like the code that shows the placeholder? There is no code for it yet to implement the faster times, im asking how i would do it

proud sage
#

Ohh okay

#

where do you use this placeholder?

magic basalt
#

On my minecraft server? What?

lone sandal
#

Hello,

I need to ask how can I e.g. make a placeholder so that I can make a hologram where there will be squares that will represent the number of players on the server?

magic basalt
#

With a hologram plugin that supports placeholder api

#

And then just use i think its %players_online%

prime oracle
#

guys does AuthMe support placeholderapi

prime oracle
digital spade
#

Can someone remind me how to display a placeholder inside of a placeholder?

prime oracle
#

%%%% ?

last lark
#

&b[%progress_bar_{rankup_requirement_craft-item_percent_done}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lPABAIGTA!%&b]
not working, why?

dusk rapids
subtle gorge
#

Hi, I would like to translate the placeholder %server_time_E%, is this possible?

prime oracle
vivid sparrow
snow bolt
#

how clear dupe x2 mine blocks in top?
%ajlb_lb_statistic_mine_block_10_alltime_value%
math api DONT WORK for the top

crystal nebula
#

Hi, is there a placeholder expansion that does text replacement?
Specifically, I want to give it a string that has spaces and get back a string that has the spaces replaced by underscores

#

But I fear that PAPI doesn't support spaces in placeholders either

junior musk