#placeholder-api

150650 messages · Page 20 of 151

balmy marten
#

cc: @steep thorn

steep thorn
#

Yes I told him the best way to do this would be to create a PlaceholderAPI JavaScript Placeholder

balmy marten
#

Ah yeah, just checking

steep thorn
#

It shouldn't be difficult, probably just a one liner in .js

zenith badge
#

@balmy marten , i never worked with .js, I installed Javascrpit Expansion

#

Could you help me since it should be only one line?

tender vaporBOT
#

@zenith badge,

zenith badge
#

oh

#

sorry...

#

ama read rules

vivid sparrow
#

What do you need @zenith badge

zenith badge
#

i need a custom advanced place holder with towny

#

PlaceholderAPI %townyadvanced_town_residents_amount%
%townyadvanced_town_mayor%

vivid sparrow
#

?

zenith badge
#

Hey I have been struggling with PAPI, reasoning I bought LeaderHeads to display the top leader towns, but I found the the PlaceholderAPI %townyadvanced_town_residents_amount%, shows all the town members.

The only way to change this is by setting the current user of %townyadvanced_town_residents_amount% is equal to %townyadvanced_town_mayor% and otherwise 0

Problem is I never created PlaceHolders, I
f anyone is willing to help me please PM me,
I would gladly be helped, and I would totally** pay someone to help me set it up**
@zenith badge

vivid sparrow
#

You want to subtract one from that placeholder?

zenith badge
#

There is no placeholder for towny I think?

halcyon needle
#

seems like vault baltop function is broken or something

vale dock
tender vaporBOT
#

@vale dock,

vale dock
#

sorry

warm copper
#

It turned out to fix the error by removing all extensions and simply reinstalling via the command.

tulip brook
#

Hi guys i have a plugin called leaderheads that i use to make a top player list, sadly it seems that EzBlocks placeholder does not count Breaking blocks in creative which is kind bad since i have a creative server and i would like to know how many blocks broke the first-2nd and so on

vivid sparrow
#

statistic?

tulip brook
#

does not log crative blocks

mental night
#

@spiral wind
%server_online%

spiral wind
#

ty

steep thorn
#

Can anybody help out @zenith badge?

He wants a PlaceholderAPI Javascript placeholder that returns %townyadvanced_town_residents_amount% if the current player is equal to %townyadvanced_town_mayor% and otherwise 0

vivid sparrow
#

Current player from where

mental night
#

gaby cutie

vivid sparrow
#

:)

steep thorn
#

@vivid sparrow just yourself, so I asume %player_name% or whatever there is

zenith badge
#

@steep thorn thank you sm

vivid sparrow
#

function f() {
    return BukkitPlayer.getName().equals("%townyadvanced_town_mayor%") ? "%...%" : "0";
}

