#placeholder-api

1 messages · Page 86 of 1

austere hawk
#

Frosty thanks

brisk coral
#

@old lance It already does, make sure you're using the v5 expansion

old lance
#

How do I get that?

brisk coral
#

Remove the expansion from the expansion folder, then run /papi ecloud download luckperms

old lance
#

Okay

brisk coral
#

And /papi reload and it'll install the latest expansion

old lance
#

Thank you 1000x

bronze bison
#

Just fyi, you just need to download the new version of the expansion. No need to delete the older one.

austere hawk
#

uhm

#

where did the vault papi disappear

mental night
#

Make sure it’s in your papi list

austere hawk
#

it was somewhere here in the chat 😄

bronze bison
austere hawk
#

here it is

mental night
#

Yeh

brisk coral
#

#bot-commands

austere hawk
#

oh sorry

mental night
#

Frosty heyo

#

Sweeeet Caroline dun dun dun

bronze bison
#

The link i sent has all placeholders btw 😄

austere hawk
#

is it possible to make the format as in /bal

#

in the hologram

mental night
#

So it’s like 12k?

austere hawk
#

but it has .0 after it

mental night
#

Yeah

austere hawk
#

cant it be 12.000

mental night
#

I’ll be on pc soon it’s a JavaScript

#

12.000k?

#

Yeah it can

austere hawk
#

12.000$

mental night
#

Oh why would you want it to show .0

#

Looks messy

#

But I guess you probably still can

#

What’s the current placeholder your using @merry flicker

austere hawk
#

I want it not to show .0

mental night
#

Wrong person 😂

austere hawk
#

because it now shows it

mental night
#

Show me how you want it formatted

#

You want it to show 12?

#

Or 12.003

austere hawk
mental night
#

What’s the place holder your using atm

#

For the hologram

austere hawk
#

vault

mental night
#

What placeholder...

austere hawk
#

that

#

oh

#

it has fixed formatex

#

.......

mental night
#

Can’t u just tell the one you put into the command

#

Instead of having to bring the whole list

#

%vault_eco_balance_commas%

#

Use that

austere hawk
#

i didnt see it but everything is ok now

mental night
#

Cool

wise scaffold
#

=paste

tender vaporBOT
#
HelpChat Paste

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

wise scaffold
idle coral
#

You probably need to update your LuckPerms

wise scaffold
#

it's the latest version

idle coral
#

Are you sure? What is the version number you have?

wise scaffold
#

LuckPerms-Bukkit-5.0.39

idle coral
#

Hmm I just tried and had the same error as you, was running old luckperms version, currently I have LP 5.0.39, PAPI 2.10.4 and LP Expansion 5.0-R2.
If you have the same make sure you restart your server and try again.

wise scaffold
#

How can I see what version of the expansion?

idle coral
#

/papi ecloud info luckperms

wise scaffold
#

Yeah, same thing here. 5.0-R2

idle coral
#

And you get the error even after restarting the server?

wise scaffold
#

Yepp

muted bough
#

Hey, my chatcolor plus isnt working

#

for my colored chat

warm oriole
#

We require more info than that.

#

example what chat plugin @muted bough

muted bough
#

oh sorry, its Towny

warm oriole
#

are you sure towny supports papi?

#

oh

#

that's wrong

muted bough
#

you cants use the % signs in it

warm oriole
#

papio uses %

#

not {}

muted bough
#

ill try with it

warm oriole
#

as if that doesn't work it'

#

it's likely not supported or someone else can answer for me, as I don't use Towny.

wise scaffold
#

I guess I will just remove the extensions and try again

#

Seems to have fixed the issue.

unique yacht
#

Have removed all extensions and reinstalled 😐 Am I doing something wrong or is it just messed

warm topaz
#

upgrade luckperms to v5 or
/papi ecloud download luckperms 4.1
/papi reload

#

id recommend upgrading

unique yacht
#

it is on v5

#

heh

#

LuckPerms 5.0.49

#

got dammit

#

now nothing is working i-

leaden kraken
#

Have you tried removing the LuckPerms expansion and reinstalling it?

unique yacht
#

it started with an issue with chat messages sending twice and then i was trying to find the culprit plugin then Papi started spitting this out after reenabling it

#

yep

#

even manual download

#

@wise scaffold seems to have a similar issue above? ^^^

wise scaffold
#

I guess so?

#

I just removed them all and redownloaded them

unique yacht
#

Still not working for you?

warm topaz
#

try using the 1.15 jar in pinned messages

wise scaffold
#

it is

unique yacht
#

o

#

used the dev build and got this -

trim mist
#

If you're on the latest dev build of LuckPerms, make sure you're on the latest version of the expansion.

unique yacht
#

yes sir i am

trim mist
#

That seems to be saying otherwise 🤔

#

One sec lemme boot up a test server.

unique yacht
#

wait h

#

its 5am

#

forgive me

#

i- ok @trim mist i got it i think

#

im so sorry LMAO

trim mist
#

All good! Glad it's working!

unique yacht
#

ive been trying to fix something for like 8 hrs and now its 5am so im... not doing... the smartest things

trim mist
#

We've all been there.

unique yacht
#

it was right in front of me

#

i didnt put the right file in

#

Thank you for your patience LMAO

trim mist
#

Yup!

vague pine
#

Can you add a feature about inventory full notification? ~~"

#

If their inventory is full, the items will not giving to players

brisk coral
#

What is u on about?

sacred dew
#

Every time I restart the server, the placeholder %gangsplus_gang% breaks. The placeholders for papi don't stay downloaded and you have to re-download them after the restart in order for it to work.

#

@vague pine That's not a plceholder xD There are plugings that do that, not placeholders

neon oxide
#

clip could you please try and fix the issue with DeluxeTags where the tag won't be recognised until we type in chat? We would all definitely appreciate that!

upbeat lichen
#

does %premiumvanish_playercount% exclude vanished players?

leaden kraken
#

yes

#

It includes vanished players if you have permission to see them

#

@upbeat lichen

upbeat lichen
#

good to know 👍

austere hawk
#

I need help with registering a placeholder

#

I've followed the tutorial on site but it doesn't work?

#

Red strikethrough on everything related to placeholder

final shadow
#

Should be using register

austere hawk
#

well in your guide it's .hook()

#

so idk what's up

trim mist
#

You're probabaly looking at an old guide.

final shadow
#

Use the wiki on GitHub

sacred dew
#

Can someone possibly answer my question up there ^ Don't wanna repost it xD

brisk coral
#

@sacred dew Contact the author, also make sure you are running the correct version beforehand

cobalt moss
#

is there a placeholder for blocks placed I can't find it?

balmy marten
#

%statistic_mine_block%

cobalt moss
#

wouldn't that only count blocks mined though?

balmy marten
#

