#placeholder-api

1 messages ยท Page 109 of 1

mellow skiff
#

yo

mint fable
#

Can you send your config over

#

For JavaScript

mellow skiff
#

sure sure

#

Do you want the actual scripts?

#

Turning on the debug mode of Javascript and PAPI doesnt show up any extra information :c

tidal geode
#

Do somebody have same issues like us, when server is restarted, some plugins don't have registered placeholders, is that issue from plugin or it is PAPI issue?

sharp jay
#

@tidal geode Plugin

tidal geode
#

And do you know how to fix that? I want to tell it to my developer

brisk coral
#

If it's an internal placeholder, it'll be hard unless you got source, otherwise you need the set the persist() method to true within the placeholder class

turbid tide
#

so anyone has any idea? xD

lyric lion
#

Hey. Does progressbar works with double values? /papi parse me %progress_bar_{prisonranksx_nextprestige_cost}%

#

It' just say "Completed", but this isn't true

turbid tide
#

nope I don't think so

#

wait

#

actually

#

yeah

#

its suppose to have 2 values not 1 xD

lyric lion
#

._.

turbid tide
#

%progress_bar_{placeholder}_c:&aโ– _p:&eโ– _r:&7โ– _l:10_m:100_fullbar:&aCompleted!%

#

here

#

you can learn what every letter in there means

#

at that linjk

#

