#placeholder-api

1 messages ยท Page 165 of 1

errant iron
#

not a single example omits the precision alone

#

Both the precision and rounding can be omitted to use the corresponding setting in the config.yml of PlaceholderAPI. just that line

#

which I skipped over 3 times while reading this page because of the huge examples lmao

turbid tide
#

well its Andre's wiki. ain't going to edit it. ask him if you think its not good enough.

#

or you can pr as well I guess

errant iron
#

yes I definitely think it's not good enough

#

considering how many times I have been confused as a staff member, that's kind of a problem eh?

turbid tide
#

well then edit.. or ask andre to smh

errant iron
#

๐Ÿฅฒ

turbid tide
#

ugh

#

just don't set an amount

#

if you want tor emove all of it

smoky spoke
#

also is there a way to delete exactly 48 plain coal items using checkitem placeholder?

turbid tide
#

%checkitem_remove_mat:coal,strict,amt:48% probably

smoky spoke
#

if i have 49 coal for example, it won't work

turbid tide
#

it removes it if the strict is gone?

#

oh

#

pretty sure

#

strict will check

#

if the total amount is 48

#

as well

smoky spoke
#

ye but it might accidentally delete custom items under the coal material

turbid tide
#

yeah Ic what you mean. @mint fable will have to take a look at this. because rn if strict is enabled, it will also check so the amount is strict as well

#

any way to remove that for the remove feature CJ?

mint fable
#

Probably

#

Iโ€™ll have to add it to my list

turbid tide
#

alr ty ๐Ÿ‘

hidden spade
#

hello can somone help me? my factionsuuid isnt working for my scoreboard, but i have placeholderapi installed

turbid tide
#

have you tried the placeholder with /papi parse ?

hidden spade
#

whats that?

errant iron
#

which placeholder isn't working

hidden spade
#

factionsuuid

turbid tide
hidden spade
#

factionsuuid_faction_name

turbid tide
#

can you please test it with the command /papi parse me %factionsuuid_faction_name% ?

#

and tell me what output it returns

hidden spade
#

%factionsuuid_faction_name%

turbid tide
#

alr. will need you to also do /papi dump now and send the generated link here

#

hmm seems like you have 2 factions expansions and none registered. can you please go to plugins/PlaceholderAPI/expansions and delete the Expansion-factionsupdated.jar and then also delete Expansion-FactionsMCore_Y4...jar as well

#

then do /papi ecloud download factions then /papi reload

hidden spade
#

Failed to find an expansion named: factions

turbid tide
#

ah.

#

/papi ecloud download factionsupdated then /papi reload

#

also which factions plugin do you have? can you link me the spigot or page you got it from?

hidden spade
#

where can i find placeholder list for factionsupdated?

turbid tide
#

but that expansion is made for MCore and forks

#

idk what savagefactions is. is it a fork of fuuid?

hidden spade
#

no clue, but the factions mcore placeholders arent working for me

errant iron
#

looks like you might want to consider factionsx

#

savagefactions isn't supported anymore

#

and it has a conversion tool!

turbid tide
#

or maybe FactionsUUID. if you got the money for it I guess . bcz I Know its paid

#

oh factionsx?

#

what's that

errant iron
#

the guy who made savagefactions hated working with a shitty codebase

#

so he rewrote factions from scratch in kotlin and named it factionsx

turbid tide
#

oh nice

#

its free

hidden spade
#

i opened my factions config and it says FactionsUUID by drtshock

turbid tide
#

and you convert the stuff for free as well

#

oh

#

well you don't need any expansion for that one

hidden spade
#

yea, thos thon work, i gues il just have to switch to factions x

errant iron
#

probably best to use a plugin that's actively supported lmao

turbid tide
#

pretty sure fuuid is supported just dk how good the support is xD

errant iron
#

well yeah but that's like a different plugin

#

it's paid

turbid tide
#

yeah ik. but since he has it he can use it. idk I don't care. xD just saying

hidden spade
#

Thanks for the help guys! have a gooD day ๐Ÿ™‚

turbid tide
#

you're welcome. you too ๐Ÿ‘

pure wraith
#

Would someone be willing to make a custom placeholder that displays the amount of characters in an input for me?

turbid tide
#

ugh that's like 2 lines in javascript

pure wraith
#

I have no idea how to do it

