#placeholder-api

1 messages · Page 78 of 1

robust saddle
#

I believe so

brisk coral
#

My first guess would be you don't have the expansion (or have not reloaded papi after installing the expansion)

robust saddle
#

I do, and I restarted the server

brisk coral
#

And is the expansion listed in /papi list

robust saddle
#

yup

brisk coral
#

/papi parse me %bungee_Factions%

#

What does that return?

robust saddle
#

0

#

So it does work, but not in the GUI

brisk coral
#

how are you parsing the placeholders

robust saddle
#

Could it maybe be because I am setting the player as null?

brisk coral
#

(inside the core)

robust saddle
#
PlaceholderAPI.setPlaceholders(null, line);```
brisk coral
#

ye you need to actually set the player

robust saddle
#

Is that new in 2.10?

brisk coral
#

idk 🤷

robust saddle
#

:p

#

aright, thanks

polar dragon
#

This might not be the correct place to ask, and if not, by any means, redirect me to the right place, but I have been trying to make a command work and can't figure it out. Using Placeholder API and VentureChat I have been trying to make a custom command. It should be as follows: When I run the command "/pvpon" it should alias to "Command: /rg flag {worldguard_region_name} PVP allow". Sadly it seems to add a special symbol somewhere.. I have also tried to test this with the player name place holder and a region that has the exact name. Same response as in the screenshot :(. Anyone knows the solution?

#

I guess I can't add a screenshot, but it says the following after running the Alias. "The region name of "dawnstone" contains characters that are not allowed."

#

dawnstone is the exact name, and i've tried this in many regions.

sacred bronze
#

@polar dragon are you running the command, or do you plan to run it thru console

#

if the command is to be run in console, you should add -w [worldname] flag.

#

as for your command, i assume venture chat does not parse papi placeholders.

#

for this i would recommend delxuecommands or mycommand

polar dragon
#

I'm indeed running it in game. Venturechat does parse the placeholder. Dawnstone is the correct region name, but it seems there is a hidden symbol somewhere..

brisk coral
#

if it parses the placeholders, use %%

glad hemlock
#

why is this happening ?

tender vaporBOT
#
📋 Your paste, Smilley
https://paste.helpch.at/fukeqevoho

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

sacred bronze
#

@glad hemlock delete your expansions 1 by 1 until you figure out what is causing it

austere hawk
#

IS there ever gonna be a buycraftx placeholder?

#

i really need it for my top donators, recent donators etc

oak drift
#

Make an expansion ¯_(ツ)_/¯

austere hawk
#

how ¯_(ツ)_/¯

oak drift
#

It's actually fairly easy

austere hawk
#

I have no knowledge in coding

#

sadly

oak drift
#

I'll try thinking of something quick, I've never used the api of buycraft or placeholderapi

#

It seems fairly simple to use, though

#

@austere hawk what ver do you use?

austere hawk
#

The latest version is 12.0.2 released on May 22, 2019 14:46.

oak drift
#

Server version..

austere hawk
#

OH

#

1.14.4

oak drift
#

Paper, spigot..?

austere hawk
#

Paper

oak drift
#

thank god

austere hawk
#

hehe

oak drift
#

@austere hawk which placeholders do you want?

austere hawk
#

for top donators %buycraft-top% 1-10

#

and recent donators %buycraft-recent% 1-10

#

1-10 means what place

oak drift
#

so, buycraft-top-1, buycraft-top-2..?

austere hawk
#

as the command is like this

#

leaderheads setsign <statistic> <rank>

#

statistic is the placeholder

oak drift
#

it'll be %buycraft_top_x%

austere hawk
#

oh ok

#

yeah

oak drift
#

oof buycraft is great.. gotta send web requests to get payments and stuff

austere hawk
#

not gonna work? :/

oak drift
#

it's probably gonna work

austere hawk
#

😮

oak drift
#

I'll needa make a config tho

#

so you can put the token

austere hawk
#

ye

#

i'll send you $10 paypal if you make this for me

#

it means alot

brisk coral
#

If you're making an expansion, might as well make it public for everyone to use (might also want to use the papi config - less confusing for other people)

oak drift
#

Yeah, I might lol

austere hawk
#

I'll still pay him for this

#

or her

#

idk

#

sawwy

oak drift
#

him

austere hawk
#

phew

oak drift
#

lol

#

oh dang this'll be easy

#
  public String getString(String path, String def) {
    return getPlaceholderAPI().getConfig()
        .getString("expansions." + getIdentifier() + "." + path, def);
  }```
bronze bison
#

Why would u need that?

oak drift
#

for getting the buycraft token

bronze bison
#

From papi config?

oak drift
#

¯_(ツ)_/¯

#

What should I use?

bronze bison
#

If so, use this.getString()

oak drift
#

Yeah, I know how to use it

bronze bison
#

And implements Configurable

oak drift
#

I thought you were suggesting something else

bronze bison
#

No, thats what everyone use to get expansion's configuration from papi config

oak drift
#

it also seems to be the simplest way

bronze bison
#

It is.

oak drift
#

@bronze bison what's the def param?

bronze bison
#

If the given path doesn't have a value, it will use what u set in the default param

oak drift
#

oh

#

if I set it as null it'll just return null, right?

#

How bad is this?

#
        if (identifier.startsWith("recent_")) {
            int num = Integer.parseInt(identifier.replaceAll("\\D+", ""));
            if (num > 10 || num < 0) return "undefined";
            ArrayList<Payment> payments = new ArrayList<Payment>(buycraftApi.getLatestPayments(num));
            if (payments.size() < num) return "undefined";
            return payments.get(num).getPlayerName();
        }```
#

oh actually I should make the limit higher than 10

vivid sparrow
oak drift
#

pretty sure it's on topic..

bronze bison
#

looks like it does the job, but id suggest returning "" instead of undefined cuz its a placeholder

oak drift
#

Yeah, I'll do that

bronze bison
#

btw this will threw an error if the user didn't set a number

#

Idk about buycraft api, but is it limited to 10 only? If not, why u limited it?

oak drift
#

I don't know, I just know that you can't get an index lower than 0

#

I should subtract 1 from num so it's like buycraft_recent_1 to get the latest

#

I just got an idea lol

#

recent_1_name
recent_1_currency

#

stuff like that

bronze bison
#

yea just check if its lower than 0, dont limit it to 10 if buycraft doesn't.

#

And yeah, cuz its an array

austere hawk
#

or make default currency in config

bronze bison
#

Dont suggest doing that, put the number at the end

oak drift
#

I'll split the identifier at _ and check stuff like that

bronze bison
#

Ok then, noice

oak drift
#

so, you're saying

#

number at the end?

bronze bison
#

I mean yea its possible but its easier to have it at the end

#

And maybe better anyway?

#

Up to u 😄

trim mist
#

Seems more logical to have it at the end.

bronze bison
#

Yea

oak drift
#

Not to me, but sure

#

I think of it as a property

#

buycraft.x.thing

#

but yeah, I'll make it last

trim mist
#

It really works either way. Do whatever you prefer.

#

I do see what you're saying though about it being the property of the object.

oak drift
#

yeah don't mind that, I'll just make it at the end

#

so, if they do something invalid like buycraft_name and not set the name or something, do I return null or ""

trim mist
#

One will return an empty string, one will return the placeholder identifier.

bronze bison
#

null will return the placeholder text u tried to parse

oak drift
#

oh, so ig null if they entered a wrong identifier, and "" if it doesn't exist / is out of bounds

bronze bison
#

up to you, but yea id do that

oak drift
#
            switch (split[1]) {
                case "playername":      return payment.getPlayerName();
                case "currency":        return payment.getCurrency();
                case "currencysymbol":  return payment.getCurrencySymbol();
                case "amount":          return Double.toString(payment.getAmount());
                case "date":            return payment.getDate().toString();
                case "id":              return Integer.toString(payment.getId());
                case "playerid":        return Integer.toString(payment.getPlayerId());
            }```