link(

lyric lion
#

Meh.. I still doesn't understand ๐Ÿ˜„

turbid tide
#

%progress_bar_{vault_eco_balance_fixed}_c:&aโ– _p:&eโ– _r:&7โ– _l:10_m:{prisonranksx_nextprestige_cost}_fullbar:&aCompleted!%

#

here you go

lyric lion
#

Doesn't work

#

NumberFormatException

turbid tide
#

what does /papi parse me %prisonranksx_nextprestige_cost% return?

lyric lion
#

15000.0

turbid tide
#

yeah that will be a problem

meager nymph
#

We can use mine?

#

Oh wait

#

Prisonranks doesn't have a prestige placeholder for each one

lyric lion
#

%prisonranksx_prestige_cost_<prestige>%

meager nymph
#

Is that placeholder on

#

The spigot of prisonranks?

mint fable
#

use the formatter placeholder

meager nymph
#

Update the prisonrankxs placeholders on the website?

mint fable
#

i think that'll work right?

meager nymph
#

Wait i can help him

#

I think

mint fable
#

oh that's time

#

i thought we had a number one

meager nymph
#

@lyric lion are you okay with changing it manually?

mint fable
#

no it's not time

#

^^^

lyric lion
#

Nope

meager nymph
#

nope ?

#

%progress_bar_{vault_eco_balance_fixed}_c:&a:_p:&e:_r:&7:_l:10_m:(price)_fullbar:&a&lCOMPLETED%

credits go to blitz tho

turbid tide
#

wait but that works?

#

oh

#

I see

#

100000

meager nymph
#

yea i learned it from you xd

turbid tide
#

I thought of something else

#

when I saw (price)

#

I thought you made a javascript

meager nymph
#

that didnt work

turbid tide
#

but yeah that is 1 way of doing it

#

yeah I know

meager nymph
#

that was for the precentage

turbid tide
#

that is why I was confused xD

meager nymph
#

when it got over 100%

#

xd

lyric lion
#

Sorry, I was AFK and now I'm here.

#

What is the (price)?

turbid tide
#

you just put the price of each rank instead of that

#

%progress_bar_{vault_eco_balance_fixed}_c:&a:_p:&e:_r:&7:_l:10_m:1000000_fullbar:&a&lCOMPLETED% for example

lyric lion
#

I'm using it in DM. So, now I need to create 100 DM "pages" ๐Ÿ˜„

turbid tide
#

why?

lyric lion
#

Price of every rank increasing (I don't know how to translate this.. Meh)

turbid tide
#

changing?

#

the price is different right?

#

or it increases when you prestige?

lyric lion
#

1 prestige - 5k, 2 prestige - 10k

turbid tide
#

no

#

oh I see

#

yeah that won't be good

#

maybe try and contact the author of the plugin to see if he can change the placeholder to return xxxx instead of xxxx.x

#

or add a placeholder that does that

meager nymph
#

ooh yea

#

the prices change rip

lyric lion
#

Yea. I'm try to contact with author of plugin

#

Thanks :3

meager nymph
#

oof

#

how to fix that tho ...?

#

didn't think that one through

meager nymph
#

I tried everything

#

but it just gives errors

#

isn't this fixable with javascripts ?

glacial cypress
#

how would i go about updating a scoreboard i made every so often with the placeholder?

#

I know the placeholder works (i tested with manual parsing)

#

and the scoreboard is created internally (i dont use an external plugin for the scoreboard)

glacial cypress
#

Nevermind, I decided to use teams for updating my scoreboard

#

I didn't want to adjust my method at first but after doing so it's much easier..

meager nymph
#

Blitz

#

We can try to do it like the precentage thing

unborn smelt
#

Again, I am having issues. I have to do /papi ecloud download server and then /papi reload every time the server is restarted.
It stops working when i restart, and plugins cannot detect it.

west void
#

How do I get placeholders from one Bungeecord Subserver to the other?

trim mist
#

Keep in mind we don't support that and will most likely not fix anything that this 3rd party add-on breaks.

west void
#

is there any other way? It's not my server, so I really don't want to pay for the plugins, lol

tender vaporBOT
#

@unborn smelt,

Hey!

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

mint fable
#

y

unborn smelt
#

I have to redownload Papi placeholder after every restart. Any ideas?

#

They go away

mint fable
#

?startuplog

tender vaporBOT
#
FAQ Answer:

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

mint fable
#

at least give us information

#

and, as barry said, don't randomly ping

heady urchin
#

Is anyone able to help me with purchasing items using a custom economy

mint fable
#

does the economy use vault

heady urchin
#

no

#

its mobcoins

#

lemme show u

mint fable
#

does it have placeholders

heady urchin
#

It has %mobcoins_balance%

#

but

#

its formatted

mint fable
#

okay

heady urchin
#

so if player has 1mil

#

its 1,000,000

mint fable
#

does it have raw?

heady urchin
#

Not that im aware of

mint fable
#

javascript then

#

?list

tender vaporBOT
#
Available FAQ Answers:

autosellapi, codeblocks, colors, customheads, deluxemenusglow, dictionary, discorddev, dm-builds, dm-update, docs, dry, ecloudblock, enchants, entities, external-menus, help, hidden-roles, hosting, imgur, item-data, javadocs, js-factionname, js-tag, json, luckperms, materials, nojquery, notowner, optimize, papibot, particles, paste, placeholders, player, plsnoarrowcode, requirements, roleperks, site, solid, sounds, spigot, spigotid, startuplog, tagess, tryandsee, welcome-screen, yaml

heady urchin
#

I've never used javascript in my life lol

tender vaporBOT
#
Placeholderapi
Useful Links & Information:

A resource that allows information from your favorite plugins be shown practically anywhere!
โ€ข Spigot
โ€ข Wiki
โ€ข Placeholder-List
โ€ข GitHub
โ€ข eCloud

heady urchin
#

How would I go about it

#

Never used javascript before, literally no idea where to start

#

@mint fable ?

mint fable
#

uh

#

trying to find the link

heady urchin
#

I found the example ones

mint fable
heady urchin
#

But they don't have what I need

mint fable
#

just google exactly what you want to do

heady urchin
#

So I need to learn javascript?

mint fable
#

javascript remove commas from numbers

heady urchin
#

Can u make it?

#

ill pay

mint fable
#
var a='1,125';
a=a.replace(/\,/g,''); // 1125, but a string, so convert it to number
a=parseInt(a,10);```
#

it's made already

heady urchin
#

I dont get it

mint fable
#

no need to pay

heady urchin
#

I just paste that in?

#

and it works

mint fable
#

ish

#

follow the wiki it's decent

heady urchin
#

Where do i put the mobcoins placeholder

mint fable
#

a

#

that's what you want to replace

heady urchin
#

so

mint fable
#

so put the placeholder there

heady urchin
#
a=a.replace(/\,/g,'');
a=parseInt(a,10);```
mint fable
#

yep

heady urchin
#

that will just remove the commas?

mint fable
#

should do

heady urchin
#

ok ill try it 1sec

mint fable
#

not sure if you need to put it in a function or not, but try it

heady urchin
#

ok now it has a .0 at the end

mint fable
#

did it have that before

heady urchin
#

no

#

I have no clue what that means

mint fable
#

nah

heady urchin
#

oh wait

#

it says use parseFloat

#

i change it to that and its still doing the same

#

any idea how to fix

mint fable
#

no no

#

don't do that

#

parseInt should be working fine

heady urchin
#

it does same thing

mint fable
#

can you type /papi parse me %mobcoins_balance% for me

#

and send a ss of it

heady urchin
#

i mean

mint fable
#

so

heady urchin
#

will it still work with the .0 on the end

mint fable
#

i don't get it

heady urchin
#

cause its a number now

mint fable
#

because

#

testing it here

#

it works fine

heady urchin
#

๐Ÿคทโ€โ™‚๏ธ

mint fable
#

can you send me your entire js file?

#

=paste

tender vaporBOT
#
HelpChat Paste

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

heady urchin
#

its literally just var a='%mobcoins_balance%'; a=a.replace(/\,/g,''); a=parseInt(a,10);

mint fable
#

you don't even return anything?

heady urchin
#

no

#

?

mint fable
#

did you follow the wiki

heady urchin
#

u said paste it in

#

so i did

mint fable
#

and I said follow the wiki

heady urchin
#

and it returns 1000000.0

mint fable
#

you might have to put it in a function

heady urchin
#

it should work with the decimal tho?

mint fable
#

it shouldn't be giving a decimal

#

I don't even know how you're getting a value tbh

heady urchin
#

its just gotta check if %javascript_mobcoinsraw% is greater than or equal to 5000

#

and %javascript_mobcoinsraw% still returns a number but just with a decimal

mint fable
#

it might work

#

but you should really make the function

#

and return a value

heady urchin
#

Ill try it

#

this is how it should be setup?

#
      requirements:
        mobcoins:
          type: '>='
          input: '%javascript_mobcoinsraw%'
          output: '5000'```
mint fable
#

looks right

heady urchin
#

do ops bypass requirements

mint fable
#

i don't think so

#

=wiki deluxemenus bypass

tender vaporBOT
mint fable
#

only open requirements

heady urchin
#

kk

#

Caused by: org.yaml.snakeyaml.error.YAMLException: A simple key is required only if it is the first token in the current line

#

What have i done wrong

mint fable
#

send your menu

#

woah

#

=paste

tender vaporBOT
#
HelpChat Paste

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

#
๐Ÿ“‹ Your paste, Ewan
https://paste.helpch.at/qudujijobu

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

mint fable
#

you forgot a '

#

after [close]

heady urchin
#

oh ye ty

#

Okay

#

its not working

#

I'll try putting a function thing

#

how do i do that

#
var a='%mobcoins_balance%';
a=a.replace(/\,/g,'');
a=parseInt(a,10);
}

mobcoinsraw();```
#

that right?

mint fable
#

you have to return it

#

so you can just return parseInt(a, 10)

heady urchin
#

nvm im a genius

#
          expression: '%javascript_mobcoinsraw% >= 5000'```
#

That works

mint fable
#

nice

heady urchin
#

ty for help

#

ok new thing

#

I need to view reqiurement to find out if %superior_island_leader% has a permission

warm topaz
#

make 2 requirements. one to check if player is leader, second to check for permission

heady urchin
#

I want all island members to be able to open the gui

#

so it would need to check if a different player from the one that opened the GUI has the permission

#

is that possible?

warm topaz
#

parse other expansion?

heady urchin
#

idk what u mean by that

#

If i parsed it it would be /papi parse %superior_island_leader% %luckperms_has_permission_spawnerlevels.2%

#

smth like that?

#

im confused lol

warm topaz
heady urchin
#

didnt know that was a thing ty

#

so it would be %parseother_superior_island_leader_{luckperms_has_permission_spawnerlevels.2}%

#

?

warm topaz
#

?tryandsee

tender vaporBOT
heady urchin
#

/parse me %parseother_superior_island_leader_luckperms_has_permission_spawnerlevels.2%

#

tried that

mint fable
#

you didn't follow the format correctly

heady urchin
#

ik i forgot to remove { and }

mint fable
#

...

#

who said remove it

heady urchin
#

this is the placeholder right?

#

%parseother_{superior_island_leader}_{luckperms_has_permission_spawnerlevels.2}%

mint fable
#

no

#

you don't remove the {}

heady urchin
#

like that?

mint fable
#

yes

heady urchin
#

ty

mint fable
#

also why ask when you can try?

#

running /papi parse is faster than waiting for a response

heady urchin
#

๐Ÿคทโ€โ™‚๏ธ

#

Just happens

rapid sundial
#

Hey.. Is it possible to get the motd of a server which is running on 127.0.0.1?

hollow fox
#

for deluxemenus what is format for heads as the material in 1.15.2

jade flume
#

Hey.. Is it possible to get the motd of a server which is running on 127.0.0.1?
@rapid sundial it must be working even on the ip "0"

turbid tide
#

@hollow fox

#

?customheads

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) EpicHeads material: heads-<id>:
- Require https://www.spigotmc.org/resources/13402/
e) HeadDatabase material: hdb-<id>:
- Require https://www.spigotmc.org/resources/14280/

neat gulch
#

Hello,

None of my placeholders are working. Ive checked the wiki and ALL placeholders are correct. I have MVDWPlaceholders as well as Placeholderapi.

Any fixes?

brisk coral
#

Do you have the required expansions?

turbid tide
#

have you downloaded the correct expansions?

neat gulch
#

Do you have the required expansions?
@brisk coral Like what?

tender vaporBOT
#

@neat gulch,

Hey!

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

neat gulch
#

oops

brisk coral
#

ie. If you're using a placeholder which has the player identifier (first string), you need the player expansion which you can download with
/papi ecloud download player
/papi reload

neat gulch
#

It's still not working

brisk coral
#

Where are you trying to use them?

neat gulch
#

On a scoreboard

brisk coral
#

Featherboard?

neat gulch
#

SimpleScore :)

brisk coral
#

Does it support papi?

#

(do /papi parse me %placeholder%, and see if it returns the correct value)

neat gulch
#

Pretty sure. I also tried a different one that said papi was a dependency and it didnt work either

#

okay

#

It said %placeholder% in chat

brisk coral
#

Use the placeholder you were trying.. not %placeholder%..

neat gulch
#

It worked in chat

#

When I do any VAULT ones, it doesnt

#

I used %Player_name% and it worked.

brisk coral
#

Download the vault expansion

neat gulch
#

Nope, %vault_eco_Balance% doesnt work.

brisk coral
#

You ran both commands correct?

neat gulch
#

Yes

#

Oh. Never mind. Got it!

#

Thank you so much!

sage river
#

is there a placeholder to signify if it is sun/rain/thunder in the world?

#

also is there a way to display money as $1,000,000,000 instead of 1000000000?

balmy marten
#

%vault_eco_balance_commas%

sage river
#

ah thank you, i was looking at the wiki page and it only had 3 entries

balmy marten
#

Which wiki page?

sage river
#

the first one that comes up in google for "placeholderapi vault money"

balmy marten
#

I see, that's the old wiki

#

I'll see if I can get it removed, cause it's full of wrong info

sage river
#

if not may be worth adding something to the top of PlaceholderAPI plugin placeholders page 1 too (because that message is only visible if you go to the wiki main page if you can't get removed

balmy marten
#

Yeah if I can't i'll just remove all the placeholders and have a message to the real one

meager nymph
#

Funny some placeholders need an uodate on the website

balmy marten
#

There's an issue template you can use to let us know

meager nymph
#

What do you mean

balmy marten
meager nymph
#

Aah

#

Okey thanks

sage river
#

Anyone know how %formatter_<options>% works? I'm trying /papi parse me %formatter_format:(#,###.#)_value:(%vault_eco_balance%)% as well as %formatter_format:(#,###.#)_value:(1234.5)% but not having any luck

junior musk
#

Hey, using the Javascript expansion, how can you parse a placeholder, with a variable inside of it ? or is it even possible?

#

because everytime I tried, it just returned the placeholder unparsed =/

brisk coral
#

@junior musk you can get the papi instance

#

And parse it using papi.parsePlaceholders(player, string);

junior musk
#

ooh nice, thanks !

final shadow
#

papi.setPlaceholders

brisk coral
#

smh clip

final shadow
#

What

junior musk
#

welp, I just realized idk how to get the papi instance x)

#

I'm not good enough with js for that =/

lyric lion
#

Yea. I'm try to contact with author of plugin
If someone need it (plugin was updated):

%prisonranksx_rankup_cost_integer%
%prisonranksx_rankup_cost_integer_plain%
%prisonranksx_nextprestige_cost_plain%
%prisonranksx_nextprestige_cost_integer%
%prisonranksx_nextprestige_cost_integer_plain%
%prisonranksx_nextrebirth_cost_plain%
%prisonranksx_nextrebirth_cost_integer%
%prisonranksx_nextrebirth_cost_integer_plain%```

https://discordapp.com/channels/164280494874165248/573429521554866178/722179677766287404
heady falcon
#

Might make an expansion

#

Registers papi through the services manager

brisk coral
#

PlaceholderAPI.instance;

#

or smth like that @junior musk

junior musk
#

oki

#

thanks

meager nymph
#

@lyric lion I did to.

and contacted him again. to make these for per rank

#

but he doesn't answer that fast

#

maybe something is possiable with javascript I don't know

#

Blitzz

#

if you see this

#

so the prisonranksx author added some placeholders and half listend to my request.

He added these placeholders:

%prisonranksx_rankup_cost_plain%
%prisonranksx_rankup_cost_integer%
%prisonranksx_rankup_cost_integer_plain%
%prisonranksx_nextprestige_cost_plain%
%prisonranksx_nextprestige_cost_integer%
%prisonranksx_nextprestige_cost_integer_plain%
%prisonranksx_nextrebirth_cost_plain%
%prisonranksx_nextrebirth_cost_integer%
%prisonranksx_nextrebirth_cost_integer_plain%

I don't know if it's possible to do something with these with javascript or something.

lyric lion
#

%progress_bar_{vault_eco_balance_fixed}_m:{prisonranksx_nextprestige_cost_integer}%

#

Now it would looks like this, I think

meager nymph
#

but if you do this for the rest of them

#

it's only going to work for thier next prestige

lyric lion
#

Yeah, but this is that I need for now.

meager nymph
#

ooh

lyric lion
meager nymph
#

i thought you wanted like a whole menu for all the prestiges

#

aah

#

you got lucky xd

lyric lion
#

๐Ÿ˜„

meager nymph
#

goodluck

#

further

junior musk
#

Heeeey Frostyyyy, I have to really suck because I don't know how to make it work x)

vivid sparrow
#

sup

junior musk
#

yo

#

so, I was trying to parse this thing

function test() {
    return '%'+'listplayers_with_perm_'+args[0]+'%');
}
test() 

and then Frosty told me to get the PAPI instance and then use papi.setPlaceholders
, but since I'm stupid idk how to add them here x)

vivid sparrow
#

return PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "placeholder");