turbid tide
#
args[0].length```
#

I thhink just this 1 line

#

will also work

pure wraith
#

Ok thanks

hidden spade
#

does anyone know how many character can fit in to minecraft score board becouse some of my text is getting cut off

turbid tide
#

that depends on your server version and plugin you use

hidden spade
#

ok

turbid tide
#

if you're on 1,13+ tho, most scoreboard plugins will allow unlimited characters

pure wraith
#

How can I use the JavaScript expansion?

tender vaporBOT
#
Javascript
Useful Links & Information:

An expansion that allows you to use javascript for processing
โ€ข Wiki
โ€ข Community Scripts
โ€ข GitHub
โ€ข eCloud

turbid tide
#

these are some usefull links ^

pure wraith
#

thanks

pure wraith
#

what would the javascript look like for a placeholder that displays the amount of characters in an input

shrewd verge
#

heya, is there any chance to get objective_score with position numbers output? like %objective_score_objectivename_posX%

#

would be nice to output 3nd 2nd and 1st place of a minigame in something with that

pure wraith
#

var length = "%input_length.test%"; how can I separate .test and use it as a variable?

turbid tide
#

and it will basically tell you the length of the input

#

you can also use placeholders as the input but you'll have to use them using {} instead of %%

turbid tide
pure wraith
#

Wow thanks so much I think this will help a lot

hard basalt
#

i believe the color in %player_colored_ping% is error

turbid tide
#

ugh

turbid tide
hard basalt
#

i still using 1.16.5

#

since i still stuck with 4 plugin that not support yet

#

the color is in odd sequence , 0 ping is suppose to be good when parse return color red, when ping is like 2000 it will return green

turbid tide
#

still make sure you have the latest player expansion

#

that was fixed like 2 versions ago

hard basalt
#

letme check again

#

still same

turbid tide
#

can you do a /papi dump please?

#

also a /papi reload first

#

ohhhh

#

@hard basalt think the problem is in your config

#

go to plugins/PlaceholderAPI/config.yml

#

there will be a ping_color option

#

I Think they're reversed there.

hard basalt
#

oh yeah i will go check them

#

do u still need to dumpheap ?

#

got the info

turbid tide
#

nope not needed anymore. if the config is the problem

hard basalt
#

yes the format in config is

  player:
    ping_color:
      medium: '&e'
      high: '&a'
      low: '&c'
#

is this an outdate version ?

#

this same for tps too

turbid tide
#

yeah

#

just change it

#

and do a /papi reload you should be fine after that

hard basalt
#

k

#

also

#

is the hook in config file still working ?

turbid tide
#

what hook exactly?

hard basalt
#

the placeholder hook part in the config file

turbid tide
#

so the color basically? yeah it still works

#

it still takes info from the config file

hard basalt
#

ok

turbid tide
#

oh what even is that?

#

I've never ever seen that in my life xD

hard basalt
#

....

#

it in my config file for some reason

#

if i remember correct this 1 is use when the old hooking method is used

turbid tide
#

yeah that's not used anymore

#

you should probably backup your config, delete it, do /papi reload and just edit the newly generated one

#

since the unused options will be gone

hard basalt
#

k

#

seem like nothing to edit , the ping format also fixed

#

seem like the old config define low as "lag"

turbid tide
#

yeah. it was a known bug and was fixed

hard basalt
#

alr thanks

pure wraith
#

Is it possible to have completely custom placeholders in the JavaScript expansion without %javascript_placeholder%

turbid tide
#

you want a placeholder made in javascript

#

but have it not start with javascript ?

#

if that's what you want then no, I recommend you learn java and make your own expansion if you really don't want the javascript there

pure wraith
#

Ok thanks I am starting to learn Java

frosty thunder
#

Is there a way to add as argument a placeholder inside one?
Like
%javascript_ToSeconds_%rtp_cooldown%%?

turbid tide
ripe iron
#

HI

#

Placeholders are not updating

#

I cannot send picture btw

tender vaporBOT
#
Uploading Images

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.

ripe iron
#

I have added 100 coins to me and i see scoreboard i have 0 coins

bold pebble
#

So I use Featherboard and no placeholders are working. I have the expansions needed and even tried using the command /papi parse me {player} and it returns {player}

errant iron
#

which version of featherboard

bold pebble
#

5.03b

#

5.0.3b sory

errant iron
#

Featherboard 5 and above uses PlaceholderAPI for placeholders instead

#

And with that, it means you use %% instead of {}

#

and it means you use %player_name% instead of %player%

bold pebble
#

i tried using %% as well

errant iron
#

and you have to download the player expansion if you don't have it

bold pebble
#

oh ok

errant iron
#

?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
#

run those commands ^

bold pebble
#

i had the expansion didn't realise things had changed a bit thank you

errant iron
#

yeye

#

you can find all the placeholders you can use there!

bold pebble
#

Sweet thank you again ๐Ÿ˜„

nova gull
#

How can I make my head appear, and the other one has his own? In the menu

errant iron
#

?dm-heads

tender vaporBOT
#
FAQ Answer:

How to use custom heads in DeluxeMenus:
a) A player name material: head-extended_clip
b) The player's head material: head-%player_name%
c) The base64 code of a head material: basehead-<code>:
- Go to https://minecraft-heads.com and find a head.
- Copy the head Value code (from the page bottom)
d) The minecraft texture url material: texture-<id>
- Only put what's after https://textures.minecraft.net/texture/
e) EpicHeads material: heads-<id>:
- Require https://www.spigotmc.org/resources/13402/
f) HeadDatabase material: hdb-<id>:
- Require https://www.spigotmc.org/resources/14280/

turbid tide
ripe iron
#

Yes

#

There you have sir

#

I think the proble its that im using Player instead OfflinePlayer in onPlaceholderRequest

ripe iron
junior musk
#

but maybe your problem is just that your scoreboard plugin isn't refreshing the placeholder

#

check with /papi parse me %acoins_coins% if it shows correctly there

#

if it's correct, then that means it's the scoreboard not refreshing correctly

ripe iron
#

Ah ok

#

Its send 0

#

When type that

junior musk
#

ah

#

yeah then it might be PAPI

ripe iron
#

so

junior musk
#

I'm not sure to be honest

ripe iron
#

ok

#

Thanks for trying to help

#

I will wait

#

I have change and the same problem

turbid tide
#

@ripe iron have you tried printing this? Main.getInstance().getApi().getCoins(player)

#

my assumption is that method returns 0

ripe iron
#

Yes i tried

#

When i execute /coins bal i said my reals coins

#

And in my /coins bal return that method

turbid tide
#

well coins bal might be doing something different

#

print it to consol

ripe iron
#

ok

turbid tide
#

console* in the method

#

for the placeholderapi placeholder

ripe iron
#

How?

#

Explain more

#

I cannot understand

turbid tide
#
    public String onPlaceholderRequest(Player player, String identifier) {
        switch (identifier){
            case "coins":
                System.out.println(Main.getInstance().getApi().getCoins(player));
                return String.valueOf(Main.getInstance().getApi().getCoins(player));
        }```
ripe iron
#

Ahh ok

turbid tide
#

so now when you /papi parse it will also display the value in console

ripe iron
#

Ah ok

#

I will tried

#

I tried

#

And nothing happen

#

It doesnt appear in console

turbid tide
#

ugh

#

what did you parse again?

#

what exact command you used?

ripe iron
#

/papi parse me %acoins_coins%

turbid tide
#

also don't forget to restart the server

#

don't just use plugman

#

or anything like that

ripe iron
#

Ahhh

#

I think that the problem

#

That im using plugman

#

I use plugman unload aCoins and then plugman load aCoins

turbid tide
#

yeah

#

that will be it

#

never use plugman please.

ripe iron
#

ok

turbid tide
#

it breaks stuff so easily. Idk why anyone ever thought about making something like that

#

also same thing with the spigot /reload command

ripe iron
#

ok

#

The same problem

turbid tide
#

and it doesn't send you a message either?

ripe iron
#

No

#

Its really strange btw

#

That never happen to me before

