#placeholder-api

1 messages · Page 133 of 1

brisk coral
#

Why can you only get it with BTC lol

turbid tide
#

Well the paymants are offline. Idk why. Either he just doesn't want to sell plugins that don't get updates or he got banned by PayPal as well just doesn't want to say it

meager nymph
#

this one is also fine

turbid tide
#

ye but he said he can't afford premium plugins.

meager nymph
#

oh yea bruv

turbid tide
#

any free ones I can find are either outdated or no support for PAPI and no placeholders

#

and seems like the premium ones don't have PAPI support either

shrewd verge
#

there is no placeholderAPI in it

#

but i still got that problems with multichat

#

one dumb space between the message and the name

light comet
#

anyone have the link to the updated autorank expansion?

mental night
#

if its updated it will be updated on the ecloud list

light comet
#

Not necessarily.

#

There was a file floating around but i cant seem to find it

mental night
#

🤷‍♂️ guess it shant be found

light comet
#

ok.

limber ice
#

I heard there as a update to autorank expansion?

limber ice
#

I found a pull request from DeathRealms, will that update the expansion?

uncut axle
#

%javascript_{statistic_mine_block:STONE}>=36%

Is that how you use the JS placeholder?

rare lily
#

No

uncut axle
#

Refers to a file doesn't it

formal spruce
#

Hello i get this error every time PlaceholderAPI starts

#

[13:05:12 ERROR]: [PlaceholderAPI] expansion class PlaceHolderHook is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use me.foundfile.worlds.Main

rare lily
#

I don't think that's enough info

#

Also, it could be the expansion that needs to be updated

formal spruce
#

ill check

#

still

#

i manual downloaded it and still the error exists

limber ice
#

I was wondering why the latest version Autorank expansion is not available on ecloud?

#

Also Statz, mcMMO and Bungee are in gold when I run list installed

meager nymph
#

download from ecloud

limber ice
#

Cosy you talking to me?

meager nymph
#

yea]

limber ice
#

I got latest Autorank expansion from github, I downloaded it via github desktop and complied it

#

when you use /papi ecloud download autorank it gives you the 1.1.0 version not 1.1.1

meager nymph
#

download it manualy

limber ice
#

which one? I have the latest Autorank, and Statz but they are in gold

meager nymph
#

cuz you downloaded it from git

limber ice
#

Statz is from ecloud and it is still gold

meager nymph
#

yea

#

you downloaded it manually

#

right

#

it's not the same version as the command

limber ice
#

no I used the commands

meager nymph
#

oh

limber ice
#

I downloaded AR manually

meager nymph
#

why botherd then ?

#

if it work, it works right

#

it's the same thing with bungeecord expansion

limber ice
#

cause things say I need to update the it is updated

#

I discovered Dchat is not working

meager nymph
#

statz is by you

limber ice
#

yes thats why I want things to work right for Statz

meager nymph
#

I'm not sure why it's gold

#

what papi version do you have

limber ice
#

it works fine even if it's gold, just papi reload on 1.16 breaks the list feature

meager nymph
#

aah

south briar
#

