#placeholder-api

1 messages ยท Page 130 of 1

spiral garnet
#

I mean what it is using for what

turbid tide
#

it helps you get information from minecraft/other plugins using just a word/group of words instead of actually having to code it yourself every time

#

so plugins that support PAPI can use those words to dispaly/use the information instead of actually needing to hook into a plugin etc.

spiral garnet
#

Ohh i understood now thx

junior musk
#

check console

#

send everything from when you execute /papi reload

#

does worldguard show in /papi list?

#

can you send your entire server logs?

#

=paste

tender vaporBOT
#
HelpChat Paste

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

junior musk
#

weird

#

wait

#

you don't have the WorldGuard plugin

#

๐Ÿ‘ ๐Ÿ˜…

vivid sparrow
tidal osprey
#

Hello, there isn't placeholder that covers the name of the last player who hit each other?, I have been looking with the "Player" but nothing I am looking for.

trim mist
#

I'm not aware of anything like that.

warm topaz
#

i could add this to my list in my plugin

novel moss
#

hi, can i get an ecloud account to upload an expansion for my plugin?

trim mist
#

DM funnycube with your name and email.

novel moss
#

okay ty ๐Ÿ‘Œ

#

does he not accept dms from shared servers?

trim mist
#

Ahh probabaly not, might have to send him a FR

novel moss
#

oof, ill try

#

haha i cant even friend him

trim mist
#

Alrighty then if you see him online sometime, you can just ask him (:

novel moss
#

well gl me xd

#

thanks for trying tho

rare lily
#

I thought I already resolved the java 8 problem?

#

That's weird

rare lily
#

Can anyone test out my World expansion for a sec?

rare lily
#

.

trim mist
#

Send it

#

@rare lily

rare lily
#

@trim mist

trim mist
#

Send it

rare lily
#

The github or the jar

trim mist
#

Yes

#

Send it lol

#

I'll test it

#

Well, I will, tomorrow, took too long. Off to bed.

rare lily
#

I mean, all you have to do is press on the link and press "Download"...

turbid tide
#

I mean, all you have to do is press on the link and press "Download"...
to many buttons ...

novel moss
#

@balmy marten hi

hi, can i get an ecloud account to upload an expansion for my plugin?
@novel moss

tender vaporBOT
#

@novel moss,

Hey!

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

novel moss
#

I cant dm or friend

#

Oof bad bot

turbid tide
#

xD

balmy marten
#

dm me an email and username you want

novel moss
#

I cant...

#

It says we are not sharing servers

#

Nvm discord on phone is trash lol

rare lily
#

I just come back home

#

The expansion seems to load fine for me, weird

mild gale
#

what is the difference between MVdW and Placeholder?

turbid tide
#

one works only for MVdW's plugins the other works for any plugins that add support for it

rare lily
#

The purpose for MVdW is for Maxi's plugins though

turbid tide
#

yeah that's whay I said one works just for MVdW's plugins

fringe karma
#

Oh, the bossshop pro plugin actually refers me to this plugin, I think? I'm trying to let BossShop Pro read off McMMO levels, for example that you can only buy a certain pickaxe at Mining level 100. Could anyone hit me up for some advice/assistance how to do this?

turbid tide
#

does BossShopPro accept placeholders as currency ?

fringe karma
#

I don't know what most of that even means, so I can't answer that for certain

turbid tide
#

looked thru their spigot page and seems like you are able to

#

then download PlaceholderAPI

#

and then do /papi ecloud download McMMO and /papi reload

#

and you can use %mcmmo_level_<skillname>% as a currency I guess

#

you'll have to remove the level using mcmmo's command if it even has that

idle sonnet
#

Hey what is the placeholder for GriefPrevention

#

๐Ÿ˜ฎ thx

fringe karma
#

Blitz, do you mind if I take this to DM with ya?

#

So that it doesn't clog up the chat space

turbid tide
#

dw about chat space. Just ask here. That's why this discord server exists xD

fringe karma
#

Oh okay

#

Okay PAPI is now installed

#

so I just use %mcmmo_level_mining now?

turbid tide
#

first execute those 2 commands I gave you above

fringe karma
#

Doneso

turbid tide
#

you should be able to use %mcmmo_level_mining% as a currency now

#

as I said I'm not 100% sure if it accepts placeholders as I never used this plugin but from what I've seen on the spigot page it should

idle sonnet
#

can u send that placeholder of griefprevention again

turbid tide
#

do -papi GriefPrevention in #bot-commands

upper pewter
#

helo, I'm having trouble whith the MySQL expansion, pls any help

idle sonnet
#

i typed -papi votes in bot-commands but it not gaved me vote placeholders

turbid tide
#

well I mean is there a votes expansion?

#

because I'm pretty sure that expansion doesn't exist

#

what vote plugin do you have?

kind socket
#

Hi i've been trying to add Power Ranks to the API try and try wouldn't find it so I downloaded one into the Expansions File game now knows its there but won't register it. Any ideas on how to fix?

austere hawk
#

anyway to "undownload" a ecloud package?

#

so the opposite of "/papi ecloud download essentials"

trim mist
#

Remove it from the expansion folder manually.

austere hawk
#

Okie dokie. Iโ€™m a lazy butt lol

turbid tide
#

ugh @kind socket the expansion comes inside the plugin

#

no idea what you've downloaded but delete it

#

you only need the plugin itself

kind socket
#

Alright thanks

#

Still not displaying it just says %powerranks_rank% have I done something wrong?

wet basinBOT
#

@turbid tide Unknown expansion.

#

@turbid tide Unknown expansion.

turbid tide
#

do you have the PowerRanks plugin installed?

kind socket
#

Yeah

#

Everything in powerranks in game is working as normal just not on the scoreboard

elder fiber
#

I have instaled the PAPI plugin on my server and I downloaded expantions and I go into the game to type /papi reload bit there is no commands for the papi plugin, did I forget somthing?

turbid tide
#

what if you do /papi parse me %powerranks_rank% does that work Spooky ?

#

?startuplog

tender vaporBOT
#
FAQ Answer:

Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.

turbid tide
#

@elder fiber send this ^

elder fiber
#

ooh ok will try that

#

?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 Paste - Usage
โ€ข Hastebin

kind socket
#

It just prints out %powerranks_rank% and when I refresh it stays the same I could try re installing power ranks?

turbid tide
#

hmm idk if that will help

#

have you deleted the expansion you installed before from expansions folder?

kind socket
#

Yeah and I restarted the server

upper pewter
#

When try to install MySQL expansion an reload papi it don't reload and throw an error

elder fiber
#

so @turbid tide what do I do with the startup log? do I send it to you?

turbid tide
#

you send it here

elder fiber
turbid tide
#

When try to install MySQL expansion an reload papi it don't reload and throw an error
send the error please in a paste

#

I have instaled the PAPI plugin on my server and I downloaded expantions and I go into the game to type /papi reload bit there is no commands for the papi plugin, did I forget somthing?
@elder fiber I think you forgot to install the plugin

#

check your plugins folder

#

and make sure the jar is there

#

because no loading message from PAPI is showing in your logs

upper pewter
elder fiber
#

@turbid tide ooh ok I must have deleted the jar file cause I have the folders and everything just not the jar file

turbid tide
#

๐Ÿ‘

#

https://paste.helpch.at/aqajacoqew.bash
hmm weird. I don't rly understand the error unfortunately. I think your best bet is to wait here until someone can help you or idk if issues on githubs are still opened then open a issue on there.

#

or contact the expansion's author and maybe they have a solution

upper pewter
#

OK, ty for the help

young sable
young sable
#

Can any one help me?

trim mist
#

Contract the author of the MySQL expansion

blazing zephyr
#

hello i need help on my essentials papi
%essentials_kit_time_until_available_creativefreechest% it return 0 only or it's not working?

#

here's my essentials kit.yml
kits: creativefreechest: delay: 60 items: - dirt 1

#

also here's my deluxemenu

'freechestcd': material: structure_void slot: 31 priority: 2 update: true hide_effects: true display_name: '&fFree Chest' lore: - '&7%essentials_kit_time_until_available_creativefreechest% &8sec.' left_click_commands: - '[sound] UI_BUTTON_CLICK' - '[refresh]'

#

and yes I have the
update_interval: 1

novel moss
#

I may seem desperate but how does one get his expansion verified?

vivid sparrow
#

Which expansion?

novel moss
#

Mine xd

#

So it can get downloaded through ecloud command

trim mist
#

What's the name of it?

vivid sparrow
trim mist
#

Oh it's that one

#

I'll have to see the source code for the expansion before I can verify it.

novel moss
#

Well how do i send it to you

#

I need to get home first tho

trim mist
#

Do you have a github repo for it?

novel moss
#

Nope

trim mist
#

Is it just a single class?

novel moss
#

Yep :)

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 Paste - Usage
โ€ข Hastebin

