#placeholder-api

150650 messages · Page 113 of 151

vivid sparrow
#

no, only for spigot

tender vaporBOT
turbid pulsar
#

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

sturdy loom
#

hey i added pinger and im pinging localhost :2000 and thats what my hub is and its saying its offline

reef harness
#

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

solar swift
#

Bungee placeholders doesn't support vanish

crisp crystal
#

Does anyone know a placeholder which displays distance flown with elytra?

warm topaz
#

I imagine there would be something within the statistic expansion

old ibex
#

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

old ibex
#

Should I put a random player because it doesn't matter

hollow depot
#

for some reason my vault_eco_balance placeholder isn't working at all in my 1.20 server. Already downloaded the expansion pack

mint fable
#

editing the message doesn't remove the ping from my phone thonking

vivid sparrow
#

Make sure you have vault and an economy plugin installed 🙂

hollow depot
hollow depot
#

I thought vault was my economy plugin xD

vivid sparrow
#

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

mint fable
#

/papi parse me %vault_eco_balance% what does that return @hollow depot

#

nvm, it didn't register

hollow depot
#

%vault_eco_balance%

mint fable
#

ya

tender vaporBOT
mint fable
#

send that over this

hollow depot
#

?paste

tender vaporBOT
hollow depot
#

I think

mint fable
hollow depot
#

oh duh xD

mint fable
#

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

hollow depot
mint fable
#

staffplusplus

hollow depot
#

okay sure 😄

#

thank you!

#

it worked!

mint fable
#

removing pings is a lot worse than just leaving them FYI

#

it creates ghost pings

old ibex
#

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

mint fable
#

where are you trying to use it

vivid sparrow
#

wdym "asks for player input"

old ibex
#
            @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%")
mint fable
#

can you put null for the player

old ibex
#

Nope it say required type player

mint fable
#

hmm, I got no errors compiling or anything, but not tested in-game

#

Do you get an error?

old ibex
#

Yes, I will just generate a random player it should work it's just a little dumb

mint fable
#

I thought placeholders worked fine with null

#

which is why I'm confused

#

you can even /papi parse --null %placeholder% in chat

#

🤷‍♂️

old ibex
#

I would send you the error but I can't send a screenshot here

mint fable
#

send a paste

#

not a screenshot please

#

?paste

tender vaporBOT
old ibex
vivid sparrow
#

the problem is your logic, not the placeholder

#

luckPerms.getPlayerAdapter(Player.class).getUser() getUser expects a player, and setPlaceholder returns String

old ibex
#

It's my first time using this API, so it's possible I am doing something dumb.

coarse wedge
#

Long time no talk 😄

#

Can't post screenshots huh?

tender vaporBOT
coarse wedge
junior musk
#

try without the #

#

actually nvm

coarse wedge
#

It does work without the #, but considering that's what it shows in the documentation probably still a problem

junior musk
#

yeah

#

I'm guessing it's just the doc then

coarse wedge
#

#000000 is a pretty standard format for hex codes though

junior musk
#

yeah, idk why it doesn't work, maybe they forgot about it 🤷

next mantle
#

^ error

junior musk
#

redownload the player expansion

#

/papi ecloud download Player
/papi reload

crisp crystal
#

How does %statistic_sneak_time% work?

#

What does it display?

sharp bloom
junior musk
#

the total time you've been sneaked ever since you joined that server for the first time

reef harness
#

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?

mint fable
#

%player_has_potioneffect_<effect>% probably @reef harness

reef harness
#

yay 😄 thank you

#

do i use caps when i do this or lower case

mint fable
#

🤷‍♂️

crimson drum
#

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)

mint fable
#

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

tender vaporBOT
unreal anchor
#

heeey, can i use method PlaceholderAPI#setPlaceholders without specifying player?

#

i need placeholder only for online players count on server

vivid sparrow
#

use null

unreal anchor
#

and it will not return error?

vivid sparrow
#

no

unreal anchor
#

okaay thanks

restive nova
warm topaz
#

do u have a jar for this? we usually like do some testing before merging PRs

restive nova
#

idk how to

