#placeholder-api

1 messages ยท Page 123 of 1

echo umbra
#

fix ๐Ÿฅบ

turbid tide
#

hmm

#

that's a good question xD

warm topaz
#

can u use that in js?

turbid tide
#

I'm pretty sure that Frosty used it to help with a js of Tanguygab's

#

actually @junior musk could you help? xD

echo umbra
#

;((

turbid tide
#

@brisk coral you online? If not sorry for pinging xD

tender vaporBOT
#
Javascript
Useful Links & Information:

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

mint fable
#

you shouldn't need to setplaceholders

#

they should be parsed automatically

echo umbra
#

but why it doesnt work then?

mint fable
#

well I know nothing about the situation

#

so fill me in a bit

echo umbra
#
var kitname = args[0];
var perm = "%essentials_has_kit_" + kitname + "%";
var status;

function kitcheck() {
if (kitname !== null && kitname !== "" && kitname !== undefined) {
result = perm.indexOf("โœ”");
if (result !== -1) {
status = "&aโœ”"
}
status = "&cโœ˜"
} else {
status = "&e?";
}
return status;
}
kitcheck();

when i'm using %javascript_kits_vip% it doesnt work, it shows as โœ˜, the problem is with perm with kitname but when i'm using kit name instead eg. perm = "%essentials_has_kit_vip%"; its working
why?

turbid tide
#

he's trying to use a variable inside the placeholder

echo umbra
#

yep

mint fable
#

this is

#

wow

turbid tide
#

?

mint fable
#
var kitname = args[0];
var perm = "%essentials_has_kit_" + kitname + "%";
var status;

function kitcheck() {
    if (kitname !== null && kitname !== "" && kitname !== undefined) {
        result = perm.indexOf("โœ”");
        if (result !== -1) {
            status = "&aโœ”"
        }
        status = "&cโœ˜"
    } else {
        status = "&e?";
    }
    return status;
}
kitcheck();
#

ok

#

can you return perm?

echo umbra
#

okkkk

turbid tide
#

I'm pretty sure it will just return the text but yeah return it just in case xD

echo umbra
mint fable
#

so

#

it says NO

turbid tide
#

ugh?

mint fable
#

why are you checking for a check mark?

turbid tide
#

where did that come from? xD

echo umbra
#

from here

#

:))

turbid tide
#

oh xD

mint fable
#

I see

turbid tide
#

so it parses the placeholder

echo umbra
#

yep

mint fable
#

so the placeholder works fine

echo umbra
#

but

#

when i replace

turbid tide
#

its just inside the javascript

#

it only parses it when you do the command

#

so you need to parse it inside first to make the check

echo umbra
#
var perm = "%essentials_has_kit_" + kitname + "%";

with

var perm = "%essentials_has_kit_vip%";
mint fable
#

can you type /papi parse me %essentials_has_kit_vip%

echo umbra
#

its working

#

ofc

junior musk
#

BlitzZ, you needed me?

echo umbra
turbid tide
#

ye

#

how did you fix the placeholder with a variable inside it/

#

I remember frosty doing it for you

mint fable
#

okay so

junior musk
#

PlaceholderAPI.static.setPlaceholders(player, "placeholder");

mint fable
#
var kitname = args[0];
var perm = "essentials_has_kit_" + kitname + "";
var status;

function kitcheck() {
    if (kitname !== null && kitname !== "" && kitname !== undefined) {
        result = perm.indexOf("โœ”");
        if (result !== -1) {
            status = "&aโœ”"
        }
        status = "&cโœ˜"
    } else {
        status = "&e?";
    }
    return perm;
}
kitcheck();
#

what does that return

sweet raft
#

Hi quick question, what is PlaceholderAPI used for?

mint fable
#

the placeholder seems to parse though

#

v confused

turbid tide
#

yeah cj

#

on command

#

but not isnide the js

echo umbra
mint fable
#

huh?

turbid tide
#

because parse command parses just the return text

#

or what it returns

mint fable
#

okay but why is it no

#

because it even says the perm is essentials_has_kit_vip

echo umbra
#

that's what I want to figure out

mint fable
#

Try what tanguygab sent

echo umbra
#

ok

turbid tide
#

well yeah cj

#

this

mint fable
#

even if it returned %essentials_has_kit_vip% blitz it should say yes

turbid tide
#

var perm = "essentials_has_kit_" + kitname + "";

mint fable
#

:L

turbid tide
#

is not a placeholder inside the js

#

its a string

mint fable
#

yes...

#

I did that on purpose

#

because I wanted to see the value of it

#

and make sure it was correct

turbid tide
#

no it shouldn't say yes

mint fable
#

because then it makes no sense for it to be say no

echo umbra
turbid tide
#

it does make perfect sense

mint fable
#

what

turbid tide
#

because it parses the string again

#

on exit

mint fable
#

why does it say no?

turbid tide
#

but inside the js its not parsed

#

because of the boolean return

#

from papi

mint fable
#

the string inside the js would be the following

#

%essentials_has_kit_vip%

#

not parsed

turbid tide
#

yeah

mint fable
#

if it returns that

#

papi will parse it

#

so why does it return no

#

it should return the check mark

turbid tide
#

because he doesn't have the kit

#

probably

mint fable
#

no

#

we just tested /papi parse me %essentials_has_kit_vip%

echo umbra
mint fable
#

and it returned the check mark

#

well parse <player>

echo umbra
#

yep

mint fable
#

it makes no sense to return no

turbid tide
#

hmm that's weird didn't see the other part of the test

#

did you parse it on yourself both times sergiu?

echo umbra
#

when its vip instead + kitname + its working but when its viceversa its doesnt

mint fable
#

can you send the js you have now?

echo umbra
#

yep

#

its the same

#

but

mint fable
#

just send the entire thing

turbid tide
#
var perm1 = "%essentials_has_kit_" + kitname + "%";
var player = "%player_name%";
val perm = PlaceholderAPI.static.setPlaceholders(player, perm1);
var status;

