#placeholder-api

1 messages · Page 166 of 1

hard basalt
#

oh ok

fleet pike
#

i have a image of the plugin list, can i DM u it? {{cant send images in this chat}}

hard basalt
#

send it via paste

#

=image

tender vaporBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
HelpChat Paste

hard basalt
#

f

tender vaporBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.

hard basalt
#

plugins seem fine

#

have u try run lp for each server independent ?

#

and r u using bungee or waterfall ?

fleet pike
fleet pike
hard basalt
#

oh ok

fleet pike
hard basalt
#

idk try it first if the problem still there u can switch back to bungee and run luckperm independent for each server

#

waterfall require no additional setup

#

if all file is generated by bungee

fleet pike
hard basalt
#

no

#

the waterfall aim for performance improvement

#

there will be a file call waterfall.yml generated but it will be ok to left alone

#

if think not go ok u can change back to bungee, all file generated be waterfall will be ignore

fleet pike
hard basalt
#

make a backup first

#

pls

#

always backup

hard basalt
fleet pike
hard basalt
#

k

hard basalt
#

however this is not a suitable solution to mini game server like skywar and bedwar ect

#

and also

#

u can try ask for luckperm support from their server

errant iron
#

It's probably a setting in Citizens or whatever NPC plugin you use

fleet pike
errant iron
#

oh you also need to use %player_name% instead of %player%

#

?player

tender vaporBOT
#
FAQ Answer:

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

errant iron
#

^

fleet pike
#

but i got a new one

fleet pike
errant iron
#

oh it's a problem with Lands

#

go look at their config

fleet pike
#

AsyncPlaceholders?

errant iron
#

probably

#

i can only gather as much as you can from their description

fleet pike
#

there is nothing called AsyncPlaceholders in lands configs

errant iron
#

Well, go ask them in their discord

#

They obfuscate their code so I can't really help you

knotty kite
#

can you tell me if it's okay?
I want to sum the values of all those placeholders.

but it only gives me the "Return" "",
What did I do wrong?
/papi parse me %javascript_Topprofe_topprofe% = ""

hard basalt
#

u have to return the variable

knotty kite
#

oh! ty!

hard basalt
#

np

#

u can also add color code into it if u want

#

here an example if u want to see

var isl = %Level_bskyblock_island_level%;
function colorlevel() {
    if(isl<0){return "&c" + isl}
    else{
        if(isl<=1000){return "&7" + isl}
        else{
            if(isl<=2000){return "&f" + isl}
            else{
                if(isl<=4000){return "&a" + isl}
                else{
                    if(isl<=8000){return "&e" + isl}
                    else{
                        if(isl<=16000){return "&b" + isl}
                        else{
                            if(isl<=32000){return "&d" + isl}
                            else{
                                if(isl<=64000){return "&5" + isl}
                                else{
                                    if(isl<=128000){return "&6" + isl}
                                    else{
                                        return "&4" + isl
                                    };
                                };
                            };
                        };
                    };
                };
            };
        };
    };
};
colorlevel();

knotty kite
#

uh! nice ty!

errant iron
#

dear god

#

now that's the definition of arrow code

hard basalt
#

XD

sturdy pollen
#

how to make papi bungee?

balmy marten
#

PlaceholderAPI isn't a bungee plugin

hard basalt
#

how can i specifix a specifix amount of item to remove ?
%checkitem_amount_remove_nameequals:&dCompressed stone,amount:2,loreequals:&7Heavy compressed stone%

junior musk
#

try with amt:

#

uh

#

I mean %checkitem_remove_nameequals:&dCompressed stone,amt:2,loreequals:&7Heavy compressed stone%

#

I'm not sure if it actually is supported

#

but try it

turbid tide
#

^^^ no _amount_ and no amount:2. its amt:2

#

like Tanguygab said

hard basalt
#

oh

#

k

cyan wyvern
#

[10:30:43 WARN]: [PlaceholderAPI] Failed to download expansion information
java.lang.NullPointerException: Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "me.clip.placeholderapi.expansion.PlaceholderExpansion.getVersion()" is null
at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$fetch$3(CloudExpansionManager.java:225) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.16.5.jar:git-Airplane-9]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.5.jar:git-Airplane-9]
at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1489) ~[patched_1.16.5.jar:git-Airplane-9]
at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:439) ~[patched_1.16.5.jar:git-Airplane-9]
at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1402) ~[patched_1.16.5.jar:git-Airplane-9]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1134) ~[patched_1.16.5.jar:git-Airplane-9]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:292) ~[patched_1.16.5.jar:git-Airplane-9]
at java.lang.Thread.run(Thread.java:831) [?:?]
[10:30:46 INFO]: [BuycraftX] Sending 2 analytic events
i get this error in papi, im trying to use player extension

hard basalt
#

and what version of papi you using ?

sharp sand
#

Placeholders aren't working

cyan wyvern
#

dev

#

i tried multiple versions but nothing

sharp sand
errant iron
#

send your startup log supercraft

#

?startuplog

tender vaporBOT
#
FAQ Answer:

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

sharp sand
cyan wyvern
#

1.16.5

errant iron
#

supercraft

sharp sand
#

Ok

errant iron
#

actually yea you too

sharp sand
#

Okay

#

Where do i send it?

errant iron
#

here

#

send it in a paste

#

as the faq states

sharp sand
#

Ok

errant iron
#

you didn't save it

#

top right little save button

sharp sand
#

Wait

#

I was just asking if its this website

turbid tide
#

yeah

sharp sand
#

cant paste it in paste

errant iron
#

what

sharp sand
#

Thr log

#

*the

errant iron
#

what do you mean

#

ctrl+c, ctrl+v

sharp sand
#

Am on mobile and nope i am pasting but not working for some reason

errant iron
#

oh well get on a pc

sharp sand
#

Cant

errant iron
#

okay well I can't really help you without a log

sharp sand
#

I can paste it in pastebin

errant iron
#

ugh i guess

sharp sand
#

Wait

#

Nvm i did it

tender vaporBOT
#
Possible Solution Found:

There seems to be some invalid syntax in your config! You can paste it into https://yaml.helpch.at/ in order to find out where your issue is!

turbid tide
#

yes?

#

nudes?

errant iron
#

bro get me in on this

hard basalt
#

lol

carmine veldt
#

you can dm me any time 😉 ❤️

hard basalt
#

oink

#

this chat is now sponsor by piggybank

errant iron
#

sad

#

is this alt #2?

turbid tide
#

yeah

junior musk
errant iron
#

haha

#

what a man

#

ctrl + f

#

leak

#

ctrl +f

#

leak

#

no

#

you're lucky you're not banned yet on your 4th account

turbid tide
#

I FUCKING dmed you the names...

#

on the other account

#

