#placeholder-api

1 messages ยท Page 116 of 1

limber scroll
#

is there a way to online players in lobby and minigame like
combining these two together
%bungee_bedwarslobby% %bungee_bedwarsgame1%

junior musk
#

you can use the Math expansion

warm topaz
#

%math_{bungee_bedwarslobby}+{bungee_bedwarsgame1}[precision:0]%

junior musk
#

and use the placeholder %math_{bungee_bedwarslobby}+{bungee_bedwarsgame1}[precision:0]%

#

;-;

warm topaz
#

๐Ÿ™‚

junior musk
#

mine won't return .000

turbid tide
#

.00*

warm topaz
#

who said mine will ๐Ÿค”

junior musk
#

:D

#

-_-

austere hawk
#

is it possible to use a javacript placeholder to make an eco take? for example
/eco take {player} %javascript_eco%
or else
/%javascript_eco%
who will send him the order with the amount

turbid tide
#

ugh idk if it will work like that

#

you'll have to try it

#

just make a short javascript like fun test(){ return "eco take n54b 100" } test(); and do /%javascript_eco%

#

I know you can do that in DMenus actions but don't know about other ways

#

if you can actually use it

austere hawk
#

No, that doesn't work and that's exactly what I'm looking for... to use it in dm as an action ^^ so I wouldn't have to create 200 identical code just for calculations ^^

turbid tide
#

well you should be able to

#

just use [console]%javascript_eco%

high swift
#

When will Deluxe Menues be updated to 1.16.1?

#

Well, placeholder wise

#

Im having trouble with the meta placeholder

warm topaz
#

theres a dev build for placeholderapi in this channels pins

#

?dm-builds

tender vaporBOT
warm topaz
#

dev builds for deluxemenus ^

high swift
#

I got Dev-90

junior musk
#

he's using them

#

but the DeluxeMenus PAPI placeholders aren't working

#

the meta ones

warm topaz
#

o

high swift
#

Yeah, Clip doesnt seem to respond so idk where to ask

final shadow
#

hmm

#

what server version

#

@high swift

#

gonna assume 1.16.1

#

can i see the startup log

high swift
#

sure

#

@final shadow But its a cmd, how can I show?

tender vaporBOT
#

@high swift,

Hey!

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

high swift
#

sry for long reply, my discord sound is broken

#

oh 1 sec

#

Send you in dm

compact fox
#

Hello where I cant download placeholder api 1.16?

junior musk
#

in this channel's pins

compact fox
#

Thx

final shadow
#

I completely broke ecloud today lol

#

Shout out to pig for fixing it

amber dirge
#

how would i create this economy thing u were talking about before clip?

vivid sparrow
#

What thing?

strong ridge
turbid tide
#

what does /papi parse me %server_online% return?

#

also /papi parse me %vault_eco_balance_formatted% and /papi parse me %tm_tokens_formatted%

