#placeholder-api

150650 messages · Page 24 of 151

mental night
#

all the other lines below what

fading wave
#

And well they are empty whereas when I remove %playerpoints_points% the other lines recover well

#

With the Kiteboard plugins

mental night
#

@heady falcon

heady falcon
#

🤔 Have you got error message?

fading wave
#

Yes

#

@heady falcon

#
java.lang.IncompatibleClassChangeError: Expecting non-static method 'org.black_ixx.playerpoints.PlayerPointsAPI org.black_ixx.playerpoints.PlayerPoints.getAPI()'
        at com.extendedclip.papi.expansion.playerpoints.PlayerPointsExpansion.getPoints(PlayerPointsExpansion.java:69) ~[?:?]
        at com.extendedclip.papi.expansion.playerpoints.PlayerPointsExpansion.onRequest(PlayerPointsExpansion.java:61) ~[?:?]
        at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:156) ~[?:?]
        at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:69) ~[?:?]
        at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:97) ~[?:?]
        at net.kitesoftware.board.d.a.a.a(PlaceholderAPI2Hook.java:19) ~[?:?]
        at net.kitesoftware.board.d.a.a(PlaceholderManager.java:65) ~[?:?]
        at net.kitesoftware.board.c.c.a.a.b(AnimatedComponentWrapper.java:76) ~[?:?]
        at net.kitesoftware.board.c.c.<init>(ComponentUpdater.java:27) ~[?:?]
        at net.kitesoftware.board.c.b.a(ComponentFactory.java:108) ~[?:?]
        at net.kitesoftware.board.c.b.a(ComponentFactory.java:81) ~[?:?]
        at net.kitesoftware.board.user.a$1.run(KiteUserImpl.java:68) ~[?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]
heady falcon
#

Ah ok, this is not KiteBoard error, send to developer of PlayerPointsExpansion- it looks like it needs updating

mental night
#

ah it uses the old placeholderapi i assume

winged temple
#

Hey! Can somebody help me?

#

I want to make a ScoreBoard in Minecraft paper/bukkit, with a essentials economy placeholder. I downloaded Vault, EssentialsX and Papi and installed vault (ecloud). The placeholder %vault_eco_balance% does not work in the scoreboard... As scoreboard I use WorldBoard 😉

steep thorn
#

@winged temple what does /papi parse me %vault_eco_balance% show?

winged temple
#

That shows my actually money

steep thorn
#

Hmm, WorldBoard seems quite outdated

#

Why not use something more recent?

winged temple
#

I have found nothing better yet... But I'll try something else.

steep thorn
#

First result I got on Google

#

Seems way more active/reliable

winged temple
#

okay thanks, I try it out! 😄

silver minnow
#

@winged temple I know that this is the world's latest response, but if you ever have issues you can check out titlemanager :P

#

ive used titlemanager for agess

winged temple
#

Oh, this is what I have installed after some other plugins and it's working perfekt! So I had it before but thanks so much again ;)

silver minnow
#

wait

#

why do you have two scoreboard plugins then

winged temple
#

No, I tested the others

#

But now i use Titelmanager

silver minnow
#

@winged temple Make sure to have TitleManager 2.3.0 though

mental night
#

2.3.0?

silver minnow
#

yes

mental night
#

i think i use 2.2.7 or smthing as the others had bugs

silver minnow
#

welp

#

or that

#

just not latest

mental night
#

yeh i use 2.2.7

#

updated ones didnt work with color codes at one point

winged temple
#

However it works, thank u

modest rapids
#

How do I install placeholder API in Bungeecord?

warm topaz
#

papi doesnt support bungee

toxic harness
#

My placeholders in prisonranksX

#

is broken

#

and their is no download command tag me if you know what i need to do

slim tusk
#

Typing the command: /papi ecloud download LuckPerms for example, shows me that it doesn't exist? same with the others I tried, is something wrong? or is it just for me?

#

I do have a "closed ports" kind of system, unless I manually open 'em, maybe I need to open for downloads to work?

fervent spire
#

Try papi ecloud download Player Does that one work?

slim tusk
#

"failed to find an expansion named: Player"

fervent spire
#

Then yeah, it's probably due to the closed ports

slim tusk
#

VotingPlugin and few others had trouble with all of my ports being closed, so I just opened the correct ones, but I don't know which ones to open 😄

#

it shows that there are 0 expansions available on the ecloud lol

hot zodiac
#

hey
IDK if I'm right here..
How can i create a placeholder name %IDENTIFIER_PLAYERNAME_VALUE%?
Someone told me i can't. But is it true?

brisk coral
#

Create as in for your own plugin?

hot zodiac
#

Yes

brisk coral
#

Then yes it's possible

hot zodiac
#

Can you tell me how? :D

brisk coral
#

Lemme get you the wiki link, sec

#

Then you split your identifier and check for the proper values

hot zodiac
#

Thank you! I think i got my problem :D
Nah i didn't

hot zodiac
#

I registered PlaceholderAPInew PlaceholderAPIExpansion(this, dataProvider).register();
and for example i used

    public String onPlaceholderRequest(Player player, @NotNull String params) {
        if (params.equals("test")) {
            return "true";
        }
    }

So why it doesn't work?

warm topaz
#

u can change the text in placeholderapi config

near wolf
#

hey guys

mental night
#

hia

near wolf
#

i put in the placeholder for my featherboard to show playtime

#

but it doesnt work

turbid tide
#

{placeholderapi_<placeholder>}

#

this is how you use PAPI placeholders in FB

near wolf
#

yes i did this sir

turbid tide
#

can you show me?

near wolf
#

{placeholderapi_statistic_hours_played}

turbid tide
#

ok

#

/papi parse me %statistic_hours_played%

near wolf
#

also i download the ingame command

turbid tide
#

execute this command

#

and tell me what does it say

near wolf
#

oki

#

it says Dowritos today at 15:29

#

49*

turbid tide
#

what?

near wolf
#

i cant send screenshot for some reason here

tender vaporBOT
#

@near wolf,

turbid tide
#

^

near wolf
turbid tide
#

what the hell

#

/papi parse me %statistic_hours_played% returns that?

near wolf
#

yea

turbid tide
#

ugh it should have just returned an integer

near wolf
#

now only 13

turbid tide
#

oh

#

13 is good

near wolf
turbid tide
#

yep it works

#

ok make sure you have the latest version of FB

#

and also latest of MVdWPlaceholderAPI

near wolf
#

oh it works now i forgot to add the {placeholderapi}

#

or it didnt save

#

thanks

turbid tide
#

no problem

ocean edge
#

Hello, can i get player amount without vanished player using PAPI?

#

I dont have any idea how to get that data

mental night
#

their is currently no placeholder for that at this current time

#

unless you used a external plugin like PremiumVanish

ocean edge
#

ah no 😦

#

is there no other way how to get that data?

mental night
#

not from what im aware of

ocean edge
#

i tried using playerList using perm, but no luck. i can't get it

#

ah okay then. thank you

past lily
#

Does anyone have an example of a JavaScript placeholder where if the placeholder is empty, it return says...non? I seen an example a few month back, but can't seem to find it again