warm topaz
#

%player_has_potion_effect_<effect>%
%player_potion_effect_level_<effect>

#

@restive nova, please let us know if theres any issues

restive nova
#

@warm topazno issues at all

#

i can't send images but there are no issues

restive nova
sinful pecan
#

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

lament hearth
#

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?

forest inlet
#

anyone got papi folia jar?

safe wind
#

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)
rain roost
#

Is it possible to make a placeholder on a another plugins placeholder?

wraith berry
junior musk
#

does that work ? thonking

#

I'd rather just make another expansion instead

junior musk
hard obsidian
#

What is the placeholder api to see the month/day/year?
%static??

delicate plover
vivid sparrow
#

time* not date

hard obsidian
#

thnks, I can't

delicate plover
vivid sparrow
#

"Bro" thats the name of the placeholder 🙂

delicate plover
#

oh

#

sorry

#

my bad

spice falcon
#

Is there a placeholder that detects what item player has in hand?

warm topaz
#

%player_item_in_hand%

austere hawk
#

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

sinful pecan
#

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

austere hawk
sinful pecan
#

Ok

#

I Will try

austere hawk
austere hawk
#

nvm solved it

slim oak
#

hi me need register in ecloud, help pls

sinful pecan
austere hawk
austere hawk
sinful pecan
spice falcon
spice falcon
#

oops

spice falcon
#

bump

polar oar
#

how do i determine which team %team_color% picks from

#

the problem is itll be on a hologram

#

not a player

junior musk
#

if the hologram plugin supports PAPI and has per-player view, it'll parse the placeholders for the player

polar oar
#

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

junior musk
#

/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

polar oar
#

like this? %utils_parseother:[{objective_entryposhigh_{Points}_{1}}]_{team_color}{objective_entryposhigh_{Points}_{1}}%

junior musk
#

yup

polar oar
#

i get an internal error when i try to parse it

junior musk
#

o_O

#

send the error

#

?paste

tender vaporBOT
polar oar
junior musk
#

doesn't seem like the team placeholder supports offline players

polar oar
#

/papi parse --null %objective_entryposhigh_{Points}_{1}% returns waxton and i am not offline

junior musk
#

the team placeholder

#

not the objective placeholder

polar oar
#

isnt the team placeholder trying to get my team?

junior musk
#

check /papi parse <player> %team_color% while offline from console

polar oar
#

yeah i just tried that with an offline player and it errored

junior musk
#

yeah so it doesn't support offline players

spice falcon
#

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

junior musk
#

you could use the Javascript expansion to edit the format

#

like replacing _ by spaces and toLowerCase the result

old elbow
old elbow
#

Oh shit I am stupid

#

I did implementation

#

🤦‍♂️

#

Holy fucking shit I am dumb

woven ferry
#

Hello, does anyone know what the variable to place the capacity bar of a server is like?

sharp bloom
#

is there any placeholder that returns what direction a block is facing?

vivid sparrow
#

No

sharp bloom
#

OKK very sad

hasty pulsar
woven ferry
solar swift
#