strong ridge
turbid tide
#
/papi ecloud download Server
/papi ecloud download Vault
/papi ecloud download TokenManager
/papi reload```
#

execute those commands from first to last

strong ridge
#

It says the expansion cloud is not enabled

turbid tide
#

go here https://api.extendedclip.com/all/ download the Vault, Server and TokenManager expansions then go to plugins/PlaceholderAPI/expansions make sure those expansions aren't already there(if they are delete the existing ones) and add the ones you downloaded to the folder then do /papi reload

austere hawk
#

just use [console]%javascript_eco%
@turbid tide Its working !!!!!!!! ๐Ÿ˜„

turbid tide
#

nice

austere hawk
#

really thanks you ๐Ÿ˜„

turbid tide
#

no problem

strong ridge
#

Just did what you said Blitz and it still appears the same way

#

Would a server restart be needed instead of the plugin reload?

turbid tide
#

even when you do /papi parse me ... ?

#

you can try but usually it is not needed

#

but do a server restart

#

just in case

strong ridge
#

yep the parse command still displays the same message

turbid tide
#

ugh that's weird do those expansion show in /papi list

strong ridge
#

for some reason no

#

Gonna see if the restart is gonna do anything

#

Yeah that didnt do anything

turbid tide
#

what's your PAPI version?

#

also your server version

strong ridge
#

1.13.2 and the papi ver is 2.9.2

turbid tide
#

ugh why are you using such an old version of PAPI?

tender vaporBOT
#
Placeholderapi - Version List
Spigot:

1.8.8
1.12.2
1.13.2
1.14.4
1.15.2

Version:

v2.10.6 - Latest
v2.10.6 - Latest
v2.10.6 - Latest
v2.10.6 - Latest
v2.10.6 - Latest

turbid tide
#

just update to latest ...

#

that's why your ecloud is not working

strong ridge
#

We never had an issue with it before, hence why we haven't updated it

turbid tide
#

well you should xD

strong ridge
#

Yeah will do that rn xD

#

Okay plugin has been updated and I re-run the ecloud download commands

#

It said they were successfully downloaded (except for TokenManager, it says no expansion found with that name)

#

when I did /papi list they still werent on there

#

I also did /papi reload after downloading

strong ridge
#

Quick update I managed to get everything to work but now every time I do /papi reload it unregisters all the expansion

#

I noticed that this was a bug brought up before on github

dusty knot
#

does papi support bungee

junior musk
#

nope

dusty knot
#

well

#

then

#

I'm gonna have to set out of papi

trim mist
#

Okay.

mental night
#

idk what ur gonna use as a replacement ๐Ÿ˜†

trim mist
#

Bungee support is in the works, but it'll be awhile. V3 initial launch is planned to be Bukkit, Nukkit, and Sponge.

icy sonnet
#

i using Statistic placeholder
but have bug the placeholder result is arriving in duplicate

#

for example:% statistic_mine_block%
when you mine 1 block, the result shown is that you mined 2

mint fable
#

are you positive?

#

How have you tested the placeholder? And how do you know that the player has only mined 1 block?

icy sonnet
#

I performed the test with myself, and with another player with default permissions,
I used the; holograficsdisplayers; to display the value
latest versions
server paper 1.16.1 latest

mint fable
#

Are you on the pinned version of papi?

icy sonnet
#

I believe that if you test with these conditions you can get the same error

mint fable
#

Type /papi parse me <placeholder> to test it instead

#

And how do you know the player has that many mined blocks? did you open the stats file?

#

I know you tried with a "default" player, was it also their first login?

#

the statistics plugin should be getting it directly from minecraft, so maybe you have a plugin duplicating it

icy sonnet
#

after using the top command you sent, it reflects the same result, despite not having any other plugin, I tested it with just 2

#

the player had already entered at least 1 time, and was already registered

mint fable
#

do you have latest expansion as well?

#

you can run /papi ecloud download statistics to make sure

icy sonnet
#

yes 1.9.2

mint fable
#

don't forget to /papi reload

#

gonna take time for me to setup 1.16 server

icy sonnet
#

yes i reloaded with /papi reload

#

i used /papi parse me %statistic_mine_block%

mint fable
#

and what plugins do you have again?

#

how is it an odd number if it reports double?

icy sonnet
#

just luckperms, placeholdersapi, vault, protocollib, worldguard, worldedit, skins restorer, mycommand, essentialsx, ultimatekits, ultimatechat

mint fable
#

that's a lot

#

you said you tested with just 2

#

which 2

icy sonnet
#

yes, always an odd number

mint fable
#

even for your friend?

#

he had 0, then 1, then 3?

#

or 0, then 2, then 4?

icy sonnet
#

luckperms and holograficsdisplayers

mint fable
#

just 2

#

that's 3 at minimum

#

placeholderapi counts ๐Ÿ˜‰

icy sonnet
#

yes excuseme

#

he had 0, then 1, then 3

#

and for my friend it also has the same sequence with odd numbers

mint fable
#

Are you on the pinned version of papi?
@icy sonnet

#

never got a reply unless i missed it

icy sonnet
#

using 2.10.7-DEV-90

mint fable
#

update

icy sonnet
#

ok 1 moment

mint fable
#

let's see

#

it does double

icy sonnet
#

yes for me it's doubling, even with the DEV-94

mint fable
#

idk who to ping

#

maybe @final shadow

#

statistic mine_block doubles in 1.16

#

not sure about others

#

except not doubles, because Luiz has odd numbers, it goes up by 2 each block mined though

vivid sparrow
#

because multiple materials share the same value, for example GRASS, DIRT and SOIL

mint fable
#

oh boy

#

I had only grass and stone

icy sonnet
#

stone doubling for me

#

wood

#

I wait for a reply from the clip now?
if so, you can ping me to trigger me
Thank you for your help

zealous shadow
#

does the plugin work in 1.16?

warm topaz
#

check pinned messages

zealous shadow
#

thx

icy sonnet
#

i found another issue in other clip plugin

#

i send in discord channel

static vapor
#

Guys

#

is there any way to add placeholder values?

inner rampart
#

[PlaceholderAPI] Skywars is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [] and urge them to update it ASAP
How do I update this?

brisk coral
#

Tell the author of the plugin to update his shit

inner rampart
#

It Skywars or PAPI?

brisk coral
#

Skywars

inner rampart
#

Okay, thx

olive dragon
#

Does placeholder-api work in 1.16?

#

nvm found it thanks!

hollow kettle
#

Hello, is it possible to connect the placeholder (% statistic_hours_played%) with MySQL?

final shadow
#

@round lichen moving our conversation here. Lmk when ready and Iโ€™ll hop on my pc

carmine veldt
#

@final shadow feel free to add him to #papi, that's basically the papi chat now

#

not just for papi 3 anymore

final shadow
#

Ah yeah our papi chat

#

Letโ€™s move there

#

What role is it? Papi contributor?

#

@carmine veldt

carmine veldt
#

I don't think it has a role

#

individual perms on the channel

final shadow
#

Ah ok

#

u should see it now i tagged you

austere hawk
#

Hi, is it possible to make another placeholder lowercase using the %formatter_text_lowercase_<text>% placeholder?

warm topaz
#

id assume u can replace <text> with a placeholder

austere hawk
#

I've tried that but that doesn't work.

warm topaz
#

did u try like %formatter_text_lowercase_{placeholder_without_%%}%?

austere hawk
#

No, i'll try that.

#

It works. Thank you @warm topaz!

warm topaz
#

awesome

austere hawk
#

I have another question. Is it possible to check what item a player has in their head/helmet slot?

mint fable
#

@junior musk you there?

junior musk
#

yup

mint fable
#

%javascript_listplayers_<type>,<subtype>,<yes/no>,<output>,<subtype value>% is everything required?

junior musk
#

the last one isn't if you use normal subtype

mint fable
#

perfecto

junior musk
#

I'll try to make some more explanation before you put it on the wiki if you want

mint fable
#

what is the yes/no

junior musk
#

if you're counted in the list or not

royal parcel
#

i need help with js. i want to parse placeholder but i don't know. i just know parse Int placeholder parseInt

junior musk
#

type is the list of players, subtype the type of filter, yes/no if you're counted in the list or not, output is what you will get in return (the list, the amount or a player) and subtype value is the filter

#

i need help with js. i want to parse placeholder but i don't know. i just know parse Int placeholder parseInt
PlaceholderAPI.static.setPlaceholders("player", "text*);

royal parcel
#

okey thanks

#

so player i need replace to %player_name% and text is placeholder right ?

final shadow
#

yes

junior musk
#

BukkitPlayer works too

#

without the ""

royal parcel
#

oh okey xD i'm new at js

junior musk
#

it's all good =)

royal parcel
#

is this right if placeholder parse blank line ?

if (status == null)

junior musk
#

I think it would be "" instead

mint fable
#

does that look right

#

i wanna make sure i didn't miss anything

junior musk
#

Looks good

#

oh

#

add the + thing

mint fable
#

i'll add more to the first example but who

junior musk
#

for multiples worlds and perms

mint fable
#

It's there down below

junior musk
#

ah yup

#

๐Ÿ‘

#

sounds good to me

#

thanks =)

mint fable
#

should be all updated ๐Ÿ‘

royal parcel
junior musk
#

don't put the PlaceholderAPI.static.setPlaceholders.... in ""

#

also, you could have simply put the placeholder in ""

#

no need of the PlaceholderAPI.static.setPlaceholders thing

royal parcel
#

var status = %guilds_name%; like this ?

junior musk
#

yup

royal parcel
#

stil not work

junior musk
#

I'm not on my computer right now, I can't really check =/

royal parcel
#

okey i found it

#

i missing ""

#

var status = "%guilds_name%";

#

thank you very much

junior musk
#

๐Ÿ‘

royal parcel
junior musk
#

I'd like to have the answer too because I tried but didn't find how x)

royal parcel
#

have any way to pass 16 max character in scoreboard ?

hollow kettle
#

Hello, is it possible to connect the placeholder (% statistic_hours_played%) with MySQL?

junior musk
#

update to 1.13 or above

#

or else there's still another way but idk how to do it and I have only saw the plugin TAB Premium do it

#

Hello, is it possible to connect the placeholder (% statistic_hours_played%) with MySQL?
I don't think that's possible

#

as your statistics are stocked in your playerdatas in yopur world folder

final shadow
#

One option is finding a stat plugin that records blocks broken via MySQL

#

The stat expansion will never go outside the scope of basic Minecraft statistics though

final shadow
#

Haha idk why i manually built this on jenkins but everyone should test this with me

#

seems to work good on my end

#

havent tested everything yet but if there are small issues we will work those out

austere hawk
#

Is there a placeholder which allows you to see for example the nbt data of the item you are holding or an item on your helmet armor slot?

night owl
#

All my expansions are automatically unregistered with every reload and restart. Registering them manually works, but only until the next reload. How do I fix this?

night owl
#

Already fixed it: one of the expansions was outdated, causing the others not to load correctly

icy sonnet
#

@mint fable hi
sorry for the ping.
I didn't understand, was there any correction for the placeholder?

tender vaporBOT
#

@icy sonnet,

Hey!

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

mint fable
#

bruh

#

?tryandsee

tender vaporBOT
mint fable
#

@icy sonnet ^

#

I'm going to say probably not because there hasn't been an update in #ecloud-updates

sharp granite
#

Hey so i am updating a plugin i did not make that used placeholderapi back in 1.9 can some one help me undestand how i could fix this ?

warm topaz
#

that uses the old method to hook into papi believe

sharp granite
#

yes i looked at it

#

but i don't understand why this plugins extends a ezplaceholders

warm topaz
#

because its the old method

#

u extend PlaceholderExpansion now

sharp granite
#

ah ok

#

so i guesse that the hook function does not exist in that expansion ?

#

is there a javadoc ?

warm topaz
#

it wont work in the later versions for papi no

#

theres only the wiki i believe

#

unless u want to go through papis source

sharp granite
#

yeah im having a hard time because i never worked with placeholder before and i did not make the code that i am trying to update

warm topaz
#

honestly the wiki tells u everything

#

ive only just started coding and found it really easy to hook into papi. it shouldnt cause u much trouble

sharp granite
#

i will look into it thanks

warm topaz
#

np good luck

clear anvil
#

anyone know around when 1.16 is released?

leaden kraken
#

check pinned messages

sinful grail
#

How do I make it when a placeholder returns no string value, it shows "None"?

balmy marten
#

javascript placeholders probs

gleaming python
#

How do I make the countdown placeholder work? need to make a countdown for today in a specific hour

turbid tide
#

the countdown placeholder counts how much time is left from the current server time to the date and time you set

#

you can't set a specific start time

gleaming python
#

yeah i meant

#

how do i define the placeholder

#

its complex for me xD

turbid tide
#

%server_countdown_dd.MM.yyyy_18.07.2020%

#

this will count from today until tomorrow

gleaming python
#

and if i wanna add an hour

turbid tide
#

%server_countdown_dd.MM.yyyy HH:mm_18.07.2020 12:00%

#

this will count until tomorrow 12:00 pm or middle of the day

gleaming python
#

Ohh thank you! :D

ornate falcon
#

Is it possible to add a world placeholder for each player that can only be visible by a staff member?

#

I'm looking to have a world prefix added to the tab-list that can only be seen by a staff member (or a player with a specific permission).

turbid tide
#

you'd have to parse the placeholder only for some players and idk how you would be able to do that

tall torrent
#

H! I'm trying to make something through the Javascript Expansion. I'm trying to put a variable or an arg inside a placeholder. So I tried, var A = "%placeholder_here_" + Args[1] + "%";. However, It only outputs as a raw string like %placeholder_here_1% instead of being parsed by the placeholder. Is there a way to parse it?

turbid tide
#

don't think there is.

#

well at least not an easy way or a way that I know about

junior musk
#

It is

#

PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%placeholder_here_" + args[1] +"%");

#

@tall torrent

turbid tide
#

oh well didn't even think about using that xD

junior musk
#

ยฏ_(ใƒ„)_/ยฏ

tall torrent
#

You're a life saver @junior musk Thanks!!

junior musk
#

I wanted to use it when I tried my listplayers script with the listplayers expansion, I asked here and clip, frosty and gaby told me to use that and it worked =)

turbid tide
#

well yeah that's how you parse placeholders using PAPI

#

I use it in my plugins

#

didn't think it will work in javascript and didn't even think to do it like that xD

tall torrent
#

I wanted to use it when I tried my listplayers script with the listplayers expansion, I asked here and clip, frosty and gaby told me to use that and it worked =)
@junior musk Thanks for letting us know too x), I spent like 2 hours searching and I forgot I can just ask here ._.

junior musk
#

๐Ÿ™ƒ

#

btw BlitzZ

#

do you have access to the Javascript expansion's wiki?

turbid tide
#

xD

#

no Tanguy

#

why?

junior musk
#

to update my script again x)

#

I updated it yesterday to completely chabge the syntax and add offline and all players support

#

(which only work with normal subtype = the old all type)

turbid tide
#

nah I don't have. they don't want to give me access xD

junior musk
#

and cj updated it on the wiki

#

but then I re-updated it to readd PAPI support with [] x)

turbid tide
#

xD

#

I need to ask for access again :))

junior musk
#

I thought it wasn't necessary but I actually needed it for my TrMenu menu ๐Ÿ˜…

#

which actually works way better and is way easier to change than the old version

hollow patio
#

im trying to hook into papi using eclipse, i actually want to use external expansions (placeholders from other plugins)

#

now my question is do i need to manually import those expansions?

turbid tide
#

pretty sure you don't

hollow patio
#

thats cool

turbid tide
#

everyone that has your plugin will have to download

#

the expansions

#

themselves

#

only those they want to use

hollow patio
#

so all i have to do is add the jar and papi as a depend right? (not counting ``package at.helpch.placeholderapi;

import me.clip.placeholderapi.PlaceholderAPI;``)

hollow patio
#

yeah i was on there

#

the plugin is for personal use anyway

warm topaz
#

all u do is import the package as u did then then use the setPlaceholders() method on ur message

#

then papi will do the rest

austere hawk
#

is it possible to use 2 different placeholders from a single javascript file?

turbid tide
#

you can use arguments and based on the argument return 2 different things or soemthing

austere hawk
#

this can work ?

#

function ecotake(){
  return "eco take %player_name% " + team * 50000
}
ecotake();

function ecoshow(){
  return "" + team * 50000
}
ecoshow();```
#