turbid tide
#

    @Override
    public boolean register() { return super.register(); }```
#

set that to true

ripe iron
#

Yeah some told me and i do it

#

And steal happening the same

turbid tide
#

can I see your current class again please?

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

ripe iron
#

yes

turbid tide
#

try this and see

#

if when you parse

#

the placeholder

#

you get a this is a test message

ripe iron
#

Btw now the plugin said that it laoded but then i see /pl and it doesnt there

turbid tide
#

oh

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
#

might want to start a full startup log

ripe iron
#

Ok

#

Do you want to ee the logs?

turbid tide
#

ee?

#

oh see

#

yeah

#

please

ripe iron
turbid tide
#

weird. it says its been enabled successfully

ripe iron
#

Now yes

#

I have restarted

turbid tide
#

and placeholder still doesn't send a message?

ripe iron
#

Its enable but expansion its not being registered

turbid tide
#

have you registered it in your main class?

#

can I see your main class please as well?

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

ripe iron
#

ok

#

Im using maven

#

Do you want my pom?

turbid tide
#

nope

#

just the class where you register the expansion

#

which usually is done in your main class

ripe iron
#

Ah ok

#

Its really crazy

turbid tide
#

why do you use PlaceholderAPI 2.10.5?

#

you're like 5 main versions behind

ripe iron
#

He?

#

Nop

turbid tide
#

PlaceholderAPI] Enabling PlaceholderAPI v2.10.5 this is your log

ripe iron
#

Mmm

#

i will try last version

turbid tide
#

also according to your logs, it can't find PlaceholderAPI?

#

have you set PLaceholderAPI as a depend in your plugin.yml?

#

it might be loading after your plugin if not

ripe iron
#

i put it as softdepend

turbid tide
#

hmm that should work too I Think

#

but try depend just in case

ripe iron
#

ok

turbid tide
#

oh wait

#

your Util#log method

#

does not work btw

ripe iron
#

He?

turbid tide
#

Util.log("info", "&3Has been successfully enabled");

#

none of these messages are sent

ripe iron
#

Its working

turbid tide
#

well in the log you sent its not sent

#

none of them are

ripe iron
#

MMM

#

Im really confue rigth now

#

What i can do?

turbid tide
#

use the logger method

#

from spigot

ripe iron
#

My message its sent look

turbid tide
#

getLogger().log(Level.INFO, "&3Has been successfully enabled")

#

huh? the log you sent before did not have it

ripe iron
#

I have stopped server and started and the mesage was sent

turbid tide
#

where?

#

in console?

ripe iron
#

Yes

turbid tide
#

can you send the new startup log then?

#

because on the old one it has not been sent

ripe iron
#

Ah ok

#

There you go

#

In console the message appears

turbid tide
#

where?

#

I can't see it

ripe iron
#

its after the eror void plugin error

turbid tide
#

it only shows this one [aCoins] Enabling aCoins v1.0 and this one [aCoins] Loading aCoins v1.0 which are none set by you. they're default spigot messages

#

the messages you're trying to send are not sent

ripe iron
#

I cant send picture buts in console its sent

tender vaporBOT
#
Uploading Images

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.

ripe iron
#

Go there

turbid tide
#

oh. Ic

#

and once again what's happening when you parse the placeholder? all you get is 0 ?

#

nothing else?

ripe iron
#

Not

#

Its isnt rbeing registerer now

#

Oh mny good i have restarted more than 20 times the server

#

xdd

#

I do papi list and the placeholders werent registered

turbid tide
#

are you on the latest version of PAPI?

ripe iron
#

Yes

#

It make no sense

#

Oh my good i not understanding what happening

#

I will go to drink omething

#

So?

#

What i should do?

turbid tide
#

tbh Idk xD

ripe iron
#

Xdd

#

Its really strange

#

It never happen to me this before

turbid tide
#

did you try updating to 2.10.10? placeholderapi I mean

ripe iron
#

Yes

#

And my scoreboard it not, because my ping its being updated

turbid tide
#

is the placeholder still registered?

ripe iron
#

Nop it doesnt register

turbid tide
#

is your project on github by any chance?

ripe iron
#

I send the message that was registered but it inst registered

#

I can upload it

#

Do you want?

turbid tide
#

I'm going to sleep soon. can't really look at it.

ripe iron
#

Ah ok

#

Thanks

turbid tide
#

share the main class and placeholder class with them as well

ripe iron
#

Good night

turbid tide
#

oh wait @ripe iron you don't have a constructor for your placeholder class

#

tho

#

wtf is that emote?

#

xD

#

or does java create a default one? I'm not even sure xD

ripe iron
#

Ohh

#

the constructor btw

#

THANKS BRO

#

It was the fucked constructor

pseudo flare
#

I want the player name in my holo display, can somebody help me

#

Ive downloaded papi player

#

Used %player_name% %player_displayname%

#

{player_name}

halcyon yarrow
#

wtf

turbid tide
#

You have 2 bungee expansions in your expansions folder. plugina/placeholderapi/expansions

tender vaporBOT
#
๐Ÿ“‹ Your paste: Sdegno
https://paste.helpch.at/bifexoxiqo

A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.

turbid tide
#

Then just use %player_name%

trim mist
#

I will also add to that I don't think the extension works on 1.17+ yet. I've reached out to author a few times and have had no response from them.

tender vaporBOT
#
Hey!

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

turbid tide
#

Yeah. Should work fine on 1.17.1. there was just 1 guy that had problems with jt

#

It*

#

But I'm pretty sure we found out it was a plugin messing with it. Also with a few more bungee related things

tender vaporBOT
#
๐Ÿ“‹ Your paste: HelloItsMeAdm
https://paste.helpch.at/nazinazaxe

A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.

worldly fjord
#

Hmm

#

I suppose something from the hook he uses... Rather than the PlaceholderAPI

tall hemlock
turbid tide
#

yeah the problem is one of the expansions. dk which one. but I recommend deleting them all and redownloading

#

1 by 1

tender vaporBOT
#
Hey!

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

pseudo flare
#

Hii guys!

#

Can somebody pls help me with my placeholders

#

Ive i try to do /papi reload

#

it isnt working

errant iron
#

What error in console

pseudo flare
#

I cant send in chat

#

9.07 19:37:51 [Server] Server thread/ERROR [PlaceholderAPI] failed to load class files of expansions

#

Only the FactiosUUID is working

tender vaporBOT
#
๐Ÿ“‹ Your paste: MahootSo
https://paste.helpch.at/okukezotat

A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.

errant iron
#

You have normal Factions or Factionsuuid?

gleaming apex
#

do I have to manually enable the OfflinePlayer object? I have 3 plugins that claim to support it but none of them seem to be working.

turbid tide
#

huh enable it where? In placeholders?

#

then no. As long as they use the onRequest method instead of the onPlaceholderRequest one it should work

tired dirge
#
[21:26:13 WARN]:        at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:433)
[21:26:13 WARN]:        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:586)
[21:26:13 WARN]:        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519)
[21:26:13 WARN]:        at java.base/java.lang.Class.forName0(Native Method)
[21:26:13 WARN]:        at java.base/java.lang.Class.forName(Class.java:375)
[21:26:13 WARN]:        at com.extendedclip.papi.expansion.server.ServerExpansion.<init>(ServerExpansion.java:64)
[21:26:13 WARN]:        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[21:26:13 WARN]:        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:78)
[21:26:13 WARN]:        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[21:26:13 WARN]:        at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
[21:26:13 WARN]:        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
[21:26:13 WARN]:        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.createExpansionInstance(LocalExpansionManager.java:393)
[21:26:13 WARN]:        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:162)
[21:26:13 WARN]:        at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
[21:26:13 WARN]:        at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
[21:26:13 WARN]:        at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
[21:26:13 WARN]:        at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
[21:26:13 WARN]:        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
[21:26:13 WARN]:        at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
[21:26:13 WARN]:        at java.base/java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:257)
[21:26:13 WARN]:        at java.base/java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:248)
[21:26:13 WARN]:        at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
[21:26:13 WARN]:        at java.base/java.util.stream.ReferencePipeline.count(ReferencePipeline.java:709)
[21:26:13 WARN]:        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$3(LocalExpansionManager.java:327)
[21:26:13 WARN]:        at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46)
[21:26:13 WARN]:        at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100)
[21:26:13 WARN]:        at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468)
[21:26:13 WARN]:        at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1135)
[21:26:13 WARN]:        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316)
[21:26:13 WARN]:        at java.base/java.lang.Thread.run(Thread.java:831)```
junior musk
#