#

@trim mist is there something that gets ran when the expansion loads?

#

I think it's register but no clue

#
  /**
   * Attempt to register this PlaceholderExpansion
   *
   * @return true if this expansion is now registered with PlaceholderAPI
   */
  public boolean register() {
    Validate.notNull(getIdentifier(), "Placeholder identifier can not be null!");
    return PlaceholderAPI.registerExpansion(this);
  }```
#

yeah

#

Anyways

#

gonna go test now

bronze bison
#

hmm? Yea it is register method, but why would u need that?

#

getIdentifier() returns the expansion name (that u set and shouldnt be null and the expansion wont work without it) and it will be the same in the placeholders %<identifier>_<placeholders>%

oak drift
#

@bronze bison I need to set the token

austere hawk
#

I can test it if you want

oak drift
#

pretty sure I don't need to get it from the config every time

#

wifi I'm not done yet

austere hawk
#

i mean if u needed a token

#

to test it

oak drift
#

yeah if it works I'll give you the jar in a bit

austere hawk
#

oki

bronze bison
#

getIdentifier() wont be the token?

oak drift
#

the buycraft secret

#

I save it to a private var on register

bronze bison
#

Ik what's the token

#

Im taking about this part that u sent java Validate.notNull(getIdentifier(), "Placeholder identifier can not be null!");

oak drift
#

that's inside the default

#

I removed it

bronze bison
#

Ah ok

oak drift
#

I think I'm done

#

testing time

gloomy orbit
#

quick question when placeholderapi get a update and im download the new jar i only need to replace the jar ? or anything with the placeholder folder too ?

bronze bison
#

Most likely just the jar, unless theres a config changes (will be mentioned in the change log if theres any) ull have to delete the old folder to make it generates the new one

#

Currently, just replace the old jar with the new one.

cinder trench
#

Hello, please help me.
I entered "/papi ecloud download vault" but it does not work.
But the "/papi ecloud download statistic" is working

balmy marten
#

Any errors?

cinder trench
#

No, it doesn’t show errors.
It is installed from the site, it still does not work, only the "statistics" work

brisk coral
#

@cinder trench do you have vault installed? (And have you reloaded papi after installing)

cinder trench
#

Yes

cinder trench
#

What to do?

warm topaz
#

Hi im using the placeholder {placeholderapi_otherplayer_health_<player>}, what do i need to put in <player> because its returning PNF (player not found)

bronze bison
#

@cinder trench What it says when you reload papi in console?

#

@warm topaz guess the player name?

warm topaz
#

yeah but im trying to make it so the player should be automated because it will be a different player each time in my case

bronze bison
#

u want to get the player's health?

warm topaz
#

yeah

#

im looking for a placeholder that shows the number of hearts specifically tho

#

i thought maybe i could try this placeholder cus ive already tried all of the other placeholders

#

so it shows 10 instead of 20

bronze bison
#

There's should be one that returns that

warm topaz
#

i would love to say that there is

#

but there isnt

#

even in mvdw

bronze bison
#

hmmm use math then

warm topaz
#

never used this before, but i sort of get it, could i get a bit more help with this expression?
ive typed in /papi parse me %Math_2/{player_health}% and it returns with 0.100 when im trying to get a value of 10

vivid sparrow
#

perhaps switch the order and divide the health by 2?

warm topaz
#

it becomes invalid as its not a 'unary operator'

#

at position 1

vivid sparrow
#

using %math_{player_health}/2%?

warm topaz
#

u are a smart man

#

xd

#

ty

vivid sparrow
#

xD

#

np

warm topaz
#

now featherboard doesn't want to parse it -- {placeholderapi_math[precision:1]{player_health}/2}

#

i see the problem

brisk coral
#

put precision:1 at the end

warm topaz
#

precision works fine when i parse with papi

#

its because theres 2 sets of {}s

brisk coral
#

{placeholderapi_math_player_health/2[precision:1]}

warm topaz
#

but then if i get rid of the ones in {player_health} then it wont work cus thats Math's requirements

brisk coral
#

make a js placeholder then

warm topaz
#

yikes

brisk coral
#

Shouldn't be too hard

#

Try using %math_{player_health/2[precision:1]}% first tho

warm topaz
#

yes it works in papi but it wont in featherboard

#

i dont think theres anything i can do about that one tbh

brisk coral
#

Just use javascript

warm topaz
#

i guess its about time i learn

cinder trench
#

@bronze bison
PlaceholderAPI configuration reloaded!
[PlaceholderAPI] Successfully registered expansion: statistic

tender vaporBOT
#

@cinder trench

Hey,

Please be patient and don't ping helpful or staff members!

bronze bison
#

Only this? can u check if the vault expansion is in plugins/PlaceholderAPI/expansions @cinder trench

cinder trench
#

Checked several times

bronze bison
#

Well then, you either dont have vault plugin or its not enabled/working

cinder trench
#

I can record a video and send

#

Do you have Vk?

bronze bison
#

hmm?

#

=imgur

tender vaporBOT
#
Uploading Images

Please use imgur to share screenshots and other images.
Imgur

cinder trench
bronze bison
#

u dont have vault plugin ?

#

=plugin vault

tender vaporBOT
austere hawk
#

AutoRank PAPI is wrong.

#

%autorank_next_rank%

#

That's supposed to work.

#

Others work, but %autorank_current_rank% and %autorank_next_rank% don't work.

sacred bronze
#

@warm topaz it's a known issue with FB and papi placeholders. you cannot have a placeholder within a placeholder in FB if you are use papi to parse it

#

javascript will be the easiest way for u dto do it

#

@austere hawk download the expansion

#

reload papi

austere hawk
#

I got an error when I try /papi ecloud placeholders Player

#

Its send me "an internal error occured while attempting etc.."

#

I try /papi reload, restart, updating my plugin to the last version

#

I try to clear the cache

#

But still the same I always got the error

balmy marten
#

Throw the error into a paste

tender vaporBOT
#
HelpChat Paste

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

coral dew
#

hello help me why this isn't work format: '%statistic_hours_played% {DISPLAYNAME}&7> &f{MESSAGE}'

#

is essentials

tender vaporBOT
#
Chatinjector
Useful Links & Information:

Allows you to parse PlaceholderAPI placeholders in chat!
Spigot
GitHub

vivid sparrow
#

use this since essentials doesnt support papi placeholders by itself

coral dew
#

that isn't support for 1.14.4

cinder trench
#

@bronze bison
There is. I install the plugin, it loads, installs into the folder and does not work

tender vaporBOT
#

@cinder trench

Hey,

Please be patient and don't ping helpful or staff members!

bronze bison
#

installs into the folder
Wdym by that? U just need to download Vault plugin (put it in ur plugins folder) and then run the server after that run these commands

/papi ecloud download vault
/papi reload
``` @cinder trench
#

It should work fine

cinder trench
#

does not work

bronze bison
#

Any errors in console after u downloaded vault plugin

alpine anvil
#

EssentialsX supports papi?

brisk coral
#

nop

alpine anvil
#

ah

#

i see so i have to use chatinjector

bronze bison
#

Yes.

alpine anvil
#

Thanks

cinder trench
#

No mistakes, I can record a video

#

I completely changed the kernel, not working

cinder trench
#