and use %javascript_ecotake% & %javascript_ecoshow% ? ^^

#

or i need to create 2 files ?

#

(nop don't work xD)

junior musk
#

made this way, it can't work

#

but you can do as Blitz said to make it work

austere hawk
#

i don't know how, i'm starting with javascript placeholder ^^

junior musk
#

2sec

#
var team = "%askyblock_team_size%";

function ecotake(){
  return "eco take %player_name% " + team * 50000
}

function ecoshow(){
  return "" + team * 50000
}

if (args[0] == "take") {return ecotake()}
else {return ecoshow()}
#

try that

austere hawk
#

oh ok ty i try ๐Ÿ™‚

junior musk
#

also

#

you'll have to use %javascript_<nameOfTheFile>_take%

#

or %javascript_<nameOfTheFile>_somethingElse%

#

wait I'll do something better

austere hawk
#

ok I understand ๐Ÿ™‚

#

ok ^^

junior musk
#
var team = "%askyblock_team_size%";

if (args.length >= 1) {
    var args0 = args[0];
}

function ecotake() {
  return "eco take %player_name% " + team * 50000
}

function ecoshow() {
  return "" + team * 50000
}

if (args0 == "take") {
    return ecotake()
}
else if (args0 == "show") {
    return ecoshow()
}
else {
    return "Specify 'take' or 'show'"
}
austere hawk
#

wow ^^

junior musk
#

there are things that shouldn't be needed but it's to make it better looking ๐Ÿ˜„

#

what's the script identifier ?

#

the name that you used in the javascript_placeholders.yml file

#

%javascript_<scriptIdentifier>_show% %javascript_<scriptIdentifier>_take%

#

that's how it should work

austere hawk
#

ecoteam the name of file :p

junior musk
#

ok then replace <scriptIdentifier> by ecoteam

#

and it should work

austere hawk
#

don't work:( and no error :\

junior musk
#

what does it show ?

austere hawk
#

%javascript_ecoteam_show%

junior musk
#

can you send your javascript_placeholders.yml file ?

austere hawk
#

my bad i add a S --"

#

but now error java ^^

junior musk
#

๐Ÿ‘€

#

can you send the error ?

#

=paste

tender vaporBOT
#
HelpChat Paste

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

austere hawk
junior musk
#

I'll try on my side

#

yeah ok I'm really stupid x)

#
var team = "%askyblock_team_size%";

function ecotake() {
  return "eco take %player_name% " + team * 50000
}

function ecoshow() {
  return "" + team * 50000
}
function ecoMain() {
    if (args.length >= 1) {
        var args0 = args[0];
    }

    if (args0 == "take") {
        return ecotake()
    }
    else if (args0 == "show") {
        return ecoshow()
    }
    else {
        return "Specify 'take' or 'show'"
    }
}
ecoMain()
austere hawk
#

yea its working ๐Ÿ˜„

#

ty a lot for help & for learning ๐Ÿ™‚

junior musk
#

๐Ÿ‘

#

||I can explain a bit more what I did if you want :D||

austere hawk
#

oh yes ๐Ÿ˜„ can you send me a PM ? I'm leaving work now, so I'm gonna go offline ^^

junior musk
#

oki

vivid sparrow
#

@junior musk pls dont use else if

junior musk
#

;-;

vivid sparrow
#

and if you do place them after } of the previous statement