function kitcheck() {
if (kitname !== null && kitname !== "" && kitname !== undefined) {
result = perm.indexOf("โœ”");
if (result !== -1) {
status = "&aโœ”"
}
status = "&cโœ˜"
} else {
status = "&e?";
}
return status;
}``` try this after that
echo umbra
#
var kitname = args[0];
var player = "%player_name%";
var perm = "essentials_has_kit_" + kitname + "";
perm = PlaceholderAPI.static.setPlaceholders(player, perm);
var status;

function kitcheck() {
    if (kitname !== null && kitname !== "" && kitname !== undefined) {
        result = perm.indexOf("โœ”");
        if (result !== -1) {
            status = "&aโœ”"
        }
        status = "&cโœ˜"
    } else {
        status = "&e?";
    }
    return perm;
}
kitcheck();
mint fable
#

well

#

you didn't surround the placeholder in %%

#

I removed it for the test

turbid tide
#

xD

#

try what I just sent

echo umbra
#

oh

mint fable
#

blitz make it look.... not shit plz

#

โค๏ธ

turbid tide
#

no thank you

#

you do it

#

wait

#

I do have a question tho ....

mint fable
#
var kitname = args[0];
var perm1 = "%essentials_has_kit_" + kitname + "%";
var player = "%player_name%";
val perm = PlaceholderAPI.static.setPlaceholders(player, perm1);
var status;

function kitcheck() {
    if (kitname !== null && kitname !== "" && kitname !== undefined) {
        result = perm.indexOf("โœ”");
        if (result !== -1) {
            status = "&aโœ”"
        }
        status = "&cโœ˜"
    } else {
        status = "&e?";
    }
    return status;
}
echo umbra
#

yep, same error

turbid tide
#

} status = "&cโœ˜" } else

#

what's this?

#

...

mint fable
#

it will return the X

turbid tide
#

yeah

#

every time

echo umbra
#

yep

mint fable
#

ya

#

ya it will

#

nice

turbid tide
#

it should even throw errors

mint fable
#

you didn't break

#

rip

echo umbra
#

it will return only if the player doesnt have permission

turbid tide
#

well no

mint fable
#

throw errors?

#

why?

turbid tide
#

because its a random else in there

mint fable
#

bruh

turbid tide
#

that else doesn't come after the if ...

mint fable
#

that's an else from the first if

#

...

turbid tide
#

wait can you do that?

mint fable
#
var kitname = args[0];
var perm1 = "%essentials_has_kit_" + kitname + "%";
var player = "%player_name%";
val perm = PlaceholderAPI.static.setPlaceholders(player, perm1);
var status;

function kitcheck() {
    if (kitname !== null && kitname !== "" && kitname !== undefined) {
        result = perm.indexOf("โœ”");
        if (result !== -1) {
            return "&aโœ”";
        }
        return "&cโœ˜";
    } else {
        return "&e?";
    }
}
#

try that

#

what are you on about

turbid tide
#

cj ...

limber ice
#

I need to figure out this is happening when I reload papi?

mint fable
#

blitzz look

turbid tide
#

he closes the if before the status = "&cโœ˜" line

#

...

mint fable
#

if (kitname !== null && kitname !== "" && kitname !== undefined) { }else

turbid tide
#

then he just adds that line

#

no

mint fable
#

blitz

#

imma slap u real soon

echo umbra
#

:))

turbid tide
#

if (kitname !== null && kitname !== "" && kitname !== undefined) {} status = "&cโœ˜" { }else

#

that's how it is

mint fable
#

what

#

are you even

#

bruh

#

i can't

#

let's do this

#
function kitcheck() {
    if (kitname !== null && kitname !== "" && kitname !== undefined) {
        result = perm.indexOf("โœ”");
        if (result !== -1) {
            return "&aโœ”";
        }
        return "&cโœ˜";
    } else {
        return "&e?";
    }
}
turbid tide
#

xD

#

I've just noticed there are 2 IFs xD

mint fable
#

let me just

#

๐Ÿ˜ 

echo umbra
#

๐Ÿ˜ฆ

turbid tide
#

so what I've sent doesn't fix it Sergiu?

echo umbra
#

nope

mint fable
#

did you try what I sent

#

well

#

kind of weird

echo umbra
#

oooohhhhhh

#

should i use val?

#

or? xd

mint fable
#
var kitname = args[0];
var perm1 = "%essentials_has_kit_" + kitname + "%";
var perm = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, perm1);

function kitCheck() {
    if (kitname !== null && kitname !== "" && kitname !== undefined) {
        result = perm.indexOf("โœ”");
        if (result !== -1) {
            return "&aโœ”";
        }
        return "&cโœ˜";
    } else {
        return "&e?";
    }
}
kitCheck();
#

ok

#

that should work

#

and no, val is wrong

#

good lookin

echo umbra
#

oh

mint fable
#

it might accept a player though instead of a player name

turbid tide
#

val is a thing just in the new versions or something of javascript I think

mint fable
#

BukkitPlayer

#

we'll see tho

echo umbra
#

still this

mint fable
#

ah

#

yep

#

try that (I edited it)

turbid tide
#

you are indeed right

mint fable
#

well ye

#

just wasn't sure for js

echo umbra
mint fable
#

ooh

#

i think I forgot the bottom at some point

#

call the function

#

ah, I copied blitz that's what happened

#

๐Ÿ˜‰

turbid tide
#

blame me ... nice

echo umbra
#

xd

turbid tide
#

well I know

#

but you could just own your mistake

#

that you didn't look to what you copied

mint fable
#

psshhh

echo umbra
#

xd

#
var kitname = args[0];
var perm1 = "%essentials_has_kit_" + kitname + "%";
var perm = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, perm1);
var status;

function kitcheck() {
    if (kitname !== null && kitname !== "" && kitname !== undefined) {
        result = perm.indexOf("โœ”");
        if (result !== -1) {
            status = "&aโœ”"
        }
        status = "&cโœ˜"
    } else {
        status = "&e?";
    }
    return status;
}
#

i tried this

#

but still NO

mint fable
#

uh

turbid tide
#

but why no

mint fable
#
var kitname = args[0];
var perm1 = "%essentials_has_kit_" + kitname + "%";
var perm = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, perm1);

function kitCheck() {
    if (kitname !== null && kitname !== "" && kitname !== undefined) {
        result = perm.indexOf("โœ”");
        if (result !== -1) {
            return "&aโœ”";
        }
        return "&cโœ˜";
    } else {
        return "&e?";
    }
}
kitCheck();
#

it returned... NO?

#

O.o

echo umbra
#

yep

#

wait

#

no

mint fable
#

that makes 0 sense

#

test what I sent

echo umbra
#

returned

#

X

mint fable
#

yes, as blitz and I pointed out earlier

#

you never break

turbid tide
#

add another else{}

#

or yeah break;

mint fable
#

bad blitz

turbid tide
#

xD

#

dk how break works in js

mint fable
#

stop with the status variable

#

it's a piece of shit

#

return

#

no reason not to

echo umbra
#

:((

mint fable
#

no point in holding your return in a variable so it takes more time to do nothing

echo umbra
#

but it should return checkmark

#

but its returning X

#

i dont understand

#

gray x

mint fable
#

okay let's see

#
var kitname = args[0];
var perm1 = "%essentials_has_kit_" + kitname + "%";
var perm = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, perm1);

function kitCheck() {
    if (kitname !== null && kitname !== "" && kitname !== undefined) {
        result = perm.indexOf("โœ”");
        if (result !== -1) {
            return "&aโœ”";
        }
        return "&cโœ˜";
    } else {
        return "&e?";
    }
}
kitCheck();```
#