On another assembly, the plugin works fine

#

All plugins are completely removed and only this one is left, also

austere hawk
#

anyone able to make an buycraft expansion to papi, where you can have top donators and recent donators as placeholders

#

i'll pay $10 to the one who makes it

vivid sparrow
austere hawk
#

sorry

cinder trench
#

Is it better for me to demolish everything and do it again?

elder pine
#

Hello, I posted some days ago asking for help with placeholder api and deluxejoin and deluxechat. While doing the following commands:

/papi ecloud download player
/papi reload

Made the deluxechat plugin work with %player%, it still doesn't work with deluxejoin.

#

If I remove placeholder api, deluxejoin works fine

brisk coral
#

%player_name%

elder pine
#

No, it says %player%

brisk coral
#

Change it to %player_name%

elder pine
#

Oh okay

#

Thank you. That fixed the problem.

austere hawk
#

Hello
I have a problem
The placeholders aren't weorking
My code

Inventory inv = Bukkit.createInventory(null, 54, "&8Prueba");

        ItemStack ii = new ItemStack(397,1,(short)3);
        SkullMeta meta = (SkullMeta) ii.getItemMeta();
        meta.setOwner(p.getName());
        List<String> lore = new ArrayList<>();
        lore.add("%player_name%");
        for (int i = 0; i < lore.size(); i++)
        {
            String lineaNueva = PlaceholderAPI.setPlaceholders(p, lore.get(i));
            lore.set(i, lineaNueva);
        }
        meta.setLore(lore);
        ii.setItemMeta(meta);
        inv.setItem(0, ii);
        p.openInventory(inv);
bronze bison
#

Can u not send the same message in all channels? Be patient and someone will help u

#

It should be java lore.add(PlaceholderAPI.setPlaceholders(p, "%player_name%"));

#

@austere hawk ^

austere hawk
#

And if I have it on a Config StringList?

#

ANd, I want to put the placeholders to all placeholderapi

#

how to i use placeholderapi placeholders in mvdwplaceholders

#

like it dosent work when i put %essentials_nick%

#

¿?

coral dew
#

how to do deluxemenu if have permission will run other command? ex. normal group will gave 1 key to open crate if have vip group will gave 2 key?

sacred bronze
#

@austere hawk mvdw placeholders use {}, so you would need {placeholderapi_<papi placeholder>} with no %% when you put the placeholder in

#

@coral dew If you have 2 diff groups, and they are pressing a button in deluxe menu, use view requirement and left/right click requirement (for safety). In the view req, check which group they are in, and display a specific button for each group

#

the vip group will then run the 2 keys command, while normal runs 1 key command

#

but normal wont be able to see the vip group and vip wont be able to see the nromal one (if you have it set up correct)

coral dew
#

you can make me example?

sacred bronze
#

no

#

read wiki

#

there are examples there showing how view requirements work

coral dew
#

thank

pseudo mist
#

Hello. Into a Javascript placeholder i can use variable in placeholder? example -> "%otherplayer_gamemode_"+playername+"%"

bronze bison
#

if u want that for just this gamemode placeholder then use this

