#placeholder-api
1 messages · Page 52 of 1

Thank you very much for your reply, i'll go and try that out 🙂
sob
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
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
why not just use 0?
i need to move variables through gui to gui, using the names isnt a great idea
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
honestly that gave me an idea , not the way u said it but let me see
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
bump
yeah I'm still at work
oh k
How dare you @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!

Psudo is outdated ;-;
not really
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
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 ?
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
I think it's just the amount of time where you're not dead? as in, if you die it'll pause until you click respawn
it's more interesting for animals that have baby forms and can age I think, though that doesn't really apply here with PAPI
if you want the amount of time since the last death, there's %statistic_time_since_death%
Is it possible to add a server-total placeholder to essentials placeholders?
Its the placeholder from the baltop but then the server total.
Replacement for "%statistic_player_kills%"?
why?
shows "Unknown statistic for'player_kills' check at "sitename" for more info"
%statistic_player_kills% should work just fine
can i share a screenshot?
I know the error
alr
Can the /papi bcparse command also output the placeholders for offline players? If not, how can I output them?
it does as long as the placeholders you use support offline players
Good morning
this attribute does not work in 1.21.3
%attribute_player_defaultValue_<attribute>%
do you get any errors?
yes
the expansion needs an update for newer Spigot versions
if I find the time tomorrow, I'll try to do it
okay
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?
but they are the same, aren't they?
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?
hi is there deluxemenus support here
Is there some feature/function or something that allows the text to be visible on every scale without it extending beyond the edges?
~deluxemenus
Hi, i have a problem when i added the papi to Flamecord - https://pastebin.com/F7FF0RVc
Anyone knows what is a problem?
PlaceholderAPI and ProtocolLib aren't BungeeCord plugins
you have to use them on your backend servers
No, because it depends on the gui scale of the client, and the screen resolution. I think somewhere around 4-5 words should fit most screens
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%
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.
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%
works, thanks
do you call new MedalPlaceholder().register()? Also, your identifier can not contain _
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
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
you're using the server_countdown placeholder?
you need to specify hours minutes & seconds alongside year month & day
i guess no, how can i see?
lol
?
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'
and that's PAPI, I asked for your chat plugin's config
ohhhh
why'd you resend it with a ping
sry
couldn't find it in there, I think it might be from InteractiveChat's config instead, can you send it?
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
Like that? ReplaceText: '%server_time_dd/MM/yyyy HH:mm:ss%'
yeah
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
do you have the plugin as well?
that doesn't answer my question
Hello, the placeholders of the attributes no longer work in 1.21.3
try this
put it in your /plugins/PlaceholderAPI/expansions/ folder
nop
it says "unknown attribute block_interaction_range"
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?
The same
I can't send a picture :/
the vault expansion is not working correctly i am using 1.21.3 pape, anyone have the same problem?
do you have the Vault plugin as well?
yes, i have
that all variables do not work
send a screenshot
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
Is there a placeholder to check if a username has joined the server before
hello guys, i have a question, how can i return a color in placeholder expansion?
https://api.extendedclip.com/home/
Have a look here. Look through the “server” and “player” placeholder expansions.
Can you help with javascript, I wanted to do that if a player has 0 case keys, then it is white, if 1 or more, then it is green, help
https://paste.helpch.at/utirakesif.kotlin
That's why
https://github.com/PlaceholderAPI/Server-Expansion/pull/65
Hopefully it can be merged :)
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
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%
Try lower case y @meager forge
What version is this and are you using paper or spigot
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.
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/]
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? 🙂
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
ok sorry
if i do /papi parse <player_name> %player_name% and it doesnt send me my name does that mean API aint working correctly?
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
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
Do you have the essentials expansion installed? For the baltop, are you op/have a wildcard permission *? You might have this permission you can negateessentials.balancetop.exclude
If you're using luckperms /lp user <user> permission set essentials.balancetop.exclude false
I have it installed and yes I have * perms I’ll try that and I’ll lyk if it works
hii
how do i know the functions available on javascript expansion
on PlaceholderAPI
[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
Check with your host, as it needs to be able to reach http://api.extendedclip.com/v2
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
it's nashorn for > java 15 iirc, unless you use quickjs, so staying within ES5 mostly?
Was there any update or solution?
I tried to look into it though there's no easy way to add this
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.
@junior musk
Did you install the expansion? /papi ecloud download playtime & /papi reload
What MC version? Latest version is only suggested
Fairly sure its built in then
i think i had to install plugin called PlayTime
Check on the plugin page
1.18.2
show me your /papi list
When I change the level-name world in the .properties file on my server, the statistics change, but they still don't count.
@sharp jay
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?
Is there any way to put a PAPI in a DisplayText?
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
Oh, thank you for the information.
.
PlaceholderAPI.setBracketPlaceholders
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?
We always recommend building the expansion into the plugin, the wiki explains how to achieve this
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?
oh so it just should work if I have the placeholders in my plugin?
yes
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();
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
so it is params.equalsIgnoreCase?
identifier.equals("teamname")
you can use equalsIgnoreCase if you want, but that's not the issue here
still 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());
}
%et_teamname%
I used et because my plugins name is easyteams
Yeah, the "identifier" from onPlaceholderRequest (use onRequest) gives you what's after the first _, in your case teamname.
getIdentifier should return "et" or "easyteams"
so I should use onRequest instead off onPlaceholderRequest
onRequest has String params, which can't be confused with the actual identifier of the expansion, unlike String identifier from onPlaceholderRequest
I love being ignored
it is
new ExpansionClass().register()
new PlaceholderExpansion(this, teamManager).register();
send your expansion class again and a screenshot of the placeholder not working in game
?imgur
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;
}
}
as I've said previously, it's %<identifier>_<params>%
which means this
oh
- this
@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());
}
no
it's still this in the code
this is correct
this goes in your config or ingame
wherever you want to display the placeholder
yep works now thanks
I need help
There is no time to wait! Ask your question @lofty ice!
Technically, my downloads folder has a quick access to my storage unit and every time I click into downloads or to the storage unit, they appear the same thing and I’m wondering if that if that’s a quick access to download and to the storage unit
If i can 6 rows named %{_iname}%???
is there any placeholder to parse nearest player OR parse players under x radius
There's the expansion ParseNear https://api.extendedclip.com/expansions/parsenear/
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 ?
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?
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
Ok, I'll try it later, thank you
thanks, this works.
is it also possible to find distance between the player
tried with math expansion and distance formula but it was getting complicated
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
i know u can use utlis but for custom font, that i dont know
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': ₉
alright thanks
is there any other way? i can't get it work with chat format plugins even if they support placeholder api
ops mb
does it work if you do /papi parse?
yes.
well then it should work in chat just fine
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
if other papi placeholders work, this one should work as well.
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}
probably because the plugin first replaces the papi placeholders, and then its own ({message} in this case)
oof, it works for others just not chat, is there any other way you would know
nope, sry
?dm-pixelmon
hello, why is the name not recognized as view requirement?
has_suspicious_snowball: type: "string equals" input: "%checkitem_mat:SNOWBALL,nameequals:F7EB3Suspicious Snowball,amt:20%" output: "yes"
did you install checkitem expansion
yes, it's already working on my other view requirements
it's ok I just use an oraxen reference now just like the ones that is working.
thanks btw.
👍
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%
HI are we able to reset a placeholders value please like i want to reset all data from statistic players kills please ?
That depends on what are you tracking
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
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?
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.
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.
Have you got a link to the source code we could take a look at?
Sorry, I figured it out myself, I just needed to create a papi expansion for my server, I thought that uploading to eCloud was a mandatory procedure
All good
Ironic that our own domain isin't whitelisted
Hello, WorldBorder ecloud seems not to be working. I'm not sure how to get the world border size without it.....
It's not verified, need to download it manually https://api.extendedclip.com/expansions/worldborder/
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
add HH:mm (hour and minutes) to the format and 00:00 to the value @fallow spindle
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]```
you have an error related to BuyCraftAPI expansion, can you try to delete that expansion and redownload it?
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
I think there is a skript expansion that does smth like level::player
%skript_level::{player}%
https://api.extendedclip.com/expansions/skippi
do i need to change my variable or only at the external plugin?
only when using the PAPI placeholder
didn't work
you can keep using level::%player% on skript or whatever the syntax is, but when using it in other plugins through PAPI, you have to use this
and the link you get from /papi dump
it just doesnt display
no errors
the variable just doesnt connect
it displays N/A
then your level variable doesn't exist/doesn't have any value for that player
it does exist and does have a value
or maybe you just don't need the ::
let me try
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
does it work when you try to show it within Skript?
yes
anything i can do?
idk, I'm in the train right now
/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?
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 ?
second option don't work at all in my case. Part before wait actually works but ajleaderboards requires numerical value (i need this to make somewhat funny player profiles and export some data to mysql database to use it on website - in this case it will be kind of having insurance policy
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)?
I've found ChangeOutput expansion which may help but it will complicate it even more
Is there a way to add tabcompletion of placeholders in /papi parse with internal expansions?
Tell me, is there a placeholder that determines how many players are within a certain radius of another player?
override the getPlaceholders method
%checkitem_amount?
fix what?
you didn't provide any actual issue nor screenshots or errors or anything
They shouldn't be able to, but if they are somehow able to parse placeholders, it'd be an issue (since those don't have any permission check)
which is why we recommend using commands instead
I'm literally blind 🤔 I've tried multiple options, even amt: but haven't noticed that option. Will try if after work. T.hanks 👍
Can you help I installed pinger and am trying to ping my server it says Offline oh that's not true
@support
Help please
was there ever a solution to bungee placeholders being weird, slow or returning 0 always
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
Is there support for folia with PlaceholderAPI?
?paste
technically no but you can compile this open PR for folia support https://github.com/PlaceholderAPI/PlaceholderAPI/pull/980
Where would I find the pom.xml file for PlaceholderAPI?
🙃 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
Bonjour j’aimerais rajouter une expansion interne pour le plugin beautyquest comment faire merci
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
Check your console. There may be an error on start up that has disabled the plugin.
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
Yes, search the ParseOther expansion on the PAPI ecloud.
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?
hi i wanted to see placeholders for a plugin how can i see?
Likely on the plugin page/wiki
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
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
Hi, where can I get the latest "Player" expansion
ECloud
Does anyone know why the %essentials_baltop_player_stripped_2% comes up with "tax" instead of a player name?
How do we show the role name?
It sounds like you have bank accounts and they are hidden from the /baltop command, but not from the placeholder
How can I fix that?
Idk, the expansions probably needs to take them into consideration
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%'
How can I show the 10 people with the most kills in a menu? @lilac oxide
sory
Hii, Can someone respond to my ticket pls -> 'general-plugins-2' ?
Would anyone know what's causing this to happen? https://paste.helpch.at/uwulonatef.rb
If anyone has any other suggestions, that didn't help ^
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?
https://github.com/placeholderapi check here @sonic tartan
Do you mean the search a repository section?
There isn't Expansion-SkillAPI
Sorry for the ping
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
I see. Thanks, guys. Just think will try my luck here.
Hi, any idea why this happened and a possible solution? https://paste.helpch.at/xegafamomo.md
updated all expansions, if it happens again i'll be back.
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.
https://pastebin.com/Mgp5T4XM
is there an issue with the Attribute expansion or an issue to my side?
issue with the expansion
its been raised here https://github.com/PlaceholderAPI/Attribute-Expansion/issues/3
?
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
They didn't say that, but regardless opped players probably get the essentials.balancetop.exclude permission, make sure it's negated.
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.
whats the exact issue?
We dont know. Code just dont work. I can send.
`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 `
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!%
Can I dm you or there is channel where I can send photos?
is this compatible with 1.21.4?
https://api.extendedclip.com/expansions/attribute/
i get an error
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,
will be once this is merged https://github.com/PlaceholderAPI/Attribute-Expansion/pull/4
@vivid sparrow, it is kinda a hotfix, but any chance of merging?
null is fine iirc
whats the release eta
and if it's not annotated as @NotNull, then 🤷♂️
compile it if u need it asap
it 100% is tho
Can you remove the limitation to GENERIC_ or PLAYER_? I think thats another issue in 1.20+ , they changed the name
please help
can someone help me?
yeah the names were changed, but I'm not really too sure why this is here in the first place?
I have tested it and it works, u still want me to remove that part?
Yes, attributes are filtered by that criteria and then cached
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?
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)
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 `
pooshed
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?
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
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
https://paste.helpch.at/xoqolozeha
papi dump here
Has anyone got any advice on this please?
Any help on this would be greatly appreciated
Thanks, ill approve and push the update when i get home
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
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
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
done @warm topaz, thanks again!
Good day! Attribute expansions seems updated according to the post
but I** can't seem to download it with /papi ecloud download Attribute**
Thanks!
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
is ```cloud_sorting: name
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
disable ecloud in your PAPI config
I'm pretty sure that's just to sort expansions when fetching them from the ecloud
you can just leave it as is
is there are any other option if i dont want to disable it?
If you can't connect to it, why keep it enabled?
yes, but it needs to be fixed somehow, and not just forgotten about
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?
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.
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
Thank you that is it.
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
could be a firewall issue 🤷
uh, seems like thats my cringe provider doing weird things again but thanks anyway
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
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
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 =/
We were never able to reproduce the problem
Is there a way I can make that the TAB show as:
(rank) {player} (guild)
in the header?
header? or name tag (above player head)
In the player lists
good morning! I can't ❌ still download the Attribute Expansion
with /papi ecloud download Attribute
fails? error?
why not? cant you just use the placeholders in the format?
huh? I'm asking if theres a way
for TAB
Define "can't"
Failed to find an expansion named: Attribute
using latest version paper 1.21.4 and placeholderapi
for the meantime, I just downloaded it manually for ecloud website and registered using papi register, all good tho
All /papi ecloud download does is to get the jar from the ecloud and put it in your server files, you can do that manually. The expansions are loaded on /papi reload, it doesn't matter how they got to your server.
yep
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
Im not sure what Im doing wrong
%checkitem_getinfo:<mainhand>_<custommodeldata:<50023>>%
You don't need the <> %checkitem_getinfo:mainhand_custommodeldata:50023%
where can we get the development builds?
@cunning elk
OMG! I sussed it
I finally worked out what caused the zip file closed issue, yay 🙂
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
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
Using %formatter_number_shorten_{vault_eco_balance}% for now, it atleast returns 1 decimal which is better than 0
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
or some way to convert this format to the one I want, if I put 5m 30s, it will convert to seconds only.
Yes in the “server” expansion. I’m not sure about your exact usage but this is your best option
I really want to make a kind of global timer or cooldown, and I don't want to use the javascript papi.
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
1.21.4 support?
si pero si quieres poner muchas variables dentro de otra tienes que usar otra papi para eso, ya que el mazximo es 2 variables dentro de otra algo asi %variable_{variable}%
si quieres mas tipo esto %variables_{variable_{variable}}% usa tambien la papi Utils
intenté
como, a ver
%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!}%
ahi estas usando ya mas de 2 variables dentro de otra
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!}%
¡Funciona! Gracias.
Dónde encuentro información de ese utils
no veo la expansión en https://wiki.placeholderapi.com/users/placeholder-list/
en la misma wiki del Placeholderapi
esta como Utils
oh
que raro
en la wiki antigua si esta
igual la puedes buscar en google y te sale
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?
do you mean %player_item_in_hand_data%?
this only works if the player is holding the item no? I need it to work for an item in a chest for example
uh, idk, maybe custom plugin or your item's plugin
idk if this works
%checkitem_nbtstrings:PublicBukkitValues..executableitems:ei-id=Free_Money%
https://wiki.placeholderapi.com/users/placeholder-list/#checkitem
Hello, we can't use component for placeholders expansions ? ``` public @Nullable String onPlaceholderRequest(Player player, @NotNull String params) {
you can by doing something similar instead of return the component ``` return MiniMessage.miniMessage().serialize(component);
There is currently no no folia supported planned, or? I only saw the PR
how i fix this?
Is the deluxemenu available for 1.21?
No
Failed to load class files of expansion. (fixed - updated cause)
https://github.com/PlaceholderAPI/PlaceholderAPI/issues/1012#issuecomment-2608095706
Me puedes ayudar con algo?
Claro dime
how do i add 1 to a placeholder with /papi cmdparse ?
permanatly like i want to add 1 to a placeholder
Does Placeholder API support 1.21.4?
yes, although some expansions may require updating
hello, is there a way to get the players' name in a specific region (world guard)?
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
I don’t believe that a placeholder can be used for the material option
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%)
someone knows how to parse per line?
if i use %placeholder_example% i get
line1
line2
line3```
i just wanna show `line2` for example
Parse per line? You will need to give a proper example here or explain how you are using PlaceholderAPI
when i parse %quests_player_compass_quest_objectives% it gives me multiply lines
It should update fine with [refresh]. Not with update: true.
when parsing on scoreboard, new line doesnt parse
Are you creating the scoreboard plugin or is it just one you've got from somewhere?
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.
i could use changeoutput expasion but it will take a loot of conditions
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
The statistic expansion takes the kill count from your server. Are you sure your server tracks statistics?
thanks
Look in spigot.yml. There should be this option, possibly at the end of the file:
stats:
disable-saving: false
If the option is set to true, it means that your stats are not being tracked by your server. Change it to false and restart the server.
@long mauve
it doesn't update with refresh
Ah yeah. I was wrong. There is no way to do that
idc if this is from 2 years ago or if im js stupid i was tryna find this out for 4 hours bro ty😭
Hello!
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%
if you parse %strikepractice_kdr% does it return 2 or 2.46? @final idol
It will then return, for example, 2.0
` - 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?
Could be
I just ask, because it is default
And I wanted to make sure that here it is counted in seconds
deluxemenus
Or you can add it to the format {#e6d690>}test ad1 bash please and {#aa1199<}
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
^ 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
anyone know why my simplekilltracker isnt working after dowloading it
Are you using these placeholders?
%simplekilltracker_kills%
%simplekilltracker_deaths%
%simplekilltracker_kdr%
Try using /papi parse me %simplekilltracker_kills%, tell me what it tells you
i am using those ill show you how ive laid it out
"&bLevel: %levelcolor%",
"&bNeeded EXP: &7%clv_player_exp_required%",
"&bGold: &60",
"",
"&bKills: &7%simplekilltracker_kills%",
"&bDeaths: &7%simplekilltracker_deaths%",
"&bK/D: &7%simplekilltracker_kdr%",
What happens if you try /papi ecloud download SimpleKillTracker in-game, then /papi reload
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?
tried that
didnt change anything
Strange, where did you install the plugin from?
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%
Yes, it does.
@placid python
Copy your log into https://paste.helpch.at/
We can't access your panel
Now send us the link after you've saved it :)
https://paste.helpch.at/roxijikedo.css <-- this explains how to do it for you
[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?
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
ur the best
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
%formatter_number_format_:###.#_{vault_eco_balance}%
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
you've got a few examples at the bottom of its wiki page https://github.com/Andre601/Formatter-Expansion/blob/master/placeholders/number/format.md
just the placeholder website
plugin
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?
Essentials doesn't support PlaceholderAPI
So I should just switch chat plugins and it would be fine?
yeah
Thank you, sorry I was not aware of that
if you just need a simple chat format, you can use LPC
how can i convert to vault formatted method 100k to 100.89K
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.
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%
no the single math placeholder does the rounding last and that does not work i need the rounding done before the *3
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.
once again, check the placeholder I sent
wtf.. i Ligit tried exactly that like an hour ago...
maybe you had the last parenthesis around the *3 as well instead of before it
nah because i understood it needed to be done before that.
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.
sometimes, all you need is a good night's sleep ¯_(ツ)_/¯
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.
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}%
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. 
looking for placeholder that outputs if player is walking or player is idle
How do i parse placeholders in the scoreboard and tablist?
im new to this api
please reply when responding
you just put it as if it were a text, for example in your scoreboard, Rank: %variable%
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.
does placeholder still work 100% fine with 1.21?
seen a lot of plugins absolutely freak out with a ton of issues
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
Hello what is the palceholder of VoteParty
i want to check status of vote
like 0/10 needed vote for voteparty
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
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
i bought the plugin
LINK THEE account
how
my spigot username is Internets
HERE
=check @livid snow
can you help me Adam?
WAIT
enabled: true
commands:
- crate key give %player_name% rare 3
- crate key give %player_name% legendary 2```i up
where is the broadcast cmd
i removed it
i only want /crate key give command
how to fix
also when i start voteparty it doesnt start this
enabled: true
commands:
- broadcast &#FB6908&lV&#FB6908&lo&#FB6908<&#FB6908&le &#FB6908&lP&#FB6908&la&#FB6908&lr&#FB6908<&#FB6908&ly &7&l> &fThe Vote Party has ended!```
- 'broadcast &#FB6908&lV&#FB6908&lo&#FB6908<&#FB6908&le &#FB6908&lP&#FB6908&la&#FB6908&lr&#FB6908<&#FB6908&ly &7&l> &fThe Vote Party has ended!'
?
do this instead
bro my problem is this
enabled: true
commands:
- crate key give %player_name% rare 3
- crate key give %player_name% legendary 2```i up
PUT ' around it
enabled: true
commands:
- 'crate key give %player_name% rare 3'
- 'crate key give %player_name% legendary 2'```
where can u type fix verson
like that
still no work
wym by full menu
oh ok
i dmed you the downlaod link for config
not in dms
this
check
be patient
ill let glare the owner of the plugin deal with this once he gets on
Also the effects when voteparty start is missing
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)
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?
I know the normal placeholders but i need other player's not the triggering player.
Like if i use that command the placeholders returns my data. So i need the giving player's data like 1st arg
Whats the best way to keep async placeholders upto-date
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%
Does papi work on folia?
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
does anyone know a fastlogin variable?
Math expansion lol
Really helpful expansion
You’d just do %math_(placeholder1)+(placeholder2)%
with {}, not ()
yeah^ didn’t use the () literally but that’s good advice
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...
my voteplugin doesnt work correctly
Is it possible to find out the current 'repaircost' item. Is there such a placeholder?
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%
just would like to report the checkitem expansion in 1.21.3 is completely broken 🙂
Hello i was wondering what requirements do i have to put when making a custom shop using deluxemenu
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.
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?
Does papi work on folia?
it's not supported but you can try and see
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.
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.
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"
Hey how can show playtime of the player in scoreboard
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...
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
%player% doesnt exist in papi, it is usually an internal placeholder used by some plugins.
Oh I see, that makes more sense as to why a singular placeholder wasnt working lol
Thanks Gaby :)
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
isn't there something in bukkit.yml about saving stats? or one of the server config files
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!
i dont think essentials supports placeholderapi
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
seems u can read better than me
I believe I already did that
Does player show in /papi list?
What does /papi parse me %player_name% show in chat? does it return your name or %player_name% ?
it did return %player_name%
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
i rejoined and now it works thanks
how to register on ecloud?
@vivid sparrow
Does anyone know how to fix the placeholderapi error that tells me that the expansion name is missing?
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?
Please dont ping be patient
/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}%
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}%
@junior musk ?
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]`
I need every 18:00
what server version yall reccomend?
im using 1.21.3 and legit none of the plugins work lol
'none of the plugins', which plugins are you trying to run?
like worldedit, deluxemenus, decentholograms
WE supports 1.21.3 https://modrinth.com/plugin/worldedit/versions
DeluxeMenus works on 1.21.3 though also requires PlaceholderAPI (which supports 1.21.3 as well). Though if you encounter issues with the current release, you can always try dev builds https://ci.extendedclip.com/job/DeluxeMenus/
And DecentHolograms also support 1.21.3
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
%utils_parse_server_countdown_dd.MM.yyyy-HH:mm:ss_{math_0_{server_time_dd}+1}.{server_time_MM}.{server_time_yyyy}-18:00:00%
I think that should work
No, I think you need to take into consideration the day, leap years etc.
31 Jan + 1 day = 32 Jan
I feel like it does it automatically
but you could be right
I'll try something else when I get home
its saying invalid date
ok
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?
yeah it's not easily feasible, too many exceptions, you should probably get someone to make you an expansion that can do that
please help
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?
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?
Ty but where I put my placeholder {crazycrates_common_total} ? I've already tried-
%formatter_text_replace_[target]_[replacement]_<text>%
?
ty ❤️
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
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?
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?
go to the placeholderapi folder, then to config.yml and you will find the server name there
depends on the plugin you use, not on placeholderapi
try with %server_online%
aaaaaah okay, makes sense
Thank you very much!
Well i have the placeholders with my custom plugin
The value is read from papi config
@proud sage would i need to make my plugin update the placeholders faster?
Show me the code
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
On my minecraft server? What?
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?
With a hologram plugin that supports placeholder api
And then just use i think its %players_online%
guys does AuthMe support placeholderapi
What do you want it for
Use decentholograms since it supports placeholderapi, set placeholder as a text like Hello %player_name% there are %players_online% people on the server
Can someone remind me how to display a placeholder inside of a placeholder?
%%%% ?
&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?
i need this for safe online players, for vanished players dont show online
Hi, I would like to translate the placeholder %server_time_E%, is this possible?
%server_date_e% will output the day of the week, it uses java simpledateformat to output the time, for example
yyyy : Year in 4 digits (e.g., 2025)
MM : Month in 2 digits (e.g., 01 for January)
dd : Day of the month in 2 digits (e.g., 09)
HH : Hour in 24-hour format (e.g., 14 for 2 PM)
mm : Minutes in 2 digits.
ss : Seconds in 2 digits.
For a scoreboard or..?
@subtle gorge in papi config should be an option called "locale" under the server expansion.
https://www.oracle.com/java/technologies/javase/jdk8-jre8-suported-locales.html "Language tag"
how clear dupe x2 mine blocks in top?
%ajlb_lb_statistic_mine_block_10_alltime_value%
math api DONT WORK for the top
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
it does
%formatter_text_replace_<text to replace>_<replacement>_<input>%