update

tired dirge
junior musk
#

PlaceholderAPI

#

actually

#

redownload the Server expansion

#

/papi ecloud download Server
/papi reload

tired dirge
#

thanks ๐Ÿ™‚

mint fable
#

cc: @turbid tide this

smoky spoke
#

โค๏ธ

mint fable
#

@flat spruce your issue has also been fixed

signal jackal
#

Update it @@

knotty kite
errant iron
#

looks like the NBTApi expansion is having a hard time lol

turbid tide
# signal jackal Update it @@

its not our job to update it. We don't even have access to the code... the plugin is old af. just use a more updated one

#

just google PlayTIme spigot

#

or something

signal jackal
#

._.

#

But i am coder

austere hawk
#

Hi all. Is someone still reviewing PR's to PAPI expansions? Opened a PR on sunday to a repository with a similar PR from august '20 still open without any comments

balmy marten
#

Depending on the expansion

austere hawk
#

I'd prefer to remove the outdated and non-functional DeluxeChat-hooks from USB and redirect to this expansion, but it's not working at the moment haha

#

Seems easier for users then releasing our own expansion with the plugin or something like that

#

Especially since it's already in the eCloud system

balmy marten
#

I can transfer the expansion to you if you'd like to continue to update it, assuming @sudden slate is happy with that as he's the current owner

austere hawk
#

Whatever works for you guys, I don't mind. Don't want to get pushy, just curious if there's still activity ๐Ÿ™‚

balmy marten
#

Some expansions tend to get overlooked as we have quite a few

austere hawk
#

Yeah I can understand hehe

sudden slate
#

Dub

balmy marten
turbid tide
#

nah he was talking about Dublin

austere hawk
#

Imma head off towards the store for now haha. If you prefer to transfer the expansion, I'm fine with that. Otherwise, I'll keep opening some PR's in the future and drop a line here if there's no response after some days. I'm planning to add some additional placeholders to match what we (used to) offer for Maxim's api.

sudden slate
#

Sure

balmy marten
turbid tide
#

cube can I get an account as well?

balmy marten
#

dm me if u dont

austere hawk
#

Give me a sec to register an account haha

balmy marten
#

ah you wont be able to

austere hawk
#

Oh well, locked

#

Yeah I see

balmy marten
#

dm me a username and email you want

#

and ill create it on my end

austere hawk
#

Sure!

tender vaporBOT
#
Hey!

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

open stag
#

Hello guys, a query someone will know why I get this error?
[PlaceholderAPI] Failed to load expansion class VaultExpansion - One of its properties is null which is not allowed!

errant iron
#

your vault expansion is messed up

#

delete it and redownload

open stag
#

I already did, but it keeps giving me the same error

errant iron
#

Do you have Vault installed?

open stag
#

Yes

turbid tide
#

make sure you don't actually have 2 vault expansions in your expansions folder

errant iron
#

Is there more error beneath that? I thought I had it print the stacktrace

#

and that would be at least slightly useful in tracking down which property is null

open stag
#

this is from one

tender vaporBOT
#
๐Ÿ“‹ Your paste: Jari
https://paste.helpch.at/pupiyixoda

A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.

#
๐Ÿ“‹ Your paste: Jari
https://paste.helpch.at/osucotobuy

A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.

open stag
#

They are 3. One is from 'vault', the other from 'essentials', and the last from 'server'

errant iron
#

All of their expansion versions are null? Weird

#

Hey send one of those over

#

I would like to see if it is actually null

#

In which case you might have a virus or somethin

open stag
#

Won't let me send files

errant iron
#

oof

#

then nevermind

#

that is very weird though

#

maybe try a local server and see what happens?

balmy marten
#

Could compare jar file sizes

open stag
#

Expansion-essentials 9.14kb
Expansion-server 10kb
Expansion-vault 15.4kb

errant iron
#

My essentials expansion downloaded from the ecloud website is 9.37kb

#

Try downloading all those from the website and FTPing them onto your server

lapis spire
#

Hello! Will placeholders support Gradient colors?

hard basalt
#

yes

#

as long as the plugin that content the placeholder support

lapis spire
#

The luckperms support it but when i parse the %luckperms_prefix% placeholder i only get the format of gradient color &#0000....

turbid tide
#

when 3.0 comes out there will be Component support and will be a lot more integrated but at the time this is the only way

lapis spire
#

So if i see gradient color code in my scoreboard then scoreboard plugin doesnt support it ?

turbid tide
#

yeah.

#

tho I'm confused. how does the gradient look like?

lapis spire
#

Where can i send screenshots ?

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.

turbid tide
#

read this please ^

lapis spire
hard basalt
#

any1 know how can i add placeholder into vault suffix ?

lapis spire
#

I have papi ecloud Statistics and placeholder for playtime is not working. Any fix for this ?

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
#

please send over the full startup log ^^

lapis spire
#

?paste

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

lapis spire
tender vaporBOT
#
๐Ÿ“‹ Paste Converted!
https://paste.helpch.at/uhutigamuv

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

turbid tide
lapis spire
#

Im using this one %statistic_time_played:hours%

turbid tide
#

ah I'm pretty sure those are broken indeed.

#

