#placeholder-api

1 messages · Page 128 of 1

half carbon
#

I cant find an expansion in papi

#

in the ecloud to download

#

(i bought this plugin yesterday, not sure why its not updating under my name)

turbid tide
#

=check @half carbon

tender vaporBOT
#
Forced Spigot Purchases Check!

Successfully checked that user for new purchases!

half carbon
#

Ty

#

I actually found the wiki xd

turbid tide
#

yeah

half carbon
#

I appreciate it 🙂

desert slate
#

My bad this isn't on start.

This message follows the pastebin msg:
Can't keep up! Is the server overloaded? Running 7634ms or 152 ticks behind

turbid tide
#

that's because of lag

#

well at least that says you have lag

#

the message you just gave not the error

#

the error has something to do with RankUp placeholders inside featherboard

desert slate
#

Could the rankup plugin be the culprit?

turbid tide
#

I mean I rly dk

#

try parsing the placeholder using /papi parse me %placeholder% and see if you still get the error

desert slate
#

Reloading featherboard seems to fix it

#

I can talk to the rankup dev

turbid tide
#

sure I guess. But I rly dk the actual source of the error.

austere hawk
#

Why won't plot squared place holders work after I did /papi ecloud download plotsquared?

snow sonnet
#

did you do /papi reload

austere hawk
#

Ys

#

yes

#

WARN [PlaceholderAPI] plotsquared is attempting to register placeholders via a PlaceholderHook class which is no longer supported!

#

it says that in console

austere hawk
#

anyone?

fervent spire
#

@austere hawk It means the person who made the expansion for the PlotsSquared placeholders, needs to update it.

mystic silo
#

Hello, I'm receiving errors on server shutdown. Every plugin that is actively using placeholders is throwing an error, all of the errors similar to each other. Removing PlaceHolderAPI stops the errors but PlaceholderAPI is a necessity for me so I wanna fix this 👀 Any help is appreciated. Thanks in advance.
Server log: https://pastebin.com/DbDrhaZd
Server stuff:
iSpigot
Based API version: 1.8-R3
Spigot version: 2.0

turbid tide
#

its not the plugins

#

its the expansions

#

they need updated

#

or you need to downgrade to PAPI 2.10.6

frozen cargo
#

Have you heard of a litle concept, called volluntary work. We do this out of our own free will. Just because you're around and free, doesn't mean we are. You'll be helped when and if someone has time and knows the solution.
@brisk coral I understand, then the plugin would be paid.

tender vaporBOT
#

@frozen cargo,

Hey!

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

frozen cargo
#

I'm just trying to use the plugin, nothing works, and how do I figure out what to do and who to contact.

mystic silo
#

or you need to downgrade to PAPI 2.10.6
This was it. Thank you! 😊

mental night
#

having issues with CheckItem removing the correct amount of items / Cant remove them unless I have 1 more than I should

brisk coral
#

Specify 1 less then reversed_fingerguns

mental night
#

oky it no work

#

Ill forward you it in dms no ones stealing my ideas cursed_fingerguns

#

@mint fable Mind helping me as its ur expansion <3

tender vaporBOT
#

@mental night,

Hey!

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

mental night
#

Yes barry

#

i know

mint fable
#

Cannot do

#

No internet yet

timber blaze
misty slate
#

Heya, so the Guilds API's stopped working for some reason? It no longer displays on my scoreboard and replaces it with "Error"

#

Would love some help!

balmy marten
modest night
#

is there a list of all the placeholders?

#

im looking for the placeholders for kill, deaths, money, and kdr

balmy marten
modest night
#

ya, found it

devout yarrow
#

I'm hoping to create a leaderboard on my server with HoloDisplays for the top players that have died the most. Is there a placeholder for that?

steep thorn
#

You could check here but I don't think you can do this with any plugin besides Leaderheads

topaz widget
#

Can osmebody help me?

#

When I do /papi parse <player> %statistic_time_played% Its format not using 24 hour? It shows For example 3d 34h 29m 46s

warm topaz
#

use the dev builds of placeholderapi

topaz widget
#

Last build or last successful build?

#

Both are the same?

austere hawk
#