Oh sorry miss read your question

#

Possibly could be %statistic_use_item% But you'd need to test it

sacred dew
#

He told me that's PlaceHodlerAPI's problem.. @brisk coral

cobalt moss
#

okay thanks!

balmy marten
#

@sacred dew Try stopping the server and manually downloading the expansion from our site

sacred dew
#

Thank you, and where would I place this in the plugins ffolder

balmy marten
sacred dew
#

Gotchu thank you. I'll try that

#

Didn't work

balmy marten
#

Does it delete the expansion from the folder?

sacred dew
#

No it doesn't

balmy marten
#

Alright, mind sharing your latest startup log?

#

=paste

tender vaporBOT
#
HelpChat Paste

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

sacred dew
#

I'm using current versions of GangsPlus and PlaceHolderAPI

balmy marten
#

oh

#

What version of GangsPlus @sacred dew ?

#

The latest?

sacred dew
#

2.7.0

#

the latest

balmy marten
#

Alright so turns out you don't actually need the expansion as it's built in now

#

So delete it out of the expansions folder

#

and your placeholder list is here

sacred dew
#

Okay let me try that out

#

Appreciate it funnycube 🙂

balmy marten
#

np, hope it works

sacred dew
#

Works! 😄

#

Thank you!

balmy marten
#

Awesome

#

I'll update our documentation

sacred dew
#

Perfect, appreciate all the help

austere hawk
#

Hello!

#

After I installed the ProtocolSupport plugin the PAPI plugin stopped working

#

Is this normal?

balmy marten
#

Any errors?

austere hawk
balmy marten
#

Update luckperms to v5+ @austere hawk

#

Should fix that

austere hawk
#

Did that already

balmy marten
#

Then make sure you have the latest LuckPerms expansion installed

austere hawk
#

Expansion?

balmy marten
#

Yes, papi runs off expansions

#

Whilst the server is stopped
Head to /plugins/PlaceholderAPI/Expansions/ and delete the LuckPerms expansion

#

Then start the server and run:
/papi ecloud download luckperms
/papi reload

austere hawk
#

Oh! That extension

#

There we go

#

Thank you!

balmy marten
#

Np

brisk coral
#

Cuberoid, perhaps a /papi ecloud <expansion> delete command within papi 3.0? ;)

balmy marten
#

@carmine veldt / @trim mist

carmine veldt
#

i was actually looking into that today

#

funnily enough

#

it'll be in there

brisk coral
#

Oofity

carmine veldt
#

no clue how we'll do it

balmy marten
#

although maybe
/papi remove <expansion>
As the other command sounds like ur trying to delete it off the cloud

brisk coral
#

Or that ye

#

Loop through the expansions folder, and check if the given string matches an expansion, then delete it

#

eZ

carmine veldt
#

it's gonna be painful af, there's no standard way to remove a jar as far as I can tell. Looks like we're literally gonna be unregistering it through bukkit, papi, guice, etc, nulling the classloader, then waiting for gc to remove the classes

#

which is kinda what papi does atm, not as complicated though

#

might look into sponge and see if it has any fancy mechanisms for it

brisk coral
#

Have fun kek

trim mist
#

Alright whoever tagged me is getting banned

#

Do you know how late it is

carmine veldt
#

'twas cube

tender vaporBOT
#

@trim mist, You dun goofed.

balmy marten
#

Come on, dare you to

tender vaporBOT
balmy marten
#

<o/

trim mist
#

Damn Barry be a bad boy

austere hawk
#

Hey

#

so I am trying to make a placeholder that returns data but I don't know how

white ivy
#

Which placeholder are you trying to use? Or making one as in making your own placeholder?

austere hawk
#

basically %utils_progress_pig% to return data about pig

#

i'm making one

#

i've got it to work & it registered successfully but I don't know how to make what I talked about above

#

I've got a variables class with all mobs. Basically the thing I've worked on is that when a mob gets killed, it drops a player head with the same texture as that mob and when you right-click the head, you get a ++ in the /headstorage. I'm working on a spawner rankup system. Where you start with the pig spawner, have to collect like 250 pig heads before you can access the cow spawner

#

So far that works but now i'm making the requirements with placeholderapi so I can make the gui with deluxemenus as i'm not really good with guis

white ivy
#

So that placeholder counts the amount of pig heads, correct?

brisk coral
#

Return the value of the heads they have, and just check if it's greater or equal to the required numbet

white ivy
#

^ Thats what I was thinking

#

I'll grab the config for it for DM

#
expression: '%utils_progress_pig% >= 250'```
https://wiki.helpch.at/clips-plugins/deluxemenus/options-and-configurations/requirements
#

As a requirement

austere hawk
#

Yes @white ivy

#

but I have to make the placeholder first so it shows numbers when parsing it

#

and that's the part I don't know

white ivy
#

oh derp 🤦
I have no idea, I haven't made them before

austere hawk
#

Let me send you a screenshot

#

https://prnt.sc/qprype - Basically all mobs are listed here with their textures etc for the drops & head storage GUI

brisk coral
#

You said you were storing the values (number of heads), so just return the correct number according to the type and player

austere hawk
#

yeah.. I can't figure out how :/ @brisk coral

tender vaporBOT
#

@austere hawk

Hey!

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

austere hawk
#

Oh, sorry for the tag. Didnt know

brisk coral
#

How are you storing the players kills?

austere hawk
#

YAML

#

its heads collected btw

#

when a entity dies, it drops an head

#

and when you right-click that head, it adds ++ to the entity collected

brisk coral
#

Show me the storage for one single player

austere hawk
#
  Zombie: 4
  Stray: 2
  Spider: 2
  Creeper: 20
  Endermite: 3
  Skeleton: 2
Passive:
  Squid: 1
brisk coral
#

And are you checking for the players uuid or?

austere hawk
#

uh nope, just name I believe

#

but i'll use uuids soon so if players change name they'll still have their progress

#

Thank you for taking your time to help me btw. Really appreciate it!

brisk coral
#

So use the placeholder to retrieve info like this

file.get(player.uniqueId() + ".Hostile.Pig"
#

Amd just return that when the placeholder is called

#

And*

austere hawk
#

kk

#

let me try that

brisk coral
#

Also use getInt instead of just get

austere hawk
#
file.getInt(player.uniqueId() + ".Hostile.Pig")```
#

so like this

brisk coral
#

File being the yaml file you're storing it, amd I believe it's player.getUniqueId()

#

Ofc after you change it so it stores uuid instead of name

weary hamlet
#

I have a problem, I did these 3 commands

