#placeholder-api

150650 messages · Page 39 of 151

austere hawk
tender vaporBOT
#

@austere hawk,

austere hawk
#

oops

#

it dosent works in hologram also

turbid tide
#

ugh check the link you sent

austere hawk
#

oof

#

here

#

check this out

#

it dont display that arena display count

#

insted it shows the placehodler insted

turbid tide
#

but have you tried it with /papi parse me ?

austere hawk
#

it works then

#

but i cant add that in holograms

#

xd

turbid tide
#

what hologram plugin do you have?

austere hawk
#

holoographic display

turbid tide
#

and you have HolographicExtensions as well?

austere hawk
#

yes

turbid tide
#

and ProtocolLib as well?

austere hawk
#

no

turbid tide
#

well you need it. says on the HE spigot page

austere hawk
#

kek

scarlet valve
#

This a a random question
But is there any placeholder that can say the amoun of players that are in survival in a specific world?

junior musk
#

%server_online_<world>% I think

#

yup

scarlet valve
#

I mean

#

If there is 2 in survival mode

#

And 1 in spectator

#

If i use that placeholder it will say 3

#

I want it to say 2 the amount of players in survival mode

junior musk
#

ah

#

idk then

turbid tide
#

as in make it be able to take in multiple types

#

or subtypes

#

whatever you called them

junior musk
#

yeah but I'm too lazy x)

#

I want to add it to my plugin, but got other things to do

turbid tide
#

I know. I am too. but sometimes I just get and do something and don't stop until I'm done. you should do the same

junior musk
#

look at this

#

my imagination is too big for me ;-;

turbid tide
#

well I'm kinda half the oposite half the same. I don't have any imagination and I'm lazy

brisk coral
#

All ew

storm sorrel
austere hawk
#

how to (setting) interlock papi - discord srv plugin

vivid sparrow
#

@junior musk this is not Python ffs

brisk coral
#

lISkOv

junior musk
#

I don't even remember what that is x)

#

it's been so long I've ever touched that think lol

pseudo mist
#

oh... Just did a little search and actually the advancements placeholder is used by people. 😄 I thought not many people would use it.
if there is any suggestion/problem/error to add to the placeholder, just let me know by discord

turbid tide
#

yeah some people use it. its not bad

icy patrol
#

How would you get the number of people on a server?

warm topaz
#

%server_online%

icy patrol
#

ok ty

worthy island
#

can i force PlaceHolderAPI to load Expansion?

#

since PlaceHolderAPI only loads the Expansions after the server has fully started i cannot use its Placeholders before

#

basically i got %server_name% %server_version% started at %server_time_dd.MM.yyyy%

#

but when the server closes i get Generic Server Name 1.16.5 has shutdown at 25/02/2021

#

also PlayTime does not work

lilac oxide
#

Can anyone help me with this papi-js error?
https://paste.helpch.at/leguyevata.js

[PAPI] [Javascript-Expansion] An error occurred while executing the script 'chatformat':
        <eval>:26:47 Missing close quote
        modifiers = modifiers + ' ' + args[1]';
                                             ^ in <eval> at line number 26 at column number 47
#

wait I forgot to reload papi

#

rip

lilac oxide
#

PlaceholderAPI-Javascript is amazing, since it makes up for other plugin's stupidity :p

reef garnet
#

Can anyone help me with the Progress placeholder?
The progress bar doesn't know what percent to display when using custom placeholders like:
&f2 Wither kill &a- &f[%progress_bar_{statistic_kill_entity:wither}_c:&e|_p:&e|_r:&e|_l:20_m:25000_fullbar:&a&lCompleted!%&f]

reef garnet
worthy island
#

turns out the problem was the plugin that i was using

#

thx anyway

lapis summit
#

can anyone help me icant download any expansions like Vault and Player

lapis summit
#

howwww

#

help help

flint nacelle
lilac oxide
#

Any console error?

austere hawk
#

Placeholders, and deluxechat. i can't get it to show timeplayed

#

i have installed the playertime placeholder

fluid heath
#

https://imgur.com/BmJOtdx I downloaded this add-on
https://imgur.com/6hrtOd6 online output does not work (
https://imgur.com/hK1tN7k the world i have really named a lobby

no errors in the console

plugin version: PlaceholderAPI-2.10.9.jar

%listplayers_in_world(discord applies chat formatting)<worldname>% it doesn't seem to work?

sorry for the screenshots on this site, I didn't figure out where else I can upload them

how can i withdraw online from my additional worlds to a placeholder?

mint fable
#

I recommend trying the playerlist expansion

#

I believe it's more updated than listplayers

#

@fluid heath this

fluid heath
#

can I get the number of players in a certain world?

junior musk
#

yes

fluid heath
#

thanks now I will try to do it

junior musk
#

%playerlist_online,world,yes,amount,<worldname>%

fluid heath
#

yes it really worked thank you so much!

warm topaz
fluid heath
#

oo I didn’t know about that. Thanks for the information. I’ll try not to forget about it.

austere hawk
#

It seems like they don't

#

For DeluxeMenus

austere hawk
#

Anyone can help me?

warm topaz
austere hawk
#

Latest

warm topaz
#

and what plugin/expansion is that? do u have it downloaded

austere hawk
#

1.13.3

#

A custom plugin

warm topaz
#

%shooter_% palceholder i meant

#

ah

austere hawk
#

Works in every plugin but deluxemenu don't accept it

warm topaz
#

o wait, how does that not error if u dont have it wrapped in ''?

#

material: 'head-%shooter_blah%'

austere hawk
#

Do I have to use ''

#

?

warm topaz
#

yea im pretty sure anything that has a special character (% in this case) would have to be

austere hawk
#

With ' ' didn't work, trying with " "

#

My bad nvm

#

Nope doesn't work

turbid tide
#

what does %shooter_blah% return ?

austere hawk
#

The first placement of the Top Killstreak

#

It's a leaderboard placeholder essentially

turbid tide
#

right and what's your deluxemenus verison?

#

oh 1.13.3

#

you said that

#

hmm

austere hawk
turbid tide
#

can you take the name of whoever is top1

#

and make the material head-NAME

#

instead of the placeholder?

#

see if that works

austere hawk
#

Ok

#

Yes it does

#

I can't show the picture

turbid tide
#

?imgur

tender vaporBOT
turbid tide
#

very very strange

#

what if you use the placeholder %player_name%

austere hawk
#

Yea works

fossil wasp
#

Um ... I wonder why the placeholder doesn't work %vault_eco_top_rank%

warm topaz
#

have u downloaded the expansion

fossil wasp
#

This way I first understand that you think I'm a beginner in the business itself, but go as I'm not stupid and I know what the syntax is for vault and all the basics but simply the pope doesn't work

warm topaz
#

what 😂

#

ok but did u downloaded the expansion

fossil wasp
#

AS II said i was !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!

warm topaz
#

uh ok

#

now did u enable the vault leaderboard placeholders in the placeholderapi config