turbid tide
#
function main() {
  return "%placeholder%" == "" ? "non" : "%placeholder%"
}
main()```
#

here ya go

past lily
#

Thanks!

#

Hmm. Doesn't appear to be working

function clanname() {
    return "%clantagprovider_clanname%" == "" ? "None" : "%clantagprovider_clanname%"
  }
  clanname()
#

/papi parse ShadowChild %clanname% just returns %clanname%

turbid tide
#

u sure you got the latest version of Javascript?

#

oh wait

#

nvm

#

you're using it wrong

#

/papi parse me %javascript_JSNAME%

#

you need to declare it in javascript_placeholders.yml

#

like this : yaml JSNAME: file: FILENAME.JS

mental night
#

pogger

turbid tide
#

lagger

near wolf
#

hi

#

can i ask here for deluxemenus?

#

or is it other channel

warm topaz
near wolf
#

ty

celest fern
#

Hello... im doing something wrong in Deluxe Menus

#

i have this

  'lobby':
    material: BEACON
    slot: 22
    display_name: 'Lobby'
    update: true
    lore:
          - '&7Online: &a%pinger_players_127.0.0.1:25570%'

and in the game show this

Online: %pinger_players_127.0.0.1:25570%

what I can be doing wrong?

mental night
#

/papi ecloud download pinger
/papi reload

celest fern
#

thx you Sellinq is solved

mental night
#

np

rigid tree
#

idk why

#

just updated my server to 1.16.4

mental night
#

@rare lily

rigid tree
#

and then it gave that error

mental night
#

well thats probably why

#

...

#

1.16.4 is barely working with any previous plugins due to the NMS changes

sharp jay
#

^

mental night
#

I'd recommend going back down to 1.16.3 atm

rigid tree
#

does PAPI not work with 1.16.4 properly?

thorny nova
#

how to use boolean IF function in placeholder api?

#

using the math placeholder, is it possible?

mental night
#

boot barely any plugins do

#

i just said

rigid tree
#

oh

#

everything seems to work. i am too tired to revert everything back right now, if there's issues then i will revert

#

it's a private server for only a few people, so it doesn't matter too much

#

it's only probably putting out that message due to some thing in a plugin i am not using.

mental night
#

its something to do with thiens expansion

turbid tide
#

how to use boolean IF function in placeholder api?
@thorny nova javascript placeholders most likely. If I got your question right

thorny nova
#

uhmmm i figured it out it's %math_IF(condition,value_if_true,value_if_false)%

turbid tide
#

wait what?

thorny nova
#

my next question is, is it possible to use stiring as value_if_true and value_if_false? Cause i keep getting errors

turbid tide
#

math has an if condition?

thorny nova
#

yeah

turbid tide
#

I'm pretty sure you can't. For this stuff you'll certainly need to use the javascript expansion.

thorny nova
#

how?

#

i can return numbers just fine but if I can return string also that would be great

turbid tide
#

well I mean math = numbers. idk about that.

thorny nova
#

ok ill wait for someone who's certain

turbid tide
#

but if you want more advanced stuff, being able to do a lot of things using javascript then this is what you need

thorny nova
#

interesting, i'll look into it. Tysm

thorny nova
#

Hmm seems conplicated

#

What I really want to achieve is for it to return a color code when a placeholder reaches a certain amount for example

%math_IF({money}>1000, &a, &c% {money}

If money if more than 1000 it would return their money with green color and if false it would return it as red.

turbid tide
#

I mean the javascript would literally be this var money = parseInt("%vault_eco_balance_fixed") if (money > 1000) "&a" else "&c"

thorny nova
#

oh ok thanks

#

how would i use that as a placeholder

#

?

turbid tide
#

here you can learn how to create a js placeholder

#

in the first place

thorny nova
#

tysm it works

turbid tide
#

you're welcome

warm ingot
#

does placeholder have any dev builds for 1.16.4 servers ?

turbid tide
#

yes sir.

#

here ya go

warm ingot
#

tyvm

thorny nova
#

How to do else if in javascript?

turbid tide
#
if (something) {

} else if (something else) {

} ```
thorny nova
#

For example
If (value = 1) "hi"
If (value = 2) "hello"
If (value = 3) "how are you"

#

Oh ok thanks

turbid tide
#

or that but for that you're better of using switch

thorny nova
#

Switch?

turbid tide
#
switch (value) {
  case 1:
    "hi"
  case 2:
    "hello"
  case 3:
    "how are you"
}```
thorny nova
#

Value will be place holder right?

turbid tide
#

ye whatever you want to compare

thorny nova
#

Thanks

#

Im have zero knowledge in javascript thank you so much for helping me.

turbid tide
#

btw you need to make sure the value is parsed as an integer if you want to compare it with integers

#
switch (parseInt("%placeholder%")) {
  case 1:
    "hi"
  case 2:
    "hello"
  case 3:
    "how are you"
}```
#

like this

#

otherwise use it like this : js switch ("%placeholder%") { case "1": "hi" case "2": "hello" case "3": "how are you" }

thorny nova
#

Oh ok thanks

thorny nova
#

uhmmm it seems that it doesn't work

turbid tide
#

how you using it? may I see

thorny nova
#

can i dm?

turbid tide
#

I've closed my DMs I'm afraid. use a pasting service like paste.helpch.at to send the code

thorny nova
#

ok

#

im using it here

#

and i want to call it as a placeholder here

turbid tide
#

hmm and what happens if you do /papi parse me %javascript_switch% ?

thorny nova
#

returns blank

#

but it isnt supposed to

turbid tide
#

what version of javascript are you using?

#

the expansion I mean

thorny nova
#

how to see?

turbid tide
#

/papi info Javascript I think will tell you

#

or maybe /papi ecloud info Javascript

thorny nova
#

1.6.0

turbid tide
#

hmm that's the latest

#

try doing /papi ecloud download JAVASCRIPT /papi reload

#

just in case

thorny nova
#

ok]

turbid tide
#

also /papi parse me %rankup_money% what does it return?

thorny nova
#

returns 1000

turbid tide
#

wait

#

but you want it to show "getting an upgrade if you have > 1000 or exactly 1000 ?

#

etc.

thorny nova
#

exactly

#

exactly 1000

turbid tide
#

hmm

mental night
#

damn we going down in price

#

i bet 300!

turbid tide
#

this is a weird one

#

hmm

thorny nova
#

yeah

#

or did i miss spacing?

turbid tide
#

try like this maybe var money = "%rankup_money%" if (money == "1000") "Getting an Upgrade" if (money == "2000") "Sweet Dreams"

#

just a lot of Ifs

thorny nova
#

ok thanks again

turbid tide
#

well we need to see if it works in the first place

#

then you can thank me xD

thorny nova
#

I found the problem XD and I learn something from this

try like this maybe var money = "%rankup_money%" if (money == "1000") "Getting an Upgrade" if (money == "2000") "Sweet Dreams"

turbid tide
#

huh?

thorny nova
#

= and == is not the same

turbid tide
#

oh yeah it definitely isn't the same

#

= is value assignment and == is comparation

thorny nova
#

anyways thank you so much im learning

#

= is value assignment and == is comparation
i see XD

turbid tide
#

oh didn't even see the second placeholder xD

#

I just assumed the first one is broken

thorny nova
#

works perfectly now
i'll continue using the multiple If's
Again tysm

turbid tide
#

👍

hushed sinew
#

Hey guys, so I was wondering if papi v 2.10.6 is the only version that will work on 1.8.8?

mint fable
#

I think latest should work on anything from 1.7-1.16

hushed sinew
#

I have a weird issue with 2.10.7+ where when I try to add new expansions it just doesn’t work, when I add them and I do /papi ecloud list, the list just gets smaller and the reload doesn’t work and I get a null error in console

rare lily
#

Show that error

hushed sinew
turbid tide
#

Go to plugins/Papi/expansions and delete the EzRanksPro expansion then restart

#

@hushed sinew

silver minnow
#

=version

tender vaporBOT
silver minnow
#

._.

turbid tide
#

oh this needs updated

silver minnow
#

yep

turbid tide
#

updating it rn

silver minnow
#

k

turbid tide
#

updated. I think a Trusted needs to update it tho.

quiet hill
#

How can I upload Placeholders into ecloud as Registration page is locked?

quiet hill
#

How much does it cost to put your plugin on ecloud?

junior musk
#

it's free

quiet hill
#

Registration is currently locked. If you feel it is necessary to create an account, please join our discord and get in touch with us.