trim mist
#

For when you get home ^

novel moss
#

Sure

#

Good bot now

#

And il dm you the link?

trim mist
#

You can DM @tender vapor and I'll see it.

novel moss
#

Oh okay cool

austere hawk
#

Hey guys does anybody know if there is a placeholder for each mob killing like a one which counts the deaths of pigs, cows, zombies cause i found one but it was for every mob combined and i dont want that

trim mist
#

You might be able to try that statistics expansion.

austere hawk
#

Thank you :p

blazing zephyr
#

How about my issue?

turbid tide
#

How about my issue?
I'm pretty sure it returns 0 when available. If you're op I think it will always return 0

#

might be wrong tho

fluid chasm
#

how would i do this?

#

oh cant send images

tender vaporBOT
#

@fluid chasm,

Uploading Images

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.

fluid chasm
#

how do i make it so when a servers offline, it display's that its offline instead of the player count?

austere hawk
novel moss
#

how do i make it so when a servers offline, it display's that its offline instead of the player count?
@fluid chasm you can do it with basic javascript

fluid chasm
#

Ok thanks so I'll have to make a placeholder expansion?

#

@novel moss

novel moss
#

no

#

download js expansion and inside the papi folder there will be a javascripts folder

#

and you put there your script

fluid chasm
#

Thanks

novel moss
#

np

coarse wedge
#

I'm trying to get the TPS as just a single integer and it's whooping me

#

%server_tps% gives three values, the TPS aggregated over 1, 15 and whatever seconds

#

maybe 5?

#

%server_tps_15% gives me a double with a loooong decimal

#

sometimes even going over 20 :x

#

I tried %math_ceiling({server_tps_15})% and math_round() with a precision of zero and both return 20.000

turbid tide
#

Your best option is javascript

wintry owl
#

Hello it's possible to take the placeholder %statistic_deaths% from a server and display it on another?

turbid tide
#

there are some APIs and plugins that say they can do that but I don't know any of the top of my head. But it is not possible by default

dense trail
#

Anyone that could give me an in-depth explanation of how javascript works in papi

#

@turbid tide as you gave me the script i thought it'd be the best to ask u

>.... [14:14:38 ERROR]: [PAPI] [Javascript-Expansion] An error occurred while executing the script 'mmolevel':
<eval>:2:4 Invalid return statement
return "&a1";
^ in <eval> at line number 2 at column number 4
tender vaporBOT
#

@dense trail,

Hey!

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

dense trail
#

Oh shit, my bad...

#
if (parseInt("%mmocore_level%") <= 10) {
    return "&a%mmocore_level%";
} else if (parseInt("%mmocore_level%") <= 20) {
    return "&n%mmocore_level%";
}
turbid tide
#

Is that the entire script?

#

or do you have some more code?

dense trail
#

that's everything

turbid tide
#

oh well that won't work

dense trail
#

I just want it so I can make infinite different level colors

#

add / remove whenever I want to