let's take a look

#

can we return perm1 and perm?

echo umbra
#

lets try

mint fable
#

hmm, it might just return no twice tho

#

we'll see

#

put it where the X currently is

echo umbra
#

ok

#
var kitname = args[0];
var perm1 = "%essentials_has_kit_" + kitname + "%";
var perm = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, perm1);

function kitCheck() {
    if (kitname !== null && kitname !== "" && kitname !== undefined) {
        result = perm.indexOf("โœ”");
        if (result !== -1) {
            return "โœ”";
        }
        return perm + " " + perm1;
    } else {
        return "&e?";
    }
}
kitCheck();
mint fable
#

okay let's test this

echo umbra
#

๐Ÿ˜ฆ

mint fable
#

fuck i got no idea

echo umbra
#

vip instead kitname?

mint fable
#

it makes no sense

#

what if

echo umbra
#

i'm getting a checkmark

#

when replacing

mint fable
#
var kitname = args[0];
var placeholder = "essentials_has_kit_" + kitname + "";
var perm = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + placeholder + "%");

function kitCheck() {
    if (kitname !== null && kitname !== "" && kitname !== undefined) {
        result = perm.indexOf("โœ”");
        if (result !== -1) {
            return "โœ”";
        }
        return perm + " " + placeholder;
    } else {
        return "&e?";
    }
}
kitCheck();
echo umbra
#

hmm

mint fable
#

checkmark when replacing?

#

huh?

echo umbra
#

lol

#

its working

#

now

#

thanksssss

mint fable
#

what did you do

#

oh with that?

echo umbra
#

idk i just colored the checkmark

#

from js

#

and

mint fable
#

what is your current js then

echo umbra
#

idk how

#
var kitname = args[0];
var placeholder = "essentials_has_kit_" + kitname + "";
var perm = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + placeholder + "%");

function kitCheck() {
    if (kitname !== null && kitname !== "" && kitname !== undefined) {
        result = perm.indexOf("โœ”");
        if (result !== -1) {
            return "&aโœ”";
        }
        return perm + " " + placeholder;
    } else {
        return "&e?";
    }
}
kitCheck();
mint fable
#

so you copied my stuff and colored it

echo umbra
#

yep

mint fable
#

I would assume it works without coloring it?

echo umbra
#

yep

mint fable
#

also you can remove the + ""

#

at the top

#

since it's unneeded now

echo umbra
#

ok thanks you very much, you're my hero :))

mint fable
#

I kind of am hurt, because I wanted to try that way earlier but didn't CryingCool

echo umbra
#

it doesnt matter cuz i liked to work with you

#

:))

#

๐Ÿฅณ

mint fable
#

๐Ÿ‘ glad it works

#

@turbid tide this

turbid tide
#

?

mint fable
#

check the working code

#

I separated the %% out

echo umbra
#

blitz thank you too

turbid tide
#

what if I don't want to?

mint fable
#

well

#

you're forced to

turbid tide
#

xD

#

are you going to ban me from the internet if I don't?

echo umbra
#

๐Ÿฅบ

#

ok

#
var kitname = args[0];
var perm;
var perm1;
var time;
var time1;
var available;
var available1;
var result;
var status;
perm1 = "essentials_has_kit_" + kitname;
time1 = "essentials_kit_time_until_available_" + kitname;
available1 = "essentials_kit_is_available_" + kitname;
perm = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + perm1 + "%");
time = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + time1 + "%");
available = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + available1 + "%");

function kitcheck() {

   if (kitname !== null && kitname !== "" && kitname !== undefined) {
       result = perm.indexOf("โœ”");
       if (result !== -1) {
           if (time == 0) {
               status = available;
           } else {
               status = time;
           }
       } else {
           status = perm;
       }
       
   } else {
       status = "&e?"
   }

return status;
}
kitcheck();
#

This is my final code

#

and its working

#

:))

mint fable
#

uh

echo umbra
#

i kept that status :))

mint fable
#

you don't need to do the variables like that

echo umbra
#

ik

#

but thanks

#

very much

near inlet
#

Hey, i got a question with javascript placeholders

var towny = "%townyadvanced_town%";