Dev of UltraPermissions passed away, his wiki is now gone for some reason. Bought the plugin the day he passed (Didn't know it) and now I am just doing random stuff to set it up.. No clue. Anyways I need to link it with DeluxeChat and thought it needed PAPI but can't find any expansions

high star
#

%vault_prefix%

#

(Vault's an API plugin to basically provide a common way of accessing prefixes, economy, and perms, regardless of the plugin that provides each of those. UPerms should support it.)

austere hawk
#

Hello there! I want to make custom placeholders with skript, (ersatz plugin), but if i download skript expansion with /papi ecloud download Skript, it downloads, but if i type /papi list, it doesn't show skript expansion. (Sorry for my english.)

turbid tide
#

did you do /papi reload

#

?

near wolf
#

hi

#

what is the placeholder for color

turbid tide
#

color?

#

what color exactly ?

near wolf
#

Well, im using UltimateChat and when i do so, the suffix colors dont show, its just plain White

turbid tide
#

unless you can use this one %uchat_placeholder_<uchat placeholder name>% - Get any of placeholders from uchat;

near wolf
#

yeah i have searched there

turbid tide
#

well if its not on their wiki believe me its not here either.

near wolf
#

their discord server is dead :/

turbid tide
tranquil sapphire
#

Is there a way I can work out the KD of players using the math placeholder?

#

Using %statistic_player_kills% and %statistic_deaths%

turbid tide
#

its just k/d

#

%math_[precision:0]{statistic_player_kills}/{statistic_deaths}%

tranquil sapphire
#

Wicked

#

I didnt do it in curly braces

#

ty

turbid tide
#

you can change the precision from 0 to 1,2,3 etc. depending on how many decimals you want to have

#

👍

tranquil sapphire
#

Lol doesnt work?

turbid tide
#

oh 1 second

#

ugh are you sure that /papi parse me %statistic_player_kills% and /papi parse me %statistic_deaths% work?

tranquil sapphire
#

They're working fine on the hologram

turbid tide
#

and if you do /papi parse me %math_[precision:0]{statistic_player_kills}/{statistic_deaths}%

tranquil sapphire
#

Says "the provided value was invalid! reason: Division undefined"

turbid tide
#

ugh maybe it doesn't let you divide 0 by 0

#

hmm

tranquil sapphire
#

Shall I get a kill and see?

turbid tide
#

try /papi parse me %math_[precision:0]{statistic_player_kills}+1%

#

do this first

#

just to make sure its not something else

tranquil sapphire
#

says 1

turbid tide
#

then yeah get a kill and maybe a death

tranquil sapphire
#

yea i got 1 death and its fixed it

#

So if the person doesnt have a kill or a death its going to display that?

turbid tide
#

yeah I guess so. I think you'll have to make a javascript to fix it.

eager panther
#

hey is this the correct PAPI /papi parse me %objective_score_ts_KillPhantom%

#

i use it and it doesn't change when i kill a phantom

#

it showed 0 but after a kill, the /papi parse command still showed 0

#

is %objective_score_ts_KillPhantom% a correct PAPI?

turbid tide
#

you can just use the statistic expansion

#

%statistic_kill_entity:<mob>%

eager panther
#

ok ty

languid cradle
#

Looks like on PAPI PlaceholderAPI.registerExpansion();
Was removeD?
Anybody know what the new method is?

turbid tide
#
    @Override
    public void onEnable(){
        // Small check to make sure that PlaceholderAPI is installed
        if(Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null){
              new SomeExpansion(this).register();
        }
    }```
#

the wiki

languid cradle
#

❤️

languid cradle
#

um

#

placeholder appears registered when I do papi info

#

but won't actually work

turbid tide
#

have you tried debugging?

#

maybe your code has some problems. idk. if you did then please go to #development , give them your class and tell them what the problem is please.

languid cradle
#

just about to try it

#

by returning placeholder value something else

#

oh yeah

sullen plank
#

Hello i am trying to get the guild name in front of the display minecraft name. i am trying this format in essentials format: '{%guilds_prefix%} <{DISPLAYNAME}> {MESSAGE}' but it aint working. i enabled it on the guild plugin. can some1 help me?

turbid tide
turbid tide
#

why?

#

he didn't link

limber ice
#

hes using ess chat

turbid tide
#

ye

#

with GUILDS

limber ice
#

is guild a pay plugin

turbid tide
#

ye

#

its Glare's plugin

limber ice
#

ok

limber ice
#

but it's not a guild issue, it's a ess chat setup issue

turbid tide
#

doesn't matter. but ok

#

we were asked to ask people to link when we see they use premium plugins

limber ice
#

I deleted my message, he most likely didn't' see it

turbid tide
#

dw about it. I just told you so you know for the future

elfin oak
#

For some reason placeholders arent working i have them installed but they aren't actually working like i cant get my essentials balance to show and i cannot get my luckperms to show up either

novel moss
#

What placeholders did you try?

#

And did you do /papi reload

pseudo pewter
#

Is there any way to parse a placeholder for everyone online your server?

#

Without specifying each individual username?

turbid tide
#

I don't think there is a way that's implemented in the plugin

pseudo pewter
#

Maybe with JavaScript expansion?

turbid tide
#

well its definitely possible to make it with java and probably with JS as well but yeah its not implemented directly in the plugin that's what I meant

pseudo pewter
#

Oh okay, thanks!

turbid tide
#

I mean its still going to be a bit more advanced stuff so if you don't know a bit of javascript and spigot api not going to be possible at all.

light comet
#

Question, does anyone know why %player_exp% returns a percentage to next level in the Player Expansion

turbid tide
#

I am pretty sure that is what it was meant to be. There is no placeholder that just returns xp. There is one for level of you want tho.

#

Yeah I know that it feels like it should be returning the xp amount but it's what the devs decided it will do

light comet
#

so theres no way to get your exact xp amount? @turbid tide

jovial root
#

Is there a working PlotSquared PAPI extension?

warm topaz
#

afaik the expansion is built in with v5

jovial root
#

Doing a parse right now and it isn't working

near wolf
#

hi guys

#

.... [11:26:05 ERROR]: [PlaceholderAPI] expansion class DSRVExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use github/scarsz/discordsrv/dependencies/google/common/collect/ImmutableMap

#

i did /papi ecloud download dsrv

#

but its still outdated?\

mental night
#

the author needs to update it

obsidian pasture
#
java.lang.NullPointerException: null
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.createExpansionInstance(LocalExpansionManager.java:343) ~[?:?]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:138) ~[?:?]
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ~[?:?]
        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654) ~[?:?]
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
        at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:257) ~[?:?]
        at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:248) ~[?:?]
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
        at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:605) ~[?:?]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$2(LocalExpansionManager.java:288) ~[?:?]
        at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46) ~[?:?]
        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.4.jar:git-Purpur-828]
        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.4.jar:git-Purpur-828]
        at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1371) ~[patched_1.16.4.jar:git-Purpur-828]
        at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:387) ~[patched_1.16.4.jar:git-Purpur-828]```
#

I'm trying to download a placeholder expansion, but that error pops up

#

I'm using 1.16.4

mental night
#

yeh i dont think 1.16.4 is support by some of the expansions

#

I still wouldnt run 1.16.4 just yet

turbid tide
#

so theres no way to get your exact xp amount?
@light comet Nope. Not with the default PAPI expansions at least.

marble briar
narrow stump
#

Hey, this morning after restarting our server, almost every plugin we had gave this error in console, caused the screen to hang, and we had to kill the screen and restart it. (Using Tuinity on 1.16.3)
https://paste.helpch.at/kidehevoci.sql
It looks like others have reported similar errors previously on this discord but I wasn't able to find any answers about it. Any help is appreciated, thanks in advance (tag me if you respond)
Since it seems like the issues are related to deluxechat and townychat as well, we're on PAPI v2.10.9, townychat v0.72, and deluxechat v.1.16.1.

turbid tide
narrow stump
#

Okay, done.

turbid tide
#

hmm when have you purchased DChat if you don't mind asking?

narrow stump
#

The plugin isn’t owned by my spigot account; it’s under the server owner’s account

brisk coral
#

?notowner

tender vaporBOT
#
FAQ Answer:

Not the owner of the server?
If you're not the owner of the server and you're the one requesting the support you'll need to first get the owner who purchased the plugin to join and run through the verification system listed in #spigot-linking, once linked they just need to give us the thumbs up that you're with them.

narrow stump
#

Alright, thanks for your time~

violet yoke
#

hi i have problem, papi not load player extensions, i need do /papi reload and them it work..

mellow urchin
#

Is it possible to create my own placeholder per server? I would like to give each server a unique name, and then display in a prefix from Luckperms. I think I can use Javascript, but is there an easier way?

balmy marten
#

%server_name%

#

Which is set in the papi config iirc

mellow urchin
#

Yeah, that is the Bungee name, but I'd like a different colorful name.

#

Spose I could just change the bungee name, but it will likely impact other plugins etc

#

Was looking for a general solution

balmy marten
#

Not sure what you mean by bungee name?

carmine veldt
#

%server_name% isn't the bungee name iirc

#

I thought it was the name set in server.properties

balmy marten
#

I thought it was set in papi cause we couldn't read that file anymore

mellow urchin
#

The name I have given the server in the Bunge config.. right?.. Wait there is a server name setting in the PAPI config

balmy marten
#

but could be wrong

carmine veldt
#

which shouldn't affect anything, I've actually never seen it used outside of that singular placeholder

#

o i didn't know it changed cube

balmy marten
#

Yeah think it did and broke some shiz

carmine veldt
#

well try that then fetxu

balmy marten
#

so we changed it to just be hardcoded in the papi config

mellow urchin
#

That didn't work

carmine veldt
#

the key is "server_name" btw

#

in the papi config

mellow urchin
#

Yeah, didn't change the %server_name%

carmine veldt
#

did you /papi reload?

mellow urchin
#

Yeah, lemme try again

#
  bungee:
    check_interval: 30
  player:
    ping_color:
      medium: '&e'
      high: '&a'
      low: '&c'
  server:
    tps_color:
      high: '&a'
      low: '&c'
      medium: '&e'
    server_name: TRIED THIS OUT FOR A TEST```
#

%servername% placeholder

carmine veldt
#

%server_name%, and that looks right to me

#

if a reload isn't working, try restarting

mellow urchin
#

Returns the name in the Bungee config and LP config

#

It could be LP is overriding it

carmine veldt
#

impossible

#

well not technically impossible just extremely improbable

fair elm
#

Could %otherplayer_hasperm_playername_perm_permstring% have compatibility for offline players?

fair elm
#

or the Luckperms placeholder?

frigid prairie
#

Is it possible to have a default value for a placeholder if it's empty? So for example if %rank_name% was empty it would replace it with "No Rank" or "None" or something?

Edit: found the javascript expansion, gonna use that

violet yoke
#

REPLY hi i have problem, papi not load player extensions, i need do /papi reload and them it work..

obsidian pasture
#

Got this error when trying to download placeholders

tender vaporBOT
#
FAQ Answer:

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

obsidian pasture
#

already did that

#

like yesterday

#

the error above happens when I do /papi reload

#

not /papi ecloud download

#

so the jar is definitely there and my server allows connections. it just doesn't load the JAR

warm topaz
#

try seeing if the dev builds fixes it.

turbid tide
#

@mellow urchin you can always use javascript if that one doesn't work.

#

Is it possible to have a default value for a placeholder if it's empty? So for example if %rank_name% was empty it would replace it with "No Rank" or "None" or something?

Edit: found the javascript expansion, gonna use that
@frigid prairie there is also the defaultvalue expansion https://api.extendedclip.com/expansions/defaultvalue/ if you want something that does exactly that.

turbid tide
#

Could %otherplayer_hasperm_playername_perm_permstring% have compatibility for offline players?
@fair elm the expansion dev needs to add support for the OfflinePlayer. And I'm pretty sure you can't get permissions from OfflinePlayers.

#

tho I do think you can with LP.

mint fable
#

there are no plugins that I know of to let you access permissions of offline players

#

lp included

fair elm
#

you can acces with lp

#

I just tested

turbid tide
#

oh does it not allow that? I thought you could have accessed it with LP's api

mint fable
#

offline?

#

Maybe it's new

fair elm
#

/lp user <name> permission info works fine with offline players

mint fable
#

because I know it did not exist in the past as you'd have to make a call to the database every single time

#

that is not a placeholder fireFerry...

fair elm
#

I know

#

but you can check it with the command, but not the placeholder

mint fable
#

We're talking about placeholders though, right?

#

Unless I'm off track

turbid tide
#

ye he wants to do it with placeholders

fair elm
#

yeah, but I was just saying the command can access it but not the placeholder

mint fable
#

ya I don't think it'd be possible because you'd have to make a call to the database every time the placeholder is called

#

which could be many multiple times a second

turbid tide
#

that makes a lot of sense on why they didn't add it to the LP placeholder

#

xD

fair elm
#

well it's really sad though

#

I like actually need it for something xD

mint fable
#

yep, so unless there is a plugin out there that keeps all that info in memory (most likely not as that would be a waste of resources) it most likely won't be possible

#

Somebody could maybe add it, but they'd have to limit the amount of database calls it makes so it would only update every so often

fair elm
#

yeah

#

and there's no way I can make it myself xD

#

like making a placeholder myself to do it?

turbid tide
#

well not specifically you. he just said it would be possible to do it. its just not worth it I guess.

fair elm
#

well I'm pretty much screwed without it xD

turbid tide
#

welp I'm afraid if you want this to become a thing you'll have to ask a dev to make it for you and most likely no one will do it for free. and as cj said its not rly worth it. It just sounds like a lag machine.

fair elm
#

Well I don't want to use it continuously, I want to use it for a system to punish players

hardy sage
#

i know its going to be something simple i missed but when i change the config server_name it keeps changing back to A Minecraft Server anyone know what ive done wrong

turbid tide
#

you change it and then do /papi reload and it changes it back?

hardy sage
#

yep

turbid tide
#

did you save the config?

#

before doing /papi reload

hardy sage
#

yep ill try it again tho

#

im using notpad++ and it says that it was modified by another program and reverts back to default

turbid tide
#

oh lol. that's weird

hardy sage
#

could it be a bug not sure if it happened to someone else

turbid tide
#

I mean its something to do with notepad++. I remember this happened to me as well but don't remember why

hardy sage
#

i edited it with normal notepad still does the same thing

turbid tide
#

hmm

#

does it happen if you edit anything else?

#

or just the server name

hardy sage
#

its just the server name

#

thats so weird aswell

turbid tide
#

what server name are you trying to put?

hardy sage
#

&lTest&e&lCloud

#

ive got about 2 hours to fix it before my deadline

turbid tide
#

ok can I see the entire line?

#

like not just that one

#

not just the server name&

hardy sage
#

server_name: A Minecraft Server

turbid tide
#

try this server_name: '&lTest&e&lCloud'

hardy sage
#

it didnt have the ' around it by default so i didnt know it needed them that might need to be changed so people dont try for 20 min like i did

turbid tide
#

it works now?

#

the thing is its not needed

#

unless you use color codes

#

I forgot that.

#

like that's how the plugin generates it

#

its not put there by anyone else

hardy sage
#

the ' around the coloured text wasn't there when the plugin generated the file wish it did that by default thanks so much fix the issue

turbid tide
#

well yes. because by default the text doesn't have color codes. So the code sees the text and generates the line based on that

#

no problem. glad it works now

hardy sage
#

i never used this plugin before is so useful saves me alot of work in the long term

turbid tide
#

yes it does. Its one of the greatest free plugins out there.

#

also you should look into javascript placeholders. Very useful

#

if you want to create your own placeholders

hardy sage
#

is there a link to the info about it somewere?

turbid tide
#

yep there is a wiki give me 1 min

#

oh shit I'm in a game of CSGO rn and I forgot

#

getting the link rn xD

hardy sage
#

its fine @turbid tide when your free can i dm you about some questions and help with other stuff

turbid tide
#

I mean why DM? that's why there is this discord server.

#

but yeah as the name of the expansion says you need to know at least some basic javascript.

hardy sage
#

okay

turbid tide
violet yoke
#

anyone can help? i have problem, papi not load player extensions at start, i need do /papi reload and them it work..

hardy sage
#

is there a place holder that i can put my links as?

turbid tide
#

huh?

#

explain please. Didn't rly understand

#

@hardy sage

hardy sage
#

is there a placeholder that i can put my website and discord links in so i can just type the placeholder for them instead

turbid tide
#

you could use javascript but I don't think the link will be clickable tho.

#

but yeah javascript is the only one I think

#

I mean the code is pretty simple for something like this

#
var arg = args[0]
switch (arg) {
  case "discord":
    "Discord-Link-Here"
  case "website":
    "Website-Link-Here"
  case "vote":
    "Vote-Link-Here"
  case "youtube":
    "Youtube-Link-Here"
}```
#

I think this is all you need

turbid tide
#

this is a weird one. Never had it happen and never seen it here before: https://paste.helpch.at/xazepiqoni.apache I have PAPI on all my servers (not on proxy of course) and I have the Bungee expansion on all servers(again not on proxy xD). When I try parsing the placeholder from another server I get that error but when I parse it from the server I tried parsing it for it works. I do have to mention I have different versions of PAPI on each server. Can't rly upgrade rn bcz people are online but if its that I just need confirmation. If its not then I need help. xD

#

I have PAPI-2.10.6-CustomBuild on the one I try to parse the placeholder for and I have latest dev build (111) on the others.

#

custom build is just 2.10.6 but with small changes made by Gaby for data in files to be saved or something. I think it was fixed in the other versions tho I just forgot to update.

turbid tide
#

Ok so I updated PAPI - 111 on all servers, Latest bungee on all servers Bunge - 2.0 and my actual bungeecord version is bungeecord-1539 which is the latest one at the moment

#

I still get the error

#

so its nothing to do with PAPI version

brisk coral
#

Well I mean seems someone forgot to register the plugin channel or shit breaking before that's done

turbid tide
#

well I mean I assume people have tested the latest build already and doesn't seem like someone reported it before

#

and I don't get any other errors on server startup or anything like that. Fully restarted my servers and my bungee

brisk coral
#

Well I mean might just be the expansion cucked?

turbid tide
#

huh I guess. But 2.0 has been out for a while as well.

brisk coral
#

Bully cube for source if it ain't os and fix it reversed_fingerguns

turbid tide
#

ye since May I guess

#

ye. Did I mention I never worked with Bungee api?

brisk coral
#

Great time to learn

turbid tide
#

ye

#

when my time is limited as shit.

#

I have more time to learn

#

because that's how life works 😦

#

and also I don't even know if its bungee expansion since that has been out since may I think

#

oh wait

#

it spams me every 3 seconds

#

as well

#

since I update the bungee expansion every 3 second

#

(config.yml option)

#

yoooo are you fucking kidding me?

#

whever updated the expansion got me good

#

they fucking changed the jar name from expansion-bungee to expansion-Bungee

#

and I had 2 expansions in the expansion folder

#

the old one that I had before updating to 2.0

#

and the 2.0

#

one#

obsidian pasture
manic thicket
#

Hi. I'd like to add a placeholder to PAPI. How would I go about doing that?

fast gull
#

hi

#

eh

#

is this the place to get help about "title manager"? i jsut clicked "get support" on the plugin page

mental night
fast gull
#

oh ok sry i am new

#

i am just having issues with the place holders

mental night
#

Have you downloaded the expansions accordingly?

#

Which placeholders are you having issue with

fast gull
#

i reaD the plugin page and saw nothin about it. let me search again

#

I am having issue with "%combatlogx_status%"

#

every time someone attacks someone, the scoreboard will disappear

upbeat yew
#

Can I get %math% function without the zeros like I have: "Players online: %math_{server__online__world1}+{server__online__world2}%" will throw this: Players online: 0.000 | Can somebody help me please with that? I want to get players from more than 4 worlds etc. and I want to have it in One number, but without the dot and 3 zeros...

mental night
#

[precison:0] iirc

fast gull
#

huh

mental night
#

precision *

#

for the question above

fast gull
#

oh

#

so what about the scoreboard getting suddenly hidden for both players that are in combat

turbid tide
mental night
#

Sounds like combatlogx end if it’s disappearing upon combat

fast gull
#

yes but then the scoreboard doesn't come back. i also use Place holders API

#

I'll check console for Info

#

nothing

mental night
#

Still sounds like combatlogx end placeholderapi wouldn’t / shouldn’t make your scoreboard disappear it’s probably the way combatlogx does it’s placeholders not really sure as never really used it myself

fast gull
#

Idk which plugin causes it. because it's 3 plugins that makes it possible.
place holders API
title manager
combatlog X

#

I'll check. maybe ill make a post on the forums if it won't work

mental night
#

Just to inform you there is a specific support discord for combatlogx

#

I can message you it if you’d like

upbeat yew
#

Hello, can I get %math% function without the zeros like I have: "Players online: %math_{serveronlineworld1}+{serveronlineworld2}%" will throw this: Players online: 0.000 | Can somebody help me please with that? I want to get players from more than 4 worlds etc. and I want to have it in One number, but without the dot and 3 zeros...

#

It's possible to change the plugin Inside please?

#

(expansion)

turbid tide
#

no need to change the plugin inside. Sellinq told you to use precision

#

%math_[precision:0]{serveronlineworld1}+{serveronlineworld2}%

#

like this ^

upbeat yew
#

Oh sorry, I thought it was for another person

turbid tide
#

just add this block inside the placeholder [precision:0]

#

no worries.

#

but yeah no need to change the plugin

upbeat yew
#

Okay, I will try it

turbid tide
#

there's a function inisde the placeholder already

upbeat yew
#

Yeah, it's working, thank you very much!

turbid tide
#

👍

gloomy crater
#

how exactly does the scoreboard objective placeholder work. I cant seem to parse the scores of a certain objective

astral solstice
#

hi i have downloaded mysql expansion how i start

#

which datas i must set in the config to connect to database

dense trail
#

Is there a plcaeholder for unique player joins?

warm topaz
#

server expansion

#

%server_unique_joins%

dense trail
#

You're amazing 🙂

warm topaz
#

👍

astral solstice
#

hmm no answer ?

#

how to connect to my database ?

warm topaz
#

probably in the config?

astral solstice
#

i have in there premade things

#

can i delete all and make a new one ?

#

money:
host: localhost
port: '3306'
database: minecraft
username: root
password: password
query: SELECT name FROM bedwars WHERE wins = 3

#

i have make this example

#

but when in game use placeholder %mysql_money%

#

it does nothing

#

money is only a example later i will make a toplist

mental night
#

@dense trail Novice

dense trail
#

@mental night xoxoxoxoxoxo

astral solstice
#

Help Chat 😄

vivid sparrow
#

try to limit the result to 1 value @astral solstice

#
SELECT name FROM `bedwars` LIMIT 1 WHERE wins = 3```
hardy sage
#

@turbid tide thanks for the help on the custom placeholders i used the basic one as i was confused by the example you gave it works well tho 🙂

tender vaporBOT
#

@hardy sage,

Hey!

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

haughty hare
#

What's the placeholder API to grab a vanilla team colour? I found the list on the wiki very confusing

haughty hare
#

Found it

terse sapphire
#

hello the placeholder for Autorank doesnt seem to be working

#

Failed to Register Expansion from Expansion-autorank.jar

#

and also from DiscordSRV.jar

silent basin
#

Placeholders not working on my scoreboard, it just shows up %autorank_total_time_of_player%

terse sapphire
#

@silent basin which scoreboard are you using?

terse sapphire
#

when i do /papi reload it says : No expansions were registered

severe sky
#

Hello

#

@staff

meager shoal
#

Like these people, my autorank placeholder isn't working for my scoreboard. Even with the ecloud downloading command, it will not register. I've also physically placed the JAR into the folder and it still didnt work

turbid tide
#

Ye the autorank expansion is broken. They use an old method. I remember there being an updated one but I can't find a link

warm topaz
#

deathrealms github

#

he has a fork for it and i believe a release tag in his fork repo

#

@terse sapphire discordsrv expansion will also need updating by the developer

turbid tide
meager shoal
#

thank you 🙂 appreciate it

warm topaz
#

@mossy helm can u try the papi dev build please. there was issues similar with the time so it might fix it. also make sure ur on latest statistic expansion

turbid tide
#

latest dev means build 111?

warm topaz
#

wait so like the placeholder is saying 1 hour for example while the mc statistics are saying 3 hours? (just example)

#

wierd

#

not sure tbh

turbid tide
#

I'm telling you I trust the statistic expansion more than the LPR plugin

manic thicket
rare lily
#

No, you don't need to extend that if it is separate

#

However, add spigot dependency if you want separate

gilded needle
#

Hello I need help with LocalTime PlaceholderAPI. I am in Europe/Bratislava and we have 13:16 . I added this placeholder %localtime_timezone_440,dd.MM HH:mm:ss% but it is showing one hour less (12:16) Some ideas how to fix?

brisk coral
#

It uses the servers timezone

gilded needle
#

Oh 😄

#

thanks

turbid tide
#

it shouldn't tho

#

since he uses a custom timezone

#

I'm pretty sure the placeholder is broken

#

I've had the same problem

brisk coral
#

"localtime tomezone" :what:

turbid tide
#

any timezone I'd use it'd just show my timezone

brisk coral
#

Do y'll just suck at naming shit then?

turbid tide
#

aboody is at fault I think

#

well actually nvm

#

I think I recommended the name xD

#

but yeah you can use localtime as in server time

#

or you can specify a timezone

#

but its broken

meager nymph
#

%vault_eco_top_player_1%

#

have you installed the expansion ?

#

do /baltop

#

and send screenshot

#

%vault_eco_top_balance_formatted_1%

#

try this

#

weird

#

%vault_eco_top_balance_commas_1%

#

I have this and it works fine

#

what 0

#

what are you trying to return

#

the number or the player

#

%vault_eco_balance%

#

what doen this return

#

does it return pog ...

#

%vault_eco_top_balance_1%

#

any console messages ?

#

reload your whole server

#

maybe it doesnt work for 1 person

#

try a alt

#

on the same server

indigo anchor
#

Hello i have problem, when im using %statistic_mine_block% or other placeholders, when im example break the block, it will not add 1 but 2, do someone know how to fix it?

obsidian pasture
#

I have a /statsof (player) command using the ParseOther placeholder to basically show the stats of the specified player. However, the ParseOther placeholder doesn't work when the player is offline. Is there a way around this?

indigo anchor
#

Hello i have problem, when im using %statistic_mine_block% or other placeholders, when im example break the block, it will not add 1 but 2, do someone know how to fix it?
@indigo anchor the %statistic_jump% for example works fine, idk why

ancient solar
#

Hi! Im looking for support w one placeholder
My idea is to show a message in case that one server is offline, and if online to Tp.
Tried using %pinger_isonline_(my server ip)%
And MyCMD script is $Script$%if%$pinger_gameversion_testplugins.com:25565=="Online"

#

But isnt working.. Any other idea?

upbeat yew
#

I need help with Math placeholder please, how to make it automatically update? When players join some worlds, the number still showing 0, but when I add this placeholder manually, It will show 3 players...

#

Bcs, there are 3 players in the world...

high star
#

Updating placeholders is the responisiblity of wherever you've put the placeholder

upbeat yew
#

But I don't want to update it manually

mental night
#

Have you got a update interval

#

or anything

upbeat yew
#

There is not an interval in config :/

#

Can someone help me please with the Math expansion? It doesn't update automatically, and there is no interval in config 😦

austere hawk
covert sable
#

Hey, during my automatic server restart, I got this error and it caused the server to crash:

[16:11:41] [Server thread/INFO]: [TAB] Disabling TAB v2.8.2
[16:11:41] [Server thread/INFO]: [TAB] Failed to disable [16:11:41] [Server thread/INFO]: java.lang.NoSuchMethodError: me.clip.placeholderapi.PlaceholderAPI.unregisterExpansion(Lme/clip/placeholderapi/expansion/PlaceholderExpansion;)Z
[16:11:41] [Server thread/INFO]: at me.neznamy.tab.platforms.bukkit.features.TabExpansion.unload(TabExpansion.java:22)
[16:11:41] [Server thread/INFO]: at me.neznamy.tab.shared.Shared.lambda$2(Shared.java:123) [16:11:41] [Server thread/INFO]: at java.util.ArrayList.forEach(ArrayList.java:1259)
[16:11:41] [Server thread/INFO]: at me.neznamy.tab.shared.Shared.unload(Shared.java:123) [16:11:41] [Server thread/INFO]: at me.neznamy.tab.platforms.bukkit.Main.onDisable(Main.java:142) [16:11:41] [Server thread/INFO]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:323) [16:11:41] [Server thread/INFO]: at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:360) [16:11:41] [Server thread/INFO]: at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:427) [16:11:41] [Server thread/INFO]: at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:420) [16:11:41] [Server thread/INFO]: at org.bukkit.craftbukkit.v1_8_R3.CraftServer.disablePlugins(CraftServer.java:338) [16:11:41] [Server thread/INFO]: at net.minecraft.server.v1_8_R3.MinecraftServer.stop(MinecraftServer.java:456) [16:11:41] [Server thread/INFO]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:652) [16:11:41] [Server thread/INFO]: at java.lang.Thread.run(Thread.java:748)`

tender vaporBOT
#

@covert sable,

Possible Solution Found:

As part of the 2.10.7 PlaceholderAPI update we broke some methods, please update to the latest PlaceholderAPI release found here to fix these issues.

covert sable
#

LOL

#

ok

manic sky
#

Hi lol

steel elk
#

I’m just curious how and if the bot will reply to this

#

“i dont know what PlaceholderAPI is”

indigo anchor
#

Hello i have problem, when im using %statistic_mine_block% or other placeholders, when im example break the block, it will not add 1 but 2, do someone know how to fix it?
the %statistic_jump% for example works fine, idk why

turbid tide
#

use the latest version of the Statistic expansion and latest dev of PAPI

indigo anchor
#

@turbid tide still doesnt work, i downloaded manually statistic expansion and the newest jar from github

tender vaporBOT
#

@indigo anchor,

Hey!

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

indigo anchor
#

Sorry for ping.

turbid tide
#

from github?

#

not from jenkins?

indigo anchor
#

yes

#

From here

turbid tide
#

ugh I think that's just the releases

#

not the dev builds

#

might be wrong tho

#

yeah

#

its just the release

#

download the dev build

indigo anchor
#

Kk thank you i will try

#

Still same problem..

turbid tide
#

hmm

#

What's your server version again?

indigo anchor
#

1.16.3

turbid tide
#

hmm

#

go to plugins/PlaceholderAPI/expansions

#

and make sure you don't have multiple statistic jars

#

in there

indigo anchor
#

I think no

turbid tide
#

I'm very confused rn. I know this was a bug on 1.8 but even on that version it was fixed long ago

indigo anchor
#

Im confused too, im using papi like 4years, and never had this bug before. But i very need it, because im using top statistics via papi etc..

#

And interesting is, its only for statistic_mine_block, jump works fine, etc..

turbid tide
#

yeah I know its exactly what happened to 1.8

indigo anchor
#

Im opening server at 25th, so it will be fine if it will be fixed.

mortal wind
turbid tide
#

try updating PAPI to the latest version.

#

latest dev build*

indigo anchor
#

funnyhexagon, about my problem. I have to create a issue in github, or what?

turbid tide
#

hmm I guess that would be a good idea

rich star
#

hello guys

#

how to use math expestion

#

pladehodler

#

i have try

#

%math_{aach_custom_AttributesINTSlot1}+5%

#

it's will return 5.000

#

i want to show only 5.0

#

You can use [precision:<number>] in the placeholder, to set, how many digits after the . are shown.

#

how i add this to math placeholder ?

errant patrol
#

HEY

#

Can anybody help me??!?!?

rich star
#

help me first

#

then i help you

#

back

#

deal ?

errant patrol
#

what's the problem

#

alright

#

i'll try the do my best

rich star
#

up

#

okeyyeyy love you

errant patrol
#

ooh i haven't never use math placeholder but lets check

#

wait a min

#

literally what does it do? {aach_custom_AttributesINTSlot1}

#

also sorry for my bad english

#

@rich star

turbid tide
#

%math_[precision:0]{aach_custom_AttributesINTSlot1}+5%

rich star
#

oh it a number

#

@turbid tide thanks sir

turbid tide
#

👍

rich star
#

@errant patrol what is your problem

#

maybe i can help

errant patrol
#

i should change the day language

rich star
#

or @turbid tide can 😄

turbid tide
#

huh what?

#

oh

#

instead of Tue Nov

#

to say something elsE?

#

what placeholder are you using for that?

rich star
#

what want to add your locate alright ?

errant patrol
#

eeh

#

so i want to

#

translate these

#

to turkish

turbid tide
#

ye I think you need to use javascript

errant patrol
#

so not Tue., it should be Çrş.

turbid tide
#

yep yep I get it

errant patrol
#

ooh

turbid tide
#

you need to use JS placeholders

errant patrol
#

how can i

turbid tide
#

if you don't know any javascript tho

rich star
#

i can code for you

#

i know javascrip

turbid tide
#

or yeah get someone to do it for you

#

its pretty ezz tho

#

just have a .replace() for each workd

#

word*

rich star
#

yea

turbid tide
#

as in one for each month and one for each day name

rich star
#

if you can learn you can make any own custom placeolder

errant patrol
#

i know javascrip
@rich star omg it would awesomeeee

#

can you do it @rich star

rich star
#

yeb

#

what you want to show

errant patrol
#

dude

#

as i said

#

change the week days names

rich star
#

what placeholde ryou use

#

can you copy it to me

errant patrol
#

alright can we talk on dms?

upbeat yew
#

Please, help me with Math placeholder, it doesn't update the number, I have something like: %math_[precision:0]{server_online_world1}+{server_online_world2}% | And when players join world1, the number doesn't update automatically, I just need to add the hologram after players joins the worlds...

junior musk
#

where are you using the placeholder?

upbeat yew
#

On server with world named Lobby

#

spigot

#

I need this bcs. I'm planning a big server, and I need to have it for players, they want know, where are other players playing minigames (In which world...)

mortal wind
#

Can you not do this with parse other? %parseother_{MythricHD}_{formatter_number_time_{statistic_seconds_played}}% seems like im having issue with the placeholder in a placeholder, any idea how to make this parse properly

junior musk
#

can't you just use %statistic_time_played% ?

#

so it would do %parseother_{MythricHD}_{statistic_seconds_played}%

mortal wind
#

Ideally yes but that placeholder returns the wrong value for some reason so im forced to use seconds and convert to formatted

junior musk
#

👀

#

then idk, maybe using Javascript?

mortal wind
#

Just tried but now im getting a differnt issue ```function gettime() {
return %formatter_number_time_{statistic_seconds_played}%;
}

gettime(); Returns[12:27:49 WARN]: Caused by: jdk.nashorn.internal.runtime.ParserException: <eval>:1:30 Missing space after numeric literal
[12:27:49 WARN]: function gettime() { return 85d 18h 34m 22s; } gettime();
[12:27:49 WARN]: ^
[12:27:49 WARN]: at jdk.nashorn.internal.parser.Lexer.error(Lexer.java:1700)
[12:27:49 WARN]: at jdk.nashorn.internal.parser.Lexer.scanNumber(Lexer.java:1135)
[12:27:49 WARN]: at jdk.nashorn.internal.parser.Lexer.lexify(Lexer.java:1614)
[12:27:49 WARN]: at jdk.nashorn.internal.parser.AbstractParser.getToken(AbstractParser.java:132)
[12:27:49 WARN]: at jdk.nashorn.internal.parser.AbstractParser.nextToken(AbstractParser.java:213)
[12:27:49 WARN]: at jdk.nashorn.internal.parser.AbstractParser.nextOrEOL(AbstractParser.java:170)
[12:27:49 WARN]: at jdk.nashorn.internal.parser.AbstractParser.next(AbstractParser.java:157)
[12:27:49 WARN]: at jdk.nashorn.internal.parser.Parser.parse(Parser.java:281)
[12:27:49 WARN]: at jdk.nashorn.internal.parser.Parser.parse(Parser.java:249)
[12:27:49 WARN]: at jdk.nashorn.internal.runtime.Context.compile(Context.java:1284)
[12:27:49 WARN]: at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:1251)
[12:27:49 WARN]: at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:627)
[12:27:49 WARN]: at jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:535)
[12:27:49 WARN]: ... 27 more``` I presume the spaces in the formatted number are not allowed, not exactly sure how i can fix this

junior musk
#

put the placeholder in ""

mortal wind
#

Ah yeah that works, gotta brush up on my js syntax 😛 Thanks

upbeat yew
#

Can somebody help me please with the Math placeholder? It's really important for me...

junior musk
#

where exactly are you using the placeholder?

#

which plugin?

upbeat yew
#

Math expansion and %math% placeholder

#

With server expansion

junior musk
#

that's still not what I asked

upbeat yew
#

What do you need to know?

junior musk
#

where exactly are you using the placeholder?
which plugin?

#

as I said right above

upbeat yew
#

PlaceholderAPI

junior musk
#

that's the plugin providing the placeholders

#

I'm asking you where are you using them

upbeat yew
#

On my Minecraft server, in HolographicDisplays

junior musk
#

so in HolographicDisplays

#

and it doesn't refresh?

upbeat yew
#

Nope

#

But other placeholders are refreshing...

#

Like %server_online_<world>%

junior musk
#

add {medium} on the hologram line

upbeat yew
#

Ok I will try it

#

/holo addline Online1 {medium} &b&lOnline: &e&l%math_[precision:0]{server_online_World1}+{server_online_World2}+{server_online_World3}%

#

Like this?

junior musk
#

yeah

cedar sapphire
#

Anyone able to help? Im trying to record the length of time a player has been online. Im running a bungeecord server with 3 servers: a lobby and 2 gamemode servers. Im using the %statistic_time_played% tag and its working in my lobbyserver, but the time used in the other servers ofcourse dont get saved. Is there any way to connect all the servers and display global time spend on the network?

merry stone
#

The statistic placeholder shows that I've played 1 day and 33 hours, why doesn't it go to 2 days after 24 hours ?

mental night
#

use the dev build iirc

lone cobalt
#

So im using jobs reborn, the server will have a max of 1 job, so for example %jobsr_user_jlevel_miner% would be the placeholder to see the level of your miners job, but if i have a different job i cannot use %jobsr_user_jlevel_miner% i have to use %jobsr_user_jlevel_currentjob% is there a way to make it use %jobsr_user_jobs% and put the result into the place where you need the jobs name?

marsh ocean
#

Is there a way for me to get the name of everyone online my server with each name being in their own placeholder

mental night
#

playerlist expansion probably

marsh ocean
#

I think it puts all the player names in the same placeholder

#

I was reading and I think I can do it with javascript expansion but idk how

turbid tide
#

PlayerList has that option

#

why do it with JS? @marsh ocean

#

there are like 3 options for PlayerList. Players amount, Players List, and just 1 player from the list.

#

So im using jobs reborn, the server will have a max of 1 job, so for example %jobsr_user_jlevel_miner% would be the placeholder to see the level of your miners job, but if i have a different job i cannot use %jobsr_user_jlevel_miner% i have to use %jobsr_user_jlevel_currentjob% is there a way to make it use %jobsr_user_jobs% and put the result into the place where you need the jobs name?
@lone cobalt I think the only way to do what you want is to use JavaScript expansion. Wiki for it herE: https://github.com/PlaceholderAPI/Javascript-Expansion/wiki

hard lichen
#

ok so i normally would do this by myself but i dont know how. im trying to set up a thing for scoreboard with the api

#

i have the apis set, but it wont show any color or anything, like if i did %luckperms_prefix%

#

heres what i have: ``` - '&e&lYour Info:'

  • '&f Rank: %luckperms_last_group_on_tracks_staff%'
  • '&f Prison Rank: &8[&6%luckperms_primary_group_name%&8]&r'
  • '&f Balance: $%vault_eco_balance_formatted%'```
#

is there a way to make it so it shows the color within the thing, rank or whatever?

#

because i have two prefixes, so it shows both if i did luckperms_prefix, but i only want one for each, but i want it to the colors yk

#

is it possible?

cedar sapphire
#

Im getting this error with placeholderapi and autoranks: [Server] WARN [PlaceholderAPI] autorank is attempting to register placeholders via a PlaceholderHook class which is no longer supported!

Is there anything i can do?

turbid tide
#

Pinned message

#

For an updated

#

Expansion

#

The one from ecloud is old and it doesn't work anymore

#

You need to compile it yourself tho

cedar sapphire
#

For someone not so experienced in working with plugins, could you explain a bit further? I see there has been some changes with vault and essentialsx in the pinned messages, but i dont see how the pinned messages regard my question

turbid tide
#

There is alink

#

To a github page

#

Where you can find a more updated expansion

#

But it's just the code. It's not the actual jar

#

To get the actual jar you'll need to compile the code into a jar

near owl
turbid tide
#

@cedar sapphire I finally got on pc and seems like I was wrong

#

here I compiled an updated build for you tho

#

go to plugins/PlaceholderAPI/expansions delete the old AutoRank expansion jar from there

#

and put the new one

#

@carmine veldt can you please pin this expansion? thanks

carmine veldt
turbid tide
#

ty ty

cedar sapphire
#

It works now Fynnyhexagon. Thanks a lot

hard lichen
#

please dont tell me i have to quote myself

meager nymph
#

why

fervent spire
#

Okay I won't tell you.

hard lichen
#

...

turbid tide
#

you do actually

#

I did see your question

#

a long time ago

#

and thought I answered it xD

#

a long time ago

#

but seems like I didn't

#

well I answered with another question

#

could you show what you mean thru screenshots? because I didn't rly get what you mean

#

Like when you do /papi parse me %vault_prefix% it will show like this for example: &6Staff instead of showing as Staff but colored?

hard lichen
#

ill show you in dms

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
#

please use imgur

#

I closed my dms for a reason xD

hard lichen
#

ah ok

#

look to the scoreboard

#

i can get 1 prefix up

#

but i have two prefixes

turbid tide
#

oh you can't rank up from a?

hard lichen
#

i can, but it wont register in the scoreboard, as i couldnt find an api for a second prefix

meager nymph
#

what rankup plugin do you use ?

meager nymph
#

no.

hard lichen
#

oh

#

im blind

#

give me a second

meager nymph
#

okey

turbid tide
#

you can use TRACKS

#

from LuckPerms

#

and make a track for normal ranks

#

and a track for the prison ranks

hard lichen
#

im already using tracks

turbid tide
#

well

#

then there are track placeholders

#

for LP

#

so you show the highest rank yo uhave in a track

meager nymph
#

you should use prisonranksx or ezranks

hard lichen
#
  - '&f Prison Rank: %luckperms_first_group_on_tracks_prison%'```
meager nymph
#

%rankup_current_rank%

#

use this

hard lichen
#

alright ill try it

turbid tide
#

%luckperms_last_group_on_tracks_<tracks>%

#

I think this is the correct one

#

not the first

#

but the last

hard lichen
#

nope that doesnt work

#

ill try the rankup theing now

#

thanks @meager nymph

meager nymph
#

did it work ?

hard lichen
#

yea

meager nymph
#

np

#

%luckperms_last_group_on_tracks_<tracks>% these would get the first and last group in a track

#

it doesnt really track a player

hard lichen
#
%rankup_next_prestige%     ```
#

is it me or do they not work?

meager nymph
#

what are you trying to do

hard lichen
#

scoreboard

meager nymph
#

%rankup_current_prestige%

#

do you have prestiges setup?

hard lichen
#

yea

#

im currently P1

dim zodiac
#

server_tps placeholder doesn't work in mc 1.7.10

#

it just shows 0.0

#

doesn't change values

turbid tide
#

oh shit 1.7.10

#

latest version of server expansion?

dim zodiac
#

I mean I just downloaded it today

#

the the ingame downloader

#

*with the

turbid tide
#

ye that's latest

#

ugh I guess the server placeholder doesn't support that version or at least the tps part

#

idk for sure. I'm not rly an expert at the code

#

unfortunately

#

Like PAPI supports 1.7-1.16.4

#

that doesn't mean all expansions will unfortunatelly

dim zodiac
#

hmm ok, do you know any other plugins that show the tps in 1.7.10?

turbid tide
#

I was looking at a few but non support 1.7.10

#

do yo have essentials?

#

you can just do /tps then

#

unless that's not supported on 1.7.10

dim zodiac
#

/tps is a spigot thing

turbid tide
#

oh is it

dim zodiac
#

but yes we have the /tps command, its just it shows the past 1 minute, 5 minutes and 10 minutes

#

not current

#

I'm the developer on the server I need this for, so I could just make a plugin, but I didn't want 2 if i didn't have 2

turbid tide
#

there is Spark but don't think it also supports 1.7

#

I mean if you have another plugins

#

made by you

#

just add it as a functionality

#

in those plugins

dim zodiac
#

yup, thats the plan i guess

turbid tide
#

but yeah idk any that works on 1.7

#

old version I'm afraid

#

most support for it has been dropped

dim zodiac
#

thx for the help anyways!

thorny nova
#

hi funnyhexagon

turbid tide
#

hello

#

what's that?

thorny nova
#

how can i use math so that it will add {rankup_requirement_playtime-minutes_done}+{rankup_requirement_playtime-minutes_left) first then divede it by 60

#

or is there a javascript way of doinjg this

turbid tide
#

well you can just use simple math instead of the math placeholders

#

btw are you sure these 2 are Integers?

#

var dtime = parseInt("%rankup_requirement_playtime-minutes_done%")
var ltime = parseInt("%rankup_requirement_playtime-minutes_left%")

#

like they are not doubles or something?

thorny nova
#

yup

turbid tide
#

just to be sure from the start

#

k good

thorny nova
#

works fine

#

with minute

#

now i want to divide it by 60 so it becomes hour

turbid tide
#

so

#

just add those and divide them by 60?

#

var ntime = (dtime+ltime)/60

#

and now ntime will become hours I guess

thorny nova
#

how can i return it then on else?

turbid tide
#

oh

thorny nova
#

would it be like
else this is you required time: ltime?

turbid tide
#

1 sec

#
else "&6Time&f: &c %math_{statistic_minutes_played/60[precision:2]}%hrs &f/&6 " + ntime```
#

make it like this

thorny nova
#

ok thanks

#

it says its empty for some reasson

#

>.... [15:47:22 WARN]: [PAPI] [Javascript-Expansion] File: timeh.jh for Javascript placeholder: timeh is empty

#

oh i mispelled it

#

how can i adjust the precision

#

or number of decimals that appears

turbid tide
#

what the

thorny nova
#

i want to be just 2 decimals

turbid tide
#

you sure those placeholders work correctly?

thorny nova
#

yup working great

#

but i want to reduce decimal to just 2

turbid tide
#

ugh

#

it should be 0 decimals

thorny nova
#

how can i do that?

turbid tide
#

do what exactly?

#

I don't get what you want anymore?

#

does the javascript placeholder work?

#

or what was the error you sent abouve about

thorny nova
#

it works

#

but i want to reduce deciamlas to just 2

turbid tide
#

ohhhhhh

thorny nova
#

sorry for the confusing question XD

turbid tide
#
else "&6Time&f: &c %[precision:2]math_{statistic_minutes_played}/60%hrs &f/&6 " + ntime```
thorny nova
#

i see XD so this the time i should have used math Xd

#

thank you so much

turbid tide
#

👍

gritty wigeon
#

Hello

#

the placeholder

#

for

#

watch how much users are in a bungee server?

#

like

#

in kitmap

#

idk

#

%server_online:kitmap%

#

?

turbid tide
#

no no

#

use this ^ @gritty wigeon

gritty wigeon
#

Thanks so much bro

#

:D

#

And for permissionsex rank?

#

@turbid tide

wet basinBOT
#

@turbid tide Unknown expansion.

turbid tide
#

hmm doesn't seem to have

#

an expansion

#

so use the vault one

#

here ^

gritty wigeon
#

where is?

#

i dont watch it

#

@turbid tide

turbid tide
#

oh

#

here ya go @gritty wigeon

gritty wigeon
#

Thanks!

lone cobalt
#

potentially stupid question here, what do i need to add to this script to make it work

#
    var jobsr_user_jlevel_{jobsr_user_jobs} = jobsr_user_jlevel_current_job();

    return jobsr_user_jlevel_current_job;
}
jobsr_user_jlevel_current_job();```
turbid tide
lone cobalt
#
var placeholder = "jobsr_user_jlevel_" + currentJob;
var currentJobLevel = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + placeholder + "");

function currentJobLevel() {

    return currentJobLevel;
}
currentJobLevel();```
#

why wouldnt that work when i use %javascript_currentJobLevel,{jobsr_user_jobs}%

#

It doesnt throw errors

#

Sorry if im being annoying, im not good with code and dont really have the time or will to learn javascript...

turbid tide
#

ok so a couple things to improve the code

#
var currentJob = args[0]
var placeholder = "jobsr_user_jlevel_" + currentJob
PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + placeholder + "")
#