/papi reload
/papi list```
There was no error, But statz expansion is not added to list.
white ivy
#

Might need to download it manually

weary hamlet
#

Nope, It doesn't work again.🥺

#

Also PlayTime expansion doesn't load neither

brisk coral
#

Do you have the plugins?

weary hamlet
#

What plugin?

#

Oh yes there are installed

brisk coral
#

Console errors?

weary hamlet
#

Nope

#

Oh there is one on start , statz gave that and disable it self

idle coral
#

What is the error?

mental night
#

Luckperms is making me dizy

#

Im lost in it xD

dark venture
#

I don’t fuck with luck perms lmao

#

I still use pex xd

heady axle
#

what placeholder is best to use for getting a servers "online" status i was using

%pinger_isonline_***.**.***.***:28749%

But for some reason just doesnt want to work anymore

#

Even pinging popular servers like hypixel still give the offline result

#

@ me if anyone replys pls

bronze bison
#

@heady axle the default update interval of pinger expansion is 30 seconds, you can change that from PlaceholderAPI config file.

#

That will probably fix your issue.

heady axle
#

its already on 30

#
  pinger:
    offline: '&cOffline'
    check_interval: 30
    online: '&aOnline'
#

Anything i "ping" returns a "offline" value

#

I dont know why either

bronze bison
#

Thats the update interval, you need to wait 30 seconds from parsing the placeholder for the first time to get an updated value on the second time you parse it.

heady axle
#

Any idea why my server keeps returning a offline value then even after 30seconds waiting

#

Ok so pinging the network returns a online status, but tagging any of my sub servers is just "offline"

#

is there something that can stop a ping return answer ?

bronze bison
#

Use the numeric IP, if you're using that already.

heady axle
#

i did

bronze bison
#

Hmmm.

#

That's really weird, as the expansion seem to be working fine since it's working with public servers.

heady axle
#

😦

#

Is there something that can stop the pinger from working ?

bronze bison
#

I don't think so, no.

#

Its usually due to the long update interval.

heady axle
#

Know of any other placeholders i can try ?

bronze bison
#

Other than pinger placeholders? Unfortunately no, sorry.

heady axle
#

Weird thing is my hologram placeholders work fine but they wont work in the GUI menu 😦

turbid tide
#

are you using them like this: %placeholder% or like this?: {placeholder}

heady axle
#

%pinger_isonline_***.**.***.***:28749%

bronze bison
#

Does your GUI menu's plugin support PlaceholderAPI plugin?

heady axle
#

Yeah it just displays "offline"

  - '&6Status&7: {status: Survival}'
  - '&6{online:Survival}&7/&e100'

This is my Holograms placeholders

bronze bison
#

This isn't a Pinger placeholder, thats why.

heady axle
#

thats holograms

#

my GUI is using pinger

turbid tide
#

you need PlaceholderAPI and Pinger expansion downloaded

heady axle
#
  GUI:
    Name: 'Server Selector'
    Slots: 27
    Items:
      survival:
        Item: GOLDEN_SHOVEL
        Slot: 10
        Amount: 1
        Glow: false
        Name: '&a&lSurvival'
        Lore:
          - '&7Minecraft With Q.O.L Plugins &4(PVP)'
          - '&a%pinger_online_137.74.186.117:28749% &7(%bungee_Survival%/100)'
          - '&e&o1.8-1.15+ &7&o(1.12.2)'
          - '&7'
          - '&cFeatures:'
          - '&6 - Land Claims'
          - '&6 - Set your home by sleeping in a bed   '
          - '&6 - PVP outside of claims'
        Commands:
          - '[bungee] survival'
          - '[message] &7Sending you to: &eSurvival'
turbid tide
#

so if you have PAPI instaled make sure you do "/papi ecloud download Pinger" and "/papi reload" after

heady axle
#

Iv got them downloaded...

turbid tide
#

and what do they return?

#

i mean in your menu

heady axle
#

Offline in red like in my config is setup to do

  pinger:
    offline: '&cOffline'
    check_interval: 30
    online: '&aOnline'
turbid tide
#

but your server is online I assume?

heady axle
#

Indeed

turbid tide
#

are you sure that the port is the good one?

heady axle
#

port ?

turbid tide
#

the server port

#

28749 in your config

heady axle
#

Yes its right, users connect fine.

turbid tide
#

they connect with this: [bungee] survival and not with this 137.74.186.117:28749

heady axle
#

Well considering im using a network no, they wont connect with 137.74.186.117:28749 otherwise that allows users to bypass protections and pose as any other user.

#

but bungee forwards through the network to 137.74.186.117:28749

turbid tide
#

yeah that's why I am asking if you are sure about the port

heady axle
#

The port is correct.

#

Bungee has to use the 137.74.186.117:28749 IP to forward the user there

turbid tide
#

ok then i have no clue what the problem could be

#

do you get any errors in console when doing /dm reload or /papi reload?

heady axle
#

nope

turbid tide
#

Are you sure that the ip is right then?

heady axle
#

Its right.

median kindle
#

Hello

turbid tide
#

because i get the same error if i use 25565...

#

is your lobby on 25565?

heady axle
#

nope

#

none of my backend servers are on 25565

median kindle
turbid tide
#

maybe test for another port

#

like another server

heady axle
#

This is going nowhere forget it, Non of my backend servers are returning a "online" value with pinger. my "bungee" is the only one that returns a online status
IP's and Ports are correct, if they weren't my Holograms "status" wouldn't work or show the player count live.

#

it worked a while ago but since this new update its not been working.

turbid tide
#

ok

brisk coral
#

Use the older version then

heady axle
#

I would but iv no idea how long its been broken so i don't know what version to go back to, But i know 100% it worked when i initially set it up, I only knew it was broken today when a user pointed it out.

heady axle
#

Does Pinger use the query port ?

bronze bison
#

It uses the port that you connect from, ths one on server.properties. so no.

heady axle
rapid ginkgo
#

is there a way to make a custom placeholder in a plugin?

vivid sparrow
#

Yes (?)

#

Check the wiki

runic lintel
#

Hi, I would need to change the variables of a placeholder that if it says "Yes", I want it to say "On" thanks

balmy marten
#

The placeholderAPI config will let you change that

#
boolean:
  'true': 'yes'
  'false': 'no'```
mental night
#

Anyone know why

balmy marten
#

Hold the item and run /papi parse me %player_item_in_hand%

mental night
#

DIAMOND_PICKAXE

leaden kraken
#

Does it open if you're not holding a diamond pickaxe?

mental night
#

ye

balmy marten
#

Yeah looks back to front

leaden kraken
#

Then change it to == instead of !=

mental night
#

alr

#

cheers still getting used to them :P

#

<3

runic lintel
#

I want "default" to say "user"

brisk coral
#

Bit more context than that will be needed I'm afraid

balmy marten
#

My guess is a vault placeholder is returning default

dawn ember
#

Do I need placeholderAPI for voteparty?

balmy marten
#

Yup

dawn ember
#

I have it and it still says %player_name% :I

