#placeholder-api
150650 messages · Page 113 of 151
Hello ❤️ I am trying to use a placeholder with a material name (DIAMOND_BLOCK) but it interferes by having Underscores (_) with those of the placeholder. How could I escape them or something? I have tried using '_' and also \_
It is on the Config Placeholder BTW
hey i added pinger and im pinging localhost :2000 and thats what my hub is and its saying its offline
how could i with placeholders get the nthIndexof a string? I have a comma separated string and I want to output specific things for each element, but the only placeholders i found for string is indexof and lastindexof
Bungee placeholders doesn't support vanish
Does anyone know a placeholder which displays distance flown with elytra?
I imagine there would be something within the statistic expansion
I want to use a placeholder that doesn't need to get a player as a parameter, for example %ajlb_lb_notbounties_bounty_1_alltime_name% but it still asks for a player input for some reason
Should I put a random player because it doesn't matter
for some reason my vault_eco_balance placeholder isn't working at all in my 1.20 server. Already downloaded the expansion pack
editing the message doesn't remove the ping from my phone 
/papi dump
Make sure you have vault and an economy plugin installed 🙂
what type of economy plugin?
I thought vault was my economy plugin xD
Vault is just an api that other plugins use and extend, it doesnt do anything on its own
Essentials is an economy plugin and it should work, hmm
/papi parse me %vault_eco_balance% what does that return @hollow depot
nvm, it didn't register
%vault_eco_balance%
ya
send that over 
?paste
okay I send it in the pastebin
I think
Click How To Use above, you need to share it here
staff plus might be stopping vault from registering somehow
seems to be causing errors in papi when you reload
try deleting that expansion @hollow depot
which expansion?
staffplusplus
I want to use a placeholder that doesn't need to get a player as a parameter, for example, %ajlb_lb_notbounties_bounty_1_alltime_name% but it still asks for player input for some reason. Should I put a random player because it doesn't matter
where are you trying to use it
wdym "asks for player input"
@Override
public void run() {
Group group = luckPerms.getGroupManager().getGroup("mostwanted");
if (group == null) {
this.cancel();
}
group.getNodes().forEach(node -> {
if (node.getType() == NodeType.INHERITANCE) {
group.data().remove(node);
}
});
User user = luckPerms.getPlayerAdapter(Player.class).getUser(PlaceholderAPI.setPlaceholders("%ajlb_lb_notbounties_bounty_1_alltime_name%"));
user.setPrimaryGroup("mostwanted");
}
}.runTaskTimer(this, 0, 10*20);```
This is the code. It doesn't let me do PlaceholderAPI.setPlaceholders("%ajlb_lb_notbounties_bounty_1_alltime_name%") It ask for a player for example PlaceholderAPI.setPlaceholders(Player, "%ajlb_lb_notbounties_bounty_1_alltime_name%")
can you put null for the player
Nope it say required type player
hmm, I got no errors compiling or anything, but not tested in-game
Do you get an error?
Yes, I will just generate a random player it should work it's just a little dumb
I thought placeholders worked fine with null
which is why I'm confused
you can even /papi parse --null %placeholder% in chat
🤷♂️
I would send you the error but I can't send a screenshot here
the problem is your logic, not the placeholder
luckPerms.getPlayerAdapter(Player.class).getUser() getUser expects a player, and setPlaceholder returns String
It's my first time using this API, so it's possible I am doing something dumb.
Thanks that was stupid
https://paste.thezomg.com/168644/16881534/ Exception trying to use gradients with hex values.
It does work without the #, but considering that's what it shows in the documentation probably still a problem
#000000 is a pretty standard format for hex codes though
yeah, idk why it doesn't work, maybe they forgot about it 🤷
probably how long the player is in sneak?
the total time you've been sneaked ever since you joined that server for the first time
is there a placeholder that could check for status effects?
im trying to make a quest for defeating a raid, and want to check for hero of the village
are they considered potion effects?
🤷♂️
Hey Im currently the lead dev of Heroes, and just wanted to go about updating the existing Heroes expansion since it straight up does not work anymore.
Since I've completely reworked it, I've changed all the placeholders that are used. I know that the placeholder tab completions for Heroes will need to be changed, (not sure if that pulls from the cloud or not).
The new expansion and also a README containing all placeholders can be found here
https://github.com/RAVINGAR/Heroes-Expansion
Let me know what I have to do (since I cant create an account myself on eCloud)
I would recommend inlining the expansion into the plugin itself. If you still want to do an external expansion to keep it separate, we can get an account setup most likely
Ah okay cheers
heeey, can i use method PlaceholderAPI#setPlaceholders without specifying player?
i need placeholder only for online players count on server
use null
and it will not return error?
no
okaay thanks
Can anyone approve the pull request?https://github.com/PlaceholderAPI/Player-Expansion/pull/84
I need this feature badly
do u have a jar for this? we usually like do some testing before merging PRs
idk how to
%player_has_potion_effect_<effect>%
%player_potion_effect_level_<effect>
@restive nova, please let us know if theres any issues
Hello. I have a bungee network and I want that it show how many player are in the server Bedwars for ex. I put placeholder on npc like this %bungee_bedwars% and %bungee_<bedwars>% obviously I downloaded and reloaded it
hi i have a problem with the plugin placeholder api, When i write /papi ecloud donwload Player or server i get out Unknow command:ecloud donwload why?
Id not donwload but download
anyone got papi folia jar?
Aloha guys 👋🏼
I have some littles problems with papi :
[10:38:22 WARN]: java.lang.IllegalArgumentException: Invalid key. Must be [a-z0-9/._-]:
[10:38:22 WARN]: at com.google.common.base.Preconditions.checkArgument(Preconditions.java:220)
[10:38:22 WARN]: at org.bukkit.NamespacedKey.<init>(NamespacedKey.java:86)
[10:38:22 WARN]: at org.bukkit.craftbukkit.v1_19_R3.util.CraftNamespacedKey.fromMinecraft(CraftNamespacedKey.java:24)
[10:38:22 WARN]: at org.bukkit.craftbukkit.v1_19_R3.block.CraftBlock.biomeBaseToBiome(CraftBlock.java:366)
[10:38:22 WARN]: at org.bukkit.craftbukkit.v1_19_R3.block.CraftBlock.biomeBaseToBiome(CraftBlock.java:358)
[10:38:22 WARN]: at org.bukkit.craftbukkit.v1_19_R3.CraftRegionAccessor.getBiome(CraftRegionAccessor.java:220)
[10:38:22 WARN]: at org.bukkit.craftbukkit.v1_19_R3.block.CraftBlock.getBiome(CraftBlock.java:342)
[10:38:22 WARN]: at com.extendedclip.papi.expansion.player.PlayerUtil.getBiome(PlayerUtil.java:228)
[10:38:22 WARN]: at com.extendedclip.papi.expansion.player.PlayerUtil.getCapitalizedBiome(PlayerUtil.java:232)
[10:38:22 WARN]: at com.extendedclip.papi.expansion.player.PlayerExpansion.onRequest(PlayerExpansion.java:300)
[10:38:22 WARN]: at PlaceholderAPI-2.11.3.jar//me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:119)
[10:38:22 WARN]: at PlaceholderAPI-2.11.3.jar//me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:71)
[10:38:22 WARN]: at PlaceholderAPI-2.11.3.jar//me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:99)
[10:38:22 WARN]: at InteractiveChat-4.2.7.1.jar//com.loohp.interactivechat.utils.PlaceholderParser.parse0(PlaceholderParser.java:104)
[10:38:22 WARN]: at InteractiveChat-4.2.7.1.jar//com.loohp.interactivechat.utils.PlaceholderParser.parse(PlaceholderParser.java:83)
[10:38:22 WARN]: at InteractiveChat-4.2.7.1.jar//com.loohp.interactivechat.modules.PlayernameDisplay.processPlayer(PlayernameDisplay.java:104)
[10:38:22 WARN]: at InteractiveChat-4.2.7.1.jar//com.loohp.interactivechat.modules.PlayernameDisplay.process(PlayernameDisplay.java:85)
[10:38:22 WARN]: at InteractiveChat-4.2.7.1.jar//com.loohp.interactivechat.listeners.OutMessagePacket.processPacket(OutMessagePacket.java:599)
[10:38:22 WARN]: at InteractiveChat-4.2.7.1.jar//com.loohp.interactivechat.listeners.OutMessagePacket.access$200(OutMessagePacket.java:84)
[10:38:22 WARN]: at InteractiveChat-4.2.7.1.jar//com.loohp.interactivechat.listeners.OutMessagePacket$1.lambda$onPacketSending$0(OutMessagePacket.java:484)
[10:38:22 WARN]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
[10:38:22 WARN]: at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[10:38:22 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[10:38:22 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[10:38:22 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)
Is it possible to make a placeholder on a another plugins placeholder?
It's probably possible if you extend your class with the expansion class of the plugin
there's an issue with %player_biome_capitalized%, idk how that's possible, do you use custom biomes? like with a datapack or smth
What is the placeholder api to see the month/day/year?
%static??
download "Server" expansion
Then you can try to use this command to test it:
/papi parse %server_date_yyyy-MM-dd-HH:mm:ss%
time* not date
thnks, I can't
bro he said "to see month/day/year?"
"Bro" thats the name of the placeholder 🙂
Is there a placeholder that detects what item player has in hand?
Because i cant find the needed info from this - https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#checkitem
%player_item_in_hand%
hi can some1 tell me how to remove this error?
[PlaceholderAPI] Failed to load expansion Expansion-advancements.jar (is a dependency missing?)
i accidently downloaded this by doing /papi ecloud download Advancements
now i can't seem to remove thsi error
Hello. I have a bungee network and I want that it show how many player are in the server Bedwars for ex. I put placeholder on npc like this %bungee_bedwars% and %bungee_<bedwars>% obviously I downloaded and reloaded it
/papi ecloud download Bungee
/papi reload
%bungee_<server name>%
That's what i did for my npc
Can anyone help?
nvm solved it
hi me need register in ecloud, help pls
But i havé to put <>
no need
for mine i did, %bungee_PvP%
Ok
Is that the only placeholder? because it the Enum Constant, and it doesn't really look pretty
oops
bump
how do i determine which team %team_color% picks from
the problem is itll be on a hologram
not a player
if the hologram plugin supports PAPI and has per-player view, it'll parse the placeholders for the player
well the thing is its a leaderboard
so ideally id have something like
%objective_scoreposhigh_{Points}_{1}% - %team_color%%objective_entryposhigh_{Points}_{1}%
but idk how to get that player's team color
/papi ecloud download Utils
/papi reload
%utils_parseother:[{objective placeholder}]_{team_color}{objective placeholder}%
don't forget to put the actual objective placeholder
couldn't copy-paste because I'm on phone xD
like this? %utils_parseother:[{objective_entryposhigh_{Points}_{1}}]_{team_color}{objective_entryposhigh_{Points}_{1}}%
yup
i get an internal error when i try to parse it
doesn't seem like the team placeholder supports offline players
/papi parse --null %objective_entryposhigh_{Points}_{1}% returns waxton and i am not offline
isnt the team placeholder trying to get my team?
check /papi parse <player> %team_color% while offline from console
yeah i just tried that with an offline player and it errored
yeah so it doesn't support offline players
Is there a placeholder that detects what item player has in hand?
I know there is a placeholder%player_item_in_hand%, but it only projects Enum Constant output., which doesn't look pretty
you could use the Javascript expansion to edit the format
like replacing _ by spaces and toLowerCase the result
https://paste.helpch.at/etaxuhuwet.md
Any idea what causes this?
Hello, does anyone know what the variable to place the capacity bar of a server is like?
is there any placeholder that returns what direction a block is facing?
No
very sad
https://imgur.com/a/QT0TYS4
What placeholder would make this work
Hello, does anyone know what the variable to place the capacity bar of a server is like?https://imgur.com/sB4V0cQ
Hello, does anyone know what the variable to place the capacity bar of a server is like? https://imgur.com/sB4V0cQ
[02:37:05 INFO]: X issued server command: /papi reload
[02:37:05 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[02:37:05 INFO]: [PlaceholderAPI] Fetching available expansion information...
I do not know, sorry
does anyone has acess to mmoplus expansion?
It’s possible with the Progress expansion
1,2,4 met
but message at 3 display
open_requirement:
minimum_requirements: 3
stop_at_success: true
requirements:
'air':
type: 'string equals'
input: '%checkitem_inhand%'
output: 'yes'
deny_commands:
- '[message] &e<&e&l!&e> &fVui lòng cầm vật phẩm trên tay'
'have special enchant':
type: '!string equals'
input: '%checkitem_getinfo:mainhand_lorecontains:ae_enchantment%'
output: ''
deny_commands:
- '[message] &e<&e&l!&e> &fVật phẩm không có cường hóa đặc biệt'
'abiding':
type: string equals
input: '%checkitem_inhand:main,lorecontains:Abiding%'
output: 'yes'
deny_commands:
- '[message] &e<&e&l!&e> &fKhông có cường hóa &b{enchantment} &ftrong vật phẩm của bạn a'
'haste':
type: string equals
input: '%checkitem_inhand:main,lorecontains:Haste%'
output: 'yes'
deny_commands:
- '[message] &e<&e&l!&e> &fKhông có cường hóa &b{enchantment} &ftrong vật phẩm của bạn h'
“Mmoplus” expansion comes from a pre-fab setup
It’s not a public expansion
optional: true
?
Hey, anyone else had an issue where %player_name% output is now You instead of player's name?
alright
I can take a look quick to see if I recognize any
Probably EssentialsX
Idk why so many plugins do this
Nah, they don’t have papi
It’s gonna be a weirdness
Any plug-in that provides an expansion should use their own name as the identifier, but they’ve chosen to use “player”
not optional, but i use other way
thanks for your suggest
Ok
How do I use placeholders in a placeholder?
Example:
%worldguard_region_owner:lobby,%player_x%,%player_y%,%player_z%%
^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^
/papi ecloud download Utils
/papi reload
%utils_parse_worldguard_region_owner:lobby,{player_x},{player_y},{player_z}%
okay, Thanks!!
Hi im getting this error when i do papi ecloud bungee https://paste.helpch.at/apoququzep.php
[02:37:05 INFO]: X issued server command: /papi reload
[02:37:05 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[02:37:05 INFO]: [PlaceholderAPI] Fetching available expansion information...
I had this since 3 days, redownloading plugin not help
Is there a system where I can show the placeholders by combining the player numbers of 2 servers?
/papi reload not reloading plugin ,/papi dump nothing make
only i have this problem?
What are the placeholders to determine player location?
%player_x% %player_y% %player_z%
is there a placeholder that says if the player has the resouce pack enabled or not
cause probably its not a bug and its a you issue instead :/
What bug?
[02:37:05 INFO]: X issued server command: /papi reload
[02:37:05 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[02:37:05 INFO]: [PlaceholderAPI] Fetching available expansion information...
/papi reload not reloading plugin ,/papi dump nothing make
[10:09]
I have this error:
[20:50:43 WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.11.3 generated an exception whilst handling plugin message java.lang.IllegalStateException: java.io.EOFException at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:408) ~[patched_1.16.5.jar:git-Purpur-1171] at com.extendedclip.papi.bungeeexpansion.BungeeExpansion.onPluginMessageReceived(BungeeExpansion.java:123) ~[?:?] at org.bukkit.plugin.messaging.StandardMessenger.dispatchIncomingMessage(StandardMessenger.java:455) ~[patched_1.16.5.jar:git-Purpur-1171] at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:3236) ~[patched_1.16.5.jar:git-Purpur-1171] at net.minecraft.server.v1_16_R3.PacketPlayInCustomPayload.a(SourceFile:44) ~[patched_1.16.5.jar:git-Purpur-1171] at net.minecraft.server.v1_16_R3.PacketPlayInCustomPayload.a(SourceFile:9) ~[patched_1.16.5.jar:git-Purpur-1171] at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:55) ~[patched_1.16.5.jar:git-Purpur-1171] at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[patched_1.16.5.jar:git-Purpur-1171] at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.5.jar:git-Purpur-1171] at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.5.jar:git-Purpur-1171] at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.5.jar:git-Purpur-1171] at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1339) ~[patched_1.16.5.jar:git-Purpur-1171] at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1332) ~[patched_1.16.5.jar:git-Purpur-1171] at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.16.5.jar:git-Purpur-1171] at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:1308) ~[patched_1.16.5.jar:git-Purpur-1171] at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1152) ~[patched_1.16.5.jar:git-Purpur-1171] at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:293) ~[patched_1.16.5.jar:git-Purpur-1171] at java.lang.Thread.run(Thread.java:833) [?:?] Caused by: java.io.EOFException at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:346) ~[?:?] at java.io.DataInputStream.readUTF(DataInputStream.java:595) ~[?:?] at java.io.DataInputStream.readUTF(DataInputStream.java:570) ~[?:?] at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:406) ~[patched_1.16.5.jar:git-Purpur-1171] ... 17 more
Need help
Error:
java.lang.IllegalStateException: java.io.EOFException
at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:472) ~[guava-31.1-jre.jar:?]
at com.extendedclip.papi.bungeeexpansion.BungeeExpansion.onPluginMessageReceived(BungeeExpansion.java:123) ~[?:?]
at org.bukkit.plugin.messaging.StandardMessenger.dispatchIncomingMessage(StandardMessenger.java:455) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleCustomPayload(ServerGamePacketListenerImpl.java:3580) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundCustomPayloadPacket.handle(ServerboundCustomPayloadPacket.java:37) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundCustomPayloadPacket.handle(ServerboundCustomPayloadPacket.java:15) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:51) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.19.4.jar:git-Paper-538]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1342) ~[paper-1.19.4.jar:git-Paper-538]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[paper-1.19.4.jar:git-Paper-538]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1319) ~[paper-1.19.4.jar:git-Paper-538]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1312) ~[paper-1.19.4.jar:git-Paper-538]
at net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:114) ~[?:?]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1428) ~[paper-1.19.4.jar:git-Paper-538]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1174) ~[paper-1.19.4.jar:git-Paper-538]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[paper-1.19.4.jar:git-Paper-538]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.io.EOFException
at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:346) ~[?:?]
at java.io.DataInputStream.readUTF(DataInputStream.java:595) ~[?:?]
at java.io.DataInputStream.readUTF(DataInputStream.java:570) ~[?:?]
at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:470) ~[guava-31.1-jre.jar:?]
... 19 more```
I have that same error.
Hello I want to do division with math placeholder but it doesn't work
/papi parse me %math_{apheria_player_kills}/{apheria_player_deaths}%
/papi parse me %math_2:{apheria_player_kills}/{apheria_player_deaths}%
not working too
try /papi parse me %math_0_{apheria_player_kills}/max({apheria_player_deaths}, 1)%
what is this error about?
Update player expansion
thx
are there placeholders for if the player does or doesnt have the resouce pack enabled
It that OK?
Hi, is there a way to make player specific holograms with PAPI? Something like %skript_mainProgress::{player}%
is there a placeholder that could, give the exact ping for a certain server
Yes, try pinger
/papi ecloud download Pinger
I assume many tutorials are outdated because many functions don't exist anymore. Is there an accurate tutorial with the latest version of placeholderapi? ( I need to know how to register my own placeholders ) ```java
@Override
public String onPlaceholderRequest(Player player, String params) {
}
onRequest
I have but it doesnt seem to have a placeholder for viewing the latency of a server
hmmm, I dont know yet
I cannot use onRequest() too
I'm pretty sure they still exist, are you sure you imported the right class and have the right dependency?
if you want exams, check the expansions repositories under the PlaceholderAPI account on github
I fixed it now
you have to do "@Override" and select the method you want to import. The onRequest doesn't import automaticly
can someone help me with the checkitem placeholder?
i need a placeholder thato nly detects the NBT string of the MMOITEMS_ITEM_STAT_ID
i tried %checkitem_getinfo:mainhand_nbtstrings:MMOITEMS_ITEM_STAT_ID%, but it gives out all nbt strings
im unsure about how it actually works
Hi !
I have a problem with %bungee_total%
It's not diplay the good number of player in my server
We are 60 online but display 120 ^^'
Can placeholders not be used inside of simple text formatting then?
I've got the factions and luckperms mods installed alongside styled chat mod. In the styled chat mod config I have:
"display_name": "%luckperms:prefix%<%factions:color%>[%factions:name%]</%factions:color%>${default}",
Which should output something like:
[Newbie][CoolFaction]MinecrafterGuy: Hello World!
Instead, the placeholder for faction color doesn't actually work when making use of simple text formatting ? It instead outputs:
[Newbie]<gold>[CoolFaction]</gold>MinecrafterGuy: Hello World!
https://prnt.sc/j8K66weyiHey I'm having such a problem, can anyone help with the solution?
/papi ecloud download Utils
/papi reload
%utils_parse:2_vault_prefix%
depends on whether your chat plugin supports MiniMessage syntax for colors or not
I really thank you very much. I was trying to solve this for 3 days.
Hi !
I have a problem with %bungee_total%
It's not diplay the good number of player in my server
We are 60 online but display 120 ^^'
Hi
I have a problem in the console
[11:06:37 WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.11.3 generated an exception whilst handling plugin message
java.lang.IllegalStateException: java.io.EOFException
at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:472) ~[guava-31.1-jre.jar:?]
at com.extendedclip.papi.bungeeexpansion.BungeeExpansion.onPluginMessageReceived(BungeeExpansion.java:123) ~[?:?]
at org.bukkit.plugin.messaging.StandardMessenger.dispatchIncomingMessage(StandardMessenger.java:455) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleCustomPayload(ServerGamePacketListenerImpl.java:3580) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundCustomPayloadPacket.handle(ServerboundCustomPayloadPacket.java:37) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundCustomPayloadPacket.handle(ServerboundCustomPayloadPacket.java:15) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:51) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.19.4.jar:git-Paper-550]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1342) ~[paper-1.19.4.jar:git-Paper-550]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[paper-1.19.4.jar:git-Paper-550]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1319) ~[paper-1.19.4.jar:git-Paper-550]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1312) ~[paper-1.19.4.jar:git-Paper-550]
at net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:114) ~[?:?]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1428) ~[paper-1.19.4.jar:git-Paper-550]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1174) ~[paper-1.19.4.jar:git-Paper-550]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[paper-1.19.4.jar:git-Paper-550]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.io.EOFException
at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:346) ~[?:?]
at java.io.DataInputStream.readUTF(DataInputStream.java:595) ~[?:?]
at java.io.DataInputStream.readUTF(DataInputStream.java:570) ~[?:?]
at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:470) ~[guava-31.1-jre.jar:?]
... 19 more
ok
replace the old Bungee expansion in your PlaceholderAPI folder by that one
ok
Hello,
I'm currently using the EssentialsX plugin, and I'm trying to modify the formatting of the %vault_eco_balance_formatted% variable. Currently, when my balance is 142,422,222$, it displays as 142M. However, I would like it to be displayed as 142.422M. I have attempted to modify the configuration file following the suggested steps, but it hasn't been successful.
use xconomy
help i cant type command papi reload
Hi !
I have a problem with %bungee_total%
It's not diplay the good number of player in my server
We are 60 online but display 120 ^^'
Pls ping me
do you use waterfall?
it has an option to double the number
but i dont find it
Yes
I need help, once in a while my placeholders stop working and i have to redownload them
any idea why?
help i cant type command papi reload after type command papi ecloud download LuckPerms and other commands i cant type papi reload help plz
It’s StyledChat mod for fabric, not sure? So this is not a PAPI issue?
OUR papi doesn't support anything else than vanilla minecraft.
hi guys, i have a problem with playerlist, in the config i set up this
offline-text: Offline
argument-separator: '||'
lists:
towny:
type: ONLINE
included: true
filters:
- WORLD: Towny || TownyHub
- CANSEE```
But in game if i am in the world called Hub it display 1
if (Bukkit.getPluginManager().isPluginEnabled("PlaceholderAPI")) {
PlaceholderAPI.registerPlaceholderHook("timerplugin", new TimerPlaceholderHook(this));
}
'registerPlaceholderHook(java.lang.String, me.clip.placeholderapi.PlaceholderHook)' is scheduled for removal in version 2.13.0 it count as error
new TimerPlaceholderHook(this).register()
will someone please help me with using this placeholder to take a number like 5100.0 and just format it with commas and remove after the decimal? https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#formatter
%formatter_number_format_:#,###,###_5100.00% maybe?
thank you
i have a plugin that uses standard java string replace for the messages, like %s -- how would I use that with this?
i don't really understand
the plugins messages.properties lang file that i modify the messages in: it uses basic syntax for java string replacement, eg shop_sold=&7You have sold &ax%s %s&7 for &a$%s&7!
and when im trying to use placeholders, i think because it has a single leading %, it blows up when i try to put that within the placeholder you gave me
and i tried using {} instead of the singular % too, but it doesn't work because its not actually a placeholder
disregard, the plugin author updated his plugin for me
Hey CJ how do you have nested in utils?
%utils_parse_changeoutput_equals_input:{luckperms_has_permission_group.lv1}_matcher:yes_ifmatch::urank1:_else:{changeoutput_equals_input:{luckperms_has_permission_group.lv2}_matcher:yes_ifmatch::urank_1_2:_else:{changeoutput_equals_input:{luckperms_has_permission_group.lv3}_matcher:yes_ifmatch::urank_1_2_3:_else::urank1:}%
here is my placeholder but it only works up to the 2nd match
the third doesn't
what am i doing wrong
yes i do
thanks I'll look into it
anyone??
var name = "%worldguard_region_name%"
var world_name = "%player_world%";
function checkRegion(){
if(world_name == "MainWorld"){
switch(name){
case "farm":
return "&f∲ &fFarm &7Location &8| &f%javascript_time% &f%player_world_time_12%";
case "shop":
return "&fΣ &fMarket &7Location &8| &f%javascript_time% &f%player_world_time_12%";
case "shops":
return "&fΣ &fMarket &7Location &8| &f%javascript_time% &f%player_world_time_12%";
case "pvp":
return "&f∄ &fPvP Zone &7Location &8| &f%javascript_time% &f%player_world_time_12%";
case "pvp2":
return "&f∄ &fPvP Zone &7Location &8| &f%javascript_time% &f%player_world_time_12%";
case "pvp3":
return "&f∄ &fPvP Zone &7Location &8| &f%javascript_time% &f%player_world_time_12%";
default:
return "&f &fVillage &7Location &8| &f%javascript_time% &f%player_world_time_12%";
}
}else{
return "&f≇ %superior_island_location_leader% &7Island &8| &f%javascript_time% &f%player_world_time_12%";
}
if(world_name == "lvl1"){
switch(name){
case "dungeon":
return "&fⓐ &fDungeon &7Location &8| &f%javascript_time% &f%player_world_time_12%";
}
}
checkRegion();
how could i add multiple worlds
when i added } if(world_name == "lvl1"){ switch(name){ case "dungeon": return "&fⓐ &fDungeon &7Location &8| &f%javascript_time% &f%player_world_time_12%";
after else it stopped working and idk how to add it
Because else is executed first
hey does anyone have any ideas of why my "townychat" expansion is not working? I tried using %townychat_channel_tag% but it doesnt work, and instead just shows blank message.
This will probably kill your TPS btw unless the performance issues with JS expansion got fixed
try to code it in a plugin
the problem was, in fact, fixed
Also, I suggest to put %javascript_time% %player_world_time_12% and anything else you use more than 1 into a variable, as each placeholder is replaced when the javascript is used, and you currently have ~20 placeholders which can be reduced to 5
And you can combine cases that do the same thing
case "pvp":
case "pvp2":
case "pvp3":
return "&f∄ &fPvP Zone &7Location &8| &f%javascript_time% &f%player_world_time_12%"; ```
is it allowed to put placeholders within placeholders? for example a %formatter% placeholder inside the output of a %changeoutput%?
ye
if it supports it, most of them use {} for the internal placeholders
^
%changeoutput_{formatter_}%
oh, i think that's what i did wrong
somethin like that
yeah! gah this is so awesome
wait till you hear about utils
%utils_parse_changeoutput_{formatter_{string_}}%
ex.
infinite nesting of placeholders
🙂
hah
hello how can i show player counts of "%bungee% %bungee b%" servers with a single placeholders
hi how do i use placeholder stats from other servers in my bungee network. for exmaple i want to display my economy stats from my SMP server in the lobby server
I need help, once in a while my placeholders stop working and i have to redownload them, any idea why?
use the Math expansion to combine playercounts
%math_0_{bungee_<server1>}+{bungee_<server2>}%
you want the first join date? there's
%player_first_join_date%
%player_first_played%
%player_first_join%
or do you mean a placeholder for whether he joined first, second etc? I don't think a placeholder exists for that 
any error on /papi reload or on server start?
impossible as far as I know, unless your economy plugin is installed on both servers and has MySQL support, you can't retrieve data from another server
%essentials_baltop_rank% isn't showing -
I have essentials and vault ecloud installed
what does it return in chat when you execute /papi parse me %essentials_baltop_rank% ?
nothing
does the parse command not show anything or just returns the placeholder unparsed?
maybe you have an older version of the expansion that didn't have the baltop placeholders yet? try to redownload it with /papi ecloud download Essentials
uh
what's your Essentials version just in case?
also check if you don't have multiple essentials expansion in your PAPI folder
or send /papi dump
do other baltop placeholders work?
Yeah
what if you do /baltop, and then try to parse the placeholder again?
Same reply
from what I can see, the only reasons the placeholder would return an empty string is if the player is null/offline, or if it isn't in the cache, though idk why the player wouldn't be cached
Wait, I don't display on the baltop - that could be the issue.
Thanks for the help!
Not sure...
But I've just checked with another player and there placeholder is working correctly.
Thanks for the help!
Sorry for the confusion too
Hello. Pinger shows the server offline for some reason? But it is on the server itself how to solve the problem?
i tried here :
but it only works up to the 2nd match
%utils_parse_changeoutput_equals_input:{luckperms_has_permission_group.lv1}_matcher:yes_ifmatch::urank1:_else:{changeoutput_equals_input:{luckperms_has_permission_group.lv2}_matcher:yes_ifmatch::urank_1_2:_else:{changeoutput_equals_input:{luckperms_has_permission_group.lv3}_matcher:yes_ifmatch::urank_1_2_3:_else::urank1:}%
new gaby asked me to use meta, but i don't really understand how
/lp group lv1 meta set rank-icon ":urank1:"
%luckperms_meta_rank-icon%
or smth around these lines
thanks a lot
I'll try it rn
works like a charm ❤️
great
nope none at all
can you send the link you get when you do /papi dump ?
I have to redownload the expanision
which ones?
all of them
most of them are just plugin expansions, you only have 4 expansions that need to be downloaded
server, vault, player and statistic
yeah its those 4
are those the ones that break?
that i use
can you send your server logs?
k
and do you know when they break?
the most recent?
yeah
i think its whenever i restart the server
lemme test
when the server starts, send a papi dump again
It didnt stop working this time
I think its random
But I never mess with Placehodler after that I downlaoded them
send logs where they broke
i dont remember when they broke
it was yesterday
I just reposted the post cus no one responded yesterday
can you send yesterday's logs?
Sure
I will send u a file in dms @junior musk
its an archive of all the logs since yesterday
can't find anything
i set it like this but zero contacts show up
https://prnt.sc/qrbQFaVIjEYF
🥲
remove the <>
@austere hawk if it happens again, before running /papi reload, send /papi dump and your logs
thank you, it escaped my attention
will do
thank you so much for your help i love you
xD
to me it looks like a } was missing near the end, maybe 2 not sure
just fyi (I saw you used the meta)
Hello. Pinger shows the server offline for some reason? But it is on the server itself how to solve the problem?
Hello, so this javascript doesnt work:
return "hi" + 3 - 3 + "hi";
but this works: return 3 - 3 + "hi";
By working I'm talking about the math part
I'm just testing math
ok so " "+ ( args[5] + 2 ) + " " returns 532 is args[5] is 53, but if I do subtraction it returns 51
parseInt(args[5]) to turn it into a number, rn it is a text
👍 thanks
deluxe menus do not show colors in some menus
hi, how would i convert the output of %server_time% to a float, since there is a colon between the values?
/papi ecloud download String
/papi reload
/plugins/PlaceholderAPI/config.yml
expansions -> string -> replacements
add ```yml
time:
':': ""
use `%string_replacecharacters_time_{server_time}%`
what do you want to obtain? @left hinge
oh yeah, the server_time placeholder already provides a way to customize the output, so why not just use that?
unless you were talking about player_time or smth
i want to convert from 18:15 to 18.15
i want to convert from 18:15 for example to 18.15, i am trying to create a condition where an event will trigger between specific server times
what's the exact placeholder you're currently using?
thank you but i am not exactly sure how to customise
%server_time_HH:mm:ss%
Hi I coded my own expansion but it works in some plugins but not in others
what would be the reason
hey does anyone have any ideas of why my "townychat" expansion is not working? I tried using %townychat_channel_tag% but it doesnt work, and instead just shows blank message.
is there a placeholder that shows how much time has passed since the date?
if it works in /papi parse me %placeholder%, then your expansion is fine, and the plugins where you're trying to use it don't support PAPI
yes parsing works for me but will this placeholder work if the plugin doesn't support placeholderapi? %player_first_join_date%
this placeholder works but not in my self coded expansion ChatControlRed plugin
ChatControlRed supports PlaceholderAPI
that's not a PAPI placeholder
PlaceholderAPI placeholders use the following syntax: %expansionName_parameters%
Is it a problem with the syntax? /papi parse works and works in other plugins
/papi parse me %uniqueId% works?
btw why not just use %player_uuid% ?
and try something like %uniqueId_% or %uniqueId_test%
some plugins check if there's a _ followed by a parameter to determine whether the placeholder is a PAPI or internal one
Thats also what papi does
iirc it didn't in older versions
maybe in newer ones, but I remember seeing people use placeholders like that and it worked
we had some tickets with people doing that on TAB's discord 😅
usually, just adding a _ fixed it
I see
Okay thanks i will try
If you silktouch a Diamond ore. Do you know If that increases the statistics of Diamond ores Mined?
Trying to get a placeholder which shows the amount of diamonds a player has mined.
If I should use a math expression and do broken deepslate + normal Diamond ore - placed deepslate - normal diamond ore
the game doesn't care what enchantments you use
pls someone answer me
WORLD:Towny||TownyHub
Colors are distorted when using deluxe menu placeholder api
Is there any placeholder that turns a player nickname to rainbow?
b
mmm which kind of rainbow? hex?
Yea something like this https://colorswall.com/palette/102
with the placeholder
%moregradients_custom_rainbow_{player_name}%
/papi parse me %moregradients_custom_rainbow_{player_name}%
the output was my username in white
server version?
1.20.1
yes, using the "TAB" plugin
aaaaa thats sooo weird
what about
/papi parse me %moregradients_custom_rainbow_My name is {player_name}%
/papi parse me %moregradients_custom_instagram_{player_name}%
/papi parse me %moregradients_custom_#833ab4-#fd1d1d-#fcb045_{player_name}%
/papi parse me %moregradients_iridium_<RAINBOW1>Hello my name is {player_name}</RAINBOW>%
Only the last two work

[01:12:54 WARN]: Could not pass incoming plugin message to PlaceholderAPI v2.11.3
java.lang.IllegalStateException: java.io.EOFException
at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:449) ~[guava-17.0.jar:?]
at com.extendedclip.papi.bungeeexpansion.BungeeExpansion.onPluginMessageReceived(BungeeExpansion.java:123) ~[?:?]
at org.bukkit.plugin.messaging.StandardMessenger.dispatchIncomingMessage(StandardMessenger.java:427) ~[spigot.jar:git-iSpigot-PaperEdition]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(SourceFile:2465) ~[spigot.jar:git-iSpigot-PaperEdition]
at net.minecraft.server.v1_8_R3.PacketPlayInCustomPayload.a(SourceFile:39) ~[spigot.jar:git-iSpigot-PaperEdition]
at net.minecraft.server.v1_8_R3.PacketPlayInCustomPayload.a(SourceFile:18) ~[spigot.jar:git-iSpigot-PaperEdition]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils.lambda$ensureMainThread$0(SourceFile:52) ~[spigot.jar:git-iSpigot-PaperEdition]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at org.imanity.imanityspigot.final .cN.run(Unknown Source) ~[spigot.jar:git-iSpigot-PaperEdition]
at org.imanity.imanityspigot.final .cL.executeTask(Unknown Source) ~[spigot.jar:git-iSpigot-PaperEdition]
at org.imanity.imanityspigot.final .cM.executeTask(Unknown Source) ~[spigot.jar:git-iSpigot-PaperEdition]
at org.imanity.imanityspigot.final .cL.executeNext(Unknown Source) ~[spigot.jar:git-iSpigot-PaperEdition]
at net.minecraft.server.v1_8_R3.MinecraftServer.executeNext(SourceFile:1881) ~[spigot.jar:git-iSpigot-PaperEdition]
at org.imanity.imanityspigot.final .cL.awaitTasks(Unknown Source) ~[spigot.jar:git-iSpigot-PaperEdition]
at net.minecraft.server.v1_8_R3.MinecraftServer.sleepForTick(SourceFile:1854) ~[spigot.jar:git-iSpigot-PaperEdition]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(SourceFile:791) ~[spigot.jar:git-iSpigot-PaperEdition]
at java.lang.Thread.run(Thread.java:829) ~[?:?]
Caused by: java.io.EOFException
at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:345) ~[?:?]
at java.io.DataInputStream.readUTF(DataInputStream.java:594) ~[?:?]
at java.io.DataInputStream.readUTF(DataInputStream.java:569) ~[?:?]
at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:447) ~[guava-17.0.jar:?]
... 17 more
Hello I found this while searching online but not exactly sure how to do it: https://github.com/PlaceholderAPI/Server-Expansion/issues/5
How can I use the %server_countdown% placeholder to countdown to let's say 12AM everyday
%server_countdown_HH_0%?
It returns as 0

I was trying this %server_countdown_ss_00:00% since I also want it to output in seconds
I'll need to try it myself, but I won't be home for another 7h 🥲
sure
Thank you ❤️
very likely that I'll forget😅
Anyone knows any better option rather than using parseother in checking other players stats? Decided to create a GUI that shows the data of a said player when tying /playerinfo [playername] and sending the playername from the parseother placeholder but looks like it only checks if the player is online. Looking for ways to make it work even if the player is offline
there's no other way unless the placeholder expansion you want to use has a specific placeholder for that
also, ParseOther supports offline players, but not all placeholders support them
When I put the dependencies for papi in my pom.xml I get Dependency 'me.clip:placeholderapi:2.10.3' not found, here's the repos and dependencies pom.xml
<repositories>
<repository>
<id>spigotmc-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/groups/public/</url>
</repository>
<repository>
<id>placeholderapi</id>
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.20-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.10.3</version>
<scope>provided</scope>
</dependency>
</dependencies>
nvm
@green crow %server_countdown_dd/MM/yyyy HH_{server_time_dd/MM/yyyy} 24%
getting the current day with server_time, and adding 24 to get the server at 12am
or 12 pm
still can't remember what it is
I just use 24 or 0, easier xD
How do I make it to return in just seconds
Like just the number
good question
That's what I was trying achieve earlier xD
javascript time 
Oh no D:
function timeToSeconds() {
var countdown = "%server_countdown_dd/MM/yyyy HH_{server_time_dd/MM/yyyy} 24%"
var seconds = 0
var l = countdown.split(" ")
for (var i=0; i<l.length; i++) {
var arg = l[i]
var c = arg[arg.length-1]
var value = parseInt(arg.replace(c,""))
if (c == "m") value*=60
else if (c == "h") value*=3600
else if (c == "d") value*=86400
seconds+=value
}
return seconds+""
}
timeToDate()
Oh damn
Oops
Wrong reply
Lmao
xD
Thank you!
bit of a stupid question
but whats the placeholder for kills and deaths and for luckperms ranks
%statistic_deaths%
%statistic_player_kills%
%vault_rank% or %luckperms_primary_group_name%
thanks so much
im using simple score board plugin and its not working
did you download their respective expansions?
hold on
/papi ecloud download <expansion>
/papi reload
usually it's the name between the first % and the first _
hold on
is there a way to show the prefix and not like the actual rank name
for the ranks
%vault_prefix% or %luckperms_prefix%
scoreboards have a character limit on versions before 1.13
server is on 1.19
?imgur
:/
?imgur
it just say placeholder in chat
now what
send the chat output
it seems to be fine
then it's probably an issue with your scoreboard plugin
try to reach out to the dev
Anyone know if there's a placeholder that can generate a random number from 5-10 for example?
%math_RANDOM()*(max-min)+min%
redownload the player expansion
/papi info Player
Status: registered
Author: clip
version: 2.0.2
did you do /papi reload after redownloading the expansion?
because latest is 2.0.5
make sure you don't have multiple expansion jars in your PlaceholderAPI folder
oh
ok
ok i had two .jar files for player so it was loading old one, thanks its fixed
Cheers man
can someone help me with the formatter expansion :/ ? i have the %clv_player_exp% placeholder but it returns a decimal value. for example 5.50 but i wanna change it to 5 only. how would the placeholder look like?
i was thinking of %formatter_number_:0_{clv_player_exp}% but it didnt work
ping me if u reply
i ended up using the math %math_0_{clv_player_exp}% but if u got an answer lmk
was gonna suggest to use math
I never really used formatter so unsure about how it works exactly
ye i forgot that math had a rounding option for a sec
then i remembered that i ve used it in menus
Hello I have an error spamming my console with the "Progress" expansion: Couldn't get the number from . The progress will be 0%.
Bar: %progress_bar_{cmi_user_playtime_secondst}_m:2592000%
Here is my papi dump : https://paste.helpch.at/ejorasepop
it's normal
oh alright
then try to check if the placeholder is parsing correctly in /papi parse me <placeholder>
this gives me the total seconds of player time
does it give just a number or does it have other characters?
Yes, both work well
if it returns something like 5s then it won't work
nop, any character
wait, the progress placeholder works as well?
I've tried disabling all my DeluxeMenus menus, but the error keeps spamming :/.
yep
o_O
are you sure you aren't using another progess placeholder somewhere?
maybe another admin that added it somewhere
i'm sure not x)
I'm not sure what's wrong then
only in menus
me too :/
I have an idea where it may come from, it's a player who joined the server for the first time, the first second he joins he has 0sec, and so Progress is struggling x)
But then it's annoying '-'
what does it show when you join for the first time?
When a player joins the server for the first time, with the welcome message etc...
The %cmi_user_playtime_secondst% return 0
idk then
The error occurs when the player who logged in for the first time disconnects
I don't understand :x
I'll see if it happens again
Hey there, I'm using ChangeOutput for my teams prefix in my tab plugin (using papi ofcourse). I made it so that it only sets the prefix of the team, when the person is in an actual team, but apperantly it needed spacing. But the spacing also applies to people that don't have a team, is it possible to remove that?
The placeholder I'm using;
%changeoutput_equals_input:{betterTeams_tag}&r_matcher:_ifmatch:&r_else:{betterTeams_tag}&r%
How can I see what placeholders an expansion has (downloaded from a plugin and not on ecloud)
you have no spacing in your placeholder, it must be in the config
if you add it to the placeholder instead, it will fix that
Is there anyway to change the time output when using %server_countdown%? It's currently displaying as 7w 2d 5h 1m 29s for example and I was hoping to change it a little bit
what is the full placeholder you're using?
should be something like %server_countdown_<SimpleDateFormat>_<time>%
which allows to to customize the output right there
Is the date format not just how the <time> section is formatted rather than what the output is? Since I just used dd.MM.yyyy for the format
ah right
ye
umm
I have a javascript that could do it
you'll need to download the expansion manually
and setup this script https://paste.helpch.at/ebeqitobir.js
obviously changing %playtime_time%
Well, really this mostly just parses the values and can do something else with them
so if you want to change the output you can make it look more like this
https://paste.helpch.at/mufapotida.lua
info about setting up scripts on the wiki 
Wonderful, thank you I’ll get around to trying these out later on
Hey everyone! I need help with something, I was thinking to use papi plugin to show an scoreboard with a player's nbt value of a mod for each player and show it as a kind of progress bar, that could be done with papi plugin?
any solution for this?
%changeoutput_equals_input:{player_world}_matcher:world_ifmatch:{math_0_SQRT((({player_x}+20)^2)+(({player_y}-152)^2)+(({player_z}+236)^2))}m_else:%
cause right now the math cant work properly :/
i ve tried to replace them to {{player_x}}... but didnt work either
Utils
ye with the nested but idk how
%utils_parse_<everything here>%
after the ifmatch:...?
everything inside the %%
oh?
the entire placeholder
without the %%
%utils_parse_changeoutput_equals_input:{player_world}_matcher:world_ifmatch:{math_0_SQRT(({player_x}+20)^2+({player_y}-152)^2+({player_z}+236)^2)}m_else:%
Guys, how to put a placeholder inside a placeholder?
%math_{player_level}*2% just like that with {}
Thanks 🙂 Do I need to install something for it to work?
nop
Okay, great
can a staff member reverify my Utils expansion please? https://api.extendedclip.com/expansions/utils/

:yes:
howdy guys
I think theres smth wrong
I put %vault_eco_balance_formatted% in my scoreboard (TAB) and its not working
ps help asap
scratch that, for some reason the plugin is just not installing..
are there any dependancies?
ty
hello
Hey @junior musk sorry to bother you, but I'm trying to parse this (was working fine with nested), do you know what I'm doing wrong with utils? %utils_parse_changeoutput_equals_input:Vacio_matcher:{servervariables_value_skin_active}_ifmatch:&e_else:&7(Nivel {servervariables_value_skin_{servervariables_value_skin_active}_level}&7)%
it's parsing that
thanks 🙂
yeah the weird thing is that it was working fine with nested
so I don't know what I'm doing wrong 🙄
can you try placeholder by placeholder?
like try the most nested placeholder, then try it with the one its inside of
btw what's your Utils version?
I updated it yesterday to fix some issues but I don't think it got reverified just yet
maybe try it
Hmm I've replaced nested with utils like 3 days ago
let me try the latest one 👍
yeah worked fine with latest one
thanks 😄
Hmm what's the use of escape placeholders?
first one yeets colors from placeholders (can either be on the final output or on each placeholder parse, useful when you have a placeholder that returns a number with a color that you want to use in Math), second is for when you want to, for example, use a TAB command in DeluxeMenus or other plugins but it contains a placeholder, like you want to display some stats in your nametag. Because DeluxeMenus parses the placeholder and then executes the command, TAB only receives the output, so the utils_escape placeholder allows you to prevent that
How can I nest 3 placeholders inside each other?
%valiant_battlepass_menu_item_{math_{valiant_battlepass_page}+1}_material% is what I have.
It connects:
%valiant_battlepass_menu_item_NESTED_PLACEHOLDER_material%
%math_{valiant_battlepass_page+1}%
It doesn't work unfortunately.
we were just talking about that right above :D
you can use the Utils expansion to parse placeholders with nested placeholders
%utils_parse_<placeholder without %%>%
you might need to round your math placeholder btw, so math_0_...
/papi parse me %utils_parse_<valiant_battlepass_menu_item_<math0_<valiant_battlepass_page>+1>_material%
Doesn't work
did you download the expansion?
Yeah, Utils [1.0.2]
o
I bet I'm doing something wrong with my placeholder
what does it show in chat ?
wait
wait
you kept the <>
and you used <> instead of {} for nested placeholders
/papi parse me %utils_parse_valiant_battlepass_menu_item_{math_0_{valiant_battlepass_page}+1}_material%
Now it works!
Thank you
Although it's really
weird
I thought that I'll have to nest every placeholder using '{}', but apparently I don't need it for the first placeholder (valiant_battlepass_menu_item_material)
Really weird logic, but cool that it's even possible
well, why would you need to manually put {} each time around the main placeholder?
everything after %utils_parse_ until the next % will be counted as the placeholder either way, so there's no need for them ¯_(ツ)_/¯
Hey, hoping you might know about this but I've installed the Javascript extension, it shows on /papi list but the commands for the extension don't work so trying to do /jsexpansion reload is an invalid command
My apologies I'd forgotten to disable the ping
hi! i tried using the "%essentials_baltop_balance_1%" but it seems like it will not update until i do /baltop, and i do not know what other placeholders should i use which will also show offline players
Commands don’t work iirc
Ahh okay! /papi reload does what I need it to do at least and it's all working perfectly now. I've modified one of the scripts you gave me to more suit my needs and had no issues so far
?
You might need to ask Essentials support for this as it sounds like it's only when /baltop is used that they update the placeholders for it
I could be wrong though so don't take that as the answer but it's worth a shot to ask them
i did and they referred me here
my placeholders aren't loading properly sometimes and it's starting to piss me off because i have to /papi reload (I would post a screenshot to show but i can't...)
If you could provide a /papi dump and a startuplog
@raven sierra 
The placeholders work before /papi reload or after? @raven sierra
after
delete the server expansion and re-download a fresh one
might need to do it manually if in-game doesn't work @raven sierra 
k
also, it looks like you do not need the upun expansion as I believe the plugin includes it
Also also you don't need the playerstats or playertime expansions because you do not have the plugins for them
i don't see those 2 when i unregistier them
k i downloaded them (it might be awhile until it does the glitch again)
they never get registered
that's why you can remove them
it doesn't really matter, just letting you know
java.lang.IllegalStateException: java.io.EOFException
at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:472) ~[guava-31.1-jre.jar:?]
at com.extendedclip.papi.bungeeexpansion.BungeeExpansion.onPluginMessageReceived(BungeeExpansion.java:123) ~[?:?]
at org.bukkit.plugin.messaging.StandardMessenger.dispatchIncomingMessage(StandardMessenger.java:455) ~[purpur-api-1.19.3-R0.1-SNAPSHOT.jar:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleCustomPayload(ServerGamePacketListenerImpl.java:3674) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundCustomPayloadPacket.handle(ServerboundCustomPayloadPacket.java:37) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundCustomPayloadPacket.handle(ServerboundCustomPayloadPacket.java:15) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:51) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.19.3.jar:git-Purpur-1933]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1368) ~[purpur-1.19.3.jar:git-Purpur-1933]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197) ~[purpur-1.19.3.jar:git-Purpur-1933]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1345) ~[purpur-1.19.3.jar:git-Purpur-1933]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1338) ~[purpur-1.19.3.jar:git-Purpur-1933]
at net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:114) ~[?:?]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1472) ~[purpur-1.19.3.jar:git-Purpur-1933]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1194) ~[purpur-1.19.3.jar:git-Purpur-1933]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:321) ~[purpur-1.19.3.jar:git-Purpur-1933]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.io.EOFException
at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:346) ~[?:?]
at java.io.DataInputStream.readUTF(DataInputStream.java:595) ~[?:?]
at java.io.DataInputStream.readUTF(DataInputStream.java:570) ~[?:?]
at com.google.common.io.ByteStreams$ByteArrayDataInputStream.readUTF(ByteStreams.java:470) ~[guava-31.1-jre.jar:?]
... 19 more```
Ideas?
Tried removing the expansion fully and reinstalling#
(Bungee Expansion)
Is there beta builds for papi yet supporting 1.20/1.20.1
I can't find any errors right now but for the past 5-6 days I've had to reinstall my expansion constantly
Only one I use is Statistic
We need errors.
"[PlaceholderAPI] Successfully registered expansion: RaceAbilities [1.0]" shows but the placeholder doesn't work in anything
private final Main plugin;
public RacePlaceholder(Main plugin) {
this.plugin = plugin;
}
@Override
public String getIdentifier() {
return "RaceAbilities";
}
@Override
public String getAuthor() {
return "HydenMC";
}
@Override
public String getVersion() {
return "1.0";
}
@Override
public String onPlaceholderRequest(Player player, String identifier) {
if (player == null) {
return "";
}
if (identifier.equalsIgnoreCase("player_race")) {
String race = Main.getRace(player.getUniqueId());
if (race != null && !race.isEmpty()) {
return race;
}
}
return null;
}```
check /papi parse me <placeholder>
just returns the placeholder name in chat
which placeholder did you use?
the playerholder should be %player_race%
that's not how it works
you have to put the identifier first
%<identifier>_<params>%
im confused ;-;
%RaceAbilities_player_race%
for example, the Player expansion has a name placeholder, so you have to use %player_name%
still returned that in chat
does it show in /papi list?
no which is weird since it says it registered it
ye :/
override the perists method in your expansion class and set it to true
wut
it still returns itself in /papi parse?
no its working in there now
then the plugin where you're using it doesn't support PAPI
But TAB does have placeholderapi support :/
and your config
oh there we go
fixed it
it was my tab config broken xD
Thanks for the help lol - been at this all day and kinda in a brain dumb moment rn xD
dw
guys i need to use the teams expansion of placeholder api, and i see the github and it says it is "teams", so i do "/papi ecloud download teams" like the git says, but it says "Failed to find an expansion named: teams"
anyone know if %changeoutput can be nested?
if so, how do you do that and also nest placeholders
i remember something about utils_parse_changeoutput_ but i don't know the syntax to nest a changeoutput placholder without another changeoutput placeholder
yes you can use utils to nest things
%utils_parse_changeoutput_{changeoutput_{player_name}}% sort of
could you help me with the syntax? its confusing me because the changeoutput placeholder takes placeholders inside of it as well, so it becomes inception
obviously not a working example
ok so all i do is just next the placeholder with {}
"inception" is "nesting"
yeah, i know. but was getting deep
also does utils have a install shortcut
shortcut?
yes, all verified expansions do
got it! thank you so much
left_click_requirement:
requirements:
has_gems:
type: javascript
expression: '%xprison_gems_1% >= 500'
success_commands:
"[CONSOLE] gems remove %player% 500"
deny_commands:
'[message] &cYou don''t have enough gems for this!'
im using the plugin Ultra prison core called XPrison now i wanted to set the gems as the eco since they core got gems currency i tried doing this and doesnt work can somebode help
type: javascript
expression: 'EXPRESSION'
Example:
type: javascript
expression: '%vault_eco_balance% >= 100'
this is what wiki showed
hello i have a problem. since 1.19.3 I can't do balance top ranking with essentials and vault. the documentation is not up to date on the wiki. we have more essentials_balance_top_rank. how to do ?
(sorry for spam just discord bug)
Hi, is there any method to get the value of a placeholder for a player? String townName = PlaceholderAPI.getPlaceholder(player, "%husktowns_town_name%"); is not working for me
Hello, ive got a problem!
slot: 31
display_name: '&8• &2Zi &8•'
lore:
- '&8[Timp]'
- ''
- ' &2★ &fCumpara acest bonus'
- ' §fpentru a seta timpul.'
- ''
- ' &fPret: &220 &2&lCOINSTRIDENT'
- ''
- '&eᴄʟɪᴄᴋ-sᴛᴀɴɢᴀ ᴘᴇɴᴛʀᴜ ᴀ ᴄᴜᴍᴘᴀʀᴀ'
click_requirement:
requirements:
has_points:
type: '>='
input: '%playerpoints_points%'
output: 20
deny_commands:
- '[message] &eMagazin Tokens &8• &fNu ai destui &eCoins Trident &fpentru a cumpara timp.'
- '[message] &eMagazin Tokens &8• &fAi &7%playerpoints_points% &fdin &e20'
- '[close]'
click_commands:
- '[console] day'
- '[console] points take %player_name% 20'
- '[message] &eMagazin Tokens &8• &fTocmai ce ai cumparat &2Timp Zi &fpentru &720 &eCoins Trident'
- '[close]'
i want this config to make it day when a player buys it, how do i do it?
Hf reading that
its just this
click_commands:
'[console] day'
'[console] points take %player_name% 20'
'[message] &eMagazin Tokens &8• &fTocmai ce ai cumparat &2Timp Zi &fpentru &720 &eCoins Trident'
'[close]'
this is important
rest not
how can i make console set the time to day
when a player buys it
time set day
No, you can read the documentation yourself
where
the command is probably smth like /time set day WORLD, and to get player's world name, you use %player_world%
How get top balance with essentials and vault?doesn't exist %essentials_top_balance_rank% in 1.19.3
-papi essentials
The wiki is not update
?
In last version there are not variable with top balance
Click "View full list"
Which sends you here
Don't work in minecraft
When inexecute the /papi ecloud placeholderapi essentials there not the other variable
/papi parse me %essentials_baltop_rank%
And make sure you have the expansion installed
papi ecloud what?
/papi ecloud download essentials
/papi reload
Command for show variable
Already make
Ok, then run the parse command.
When inrun parse command i have juste %essentials_baltop_rank%
Do /papi dump and send the link
I'll be back in 15 minutes with screens I could ping you?
Sure ig. But i need the link.
[14:34:01] [Craft Scheduler Thread - 7/INFO]: [VoidGen] VoidGen v.2.2.1 is available here: https://www.spigotmc.org/resources/25391/
[14:34:30] [ForkJoinPool.commonPool-worker-3/WARN]: [PlaceholderAPI] failed to post dump details
java.util.concurrent.CompletionException: java.net.ConnectException: Connection timed out
at me.clip.placeholderapi.commands.impl.local.CommandDump.lambda$postDump$1(CommandDump.java:113) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
Caused by: java.net.ConnectException: Connection timed out
at sun.nio.ch.Net.connect0(Native Method) ~[?:?]
at sun.nio.ch.Net.connect(Net.java:579) ~[?:?]
at sun.nio.ch.Net.connect(Net.java:568) ~[?:?]
at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:588) ~[?:?]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327) ~[?:?]
at java.net.Socket.connect(Socket.java:633) ~[?:?]
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:304) ~[?:?]
at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:174) ~[?:?]
at sun.net.NetworkClient.doConnect(NetworkClient.java:183) ~[?:?]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:531) ~[?:?]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:636) ~[?:?]
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:266) ~[?:?]
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:380) ~[?:?]```
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242) ~[?:?]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128) ~[?:?]
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:179) ~[?:?]
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:142) ~[?:?]
at me.clip.placeholderapi.commands.impl.local.CommandDump.lambda$postDump$1(CommandDump.java:102) ~[?:?]
... 7 more```
in the consol
this command work
but i don't take %essentials_baltop_player_1%
for to collect the first player with the most money
yeah our paste service is down for moment =//
does it work if you parse it /papi parse me ?
work just this variable doesnt work: %essentials_baltop_balance_<rank>%
try %essentials_baltop_balance_fixed_<rank>%
hmm?
I don't know I asked for help elsewhere someone told me that since June 6 he had been infected and was no longer working very well
I wanted to put the latest essentialsX version but it doesn't work, do you have one that works?
in fact it's good essentials works but for the economy part it tells me none while the /eco works
Can anyone explain why this wouldnt work? https://sonot.pics/upload/jj2eulq.png
treid with spaces
around the /
still dosent work 😦
did you download the math and statistic expansions?
how did you download the expansion and how does it not work? does it not show up in /papi list ? does it throw errors in console? (and if so, send them here)
?paste
no the plugin now works surely a server error. but when I do /essentials version it puts me economy: none
i have essentialsX and essentialsXspawn
Yes
Stats work
and math works with 1+2
in which scoreboard plugin are you using the placeholders?
and without the spaces?
and do you get a message in console when you run the parse command?
what's your Math version? (/papi info math)
oh sorry
dw
as for Essentials, I'm also getting Economy Layer: None
but it seems to work fine
what doesn't work?
the baltop placeholders?
yes
[PlaceholderAPI] [math] Cause: '2 / 0' is not a valid Math expression.
🤦
2 / 0 seriously?
