#placeholder-api

1 messages · Page 91 of 1

final shadow
#

what comments do we care about in the papi config

vivid sparrow
final shadow
#

also it wont affect anything

#

how do u think i add the config stuff for expansions

vivid sparrow
#

sorcery ¯_(ツ)_/¯

onyx mauve
#

I installed it

final shadow
#

sweet

#

now run the jsexpansion git list command

onyx mauve
#

I need to enable it in the config

vivid sparrow
#

how do I access the papi config?

final shadow
#

for what

brisk coral
#

You don't <o/

final shadow
#

to set the option to true?

vivid sparrow
#

ye

onyx mauve
#

It is still disabled in the config

final shadow
#

I added it gaby

onyx mauve
#

I enabled this ´github_script_downloads: true´ But do i need to restart the server?

vivid sparrow
#

ah, you do it through papi

#

/papi reload

onyx mauve
#

I did that

#

Now it is working. I needed to restart the server

#

I did /jsexpansion git list And now what?

brisk coral
#

Now download an example js

onyx mauve
#

okay

#

I did that

#

Now i just need to make my own... And i don't know js

final shadow
#

those give u a template u can edit now

onyx mauve
#

okay

brisk coral
#

If you need help/advice feel free to ask and someone will point you in the correct direction

onyx mauve
#

Okay 🙂

final shadow
#

@vivid sparrow i updated it

#

on ecloud

vivid sparrow
#

Great

brisk coral
#

@onyx mauve

var placeholder = "%placeholder%";

function placeholderCheck()
{
  return placeholder == null ? "Null placeholder" : placeholder;
}
placeholderCheck();
onyx mauve
#

But does that check the %tab_tabsuffix%?

final shadow
#

placeholder will never be null

onyx mauve
#

So this doesn't work then

vivid sparrow
#

use "" instead of null

final shadow
#
var placeholder = "%player_name%";

function check() {
  if (placeholder === "clip") {
    return "&cextended_clip";
  }
  if (placeholder === "gaby") {
    return "loser";
  }
  return placeholder;
}
check();
#

could do something like that

onyx mauve
#

var placeholder = "%placeholder%"; It is that placeholder that is going to be "checked"?

vivid sparrow
#

yes

onyx mauve
#

okay

final shadow
#

yes

#

I edited it to use an actual placeholder

onyx mauve
#

But is it possible to check if there is anything at all? or do i need to check for a specific word?

bronze bison
#

!= ""

vivid sparrow
#

love you too @final shadow

brisk coral
#

smh ye it should be an empty string

onyx mauve
#

Is there any way to get the players suffix?

final shadow
#

what plugin handles your suffix

#

luckperms or another permissions plugin right?

onyx mauve
#

Uhh... It is TAB by NEZNAMY

vivid sparrow
#

%vault_prefix%

languid coral
#

can someone help me with leaderheads setup??? im trying to setup is worth/value top 1 but it wont do it correctly? i might be using wrong placeholder??

onyx mauve
#

I think i fixed it 🙂 Thanks for the help everyone

wheat delta
#

Hello could someone help me, this js isn't working (my achievement never equals true) ```js
var achievements = [
"%Advancements_story/root%",
// ...
"%Advancements_husbandry/tactical_fishing%",
"%Advancements_husbandry/balanced_diet%",
"%Advancements_husbandry/break_diamond_hoe%"
];

var achieved = 0;

function getAllAdvancements() {
for (var achievement in achievements) {
if (achievement.equals("true")) achieved++;
}

return achieved;

}

getAllAdvancements();``` but if I do that it work : if ("%Advancements_story/root%" == "true") achieved++;

#

I think it's a bit fucked up with var type 😮

#

Also my achieved placeholder is returned as float and not int

#

event if I cast it as int

#

or if I return that int returned = achieved;

#

It write on my scoreboard "25.0" instead of "25"

brisk coral
#

.toFixed(0)

vivid sparrow
#

int is not a thing in js (?)

brisk coral
#

It's not

bronze bison
#

Wew

#

Js isn't python

#

for (var ... in ...)

vivid sparrow
#

js has that

brisk coral
#

Does it work, is the question tho Gaby :p

bronze bison
#

Ew then

vivid sparrow
#
var person = {fname:"John", lname:"Doe", age:25};

var text = "";
var x;
for (x in person) {
  text += person[x];
}```
#

there's also "of"

wheat delta
#

let me try

#

i'm lost cause i'm mostly doing ECS6

#

let and const doens't exist :p

vivid sparrow
#

js expansion uses ecs5

#

because the engine it's deprecated I guess

wheat delta
#

yup

#

text += person[x];

#

what that means

wheat delta
#

why the text var is always empty ?

#

on examples ?

vivid sparrow
#

Because thats how they initialize strings

ionic maple
#

hello, the deluxechat might having a little bug

turbid tide
wheat delta
#

@vivid sparrow Sorry for pinging you but why this row if (achievement.equals("true")) code... doesn't work

tender vaporBOT
#

@wheat delta

Hey!

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

wheat delta
#

doesn't knew he was staff member ;_;

#

thought he's just a discord member sorry

turbid tide
#

is that in javascript?

wheat delta
#

the condition is fucked up

#

But this string workif ("%Advancements_story/root%" == "true") achieved++;

bronze bison
#

99% sure that for in loop won't work in the js expansion, so ull have to use forEach() or fori (or whatever its called)

wheat delta
#

le loop work I tried to achieved++ in

#

and it work :/

#

but someone told me in isn't working as I thought

#

in is the index

#

and I want the string

bronze bison
#

ok then great!
Try using achievement == "true"? Afaik equals should work but try that

wheat delta
#

I'm trying with ==

#

also did that fucking js expansion have a doc ?

#

wiki or something

#

cause i'm pretty lost lol

bronze bison
#

There's a wiki for it, but if you're asking about the js itself, it uses java's nashorn engine

wheat delta
#

Do u have the wiki link?

bronze bison
turbid tide
#

aBooDyy

#

with LocalTime is there a way to use the 24 hours format?

#

or only the 12 hours one?

#