turbid tide
#
function mmocore() {
  if (parseInt("%mmocore_level%") <= 10) {
    return "&a%mmocore_level%";
  } else if (parseInt("%mmocore_level%") <= 20) {
    return "&n%mmocore_level%";
  }
}
mmocore();```
#

also there's hundreds of javascript tutorials on google

#

I don't have the time to sit here and explain everything.

dense trail
#

It's fine, thanks for that I'll indeed as you said google for more information

#

I appreciate ur time โค๏ธ

turbid tide
#

w3schools has some good tutorials on js

#

but yeah what you need to know is that you need to always have a function

#

and call that function after

#

and always return a string

#

and what you return is what gets printed

#

basically

rare lily
#

Well actually, you don't even need a function for it to work

#

How many times am I gonna say that javascript was supposed to be running without function in the first place thonking

dense trail
#

I've heard so many things about it, at least i got it to function now

rare lily
#

Yeah you should be using a function because of easier handling

dense trail
#
function mmocore() {
    if (parseInt("%mmocore_level%") <= 5) {
        return "&8Lvl %mmocore_level%";
    } else if (parseInt("%mmocore_level%") <= 10) {
        return "&7Lvl %mmocore_level%";
    } else if (parseInt("%mmocore_level%") <= 15) {
        return "&fLvl %mmocore_level%";
    } else if (parseInt("%mmocore_level%") <= 20) {
        return "&6Lvl %mmocore_level%";
    } else if (parseInt("%mmocore_level%") <= 25) {
        return "&eLvl %mmocore_level%";
    } else if (parseInt("%mmocore_level%") <= 30) {
        return "&3Lvl %mmocore_level%";
    } else if (parseInt("%mmocore_level%") <= 35) {
        return "&bLvl %mmocore_level%";
    } else if (parseInt("%mmocore_level%") <= 40) {
        return "&4Lvl %mmocore_level%";
    } else if (parseInt("%mmocore_level%") <= 45) {
        return "&cLvl %mmocore_level%";
    } else if (parseInt("%mmocore_level%") <= 50) {
        return "&5Lvl %mmocore_level%";
    }
}
mmocore();
#

Works as a charm

rare lily
#

If you want non-function way, this is the entire script: js if (parseInt("%mmocore_level%") <= 10) { "&a%mmocore_level%" } else if (parseInt("%mmocore_level%") <= 20) { "&n%mmocore_level%" }

dense trail
#

Ahh i see

#

for me easier to understand with return

#

cause then I know what's happening in the script

#

cause I'm not all to known with js

rare lily
#

๐Ÿ‘

turbid tide
#

oh I wasn't aware then. I know its suppose to work without functions and that's why it felt weird when I first tried it and couldn't get it to work without functions.

#

but now that I look at it, it does make a lot of sense ๐Ÿ™‚

rare lily
#

=paste

tender vaporBOT
#
HelpChat Paste

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

wintry owl
#

there are some APIs and plugins that say they can do that but I don't know any of the top of my head. But it is not possible by default
F ๐Ÿ˜ฆ thanks

turbid tide
#

you could probably use a mysql database yourself but you will need some experience with java and mysql.

rare lily
turbid tide
#

or even better use switch xD

rare lily
#

How are you gonna make a switch condition in the =>, <= expression?

#

I mean, kotlin has it

#

But not for js, so that's a problem

turbid tide
#

oh right. its not when. Its switch.

#

forgot

#

kotlin is taking over my brain. I even tried to use fun instead of function in js placeholders xD

rare lily
#

||become a java lover pls||

warm topaz
turbid tide
#

I mean I don't hate java... I'm learning both at the same time

rare lily
#

Just one question

turbid tide
#

I just like kotlin because of the simplicity if I can even call it that.

rare lily
#

If you are kotlin addictor, why you still adding ";" in the js scripts thonking

turbid tide
#

bcz a lot of people don't update the expansion

#

believe me a lot of times I forget to add them as well

rare lily
#

I mean, it's obvious that he is using 1.6.0 expansion

turbid tide
#

even when I tried making a plugin on java all the errors were missing ; xD

#

I mean, it's obvious that he is using 1.6.0 expansion
how? xD

rare lily
turbid tide
#

what about that?

#

it doesn't say the version ...

rare lily
#

Below 1.6, there is not even an indicator which line was throwing error

turbid tide
#

oh nice. I should have known that because?

rare lily
#

Every script errors will just say error at line 1

#

Also, second indicator is this: [PAPI] [Javascript-Expansion] (1.6.0)

turbid tide
#

right

#

I mean I don't rly care

rare lily
#

[PlaceholderAPI] [Javascript Expansion] (1.5.4-)

turbid tide
#

it will work with and without.

#

so I don't mind typing a few more characters just to make sure it will work for everyone that tries to use it and don't update the expansion

rare lily
#

That depends on yourself

warm topaz
#

even when I tried making a plugin on java all the errors were missing ; xD
@turbid tide i feel this

earnest flax
#

uhh hi

#

actually it shows me the exact balance of vault

#

i mean till last decimal

turbid tide
#

?

earnest flax
#

is it a way i can limit it?

turbid tide
#

what shows you ? the vault placeholder?

earnest flax
#

like it shows me 549.99999999999 $

#

i just need it to be 550

turbid tide
#

you can use %vault_eco_balance_fixed%

earnest flax
#

not that much long lol

warm topaz
#

javascript probably

#

nvm

turbid tide
#

he wants it fixed Kaliber so I guess that will work.

#

if he wants like 2-3 decimals then yes javascript

earnest flax
#

ok

dense trail
#

Oh wow thanks for that @rare lily

devout summit
#

the placeholder turned into blank, not the placeholder itself, nor an error

return PlaceholderAPI.setPlaceholders(null, LANG.getString(s));

/papi parse me %fw_prefix%
=> &6->

/fw help
=> &7Help menu for the Forger's Weaponry plugin.

LANG is a FileConfiguration, the method returns %fw_prefix%&7Help menu for the Forger's Weaponry plugin. for example

#

any idea what i did wrong?

turbid tide
#

I mean you're parsing the placeholder for a null player

#

you need to parse it for a player or an offline palyer

devout summit
#

oh

#

dunno why it's required here, but it works

lone prairie
#

Does anyone know if it is possible to use Placeholder API placeholders in Venture Chat /msg?

turbid tide
#

yeah pretty sure its possible. I think you need to use {placeholder} instead of %placeholder% tho

lone prairie
wary scroll
#

how to get %statistic_hours_played% from selected player?

glad pumice
#

ok so here me out on this one - Basically I am trying to make players buy plots with the plugin PlotssSqaured with essentials econemy. To do this, players use a GUI (Plugin is CommandPanels) I learned that when a user was to buy a plot for the eco money, the command that it would run when they buy it is - console= lp user %cp-player-name% permission set plots.plot.x+1 - the plots.plot.x+1 is wrong becuase basically what this is doing is setting the users plot limit to +1 when they buy the plot, so Im prettty sure this would have to do with the placeholder #math, can anyone help me with this on how to use it?

#

help pls?

obsidian charm
#

Hello

#

What is this?

glad pumice
#

lol dont bother they have 5-7 supports that can help online rn but no help for me or you

novel moss
#

Maybe no one online atm have an answer for you..

glad pumice
#

they would have said that

warm topaz
#

its been like 30 minutes since uve messaged, u shouldnt expect support within that time. no one is getting paid here. also ive never heard of this plugin so i cant help u personally

#

@obsidian charm paste the full error

glad pumice
#

sorry i dont want to be that guy its just my server released soon so i need to get it done, but at the same time...... You have never heard of plotssquared.... the largest creative plugin,,, aka also a whole placeholder section in your github

warm topaz
#

i mean ur question is more towards CommandPanels by the sound of it

#

i could tell u how to do it in deluxemenus, but thats a different plugin

#

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

glad pumice
#

deluxemenus have similar layouts, it really doesnt even have to do with command panels in the first place thats just a extra piece of info, that is just to trigger the command, the question is what will be the lp user command with what placeholder in order to increasse the limit to user by +1

warm topaz
#

u cant do that through LP then afaik

#

u must provide an actual permission

glad pumice
#

i know you can becuase a server i was on similar to mine does it

warm topaz
#

unless CommandPanels has some sort of requirements system (like what deluxemenus has) then im not sure

glad pumice
#

dude im not an expert but it wouldnt need it, it supports papi and all its doing is running the command, im just adking what placeholoder would be used to increase the plot limit by 1

glad pumice
#

still no help....

karmic marsh
dull meadow
#

Putting this here...
Anyone know how/what to use to get attributes from items, or just the player attributes in general? Like getting total generic.attack_damage, generic.armor, and the rest of them.

dim compass
#

c

novel moss
karmic marsh
#

Yes and I've restarted the server a couple times too.

novel moss
#

Try ti parse it using the command

#

And see if it displays anything

vivid sparrow
#

make sure it is enabled on papi config

vague lion
#

Hi !
I am an error with Placeholder Api when i down my server.
But PAPI are functionnal. ๐Ÿคทโ€โ™‚๏ธ

lusty granite
#

Hello, I would like to have your opinion on the best method. I have LuckPerm, and PAPI. I would like in the TAB, just to have the players in color in relation to their roles.
What do you recommend as a placeholder?
Thank you for your help.

dull meadow
#

I'm using PAPI for roles, and it works really well so far. Never tried the other one though

#

Putting this here...
Anyone know how/what to use to get attributes from items, or just the player attributes in general? Like getting total generic.attack_damage, generic.armor, and the rest of them.
@dull meadow anyway.. bump

novel moss
#

Hello, I would like to have your opinion on the best method. I have LuckPerm, and PAPI. I would like in the TAB, just to have the players in color in relation to their roles.
What do you recommend as a placeholder?
Thank you for your help.
@lusty granite seems a bit sketchy but cant you put their color in their prefix then get the placeholder prefix?

#

Also idk if it works like that

timber current
#

Is there anyway to display placeholdersapi placeholders in skript? I was plugin Ersatz but it doesnt work for me.

turbid tide
#

Is there anyway to display placeholdersapi placeholders in skript? I was plugin Ersatz but it doesnt work for me.
That's a question to ask the skript developers. They need to add PAPI support. But I'm pretty sure they do support them tho.

timber current
#

Do you know how to make them?

turbid tide
#

Nope.

timber current
#

on join:
set {_barvicky} to placeholder "playerlist_online,perm,yes,amount,barvicky"
broadcast "%{_barvicky}%"

turbid tide
#

Don't they have a wiki or something?

timber current
#

I have this.

#

I donno

turbid tide
#

@dull meadow anyway.. bump
I think you can use Javascript placeholders.

#

yo have to now a bit of javascript and spigot api

dull meadow
#

Thanks, isn't it java though?

turbid tide
#

its a javascript expansion

#

so it uses javascript

#

not java

#

Hi !
I am an error with Placeholder Api when i down my server.
But PAPI are functionnal. ๐Ÿคทโ€โ™‚๏ธ
@vague lion seems like the ultimatestatistics expansion gives that error.

dull meadow
#

Ah, ws thinking of something like this

player.getAttribute(Attribute.GENERIC_ATTACK_DAMAGE)

If that doesn't work Imma go do research again, thanks for the help!

turbid tide
#

well yeah. You can use spigot methodfs

#

methods* in javascript

#

expansion

#

so that's exactly what you'd do I think.

dull meadow
#

Oh thanks a lot!

timber current
#

on join:
set {placeholder} to placeholder "%%playerlist_online,perm,yes,amount,barvicky%%
broadcast "%{placeholder}%"

  • It says: "<none>"
#

It should have said "0"

#

I'm lost.

turbid tide
#

I mean what does /papi parse me %playerlist_online,perm,yes,amount,barvicky% even return?

timber current
#

"1"

#

Bcs i have the permission.

#

But the skript doesnt show that. Idk

#

I tried 2 expansions but none of them worked

turbid tide
#
on join:

  set {_placeholder} to placeholder "skyblock_level"
  send "%{_placeholder}%"```