junior musk
#

๐Ÿ‘€

#

thank you all Frosty, clip and Gaby :p

vivid sparrow
#
function list() {
    var players = [];
    var online = BukkitServer.getOnlinePlayers();

    for (var i = 0; i < online.length; i++) {
        var player = online[i];

        if (player.hasPermission(args[0])) {
            players.push(player);
        }
    }

    return players.join(", ");
}

list();```
This might work
junior musk
#

ooooh

#

I didn't know how to do it for permissions and worlds so I was thinking of using the ListPlayers placeholders x)

#

but yeah if that works like that, then yeah x)

vivid sparrow
#

do you want it per world too?

junior musk
#

I'll try to find out myself, but thanks ๐Ÿ™‚

#

and what you did works, thanks ๐Ÿ™‚

west void
#

can you store the placeholders in a MySQL Database?

turbid tide
#

I don't think you can. I might be wrong tho

sage river
#

Anyone know how %formatter_<options>% works? I'm trying %formatter_format:(#,###.#)_value:(%vault_eco_balance%)%

warm topaz
#

did u download the expansion?

sage river
#

Yes

#

I've taken it down to the basics, %formatter_value:(20)% works

#

%formatter_value:({%vault_eco_balance%})% doesnt work - and thew wiki says "<value> can either be a full number or a placeholder using {} ({placeholder})."

warm topaz
#

oh right

sage river
#

i've also tried without the inner %s

warm topaz
#

%formatter_value:({vault_eco_balance})% id imagine that should work

#

with the format ###.# or whatever

sage river
#

It just comes up with 'No number or placeholder provided' unfortunately, however including the inner % it actually displays 'No number or placeholder provided!vault_eco_balance%})%' with the last part appended to the error message weirdly

warm topaz
#

it would do that if u have the % symbols around vault placeholder

#

remove them

sage river
#

ah ok

#

It sounds stupid but typing in 1234.5 manually doesn't work - it might be that the placeholder doesnt support decimals

#

Unless there is an easier way to do this, I want to have all numbers under 10,000 display as #,###.# (0 would display as 0.0, 4 would display as 4.0, 1,237.2 would display as 1,237.2) and then all numbers 10,000 and above be ###,###,###,###,..... etc

turbid tide
#

yeah

#

use %vault_eco_balance_fixed%

sage river
#

The issue with that is it cuts off the decimals no?

#

and doesn't include commas?

unborn smelt
#

Hello?

#

@mint fable What other information to give? There is no error message?
Plugins:

tender vaporBOT
#

@unborn smelt,

Hey!

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

unborn smelt
#

Again, upon restart with the newest PAPI, it resets every time I restart the server or edit the config of another plugin that uses PAPI, and I have to redownload and reload the plugin.

turbid tide
#

why do you have to redownload? can you restart the server and send a startup log?

#

?startuplog

tender vaporBOT
#
FAQ Answer:

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

austere hawk
#

can I use Statistic on 1.15.2 server?

turbid tide
#

yeah

austere hawk
#

how?

turbid tide
#
/papi ecloud download Statistic
/papi reload```
austere hawk
#