you can use %statistic_hours_played% instead

lapis spire
#

In minecraft statistics i have all on 0

#

So i think the problem is somewhere else but i dont know where..

hard basalt
#

that work for me though

turbid tide
#

hmm yeah. the expansion takes the statistics from spigot which takes them from minecraft

#

but for some reason I guess they are not registered

lapis spire
#

It just randomly stop working

turbid tide
#

you might want to ask in the discord of the server software you use (paper, spigot etc.)

#

also by any chance did you delete your main world?

#

or change it?

#

because that's where the stats were stored

lapis spire
#

I can't delete it or change it

#

I will try to ask on software discord

patent ginkgo
#

hello I have a plugin download and that name is dailyreward but if I put an ipa in it he doesn't know what to do anymore

vivid sparrow
#

an ipa?

woven pier
#

Where can I get an account to upload an expansion I created? ๐Ÿค”

warm topaz
#

cc: @balmy marten ^

austere hawk
#
java.lang.Throwable: null
        at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[patched_1.17.1.jar:git-Purpur-1287]
        at net.minecraft.server.level.ServerLevel.getEntities(ServerLevel.java:2360) ~[?:?]
        at org.bukkit.craftbukkit.v1_17_R1.CraftWorld.getEntities(CraftWorld.java:1173) ~[patched_1.17.1.jar:git-Purpur-1287]
        at com.extendedclip.papi.expansion.server.ServerExpansion.onRequest(ServerExpansion.java:190) ~[?:?]
        at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:156) ~[?:?]
        at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:69) ~[?:?]
        at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:97) ~[?:?]
        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.features.PlaceholderManager.updatePlayerPlaceholder(PlaceholderManager.java:116) ~[?:?]
        at me.neznamy.tab.shared.features.PlaceholderManager.lambda$new$0(PlaceholderManager.java:81) ~[?:?]
        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.ThreadPoolExecutorPoolExecutor.java:1130) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
        at java.lang.Thread.run(Thread.java:831) [?:?]```
#
  - "&b&lChunks: &a%server_total_chunks%"
  - "&b&lMobs: &a%server_total_living_entities%"
  - "&b&lEntities: &a%server_total_entities%"```
#

in tab config

hard kernel
#

Hey, I have the expansions installed for these placeholders but they're not working?

mint fable
#

you need holographic extension for them to work in holograms if you don't have it

#

=pl holographicextension

tender vaporBOT
#

v1.10.9 by Niall7459
Animations and placeholders in Holographic Displays

Downloads:

94,682

Rating:

4.4โ˜…

Reviews:

74

mint fable
#

ah

#

they've gone

compact fox
#

hi

#

i can put custom colors to this variable?

#
  • "&7ยป %cooldownbar_{thebridge_level}%"
warm topaz
#

is it not already?

compact fox
tender vaporBOT
#
Hey!

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

errant iron
#

you'd have to look at the documentation for cooldownbar expansion

woven pier
turbid tide
woven pier
#

okay thx

turbid tide
turbid tide
#

can you do /papi dump and send the generated link here?

austere hawk
#

ill try but the spam is sooooo good i lost the link

#

%server_total_living_entities%
%server_total_entities%

#

its these 2

turbid tide
#

it spams you in chat as well?

#

bcz papi dump should send the link in chat

austere hawk
turbid tide
#

Think you'll have to open a issue on github.

#

if you don't have a github account or don't know how to make one I can make the issue for you

austere hawk
#

ill make one

#

(issue)

spice prism
#

hey, when i execute command /papi ecloud download Parkour, PAPI said me it Not available yet

hard basalt
spice prism
#

@hard basalt

turbid tide
twin prawn
#

how do i view a placeholder E.G turn %player% into Zax71 i have tried /papi parse me %player% to no luck ๐Ÿ˜ฆ

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

turbid tide
#

read this @twin prawn ^^^

twin prawn
#

did that

#

oh

#

wait

#

ah

#

works, thanks ๐Ÿ˜‰

turbid tide
#

๐Ÿ‘

turbid tide
#

ugh. why tho? its same thing

spice prism
#

no

#

how to fix it (not available yet)

turbid tide
#

try a /papi ecloud refresh or /papi ecloud update

turbid tide
#

yup. you gotta wait a bit

spice prism
#

but I still see this error (not available yet)

tender vaporBOT
#
FAQ Answer:

Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.

turbid tide
#

does this happen with every expansion? if yes then this might be for you ^^

#

hosts could block connections

#

or maybe something else

spice prism
#

how to fix it (not available yet)

turbid tide
#

well if hosts block it there is no fix. you have to ask the host to allow connections to the ecloud

#

and once again. does it happen with all of them? or just the Parkour one?

spice prism
#

I have no extension loaded, not only Parkour

#

but it still works /papi ecloud list all

turbid tide
#

can you try and do /papi ecloud download Player for example. see if it says the same thing?

spice prism
#

yes

#

(not available yet)

hard basalt
#

maybe ur host is blocking connection

spice prism
#

why then does /papi ecloud list work?

high sluice
#

Hello,
is ParseOther functionnal in 1.17.1 ? It doesn't seems to work for me

turbid tide
high sluice
#

I get a NULL response when trying /papi parse bibithom %parseother_{player_name}_{cmi_user_deathloc}%

#

(just testing purpose)

turbid tide
#

I think you have to use double {} when using placeholders in the player name part

#

%parseother_{{player_name}}_{cmi_user_deathloc}%

high sluice
#

that seems to work thank you !

compact fox
#

hi

#

why the last part of the variable is shown in yellow? This is how I set my placeholder:

#

%cooldownbar_{thebridge_level}_p:&bโ– _r:&fโ– %

turbid tide
#

and see if you still get the yellow thing

compact fox
#

yes i still have it

#

could it be a problem with the placeholder from the bridge?

turbid tide
#

ah you might have to set the i:

#

one

#

nah

#

that's the default value

#

I Just found out

#

by default, the one in progress

#

is yellow :

#

sorry. yellow straight bar

#

try %cooldownbar_{thebridge_level}_p:&bโ– _r:&fโ– _i:&eโ– %

compact fox
#

okey

#

thats work

#

thx u!

turbid tide
#

๐Ÿ‘ yw

compact fox
#

I have another problem and it is that I level up but the bar does not change: /

#

%cooldownbar_{thebridge_level}_p:&bโ– _r:&fโ– _i:&fโ– %

turbid tide
#

why are you using the cooldown bar to show progression?

#

I think you should probably use the Progression expansion instead

#