so please FUCKING stop saying fucking

#

ty

junior musk
#

just open your logs file, press Ctrl, press F at the same time and write leak, it's nlt difficult

errant iron
#

lmao

junior musk
#

maybe for 1 plugin, but that doesn't mean for all

#

mobile text editor have a search feature

#

that's not what your logs said

errant iron
#

lol yeah

junior musk
#

When you see leaked by <website>, you know it's not legit lol

#

moreover it's on an online paste, ALL web browsers have the Search function

errant iron
#

it's your server buddy

#

you're responsible for it

junior musk
#

oh, didn't even see PlayerVault was there too 😂

#

but there's 1 thing I never understand with people

#

they see their logs

#

they see they have tons of errors

#

and they also see in game that some plugins didn't load

#

why not fix that 😂

#

like, there is about 10 plugins which didn't load in the first lines of the logs

errant iron
#

seriously

junior musk
#

and there's also the 100 of useless plugins

turbid tide
#

he's gone

#

xD

junior musk
#

I know 😅

#

even though he probably rejoined with another alt

faint zealot
#

is the MySQL expansion working?

turbid tide
faint zealot
#

Using 2.10.10 right now, its outputting errors on console

turbid tide
#

last version of the expansion I mean

faint zealot
#

isn't it 1.31?

turbid tide
#

lemme check

#

yeah it is

faint zealot
#

yep, using that one

turbid tide
#

can you restart the server and send the fresh full startup log please?

tender vaporBOT
#
FAQ Answer:

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

faint zealot
#

I did a full restart and it didn't load either, gives me an error on /papi reload so would that error work?

turbid tide
#

yeah sure

faint zealot
tender vaporBOT
#
📋 Paste Converted!
https://paste.helpch.at/ihayahabiq

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

faint zealot
#

Oh I forgot to mention I'm using Java 16

turbid tide
#

hmm same error. guess no one updated it? hmm

faint zealot
#

dont know if that could do something

turbid tide
#

nah. this is a very old error. something to do with config options

#

can you try and downgrade? I do have a bad memory so maybe I was actually thinking you have to downgrade not update

faint zealot
#

i'll give it a try

turbid tide
#

to downgrade, first go into plugins/PlaceholderAPI/expansions and delete the jar from there

#

the MYSQL one

#

and then /papi ecloud download mysql 1.3.0

#

should work

faint zealot
#

same error

turbid tide
#

hmm yeah. just checked the github and seems like it wasn't fixed. tho I really thought version 1.3.1 was supposed to fix it

turbid tide
# faint zealot same error

hmm. can you back up your placeholderapi config.yml, stop server, delete config.yml, start server and let a new one regenerate?

faint zealot
flint kiln
#

How can I change the date format of the placeholder %player_first_join_date%?

turbid tide
#

yeah idk then. the developer hasn't been active in a while

turbid tide
#

if this doesn't work then its not possible

flint kiln
#

It worked! Thanks

slate parrot
#

Is there another way of using placeholder api placeholders in essentials other than chatinjector? I want to use placeholders inside the lang file, but chatinjector doesn't work

slate parrot
#

another plugin that adds placeholders that hook up with essentials though, that also perhaps hooks up with placeholder api or something?

turbid tide
#

I only know of chatinjector

slate parrot
#

aight...

turbid tide
#

@silver minnow u want a plugin idea? make a plugin that uses packets to parse PAPI placeholders to every chat message

silver minnow
#

👀 alr

deep dragon
#

all my placeholders are in lowercase suddenly. i updated to the 2.10.10 then it happened. downgrading still has this. my lobby server that still is on the previous version doesnt have this issue

#

saw the issue on the github, but strangly downgarding doesnt fix it at all

turbid tide
deep dragon
#

it worked fine before

turbid tide
#

yeah Ik. it breaks since 2.10.7 (PAPI). We don't know why. Some people have taken a look and couldn't find the problem

steady flume
#

Where is the placeholder %server_name% for me to change it?

turbid tide
steady flume
#

ok thanks fingerguns

deep dragon
turbid tide
#

hmm strange. I never seen it work on 2.10.7+. It might not be chatinjector then. I'm not sure. have you tried removing ChatInjector just to make sure?

silver minnow
tender vaporBOT
#
Hey!

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

silver minnow
#

oop

silver minnow
#

or do you mean serverbound packets

turbid tide
#

idk. was just an idea

#

I wanted it to work on every message

#

and just parse the for null

#

but yeah not a lot of placeholders will work anyways

#

so idk

#

well actually

#

you can see who the message is sent to right?>

#

just parse it for that player

#

so idk you can do however you want just make it efficient xD

silver minnow
#

D:

turbid tide
#

k dkim.. we get it

#

xD

silver minnow
#

and now if someone comes here they don't know what just happened because of auto-delete thonking

#

lol

#

wait a minute

#

i dont think i can make the plugin

turbid tide
#

welp idk. it was an idea

silver minnow
#

since i dont think kotlin supports java 16 yet

#

🤣

turbid tide
#

ugh what?

silver minnow
#

oh wait

#

nvm it might be gradle issue

turbid tide
#

what u talking about mate?

silver minnow
#

lemme put to gradle 7

turbid tide
#

use gradle 7 yes

#

you do need gradle 7 for java 16

silver minnow
turbid tide
#

same for shadowjar 7.0.0

#

you need gradle 7

silver minnow
#

alr

#

ty

#

i afk tho for like 10 minutes

#

cya

turbid tide
#

👍

latent cargo
#

Using BungeeCord extension.. the %bungee_total% when parsed keeps saying there is 1 player online, when there isn't?

turbid tide
#

by default the expansion only updates every 30 seconds. you can change that in plugins/PlaceholderAPI/expansions

latent cargo
#

it's been hours

#

x3

turbid tide
#

oh

latent cargo
#

Yeah

turbid tide
#

make sure you have latest expansion version on every server and also only 1 of them. not multiple

latent cargo
#

the extension is installed on the paper server. not sure if that makes a difference

turbid tide
#

well you can only have them on the paper server

#

where are you using the placeholders?

latent cargo
#

DiscordSRV

#

to use in the discord bot's status

turbid tide
#

have you tried actually parsing it on the server using /papi parse ?

#

maybe the bot caches it or something

latent cargo
#

papi parse ShiftyRP %bungee_total%
[19:37:03 INFO]: 1
papi parse ShiftyRP %bungee_total%
[19:40:45 INFO]: 1

#

tried taking screenshot but can't upload in here

turbid tide
#

and how many are online actually?

latent cargo
#

0

turbid tide
#

well is ShiftyRP not online?

latent cargo
#

no

turbid tide
#

or is that just an offline name

#

Ic

latent cargo
#