download it

#

Yeah I got confused lol

#

btw where is this stats data is stored ?

turbid tide
#

the world files

brisk coral
#

.stats file

austere hawk
#

ohh

turbid tide
#

its not stored by papi

austere hawk
#

noice

turbid tide
#

PAPI just displays data that its given to it

austere hawk
#

thx

#

ok

cunning elk
#

Is there a placeholder to center a text?

#

I know there is to keep it to the right and left

#

but is there one to center?

brisk coral
#

Not really, since you'd need to specify the amount of pixels the chat size is

cunning elk
#

It'd be a hover text in the chat

#

let me show you, maybe you know how I couldnt center this better

#

it will be centered because I made the spaces perfect for my nickname

#

but people with shorter/longer names will not have it centered

#

not as perfect

#

I'd like to center players names

turbid tide
#

as forsty said before

#

there isn't rly a way

#

to do that

junior musk
#

as forsty said before
๐Ÿ‘€

turbid tide
#

because it will look different from each screen to another

junior musk
#

poor Frosty

#

F

cunning elk
#

okay

#

thank you tho!

wispy dove
#

Hello !
Did you know an extension/solution/plugin to make a leaderboard which takes into account the time arleady played of player and the futur time played with the plugins Hologram displays ?

turbid tide
#

LeaderHeads (plugin) + Statistic(papi expansion)

#

also you'll need HolographicExtension(plugin) for placeholders to work with HolographicDisplay

wispy dove
#

Thank you !

idle hull
#

struggling with the math placeholder

%math_50[prc]*{ezrankspro_cost}[precision:2]%

gives the error:
[19:53:38 INFO]: The provided value was invalid!
Reason: Unknown unary operator '*' at position 4

#

%ezrankspro_cost% gives the number 100000.00

turbid tide
#

what is that suppose to do ? 50%*cost

#

?

idle hull
#

Yes

turbid tide
#

how do you multiply and get the rest in the same operation?

idle hull
#

wdym

turbid tide
#

50%NUMBER returns the rest from 50/number

#

but you have %*

#

2 operations

idle hull
#

50% should equal 0.5, no?

turbid tide
#

nope

#

50[prc]10

idle hull
#

oh

#

that operation

turbid tide
#

actually

#

nope

idle hull
#

so it's the coding operation

turbid tide
#

that won't return 0.5 either

idle hull
#

not the real life operation

#

makes sense

turbid tide
#

yeah

unborn smelt
#

@turbid tide That's the confusion. There is nothing appearing in logs, I have already had it checked. It literally requires a reload after every edit of configs of other plugins with a placeholder in them. Is there any solution to this so I don't have to re-download placeholders and/or reload papi everytime I modify a config that has it like Chat Manager? It's like is never existed, but no appearance in logs. Nada.

tender vaporBOT
#

@unborn smelt,

Hey!

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

#

@unborn smelt,

Hey!

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

mint fable
#

Alright

#

Walrus

#

I'm on

#

@unborn smelt Send your startup log

unborn smelt
#

one sec

mint fable
#

And can you re-state your issue for me? I've forgotten since I was pinged

#

is it having to redownload every startup?

unborn smelt
#

Sorry for the ping also, but I thought it would be hard to follow. It's not every startup, it is on startup after I edit the config file of another plugin

#

That has a placeholder

mint fable
#

send the startup log of you doing that then

unborn smelt
#

ok I will try to replicate again

mint fable
#

Also, do you have to re-download or reload?

unborn smelt
#

Currently I have tested redownloading, but I will test just reloading this time. If it's just reloading is it an easy fix?

mint fable
#

We'll cross that bridge when we get to it.

unborn smelt
#

it doesn't let me send files

mint fable
#

?startuplog

tender vaporBOT
#
FAQ Answer:

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

mint fable
#

that's the 3rd time we've sent that btw ^

unborn smelt
#

How do I pastebin .log.gz

#

Is why I don't know how to do pastebin for it

#

?paste

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
โ€ข HelpChat - Usage
โ€ข Hastebin

mint fable
#

.gz is a compressed file

#

Isn't it?

unborn smelt
#

I'd assume so, but it is just gibberish

mint fable
#

So I think you have to open it and extract the log first?

#

with a program that can open .gz files

unborn smelt
#

Well anyway, can confirm that it is not just when reloading the plugin.

mint fable
#

What?

unborn smelt
#

The file is too big it says

mint fable
#

what says

unborn smelt
#

hastebin

#

and pastebin

mint fable
#

what are you coping

#

did you extract the log

#

are you trying to copy the gibberish??

unborn smelt
#

log

mint fable
#

would you like to elaborate

unborn smelt
#

It says it is too big

mint fable
#

Did you extract the log?

unborn smelt
#

yes

#

It's over 500kb it sayw

mint fable
#

uh

#

did you restart the server?

#

the log shouldn't be that big

#

do you not have a latest.log file?

unborn smelt
#