what exactly are you trying to display? the levels? out of 100 for example? or what?

#

because that confuses me rn

compact fox
#

I want to make a level progress bar

turbid tide
#

so how much until next level?

compact fox
#

like this

turbid tide
#

then your approach is very wrong

compact fox
#

an apology for my bad english

turbid tide
compact fox
#

like that bar

turbid tide
#

yeah you probably want to use the progress expansion

#

not the cooldown one

compact fox
#

which one is that?

turbid tide
compact fox
#

I didn't see it on the wiki

#

yep now work

balmy marten
foggy creek
#

hi

#

[01:47:03 ERROR]: [PlaceholderAPI] Failed to load expansion class StaffFacilitiesExpansion (Is a dependency missing?)
[01:47:03 ERROR]: [PlaceholderAPI]

#

what does he want from me, please tell me

tender vaporBOT
#
๐Ÿ“‹ Your paste: V1zard
https://paste.helpch.at/owuxuyetay

A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.

#
๐Ÿ“‹ Your paste: V1zard
https://paste.helpch.at/zelulobuga

A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.

errant iron
#

uh

#

do you have StaffFacilities installed?

#

and the StatzExpansion looks to be out of date

#

oh two days ago

#

try downloading it from the ecloud website instead, probably got corrupted or something

tender vaporBOT
#
Hey!

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

unique leaf
iron kite
#

so I used %player_exp_to_level%, but it said 400-something when I had 69 levels

iron kite
#

ya just confirmed, latest Player extension. I have 69 xp levels. papi parse me %player_exp_to_level% says 463

#

PlaceholderAPI-2.10.10

#

purpur 1.17.1 b1279

errant iron
#

d;spigot HumanEntity#getExpToLevel

ionic fractalBOT
#
int getExpToLevel()```
Description:

Get the total amount of experience required for the player to level

Returns:

Experience required to level up

errant iron
#

That placeholder isn't how many levels you have

#

It's how much you need to get to the next level

#

you probably want %player_total_exp%

#

or %player_current_exp%

#

and I am not sure what the difference is, so I would try those out

#

oh also %player_level% will give you your levels

#

man there's a lot of placeholders lol

turbid tide
#

And. Current exp is just exp above the level you are i think

#

There is no placeholder for just all the exp points you have. But there is a JavaScript placeholder I msde a while ago that can do this

#

Maybe I should pr it into the player exp? But its kinda big

errant iron
#

I saw that the impls for total exp and current exp are like, nearly identical

#

one was just static i think

tropic flower
#

Hi, does anyone know the placeholder to get the world of a user ?

#

E.g, I'm Picsor, in world "world" and I want to type something like "%player_worldname%" and it returns "world"

turbid tide
tropic flower
#

Okay! I'll look that up in placeholder api's doc :D

#

Thanks :)

#

Okay got it!

sturdy pollen
#

How Do You Like link placeholderapi to a website

#

i want to put leaderboards in my website (using wordpress) but idk how to put placeholderapi there

hollow stump
#

Is there a way to format a double 0.0 to like 0?

#

with PAPI?

junior musk
#

%math_0_{placeholder_without_%%}%

hollow stump
#

thank you soo much

#

huh, its not working

iron kite
tidal fern
#

Is it possible to have a place holder inside a place holder?

#

Say i have a place holder that gives back the players nickname

#

Then i have another place holder that "gradients" or color codes whatever is inputted

#

Can i put the nickname inside of the gradient place holder somehow?

turbid tide
junior musk
#

||maybe my NestedPlaceholders expansion can help||

vivid sparrow
#

How does it work?

junior musk
#

you just put your placeholder in it and it will parse the placeholder, then parse it again a second time

#

and if you specify an amount before the placeholder, it will parse it # times

vivid sparrow
#

Ah nice

junior musk
#

say, I have %javascript_test% which returns %javascript_name% which returns %player_name%, if you use %nested_3_javascript_test% it will go all the way and parse %player_name%

slate pollen
#

can somebody help me,

#

man can't send pictures

tender vaporBOT
#
Uploading Images

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.

slate pollen
#

Anyway i did 2 commands:
/holo addline baltop 1: %vault_eco_top_player_#1%
/holo addline baltop 1: %vault_eco_top_player_1%

#

but both result in 1: , and then nothing the placeholder doesn't work

#

any ideas?

#

And yes i got the pack for vault installed

junior musk
#

Holographic Displays requires Holographic Extension and ProtocolLib to support PlaceholderAPI placeholders

turbid tide
#

or if you're on 1.17 you'll have to use HOlographicPlaceholders

#

instead. pretty sure HE is broken or something on 1.17

trim mist
#

Yeah I've had a few people mention that. I've reached out to him a few times and gotten no response.

#

Oh I didn't even realize it was open source.

#

Someone made a PR a few days ago.

craggy rain
#

hi , it is here for asking help about server expansion (1.12.2 version ) pls ?

turbid tide
#

you can ask here for help yeah

craggy rain
#

okay , so i use papi for a scoreboard with the player expansion and the server expansion , the issue is that the server expansion doesnt register when reloading

#

i did download both with the command /papi ecloud

#

the player works very well though

turbid tide
#

you'll probably have to manually download it then

craggy rain
#

i did it too

turbid tide
#

and?

craggy rain
#

but the error is the same

turbid tide
#

oh so you get an error?

craggy rain
#

i go get the error on the website to show it to you

turbid tide
#

hmm @errant iron u got any idea what this is?

craggy rain
#

in case : im using Papi 2.10.10

slate pollen
errant iron
#

Hmm it looks like the expansion version is null. I would download it from the website and see if that fixes it

sturdy pollen
tender vaporBOT
#
Hey!

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

random rock
#

For some reason I cant do /papi reload?

The plugin is added, and it wont reload?

Please help

silver minnow
#

wdym you can't do /papi reload?

#

Error?

#

does the plugin show in /plugins?

random rock
#

yes it does

silver minnow
#

Is it enabled?

#

what's the error?

random rock
#

Ill get the error now

silver minnow
#

alr

tender vaporBOT
#
HelpChat Paste

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

random rock
#

@silver minnow Here

silver minnow
#

oh what thonking that's... an interesting error

#

ohhh

#

i know why it's happening

#

gimme a min

#

actually what placeholderapi version do you use? @random rock

random rock
#

latest

#

wait

#

ill double check

silver minnow
#

ok

tender vaporBOT
#
Placeholderapi - Version List
Spigot:

1.8.8
1.12.2
1.13.2
1.14.4
1.15.2
1.16.5
1.17

Version:

v2.10.9 - Latest
v2.10.9 - Latest
v2.10.9 - Latest
v2.10.9 - Latest
v2.10.9 - Latest
v2.10.10 - Dev Builds
v2.10.10 - Dev Builds

silver minnow
#

@random rock those are the latest for each version ^

#

ohh wait

#

noo this isn't placeholderapi's fault

#

i read the error wrong

random rock
#

PlaceholderAPI-2.10.10.jar

silver minnow
#

it's CommandWatcher... can you link me to the bukkit/spigot page?

random rock
#

sure

#

@silver minnow here

silver minnow
#

yep, it's too old

#

spigot has changed some of its code, so the code is trying to access its old code

#

..but the old code isn't there anymore

random rock
#

okay

#

so shall i try and delete the plugin?

#

the cw?

silver minnow
#

yes

random rock
#

okay

#

got any suggestions on what cw to use?

silver minnow
#

hmm

#

sorry i don't know ๐Ÿ˜•

random rock
#

all goods!

silver minnow
random rock
#

okay cool, thanks

random rock
# silver minnow btw <@!551877438741807135> I just checked the docs, as I said here, the code was...
23.07 03:58:22 [Server] INFO [PlaceholderAPI] Placeholder expansion registration initializing...
23.07 03:58:22 [Server] INFO [PlaceholderAPI] Fetching available expansion information...
23.07 03:58:22 [Server] WARN Boat (vehicle of SkunkSonic) moved wrongly! 0.713583252958415
23.07 03:58:22 [Server] ERROR [PlaceholderAPI] failed to load class files of expansions
23.07 03:58:22 [Server] INFO java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: me/clip/chatreaction/events/ReactionWinEvent
23.07 03:58:22 [Server] INFO at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?]
23.07 03:58:22 [Server] INFO at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?]
23.07 03:58:22 [Server] INFO at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1766) ~[?:?]
23.07 03:58:22 [Server] INFO at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1756) ~[?:?]
23.07 03:58:22 [Server] INFO at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295) ~[?:?]
23.07 03:58:22 [Server] INFO at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) ~[?:?]
23.07 03:58:22 [Server] INFO at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) ~[?:?]
23.07 03:58:22 [Server] INFO at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) ~[?:?]
23.07 03:58:22 [Server] INFO at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) ~[?:?]
23.07 03:58:22 [Server] INFO Caused by: java.lang.NoClassDefFoundError: me/clip/chatreaction/events/ReactionWinEvent
23.07 03:58:22 [Server] INFO at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
23.07 03:58:22 [Server] INFO at java.lang.Class.privateGetDeclaredMethods(Class.java:3334) ~[?:?]
23.07 03:58:22 [Server] INFO at java.lang.Class.getDeclaredMethods(Class.java:2446) ~[?:?]
23.07 03:58:22 [Server] INFO at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$6(LocalExpansionManager.java:367) ~[?:?]
23.07 03:58:22 [Server] INFO at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) ~[?:?]``` I am now getting this...
silver minnow
#