[17:23:05 WARN]: [PlaceholderAPI] Failed to download expansion information
me.clip.placeholderapi.libs.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
at me.clip.placeholderapi.libs.gson.Gson.fromJson(Gson.java:944) ~[?:?]
at me.clip.placeholderapi.libs.gson.Gson.fromJson(Gson.java:897) ~[?:?]
at me.clip.placeholderapi.libs.gson.Gson.fromJson(Gson.java:846) ~[?:?]
at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$fetch$4(CloudExpansionManager.java:181) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_241]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_241]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_241]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_241]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_241]
Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
at me.clip.placeholderapi.libs.gson.stream.JsonReader.beginObject(JsonReader.java:386) ~[?:?]
at me.clip.placeholderapi.libs.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:183) ~[?:?]
at me.clip.placeholderapi.libs.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145) ~[?:?]
at me.clip.placeholderapi.libs.gson.Gson.fromJson(Gson.java:932) ~[?:?]

#

help me

mossy birch
#

ok so my bug is back :/

#

animations breaks at random times

#

This placeholder:
%animations_<shine start=&5 middle=&d end=&5 normal=&7>MMC</shine>%
usually works when I start the server, and breaks either 1 second or hours after

#

and the "break" is not even limited to me, sometimes it breaks for me and is fine for others

#

This placeholder is in the CMI tablist, and it should be noted that only placeholders from Animations break

#

Others from LP and Player do not

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.

vivid sparrow
#

?list

tender vaporBOT
#
Available FAQ Answers:

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

mellow fable
#

https://prnt.sc/uk7sm7
@mellow fable how to use /papi parse me %statistic_mine_block:log:1% 😦
I get that it doesn't exist

merry stone
#

Hey, how would I make an account on the ecloud website? I updated an expansion that doesn't work with the latest version of PAPI and would like to upload it

light vortex
#

So what's wrong with time?

#

I mean, statistic

#

And also, I made two expansions and they stopped working on last update

light vortex
#

Kaliber

#

It doesn't work

#

Latest build doesn't work

#

It's the same result

spiral wind
#

is there a placeholder i can put in my scoreboard that shows the player's balance/money

#

My economy plugin is EssentialsX

balmy marten
spiral wind
#

I did and I checked the Essentials section but didnt find any one that shows the balance

balmy marten
spiral wind
#

oh thanks

#

doesnt work

#

._.

#

i have a screenshot but i cant send it

#

no perms

light vortex
#

What about statistic placeholder?

balmy marten
#

doesnt work
@spiral wind Did you download the expansion?

spiral wind
#

omg im so dumb lol i didnt

#

thanks for reminding me to

light vortex
#

Why is everyone ignoring me?

balmy marten
#

I'm not sure what your issue is?

dry dove
#

hi, can someone tell me why my query does not connect to mysql.

austere hawk
#

Static placeholder doesn't work, at least the %static_time_played%

knotty kite
#

Hi, a query, is there a placeholder that gives the time without : 05:00, let it be like this: 05

austere hawk
#

MataRatas

#

¿Qué necesitas exactamente?

knotty kite
#

Hola xd

#

un placeholder que de el tiempo sin :

austere hawk
#

Da un ejemplo del formato

#

Si son las 17:00

#

Quieres que diga

#

05

#

o

#

0500

#

o

#

500

knotty kite
#

ó 17

austere hawk
#

o

#

5

#

17

dry dove
#

SELECT PLAYER_KILLS FROM stats WHERE uuid = '{uuid}'

this query is correct?

austere hawk
#

Bien

#

Ya te lo paso

knotty kite
#

Muchas gracias

austere hawk
#

Usa

#

/papi ecloud download LocalTime

#

Luego ejecuta /papi reload

#

Luego usa este placeholder

dry dove
#

can anyone help me?

austere hawk
#

%localtime_time_H%

knotty kite
#

y cual sería el placeholder?

austere hawk
#

Recuerda poner esa H en mayúscula.

knotty kite
#

vale, ahora lo pruebo, muchas gracias

thorny nova
#

Is the such thing as a conditional placeholder?

#

For example if a placeholder value is more than one hundre then it will show(return) &a, else it would be &4

austere hawk
#

%static_time_played% doesn't work

plush loom
#

Wtf is this chat

stone parcel
#

is the vault-expansion open-source?

junior musk
stone parcel
#

thank you

slow grotto
#

Someone know what is happen that less servers use placeholderapi?
Appear in bstats stadistics.

balmy marten
#

hm?

mossy birch
#

Can someone explain the difference between registered expansions and /papi list? What's the difference between active and registered ?