fossil wasp
#

Are you fucking with me or?

warm topaz
#

???????????????

#

do u want my help or not

#

these are simple yes or no questions, just answer them

fossil wasp
#

Dude, I did everything right, it's just that the Pope doesn't work, doesn't load ...?

warm topaz
#

Dude, I did everything right
explain what u did for this then

fossil wasp
#

Well of course I put a vault in the paper but it just won't load the pope I don't know any other way how to express myself

#

papi*

#

I went to papi ecloud download vault so papi reload of course, but when I put placeholders like I said who won't load

warm topaz
#

ok so if u do /papi parse me %vault_rank% ingame, what does it return?

fossil wasp
#

Moment

#

Just another question since I'm doing the menu process baltop menu means when someone knocks / baltoop to open his gui and baltop 10 players, I'm just interested in how the material goes for the guy to have a head as the first player and the other 10 if you understand me placeholders how it goes

#

Specifically, did head-% vault_eco_top_player_1% and head;% vault_eco_top_player_1% do both?

warm topaz
#

if ur on deluxemenus v1.12+ then use head-%%, if ur on a lower version then use ;

fossil wasp
#

Okay, my demo is on the latest version so I'm using -

#

Okay, I apologize but I'll tell you what message I get when I type /papi parse me %vault_rank%

#

....

warm topaz
#

then u dont have the expansion installed

#

when u do /papi ecloud download vault, /papi reload do u get any errors?

tender vaporBOT
#

@austere hawk,

fossil wasp
warm topaz
#

if u dont appreciate my help then fuck off lmao

slow crystal
#

u are running an outdated version of the pope 🙂

quiet gulch
slow crystal
#

Are u fucking with me or?

warm topaz
#

🥲

loud moss
#

Hey guys! Is there anyone here that knows why my Math expressions aren't working properly? I want to get rid of the decimals so the input shoots out 7 instead of 7.000 as an example. I've tried %math_1+1[precision:0]% but that just shoots out the raw input, and %math.underscore.[precision:0]_1+1%, does nothing instead and still displays the numbers as 7.000

turbid tide
#

[precision:0] was changed in the latest version of the math expansion

#

%math_0:_1+1%

#

its like this now

#

I think

#

so 0: is the precision

loud moss
#

Thank you so much! My hair was starting to fall out because of this 🤯

austere hawk
tender vaporBOT
#

@austere hawk,

austere hawk
#

ops

#

Anybody knows what is this error tho?

sinful meteor
#

no idea what's causing it, but I recognise it

austere hawk
#

😂

#

Could be a datapack maybe?

#

Are you still available for that PlayerEquipmentPacket?

#

I may really need to solve that issue, seems impossible..

pulsar halo
#

When i try to use placeholder "%player_name%" it doesnt work

fervent spire
#

@pulsar halo Do you have the Player expansion for papi installed?

#

If not. papi ecloud download Player then papi reload and the placeholder should start working.

pastel pelican
#

hello

#

Im having trouble with placeholder %craftingstore_donator% its not working

hallow swallow
#

Hey, What is the placeholder for how many unique players have joined my server

#

I can't seem to find it

warm topaz
#

%server_unique_joins%

hallow swallow
#

Oh sick awesome

heady urchin
#

Can someone help me, super important and my menus are breaking

#

the operators like >= in deluxemenus requirements

#

they max out and stop working at java interval limit

stone edge
#

I think there isn't but i'll ask anyways. Is there a placeholder from player expansion that returns if player is shifting/sneaking?

umbral wren
#

Hi, in my plugin i want to make a command that display players list in each world
for this, i want to replace the %world% with the multiverse alias
but the methode setPlaceholders need a player in parameter, but certain of my worlds are empty (no players online) so how can i get the alias ?

#

my actual code :

Bukkit.getWorlds().forEach(world -> {
    String worldAl = PlaceholderAPI.setPlaceholders(player, "%multiverse_world_alias%");
    String players = StringUtil.seperatedList((List<String>) world.getPlayers().stream().map(OfflinePlayer::getName).collect(Collectors.toList()));
        player.sendMessage(StringUtil.placeholder(listItem, new StringPlaceholder("%world%", worldAl), new StringPlaceholder("%players%", players)));
});
pastel pelican
#

Can i get help here???

#

%craftingstore_donator% is not working

ionic aspen
#

/papi parse me %Advancements_completedAmount_<player>%

Help ** player ** not working

umbral wren
turbid tide
pastel pelican
#

on bungee

turbid tide
#

well that's the problem

#

PAPI doesn't support bungee

#

yet

pastel pelican
#

ohhh

#

well

#

but

#

ive been using ajleaderboards

#

with PAPI

#

and it works

turbid tide
#

on bungee?

#

I don't believe that

pastel pelican
#

yes

#

feel free to check out my server

turbid tide
#

I can bet you money that PAPI doesn't run on bungee

#

well the spigot release at least

#

unless you have some custom bridge

#

by itself papi doesn't run on bungee

pastel pelican
#

i can dm you the ip

#

server is in lockdown anyways

#

so no people online

turbid tide
#

right but I can't check what plugins you have where.

#

if you go in your FTP in bungee/plugins

#

is PlaceholderAPI.jar in there?

pastel pelican
#

naah, not like that

#

why would i place it there?

turbid tide
turbid tide
#

and as far as I know CraftingStore doesn't have a bridge

#

from bungee to spigot

pastel pelican
#

ohh well the craftingstore just sends the custom commands to selected server where the plugin is held

#

so i guess it`s not even using bungee

#

the craftingstore itself

turbid tide
#

wait but where do you have CraftingStore.jar installed?

#

on bungee

pastel pelican
#

nope

turbid tide
#

or on backend?

#

well that's what I asked at first. you probably understood wrong. if you have CraftingStore on your backend then yeah it should work

pastel pelican
#

hmmm

turbid tide
#

and both plugins are runing? if you go on the server where /papi parse me %craftingstore_donator% doesn't work and do /plugins it shows both plugins green (working) ?

pastel pelican
#

well

#

whenever i do /papi parse me %craftingstore_donator% it just send blank in the chat

turbid tide
#

that's probably because you have no donors

#

or at least none of them are saved

pastel pelican
#

i had 3 donors

#

ohhh

#

but not on this server tho

#

so, it should work when someone donates?

turbid tide
#

yeah

#

if it didn't work

#

it would've just returned back the same placeholder

#

so exactly %craftingstore_donator%

#

not an empty string

umbral wren
tender vaporBOT
#

@umbral wren,

umbral wren
#

sry ping 😢

#

Not working, even with null (world alias is not visible)

Bukkit.getWorlds().forEach(world -> {
  String worldAl = PlaceholderAPI.setPlaceholders(null, "%multiverse_world_alias%");
  String players = StringUtil.seperatedList(world.getPlayers().stream().map(OfflinePlayer::getName).collect(Collectors.toList()));
  player.sendMessage(StringUtil.placeholder(listItem, new StringPlaceholder("%world%", worldAl), new StringPlaceholder("%players%", players)));
});

config.yml

list:
  header: '&3Worlds&7:'
  item: '&7- &e%world%&7: &f%players%'
vivid sparrow
#

Pretty sure it uses the world at player's location @umbral wren just use the multiverse api

#

Otherwise how would it know what to display

umbral wren
#

i'm using multiverse api, but how to display it like i want

vivid sparrow
#

Papi placeholders are not what I meant by "multiverse api"

umbral wren
#

is there a public multiverse api ?

vivid sparrow
#

Google it

umbral wren
#

i'll check, thanks

somber lark
#

where do i get placeholderapi's api

somber lark
#

thank you 😄

hexed burrow
#

hi

lilac oxide
#

whats the placeholderAPI expansion for a % bar again?

#

I forget its name

junior musk
#

Progress

lilac oxide
#

Thank you

somber lark
#

Hi, so i just imported the api for placeholderapi and it still isnt detecting it. here is what i did

#
    mavenCentral()
    url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/'
}

dependencies {
    testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
    testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
    compileOnly 'me.clip:placeholderapi:2.10.9'
}```
#