what expansions do you have?

random rock
#

I cant send pictures, ill dm you

tender vaporBOT
#
Uploading Images

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.

random rock
#

nvm

silver minnow
#

you can use /papi dump if you want, it lists the expansions and its info

random rock
#

does that work?

silver minnow
#

uhh sure

#

do you have the ChatReaction plugin?

random rock
#

I dont

silver minnow
#

huh

#

i think that one of the expansions is looking for the chatreaction plugin (which is why i asked for expansion list)

#

the error doesn't really tell me though ๐Ÿ˜•

random rock
#

okay

#

want a dump?

silver minnow
#

yes

random rock
#

ok

silver minnow
#

@random rock try removing half of the expansions, seeing if this happens, if it keeps happening then repeat, if not, then add half back, etc

#

to try locating the expansion

random rock
#

okay

silver minnow
# random rock okay

first try removing all of them though, to make sure it's an expansion issue

random rock
#

okay

#

will do now

#

command to remove expansion?

silver minnow
#

uh

#

u can just make another folder in the PlaceholderAPI plugins folder

#

(and restart server)

random rock
#

ok

silver minnow
#

waaait

#

@random rock actually i think u might be able to just do /papi reload instead of restarting server

random rock
#

The only one it has failed to unregister is Vulcan, the others unregistered

mortal oar
#

hey, looking into what I need to do here, i'm testing a 1.17.1 build for my server and have (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 15822af on HEAD) and PAPI v2.10.10

I'm getting this error in console and most plugins that use these expansions are throwing this error: https://pastebin.com/ksLBjwLs

some plugins will still show accurate placeholders regardless of the NoSuchFieldException error, but others like Featherboard are not parsing the placeholder at all, just delivering the raw text instead. Do I need to do something special with the expansions themselves? if so, where can I find them? thanks in advance c:

random rock
silver minnow
silver minnow
random rock
#

ik...

#

idfk XD

craggy rain
slate pollen
#

some other vault placeholders do work so maybe im doing something wrong

#

i tried:

#

/holo create test %vault_eco_top_player_#1%

#

and

#

/holo create test %vault_eco_top_player_1%

rotund swift
#

Is there any workaround for PAPI placeholders on Bungee? Venture chat doesnt have join messages.

hard basalt
#

or even essentialsx

rotund swift
#

I will look into it, thank you very much

vast sierra
#

why %thetime_date_day% in scoreboard don't work

#

ุŸ

hard basalt
#

?

#

what plugin that placeholder come from ?

vast sierra
#

the time without plugin

hard basalt
#

u mean time expansion

vast sierra
#

yb

hard basalt
#

try redownload it from ecloud

vast sierra
#

how

hard basalt
#

?

#

/papi ecloud download <name>

vast sierra
#

nothing command to download time expansion

hard basalt
#

?

hard basalt
vast sierra
#

no download commands

hard basalt
#

?

#

there is

#

i just send u the command

vast sierra
#

when i download playertime
it don't download

hard basalt
#

oh

#

u need player expansion

vast sierra
#

i have it in my papi list

#

but when i download playertime
it don't find it here

hard basalt
#

it not playertime

#

the extension name is player

turbid tide
turbid tide
#

you can still get them on the Vault expansion by downloading the version 1.5.2 and enabling them in plugins/PlaceholderAPI/config.yml

safe spoke
#

Redacted due to wrong channel

hard basalt
safe spoke
#

Apologies, thank you however.

formal vessel
#