[19:28:44 INFO]: ShiftyRP lost connection: Disconnected
papi parse me %bungee_total%
[19:36:41 INFO]: You must be a player to use me as a target!
papi parse %bungee_total%
[19:36:48 INFO]: You must supply a target, and a message: /papi parse {target} {message}
papi parse console %bungee_total%
[19:36:55 INFO]: Failed to find player: console
papi parse ShiftyRP %bungee_total%
[19:37:03 INFO]: 1
papi parse ShiftyRP %bungee_total%
[19:40:45 INFO]: 1

turbid tide
#

yep yep. offline player

#

IC

#

hmm

#

strange

latent cargo
#

I couldn't get it to parse as console

turbid tide
#

make sure you've followed what I said above

#

yeah that's fine

latent cargo
#

how do i check if its up to date?

#

and what do you mean only 1 of them? 1 on each server?

latent cargo
turbid tide
#

you can do /papi info BUngee and it will tell you the version.

#

make sure its version 2.0

#

and also go into the plugins/PlaceholderAPI/ecloud folder and make sure there's just one Bungee jar

#

bcz there might be multiple

#

and it would break the others

#

also go into plugins/PlaceholderAPI/config.yml and change that check-time to 1 instead of 30

#

and test the /papi parse command after

#

btw /papi reload after the last 2 steps

latent cargo
#

[19:48:17 INFO]: Placeholder expansion info for: bungee
Status: Registered
Author: clip
Version: 1.0.1

turbid tide
#

yeah. you need to update

#

and also delete old ones

silver minnow
turbid tide
#

just use setBracket instead of setPlaceholders

silver minnow
#

alr

#

ty

latent cargo
#

ty ❤️

turbid tide
#

👍

latent cargo
#

It's doing it again...

#

Hasn't gone back to 0

turbid tide
#

have you made sure its actually only 1 jar in the expansion folder?

latent cargo
#

Yup

#

[19:57:23 INFO]: ShiftyRP lost connection: Disconnected
papi parse ShiftyRP %bungee_total%
[20:32:47 INFO]: 1

turbid tide
#

and is it set to 1 second update?

#

oh wait

thorn thunder
#

Sounds like it could be exploited really badly for a dos

turbid tide
#

oh

#

hmm xD

#

welp idc

#

lmao

#

they want it, they'll get it :)))

thorn thunder
#

So i send a chatmessage {javacsript_some_heavy_operation}{javacsript_some_heavy_operation}{javacsript_some_heavy_operation}{javacsript_some_heavy_operation}{javacsript_some_heavy_operation}{javacsript_some_heavy_operation}

#

Given enough times

turbid tide
#

yeah lmao. didn't really think about that

thorn thunder
#

Things will reach a standstill

latent cargo
turbid tide
#

nothing. just wanted to see if its actually set to 1 second update

latent cargo
#

Yeah it is

turbid tide
#

but even so

thorn thunder
#

What?

turbid tide
#

if message*

thorn thunder
#

if plugin was sent by plugin or player uh

turbid tide
#

was sent

thorn thunder
#

oh

turbid tide
#

yeah

#

but still

#

I could see a plugin

thorn thunder
#

I dont understand

turbid tide
#

having the output

thorn thunder
#

What would the difference make?

#

You'd still be parsing every chat message i assume?

turbid tide
#

oh wait you're saying just in general server owners would be doing bad stuff

#

oh I Was thinking just about malicious users

#

joining the server

#

but Ic what you mean yeah

thorn thunder
turbid tide
#

well yeah was thinking to only parse messages sent by plugins, but even so I can still see it being bad. yeah guess it is not the best idea xD

thorn thunder
#

If I send 10k placeholder requests, this plugin would technically parse all of them

#

ah

turbid tide
#

but yeah even so, I would see a plugin just returning the output the player inserted or something like that, or them just spamming a plugin that has a placeholder in it . yeah