nvm fixed

#

forgot to add it to library

open glade
#

would it be possible to take in any sort of identifier from player?

#

so %bosstimer_[bossname]%

#

or would I personally have to register them?

vivid sparrow
#

In what context?

storm sorrel
#

I have problem, I have correctly installed vault but this time the expansion is installed well in the folder yet it does not work

turbid tide
storm sorrel
#

Only Vault does not work

turbid tide
#

I mean none of the vault placeholders work? Like have you tested all of them?

storm sorrel
#

If like I just said they all work except Vault^^^

turbid tide
#

?paste

tender vaporBOT
turbid tide
#

send a startup lo

#

log*

#

then

storm sorrel
sudden yacht
#

im having an issue with my luckperms and deluxe chat not showing my prefixes, they were working last night and for some reason no longer work. can anyone help me out with it?

turbid tide
storm sorrel
#

Hastebin does not work:

[22:24:54] [Server thread/INFO]: T3scioR_ issued server command: /papi ecloud download Vault [22:24:54] [placeholderapi-io-#0/INFO]: [PlaceholderAPI] Fetching available expansion information... [22:24:56] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 5012ms or 100 ticks behind [22:24:58] [Server thread/INFO]: T3scioR_ issued server command: /papi reload [22:24:58] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing... [22:24:58] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information... [22:24:59] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: player

turbid tide
#

and it didn't say it registered the vault one?

#

do /papi ecloud list installed see if Vault is there

storm sorrel
#

There is only the placeholder Player but not Vault

turbid tide
#

ok can you go to plugins/PlaceholderAPI/expansions and delete any jars from there related to Vault?

#

?Ecloudblock

tender vaporBOT
turbid tide
#

then do this ^

storm sorrel
#

It still doesn't work, maybe I'll try to reinstall Vault

turbid tide
#

hmm idk if its anything to do with Vault. it clearly say it loads but for some reason the Vault expansion isn't loading

#

what PAPI version do you have?

#

btw after installing it there have you done /papi relaod?

#

you have to rload as well

#

also maybe even try a server restart

arctic quarry
#

do you guys know any tutorial on how to make an api for plugins?
im new to api 😅

storm sorrel
tender vaporBOT
#

@storm sorrel,

zealous onyx
#

Hey, no idea if this is the right place to ask this, but is it possible to show per "track" via a placeholder in which group you are in that track

#

(LuckPerms)

worn canopy
#

Hi, does I need a correct java version, to javascript works ? I tried to add a placeholder javascript, but when I reload, the console says "[PAPI] [Javascript-Expansion] 0 script loaded!"
Im asking this, because when I try the same placeholders in a machine with java 8 works, but with java 15, not.

storm minnow
#

hi, what's the link to the latest dev version?

storm minnow
rare lily
#

@worn canopy Nashorn engine was deprecated and has been removed in java 15, so that's why

lilac oxide
#

Are there any replacements for nashorn, or is everything gonna just switch to groovy?

trim mist
#

I did a DeluxeMenus release using Rhino when Java 15 first came out and that seemed to have gone decently.

tender vaporBOT
#

@lilac oxide,

lilac oxide
#

Ah, cool!

#

So almost a 1:1 drop in

trim mist
#

Yeah

lilac oxide
#

Script side atleast

#

Cool!

lapis bloom
#

I was kinda curious if the checkitem expansion supports HeadDatabase skulls? If so how would I be able to check if a user has a specific skull?

#

I know you can define a hdb material in shopguiplus with hdb-number but is this also how it works for the checkitem expansion?

#

figured it out, managed to get it to work with the modifier namequal

lapis bloom
#

Is the only way of actually removing items /papi parse or is there some other way to do this?

mint fable
#

not just papi parse

#

anywhere/anytime the placeholder is parsed

#

deluxemenus click commands for example

lapis bloom
#

yeah i think i get that part, but how do you make it so it doesn't parse, so the result isn't shown in console

mint fable
#

wym?

trim mist
#

If you run the parse command via Console, it will return the result to the console. If you run it as a Player, it will not show the result in the console.

austere hawk
#

Can someone help me do a custom return if value is empty?

turbid tide
#

with js?

austere hawk
#

for example %townyadvanced_town% returns nothing if player isnt a town

#

no just ingame I remember there being a way to do it I forgot

#

Id like it to return None

turbid tide
#

yeah with js

austere hawk
#

yeah

#

can you help me out :)))

turbid tide
#

so do you know how to even set up a js placeholder?

#

?js-tag

tender vaporBOT
austere hawk
#

nope

turbid tide
#

this is the code tho ^

#

just change the value

#

to whatever your placeholder is

#

and the return

austere hawk
#

where do I put it

turbid tide
#

so basically

austere hawk
#

is there a js file in config