it's 5400 lines long

mint fable
#

only 5400?

#

there is no limit on the paste website iirc

#

=paste

tender vaporBOT
#
HelpChat Paste

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

mint fable
#

it should paste fine

jade flume
#

How can i update thag to the new api

unborn smelt
#

It doesn't it's too big

jade flume
#

Lol

#

Now

#

?

#

How can i turn that into the new api

#

?

mint fable
#

walrus are you on our paste site?

jade flume
#

Ignored 100%

mint fable
#

actually

jade flume
#

Yes

mint fable
#

I have your link pulled up right now

#

but I can continue to ignore you if you'd like

jade flume
#

Lol

#

Sorry

mint fable
#

Sorry that I don't have an immediate response

#

you need to have patience

#

that's the new format

jade flume
#

I was kidding man :( that is back to u also if u want to ignore lol

mint fable
#

so you can follow that and transfer what you need

#

you come in here, spam down 5 lines and expect an immediate response

jade flume
#

Do u know how to be jk?

#

.___.

austere hawk
#

Hey isn't there more stats like blocks placed and stuff in Statistics placeholders?

#

those look pretty limited

keen crown
#

Hey

#

this keeps happening

balmy marten
turbid tide
#

Hey isn't there more stats like blocks placed and stuff in Statistics placeholders?
@austere hawk there are. Where did you see the list of placeholders?

echo knoll
#

Out of curiosity is there a placeholder to list all online players names? Cant seem to find any anywhere under player or server

turbid tide
#

you can use javascript

#

or the listplayer expansion

echo knoll
#

Oh I see

#

It's under a different expansion

#

Thank you <3

junior musk
#

Out of curiosity is there a placeholder to list all online players names? Cant seem to find any anywhere under player or server
I just did a js script yesterday :)

turbid tide
#

shh xD

echo knoll
#

Lmao

#

Obviously it's a quite common question lmao

vivid sparrow
#

Oh tang

junior musk
#

99.99โ‚ฌ the part of code

#

x)

vivid sparrow
#

players.push(player.getName()) xd

junior musk
#

I think I'm really a noob in js cuz I don't get it x)

#

Ash, do you want it?

echo knoll
#

Nah it's alright just seen mvdw has it already

#

And conveniently my chat runs off that mainly

junior musk
#

ok

echo knoll
#

But its mainly for discord lmao I am putting in a command to list all the online players

junior musk
#

ah x)

vivid sparrow
#

I mean, the code I gave you was adding the entire player object to the list, not only their name

junior musk
#

gennerally, MC to Discord plugins have a /list command

echo knoll
#

But thanks for asking anyway

vivid sparrow
#

change players.push(player) with that

junior musk
#

I mean, the code I gave you was adding the entire player object to the list, not only their name
ah yeah

echo knoll
#

Its uh the bot I am simply adding a new command for

!online to list all the online players when used

junior musk
#

I understood a part of it, and saw you added it to the list, but didn't fully understood x)

vivid sparrow
#

what are you using for that, ash?

echo knoll
#

Discord srv

turbid tide
#

DiscordSRV I assume

#

yep

echo knoll
#

Lmao

austere hawk
#

I cant get placeholder to work for somethings

#

anyone able to help?

turbid tide
#

what placeholder?

austere hawk
#

factions uuid

turbid tide
austere hawk
#

ooooh i was using the wrong category

#

thanks for the help

turbid tide
#

๐Ÿ‘

austere hawk
#

how do i get things like a players rank and balance to show?

turbid tide
#

where are you trying to use the placeholders? in other plugins?

austere hawk
#

still for scoreboard

turbid tide
#

then you have to go down on that page

#

oh wait

#

nvm

#

%vault_prefix% and %vault_eco_balance_fixed%

#

you need the vault expansion

#
/papi ecloud download Vault
/papi reload```
austere hawk
#

okay ty

#

the ranks wont show

#

it does that

turbid tide
#

what does /papi parse me %vault_prefix% show in chat?

austere hawk
#

wait

#

is it cause im using pex?

turbid tide
#

then probably you have hit the character limit

#

no pex doesn't have anything to do with it

#

the placeholder clearly works

#

the scoreboard is at fault

#

well not the plugin itself but the limit from minecraft

#

can you go into the scoreboard config and paste the entire row?

#

that the %vault_prefix% placeholder is in?

austere hawk
#

i chaged it from player rank

#

i think it has soemthing to do with the plugn

#

thanks for your help tho

glad prawn
#

i don't has any premium support channels after linking my spigot page. What have I done wrong?

balmy marten
#

Depends on what plugins you bought and when

glad prawn
#

DeluxeChat. At ~ 1 pm

#

today*

balmy marten
#

When was 1pm?

#

Timezones are a thing ๐Ÿ˜‰

glad prawn
#

GMT +3
today
13:23

Sorry

balmy marten
#

=check @glad prawn

tender vaporBOT
#
Forced Spigot Purchases Check!

Successfully checked that user for new purchases!

glad prawn
#

oh, now i got it

balmy marten
#

Awesome

shrewd salmon
#

can someone help me? i want to make a leaderboard for who has the most money using papi and holographicdisplays, but all that happens is this

#

wait i cant post pictures

#

uhh

turbid tide
#

?IMGUR

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.

turbid tide
#

also you need HolographicExtension

#

as well

shrewd salmon
#

ohh

turbid tide
#

for placeholders to work in HD

shrewd salmon
#

thanks i diddnt have that

#

uh

#

i added it nothing changed..

turbid tide
#

can you send a photo?

#

?imgur

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.

shrewd salmon
turbid tide
#

have you downloaded the Vault expansion?

#
/papi ecloud download Vault
/papi reload```
shrewd salmon
#

did that nothing changed

turbid tide
#

what does /papi parse me %vault_eco_balance% return?

shrewd salmon
#

9.9999899E7

#

wait a second im soo stupid

#

i diddnt specify a user

#

i probably need to do that..

turbid tide
#

you want to do a top right?

shrewd salmon
#

yeah

turbid tide
#
%vault_eco_top_balance_formatted_#%
%vault_eco_top_player_#%```
#

use these 2 placeholders

#

change # to the top number

#

you want to get

#

the fist placeholder returns the balance

#

and the second one returns the name

shrewd salmon
#

uhh

turbid tide
#

have you restarted after you have added HolographicExtension?

shrewd salmon
#

yes

turbid tide
#

not reload. restart

shrewd salmon
#

yeah i did restart

#

ill do it again tho

#

just to make sure

heady falcon
#

Did you install protocol lib

turbid tide
#

oh that too xD

shrewd salmon
#

no, should i do that?

turbid tide
#

I always forget about that one

#

yeah

#

for HE to work

#

you need ProtocolLib

shrewd salmon
#

ok

#

yay it works

#

allthough, it says Hepno - 100M, can i make it say the exact number?

turbid tide
#

yeah

shrewd salmon
#