#

this is a bit lower on the same page

timber current
#

Yeah, i have this.

#

It's the same.

#

w8

#

is it cuz the "_" ?

turbid tide
#

how do you have it?

#

give it again

obsidian charm
#

@obsidian charm paste the full error
@warm topaz Its spamming this

timber current
#

on join:
set {_placeholder} to placeholder "%%playerlist_online,perm,yes,amount,barvicky%%"
broadcast "%{_placeholder}%"

turbid tide
#

no no

#

remove the %% %%

timber current
#

What?

#

Tried that.

turbid tide
#
on join:
    set {_placeholder} to placeholder "playerlist_online,perm,yes,amount,barvicky" 
    broadcast "%{_placeholder}%"```
#

like this

timber current
#

still <none>

obsidian charm
timber current
#

W8

novel moss
#

Woah is pastebin down

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 Paste - Usage
โ€ข Hastebin

timber current
#

Idk how, but it started working.

novel moss
#

Funnycube is watching over us lmao

turbid tide
#

ugh @obsidian charm you've installed PAPI on bungee?

#

that won't work

obsidian charm
#

Ah ok

#

F

turbid tide
#

PAPI doesn't support bungee yet

timber current
#

So is it possible to make something like this:

command /test:
trigger:
if {placeholder} is 1:
setblock xxx y zzz

?

turbid tide
#

Idk how, but it started working.

#

glad to hear

#

you'll have to try Zizoo

#

I don't use skript and never have used it.

timber current
#

oh ok

#

I know, iis not the best you know

#

But easy.

#

I mean "easier"

#

Ty

turbid tide
#

dude im not an expert but it wouldnt need it, it supports papi and all its doing is running the command, im just adking what placeholoder would be used to increase the plot limit by 1
@glad pumice you say it like its so easy... It won't even be possible with the math expansion. Because the math expansion doesn't save data. With DMenus it would have been easier since it has meta. Also about that github shit. We don't make those fucking placeholders for god sake. People add PAPI support. PAPI doesn't add other plugins support.

#

anyways back on the subject. Your best chance is to look into javascript data.

#

but I'm not here to make a full menu for you. I'm here to point you in the right direction and that's what I did ^

obsidian charm
#

Blitzzz

tender vaporBOT
#
๐Ÿ“‹ Your paste, Rickylachow
https://paste.helpch.at/qadozafuya

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

turbid tide
#

hmm Rick is that the entire error?

obsidian charm
#

Yes is spamming

turbid tide
#

also when does that error appear?

obsidian charm
#

i think for Bungee Expansion

turbid tide
#

ugh

#

how have you downloaded it?

#

you have PAPI on all your servers but not on Proxy?

#

and then you did /papi ecloud download Bungee and /papi reload on those servers but once again not on proxy?

obsidian charm
#

Yes

#

This error is in hub

turbid tide
#

ok go to plugins/PlaceholderAPI/expansions and delete the Bungee one

#

then restart

#

and see if it still appears

#

the error I mean

obsidian charm
#

Sure wait

turbid tide
#

also make sure PAPI is actually enabled

#

when you do /pl

#

and its not red

obsidian charm
#

Yes yes

#

Ah

#

The expansion

#

is SSX

#

Expansion-ServerSelectorX.jar

turbid tide
#

oh yeah ExpansionSSX

#

missed that

#

I have no idea why its spitting the error tho.

novel moss
#

Because the expansion is not working properly lol

obsidian charm
#

I remove the expansion

#

and i don't have this error

novel moss
#

Ive had that happen when working on mine

#

Contact the owner of the expansion

turbid tide
#

well yeah Snowman I can tell that. But the error doesn't say the actual reason

#

it is not working properly

#

that's what I meant

obsidian charm
#

Now working all fine

novel moss
#

It couldnt register

#

Probably missing dependency

#

Or smth

devout summit
#

is there a way to load papi placeholder without sending in a player?

vivid sparrow
#

?

high star
#

If you mean parsing them via the api, you can pass null for a player

vivid sparrow
#

That too

austere hawk
#

heya anyone know of a good way to target placeholders at another person?

I know you can /papi parse <target player> %placeholder% but I don't want to give players permission to papi parse - what I'm doing is making a custom command that essentially does Their favorite color is: %target_player_placeholder%

turbid tide
#

^

austere hawk
#

oml

#

๐Ÿ™

orchid fog
#

heyo, Im using Saberfactions, and using the 2 %rel_factionsuuid_relation%%rel_factionsuuid_relation_color% But it isnt working. Saber told me to go to tablist, then montlikadani told me to go here

mental night
#

We need a placeholder for deluxetags to see if a tag is equippred which returns yes or no ๐Ÿค” or im just being dumb and cant find it

turbid tide
#

just use %deluxetags_tag% (?)

mental night
#

But tryna set a requirement to see if anytag is equipped

#

returns blank but idk how i'd fill it out for this section

turbid tide
#

a requirement in dmenus?

mental night
turbid tide
#
  requirements:
    tag:
      type: '!string equals ignorecase'
      input: '%deluxetags_tag%'
      output: ''```
mental night
#

ill quickly try that

turbid tide
#

that check if he has a tag

#

not if he doesn't

#

also your priorities are bad

#

you have no requirement on prioirty 1

mental night
#

How would you suggest

turbid tide
#

you need requirement on 1 or on both

#

but noth on 2 only

#

it will always be the 1

mental night
#

alr

turbid tide
#

then

mental night
#

gotcha

#

so basically just switch the view req around

turbid tide
#

yeah and put it on the second one

mental night
#

gotcha

turbid tide
#

the item with prioirty 1

mental night
#

yeh

#

๐Ÿ‘

#

cheers my friend

lethal carbon
#

@karmic marsh hey did you fix your Vault/PAPI issues

#

I am still experiencing the same thing

karmic marsh
#

Nope

lethal carbon
#

And it isnt just BalTop, it is all Vault palceholders. Other packages work fine

#

I can even run them thru /papi parse <player> and get nothin

turbid tide
#

what's your guys problem?

lethal carbon
#

It seems there was a Vault expansion update or something and now my Vault placeholders dont work

#

Possibly more than just vault I cant tell

#

But I definitely know Vault isnt

turbid tide
#

well some of the placeholders vault had got removed

#

for example the TOP placeholders

lethal carbon
#

It seems to be my LuckPerms also

#

its like I cant papi reload

turbid tide
#

?startuplog

tender vaporBOT
#
FAQ Answer:

Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.

turbid tide
#

send this ^

lethal carbon
#

?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 Paste - Usage
โ€ข Hastebin

lethal carbon
tender vaporBOT
#

@lethal carbon,

Hey!

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

lethal carbon
#

whoops sorry didnt know I couldnt ping ya

turbid tide
#

oh shit everything fucking crashed and windows went into repair mode.

#

Seems like your EzRanksPro expansion is broken for some reason

#

also the LP expansion and Vault is not downloaded

#

then do /papi reload

#

first of all make sure the expansions aren't in there already and if they are delete them and then download them manually

#

also idk about your ezrankspro expansion.

#

@lethal carbon ^

#

do you even have the EzRanksPro plugin installed?

lethal carbon
#

Ahhh

turbid tide
#

if not then delete it

lethal carbon
#

I had it but deleted it

#

but didnt remove extension

#

could that be it?

turbid tide
#