turbid tide
#
var placeholder = "%placeholder%"
function f() {
  return placeholder === "" ? "WHAT TO RETURN IF IS EMPTY" : "WHAT TO RETURN IF ITS NOT EMPTY";
}
f();```
#

will give link

#

to js wiki

austere hawk
#

uhhh

#

Ik how to do java script just dont know where to put that

turbid tide
#

yep yep 1 sec

#

am in a game of cs:go searching for the wiki rn

austere hawk
#

thx ❤️

austere hawk
#

hey can you help me out with doubles

#
var placeholders = "%townyadvanced_town_balance%"
function f() {
  return placeholders === "" ? "N/A" : placeholders;
}
f();
#

that doesnt work %townyadvanced_town_balance% returns $234.00 for example

#

I assume it doesnt want to work because its not a string

#

because the exact same function works perfectly with town name just not town balance

tender vaporBOT
#

@silk quail,

#

@silk quail,

#

@silk quail,

twin blaze
#

how do i make custom placeholders with PAPI config

turbid tide
turbid tide
twin blaze
#

how to make N/A placeholders show as N/A on scoreboards or holographic displays

turbid tide
#

javascript expansion.

austere hawk
#

Hello there is a way to modify the yes that comes out on %essentials_kit_is_available_<kitname>% with deluxemenu

silver minnow
#

javascript expansion.

#

although there might be another way

twin blaze
#

Link to jsk expansion

turbid tide
#

above

austere hawk
austere hawk
#

var placeholder = "essentials_kit_is_available_joueur";
var hasKit = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + placeholder + "%");

function hasKit(){
if(hasKit == "yes"){
return "&aTrue";
}
return "&cFalse";
}

hasKit();

#

and in the lore I put
lore:
- "Kit Joueur"
- "%javascript_example%"

turbid tide
austere hawk
#

What is wrong? [PlaceholderAPI Plugin]

java.lang.RuntimeException: Essentials API is called before Essentials is loaded.
at com.earth2me.essentials.api.Economy.getUserByName(Economy.java:65) ~[?:?]
at com.earth2me.essentials.api.Economy.getMoneyExact(Economy.java:128) ~[?:?]
at com.earth2me.essentials.api.Economy.getMoney(Economy.java:110) ~[?:?]
at net.milkbowl.vault.economy.plugins.Economy_Essentials.getBalance(Economy_Essentials.java:79) ~[?:?]
at net.milkbowl.vault.economy.AbstractEconomy.getBalance(AbstractEconomy.java:22) ~[?:?]
at com.extendedclip.papi.expansion.vault.VaultEcoHook.getBalance(VaultEcoHook.java:223) ~[?:?]
at com.extendedclip.papi.expansion.vault.BalTopTask.run(BalTopTask.java:52) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.5.jar:git-Paper-455]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.16.5.jar:git-Paper-455]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.5.jar:git-Paper-455]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_275]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_275]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275]```
turbid tide
#

make sure you have the plugins: Vault and EssentialsX installed and they both work

austere hawk
#

How do I fix that then?

turbid tide
#

well then EssentialsX is loaded to late

austere hawk
# turbid tide and what does it say in lore?

console error
[17:12:25 ERROR]: [PAPI] [Javascript-Expansion] An error occurred while executing the script 'example':
TypeError: placeholder is not a function in <eval> at line number 10

turbid tide
turbid tide
#

you don't.

#

the code you sent me

#

is not the code you have in example.yml

#

according to the error at least

#

have you done /papi reload

#

just to make sure it uses the last code you've made?

sage dawn
#

Hello,
I have a question.
I am currently working on a dividing my MC server into multiple mini-servers to spread out load more effectively.

I am currently trying to figure out if it's possible to do PAPI lookups between servers.

For this use case, I'd like to run DragonSlayer plugin on a single server, then have the user scoreboards displaying the next respawn time regardless of what server instance they are currently logged into

turbid tide
#

There are some APIs that say you could ask for placeholders from other servers. I can give you link if you want

#

but this is not possible with just PAPI.

#

I just know it exists

sage dawn
#

yeah, I have been hunting for something that elevates them into Bungee

turbid tide
#

btw those reviews are very misleading. They thought its a plugin they can just download but its not. its an API

sage dawn
#

yeah, so I would need a plugin to interact with that API then?

#

sorry if i'm asking dumb questions

turbid tide
#

yeah basically you'll need a plugin that uses the API.

tender vaporBOT
#

@austere hawk,

long crater
#