if this won't work then please try displaying the "placeholder" value like this: js var currentJob = args[0] var placeholder = "jobsr_user_jlevel_" + currentJob placeholder

#

I have to go now. Few tips: Make sure you're using the latest js expansion version (1.6.0), latest dev build of papi,

#

if the code i gave you doesn't work tell us here what the second variant shows

lone cobalt
#
var placeholder = "jobsr_user_jlevel_" + currentJob
PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + placeholder + "")

//function currentJobLevel() {

//    return currentJobLevel;
//}
//currentJobLevel();```
#

that with or without it commented didint work

#

neither did the other one

#

they dont show anything just when i parse it, its just empty

#

the versions should be fine, cause i downloaded javascript today and placeholder api yesterday

#

im doing this command /papi parse me %javascript_currentJobLevel,{jobsr_user_jobs}%

#

@turbid tide

turbid tide
#

Hmmm very weird

#

I'm on my phone now I ain't got time to test it more unfortunately

lone cobalt
#

btw why didint u put a % here

#

i tried with one just in case still didint work

gritty wigeon
#

-papi vault

wet basinBOT
#
Placeholders for vault
Placeholders:

%vault_eco_balance%
%vault_eco_balance_fixed%
%vault_eco_balance_formatted%
%vault_eco_balance_commas%
%vault_eco_top_balance_#%
%vault_eco_top_balance_fixed_#%
%vault_eco_top_balance_formatted_#%
%vault_eco_top_balance_commas_#%
%vault_eco_top_player_#%
%vault_eco_top_rank%
%vault_prefix%
%vault_prefix_color%
%vault_rank%
%vault_rank_capital%
%vault_ranks%