function getTownName() {
    if (towny === "") {
        return "None";
    } else {
        return towny;
    }
}
getTownName();
``` is not giving anything in return
rare lily
#

Try parse the placeholder to see what it returns

near inlet
#

thats what i was doing

#

i just realized i made a typo so you may ignore me lol

#

thanks tho!

rare lily
#

๐Ÿ‘

limber ice
mint fable
#

go to versions

limber ice
#

don't seem to be there or working

mint fable
#

are you logged in?

sinful plume
#

tried downgrading to 2.10.8 and same issue is still occuring

#

[04:13:05 WARN]: [PlaceholderAPI] mvdw is attempting to register placeholders via a PlaceholderHook class which is no longer supported!

sinful plume
#

@mint fable

tender vaporBOT
#

@sinful plume,

Hey!

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

lyric veldt
#

Please someone help

leaden kraken
#

with?

lyric veldt
#

how can i make my config work with any placeholder

leaden kraken
#

Is it your own plugin or another plugin?

lyric veldt
#

My own

#

Its all imported and stuff

lyric veldt
#

Ive done that

leaden kraken
#

Then what's the problem?

#

PlaceholderAPI#setPlaceholders(Player, String)

lyric veldt
#

It doesn't show me how to make all my stuff in config placeholders

leaden kraken
#

You want to make your own placeholders?

lyric veldt
#

No

#

I just want to be able to use all placeholders in my config

lyric veldt
#
        if (Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null) {
            /*
             * We register the EventListener here, when PlaceholderAPI is installed.
             * Since all events are in the main class (this class), we simply use "this"
             */
            Bukkit.getPluginManager().registerEvents(this, this);
        } else {
            /*
             * We inform about the fact that PlaceholderAPI isn't installed and then
             * disable this plugin to prevent issues.
             */
            getLogger().warn("Could not find PlaceholderAPI! This plugin is required.");
            Bukkit.getPluginManager().disablePlugin(this);
        }
    }
#

like... what am i meant to do with this

leaden kraken
#

Well, do you know java?

lyric veldt
#

ish

#

Learning

#
        String joinText = "%player_name% &ajoined the server! They are rank &f%vault_rank%";

        /*
         * We parse the placeholders using "setPlaceholders"
         * This would turn %vault_rank% into the name of the Group, that the
         * joining player has.
         */
        joinText = PlaceholderAPI.setPlaceholders(event.getPlayer(), joinText);

        event.setJoinMessage(withPlaceholdersSet);
    }
#

But the placeholders are in there .java

#

so how would i make it work for the Config

#

instead

leaden kraken
#

With that example, you could do something like this

        String joinText = getConfig().getString("join-text");

        /*
         * We parse the placeholders using "setPlaceholders"
         * This would turn %vault_rank% into the name of the Group, that the
         * joining player has.
         */
        joinText = PlaceholderAPI.setPlaceholders(event.getPlayer(), joinText);

        event.setJoinMessage(withPlaceholdersSet);
#

Then that would set the join message to what you have set in the config under join-text

#

Replacing any placeholders you have there

lyric veldt
#

okay

#

would this worked if my config looked like this

#
WelcomeMessages:
  - "T"
  - "E"
  - "S"
  - "T"
leaden kraken
#

So, with a list?

lyric veldt
#

yes

leaden kraken
#

Yeah, PlaceholderAPI#setPlaceholders(Player, List<String>)

lyric veldt
#

Just that 1 line?

leaden kraken
#
List<String> list = getConfig().getStringList("WelcomeMessages");

list = PlaceholderAPI.setPlaceholders(player, list);
lyric veldt
#

just change "join-text" to mine?

leaden kraken
#

yeah

lyric veldt
#

So that should work

leaden kraken
#

It should, yeah

lyric veldt
#

Nope

#

oh wit

#

wait

#

Nope still does not work

leaden kraken
#

What doesn't work?

lyric veldt
#

the placeholders

leaden kraken
#

Is there an error, doesn't do anything?

lyric veldt
#

can i dm u a message

#

like pic

leaden kraken
#

sure

steep thorn
#

@lyric veldt you can post images here by uploading them on Imgur first

vivid sparrow
#

Robin, is leaderheads compatible with 1.16?

plush loom
#

Yes Gaby

glacial barn
#

Hi, is it possible to evaluate a placeholder api variable, then output a string?

steep thorn
#

@glacial barn what do you mean with 'output' a string? Output it where? Chat?

#

@vivid sparrow yes

tender vaporBOT
#

@steep thorn,

Hey!

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

steep thorn
#

Yes Gaby*

glacial barn
#

I would like to evaluate if a placeholder variable is true or it is a string, then return a string for deluxechat to use.

turbid tide
#

use javascript placeholders for that

glacial barn
#

may I know how to pass placeholder variables to the javascript file?

steep thorn
#

I think if you have a variable like let foo = '%player%' it replaces it automatically

glacial barn
#

Wow that's amazing! Thank you!

turbid tide
#

I don't think let works just var. not sure about that

#

also you could just mae 1 placeholder and use arguments

#

so you can use it for multiple placeholders

#
var placeholder = args[0];

function checkPlaceholder(){
  if(placeholder == "true"){
    return "yes";
  }
  return "no";
}```
#

quick example on how to use args

#

and when you use the js placeholder just use %javascript_PLACEHOLDERNAME_{placeholdertobechecked}%

glacial barn
#

I see, thanks for the example

steep thorn
#

I think some examples would be nice

#

I thought you had to declare it as a var and that PlaceholderAPI did some preprocessing before feeding it to Nashorn, but I haven't checked the source tbh

turbid tide
#

hmm idk where I've seen it when I've learnt about it but no one told me there are some examples somewhere xD

#

but yeah you can do that

#

I'll try adding something in there or ask cj to do it since he's better at writing explanations xD

#

@steep thorn added myself an example. hope it will be enough for most people xD.

steep thorn
#

Wow I didn't even know that storing data was a thing

turbid tide
#

oh it is

#

and its amazing

#

xD

#

there is already a placeholder made if you want

#

on the community javascripts

steep thorn
#

Maybe something with PlaceholderAPI.static.setPlaceholders or whatever as an example could be cool

#

I saw it going by here yesterday

turbid tide
#

oh yeah.

#

that could be a thing. I just need to think of a way to explain it xD

#

I'm bad at explaining things. like bellow average :))

#

ok added @steep thorn hope its good enough. ๐Ÿ™‚ Already told the others to make it better if they think its not enough

steep thorn
#

Looks good

turbid tide
#

oh

#

I'm dumb

#

forgot to add the var keyword

#

welp fixed. lmk if you think there should be something else that needs added.

frail sentinel
#

its possible use placeholder variable on vebsite

#

?

#

on website*

brisk coral
#

Does the website integrate with papi to parse them?

limber ice
#

I have a theory on why /papi reload don't like my expansion , might be something to do with setting on my ecloud account

final shadow
#

What setting

limber ice
#

no clue I get an error if my expansion is folder

#

@final shadow

tender vaporBOT
#

@limber ice,

Hey!

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

limber ice
#

I wish barry knew how important this was

austere hawk
#

Hey @tender vapor

#

Suck it

limber ice
#

I can't update my expansions to update them either, not sure what or where I should be clicking on

#

so you have a love hate relationship with barry also

tranquil yoke
#

How do I put a placeholder in a holographic display?

compact karma
#

is there a placeholder for the date

north oak
#

Hello, it is the DeluxeMenus plugin, I put the configuration but the data does not appear or an alliance is made, how can I do it to combine everything, please help me

https://imgur.com/a/XE9fxpU

steep thorn
tranquil yoke
#

Thank you! Appreciate it ๐Ÿ™‚

#

Do you know of a leaderboard plugin (shows up on screen) that also does that?

steep thorn
#

Leaderheads

#

I heard it's a great plugin

turbid tide
#

xD

#

I agree. You could name it the best

tranquil yoke
#

Does that one show a leaderboard on-screen? Or does it just make a leaderboard using heads and signs...?

turbid tide
#

you can put the placerholders anywhere it accepts placeholders

#

so in holograms, scoreboards

#

signs, menus

north oak
#