silver minnow
#
val newMessage = PlaceholderAPI.setBracketPlaceholders(player, message)
println("Before: $message, after: $newMessage")
````newMessage` is always lowercase
thorn thunder
#

Completely right?

#

Including parts that arent placeholders?

#

@silver minnow

silver minnow
#

yes

thorn thunder
#

yea found the bug

silver minnow
#

o

thorn thunder
#

making a pr

silver minnow
#

is it fixable on my side? or do i have to wait?

thorn thunder
#

I can send you the link to the fork if you want to build it yourself

silver minnow
silver minnow
thorn thunder
#

Alright

silver minnow
#

oh btw blitz whats wrong with chatinjector? just wondering

low nest
#

I have a question about PAPI, if I write something in my config what I need it does not work. Are there any problems with Deluxehub and PAPI. So said it does not show me but it has disappeared so that you do not see it (%vault_eco_balance%)

turbid tide
turbid tide
#

@thorn thunder can u link me to where the problem is?

low nest
#

this happend: An internal error occurred while attempting to perform this command

turbid tide
#

use a paste bin for it tho

tender vaporBOT
#
FAQ Answer:

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

turbid tide
#

this one preferably ^^^

low nest
#

ok

#

do you mean that: 25.07 22:28:10 [Server] ERROR null

#

this is what I found as error otherwise there is only something with info

tender vaporBOT
#
FAQ Answer:

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

turbid tide
#

ok please restart the server and provide this ^^

low nest
#

ok

#

and now?

tender vaporBOT
#
FAQ Answer:

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

obsidian charm
#

Hi have this small task

silver minnow
#

@obsidian charm try doing /papi ecloud download Server to download the latest version

#

not sure if it'll automatically delete the old expansion, but u can just remove the jar yourself if it doesn't

obsidian charm
#

Oki thank you

latent cargo
#

Using BungeeCord extension.. the %bungee_total% when parsed keeps saying there is 1 player online, when there isn't?

silver minnow
tender vaporBOT
#
Hey!

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

silver minnow
#

kjndsauywhanjksd

#

oops

leaden holly
#

How do you show a score if it is equal to a certian value?

turbid tide
#

you'll have to decide. anyways

#

this plugin will be a bad thing xD

#

so easily exploitable

rancid fjord
#

Guys help, indicated %bw1058_player_level% He does not display it what to do?

silver minnow
tender vaporBOT
#
Hey!

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

silver minnow
#

ack

turbid tide
#

malicious parties (players) could spam placeholders in chat

#

and if they know some placeholders that do very heavy things

#

that could be bad

silver minnow
#

do you want me to make a plugin that only works for plugin messages? orrrrr

turbid tide
#

and even if you would to only parse placeholders for messages sent by plugins, there are still plugins that just give out the input the player sent

#

^^

silver minnow
#

oh

turbid tide
#

like, you can still make it

#

but probably not the best idea

turbid tide
rancid fjord
tender vaporBOT
#
Hey!

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

turbid tide
#

then it works...

#

where are you trying to use it?

rancid fjord
turbid tide
#

well if you're using HOlographicDIsplay, you should probably know that plugin does not support PlaceholderAPI

#

you can tho download a Plugin like HolographicExtension or HolographicPlaceholders + ProtocolLib

#

to make it work

rancid fjord
#

Thanks a lot

placid chasm
#

Hi, im updating my server to 1.17 and im using the latest DEV build (tried latest master too) of papi, and the latest version of TAB, and I am getting this message spammed in my server console:

[17:28:02] [pool-34-thread-2/FATAL]: Thread pool-34-thread-2 failed thread check for reason: Asynchronous Chunk getEntities call
java.lang.Throwable: null
    at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[patched_1.17.1.jar:git-Airplane-23]
    at net.minecraft.server.level.ServerLevel.getEntities(ServerLevel.java:2375) ~[?:?]
    at org.bukkit.craftbukkit.v1_17_R1.CraftWorld.getEntities(CraftWorld.java:1173) ~[patched_1.17.1.jar:git-Airplane-23]
    at com.extendedclip.papi.expansion.server.ServerExpansion.onRequest(ServerExpansion.java:190) ~[?:?]
    at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:160) ~[?:?]
    at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:70) ~[?:?]
    at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:98) ~[?:?]
    at me.neznamy.tab.platforms.bukkit.BukkitPlatform.setPlaceholders(BukkitPlatform.java:240) ~[?:?]
    at me.neznamy.tab.platforms.bukkit.BukkitPlatform$2.get(BukkitPlatform.java:205) ~[?:?]
    at me.neznamy.tab.shared.placeholders.PlayerPlaceholder.update(PlayerPlaceholder.java:36) ~[?:?]
    at me.neznamy.tab.shared.placeholders.PlayerPlaceholder.getLastValue(PlayerPlaceholder.java:59) ~[?:?]
    at me.neznamy.tab.shared.placeholders.Placeholder.set(Placeholder.java:96) ~[?:?]
    at me.neznamy.tab.shared.Property.update(Property.java:154) ~[?:?]
    at me.neznamy.tab.shared.Property.updateAndGet(Property.java:141) ~[?:?]
    at me.neznamy.tab.shared.features.HeaderFooter.refresh(HeaderFooter.java:117) ~[?:?]
    at me.neznamy.tab.shared.features.PlaceholderManager.refresh(PlaceholderManager.java:178) ~[?:?]
    at me.neznamy.tab.shared.features.PlaceholderManager.lambda$new$0(PlaceholderManager.java:84) ~[?:?]
    at me.neznamy.tab.shared.cpu.CPUManager.lambda$startRepeatingMeasuredTask$2(CPUManager.java:146) ~[?:?]
    at me.neznamy.tab.shared.cpu.CPUManager.lambda$submit$4(CPUManager.java:180) ~[?:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
    at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
    at java.lang.Thread.run(Thread.java:831) [?:?]
[17:28:02] [pool-34-thread-2/FATAL]: Thread pool-34-thread-2 failed thread check for reason: Asynchronous Chunk getEntities call
java.lang.Throwable: null
    at org.spigotmc.AsyncCa
#

I have run the ecloud update all command also

turbid tide
#

/papi ecloud download server then /papi reload

placid chasm
#

I did the update command but ill see if that helps

#

*update all

placid chasm
turbid tide
#

what placeholder are you using? are you using %server_entities% or are you using the TAB one?

placid chasm
#

One sec

placid chasm
#
footer:
- '%animation:MyAnimation1%'
- '&b/kchelp for command info.'
- ''
- '&7TPS: %server_tps_1_colored% &7Ping: %player_colored_ping% &7Uptime: %server_uptime%
  &7RAM: %server_ram_used%/%server_ram_total% MB &7CPU: %spark_cpu_process%'
- '&7Chunks: %server_total_chunks% &7Entities: %server_total_entities%'
- ''
- '&6kingdomscrusade.net'
turbid tide
#

hmm. idk really. it seems to me that TAB is making the request async and that's breaking it? not really sure what's going on here

placid chasm
#

it was fine on 1.16

turbid tide
#

try and contact the TAB developer. maybe they've seen this before and know how to help

placid chasm
#

Ok, thanks alot :D

#

@turbid tide
Fix:

If that error is spamming (in my case it was the total entities placeholder) you need to add %sync: to it

so change %server_total_entities% to %sync:server_total_entities%

#

just incase someone else has the same issue

#

you need to do it for every placeholder that causes issues

turbid tide
#

yeah. I could see it was the entities placeholder since TAB was making the request async. but didn't know they offer a sync option

placid chasm
#

👍

austere hawk
#

hello what should I put between% so that the number of votes is displayed with the voteparty plugin?

trim mist
austere hawk
#

don't work

trim mist
#

It works just fine, you just need to read the instructions.

austere hawk
#

because %voteparty_votes_recorde% does not display

turbid tide
austere hawk
#

ok but when do i have access afterwards?

turbid tide
#

your request was denied. you need to make sure you follow the steps. (set your discord on spigot )

#

where you can get help

languid star
#

Heyo I'm trying to use the sql expansion but I can't get it to work and don't quite understand what I'm doing wrong

tardy kite
craggy slate
#

How do I remove a placeholder

fervent spire
craggy slate
#

I don't want it on at all

#

I accidentally turned it on

#

And want it gone completely

fervent spire
#

Which placeholder? Where? You aren't giving much details

craggy slate
#

Well I just want to remove the Server placeholder completely

#

That's all I can say?

fervent spire
#

Just remove it from wherever you have it displaying?

craggy slate
#

How

#

I've tried /papi ecloud remove Server

fervent spire
#

If you want to delete the expansion for it, just remove it from the expansions folder and reload papi

#

Otherwise just remove the placeholder from whatever is displaying it

craggy slate
#

Thanks

austere hawk
#

someone could tell me, how to check that a specific item in the player's inventory does not have an enchantment?

fervent spire
austere hawk
#

yea in placeholder ^^

fervent spire
austere hawk
#

i use checkitem but i can check only if the item have the enchant

#

i try this but not work - '%checkitem_mat:diamond_axe,nameequals:&2Le Fendoir LVL : 1,lorecontains:&5Attention ça va couper,enchantments:unbreaking=3;efficiency=6;mending=0%'

#

strict work only with name and lore 😢

#

a java placeholder is possible ? (i search all solution xD) and possibility ... i can use SKRIPT to block the addition of enchantment

#

oh i can use 2 verif ...

#

one with enchant and another without ^^

#

one for yes and one for no

lavish sail
#

Doesn't the new javascript update work on 1.8.x?

turbid tide
latent cargo
#

Using BungeeCord extension.. the %bungee_total% when parsed keeps saying there is 1 player online, when there isn't?

shrewd ore
#

how to reset statistics for the whole server

turbid tide
#

you have to delete the main world. well just the player statistics folders from that

latent cargo
#

Blitz, you got any other ideas why BungeeCord Extension isn't working as intended? - perhaps %bungee_total% counts unique players only? Or is like a total of how many players have joined?

turbid tide
#

Afraid not. Have you tried just using the math expansion and adding up each server manually?

latent cargo
#

I wouldn't know how to do that lol.. and it's a bit much to setup for each individual server.

#

PlayerList expansion isn't working properly either.

#

Am I able to message Clip, the developer of the bungee expansion in any way?

turbid tide
turbid tide
latent cargo
#

a massive error.

#

Let me pastebin it

tender vaporBOT
#
📋 Paste Converted!
https://paste.helpch.at/buzuwoheho

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

turbid tide
#

@junior musk can u help him? ^ don't have time to look at the code rn.

junior musk
#

idk what's wrong

turbid tide
#

lmao xD

#

is the placeholder he used correct?

latent cargo
#

i'm annoyed the bungee placeholder doesn't work correctly.

turbid tide
#

can't think of anything else

junior musk
#

I don't think it can be null

turbid tide
#

also try parsing each server 1 by 1

#

see where the amount 1 is actually coming from

#

maybe its just 1 server that's bugged and sends the wrong amount

latent cargo
#

Actually no, bungee_lobby stays at 1

turbid tide
#

so just lobby?

latent cargo
#

and if i go to server2 it stays at 0

#

but server2 doesn't have the bungee expansion installed

turbid tide
#

can you install it and test it?

#

bcz if its actually just the lobby, it might be a plugin messing with the count

latent cargo
#

hmmm...

#

it says im not on either server, but total says there's one online

#

and it isn't going back to 0 either.

#

...the survival server isn't registering im online on the lobby

turbid tide
#

did you update it to 1 second?

latent cargo
#

yea

#

if i join the survival server it updates to 1

#

But then when i leave it doesn't go back to 0

#

So it's behaving like the lobby server essentially

turbid tide
#

but what if you go to survival? and then parse it from lobby and from survivala

#

after you go out?

#

does it still say you're on survival?

dim cypress
#

With a scoreboard plugin, assuming the placeholder returns an int, can you change the red number with a scoreboard plugin?

turbid tide
#

yeah. you can replace the scoreboard number.

#

idk if any plugin supports placeholders for it

dim cypress
#

The one I'm currently using "Scoreboard-revision" does not =X

turbid tide
#

but it is customisable in some blugins

#

I know kiteboard allows you to customise it. idk if you can actually set it based on a placeholder tho

dim cypress
#

gonna try that! thx Blitz ❤️

#

oh its premium, gonna buy it well reviews and no 1.17

turbid tide
#

well don't do it just for that xD

#

maybe you can't even use placeholders

#

read the wiki first

#

and the spigot page

#

see what's possible and what's not

dim cypress
#

yeah

turbid tide
#

works fine on 1.17

#

used it personally

dim cypress
#

oh okie^^

turbid tide
#

but some people don't read updates. just the top tested versions part

dim cypress
#

ill take a read first ^^ thanks again 😛

#

and anyway the plugin cannot be bought so :/

turbid tide
#

oh

#

welp xD

dim cypress
#

welp indeed 🤣 the buy button is gone

turbid tide
#

ah its not possible anyways btw

#
  pretty-numbers:
    enabled: true
    number: 1```