var player = BukkitServer.getPlayerExact(args[#]);

return player.getGameMode().toString();```
warm topaz
#

bungee config

brisk coral
#

Motd is changed inside the PlaceholderAPI config

junior ore
#

Someone Using LobbyAPI here? 🙂

coral dew
#

help Frosty

celest tendon
#

several placeholders in the Player expansion is not working for me, namely %player_food_level% %player_saturation% %player_x% %player_y% %player_z% %player_direction% and %player_world_time_12%
I tried /papi ecloud placeholders player, and it gave me the An internal error occurred

#

this was for a tablist plugin, initially i thought it was the tab plugin's problem but after I switched the tablist plugin the exact same placeholders still don't work

#

This was on minecraft 1.14.4, and I ran /papi ecloud download Player

cinder trench
#

@bronze bison
Help! Everything works fine on another server but doesn't work on my build, what's the problem? I copied everything - does not work

tender vaporBOT
#

@cinder trench

Hey,

Please be patient and don't ping helpful or staff members!

cinder trench
bronze bison
#

@cinder trench it worked in the first server cuz u had vault, and it didn't in the second server cuz u didn't have vault plugin.
I told u, make sure that u have vault plugin and it will work

celest tendon
#

I tried TAB and TabList

bronze bison
#

Try the placeholder using papi's parse commnd and see if it works

celest tendon
#

both supports papi

bronze bison
#

/papi parse me %placeholder here..%

celest tendon
#

ill try that

cinder trench
#

@bronze bison I don’t know why, but that wasn't the point ... The vault didn't show up there, I just changed the permissionsEx and it worked ...

tender vaporBOT
#

@cinder trench

Hey,

Please be patient and don't ping helpful or staff members!

bronze bison
#

Vault expansion wont work/load with vault plugin

celest tendon
#

the parse command worked

#

but the same placeholders dont work on two plugins that support papi .-.

bronze bison
#

Its those two plugins issue then

pulsar delta
#

I keep running in to an issue while using the placeholder expansion for Gangs Plus, it works but after a server restart it stops working. I have to redownload the expansion and reload to make it work again

brisk coral
#

Contact the author

sacred bronze
#

do i need to do something special for a javascript countdown placeholder to update every second?

brisk coral
#

Where are you using it?

sacred bronze
#

oh it's updating

#

fk

#

it's the hologram then

#

hmm

bronze bison
#

Make the hologram updates every x time and it should work fine.

sacred bronze
#

ye ye got it now

#

tyty

bronze bison
#

np 😃 😁

ancient pewter
#

Are placeholders supposed to work on ChatControl like this?

{placeholderapi_luckperms_meta_race}

mystic silo
#

Hi! I was wondering if anyone could help me? I bought the VoteParty plugin but the placeholders on the PlaceHolderAPI website aren't loading after I downloaded it from the ecloud. I'm trying to display the identifier %voteparty_total_votes_needed%.

little dome
#

What are you trying to display them with

#

like what plugin

mystic silo
#

TitleManager. The other placeholders for it work. I'm able to display my rank and faction in it.

#

The vote party placeholder is right underneath of'em.

#

The TitleManager scoreboard *

little dome
#

did you restart your server?

mystic silo
#

I'll try that. I just haven't had to restart the server before to make placeholders work. Just reloading PlaceholderAPI .-.

little dome
#

you're running papi with a secondary plugin, sometimes that plugin won't register until itself is reloaded

mystic silo
#

No, it didn't work.

#

I also can't parse the identifier, which means it actually isn't loading. Nothing to do with TitleManager

little dome
#

What papi ver and server ver

mystic silo
#

2.10.4

austere hawk
#

hello

#

i downloaded the enjin expansion

#

and its not working

#

when i /papi parse [myusernamehere] %enjinminecraftplugin_points%

#

it just comes up with %enjinminecraftplugin_points%

#

help ASAP

austere hawk
#

Do you have expansion installed?

wet basinBOT
#

@vivid sparrow Unknown expansion.

vivid sparrow
#

o

frank glacier
#

Is there any expansion or javascript that will count the number of online players in a certain group?

mystic silo
#

The placeholders for VoteParty are still not working for me.
I'm using the 2.10.4 version of PlaceholderAPI and version 1.14.0 of VoteParty, both are the latest versions.

austere hawk
#

so can no one make a tebex expansion to papi?

little dome
#

@mystic silo what server ver

mystic silo
#

1.13.2

little dome
#

Alright I'll run a test server

#

Spigot or paper?

mystic silo
#

Spigot

brisk coral
little dome
#

And what vp ver

brisk coral
mystic silo
#

@little dome 1.14.0

little dome
#

And lastly, what plugin are you trying to use the placeholder with

mystic silo
#

TitleManager.

little dome
#

TM?

mystic silo
#

Yep

little dome
#

Alright one moment

brisk coral
#

Dillon

#

Do not offer support to unverified users. Thank you

#

When did you purchase VP @mystic silo

mystic silo
#

September 15th

#

Oh wait, that's a different one

#

What's the name it would be on PayPal?

austere hawk
#

just verify with ur spigot page??

mystic silo
#

I already did that

#

I can send you a DM of the VoteParty page with my username and everything.

brisk coral
#

Your linked spigot account does not appear to have VoteParty

mystic silo
#

I followed the steps though

brisk coral
#

Did you link the correct account?

mystic silo
#

Yes. How do I try the numeric way?

brisk coral
#

The account is linked so no, I mean if you're sure you've purchased it on this account, as it doesn't seem to be showing up

little dome
#

@mystic silo accept fr

mystic silo
#

@little dome It's all good. I DMed Frosty with proof of my purchase and he fixed VoteParty for me.

#

But thanks anyway

#

🙂

austere hawk
#

Could the OnTime placeholders be updated so they work with offline players? Thanks!

austere hawk
#

@austere hawk jea ive got the expansion

#

also how can i reset a placeholder?

#

ive got one set to phantom kills and i wanna reset ti

#

i need help asap

uncut patrol
#

Hello, i have a question about PlaceholderAPI. When i have placeholderapi in my plugins and mu serverselectorx to my serverselectorx doest work.. can anybody help me to resolve this issue?

sharp jay
#

@uncut patrol have you installed the placeholders expansions?

#

using /papi ecloud download "?"

austere hawk
#

Can anyone help me

uncut patrol
#

@sharp jay there is no placeholder expansion for serverselectorx

brisk coral
#

@austere hawk reset the stats

frank glacier
#

Here are two codes I've tried to use:

#

var online = server.getOnlinePlayers();
var num = 0;

function number() {
  online.forEach(function(player) {
    if (player.hasPermission(custom.boostcounter.master)) {
      num++;
    }
  });
  return num;
}
number();

balmy marten
#

We can't support unofficial builds

austere hawk
#

@brisk coral how do i do that?

#

and i dont wanna have to reset all the statistics

balmy marten
#

Also seems it has nothing to do with the actual PlaceholderAPI

austere hawk
#

just phantom kills

balmy marten
#

and is indeed something else that just happens to have the same name

vivid sparrow
#

Ever heard of google?

#

Btw permission it's a string @frank glacier

frank glacier
#

@GabyTM so I'd need to include that bit in quotes?

austere hawk
#

wait do i have to manually do it for each player/

frank glacier
#

@balmy marten , I'm not sure what you mean by "something else with the same name". The page I linked is related to command-utils, yes.. but on that page is a link to an unofficial update to placeholder api. Last version for sponge was 4.4, this dev released a "4.5.1" update, which added a %user% placeholder among other things

balmy marten
#

The one you link isn't built from or have anything to do with that

austere hawk
#

anyone know how to reset the phantom kills statistic?

frank glacier
#

I see now.. that is super unfortunate naming

#

I swear even some old threads about the sponge version link to the spigot version's wiki.. thought they were the same devs, whoops

austere hawk
#

basically what im trying to achieve

#

is a placeholder for phantom kills so far this month

austere hawk
#

i need help asap

tender vaporBOT
austere hawk
#

that does all time

#

i need it to go from today onwards

austere hawk
#

The only way to do it is to set the value in the world file called "stat" which has json file there for you to edit

#

And stat about phantom, no idea. Scout it

austere hawk
#

shitttttttttttt

olive mirage
#

Placeholder for player name?

#

Couldn't find it, is it even possible?

brisk coral
#

%player_name%
Make sure you have the expansion installed as well as have reloaded papi

olive mirage
#

Thanks buddy.

uncut patrol
#

My issue is still not resolved “Hello, i have a question about PlaceholderAPI. When i have placeholderapi in my plugins and mu serverselectorx to my serverselectorx doest work.. can anybody help me to resolve this issue?”

brisk coral
#

I believe it was answered

uncut patrol
#

Well what was it then

#

There is no expansion for that

#

Plugin

brisk coral
#

Also, just saw that there is no expansion for it, meaning if it doesn't work you're going to have to contact the author of the plugin

uncut patrol
#

Sure

cerulean ore
#

Any1 know why symbols doesn't work in javascript?

#

the script doesn't seem to be loading

#

but <3 works

vivid sparrow
#

make sure the file is encoded in UTF 8 and try the unicoded version

cerulean ore
#

tried all utf 8 versions already, same problem

bronze bison
#

Use the character unicode and not the character itself

cerulean ore
#

Nvm I found another solution

bronze bison
#

👍

cerulean ore
winged wolf
#

Hey guys, can i use PAPI on my BungeeCord network through an extension or a database?

bronze bison
#

@winged wolf wdym in ur bungee network?

#

Like u want to get a value of a placeholder in another server?

winged wolf
#

Thanks, thats what I wanted.

bronze bison
#

Glad to help 😄

austere hawk
#

Is it possible to create a placeholder with js that shows a word depending on if the player has a permission?

vivid sparrow
#

ofc

austere hawk
#

I need

#

How easy is it?

vivid sparrow
#
function test() {
    var player = BukkitPlayer;

    if (player.hasPermission("permission.node")) {
        return "Word here!";
    } else if (player.hasPermission("second.permission.node")) {
        return "Second word here!";
    }
}

test();```
brisk coral
#

juck gaby

vivid sparrow
#

what do you want lol

austere hawk
#

Damn gaby

#

ilysm

#

Now I took like a 7 month break, how do I go about setting that up in papi, gaby?

bronze bison
pseudo mist
#

How do I verify the expansion in the ecloud?

balmy marten
#

What's the name of it?

balmy marten
#

@pseudo mist Checked and verified! Verified

#

Should show in the ingame ecloud in the new few mins

stark pawn
#

good night, is there support for extension animations?

#

I have a doubt

balmy marten
austere hawk
#

gaby you up?

vivid sparrow
#

Sup

austere hawk
#

So about that js, Can you make it to where it returns a word if they DONT have a perm?

#

Sorry know nothing at all about js

brisk coral
#

Just put ! Before the statement

mint fable
#

@lament verge you added me to ask me to fix an issue with checkitem that is already open on the github?

lament verge
#

Yes 😥 I'm in a hurry that this bug is fixed

mint fable
#

Probably won’t be fixed soon since I’ve been quite busy

#

The code is always up there if somebody else wanted to give it a shot

austere hawk
#

@brisk coral Wym?

bronze bison
#

if (p.hasPermission("")) = if player has the permission.
if (!p.hasPermission("")) = if player doesnt have the permission.

lament verge
#

It really is not possible to solve this little problem? It's the only one ! Cj

brisk coral
#

Artsuki, as he stated himself, if you're in such of a hurry you're free to fix it yourself since it's available on github

lament verge
#

I am not a developer 😭 @brisk coral

tender vaporBOT
#

@lament verge

Hey,

Please be patient and don't ping helpful or staff members!

elder stump
#

Hey guys, is there anyway to display statistics with placeholderapi on discord? Any plugins?

sudden osprey
#

hey, my placeholders in deluxetags arent showing, and i dowlnloaded the extension for placeholderapi https://prnt.sc/pel55c

vocal field
#

PlaceholderAPI suggests using ChatInjector to use placeholders in chat. When I add ChatInjector, it allows everyone to user colors in chat when previously they could not. Any fix for this?

neon sage
#

Not really sure how to do this in Java but maybe write something in Skript where it detects chat events and replaces all "&1" or any color codes with "& 1"

limber ice
#

@vocal field chatInjector is only needed if your using a chat plugin like essentials

#

@neon sage there are plugins that use regex chat filters which will do that

#

@sudden osprey you using essentials chat? if so did you edit the Deluxetag config to work using Ess placeholders

mint fable
#

?tagess

tender vaporBOT
#
FAQ Answer:

DeluxeTags showing in essentials chat:

  • Turn of the DeluxeChat option in the DeluxeTags config.
  • Turn off the format_chat option in the DeluxeTags config.
  • Replace all the %placeholders% (%deluxetags_tag%) with {placeholders} ({deluxetags_tag}).
  • Restart the server.
mint fable
#

^ @sudden osprey

#

|| @limber ice not sure if you know about this faq or if you requested it and it went away||

sudden osprey
#

i use chatcontrol

mint fable
#

try following those steps still

brisk coral
#

poggers

mint fable
#

it'll probably still work

sudden osprey
#

ok, thanks

vocal field
#

@limber ice I am using a chat plugin like essentials.

limber ice
#

@vocal field did you try without chatInjector, sometimes it works without it.

low cobalt
#

I need help

iron sierraBOT
#

Theres not time to wait! Ask your question @low cobalt!

low cobalt
#

Lmao

#

?help

tender vaporBOT
#
FAQ Answer:
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait

Source

low cobalt
dim saddle
austere hawk
#

I’m not sure what way the priorities work but you could try swap them around

dim saddle
#

chaz that didnt work

#

is there something wrong with this placeholder view_requirement: requirements: name: type: string equals input: '%javascript_cooldown_tdaily_86400%' output: 0s

#

cuz with this set i cant even see the object

#

i found out the reason, the material was missing like a derp

gritty forge
#

I am using the javascript plugin and i get "Caused by: <eval>:1 TypeError: str.includes is not a function". Any idea how i can check if a string contains a substring ?

vivid sparrow
#

string.indexOf("x") !== -1

#

@gritty forge

gritty forge
#

ohhh thank you 🙂

slim jewel
#

hey, i need to reload my placeholderapi after every restart because of Gangsplus load not correctly these placeholders doesn't work: %gangsplus_gang% and %gangsplus_gang_online% can anyone help?

brisk coral
#

Contact the author of the expansion

slim jewel
#

ok

elder stump
#

Hey!
How do I get all the entity kills? Do I need to use this placeholder? %statistic_kill_entity:<MobType>%

bronze bison
#

If u want the total of x mob types use math expansion (for small amount of mob types) or JavaScript expansion (for bit amount of mob types)

austere hawk
#

hello i was wondering

#

is there a placeholder that will put the displayname of the player that used the command

#

I want the command to say

"(displayname) has cleared the chat!"

#

but using %player_displayname% or whatever doesnt work

#

it just shows the player who is reading the message's name

#

so it might say

"VIP ApiMaru has cleared the chat!"

instead of

"Owner Wolfling has cleared the chat!"

its client side for each person but i dont want that obv

brisk coral
#

You'd have to get the target

austere hawk
#

?

#

wym

brisk coral
#

Don't think that a placeholder exists

austere hawk
#

:(

brisk coral
#

I'd assume that the clear chat plugin would have that implemented already tho

gloomy egret
#

Hi, I have a problem and this variable does not work for me. Could you help me to know why it is the problem% rel_ [factions / factionsuuid] _relation_color%

lofty grove
#

i saw this: material: 'placeholder-%player_item_in_hand%' and then i tried it with a javascript placeholder i made that returns the headdatabase head 'hdb-1792' and it does not work. any help?

vivid sparrow
#

I think that's only for normal materials, which doesnt includes heads

burnt fractal
#

What's the placeholder for player? Cant find it anywhere on wiki. It's all %player_X%

brisk coral
#

%player_name%

#

Make sure you have the expansion downloaded

burnt fractal
#

Yup, thanks 🙂

brisk coral
lofty grove
#

oh. that stinks

sacred bronze
#

wonder if clip ever has plans to implement the requirement system from DM into decommands

vivid sparrow
#

Not in the next 10 years :))

scenic karma
#

redisbungee extension does not work

#

When it does it takes a really long time to update and does not update correctly, some servers can't be tracked. I have hooks redisbungee enabled in config, 30 as refresh and all the servers listed in config.

lament verge
#

@mint fable You would have the link of the checkitem code?

tender vaporBOT
#

@lament verge

Hey,

Please be patient and don't ping helpful or staff members!

vivid sparrow
#

@lament verge

lament verge
#

Thx

flint dune
#

Hey guys I’m using the placeholderapi in my plugin and I need some placeholders for offline players but It will not show the placeholder is not mine and I asked the developer of the plugin and I got told it was placeholderapis fault

mint fable
#

What placeholders? And what expansion?

flint dune
#

Superiorskyblock @mint fable

tender vaporBOT
#

@flint dune

Hey,

Please be patient and don't ping helpful or staff members!

mint fable
#

if the developer doesn't add offlineplayer support to his expansion (that's built-in to his plugin) then it won't work