Command:
/papi reload```
Manual Download:
gritty wigeon
#

thanks bot

wet basinBOT
#
Placeholders for vault
Placeholders:

%vault_eco_balance%
%vault_eco_balance_fixed%
%vault_eco_balance_formatted%
%vault_eco_balance_commas%
%vault_eco_top_balance_#%
%vault_eco_top_balance_fixed_#%
%vault_eco_top_balance_formatted_#%
%vault_eco_top_balance_commas_#%
%vault_eco_top_player_#%
%vault_eco_top_rank%
%vault_prefix%
%vault_prefix_color%
%vault_rank%
%vault_rank_capital%
%vault_ranks%

Command:
/papi reload```
Manual Download:
lone cobalt
#

#bot-commands

gritty wigeon
#

Ops

#

sorry

lone cobalt
#

@turbid tide when will u be on ur pc may i ask?

tender vaporBOT
#

@lone cobalt,

Hey!

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

lone cobalt
#

do this /papi ecloud download Server

#

the do papi reload

#

then use the placeholder

junior musk
#

seems more like the LocalTime expansion and not the Server one

#

so /papi ecloud download LocalTime

#

and that wouldn't show the player's world time

#

but the time of the player's country

lone cobalt
#

@turbid tide i didint put it in the javascript_placeholders.yml but now that i atleast gives a error it repeats the thing i said if i add the {jobsr_user_jobs} and if i dont it gives this error[Server] ERROR [PAPI] [Javascript-Expansion] Argument out of bound while executing script 'currentJobLevel': 18.11 20:28:55 [Server] INFO Array index out of range: 0