how?

turbid tide
#

%vault_eco_top_balance_fixed_#%

shrewd salmon
#

thanks!

#

oh btw, how long will it take for it to update?

turbid tide
#

you'll have to add a refresh inteval

#

on each line

shrewd salmon
#

how do i do that?

turbid tide
#
{fastest} - 0.1 seconds.
{fast} - 0.5 seconds
{medium} - 1 seconds
{slow} - 5 seconds
{slowest} - 10 seconds.
#

add one of these on each line

#

at the begging

#

so for example {slow}%vault_eco_top_balance_fixed_1%

shrewd salmon
#

ok

#

ty

#

do theese lag the server?

#

or will it make no diffirence

#

uh

#

i did that now nothing apeers

#

nvm, im just stupid

#

but do they make the server lag at all?

turbid tide
#

well if you have a lot of them like hundreds and all on fastest it might but if you have like 20 or something not

#

and also I recommend the slow or slowest

#

for this

#

you don't need it to check every 0.1 seconds

#

or second

shrewd salmon
#

yeah i have slow, and theres only 10

turbid tide
#

well depending on the hardware you could have hundreds of them and still not lag

shrewd salmon
#

i got 2gb ram soo

keen crown
turbid tide
#

you are using quite an old version

#

of PAPI

#

I recommend updating and seeing if the error will remain

keen crown
#

yep

#

Iโ€™ll do that so

woeful vapor
#

hey guys im wondering if this tag is still a valid placeholder, i tried to use it but it doesnt seem to be returning the proper results:
%denizen_<denizen-tag>% (EX: %denizen_<player.flag[MyFlag]>% )

turbid tide
#

It is still a thing on the wiki. not sure its still a ting in the plugin

woeful vapor
#

is there any way to check? or if i wanted to request it to be added back, would I do that here, or ask the denizen guys?

turbid tide
#

maybe ask the denizen developers

woeful vapor
#

sounds good thank you

indigo lichen
#

Hello, %rel_factionsuuid_relation% don't work... but I installed faction extention

#

I use NameTagEdit

#

can someone help me pls

keen cape
#

Trying to get a placeholder on a hologram. The result is just {player} being displayed. I have protocol lib installed and my server is 1.8.9

mossy nacelle
#

%redisbungee_total% returns 0 for me

turbid tide
#

Trying to get a placeholder on a hologram. The result is just {player} being displayed. I have protocol lib installed and my server is 1.8.9
@keen cape You can use HolographicExtension HolographicDisplay and ProtocolLib and use %player_name%

#

also you need PlaceholderAPI and the Player expansion /papi ecloud download Player /papi reload

#

%redisbungee_total% returns 0 for me
@mossy nacelle Do you have PlaceholderAPI on all your server and also the RedisBungee expansions on all of them?

#

Hello, %rel_factionsuuid_relation% don't work... but I installed faction extention
@indigo lichen What does /papi parse me %rel_factionsuuid_relation%TEST return?

scenic ingot
#

Is there any placeholder with teams, members of team and money on right? I mean (Team) (members)(totalmoneyteam) .
I want it to appear automatically on TAB when I created a team. Somebody can do that? I am bad with making placeholders

wispy dove
#

Hey, I want ton prompt a scoreboard value in my tablist with the plugin Tab. To do this, I installed the Placeholder "ScoreboardObjectives" (https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#scoreboardobjectives)
But I have a problem, the name of my scoreboard is : bac_advancements and in the syntax of the placeholder : %objective_score_<obj-name>%, if there is another "" it take the following characteres like a pseudo a no for the name of the scoreboard like this syntax say it : %objective_score<obj-name>_[otherEntry]%
Have you an idea of how say to the placeholder consider bac_advancements like a scoreboard name and not the scoreboard bac with the player advancements ?
And I can't and dont want to change the name of the scoreboard ^^

indigo lichen
#

@turbid tide Hello, thanks a lot for your answer, when I type this command in chat :

tender vaporBOT
#

@indigo lichen,

Hey!

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

indigo lichen
#

%rel_factionsuuid_relation%TEST

turbid tide
#

it just returns that?

indigo lichen
#

yes

#

It's in 1.8.8

#

idk if it's the problem...

turbid tide
#

I don't think that should be a problem

indigo lichen
#

What do I need to do ?

clear dust
#

so theres no way to find out what placeholders a plugins registring with an internal hook?

#

kind of frustrating when the plugins doc's are garbage

brisk coral
#

Decompile the plugin and check ๐Ÿคทโ€โ™‚๏ธ

clear dust
#

yep not that skilled.

jade flume
#

That way didn't work for me

#

:(

west dagger
#

Is there a way to make custom placeholders with placeholderapi?

jade flume
#

Only with custom plugin / expansion

west dagger
#

Ah alright

severe galleon
#

Quick question for sanity check on 1st time using PAPI:
When extending PlaceholderExpansion if I'm supporting OfflinePlayer do I just override onRequest and I can ignore the onPlaceholderRequest that's in the wiki tutorial?
Or do I need to override onPlaceholderRequest to call onRequest?

wispy dove
#

Blitzz, Frosty any idea for my message a bit higher ?

scenic ingot
#

Is there any placeholder with teams, members of team and money on right? I mean (Team) (members)(totalmoneyteam) .
I want it to appear automatically on TAB when I created a team. Somebody can do that? And send me PlaceHolder? I am bad with making placeholders

cunning elk
#

Hey guys, I wanna do something with some placeholders but idk how to

#

if someone could help

#

Heres what im trying to do:

#

I'd like that for when players type @hand, in the chat that will be replaced by [Item_They're Holding] and when you hover over that it'd show the lore as normal items do and the enchantments

turbid tide
#

there are plugins you can use for this like InteractiveChat

cunning elk
#

%player_item_in_hand_name% %player_item_in_hand_data% %player_item_in_hand_level_<enchantment>%
I believe these would be the ones I would use

#

but how can i build that

#

i'll check that out

#

but wouldn't there be a way to build something by just using papi?

#

no need of another plugin

#

such as a small javascript maybe

turbid tide
#

well you'll still need a plugin to replace that part of text with something

#

so not rly

cunning elk
#

Got it

#

that plugin suggestion was great tho

#

Im pretty sure it'll work perfect with what i want and even more

#

thank you

turbid tide
#

yeah

#

you can do custom ones

#

as well

#

so its the best out there

cunning elk
#

awesome!

#

ty ๐Ÿ˜„

turbid tide
#

what?

flat quartz
#

what does "creat" mean

#

I'll try to decipher:
"Hi! I have a problem with the plugin "PlayerRanks" and "DiscordLink" regarding PlaceholderAPI. Can anybody help me?"

wispy dove
#

Blitzz really no idea ?

cunning elk
#

Would you guys now of any placeholder I could use that would count time?

#

Im looking for something such as:
"Jailed time: 1 h left"

#

59 min

#

it would show the time I had set

#

%time_count_from_3600%

#

where 3600 would be time in sec

shell aspen
#

Hi I have papi and i downloaded vault expansion and its not working

brisk coral
#

Did you reload papi?

shell aspen
#

I restarted the server

#

And in log i have a error 1min

#

[17:36:27] [Server thread/WARN]: java.io.IOException: Server returned HTTP response code: 403 for URL: https://www.spigotmc.org/api/general.php
[17:36:27] [Server thread/WARN]: at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1900)
[17:36:27] [Server thread/WARN]: at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
[17:36:27] [Server thread/WARN]: at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
[17:36:27] [Server thread/WARN]: at rien.bijl.Scoreboard.r.Session.isUpToDate(Session.java:45)
[17:36:27] [Server thread/WARN]: at rien.bijl.Scoreboard.r.Main.init(Main.java:33)
[17:36:27] [Server thread/WARN]: at rien.bijl.Scoreboard.r.Main.onEnable(Main.java:24)
[17:36:27] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263)
[17:36:27] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352)
[17:36:27] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:417)
[17:36:27] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:462)
[17:36:27] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:376)
[17:36:27] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:457)
[17:36:27] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:267)
[17:36:27] [Server thread/WARN]: at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:784)
[17:36:27] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:748)