balmy marten
dawn ember
#

linked

#

(I think)

balmy marten
noble brook
#

Im using the KitPvP plugin and with a custom scoreboard. I would like to use some of its placeholders with placeholderapi but it is just showing this: https://imgur.com/a/R8BH673

#

It was working because I reloaded papi*

#

Nevermind its working now

barren panther
#

Any reason why PlaceholderAPI won't load LuckPerms placeholders?

#

Can't figure it out.

idle coral
#

Any errors in console?

vivid sparrow
#

Most likely the expansion version doesnt match your server version

brisk coral
#

?luckperms

tender vaporBOT
#
Unknown FAQ:

I couldn't find anything for: luckperms

brisk coral
#

Reeeeeeeeeeeeeeeee

vivid sparrow
#

still not a thing ?!

#

Please frcsty.

brisk coral
#

Post the error, barry shall help you

tender vaporBOT
#
FAQ Answer:

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.

If you want to keep using v4 please download the version 4.1 of the LuckPerms expansion.

vivid sparrow
#

Just in case xd

barren panther
#

@brisk coral It just doesn't load up. 😦

#

The XpBoost thing is different.

brisk coral
#

No need to ping, also my guess would be an incorrect version of the expansion, or the plugin already offers an internal one

vivid sparrow
#

If an expansion fail to be enabled, the others wont be loaded either

#

milkwalk#7776 contact them if you can't figure it out

barren panther
#

I am using the lastest versions. 😦

#

You fixed it Gaby. ❤️

median kindle
#

Body, can you remember me how did you make the plotsquared open source

#

Placeholders

bronze bison
#

Is that supposed to be me? Anyway can you be more specific?

#

And by the way, no one made the PS open source, its opened source by the author.

median kindle
#

You have shown me like a link

#

Where I could edit the plotsquared placeholder

#

Because it was “open-source” or something alike

#

Because I was asking, how could I make it answer like

#

If the player were in the plots world

#

Even if he isn’t

austere hawk
#

wtf

#

?

#

paste

#

!paste

balmy marten
#

=paste

tender vaporBOT
#
HelpChat Paste

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

austere hawk
#

if anyone work with placeholderapi and featherboard know this problem

#

every new player's

sharp jay
#

@austere hawk can you show me latest log ?

austere hawk
sharp jay
#

Can you try /papi parse me %orthyonbank_balance%

hollow hawk
#

[Server thread/INFO]: [MVdWPlaceholderAPI] Orthyon-IslandBank added custom placeholder {orthyonbank_balance}

austere hawk
#

return $0.0

sharp jay
#

@austere hawk since you did that you dont need placeholderapi infront

#

Try just {placeholder}

austere hawk
#

oh okay

#

ty

prime saffron
#

Im getting "No cloud extensions at this time" error when I do /papi ecloud download Player

#

tag with response please

hollow hawk
prime saffron
#

@hollow hawk is there anyway to fix the could?

hollow hawk
#

eCloud works fine for me.

#

What version are you using?

prime saffron
#

Iwas just useing 2.10.4

#

But right now im trying 2.10.5

#

yeah its still telling me the could cant be reached

#

huh all I had to do was /papi refresh

hollow hawk
#

Working now?

prime saffron
#

/papi ecloud refresh

#

yeah

hollow hawk
#

Must've been a temporary thing then.

sturdy vine
#

real dumb question, im trying to use the placeholderapi on featherboard and wanting to use the ecloud math expansion, "{placeholderapi_math_{redisbungeecount@red}+{redisbungeecount@blue}}" should that logically work?

mint fable
#

I don't know if you can

#

you would be able to use a javascript placeholder though

#

and you can use math in there

#

?papi math

sturdy vine
#

yea im trying to use the math one but its like mvdw doesnt have any math so im kinda switching between two

#

ima try some thingsd

mint fable
#

javascript would work for sure

sturdy vine
#

yea gotcha thanks ill try that :p

mint fable
#

👍

sturdy vine
#

thank ya

sturdy vine
#

aye it worked thanks cj lol

mint fable
#

nice

sturdy vine
#

havent done js in a minute good to touch the surface again lol

mint fable
#

haha

shut lion
brisk coral
tranquil sapphire
#

What version does Papi and EzRanksPro work together?

vivid sparrow
#

papi isnt version dependent

tranquil sapphire
idle coral
#

Which version of EzRanksPro are you using?

tranquil sapphire
#

Latest

idle coral
#

Can you check for me the version of your ezranks extension? Also better to talk at #ezrankspro

bronze bison
#

You fork/clone it, open it using your IDEA, change it and compile it and use it

median kindle
#

What about jdoodle

#

Online

bronze bison
#

What's that?

#

o looks nice

#

Well if that works, then great!

median kindle
#

mhmmm discord lagged or something alike

maiden holly
#

body

#

can i pay you to make that

sharp jay
#

:?

maiden holly
#

the placeholder thing

#

to get the plots world

bronze bison
#

Abruptum thingo?

maiden holly
#

yes

#

@bronze bison

undone crag
#

someone needs to update the version string on the guide

bronze bison
#

Which guide?

#

@maiden holly will do that when i get on my pc.

brisk coral
#

@undone crag Could you be more specific

undone crag
#

second paragraph

#

the whole expansion package doesn't exist in 2.0.6

bronze bison
#

Oh you're right, thanks for letting us know!

#

I'll update it.

undone crag
#

no problem

#

the register class part of the guide,it has this on the constructor but I see no need for an argument there, am I missing something?

bronze bison
#

Are you referring to this