delete the expansion from the folder then

#

but still

#

you'll have to download manually the Vault and LuckPerms expansions

lethal carbon
#

I definitely have Luckperms and Vault expansion in the folder

#

I reinstalled em already

turbid tide
#

manually?

#

from the ecloud?

#

if not then delete the existing ones and download them manually

lethal carbon
#

BOOM

turbid tide
#

because they don't get registered at all

lethal carbon
#

it was the EZRanks expansion

turbid tide
#

oh I see

lethal carbon
#

deleted it, reloaded papi, working

#

thanks bro

turbid tide
#

makes sense now. I think PAPI just stopped registering expansion after EZRP one was giving an error

#

no problem

#

and sorry for the 1 hour wait. Everything crashed.

lethal carbon
#

No problem at all shit happen

devout summit
#

If you mean parsing them via the api, you can pass null for a player
i do mean that, but that'd just make the placeholder blank

mint fable
#

depends on the placeholder

devout summit
#

parsing it doesnt require a player theoretically

mint fable
#

correct

devout summit
#

it just gets a string from a yaml file

mint fable
#

idk what you're doing exactly

#

cant find the source

devout summit
#

im registering some simple placeholders that gets some strings from a yaml file via papi

mint fable
#

ah ok

#

then you should be fine

devout summit
#

but when i pass in a null for the player parameter it just replaces the placeholder with empty string

#

๐Ÿ˜ฉ

mint fable
#

=paste

tender vaporBOT
#
HelpChat Paste

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

mint fable
#

send your class

trim mist
#

Yeah

mint fable
#

maybe you're not overriding

devout summit
#

im in class :wheeze:

trim mist
#

Because if the player is null

#

It returns ""

#

I think almost all expansions check for player first and return null or ""

mint fable
#

it's their expansion

trim mist
#

Oh

devout summit
#

yeah

trim mist
#

Okay. Code after class

mint fable
#

not overriding is my initial thought, but code later for sure ๐Ÿ‘

devout summit
#

i mean, when i actually pass in a player it works just fine :/

trim mist
#

Yeah

candid cape
#

hey can u update papi hooks on KoTH v1.5.1?

warm topaz
#

its not up to papi to update expansions, but rather the authors of the plugin/expansion themselves

candid cape
#

project is abandoned last 2 years

dense trail
#

I don't know how to explain this but how do I make it that a random number generated in a javacsript can be used somewhere else

#
var min = 1;
var max = 5;

function randomInteger() {
   if (args.length == 2) {
       min = args[0];
       max = args[1];
   }

   var random = Math.random() * (max - min);
       random += min;

   return Math.floor(random);
}

randomInteger();

this generates the random number between 1 and 5 and I want to use that number somehow in a message in chat.

warm topaz
#

use rng expansion ๐Ÿ™‚

dense trail
#

elaborate?

#

@warm topaz how to use it?

warm topaz
#

if u need 1 to 5 then use %rng_1,5%
dont forget to download the expansion if u havent already