balmy marten
#

registered meeds its loaded and hooked iirc

mossy birch
#

Well I have a problem I've been trying to fix for days with 0 progress

#

the Animations expansion is un-registered randomly

#

and trying to register it manually fails

#

no error, just failed to register

#

It's also worth noting that even though papi reload says 4 expansions registered, papi dump says theres about 10, and animations is in that list

#

so I am extremely confused

timid leaf
#

@balmy marten help this man out ^ He wants the SpeedBuilders expansion taken down from the ecloud since he didn't make it (the SpeedBuilders plugin is his) and the owner of the expansion doesn't update it or gives access to PlayFriik to update it.
Any news about this?

tender vaporBOT
#

@timid leaf,

Hey!

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

balmy marten
#

Any news about this?
@timid leaf must of missed it

#

Is the expansion in built now?

dry dove
#

hi, can someone tell me why my query does not connect to mysql.

timid leaf
#

@timid leaf must of missed it
@balmy marten No, it's not built-in, but I have fixed the extension though

tender vaporBOT
#

@timid leaf,

Hey!

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

balmy marten
#

Aight, drop a message on my spigot profile just so I know ur legit

timid leaf
#

done

#

nvm, sent you pm, sorry

balmy marten
#

aight give me 2 secs to change some backend stuff

timid leaf
#

alright

balmy marten
#

Aight you're fine to upload

#

old version has been unverified and marked as old

timid leaf
#

Okay, thank you 👍

balmy marten
#

Ping me once its uploaded and i'll go through and check/verify it when I wake up

timid leaf
#

will do

heady falcon
#

the Animations expansion is un-registered randomly
@mossy birch I am not sure why this happens randomly

#

But the animations expansion does some hacky stuff to stop registering listeners twice

#

What does the dump show?

mossy birch
#

@heady falcon I was testing changing some stuff and I disabled async mode in CMI and that seems to have fixed it

timid leaf
tender vaporBOT
#

@timid leaf,

Hey!

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

#

@timid leaf,

Hey!

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

heady falcon
#

@timid leaf Does it let you set the current version?

timid leaf
#

No, the list of available versions is empty (second picture is trying to show that)

heady falcon
#

Oh my bad

timid leaf
#

third picture actually

sturdy zenith
#

Maven repo?

merry stone
#

Is there any way to make an account on the ecloud website, or is that gone permanently?

sleek pivot
#

Hello ,
I'm looking for the Guilds plugins placeholder to display it in my FeatherBoard.

Could someone help me?

for (MVdW Placeholders)

brisk coral
warm topaz
pine moon
#

ugh i already setted up ecloud pinger and bungee and also if im in vanish it shows

#

that im on

sturdy zenith
#

thanks

warm topaz
#

its on the placeholderapi wiki if thats incorrect, im on mobile

heady falcon
#

@merry stone Not currently

#

I don't think its gone permenantly

merry stone
#

ah okay

#

am i able to have someone upload an expansion for me then? i updated the skript expansion to work with 2.10.9

pine moon
#

does pinger supports vanished players meaning when people are in vanish it takes away players

balmy marten
cloud shoal
#

Hello! I've been using placeholderapi for a while and ive been thinking of adding my own placeholders

#

However it seems like the placeholder expansion isn't being registered at all

#

i register my expansion 20 ticks after the server starts

#