hey, I'm using a plugin that uses html style animations, I was wondering if it was possible to pass in papi placeholders in any way? Or if not if someone perhaps knew of how this format worked? I do have skript and can make my own placeholders so if i need to reformat a hex code in some capacity I can do so easily "<wave colors=#00B9AE,#037171,#03312E>&lKairyu's Kingdom!</wave>" Here's an example of the animation, I would like to be able to use placeholders for the colours

turbid tide
turbid tide
#

yeah I'm afraid there is no real way to do this in the progress bar. maybe @junior musk can help you out set this up using his NestedPlaceholders expansion.

#

or you could set it up with some simple javascript I guess xD

#

bcz I'm not sure how the nested placeholders expansion works

#

I can give you the code. should be 2 lines or something like that

#

so you want to round up? or how do you want the rounding to work?

#

ok so round up is fine for you? like I Could just remove the decimal

#

if you want

#

so for example both 5.1 and 5.8 will become 5

#
parseFloat("%jobsr_user_jexp_rounded_Racฤ“js%").toFixed(0)```
#

this would be the code for that

#

btw

#

and to set the placeholder up you have to follow these steps:

#

/papi ecloud download javascript then /papi reload

warm topaz
#

why parseFloat

#

why not just parseInt

turbid tide
#

oh wait parseInt parses floats as well? I actually don't think I knew that

warm topaz
#

maybe? idk actually

#

maybe ur right

turbid tide
#

oh it does print

#

tho

#

so I guess that works

#

but he wants it rounded up Kaliber so guess I do need it as a float

#

anyways

#

steps:

#

execute the commands I gave above

#

go to plugins/Placeholderapi/javascript_placeholders.yml

#

and add:

#
roundup:
  file: roundup.js```
#

then do a /papi reload

#

then go to plugins/PLaceholderapi/javascript and you should find a file called roundup.js

#
Math.ceil(parseFloat("%jobsr_user_jexp_rounded_Racฤ“js%")).toFixed)(0)```
#

add this to that file

#

and save it

#

then do a /papi reload again

#

and now just use %javascript_roundup% instead of the %math...%

#

part

#

or actually you might need to use {} instead of %%

#

in this case

#

oh wait

#
Math.ceil(parseFloat("%jobsr_user_jexp_rounded_Racฤ“js%"))``` just this
#

will work

#

or at least should xD

#

oh guess the to fixed is needed then. wasn't 100% sure. js Math.ceil(parseFloat("%jobsr_user_jexp_rounded_Racฤ“js%")).toFixed(0)

austere hawk
#

How can I format numbers like

10,000 --> 10k
100,000 --> 100k
1,000,000 --> 1mil 
etc

I've already tried using the formatter placeholder and it only adds a comma like 10,000 | 100,000,000 | 1,000,000 | I've also tried using math but I'm either not doing it right or its just breaking the plugin

junior musk
#

I doesn't the format_number do that?

#

otherwise, which placeholder are you using?

austere hawk
#

I tried doing %formatter_number_format_{statistic_mine_blocks:cobblestone}% and it ends up just adding commas.

junior musk
#

ah

#

idk if there's another placeholder for that

austere hawk
#

ik there is a way to do it but I'm not quite sure actually how

vast sierra
#

how can show the date in scoreboard

spice kayak
#

can someone help me, with javascritp

balmy meadow
#

i need help, papi doesnt work and im not sure what to do with this

java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: me/blackvein/quests/Quest
        at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?]
        at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1766) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1756) ~[?:?]
        at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295) ~[?:?]
        at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) ~[?:?]
        at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) ~[?:?]
        at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) ~[?:?]
        at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) ~[?:?]
Caused by: java.lang.NoClassDefFoundError: me/blackvein/quests/Quest```
fervent spire
#

You're trying to load the Quests PAPI expansion but don't have Quests plugin installed.

balmy meadow
#

thats odd, but thanks

#

fixed, thank you

turbid tide
turbid tide
wintry ridge
#

Does anyone know a placeholder that shows how many blocks the player has placed? Apart from Statz, it doesn't work for me.

merry maple
#

Hello, an error occurred with the PlaceHolderApi and luckperms.

tender vaporBOT
#
Possible Solution Found:

This error occurs when there is a mismatch in versions between the expansion and luckperms itself,
Make sure you have the very latest LuckPerms and the latest LuckPerms Expansion
Once installed restart your server.

merry maple
#

oh.

#

interesting.

merry maple
compact swallow
#

Is there a placeholder for the name of the server in the BungeeCord proxy?

#

Like the name of the current server

twin bay
#

Maybe %bungee_<servername>% is the solution

#

Or %player_server% to detect player's server

#

Required Expansion: /papi ecloud download Player Hope that helped you ๐Ÿ˜„

fleet pike
#

@warm topaz @mint fable help ;-;

tender vaporBOT
#
Hey!

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

fleet pike
#

but the #rules just says be patient, it does not say dont ping, well i guess one could argue that ping violates that mmmmmmmmmmm

silver minnow
#
  • Don't @mention staff unless they are actively in a conversation with you.
    yes it does
errant iron
fleet pike
#

can you instruct me on how to disable it ;-;

waxen remnant
#

I am having an issue with %player_exp% where it returns the incorrect value.

I have 30 levels (1395 points), but it is returning 0.0
If I give myself to the highest possible level, it's returning 0.3850485

Any idea what could be causing this issue?

hard basalt
waxen remnant
hard basalt
#

no

#

that placeholder return the percentage of ur exp bar

#

not the exp

waxen remnant
#

ahh I see.

hard basalt
#

to get the real value u have to make a placeholder to calculate it

#

here is the 1 i made

waxen remnant
#

That makes sense

hard basalt
#

here

#

use this javascript 1

#

do u know how to install it ?

waxen remnant
#

No clue

hard basalt
#

ok

hard basalt
#

and copy the file i send to that .js file

#

then open the javascripts_placeholder.yml in PlaceholderAPI folder

#

for example i will name the .js file we create earlier exp_value.js

waxen remnant
#

Thank you!

hard basalt
#

in the javascripts_placeholder.yml add this:

expvalue:
  file: exp_value.js
  engine: nashorn

Notice: expvalue is the placeholder name, this is customizable, in game u will parse %javascript_expvalue%

#

the file name much match the name of the .js file u create earlier

fleet pike
hard basalt
#

i already saw that

fleet pike
hard basalt
#

no i mean placeholderapi dont have that option

#

ok

#

can u send the plugin list of ur server

waxen remnant
hard basalt
#

np

fleet pike
hard basalt
#

my server run fine with luckperm

#

maybe try migrate to it ?

fleet pike