oh nvm

#

found HH instead of hh :)#

bronze bison
#

If u don't set the format on the placeholder, it will use the default one from the config.

turbid tide
#

yeah I know

#

i just didn't know that hh and HH is a different thing before

#

now I know 🙂

robust stream
junior musk
#

did you try updating TAB Reborn ?

echo umbra
#

Hi

#

I have a problem

#

Static placeholders doesnt work

#

it shows 0

#

instead of real data

#

@me pls

bright plover
#

Redisbungee placeholders do not work

coral furnace
#

Hello, i need help with using placeholders from PlaceholderAPI. It doesn't work for me and is it showing nothing.. just empty space. Without error, without warns or something.

coral furnace
#

Please.. :/

mint fable
#

@coral furnace Where are you using them?

coral furnace
#

In my plugin code.

mint fable
#

ah

#

What are you doing currently?

#

=paste

tender vaporBOT
#
HelpChat Paste

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

mint fable
#

If you need it ^

coral furnace
#

I don't have any error. I can send only code. Moment.

#

Sh... i'm absolutely lost now.. i cleaned my code, and don't know how to do it with PAPI.. 😐 😅

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

mint fable
coral furnace
#

I'm making /profile.. i want to make it show some info about player as.. group, name, balance, expiry of vip, and etc.. but when i was trying to get from %player_name% or everything other else it didn't work and show empty space

#

These links didn't help me.. i already checked it. I don' know what to do.

mint fable
#

Also make sure you have the expansions that you need downloaded

coral furnace
#

Yes, i have.

mint fable
#

And you can test if it's your plugin or the placeholder by doing /papi parse me %placeholder_name%

#

check what that command returns

coral furnace
#

Yes that's working it returns my name

mint fable
#

Okay, so can you send your code and a startup log?

#

=paste

tender vaporBOT
#
HelpChat Paste

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

coral furnace
#

I cleaned my code.. i don't know what put in it now for get it to work. I was searching in logs and there is only successfull starting PlaceholderAPI and expansions.

mint fable
#

?

coral furnace
#

I cleaned my code beacuse it absolutely didn' work..

#

I will try it write again.

mint fable
#

Ah, so you have no code for it at all yet

#

welp, rewrite it, make sure to pay attention to that whole wiki page, and then let us know what happens

coral furnace
#

Okay, thanks.

#

cj?

mint fable
#

?

coral furnace
#