and registers it through

      @SuppressWarnings("deprecation")
    @Override
      public boolean register() {
          PlaceholderAPI.registerPlaceholderHook(DonateCraft.getInstance(), this);
        return PlaceholderAPI.registerPlaceholderHook(getIdentifier(), this);
      }```
timid leaf
#

@timid leaf not too sure what happened, should be fixed now, think it might freaked out cause it knew there was still and old version somewhere
That's what I thought aswell. Looks like it's fixed now, thanks for taking your time!

balmy marten
#

np

pastel tendon
#

Hello. I am trying to set up a KitPvP server, with some essential placeholders on a scoreboard (using plugin Scoreboard-revision), but whenever I type in all of the placeholders, It doesn't show up, here is a screenshot: https://i.imgur.com/dZui1zV.png.
I have done "/papi ecloud download x" for all of the ones I needed, but that didn't fix it. I also tried to download them from the ecloud site, which also didn't work.
Another thing is, when I type "/papi list" it only says 3 hooks that I am not using in the scoreboard. I don't know if a hook is the same as an expansion, but there you go. feel free to ask me more questions if I'm not being descriptive enough.

pastel tendon
#

@fallen sluice I didn't forget, it was just cut off. And obviously I did reload if I did the original command, but either way that doesn't matter since I obviously reloaded the whole server when I added them from the website. It just doesn't work.

pseudo spruce
#

When will deluxechat be updated to 1.16.3?

cerulean ore
#

Anyone know if it possible to force a Placeholder to use uppercase? Like this %lands_land_name% for example.

balmy marten
#

When will deluxechat be updated to 1.16.3?
@pseudo spruce The one in the pinned message in #deluxechat works on 1.16.3

cerulean ore
#

A javascript solution for this would also be beneficial

#

Nvm, figured it out

heady urchin
#

Can someone help me with papi and featherboard

#

{placeholderapi_math_{autosell_total_multiplier}+1}

#

this is not working in featherboard

vivid sparrow
#

mvdw has it own math placeholders I guess

#

it doesn't work because your placeholder is actually {placeholderapi_math_{autosell_total_multiplier}

heady urchin
#

theres 2 }'s

#

what about this

#

{placeholderapi_%math_{autosell_total_multiplier}+1[precision:1]%}

#

thats not working either

turbid tide
#

well it doesn't matter that there's 2

#

how mvdw takes it stops at the first one

heady urchin
#

hm

#

How would i do it then

turbid tide
#

but as gaby said I'm pretty sure there's a math placeholder in MvDW's placeholders

heady urchin
#

I cant find them

#

nvm im just dumb

#

its called calculator

#

<calc>{placeholderapi_autosell_total_multiplier}+1</calc>

#

lol

austere hawk
#

Hello, could someone help me, the statistics variable does not want to work for me, some staff would know how to solve the problem

austere hawk
#

But those variables do not work for me, the expansion is downloaded and it does not work

gloomy crater
#

is it possible to use rads instead of degrees in the maths placeholder?
nvm found a fix

pastel tendon
#

Can someone help? I asked a question a while ago and others asked after me have been answered

junior musk
#

what's you PlaceholderAPI version?

pastel tendon
#

the latest one i can get on spigotmc, i think its like 2.10.9 or something

#

and my server is Spigot 1.8.8 if that matters

junior musk
#

what does the console say when you execute /papi reload ?

pastel tendon
#

ill copy paste it wait

junior musk
#

=paste

tender vaporBOT
#
HelpChat Paste

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

pastel tendon
#

but it doesnt say anything in chat

junior musk
#

in console, not in chat

pastel tendon
#

yes

junior musk
#

what does it say?

pastel tendon
#

i put it in the paste thing

#

do i send you the link?

junior musk
#

yes

pastel tendon
#

ok

junior musk
#

o_O

#

can you delete your PlaceholderAPI folder and do /papi reload again ?

pastel tendon
#

sure i can try

#

idk why

#

internal error

#

ill just reload the qhole server

turbid tide
#

Ok first of all don't reload your server. Restart it. Second of all there's a bigger error in console. You need to send that one

pastel tendon
#

which bigger error

#

also why can i not reload, i thought that does the same as restart, just quicker and without kicking or something

turbid tide
#

a lot of plugins break on reload. That's why you even get a long messaging telling you to do it at your own risk and on newer version of spigot you get a confirmation command as well

#

you can reload plugins if they have an internal reload command tho.

pastel tendon
#

also after deleting the papi folder, when i do /papi list, it still shows crazycrates in the list

#

is that like built into crazycrates?

junior musk
#

probably

pastel tendon
#

ok

#

but what do i do about papi

pastel tendon
#

hello

pastel tendon
#

nvm it works now for some reason?

#

i downloaded them again and it works

fathom peak
#

It seems that papi parse miscalculates time:

> papi parse lemafor %luckperms_group_expiry_time_sponsor%
[19:43:49 INFO]: 19d 56h 15m 38s
> lp group sponsor listmembers
[19:44:04 INFO]: [LP] Searching for users and groups who inherit from sponsor...
[19:44:04 INFO]: [LP] Found 5 entries from 5 users and 0 groups.
[19:44:04 INFO]: [LP] Showing user entries:    (page 1 of 1 - 5 entries)
[19:44:04 INFO]: > Lemafor  (expires in 2 weeks 5 days 20 hours 15 minutes 23 se
conds)
[...]

There is 19d 56h! I don't understand why "56h". Luckperms shows correctly: 2 weeks 5 days 20 hours...

#

Another example:

> papi parse nedziu %luckperms_group_expiry_time_sponsor%
[19:54:09 INFO]: 22d 16h 50m 38s
> lp group sponsor listmembers
[19:54:43 INFO]: > Nedziu  (expires in 2 months 1 week 2 days 19 hours 51 minutes 52 seconds)

2 months 1 week (lp group listmembers) = 22 day 16 hours (papi parse)?

Edit: OK, I downloaded dev version from https://ci.extendedclip.com/view/Plugins/job/PlaceholderAPI/ - and now papi parse calculates time correctly.

novel pewter
#

hey everyone! I want to download the Player expansion with getServer().dispatchCommand(getServer().getConsoleSender(), "papi ecloud download player") but it says Failed to find an expansion named: player. I've tried player capitalized too even though it doesn't matter for Minecraft commands but since the wiki says it I gave it a try. When I manually type it, it's no problem and it finds it.

I am dispatching it right after the server has finished loading in a runnable.
Any ideas?

austere hawk
#

yo blitz

spiral wind
#

i did "Welcome %player_name%" in a line in Holographic displays but it didnt work

#

i have a screenshot but cant send it

novel pewter
#

try to type /papi ecloud download player

spiral wind
#

its already downloaded

novel pewter
#

did you reload?

spiral wind
#

yes i did that about a week ago

novel pewter
#

maybe it doesn't work with holograms because that would require the server to send different packets to every player

spiral wind
#

hmm

#

ive seen servers do it

#

using HolographicDisplays

novel pewter
#

is that a plugin?

spiral wind
#

yes

#

ill dm u a screenshot

novel pewter
#

then maybe ask in their dc if they have one

spiral wind
#

ok

merry stone
#

If you have protocollib, use {player}

spiral wind
#

uh

#

so

#

how do i use the powerranks values/placeholders

#

if theres no download command

#

for powerranks

turbid tide
#

well that means they're already inside the plugin that's why you don't need to download another expansion. So you should be able to just use it

spiral wind
#

i put it

#

but it doesnt work

#

in my scoreboard

#

but every thing else with a download command works in my scoreboard

pure plover
#

Anyone know why my server uptime is showing as 2d 54h 21m and how to stop it going over 24 hours? xD

balmy marten
#

Why would you want to stop it going over 24 hours?

pure plover
#

I mean like so when it hit 24 it adds a day on, where as at the moment its at 54 hours

#

if that makes sense?

balmy marten
#

oh

#

What placeholder are you using?

pure plover
#

%server_uptime%

#

/papi ecloud download Server

leaden kraken
#

@pure plover

spiral wind
#

can someone help me with my powerranks/placeholderapi problem

#

how can i use %powerranks_rank% without it having a download command

#

i have %powerranks_rank% in my scoreboard plugin but it doesnt work

#

so

#

how do i use it

pure plover
spiral wind
#

.-.

worldly egret
#

I can't do any place holders with my world in the command because it has a underscore in its world name,

austere hawk
#

I do a restart every 24hours, is there a placeholder that can show the next time the server will restart (e.g. similar to %server_countdown_<SimpleDateFormat>_<time>% but without a date so it just gets the time until the next 7am)?
I tried: %server_countdown_HH:mm_07:00% but it always shows 0

kind wasp
#

why does %player_server% not work

brisk coral
#

@kind wasp Does /papi parse me %player_name% work?

kind wasp
#

it just says my name in the chat then

#

when i type in the command

brisk coral
#

And if you do the same for %player_server% what does it show

kind wasp
#

it says: now available in the server expansion

brisk coral
#

Well then use %server_name%

#

And make sure you have the expansion installed

kind wasp
#

i have

#

wait

#

im trying %server_name%

#

alright

#

it works

#

thanks 😄

cloud shoal
#

excuse me, i can't seem to forget my password

#

i can't seem to use the forgot password feature

#

CODE: ERR_500:
<WSGIRequest: POST '/passwordreset/'>

cosmic shale
#

@balmy marten ^

#

or @carmine veldt

carmine veldt
#

i’ve got no clue how to do anything about that sorry

#

will have to wait for the sphere

heady falcon
#

Maybe if ecloud 2 was up

balmy marten
#

username @cloud shoal ?

spiral wind
#

Hey @balmy marten or @carmine veldt [sorry for ping]
how do i use %powerranks_rank% without it having a download command?

tender vaporBOT
#

@spiral wind,

Hey!

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

spiral wind
#

oh sorry

junior musk
#

if an expansion doesn't have a download command, it means it's integrated into the associated plugin

#

which in your case is PowerRanks

#

but I think it requires you to enable PlaceholderAPI support in its config first to be able to use its placeholders

hybrid stratus
#

hmm?

#

did someone at placeholderapi made a mistake or it's a plugin?

austere hawk
#

Why: /papi ecloud download PlayerList Is not working?
Its in the PlaceholderAPI list

junior musk
#

what does it say?

austere hawk
#

The Placeholder doesn't exist! @junior musk

junior musk
#

screenshot?

#

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

hybrid stratus
#

can someone help me with the issue?

lilac oasis
#

pls add back the methods that were removed in 2.10.7

#

ive been having to use 2.10.6

warm topaz
#

if an expansion is broken, the authors should update their expansions

lilac oasis
#

but im using a plugin that isnt updated anymore

warm topaz
#

which plugin? some inactive expansions have been updated unofficially by others

lilac oasis
#

Coins

#

its an economy plugin

austere hawk
#

whats the placeholder for world?

#

and amount of online players?

austere hawk
#

@sharp jay

tender vaporBOT
#

@austere hawk,

Hey!

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

austere hawk
#

sorry

austere hawk
#

why no one support

steep thorn
#

@austere hawk no one has to give you support

#

If they want to, they will

austere hawk
#

sorry ):

steep thorn
#

Maybe try rephrasing your original question, because 'whats the placeholder for world' does not make much sense

warm wagon
#

have the statistics placeholders been fixed yet?
%statistic_time_played% seems to be wonky atm considering how it can say "1d 36h" or "4d 117h"

#

the actual playtime for 1d 36h should be 1d 12h, and 4d 117h should be 4d 21h

#

not sure how to resolve this

balmy marten
warm wagon
#

alright, thanks for the fast response, i'll try that one out

#

seems to still display 1d 36h

#

and that was through /papi parse me %statistic_time_played%

vivid sparrow
#

I might have a fix for that @balmy marten

#

can you trigger a build on jenkins?

balmy marten
#

I dont think I can

#

@carmine veldt should be able to

vivid sparrow
#

here, saw that issue last night and I think I have fixed it

carmine veldt
#

@vivid sparrow done

vivid sparrow
#

you have to merge my changes lol

carmine veldt
#

should've said that smh

#

link

carmine veldt
#

oh statistics

vivid sparrow
#

wait

#

papi?

#

What has papi anything to do with that, the math is a little off

carmine veldt
#

?

#

I build papi cuz I assumed that's what you meant

#

I was told to trigger a build, this is the papi channel

vivid sparrow
#

ye, just noticed that fc linked to papi latest build

#

anyways

#

please build statistic

carmine veldt
#

i did

vivid sparrow
#

🙂

warm wagon
#

will do!

#

it's fixed, thank you so much!

vivid sparrow
#

great

obsidian charm
#

Hello

#

there are placeholders for QuestCreator?

paper frost
#

Does anyone know why random_integer_between.js is not working properly?
It gives me numbers below min.
Also numbers are not integer.

gives me results like this:
9.0
4.0
3.0
1.0
4.0
9.0
9.0
0.0```
warm topaz
#