harsh marlin
#

i need help

#

does anyone know

#

what placeholder is %tm_tokens%?

vivid sparrow
#

Tokenmanager

deep hollow
#

Hey, someone could help me creating a javascript to make a placeholder first letter uppercase, please? I need to add this placeholder to the scoreboard. Thanks! 🙂

Something like %worldguard_region_name% returns Lobby instead of lobby

vivid sparrow
#

Cant test

function f() {
    var name = "%worldguard_region_name%";
    return name.charAt(0).toUpperCase() + name.slice(1);
}

f();```
bronze bison
deep hollow
#

Wow

#

was seeing the old placeholder list sorry @vivid sparrow !

tender vaporBOT
#

@deep hollow

Hey,

Please be patient and don't ping helpful or staff members!

deep hollow
#

and thanks aboody 🙂

bronze bison
#

np 😁

austere hawk
#

Hey everybody

#

My variable dont work in the scoreboard
%server_online%

#

The count for players online

bronze bison
#
/papi ecloud download server
/papi reload

And make sure that ur scoreboard plugin supports papi

noble brook
#

Is there a placeholder that shows if a bungeecord server is online and offline?

bronze bison
#

Use pinger placeholders

noble brook
#

Tysm

bronze bison
#

No problem 😄

noble brook
#

Would you know how I change the formatting of the words offline and online?

#

I just want to make it bold with the same colours

bronze bison
#

U can change them from papi config

noble brook
#

Alright thanks

fleet crest
#

any placeholder suggestion for getting block player is looking at (coords)?

vivid sparrow
#

I doubt

dark spoke
#

Hello, ik that this is the wrong palce to ask but uh is there a plugin which works with 1.13.2 which is sign shops?

#

e.g i write
[BUY]
item
price or w/e

brisk coral
#

As you've said yourself, this is the wrong place, #minecraft would be correct (You're probably looking for ChestShop)

trim palm
#

Is there a way to find out which plugins released an update of their papi expansion?

hushed nebula
#

@fleet crest No there is not, however you can very easily get a plugin developed to return that for you if you need it via a command

austere hawk
#

[19:44:09 ERROR]: [PlaceholderAPI] BattleLevels is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [RobiRami] and urge them to update it ASAP.

Why am i getting this?

#

also for some reason the place holder api is working on one of my servers but when i go to the other one it doesnt work

balmy marten
#

Please consult [RobiRami] and urge them to update it ASAP.

austere hawk
#

who is that?

balmy marten
#

The author of BattleLevels

austere hawk
#

ah ok

#

wait but what does that message basically mean?

balmy marten
#

It uses a method to hook into placeholderapi that no longer exists

austere hawk
#

so basically meaning the plugin is outdated? Also how would it have worked before but not now?

balmy marten
#

The hook was replaced in newer versions of placeholderapi

austere hawk
#

explain

balmy marten
#

The way plugins interact with placeholderapi was changed awhile back after many warnings

#

You could downgrade placeholderapi as a temp fix, but that could break plugins that use the newer hook

austere hawk
#

ah i understand

#

do you think i could possibly fix that issue?

balmy marten
#

Needs to be fixed from within the plugin

#

to update the method it uses

cedar fossil
#

idk why but i cant download anything in /papi ecloud download

#

i tried to download essentials

#

no work

#

in the download list it shows nothing after i download it and reload it

#

they are in expansions folder doe

neon tartan
#

@steep thorn hey babe (firstly it’s me, I’ll explain in DMs lol), but can you update PAPI hook referencing the above ^^ someone having an issue with your plugin

steep thorn
#

@austere hawk I'm working on the issue but it'll take time before the update is released

austere hawk
#

@steep thorn oh hi robin. Thanks for letting me know

trim palm
#

where do I see which extensions need an update?

warm topaz
#

idk if theres an easier way but if u do /papi list the extensions that need updating will turn gold

trim palm
#

thank you!

cyan marsh
#

This error keeps occurring when I do /papi reload

tender vaporBOT
#
📋 Your paste, Fajardo
https://paste.helpch.at/tuxafonuye

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

#
📋 Your paste, Fajardo
https://paste.helpch.at/xedoyawaze

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

supple dawn
#

Hi, what is the placeholder for balance? And I want it to say it like this: 100 M or 1.3B. How can i do this. It's for my scoreboard plugin: Scoreboard-revision

bronze bison
#

%vault_eco_balance_formatted%

supple dawn
#

thanks

bronze bison
#

np 😁

stone thorn
#

So I am creating a hologram with 'premium' info for spawn, and I have one issue 😂

#

%luckperms_primary_group_name% <-- I need that info inside this one %luckperms_group_expiry_time_<groupname>%

#

any tips?

austere hawk
#

What does it return?

stone thorn
#

%luckperms_group_expirytime%luckperms_primary_group_name%% seperatly they return correctly, but setup like this just the placeholder itself

#

wish it would be possible to do it like that though :/

mellow sandal
#

yo yo yo

#

whats the version again

#

for statistic

#

in kills and deaths?

runic oxide
#

is there a way to check papi tags? like running a command to see the value a tag would return

austere hawk
#

Uiiii PaPi Progress for MCPE :D

bronze bison
#

Wdym? @austere hawk

#

@runic oxide its /papi parse me %placeholder here..%

#

@mellow sandal u mean for 1.12.2 or older?

/papi ecloud download statistic 1.7.0
/papi reload
radiant jewel
#

hello

#

hellop

#

workin

neat silo
#

So, Im going to make a plugin to allow players to use color codes on chat, and I pretend to add placeholders support to it, but as optional, without PAPI full dependency, but I don't understand how to add on the code PAPI support without requiring the PAPi plugin to the entire FC [FancyChat] works (I plan to make a better name).
Tanks for any help :D

brisk coral
#

Just parse the message? (Using PlaceholderAPI.setPlaceholders)

neat silo
#

So, if the server doesn't has PAPI it just send without parsing the message or it gets a error, that's the part where I got confused

brisk coral
#

I mean ye what do you expect.. You're using a plugins method.. Which requires the plugin to work

#

Add a parsing part to it where if papi is installed it parses it, and if it's not don't parse it

neat silo
#

Tysm

coral schooner
#

Idk if this plugin does it but this is for placeholders right?
Like in holographic displays that you can show how many players are in a server on a bungee network

#

well if it is is there any way to show a player count of multiple worlds combined

brisk coral
#

Use the math expansion, alongside the server expansion

slate siren
balmy marten
#

Delete the worldguard expansion from the /plugins/placeholderapi/expansions/ folder

#

then restart the server

bronze bison
#

U aren't using the latest version of the expansion?

#

If so

/papi ecloud download worldguard
/papi reload
warm oriole
#

You don't have worldguard installed @slate siren? on your server.

slate siren
#

i do

warm oriole
#
Caused by: java.lang.NoClassDefFoundError: com/sk89q/worldguard/WorldGuard meaning you don't have it.
slate siren
#

but whenever i put it in the files

#

papi starts going insane

warm oriole
#

redownload the expansion like @bronze bison mentioned.

slate siren
#

nvm Mr Cube.'s idea work

bronze bison
#

Cubes idea will delete the expansion so no wg placeholders anymore

#

U got that cuz u probably have an old version of the expansion, with a new version of wg that has api changes that caused that error

slate siren
#

dont think we need it anyways

bronze bison
#

Ok as u want then.

slate siren
#

thanks for the help tho!

#

xD

bronze bison
#

Latest eg expansion supports old and new wg

slate siren
#

o btw

#

how do we add deluxechat group format again

#

xD

bronze bison
#

Thanks to Glare ^^

austere hawk
#

Some assistance ?

coral schooner
#

Idk if this plugin does it but this is for placeholders right? Like in holographic displays that you can show how many players are in a server on a bungee network well if it is is there any way to show a player count of multiple worlds combined

The answer:

Use the math expansion, alongside the server expansion

I installed both. What now?

brisk coral
#

Now use the math expansion to combine em

hot crypt
#

I have Bungee placeholders installed, but they are not working in Holograms/

#

I have bungee placeholders installed and everythings good but that shows

#

no errors

warm oriole
#

delete the expansion

#

from the folder

#

and reinstall it.

#

It may just be the holograms plugin not supporting placeholderapi.

hot crypt
#

It does support it because it was working before

cunning anchor
#

Hello I had a couple qustions. I installed leaderheads plugin and downloaded papis mcmmo dlc to display mctop users. not theres not a statistic for mctop? just specific ranks? and another thing. Why wont is display rank 2 or 3 😮 only displayed one.

bronze bison
#

use a JavaScript placeholders to do that

fickle dock
#

@final shadow Just a heads up: Towny now provides PAPI placeholders, and TownyChat now reads PAPI placeholders. I'll link you the tags at some point, sent you a friend request btw.

brisk coral
#

Clip dead ^ @fickle dock

fickle dock
#

what?

brisk coral
#

He's not active that much due to irl stuff, he'll probably respond sometime this decade

fickle dock
#

ah well we've had a raport in the past, if his wiki doesnt get updated i'll pr it myself

bronze bison
#

Wew

brisk coral
#

@fickle dock

#

Oof

bronze bison
#

smh frosty

vivid sparrow
#

Is it ok if the expansion identifier doesnt match the expansion name? Because it's quite long xD
I know you can do that I'm just asking if it's ok.

mint fable
#

ya

#

you can make it whatever you want @vivid sparrow

vivid sparrow
#

🔥

brisk coral
#

AmAdGuYwItHaFiSh

vivid sparrow
#

wot

mint fable
#

amadguywithafish he said

vivid sparrow
#

a mad guy with a fish lol

mint fable
#

exactly

vivid sparrow
#

was like wtf does 'amad' mean?

brisk coral
#

You were asking for identifiers..

final shadow
#

@llamadeal#8304 is my towny expansion still necessary to provide placeholders for towny? I just checked the commit via towny and it looks like towny only allows using placeholders not provide them

bronze bison
#

clip check helpful

#

pls

errant pelican
#

Skript placeholder not working need some help please

bronze bison
#

Are u using them in a plugin that supports PlaceholderAPI?
If so, then contact the author of the expansion.

twin arch
#

Hello, I'm currently dealing with an issue where first connected players have their prefix not working, when they disconnect/reconnect, they work again

#

in this case, the %guilds_prefix% turns to nothing as it should, and %parangon_level% to 0

#

(ping me if you can help me, so I can answer right away)

mental night
sharp jay
#

@mental night any errors?

fallow prism
#

Good night!

I'm having a hard time leaving the chat format as I want. I create all the tags and they look normal in chat, but when I add the Clans System plugin and create a clan my tag disappears and only the clan tag appears, they gave me this PlaceholderAPI plugin and said it would help to solve my problem. Can anybody help me?

mental night
#

No errors @sharp jay

tender vaporBOT
#

@mental night

Hey,

Please be patient and don't ping helpful or staff members!

sharp jay
#

then what part doesn work

mental night
#

When it gets maxed out

#

The priority doesn’t change

#

Am I using the correct ‘’type:’’

sharp jay
#

have you tried uncapping it

vivid sparrow
#

switch the priorities, the item that it's displayed last always has the lowest priority

mental night
#

Alright will do when on pc

#

Thanks you two will keep updated

vivid sparrow
#

=paste

tender vaporBOT
#
HelpChat Paste

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

swift elk
#

good idea 😄 Sorry for the spam xD

vivid sparrow
#

Np

tender vaporBOT
swift elk
#

See link for console: Spigot 1.8.8 PAPI v2.10.4
https://hastebin.com/pacuhixizo.md

EDIT: Please see updated Link
More details can be provided upon request, I notice some papi issues are due to the plugin itself, please let me know whether this issue is fixable or not

swift elk
#

Please ping when responding

brisk coral
#

@swift elk
The last 4 issues are issues with the expansions itself (Issue 4 isn't an issue even), you should contact the coresponding expansions author and tell them to update their shit, Not sure about the first issue, would have to know more to be able to determine the cause

swift elk
#

Thank you, as you can tell.. I don't know shit about shit. Was just checking though, I figured that might have been the issue. Issue number 4 just bothers me, trying my hardest to get rid of all unnecessary [WARN]'s in my console.

brisk coral
#

Put a random js placeholder inside it so it stops thinking it's empty

bronze bison
#

So @obsidian niche, does the js placeholder works fine using papi's parse command? /papi parse me %js placeholder goes heree.....%

obsidian niche
#

not working

#

Outcome

#

null

#

js run but outcome problem

bronze bison
#

arazi wont be null

#

Also, what does the placeholder return when u try it using papi's parse command?

obsidian niche
#

null

#

first js name

bronze bison
#

hmm?

vivid sparrow
#

If it does return the word "null" use == "null"

obsidian niche
#

not working bro

bronze bison
#

arazi wont be null
....

#

Wdym by

First js name

obsidian niche
#

what?

bronze bison
#

Wdyn = what do you mean

obsidian niche
bronze bison
#

Its working?

obsidian niche
#

screen output 0

#

must be kredi yok

mint fable
#

you colored it

bronze bison
#

arazi wont ever be 0, cuz it has &a

mint fable
#

remove the color and try again ^

obsidian niche
#

noo

#

not working

vivid sparrow
#

Remove it and add it on the return.

bronze bison
#

Or make it === "&a0"

obsidian niche
#

not working

bronze bison
#

Also, what does the mvdw return?

#

Wait, use %% instead of {}

obsidian niche
#

yesssssssss

#

thxxxxx

bronze bison
#

np 😁 👍

obsidian niche
#

:d

#

but

#

color add not working

bronze bison
#

Wdym?

obsidian niche
#

var arazi = "%mvdw_mysql_kredi%";

#

how add color code

bronze bison
#

return "&a" + arazi;

obsidian niche
#

thxxx

#

bronze bison
#

glad to help 😃

obsidian niche
#

not working

#

😦

bronze bison
#

as i said, arazi wont ever be null

obsidian niche
#

(arazi == '')

#

:d

#

working

bronze bison
#

👍

errant nexus
#

How do I add a holographic placeholder for a kills leaderboard?

mint fable
#

what plugin are you using for holograms?

errant nexus
#

Holographic displays

#

@mint fable

mint fable
errant nexus
#

I have that

#

As well

#

@mint fable

mint fable
#

so what's the issue

errant nexus
#

I dunno how to put placeholders like kills on my holograms

#

Some placeholders work but not all of them

mint fable
#

So you do know how to put placeholders on

#

which ones aren't working?

errant nexus
#

A few of them I haven’t tried for a while

#

Which placeholder shows kills tho

mint fable
#

Well I need one to go off of

errant nexus
#

Huh

mint fable
#

I think it's a statistic placeholder

errant nexus
#

Ok I’ll try

mint fable
#

%statistic_player_kills%

errant nexus
#

How do u do that

mint fable
#

make sure to run the commands

#

all placeholders can be seen here

#

?placeholders

tender vaporBOT
#
FAQ Answer:

If placeholders are not showing correctly,

  • Ensure you have downloaded and install PlaceholderAPI.
  • Ensure you have the correct expansion installed. (/papi ecloud list all -> /papi ecloud download [Expansion])
  • Use /papi reload
  • Test the placeholder in /papi parse %placeholder%
  • Check https://helpch.at/placeholders for valid placeholders.
errant nexus
#

Ok

#

Thank you

#

How do I see who has most kills tho

#

@mint fable

mint fable
#

you need a plugin for it

errant nexus
#

Oh

mint fable
#

I think leaderheads tracks all that

errant nexus
#

Leaderheads

mint fable
#

=plugin leaderheads

mint fable
#

tf

#

no

errant nexus
#

I use minehut and it’s not showing up

cosmic shale
#

minehut => shit

errant nexus
#

😦

mint fable
#

it's premium

errant nexus
#

I know imma change to another host after my server gets some clout

#

Is there any non-premium plug-in for minehut to see leaderboards and all that

austere hawk
#

saz

austere hawk
#

Is there a video to help explain how to use placeholder api ???

bronze bison
#

don't think so, u dont need one tho

  • download papi.
  • download the expansions u want.
  • use the placeholders in plugins that supports papi :D

placeholders list: https://helpch.at/placeholders

austere hawk
#

Is there a way to add the value of players that are in two worlds as one value? such as:

%math_{server_online_world1} + {server_online_world2}%

bronze bison
#

%math_{server_online_world1}+{server_online_world2}% should work

#
/papi ecloud download math
/papi ecloud download server
/papi reload
austere hawk
#

I got no errors but it also didn't work

bronze bison
#

explain doesn't work pls

austere hawk
#

I teleported to the world listed in the statment above. And the number did not change.

#

instead of world1 i replaced with lobby

bronze bison
#

check the value of the placeholders and see /papi parse me %server_online_lobby%

austere hawk
#

i ran both worlds and I got a value.

bronze bison
#

and when u check math placeholder ?

austere hawk
#

yup

#

got values as well.

#

I typed

papi parse me %math_{server_online_world1}+{server_online_world2}%
and I got a value

#

ok.. so the value changed now. 🤔

#

i think i forgot to reload papi. 🤦

#

Thanks aBooDyy 👍

bronze bison
#

np 😄

quasi solar
#

pape

austere hawk
#

what do i do if I broke the plugin? - reinstall it???

brisk coral
#

"Broke the plugin" and how have you managed to do that?

austere hawk
#

I dont even know 😂 I reloaded the server and none of the placeholder values was set XD.

compact fox
#

hello how i install PAPI to bungecord?

tender vaporBOT
#
Placeholderapi
Useful Links & Information:

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

brisk coral
#

Please go read the plugin page.

compact fox
#

I read that

#

On spigot @brisk coral?

brisk coral
#

No need to ping, and as a quick sumarise; PlaceholderAPI does not support Bungee

compact fox
#

Oh

#

Ok thx

austere hawk
#

i fixed the issue.

#

No sure what was the issue, but I downloaded the Holograms plugin (not HologramDisplay plugin) which seemed to go hand-in-hand with the hologram-placeholders versus what I was using.

pliant thistle
#

Is it possible to get top 1 of kills or another placeholder with PAPI?

vivid sparrow
#

Atm there isnt a placeholder for that.

#

But can be done.

pliant thistle
#

Can be done as in code it yourself :) or as in google it?

vivid sparrow
#

first

pliant thistle
#

cuz I been looking all over the internet

#

oh i see you entering intellij

vivid sparrow
#

It's for a project I'm working on blobsweats

pliant thistle
#

o_0

#

bruh I been looking everywhere

#

I ain't seen nothin'

vivid sparrow
#

The vault expansion has a top placeholder, you can take a look at it if you know how to code.

pliant thistle
#

I know a bit of Java, but I'm not looking for any memory leaks cuz of my dumbass trying to be good

icy kiln
#

Hello.
I can't get the factionsuuid placeholders to work?

vivid sparrow
#

Why is that a question

austere hawk
#

hello someone can help me how to use PremiumVanish placeholders?

i just want when someone in vanish its not show him in

%bungee_total%
and
%bungee_<server>%

if someone can help me, tag me

balmy marten
#

It wouldn't be possible

#

As theres no way of working out how many players are vanished from another server

austere hawk
#

can do something of that from javascript placeholder like made script of it no?

balmy marten
#

Server 'A' wouldn't be able to read vanish placeholders from Server 'B'

austere hawk
#

%premiumvanish_bungeeplayercount@<server>%
so what this does?

balmy marten
#

Oh, didn't know vanish had one built in

austere hawk
#

it return me null

balmy marten
#

Assuming ur replacing <server> with a server

austere hawk
#

i put there server

balmy marten
#

what does %premiumvanish_bungeeplayercount% return?

austere hawk
#

wait

#

0

balmy marten
#

even if there is a vanished player?

austere hawk
#

yes

#

ho wait

#

yes

#

i am vanish and it return 0

balmy marten
#

and it also returns 0 if ur not vanished?

austere hawk
#

yes

balmy marten
#

k, you might need to wait for someone else that has experience with premiumvanish

austere hawk
#

ok thanks

brisk coral
#

I'd assume they're broken

bronze bison
#

If the problem with premium vanish placeholder, then ull have to contact the author because the expansion isnt ours and its probably built into the plugin.

austere hawk
#

@austere hawk it only updates when someone joins the proxy. I asked the author like 300 to fix this. But he keeps saying it's my end. So i stopped using it.

crystal nebula
#

Hi, does PAPI support scoreboard teams? I am only seeing ScoreboardObjectives

crisp sable
#

Hello good, I have a problem with the hologramdisplay api plahcerholder, here you help me with this kind of problems?

#

parse works for me, but not in the hologram.

bronze bison
#

do u have Holographic Extension ?

brisk coral
#

^

bronze bison
#

=plugin holographicextension

tender vaporBOT
brisk coral
#

¡smh aboo

bronze bison
#

hm?

#

also u need ProtocolLib for it

crisp sable
#

Oh no, I don't count on this expansion.

#

i try

#

a sec

bronze bison
#

@crystal nebula idk what do u mean by that? papi only provides placeholders from another plugins to use them in plugins that supports it

#

its not an expansion @crisp sable, its a plugin to add papi support to holographic displays

crisp sable
#

oh yes it works! Thank you very much and I apologize for the inconvenience. I'm sorry.

bronze bison
#

np glad to help 😄

crystal nebula
#

which made me believe that vanilla scoreboard teams may not be supported

bronze bison
#

Ah, idk and i dont think so

crystal nebula
#

I see. thank you.

#

I think I can hack it together by writing a datapack that writes their team into a scoreboard objective and parse that

bronze bison
#

idk about these stuff sorry

tender vaporBOT
crystal nebula
#

I downloaded the javascript expansion (/papi ecloud download Javascript),
reloaded PAPI (/papi reload) and restarted the server

but when I try to reload the javascript expansion for my hello_world script, i get this error: https://paste.helpch.at/oyoyazicus.sql
Am I missing something else?

bronze bison
#

dont use /papijsp reload and use /papi reload instead

crystal nebula
#

Thank you!

austere hawk
#

could someone help me with setting it up? like screenshare or call?

austere hawk
#

Anyone else having issues with latest papi and luckperms expansion?

#

Caused by: java.lang.ClassNotFoundException: me.lucko.luckperms.api.LuckPermsApi

final shadow
#

Well lucko maintains his expansion so if there is an issue im sure it’s something he needs to know

#

What lp version and expansion version

austere hawk
#

Lmao... thanks for asking...

#

im soo stupid...

#

Forgot to install lp on the server

final shadow
#

Rip

vivid sparrow
sacred bronze
#

with papi js placeholder, how can i return a (diff) placeholder with no formatting/without parsing colour codes?

knotty pulsar
#

So

austere hawk
#

@knotty pulsar what does it show? Like nothing?

knotty pulsar
#

well yeah

#

i have the ecloud download and extention

austere hawk
#

Let me download the plugin

knotty pulsar
#

k

austere hawk
#

@knotty pulsar i see no problem returning value from it?

knotty pulsar
#

@austere hawk doesn’t work for me

#

Should I uninstall the ecloud

trim mist
#

The ecloud is built into PlaceholderAPI, you can't uninstall it individually.

knotty pulsar
#

You get what I meant

trim mist
#

I don't actually, I didn't read what was going on.

knotty pulsar
#

I meant uninstall a package I got from ecloud

trim mist
#

Ahh, that makes more sense!

knotty pulsar
#

Well the thing is I already had the expansion thing in the papi folder

#

But it’s not working

sacred bronze
#

How can I parse a placeholder without colourcodes using a JS pholder?

#

I.e I want it to print colourcodes

vivid sparrow
#

I don't think you can

flint lark
#

@sacred bronze Do you mean:
a. You want to set a placeholder which would make colour codes but make it say text instead
b. You want a placeholder which sets a colour code
c. You want a placeholder to lose its colour code somehow

sacred bronze
#

a

balmy plume
#

Is it possible to make the Pinger expansion return the playercount when the server is online but "&cOffline" if the server is offline?

mint fable
#

custom javascript placeholder could

balmy plume
#

Would anyone mind helping me with that?

#

I don't know javascript

mint fable
coral schooner
#

Can someone explain me how to work with the math expansion of placeholderapi

vivid sparrow
#

What do you need to know?

coral schooner
#

So i want to combine the play count of worlds

vivid sparrow
#

Is just math and placeholder

#

%math_{server_online_world1}+{server_online_worl2}[precision:1]%

coral schooner
#

i don't see a "%" in my holographic displays database. Let me send a screenshot to you

vivid sparrow
#

Just a suggestion, if you can't afford a bungeecord network, don't use worlds as servers.
Also, use placeholderapi placeholders as I showed you above.

coral schooner
#

I'm currently owning a bungee cord network

#

on one of those servers i have multiverse