Hello, it is the DeluxeMenus plugin, I put the configuration but the data does not appear or an alliance is made, how can I do it to combine everything, please help me

https://imgur.com/a/XE9fxpU

steep thorn
#

@tranquil yoke You can do holograms, signs, armorstands and also show it in your scoreboard (on the side of your screen) if you have a working scoreboard plugin

tranquil yoke
#

Oh wonderful

turbid tide
#

ugh @north oak /papi parse me %strikepractice_global_elo% what does it return?

north oak
#

It doesn't work, I get like this all the time, I would like to find the command or some kind of help: c

turbid tide
#

ugh do you have the strikepractice plugin installed?

steep thorn
#

@turbid tide I assume Strikepractice probably has an outdated hook

#

barry logs pls

north oak
#

It's not necesary?

turbid tide
#

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

steep thorn
#

Why woud strikepractice not be necessary for showing... strikepractice data?

turbid tide
#

^

#

send this

north oak
#

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

turbid tide
#

just send what its said inside the message

#

xD

north oak
#

One moment please, I don't speak English, I'm with the translator, I'll install the plugin

turbid tide
#

ugh?

steep thorn
#

I don't understand what you expected it to show if you don't have strikepractice??

turbid tide
#

you don't have the strikepractice plugin?

north oak
#

If I have the plugin, but the error continues

steep thorn
#

Like we said, send the logs

north oak
#

Right now i upload it

tranquil yoke
#

Do I have to add a placeholder to the config to be able to use it? I just downloaded this plugin and am trying to use vault placeholders. I have papi and have uploaded vault to papi

steep thorn
#

@tranquil yoke did you buy it?

tranquil yoke
#

Buy vault or PAPI

steep thorn
#

'this plugin'

tranquil yoke
#

holographic placeholders?

steep thorn
#

Oh, sorry. I thought you were talking about the leaderboards

tranquil yoke
#

Oh shoot I'm on the wrong discord channel my bad

steep thorn
#

No it's fine

mint fable
#

you and robin both seem to be that way lmao

steep thorn
#

๐Ÿค”

mint fable
#

sounds like you thought you were in a leaderheads channel lol

steep thorn
#

If only that existed

#

@winged chasm Does the Vault placeholder itself work? /papi parse me %vault_eco_balance%

north oak
#

List, there are the records

steep thorn
#

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

steep thorn
#

?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 Paste - Usage
โ€ข Hastebin

steep thorn
#

I have better things to do than going through a ton of different log files

#

Just upload the one that the bot says

#

You could also have checked the logs yourself:

#
[14:33:24] [Server thread/ERROR]: Error occurred while enabling StrikePractice v2.5.7 (Is it up to date?)
java.lang.NoClassDefFoundError: me/clip/placeholderapi/external/EZPlaceholderHook
    at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_222]
    at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:1.8.0_222]
#

Plugin isn't even enabled

#

And the version you use is heavily outdated

#

And with 'heavily' I literally mean YEARS

#

Dec 3, 2018

near inlet
#

question, when i stop the server papi starts spitting out a bunch of errors

steep thorn
#

@near inlet which Papi version?

trim mist
#

Looks to be something with DeluxeChat.

steep thorn
#

I mean build

near inlet
#

2.10.9 papi

#

im on 1.16.1-dev deluxechat tho

mint fable
#

townychat expansion

near inlet
#

townychat 0.76

#

which is why im using the dev version of dchat

mint fable
#

is there an expansion inside dchat? O.o

near inlet
#

you can hook the 2 but i dont think its related to this

trim mist
#

It's more of a listener iirc

near inlet
#

i was using the dchat and townychat before i updated papi

#

after updating papi i started getting these papi errors

trim mist
#

Pretty sure it's cause clip removed the hashcode since I've never seen anyone use it

#

Idek what it's for tbh

#

Clip will probabaly have to fix it

near inlet
#

so for now, use older papi version?

#

or can i just ignore this safely

#

ill just downgrade for now lol

alpine saffron
#

how would I get a manually added extension to automatically load on reload

turbid tide
#

ugh it should load

alpine saffron
#

it doesnt lol

#

I have to register it each time

full geyser
#

I dont know java, sorry if its a stupid mistake
@full geyser

#

I dont know java, sorry if its a stupid mistake

full geyser
#

If I comment line 2 and 3, it functions, but obviously only for the first if statement

main phoenix
#

When updating to the 2.10.9 version of PlaceholderAPI, every server message (excluding chat messages) lose their capital letters. Everything from joining the game to world edit prompts. In console I do not receive any errors but when I downgrade back to 2.10.6 this is fixed.

limber ice
#

@main phoenix did you update the expansions

austere hawk
#

hello, i have a question.
What variable do I need to download for the %player% to work?

limber ice
#

/papi ecloud download player

austere hawk
#

thx

near inlet
#

any reason why %statistic_time_played% could be showing wrong/incorrect data?

limber ice
#

@near inlet wrong compared to what?

near inlet
#

their actual playtime

#

some guiy on my server has 28d playtime

limber ice
#

have you upgrade server from another MC version?

near inlet
#

yet that palceholder is showing 4days

#

nope

#

i updated papi earlier today tho

#

im also getting weird shit like this

#

35h..

limber ice
#

mine says 4 days, 24 ours, 5 min 49 sec

near inlet
#

for a lot of players its just showing completely inaccurate data

limber ice
#

statz says 235 days 7 hours

#

your right it says I have .54 years and the placeholder says 4 days, not even close

near inlet
#

What version of papi r u on?

limber ice
#

PlaceholderAPI-2.10.10-DEV-108

near inlet
#

Hmm

#

I wonder where it gets the data from

#

Either way, it's completely broken

limber ice
#

most likely it's the math it uses

near inlet
#

all it has to do is pull from the statistics

#

there shouldnt be math involved

#

because the data in statistics is actually accurate, its just the placeholder

mint fable
#

statistic is broke

full geyser
#

Guess my issue is burried

#

this is why tickets are good

mint fable
#

?help

#

any day now barry

#

What's your issue @full geyser ?

full geyser
#

I get this internal error when trying my script. https://pastebin.com/Taq6dAwT
My script:```var deity = args[0];
var watchman = args[1];
var admin = args[2];

function chatcolor(){
if(deity=="yes") {
return "&b";
}
if(watchman=="yes") {
return "&e";
}
if(admin=="yes") {
return "&7&l";
}
return "&7";

}

chatcolor();```

#

I dont know java, sorry if its a stupid mistake