use rng expansion instead fingerguns

paper frost
#

God bless you for solid java solution
(non crappish javascript uhggg) 😉

warm topaz
#

its actually kotlin 🙃

solemn trail
#

Can bugs be reported here?

warm topaz
#

what is it? if its an unknown bug, creating an issue on github might be preferred

solemn trail
#

hmmm ok I go to github to report

vivid sparrow
#

If "like this" means .0 just call .toFixed()

topaz parcel
#

[placeholderapi question]
What's the recommended method to uninstall an installed ecloud expansion if we wish to no longer use it?

Removing the .jar from the plugins/placeholderapi/expansions/ doesn't seem to help. After starting up the server the ecloud list installed still shows it as installed. I read the wiki but either it's not documented or i couldn't find it.

Clearing the cache and reloading/restarting, and it's back again (in the list of installed).

#

The TNTRun expansion is removed from the system, the .jar isn't in the expansions/ directory. I can't find any reference to it in other files. though there's one config.yml one.

mint fable
topaz parcel
#

I did glance over that, i didn't notice anything about having to validate something or whatever in order to ask a question here? ..

mint fable
#

No, just stating that you would've probably noticed #placeholder-api if you did 😉

mental night
#

Validation / Verification is only for premium plugins like DeluxeChat EZRanksPro