junior musk
#

it doesn't mean it's paid

#

you just have to wait for an admin to come here and allow you to create an account

quiet hill
#

Okay

lavish sail
#

For the "Statistic" placeholder (/papi ecloud download Statistic) is it possible to get a players specific value of a statistic? I only see "%statistic_mine_block%" for an example and was wondering if I could do something like "%player_statistic_mine_block%" to get the value of a specific player?

junior musk
#

you can use the ParseOther expansion
/papi ecloud download ParseOther
/papi reload

#

%parseother_{playername}_{statistic_mine_block}%

#

you need to keep the {}

silver minnow
#

plugins usually have an option to parse the placeholder as a specific player... but ig that works too

junior musk
#

/papi parse <player> %placeholder%
yeah

#

but if you want to parse it in a text and not just using the command, ParseOther is the way to go

lavish sail
#

Thank you much! I will test it out 🙂

turbid tide
#

Okay
@quiet hill I recommend you just make the expansion inside your plugin. Its many times better. But if you rly want it to be external then message FunnyCube about it. He'll help you out.

quiet hill
#

@quiet hill I recommend you just make the expansion inside your plugin. Its many times better. But if you rly want it to be external then message FunnyCube about it. He'll help you out.
@turbid tide I have already did that and get in console: ```[18:01:00 INFO]: [PlaceholderAPI] Successfully registered expansion: admingui
[18:01:00 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[18:01:00 INFO]: No expansions were registered!

turbid tide
#

if its inside the plugin then it won't be listed there

silver minnow
#

Make sure to test the placeholders 🙂

turbid tide
#

so if it works then it should be fine

#

it only says it registered them if its an external expansion I'm pretty sure.

quiet hill
#

okay thanks

turbid tide
#

well even if you put the expansion to the ecloud

#

the placeholders won't be posted there

#

you have to put them there. you can open a PR

violet yoke
quiet hill
#

so you can't know which placeholders you can use thru plugin?

#

for example something like /papi available placeholders

turbid tide
#

I mean you can list the placeholders on your spigot page if you want

#

manually

violet yoke
#

Blitz can u see my code?

quiet hill
#

okay thanks

turbid tide
violet yoke
#

okay

lavish sail
#

Sorry to bother you guys again! But I can't find the statistic for mob kills? Is there a reason for that or? (/papi ecloud download Statistic)

turbid tide
#

%statistic_entity_killed_by:<mob>,<mob2>%

lavish sail
#

Isn't there one for just all mobs? 🙂

turbid tide
#

nope

#

you have to list them all in this one

#

%statistic_entity_killed_by:zombie,skeleton,etc.%

#

like this

lavish sail
#

Wait!

#

This placeholder works for everyone else who has the same problem as me %statistic_mob_kills%. I don't know why it is not listed

turbid tide
#

ugh didn't even know it existed

#

or if I did I just didn't pay attention to it

lavish sail
#

No worries 😄 Now you do

turbid tide
#

I'll add it to the wiki

#

you're 100% sure it works tho?

#

bcz I can't test it rn

#

oh yeah seems to be a thing

lavish sail
#

It works 100%

turbid tide
#

ye tested it myself. Got someone to help me. and it works

thorn vault
#

Hello, Im getting this error on shutdown of my server

turbid tide
#

seems like the expansion ultimatestatistics

#

doesn't have the getAuthor method or something like that

thorn vault
#

ok thanks ill go talk to the ustats guys about it

lavish sail
#

Can anyone tell me why this does not work: [%parseother_{%ph_{player_name}%}_{statistic_player_kills}%]

turbid tide
#

ugh I think the problem is that you have %% inside %%

#

and that will break stuff

lavish sail
#

is there a way around that?

turbid tide
#

well I assume you could probably use javascript.

#

but I wonder why this %ph_{player_name}% ?

#

what does ph_player return?

lavish sail
#

It's for DeathMessagesPrime, so basically the player that dies

turbid tide
#

but. like. I don't get it

#

%ph_player% returns another player?

#

or what?

lavish sail
#

So, I have a plugin where I can edit death messages and I want so after the players name it will show how many kills the player has

turbid tide
#

but what does that placeholder return?

#

anyways. You can probably do all that with javascript

#

%parseother_{javascript_player}_{statistic_player_kills}%

#

and in your player javascript you'll parse the placeholder

lavish sail
#

So like how would I set it up

turbid tide
#

and I'll make the code for you and send it in a minute

#
function main() {
  var player = "%player_name%"
  var newPlayer = "%ph_" + player + "%"
  return PlaceholderAPI.static.setPlaceholders(BukkitPlayer, newPlayer)
}``` I think this is the code. I'm not 100% sure it will work but it should
lavish sail
#

wow thanks, will test it out in a bit

timber current
#

Hi, is there any way to use placeholders in command blocks?

turbid tide
#

Don't think so

upbeat summit
#

anyone can guide me on how to place npc with placeholder so the top player will auto switch npc?

bright fjord
turbid tide
#

seems like the ShieldExpansion doesn't have a getAuthor method

bright fjord
#

how do I fix it?

turbid tide
#

you ask the dev of SE to fix it

orchid zenith
#

can command blocks make and modify custom placeholders?

orchid zenith
#

@ me if you're responding

turbid tide
#

@orchid zenith not possible

lone minnow
#

Having trouble with my api, keeps disabling my deluxechat and not registering the placeholders, when I remove placeholders and reload the files the same placeholders come up which are deleted and unregistered

#

think it's my prison core extension, could this be the problem that it could be the cause to breaking all the placeholders?

dull brook
#

how to set lower again

#

in placeholderapi config

#

bungee:
check_interval: 1

#

because it's 1 second

#

I want instantaneous

high star
#

Needless to say, that isn't going to be possible due to the amount of lag that can cause

twin sluice
#

On javascript is there anyway to make ```// create a variable and name it wantever you want like this
// and use the placeholder you want, i'm using this one
var haspermission = "%player_has_permission_test%";

// create a function with the name you want
function permission() {

if (haspermission === "True") {
sendCmd "lp user %player% permission set test";
}
}
// by this we are calling the function to run
permission();``` How can I make this make sense on javascript?

austere hawk
#

Hello, are there any placeholders for Waterfall? (Bungeecords does not work)

twin sluice
#

Did you try %waterfall_total% ?

austere hawk
#

Oh I will try, thanks for tip

#

I can not find any on internet

#

Can you please send me link?

junior musk
#

%bungee_total%

austere hawk
#

bungeecords placeholders dont work for me

twin sluice
junior musk
#

make sure you execute the commands the bot specified

twin sluice
junior musk
#

what's the problem?

twin sluice
#

I am quite sure "sendCmd" is not a variable on js!

mint fable
#

Where did that come from?

junior musk
#

BukkitServer.dispatchCommand(BukkitPlayer, "cmd")

twin sluice
#

Where did that come from?
@mint fable My head xD

mint fable
#

Ah that makes sense

twin sluice
#

It was just to explain what I wanted to do

mint fable
#

Ic

twin sluice
#
// and use the placeholder you want, i'm using this one
var haspermission = "%player_has_permission_test%";

// create a function with the name you want
function permission() {

   if (haspermission === "True") {
       BukkitServer.dispatchCommand(BukkitPlayer, "lp user %player% permission set test");
   }
}
// by this we are calling the function to run
permission();``` Is this right now?
junior musk
#

should be I guess

twin sluice
#

Ok, Thank you

austere hawk
#

Hey guys

#

I have Waterfall and BungeeCords placeholders just does not work..

abstract linden
#

Hey I'm having problems downloading the lastest factions placeholder

#
[15:45:35 ERROR]: [me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] com/massivecraft/factions/RelationParticipator```
#

No idea why it isn't working