/papi reload```
dense trail
#

Alright but... how do I use that same generated number in a message?

#

/papi parse me %rng_1,5% & %rng_1,5% = both different numbers

#

and what I want is to have the first one generate a number and then display that number in chat (cause i'm using it for exp gain)

warm topaz
#

put the placeholder in whatever plugin ur using to send the message?

vivid sparrow
#

You need to store it somewhere, take a look at js Data @dense trail

#

Could add that to rng @warm topaz %rng_last%

dense trail
#

Yeah for now i'll just skip it then... or find a other way

#

I don't know anything of javascript, I just adjust code to my likings

vivid sparrow
#

Mkay

dense trail
#

but indeed like u said gaby thats what I need

#

rng_last

warm topaz
#

oh right thats what u mean

#

understood

twilit walrus
#

so how can i help kp-pvp things to work

#

becaus i want holograms that show how meny deatsh, kills, and all that

#

but theese dont work

#

%kp-pvp_player_kills%
%kp-pvp_player_deaths%
%kp-pvp_player_coins%
%kp-pvp_player_streak%
%kp-pvp_player_is_on_kitpvp%
%kp-pvp_players_count_total%
%kp-pvp_player_kit%
%kp-pvp_player_level%
%kp-pvp_player_xp%

#

/hd setline Kitpvp 1 &b&lKills %kp-pvp_player_kills%

#

what is wrong with that

#

dosent work

#

look the picture

warm topaz
#

can u do /papi parse me %your_placeholder_here%

twilit walrus
#

its says

#

well its automaticly instailed

#

so i dont know how could i do that

#

and this is the link

warm topaz
#

what?

#

just run the command to see if the placeholder is actually parsing

twilit walrus
#

BUT i dont know the name

#

or the placeholder

warm topaz
#

/papi parse me %kp-pvp_player_kills%

twilit walrus
#

it says %kp-pvp_player_kills%

warm topaz
#

do u have the kp-pvp plugin installed?

twilit walrus
#

Of corse

#

wait

#

i mayby have difrent let me look

#

um

#

i had wrong papi

#

sory

#

lol

gloomy crater
#

wasnt there a placeholder that showed the blocks/sec of a player?

#

not talking about the walkspeed, but their speed at a given time

#

nvm its an expansion which somehow breaks other placeholders for some weird reason

mental night
#

yeh

#

shouldnt break others

brittle mica
trim mist
#

Those are just debugs

turbid tide
#

yeah. Thienbao should rly make it not be on by default and add an option in javascript_placeholders or something

#

@rare lily ^ idea for you

#

make it have a debug option in javascript_placeholders instead of showing all those messages by default

#

told ya they will get annyoing when you have tens of javascripts

sick onyx
#

heyhey, quick question: How do i use a placeholder inside a placeholder? currently working with our own coded plugin and a tablist plugin. That Tablist Plugin supports placeholders. Since we want to get the placeholder from that specific player on the tablist, we use %saocore_playerlvlother_playername%, but how could i use another placeholder inside of it? we tried %saocoreplayerlvlother%player_name%% but that seems to break the whole Placeholder entirely

warm topaz
#

there was a method like PlaceholderAPI.setBracketPlaceholders(), idk if it still exists or not

sick onyx
#

the bracket placeholders did work for a bit until we restarted the server. we did %saocore_playerlvlother_{player_name}%, which worked for a bit

#

Nevermind, figured it out. accidentally used player instead of player_name in the placeholder

gentle flicker
#

Is there any reason to why my Karma Overload Expansion did not get verified on the ecloud website?

trim mist
#

Probabaly never asked to have it verified?

gentle flicker
#

๐Ÿ˜ฎ

#

Fair enough ๐Ÿ˜‚ How do I ask to get it verified?

trim mist
#

Do you have a link to the source?

gentle flicker
#

The source being the expansion or the plugin which the expansion is for?

trim mist
#

I mean both would be preferred. I just have to look through the code myself to make sure it's safe.

gentle flicker
#

I hope there isn't anything wrong with either, as I don't have that much time to program since I started university

trim mist
#

I'll check it when I'm at my PC. Might be tomorrow.

gentle flicker
#

Yeah take your time no worries

#

Thank you c:

vivid sparrow
#

is the source code available anywhere?

turbid tide
#

because of %

#

%math_{server-online}-1[precision:0]%

#

oh

#

server_online as well

#

not -

gaunt cave
#

I am trying to figure out placeholders for featherboard for vote party anyone got any idea?

turbid tide
gaunt cave
#

ok

rare lily
#

@turbid tide i mean, that's part of your fault for not specify the engine type ๐Ÿ‘€

tender vaporBOT
#

@rare lily,

Hey!

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

rare lily
#

To get the script understand

turbid tide
#

Time to downgrade the is expansion then xD

rare lily
#

nu pls

#

How about I will stack the errors into 1 then

charred mist
#

I'm getting this error when using the %server_uptime% tag and I'm not entirely sure why. I'm using Paper-231 (MC: 1.16.3).

[03:08:36 WARN]: Unexpected exception while parsing console command "papi parse FireControl1847 %server_online% / %server_max_players% currently online | Online for %server_uptime%"

Caused by: java.lang.NoSuchMethodError: 'java.lang.String me.clip.placeholderapi.PlaceholderAPIPlugin.getUptime()'
tender vaporBOT
#

@charred mist,

Possible Solution Found:

As part of the 2.10.7 PlaceholderAPI update we broke some methods, please update to the latest PlaceholderAPI release found here to fix these issues.

charred mist
#

I am running 2.10.9

junior musk
#

redownload the Server expansion with
/papi ecloud download Server
then reload PlaceholderAPI with /papi reload

charred mist
#

Thanks for the quick reply. Unfortunately I have tried this to no avail. I have also cleared the ecloud cache and refreshed, then re-downloaded, and it did not work

junior musk
#

๐Ÿค”

#

what's the version of the server expansion you downloaded?

charred mist
#

It is version 2.3.1

#

[03:22:48 INFO]: Expansion: Server
Author: clip
Verified: _
Latest Version: 2.3.1
Released: 2d 39h 28s ago
Release Notes: Fixes %server_uptime%. Thanks to MrGraycat for the fix.

#

(ironic, seeing as it didn't fix the issue for me)

junior musk
#

yeah lol

#

can you check your Expansions folder in your PlaceholderAPI folder?

#

maybe there are 2 server-expansion files?

charred mist
#

Ohhh you know what, I do see two of them

lone prairie
#

Does anyone know a placeholder I can use that will get the color of my vault rank but not the actual name?

charred mist
#

Ah-ha! That fixed the issue right up. Thanks a ton!

junior musk
#

๐Ÿ‘

#

Does anyone know a placeholder I can use that will get the color of my vault rank but not the actual name?
@lone prairie I think %vault_prefixcolor% or %cault_rankcolor%works

#

%vault_prefix_color%

lone prairie
#

ok because I tried using that and it still returned the entire prefix. The prefixes are determined by luck perms

junior musk
#

what does /papi parse me %vault_prefix_color%test

#
  • returns in the chat?
lone prairie
#

the entire prefix and test after

#

&4&l[MANAGER] test

junior musk
#

weird

#

idk if there's anything else for that then

lone prairie
#

yea i assumed %vault_prefix_color% would only return the color but for some reason it gives the entire prefix

#

thanks for trying to help

junior musk
#

I may try to create a placeholder /fix it with my poor java knowledge later

lone prairie
#

Oooo ok

minor escarp
rare lily
#

Hold on a second.. i just realized something

#

It is actually not required for the javascript expansion with file as ".js"

turbid tide
#

ugh no idea.

rare lily
#

It can be file ".txt", or any raw file with scripting content

turbid tide
#

oh

vivid sparrow
#

Cuz it evaluate the content not the file itself

turbid tide
#

makes sense

rare lily
#

Good to know

#

Now i can bypass aternos system now :)

vivid sparrow
#

๐Ÿคฃ ๐Ÿคฃ

turbid tide
#

what system does aternos have?

#

it doesn't allow js files?

vivid sparrow
#

Dont you still need a way to download the js expansion?

rare lily
#

It automatically clears out any content with ".js"

#

Dont you still need a way to download the js expansion?
@vivid sparrow /papi ecloud download

vivid sparrow
#

Ah

rare lily
#

Btw, i think it was because of me that they noticed ._.

#

I keep saying that I will use .js for testing hangman on their discord, that's why

turbid tide
#

who noticed what?

rare lily
#

The team, of course

#

Also, I am not in that discord currently

#

Second thought.. i'm not adding module dependency in this expansion

#

Might be too dangerous

mental night
#

How would I go along the ways of formatting the autosell placeholder with timeleft so it doesnt show minutes but it formats as in 2m 59s rather than rounding up to minutes obv javascript papi expansion

minor escarp
#

.,.

vivid sparrow
#

Statistic version?

minor escarp
#

PlaceholderAPI-2.10.9
Plan-5.1-build-770

turbid tide
#

no the Statistic Expansion version

minor escarp
#

Plan-5.1-build-770 @turbid tide

turbid tide
#

you missunderstood me again

#

The Statistic Expansion from PAPI

minor escarp
#

thats what the user thats having issues said to me

turbid tide
#

is this possible ?
@vast anchor I don't know for sure but I also don't recommend that !!!!

#

It will break all your boolean placeholders

#

jesus christ what are you thinking? xD

#

just let it yes/no or true/false or just translate it

#

that will change the return for every placeholder that used to return yes/no

rare lily
#

Let me see what is the best I could think of from editing statistic-expansion

mental night
#

thien ur good with js arnt ya

rare lily
#

Yeah

turbid tide
#

nah

#

he's trash

mental night
#

aww shame

turbid tide
#

he broke the expansion

rare lily
#

Liar

mental night
#

smh damn big scruff up

turbid tide
#

he made the debug mode always be on

mental night
#

How would I go along converting one of autosells placeholders instead of formatting to minutes to format to like 2m 59s

turbid tide
#

he's like Hitler but even Hitler cared about Germany

rare lily
#

That's your fault also ๐Ÿ‘€

mental night
#

%autosell_time_multiplier_timeleft% parses the same as %autosell_time_multiplier_minsleft%

turbid tide
#

How would I go along converting one of autosells placeholders instead of formatting to minutes to format to like 2m 59s
@mental night It only returns minutes?

#

then you can't

mental night
#

i assume that shouldnt be the case

#

not even with js?

turbid tide
#

well I mean you have 2 minutes

#

how do you convert 2 minutes to 2 minutes and 20 seconds?

#

you need to know the seconds not the minutes

mental night
#

ah

#

Then why does

%autosell_time_multiplier_timeleft% parses the same as %autosell_time_multiplier_minsleft%
parse the same

turbid tide
#

no idea.

#

ask clip when he comes back xD

rare lily
#

%autosell_time_multiplier_timeleft% is this returning minutes also?

mental night
#

yeh

rare lily
#

๐Ÿคท

mental night
#

and i assume it shouldnt

rare lily
#

Update 1.6.1 in js-expansion is also gonna be a ride

rare lily
#

There're some instances where the debug message are a must to be seen

#

It's better to stack things

untold temple
#

im pretty new to using this plugin, and plugins in general, but ive installed the player expansion and its working, however when i try use %playername% in a command set to clickable sign or npc it returns something like %playername% is not a player. also idk if %player% is a thing, but ive used it in the past on an item i made and it still works, but when i try to recreate that item, it no longer works. any idea whats going on?

turbid tide
#

?player

tender vaporBOT
#
FAQ Answer:

Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload

mental night
#

why not use the ingame command phoenix

#

/lp group <group> meta setprefix <prefix>

#

he asked a question but then deleted it

lone prairie
#

well yes but I mean thats how it shows up in the web editor

#

the problem however is that the %vault_prefix_color% placeholder does the exact same thing as %vault_prefix% and grabs the whole prefix rather than just the color

mental night
#

then use the luckperms one

#

pretty sure luckperms can fetch just the color

untold temple
#

hmm, yeah. i had that installed. i added a command to a clickable sign with another plugin that says it supports papi. if i check the command info after using the %player_name% placeholder, it returns my name, but when actually executing the command, it says %player_name% is not a player. so im guessing this is the sign plugin issue?

#

okay, it seems that luckperms doesnt recognize the placeholder.

#

idk anymore. thanks for the advice tho!

mental night
#

did u do /papi reload

untold temple
#

yeah i made sure it worked using the parse me %player_name% command and it returns my name

mental night
#

mhm

turbid tide
#

if /papi parse me %placeohlder% works then its not papi

#

its the plugin that doesn't support it

untold temple
#

figured luckperms did, ill go check out that documentation again. thanks!

#

so i added the command to a citizen npc and it works fine. just not on the sign so i guess that narrows it down to the serversign plugin.

#

thanks for the help :P

silver minnow
#

withjava String joinText = "%player_name% &ajoined the server! They are rank &f%vault_rank%"; joinText = PlaceholderAPI.setPlaceholders(event.getPlayer(), joinText); event.setJoinMessage(withPlaceholdersSet); } (example thats on wiki), what would the value of joinText be?

warm topaz
#

wdym the value?

silver minnow
#

if I replaced withPlaceholdersSet with joinText

warm topaz
#

then it would send a join message with placeholders being parsed?

silver minnow
#

then what is withPlaceholdersSet?

warm topaz
#

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

#

probably an accident

silver minnow
#

k thx!

turbid tide
#

wait what wiki is that on?

silver minnow
#

uh

#

github

#

:P

turbid tide
#

link to exact place I mean

#

xD

turbid tide
#

oh yeah

#

wait can you do string = PlaceholderAPI.setPlaceholders(player, string) ?

silver minnow
#

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

turbid tide
#

I think it was meant to be ```java
String joinText = "%player_name% &ajoined the server! They are rank &f%vault_rank%";

    /*
     * We parse the placeholders using "setPlaceholders"
     * This would turn %vault_rank% into the name of the Group, that the
     * joining player has.
     */
    String withPlaceholdersSet= PlaceholderAPI.setPlaceholders(event.getPlayer(), joinText);

    event.setJoinMessage(withPlaceholdersSet);