[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...

full dawn
#

does anyone has acess to mmoplus expansion?

wraith berry
ocean beacon
#

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'
mint fable
#

It’s not a public expansion

lethal sable
#

Hey, anyone else had an issue where %player_name% output is now You instead of player's name?

mint fable
#

You got some weird plug-in/expansion overriding the player one I think

#

?startuplog

tender vaporBOT
mint fable
#

Send that over

#

And maybe a /papi dump

lethal sable
#

alright

mint fable
#

I can take a look quick to see if I recognize any

lethal sable
#

Probably EssentialsX

mint fable
#

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”

ocean beacon
#

thanks for your suggest

mint fable
#

Ok

warm quiver
#

How do I use placeholders in a placeholder?

Example:

%worldguard_region_owner:lobby,%player_x%,%player_y%,%player_z%%
                               ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^
junior musk
#

/papi ecloud download Utils
/papi reload
%utils_parse_worldguard_region_owner:lobby,{player_x},{player_y},{player_z}%

warm quiver
#

okay, Thanks!!

urban abyss
solar swift
#

[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

hasty iris
#

Is there a system where I can show the placeholders by combining the player numbers of 2 servers?

solar swift
#

/papi reload not reloading plugin ,/papi dump nothing make

#

only i have this problem?

spice falcon
#

What are the placeholders to determine player location?

junior musk
#

%player_x% %player_y% %player_z%

narrow python
#

is there a placeholder that says if the player has the resouce pack enabled or not

solar swift
#

what the f#ck ?

#

why when I report bug nobody want answer

sharp bloom
solar swift
#

but all was working 3-4 days ago

#

and i think there is no erors in console

vivid sparrow
#

What bug?

solar swift
#

[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]

dry leaf
#

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

thick lichen
#

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```
heady lance
#

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

ocean beacon
past lake
past lake
vivid sparrow
#

Update player expansion

past lake
#

thx

errant ravine
#

are there placeholders for if the player does or doesnt have the resouce pack enabled

broken dune
#

Hi, is there a way to make player specific holograms with PAPI? Something like %skript_mainProgress::{player}%

lofty sage
#

is there a placeholder that could, give the exact ping for a certain server

broken dune
#

/papi ecloud download Pinger

summer plank
#

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) {

}
vivid sparrow
#

onRequest

lofty sage
broken dune
#

hmmm, I dont know yet

summer plank
junior musk
#

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

summer plank
#

I fixed it now

#

you have to do "@Override" and select the method you want to import. The onRequest doesn't import automaticly

storm forge
#

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

open locust
#

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 ^^'

thorn linden
#

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!

austere hawk
#

how can I add custom items in the shop gui ?

#

like a vote key

hasty iris
junior musk
junior musk
hasty iris
open locust
#

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 ^^'

glad spoke
#

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

glad spoke
#

ok

junior musk
#

replace the old Bungee expansion in your PlaceholderAPI folder by that one

glad spoke
#

ok

violet void
#

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.

glad spoke
#

use xconomy

austere hawk
#

help i cant type command papi reload

open locust
#

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

glad spoke
#

it has an option to double the number

#

but i dont find it

open locust
austere hawk
#

I need help, once in a while my placeholders stop working and i have to redownload them

#

any idea why?

austere hawk
#

help i cant type command papi reload after type command papi ecloud download LuckPerms and other commands i cant type papi reload help plz

thorn linden
vivid sparrow
#

OUR papi doesn't support anything else than vanilla minecraft.

fierce glacier
#

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
austere hawk
#

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

vivid sparrow
#

new TimerPlaceholderHook(this).register()

reef harness
mint fable
#

%formatter_number_format_:#,###,###_5100.00% maybe?

reef harness
#

thank you

#

i have a plugin that uses standard java string replace for the messages, like %s -- how would I use that with this?

mint fable
#

i don't really understand

reef harness
#

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

floral crane
#

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

vivid sparrow
#

Do you use lp? @floral crane

#

If so, try to use its meta feature as well

floral crane
#

yes i do
thanks I'll look into it

tropic dew
#
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

vivid sparrow
#

Because else is executed first

exotic bolt
#

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.

austere hawk
#

try to code it in a plugin

vivid sparrow
#

the problem was, in fact, fixed

vivid sparrow
# tropic dew ``` var name = "%worldguard_region_name%" var world_name = "%player_world%"; fu...

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%"; ```
reef harness
#

is it allowed to put placeholders within placeholders? for example a %formatter% placeholder inside the output of a %changeoutput%?

mint fable
#

if it supports it, most of them use {} for the internal placeholders

sharp jay
#

^

mint fable
#

%changeoutput_{formatter_}%

reef harness
#

oh, i think that's what i did wrong

mint fable
#

somethin like that

reef harness
#

yeah! gah this is so awesome

mint fable
#

wait till you hear about utils

#

%utils_parse_changeoutput_{formatter_{string_}}%

#

ex.

#

infinite nesting of placeholders

#

🙂

reef harness
#

hah

hasty iris
#

hello how can i show player counts of "%bungee% %bungee b%" servers with a single placeholders

short mountain
#

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

austere hawk
#

I need help, once in a while my placeholders stop working and i have to redownload them, any idea why?

junior musk
#

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 thonking

junior musk
junior musk
wanton prism
#

%essentials_baltop_rank% isn't showing -
I have essentials and vault ecloud installed

junior musk
#

what does it return in chat when you execute /papi parse me %essentials_baltop_rank% ?

wanton prism
#

nothing

junior musk
#

any error in console?

#

maybe on /papi reload?

wanton prism
#

nope

#

I'll do /papi reload

#

in a sec

#

Yeah, no errors

junior musk
#

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

wanton prism
#

Just a blank message in the chat

#

Done and it didn't work

junior musk
#

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?

wanton prism
#

Yeah

junior musk
#

what if you do /baltop, and then try to parse the placeholder again?

wanton prism
#

Same reply

junior musk
#

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

wanton prism
#

Wait, I don't display on the baltop - that could be the issue.

Thanks for the help!

junior musk
#

o

#

how's that possible?

wanton prism
#

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

junior musk
#

alright then 😅

#

it's alright

silver geode
#

Hello. Pinger shows the server offline for some reason? But it is on the server itself how to solve the problem?

floral crane
# mint fable infinite nesting of placeholders

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

vivid sparrow
#

/lp group lv1 meta set rank-icon ":urank1:"
%luckperms_meta_rank-icon%
or smth around these lines

vivid sparrow
#

great

austere hawk
junior musk
#

can you send the link you get when you do /papi dump ?

austere hawk
#

k

junior musk
#

and what happens exactly?

#

expansions just don't work anymore?

austere hawk
#

I have to redownload the expanision

junior musk
#

which ones?

austere hawk
#

all of them

junior musk
#

most of them are just plugin expansions, you only have 4 expansions that need to be downloaded

#

server, vault, player and statistic

austere hawk
#

yeah its those 4

junior musk
#

are those the ones that break?

austere hawk
#

that i use

austere hawk
#

exactly

junior musk
#

can you send your server logs?

austere hawk
#

k

junior musk
#

and do you know when they break?

austere hawk
#

the most recent?

junior musk
#

yeah

austere hawk
#

lemme test

junior musk
#

when the server starts, send a papi dump again

austere hawk
#

It didnt stop working this time

#

I think its random

#

But I never mess with Placehodler after that I downlaoded them

junior musk
#

send logs where they broke

austere hawk
#

i dont remember when they broke

#

it was yesterday

#

I just reposted the post cus no one responded yesterday

junior musk
#

can you send yesterday's logs?

austere hawk
#

Sure

#

I will send u a file in dms @junior musk

#

its an archive of all the logs since yesterday

junior musk
#

can't find anything

junior musk
#

🥲

#

remove the <>

#

@austere hawk if it happens again, before running /papi reload, send /papi dump and your logs

hasty iris
hasty iris
#

thank you so much for your help i love you

junior musk
#

xD

mint fable
silver geode
#

Hello. Pinger shows the server offline for some reason? But it is on the server itself how to solve the problem?

plush dove
#

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

junior musk
#

put 3-3 inside ( )

#

though why would you use substract 3 from itself? that's just 0

plush dove
#

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

vivid sparrow
#

parseInt(args[5]) to turn it into a number, rn it is a text

plush dove
#

👍 thanks

sonic heart
#

deluxe menus do not show colors in some menus

left hinge
#

hi, how would i convert the output of %server_time% to a float, since there is a colon between the values?

junior musk
vivid sparrow
#

what do you want to obtain? @left hinge

junior musk
#

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

left hinge
tender vaporBOT
left hinge
#

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

junior musk
#

what's the exact placeholder you're currently using?

left hinge
#

%server_time_HH:mm:ss%

junior musk
#

remove the :

#

%server_time_HHmmss%

left hinge
#

oki i will try

#

this works too for my situation. thanks 😄

upbeat violet
#

Hi I coded my own expansion but it works in some plugins but not in others

#

what would be the reason

exotic bolt
#

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.

wheat basin
#

is there a placeholder that shows how much time has passed since the date?

junior musk
upbeat violet
junior musk
#

it won't

#

only plugins that support PAPI can use PAPI placeholders

upbeat violet
#

ChatControlRed supports PlaceholderAPI

junior musk
#

send a screen

#

?imgur

tender vaporBOT
upbeat violet
#

@junior musk here

junior musk
#

that's not a PAPI placeholder

#

PlaceholderAPI placeholders use the following syntax: %expansionName_parameters%

upbeat violet
#

Is it a problem with the syntax? /papi parse works and works in other plugins

junior musk
#

thonking /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

vivid sparrow
#

Thats also what papi does

junior musk
#

iirc it didn't in older versions

vivid sparrow
#

%identifier% should not work

#

Maybe

junior musk
#

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

vivid sparrow
#

I see

upbeat violet
#

Okay thanks i will try

crisp crystal
#

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

junior musk
#

I have no idea 👀

#

try it and see I guess

vivid sparrow
sonic heart
#

Colors are distorted when using deluxe menu placeholder api

twin sluice
#

Is there any placeholder that turns a player nickname to rainbow?

stone edge
twin sluice
stone edge
#

with the placeholder

#
%moregradients_custom_rainbow_{player_name}%
twin sluice
#

the output was my username in white

stone edge
#

server version?

twin sluice
stone edge
#

mmm thats pretty weird tbh

#

same happens if you use it in tab/name tag?

twin sluice
stone edge
#

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>%
stone edge
rigid skiff
#

[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

green crow
green crow
junior musk
green crow
#

I was trying this %server_countdown_ss_00:00% since I also want it to output in seconds

junior musk
#

I'll need to try it myself, but I won't be home for another 7h 🥲

green crow
#

Also returns 0

#

Oh alright

#

Would you mind if I ping you after 7 hours

junior musk
#

sure

green crow
#

Thank you ❤️

junior musk
#

very likely that I'll forget😅

green crow
#

I'll also need to remind myself too :lmao:

#

I'll let you know

lethal breach
#

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

junior musk
#

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

broken wraith
#

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

junior musk
#

@green crow %server_countdown_dd/MM/yyyy HH_{server_time_dd/MM/yyyy} 24%

vivid sparrow
#

what is that

#

Ahh, smart

junior musk
#

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

green crow
#

How do I make it to return in just seconds

junior musk
#

o

#

uh

green crow
#

Like just the number

junior musk
#

good question

green crow
junior musk
#

javascript time fingerguns

green crow
junior musk
#

2sec

#

I know I have one somewhere that does exactly that

#

or not

green crow
#

:">

#

All good

#

Thank you though! ❤️

junior musk
#
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()
junior musk
#

xD

green crow
#

Thank you!

south thistle
#

bit of a stupid question

#

but whats the placeholder for kills and deaths and for luckperms ranks

junior musk
#

%statistic_deaths%
%statistic_player_kills%
%vault_rank% or %luckperms_primary_group_name%

south thistle
#

thanks so much

south thistle
junior musk
#

did you download their respective expansions?

south thistle
#

hold on

junior musk
#

/papi ecloud download <expansion>
/papi reload

#

usually it's the name between the first % and the first _

south thistle
#

hold on

south thistle
#

for the ranks

junior musk
#

%vault_prefix% or %luckperms_prefix%

south thistle
#

its cutting off the rank

#

it only does 5 letters of the prefix

#

@junior musk

junior musk
south thistle
#

server is on 1.19

junior musk
#

send a screenshot then

#

?imgur

tender vaporBOT
south thistle
#

?imgur

tender vaporBOT
junior musk
#

:/

south thistle
#

?imgur

tender vaporBOT
junior musk
#

what

#

what are you expecting it to do?

#

you just need to read it

south thistle
junior musk
#

I sent it once, you don't need it 3 times lol

#

check /papi parse me %placeholder%

south thistle
#

it just say placeholder in chat

junior musk
#

obviously

#

you have to use the actual placeholder

south thistle
#

now what

junior musk
#

send the chat output

south thistle
#

@junior musk

junior musk
#

it seems to be fine

#

then it's probably an issue with your scoreboard plugin

#

try to reach out to the dev

tranquil sapphire
#

Anyone know if there's a placeholder that can generate a random number from 5-10 for example?

vague bridge
#

why is this error happening

junior musk
junior musk
#

/papi info Player

vague bridge
#

Status: registered

Author: clip
version: 2.0.2

junior musk
#

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

vague bridge
#

oh

#

ok

#

ok i had two .jar files for player so it was loading old one, thanks its fixed

tranquil sapphire
sharp bloom
#

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

#

OKK ping me if u reply

#

i ended up using the math %math_0_{clv_player_exp}% but if u got an answer lmk

junior musk
#

was gonna suggest to use math

#

I never really used formatter so unsure about how it works exactly

sharp bloom
#

ye i forgot that math had a rounding option for a sec

#

then i remembered that i ve used it in menus

jaunty stag
#

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%

junior musk
#

there's a t

jaunty stag
#

it's normal

junior musk
#

oh alright

#

then try to check if the placeholder is parsing correctly in /papi parse me <placeholder>

jaunty stag
#

this gives me the total seconds of player time

junior musk
#

does it give just a number or does it have other characters?

junior musk
#

if it returns something like 5s then it won't work

jaunty stag
junior musk
jaunty stag
#

I've tried disabling all my DeluxeMenus menus, but the error keeps spamming :/.

junior musk
#

o_O

#

are you sure you aren't using another progess placeholder somewhere?

#

maybe another admin that added it somewhere

jaunty stag
#

i'm sure not x)

junior musk
#

I'm not sure what's wrong then

jaunty stag
#

only in menus

jaunty stag
jaunty stag
#

But then it's annoying '-'

junior musk
#

what does it show when you join for the first time?

jaunty stag
#

When a player joins the server for the first time, with the welcome message etc...

junior musk
#

I meant what does it show

#

I understood that it was on first join

jaunty stag
junior musk
#

then it should be fine thonking

#

you're sure it returns 0?

jaunty stag
#

mhhm

junior musk
#

idk then

jaunty stag
#

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

cold knot
#

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%

sterile bluff
#

How can I see what placeholders an expansion has (downloaded from a plugin and not on ecloud)

mint fable
#

if you add it to the placeholder instead, it will fix that

icy night
#

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

mint fable
#

should be something like %server_countdown_<SimpleDateFormat>_<time>%

#

which allows to to customize the output right there

icy night
#

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

mint fable
#

ah right

#

ye

#

umm

#

I have a javascript that could do it

#

you'll need to download the expansion manually

#

obviously changing %playtime_time%

#

Well, really this mostly just parses the values and can do something else with them

tender vaporBOT
mint fable
#

info about setting up scripts on the wiki this

icy night
#

Wonderful, thank you I’ll get around to trying these out later on

jolly ore
#

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?

mint fable
#

idk about the nbt value part, but there is a progress bar expansion

#

@jolly ore this

sharp bloom
#

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

junior musk
#

Utils

sharp bloom
#

OKK ye with the nested but idk how

junior musk
#

%utils_parse_<everything here>%

sharp bloom
#

after the ifmatch:...?

junior musk
#

everything inside the %%

sharp bloom
#

oh?

junior musk
#

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:%

sharp bloom
#

oh ye that was easy i did it OKK

#

thanks handsome pepe_love

hasty dagger
#

Guys, how to put a placeholder inside a placeholder?

sharp bloom
hasty dagger
#

Thanks 🙂 Do I need to install something for it to work?

sharp bloom
#

nop

hasty dagger
#

Okay, great

junior musk
vivid sparrow
mint fable
#

:yes:

austere hawk
#

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?

void mantle
#

/papi ecloud download Vault

#

/papi reload

austere hawk
#

ty

nocturne surge
#

hello

deep hollow
#

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 🙂

junior musk
#

you're missing a} at the end

#

ah no nvm

deep hollow
#

yeah the weird thing is that it was working fine with nested

#

so I don't know what I'm doing wrong 🙄

junior musk
#

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

deep hollow
#

Hmm I've replaced nested with utils like 3 days ago

#

let me try the latest one 👍

#

yeah worked fine with latest one

#

thanks 😄

junior musk
#

btw added uncolor and escape placeholders

deep hollow
#

Hmm what's the use of escape placeholders?

junior musk
#

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

deep hollow
#

Oh okay okay got it

#

thanks! 😄

#

been using nested and now utils and it's awesome

hasty dagger
#

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.

junior musk
#

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_...

hasty dagger
#

/papi parse me %utils_parse_<valiant_battlepass_menu_item_<math0_<valiant_battlepass_page>+1>_material%

#

Doesn't work

junior musk
#

did you download the expansion?

hasty dagger
#

Yeah, Utils [1.0.2]

junior musk
#

o

hasty dagger
#

I bet I'm doing something wrong with my placeholder

junior musk
#

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%

hasty dagger
#

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

junior musk
#

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 ¯_(ツ)_/¯

icy night
icy night
#

My apologies I'd forgotten to disable the ping

wet mesa
#

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

icy night
#

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

icy night
#

I could be wrong though so don't take that as the answer but it's worth a shot to ask them

wet mesa
#

i did and they referred me here

raven sierra
#

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...)

tender vaporBOT
mint fable
#

If you could provide a /papi dump and a startuplog

tender vaporBOT
mint fable
#

@raven sierra this

mint fable
#

The placeholders work before /papi reload or after? @raven sierra

raven sierra
#

after

mint fable
#

delete the server expansion and re-download a fresh one

wet basinBOT
#

@mint fable Unknown expansion.

#

@mint fable Unknown expansion.

mint fable
#

might need to do it manually if in-game doesn't work @raven sierra this

raven sierra
#

k

mint fable
#

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

raven sierra
#

k i downloaded them (it might be awhile until it does the glitch again)

mint fable
#

that's why you can remove them

#

it doesn't really matter, just letting you know

pulsar willow
#
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)

pulsar willow
#

cheers

#

ill test it soon

sand dagger
#

Is there beta builds for papi yet supporting 1.20/1.20.1

warm topaz
#

already works

#

just update your expansions

sand dagger
#

papi constantly breaks on 1.20+

#

expansions are updated to newest

warm topaz
#

do u have errors?

#

?paste

tender vaporBOT
sand dagger
#

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

vivid sparrow
#

We need errors.

graceful forum
#

"[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;
    }```
junior musk
#

check /papi parse me <placeholder>

graceful forum
#

just returns the placeholder name in chat

junior musk
#

which placeholder did you use?

graceful forum
#

the playerholder should be %player_race%

junior musk
#

that's not how it works

#

you have to put the identifier first

#

%<identifier>_<params>%

graceful forum
#

im confused ;-;

junior musk
#

%RaceAbilities_player_race%

#

for example, the Player expansion has a name placeholder, so you have to use %player_name%

graceful forum
#

still returned that in chat

junior musk
#

maybe try to set the identifier to raceabilities

#

in lowercase

graceful forum
#

tried that and didnt work :/

#

just says what i put in chat back to me

junior musk
#

does it show in /papi list?

graceful forum
#

no which is weird since it says it registered it

junior musk
#

send your server logs

#

?paste

tender vaporBOT
graceful forum
junior musk
#

and it doesn't show in /papi list? o_O

#

oh wait, did you do /papi reload?

graceful forum
#

ye :/

junior musk
#

override the perists method in your expansion class and set it to true

graceful forum
#

wut

junior musk
#
@Override
public boolean persist() [
  return true;
}
graceful forum
#

ok so it shows up in /papi list now

#

but the placeholder still isnt working

junior musk
#

it still returns itself in /papi parse?

graceful forum
#

no its working in there now

junior musk
#

then the plugin where you're using it doesn't support PAPI

graceful forum
#

But TAB does have placeholderapi support :/

junior musk
#

send a screenshot

#

?imgur

tender vaporBOT
junior musk
#

and your config

graceful forum
#

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

junior musk
#

dw

crimson wadi
#

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"

reef harness
#

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

mint fable
#

yes you can use utils to nest things

#

%utils_parse_changeoutput_{changeoutput_{player_name}}% sort of

reef harness
#

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

mint fable
#

obviously not a working example

reef harness
#

ok so all i do is just next the placeholder with {}

reef harness
#

yeah, i know. but was getting deep

mint fable
#

every placeholder surrounded by {}

#

except for the main one ofc

reef harness
#

also does utils have a install shortcut

mint fable
#

shortcut?

reef harness
#

like papi download

#

alright

mint fable
#

yes, all verified expansions do

reef harness
#

got it! thank you so much

fleet pilot
#

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

tender vaporBOT
elder gale
#

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)

molten widget
#

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

languid marsh
#

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?

vivid sparrow
#

Hf reading that

languid marsh
#

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

vivid sparrow
#

time set day

languid marsh
#

it doesnt work

#

its shows an error

vivid sparrow
#

and you probably need the world name

#

Check essentials documentation for commands

languid marsh
#

can u make me a config with that

#

idrk how ican make it

vivid sparrow
#

No, you can read the documentation yourself

languid marsh
#

where

vivid sparrow
#

the command is probably smth like /time set day WORLD, and to get player's world name, you use %player_world%

vivid sparrow
elder gale
#

How get top balance with essentials and vault?doesn't exist %essentials_top_balance_rank% in 1.19.3

vivid sparrow
#

-papi essentials

elder gale
#

Yes but there are no variable for taht

#

In 1.19.3

vivid sparrow
#

%essentials_baltop_rank%

elder gale
#

The wiki is not update

vivid sparrow
#

?

elder gale
#

In last version there are not variable with top balance

vivid sparrow
#

Yeah, that placeholder exists in code.

elder gale
#

In the lonk there are not the variable with balance top

#

Link*

vivid sparrow
#

?

#

I'm confused by what you are asking.

#

What placeholder do you need?

elder gale
#

Essentials. But i need variable for create top balance

vivid sparrow
#

Click "View full list"

vivid sparrow
elder gale
#

Don't work in minecraft

#

When inexecute the /papi ecloud placeholderapi essentials there not the other variable

vivid sparrow
#

/papi parse me %essentials_baltop_rank%
And make sure you have the expansion installed

#

papi ecloud what?

#

/papi ecloud download essentials
/papi reload

elder gale
elder gale
vivid sparrow
#

Ok, then run the parse command.

elder gale
#

When inrun parse command i have juste %essentials_baltop_rank%

vivid sparrow
#

Do /papi dump and send the link

elder gale
#

I'll be back in 15 minutes with screens I could ping you?

vivid sparrow
#

Sure ig. But i need the link.

elder gale
#

i have no link when i whrite /papi dump

#

@vivid sparrow

tender vaporBOT
elder gale
#

[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

tender vaporBOT
elder gale
#

but i don't take %essentials_baltop_player_1%

#

for to collect the first player with the most money

vivid sparrow
vivid sparrow
elder gale
#

work just this variable doesnt work: %essentials_baltop_balance_<rank>%

vivid sparrow
#

try %essentials_baltop_balance_fixed_<rank>%

elder gale
#

I was just told that essentials would have been infected after June 6th

#

by a virus

vivid sparrow
#

hmm?

elder gale
#

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

pulsar willow
#

treid with spaces

#

around the /

#

still dosent work 😦

junior musk
#

did you download the math and statistic expansions?

junior musk
#

?paste

tender vaporBOT
elder gale
#

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

pulsar willow
#

Stats work

#

and math works with 1+2

junior musk
#

in which scoreboard plugin are you using the placeholders?

pulsar willow
#

All other placeholders work

#

Still dosent work when parsing

#

with papi

junior musk
#

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)

elder gale
#

for essentials?

#

1.5.2

junior musk
#

was talking to SoNot

elder gale
#

oh sorry

junior musk
#

dw

#

as for Essentials, I'm also getting Economy Layer: None

#

but it seems to work fine

#

what doesn't work?

#

the baltop placeholders?

elder gale
#

yes

pulsar willow
#

[PlaceholderAPI] [math] Cause: '2 / 0' is not a valid Math expression.