#
[15:52:40 INFO]: [me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] Placeholder expansion registration initializing...
[15:52:40 INFO]: [me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] Fetching available expansion information...
[15:52:40 INFO]: [me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] Successfully registered expansion: mvdw
[15:52:40 INFO]: [me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] Successfully registered expansion: bungee
[15:52:40 ERROR]: [me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] expansion class MCoreFactionsExpansion is outdated: 
Failed to load due to a [NoClassDefFoundError], attempted to use com/massivecraft/factions/RelationParticipator
[15:52:40 INFO]: [me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] Successfully registered expansion: vault
[15:52:40 INFO]: [me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] Successfully registered expansion: player
[15:52:40 ERROR]: [me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] expansion class MCoreFactionsExpansion is outdated: 
Failed to load due to a [NoClassDefFoundError], attempted to use com/massivecraft/factions/RelationParticipator```
#

@idle coral or @sharp jay know why?

tender vaporBOT
#

@abstract linden,

#

@abstract linden,

brisk coral
#

Damn man, just handing out the pings

abstract linden
#

Well no one would respond if I didn't sooooo.....

brisk coral
#

They would, now that you have pinged noone will

abstract linden
#

Just like the guy above me right? He totally got a response 👍

brisk coral
#

Well we're volunteers here, so either you get a response or you don't, depends if we have time

abstract linden
#

And that's why I pinged two people not everybody

brisk coral
#

And as the stack trace says, it's an issue with MCoreFactionsExpansion as it's using a deprecated hook.

#

So find the author of the expansion and tell him to update his shit

abstract linden
#

👍

near wolf
#

=deluxetags

#

oh

#

xd

#

oi where can i download deluxetags for 1.16

turbid tide
#

the one on spigot works but if you want the beta versions then in #general-plugins

#

there is a pinned

#

beta build

near wolf
#

oki thx ill try to find it

#

do u maybe have a link :3

turbid tide
light comet
#

hmm is autoranks expansion borked again?

shrewd verge
#

PlaceholderAPI makes problems with my MultiChat Plugin:

fervent spire
#

What problems?

shrewd verge
#

uhm, wanted to post a screen but i have no permission

#

and there is a problem with links too >.<

fervent spire
#

Use Imgur

shrewd verge
#

k wait

#

so the text transfered from one to another server has one space between the nick and the text

#

when i disable placeholderapi the space is gone

#

on the same server the text is normal

#

but when i go to a diffrent server in bungee the other person gets this space before the message

#

i need both plugins, but that little space makes me crazy xD

#

hm

#

silence?

fervent spire
#

Then edit your chat plugin(s)

shrewd verge
#

there is no way to get off that space, only with disabling placeholderapi

#

so when i go to multichat discord they would say "talk to the guys of placeholderapi" >.<

toxic harness
#
[06:15:40 WARN]: [PlaceholderAPI] plotsquared is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
#

How do i get plotsquared placeholders

mild gale
toxic harness
#

I put the placeholders their

#

and it still doesnt wokr

#

I followed that and the placeholders are still dead

#

even did a restart

shrewd verge
#

😦

mild gale
#
[06:15:40 WARN]: [PlaceholderAPI] plotsquared is attempting to register placeholders via a PlaceholderHook class which is no longer supported!

@toxic harness you using PlaceholderAPI or PlaceholderHook?

#

and where do you want to place your plotsquared placeholder?

toxic harness
#

placeholderapi

#

it goes in tab scoreboard

#
BuycraftX, ClearLag, CommandSpy*, ConsoleSpamFix, CoreProtect, CustomJoinMessages*, DiscordSRV, Essentials, EssentialsGeoIP, EssentialsProtect, EssentialsSpawn,  (WorldEdit)FastAsyncWorldEdit, HolographicDisplays, IllegalStack, IPWhitelist*, LiteBans, LuckPerms, LuckPermsChat, MinigameMaker, Multiverse-Core, NamelessMC*, OpenInv, PlaceholderAPI, Playtimes*, PlotSquared, PluginManager*, PremiumVanish, ProtocolLib, Spartan, SSX-Connector*, SuperbVote, TAB, TigerReports*, TigerReportsSupports*, UltimateStatistics, Vault, ViaBackwards, ViaRewind, ViaVersion, Votifier, WorldGuard

That is the plugin list

#

tag me if you have a answer thanks

zealous vale
#

what's the placeholder for the total advancement completed by a player?

warm topaz
#

maybe statistic expansion

shrewd verge
#

still searching for help 😦

meager nymph
#

for ?

junior musk
#

send your chat format Ikuria

upbeat yew
#

Hello, I'm searching for BedWarsRel placeholder-api expansion, does anybody know if there is a free plugin for bedwars that support placeholderapi or have an expansion? I have a gui for bedwars and i want arena states like (INGAME, STARTING etc.) Please help me...

#

Or can anyone develop this expansion?

#

I'm bad at Java development

mint tinsel
#

is there a 1.16.4 placeholder api?

turbid tide
#

Its still one of the best out there tho.

upbeat yew
#

I don't have much money for that @turbid tide :/

#

But thanks for your respond

brisk coral
#

Why can you only get it with BTC lol

turbid tide
#

Well the paymants are offline. Idk why. Either he just doesn't want to sell plugins that don't get updates or he got banned by PayPal as well just doesn't want to say it

meager nymph
#

this one is also fine

turbid tide
#

ye but he said he can't afford premium plugins.

meager nymph
#

oh yea bruv

turbid tide
#

any free ones I can find are either outdated or no support for PAPI and no placeholders

#

and seems like the premium ones don't have PAPI support either

shrewd verge
#

there is no placeholderAPI in it

#

but i still got that problems with multichat

#

one dumb space between the message and the name

light comet
#

anyone have the link to the updated autorank expansion?

mental night
#

if its updated it will be updated on the ecloud list

light comet
#

Not necessarily.

#

There was a file floating around but i cant seem to find it

mental night
#

🤷‍♂️ guess it shant be found

light comet
#

ok.

limber ice
#

I heard there as a update to autorank expansion?

limber ice
#

I found a pull request from DeathRealms, will that update the expansion?

uncut axle
#

%javascript_{statistic_mine_block:STONE}>=36%

Is that how you use the JS placeholder?

rare lily
#

No

uncut axle
#

Refers to a file doesn't it

formal spruce
#

Hello i get this error every time PlaceholderAPI starts

#

[13:05:12 ERROR]: [PlaceholderAPI] expansion class PlaceHolderHook is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use me.foundfile.worlds.Main

rare lily
#

I don't think that's enough info

#

Also, it could be the expansion that needs to be updated

formal spruce
#

ill check

#

still

#

i manual downloaded it and still the error exists

limber ice
#

I was wondering why the latest version Autorank expansion is not available on ecloud?

#

Also Statz, mcMMO and Bungee are in gold when I run list installed

meager nymph
#

download from ecloud

limber ice
#

Cosy you talking to me?

meager nymph
#

yea]

limber ice
#

I got latest Autorank expansion from github, I downloaded it via github desktop and complied it

#

when you use /papi ecloud download autorank it gives you the 1.1.0 version not 1.1.1

meager nymph
#

download it manualy

limber ice
#

which one? I have the latest Autorank, and Statz but they are in gold

meager nymph
#

cuz you downloaded it from git

limber ice
#

Statz is from ecloud and it is still gold

meager nymph
#

yea

#

you downloaded it manually

#

right

#

it's not the same version as the command

limber ice
#

no I used the commands

meager nymph
#

oh

limber ice
#

I downloaded AR manually

meager nymph
#

why botherd then ?

#

if it work, it works right

#

it's the same thing with bungeecord expansion

limber ice
#

cause things say I need to update the it is updated

#

I discovered Dchat is not working

meager nymph
#

statz is by you

limber ice
#

yes thats why I want things to work right for Statz

meager nymph
#

I'm not sure why it's gold

#

what papi version do you have

limber ice
#

it works fine even if it's gold, just papi reload on 1.16 breaks the list feature

meager nymph
#

aah

south briar
#

Dev of UltraPermissions passed away, his wiki is now gone for some reason. Bought the plugin the day he passed (Didn't know it) and now I am just doing random stuff to set it up.. No clue. Anyways I need to link it with DeluxeChat and thought it needed PAPI but can't find any expansions

high star
#

%vault_prefix%

#

(Vault's an API plugin to basically provide a common way of accessing prefixes, economy, and perms, regardless of the plugin that provides each of those. UPerms should support it.)

austere hawk
#

Hello there! I want to make custom placeholders with skript, (ersatz plugin), but if i download skript expansion with /papi ecloud download Skript, it downloads, but if i type /papi list, it doesn't show skript expansion. (Sorry for my english.)

turbid tide
#

did you do /papi reload

#

?

near wolf
#

hi

#

what is the placeholder for color

turbid tide
#

color?

#

what color exactly ?

near wolf
#

Well, im using UltimateChat and when i do so, the suffix colors dont show, its just plain White

turbid tide
#

unless you can use this one %uchat_placeholder_<uchat placeholder name>% - Get any of placeholders from uchat;

near wolf
#

yeah i have searched there

turbid tide
#

well if its not on their wiki believe me its not here either.

near wolf
#

their discord server is dead :/

turbid tide
tranquil sapphire
#

Is there a way I can work out the KD of players using the math placeholder?

#

Using %statistic_player_kills% and %statistic_deaths%

turbid tide
#

its just k/d

#

%math_[precision:0]{statistic_player_kills}/{statistic_deaths}%

tranquil sapphire
#

Wicked

#

I didnt do it in curly braces

#

ty

turbid tide
#

you can change the precision from 0 to 1,2,3 etc. depending on how many decimals you want to have

#

👍

tranquil sapphire
#

Lol doesnt work?

turbid tide
#

oh 1 second

#

ugh are you sure that /papi parse me %statistic_player_kills% and /papi parse me %statistic_deaths% work?

tranquil sapphire
#

They're working fine on the hologram

turbid tide
#

and if you do /papi parse me %math_[precision:0]{statistic_player_kills}/{statistic_deaths}%

tranquil sapphire
#

Says "the provided value was invalid! reason: Division undefined"

turbid tide
#

ugh maybe it doesn't let you divide 0 by 0

#

hmm

tranquil sapphire
#

Shall I get a kill and see?

turbid tide
#

try /papi parse me %math_[precision:0]{statistic_player_kills}+1%

#

do this first

#

just to make sure its not something else

tranquil sapphire
#

says 1

turbid tide
#

then yeah get a kill and maybe a death

tranquil sapphire
#

yea i got 1 death and its fixed it

#

So if the person doesnt have a kill or a death its going to display that?

turbid tide
#

yeah I guess so. I think you'll have to make a javascript to fix it.

eager panther
#

hey is this the correct PAPI /papi parse me %objective_score_ts_KillPhantom%

#

i use it and it doesn't change when i kill a phantom

#

it showed 0 but after a kill, the /papi parse command still showed 0

#

is %objective_score_ts_KillPhantom% a correct PAPI?

turbid tide
#

you can just use the statistic expansion

#

%statistic_kill_entity:<mob>%

eager panther
#

ok ty

languid cradle
#

Looks like on PAPI PlaceholderAPI.registerExpansion();
Was removeD?
Anybody know what the new method is?

turbid tide
#
    @Override
    public void onEnable(){
        // Small check to make sure that PlaceholderAPI is installed
        if(Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null){
              new SomeExpansion(this).register();
        }
    }```