public ExampleExpansion(SomePlugin plugin){
```And
```java
new SomeExpansion(this).register();

?

#

Ignore the ExampleExpansion, just noticed it and will fix it.

#

@undone crag ^?

undone crag
#

yes

#

that is what I meant

bronze bison
#

Well its fine?

#

this is for SomePlugin ^^

undone crag
#

oh huh I guess that's not what I meant

#

is there a command I could use to check if my registered placeholders work?

dire vigil
#

hi there!

I need some help with a DeluxeMenu menu thatis not working as it should...
its a voteshop menu where you can buy votecrate keys, the currency used for that is VotePoints from the plugin VoteingPlugin
when someone buys a key the points are taken from the player, but when that players hits 0 points thay can still buy those keys.
So basicly the left_click_requirement: is not working and i dont know why...

Here is the YML
https://paste.helpch.at/agisucijoz.bash

if you think you could help me please DM or Mention me 😄

#


is there a command I could use to check if my registered placeholders work?
@undone crag yeah its /papi parse (username/me) (placeholder)

undone crag
#

I think I'm messing it up somehow, when I try that all I get is a mirror of what I typed in, what's the format for the placeholder?

turbid tide
#

that means you don't have the placeholderapi expansion installed

obsidian niche
#

hi

#

pls help me

turbid tide
obsidian niche
#

%leaderheads_score_kills_score_1% pls help me not working

turbid tide
#

you will see that all placeholders are in a category or group or whatever you want to call it

obsidian niche
#

deluxemenus

turbid tide
#

so for example %player_online% is in Player

#

and you need to do /papi ecloud download Player

#

and /papi reload

#

for %player_online% to work

undone crag
#

@turbid tide my placeholders are in my own plugin

obsidian niche
#

me?

undone crag
#

and PAPI does recognize that my plugin has some registered

#

on /papi list

turbid tide
#

EmraIRG did you doo /papi ecloud download LeaderHeads and /papi reload?

obsidian niche
#

yes

turbid tide
#

well i can't help you there magmaguy. I taught that a placeholder that is already there isn't working

undone crag
#

I think it's in here but I also don't know if there's a way to list the palceholders that a specific plugin has

obsidian niche
#

Blitz?

brisk coral
#

@undone crag Built in expansions don't show up on /papi list,

Have you registered the placeholder in your onEnable class,
Have you added all the correct methods, as well as properly defined the return values,
Are you using the correct placeholder and it's identifier

#

Check those things and ping me ^

turbid tide
#

EmraIRG I am afraid I have no clue

obsidian niche
#

help me pls

undone crag
#

it shows up on PAPI list and yes to all of those @brisk coral

obsidian niche
#
- ' &7Durumu&8: &c%leaderheads_score_kills_score_1%'
        - ' &7Durumu&8: &c%leaderheads_player_<kills_score_1>%'
        - ' &7Durumu&8: &c%leaderheads_score{kills_score_}1%'
#

not working all

brisk coral
#

Show your classes Magma

#

=paste

tender vaporBOT
#
HelpChat Paste

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

undone crag
#

oh oops

#

sorry already on pastebin as soon as you said it

brisk coral
#

Emral, is the kills score placeholder from a different plugin or?
I'd try %leaderheads_score{kills_score_1}%

turbid tide
#

@obsidian niche leaderheads_player_kills_1%

#

or that

#

never used leaderheads

brisk coral
#

Change it to helpchat paste Magma, I preffer not to be blind, thank you very much

undone crag
#

sure

obsidian niche
#

and score

brisk coral
#

Remove the player is online check

bronze bison
#

Seems like you forget the persist method @undone crag

undone crag
#

did I?

#

tried to copy this straight from the wiki

#

the plugin won't handle offline players all that well

bronze bison
brisk coral
#

Would 't that only matter for reloads tho aBoo? Also wouldn't it show an error if not present?

bronze bison
#

It won't show an error, and yes its for reloads

brisk coral
#

Magma, guessing you'd return it as featherboard status, etc. Meaning the player is online

#

Only actual time you'd need to check if the player is online is when parsing for other players, imo

bronze bison
#

Its good to have that? Whatever you'll be using it for, its good to prevent causing errors.

obsidian niche
#

thx

brisk coral
#

aBoo, meh

undone crag
#

well I've added the version from aboodyy

#

still same issue

#

oh I'm extra dumb actually

#

it's working just fine, I was just typing the alternative placeholder name that I ended up not using

#

apologies

turbid tide
#

ok anyone here that can help me with a time js placeholder?

#

i can't find a function that transforms a timestamp in normal time like 21:05 for example

#

or if I found one I don't know how to use it

bronze bison
turbid tide
#

actually didn't

#

🙂

#

sorry

bronze bison
#

all good 😄

turbid tide
#

well if you could do it when you have time it would be nice

snow perch
#

What do i need to type in my holo to get the players name up?

warm topaz
#

%player_name%

snow perch
#

I try but dos not work

bronze bison
#

If you're using holographic displays, then I'm sure it has its own.
If you want to use PAPI placeholders there, you need to download Holographic extension plugin and protocollib plugins for that.

snow perch
#

Okay ty i will ty

bronze bison
#

use HC paste pls

#

=paste

tender vaporBOT
#
HelpChat Paste

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

snow perch
bronze bison
#

u got HolographicDisplays?

snow perch
#

no

bronze bison
#

well u need that.

snow perch
#

well.... ty

#

haha

#

Works ty m8

bronze bison
#

Great!

bronze bison
runic lintel
#

vaultprefix says default, but I want to tell user how to change

sharp jay
#

@runic lintel what plugin?

runic lintel
#

vault prefix

sharp jay
#

Can you link me the plugin?

#

and what permission plugin

runic lintel
#

luckperms and vault

#

rank default is default but i want default to User in %vault_rank%

sharp jay
#

@runic lintel You can rename it with uh let me get the command

#

/lp group *GROUP* setdisplayname *NAME*

#

@runic lintel ^^

runic lintel
#

now i try thanks

#

Thanks a lot

#

How can I make a variable that has character limits in a name?

turbid tide
#

I don't think you can

#

it could have been possible if you could have used arguments in requirements but you can't

median kindle
#

woaaaaaa booodyyyyyy

sharp jay
#

?

median kindle
#

I’ll try it later, how much is it?

#

He made a custom expansion of plotsquared for worlds

sharp jay
#

naw he just updated the public one

#

and its free

median kindle
#

So how much is it

sharp jay
#

free

#

:?

median kindle
#

Aaah

sharp jay
#

He updated the current public one

median kindle
#

Ah really

#

By the way thankkkk

sharp jay
#

Thank him for making it 🙂

bronze bison
#

As terfs said, Its public (My fork) and I wouldn't get anything for such a thing anyway.

sharp jay
#

naw Aboo is super talented 🙂

bronze bison
#

I'm not :p

sharp jay
#

You are

plucky maple
#

Hey guys, is there a way to /papi parse the message to a specific player? Kinda like /papi bcparse but for a specific player instead of everyone online.

white ivy
#

With /sudo perhaps? But then I think said user would need the permission to use it

plucky maple
#

Yeah that's exactly what I'm trying to avoid

warm topaz
#

papi parse <player>?

plucky maple
#

that's the player who the placeholder would be evaluating for, not the player the parse message is showing to

sharp jay
#

/papi bcparse NAME @plucky maple

#

oh wait your trying to show someone else someones display on the placeholders?

plucky maple
#

yep

heady axle
#

How can i make %premiumvanish_isvanished% placeholder no just be "blank" and Yes be a different prefix

sharp jay
#

@heady axle papi javascript

hearty flame
#

anyone know if its possible to run commands as op in deluxemenus

#

or if theres an addon or something

#

!papi

balmy marten
#

No its too dangerous

hearty flame
#

Surely theres some way to implement it securely

#

I dont see if being a problem if people are going to use the option at their own risk aswell

balmy marten
#

What command are you trying to run?

austere hawk
#

I thought there's permission specifically for each menu? Won't that be safer?

hearty flame
#

i want players to do /warp end which will give them the 7 second teleport timer

#

but not give them permission to run it outside of the gui

#

if i used the timer action i would not be able to check if the player has moved in that 7 seconds

balmy marten
#

Can the warp plugin warp the player via console?

austere hawk
hearty flame
#

its essentialsx

#

im not 100% sure but i think it might just tp them instantly

#

just checking now

balmy marten
#

If you use lp or similar you may be able to give them the warp perm for a second before firing the command

hearty flame
#

hm

balmy marten
#

I believe lp has timed permissions

hearty flame
#

yea

#

could do but thats gonna spam chat with the luckperms logs

balmy marten
#

Better then oping the player for a second

hearty flame
#

Ye

#

Would an addon or something that allows that be an option in the future?

balmy marten
#

Dmenus will never have it

hearty flame
#

If it was a seperate jar that people needed to add it would warn players that there is risk

#

and to use it at their own risk

balmy marten
#

We dont want the responsibility

#

People will still come to us if it breaks

hearty flame
#

is dm opensource?

balmy marten
#

No

#

There is always work arounds rather then oping the player

undone crag
#

quick question, if a placeholder works through the /papi parse me %whatever% command does that mean that the placeholder is correctly registered and accessible by other plugins?

balmy marten
#

Yeah

undone crag
#

huh that's what I thought

hearty flame
#

ive changed my plan to make it so players have to pay instead lol

undone crag
#

does featherboard have some special way of accessing these that my 3am brain isn't getting or somethign?

balmy marten
#

{papi_<placeholder_wihout_%>}

undone crag
#

wait, really?

balmy marten
#

{placeholderapi_*}

#

my bad

undone crag
#

thanks for the help

#

look at all these differing standards

#

someone out to create a new standard and make that the new standard for everyone to use

balmy marten
#

Well thats kind of the plan with papi, to move everything to use the one system so they can all share info

undone crag
#

oops

#

oh well

nimble turret
#

Hi there, Any chance to join the placeholder inner a placeholder?

#

%progress_bar_{math_{jobsr_user_jmaxexp_fish}/100}%

#

like this

brisk coral
#

Use javascript

nimble turret
#

Okay I'll try

#

Sorry I dont understand what is your placeholder identifier

bronze bison
#

U can 😄 😄

#

Lemme get the brackets for ya

nimble turret
#

Thank u

bronze bison
#

u can use {} and $()$

#

The second one will be replaced first then the placeholder with {}

nimble turret
#

ahahahahah

#

It's working

brisk coral
#

Jesus aBoo

nimble turret
#

Thank u very much

bronze bison
#

No problem 😄 :p

nimble turret
#

😄😄😄

valid locust
#

Hi, i'm having a couple issues with another plugin (tab reborn) and i've spoken to them and the conclusion they came to is that i need to create relational placeholders and i have no idea what to do

warm oriole
#

for?

#

well the plugin doesn't have that meaning

#

you likely need to request for a plugin to made for a plugin to have relational placeholders

#

or need to pay someone likely to make a expansion with PAPI for that to use on tab reborn

#

@valid locust

valid locust
#

hectic, thanks

wet basinBOT
#

@brisk coral Unknown expansion.

trim moon
#

My custom javascript placeholders stopped working

warm oriole
#

fuuid doesn't support relations btw frosty.

brisk coral
#

@valid locust There's a relations expansion on the ecloud, perhaps that could be of some assistance

warm oriole
#

papi is broken until pig or fc fixes it for v3 bot.

trim moon
#

It says failed to set scriptengine

#

I am using engine: nashorn

bronze bison
valid locust
#

@brisk coral what is it called? like what do i put at the end of the download command?

bronze bison
#

@trim moon can you explain stopped working?

trim moon
#

@bronze bison It says {javascript_placeholder}

bronze bison
#

Where are you using that? PAPI placeholders use %% and not {}

trim moon
#

Venturechat, thats what it uses

bronze bison
#

Ah, how about trying it using the parse command? /papi parse me %the placeholder here%

#

Do you get the same thing?

valid locust
#

i really just wanna explain what i wanna do to see if you can help or it just isn't possible atm

trim moon
#

@bronze bison thats not working either

bronze bison
#

Make sure that the name you used is the same one you set in the javascript_placeholders.yml

#

Go ahead Skullz

trim moon
#

Its not working the problem is that the engine isnt loading

bronze bison
#

Remove the engine line from that file for that placeholder.

#

I assume you got something about that on console when reading papi

trim moon
#

Yes

#

Failed to set ScriptEngine for javascript placeholder

bronze bison
#

Yeah, JS expansion haa an issue with that.

#

Currently ^

trim moon
#

it was working yesterday

bronze bison
#

Wait, did you reload using papijsp command?

trim moon
#

papi reload

bronze bison
#

Hmmm, well just remove that line it will use that engine for you by default

#

If reloading the plugin didn't work, try restarting the server.

trim moon
#

reading?

bronze bison
#

Sorry, reloading *

trim moon
#

Would rolling back paper version fix it?

#

It restart doesnt work

bronze bison
#

That shouldn't be an issue, so no don't think so.

trim moon
#

Restart didnt work

bronze bison
#

Can you send your javascript_placeholders.yml please?

#

=paste

tender vaporBOT
#
HelpChat Paste

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

trim moon
bronze bison
#

Java version?

trim moon
#

Umm I think java 8 but not 100% sure

bronze bison
#

Well it should work fine.

#

What has been changed since yesterday?

trim moon
#

I would have to talk to my admin, but I think he updated paper, and added 1.15.2 support with viaversion

bronze bison
#

Rolling back paper might work, but not sure and would be odd tho

trim moon
#

@bronze bison rolling back paper fixed it

bronze bison
#

Oh good.

#

Which version you're in?

trim moon
#

Build 62 breaks javascript, Build 60 still works

bronze bison
#

Ok ty

reef galleon
#

Good evening, I use PlaceholderAPI, and in particular the Placeholder associated with time output ( %statistic_time_played%). The problem is that the output takes place with the indication of foreign units of time calculation, for example, hour-h, minute-m, second-s. How can I translate these letters (h, m, s) to analogs of my language?

mental night
#

javascript

#

and their not foreign units for us :P

reef galleon
#

I'm talking specifically about myself and my players who see foreign values on my server

#

Formats in Vault have changed "letters" for currencies, but not for dates/times. Why?

vivid sparrow
#
function replace() {
    var data = '%statistic_time_played%';
    var hour = 'h';
    var minute = 'm';
    var second = 's';

    return data.replace(/h/, hour).replace(/m/, minute).replace(/s/, second);
}
replace();```
meager vault
#

Hello ! I have a little request if someone can help me :D

I want to create a placeholder that return something depending on the permission :
for example :
if player has permission XX.A it returns AA
if player has permission XX.B it returns AABB
if player has permission XX.C it returns AABBCC

I tried to check on spigot but there is only 1 example that is checking ONLY 1 perm, and not checking multiple perm


// create a function with the name you want
function permission() {

// if the haspermission variable that we created before return yes (true boolean)
// the js placeholder will return what we set in the return down
   if (haspermission === "yes") {
       return "&aYou have the Test permission!";
   }

// if the haspermission varibale wasnt true it will return what we set down
   else {
       return "&cYou don't have the Test permission!";
   }
}
// by this we are calling the function to run
permission();```
(it was this one )
#

I have this javascript but I don't know if I can adapt it to work for me :

    return BukkitPlayer.hasPermission('test.permission') ? '&7YES' : '&7NO';
};