#

I have this error

#

But only vault its not working

#

Server and Player work

#

Any idea?

shell aspen
#

Tag me btw

jade flume
#

What plugins do u had

#

@shell aspen

trim mist
#

Whatever rien.bijl.Scoreboard.r.Session.isUpToDate(Session.java:45) (scoreboard plugin) is using an outdated method to check for updates.

#

Contact the author.

shell aspen
#

K

cunning elk
#

Blitz, update on that plugin

#

it started giving me errors and kicking players off the server

#

I had to disable it, I reported errors to the author

#

and Im back looking for a javascript or plugin to parse [item]

turbid tide
#

weird

#

well I know there is another one called ShowItem

#

I use that plugin tho and no errors

#

or anything]

cunning elk
#

Could it be because I run a brazilian server and we use some characters the plugin wouldn't read maybe (?)

#

no clue

turbid tide
#

I have no idea

severe galleon
#

Quick question for sanity check on 1st time using PAPI:
When extending PlaceholderExpansion if I'm supporting OfflinePlayer do I just override onRequest and I can ignore the onPlaceholderRequest that's in the wiki tutorial?
Or do I need to override onPlaceholderRequest to call onRequest?

brisk coral
#

First one

wispy dove
#

Blitzz, Frosty any idea for my message a bit higher ?

turbid tide
#

If I say no will it be better?

#

because its a no

wispy dove
#

๐Ÿ˜ฆ

reef sinew
#

Is there a placeholder that shows the first join date on a server of a certain player?

vivid sparrow
#

%player_join_date% ig

fervent jackal
#

Why CheckItem expansion don't detect "potato" or "carrot"?

#

Forget it, I had to write "carrot_item" and "potato_item" instead

dusk crane
#

I have the full ProSkywars and want to use The PlaceHolderAPI %proskywars_kills% but it apparently doesn't work or something, I already tried to download older versions of placeholderapi and it still doesn't work

warm topaz
#

where did u find that placeholder? i cant find anything on this @dusk crane

#

nvm im blind. i see them now. can u post a startuplog please?

warm topaz
#

?startuplog

tender vaporBOT
#
FAQ Answer:

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

tawdry ermine
#

so i just installed a vote party plugin and the placeholders it says to use arent working in my scorebord plugin, any ideas?

white canyon
#

deluxe chat work with luckperms ?

trim mist
#

Yes.

white canyon
#

I saw several forums talking about %luckperms_prefix% which does not work with deluxe chat

dusk crane
#

?startuplog

tender vaporBOT
#
FAQ Answer:

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

dusk crane
#

where did u find that placeholder? i cant find anything on this @dusk crane
@warm topaz I did not understand anything

austere hawk
#

I have papi installed and it is not working in my scoreboard plugin

#

it just shows stuff like %player_name%

balmy marten
#

/papi ecloud download player

#

/papi reload

austere hawk
#

oh thanks lol

austere hawk
#

Hey, so I use leaderheads and whenever I try to do /leaderheads validate statistic_hours_played it says that its not a papi placeholder

#

I have the expansion statistic installed and also tried it with %% but it would just return the number and say that "37" is not a papi placeholder

#

Do you have any idea why these arent working out for me?

flat quartz
#

Yes

austere hawk
#

What could it be?

flat quartz
#

It might be

austere hawk
#

Might be what?

flat quartz
#

You're going to have to test it to make sure it works

austere hawk
#

What?????

flat quartz
#

Yup, looks good!

austere hawk
#

w a t

flat quartz
#

A job well done!

austere hawk
#

i quit

hollow fox
#

whats the placeholder to show the date on the scoreboard?

balmy marten
austere hawk
#

papa

dusk crane
#

I have the full ProSkywars and want to use The PlaceHolderAPI %proskywars_kills% but it apparently doesn't work or something, I already tried to download older versions of placeholderapi and it still doesn't work

balmy marten
#

Contact the author of the plugin @dusk crane

#

The expansion is built into that skywars plugin

shell aspen
#

I can add a death counter with player expansion or i need another plugin?

balmy marten
#

%statistic_deaths% Might be better?

shell aspen
#

Thx

wispy dove
#

Hey funnycube, any idea for my problem ? :

#