#

the wiki

languid cradle
#

❤️

languid cradle
#

um

#

placeholder appears registered when I do papi info

#

but won't actually work

turbid tide
#

have you tried debugging?

#

maybe your code has some problems. idk. if you did then please go to #development , give them your class and tell them what the problem is please.

languid cradle
#

just about to try it

#

by returning placeholder value something else

#

oh yeah

sullen plank
#

Hello i am trying to get the guild name in front of the display minecraft name. i am trying this format in essentials format: '{%guilds_prefix%} <{DISPLAYNAME}> {MESSAGE}' but it aint working. i enabled it on the guild plugin. can some1 help me?

turbid tide
turbid tide
#

why?

#

he didn't link

limber ice
#

hes using ess chat

turbid tide
#

ye

#

with GUILDS

limber ice
#

is guild a pay plugin

turbid tide
#

ye

#

its Glare's plugin

limber ice
#

ok

limber ice
#

but it's not a guild issue, it's a ess chat setup issue

turbid tide
#

doesn't matter. but ok

#

we were asked to ask people to link when we see they use premium plugins

limber ice
#

I deleted my message, he most likely didn't' see it

turbid tide
#

dw about it. I just told you so you know for the future

elfin oak
#

For some reason placeholders arent working i have them installed but they aren't actually working like i cant get my essentials balance to show and i cannot get my luckperms to show up either

novel moss
#

What placeholders did you try?

#

And did you do /papi reload

pseudo pewter
#

Is there any way to parse a placeholder for everyone online your server?

#

Without specifying each individual username?

turbid tide
#

I don't think there is a way that's implemented in the plugin

pseudo pewter
#

Maybe with JavaScript expansion?

turbid tide
#

well its definitely possible to make it with java and probably with JS as well but yeah its not implemented directly in the plugin that's what I meant

pseudo pewter
#

Oh okay, thanks!

turbid tide
#

I mean its still going to be a bit more advanced stuff so if you don't know a bit of javascript and spigot api not going to be possible at all.

light comet
#

Question, does anyone know why %player_exp% returns a percentage to next level in the Player Expansion

turbid tide
#

I am pretty sure that is what it was meant to be. There is no placeholder that just returns xp. There is one for level of you want tho.

#

Yeah I know that it feels like it should be returning the xp amount but it's what the devs decided it will do

light comet
#

so theres no way to get your exact xp amount? @turbid tide

jovial root
#

Is there a working PlotSquared PAPI extension?

warm topaz
#

afaik the expansion is built in with v5

jovial root
#

Doing a parse right now and it isn't working

near wolf
#

hi guys

#

.... [11:26:05 ERROR]: [PlaceholderAPI] expansion class DSRVExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use github/scarsz/discordsrv/dependencies/google/common/collect/ImmutableMap

#

i did /papi ecloud download dsrv

#

but its still outdated?\

mental night
#

the author needs to update it