hasPermission();
vivid sparrow
#
var output = '';

if (player has permission a) output = output + 'AA';
if (player has permission b) output = outout + 'BB';

return output;```
meager vault
#

Thanks 😄

#

I just need to change the a and b right ? ( for the permission ) ?

#

like
if (player has permission testt) output = output + 'AtestA';

vivid sparrow
#

you replace the check with BukkitPlayer.hasPermission("permission.node"), that's just an example

reef galleon
#
function replace() {
    var data = '%statistic_time_played%';
    var hour = 'h';
    var minute = 'm';
    var second = 's';

    return data.replace(/h/, hour).replace(/m/, minute).replace(/s/, second);
}
replace();```

@vivid sparrow Thanks a lot. Everything worked out. Not the first time, but it took 20 minutes and everything works. Thanks)

tender vaporBOT
#

@reef galleon

Hey!

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

plush loom
#

omFG

#

Why do i ALWAYS get shitty reload errors

#

Let us post ss in here of our server's chat

#

ffs

balmy marten
#

Use imgur, only tier 2+ people can upload screenshots/files directly. (Sorry but it prevents spam/file dumps)

#

Imgur, Gazyo, prntscr or similar all work aswell

plush loom
#

Legit on every. Single. One. Of my servers

balmy marten
#