mint fable
#
  1. it's javascript not java, slightly different
full geyser
#

like I said, i dont know lol

mint fable
#

what placeholder are you using to test?

#

and where/how?

full geyser
#

/papi parse me %javascript_chatcolor_yes_no_no%

mint fable
#

args are separated by ,

#

so it was throwing a java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1

#

which means you were trying to access an argument that wasn't in the array because there was only 1 argument in the array (yes_no_no) instead of 3

full geyser
#

I get it, thanks. Works now

#

Well the script doesnt work... but papi does lol

mint fable
#

๐Ÿ‘

high star
#

for fuchs sake

austere hawk
#

@balmy marten

tender vaporBOT
#

@austere hawk,

Hey!

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

north hearth
#

oh no, it's happening again

placid dome
#

Ban please

modest spindle
#

its happen again

austere hawk
#

F

#

Oh come on

modest spindle
#

F

jade sonnet
#

There are 2 accounts

#

@manic onyx @austere hawk

jagged spear
#

F

austere hawk
#

go ban --"

placid dome
#

ban go brrrr

jagged spear
#

ban him pls

modest spindle
#

go to hell kid spam

jade sonnet
#

actually

#

wait what

austere hawk
#

Shut the f up

jade sonnet
#

is he impersonating someone

#

idk

loud pawn
#

WTF

#

STOP

storm cedar
#

how is it still possible to do this

austere hawk
#

Shut up idiot

modest spindle
#

him will get mute soon ?

loud pawn
#

Can someone mute him or something

#

PLEASEEEE

safe echo
#

wtf

modest spindle
#

no staff online ??

high star
#

@mint fable hi can ban

tender vaporBOT
#

@high star,

Hey!

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

north hearth
#

barry should really have an auto-ban for that, lol

placid dome
#

^

urban raven
#

Bro

austere hawk
#

@vivid sparrow

tender vaporBOT
#

@austere hawk,

Hey!

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

high star
#

fuck off barry I know

north hearth
#

@trusted

#

damn, cant ping them

austere hawk
#

who pinged me

vernal pike
#

can you fucking not

high badge
#

I just blocked him. Probably mad that mom finally weened him from the teet

austere rampart
#

Someone ban this kid already goddamn

vernal pike
#

please

jade sonnet
#

@vivid sparrow @versed warren

tender vaporBOT
#

@jade sonnet,

Hey!

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

modest spindle
#

a kid spam

jade sonnet
#

Barry idc

vivid sparrow
#

You can stop now, thanks.

austere hawk
#

He is high on drugs

safe echo
#

okay

loud pawn
#

Stop mentioning people

austere hawk
#

they gone i think

jade sonnet
#

ty

vernal pike
#

for the love of god why do people spam on this chat

#

is it funny or something

austere hawk
#

Lol

mint fable
#

please stop ^

vivid sparrow
#

When you ping a staff member, also state your problem, we can't just read 50 messages to figure out what's going on.

jagged spear
#

a kid spam
@modest spindle nice nick, dude

storm cedar
#

why does the bot not auto ban people that mass mention. come on people this isnt the first time in past few days

modest spindle
#

don't care about it

#

and tks

jade sonnet
#

Gaby, would it be possible for you to tell the owner to make it so Dyno can autoban people that do that

#

So it doesn't keep happening

vivid sparrow
#

Antb0t it was just a few pings, cmon dude.

jade sonnet
#

It keeps happening

#

This is the 3rd time

storm cedar
#

a few? I literally got pinged 98 times yesterday and 25 today

vivid sparrow
#

They are different people @tidal meteor

austere hawk
#

A few pings = 15+ pings?

jade sonnet
#

If Dyno is set to autoban, nothing else would need to be done
^

north hearth
#

i mean, it's likely the same person, just diff accounts

vivid sparrow
#

right click "Mark as Read"

#

i mean, it's likely the same person, just diff accounts
@north hearth you dont know that

calm kettle
#

likely is though

plush loom
#

lol didnt get pinged again

calm kettle
#

since it happening daily or whatever

north hearth
#

either way, it's happened 3 times in the last day or so, lol

vivid sparrow
#

I don't get why people get upset for a few pings but ok.

vernal pike
#

it's annoying :P

#

we like not having our phones blow up

north hearth
#

shouldn't be that hard to add in a "if mass pings > x times: auto ban"

vivid sparrow
north hearth
#

i already have that set

vivid sparrow
#

Anyways, we can stop now, thanks โค๏ธ

austere hawk
#

Muting the server doesn't stop pings I think

plush loom
#

Disable pings...

north hearth
#

you have to modify the notification settings to "none"

#

but then you dont get @mentions, ever

austere hawk
#

This is the first time this has ever happened to me from this server, its not like its a common event lol

balmy marten
#

Apologies for peeps mass tagging, we've added some stuff to barry now to be more aggressive on it. Shouldn't happen anymore

stoic totem
#

Looking for voteparty expansion file for PAPI use

plush loom
#

You shouldn't ask in multiple channels. Just be patient.

stoic totem
#

yeah sorry i figured it suited placeholder-api support more

brisk coral
azure vale
#

Hi can i ask when i use placeholders in deluxemenus in the lore section, why doesn't the values appear instead the placeholders Example: '%killstats_kills%' appears

short flicker
#

any idea why does /papi parse me %math_100000000-103% say 99999900 ?

heady falcon
#

Javascript

#

No idea

turbid tide
#

I know why

#

its not just that number

#

it rounds them up

#

actually it just breaks at 100 millions

#

or arround there

#

I tested a lot of numbers and yeah someone messed up xD

arctic loom
#

I'm sure it's an issue with EvalEx which the expansion uses

#

The rounding is set to half_up, which rounds numbers between 0 and 4 downd and numbers between 5 and 9 up.

brisk coral
#

Probs best if you add a papi config option for that

#

So people can choose if they want it

arctic loom
#

Feel free to PR it

severe halo
#

Hey! I was wondering if it is possible to add ( + ) placeholders?

#

Like (placeholder 1) + (placeholder 2) = placeholder 1 + 2

steep thorn
arctic loom
#

That's for numbers tho xP

rare lily
#

To be fair, I think Nashorn also did some evaluation for you instead of loading another lib in the expansion ๐Ÿ‘€

brisk coral
#

nashorn garbage

steep thorn
#

If you want it for non numbers, you could make a simple script with the Javascript Expansion

#

But I honestly don't really see the use for this

severe halo
#

@steep thorn Thanks so much!!

arctic loom
#