I want ton prompt a scoreboard value in my tablist with the plugin Tab. To do this, I installed the Placeholder "ScoreboardObjectives" (https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#scoreboardobjectives)
But I have a problem, the name of my scoreboard is : bac_advancements and in the syntax of the placeholder : %objectivescore<obj-name>%, if there is another "" it take the following characteres like a pseudo a no for the name of the scoreboard like this syntax say it : %objectivescore<obj-name>[otherEntry]%
Have you an idea of how say to the placeholder consider bac_advancements like a scoreboard name and not the scoreboard bac with the player advancements ?
And I can't and dont want to change the name of the scoreboard ^^

chilly wharf
#

can someone help me i need absorption placeholder please

dusty dagger
balmy marten
#

Hi @dusty dagger, I believe @trim mist is watching this issue.

dusty dagger
#

Thank you. I will PM him.

chilly wharf
#

i need absorption placeholder for health

austere hawk
#

Why, when I do /leaderheads validate statistic_hours_played
it says that its not a papi placeholder?

turbid tide
#

do /papi parse me %statistic_hours_played% and see what it returns

clear nebula
#

I tried using it on a hologram plugin and on a scoreboard, but it doesn't work

chilly wharf
#

i need absorption placeholder for health
bump

heady falcon
#

It works without

austere hawk
#

yep, /papi parse me %statistic_hours_played% works perfectly, but when I try to do /leaderheads validate it says its not a valid placeholder

dense mesa
#

So, not sure if this is a thing, but i was looking into making something and im not sure how to do it, if it is even possible.

I was looking for a way to put a players name/uuid into a placeholder so that when its like sent to chat you can see info for the player who sent it rather then yourself

turbid tide
#

you can. DeluxeChat does that

#

I mean most chat plugins do that

dense mesa
#

Hmm I may have to look at delux chat then

fluid chasm
#

but it shows up offline in game

amber dirge
#

Is Gems Eco Expansion outdated?

untold crater
#

Is there any planned support for passing text components as values for placeholders?

#

Seeing as RGB text is coming in 1.16 but only to text components, it kinda seems like mojang are killing the "legacy" format code system

trim mist
#

Probably not until PAPI 3, since we actually work with TextComponents in our Sponge port.

#

If that's in 1.16, great.

meager nymph
#

wait PAPI 3 ?

#

what PAPI are we on

#

2 ?

trim mist
#

Correct.

#

PAPI3 is redesigned from the ground-up to allow us to support multiple platforms. At launch, Bukkit, Sponge, Nukkit. If that goes well, Bungeecord & Velocity over time.

untold crater
#

Any ideas on release for that?

trim mist
#

No ETA.

#

Pandemic and School has set most of the team back working on that.

untold crater
#

Understandable

#

is it a public repo?

trim mist
#

Not currently. It will be when it's more stable.

untold crater
#

Fair enough

trim mist
#

It'll be awhile, that's all I can really say for the time being.

untold crater
#

This is a feature I desperately want to see and i'm happy to submit a pull request for it

#

Should the need arise obviously

trim mist
#

You're more than welcome to submit a PR for it and the team will look it over.

untold crater
#

Not much point if PAPI3 is coming though

trim mist
#

Well, we're still talking a few months.

untold crater
#

I guess there is that

#

The current structure of papi2 is extremely unfavourable for text components though

trim mist
#

We'll probably make some changes to enable more support for 1.16. Not right away though. But I plan to drop a dev build (and I'll pin it) day 1 that we can so people can start testing and we can get feedback.

#

Expansions will probably be awhile longer.

untold crater
#

That makes sense

trim mist
#

You're still welcome to open an issue / draft PR and we can discuss options. I haven't used TextComponents much in the projects I work on, so I'd have to do some research on them.

untold crater
#

I will do that in the next few days then

#

Text components are ideal because they're part of minecraft itself, which instantly means cross-platform

trim mist
#

๐Ÿ‘

turbid tide
#

yeah

#

2 ways. Java or javascript

#

that is a link to learn how to use the javascript one

warm topaz
#

doesnt have to be for plugins
u can just create an expansion without depending on an other plugin

#

smh blitz ๐Ÿ™ƒ

turbid tide
#

well yeah but its still for plugins

#

shh

delicate hill
#

Did the data problem with js placehlolder numbers get fixed?

turbid tide
#

what problem?

unique arrow
#

Hello, I want to report a bug or error in the placeholderapi plugin. The bug I have is when I use the placeholder %essentials_kit_time_until_available_ <kitname>% . The bug begins with the delay that each kit of the essentials has, I am trying to put this placeholder to my kit that has a delay of 7889400 but at the time of visualizing the placeholder the time appears in 0 and not in the time that corresponds to the kit . And if I add a delay of 1209600 to my kit, you can see the time. The placeholder doesn't work with 7889400 delay and i need to use this delay.

unborn smelt
#

Again the issue is still not resolved. There are no error logs to speak of. It must be a glitch.

unborn smelt
#

Placeholder API is NOT, I repeat NOT consistently connecting.

#

And is therefore, unreliable

balmy marten
#

What's happening?

unborn smelt
#

This is what I have in the Chat Manager config:
First_Join_Message: "&6&l %server_unique_joins% &bpeople have joined &f&lMCVantage&r&b! Everyone welcome &l&f{player}&r&b!"

balmy marten
#

What's the actual issue though?

mint fable
#

@unborn smelt ^

unborn smelt
#

It only sporadically works and I have to do /papi ecloud download server and /papi reload, every time the config is edited for Chat Manager, and sometimes it doesn't work at all.

#

There are zero error messages, and there doesn't seem to be a way to replicate it. I've tried older versions of papi, the updated one, etc.

#

I've tested it with other plugins too. I can't even get Essentials Chat to work with it at all, and when I try to use Chat Manager with it, it's spotty at best.

balmy marten
#

Is it broken at the moment?

mint fable
#

Have you tried just doing /papi parse ?

unborn smelt
#

Yes

#

"incorrect usage"

mint fable
#

what did you type?

unborn smelt
#

/papi parse

#

Sorry for the delay, didn't get notified for whatever reason.

junior musk
#

the syntax should be /papi parse me <placeholders>

unborn smelt
#

Should it work now?

#

Also, when should I do that?

wicked knoll
#

%math_50-{tm_tokens}%
where i must put [precision:<number>] to show only 50 and not 50.000

junior musk
#

I don't know, you were talking about /papi parse saying incorrect usage ยฏ_(ใƒ„)_/ยฏ

#

%math_50-{tm_tokens}%
where i must put [precision:<number>] this to show only 50 and not 50.000
put it before the last %

unborn smelt
#

My issue was that placeholderapi doesn't seem to consistently 'hook'

junior musk
#

ah

wicked knoll
#

Works now, thank you ๐Ÿ™‚

junior musk
#

so the placeholders are showing like that %placeholder% instead of their output ?

wicked knoll
#

Also is there a way to show the item's display_name with placeholders from deluxemenus in the message

#

or i need to type it

junior musk
#

you need to type

#

and you didn't answer my question =/

wicked knoll
#

they are working

#

it was showing me 50.000 instead of 50 before putting precision number

junior musk
#

oh sorry I confounded you with Walrus x)

junior musk
#

@unborn smelt you're still there?

unborn smelt
#

Yes

#

Sorry about that

junior musk
#

so the placeholders are showing like that %placeholder% instead of their output ?

unborn smelt
#

Yes

#

They sometimes work, but it's becoming less and less

junior musk
#

and do they work when you do /papi parse me <those placeholders>?

unborn smelt
#

I am currently testing

wary coral
#

they stopped working for some reason

#

they are like stuck

#

for example i use this one: %statistic_hours_played% and im stuck at 1191hours since 2 days, and the same thing happens to all of my players

#

i also use the placeholder that counts for deaths and that one is stuck too, so i guess all of the statistic placeholders are stuck

wary coral
#

oh

#

i fixed it

#

downloading the expansion again

fluid chasm
#

i have this placeholder %pinger_isonline_hypixel.net:25565%'

#

but it shows up offline in game

brisk coral
#

If you parse it again, does it still show offline?

fluid chasm
#

how do i do that?

brisk coral
#

/papi parse me %pinger_isonline_hypixel.net:25565%

fluid chasm
#

ok

#

offline still

#

is it because my server is in offline mode?