#

you can only set 1 number for the entire list

#

and don't think it accepts placeholders anyways

#

so basically it will be

line1 1
line2 1
line3 1```
dim cypress
#

ahhhh so I can't say "%int_placeholder" only

#

Ah.

turbid tide
#

yup

dim cypress
#

Good to know, I thought it was somewhat possible

#

thanks ❤️

turbid tide
#

👍

iron kite
#

anyone know why %statistic_use_item:bone_meal% isn't working for me? I use bonemeal on stuff, it works, I check /papi parse me %statistic_use_item:bone_meal% and it says 0

turbid tide
#

can you try and check the minecraft statistics? see if they update there?

iron kite
#

nope

#

bone meal/times used is 0

#

I was in survival too

turbid tide
#

yeah. then its something to do with minecraft/spigot not registering it.

#

afraid papi just takes the info from spigot.

iron kite
#

ya idk what could be wrong. bummer

weary sundial
#

Hey is it possible to use one placeholder inside placeholder ?
Like this : %jobsr_user_jlevel_%jobsr_user_job_1%% or %jobsr_user_jlevel_{jobsr_user_job_1}%
These two examples do not work :/

silver minnow
#

expansions have to support it themselves

weary sundial
#

Oh ok thanks 🙂

turbid tide
#

you could try and use the NestedPlaceholders expansion

weary sundial
#

Ok I will try that thank you 😉

silver minnow
#

😮 that exists?

#

interesting 🤔

pseudo flare
#

Hi guys

#

Why cant i download papi ecloud download Factio

#

n

wet basinBOT
#

@silver minnow Unknown expansion.

eternal jackal
#

https://paste.helpch.at/ovapegokuj.sql
Can you help me with this please? I am on version 1.17 purpur and my placeholders do not load, I try to use / papi reload and I get this error in the console

turbid tide
#

it looks to me like your quest expansion is trying to find the Quest plugin ut can't

ebon canyon
#

Hello people. I have a problem. Crystal kills not identified in kill statics

#

It only identifies when you kill with a sword

quaint ocean
#

hello i have Pinger extensions it works fine when ping(ONLINE status) to other server other than localhost, but when i ping on same machine it doesn't work always offline is there any fix to this?
i tried pinging to localhost, my domain, my numeric ip still doesn't work and im 100% sure the server works just fine i can login to it

remote scarab
#

If you think you know, please help me

delicate scroll
turbid tide
#

Read more about it here

#

^^^^

pseudo flare
#

Hi sorry Blitz but what do I have to do Ive my Papi doenst have faction included ?

#

I can’t download it

smoky spoke
#

who's the dev of the player placeholder?

#

because i wanna suggest a placeholder for how much damage did the player recently did to a target

#

for example, i hit a zombie for 20 damage, when i parse the placeholder, it prints out 20. basically %player_last_damage% but instead of printing out the latest damage i took, its the latest damage i dealt

delicate scroll
# turbid tide You can't just add formata to the config. It doesn't work like that. If your eco...

well when i try to download javascript expanion to use it i get this msg in the console

[10:10:51 INFO]: [PlaceholderAPI] Fetching available expansion information...
[10:10:58 INFO]: ZweeDaLegend issued server command: /papi reload
[10:10:58 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[10:10:58 INFO]: [PlaceholderAPI] Fetching available expansion information...
[10:10:58 INFO]: [PlaceholderAPI] Successfully registered expansion: vault
[10:10:58 ERROR]: [PlaceholderAPI] expansion class JavascriptExpansion is outdated:
[10:10:58 ERROR]: [PlaceholderAPI] expansion class JavascriptExpansion is outdated: 
Failed to load due to a [NoClassDefFoundError], attempted to use org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory```
tender vaporBOT
#
Hey!

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