warm topaz
#

ew

vivid sparrow
#

plus, you have to define args0 outside of the functions ๐Ÿ™‚

junior musk
#

oh true

#

pls dont use else if
but idk how to use it another way ;-;

warm topaz
#

is case switch a thing in js? idk

#

or u can use the ? : things, but idk how that works with else if

vivid sparrow
#
var teamSize = parseInt('%askyblock_team_size%');

function funct() {
    if (args.length === 0) {
        return "Specify 'take' or 'show'"
    }

    var amount = teamSize * 50000;

    if (args[0] === 'take') {
        return 'eco take %player_name% ' + amount;
    }

    return amount;
}

funct();```
#

is case switch a thing in js? idk
@warm topaz yes

#

but why use switch for 2 values

warm topaz
#

ยฏ_(ใƒ„)_/ยฏ

hollow patio
#

all u do is import the package as u did then then use the setPlaceholders() method on ur message
i dont wish to use placeholders in the plugin but rather in the config.yml

#

how would i handle this?

vivid sparrow
#

PlaceholderAPI#setPlaceholders()

warm topaz
#

the exact same way

hollow patio
#

could you please give me an example?

vivid sparrow
#
String name = PlaceholderAPI.setPlaceholders(player, "%player_name%");```
#

though my suggestion would be to use actual methods as much as you can, instead of placeholders

hollow patio
#

im not trying to make placeholders

vivid sparrow
#

?

warm topaz
#

what

vivid sparrow
#

setPlaceholders() will replace all placeholders from the given String and return a new string with values instead of placeholders

#

I think you are confusing yourself.

warm topaz
#

get the value string from config
String name = PlaceholderAPI.setPlaceholders(player, configValueString);

hollow patio
#

im trying to hook into papi using eclipse, i actually want to use external expansions (placeholders from other plugins)

#

i dont get it

warm topaz
#

this is how

hollow patio
#

yeah but how can i use placeholders that i didnt put in the plugin (placeholders i downloaded from the ecloud)

warm topaz
#

๐Ÿ˜

vivid sparrow
#

._.

warm topaz
#

the setPlaceholders method already does that for u

hollow patio
#

yeah but why String name = PlaceholderAPI.setPlaceholders(player, "%player_name%"); specifically, thats what's confusing me the most

leaden kraken
#

setPlaceholders will set any placeholder that exists in PlaceholderAPI

hollow patio
#

i mean it could just be an example so i suppose

leaden kraken
#

That's an example

warm topaz
#

thats just an example message

#

yea

vivid sparrow
#

Read the wiki,

hollow patio
#

i did

vivid sparrow
#

There's only one method you have to use, that one

austere hawk
#

Hey i had some problems with the luckperms expansion on my 1.15.2 spigot server. I did the command /papi ecloud download luckperms and after that /papi reload and this happend......

junior musk
#

update LuckPerms

austere hawk
#

i use the latest luckperms bungeecord version

junior musk
#

you need it on Spigot too

#

PAPI can't interact with Bungee plugins

austere hawk
#

oh rly

junior musk
#

yup

austere hawk
#

i didn't know that

junior musk
#

and it's really necessary to have LP on Spigot too because if it was only on Bungee, it wouldn't manage Spigot permissions

austere hawk
#

ok, thanks

austere hawk
#

hi, i have an issue

#

statistic placeholder isn't working, even though i've downloaded the expansion multiple times

warm topaz
#

whats ur server version?

austere hawk
#

1.8.8

warm topaz
#

/papi ecloud download statistic 1.7.0

austere hawk
#

works now, thank you

warm topaz
#

or try the expansion in the pinned messages

#

np

ornate falcon
#

Is it possible to have a placeholder within a placeholder?

mint fable
#

depends

#

the placeholder has to support it

#

which one?

mint fable
#

not sure, but if you can, it's probably {placeholder}

#

you can also try [placeholder]

#

or you can use parseother

#

if that would help

ornate falcon
#

I'll look into it

#

Basically what I'm trying to do is display a world prefix in the tab-list that is only visible by staff members.

mint fable
#

probably can use parseother than

#

%parseother_{user}_{player_has_permission_<permission>}%

#

and you can also use a placeholder for the username

distant apex
#

Hi! When will this be ready for 1.16?

mint fable
#

Check pinned messages

distant apex
#

Where are those?

mint fable
#

the pin icon top right

distant apex
#

Ok thanks!

ornate falcon
#

When using parseother, do i need to include % when selecting a user from a placeholder?

warm topaz
#

no

#

placeholders with {} inside them, remove the %% for the placeholder inside {}

ornate falcon
#

How does it determine whether it's a username or a placeholder?

warm topaz
#

ยฏ\_(ใƒ„)_/ยฏ

#

magic

ornate falcon
#

hmm

#

So if i had a username that was the same as a placeholder it would error?

warm topaz
#

๐Ÿค”

heady compass
#

iun deluxemenus what placeholder should I use for console commands

#

like if Im giving a player an item

#

%player_name% doesn't work for some reason