tender vaporBOT
#

@lone cobalt,

Hey!

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

#

@lone cobalt,

Hey!

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

junior musk
#

%player_world_time_24%

#

like I told you on TAB's discord

#

there is

#

yeah :)

#

and you have to download the Player expansion with /papi ecloud download Player

#

then reload PAPI

keen spear
#

any reason why this placeholder wont update? whenever I get hit it stays full.

%animations_<healthbar symbol=| fill=&c empty=&7 size=10 max=20>{player_health}</healthbar>%

mellow fable
#

how I use the team in "ScoreboardObjectives"

mortal wind
#

https://spark.lucko.me/#i0YxlUYsXr This may be too vague but any clue why placeholderapi parse other trying to get some offline player was going wild on my server. This happened very randomly just with me and an alt account on, never seen this before. Only place i parse other is in a stats menu that parses statistics through deluxemenus. I just want to make sure this wouldn't be an issue in the future

zenith bane
#

anyway to get the value of placeholder on anohter bungee server ?

meager nymph
#

wdym

rare lily
#

Is there anyway for me to edit wiki of JS-Expansion on github?

meager nymph
#

request it ?

turbid tide
#

got him xD

warm topaz
#

anyway to get the value of placeholder on anohter bungee server ?
@zenith bane PAPI itself doesnt support bungee, but u can use the CIFYHolders plugin (on songda) to do this