vivid sparrow
#

I dont think the game store that @smoky spoke

smoky spoke
#

so its impossible?
i wonder if it would be possible by recording the damage you did to an entity for the placeholder to parse. i don't code so idk

turbid tide
#

Well the Player expansion is not meant for that

#

It peobably is possible to record it

turbid tide
delicate scroll
smoky spoke
turbid tide
turbid tide
delicate scroll
#

i have paper 1.8

#

so probably java 8

turbid tide
#

yeah. but java version

#

well that's not how it works? bcz 1.8 works on any java from 8 to 16

#

do you not have access to a terminal?

vivid sparrow
#

I dont think so blitz, I think 1.8 runs only on java 8

turbid tide
#

oh does it?

#

I actually didn't know that

#

I was pretty sure it runs on newer

turbid tide
turbid tide
vivid sparrow
#

It was for sure

junior musk
turbid tide
#

don't think he's on paper but still yeah. I was pretty sure 1.8 can have java 15 at least

delicate scroll
turbid tide
#

hmm

#

@thorn thunder can you help us out here? He's downloading the last version manually from the ecloud and he still gets this? he's on mc 1.8.8. we don't know the java version but I'd assume its 15 or 16

#

I need to go in a min.

thorn thunder
#

Could you show us your expansions folder?

junior musk
turbid tide
#

oh. missed that. yeah. I Was just looking at the dump and it wasn't showing its paper

delicate scroll
#

well sorry my bad it isn't fully paper
i have a custom edited paper

junior musk
#

if it's still based on paper, then that means it should still support Java 15/16, so can you check it?

delicate scroll
turbid tide
#

also can you try with just paper? because that edit might break stuff.

junior musk
#

it's not the person who made it you have to ask

#

it's your host

#

you have to ask which Java version your host is currently running

quiet osprey
#

hi, is there any expansion to parse placeholders as other player

#

?

junior musk
#

the ParseOther expansion can do that

quiet osprey
#

thanks

delicate scroll
fringe sundial
#

@balmy marten, I apologize for the mention, I really need your help. Can you write to me in DM, please?

tender vaporBOT
#
Hey!

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

latent cargo
tender vaporBOT
#
Hey!

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

low nest
#

Is there a placeholder for the entire online time the player has on the server

turbid tide
#

%statistic_time_played%

low nest
#

thx

cinder copper
#

Ever since updating my server to 1.17.1 and updating to the latest Papi version, the plugin seems to forget expansions it had registered on every restart.
And I have to manually type /papi register Expansions-Vault.jar and others..
I don't seem to find many others having the same issue so I'm wondering if I did anything wrong?
It all worked perfectly before the updates.

turbid tide
#

first of all do /papi dump and send the generated link here

#

then restart the server and send a full startup logh

tender vaporBOT
#
FAQ Answer:

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

austere hawk
#

Hi

#

CrazyEnchantments have a list of placeholders?

turbid tide
#

no

ripe iron
#

How many extension can you upload to eCloud?

#

Is there a limit?

turbid tide
#

pretty sure there is not

ripe iron
#

MMM

#

And what about the extension jar weight limit?

turbid tide
#

that I don't know

ripe iron
#

Ps

leaden holly
#

How would you say something if an entity has a certain score with placeholders?

neat basin
#

hello, I saw that the default engine is Nashorn, but what other engines can I try?

#

because I want to try to use const map = new Map(); but Nashorn engine does not recognize it.

orchid garden
#

Can anyone help me with the ecloud javascript? Basically my placeholder has a '%' at the end, and I need to remove it, but not sure how...
%javascript_{ultraprison_rankup_progress}.replace("%","")%

mild venture
#

Guys, why is this mistake?

sacred thunder
#

How does the %objective_score_<obj>% work? Everytime i type anything in the objective section it just returns 0

turbid tide
turbid tide
#

You have to make a file and put the code in there.

turbid tide
leaden holly
#

Hey! Can someone help me out? I have a problem.

turbid tide
#

we all have problems. sad

leaden holly
#

How would you show a certain text if a scoreboard was equal to a certain value

turbid tide
leaden holly
#

Sorry, if a value on a scoreboard is equal to a certain number, I want it to display a text. How would I do that?

turbid tide
#

is that like an actual minecraft scoreboard made with teams and stuff?

leaden holly
#

So I have a scoreboard where I want to use placeholders in the TAB plugin to display text if a value is set to a certain number.

#

So yes, I have a Minecraft scoreboard.

turbid tide
#

ugh. I think that you can use the ScoreboardObjectives expansion for tihs

leaden holly
#

Ok, so how would I then only display it if it was equal to a certain value?

turbid tide
leaden holly
#

Oh, ok! Let me take a look at that one, haven't seen it before

turbid tide
#

or if you know some javascript you can go that route as well

leaden holly
#

nope lol

#

So how would I display a certian text with this if the score of a entity was equal to 1?

#

Sorry, I'm new to this whole placeholder thing

turbid tide
#

equal? or >= ?

leaden holly
#

Equal

turbid tide
#

%changeoutput_equals_{objective_score_<obj-name>}_1_<output-if-matched>_%

#

you need the _ at the end I think

leaden holly
#

& this will just show nothing if it isn't meet?

turbid tide
#

yeah

#

if you want it to show something

#

just put text after last _

leaden holly
#

Perfect! Thanks!

sacred thunder
#

I cant get the %objective_score% placeholder to work, it always returns zero

turbid tide
#

how are you testing it?

sacred thunder
#

in chat, does it matter how i do it?

turbid tide
#

test it with /papi parse

sacred thunder
#

ok

#

it might be because i have the 1.16 version but the server is 1.17

turbid tide
#

shouldn't be a problem

leaden holly
#

Where did I mess up here?

#

"%changeoutput_equals_{objective_score_Overall_[Aqua]}1☻ &bAqua Axolotls = %objective_score_{Tab}{Team_1}%% = Wins"

sacred thunder
#

ok nvm i needd to put {} around the objective name

turbid tide
leaden holly
#

Yeah! How do you do that

tender vaporBOT
#
FAQ Answer:

Use codeblocks for formatting code or configuration files:
```<language name>
<your code here>
```

For example:
```yaml
test:

  • “hi”
  • “there”
    ```

Produces:

test:
- “hi”
- “there”```
leaden holly
#
test:
- "%changeoutputequals{objective_score_Overall_[Aqua]}_1_☻ &bAqua Axolotls = %objectivescore{Tab}_{Team1}%% = Wins"
orchid garden
vivid sparrow
#

@turbid tide is there an expansion where you can create longs strings with placeholders and reference them by an id? Or is it just something I saw somewhere.

leaden holly
turbid tide
vivid sparrow
#
section:
  something: 'A really long string with %placeholders% that it used in many places, blah blah blah'```
and you would use `%id_something%`
turbid tide
#

also those spaces are broken

vivid sparrow
#

or for math placeholders

turbid tide
#

yeah. just make a js for it

#

not that hard to make

#

well unless you actually want it to use yaml

#

I guess

vivid sparrow
#

not what im asking

turbid tide
#

welp. idk what you're asking then

vivid sparrow
#

i just want to know if there's such thing in an expansion

turbid tide
#

oh well idk any that does that. sowwy

vivid sparrow
#

I can't remember if I saw the idea somewhere or it exists

leaden holly
#

This is the new one, what am I doing wrong?

turbid tide
#

@leaden holly I'm a bit confused. do you want to show this text ☻ &bAqua Axolotls if their Overall_[Aqua] score is 1 ?

leaden holly
#

Yes

turbid tide
# leaden holly Yes

can you please try /papi parse me %objective_score_Overall_[Aqua]% and tell me what it says?

leaden holly
#

Yes

turbid tide
leaden holly
#

0

#

It says 0

turbid tide
#

ok. does that work then? is it supposed to show 0?

#

or was it supposed to show 1?

leaden holly
#

No, let me take a screenshot

vivid sparrow
#

if you want to do it, be my guest

turbid tide
#

nah. don't have time xD

wet basinBOT
#

@vivid sparrow Unknown expansion.

turbid tide
#

its called scoreboardobjective

vivid sparrow
#

you dont need the []

leaden holly
#

Oh, ok, let me see

turbid tide
#

ugh

wet basinBOT
#

@vivid sparrow Unknown expansion.

turbid tide
#

isn't that the objective name/>

leaden holly
#

No, it is just Aqua

turbid tide
#

ohhhh

#

ohh its the other entry placeholder. Ic

leaden holly
#

Still is coming back wrong

#

This is what I have %changeoutput_equals_{objective_score_Overall_Aqua}1☻_ &bAqua Axolotls =%

#

Discord ruins _

#

Lemme doa code block

#
test:
- "%changeoutput_equals_{objective_score_Overall_Aqua}_1_☻ &bAqua Axolotls =% %objective_score_{Purple}_{Final_Duel}% Wins"
#

This is what I have. It is showing the entire change output string

turbid tide
#

so, you're trying to get the objective named Overall for the entry named Aqua ?

leaden holly
#

Yes

turbid tide
#

and you're sure 100% they're named that? Pretty sure they're Case Sensitive

leaden holly
#

Yes, Overall & Aqua

#

I forgot the _ after it....

#

Lets see if that fixes anything

#

Got it! Thank you so much for the help!

turbid tide
#

👍

vivid sparrow
turbid tide
#

I also had an idea for something else

#

but forgot what it was

#

xD

#

ahhh

#

a random

#

placeholder

vivid sparrow
#

Random?

#

Like pick smth from a list?

turbid tide
#

%random_text1,text2,text3% and just get random string

#

from there

#

yeah

#

and maybe be able to get more than just 1

vivid sparrow
#

hm

turbid tide
#

bcz people are lazy and don't know how to make a simple js

vivid sparrow
#

array[Math.floor(Math.random() * array.size) - 1)] I guess

wet basinBOT
#

@vivid sparrow Unknown expansion.

turbid tide
#

rng

wet basinBOT
#

@turbid tide Unknown expansion.

turbid tide
#

there we go

vivid sparrow
#

I know, just checking if theres smth with "random"

turbid tide
#

ah. no. afaik

#

but yeah. would literally be 1 line of code unless I want to allow them to have multiple outputs somehow?

#

idk

#

but ain't gonna do it anyways

vivid sparrow
#

Multiple in what way?

turbid tide
#

yeah idk.

warm topaz
#

i was thinking of adding it to the expansion, but thought it didnt fit the expansion. but considering it has online_player placeholder, ig i could add it

turbid tide
#

than having an entire expansion

#

just for that

vivid sparrow
#

Or you can create a collection just Like I did

turbid tide
#

my laptop is having a stroke. just crashes if I Open 3 pgorams at the same time

#

so can't do it

#

huh?

#

what collection gaby?

vivid sparrow
#

Multiple 'expansions' in one

turbid tide
#

ugh

vivid sparrow
#

%survival_<id>_<args>%

turbid tide
#

oh

#

why tho?

vivid sparrow
#

Because is easier than having 10 expansions

turbid tide
#

I fail to see the use in this

#

how?

vivid sparrow
#

I didnt combined the public expansions in one jar

#

Server and essentials have extra placeholders

turbid tide
#

alr

scarlet yew
turbid tide
scarlet yew
#

Legend! Thank you so much

magic rock
#

Hi guys, is there any difference between
%statistic_time_played:hours% & %statistic_hours_played% ❓ Why two placeholders?

rich glen
#

uhm. I'm having a weird issue

#

Placeholders are parsed correctly on my test environment, but not on other persons server

#

Using the same Java, server jar

#

except system

#

though it's java, should be compatible regardless?

turbid tide
#

for example if you have 2 days 3 hours 54 minutes played it will give you 3

turbid tide
rich glen
#

it's from my plugin.

it doesn't work with any of them for the other person.

#

the placeholders are registered in /papi list

turbid tide
#

so when you do /papi parse me %placeholder% it just returns back the placeholder itself?

rich glen
#

yeah.

#

also, it's built on PAPI v2.10.9

#

the other person is using v2.10.10

#

that's probably the issue?

turbid tide
#

should not be a problem. but I guess it can't hurt to either build it on 2.10.10 or make them downgrade for a second

rich glen
#

somehow bumping the PAPI build version fixed the issue

turbid tide
#

strange. can you check the old startup logs? maybe there's some sort of error in there

rich glen
#

well, there were no logs indicating the issue whatsoever

#

that's why I was confused

turbid tide
#

strange. very strange indeed

#

I've been running PAPI 2.10.10 for a while with plugins built even on PAPI 2.10.8

rich glen
#

yeah, it was working fine for me

#

with a lower papi version

turbid tide
#

maybe they were using a build of 2.10.10 which was broken in some way

rich glen
#

not sure.
people find issues in mysterious ways

#

makes hell of a life for devs

turbid tide
#

yeah

austere hawk
#