f();```
candid cape
#

hello, %bungee_<servername>% placeholder displays 0 all the time.

#

i have latest papi and %bungee_total% works fine.

#

same name of the server in bungee config

vivid sparrow
#

Make sure you remove <>

candid cape
#

thanks

#

did not know that

mental night
#

👍

zenith badge
#

THAnks Gaby ❤️

candid cape
#

btw whats better to use on bungee, pinger or bungeecount?

#

serverpinger or bungee placeholder rather

#

performance and speed wise

cunning wind
#

what expansion is it for practice servers with elo groups/leaderboards?

warm topaz
#

depends what plugin u use

cunning wind
#

strikepractice

warm topaz
#

and if that plugin supports placeholderapi

wet basinBOT
#

@warm topaz Unknown expansion.

austere hawk
#

Hello, does anyone know why I get this? No cloud expansions are available at this time. by putting the command / papi ecloud list all 1 or / papi ecloud donwload

turbid tide
#

?ecloudblock

tender vaporBOT
frank nova
#

Hi,
There is issue with LuckPerms placeholder %luckperms_group_expiry_time_<group name>%, it shows hours incorrectly. https://prnt.sc/unlvjx

austere hawk
#

Update to a dev build

#

Or wait until .10 release ¯_(ツ)_/¯

frank nova
#

Thanks.

indigo sleet
#

Hi, how can i change this d,h,m,s to my language ? (like 18g 35s 2d 14sn)

I am using the %server_countdown% placeholder in gholo.

vivid sparrow
#

javascript

twin sluice
#

I have the skript ecloud on!

rare lily
#

Ew skript 👀

#

Also, did you download its associated ecloud yet?

merry stone
#

The skript expansion does not work with versions of PAPI after 2.10.6

onyx mulch
#

hello

#

/papi ecloud download SpeedPerSecond

#

is not working

karmic marsh
#

People that don't like skript need to probably spend a ton more time getting to know it before they just say Ew

mint fable
#

I'll say ew skript as well

#

but not because it can't do things, because I'd rather just make a plugin with java

trim mist
#

Important Information for Vault Expansion
If you are using the Vault Expansion and aren't using the baltop placeholders that it provides, go to the PlaceholderAPI config and disable it. We've traced heavy CPU spikes to a task that the expansion has been running to calculate baltop (even if you aren't using it).

I just pushed an update (1.7.0) to the eCloud and it will be off by default on new installations.

The before and after of the fix that just went live:
https://i.imgur.com/N3htJCT.png

trim mist
#

I should also mention that it's more noticeable on bigger servers.

devout rain
#

epic

vivid sparrow
#

skript q_vomitpepe

flint nacelle
#

We have it alredy off 🙂 (if i´m not wrong you need if off otherwise some plugins refuse to work properly).

rare lily
#

@onyx mulch it's SpeedPerSec

trim mist
#

Broken, do you know which plugins off the top-of-your-head seem to break? Not aware of this.

novel juniper
#

hi

#

i need help

tender vaporBOT
#

There is no time to wait! Ask your question @novel juniper!

novel juniper
#

for example:

Survival
Playing: 0/50

i use deluxehub 3'

austere hawk
#

is there a way in placeholder api where i could remove the trailing space here if %towny_surname% is null/empty/non-existent?

%player_name% %towny_surname%&f: test

if i have my surname set in towny, it looks just fine, but if i don't have one it looks like:

amellen : test
turbid tide
#

javascript placeholders

austere hawk
#

ok cool, let me try that

#

nice, didnt even know about javascript placeholders, got it all working

normal fable
#

Hey there, I'm trying to make an account for the eCloud so I don't have to distribute an expansion manually, is it possible to get an account or get an expansion added?

heady falcon
#

@balmy marten

tender vaporBOT
#

@heady falcon,

balmy marten
#

Hey there, I'm trying to make an account for the eCloud so I don't have to distribute an expansion manually, is it possible to get an account or get an expansion added?
@normal fable DM me a username and email you want and i'll set one up manually

viscid garnet
#

I can't send a screen, it's very annoying ...

But hey, hello first of all, I would like to know why my "scoreboard" still shows% prisonranksX ...% while I have another one?

(The plugin is deleted and its folder too, reload etc)

Thank you

junior musk
#

?imgur

tender vaporBOT
junior musk
#

and what's your scoreboard plugin?

viscid garnet
#

PlaceholderAPI

junior musk
#

PlaceholderAPI is not a scoreboard plugin

viscid garnet
#

It's just to modify the% rank ...% I changed the plugin and it does not change to the one I loaded and the /papi do nothing

junior musk
#

and what's your scoreboard plugin?

viscid garnet
#

On a discord, I had my %% problem fixed but I changed the plugin, and the previous one remains in the placeholder

native lantern
#

Why i need to be level up to 1 to send links

#

ok ok , im using placeholderapi Pinger & Bungee & i'm using FateHUBCore it should be working with and i want to put server motd but is not working it's creating an empty space on motd ( pinger motd ) where can came this problem

viscid garnet
#

Alright, where can I get help other than here please?

balmy marten
#

What's your scoreboard plugin? (As you were already asked twice)

viscid garnet
#

I don't have a scoreboard, if I say scoreboard it is to define the table on the right

native lantern
#

funnycube can you help with my issue please ❤️

balmy marten
#

1 sec holands

native lantern
#

perfect no problem

balmy marten
#

I don't have a scoreboard, if I say scoreboard it is to define the table on the right
@viscid garnet What plugin is creating the table on the right then?

viscid garnet
#

On another discord I was told to make an order like / papi ecloud download etc ... (player is good) but the bottom is not ok, because I changed rankup plugin

native lantern
#

oh i think i could fix it myself 😄

viscid garnet
#

Ahh TitleManager I think?

balmy marten
#

Okay, are you using PrisonRanksX?

viscid garnet
#

I translated everything into French and I didn't get a translation like: scoreboard

No, I deleted after various issues, so I took something better at first sight, eZRankUP

balmy marten
#

So you are using eZRankUP?

viscid garnet
#

And it doesn't show up, all I was able to test before this one leaves PrisonRanksX while I deleted everything

Yes, now I use this plugin

balmy marten
#

Can you send me a link to the plugin page?

viscid garnet
#

I can't find discord crying on the page, I was redirected here

balmy marten
viscid garnet
#

So is it normal that it displays% rankup ...% (old plugin) and not the new one?

I will follow the instructions, thank you

heady falcon
#

Please tell me legacy ecloud has an administration portal. You don't have to run an SQL query to make someone an account right?
Edit: I should know this lol
Edit 2: Django

keen crown
#

Hey,
I’m trying to make a test server for anticheats. I would like it so when a violation on a anticheat goes, there’s a placeholder which will go off :P

#

like if the VL = 10 scoreboard placeholder would equal 10

#

most anticheats doesn’t have PAPI support

#

and I’m wondering if I can do anything with JavaScript :p

#

btw I’m a noob in JS

keen crown
#

:p

steep thorn
#

@keen crown what anticheat plugin specifically?

#

And can you have that plugin execute specific commands for specific VL's?

keen crown
#

um

#

Warden Anticheat
ThotPatrol Anticheat
Kauri Anticheat
AAC
Horizon
Hawk Anticheat
AntiHaxerMan
Cardinal Anticheat
Medusa Anticheat
NoCheatPlus
Spartan Anticheat

#

and most do

#

already have a dev working on something like this

runic dirge
#

is it possible to run calculations via placeholderapi?

#

e.g. 50 - %placeholder1%

junior musk
#

use the Math expansion, and use {placeholder} for PAPI placeholders in it

runic dirge
#

oh how convenient haha 😄

#

ty ❤️

junior musk
#

and [precision:0] to have no 0s after the .

#

%math_50-{vault_eco_balance}[precision:0]% for example

empty pilot
#

What is the placeholder for specific ores for Statistic??

high stirrup
#

Would anyone have a clue as to why my placeholder isn't working here:

#

    @Override
    public String onPlaceholderRequest(Player p, String serverName) {
        if (p == null) return "";

        Map<String, Pair<String, Integer>> map = UptimeAPI.getInstance().getServers();

        for (String s : map.keySet()) {
            if (s.equalsIgnoreCase(serverName)) {
                plugin.getLogger().info("YES");
                return UptimeAPI.getUptimeFormatted(serverName);
            } else {
                plugin.getLogger().info("NO");
            }
        }

        return null;
    }
#

It's returning null

stone edge
#

UptimeAPI.getInstance().getServers();

#

static 👀

#

question here is

#

can't you use containsKey?

rare lily
#

@high stirrup starting from PAPI 2.10.7, it's onRequest(OfflinePlayer p, String identifier)

#

@stone edge Map#get != null is more performance saving than the containsKey

dim plank
#

what papi version works best with 1.12.2 mc version?

stone edge
#

ive heard about that too

#

but for small maps i dont think it makes difference

#

what papi version works best with 1.12.2 mc version?

#

you should be using latest version

#

no matter what mc version you are using

#

if other plugins don't work if you dont use old papi versions

#

thats not an issue with papi

dim plank
#

Ok thanks

stone edge
#

you must tell the dev to update hook

dim plank
#

I had a node issue and now I have a few plugins that couldn’t load so I have to delete them and upload a new version of the plugins and papi was one of them. Sometimes plugins are mc version dependent

stone edge
#

papi is meant to be compatible with all versions

#

afaik, it should work

#

if you have issues with the plugin you should find the stacktrace or something

#

so we can actually know whats the issue

dim plank
#

i mean world edit didnt load until i uploaded a new version. the way i had to get the server back up was force the server to load a certain backup plugin in order for me to get the files back as not doing so would cause me to have lost all files and word edit loaded once i uploaded a new version so i have no doubt that this will be the same way

#

besides i was still running 2.10.5

#

ok so it wokred but now i get this:
27.09 00:57:21 [Server] WARN [PlaceholderAPI] SuperVanish is attempting to unregister placeholders via the PlaceholderAPI class which is no longer supported! Please reach out to [MyzelYam] and let them know that they need to update ASAP!
27.09 00:57:21 [Server] WARN [PlaceholderAPI] SuperVanish is attempting to register placeholders via a PlaceholderHook class which is no longer supported! Please reach out to [MyzelYam] and let them know that they need to update ASAP!

#

it might be a sv thing tho

stone edge
#

as i said

#

thats other plugin issue

#

they must update hook to latest version

dim plank
#

gotcha

#

thanks

#

I just updated sv to the latest file and it’s all good now

tender vaporBOT
#

🔨 A user has been caught in our great nation using off-brand products, they've been dealt with accordingly

heady falcon
#

🤨

rare lily
#

F

#

Anyway, why does no one care about omitting the semicolon in js expansion 😭

mint fable
#

I use ;

#

🤷‍♂️

rare lily
#

Btw there's something I need to understand though, should've asked this for a long time

#

In most scripts, they use this:

function hp() {
     return BukkitPlayer.getHealth()
}```
#

But this worked as well:

BukkitPlayer.getHealth()```
mint fable
#

what scripts do that

rare lily
#

JS Expansion

#

I just did it in only 1 line like that, still works

mint fable
#

you mean not using a function?

rare lily
#

Yeah

#

Depends on the people's feeling of cleaness tho

mint fable
#

It's mainly for that

#

and usually you should be calling the function

rare lily
#

But for me, feels unnecessary actually thonking

mint fable
#

I don't know why it works when you don't call it, maybe it's manually made to work that way

#

just in case?

rare lily
#

Seriously ._.

mint fable
#
function hp() {
     return BukkitPlayer.getHealth()
}
``` does nothing if you ran it through any js parser right?
#