Can you please give me example for making it at CommandSender? Beacuse i see only examples ( examples what i don't know what to do ) for onEnable event.. and i need for /profile command. 😅

#

( ||Sorry for my very BAD english..|| )

mint fable
#

you run the same code

#

and just use the string wherever you want to use it

#

so probably send a message to the player

coral furnace
#

What is wrong?

#

First is error, second whole code of class.

mint fable
#

you need to pass a Player, not a String

#

don't use s.getName() you need to make an instance of a player

#
if(s instanceof Player)
    Player p = (Player) s;
coral furnace
#

Uhm, where to put it, or better question.. how to use it? 😅

mint fable
#

Checkout that page

#

it will help

#

and that picture is also very small

coral furnace
#

Oh, sorry. I took bad url for picture.

mint fable
#

Send the string that setPlaceholders returns

coral furnace
#

How can i do that? Please. 😅

mint fable
#

player.sendMessage(PlaceholderAPI.setPlaceholders(player, your_message))

coral furnace
#

Is it right?

#

I tried to upload it to server, and restart. No error, no bad messages... but still is blank space when i type /profile.

mint fable
#

A blank space where?

coral furnace
#

Example >>> Your nick > %essentials_nickname%
That place where is %essentials_nickname% is blank.. but when i normally parse with command it show my nickname.

#

That is with everything

#

LuckPerms..

mint fable
#

Hmm

#

Did you add your depends?

coral furnace
#

Yes, and.. i'm ultra ULTRA confused.. after milion restarts this restart helps me.. i don' know how.. if is your code correct, or just magic.

#

I will try other placeholders.

#

And, thank you for help and patience. 😅

mint fable
#

Send your current code

#

=paste

tender vaporBOT
#
HelpChat Paste

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

mint fable
#

and a log

#

just in case

coral furnace
#

And startup log.. moment.

mint fable
#

Also, you should be returning true for your command

coral furnace
#

Oh, my fault.

tender vaporBOT
#

@coral furnace

Possible Solution Found:

Looks like your server can't connect to our API,
Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.

mint fable
#

but inside the if statement

#

Ah

coral furnace
#

Thermos. I know.

mint fable
#

can't connect shouldn't make a difference

#

I run thermos it's ok

coral furnace
#

It's weird.. on first install of PAPI was connection good.. after half hour it can't connect? 😄

mint fable
#

could be blocked by isp or something

#

what is your plugin called

coral furnace
#

UniversalSystem 1.1

mint fable
#

hmmm

#

so confused

coral furnace
#

But now it works.. as i said. What maybe fixed it?

mint fable
#

so /papi parse me %essentials_nickname% works?

#

wait it works now?

#

Did you restart the server?

coral furnace
#

Yes.. i said it . 😄 After milion restarts it works

#

I don' know how, but works.

mint fable
#

Very interesting

coral furnace
mint fable
#

fun

coral furnace
#

I guess i can mix player.sendmessage formats.. For example.. only text without papi inside i can use my main.msg("",s) but when with PAPI i will use your.. or it will not work?

mint fable
#

you can use the papi anywhere

coral furnace
#

I mean.. i will show, moment.

#

Mixing my main.msg("", sender); with your player.sendMessage... : D

#

No complications will be?

mint fable
#

you can use main.msg if you want

#

if that does what you want it to

#

you gotta send more text links, less images

#

=paste

tender vaporBOT
#
HelpChat Paste

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

coral furnace
#

Okej, and.. i hope last question.. how to do main.papi to contain papi thing?

#

And, i want to main.papi include send message to player with papi included.

#

So i can feel free to use %blablabla%

mint fable
#

Okay, so just do main.msg(PlaceholderAPI.setPlaceholders(player, stuff), sender);

coral furnace
#

It can't be maked to main.papi? 😅

mint fable
#

you can make that if you want

coral furnace
mint fable
#

just put what I sent you in the method

#

main.msg(PlaceholderAPI.setPlaceholders((Player) target, msg), target);

#

I think you need to learn java a bit more mate

#

I'm here to help, but going forward it would be very helpful

coral furnace
#

Again, thanks a lot, boy.
You really helped me today.

And yes, i'm planning to do more Java learning.. 😄

Thanks, and bye. 😅

mint fable
#

👍 o/

austere hawk
#

Hi

#

i'm using papi v2.10.4 and i've problems with minecraft server version 1.8.8

#

ecloud doesn't work

brisk coral
#

?ecloudblock

tender vaporBOT
#
FAQ Answer:

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

echo umbra
#

Static placeholders doesnt work
please, someone?

brisk coral
#

Static placeholders?

echo umbra
#

Well.. its displaying only 0

#

Statistics*

brisk coral
#

You probably have to add a line to the hologram which updates every x seconds

echo umbra
#

Not only holograma

#

Holograms

#

But in scoreboard too

brisk coral
#

You need an update argument there as well

echo umbra
#

In menus too

brisk coral
#

again update argument

echo umbra
#

But i have

brisk coral
#

Most things use arguments so it isn't updating for no reason

echo umbra
#

The problem is with the placeholder

#

Because its shows everywhere

#

0

#

Instead of real data

brisk coral
#

parse the placeholder and check if it still returns 0

echo umbra
#

Ok

#

😄

brisk coral
#

I mean check the placeholder you're using..

#

If you haven't died, ofc it will always show a 0

echo umbra
#

i killed my self

#

🙂

#

but all statistic placeholder doesnt work

brisk coral
#

reinstall the expansion

echo umbra
#

i reinstalled

#

any idea?

#

🥺

brisk coral
#

No clue

echo umbra
#

😭

brisk coral
#

Try reinstalling papi

echo umbra
#

ok

#

i fixeeeeeeeeeeeeeed

#
  disable-saving: false
  forced-stats: {}```
#

in spigot.yml

austere hawk
#

why ecloud and javascript doesnt work?

brisk coral
#

?ecloudblock

tender vaporBOT
#
FAQ Answer:

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

brisk coral
#

And what's the issue with JS ?

austere hawk
#

i have just expansions file

#

i havent config.yml javascript ..

brisk coral
#

Because there isn't a config.yml for javascript?

#

It creates a new folder, and a file called javascript_placeholder

#

Have you reloaded papi after installing the expansion?

austere hawk
#

yes

#

why i cant see placeholderapi's files and folders?
i can see only expansions

#

its my problem

austere hawk
#

Hello guys i need help:

brisk coral
#

Don't we all

austere hawk
#

I have a problem: Im using a plugin named " TrMenu"

#

And im using the placeholder " Pinger "

#

%pinger_online_localhost:port%

#

%pinger_online_ipofmyserver:25565% = Bungeecord = its says " Online " Perfect 😄

#

But when i do %pinger_online_localhost:port% = A minigame server = Its says offline

#

I use the localhost " For the security of my server "

#

What can i do ?

turbid tide
#

what do you mean by localhost? do you always use localhost instead of the ip?

#

because I don't think that localhost works

#

you will have to use the ip

austere hawk
#

Okey so in my bungeecord.yml i use " host:ip:port

#

And in my servers: I use always " localhost:port "

turbid tide
#

well i don't think that you can use localhost

#

you will have to use the ip

#

or dns

#

if you have dns

austere hawk
#

i have dns

#

it doesn't work 2

#

i have 3 dns

turbid tide
#

how doesn't it work with dns?

#

are you sure?

austere hawk
#

For example:

turbid tide
#

do /papi parse me %pinger_online_dns:port%

#

and see what it returns

austere hawk
#

It says

#

Offline

#

And when i try the ip

#

like 88.xx.xx.xx:port

#

Its says Online

turbid tide
#

well try doing the command multiple times

#

spam the command: /papi parse me %pinger_online_dns:port%

#

for a few seconds

austere hawk
#

ok now its works

turbid tide
#

yeah

austere hawk
#

and for the servers:?

turbid tide
#

it takes some time

austere hawk
#

The relied servers

#

Like minigames lobby servers

turbid tide
#

change the port to the servers port

#

or your bungee server has a different ip than your servers ip?

austere hawk
#

No

#

The same machine

#

I will give an exemple wait few seconds

#
Host: iptheserver:25565

servers:
  Lobby:
    motd: '&1Just another BungeeCord - Forced Host'
    address: localhost:25520
    restricted: false
  pvp:
    motd: '&1Just another BungeeCord - Forced Host'
    address: localhost:25519
    restricted: false

#

when i try papi parse me %pinger_online_iptheserver:25565%

#

It says " Online "

#

When i try papi parse me %pinger_online_localhost:25520% = Offline

#

so ?

turbid tide
#

well i rly don't know

austere hawk
#

Dude @turbid tide i

#

changed everything by the ip of mserver

#

i doesn't work

austere hawk
#

how can i show statistic wither kills

#

%statistic_kill_entity_WITHER%

#

not working

turbid tide
#

what does it show

#

when you use that?

austere hawk
#

0

#

/papi parse me %statistic_kill_entity_WITHER%

bronze bison
#

latest version? of the expansion?

turbid tide
#

well do you want wither or wither skeleton ?

austere hawk
#

wither boss

#

its same as ender dragon

bronze bison
#

%statistic_kill_entity:<MobType>%

#

: not _ for latest version.

austere hawk
#

ow :/

#

:d

bronze bison
austere hawk
#

but

#

its not working

#

my server 1.8.8

bronze bison
#

then uren't using the latest version of the expansion.

#

so use _

austere hawk
#

im already using _

bronze bison
#
/papi ecloud download statistic 1.7.0
/papi reload
austere hawk
#

im already using 1.7.0

bronze bison
#

any errors in console?

austere hawk
#

yess

bronze bison
#

can u send it?

austere hawk
#

[20:05:53 WARN]: java.lang.IllegalArgumentException: The supplied EntityType doe
s not have a corresponding statistic

#

:/,

bronze bison
#

well then, seems like spigot doesnt store that

#

so u can't get that for that entity type.

#

with statistics expansion ^

austere hawk
#

tanks for help

tardy fox
#

why does the %pinger_gameversion_127.0.0.1:25611% replies Paper 1.14.4 instead of only 1.14.4

#

when %pinger_version_127.0.0.1:25611% already replies the same

bronze bison
#

They are the same thing probably, just like an alias

bright plover
#

When will the RedisBungee expansion be fixed?

livid fog
#

the placeholder isnt working on essentials chat very confused

brisk coral
#

Do you have chatinjector?

bright plover
#

?

worthy matrix
#

Hello I would like to know how to put a delay between each example action: a player takes an item and has to wait 30 minutes before being able to take it back
No that's the time before the item is given with de plugin TrMenu

turbid tide
#

take it back or again?

worthy matrix
#

Again

#

like a Kit

turbid tide
#

there is no specific way. the way i do it I give them a permission

#

for 30 mins

#

and check if they have the permission or not

junior musk
#

He wants a cooldown placeholder from PAPi,

worthy matrix
#

30 mins was a exemple I want to do for 1 day actually

junior musk
#

that's possible with Js Expansion

#

but I don't remember how

worthy matrix
#

Yeah that's what I want x)

#

thx ;)=

austere hawk
#

There is no expansion of playervault?

wet basinBOT
#

@junior musk Unknown expansion.

junior musk
#

doesn't seem to

austere hawk
#

Dang

#

That sucks

sharp jay
#

whats it needed for

austere hawk
#

So that

#

I can do /papi parseme {name} %player_has_permission_playervault_amount_1%

#

So that, I can check if the player has that permission

sharp jay
#

You can check perms xD

#

no need for papi placeholders from playervault

austere hawk
#

I know

#

But I got hundreds of permission

#

Don't expect me to go through all xD

sharp jay
#

%otherplayer_hasperm_<player>_perm_<permission.string>%

#

Enjoy

#

or %player_has_permission_<permission>%

bright plover
#

@sharp jay Will there be an update to fix redisbungee placeholder?

sharp jay
#

@bright plover whats the issue

bright plover
#

That includes all of the logs and things

turbid tide
#

I think that the author of the plugin needs to add the placeholder and update them

sharp jay
#

^

ember crown
turbid tide
#

@ember crown DeluxeMenus is a Menu plugin NOT a shop plugin

#

so you will have to take the item from their inventory

#

and also check first if they have the item

ember crown
#

No a shop plugin?

turbid tide
#

NOT

#

you can do the shop in it

#

but IT is not mainly a shop plugin

#

that is just an example of what you can do with it

#

also

#

- '[console] clear %player_name% GRANITE 1'

#

as you can see it takes the item

#

from players inventory using a command

#
      requirements:
        anything_here:
          type: string equals
          input: '%checkitem_mat:GRANITE%'
          output: 'yes'```
#

and It also check if the player has the item

ember crown
#

Yes, I have it

#

And I will add the clear command

turbid tide
#

essentials doesn't have a clear command

#

it clears the player entire invetory

#

inventory*

#

1 sec. aBooDy has a plugin which is good for managing items in players inventory

#

I can give a link to it

ember crown
#

Yes please 😄

turbid tide
#

it supports 1.8,1.12,1.13 and 1.14

ember crown
#

So guys, what is wrong? I have downloaded CheckItem expansion

#

@bronze bison, can you help me please?

tender vaporBOT
#

@ember crown

Hey!

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

ember crown
#

Sorry for ping

turbid tide
ember crown
#

Ok

turbid tide
#

this site blinds me 🙂

#

and is 00:00 is dark in here 🙂

#

so what doesn't work?

ember crown
#

Selling still don't work

#

Material name is correct

turbid tide
#

well what happens when you try to sell?

ember crown
#

It writes deny message

turbid tide
#

%checkitem_mat:ZOMBIE_HEAD% only checks if the player has at least a zombie head

ember crown
#

And I have zombie head in the inventory

turbid tide
#

not multiple

#

what is your server version and your deluxemenus version?

#

./version and /dm version

ember crown
#

Latest paper and latest DM

#

So 1.15.2

turbid tide
#

and DM latest means 1.12.0?

ember crown
#

Yes

turbid tide
#

update to the latest

#

1.12.2

ember crown
#

Ok, I will try it

turbid tide
#

it is fixing a lot of bugs for 1.15

#

also what plugin are you using for the clear command?

ember crown
#

'[console] clear %player_name% ZOMBIE_HEAD 1'

#

It works, I will tried it

turbid tide
#

and it only removes the 1 zombie head?

ember crown
#

No, nothing

#

It still writes deny message

#

deny_commands:
- '[close]'
- '[message] &c&l[!] &cPro prodání této hlavy musíš držet hlavu v ruce!'

turbid tide
#

do in chat

ember crown
#

This

#

Yes

turbid tide
#

./clear Truger23 zombie_head 1

#

and see if it removes your zombie head

ember crown
#

Yes, removes

#

No, still doesn't work

#

And I have latest DM (1.12.2)

turbid tide
#

use this menu

#

I changed the click requirements

ember crown
#

Oh, it works!

#

Thanks

turbid tide
#

no problem

#

but what plugin are you using for the clear command? @ember crown

#

essentialsx?

ember crown
#

Yes

#

Latest

turbid tide
#

oh right

#

forgot about the fact they updated a few days ago

ember crown
#

Yes 😄

turbid tide
#

because on the version before the latest if I do /clear %player_name% ZOMBIE_HEAD 1

#

it removes the entire inventory

#

for that player 🙂

ember crown
#

[23:16:11 WARN]: [DeluxeMenus] Material for item: profil in menu: profil is not a valid material name / id!
[23:16:11 WARN]: [DeluxeMenus] Skipping item: profil

#

profil:
material: PLAYER_HEAD;%player_name%
slot: 13
display_name: '&bInformace'
lore:

#

What is wrong?

#

That warn is in the latest version DM (1.12.2)

turbid tide
#

material: PLAYER_HEAD;%player_name%

#

i think that is

ember crown
#

And where to put the placeholder?

turbid tide
#

head;%player_name%

#

just like that

#

item: head;%player_name%

ember crown
#

I have it in the before

#

And it writes warn too

#

material: head;%player_name%

#

This

#

[23:18:11 WARN]: [DeluxeMenus] Valid format: head-<playername/%player_name%>

turbid tide
#

head-%player_name%

ember crown
#

Yes, it works, thanks 😄

turbid tide
#

no problem

#

probably they changed it in the new version

#

in 1.12.1 it works with:

ember crown
#

[23:23:06 WARN]: [DeluxeMenus] open_command specified for GUI menu: vip_kity already exists for another menu!
[23:23:06 WARN]: [DeluxeMenus] Skipping GUI menu: vip_kity
[23:23:06 WARN]: [DeluxeMenus] open_command specified for GUI menu: kit_vip+ already exists for another menu!
[23:23:06 WARN]: [DeluxeMenus] Skipping GUI menu: kit_vip+
[23:23:06 WARN]: [DeluxeMenus] open_command specified for GUI menu: kit_mvp+ already exists for another menu!
[23:23:06 WARN]: [DeluxeMenus] Skipping GUI menu: kit_mvp+

I really don't know what and where it can be wrong. In the previous version of DM it did not write any warning, but suddenly in the latest (1.12.2) yes, I do not understand

turbid tide
#

you can't have the same command for multiple menus

ember crown
#

But he is not the same command for multiple menus

turbid tide
#

vip_kity, kit_vip+ and kit_mvp+ al have the same open command

#

well that is what it says

ember crown
#

vip_kity:
menu_title: VIP kity
open_command: vip_kity

#

What is here wrong? 😄

#

kit_vip+:
menu_title: Kit VIP+
open_command: kit_vip+

turbid tide
#

hmm

ember crown
#

Here isn't mistake too 😄

turbid tide
#

maybe it doesn't support +

#

_*

#

and +

ember crown
#

Ok, I will try it rename

#

It supports, it must blocked menu kit_pvp too

#
  • supports too
turbid tide
#

hmm

#

@ember crown can you at least try changing the commands for all those menus?

#

with something like: test1, test2, test3 etc

#

and see if it works then

ember crown
#

Yes

#

Still writes the same warns

turbid tide
#

if that wouldn't be to much to ask could you paste all those 3 menus in a paste.helpch.at?

ember crown
#

Of course

rapid tinsel
#

@ember crown Does it open menu if you do /vip_kity

ember crown
#

Don't works, it writes "vip_kity is not a valid menu!"

turbid tide
#

@ember crown have you used an yaml validator to see if there is no spacing mistake or something like that?

#

and paste your menu there

#

and see if it returns any errors

ember crown
#

Okay

#

vip_kity - Valid YAML!
kit_vip+ - Valid YAML!
kit_mvp+ - Valid YAML!

rapid tinsel
#

does it turn any error in log?

turbid tide
#

it does

#

but they clearly have different commands

ember crown
#

Gui menus

rapid tinsel
#

well thats new story

turbid tide
#

what about the config.yml file Truger23?

#

do they have different names in there?

ember crown
#

vip_kity:
file: vip_kity.yml
kit_vip+:
file: kit_vip+.yml
kit_mvp+:
file: kit_mvp+.yml

turbid tide
#

hmm

#

try using the 1.12.1 version just to test

rapid tinsel
#

did you try changing command do something else?

#

or just removing command

#

as i can see you dont need it anyway

turbid tide
#

yeah he did

#

try using that version @ember crown

ember crown
#

Ok

#

Yes, it works

#

In the 1.12.1

rapid tinsel
#

Great 😄

turbid tide
#

but considering you are using 1.15

#

it may have other broken things

rapid tinsel
#

deluxemenus work normally for me on 1.15 and last version 🤔

turbid tide
#

🙂

ember crown
#

Can't there be a bug in the plugin?

turbid tide
#

probably it is a bug caused by the plugin as 1.12.1 does not support 1.15

#

and the 1.12.2 one is still a dev build

#

is not fully released

ember crown
#

Okay

#

Thanks you very much for your time! ❤️

turbid tide
#

no problem 👍

vernal lintel
#

Placeholders work when I parse them, but they don't work in chat or on featherboard, any ideas?

#

I have chatinjector

austere hawk
#

yo

#

My console keeps spamming [MVdWPlaceholderAPI] There is no MVdW placeholder plugin installed![MVdWPlaceholderAPI] Put one of Maximvdw's premium placeholder plugins in the server!

#

I have featherboard and the placeholder installed..

brisk coral
#

I mean it says the issue

#

Featherboard uses maxims placeholderpi

brisk coral
#

@vernal lintel Use %placeholderapi_placeholder% for featherboard

#

And {} for chat

inner shell
#

any chance of placeholder supporting tuinity?

brisk coral
#

What now?

inner shell
#

tuinity breaks placeholder api

#

is it possible that a feature update might fix it?

#

sorry .. future

brisk coral
#

It would help if you explained what that is.. perpahs a link*

brisk coral
#

Does placeholderapi not work at all?

#

Because if it's a fork of paper it should work fine

inner shell
#

no feature of placeholder works

brisk coral
#

Does the plugin load properly?

inner shell
#

"loads" enables.. but it breaks others immediately on load that have it as a hard dependency

#

ah well thank you anyway 🙂

#

ehhh maybe it s something else.. or ..

#

hrm does placeholder break with java 11?

#

i'm special.. something about java 11.. confused superbvote something about the date format and json

#

how in the hell.. this disabled formatting for my tab plugin and the placeholders

#

i dont iknow

#

wiping superbvote and starting from scratch fixed it

bright locust
#

guys

#

\

#

why it does not works

#

javascript_displayname

#

when i got javaskript instaled

bright locust
#

guys i make javascripot

#

but not show me properly

mental night
#

did u add the part to javascript list

#
  file: displayname.js```
#

In javascript_placeholders.yml

tardy fox
#

when using the placeholder for meta it replies with nothing (luckperms)

random ingot
#

hello

#

can anyone help me gather players from multiple servers?

#

'&c%pinger_players_93.114.82.37:25574% + &c%pinger_players_93.114.82.37:25575% + &c%pinger_players_93.114.82.37:25574%'

#

that's what I need

junior musk
#

you can use the Math expansion

vivid sparrow
#

math

random ingot
#

I know, and I understood that I have to use javascript

junior musk
#

%math_{placeholder}+{placeholder}[precision:0]%

#

I know, and I understood that I have to use javascript
why ? you don't need to use js

vivid sparrow
#

js used to be the only way back then

junior musk
#

ah

random ingot
#

%math_{%pinger_players_93.114.82.37:25574%}+{placeholder}[precision:0]%

#

or %math_{pinger_players_93.114.82.37:25574}+{placeholder}[precision:0]%

junior musk
#

second

lavish sail
#

How do I see which placeholder expansions has an update ready

#

I get this in console "[PlaceholderAPI] 1 installed expansions have updates available."

turbid tide
#

./papi ecloud list all

#

and see which one are Orange

#

those have an update available

lavish sail
#

tysm

fervent moon
#

is there an ecloud for statistics like %kills% or %deaths% etc

turbid tide
#

@fervent moon /papi ecloud download Statistic

junior musk
#

Statistic*

#

there isn't any s at the end

#

I did the same thing before x)

austere hawk
#

Hello, Placeholders for BungeePerms don't work for some reason

#

So I'm trying to display all the groups that the player is in via %bungeeperms_groups%

#

and it doesn't work

#

it just displays %bungeeperms_groups%

junior musk
#

/papi ecloud download BungeePerms

#

/papi reload

austere hawk
#

Isn't it included in BungeePerms?

#

the placeholders

#

I'll try it

#

@junior musk

[10:22:46 INFO]: No expansion found with the name: bungeeperms
>papi ecloud download BungeePerms
[10:22:52 INFO]: No expansion found with the name: BungeePerms```
junior musk
#

@austere hawk does it show in/papi list ?

austere hawk
#

papi list
[10:34:18 INFO]: 3 Placeholder hooks registered:
[10:34:18 INFO]: player, server, vault

#

seems that it doesn't

bronze bison
#

Do you have the plugin?

#

BungeePerms plugin?

austere hawk
#

Yes

#

@bronze bison

10:48:09 [INFO] Welcome to BungeePerms, a BungeeCord/Spigot permissions plugin
10:48:09 [INFO] Version 4.0 dev #84
10:48:09 [INFO] Author wea_ondara```
rotund sequoia
#

When trying to import with maven I get the error
Dependency 'me.clip:placeholderapi:2.10.4' not found
I've tried with v2.10.4 too

bronze bison
#

does /papi parse me %bungeeperms_groups% work @austere hawk ?

rotund sequoia
#

Yeah I have

#

says "replace version with the version listed at the top of this page" which I did and doesnt work

austere hawk
#

@bronze bison

[10:51:52 INFO]: %bungeeperms_groups%```
#

doesn't work

mental night
#

u online?

#

if so just do /papi parse me %bungeeperms_groups%

austere hawk
#

I did it via console

bronze bison
#

Are you online? In the server?

austere hawk
#

for the test i tried papi parse mastopgunaf %player_health% and it worked (20.0)

#

yes

#

i am

bronze bison
#

Then contact the plugin's author. The expansion is built into the plugin.

rotund sequoia
#

Anyone knows why maven is showing error "Dependency not found" ?

bronze bison
#

It should work? I've recently used it and it was working fine.

rotund sequoia
bronze bison
#

I'll check in a bit

bronze bison
#

its working fine @rotund sequoia

rotund sequoia
#

so why am I getting a depend not found error

final shadow
#

weird its working for me too

rotund sequoia
#

shows red for me

brisk coral
#

Reimport it

rotund sequoia
#

Ah that worked. Seems like it didnt get imported properly the first time

#

Thanks

bright locust
#

guys

#

do you know why happend this allways

#

if i reload featherboard it's show me but

#

only 20-30m then happend this again

turbid tide
#

so it happens for no reason?

#

are you doing /papi reload?

bright locust
#

yes

#

no

#

i'm doing featherboard relaod and it's fixed

#

i dont know wich one is it featherboard or papi

hushed spindle
#

Is there a placeholder for the total number of region a player owns and rents?

hushed spindle
#

hi?

cunning charm
hushed spindle
#

I checked that out, but all the placeholders there are irrelevant to what I want

#

@cunning charm

cunning charm
#

Then likely one doesn’t exist

hushed spindle
#

wow

#

such a basic placeholder

vivid sparrow
#

bruh

#

For what plugin

dire scroll
#

is there a placeholder for ezprestige cost?

dire scroll
#

ah its not a thing

#

that sucks ;-;

#

how can i make a suggestion for that?

fierce shore
#

i am habing a issue with papi plugin ;-;

#

i cant post images here sooo how do i can show the issue?

tender vaporBOT
#
Uploading Images

Please use imgur to share screenshots and other images.
Imgur

fierce shore
#

ty

#

https://imgur.com/a/60s8DXd so i downloaded vault on the command /papi ecloud download vault, but the extensions don't work!
And i downloaded worldborder extension but the placeholder don't work!
My HD are on the latest versions (same to papi)
MC version: 1.8.8 paperspigot (no error in console)

#

Thanks for listening ❤️ Waiting for answers

civic otter
#

Not sure if this issue is on papi's side or luckperm's but the expansion for luckperms doesn't register. Papi says that I don't have the luckperms prefix expansion registered but it also won't let me register it (essentials expansion is properly recognized). It happens with both the ecloud version and the version that I downloaded manually from luckperms. Whenever I try to register the expansion, I get the error An internal error occurred while attempting to perform this command. I'm able to register other expansions just fine. The server's paper 1.15.2, and the error happens with both the latest official version of papi and the dev build.

Does anyone know how I might be able to register the luckperms expansion?

tender vaporBOT
#
FAQ Answer:

This error occurs when there is a mismatch in versions between the expansion and luckperms itself.
Make sure you have the very latest LuckPerms and the latest LuckPerms Expansion.
Once installed restart your server.

If you want to keep using v4 please download the version 4.1 of the LuckPerms expansion.

austere hawk
#

I parsed %statistic_kill_entity:SHEEP% just now and it shows 1, after I killed a sheep it still shows 1. What happen?

#

Parse it with /papi parse me %<placeholder>% and check the output

#

Yea that's how I parsed it.

#

This doesn't work with other animals either. I've tried COW and CHICKEN and they don't work either.

austere hawk
#

Anybody has come across this problem?

uncut pilot
#

what server version?

sharp jay
#

@austere hawk

austere hawk
#

PaperSpigot 1.15.2

uncut pilot
#

what does %statistic_kill_entity:minecraft:cow%return?

austere hawk
#

Invalid entity param.

#

I think the whole statistics placeholder broke, %statistic_mine_block% doesn't work either.

#

Neither do %statistic_sneak_time%

#

However, not all placeholders return 0. %statistic_sneak_time% returns 8475, I think it stops working after I have installed a certain plugin, but I'm not sure.

#

@sharp jay @uncut pilot

sharp jay
#

Its cuz its 1.15

#

it hasnt been updated yet

austere hawk
#

🤔

#

You mean the Statistics expansion?

sharp jay
#

Yes

austere hawk
#

I thought this is a Spigot thing.

sharp jay
#

@brisk coral any chance you know whos maintaining this expansion

brisk coral
#

sec

austere hawk
#

Thanks guys ❤️

brisk coral
#

Glare and clip only contributors

#

I think

austere hawk
#

Alright.

vivid sparrow
#

Though it should error if it was broken 6_ThonkHmmm

#

Weirddd

#

@final shadow can you test it?

brisk coral
#

I could but I'm a lazy shit

final shadow
#

Test what

vivid sparrow
#

statistic expansion on 1.15

final shadow
#

Ya I can after work

vivid sparrow
#

when is after work?

final shadow
#

Like an hour and a half

vivid sparrow
#

alright

#

Looking at the expansion code and I don't see why it wont work on older versions as well

#

@brisk coral what was the problem with using latest statistic expansion on 1.12?

brisk coral
#

Wasn't it the : which were switched to _

vivid sparrow
brisk coral
#

I don't use 1.12 so can't tell you exactly 🤷‍♂️

wicked chasm
#

guys whats the best scoreboard that support papi ? 1.15.X

brisk coral
#

KiteBoard

#

if it supports 1.15, not sure cuz Niall is ded

wicked chasm
#

oh well found another 1 that seems it supports papi

brisk coral
#

featherboard as well

wicked chasm
#

fb guess need maxim placeholders

#

not sure if it suport papi

#

let me check

brisk coral
#

it does, you have to use
{placeholderapi_<placeholder>} tho

wicked chasm
#

ah, right

#

got rid of animated names and tab from maxim, gonna get rid of fb as well, wanna try something new 😛

austere hawk
#

@final shadow @brisk coral Can you please @ me here if the statistics expansion is fixed? Thank you so much!

tender vaporBOT
#

@austere hawk

Hey!

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

brisk coral
#

Just finished all my school work for the week, I'll go check out what's wrong with it

junior musk
#

got rid of animated names and tab from maxim, gonna get rid of fb as well, wanna try something new 😛
@wicked chasm I would recommend you TAB Reborn as it regroups those 3 features (even if the scoreboard is in the premium version... but that's not important x) at least it is way cheaper than FB)

wicked chasm
#

got all maxim plugins m8, for more than 4 years now

#

XD

#

just found an easier tab now

#

and i guess even better

#

and scoreboard

brisk coral
#

KiteBoard? :perhaps:

junior musk
wicked chasm
#

tab/animatednames and boss bar , all in 1

#

yeah so im using the free version of the tab that u linked me XD

#

if he add the paid version on spigot il buy it from there

junior musk
#

he can't add it on Spigot

wicked chasm
#

oh

junior musk
#

the spigot staff won't let him do it

wicked chasm
#

diodnt know that

junior musk
#

I don't remember why

wicked chasm
#

ok, i bet is a long story

junior musk
#

yeah

wicked chasm
#

anyway i love the free version as well

vivid sparrow
#

Spigot and it dumb rules

pseudo pewter
#

When using Parkour expansion for papi, my server will generate a bunch of errors when i join, and when i join for a second time,, it will crash the server if it hasnt alredy. I know that this is caused by Parkour for when i remove it, the server works just fine. Anyone know a solution to this?

brisk coral
#

Would help if you showed the errors

#

=paste

tender vaporBOT
#
HelpChat Paste

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

pseudo pewter
#

okay 1 second

#

thats so wierd its not breaking anymore

#

ill paste if it does though'

#

this happened when i was editing the cmi hologram for some placeholders like record time and leaderboard https://paste.helpch.at

#

after this shows it restarts

#

the server

austere hawk
#

I got this error

tender vaporBOT
#

@austere hawk

Possible Solution Found:

Looks like your server can't connect to our API,
Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.

pseudo pewter
#

the first bit is the crash, the second shows when i log in

junior musk
#

[Parkour] Course 'goodmorning' was not found in the database. Run command '/pa recreate' to fix.

pseudo pewter
#

that shows everytime even though i do recreate it but it just says recreated courses: 0

junior musk
#

try to report it to the plugin author

pseudo pewter
#

the parkour works fine though, so idk what the issue is for

pseudo pewter
#

anyone know a solution to my error? it crashes when i have papi parkour downloaded.

vivid sparrow
#

contact the parkour author

#

all errors are coming from it

pseudo pewter
#

okay, thanks

next garnet
#

Hey guys. I'm trying to make it so if a player has a permission they can view an item and if they have the amount of emeralds needed they can buy it. However, if they don't have the permission it'd just display a barrier.

https://paste.helpch.at/rolisatipo.yml - Everything works so far, except for the purchasing of the item, and making sure they have 5 emeralds in order to make the purchase. Any help would be much appreciated. Please tag me is response.

Cheers 🙂

turbid tide
next garnet
#

@turbid tide still says I don't have enough emeralds

turbid tide
#

do /papi parse me %checkitem_amount_mat:emerald%

#

and see what it returns

next garnet
#

@turbid tide worked. I forgot to download the CheckItem. Thanks heaps for your help mate, really appreciate it 🙂

turbid tide
#

👍

cerulean ore
turbid tide
#

have you downloaded the expansion Henrich?

cerulean ore
#

Yes

turbid tide
#

and if you do /papi ecloud list installed does it appear in there?

cerulean ore
#

Actually no it doesn't

turbid tide
#

after you did /papi ecloud download LeaderHeads have you also executed /papi reload ?

cerulean ore
#

Yes

turbid tide
#

yeah

#

delete that

#

and install it manually

cerulean ore
turbid tide
#

1 sec

#

there you will find it

cerulean ore
#

Yeah, just found that page, will try now

#

Nope, still same issue

turbid tide
#

try restarting the server

cerulean ore
#

Oh, so restarting actually solved it lol

#

Thanks!

buoyant hedge
#

Is there a way of fixing this on PAPI's side?
18.03 12:04:01 [Server] Startup [16:04:01 ERROR]: [PlaceholderAPI] KoTH is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [SubSide] and urge them to update it ASAP.

brisk coral
#

No

#

Tell the author to update his shit

buoyant hedge
#

The KOTH developer died I think.

#

So no can do.

brisk coral
#

I mean that warning has been there for like more than a year lol

#

You can still use the expansion, just downgrade papi, but any other expansions might not work due to it

buoyant hedge
#

Damn it >.<

#

That's not even a thing though, there aren't any expansions for KoTH on Ecloud.

brisk coral
#

probably internal then

buoyant hedge
#

What?

brisk coral
#

Means the plugin handles placeholders within the plugin itself

austere hawk
#

how could i go about using placeholders from placeholder api in a discord bot

#

like

#

use the placeholdders from my server

vivid sparrow
#

papi doesnt support that, if the bot is hosted on a mc server you can probably access papi api from there

austere hawk
#

yes i can host it there

#

how do i get the placeholder data

#

if i use something like discord.js

vivid sparrow
#

you will need java

austere hawk
#

dang

oak dock
#

hello people. i got a looking dumb question. i got a on build network all working fine with place holder exept only one server alway casting offline and nothing with pinger version i said literaly nothing. no info. same for bungeecord placeholders. so i wondering if some one know why or can help me to troubleshoot this sketchy and weird issus since i never got this one. i think its maybe cmi at some point causing casting info be denied or something else. if you know something ping me

white hinge
#

how do you make it so when you click something in the gui its make you get kicked out of the gui?

dark parcel
#

How do i add kills counting and kill streak

#

Need help

#

@mint fable @sharp jay

tender vaporBOT
#

@dark parcel

Hey!

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

crimson vigil
#

shutup barry

sand leaf
#

@dark parcel to what?

dark parcel
#

Scoreboard

#

the kill counts

crimson vigil
#

what scoprebored you use

dark parcel
#

kiteboard

#

i need kill counting and streaks

crimson vigil
#

sorry i only speak featherboard

dark parcel
#

Hmmm

crimson vigil
#

sorry im dont even know

dark parcel
#

But how to download btw

#

i mean ecloud

#

which should i download

#

there are no supports

sand leaf
#

/papi ecloud download Player

#

?

dark parcel
#

Yeah i checked about that

sand leaf
#

And then you did /papi reload

#

?

dark parcel
#

i dont think there are kills counting

sand leaf
#

Maybe this expansion can help you

crimson vigil
#

are you using the right placeholder for that "player" libary thing

dark parcel
#

this one isnt it?

sand leaf
#

Doesn’t seem like that

dark parcel
#

Alright

#

ill try

#

thx

crimson vigil
#

Player deoenst have killcounts

dark parcel
#

Hmmm

#

i just want to make a kitpvp server

#

and with a scoreboard

#

with killcounts and death

sand leaf
#

It does

#

But it’s in the statistic expansion

dark parcel
#

Will it reset when you close the server?

crimson vigil
#

no it shouldnt

dark parcel
#

Alright

sand leaf
#

%statistic_player_kills%

#

No

#

It’s stored in plain files I think

warm topaz
#

stats will only reset when playerdata is deleted in the world folder

sharp jay
#

Imagine pinging me

crimson vigil
#

imagine barry being useless bot and not looking into the future to know who people will ping you to stop him

dark parcel
#

how to count the deaths

#

time_since_death?

sand leaf
#

%statistic_deaths%

dark parcel
#

ok

sand leaf
#

Go into that document

#

Hit ctrl + f

#

Search for keywords

#

Helps a lot

dark parcel
#

ok

crimson vigil
#

if you want flying statistics in your server about top playerkills

#

i have found excellent plugin

#

like h ologram i mean

dark parcel
#

yeah

crimson vigil
#

very cool for kitpvp server

dark parcel
#

holographic display?

sand leaf
#

Akx it requires to get placeholders for top 10 killers then

crimson vigil
#

yes but there is one that doesnt require setup and is very easy to use

dark parcel
#

how do i add top 10 kills on scoreboard xD

dark parcel
#

alright

crimson vigil
#

it is very good plugin

dark parcel
#

Need help xd

#

another big issues

tepid patrol
tender vaporBOT
#

@tepid patrol

Possible Solution Found:

Looks like your server can't connect to our API,
Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.

tepid patrol
#

i got error

austere hawk
#

Help xD

#

I'm trying to load DeluxeChat and LuckPerms placeholders but neither are working

junior musk
#

what's your LuckPerms version ?

#

if it's below 5.0, you have to update it

austere hawk
#

Oh

junior musk
#

because the new LuckPerms expansion for PAPI doesn't support below 5.0

#

since the API was reworked

austere hawk
#

Ohhh