I could perhaps add a "join" option to the formatter expansion that allows to combine multiple strings using a specific character

#

The only question is, if I should look for Strings split by spaces or by _

limber ice
#

I want to upload my expansions to the ecloud but I can't find a link to upload my files

limber ice
#

but it's not a new one, just trying to upate statz expansion

#

if I would scroll

arctic loom
#

Go to your expansion, select the one you want to update, click Versions and then "Add Version"

#

I also updated the Formatter expansion with a "join" option. (CC @steep thorn @severe halo)

limber ice
#

Thanks all are updated now

#

why is statz not in expansion list anymore?

warm topaz
#

the ecloud has to refresh for the new downloads to be available ingame

#

also, is the expansion verified?

limber ice
#

it was at one time

arctic loom
#

@limber ice You should use Papi 2.10.9... 2.10.7 is confirmed garbage at this point

#

Broke literally almost everything which 2.10.8 and 2.10.9 reverted

limber ice
#

I'm testing on PlaceholderAPI-2.10.10-DEV-108

warm topaz
#

probably got unverified as it was broken

limber ice
#

I would assume they will verify it again soon

warm topaz
#

i thought that was foxed, but if ur on latest dev build, apparently not

#

ยฏ\_(ใƒ„)_/ยฏ

green osprey
#

Hello guys! Is it possible using %bungee_<server>% placeholder count from more than 1 server, like %bungee_server1,server2%, if it impossible using this placeholder does I have any alternatives?

steep thorn
#

if you don't have a ton of servers, this would be the easiest

green osprey
#

Thank you so much!

limber ice
#

@warm topaz it only gives error if I have my expansion installed

warm topaz
ocean prairie
#

Hello, I have a question!
Am I the only one who has trouble getting the Animations placeholders to work on 1.16.1?
Sorry if it's not very English, I'm using google translate

heady falcon
#

Hey there

#

Im the maintainer of that expansion, what seems to the issue?

ocean prairie
#

It seems not to work in 1.16.1, I used it before in 1.15.2 and it worked perfectly

heady falcon
#

Do you get any errors in the console/log?

#

Can you send screenshot if applicable

#

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

ocean prairie
#

I have nothing annoying in the console :/

#

But the placeholder is acting weird

#

For example for %animation_glow_hello% He gives me glow_hello But without the animation

heady falcon
#

Ah the format has been updated

#

%animation_<glow>Hello</glow>%

ocean prairie
#

Oh sorry ! I am trying to do this

#

Hooow

#

Ah well thank you! x)

austere hawk
#

Hello, i have a little problem ^^

turbid tide
#

good thing its not that big huh? xD

heady falcon
#

No problem ๐Ÿ™‚

tender vaporBOT
#
๐Ÿ“‹ Your paste, *n54b*
https://paste.helpch.at/ujakusogoj

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

austere hawk
#

oh yes

#

i miss that

turbid tide
#

could you give us the javascript?

ocean prairie
#

I just have one last question, for colors I can continue to use &c for example where do I need to use the hex code?

austere hawk
turbid tide
#

no no the script I mean

#

not the error

austere hawk
#

i found the problem --"

#

_<

turbid tide
#

you forgot to use var keyword?

austere hawk
#

no

#

%

#

...

turbid tide
#

oh

#

welp xD

heady falcon
#

I just have one last question, for colors I can continue to use &c for example where do I need to use the hex code?
@ocean prairie You can't use Hex colours yet I'm afraid

austere hawk
#

i search a rope :p

ocean prairie
#

Ah okay, thanks !

#

I still have a problem xD
How to use the options? Even with the wiki I can't understand how it works :/

heady falcon
#

@ocean prairie

%animations_<glow start=&c>Hello</glow>

#

E.g

ocean prairie
#

But with several options?

heady falcon
#

%animations_<glow start=&c middle=&a end=&9>Hello</glow>

#

Keep adding them into the <glow (options here)>Text</glow>

ocean prairie
#

%animations_<pulse color=red pause=3>= = =</pulse>%

#

I try with this and it doesn't work :/

#

And it also doesn't work with color=&c

#

And even your example doesn't work :/

heady falcon
#

It should work fine

#

That looks right

#

Anything in console for that?

ocean prairie
#

No :/

heady falcon
#

I will have to do some testing and update it soon

ocean prairie
heady falcon
#

Hm ok thanks

#

Is the top line working right?

ocean prairie
#

Yes No problem :/

#

@heady falcon I think it's when there is a space in the sentence, because if I don't put all of it is fine

heady falcon
#

Yeah thats strange

#

Are you running latest PAPI version?

ocean prairie
#

I updated it this weekend, so if there haven't been any other versions since yes

#

I even erase the config files in case that does something

quartz moth
#

Hello, I just updated placeholder api and playerpoints are not supported anymore?

turbid tide
#

contact the developer of the playerpoints expansion if there is an expansion if not then contact the developer of the plugin and ask him to update his plugins/expansion

ocean prairie
#

@heady falcon

Animations with <> also don't work
Example % animations_ <glow> ---------- <|||||||||||> ---------- </glow>%
Gives Unknow animation:

And on the wiki glow is called shine but does not work

#

I only say it to warn x)

limber ice
wet basinBOT
#

@limber ice Unknown expansion.

limber ice
#

is Advancements so you can see achievements from vanilla MC?

turbid tide
#

yeah it is

limber ice
#

thanks

proud totem
#

Hello, I want to remove money formatting so I will have for example "Money: 1,005" instead of "Money: 1,05k". How can I do that?

turbid tide
#

%vault_eco_balance_formatted%

austere hawk
#

hii whats the placeholder for total time played?

#

I've been trying to get a placeholder for my leaderboards but statistics is deadass broken

#

idk if its broken on papi's side or their side but it doesnt work

mint fable
#

hmm

austere hawk
#

thanks!

mint fable
#

i thought %player_minutes_played% was a thing

#

might have to use statz

turbid tide
#

it is a thing

#

also seconds

#

and hours

mint fable
#

because, as you said, the statistic expansion is temporarily broken

turbid tide
#

but its under stats

#

statistic

#

not player

#

oh it is?

mint fable
#

ya, I thought there was one under player

turbid tide
#

ah no

mint fable
#

statistic expansion is broken in 1.16 iirc yes

turbid tide
#

there isn't I think

#

dk about that. the only broken thing that I remember being reported is the uptime

#

placeholder

austere hawk
#

so there currently is no placeholder for the top time played?

turbid tide
#