you would need hp()

#

but I'm pretty sure it works without it

#

I think I've seen it, but idk

rare lily
#

I already did a test on that..

#

Here

#

@mint fable about the code you sent, what you mean?

#

Also, I never seen a site before in 2 years that encourage to always use a function all the time unless necessary for js

mint fable
#

when you declare a function it doesn't run the code inside it

rare lily
#

I know that

mint fable
#

but if you declare a function in the js expansion (I think if it's only 1 function) it runs it without having the code I believe

junior musk
#

It doesn't

#

it will just print the function

mint fable
#

might've been a bug

junior musk
#

as string

brisk coral
#

It shouldn't run the function, since that could break shit

rare lily
#

Yeah

mint fable
#

ya..

rare lily
#

maybe it's manually made to work that way
@mint fable in real js, it always made to work that way

mint fable
#

huh?

rare lily
#

Unless you want the clean view

mint fable
#

yes, I don't understand your statement in relation

#

I was saying that maybe the js expansion was manually coded to run the one function because I thought it was there as a bug

#

I might just be losing my marbles, but I swear it was a bug at some point thonking

rare lily
#

I might understand your statement wrong though, sorry

mint fable
#

all good

#

i'm off to sleep o/

rare lily
#

Gn

high stirrup
#

@high stirrup starting from PAPI 2.10.7, it's onRequest(OfflinePlayer p, String identifier)
@rare lily It's returning null because my map is empty, when my map is initialized through the bungee plugin

austere hawk
#

the ecloud of papi does not work :/

compact knoll
#

hey everyone! I am having an issue and was wondering if it was a Placeholder-API issue. I use the uSkyBlock placeholder to show Island Level and Island Rank... and the scoreboard that shows it cannot show unless /is level is executed (which shows the variable). So yeah, I was wondering if this was a PAPI issue.

trim mist
#

PlaceholderAPI simply shows data that is provided to it. If it's not showing until /is level is ran, then it would be a problem with uSkyBlock not providing the data to PlaceholderAPI until that command is ran.

compact knoll
#

Ah ok, thanks for the help <3

trim mist
#

For sure!

prisma gust
#

Hey! Everytime when i try to execute** /papi ecloud download Vault** papi says Failed to find an expansion named: Vault. Please help me

warm topaz
#

?ecloudblock

tender vaporBOT
prisma gust
#

ok

#

does not work D:

lusty kiln
#

Quick question - I've found that the eCloud 'Server' extension does not work properly when using %server_countdown_dd.MM.yyyy_01.01.2021% - is this user error or something else I'm missing?

turbid tide
#

what does "doesn't work properly" mean?

#

some more info would be useful

lusty kiln
#

The placeholder itself...

#

I don't know what other information you need - other than providing you w/ plugin versions, server jar versions, etc.

#

Using the other placeholders associated with the extension Server work, however anything using Time/Date format like that, does not work

wide bronze
#

I need help with a place holder api

#

I don’t know what is the papi of island level

#

I need it for my skyblock server

novel pewter
#

If "island level" is a plugin you're using you should look in the documentation of that plugin. This can include the config, a real documentation on a dedicated website or on the plugin's github page as wiki

wide bronze
#

I’m just using a scoreboard plugin ;-;

#

So we need a plugin to do that?

compact knoll
#

Quick question - I've found that the eCloud 'Server' extension does not work properly when using %server_countdown_dd.MM.yyyy_01.01.2021% - is this user error or something else I'm missing?
@lusty kiln are you entering that exact placeholder?

lusty kiln
#

Yes @compact knoll - which is exactly how the wiki said to do it

#

Now, I’m testing it with that string, but I’d like to make some sort of day / hour countdown

#

But even that doesn’t work

austere hawk
#

hey guys if u guys have the exsperience with real scoreboard if its possible to make like only admis scoreboard i cant find anything in google

compact knoll
#

don't include the numbers. This is what I have and it works perfectly - %server_time_d MMMM, yyyy% [Format: 28 September, 2020]

#

the numbers at the end it show the example of what it would look like

#

@lusty kiln

vivid sparrow
#

is not the same thing

#

one is countdown, the other is time

cyan cypress
#

i can only hook to player related placeholder, for example the %vault_rank% for work

#
String subtitleMSG = plugin.getConfig().getString("Subtitle");
subtitleMSG = PlaceholderAPI.setPlaceholders(e.getPlayer(), subtitleMSG);
vivid sparrow
#

you need the expansions to be installed

cyan cypress
#

on the server are

#

do i need add some depedencies in maven<

vivid sparrow
#

no

cyan cypress
#

so whats the problem

vivid sparrow
#

some expansions require plugins to run

#

what placeholder do you want to use?

cyan cypress
#

the basic player, server

#

and vault but i have that installed

#

the vault dont work

vivid sparrow
#

is it enabled?

#

vault, a permissions / economy plugin and the expansion

cyan cypress
#

i have a test server without any permission plugin

#

i have Essentials, PAPI, Vault

vivid sparrow
#

well here's your issue

cyan cypress
#

like i dont have a permission to placeholders?

#

but i have op

vivid sparrow
#

no

#

what rank should the placeholder show if you don't have a plugin for it?

cyan cypress
#

smart

#

thank you

#

yea, its working now

vivid sparrow
#

🙂

austere hawk
#

Hey

#

I got a problem with papi

austere hawk
austere hawk
#

.-.

high star
#

super quick PAPI question, writing quick installation instructions for my little standalone expansion, but I forgot what the folder is called that you put it in lol. I tried the wiki, but no luck. I feel like it's /plugins/PlaceholderAPI/expansions?

#

(@ me pls)

austere hawk
#

@high star expansions

high star
#

mmk ty

stone parcel
#

i need help with this javacript- placeholder: ```function language_farmquest1() {
if (BukkitPlayer.hasPermission("language.english")) {
return "&eFarming Quests";
}else if (BukkitPlayer.hasPermission("language.german")) {
return "&eFarm Quests";
}
}

language_farmquest1();``` i have the permission language.german but it still returns the english text, what is wrong?

#

but wait, the permission check doesn't work on all my other plugins too, then luckperms api is broken?

brisk coral
#

If you're opped the first permission will ofc already be true

#

So deop yourself

stone parcel
#

🤦🏻‍♂️🤦🏻‍♂️🤦🏻‍♂️ you are so right

#

That’s why I normally don’t op myself

#

I just oped me like 2 days ago because I just tested a plugin

#

I forgot to deop me

#

Thanks

austere hawk
#

Has anyone got an idea why the SpeedPerSec expansion isnt working anymore?

lusty kiln
#

@compact knoll its a countdown.. not a 'time' value. My time value works perfectly fine using that... its the countdown thats not working

#

%server_countdown_dd.MM.yyyy_01.01.2021%
server_countdown

brisk vigil
#

Been trying to fix the MoreFish plugin for a while now since its developer seems to have abandoned the project more than a year ago. I see that EZPlaceholderHook is deprecated now and PlaceholderExpansion should be used instead, with onRequest taking the place of onPlaceholderRequest, but are there any syntax changes I should be vary of?

mint fable
#

if you're asking if onPlaceholderRequest vs onRequest has any syntax changes, it's only the OfflinePlayer instead of Player

#

wait

#

that part (with external plugin) is outdated on the wiki

brisk vigil
#

Oh yeah, I think I read something about that when I searched around this channel for similar discussions.

mint fable
#

use onRequest

austere hawk
#

Hey cj89898

#

I have a question

tender vaporBOT
#

There is no time to wait! Ask your question @austere hawk!

austere hawk
#

Is there any reason the SpeedPerSec expansion isnt working anymore? @mint fable

mint fable
#

any errors?

#

send over the startup log?

#

?startuplog

tender vaporBOT
austere hawk
#

1s

#

looking for erros

mint fable
#

it was updated in august

austere hawk
mint fable
#

can you send the whole log

austere hawk
#

sure 1s

tender vaporBOT
mint fable
#

so how do you know it's the speedpersec expansion?

austere hawk
#

That is causng the error?

mint fable
#

any of the expansions could be throwing an error here

austere hawk
#

I dont have any other one installed and It isnt working

mint fable
#

is uperms built into the plugin?

austere hawk
#

Into placeholderapi?

mint fable
#

nvm

#

try downloading it manually

austere hawk
#

um

#

"Expansion does not exist"

mint fable
#

it's all lowercase for some reason

#

it's also named differently

#

@balmy marten this

austere hawk
#

downloaded it

#

ima upload it rq

mint fable
#

Cube ➡️ papi bot points to /speedpersec/ but it's /speedpersecond/ still from before it was renamed I guess?

austere hawk
#

Should I just reload papi or restart the server?

mint fable
#

I'd say restart

austere hawk
#

k

#

Still not working :/

#

now theres also an error without doing /papi reload

mint fable
#

@rare lily any known issues?

#

it only errors because papi tried to load it @austere hawk

austere hawk
#

Okay

mint fable
#

you didn't have it on server startup last time

#

hence why it only gave the error after downloading and reloading it

#

but thienbao made it so I tagged them, we'll see from there

austere hawk
#

Okay

#

i'll just wait ^^

austere hawk
#

aight so im using the %player_exp% placeholder, with the expansion pack downloaded of course

#

but i have a feeling it doens't display my levels

#

accurately

#

it tells me I have 0.6134268 but in actuality, I have 1290

#

if I use %player_exp_to_level% then its 11452 but im not sure if those are XP points instead of levels

#

Idk how to make placeholders work with holograms

#

with leaderheads

turbid tide
#

@austere hawk there is : %player_exp% which shows you your xp then %player_level% which shows you your levels and %player_exp_to_level% which shows you how much xp until you level up.

#

@austere hawk if you do /papi parse me %placeholder% do they work? replace %placeholder% with your placeholder of course.

austere hawk
#

Unfortunately i wont be at my pc for quite a while so I'll try it once im home

turbid tide
#

yessir if it doesn't work like that then you've probably set up LeaderHeads incorrectly. If you need help with that you need to contact Robin#7385

steep thorn
#

@austere hawk contact me

idle sonnet
#

hey can anyone give me the list of bungee placeholders

rare lily
#

@austere hawk maybe try restarting the entire server and download it?

idle sonnet
#

ok thx

austere hawk
#

@rare lily Already did that a couple of times 😦 Still doesnt work

rare lily
#

Try give me the log again

#

The last log you sent way back is not clarified what actually was causing

austere hawk
#

Okay 1s

rare lily
#

Yeah.. i have no idea either

#

@final shadow mind helping with this? Thank you

tender vaporBOT
#

@rare lily,

woven musk
#

Hey I've been trying to get this to work for ages and its still not working no matter how hard I try, pretty much I've made a custom scoreboard plugin and when I use it on my test server I don't get any problems at all (I was getting them before tho) but now when I try do it on my hosted server I get the error The received string length was longer than the maximum required (40>20) which is the super long placeholder not working and making the length too long not allowing anyone to join the server. Any reason for this/fix

pine moon
#

does pinger have super vanish support

#

meaning when people are in super vanish it subtract player count

turbid tide
#

don't think it does but you can always test it.

#

since its just 2 commands to download it

pine moon
#

what is the commands

turbid tide
#

^

pine moon
#

oh

#

i already that that

turbid tide
#

welp then you can just do /papi parse me %placeholder-here%

pine moon
#

and bungee

turbid tide
#

to test a placeholder

pine moon
#

ok

#

but i want pinger to have super vanish support

#

and it said %placeholder-here%

#

in chat

turbid tide
#

well you replaced placeholder-here with the placeholder you want to test?

pine moon
#

ok

#

no

#

i already have it set up

#

but im just wondering if they can add super vanish support

turbid tide
#

oh I don't know. If clip's the developer of it and its not open source then you don't have a lot of chances rn since he's on a personal break.

#

let me check first tho

pine moon
#

ok ping me

turbid tide
#

So yeah I can't find it on his ghub

pine moon
#

ok

turbid tide
#

unfortunately. It might be private

#

and as I said he's on a break. so no updates any time soon.

pine moon
#

ok

vast stone
#

What would the placeholder name/abbreviation be for a specific server with the %server% placeholder? Like how would I specify that I am looking to change the placeholder abbreviation for specifically my lobby server?

turbid tide
#

what? I don't get it. You want the to change the server identifier from the server expansion?

vast stone
#

I honestly have no idea how to describe it, I'll just upload the file I'm using

#

Oh, I can't upload a file

turbid tide
vast stone
#

Basically, I'm trying to define the %server% on line 44, under the placeholders menu on line 68. I want to redefine the server names to only be 1 letter long, so they look better in tab, and maybe give each a color too.

turbid tide
#

oh you're talking about another plugin. I thought you're talking about PAPI since this is #placeholder-api my bad.

vast stone
#

Oh, uhh, it's related to a placeholder, TBH I didn't know where else to ask

turbid tide
#

I mean you can ask here no problem I just don't have you're answer exactly since I haven't worked with tab in a while.

#

and I didn't rly get your question 100%

vast stone
#

Yeah, I am struggling to word it coherently

turbid tide
#

do you want a placeholder that shows the server name?

vast stone
#

You see on line 44 I use %server% as a prefix. On the lobby server, it becomes lobby, on the minigames server, it becomes minigames

turbid tide
#

yep

vast stone
#

I want to abbreviate it from lobby to L, from minigames to M or MG

#

etc.

#

To save TAB width

turbid tide
#

try this maybe: server-aliases: hub: '&eHub' survival: '&bSurvival' plot: '&cPlot'

#

try changing it there

#

add your lobby server and your minigames server there

vast stone
#

If this works, I am dumb

turbid tide
#
server-aliases:
  lobby: '&bL'
  minigames: '&cMG'```
vast stone
#

Trying it now

#

Aaaaaaand it worked

#

Thank you so much!

turbid tide
#

no problem

vast stone
#

I really should have seen that, I thought the aliases were supposed to be set on the proxy to interact with the plugin on each server, but nope, this made way more sense

#

Thank you 🙂

turbid tide
#

no problem

woven musk
#

Hey I've been trying to get this to work for ages and its still not working no matter how hard I try, pretty much I've made a custom scoreboard plugin and when I use it on my test server I don't get any problems at all (I was getting them before tho) but now when I try do it on my hosted server I get the error The received string length was longer than the maximum required (40>20) which is the super long placeholder not working and making the length too long not allowing anyone to join the server. Any reason for this/fix
Any reason this why the scoreboard works on my test server and not on my host server

junior musk
#

if the placeholder is not working, you probably forgot to download an expansion

#

send your scoreboard

woven musk
#

[PlaceholderAPI] Successfully registered expansion: superior

#

it does say this when its loading up tho so I thought it was set up correctly

mint fable
#

you can test the placeholder(s) with /papi parse me <placeholder>

#

you need vault, superior, player, and supermobcoins

woven musk
#

and thats downloaded through the ecloud or...

mint fable
#

🤷‍♂️

#

I assume supermobcoins is integrated

#

no idea what superior is

#

vault and player are on the ecloud

#

/papi ecloud download <expansion>

#

/papi reload

woven musk
#

yeah see I have downloaded vault and player

#

and when I type /papi parse me %superior_island_top_worth_position% it does return a number

mint fable
#

are you sure that's the one that's failing?

#

it says 40... which that adds up to ~36

#

which

#

if you combine with your entry and suffix of it

#

is way over 40

woven musk
#

yeah k

#

well i tested every placeholder just now they all returned the correct value

mint fable
#

well do you know where it's erroring?

#

you can try taking out each line 1 by 1

woven musk
#

yeah ight

woven musk
#

got it to work now thanks!

mint fable
#

v nice

#

what was the issue?

fluid sentinel
#

need help

#

do i just paste the error here?

#

ill paste my error here?

turbid tide
#

?paste

tender vaporBOT
fluid sentinel
#

that one

turbid tide
#

?luckperms

tender vaporBOT
turbid tide
#

^

#

read this

warped flower
#

help mee

#

@mint fable

tender vaporBOT
#

@warped flower,

warped flower
#

@idle coral

tender vaporBOT
#

@warped flower,

idle coral
#

Jesus dude, are we supposed to read your mind? "Help me", yes with what?
And please stop pinging us and adding as friend
Don't ask to ask, explain your problem and someone will help

warped flower
#

do not go placeholders but I can not put the picture to show you

idle coral
#

?imgur

tender vaporBOT
warped flower
#

done

idle coral
#

Did you download the vault expansion?

warped flower
#

that's it?

idle coral
#

Yes

warped flower
#

yes

#

and what else?

#

on skyblock goes but I did not add that , and I tried and survival and does not work

#

and it's the same version

#

??

#

@idle coral

tender vaporBOT
#

@warped flower,

heady falcon
#

😐

prisma gust
#

i tried /papi ecloud download Vault but it says Failed to find an expansion named: Vault. i also manually downloaded it and put it in /plugins/PlaceholderAPI/expansions but it does not work 😩

#

Somebody help me please

idle sonnet
#

hi

barren zephyr
#

Good evening!

Currently on the latest build of PlaceholderAPI.

Why does it make all texts lowercase"? even when I type for example: 'HELLO' it shows as ''hello'' in-game chat. On version 2.10.6 this is working correct.

#

All plugins messages also fully lowercased on latest version

barren zephyr
#

@mint fable ? 😅 Sorry

tender vaporBOT
#

@barren zephyr,

barren zephyr
#

Ow

mint fable
#

so many pingers today

#

Why does it make all texts lowercase"? where?

#

does it do that with /papi parse me %placeholder%?

barren zephyr
#

Hold up

#

(can't send screenshots)

tender vaporBOT
#

@barren zephyr,

barren zephyr
#

Yes Cj

#

/papi parse me Hello

#

Shows ''hello'' in the game chat

#

This is from version 2.10.9 and up

mint fable
#

and up?

#

meaning you've tried the latest dev build?

barren zephyr
#

yes currently on the latest dev build

heady falcon
#

@mint fable hi

#

@mint fable how you doing?

mint fable
#

what version is that jasper

#

@heady falcon doing just fine how about you buddy

heady falcon
#

@mint fable Not bad thanks, lol

mint fable
#

@heady falcon ❤️

barren zephyr
#

PlaceholderAPI-2.10.10-DEV-110.jar

#

from september 26th

#

It makes all texts, literally all texts lowercase.

mint fable
#

Where else are you able to test it?

#

do you have deluxemenus or a scoreboard to test on?

barren zephyr
#

e.g. Essentials MOTD, Automessages, when I type /papi ecloud download <plugin> it shows all text in lowercase.

#

The Scoreboard from AnimatedScoreborad is working good.

#

Tablist is also correct

#

Its just the chat box.

mint fable
#

you say just the chat box

#

what chat plugin do you use?

barren zephyr
#

EssentialsXChat (latest) and ChatInjector

mint fable
#

and do the placeholders show uppercase when used in esschat format?

barren zephyr
#

No

#

Should be ''Lvl 187'' but shows ''lvl 187''

mint fable
#

try removing chatinjector

#

I know the placeholder will break obv

#

but test that and run the parse again

#

see what happens

barren zephyr
#

But is there an alternative?

#

for ChatInjector

mint fable
#

well you might have to switch chat plugins, what server version are you on?

barren zephyr
mint fable
#

I was about to ask you that as well

barren zephyr
#

let me try this

mint fable
#

because it was outdated a long time ago

#

but that one looks pretty good 👍

barren zephyr
#

Ah great that worked!

mint fable
#

v nice

barren zephyr
#

Thnx for the help - im sorry for the interupting ping

mint fable
#

👍 just don't do it again 😉

barren zephyr
#

Promise haha

#

queen spade
#

alright

#

im having trouble

#

with an ecloud addon

#

pinger to be specific

#

doesnt work

#

for me

steep thorn
#

@queen spade NEVER say "doesn't work", describe what doesn't work

#

What do you expect it to do and what is it doing instead

queen spade
#

oh

#

so

#

im trying

#

to make it say online

#

and the serevr is online

#

yet its still showing offline

heady falcon
#

ah

#

you need to make sure tha

queen spade
#

tha

#

tha what?

twin sluice
#

Is there anyway I can display a placeholder like %VotingPlugin_Points% but for a custom player like %player%

odd jay
#

Yes there is. Use the "ParseOther" expansion.

#

The placeholder would be %parseother_{username}_{VotingPlugin_Points}%

#

@twin sluice ^

warped flower
#

@sharp jay

tender vaporBOT
#

@warped flower,

sharp jay
#

First don't ping

#

Second

#

Type those cmds at the bottom

robust patrol
#

Hey,

How can I use powers in %math_<math expression>%?

Would %math_10*1.03^5% work?

Thanks

warm topaz
#

?tryandsee

tender vaporBOT
robust patrol
#

😛

#

Sorry! Just trying to see if anyone has a quick yes/no

mental night
#

test it

#

its even quicker

robust patrol
#

I forgot about /papi parse 😮

mental night
#

/papi parse me %math_10*1.03^5%

robust patrol
#

I can't believe I forgot about that

#

Thanks 🤦

mental breach
#

How do i create new placeholders?

#

the wiki doesn't really explain it

trim mist
woven heron
#

i got an issue with the latest version of papi in 1.15, where it makes everything in lower case any idea why that is?

turbid tide
#

that's ChatInjector on versions 2.10.7+

#

clip looked thru ChatInjector's code but couldn't find what could cause it

limber ice
#

so the placeholders for Autorank not working on latest Papi is caused by the expansion or the the code in Autorank?

turbid tide
#

its the expansion.

#

they probably use EzPlaceholderHook

limber ice
#

so I guess I will bug clip

turbid tide
#

which is a deprecated method. Well now removed

#

clip is away

#

he won't update anything for a while

limber ice
#

yes I know, my expansion I updated last month

turbid tide
#

oh

#

bug clip to do what then?

limber ice
#

I sent him a message

turbid tide
#

k

limber ice
#

did they fix the issue I was having with Papi?

turbid tide
#

what issue exactly?

limber ice
#

when I ran /papi reload the expansions loaded list would not display

turbid tide
#

oh no idea. Never seen it and dk if it got fixed.

limber ice
#

only seem to do it when I had my Statz expansion installed

#

they all still work, just not seen in the list

#

guess I can't even download more then one expansion before it breaks, to fix I need to reboot the server

#

OK when I first noticed this issue I felt it was my Expansion, still thinking that, been told my code looks good. could it be something we can see in the jar?

vivid sparrow
#

send the code

limber ice
fluid heath
#

https://imgur.com/5JOfVa8 how can I fix this?
At the first click, the placeholders are simply not loaded, and then, as luck would have it, they may or may not
after several attempts it loads normally BUT after restarting everything is the same as when you first clicked

sorry for writing, and here I need to fix this error as soon as possible (

prisma gust
#

Hey! Papi is not showing placeholders and i cant install them sad_fingerguns Please help

limber ice
#

@prisma gust is there any errors in server logs?

warped flower
#

@sharp jay

tender vaporBOT
#

@warped flower,

sharp jay
#

Stop

crisp hound
#

@warped flower its not setting the placeholders

#

make sure you have the player expansion isntalled

#

and make sure the plugin you are using to run commands actually parses placeholders

wet basinBOT
#

@sharp jay Unknown expansion.

sharp jay
#

@warped flower ^^^^

#

cmds at the bottom

warped flower
#

I didn't understand ... what should I do to make it work?

sharp jay
#

@warped flower
/papi ecloud download player /papi reload

warped flower
#

I already put

#

aa

#

i'm noob

vivid sparrow
#

@limber ice make the expansion persistent

limber ice
#

Not sure what you mean

vivid sparrow
#

boolean persiste() {
return true;
}

#

or smth like this

crisp hound
#

i dont think its his plugin

#

but i mightbe wrong

vivid sparrow
#

Is a method you have to override that tell papi not to unregister an expansion after /papi reload

crisp hound
#

wait im dumb different people

vivid sparrow
#

Ik

#

:D

warped flower
#

sorry man

#

thanks a lot

delicate hill
#

is there any pvp stat plugin that works in 1.16?

#

pvpstats and killstats not working

warm topaz
#

im currently making one fingerguns

delicate hill
#

really? 😂

#

tell me when ur done, i'll leave an amazing review

warm topaz
#

no ETA for a release yet, but its like 70% complete id say

delicate hill
#

in how much you will get it done? @warm topaz

turbid tide
#

no ETA means no Estimated Time of Arrival.

hollow marsh
#

hey

#

i need help

tender vaporBOT
#

There is no time to wait! Ask your question @hollow marsh!

hollow marsh
#

%rel_factions_relation_color%

#

this placeholder doesnt work

turbid tide
#

What factions plugin do you have?

hollow marsh
#

saber

turbid tide
#

welp the rel placeholders are just for FactionsUUID and MasiveCore Factions

hollow marsh
#

okay

#

can u help

#

with saberfactions placeholders

turbid tide
#

?

hollow marsh
#

i need relation color

#

placeholder

turbid tide
#

well unless the plugin has them itself then no idea how you can do them.

hollow marsh
#

support good af

turbid tide
#

no problem dude

#

did you come here expecting me to make an expansion for you? that's not called support anymore. If you want someone to make it for you then you have the #761129130321772564 or #761129129730900028 options

heady falcon
#

😐

twilit walrus
#

is it posibble to do papi in command blocks?

turbid tide
#

don't think so

twilit walrus
#

k

heady falcon
#

well

#

oh I see what you mean

#

no

turbid tide
#

but I mean you can use @p if all you want is to use the player's name

twilit walrus
#

hey

#

i think luckperms api is broken look at this

#

well i can't do pictures

#

any way when try to do this %luckperms_prefix%%player%

#

it will look like this

tender vaporBOT
twilit walrus
#

%luckperms_prefi&6x% player

#

and its not fun

#

how to fix??

#

ther is igmanes

balmy marten
#

Does it work in /papi parse me %luckperms_prefix%

twilit walrus
#

i can test

balmy marten
#

Looks like you just ran out of characters in the scoreboard line, but we'll double check the placeholder is still working

twilit walrus
#

k. but it says %luckperms_prefix%

#

and to get scoreboard longer am just gonna do the " " longer?

balmy marten
#

Depends on your version and scoreboard plugin

turbid tide
#

execute those 2 commands ^

twilit walrus
#

k

#

k

#

thanks it works now 🙂

#

thanks for help

turbid tide
#

👍

prisma gust
#

@prisma gust is there any errors in server logs?
@limber ice [16:01:30] [Server thread/INFO]: Rafaelox issued server command: /papi ecloud download vault only this

#

but i found something with my jar file

limber ice
#

so did you get it to work?

prisma gust
#

no

#

ill send it

#

here: [15:55:07] [Server thread/ERROR]: [PlaceholderAPI] failed to load class files of expansions java.util.concurrent.CompletionException: java.lang.ClassNotFoundException: com.extendedclip.papi.expansion.vault.BalTopTask at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$4(LocalExpansionManager.java:324) ~[?:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) ~[?:1.8.0_212] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212] Caused by: java.lang.ClassNotFoundException: com.extendedclip.papi.expansion.vault.BalTopTask at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[?:1.8.0_212] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_212] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_212] at me.clip.placeholderapi.util.FileUtil.findClass(FileUtil.java:63) ~[?:?] at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$4(LocalExpansionManager.java:317) ~[?:?] ... 2 more

#

@limber ice

limber ice
#

did you update the vault expansion?

prisma gust
#

yes i did

#

i could reinstall the plugin

limber ice
#

yes rename folder then start over

prisma gust
#

ok

#

Thank you!! It works now! I reinstaled it

obsidian charm
#

Hello in my server if i use last version i have this problem

#

all text are lowercase

#

If i use Version PlaceholderAPI-2.10.7-DEV.jar

#

Work fine

mint fable
#

do you use chat injector by chance?

obsidian charm
#

Yes

mint fable
#

what server version

obsidian charm
#

1.16.3

mint fable
#

are you using the updated chatinjector?

obsidian charm
#

Mmh Yes

#

I think not

#

Thank you

mint fable
#

report back if it works 👍

obsidian charm
#

Work fine thank you! ❤️

mint fable
#

👍

brazen breach
#

I just downloaded the mcmmo expansion via papi-command and then reloaded the server. But I can still not validate mcmmo? please help 😦
[LeaderHeadsRevamped] The specified placeholder mcmmo is not an MVdWPlaceholderAPI or PlaceholderAPI placeholder
^ is the error that im getting, no clue what im doing wrong
It even says that the mcmmo statistic is enabled in leaderheads, this makes no sense

tender vaporBOT
#

@brazen breach,

dull mango
#

[14:40:20] [Server thread/WARN]: [PAPI] [Javascript-Expansion] ScriptEngine type for javascript placeholder renk isn't initialized! Defaulting to global

#

any idea?

turbid tide
#

its a warning not an error

#

in javascript_placeholders.yml you can specify the engine: for each placeholder

#

engine: nashron is the default one. and I'm pretty sure its the only one as well

#

so if you don't want to get that message anymore just add that line to each placeholder declaration in javascript_placeholders.yml file

brazen breach
#

Wait, did i get ignored on purpose? :b

turbid tide
#

yes. I ignored your message.

#

because I don't have an answer xD

brazen breach
#

aw man

#

I'm really frustrated, I have no clue why this isn't working

turbid tide
#

ok now that I see it has to do with LeaderHeads

brazen breach
#

Followed your guide too

turbid tide
#

you need to contact @steep thorn

#

he asked us to send everyone asking for LH support to him

#

add him on Discord

brazen breach
#

oh okay

#

Yeah i tried, but I think i have his old ID or something

#

can't find him

turbid tide
#

the one I just pinged should work.

#

Since that's his account.

brazen breach
#

ah yes ofc

#

tty

steep thorn
#

Dm me pls

#

It's ok, he bought it

#

But he's a bit confused about what a placeholder is

#

I'm a bit busy at the moment thugh

brazen breach
#

YEah sorry, I have no idea how this works D:

turbid tide
#

well its a place holder its basically text that gets replaced by data.

brazen breach
#

I thought i just had to run the "/papi ecloud download McMMO" forexample

turbid tide
#

so for example %player_name% as the name suggests will return the player's name

#

yeah and then /papi reload

brazen breach
#

oh i did

#

Even restarted the server

turbid tide
#

ok now let me check what placeholders they have

#

try doing /papi parse me %mcmmo_in_party% and tell me what does it return?

brazen breach
#

Hmm.. It does say false

#

So the papi download from mcmmo doesn't work?

turbid tide
#

well no

#

it works

#

the placeholder works

#

if it wouldn't work it would return the placeholder itself %mcmmo_in_party%

brazen breach
#

oh

turbid tide
#

so this placeholder returns true or false based of if you are in a party or not

#

if you were in a party it would have returned true

brazen breach
#

oh okay

twilit walrus
#

sory incoputing but you can't download craftingstore api and i would want it so yea

#

is ther away to get it?

brazen breach
#

So what does this mean

turbid tide
#

well the placeholder you tried to use was a wrong one

#

it means it doesn't exist since LeaderHeads was not finding it

brazen breach
#

hmm..

turbid tide
#

what placeholder were you trying to use?

brazen breach
#

ehm

turbid tide
brazen breach
#

Yeah okay, It might just work then. I'll try to make a sign again with leaderheads

#

omg yes

turbid tide
#

@twilit walrus the api should be inside the plugin itself

brazen breach
#

It does, just work

#

I actually did the things right, I just didn't understand what was what then haha

#

Well thank you so freakin much Blitz n Robin

twilit walrus
#

so its download instalny?

#

insta *

turbid tide
#

its inside the plugin

twilit walrus
#

ok.

turbid tide
#

so if you want to use it in your own plugin you need to use the jar as a library

#

You are welcome Jackboi.

brazen breach
#

❤️

dull mango
#

its a warning not an error
@turbid tide but its not working?

tender vaporBOT
#

@dull mango,

dull mango
#

uh

mental night
#

waht

#

do u need help with

turbid tide
#

I think he has a warning that his javascript placeholder doesn't specify an engine to use

#

but that doesn't mean the palceholder doesn't work hyperion. if it doesn't work its probably messed up. Like the code for it.

cloud shard
#

so uh...

if i parse %server_countdown_dd.MM.yyyy_27.10.2020% it returns 23d 26h 39m 50s which is correct
if i parse %server_countdown_dd.MM.yyyy_28.10.2020% it returns 50h 39m 50s which is far from correct lol

trim mist
#

Are you on the latest version of the server expansion? I believe this was recently fixed or there's a PR in the pipeline to fix it.

cloud shard
#

yeah, just ran update after you replied

#

I should clarify, i ran update, reloaded, and still not resolved*

trim mist
#

Yeah alright it looks like that fix is still in the works for the time being. It's a known issue 👍

cloud shard
#

sounds good, thanks for the clarification

trim mist
#

Yeah, thanks for reminding us!

#

Player Expansion Development Jar
Hey guys, we have a great update coming to the Player Expansion here very shortly and we'd appreciate anyone who would test it out for us. We want to make sure this still works properly across 1.8.8 - 1.16.3 so that everyone can properly utilize it.

Changes for this update:

  • Added %player_yaw%
  • Added %player_pitch%
  • Added %player_has_potioneffect_<effect>%
  • Added %player_direct_xz%
  • Added %player_light_level%
  • Added %player_world_type%
  • Fixed formatting for %player_biome% and %player_biome_capitalized%
  • Changed %player_max_health% and %player_max_health_rounded% to utilize attributes.
  • Changed %player_ping% to use cached reflection and colored the ping properly

As you can see, there's a ton of changes in this update, so we want to make sure it's all stable before we release it to the world!

warm topaz
#

Changed %player_pint%

#

i sure do love a pint fingerguns

trim mist
#

Phew. That was a lot to type.

warm topaz
#

😄

trim mist
turbid tide
#

heath

#

player_max_heath

trim mist
#

Good catch

warm topaz
#

wasnt it also fixed in a papi dev build?

trim mist
#

Ooo it might've been.

#

Just gotta compile under the latest to see if it works or not

warm topaz
trim mist
cloud shard
#

installing now

warm topaz
#

glare, would u like a job to do? i have plenty of PRs open for the expansion repos in PlaceholderAPI GH

cloud shard
#

ayy, its all good on the dev build

trim mist
#

Yeah I can take a look at those tomorrow. I have to head to an event I'm running today IRL and I won't be back until around midnight my-time. The reason I haven't gone through those yet is that I will have to convert the projects from maven to gradle in the Jenkins projects.

#

Sounds good Carson, thanks for letting us know.

warm topaz
#

ill be happy to convert them to gradle for u if u want

#

this post was made by gradle gang

trim mist
#

Only clip can give you access to that unfortunately. I know how to convert them, I just need to find the time to sit down and do it 😛

warm topaz
#

ah right with the jenkins stuff haha

#

np

trim mist
#

Yup!

dire spoke
#

hey guys, i'm using a suffix and a prefix placeholder from LuckPerms. Is there a way to show a message if the players doesn't have a prefix or suffix? Like a "when empty" option?

warm topaz
#

javascript placeholder

dire spoke
#

is there a tutorial or something like that?

#

oh, i think i got it

#

thank you

turbid tide
#

best wiki for it

dire spoke
#

yeah, i saw there what to do

#

thank you guys

queen spade
#

is there a placeholder for an ipv4

#

just asking

dire spoke
#

does anyone here codes js?

#

i need some help..

#

nevermind

#

fixed

rare lily
#

Should've edited wiki for that next time lol

#

There are features I added that weren't in the wiki

light comet
#

How do you check for an empty string in js ?

rare lily
#

Check if it's ""?

light comet
#
if("%luckperms_prefix_element_highest_on_track_donor%" == " ")
{
    "&bDonor Rank: &aNot a donor"
}
else
{
    "&a%luckperms_prefix_element_highest_on_track_donor%"
}```
#

tried that, it just returns the palceholder i have

rare lily
#

Is that in function?

light comet
#

nah but its worked previously on other placeholders

austere hawk
#

Essentials placeholder are fuked up I guess

#
    lore:
      - "&8"
      - "&7Left click to reedem kit."
      - "&f"
      - "&6Cooldown: %essentials_kit_time_until_available_starter%"
high star
brisk coral
#

Yea no, that's not how it works lmao

high star
#

ty, bippity boppity bannity

brisk coral
#

The guy was muted here yesterday for being a nuisance, so I'm not surprised he's saying that

austere hawk
#

lol

high star
#

He got the jar DMed to him from someone else according to a DM screenshot he helpfully sent us.

#

anyways back to LP, ty frosty

gusty heron
#

I dmed glare, dw bros

austere hawk
#

br0s

high star
#

lp gang

#

anyways we'll stop cluttering your support channels

austere hawk
#

Hello?

#

Please tag me if you can help

median sparrow
#

Anyone know how to use any of these?

%buycraftAPI_recent_name_<number>%
%buycraftAPI_recent_price_<number>%
%buycraftapi_top_donator_currency%
%buycraftapi_top_donator_name%
%buycraftapi_top_donator_price%```
#

More so, what does the <number> mean in the placeholder?

turbid tide
#

ugh its literally a number

#

you replace the <number> part with a number

#

for example %buycraftAPI_recent_name_1% will show the last buyer

#

%buycraftAPI_recent_name_2% will show the second to last buyer. etc.

reef sparrow
#

I can not locate the Day Placeholder you refer too BlitzZ

turbid tide
#

it should be called %server_time% I think

#

server_time_format

pseudo spruce
#

Does Leaderheads support recent craftingstore donators placeholder? If so, how would one utilize it?

#

@glad glen

tender vaporBOT
#

@pseudo spruce,

reef sparrow
#

ty Blitz

mint solstice
#

anyone here which could help me out

#

blitezzzzzzz

turbid tide
#

?help

tender vaporBOT
mint solstice
#

kk

reef sparrow
robust patrol
reef sparrow
#

So i've set it up correctly but just need to add output 'no' and players wnt be able to claim until that time and date?

robust patrol
#

Oh, my message is unrelated to your issue if you're replying to me

reef sparrow
#

oh ok

turbid tide
#
    left_click_requirement:
      requirements:
        date_time_requirement:
          type: string equals ignorecase
          input: '%server_time_dd.MM.yyyy%'
          output: '01.12.2020'``` @reef sparrow
#

@robust patrol I know the example is a bit broken. I'll fix it. Thanks for reminding me.

reef sparrow
#

ty

turbid tide
#

fixed Dyyce. Seems like that's all that was wrong there. Thanks once again.

reef sparrow
#

Is there a placeholder that only allows a player to claim 1 time only? Or will i have to give then remove a permission?

turbid tide
#

you can give them a permission and if you're on 1.14+ you can just use DMenus meta

reef sparrow
#

im on 1.15.2 using Deluxemenus

turbid tide
#

then you can use meta for that. Check the wiki for some info on that

reef sparrow
#

The Meta info is quite vague, it only shows how to setup add and subtract open attempts

turbid tide
#

yeah well what you do is make a meta with a special name that represents your reward or whatever and make it go up by 1 when they collect the reward. Then add a view requirement that says the meta must be 0.

reef sparrow
#

Way over my head, i've looked at what info is available and can't make heads nor tails of it.

#

I get the view requirement part, just not the meta part.

turbid tide
#

ok I'll make a quick example

#
left_click_commands:
- '[meta] add Day1 INTEGER 1'
view_requirement:
  requirements:
    meta:
      type: has meta
      input: "Day1"
      meta_type: INTEGER
      value: 0```
#

this is all you have to add to your reward item.

#

and for each day

#

you change the key which in this case is Day1

#

you can name it whatever

#

but your best solution here is Day1, Day2 or just the day 01October, 02October etc.

#

@reef sparrow ^

#

also instead of view requirement you can use it as a click requirement.

reef sparrow
turbid tide
#

and?

#

make sure you are not OP btw

#

and set it to the date of today

#

not 01.12

#

because thats 01 December

reef sparrow
tender vaporBOT
#

@reef sparrow,

reef sparrow
turbid tide
reef sparrow
#

everythings working accept for it's not restricting to only one claim, i can click it multiple times and redeem

turbid tide
#

ugh lets see

#

and as I said make sure you're not OP

reef sparrow
#

Got one of my testers on to check, working fine now. thanks for the help, just an idea, advent calender maybe a little perk to showcase in deluxemenu's.

trim mist
#

Vault Expansion Changes
This is just a heads up that the baltop placeholders will be removed from Vault here shortly. The reason behind this is that all they do is connect into EssentialsX for the information. Due to this, I've been working with other members among the EssentialsX development team to make some changes to the APIs and include a proper API to the balance of users. With this comes a proper API implementation for EssentialsX baltop. That means the baltop placeholders will be moved from Vault to EssentialsX, fully rewritten, and in result will skyrocket the performance of the placeholders compared to how they were before.

devout rain
#

pog

warm topaz
dim nexus
#

%progress_bar_cronicas_cap3_c:&a■_p:&e■_r:&7■_l:10_m:900_fullbar:&aCompletado!%'

#

im trying to use this placeholder of progress bar

#

.
[20:10:31 INFO]: [Progress] Couldn't get the number from cronicas. The progress will be 0%.
[

#

but it says that

#

the placeholder is cronicas_cap3

#

but it detects it as cronicas

#

there is a way for make it read cronicas_3 ?

#

and not only cronicas?

turbid tide
#

ugh what?

#

use {}

#

to let it know its a placeholder

#

%progress_bar_{cronicas_cap3}_c:&a■_p:&e■_r:&7■_l:10_m:900_fullbar:&aCompletado!% I think should work

#

@dim nexus ^

dim nexus
#

ohh thanks

reef sparrow
#

I can use amount: 1 but it will show every number accept 1. how would i use a placeholder to achieve the same outcome?

turbid tide
#

what?

reef sparrow
#

I've created a calender, you know when an item is stacked it displays the number of items stacked in the bottom right corner of the material item

turbid tide
#

yeah

#

and you want it to say 1 ?

#

when its just 1 item?

reef sparrow
#

yes

turbid tide
#

you can't. I'm pretty sure minecraft removes the number when you have just 1

#

its a minecraft thing.

reef sparrow
#

hmm, a calender plugin has achieved it so there must be a way to do it though

turbid tide
#

no idea how.

#

Maybe packets or something. but in DMenus its not possible

reef sparrow
#

ok