Go grab the error it spits out in console

#

most likely an expansion not behaving

plush loom
tender vaporBOT
#
FAQ Answer:

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.

If you want to keep using v4 please download the version 4.1 of the LuckPerms expansion.

plush loom
#

Oh it's luckperms

balmy marten
#

Yeah need to update it to v5

plush loom
#

Hmm

balmy marten
#

or higher

#

or downgrade the expansion

#

But do recommend updating 🙂

plush loom
#

well thanks for that. Sorry for that uh. Random post lmfao, maybe i should read console more 😂

balmy marten
#

No worries, hope you understand now why we can't allow direct uploads 🙃 It's a pain sometimes i know

plush loom
#

eh all g

cerulean ore
#

Yo, possible to have multiple javascript placeholders in a file, instead of making a file for each placeholder?

vivid sparrow
#

no (?)

final shadow
#

Kinda

#

But they would return the value using the same placeholder

#

If (whatever)
return function1

vivid sparrow
#

Well, you can do that using arguments - my bad

cerulean ore
#

so for example, return soldier; ?

vivid sparrow
#

soldier()

final shadow
#

Yea I’ll let gabby help u

vivid sparrow
#
function main() {
  if (args.length == 0) return "";

  switch (args[0]) {
    case "soldier": return soldier();
    case "rokie": return rokie();
    default: return ""
  }
}

main();

function soldier() {
  return "Soldier";
}

function rokie() {
  return "Rokie"
}```
#

%javascript_scriptname_[argument]%

cerulean ore
#

Hmm, let me try it

vivid sparrow
#

What you have showed are just multiple if statements

cerulean ore
#

Cause what I'm trying to do is, if you have under 1 kill, you are a rookie, then when you have anywhere above 1 to 50 kills you are a soldier, and it keeps going

vivid sparrow
#
function f() {
  var kills = "%statistic_player_kills%";

  if (kills == 0) return "Rokie";
  if (kills > 0 && kills < 150) return "Soldier";

  // default value
  return "";
}

f();```
#

dont use "" for values when you want to compare numbers

#

excepting for placeholders

cerulean ore
#

Yeah ik

#

Hmm, how would I continue it?

vivid sparrow
#

which?

cerulean ore
#

Like more after Soldier

#

For example after 150 kills to 200

vivid sparrow
#

Just add more if statements

#

if (kills > 150 && kills < 200) return "New rank";

cerulean ore
#

Yeah, tried that but it returns blank, will try again

vivid sparrow
#

< - less than
> - greater than
<= - less or equal to
>= - greater or equal to
== - equal to

cerulean ore
#

Thank you, figured it out! 🙂

vivid sparrow
#

np

wary coral
#

hey, i updated luckperms and now placeholder api is not loading

#

what should i do

final shadow
#

update luckperms to the dev version as well as the expansion

wary coral
#

where i can find those links

#

i have been looking and i cant find them

#

also the same with the luckperms dev version

junior musk
#

redownload the LP expansion

wary coral
#

hey, now its working

#

thanks

carmine pelican
#

How do I get LP Expansion for Sponge ?

balmy marten
#

We don't have a sponge version of PlaceholderAPI yet, but it is in the works.

#

We're not affiliated with the current one on the sponge site.

carmine pelican
#

ow ok sorry

austere hawk
#
> [16:10:18 ERROR]: [PlaceholderAPI] net/luckperms/api/LuckPerms```
#

Why isn't LuckPerms expansion loading

brisk coral
#

?luckperms

tender vaporBOT
#
FAQ Answer:

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.

If you want to keep using v4 please download the version 4.1 of the LuckPerms expansion.

brisk coral
#

@austere hawk ^

austere hawk
#

ye I just tried that

#

still, oh hold on let me restart. I did papi reload

#

nawp

#

still

#
> [16:15:18 ERROR]: [PlaceholderAPI] net/luckperms/api/LuckPerms```
brisk coral
#

What version of luckperms are you using?

austere hawk
#

4.4.31

brisk coral
#

4.4.31??

austere hawk
#

ye

#

oh

#

i'm outdated af

#

There it works now

#

thanks, and sorry for my stupidity

brisk coral
#

No worries

cerulean ore
#

How to make this only return day? %server_countdown_dd.MM.yyyy_02.05.2020%

brisk coral
#

dd

cerulean ore
#

right now it is returning day, hour, minutes and secnds

#

%server_countdown_dd_02.05.2020% ?

#

it returns 0 when I do so

turbid tide
#

i think you have to do %server_countdown_dd_MM_02.05%