[19:10:59 WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.10-DEV-122 generated an exception while executing task 4903
java.lang.NullPointerException: null

silver minnow
tender vaporBOT
silver minnow
#

the spam is more useful than you think 😉

long crater
silver minnow
#

wait what

#

you sure?

#

we can't really do much then :/

long crater
#

Dang

silver minnow
#

maybe someone knows

#

but I doubt it

#

😦

#

since idk what else to say

tender vaporBOT
silver minnow
#

and when does this occur? @long crater

long crater
silver minnow
#

what expansions do you have?

long crater
#
  1. Envoys dotrar Y 3.0.0
  2. Server clip Y 2.4.0
  3. LuckPerms luck Y 5.0-R2
  4. Parkour steve4744 Y 6.3
  5. GriefPrevention pixar02 Y 1.5.2
  6. Vault clip Y 1.7.0
  7. Statz ironic_8b49 Y 1.6.2
  8. Player clip Y 1.7.2
  9. Statistic clip Y 2.0.0
  10. AutoRank clip Y 1.1.1
  11. Essentials clip Y 1.2.4
turbid tide
#

and you're 100% sure nothing else was shown? can you maybe send the log just in case you missed it?

tender vaporBOT
silver minnow
#

send this

long crater
#

I'll reply with it when I get a second

silver minnow
#

;-;

limber ice
#

@long crater If you are running latest versions of Statz and Autorank the expansions are not needed

long crater
#

I keep deleting them and they come back

#

Lol

limber ice
#

that don't make sense, stop server delete the expansions and start server

#

I know having my expansion and latest Statz you will get errors in Papi

long crater
#

I have spigot version.

heady urchin
#

Can someone help me with deluxemenus requirements

turbid tide
#

?

heady urchin
#

The javascript numbers are limited to the java integer limit

#

like if i wanna do %tokens_balance% >= 1000

#

if tokens is over the limit, it does not work

silver minnow
#

how many tokens do you have?!

heady urchin
#

some people have like 10B+

turbid tide
#

how are they formatted as well

heady urchin
#

its just the raw number

#

like 1000000 or 549337723456

turbid tide
#

hmm maybe parse it as a long? i don't even know if there's long in javascript lmao

heady urchin
#

Idk how to do that

#

is there a papi placeholder to evaluate if a number is bigger than a different number?

#

or for operations

#

like does the math placeholder have operations or something

#

This should work right?

#
          type: "string equals"
          input: "%math_{tokens_raw}>={enchant_combo_cost_1_raw}[precision:0]%"
          output: "1"
turbid tide
#

hmm I know it has if statements but I never actually used them

heady urchin
#

It works

#

true = 1, false = 0

twin blaze
#

how to make N/A placeholders show as N/A on scoreboards or holographic displays

lean sinew
#

So i have been stressing out over this idea i have had, but i cant seem to figure it out. pretty much this is hard to explain and confuses alot of people when i explain it xD, But im trying to give players colored names by a gui, but when i use %essentials_nickname% or %player_displayname% it locks the colour set inside the api so when i try to change someone nickname it is pretty much is doing &4&5{Name} that it locking it to purple inside the api. is there anyway to get a api for players nickname without it having a colour linked. also %player_name% will set it to the default username that will be removing the befits of /nick from donators so that wont work either.

#

if you have any other questions please ask...

turbid tide
#

you can use the JavaScript expansion to set the player display name yourself but idk how that will work really. I guess you can Player#getDisplayName then use ChatColor if that's even possible to strip the colors from the displayName and then add the new colors before their name

#

and translate

twilit ridge
#

What are the placeholders for player name when you want to run a console command? (DeluxeMenus)

turbid tide
#

%player_name%

twilit ridge
nocturne marten
#

hi, is it possible to run papi on bungeecord?

turbid tide
twilit ridge
#

Thank you 🙏

lean sinew
#

alright ill give that a go with my 0 info on coding xD

turbid tide
#

it will probably be a pain in the ass. I don't even know if its fully possible with just the JS expansion

lean sinew
#

if you figure out a easier way give me a ping, but yeah i feel this isn't gonna possible

turbid tide
#

well easier not. safer yes. Java. make your own plugin

#

safer meaning its 100% possible

twin blaze
#

how to make N/A placeholders show as N/A on scoreboards or holographic displays

crisp sable
#

hello, sorry for the inconvenience, i try use JetsPrisonMines PAPI but this no work, i download the last version from papi page, i have the last version of papi and jet.
the parse command same no work ://
any idea? thanks ❤️

night oracle
#

Hi, I have one and very big problem. The %statistic_time_played% stopped refreshing. Idk why, when I write just this command /papi parse me %statistic_time_played% the time is always the same. I tried to restart server, nothing help. My server is on Paper 1.16.5

#

Help me someone pls

#

@crisp sable

rotund pendant
night oracle
#

@rotund pendant

#

Can you help me?

rotund pendant
#

I'm not too sure about how to resolve your issue.

night oracle
#

Ok

#

Who can help me so ?

tender vaporBOT
#

@night oracle,

night oracle
#

How funny it doesn't sound it's a real problem. And i really don't know what is the issue

#

help 😫

night oracle
#

Admin help me please

nova fjord
lone cobalt
#

Im having trouble finding a placeholder for what world the player is in

twin blaze
#

how to make N/A placeholders show as N/A on scoreboards or holographic displays

turbid tide
#

you can find it if you search a bit up

lone cobalt
turbid tide
#

no.

near scroll
#

Im guessing papi3 is still soon?

balmy marten
#

soon™️

austere hawk
#

how do i make it show ranks on tab/scoreboard, example %player_rank%

#

with luck perms

austere hawk
#

and what about playercount?

coarse sable
untold perch
#

Do Dev Versions always say you are behind in updates?

turbid tide
#

of PAPI yes. You can just disable the check until the release if you want tho

#

it just checks with the release version and if its not the same it just thinks its behind

vestal fractal
#

Anyone know how to put a date on featherboard? M/d/y

#

^ please tag me if you know

turbid tide
turbid tide
#

can you do /papi parse me %server_time% and tell me what it says?

#

you said featherboard tho...

vestal fractal
turbid tide
#

why are you using %server_time% ?

vestal fractal
#

that is featherboard?

#

im ont

#

look

#
    frames:
    - '{placeholderapi_server_time}'```
turbid tide
#

have you downloaded the Server expansion by doing the commands I told you to?

vestal fractal
#

yes

#

after or before it?

turbid tide
#

oh

#

1 sec

#

try {placeholderapi_server_time_dd/MM/yyyy}

vestal fractal
#

Thank ya sir

#

@turbid tide do you have any easy ways to center it? xD

turbid tide
#

nope

#

spaces

vestal fractal
#

Okay i got it

molten zenith
#

I am looking for the velocity version of papi

harsh delta
#

hey guys

#

how do i make featherboard to read factionx placeholders?

austere hawk
#

uuhhh

#

so I did /papi ecloud download LevelPoints

#

it downloaded the extension

#

but theres no documentation for it on the github

stone siren
#

can I get a moderator here or

serene warren
#

I asked for your help and got banned

#

Useless

stone siren
#

no, dipshit, you got banned for spamming pings, and you'll likely get banned for the same thing here

serene warren
#

I haven’t spammed anything wtf

stone siren
serene warren
#

@stone siren

#

@stone siren

stone siren
#

@mint fable apologies for the ping but can I get a moderator to ban this guy

tender vaporBOT
#

@stone siren,

serene warren
#
  • Don't take part or provoke arguments. Rule 8
#

@stone siren

#

Dumbass

#

@stone siren

#

Voice room 1

mint fable
#

@serene warren Please cut it out mate.

#

Spam pinging and harassing, please stop.

serene warren
#

@mint fable shut up dumbass

idle coral
#

Welp

mint fable
#

Welp, have a good day mate, hope you learn from your mistakes one day. 👍

serene warren
#

Hope you get laid one day

faint hazel
#

good one

serene warren
#

From an adult

stone siren
#

cj are there not any staff around with ban permissions

faint hazel
#

shut up warhiet

stone siren
#

these people are harassing me across servers

serene warren
#

@stone siren who are you

faint hazel
#

Rule #7 no complaining

#

@stone siren

molten zenith
#

[PlaceholderAPI] expansion class LuckPermsExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use net/luckperms/api/LuckPerms

#

What does this mean? My luckperms is up todate aswell

limber ice
#

@molten zenith try updating your expansion for luckperm

molten zenith
#

Ok

austere hawk
#

how to hide /papi from regular players ? i can't do that even when i set placeholderapi to false in luckperms

turbid tide
#

you can use a command blocker if you really want like PluginHiderPlus and only allow OP or some custom permissions to use it

austere hawk
#

ok i'll try that, thank you for the answer 🙏

honest spruce
#

anyone know the issue to this?

wet basinBOT
#

@limber ice Unknown expansion.

#

@limber ice Unknown expansion.

limber ice
#

@honest spruce not sure where you got your redis bungeee expansion,. it's not loading

honest spruce
#

But cheers for the info.

#

Wait one moment do you mean the expansion from the papi side?

#

If so i downloaded it from the ecloud itself

limber ice
#

I just looked at it on the ecloud, looks like it was never updated for the latest Papi

turbid tide
#

Pokekhan the problem is that you have 2 jars of the same expansion

#

go to plugins/PlaceholderAPI/expansions and delete one of the RedisBungee expansions

#

since you have multiple

limber ice
#

when I first read error message I was in hurry to get to work, sorry

honest spruce
#

I only have one version in there tho

limber ice
#

to have two they must have different file names

turbid tide
#

try restarting the server then

honest spruce
turbid tide
#

see if the error still shows up on server restart

honest spruce
#

Would that be something i would need to update on the server side? Or so that just due to redisbungee out of date?

turbid tide
#

oh here's the problem

#
[09:12:30] [Server thread/WARN]: [PlaceholderAPI] redisbungee is attempting to register placeholders via a PlaceholderHook class which is no longer supported!```
honest spruce
#

So that would need to be update by an dev of the plugin right?

#

or use an older version of papi?

turbid tide
#

well no. because the expansion is on the ecloud

#

idk if its in the version as well

#

you can use PAPI 2.10.6 but I really don't recommend going on old software

#

and the developer of the expansion is Clip. idk if he'll update it any time soon

turbid tide
honest spruce
turbid tide
#

yeah makes sense. you'll have to get someone to update the code or use an older version of PAPI

honest spruce
#

Yeah that fine. Cheers for the info

storm sorrel
#

I have problem, I have correctly installed vault but this time the expansion is installed well in the folder yet it does not work

#

Thank you, I'm not stupid, I did this except that the expansion is well in the backrest but does not work

shut lion
#

is there a placeholder for a timer countdown?

turbid tide
#

there's the server_countdown one if you want

shut lion
#

what what does it track?

#

like what is the timer based on?

turbid tide
#

you can set an end time

#

and it just counts down how much there's left until the end time

shut lion
#

end time of what

#

ooo i think i see

turbid tide
#

the one you've set

shut lion
#

is there a more specific timer?

#

this one seems to only track days and not seconds, hr ect

turbid tide
#

you can track those as well

shut lion
#

can you please give an example of the format

turbid tide
#

%server_countdown_dd.MM.yyyy HH:mm:ss_01.01.2020 22:32:40%

storm sorrel
#

I've had the same problem for 2 weeks: I have problem, I have correctly installed vault but this time the expansion is installed well in the folder yet it does not work

shut lion
#

ty

turbid tide
#

?startuplog

tender vaporBOT
turbid tide
#

hmm and if you go in plugins/PlaceholderAPI/expansions there's a vault jar?

storm sorrel
#

Yes, there is the Vault expansion

turbid tide
#

if it doesn't load after that restart your server as well

storm sorrel
#

I put the expansion in the folder, I did / papi reload it didn't work, I restart my server, it still doesn't work

turbid tide
#

and can you do /papi list it still doesn't show there?

storm sorrel
#

No, he tells me that there is only the Player expansion active

turbid tide
#

wait you're running CraftBukkit?

#

why?

storm sorrel
#

I am under spigot

turbid tide
#

can you try and use paper?

#

also try downloading another expansion

#

see if that one registers

storm sorrel
#

Alright, I'll try with Paper

#

Tell me, since I'm running spigot 1.12.2 isn't this the version that would do this?

long crater
tender vaporBOT
silver minnow
#

and also an Economy plugin

long crater
#

most certainly do

#

and essentials

pulsar lake
#

%checkitem_inhand_enchanted% always returns "yes", even if the item is not enchanted

#

is this a bug?

#

if so, how do I fix this?

mint fable
#

modifiers are separated by , not _

#

inhand,enchanted

pulsar lake
#

so it would be %checkitem,inhand_enchanted% then?

mint fable
#

no

#

%checkitem_inhand,enchanted%

pulsar lake
#

OH, ok, thank you, that worked

sullen obsidian
#

hi

#

i have a bug

#

i cant put the /papi ecloud download Statistic

long crater
#

another issue

willow mirage
#

Hey Guys, Ive got a question. I found a plugin called MultiClan, and it supports Placeholders with PlaceholderAPI, but i don´t found any command to unlock it in PlaceholderAPI, im asking because they don´t work on my server. Is there a way to unlock them? Thanks for anwsering!
Here a link to the Plugin: https://www.spigotmc.org/resources/multiclan-2-0-lite.23927/
Thanks for Helping!

trim mist
#

If you do /papi list does the MultiClan expansion show up?

willow mirage
#

No it doesn´t

#

and /papi ecloud download MultiClan isn´t working too

trim mist
#

Yeah, just took a looksie. The author is using a deleted way to register placeholders. We removed that way over a year ago now I believe so you'd have to try and reach out to them and have them update it or downgrade your PAPI version but I highly advise against doing that.

willow mirage
#

Im sorry i´ve missunderstanded your anwser, i thought you advise me up against to asking the developer of the plugin! Thanks for helping!

lone cobalt
#

Is there a plugin or a way to send placeholder data across servers on a bungee, so for example have like survival servers select placeholders show the same stuff on hub

trim mist
#

There's an expansion (not maintained by us) but I think it does MySQL so if you stored some data in a database, you could pull it from all the servers.

lone cobalt
#

Could i get a name of it?

trim mist
#

I think it's literally just called "mysql"

lone cobalt
#

How would i put the information on the db tho

trim mist
#

I mean that's totally something different. You'd need something else to handle that. This just provides a way to pull from a database to display.

lone cobalt
#

Okay, you wouldnt have any idea how to do this without custom stuff would you :D

trim mist
#

Not that I'm aware of. There might be something out there, wouldn't hurt to do some searches.

thorn perch
#

Does anyone know why the Javascript expansion for PAPI doesn't work?

vivid sparrow
#

"doesn't work" tells us nothing

sharp jay
#

@mossy helm

#

use the bungee extension + math one

#

%math_{placeholder_1}+{placeholder_2}%

#

Now you can use JS to remove the .000

#

You gotta make it yourself 🙂

#

actually

#

try this

#

%math_0:_{placeholder_1}+{placeholder_2}%

#

this might work

#

do you need the [] ?

#

Np

#

Anytime!

austere hawk
#

Why is nothing working with holographic dislpays?

mint fable
#

=pl holographicextension

tender vaporBOT
mint fable
#

probably because you don't have that this @austere hawk

mint fable
#

Okay can you explain your issue in more detail please

austere hawk
mint fable
#

do they work with /papi parse me %player_name%

austere hawk
#

Nope

mint fable
#

Did you download the expansion?

austere hawk
#

I don't think so

mint fable
#

run those commands and see what happens

austere hawk
#

It says successfully registered

#

But still not working

austere hawk
mint fable
#

not working in /papi parse either?

austere hawk
#

Oh no that works now

mint fable
#

did you reload holographic displays or anything? maybe restart server

austere hawk
#

Only player name seems to work

mint fable
#

what isn't?

austere hawk
#

Server name

mint fable
#

that's because that's part of the server expansion not the player expansion

austere hawk
#

Ahhh

mint fable
#

full list

austere hawk
#

I didn't know they came seperatly

#

ok

#

thanks

mint fable
#

👍

austere hawk
#

What one would I download to display the permissionsEX group?

mint fable
#

part of vault

proud spire
austere hawk
thorn perch
tender vaporBOT
#

@thorn perch,

crystal mauve
#

Can someone help me witha code?

tender vaporBOT
crystal mauve
#

yea

turbid tide
#

what you trying to do?

crystal mauve
#

A placeholder

#

like

#

i put it in a gui

#

i want to say

turbid tide
#

if its 50+ players send last message, if its 2-49 send second and if its 1 send the first message?

crystal mauve
#

yes

#

like onlineplayers

turbid tide
#

yeah but what's not working you have to explain a bit. what help do you need

crystal mauve
#

The script is not working

#

i will send a pic

#

wait

#

i cant

#

f

turbid tide
#

?imgur

tender vaporBOT
crystal mauve
turbid tide
#

check your console

crystal mauve
turbid tide
#

well first of all download the latest JS expansion by doing /papi ecloud download JavaScript then do /papi reload

#

also you can just use this code ```js
var playersonline = parseInt("%server_online%");

function returnplayersonline() {
if (playersonline == 1) {
return "&aThe server is 1% populated!";
}else if (playersonline == 10) {
reutrn "&aThe server is a bit populated!";
}else if (playersonline >= 50) {
return "&4THE SERVER IS VERY POPULATED!";
}
}
returnplayersonline();```

crystal mauve
turbid tide
#

ah

#

you typed reutrn instead of return

#

I've just noticed

crystal mauve
#

lmao

#

it works

thorn perch
#

I’m trying to use javascript expansion for the token enchant placeholder script to use with deluxemenus and for whatever reason when I do papi reload it can’t set the engine for the script and doesn’t load, does anyone know why?

trim mist
#

Do you have CMI?

#

Sorry, not CMI. ChatControl.

thorn perch
#

I do not

#

I even put placeholder api alone on a fresh server and it still just didn’t work

austere hawk
#

hi im getting this error randomly after restart

#

have not touched a thing

trim mist
#

Update

thorn perch
#

I guess there’s no solution for me ig

thorn perch
#

[02:58:30 WARN]: [PlaceholderAPI] [JavaScript Expansion] Failed to set ScriptEngine for javascript placeholder: tokenenchant_token

trim mist
#

Again, you're 3 years outdated.

#

Update.

silver minnow
#

3 years?!

thorn perch
#

If you're talking to me I have 2.10.9? Which is the latest?

thorn perch
silver minnow
#

oh lol

trim mist
#

Sorry been a long day

#

Are you using Java 15

#

@thorn perch

thorn perch
#

I’m using Java 11

trim mist
#

Hmm

#

I'm not at my normal setup till tomorrow night but that's really weird. Haven't had anything else have reports of that.

thorn perch
#

Okay just kidding I guess my localhost server is running Java 8 and not 11 but my hosted Java 11 server it works fine, I'm so sorry for bothering you guys

#

🤦‍♂️

trim mist
#

o.o

thorn perch
#

Anyone know if there are any placeholders for vanilla enchants?

vivid sparrow
#

that does what?

crystal mauve
#

Can someone help me with a script? I want a javascript placeholder that shows the player how many players are on a group. Using LuckPerms

strange heart
#

Hi, if i use a placeholder why is the first word of the placeholder in lowercase when is write it in highercase?

austere hawk
#

hey im trying to make a npc with crafting store placeholders and didnt work , idk why please help

strange heart
#

I write: "%MINECORD_CHATTERS%"
placeholderapi did not replace it and Respond to me: "%minecord_CHATTERS%"

#

@silver minnow

lilac oxide
#

what is the expansion for rounding numbers?

#

like 10000 -> 10k

junior musk
#

Math

#

oh wait

#

nope

#

I think it's formatter

lone cobalt
#

How would i use an existing placeholder to basically see what it says and if it says a specific thing like test one it outputs &1test one

#

with javascript ofc

junior musk
#

you would have to use Javascript

#

ah

#

check if the placeholder returns a specific value with "%placeholder%" == "text"

lone cobalt
#

oh wait

#

So i wanted to do it for ranks for a shitty-eh plugin and i was gonna basically read what it says and then output it to tab with the right colors

#

but it would all be just the same for the viewer right

junior musk
#

well the output will change depending on the player for who the placeholder will be parsed

lone cobalt
#

So if i parse it to me

#

it gives my rank

#

If i parse it to someone else it gives me thier rank

#

So wait this could work

junior musk
#

yeah

lone cobalt
#

so how would i go around doing that

#

just and else if loop?

junior musk
#

wdym?

#

why loop?

#

just if else

thick sinew
#

Remind command to check placeholder, please

junior musk
#

/papi parse me %placeholder%

thick sinew
#

Thx

long crater
silver minnow
long crater
#

yes

silver minnow
#

and an economy plugin?

long crater
#

essentials & vault

#

does that mean anyhing?

#

Second time I've sent the issue and second time you asked those two questions but it's ended there

#

Anything further ?

pastel pelican
#

hello

#

i`m getting errors from placeholderapi

#

[22:25:26 WARN]: [NametagEdit] Loaded class me.clip.placeholderapi.PlaceholderAPI from PlaceholderAPI v2.10.9 which is not a depend, softdepend or loadbefore of this plugin.

#

[22:24:00 WARN]: [PlaceholderAPI] Loaded class com.bencodez.votingplugin.VotingPluginMain from VotingPlugin v6.0.4 which is not a depend, softdepend or loadbefore of this plugin.

#

[22:24:00 WARN]: [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend, softdepend or loadbefore of this plugin.

#

i really need some help fast

silver minnow
#

you can ignore them

pastel pelican
#

hmm alright

trim mist
#

Correct. As dkim said, these are just warnings, hence the "warn".

pastel pelican
#

its just that my server is getting random cpu peeks and the server wont stop normaly, when i stop it, it just stops at player referral plugin and nothing happens after that

#

not sure what to do

trim mist
#

Not entirely sure what that is but I can safely say that those warnings you posted above should have nothing to do with it.

pastel pelican
#

okay, thanks

long crater
#

Hey what about mine !!

trim mist
#

If you're not using the baltop palceholders, you can just go into the placeholderapi config and disable the task.

long crater
#

I'm using the vault placeholder api

#

So I guess I can

trim mist
#

Awesome

long crater
tender vaporBOT
#

@long crater,

long crater
#

oh sorry, didn't know reply was no good 😭

trim mist
#

If you aren't using any of the top placeholders, you can turn it off.

long crater
#

so I guess I do need it on as I have a leaderboard which shows top players, but I am thinking maybe it's causing lag

#

what can I put it on to check less often?

#

is there an explanation of these pieces of data?

trim mist
#

It does cause lag, which is why I disabled it by default. It's marked for removal as it doesn't need to be in the vault expansion. Most people use Essentials economy so it'll be integrated into that once it's released.

long crater
#

currently do you know a decent way to get it?

#

the baltop that is?

trim mist
#

Not anything viable if your server is growing. The more players you've had on your server the more it will lag due to how poorly it was originally implemented.

long crater
#

understood, I will resort back to holographic placeholders

small snow
#

i did /papi ecloud download plotsquared

#

and i get this

#

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

#

soooo what do i do

trim mist
#

Pretty sure PlotSquared v5 has their own integration not needed in the eCloud.

small snow
#

its plot v4

trim mist
#

Whelp you'd have to ask them to update their v4 then or else there's not much to do besides downgrading PlaceholderAPI which will probably cause more harm than good.

small snow
#

fucks sake

trim mist
#

Use OfflinePlayer.

grand zenith
#

would papi-js placeholders produce lag if i use them in chat?

balmy marten
#

Really comes down to what you're doing inside the js placeholder

inland drift
#

My factions placeholders don't work. I've tried reinstalling PAPI multiple times and reinstalling the factions expansion. The error I get is "factions is attempting to register placeholders via a PlaceholderHook class which is no longer supported!"

trim mist
#

What kind of factions?

vivid sparrow
#

Mcore is called factions iirc

trim mist
#

Is Mcore still on EzPlaceholderHook?

#

Would think more people would be complaining if that was the case.

inland drift
#

Yeah mcore factions

#

Yeah not sure. I'd also imagine lots of people use factions placeholders

#

but I've tried everything I can think of

trim mist
#

Well it won't actually register if it's not using the update API but we depreciated that months ago and I have no memory of anything else mentioning this issue.

inland drift
#

Anything I could try to fix it?

#

I installed Papi off the spigot page so it should be all up to date and everything I'd imagine

trim mist
#

If I get some extra time today I'll look at that expansion. I'll see if it's actually outdated or not.

inland drift
#

Thanks a ton. Yeah would be great if I could find a fix so I could use it on my scoreboard

#

Appreciate the assistance

tender vaporBOT
#

@grand zenith,

grand zenith
#

these two

pine moon
#

is there a placeholderapi for bungee?

trim mist
#

Not currently, no.

flint nacelle
#

I have problems, js parse wrong numbers have to reload javascript two times for it to work.

1 should bee the number as in 2.

#

Get the problems some times when server has restart.

#

my script
logs for placeholders

#

it is javascript expansion i use.

nova crane
#

Hello. I have a problem with PlaceholderAPI. I made few menus using the Cooldown Javascript from Spigot and it seems that the cooldown isn't being stored in the javascript_data folder and after each restart, the cooldown is reset. Any idea how to fix this? I'm using the latest version of Papi on 1.16.5.

warm plover
#

Anyone know why %parseother_{leaderheads_name_vault_eco_balance_alltime_1}_{vault_prefix_color}% won't work? I try to parse it and it says an internal error occured

#

parsing %leaderheads_name_vault_eco_balance_alltime_1% shows 'ITookUrPotato'

#

and the vault prefix color should just be white or whatever

tender vaporBOT
silver minnow
#

what is the console error?

warm plover
silver minnow
inland drift
#

Anyone have any idea how I can get MFactions placeholders to work?

warm plover
#

Yeah, it outputs ItookUrPotato

#

(which is a player)

silver minnow
#

Did you run /papi parse me %parseother_{leaderheads_name_vault_eco_balance_alltime_1}_{vault_prefix_color}%?

warm plover
#

Yeah

#

internal error

silver minnow
#

huhhhhh

mint fable
#

I don't think you can parse that stuff for offline players

#

if that's what you're trying

#

it's the same thing as getting perms for offline players

wicked kernel
#

For the checkitem expansion, is there a way to see if an item contains a string using hex colors?

mint fable
#

there is no regex matching atm

#

but it seems easy

#

Do you by chance know the raw format of hex colors?

#

like &a is §a i'm pretty sure

wicked kernel
#

Yeah did give that a go, no luck tho

#

Tried both & and § formats

mint fable
#

well you won't be able to find if it's hex

#

but idk what the format is

wicked kernel
#

Tried this &x&f&f&b&3&2&8Test way of doing hex

#

And the console format using §

#

But yeah no worries, I'll have to figure out another way

mint fable
#

well I can add regx matching probaby

#

but still dunno

wicked kernel
#

Yeah all good

austere hawk
#

How do i make an agree gui, im trying to use the %javascript_data_set,{player_uuid}.has_used,true% so when they click the item "Buy 1 Sword" they go to gui with "Are you sure you want to buy this" and with a"Go back" then if the buy it they cant buy that again.

elfin void
#

Hello! I have a problem related to the expansion of vault and essentials.
It turns out that when I download the vault variables the server starts throwing these kinds of errors. I talked to essentials and the only solution they give me is to delete the vault expansion, but it seems like a bit of a nefarious solution to me.
someone else have an idea how to replace the vault economic variable or find a solution? I leave my console image, thank you very much in advance!
https://i.gyazo.com/thumb/1200/9c27987aaba500908a64815c1833dbeb-png.jpg

trim mist
#

You can disable the baltip task in the PlaceholderAPI config under the vault section.

winged jasper
#

Is the an ecloud package which shows info like server OS, java version and stuff?

cinder zealot
#

hello, when i write the variable of voteparty my console write this : "[FeatherBoard] Error in placeholder: {voteparty_currentvotes}" i need the help please

austere hawk
#

we can make placeholderAPI's placeholders using Java or JavaScript ? (an expansion)

warm topaz
#

both

austere hawk
#

oh

#

how can we do it with js ?

warm topaz
#

u can create ur own expansion using java, or use javascript using the javascript-expansion

austere hawk
#

I c

#

ty

vocal imp
#

Hello!
Using the CheckItem expansion, are we able to use custom heads with 64ids in checkitem?

vocal imp
#

and if so can anyone show me an example

glad sedge
chilly ivy
#

hi guys im trying to use vault placeholder (for example : %vault_eco_top_balance_formatted_#%) but its just 0 or blank

scarlet valve
#

Me too i m here to ask ablut it

#

The place holder dont work

trim mist
#

For you other two, I'm pretty sure I disabled the baltop in the Vault expansion by default. You'll have to enable it in the PlaceholderAPI config and then reboot to enable it. It's probably failing to grab a real number and it is defaulting to 0.
CC: @scarlet valve @chilly ivy

Also, be ware that if you've had a lot of people on your server, that placeholder will lag a little. Waiting on EssX to release a new update that has the new economy API in it and then I'll be removing the baltop placeholders from vault and moving them over to EssX expansion.

scarlet valve
#

Ok ty

#

Gonna try that

#

@trim mist just enebled it

#

And reloaded the server

#

Nothing happened

trim mist
#

"reloaded". Did you fully reboot?

scarlet valve
#

A ok

#

1s

austere hawk
#

.

#

gettin this error

austere hawk
#

Can anyone help me fix TownyChats conflict with Deluxechat, its ruining my chat formatting

grand zenith
ember shell
#

Hi, if a placeholder returns an empty content can I print something else?
For example if I want to print the placeholder %something% but the value is empty can I print "No data"?
Something like an OR

turbid tide
#

you can if you use the js expansion

ember shell
#

js expansion?

turbid tide
ember shell
#

Thanks!

#

But how to get the value of another placeholder inside the script?

turbid tide
#

you just parse it into a value. Like this: var placeholder = "%something%"

#

or you can just use it directly in a string if you want

#

so for example if ("%something%" == "No data") ...

ember shell
#

Uh sounds really nice, thanks man!

austere hawk
tender vaporBOT
turbid tide
#

the problem seems to be from the Vault expansion (Baltop placeholders)

plucky spruce
#

Can someone help me?

fervent spire
#

If you explain what you need help with first.

plucky spruce
#

i have deluxemenus and tokenenchant and when i put the variable in deluxemenus it wont show.

#

im getting this error