obsidian pasture
#
java.lang.NullPointerException: null
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.createExpansionInstance(LocalExpansionManager.java:343) ~[?:?]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:138) ~[?:?]
        at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ~[?:?]
        at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654) ~[?:?]
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
        at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
        at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:257) ~[?:?]
        at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:248) ~[?:?]
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
        at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:605) ~[?:?]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$2(LocalExpansionManager.java:288) ~[?:?]
        at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46) ~[?:?]
        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.4.jar:git-Purpur-828]
        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.4.jar:git-Purpur-828]
        at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1371) ~[patched_1.16.4.jar:git-Purpur-828]
        at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:387) ~[patched_1.16.4.jar:git-Purpur-828]```
#

I'm trying to download a placeholder expansion, but that error pops up

#

I'm using 1.16.4

mental night
#

yeh i dont think 1.16.4 is support by some of the expansions

#

I still wouldnt run 1.16.4 just yet

turbid tide
#

so theres no way to get your exact xp amount?
@light comet Nope. Not with the default PAPI expansions at least.

marble briar
narrow stump
#

Hey, this morning after restarting our server, almost every plugin we had gave this error in console, caused the screen to hang, and we had to kill the screen and restart it. (Using Tuinity on 1.16.3)
https://paste.helpch.at/kidehevoci.sql
It looks like others have reported similar errors previously on this discord but I wasn't able to find any answers about it. Any help is appreciated, thanks in advance (tag me if you respond)
Since it seems like the issues are related to deluxechat and townychat as well, we're on PAPI v2.10.9, townychat v0.72, and deluxechat v.1.16.1.

turbid tide
narrow stump
#

Okay, done.

turbid tide
#

hmm when have you purchased DChat if you don't mind asking?

narrow stump
#

The plugin isn’t owned by my spigot account; it’s under the server owner’s account

brisk coral
#

?notowner

tender vaporBOT
narrow stump
#

Alright, thanks for your time~

violet yoke
#

hi i have problem, papi not load player extensions, i need do /papi reload and them it work..

mellow urchin
#

Is it possible to create my own placeholder per server? I would like to give each server a unique name, and then display in a prefix from Luckperms. I think I can use Javascript, but is there an easier way?

balmy marten
#

%server_name%

#

Which is set in the papi config iirc

mellow urchin
#

Yeah, that is the Bungee name, but I'd like a different colorful name.

#

Spose I could just change the bungee name, but it will likely impact other plugins etc

#

Was looking for a general solution

balmy marten
#

Not sure what you mean by bungee name?

carmine veldt
#

%server_name% isn't the bungee name iirc

#

I thought it was the name set in server.properties

balmy marten
#

I thought it was set in papi cause we couldn't read that file anymore

mellow urchin
#

The name I have given the server in the Bunge config.. right?.. Wait there is a server name setting in the PAPI config

balmy marten
#

but could be wrong

carmine veldt
#

which shouldn't affect anything, I've actually never seen it used outside of that singular placeholder

#

o i didn't know it changed cube

balmy marten
#

Yeah think it did and broke some shiz

carmine veldt
#

well try that then fetxu

balmy marten
#

so we changed it to just be hardcoded in the papi config

mellow urchin
#

That didn't work

carmine veldt
#

the key is "server_name" btw

#

in the papi config

mellow urchin
#

Yeah, didn't change the %server_name%

carmine veldt
#

did you /papi reload?

mellow urchin
#

Yeah, lemme try again

#
  bungee:
    check_interval: 30
  player:
    ping_color:
      medium: '&e'
      high: '&a'
      low: '&c'
  server:
    tps_color:
      high: '&a'
      low: '&c'
      medium: '&e'
    server_name: TRIED THIS OUT FOR A TEST```
#

%servername% placeholder

carmine veldt
#

%server_name%, and that looks right to me

#

if a reload isn't working, try restarting

mellow urchin
#

Returns the name in the Bungee config and LP config

#

It could be LP is overriding it

carmine veldt
#

impossible

#

well not technically impossible just extremely improbable

fair elm
#

Could %otherplayer_hasperm_playername_perm_permstring% have compatibility for offline players?

fair elm
#

or the Luckperms placeholder?

frigid prairie
#

Is it possible to have a default value for a placeholder if it's empty? So for example if %rank_name% was empty it would replace it with "No Rank" or "None" or something?

Edit: found the javascript expansion, gonna use that

violet yoke
#

REPLY hi i have problem, papi not load player extensions, i need do /papi reload and them it work..

obsidian pasture
#

Got this error when trying to download placeholders

tender vaporBOT
obsidian pasture
#

already did that

#

like yesterday

#

the error above happens when I do /papi reload

#

not /papi ecloud download

#

so the jar is definitely there and my server allows connections. it just doesn't load the JAR

warm topaz
#

try seeing if the dev builds fixes it.

turbid tide
#

@mellow urchin you can always use javascript if that one doesn't work.

#

Is it possible to have a default value for a placeholder if it's empty? So for example if %rank_name% was empty it would replace it with "No Rank" or "None" or something?

Edit: found the javascript expansion, gonna use that
@frigid prairie there is also the defaultvalue expansion https://api.extendedclip.com/expansions/defaultvalue/ if you want something that does exactly that.

turbid tide
#

Could %otherplayer_hasperm_playername_perm_permstring% have compatibility for offline players?
@fair elm the expansion dev needs to add support for the OfflinePlayer. And I'm pretty sure you can't get permissions from OfflinePlayers.

#

tho I do think you can with LP.

mint fable
#

there are no plugins that I know of to let you access permissions of offline players

#

lp included

fair elm
#

you can acces with lp

#

I just tested

turbid tide
#

oh does it not allow that? I thought you could have accessed it with LP's api

mint fable
#

offline?

#

Maybe it's new

fair elm
#

/lp user <name> permission info works fine with offline players

mint fable
#

because I know it did not exist in the past as you'd have to make a call to the database every single time

#

that is not a placeholder fireFerry...

fair elm
#

I know

#

but you can check it with the command, but not the placeholder

mint fable
#

We're talking about placeholders though, right?

#

Unless I'm off track

turbid tide
#

ye he wants to do it with placeholders

fair elm
#

yeah, but I was just saying the command can access it but not the placeholder

mint fable
#

ya I don't think it'd be possible because you'd have to make a call to the database every time the placeholder is called

#

which could be many multiple times a second

turbid tide
#

that makes a lot of sense on why they didn't add it to the LP placeholder

#

xD

fair elm
#

well it's really sad though

#

I like actually need it for something xD

mint fable
#

yep, so unless there is a plugin out there that keeps all that info in memory (most likely not as that would be a waste of resources) it most likely won't be possible

#

Somebody could maybe add it, but they'd have to limit the amount of database calls it makes so it would only update every so often

fair elm
#

yeah

#

and there's no way I can make it myself xD

#

like making a placeholder myself to do it?

turbid tide
#

well not specifically you. he just said it would be possible to do it. its just not worth it I guess.

fair elm
#

well I'm pretty much screwed without it xD

turbid tide
#

welp I'm afraid if you want this to become a thing you'll have to ask a dev to make it for you and most likely no one will do it for free. and as cj said its not rly worth it. It just sounds like a lag machine.

fair elm
#

Well I don't want to use it continuously, I want to use it for a system to punish players

hardy sage
#

i know its going to be something simple i missed but when i change the config server_name it keeps changing back to A Minecraft Server anyone know what ive done wrong

turbid tide
#

you change it and then do /papi reload and it changes it back?

hardy sage
#

yep

turbid tide
#

did you save the config?

#

before doing /papi reload

hardy sage
#

yep ill try it again tho

#

im using notpad++ and it says that it was modified by another program and reverts back to default

turbid tide
#

oh lol. that's weird

hardy sage
#

could it be a bug not sure if it happened to someone else

turbid tide
#

I mean its something to do with notepad++. I remember this happened to me as well but don't remember why

hardy sage
#

i edited it with normal notepad still does the same thing

turbid tide
#

hmm

#

does it happen if you edit anything else?

#

or just the server name

hardy sage
#

its just the server name

#

thats so weird aswell

turbid tide
#

what server name are you trying to put?

hardy sage
#

&lTest&e&lCloud

#

ive got about 2 hours to fix it before my deadline

turbid tide
#

ok can I see the entire line?

#

like not just that one

#

not just the server name&

hardy sage
#

server_name: A Minecraft Server

turbid tide
#

try this server_name: '&lTest&e&lCloud'

hardy sage
#

it didnt have the ' around it by default so i didnt know it needed them that might need to be changed so people dont try for 20 min like i did

turbid tide
#

it works now?

#

the thing is its not needed

#

unless you use color codes

#

I forgot that.

#

like that's how the plugin generates it

#

its not put there by anyone else

hardy sage
#

the ' around the coloured text wasn't there when the plugin generated the file wish it did that by default thanks so much fix the issue

turbid tide
#

well yes. because by default the text doesn't have color codes. So the code sees the text and generates the line based on that