mint fable
#

Either way, TNTRun no longer requires the expansion

#

The old expansion pack, which can still be downloaded from 'PAPI ecloud', is redundant and should no longer be used.

#

it's built into the plugin, so that would most likely be why you still see it

topaz parcel
#

indeed, i upgraded, placeholders stopped working when we moved to 1.16.3, and i try to get rid of the ecloud, but it keeps showing as installed.

#

the popup pushed me to general-plugins, sorry..

mental night
#

It's built into the actual plugin

#

Why are you trying to remove it from the ecloud

mint fable
#

if you delete tntrun it will also be removed

topaz parcel
#

rules and intro both didnt' link to placeholderapi either, sorry.

#

I want to continue running tntrun, im not going to uninstall the plugin, sorry if i misunderstand you.

mental night
#

In order for it to be removed from ur ecloud you'd have to delete the plugin TNTRun

#

Well then you can't remove the placeholderapi expansion

mint fable
topaz parcel
#

i dont care about it being on the ecloud website itself?

mental night
#

No

#

You actual expansions

#

You cannot remove TNTRun Expansion from your storage if you run the TNTRun plugin

topaz parcel
#

Okay, I am just confused here.. I have to start the server without the ecloud jar in expansions/ and without the tntrunplugin's jar - then ... stop and install tntrun and .. start server again ?