silver minnow
#

ohh ok

#

thx ๐Ÿ™‚

silent perch
#

I suggest to create a placeholder which shows the Server Total balance

trim mist
#

If that's what I think it is, that's a server crash waiting to happen.

turbid tide
#

๐Ÿ™‚

warm topaz
#

lol

silent perch
#

why ?

#

Isn't ess is using it ? for /baltop

trim mist
#

I'll consider it once the baltop API goes live in Essentials.

warm topaz
#

it does it in batches tho right? like pages with /baltop 2 , 3 etc

silent perch
#

yee ik I just wanna use it somewhere else

#

in the hologram I mean

trim mist
#

It actually does it all at once but just async

#

It'll perform even better when the changes go live.

silent perch
#

I mean yeah

#

alright then I wont add it

warm topaz
#

interesting

woven radish
#

I'm using luckperms and statistics extension and I have problem with displayed time being incorrect

warm topaz
#

download placeholderapi dev build

woven radish
#

๐Ÿ‘

warm topaz
silver minnow
#

Is there a placeholder for playtime?

warm topaz
#

in the statistic expansion yes

#

%statistic_time_played%

silver minnow
#

what does EssentialsX use?

#

for /whois

#

or if they dont use papi, what code do they use?

turbid tide
#

papi? for /whois? its their own code

silver minnow
#

ik

#

but how do they do that?

warm topaz
#

what does the command show?

turbid tide
#

ip, uuid

#

hmm

#

what else was it