#

no problem. glad it works now

hardy sage
#

i never used this plugin before is so useful saves me alot of work in the long term

turbid tide
#

yes it does. Its one of the greatest free plugins out there.

#

also you should look into javascript placeholders. Very useful

#

if you want to create your own placeholders

hardy sage
#

is there a link to the info about it somewere?

turbid tide
#

yep there is a wiki give me 1 min

#

oh shit I'm in a game of CSGO rn and I forgot

#

getting the link rn xD

hardy sage
#

its fine @turbid tide when your free can i dm you about some questions and help with other stuff

turbid tide
#

I mean why DM? that's why there is this discord server.

#

but yeah as the name of the expansion says you need to know at least some basic javascript.

hardy sage
#

okay

turbid tide
violet yoke
#

anyone can help? i have problem, papi not load player extensions at start, i need do /papi reload and them it work..

hardy sage
#

is there a place holder that i can put my links as?

turbid tide
#

huh?

#

explain please. Didn't rly understand

#

@hardy sage

hardy sage
#

is there a placeholder that i can put my website and discord links in so i can just type the placeholder for them instead

turbid tide
#

you could use javascript but I don't think the link will be clickable tho.

#

but yeah javascript is the only one I think

#

I mean the code is pretty simple for something like this

#
var arg = args[0]
switch (arg) {
  case "discord":
    "Discord-Link-Here"
  case "website":
    "Website-Link-Here"
  case "vote":
    "Vote-Link-Here"
  case "youtube":
    "Youtube-Link-Here"
}```
#

I think this is all you need

turbid tide
#

this is a weird one. Never had it happen and never seen it here before: https://paste.helpch.at/xazepiqoni.apache I have PAPI on all my servers (not on proxy of course) and I have the Bungee expansion on all servers(again not on proxy xD). When I try parsing the placeholder from another server I get that error but when I parse it from the server I tried parsing it for it works. I do have to mention I have different versions of PAPI on each server. Can't rly upgrade rn bcz people are online but if its that I just need confirmation. If its not then I need help. xD

#

I have PAPI-2.10.6-CustomBuild on the one I try to parse the placeholder for and I have latest dev build (111) on the others.

#

custom build is just 2.10.6 but with small changes made by Gaby for data in files to be saved or something. I think it was fixed in the other versions tho I just forgot to update.

turbid tide
#

Ok so I updated PAPI - 111 on all servers, Latest bungee on all servers Bunge - 2.0 and my actual bungeecord version is bungeecord-1539 which is the latest one at the moment

#

I still get the error

#

so its nothing to do with PAPI version

brisk coral
#

Well I mean seems someone forgot to register the plugin channel or shit breaking before that's done

turbid tide
#

well I mean I assume people have tested the latest build already and doesn't seem like someone reported it before

#

and I don't get any other errors on server startup or anything like that. Fully restarted my servers and my bungee

brisk coral
#

Well I mean might just be the expansion cucked?

turbid tide
#

huh I guess. But 2.0 has been out for a while as well.

brisk coral
#

Bully cube for source if it ain't os and fix it reversed_fingerguns

turbid tide
#

ye since May I guess

#

ye. Did I mention I never worked with Bungee api?

brisk coral
#

Great time to learn

turbid tide
#

ye

#

when my time is limited as shit.

#

I have more time to learn

#

because that's how life works 😦

#

and also I don't even know if its bungee expansion since that has been out since may I think

#

oh wait

#

it spams me every 3 seconds

#

as well

#

since I update the bungee expansion every 3 second

#

(config.yml option)

#

yoooo are you fucking kidding me?

#

whever updated the expansion got me good

#

they fucking changed the jar name from expansion-bungee to expansion-Bungee

#

and I had 2 expansions in the expansion folder

#

the old one that I had before updating to 2.0

#

and the 2.0

#

one#

obsidian pasture
manic thicket
#

Hi. I'd like to add a placeholder to PAPI. How would I go about doing that?

fast gull
#

hi

#

eh

#

is this the place to get help about "title manager"? i jsut clicked "get support" on the plugin page

mental night
fast gull
#

oh ok sry i am new

#

i am just having issues with the place holders

mental night
#

Have you downloaded the expansions accordingly?

#

Which placeholders are you having issue with

fast gull
#

i reaD the plugin page and saw nothin about it. let me search again

#

I am having issue with "%combatlogx_status%"

#

every time someone attacks someone, the scoreboard will disappear

upbeat yew
#

Can I get %math% function without the zeros like I have: "Players online: %math_{server__online__world1}+{server__online__world2}%" will throw this: Players online: 0.000 | Can somebody help me please with that? I want to get players from more than 4 worlds etc. and I want to have it in One number, but without the dot and 3 zeros...

mental night
#

[precison:0] iirc

fast gull
#

huh

mental night
#

precision *

#

for the question above

fast gull
#

oh

#

so what about the scoreboard getting suddenly hidden for both players that are in combat

turbid tide
mental night
#

Sounds like combatlogx end if it’s disappearing upon combat

fast gull
#

yes but then the scoreboard doesn't come back. i also use Place holders API

#

I'll check console for Info

#

nothing

mental night
#

Still sounds like combatlogx end placeholderapi wouldn’t / shouldn’t make your scoreboard disappear it’s probably the way combatlogx does it’s placeholders not really sure as never really used it myself

fast gull
#

Idk which plugin causes it. because it's 3 plugins that makes it possible.
place holders API
title manager
combatlog X

#

I'll check. maybe ill make a post on the forums if it won't work

mental night
#

Just to inform you there is a specific support discord for combatlogx

#

I can message you it if you’d like

upbeat yew
#

Hello, can I get %math% function without the zeros like I have: "Players online: %math_{serveronlineworld1}+{serveronlineworld2}%" will throw this: Players online: 0.000 | Can somebody help me please with that? I want to get players from more than 4 worlds etc. and I want to have it in One number, but without the dot and 3 zeros...

#

It's possible to change the plugin Inside please?

#

(expansion)

turbid tide
#

no need to change the plugin inside. Sellinq told you to use precision

#

%math_[precision:0]{serveronlineworld1}+{serveronlineworld2}%

#

like this ^

upbeat yew
#

Oh sorry, I thought it was for another person

turbid tide
#

just add this block inside the placeholder [precision:0]

#

no worries.

#

but yeah no need to change the plugin

upbeat yew
#

Okay, I will try it

turbid tide
#

there's a function inisde the placeholder already

upbeat yew
#

Yeah, it's working, thank you very much!

turbid tide
#

👍

gloomy crater
#

how exactly does the scoreboard objective placeholder work. I cant seem to parse the scores of a certain objective

astral solstice
#

hi i have downloaded mysql expansion how i start

#

which datas i must set in the config to connect to database

dense trail
#

Is there a plcaeholder for unique player joins?

warm topaz
#

server expansion

#

%server_unique_joins%

dense trail
#

You're amazing 🙂

warm topaz
#

👍

astral solstice
#

hmm no answer ?

#

how to connect to my database ?

warm topaz
#

probably in the config?

astral solstice
#

i have in there premade things

#

can i delete all and make a new one ?

#

money:
host: localhost
port: '3306'
database: minecraft
username: root
password: password
query: SELECT name FROM bedwars WHERE wins = 3

#

i have make this example

#

but when in game use placeholder %mysql_money%

#

it does nothing

#

money is only a example later i will make a toplist

mental night
#

@dense trail Novice

dense trail
#

@mental night xoxoxoxoxoxo

astral solstice
#

Help Chat 😄

vivid sparrow
#

try to limit the result to 1 value @astral solstice

#
SELECT name FROM `bedwars` LIMIT 1 WHERE wins = 3```
hardy sage
#