#
e.g. %server_countdown_dd.MM.yyyy_01.01.2020%
<time> is the date and time for the countdown. It needs to match the <SimpleDateTime>```
#

@cerulean ore

cerulean ore
#

Still returns 0

turbid tide
#

oh

cerulean ore
#

well rip then

turbid tide
#

i think it is made to return hours minutes and seconds whatever format you are using

#

i tried only yyyy and it works for 2021

#

but it says it in days hours minutes and seconds

#

maybe using javascript it wold be better

cerulean ore
#

Not sure how to do with javascript

turbid tide
#

@cerulean ore

#

there is one already made

#

but you will have to change it a little bit

cerulean ore
#

Ok will try

turbid tide
#

you will have to follow the instruction there

#

to add it in the first place

#

and then you will have to change it and see if it works

cerulean ore
#

Yeah

turbid tide
#

.

cerulean ore
#

Ok, so I got closer now

#

How to turn amount of days into months?

#

Instead of 3mo, 90d

warm oriole
#

it tells you lol

quick leaf
#

Hi!

#

What's wrong with it

"%animations_wave?<wave colors=\"&e,&a,&c\">Wave effect</wave>_Welcome, {player_name}!%"

?

quick leaf
#

How to set this placeholder?

meager vault
#

Hello,
I need help please :
I want to use a personal placeholder in a public GUI

I want to do a skyblock leaderboard and show the quantity of a block a player have using "%fabledskyblock_island_level_block_count_<blockType>%"
But is it only a personal placeholder, you can't use it for another player, you can only do "/papi parse XXXX %fabledskyblock_island_level_block_count_<blockType>%"
so in the gui, everybody will see the amount of block the player XXX has on his island

So I wanted to know how I can make in a deluxemenus that is parse this placeholder for someone else ?
The player name won't be fix, as it is a leader, the player_name will be determined with "%fabledskyblock_leaderboard_level_<1-10>%"

If someone can help me it would be perfect ! 😄

limber ice
#

@meager vault DM will get values for player viewing the gui

#

/papi parse <players_name> <placeholder>

meager vault
#

Yeah I know, that's why I wanted to know if it was possible to parse the placeholder for someone else in DM

limber ice
#

so you want to see others data when you open the menu

meager vault
#

yes

limber ice
#

want everyone to see it or just you

meager vault
#

but each item will shows data from different the others ( as there will be 10 people in the leaderboard )
everyone

limber ice
#

I think you might need a plugin that makes a custom leader board

#

or custom placeholders

bronze bison
#

ParseOther expansion

limber ice
#

I forgot about that, but it will not find the top

bronze bison
#

Ah yea true.

meager vault
#

Or I added a request of a plugin to completely made a new leaderboard into a .jar.. If someone is interested that's in "request-paid" ( hope I was precise in my description ), and hope i'll find someone to do it for me without beeing too expensive

bronze bison
#

Wait you get the top player from a placeholder?

meager vault
#

yes

bronze bison
#

If so, then its possible with ParseOther.

#

%parseother_{top player placeholder}_{data placeholder}%

meager vault
#

Ohh nice, I'll try to do my own leaderboard gui
And I let the request, because it also changes other little things, hope someone will be interested by doing it :p

limber ice
#

what's the command to download the parse other expansion?

bronze bison
#
/papi ecloud download ParseOther
/papi reload
limber ice
#

I would of guessed that but wanted Warn to have correct info

bronze bison
#

Wdym?

meager vault
#

I was searching on placeholder's wiki but thanks, I saved 1-2mn :p

#

he wanted to help me by directly give me the command to have the addon

limber ice
#

the command, I never used parseother that's why I don't remember about it

#

I might now since I can make my own custom leaderboards

meager vault
#

Bruhh doesn't work very well :c

#

the parsed player need to be connected, or it doesn't show anything
I think I'll have to find a dev to make the addon I requested ^^

austere hawk
#

I need help with my plugin. I'm trying to make a placeholder but it's not working

meager vault
#

tacospigot might not be supported maybe

austere hawk
#

um

#

it usually works fine

#

i registered placeholders before and it worked with this spigot

#

and here's line 52 that it's saying the error is at???:

        this.configFile = new File(this.plugin.getDataFolder(), 
#

Hey Frosty

#

help xd

#

uh mining stats

vivid sparrow
#

Like

#

What is the full code?

austere hawk
#

hold on

#

https://pastebin.com/kMPwdpmk - The error I get

What i'm trying to do: Register a placeholder.

    @Override
    public String onPlaceholderRequest(Player player, String identifier){

        Player p = (Player)player;
        UUID pn = p.getUniqueId();
        FileConfiguration c1 = OreSaver.getConfig();
        int Coal = c1.getInt("ores." + pn + ".Coal");
        
        if(player == null) {
            return "";
        }
        
        // here's what I need help with. VV
        if(identifier.equals("coal")) {
            return Integer.toString(Coal);
        }
 
        return null;
    }```
limber ice
vivid sparrow
#

Dev related problem

vague pine
#

I think the %player_health% placeholder has not been rounded yet

quick leaf
#

Can you help me?

#

What's wrong with it?
"%animations_wave?<wave colors=\"&e,&a,&c\">Wave effect</wave>_Welcome, {player_name}!%"

lucid pond
#

PlaceholderAPI is not working anymore on my servers?

vivid sparrow
#

why is that a question?

lucid pond
#

Well why isn't working

#

I didn't touch anything

vivid sparrow
#

define "not working"

lucid pond
#

It just stopped working all of the sudden

#

It shows %player_name% instead of the playername

warm topaz
#

/papi ecloud download player /papi reload?

lucid pond
#

It worked before

warm topaz
#

but its not now

lucid pond
#

That means that i already did that

warm topaz
#

do it again? it wont hurt

sage gorge
#

Why this not work?

#

i use /papi ecloud download Bungee and /papi reload but still doesn't work

turbid tide
#

Aysel_ are you sure that you are using the correct server name?

sage gorge
#

yes

vague pine
turbid tide
#

there is %player_health_rounded%

turbid tide
#

@hallow sluice do you have PlaceholdersAPI installed? If so do : "/papi ecloud download Player" and after that do "/papi reload"

#

sorry don't understand

hallow sluice
#

@turbid tide sorry d:
I tried but it didn't work

turbid tide
#

ohhh

#

it is %player_name%

#

that is why none of them work

#

here is a list with all of the placeholders:

hallow sluice
#

it worked

#

thank you

rapid sundial
#

Hey.. is there a way to get rid of the seconds in this papi countdown? %server_countdown_dd.MM.yyyy_31.01.2020%

#

output is 5d 1h 29m 21s

vivid sparrow
#

Because the format is incorrect, that's the default format (d h m s)

#

I think at least

rapid sundial
#

Can you help me with getting a other format?

#

already looked into it but im too dumb for that

turbid tide
#

I don't think you can remove the minutes and seconds.

#

but you can use a custom javascript placeholder

#

but it will work with months and days not only days