#
[17:16:55 INFO]: ====== WhoIs: NAME ======
[17:16:55 INFO]: - Nick: NICKNAME
[17:16:55 INFO]: - UUID: 1c1dad11-aa3c-333c-8c32-1ba8d43d9476
[17:16:55 INFO]: - Health: 20/20
[17:16:55 INFO]: - Hunger: 20/20 (+4.8 saturation)
[17:16:55 INFO]: - Exp: 6 (Level 0)
[17:16:55 INFO]: - Location: (world, 14,443, 72, -13,135)
[17:16:55 INFO]: - Playtime: 1 day 14 hours 44 minutes
[17:16:55 INFO]: - Coins: 4,194.67โ›‚
[17:16:55 INFO]: - IP Address: /xx.xxx.xx.xx
[17:16:55 INFO]: - Gamemode: survival
[17:16:55 INFO]: - God mode: false
[17:16:55 INFO]: - OP: false
[17:16:55 INFO]: - Fly mode: true (not flying)
[17:16:55 INFO]: - Speed: 0.2
[17:16:55 INFO]: - AFK: false
[17:16:55 INFO]: - Jail: false
[17:16:55 INFO]: - Muted: false``` Its all information they got stored
#

I guess

#

some its just player methods

#

yeah most of it its just player methods I guess

#

and I think they cache the information when a player leave

#

because I'm pretty sure after a server restart if the player doesn't rejoin, the command doesn't find the player anymore

trim mist
#

It should attempt to pull the player information if it matches a UUID of the player to a file.

turbid tide
#

oh wait so it is /whois UUID ?

#

not /whois name ?

warm topaz
#

both would prob work if thats the case

trim mist
#

No it'll attempt to pull the uuid from the name.

rare lily
#

Wait, does 1.12 and below supports old version statistic-expansion only currently?

#

Or it's changed?

trim mist
#

I'm pretty sure the latest version works across all.

#

I think Gaby did a lot of work on that.

marble swift
#

guys can u help meu out here

#

is there a ways to disable a certain placeholder or not?

junior musk
#

yes, don't use it

novel moss
#

yes, don't use it
fingerguns

marble swift
#

the thing is im using luck perms and what ever rank i have when i type in chat is shows luckperms rank in gray than luckperms rank prefix and then my user name

#

and i want so thath the gray rak dosent show up

junior musk
#

remove the placeholder which shows that gray rank from your chat plugin's chat format

turbid tide
#

just delete the placeholder from your chat format

marble swift
#

well then im using papi wrong

#

i # the essentials chat so papi could take over

#

#format: '{clans_name}{prison_rank_tag_prestiges}{prison_rank_tag_default} {DISPLAYNAME}: {MESSAGE}'

#

how can i put the placeholders working correctly?

turbid tide
#

you need to go to config.yml and set enable-suffix-prefix to false

marble swift
#

where ?

tame light
#

good evening I currently have a problem with an API

warm topaz
#

what is thou problem

tame light
#

I do "/ papi ecloud download state" but the plugins downloads the API well but does not take it into account I tested on 2 different servers but it does not work.

warm topaz
#

but does not take it into account I tested on 2 different servers but it does not work.
?

#

are u trying to use this over bungeecord?

tame light
#

no

warm topaz
#

wdym by that then

tame light
#

๐Ÿค”

paper stirrup
#

does anyone know how to hook into placeholderapi? ive been trying to and have followed the wiki but it isnt working

#

nevermind

turbid tide
#

xD

#

๐Ÿค”
@tame light have you also reloaded after downloading the expansion ? /papi ecloud download ExpansionName /papi reload

paper stirrup
#

^

maiden aspen
#

what do the #'s in placeholders mean?

heady urchin
#

Can someone tell me if its possible to do a time since/ count up placeholder

lunar abyss
#

so i dont understand what is going on everytime i close the server for a restart to install or test new configs and plugins it brings up this error at the end to close plugins and i think its courseing problems does anybody know why

https://pastebin.com/dGj4Uu2M

mint fable
#

it looks like the outpost papi hook is throwing errors

#

at net.prosavage.outpost.hook.impl.PlaceholderAPIHook.getAuthor

lunar abyss
#

ok mate let me try removing it

#

thank you @mint fable that seemed to have fixed it

mint fable
#

๐Ÿ‘

velvet forge
#

Is there a way to find out what placeholders are listed from a hook via a command?

warm topaz
#

yea i think so

junior musk
#

/papi ecloud placeholders <expansion>

velvet forge
#

It's not from the ecloud

#

It's a direct hook

#

Custom plugin

junior musk
#

but I don't think it's possible to get the ones from an expansion not on the ecloud

velvet forge
#

Ah

#

Welp

#

Author has gone bye bye too

junior musk
#

actually, it's not even possible to get the ones from the ecloud because it's manually defined by the author in the placeholders section of the expansion's page

#

Author has gone bye bye too
if you got the expansion/plugin, I can maybe try to check =)

velvet forge
#

I have the sauce

#

Just have a guy working on it right now and he's like figuring out how the old author did it, wanted to see if I could get a list for him to check and see if the old ones work

junior musk
#

oki

velvet forge
#

Would that even be a do-able thing though?

#

Have placeholderapi be able to list those directly hooked expansions or no?

junior musk
#

idk

#

I don't think so

#

except if PlaceholderAPI adds a way for the authors to define manually all placeholders in the plugin

velvet forge
#

That would be do-able via the hook in directly system as is right? Just add some more code for them to implement but make it optional

wise goblet
#

So what's the topic

velvet forge
#

In the channel name

wise goblet
#

What plugin?

#

Of the placeholder hook u want to use...

velvet forge
#

It's custom

#

I know like 1 out of 3 of them

#

And the original dev just yeeted off

wise goblet
#

What does the plugin do then

#

And what placeholders do u want :/

#

From it

velvet forge
#

It's basically a revamped and rethought version of the old TreasureHunt plugin for CB 1.5

#

1.4*

wise goblet
#

So which placeholders do u want

#

From that custom treasures plugin

velvet forge
#

It's not so much what I want them to do, we understand that part it's more or less their names since the older dev just hasn't told me their names

wise goblet
#

So that plugin already has placeholders?

velvet forge
#

The new dev is just having trouble tracking them down in the code, was just trying to see if there was a way PAPI itself would list them out ofr me

#

And yeah it has 1 which I know works

#

And there are supposed to be 2 more but the old dev has cucked me

wise goblet
#

Could I help you then?

#

Just send the src or jar in pm

#

I'll try to find the placeholders I guess :/

velvet forge
#

Might not need to just asked the dev if he removed it, seems like he's just gonna rebuild it all. ๐Ÿ˜‚

#

Thanks for the help though. If it's okay and we need help is it fine if I DM you then? ๐Ÿ™‚

#

I can send the src in the mean time if so

buoyant urchin
#

Hello

#

i have a issue with Mysql expansion

#

query: SELECT WINS FROM BedWars WHERE NAME = '%player%'

#

it show me "0" but the value from database is "5"

#

if i use my minecraft name instead of %player% it working fine

brisk coral
#

Because %player% is not a placeholder

buoyant urchin
#

but what must to use?

#

i used %player_name% and same thing

brisk coral
#

Have you ran the two commands

buoyant urchin
#

in default Mysql config from /plugins/PlaceholderAPI/expansions/Mysql

#

appear %player%

#

the player expansion is installed

#

for /papi parse me %player_name% it working

#

๐Ÿ™‚

maiden aspen
#

what do the #'s in placeholders mean?

warm topaz
#

if its what i think u mean, it represents a number i guess.
what placeholder are u talking about?

maiden aspen
#

anything from vaults permissions

warm topaz
#

then yea replace the # with a number

maiden aspen
#

what does the number do?

warm topaz
#

well it depends on which placeholder exactly, for the top placeholders then itll represent the player at that position of the leaderboard. or with the balance commas/formatted placeholders itll represent how many decimal places are being shown

maiden aspen
#

ait

mental night
#

note these placeholders arnt active check pinned messages

atomic spire
#

When using
%vault_eco_top_balance_formatted_1%
and
%vault_eco_top_player_1% it brings up nothing ?

turbid tide
#

because theose placeholders were removed

atomic spire
#

Oh, what can I use then ?

turbid tide
#

read the latest pinned messages

#

message*

#

nothing yet.

#

they are working on adding it to essentials

atomic spire
#

bruh

turbid tide
#

It was creating extreme and useless lag.

left veldt
#

Hello, i am using PAPI and Animated Scoreboard - when i try any effect from the animations extension (I did /papi ecloud download Animations and /papi reload) it just doesnt work. I tried inside the '

#

quotes and outside, it doesnt work.

#

any help would be appreciated.

dapper echo
#

Hello,
I wish to make a ranking of the 3 people with the most money on my server via the plugin HolographicDisplay, vault and AEconomy.
With an addon of HolographicDisplay, I was able to get a PlaceHolderAPI support, but then I was wondering how vault PlaceHolders work (my money plugin is Vault compatible).
That is to say that it is written among others on the wiki :
%vault_eco_top_balance_#%
%vault_eco_top_player_#%
Which one should I use? And if I understand correctly, should I replace the # with the number of the best player I want to get? (the top 1, or top 2...?)
Thank you in advance for your help,
Yours sincerely,
Spinogl

left veldt
#

Firstly, you need to replace the # with the number - correct.

About which placeholder, vault-eco-top-balance-# or if you want it with commas vault-eco-top-balance-commas-# or formatted vault-eco-top-balance-formatted-#

turbid tide
#

please read pinned messages

#

vault top balance was removed

dapper echo
#

Ohh, why was it deleted?
Anyway, it's a bit of a shame to delete it and leave it on the github :/

turbid tide
#

ugh I mean you can still use it if you use an older version of the Vault expansion

dapper echo
#

But as a result, there is no way to make a top 3 for example of the people with the most money ? :/

turbid tide
#

but if you read the message that is pinned

#

you'll understand

#

why it was deleted

dapper echo
#

Ahhh okay, and you would have this version of the extension? :/

And if not, from what I thought I understood at the time (because I'm French), now it's possible to make this top only via essentialsX?

turbid tide
#

not yet

#

it will be

#

I think you need to do /papi ecloud download Vault x and replace x with the version but I don't know what the version is

junior musk
#

baltop placeholders haven't been removed yet

#

just disabled by default

#

you can enable them in your PlaceholderAPI config

dapper echo
#

Ok, thank you very much, it seems to be working!

turbid tide
#

oh

#

didn't know that

#

good to know

low meteor
#

hey, i've given myself the permission placeholderapi.* but i'll always get "You do not have permission to do this!" when i try to use any papi command
what can be the issue?

junior musk
#

didn't know that
didn't know either, I found it while searching for the version where they would have removed the placeholder ๐Ÿ˜…

#

hey, i've given myself the permission placeholderapi.* but i'll always get "You do not have permission to do this!" when i try to use any papi command
what can be the issue?
what's your permissions plugin?

low meteor
#

luckperms

junior musk
#

do /lp user <player> permission check placeholderapi.*

low meteor
#

set to undefined

#

weird

junior musk
#

did you add the permission through the web editor?

low meteor
#

yes

junior musk
#

if yes, make sure you saved and applied the changes

low meteor
#

it is

#

and set to true aswell

junior musk
#

did you press the save button at the top right?

low meteor
#

i'll send you the link via dm

junior musk
#

and executed the command it gives you?

#

ok

low meteor
#

it should theoretically work, right?

junior musk
#

remove the negated *

#

โซ fixed

#

LP was outdated

left veldt
#

Hello, i am using PAPI and Animated Scoreboard - when i try any effect from the animations extension (I did /papi ecloud download Animations and /papi reload) it just doesnt work. I tried inside the '
@left veldt Can someone answer my questions? I tried in quotes and not.

fervent laurel
#

Hallo, I'm using PAPI with Animated Scorboard. Unfortunately the heroes placeholders don't work. I cannot register heroes. Downloading the file works fine, but then after I reload PAPI Heroes isn't listed as an active one.

junior musk
#

@left veldt Can someone answer my questions? I tried in quotes and not.
@left veldt send a screenshot

#

?imgur

tender vaporBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.

junior musk
#

Hallo, I'm using PAPI with Animated Scorboard. Unfortunately the heroes placeholders don't work. I cannot register heroes. Downloading the file works fine, but then after I reload PAPI Heroes isn't listed as an active one.
@fervent laurel are the placeholders integrated into the Heroes plugin?