warm topaz
#

/papi ecloud download Player
/papi reload

heady compass
#

ahh thanks

warm topaz
#

no problem

flat dragon
#

Hey does anyone know why my placeholder is showing "ยง" on my Featherboard scoreboard?

#

Im on 1.8 and the placeholder im using is {placeholderapi_voteparty_votes_required_party} from Voteparty

mint fable
#

@junior musk updated your js btw

junior musk
#

thanks ๐Ÿ‘

reef sparrow
#

hi, new to this placeholder so please forgive my ignorance. I'm trying to have a gui run a command to open a backpack gui. the command is /backpack. I've used backpack %player_name%

#

but it's not working

#

the backpacks opening but it's saying %player_name% instead of the players name

brisk coral
#

Run these two commands
/Papi ecloud download player
/Papi reload

reef sparrow
#

sorry, where do i run those? on my server? what does it do, please can you explain

brisk coral
#

It downloads the expansion (in this case the player one, since you're using a placeholder from the player expansion) (identifiers usually being the first word in the placeholder - ie. %vault_eco_balance% would be a placeholder from the vault expansion)

reef sparrow
#

ty

ebon tapir
#

Hello the world api wont show up ingame for me. its downloaded and in the extensions folder just wont show up in game

#

also what placeholder should i use for showing remaining players alive in a hunger games

wet basinBOT
warm topaz
#

if u give players a permission when theyre dead, u can use the listplayers expansion

#

also @balmy marten kek

tender vaporBOT
#

@warm topaz,

Hey!

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

balmy marten
#

ping pig not me

#

his issue

warm topaz
#

@carmine veldt kek

cobalt kraken
#

is there a way to use hex with Papi yet? I saw issue 343 was closed but even on the dev branch Im getting the same issue.

brisk coral
#

Where are you parsing the placeholder?

cobalt kraken
#

Lucky perms chat prefix.

#

Probably have gotten this question before.

brisk coral
#

Does the chat plugin support hex? And if so does it use the same format?

cobalt kraken
#

I mean its deluxechat. I'm guessing not

#

From the update logs, the 1.16 version is more so it doesn't break I'm guessing

balmy marten
#

Deluxechat doesnt support hex colours yet.

#

But it's being worked on and will be released soonโ„ข๏ธ

cobalt kraken
#

Understandable. Thank you very much! was weird to get hex working on my own chat plugin so I get the workload needed.

ornate falcon
#

Can i set a placeholder to countdown every 12 hours?

#

My server restarts on a schedule every 12 hours.

pure sundial
#

hm I have a question

#

I use tab plugin on my server

#

and I downloaded the math api

#

in tab it shows double the amount of health that is actually there

#

so for 10 hearts it says 20

junior musk
#

because it counts as half heart

turbid tide
#

1 heart = 2 health

pure sundial
#

is there a way to use math so that it can make it show the actual numbers based on hearts

#

not double

turbid tide
#

%math_{player_health}/2[precision:0]%

pure sundial
#

ty

junior musk
#

didn't NEZNAMY already show you a placeholder? ๐Ÿ‘€

pure sundial
#

he did

junior musk
#

the exact same

pure sundial
#

tbut i tried it

#

and it didnt work

junior musk
#

explain "didn't work"

pure sundial
#

so when i tab reload

#

it spams tab saying

#

"The provided value was invalid! Reason:Unknown"

#

id send screenie but it doesnt work

junior musk
#

๐Ÿ‘€

turbid tide
#

oh wait you want to show it under your player name ?

junior musk
#

do /papi list

turbid tide
#

like in tags?

#

pretty sure you can't use placeholders there

#

might be wrong

#

but I've tried a few times

pure sundial
#

not under playername

#

in tab

#

next to the player name

#

in between the ping and name

#

maybe im using the config wrong

#
    tabprefix: '%vault-prefix%'
    tagprefix: '%vault-prefix%%eglow_glowcolor%'
    tagsuffix: '%afk%'
    customtabname: '%nick%'
    customtagname: '%essentialsnick%'
    tabsuffix: '%math_{player_health}/2%'```
#

my papi list has

#

math

#

eglow

#

healthbar

#

magic

#

tab

turbid tide
#

what does /papi parse me %math_{player_health}/2% return?

#

also try %math_{player_health}/2[precision:0]%

junior musk
#

you don't have Player

#

/papi ecloud download Player
/papi reload

pure sundial
#

omg

#

ty

#

that worked

turbid tide
#

oh welp xD

short flicker
#

the only way tab's automatic expansion downloading doesn't trigger and there are complaints immediately

trim mist
#

Hmm?

austere hawk
#

why does the voteparty plugin placeholders work for the premium version?

warm topaz
#

#spigot-linking

austere hawk
#

thanks.

snow bolt
#

Hello! im dev on a bungee network and the papi is not working

#

we first thougt it was vault

#

but it wasent cus we tride diffrent api-s

#

then we thougt it was the scoreboard plugin so we changed and no resutalt

#

so im now here bc i think there is something wrong with papi

#

and i have never had this problem before and i have used papi for 3 years!

#

pls help

heady falcon
#

What placeholders are you using? You can test them with /papi parse me %placeholder%

snow bolt
#

wdym

#

It just returns what comes after me

#

for example /papi parse me %vault_rank% just returns %vault_rank%

heady falcon
#

Have you recently upgraded?

#

Try downloading expansions: /papi ecloud download vault

#

/papi reload

snow bolt
#

Yes, but now its says that:An internal error occurred while attemting to perfrom this command

#

and i have reinstalled multiple times

#

any help?

mint fable
#

if you sent the log I bet it would tell you that you can't connect to the ecloud

#

so you'll have to manually download it

#

@snow bolt ^

austere hawk
#

18.07 22:27:47 [Server] ERROR [PlaceholderAPI] CloudPass is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [Fazal] and urge them to update it ASAP.

#

Anyone know how to resolve this or how we can get into contact with "fazal"

#

its a custom jar

trim mist
#

Shouldn't you know him if he made it for you?

#

Your options are to

  1. Contact him
  2. Downgrade PlaceholderAPI and risk breaking everything else
austere hawk
#

ok

mental night
#

i know fazal not well but can message him, which spigot of his are you running?

snow bolt
#

This is the error:
10:22:06 ERROR]: null

#

org.bukkit.command.CommandException: Unhandled exception executing command 'papi' in plugin PlaceholderAPI v2.10.6
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[server.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[server.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[server.jar:git-Spigot-21fe707-e1ebe52]

#

at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-21fe707-e1ebe52]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_242]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_242]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-Spigot-21fe707-e1ebe52]

#

at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-21fe707-e1ebe52]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
Caused by: java.lang.NoClassDefFoundError: net/luckperms/api/LuckPerms
at me.lucko.luckperms.placeholders.LuckPermsExpansion.canRegister(LuckPermsExpansion.java:48) ~[?:?]
at me.clip.placeholderapi.expansion.ExpansionManager.registerExpansion(ExpansionManager.java:110) ~[?:?]
at me.clip.placeholderapi.expansion.ExpansionManager.registerAllExpansions(ExpansionManager.java:174) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPIPlugin.reloadConf(PlaceholderAPIPlugin.java:186) ~[?:?]
at me.clip.placeholderapi.commands.PlaceholderAPICommands.onCommand(PlaceholderAPICommands.java:261) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:4

tender vaporBOT
#

@snow bolt,

Possible Solution Found:

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.

snow bolt
#

Im not sure if it works on bungee

junior musk
#

you need LuckPerms on Spigot too

honest pulsar
#

Hello, could I ask why placeholder %localtime_timezone_467,d. MM. H:mm% doesnt work properly? Thats my timezone and its always minus two hours from my time.. Tried to change the timezone ID to something else but still same result. Thanks for answer.

austere hawk
#

/papi parse me %localtime_timezone_467,d. MM. H:mm%
can u try this

#

@honest pulsar

honest pulsar
#

Wanted to post screenshot but I can't. Yes I got: 19. 07. 12:08, as I said.. minus two hours. @austere hawk

austere hawk
#

I m not expert in PlaceholderAPI so u gotta wait for someone else sorry

warm sail
#

blitzz, were u ale to fix my issue?

#

or do i gotta resend the screenshots

#

I did what you said but theres still not a space and just says {javascript_tags_spacing} in essentilasChat now..

brisk coral
#

Do you have the expansion, and what does %javascript_tags_spacing% return when parsed

warm sail
#

/papi parse %javascript_tags% ?

brisk coral
#

Whatever your placeholder is named yes

warm sail
#

says papi help, did i type it wrong?

brisk coral
#

@turbid tide What's the esschat papi parser shit called?

Austin, /papi parse me %placeholder%
(Didn't see that you were missing that)

warm sail
warm topaz
#

chat injector?

warm sail
#

does this

#

i have chatinjector

brisk coral
#

Have you reloaded papi?

warm sail
#

yes

#

I just did it again and downloaded DeluxeTags for it /papi ecloud download DeluxeTags and nothing works for some reason..

brisk coral
#

Do you have the javascript expansion?

warm sail
#

is that a plugin?

#

or u mean /papi ecloud download javascript? because i did that yesterday

wet creek
#

No itโ€™s a papi expansion

brisk coral
#

And have you reloaded papi afterwards?

warm sail
#

Yes

#

and nothing seems to work :/

brisk coral
#

Show your startup log

#

=paste

tender vaporBOT
#
HelpChat Paste

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

warm sail
#

okay

#

Frost did it help?

brisk coral
#

Pastebin smh

warm sail
#

what?

#

i used a paste place like you say

brisk coral
#

@turbid tide React with the paste emoji, on mobile so phisically can't

warm sail
#

oh do i need to use the helpchat personal paste?

#

it didnt save last time so i used pastebin i will try again

brisk coral
#

It's easier to read, pastebin is light theme, and the formatting on it is fucked for mobile

#

?paste

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
โ€ข HelpChat - Usage
โ€ข Hastebin

brisk coral
#

You can click usage if you aren't sure on how to use it

warm sail
#

i can try again if i didnt

brisk coral
#

It worked yea, sec

warm sail
#

okay

brisk coral
#

Add the engine part to your javascript.yml as well

#

(same as the above example)

warm sail
#

engine??

#

like tags_spacing.js agian?

brisk coral
#

No,
tags_spacing:
file: tags_spacing.js
engine: nashorn

warm sail
#

then /papi reload?

#

i reloaded but it didnt work still shows javascript_tags_spacing weird

#

in chat

brisk coral
#

Read what console says and see if it loaded the js properly

warm sail
#

that what it say

brisk coral
#

Show me your javascript.yml file

warm sail
brisk coral
#

:what the hell:

warm sail
#

idk ;-;

#

want met o delete the yml and reload?

brisk coral
#

Delete the entirety of the js things, as well as the expansion, then restart the server, redownload the expansion, reload papi and try with the files again

warm sail
#

so delete javascripts folder and yml or what

#

alrighty restarting

#

didnt work frosty

#

i redownloaded javascript as there wasnt one there after deleting it, reloaded it and it still wont work

#

and now tags_spacing dont show up in javascript.yml

#

ugh

#

idk why it never wokrs

warm sail
#

hello?

#

is it not possible to fix?

#

!tags

brisk coral
#

It is, I'm currently driving home from vacation so I can't assist you, wait for someone else who has time

#

Also no need to ask in other channels kek

warm sail
#

oh

#

well i wanna fix it asap so my chat isnt flooded with javascript_tags_spacing

candid wind
#

Any idea how i can do switch for javascript with PAPI ?

brisk coral
#

What?

candid wind
#

Like if %x% is 1 he return a if 2 then b if 3 then c

#

This but in PAPI

#

I'm pretty bad with js for now

brisk coral
#

You use it the same way as you would in java

candid wind
#

I got script error so i think i'm just not good with that

brisk coral
#

Show what u got

warm sail
#

is blittz back?

daring basin
#

Hello!

#

I've found 5 wrong placeholders.

#

Placeholderapi, redprotect, and infinitescoreboard is installed and running,

plucky wadi
#

How can I escape a %

#

I've tried \

warm topaz
#

why do u need to escape a %?

honest pulsar
#

Hello, could I ask why placeholder %localtime_timezone_467,d. MM. H:mm% doesnt work properly? Thats my timezone and its always minus two hours from my time.. Tried to change the timezone ID to something else but still same result. Thanks for answer.

austere hawk
#

yo do y'all know if there's a placeholder that shows the amount of loaded worlds you have on your server? If not, how would I make one?
something like server#getWorlds

junior musk
#

maybe the world expansion has that?

#

nope

#

doesn't seem like it

#

then, the solution to all our problems....

#

JAVASCRIPT

rare lily
#

Could've suggested me to update the expansion ๐Ÿ˜‚

junior musk
#

NO

#

sorry =/

#

it is not POSSIBLE

warm topaz
#

yeah thats an easy placeholder to add

#

might pr server expansion tomorrow ๐Ÿ˜ณ

#

@rare lily unless u wanna do it?

austere hawk
#

oh sweet, that would be sick ๐Ÿ‘

#

like it displays world1, world2, world3, etc

#

?

rare lily
#

You say that you want to show the amount, not names thonking

austere hawk
#

oh my bad*, I meant the names of the loaded worlds.

#

number could also be a nice addition i guess

jaunty zephyr
#

anyone have news for PAPI 1.16?

balmy marten
#

See the pinned message for dev builds

azure blade
#

how do I remove4 exnacnen help idk how!!

#

how do I undownload!!

warm topaz
#

please formulate that sentence properly

azure blade
#

ok ok ok

#

How do I remove an expansion

warm topaz
#

go to /plugins/PlaceholderAPI/expansions folder and delete it there

azure blade
#

I can't!!! minehut doesnt let me!!!

warm topaz
#

minehut lol

#

idk contact them and ask them to delete it

azure blade
#

I can see the files but it blocks me from removing the expansion files!

#

please im so sad because I spent so long and I added this expansion and it runied everything!!!!

#

I SPENT like A million years

warm topaz
#

idk contact them and ask them to delete it
@warm topaz

azure blade
#

they turned it off to contact!

warm topaz
#

nothing we can do if minehut doesnt allow u to delete files lol

azure blade
#

It does! It just doesnt let me delte the expansion files!!! it deems them "Very Imporant server breaking"
}

warm topaz
#

get a new host ๐Ÿคทโ€โ™‚๏ธ

rare lily
#

^

azure blade
#

I cant! I already spent $100 on minehut!

rare lily
#

Your loss

warm topaz
#

$100?!?!?!

rare lily
#

Either contact minehut staff, or get a new host

#

We can't help with that system

pallid oxide
#

Minehut? ๐Ÿคฎ

azure blade
#

I thught there was a command I didnt know about!!

rare lily
#

Get a new host!!!

warm topaz
#

nope

#

not to my knowledge

rare lily
#

Or contact them!!

#

Why am i doing this expression sentence!!

azure blade
#

HOW

warm topaz
#

email them

pallid oxide
#

A easy way depending on what you have done is reset and reconf/repaste configs

azure blade
#

casn you tell the owner of placeholder to add the command to remove the thing!!

warm topaz
#

they must have an email

rare lily
#

Either contact minehut staff, or get a new host
@azure blade read that !!

pallid oxide
#

Or ask on their discord

azure blade
#

I READ IT

warm topaz
#

casn you tell the owner of placeholder to add the command to remove the thing!!
@azure blade there is literally no need for this

rare lily
#

Ahh!!

azure blade
#

well there isd I thnought it would be a good ideade!

warm topaz
#

na

rare lily
#

Not always!!

viral portal
#

hey

#

do u guys know if there's a placeholder that shows all of the world names u have on ur server?

#

like hub, creative, survival, etc

warm topaz
#

that is terrifyingly creepy that this has came suggestion up within 6 hours of each other

viral portal
#

?

warm topaz
#

anyways, ill be adding this placeholder soonโ„ข๏ธ

viral portal
#

wait are u part of the dev team?

warm topaz
#

no

viral portal
#

oh

warm topaz
#

but anyone is able to add placeholders

viral portal
#

but u need to know how to code right?

warm topaz
#

yes

viral portal
#

ah okay

heady falcon
#

@azure blade What happened?

#

/papi unregister MyExpansion.jar

austere hawk
#

I had an error, when i put the command /papi ecloud download (expansion), the following message appears: No clouds expansions are available at this time
How can i solve that?

tropic radish
#

hi guys, can i ask for help pls and wait 4 hours to receive it? ty

#

so my problem is that in leaderheads plugin i get "Received invalid value 4h 27m 55s for placeholder %statistic_time_player% for player "player". Expected a number."

#

see you in 4 hours if not more because support doesnt want to give dm answers

heady falcon
#

%statistic_time_player% gives a human readable format

#

Which leaderheads probably doesnt want

#

You could try using just %player_time%

brisk coral
#

Niall, leaderheads question so: CC: @steep thorn

steep thorn
#

@tropic radish DM me

heady falcon
#

@brisk coral Can you do the same with me for KiteBoard support?

tender vaporBOT
#

@heady falcon,

Hey!

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

heady falcon
#

Because I usually miss some of the messages here

brisk coral
#

๐Ÿ‘Œ

mental night
#

how does one spend over $100 on minehut itโ€™s free hosting?

junior musk
#

how does one spend over $100 on Fortnite while itโ€™s free?

austere hawk
#

That's the whole point of it being free, you spend money on it regardless. That's why companies do it, they want you to spend money.

#

Any updates on the World placeholder? %world_#_total% returns the number of loaded worlds, not the names.

brisk coral
#

CC: @rare lily

austere hawk
warm topaz
#

he made it

austere hawk
#

?

#
%world_#total%
%world<world>_thunder%```
#

%world_#_total% returns the number of loaded worlds.

#

When I try to download the expansions luckperm via ecloud it only gives this message in game: No cloud expansions are available at this time. and no errors in the console for the rets. how do i list this. I have placed all the necessary plugins where appropriate

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.

balmy marten
#

^

rare lily
#

I don't think anyone in existence would show all the names of the world packed in 1 placeholder ._.

#

This is already disgusting: world,world_nether,world_the_end,test,prison

brisk coral
#

world, world_nether

warm topaz
desert sonnet
austere hawk
#

I mean world names with spaces in between. Such as world, world1, world2, etc. Some people have uses for them, including me.

#

Kaliber, didn't you say you were gonna make it? ๐Ÿ˜‰

warm topaz
#

thien beat me to it ๐Ÿคทโ€โ™‚๏ธ

#
  • im not at my pc
austere hawk
#

๐Ÿ™‚

#

The amount of loaded worlds is a nice addition, but having the names of all the worlds loaded would be nice as well. Following worlds loaded (3): Factions, survival, Towny

brisk coral
#

Javascript fingerguns_reversed

austere hawk
#

๐Ÿ‘

ornate falcon
#

Are there any placeholders that count the amount of advancements earnt by a player?

onyx loom
#

Hello, the latest version of Placeholder API on spigot works in 1.16.1 Bungee server ?

junior musk
#

check the pinned messages

#

there's a link to the dev builds which are compatible with 1.16

balmy marten
#

Papi doesn't support bungee

junior musk
#

ah bungee

balmy marten
#

It's a planned feature though.

onyx loom
#

oh ok thanks !

junior musk
#

but since you asked that same question on TAB's discord, I guess you wanted to use PAPI with TAB on BungeeCord, which is possible since TAB made a bridge to allow PAPI placeholders on its bungeecord version

onyx loom
#

ok thank you very much for your help ! ๐Ÿ™‚

long crater
#

are the dev builds stable

warm topaz
#

yea i havent had any issues with it

#

nor have many issues been reported afaik

long crater
#

sweetness

#

thanks

atomic cradle
#

when will papi support 1.16.1?

junior musk
#

it already does

atomic cradle
#

still in dev?

junior musk
#

yes

final shadow
#

Yeah weโ€™re still working on performance stuff but the dev builds are functional with no issues

trail sparrow
#

Hello, could you help me with something? I use bungeecord and I want the online players using the Deluxe menus to appear on the server, I explain, I want the menu to show how many players there are in a server being in the lobby

austere hawk
#

I had an error, when i put the command /papi ecloud download (expansion), the following message appears: No clouds expansions are available at this time
How can i solve that?

warm topaz
#

?ecloudblock

tender vaporBOT
#
FAQ Answer:

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

warm topaz
#

do as the bot says

austere hawk
#

Any updates on the world names placeholder? I would do it myself, but I don't know javascript ๐Ÿ˜ญ

edgy lichen
#

SO I have an odd (?) question:

My chat provides hover functionality for prefixes in chat. However they must be the vault prefix.

I have the ability to modify the vault prefix, but I'd like to use a placeholder in the prefix (Show faction tag before name)

I know I could just put it in the chat format, but then I can't have hover effects. So I set the prefix with LuckPerms to be a string of placeholders, and it just shows the raw placeholder string.

Is there a way to evaluate such a string?

#

This is what the chat shows:

#

(Can't put images)

#

/papi parse me %luckperms_prefix% results in:

%factionsuuid_faction_relation_color%%factionsuuid_player_role%%factionsuuid_faction_name%
#

Note: I've also tried with {}

#

This is my VentureChat config format:

format: '{luckperms_prefix} &f{player_displayname}&8 {ascii_77}&f'
trail sparrow
#

Hello, could you help me with something? I use bungeecord and I want the online players using the Deluxe menus to appear on the server, I explain, I want the menu to show how many players there are in a server being in the lobby

mint fable
#

I think you want that ^

grand blade
#

So the new PAPI dev builds (102+) have deprecated some older methods, so now-broken plugins need to update?

trim mist
#

It's an on-going discussion. Still some changes being made.

#

Nothing would necessarily break just because we set them as deprecated.

mint fable
#

did not read right

trim mist
#

We didn't fully remove them (as far as I know, Sxtanna has the lead on the major PR for this update). But I believe we only deprecated stuff for the time being.

mint fable
#

but they will most likely in the future ye?

grand blade
#

At least one of the plugins we use broke. Works fine up to 101, broken 102+

trim mist
#

@rancid minnow ^

final shadow
#

Holy

#

Did slime actually come to discord

trim mist
#

I was thinking the same thing, haha.

rancid minnow
#

@grand blade can you provide me with the stacktrace?

grand blade
#

It seems to be the only way. Not happy about it.

final shadow
#

Donโ€™t use 100+ yet

#

Weโ€™re still breaking shit

grand blade
#

As I see. ๐Ÿ™‚

rancid minnow
#

Dont even use like... 2 versions before 100

mint fable
#

they're almost as good as spigot

rancid minnow
#

Because those also have broken shit in them

final shadow
#

Donโ€™t be mean

mint fable
#

sorry that was rude

#

nowhere near spigot level

final shadow
#

No but fr were literally doing some good things

grand blade
#

We're using 101, without apparent errors.

rancid minnow
#

Can you send the stacktrace though?

grand blade
#

I'll post a ticket.

rancid minnow
#

a ticket??

#

do we have tickets here??

mint fable
#

an issue?

#

on github?

rancid minnow
#

oh

#

that makes more sense

mint fable
#

maybe

grand blade
#

ticket = Github issue. You know --- tracking. Unlike Discord.

mint fable
#

ye that makes sense

rancid minnow
#

Not really a ticket, but yes, I get it now.

grand blade
#

In the world of technical support, it's called a ticket.

final shadow
#

Slime I know you are a good dude who loves those updates but let us work some stuff out and stay on builds > 100 for a day or 2 lol

grand blade
#

Sure.

rancid minnow
#

wrong symbol

#

bad

#

oh 102 is where I changed to the new replacer

#

This'll be fun

final shadow
#

Slime test 102

grand blade
#

Can I ask why you post builds to Github until things sort-of work?

final shadow
#

Because they arenโ€™t updates

rancid minnow
#

Can I ask why youre pulling builds from github?

#

Would it not make more sense to pull from spigot?

#

Where you know its stable?

grand blade
#

Because I spend my life testing dev builds.

final shadow
#

Test away my friend

#

Lol

rancid minnow
#

So then why are you surprised that a dev build is broken?

grand blade
#

It's my way of paying back to MC community (well, Spigot community).

#

Mostly, they aren't.

rancid minnow
#

fuck the spigot community

#

lol

grand blade
#

This is exactly why I stay off Discord. Noise >>>>>>> signal.

#

bye now.

final shadow
#

Slime weโ€™re in the middle of basically making placeholders be parsed 2-4x faster

rancid minnow
#

Oh excuse me Mr. high and mighty

mint fable
#

Noise?

#

thonking1 imajin

final shadow
#

Nah donโ€™t give slime shit heโ€™s a good dude

rancid minnow
#

He's kinda stuck up

final shadow
#

Heโ€™s not used to us

rancid minnow
#

Makes no difference to me

#

Can at least try to pretend that you aren't an elitist

final shadow
#

Nah man heโ€™s a good one. He actually tests shit and reports bugs

mint fable
#

he's second tier slime, behind deluxeslime

final shadow
#

Hence why heโ€™s even bothering with Jenkins builds

mint fable
#

๐Ÿ˜‰

rancid minnow
#

Mhmm

#

Someone downloading a jar and running it hardly renders them the title "good"

final shadow
#

He gives feedback

rancid minnow
#

I could write a program to do exactly that and save the hassle of being talked down to

final shadow
#

That renders good imo

#

Just stfu

#

Leave the man alone and letโ€™s get back to work

rancid minnow
#

Not even talking to him

#

And I am still working

#

I'm waiting for the ticket

final shadow
#

I could write a program thatโ€™s programmable

#

At your desired rate of speed

mint fable
#

I have a motor for that

#

and the 3d printer

rancid minnow
#

LMFAO

#

Is that a THREAT

mint fable
#

a sales pitch actually

rancid minnow
#

oh my god

#

GROSS

mint fable
#

๐Ÿ˜‚

warm topaz
#

ur gross but no one says that

rancid minnow
#

@warm topaz well youre short

#

So who really wins?

warm topaz
#

๐Ÿค”

#

i thought we said that 6 foot 9 = 3cm which is ur height

#

lol

#

short

mint fable
#

i'm high if that matters

rancid minnow
#

:O

#

drugs?!?!?

#

In my christian minecraft discord?!?!?

mint fable
#

this is all papi related I swear

final shadow
#

Kind of disappointed

austere hawk
#

I had an error, when i put the command /papi ecloud download (expansion), the following message appears: No clouds expansions are available at this time
How can i solve that?

warm topaz
#

?ecloudblock

tender vaporBOT
#
FAQ Answer:

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

warm topaz
#

follow the bot ^

green osprey
#

Hello guys! Who know how to fix this? [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: example

trim mist
#

Are you using ChatControlPro?

green osprey
#

Yes

mint fable
#

๐Ÿ˜ฎ

#

use that

#

@trim mist i got it

#

it's in discord already

#

aaand he's gone

green osprey
#

Oof, thank you so much!

trim mist
#

Ty

#

I was looking for it.

mint fable
#

ya i just search chatcontrolpro now in discord

#

lmao

trim mist
#

Can you make it a faq

mint fable
#

?chatcontrolpro

tender vaporBOT
mint fable
#

that's

#

not right

trim mist
#

Lol

mint fable
#

?chatcontrolpro

tender vaporBOT
rancid minnow
#

@trim mist what was breaking that?

mint fable
#

good enough