turbid tide
#

or others that are not on Sogonoda xD

zenith bane
#

"After days of trying to contact developer to report bugs I gave up on the plugin.
Plugin doesn't even work on 1.8.8 and there isn't any wiki to show how to use it. There's in't any config nor anything.
I don't usually rate products with 1 star, but when I do then they truly are utter bullshit"

#

the review section, any other plugin ?

rare lily
#

request it ?
@meager nymph Wot

turbid tide
#

they claim to work 1.7-1.16 just like PAPI

#

idk about the documentation and stuff tho

#

oh wait

#

nvm

zenith bane
#

ill give it a try, Thank you 🙂

lethal coral
#

Hi, do we know when there will be a papi update for 1.16.4 ?

turbid tide
#

there is

lethal coral
#

thanks, is there one for deluxechat ?

meager nymph
#

if you link your account

#

you will get acces to it

lethal coral
#

how should i do that ?

turbid tide
#

and follow the instructions

lethal coral
#

thanks

lavish sail
#

is it possible to make custom placeholders depending on the players permissions?

turbid tide
#

yes. check the javascript expansion

modest snow
#

is there any issue wit PAPI if some placeholder is not working?
because on my server it wont work,but if i open a test server it work for me...this is weird

turbid tide
#

what placeholders? Also what version of PAPI are you using and what version is your server?

rotund kraken
#

any idea when ecloud registration is open again? I'd like to submit an expansion

turbid tide
#

any time funnycube is online

#

just DM him

#

he'll help you

rotund kraken
#

allright

austere hawk
#

help me pls

mental night
#

Mate no need to post in two channels...

austere hawk
#

soory

#

😦

rotund kraken
rotund kraken
#

👍

left thistle
#

Sorry I'm new to this. Is this a plugin that goes into bungeecord or just the spiggot ones

balmy marten
#

Just spigot

austere hawk
#

funnycube could you dm me?

#

Can't access my old discord account and since my profile is linked to the old account I cant verify.

dark hatch
#

Is PlaceholderAPI still supporting Sponge?

brisk coral
#

Never has officially I don't believe, 3.0 will however

dark hatch
#

The version available to sponge is gruesomely outdated sad_fingerguns

turbid tide
#

ye that's not rly the official PAPI its a version I guess made or forked by someone else

dark hatch
#

OOF

#

the real papi is coming to sponge though?

turbid tide
#

ye soon™️ tho

#

its in works

#

when version 3.0 will be out

dark hatch
brisk coral
#

Soon™️

#

If you know what that means