mint fable
#

No

#

Listen

topaz parcel
#

Trying.

mint fable
#

The expansion on the ecloud

#

the one you downloaded

#

doesn't do anything anymore

#

it doesn't even matter

#

delete that

topaz parcel
#
$ ls -all
total 400
drwxr-xr-x  10 floris  staff    320 Sep 23 16:44 .
drwxr-xr-x   5 floris  staff    160 Feb  2  2019 ..
-rw-r--r--@  1 floris  staff   8196 Sep 23 16:44 .DS_Store
-rw-r--r--   1 floris  staff   2433 Jan 13  2020 Expansion-AcidIsland.jar
-rw-r--r--   1 floris  staff   4513 Jan 28  2019 Expansion-Jobs.jar
-rw-r--r--   1 floris  staff  18085 Aug 24 23:16 Expansion-LuckPerms.jar
-rw-r--r--   1 floris  staff   3757 Jul  5 08:55 Expansion-Multiverse.jar
-rw-r--r--   1 floris  staff  12875 Apr 30 19:10 Expansion-Player.jar
-rw-r--r--   1 floris  staff  93798 Jan 13  2020 Expansion-WorldGuard.jar
-rw-r--r--   1 floris  staff   1932 Jun 13 14:05 Expansion-Worldborder.jar
$
mental night
#

huh

mint fable
#

The placeholders were switched from an EXTERNAL expansion

#

to an INTERNAL class within the TNTRun plugin

mental night
#

TNTRun = Runs the expansion

mint fable
#

so you can't delete the placeholders for TNTRun without deleting the plugin

#

I don't know why you want to get rid of the placeholders so bad though

mental night
#

Idk why you would want to remove the expansion which gives u placeholders.

#

mhm

topaz parcel
#

the plugin says to no longer use ecloud

mint fable
#

yes, and you deleted it

#

right?

topaz parcel
#

i upgraded, it doesn't work, dev says that might be the case, i try it to stop using.. so it mi..

#

ok, so the expansion folder on my system is from older version of placeholderapi and i dont even need that anymore ?

mint fable
#

Who said you don't need the expansion folder?

#

Unless you aren't using any of the expansions, you need it

topaz parcel
#

you.

mint fable
#

I.... did not?

#

The placeholders were switched from an EXTERNAL expansion
to an INTERNAL class within the TNTRun plugin

#

that?

topaz parcel
#

I show i removed the tntrun expansion jar and you said it's moved to external expansion.

mint fable
#

That is specifically for TNTRun

#

if your problem is now that the placeholders don't work then there might be an issue with the plugin, are you running latest PAPI?