hmm are you sure the statistic expansion doesn't work tho?

mint fable
#

for top time?

austere hawk
#

@mint fable yeah

turbid tide
#

because it does for me

#

and I'm on 1.16.1

austere hawk
#

@turbid tide yes. talked to clip about it

mint fable
#

you'd have to use leaderheads or something

#

does it work @turbid tide ?

#

correctly?

austere hawk
#

Let me check one more time. maybe im doing something wrong

turbid tide
austere hawk
#

Were using leaderheads

mint fable
#

okay

turbid tide
#

works for seconds

mint fable
#

try seconds then

turbid tide
#

oh maybe LH has a bug or something?

mint fable
#

I just know that statistic is broken for a lot of placeholders

turbid tide
#

have you tried parsing the placeholder?

mint fable
#

unless there was a fix I was unaware of

#

try breaking blocks blitzz

#

that was 200% broken, showing the wrong amount

turbid tide
#

nope

mint fable
#

maybe it's because you're on paper

turbid tide
#

first one is me calculating days,hours minutes and seconds

austere hawk
#

currently getting this error when trying to reload papi

turbid tide
#

and after 3 seconds parsing the seconds placeholder

austere hawk
mint fable
#

because it was broken

turbid tide
#

oh wait I might know why it works for me xD

austere hawk
#

I was on the dev build

near inlet
#

Statistics placeholder works but shows wrong data

mint fable
#

I see

turbid tide
#

maybe it s papi that is broken

#

or something

near inlet
#

So while it looks like it's working

turbid tide
#

dk

near inlet
#

It will show wrong playtime for some users

turbid tide
#

SirKillian I compared the data with the one from the minecraft statistic

near inlet
#

Doesn't show wrong data for everyone tho

austere hawk
#

Blitz i was on 2.10.10 dev build and it didnt work

turbid tide
#

as I said could be papi 2.10.9's fault

#

try going to 2.10.6 Gils

mint fable
#

or use statz

austere hawk
#

where can i find the download? clip send that version in discord

near inlet
#

I've had another plugin that didn't use papi show wrong playtime

turbid tide
#

Version History

#

tab on spigot

near inlet
#

So it might have to be a mc issue

#

Idk for sure tho but yeah

#

Half of my players show the right data and the other half is wrong

#

It also shows stuff like This

#

No perms to upload image...

tender vaporBOT
#

@near inlet,

Uploading Images

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

near inlet
#

That's just dumb but ok

mint fable
#

not that dumb when people can embed anything they want

near inlet
#

Basically it shows 50h

turbid tide
#

ye

near inlet
#

Instead of 1day 16h

turbid tide
#

something must be broken with timers

mint fable
#

it's not a timer

turbid tide
#

because someone oppened a papi issue about server uptime

mint fable
#

it uses minecraft statistics

turbid tide
#

showing 2d 26h

near inlet
#

Ye

turbid tide
#

well yeah minecraft dates or something

austere hawk
#

alright so /papi reload works on 2.10.6 but it just crashes on 2.10.9

near inlet
#

The placeholder is getting the wrong data from somewhere it feels like

#

But not for every player

turbid tide
#

yeah dk

near inlet
#

Which is weird

#

I tried to look if it had to to do with ppl on different protocol

turbid tide
#

the server uptime one was weird as well. it was suppose to be like 2d 6h but it was 2d 26h or something

near inlet
#

But that didn't matter

austere hawk
#

So if im right theres currently no placeholder to show top time played at all?

near inlet
#

Surely it will be fixed soon

turbid tide
#

well if statistic doesn't work

#

then you'll have to use another plugin

austere hawk
#

I mean... clip said he would fix it like 3 weeks ago xD

turbid tide
#

like Statz to get the playtime

austere hawk
#

do you know any plugin blitz?

#

ill check that one out

near inlet
#

Is the placeholder been broken for 3 weeks?

mint fable
#

only like

#

the 3rd or 4th time it was mentioned ||statz||

near inlet
#

Here is the problem with that

#

Using a plugin means all your playtime will be inaccurate

#

Unless you use it from the start of the server

proud totem
#

%vault_eco_balance_formatted%
@turbid tide still have '1,05k'

turbid tide
#

?

#

isn't that what you asked for/

#

a placeholder that does that?

austere hawk
#

Where can I find the placeholders for statz tho? it doesnt show any link or placeholder on the spigot page of statz

turbid tide
#

oh man

#

my bad

proud totem
#

I want to remove money formatting and have '1,055' instead of '1,05k'

turbid tide
#

its %vault_Eco_balance_fixed%

#

xD

#

yeah my bad

#

read the message wrong

austere hawk
#

thanks

turbid tide
#

read the exact opposite of what you said xD

proud totem
#

its working, thanks! โค๏ธ

mint fable
#

i also read it backwards

turbid tide
#

xD

#

I swear to god I never saw this before

#

this shows when you hover over plugins in /plugins

austere hawk
#

why is placeholders so complex man

mint fable
#

I assume you don't want it formatted

#

because leaderheads needs numbers

#

@austere hawk this

austere hawk
#

yeah

#

Im just trying to get a top time played leaderboard for leaderheads.

mint fable
#

ye so don't format it

#

test them with /papi parse me <placeholder>

#

you need a value with only numbers

#

and I think players need to login at least once to be tracked by leaderheads

austere hawk
#

what does this mean?

#

The parse me command reacted with ''formated_dhm"

mint fable
#

you can't connect to the cloud

austere hawk
#

do i use that placeholder then?

mint fable
#

uh

austere hawk
#

why can i not connect to the cloud? I've been trying to set this specific leaderboard up for like a week now and its still not working xD

limber ice
#

@austere hawk is that a statz placeholder?

austere hawk
#

yes

limber ice
#

try to get the update now they fixed it today

austere hawk
#

where can i find that?

limber ice
#

/papi ecloud download statz

austere hawk
#

I did that like half an hour ago

#

maybe less

limber ice
#

you do have latest papi ?

#

I did it a few hours ago

austere hawk
#

2.10.9 kept crashing and stuff so im on 2.10.6 now

near inlet
#

uhm guys

#

question

limber ice
#

2.10.6 uses old expansion

austere hawk
#

But 2.10.9 doesnt allow me to do /papi reload

#

it just gives errors in the console

#

and for some reason i cant connect to the cloud aswell

limber ice
#

yes thats a bug they are working on

#

I assume your running statz 1.5.4

austere hawk
#

I have 1.6 on my server

limber ice
#

you will need 1.5.3-1.3.1