@turbid tide thanks for the help on the custom placeholders i used the basic one as i was confused by the example you gave it works well tho 🙂

tender vaporBOT
#

@hardy sage,

haughty hare
#

What's the placeholder API to grab a vanilla team colour? I found the list on the wiki very confusing

haughty hare
#

Found it

terse sapphire
#

hello the placeholder for Autorank doesnt seem to be working

#

Failed to Register Expansion from Expansion-autorank.jar

#

and also from DiscordSRV.jar

silent basin
#

Placeholders not working on my scoreboard, it just shows up %autorank_total_time_of_player%

terse sapphire
#

@silent basin which scoreboard are you using?

terse sapphire
#

when i do /papi reload it says : No expansions were registered

severe sky
#

Hello

#

@staff

meager shoal
#

Like these people, my autorank placeholder isn't working for my scoreboard. Even with the ecloud downloading command, it will not register. I've also physically placed the JAR into the folder and it still didnt work

turbid tide
#

Ye the autorank expansion is broken. They use an old method. I remember there being an updated one but I can't find a link

warm topaz
#

deathrealms github

#

he has a fork for it and i believe a release tag in his fork repo

#

@terse sapphire discordsrv expansion will also need updating by the developer

turbid tide
meager shoal
#

thank you 🙂 appreciate it

warm topaz
#

@mossy helm can u try the papi dev build please. there was issues similar with the time so it might fix it. also make sure ur on latest statistic expansion

turbid tide
#

latest dev means build 111?

warm topaz
#

wait so like the placeholder is saying 1 hour for example while the mc statistics are saying 3 hours? (just example)

#

wierd

#

not sure tbh

turbid tide
#

I'm telling you I trust the statistic expansion more than the LPR plugin

manic thicket
rare lily
#

No, you don't need to extend that if it is separate

#

However, add spigot dependency if you want separate

gilded needle
#

Hello I need help with LocalTime PlaceholderAPI. I am in Europe/Bratislava and we have 13:16 . I added this placeholder %localtime_timezone_440,dd.MM HH:mm:ss% but it is showing one hour less (12:16) Some ideas how to fix?

brisk coral
#

It uses the servers timezone

gilded needle
#

Oh 😄

#

thanks

turbid tide
#

it shouldn't tho

#

since he uses a custom timezone

#

I'm pretty sure the placeholder is broken

#

I've had the same problem

brisk coral
#

"localtime tomezone" :what:

turbid tide
#

any timezone I'd use it'd just show my timezone

brisk coral
#

Do y'll just suck at naming shit then?

turbid tide
#

aboody is at fault I think

#

well actually nvm

#

I think I recommended the name xD

#

but yeah you can use localtime as in server time

#

or you can specify a timezone

#

but its broken

meager nymph
#

%vault_eco_top_player_1%

#

have you installed the expansion ?

#

do /baltop

#

and send screenshot

#

%vault_eco_top_balance_formatted_1%

#

try this

#

weird

#

%vault_eco_top_balance_commas_1%

#

I have this and it works fine

#

what 0

#

what are you trying to return

#

the number or the player

#

%vault_eco_balance%

#

what doen this return

#

does it return pog ...

#

%vault_eco_top_balance_1%

#

any console messages ?

#

reload your whole server

#

maybe it doesnt work for 1 person

#

try a alt

#

on the same server

indigo anchor
#

Hello i have problem, when im using %statistic_mine_block% or other placeholders, when im example break the block, it will not add 1 but 2, do someone know how to fix it?

obsidian pasture
#

I have a /statsof (player) command using the ParseOther placeholder to basically show the stats of the specified player. However, the ParseOther placeholder doesn't work when the player is offline. Is there a way around this?

indigo anchor
#

Hello i have problem, when im using %statistic_mine_block% or other placeholders, when im example break the block, it will not add 1 but 2, do someone know how to fix it?
@indigo anchor the %statistic_jump% for example works fine, idk why

ancient solar
#

Hi! Im looking for support w one placeholder
My idea is to show a message in case that one server is offline, and if online to Tp.
Tried using %pinger_isonline_(my server ip)%
And MyCMD script is $Script$%if%$pinger_gameversion_testplugins.com:25565=="Online"

#

But isnt working.. Any other idea?

upbeat yew
#

I need help with Math placeholder please, how to make it automatically update? When players join some worlds, the number still showing 0, but when I add this placeholder manually, It will show 3 players...

#

Bcs, there are 3 players in the world...

high star
#

Updating placeholders is the responisiblity of wherever you've put the placeholder

upbeat yew
#

But I don't want to update it manually

mental night
#

Have you got a update interval

#

or anything

upbeat yew
#

There is not an interval in config :/

#

Can someone help me please with the Math expansion? It doesn't update automatically, and there is no interval in config 😦

austere hawk
covert sable
#

Hey, during my automatic server restart, I got this error and it caused the server to crash:

[16:11:41] [Server thread/INFO]: [TAB] Disabling TAB v2.8.2
[16:11:41] [Server thread/INFO]: [TAB] Failed to disable [16:11:41] [Server thread/INFO]: java.lang.NoSuchMethodError: me.clip.placeholderapi.PlaceholderAPI.unregisterExpansion(Lme/clip/placeholderapi/expansion/PlaceholderExpansion;)Z
[16:11:41] [Server thread/INFO]: at me.neznamy.tab.platforms.bukkit.features.TabExpansion.unload(TabExpansion.java:22)
[16:11:41] [Server thread/INFO]: at me.neznamy.tab.shared.Shared.lambda$2(Shared.java:123) [16:11:41] [Server thread/INFO]: at java.util.ArrayList.forEach(ArrayList.java:1259)
[16:11:41] [Server thread/INFO]: at me.neznamy.tab.shared.Shared.unload(Shared.java:123) [16:11:41] [Server thread/INFO]: at me.neznamy.tab.platforms.bukkit.Main.onDisable(Main.java:142) [16:11:41] [Server thread/INFO]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:323) [16:11:41] [Server thread/INFO]: at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:360) [16:11:41] [Server thread/INFO]: at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:427) [16:11:41] [Server thread/INFO]: at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:420) [16:11:41] [Server thread/INFO]: at org.bukkit.craftbukkit.v1_8_R3.CraftServer.disablePlugins(CraftServer.java:338) [16:11:41] [Server thread/INFO]: at net.minecraft.server.v1_8_R3.MinecraftServer.stop(MinecraftServer.java:456) [16:11:41] [Server thread/INFO]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:652) [16:11:41] [Server thread/INFO]: at java.lang.Thread.run(Thread.java:748)`

tender vaporBOT
#

@covert sable,

covert sable
#

LOL

#

ok

manic sky
#

Hi lol

steel elk
#

I’m just curious how and if the bot will reply to this

#

“i dont know what PlaceholderAPI is”

indigo anchor
#

Hello i have problem, when im using %statistic_mine_block% or other placeholders, when im example break the block, it will not add 1 but 2, do someone know how to fix it?
the %statistic_jump% for example works fine, idk why

turbid tide
#

use the latest version of the Statistic expansion and latest dev of PAPI

indigo anchor
#

@turbid tide still doesnt work, i downloaded manually statistic expansion and the newest jar from github

tender vaporBOT
#

@indigo anchor,

indigo anchor
#

Sorry for ping.

turbid tide
#

from github?

#

not from jenkins?

indigo anchor
#

yes

#

From here

turbid tide
#

ugh I think that's just the releases

#

not the dev builds

#

might be wrong tho

#

yeah

#

its just the release

#

download the dev build

indigo anchor
#

Kk thank you i will try

#

Still same problem..

turbid tide
#

hmm

#

What's your server version again?

indigo anchor
#

1.16.3

turbid tide
#

hmm

#

go to plugins/PlaceholderAPI/expansions

#

and make sure you don't have multiple statistic jars

#

in there