topaz parcel
#

okay, refresh.. maybe im just utterly confused, im sorry.. i never had issues with any of this, things worked, i updated placeholderapi and tntrun for 1.16.3 and it stopped working.

I wanna keep using placeholderapi, i wanna keep using tntrun plugin. and i want to use the palceholders ingaame, they do not parse.

I read the changelog it says: stop using ecloud expansion, we deal with it differently now.

SO i try to figure out how to get rid of the expansion.. and i dont underrstand why i have to uninstall tntrun to achieve that then..

#

PlaceholderAPI version 2.10.10-DEV-110

mint fable
#

you already got rid of it

#

you deleted it

#

it's done for

topaz parcel
#

from the expansions/ folder (from within the placeholderapi dir)

mint fable
#

correct

topaz parcel
#

ok, papi ecloud list installed, even after server restart says tntrun ecloud expansion is still installed.

mental night
#

So

#

Them saying that its been removed from the ecloud

#

is them saying you don't have to do /papi ecloud download TNTRun

#

and it will automatically hook into the papi

#

Not them saying that you have to delete it

mint fable
#

What if you type /papi list

topaz parcel
#
> papi ecloud list installed
[16:48:04 INFO]: Installed Expansions
    Name         Author             Verified  Version
--------------------------------------------------------------------
1.  TNTRun       steve4744          Y         9.4.1
2.  Player       clip               Y         1.7.2
3.  AcidIsland   clip               Y         1.14.3-SNAPSHOT-b889
4.  Worldborder  pixar02            Y         1.0.0
5.  PlotSquared  intellectualsites  Y         3
6.  WorldGuard   clip               Y         1.4.2
7.  LuckPerms    luck               Y         5.0-R2
8.  Multiverse   clip               Y         1.0.1
mint fable
#

It could saying it's installed with the /papi ecloud command just because it's the same name

#

yes you're fine

#

that's the plugin

#

not the expansion

#

1. TNTRun steve4744 Y 9.4.1

#

v9.4.1

topaz parcel
#

ok perfect. we're all the same page then.. nothing else i have to do.

mint fable
#

no

topaz parcel
#

question: papi parse doesn't parse..

mint fable
#

how so?

topaz parcel
#

so what else i do wrong 😄

mental night
#

/papi parse me %placeholder%

mint fable
#

/papi parse me <placeholder>

topaz parcel
#

yep, it doesn't parse, it shows the %placeholder.. % thingy itself.

mint fable
#

contact dev

mental night
#

That isn't PAPI's fault i dont think

mint fable
#

it was updated a week ago there's gotta be some issue

mental night
#

Dev still runs older version of papi maybe

#

not sure

mint fable
topaz parcel
#

I honestly do appreciate your patience with me being utterly confused as to what certain things "mean" or stand for. It's a bit more clear now.

mint fable
#

👍

#

for now i gotta go the bathroom so.... brb

topaz parcel
#

If the world could stop constantly changing, i can focus on the gameplay instead of 'what now'

slate sentinel
turbid tide
#

use this build

#

of Statisitc expansion

slate sentinel
#

ty

zenith badge
#

I need help creating a PlaceholderAPI Javascript placeholder that returns %townyadvanced_town_residents_amount% if the current user is equal to %townyadvanced_town_mayor% and otherwise 0

@steep thorn

spiral wind
#

whats the placeholder that shows the total players online on the whole server

vale dock
#

uhhhhhhhhh %vault_eco_balance% is not working

#

others are working

#

only vault is not working

steep thorn
#

@vale dock define 'not working'

vale dock
#

if using %vault_eco_balance% output the %vault_eco_balance%

balmy marten
#

/papi ecloud download vault
/papi reload

vale dock
#

/papi ecloud download vault

/papi reload
@balmy marten
im did running the your command

balmy marten
#

hm?

vale dock
#

sorry im wrote it wrong

#

i not good english

balmy marten
#

Run /papi dump

#

And copy and paste the url it gives you

vale dock
#

what url

balmy marten
#

The one /papi dump gives you

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**

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,

Hey!

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

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,

Hey!

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

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

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,

Hey!

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

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

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

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
#
FAQ Answer:

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

austere hawk
#

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
#
📋 Paste Converted!
https://paste.helpch.at/elutuboviw

A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!

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,

Hey!

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

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>