Are there any good guides on how to add arguments to placeholders? I'm kind of lost here.

#

%mobarenastats_<arena>_highest_wave% Something like that for example.

rich glen
#

well, it's nothing with arguments for placeholders really

#

if prefix is mobarenstats

// arenaName_highest_wave
// Split by _, so you'll get an array ['arenaName', 'highest', 'wave']
// Get the first element
String arenaName = placeholderID.split('_')[0]; 
// Get it from wherever they are stored, ex. hashmap
Arena arena = someArenaMap.get(arenaName);

return arena.highestWave;

Then it's only a matter how you'll implement it.

turbid tide
#

PlaceholderAPI will literally just give you anything after the first _

#

so in your case <arena>_highest_wave

#

then you can just do whatever. for example split by _ if you need to get each thing

#

etc.

sweet terrace
#

I have the server ecloud extension and have done '%server_countdown_dd.MM.yyyy_01.09.2021%' but it doesn't work

turbid tide
sweet terrace
#

Ahh, well that returns the expected value of the countdown, so it's just my hologram not working then

errant iron
#

do you have HolographicExtension too?

turbid tide
#

they don't work with HE

#

dk why. niall never fixed it

#

no counter placeholder actually does.

#

its strange

#

you will have to try HolographicPlaceholders instead.

#

so HolographicDisplay + HolographicPlaceholders + ProtocolLib

errant iron
#

bro wtf

turbid tide
#

reported it almost a year ago now. maybe it has been a year but niall kinda stopped working on HE for a while. never looked into it

#

also yeah. it doesn't even work on 1.17

#

which makes sense since it uses packets and stuff

#

HolographicPlacheolders is kinda becoming the standard I guess

sweet terrace
#

I have holographicplaceholders already 😦

quick thunder
#

Hello

#

I made a custom workshop

#

works with a timer

#

I mean you give the ingredients of the item

#

and After a while

#

you can get your item

#

like a delivery

#

so I will add this delivery time to scoreboard

#

I added papi to maven

#

and I can use it

#

But how can I make a custom placeholder?

#

for delivery time

#

long kalansaniye = ((wait9.get(p.getUniqueId()) / 1000) + waittime * 180) - (System.currentTimeMillis() / 1000);

#

how can I make this a placeholder?

#

I will use it on scoreboard

#

Should I wrote that to development chanel :/

stiff zodiac
#

[Service] PlaceHolderAPI
[Request] Add a new list of Iridium Skyblock's expansions. The IridiumExpansion is not working anymore.

balmy marten
#

Just a warning can be ignored for now

#

Doesn't actually matter

austere hawk
#

Hey all! What's a good way to add a player requirement to a placeholder, but also keep in mind players that have underscores in their name?

#

I made a placeholder expansion and it just shits itself if a player has an underscore somewhere lol

junior musk
#

I would make the placeholder %expansion_my_placeholder_<name>%
and just check if the params startWith "my_placeholder_", if yes replace "my_placeholder_" with an empry string and you get the name

austere hawk
#

So in my case I have this for example:
%mobarenastats_player_<name>_highest-waves%

Do I refactor it to
%mobarenastats_player_highest-waves_<name>% or something?

#

Just kinda new to this lol

#

The issue here is that i'm using split("_") to get the <name> out of the placeholder

junior musk
#

you can keep this format if you want, and before using the string to get the player name you check if the string endsWith "_highest-waves" and then replace it

junior musk
#

there could be another way to make it work too but I would recommend to just use startsWith/endsWith and replace

lilac grotto
#

it seems to have registered, but it seems to be not

turbid tide
#

You can ignore

lilac grotto
#

okay

shy ibex
junior musk
#

/papi ecloud download Server
/papi reload

tall saddle
#

%localtime_timezone_173,kk:mm% - this doesn't seem to work because it has the wrong time

unborn acorn
#

Hello, I've tried searching the web but I haven't been able to find much. When I use %server_tps% in my Scoreboard Plugin, it's showing 3 TPS numbers. I only want one?

sharp jay
#

%server_tps_1% @unborn acorn

unborn acorn
#

Welp. That was easy. Idk why I couldn't find that anywhere lmao

#

Thank you.

sharp jay
#

np!

unborn acorn
#

Ahhh, appreciate that.

sharp jay
#

np

austere hawk
#

I rechecked everything is good

#

But not work

#

Somebody can help me in dm please ?

sharp jay
#

Sorry premium plugin support requires you to link your account check #spigot-linking

#

You didnt do it right I checked your profile and it doesnt display your discord so I went ahead and denied the request

austere hawk
#

can i send a screenshot to prove that tour is correct?

sharp jay
#

=paste

tender vaporBOT
#
HelpChat Paste

Please use a paste service to share configs, errors, code and long logs.
HelpChat Paste

austere hawk
#

How I can put an screenshot in hastebin ?

#

I can send you the screenshot in dm please ?

sharp jay
#

woops

#

=imgur

tender vaporBOT
#
Uploading Images

Please use imgur to share screenshots and other images.
Imgur

sharp jay
#

this

austere hawk
#

Ok 😆

#

Pop

#

It’s good

#

Why not work ?

#

@sharp jay

sharp jay
#

link me your spigot

austere hawk
#

Ok

#

It’s good

#

@sharp jay

sharp jay
#

Nope

austere hawk
#

I have send in #bot-commands

sharp jay
#

make sure your saving

austere hawk
#

I’m sure

errant iron
#

And make sure it's public

sharp jay
#

^^

errant iron
#

Cause we can't see it

austere hawk
errant iron
#

Well obviously not

#

Considering I can't see it

#

This is what your profile page looks like to me

austere hawk
#

O ok

#

Where I have to put it public?

errant iron
#

Under the privacy tab if you click on your name in the top right

austere hawk
#

It’s already

errant iron
#

That's what your contact details looks like?

austere hawk
#

It’s already good but the bot not work

errant iron
#

well I still can't see your discord

#

Link me your profile

austere hawk
#

I have already put my discord profile check the Imgur

errant iron
#

That's not enough

#

Link me your profile on Spigot

austere hawk
errant iron
#

uh

#

go to it in google

#

and copy the url?

#

at the top?

austere hawk
#

O ok

errant iron
#

ah yup

#

you were putting the wrong number in silly

#

https://www.spigotmc.org/members/fordcraftt.1181002/

#

You take the number from that

austere hawk
#

Oooook thxxx

errant iron
#

so yours is 1181002

austere hawk
#

Ok ok

snow jetty
#

anyone know how to use LocalTime Expansions with timezone %localtime_timezone_<TimeZoneID>,<SimpleDateFormat>%?? , I tried %localtime_time_Asia/Jakarta,k:m% and %localtime_time_272,k:m% But not working

stiff zodiac
#

help