#placeholder-api

150650 messages · Page 31 of 151

onyx mauve
#

Okay. It still works so i guess i will just leave it

cinder oyster
#

Ulyana))0)21.12.2020:
Hey I have a little problem with the %statistic_time_played% placeholder. The hours are accumulated further and not reset to days after the accumulation of 24. https://imgur.com/a/X1YB5Hy
Ulyana))0)22.12.2020:
What have you already tried and it doesn't work?
Waffle King22.12.2020:
The statistic placeholder bug is know. There's a fix being worked on!

Well...
How quickly will you fix this? How much longer do you have to wait?

trim mist
#

If he doesn't fix it in the next few days, I suppose I can just fix it myself.

cinder oyster
#

Hmm.. Can't you fix it right away?)

trim mist
#

When I have time to do it, sure.

#

There. Test it and report back if it's fixed.

mortal wind
#

any way to round a placeholder's value on its own?

turbid tide
#

nope. you could make a js expansion

#

to round all numbers for you

mortal wind
#

yeah i was going to do that if not

#

thanks

turbid tide
#

no problem

dusk crane
#

Hello, is there a PlaceholderAPI of a Time Counter? something like a stopwatch

turbid tide
winged mountain
tender vaporBOT
#

@winged mountain,

turbid tide
#

what?

winged mountain
#

thanks

sturdy sluice
#

is there any placeholder that parses a custom string when players have / dont have permission? like %[permission]_[truestring]_[falsestring]% or would i have to create my own?

junior musk
#

I think the relcon placeholder can do that

#

else there's the js expansion

sturdy sluice
#

tyty, thats exactly what i need

oak bear
#

Hello

#

I would like to know how to make fluctuating prices depending on JobsReborn level using placeholders

#

I'm using QuantumShop, they say that placeholders work but it doesn't seems to work :/

#

buy-price: 10.0
sell-price: 1.0*%jobsr_user_jlevel_Miner%

#

here is my config for sell price

mint fable
#

can you link that plugin?

mint fable
#

I was looking at that, did I miss a part where it said it supported math?

#

Have you tested the placeholder via /papi parse me %placeholder% to see what the output is?

#

if you've checked both of those this then try the math expansion

#

@oak bear

oak bear
#

Yup, my result is 16 when i do that

#

Idk if it supports math in fact

#

I thought every plugin was able to do math ;-;

#

I DID IT !! thx

#

oh , maybe not

#

This is what I've made , installing math expansion, tried it with papi parse, but doesn't work when used in the config : sell-price: %math_0.01*{jobsr_user_jlevel_Miner}%

#

@mint fable

tender vaporBOT
#

@oak bear,

mint fable
#

hmm that should work

#

wait it works in papi parse?

#

hmm

#

did you surround it in quotes?

oak bear
#

Yup !

#

I tried with and without

mint fable
#

does it support placeholders for amounts in general?

oak bear
#

these quotes : '

#

or these "

mint fable
#

or just in item information like name/lore/etc.

oak bear
#

Idk

#

It only says that it support placeholders

mint fable
#

are you getting any errors?

#

I feel you should be

#

?startuplog

tender vaporBOT
oak bear
#

No errors :/

mint fable
#

hmm

oak bear
#

maybe the sell price doesn't support placeholders and that's sad :c

mint fable
#

that's what I'm thinking

#

could try asking the dev

oak bear
#

Caused by: while scanning for the next token
[18:37:46 WARN]: found character '%' that cannot start any token. (Do not use % for indentation)
[18:37:46 WARN]: in 'string', line 40, column 17:
[18:37:46 WARN]: sell-price: %math_1+5-8*3/9%

#

I changed the placeholder and finally get an error

mint fable
#

has to be in quotes

turbid tide
#

''

#

or ""

#

oh

#

got sniped

oak bear
#

Yup, tried both

#

The price displayed is still 0$ :/

turbid tide
#

/papi parse me %math_1+5-8*3/9% I assume that works?

oak bear
#

Yes

#

It says 3.33 like it should

turbid tide
#

maybe it really doesn't accept placeholders

#

what plugin is that?

oak bear
#

Yup definitely :c

#

QuantumShop

#

If you know a GUI Shop plugin that is compatible with npc's and is easy to set-up and compatible with placeholders, I would be grateful x)

turbid tide
#

btw same error even with "" and '' ?

oak bear
#

Yes :/

#

Oh

#

There is no error showing in the logs

#

But the price stays at 0$

turbid tide
#

try "%math_[precision:0]1+1%"

oak bear
#

okay ^^

turbid tide
#

Well idk any shops other than ShopGui+ and ShopKeeper. The later one is a shop just for items with villagers.

oak bear
#

Still 0$

turbid tide
#

but you could set up SGP with Citizens I guess

turbid tide
oak bear
#

Argh that's a shame

#

Thx for your help, I'll take the hardest path then x)

oak bear
#

Can ShopGUI+ support placeholders ?

turbid tide
#

ugh IDK actually. I shall try

mint fable
#

no

#

doesn't say so on the docs

oak bear
#

bruh

#

Let's use DeluxeMenus only for shops x)

mint fable
#

agreed

#

you might like the checkitem expansion for that too

#

?checkitem

tender vaporBOT
mint fable
#

😉

oak bear
#

What is that ?

mint fable
#

Click here for more information

oak bear
#

Thx sorry

#

Wow this is going to be time consuming but thanks a lot for your help ^^

mint fable
#

👍 gl

#

i think it'll be great

austere hawk
#

So

#

Ive got the error whrn I stop the server

mint fable
#

me.vagdedes.ultimatestatistics.b.b.getAuthor(PlaceHolder.java:32)

#

ultimatestatistics has an invalid expansion

#

they seem to be at least missing an author

#

not sure if it was an issue with papi or not, but you can try the dev build

austere hawk
#

oki

mint fable
#

if that doesn't fix it you'll need to contact the dev of ultimatestatistics

austere hawk
#

Thanks

#

[19:18:03] [Server thread/ERROR]: Could not load 'plugins\PlaceholderAPI-2.10.10-DEV-118-javadoc.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:160) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:144) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.loadPlugins(CraftServer.java:383) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:185) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:808) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:164) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_271]
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
... 7 more

#

Oh

#

I downloaded javadoc

#

xD

radiant sparrow
#

why are none of my ecloud downloads working

turbid tide
#

?ecloudblock

tender vaporBOT
radiant sparrow
#

not work

#

no expantions found

mint fable
#

on the website?

radiant sparrow
#

ingame

#

after download

#

i did

mint fable
#

Did you download them from the website?

radiant sparrow
#

yes

#

papi ecloud list all

mint fable
#

and then reloaded?

radiant sparrow
#

ys

mint fable
#

your ecloud is blocked

#

you can't use the ecloud commands

radiant sparrow
#

why

mint fable
#

so you have to use the website and download manually

radiant sparrow
#

:c

#

but i did

mint fable
#

?ecloudblock

tender vaporBOT
mint fable
#

read that this

radiant sparrow
#

dude

#

i did

mint fable
#

so why are you trying to use the ecloud list all?

radiant sparrow
#

and i followed it exactly

mint fable
#

just use the regular list

#

/papi list maybe

radiant sparrow
#

ok

mint fable
#

/papi reload

#

that should say something like Loaded 2 expansions

austere hawk
#

hex support when?

turbid tide
#

ugh make your plugin detect when the file is change and reload the config

austere hawk
#

does anyone know if Placeholder API is compatible with java 11?

turbid tide
austere hawk
#

thank u my bad

smoky raft
#

I want to display the total online players from two servers, through a placeholder, how do I do this?

#

Hi
help me pls

turbid tide
#

%math_[precision:0]{bungee_server1}+{bungee_server2}%

#

you need the Math and the Bungee expansions

#

/papi ecloud download Bungee /papi ecloud download Math then /papi reload

#

execute these

smoky raft
#

thx

fiery panther
#

Hi I need help. I try to connect the Skript plugin with the TAB plugin and enter the command /papi ecloud download Skript and then /papi reload no and it pops up that no extension has been added

#
PlaceholderAPI: 2.10.9

Expansions Registered:
  ultimateclaims [Author: Songoda, Version: 1.3.1]
  tab            [Author: [NEZNAMY], Version: 2.8.9]
  vault          [Author: clip, Version: 1.7.0]

Expansions Directory:
  Expansion-vault.jar
  Expansion-skript.jar
vocal meteor
#

where can I find the MurderMystery2 placeholders? (I have to use it for LeaderHeads)

slow crystal
vocal meteor
#

?

mint fable
#

what is this man

#

I don't think it has placeholders @vocal meteor

slow crystal
#

sorry wrong channel 😅 😳 😐 clojuremoon

vocal meteor
mint fable
#

how do you know?

#

it says it supports placeholderapi placeholders

#

but i don't see that it adds any

#

type /papi dump

#

=paste

tender vaporBOT
mint fable
#

paste that there ^

mint fable
#

read what you just sent me

vocal meteor
#

ok

mint fable
#

it isn't checked

#

you should be able to get somebody to make an expansion for it though

#

it has an api

vocal meteor
#

ah

#

idk how to create a jar

mint fable
vocal meteor
#

ok

mint fable
#

👍 gl

#

if you get somebody to make it they can put it on the ecloud for everybody to use as well

tender vaporBOT
slate prism
#

Hello, is there an updated VotingPlugin expansion?

#

I used /papi ecloud download VotingPlugin and it installed and all but it won't load. It says its outdated.

viral breach
#

hoping someone can help me out with this error i get whenever someone joins the server

trim mist
#

Show that to the dev of PvPStats. They are passing in the wrong information.

viral breach
#

thought so

#

thank you

#

its a wrong API on my scoreboard

pine moon
#

how can i get pinger listed restarting when server is restarting

pine moon
#

does bungee supports vanished players

keen crown
#

Will skript papi ever be updated ;-;

vivid sparrow
haughty hare
#

Is %team_color% supposed to output <aa00aa>username?

#

So update, surrounding the prefix in pointed brackets (which I need to do because I want to show like that in the chat) causes that problem

rare lily
haughty hare
#

It seems at the moment to be a problem on the chat plugin side

turbid tide
rare wave
#

Hi, I have an issue with a placeholder. I'm using "LocalTime" placeholder "%localtime_time_d/m/y%" and I want it to display day, month and year. But it does this

turbid tide
#

@rare wave m stands for minutes. use M for month

rare wave
#

ok

turbid tide
#

%pinger_max_testplugins.com:25565%

#

I think this is the only one that can do that

runic dirge
#

is it possible to put a placeholder inside of a placeholder inside of a placeholder?

#

%math_10*(ParseOther_{ern}_{essentials_homes_max)}%

#

trying to achieve something like that

lucid idol
#

does placeholderapi not work with the shockbyte hosting company? I installed it but its and installed the extension but it just shows %server_tps_1_colored% but it was working fine on my testing server that I host locally

trim mist
#

Host shouldn't matter. Never heard of something like that. Might want to reach out to them.

lucid idol
#

the hosting company sucks and doesnt respond to support messages, and they have banned plugins in the past but I couldnt see if placeholderapi is also banned

lilac oxide
#

any clue why the requirement commands don't run when I click on this?

  '11-next':
    material: YELLOW_STAINED_GLASS_PANE
    slot: 11
    display_name: '&bExpansion 2'
    lore:
      - "&eIncreases Your Island Radius"
      - "&eby 10, For a Total of 70"
      - "&r"
      - "&aPurchase for 50.0 emeralds."
    priority: 5
    right_click_requirement:
      requirement_name:
        next:
          type: has money
          amount: 50
          deny_commands:
            - "[message] &6GamersNest &8&l &cNot enough emeralds to purchase upgrade."
            - "[message] &cThis upgrade cost 50.0 emeralds."
            - "[close]"
#

also, for some reason it only shows when its priority is below its competitors, but shouldent it be the opposite

lucid idol
#

I tried reloading papi and this is the error info could someone help?

7.12 22:11:42 [Server] INFO Placeholder expansion registration initializing...
27.12 22:11:42 [Server] INFO Fetching available expansion information...
27.12 22:11:43 [Server] ERROR failed to load class files of expansions
27.12 22:11:43 [Server] INFO java.util.concurrent.CompletionException: java.io.EOFException: Unexpected end of ZLIB input stream
27.12 22:11:43 [Server] INFO at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$4(LocalExpansionManager.java:326) ~[?:?]
27.12 22:11:43 [Server] INFO at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) ~[?:1.8.0_211]
silver minnow
lucid idol
#

I got it fixed. Removing each expansion and re-running the install commands from the server console fixed it

indigo anchor
#

i have download the ecloud, for example %vault_eco_balance% working for me

runic dirge
#

you using latest papi version?

indigo anchor
runic dirge
#

what economy plugin you using alongside vault?

indigo anchor
#

CMI for Vault

runic dirge
#

im very unsure, i'm using essentials myself and it works fine so im assuming its an issue with CMI, im sure someone with more experience with this plugin could help out more D:

#

how would i get a js placeholder like javascript var total = parseInt('%parseother_{args[0]}_{essentials_homes_max}%'); function hp() { return Math.round(total * 10); } hp(); to work?, sorry i'm really new to any sort of coding D:

#

the placeholder input is meant to be %javascript_placeholder_PLAYERNAME%

#

and should get PLAYERNAME's homes, multiply it by 10 and output the value

restive cairn
#

is there a placeholder for a random online player via chat? or is that not a thing?

balmy marten
#

That sort of thing you'd need to make using a javascript placesholder

lilac oxide
#
var min = null;
function hp() {
   if (args.length == 1) {
       min = args[0];
   }
   var total = parseInt(`%parseother_${args[0]}_{essentials_homes_max}%`);
   return Math.round(total * 10);
}
hp();

I haven't tested this, but from my knowledge this should work

stoic grove
#

have you registered it?

ancient wyvern
#

Can I get the full developer api

#

Of placeholder

#

Link

rare wave
#

Hi, I checked the WIKI and didn't find placeholders by this person -- PlaceholderAPI Support from @final shadow

tender vaporBOT
#

@rare wave,

rare wave
#

its listen in this plugin

vivid sparrow
#

Indeed very hard to find them

rare wave
#

those doesn't work

#

I tried placing them into essentials

#

and nothing

brisk coral
#

=pl chatinjector

tender vaporBOT
rare wave
#

So in essentials {clans_colored_clan_tag}

#

right

#

Okay! It worked, but how do I move it right, so it would be [prefix] [clan] [nickname]: message

austere hawk
#

Hello, how i make enchanced tripwire hook?

#

bad channel sry

dreamy pecan
#

Hi guys i have a problem with the %statistic_time_played% placeholder. It returns 1d 33h 20m 10s instead of 2d 9h

#

Is there a way to fix it?

indigo anchor
#

Hello why it doesnt work please? https://prnt.sc/wb2ulq
i have download the ecloud, for example %vault_eco_balance% working for me

swift patrol
#

placeholder for mob killed ? or mob+players killed in world ?

rare lily
turbid tide
#

oh

#

just saw you editing

#

lmao

#

as I was presisng enter

rare lily
#

¯_(ツ)_/¯

turbid tide
#

you know folder support may not look like a lot but it will help so much with my 100+ js files lmao

junior musk
#

||relationnal placeholders support in JS-Expansion when?||

rare lily
#

Lol

#

Will do soon

junior musk
#

👀

rare lily
turbid tide
#

well I assumed that's how it works xD

rare lily
#

Also, Nashorn still exists in this

turbid tide
#

oh that's nice.

#

but will it default to nashron?

#

or to graal or whatever you've implemented

rare lily
#

I'm defaulting it to graal.js now

#

I do have a to-do list on features on my notebook

#

I even wrote down the biggest text ever: "Debugggg" ._.

turbid tide
#

good

#

that's all I wanted to hear xD

rare lily
#

Let's see my to-do list now

#

I had 12 features pending last time

turbid tide
#

now its 15

#

lmao

rare lily
#

Oh yes, wiki editing is also on to-do list now

#

So it's 16...

#

Someone kms pls 👀

turbid tide
junior musk
#

no

turbid tide
#

or you know Tangu, you could help him xD

junior musk
#

||why do everyone always call me Tan or Tangu but never Tang or Tanguy ;-;||

turbid tide
#

actually

#

I mostly call you tanguy

junior musk
#

and I already have my addon for TAB to work on x)

turbid tide
#

but today

#

I feel like tangu is better

rare lily
#

Hi gab

turbid tide
#

yes hello gab

rare lily
#

:)

turbid tide
#

gab guy tan

#

hello

swift patrol
#

placeholder formob killed ?

#

*placeholder for mobs killed count ?

junior musk
turbid tide
#

not sure if the second one is right but that one is suppose to count the total

turbid tide
#

I just realised

#

you said TAB ADDON

junior musk
#

it's a plugin

turbid tide
#

for some reason my mind translated that into PlayerList Expansion

#

:))))

junior musk
#

but which requires TAB

#

LOL

#

wtf

dreamy pecan
turbid tide
#

Berluscotti

#

its a known bug

#

and a fix is in the works

#

nothing you can do until then tho

turbid tide
# junior musk wtf

for some reason sometimes my brain thinks it can predict things and I just don't read full messages I just assume based on halfs or even less

#

most of the times it works

#

but not always

runic dirge
turbid tide
#

yeah

#

1 sec will fix it

runic dirge
#

thank you ❤️

#

i'd be fine if i just knew how js worked, or how to put a variable into a placeholder D:

turbid tide
#
var min = null;
function hp() {
   if (args.length == 1) {
       min = args[0];
   }
   var total = parseInt(PlaceholderAPI.static.setPlaceholders("%parseother_" + args[0] + "_{essentials_homes_max}%"));
   return Math.round(total * 10);
}
hp();```
#

well its not js

#

its the fact that you need to parse the placeholder inside

#

since you're making it by concatenating strings.

runic dirge
#

ahhhhh i see

#

okay okay that makes sense now

turbid tide
#

also idk how js works but I know in some languages '' is for characters and "" is for strings so that might've been a problem

runic dirge
#

okay so i tried it, i also made a small edit just so that it matches the format the placeholder needs

#

uhh, it seems to give another error now

#

so im using this javascript var min = null; function hp() { if (args.length == 1) { min = args[0]; } var total = parseInt(PlaceholderAPI.static.setPlaceholders("%parseother_{" + args[0] + "}_{essentials_homes_max}%")); return Math.round(total); } hp();

#

thats the error

#

(file is example.js, since this is my first one i thought it would probably be easiest)

#

oh is PlaceholderAPI.setPlaceholders(Player,String) meant to be called like that?

#

so like PlaceholderAPI.setPlaceholders(ern, %placeholder%) ?

junior musk
#

you have to provide BukkitPlayer before the placeholder in the method

turbid tide
#

oh yeah

junior musk
#

PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%placeholder%")

turbid tide
#
var min = null;
function hp() {
   if (args.length == 1) {
       min = args[0];
   }
var total = parseInt(PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%parseother_{" + args[0] + "}_{essentials_homes_max}%"));
   return Math.round(total);
}
hp();
runic dirge
#

it doesn't seem to like the + "args[0]" + bit

#

but yes that method works, just putting a placeholder outputs the correct thing

turbid tide
#

what if you put your name

#

directly in the js file

runic dirge
#

i've changed it to javascript PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%parseother_{" + "ern" + "}_{essentials_homes_max}%")

turbid tide
#

instead of args[0]

runic dirge
#

also doesnt work D:

#

returns NaN which i assume means its not reading the player name correctly

turbid tide
#

wait

#

what if you return

#

do return PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%parseother_{" + args[0] + "}_{essentials_homes_max}%")

limber ice
junior musk
#

Bungee expansion broken blobthinkingeyes

turbid tide
#

yeah

#

that's what it looks like

junior musk
#

var total = parseInt(PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%"+"parseother_{" + args[0] + "}_{essentials_homes_max}%"));

limber ice
#

but it only does it one one server, not all

junior musk
#

try that Saphirus

runic dirge
#

Blitz returns nothing now

#

okok

turbid tide
runic dirge
#

ayy works 😄

#

thank you guys !

#

i shall now be able to put 5 placeholders inside of each other

turbid tide
#

Ironic go in the plugins/PlaceholderAPI/expansions folder

#

delete the bungee expansion

#

or expansions if there are more

#

and download the latest

junior musk
#

yeah so the parseother placeholder was trying to parse itself before the method, and was counting the + and " inside the placeholder

turbid tide
#

using the ecloud command

turbid tide
#

xd

limber ice
#

there was two of them

turbid tide
#

yeah assumed so

#

happened to me before as well

#

I think one of them was called Expansion-Bungee and the other one Expansion-bungee

#

that's why it didn't delete one of them

limber ice
#

yes, but I thought I checked all my server folders for double expansions a few months ago, guess I missed one

turbid tide
#

maybe. or it just started recently maybe you tried updating or something

weary vine
#

I need server time.
I using: %server_countdown_dd.MM.yyyy% but don't working

turbid tide
#

%server_time_<format>%

#

cooldown is for ... cooldowns xD

weary vine
#

Thanks

limber ice
quiet gulch
#

yay null pointer exception

#

my favourite exception

turbid tide
limber ice
#

no clue

turbid tide
#

Failed to download expansion information lmao

#

is papi going crazy*

#

ahhh

#

lmaoo

limber ice
#

StatzExpansion.jar
Expansion-vault.jar
Expansion-UltimateVotes.jar
Expansion-Statistic.jar
Expansion-server.jar
Expansion-Player.jar
Expansion-Pinger.jar
Expansion-LuckPerms.jar
Expansion-Javascript.jar
Expansion-Essentials.jar
Expansion-DeluxeTags.jar
Expansion-ChatReaction.jar
Expansion-bungee.jar

turbid tide
#

I'm crazy

#

nah

#

its trying to download info about an expansion

#

and it can't find it

#

but which expansion is the question

#

maybe pinger

quiet gulch
#

delete them one at a time

turbid tide
#

since the error shows right after pinger

quiet gulch
#

until it works

turbid tide
#

well I assume the placeholders will still work

#

it just can't find info like author, version etc.

quiet gulch
#

a very unsightly error tho

limber ice
#

these two didn't load```StatzExpansion.jar
Expansion-Statistic.jar
StatzExpansion.jar

turbid tide
#

and chatreaction

#

uh

#

you're sure the expansions are installed/

#

in the folder I mean

#

try deleting them if they are and redownloading

limber ice
#

but it was in list of not loading, saying clip needs to update it

#

I removed those three and still getting the error, rebooting the server

turbid tide
#

the error is from Pinger I think

limber ice
#

error came back after I downloaded Statz

#

@turbid tide the expansion in question is Statz

tender vaporBOT
#

@limber ice,

turbid tide
#

ah

limber ice
#

it's my expansion and I don't see any issues in code and others had checked it over a few months ago

#

could it be my expansion is not in list for when it checks for information during a reload of papi

mild gale
#

I already asked in their discord support but it's been 2 days and no one's answering.

junior musk
#

do /papi parse me %the_placeholder_here%

silver minnow
junior musk
#

and tell us what it returns

silver minnow
#

does the plugin support PAPI?

silver minnow
#

🤔

#

wait

#

what plugin is that

#

the

#

gui

mild gale
#

it's built in. I didn't make this gui

silver minnow
#

maybe it doesn't support papi in its menus

mild gale
#

oof but I've seen server's they can show how many keys they have in their menus

silver minnow
#

they use other plugins

#

not everyone uses CrazyCrates

junior musk
#

or they use CC but with a menu plugin ThinkSmart

loud pier
#

every time I add an ecloud I have to restart the server for it to detect it ??

loud pier
#

oks thanks

loud pier
#

Is there a way to make a timer with some placeholder? a time remaining.

turbid tide
#

well you could use the %server_countdown one

#

I guess if that's what you want

loud pier
#

If that, thank you. The last question is if there is any placeholder for a kils counter and for detecting live players.

turbid tide
#

live players? what does that mean

#

but kill counter %statistic_player_kills%

loud pier
#

It is for a uhc, to tell how many players are left.

turbid tide
#

so alive players basically?

loud pier
#

yes

turbid tide
#

I wonder if PlayerList has that option

#

what does alive mean?

#

does it mean survival gamemode?

mint fable
#

playerlist doesn't have gamemode detection unfortunately

loud pier
#

If that means, too bad it doesn't have gamemode detection, okay, thanks for your patience.

mint fable
#

@junior musk

#

gamemode detection playerlist expansion?

junior musk
#

I'm sure it had

#

or actually

mint fable
#

perm detection

#

but not gamemode

junior musk
#

you could use placeholder detection

mint fable
#

ooh

#

how would that work

#

oh wait

#

I see all the info on your expansion page

#

it says it has gamemode

junior musk
#

yeah I remember someone asking for that a while ago

loud pier
#

Use the server countdown and the number comes out but the counter does not advance.

turbid tide
#

ugh where are you using it?

#

because it does advance but most likely the placeholder doesn't update

loud pier
#

I am using it with the animated scoreboards.

turbid tide
#

and you're sure the scoreboard updates?

#

what if you do /papi parse me %placeholder% and after a few seconds you do it again

#

does it updatE?

loud pier
#

It was not updated, it was 0 in the chat and the scoreboard remains the same. I have it as %server_countdown_s_10%

turbid tide
#

oh well that will just count untill the seconds hit 10 then it will stay at 0 until they reach 0 again

#

like every minute

wispy crow
#

Anyone know why when using %statistic_mine_block% it counts destroying ONE block as two ? By this I mean if i have 0 blocks mined, if I destroy 1 block it will show as 2 blocks mined.

mint fable
#

@pastel oracle let's take it over here

#

it's not really development stuff

pastel oracle
#

ok

mint fable
#

type /papi parse me %worldguard_region_name%

#

what does it return

pastel oracle
#

spawn

mint fable
#

and what happens when you parse the javascript placeholder?

pastel oracle
#

nothing

mint fable
#

how did you set it up?

#

does nothing return? or does it return the placeholder?

pastel oracle
#

return nothing. Just an empty line

mint fable
#
var zona = "%worldguard_region_name%";
if(zona == "spawn"){
    "&eCiudadela";
}else{
    "&eLugar desconocido.";
}
#

try that

#

no function

pastel oracle
#

.... [22:27:42 ERROR]: [PAPI] [Javascript-Expansion] An error occurred while executing the script 'ubicacion':
<eval>:3:4 Invalid return statement
return "&eCiudadela";
^ in <eval> at line number 3 at column number 4

mint fable
#

o

turbid tide
#

you returning in a function?

mint fable
#

okay i edited it

#

wait

turbid tide
#

second return

#

as well

mint fable
#

okay edited again

pastel oracle
#

Omg, that works. Thank you so much.

mint fable
#

👍

grizzled pumice
#

any idea why this isn't working?

turbid tide
grizzled pumice
#

uh 1 sec

grizzled pumice
#

and when i do it for skypvp

#

it says 4

turbid tide
#

oh it works then. what plugin are you using to show the placeholders?

grizzled pumice
#

which is correct

#

I am only using Citizens

#

which worked before

#

and showed placeholders fine

#

i do update citizens fairly often while using dev builds

#

using the latest dev build right now

turbid tide
#

oh idk how citizens works. it seems to be a problem with that but I can't say for sure. Never used citizens names to display placeholders.

grizzled pumice
#

alright

scarlet valve
#

Is thier any other placeholder that can replace LocalTime addon bc it pretty broken

turbid tide
#

its not broken actually

#

it works pretty well

scarlet valve
#

Are you sure

turbid tide
#

100% xD

scarlet valve
#

I try it

turbid tide
#

I thought its broken til like last week

scarlet valve
#

The mm get buged

turbid tide
#

how are you using it?

#

mm is minutes

scarlet valve
#

In a scoreboard

turbid tide
#

no like the placeholder you're using

#

MM is months

#

mm is minutes

scarlet valve
#

Really

turbid tide
#

yeahj

#

there is a link

#

to all of them explained

#

under the expansion on the wiki

scarlet valve
#

Ok

#

Ty

#

I was using mm

turbid tide
#

for months I assume?

scarlet valve
#

Yes

turbid tide
#

yeah happened to another guy a couple days ago as well.

scarlet valve
#

Dd/mm/yyyy

turbid tide
#

yeah

#

btw Dd

scarlet valve
#

dd

turbid tide
#

ah that's fine

#

D is different than d as well

#

D is day in year

#

d is day in month

scarlet valve
#

Aa

turbid tide
#

you can see all that on the link I sent

scarlet valve
#

That ciol

#

Cool*

#

Well thank you so much

turbid tide
#

yeah its the default java Date Fomrat

#

no probl

turbid tide
#

Nashron won't work on java 15. They removed it. A new engine is being added to the js expansion tho. Graal if I'm not mistaking.

#

by they I don't mean the developers of the js expansion but the developers of java.

#

you have to wait for it yes. Are there gone be such informations if its working or something? by this you mean what the stage of the integration is? then I don't think so

loud pier
#

they know how to use placeholders %statistic_seconds_played%
%statistic_minutes_played% and %statistic_seconds_played_remaining%
%statistic_minutes_played_remaining%

#

?

steep thorn
turbid tide
#

probably google translate

vivid sparrow
#

What is this question @steep thorn lol

steep thorn
#

Assuming he meant 'somebody knows how to use xyz', you need to make sure you installed the Statistic expansion

#

<insert bot command to show fancy info>

glass cypress
#

Anyone know how to use a placeholder inside a placeholder inside a placeholder?

#

Like this: %foo_%bar_%ye%%%

#

Ive only found how to use one inside another

#

by replacing the % with {

#

But I cant put three like the example

turbid tide
#

don't think that's possible. also not all placeholders even accept placeholders using {}. Just those who added support.

#

probably your best bet is to make a javascript placeholder and then use the javascript placeholder inside a placeholder

glass cypress
#

%formatter_number_format_{math_{something}+{something_else}[precision:0]}%

#

both formatter and math have support

turbid tide
#

make a javascript placeholders instead of using the math placeholder

glass cypress
#

got a link to a github explaining how?

turbid tide
#

yeah but it will still break because they probably don't support placeholders inside placeholders

glass cypress
#

ty

turbid tide
#

👍

mint fable
warm plover
#

Epic! Thank you SO much!

mint fable
#

👍

primal nebula
#

How can I use papi in item lore?

#

Is that possible

#

@mint fable

tender vaporBOT
#

@primal nebula,

primal nebula
#

oh

#

my bad

half needle
#

wanted to know how to download mypet expansion?

silver minnow
mint fable
#

mypet doesn't have an expansion, it's included in the plugin

#

@primal nebula What do you mean by that?

primal nebula
#

@mint fable I want to have a placeholder show up in the lore of an item

mint fable
#

what item?

primal nebula
#

I'm doing a custom gui and I want the lore of an item in the gui to have a luckperms placeholder

#

Just any item

mint fable
#

okay now we're getting somewhere

#

what gui plugin are you using

silver minnow
#

rip

half needle
#

I want to know about right click command

silver minnow
half needle
#

how it works

#

can you let me send pictures?

tender vaporBOT
silver minnow
half needle
#

need help

silver minnow
#

....

primal nebula
#

@mint fable my bad, im using gui plus

tender vaporBOT
#

@primal nebula,

primal nebula
#

its a drag and drop gui creation plugin

#

and I just wanted a lore of one of the items in the GUI to have a placeholder in the lore

turbid tide
#

gui plus

#

he said in a message above

mint fable
#

yes it supports PAPI, to use the lp placeholders just install the expansion

#

@primal nebula this

#

I must've been away from pc when I got pinged earlier

#

/papi ecloud download luckperms
/papi reload
There it is since it disappeared from the bot

turbid tide
#

it should stay for like an hour I think

#

more reasonable

austere hawk
#

What is the placeholder api for Multiplier? 🙂

turbid tide
#

what plugin you talking about? AutoSell?

austere hawk
#

yes

turbid tide
#

When have you purchased the plugin?

austere hawk
#

today

turbid tide
#

those are the existing placeholders

#

for autosell

austere hawk
#

thanks

turbid tide
#

no problem

dense steeple
#

Hey!

#

I have a warn how can i fix it?

#

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

turbid tide
#

that's not an error

#

and nothing you can do about it. its just some info spigot tells you.

primal nebula
#

Hey blitzzz

#

or any support

#

still having the issue with placeholders in item lore

#

when I use a placeholder in lore it just shows as the placeholder and not what its supposed to show

turbid tide
#

ugh have you tested the placeholder with /papi parse ?

primal nebula
#

yup it works

#

with parse

turbid tide
#

well then idk . its something to do with your gui plugin.

#

I think cj checked and said it supports PAPI?

primal nebula
#

No well, im just trying to add the placeholder to an items lore

#

for now

#

And it wont work

turbid tide
#

well I mean

#

depends what you're using

#

for that

#

like that's not something you can just do

primal nebula
#

Im using a plugin called simple rename

turbid tide
#

and does it specify that you can use placeholders from PAPI?

primal nebula
#

Nope

turbid tide
#

you'll need to find a plugin that does

#

placeholders won't just work everywhere. the plugins you use need to support them

primal nebula
#

rip

#

alright

rare lily
#

8 more to go with JSE features...

#

JSE = JS-Expansion 👀

warm topaz
#

👏

neat garnet
#

Hi, how would I put a placeholder in essentialsx kit item lores?

mint fable
#

not sure if you can, but IF you can, the placeholder won't update

neat garnet
#

that's fine

#

but rn it's just showing a space

mint fable
#

oh so it might work, what placeholder are you using?

neat garnet
mint fable
#

oh that's what you meant

neat garnet
#

yeah

mint fable
#

because _ are replaced with spaces

#

right

neat garnet
#

yep exactly

mint fable
#

I don't think it's possible

#

BUT

#

I have a better idea

#

that might work

#

can I see the kit config?

neat garnet
#

yep

mint fable
#

=paste

tender vaporBOT
neat garnet
mint fable
#

hmm

#

I had an idea

#

but it won't work

#

I actually don't even know how I would make it work

neat garnet
#

is there maybe an external kit plugin that could be used instead

mint fable
#

can you use commands in kits or no?

neat garnet
#

I believe so

mint fable
#

do you have deluxemenus by chance?

neat garnet
#

yep!

mint fable
#

okay

#

so /dm execute [console] give %player_name% ...

#

that might work

#

make sure to get the player expansion if you don't have it

neat garnet
#

A little confused, how would deluxemenus work in that instance?

mint fable
#

deluxemenus implements the command /dm execute

#

/dm execute <player> [actiontype] <action>

#

o wait

#

hmm

#

/dm execute {player} [console] give %player_name% 278:0 1 dig_speed:10 durability:10 fortune:2 name:§3§lMEMBER_§3|_PICKAXE lore:|&d&lInformation|&d&l⎟&fOwner:&d{USERNAME}||&c&lEnchantments|&c&l⎟&fEfficiency%tokenenchant_token% itemflags:HIDE_ATTRIBUTES,HIDE_ENCHANTS

graceful ravine
#

Heyo, I want to display the user balance(essentials x) in a scoreboard via placeholder, but the essentails_worth isn't working

#

strange is that the essentails_afk works though

mint fable
#

do you have that

#

o

graceful ravine
#

Yessir

neat garnet
#

now I'm trying to figure out how to add commands to kits

mint fable
#

/papi parse me %essentials_worth% what does that return?

graceful ravine
#

2 secs

mint fable
#

oh wait it might be {username}

#

@neat garnet just put /

graceful ravine
#

its just a empty output

mint fable
#

what is worth?

graceful ravine
#

idk xd

mint fable
#

or what do you think it is?

graceful ravine
#

the balance

#

:pepeHands

junior musk
#

it's the worth configured in worths.txt or smth like that of an item, and the placeholder returns the worth of the item in hand

graceful ravine
#

my bad

mint fable
#

that's what I figured Tanguygab

graceful ravine
#

sorry

mint fable
#

except replace it with {USERNAME} because i'm dumb

neat garnet
#

doesn't seem to be giving me a pickaxe 😦

mint fable
#

do you have the player expansion?

neat garnet
#

yep

mint fable
#

what if you type /give <your_name> 278:0 1 dig_speed:10 durability:10 fortune:2 name:§3§lMEMBER_§3|_PICKAXE lore:|&d&lInformation|&d&l⎟&fOwner:&d{USERNAME}||&c&lEnchantments|&c&l⎟&fEfficiency%tokenenchant_token% itemflags:HIDE_ATTRIBUTES,HIDE_ENCHANTS

#

in chat

#

or console

neat garnet
#

Doesn't seem to be working unfortunately

lofty grove
#

THe data thing in the javascript expansion is so inconsistent with saving to the file

grave veldt
#

are these the only placeholders for DeluxeChat (1.12.0+)

tender vaporBOT
#

@grave veldt,

mint fable
#

how so @lofty grove ?

grave veldt
#

I can't find anything else

mint fable
#

yes

#

what else are you looking for

grave veldt
#

like

#

player name

#

placeholder

mint fable
#

well that's in the player expansion

#

that entire list of placeholders is available through papi

#

those are just the ones that deluxechat provides

grave veldt
#

yes, I've done /papi ecloud download etc, but when i do it, it doesn;t work

mint fable
#

when did you buy dchat

grave veldt
#

Does it need to be exact date?

mint fable
#

rough estimate

#

week ago? month? years?

#

🤷‍♂️

grave veldt
#

around may - june

mint fable
#

?spigot

tender vaporBOT
mint fable
#

can you please link your spigot account for further help with dchat

#

we have a dedicated channel for it that could provide help easier for you

grave veldt
#

I've done that

#

now

#

anyway, carrying on

lofty grove
#

Like I am using Placeholder.saveData() and it still is not consistently saving the data to file

mint fable
#

Can you elaborate on that @lofty grove ?

#

=paste

tender vaporBOT
mint fable
#

send your javascript

#

how are you testing the placeholder?

runic dirge
#

is there a placeholder to parse a nickname without colour codes?

#

e.g. &3er&en ---> ern

mint fable
#

you could probably make a custom javascript placeholder to replace all color codes

serene raven
#

i haven't been able to figure this out for the past hour, but I'm using a leakbanking placeholder for my /bal and it just won't show the bank balance for players. it works for me just fine though

runic dirge
turbid tide
#

probably not.

turbid tide
serene raven
turbid tide
#

right but there isn't a list of available placeholders

#

on the spigot page

#

that's what I'm saying

serene raven
#

When i /papi parse %leakBanking_bank% it works but it just doesn't show there which is weird

turbid tide
#

and what are you using to create the /bal command?

warm topaz
runic dirge
#

yes

warm topaz
#

i can add this placeholder to the expansion (in a fork), seems useful

runic dirge
#

haha if its not too much for yourself

turbid tide
#

yes useful ||not||

runic dirge
#

i have a couple different niche use-cases for it, im not particularly sure many other people would use it for the same thing

turbid tide
#

I mean its going to be just a fork anyways.

runic dirge
#

indeed, but they're still spending the time to work on it

warm topaz
mint fable
#

👀

serene raven
#

I am using CMI for the /bal command. Their custom text should parse the placeholders, procosmetics placeholder works fine

#

I show their coin balance aswell

turbid tide
#

and if you do /papi parse me %placeholder% for the balance placeholder it works?

serene raven
#

yes

turbid tide
#

oh that's strange. and you're sure you don't need to give others some permission or something?

#

maybe it works for you because you're OP?

mint fable
#
sagi.leakBanking.coinscmd : to access the command /lb coins
sagi.leakBanking.openGUI : to access the command /lb Player openGUI```
#

the perms

#

maybe they need the coinscmd perm?

#

or maybe it's a cmi perm

serene raven
#

I tried to give one of my staff perms, didn't work. Is it possible there is something wrong with the placeholder itself?

mint fable
#

what happens when you type it?

#

what happens when somebody else types it?

#

=imgur

tender vaporBOT
serene raven
mint fable
#

ah. leakbanking has a discord

#

also, if you type /papi parse <otherplayer> %leakBanking_bank% does it work?

#

@serene raven

serene raven
#

huge error in console if i do that

mint fable
#

contact leakbanking

serene raven
#

alright

brazen atlas
#

is there no placeholders for pex?

warm topaz
#

vault handles permission

brazen atlas
#

ah

warm topaz
#

(also u should use LuckPerms instead, even the dev of pex recommends it)

brazen atlas
#

Yeah, but its sort of confusing for me. I like editing the file rather than online editor and cmds in game..

warm topaz
#

u can have flatfile storage too 🙂

mint fable
#

or yaml

brazen atlas
#

i did yaml

#

where would it save and do I need to restart the server?

mint fable
#

I assume in the luckperms folder

#

not sure about restart, I would've changed that setting when the server was shut down

vivid sparrow
#

Dont edit files manually @brazen atlas

mint fable
#

wot

vivid sparrow
#

Things can change while you are editing it and your changes will 99% override them

mint fable
#

usually you edit the group files which are mostly fine

#

only thing would be a user file that you happen to override when another change happens

brazen atlas
#

i just deleted luckperms, pex is working fine and much more "old skool" which I appreciate 😄

mint fable
#

I've always edited group files to remove/add perms while the server is live

vivid sparrow
#

"Pex is working fine" 🙄

brazen atlas
#

XD

mint fable
#

groupmanager best

mint fable
#

there's no reason not to gaby

warm topaz
#

pex to lp converter 🙂

vivid sparrow
#

Luck made an entire web interface for this to be easier and you edit the file manually @mint fable ??

brazen atlas
#

i will need better reasoning to convert hehe

mint fable
#

correct I would

#

web editor sucks

#

I hate it lmao

#

so clunky

brazen atlas
#

^^

#

^^

mint fable
#

yaml = best

brazen atlas
#

^^

vivid sparrow
mint fable
#

ya

#

pex isn't necessarily "fully functional"

vivid sparrow
mint fable
#

think? I know

vivid sparrow
mint fable
#

iirc it's actually very outdated

vivid sparrow
#

Yes

mint fable
#

no reason to use out of date

brazen atlas
#

ermm

mint fable
#

especially when luckperms also has yaml storage

#

and you can keep doing what you've been doing

brazen atlas
#

yeah but its ugly

vivid sparrow
#

Idk why people say luckperms is complicated to use LOL

mint fable
#

the yaml storage?

brazen atlas
#

yes

vivid sparrow
#

Commands are just structured very well

brazen atlas
#

pex has everything on one file

mint fable
#

oh

#

that's disgusting

vivid sparrow
mint fable
#

ngl

brazen atlas
#

ehh

vivid sparrow
#

Is called STRUCTURE

mint fable
#

that is a file you shouldn't update while server is live lol

vivid sparrow
#

^

brazen atlas
mint fable
#

ya... luckperms live editing is okay

#

mainly because when you make a change, it automatically loads that change

brazen atlas
#

but maybe i just need a better understanding for lp

mint fable
#

it detects it

vivid sparrow
mint fable
#

I think if you check the wiki or even watch a video or 2 you'd switch pretty easy

#

it's just knowing/learning how to do everything at the start

vivid sparrow
#

All commands are self explanatory though

mint fable
#

also true

#

and lp wiki is top tier

vivid sparrow
#

"lp user x permission set y"
lp subcommand target action action value

#

Easy

brazen atlas
#

i will have to play with it more

vivid sparrow
#

Smh cj

brazen atlas
#

but hopefully pex2 comes out soon..

vivid sparrow
#

🇳🇴

brazen atlas
#

but you have me stuck on timed perms ngl

#

thats new to me

vivid sparrow
#

I remember having to use some stupid plugin that cost 10$ for that back in the days I used to do setups

brazen atlas
#

interesting

mint fable
#

@wraith goblet what placeholder?

wraith goblet
#

oh

#

i type command
/papi prase me %placeholder%
it show in chat
%placeholder%

silver minnow
#

ummm

mint fable
#

did you actually type %placeholder%

wraith goblet
#

no

mint fable
#

or did you type the placeholder you're trying to use?

#

what placeholder

wraith goblet
#

i type %placeholderhere%

silver minnow
#

what is the actual placeholder

#

like %player_health%

mint fable
#

what placeholder are you trying to use abdul

#

%placeholderhere% is not a placeholder

wraith goblet
#

%player_name%

tender vaporBOT
mint fable
#

do that this then type /papi parse me %player_name%

wraith goblet
#

wait

mint fable
#

it should return your name

silver minnow
wraith goblet
#

no it dont do that it return me %player_name%

#

not my name

silver minnow
#

huh?

mint fable
#

did you run the commands?

wraith goblet
#

yes

mint fable
#

can you send a startup log

#

?startuplog

tender vaporBOT
wraith goblet
#

wait

#

server log???

mint fable
#

correct, so I can identify the issue

#

you said you ran the download command

#

reloaded

#

and it still isn't working

#

so

tender vaporBOT
wraith goblet
#

wait download?

mint fable
wraith goblet
mint fable
#

what works?

wraith goblet
#

thanks love u ❣️

mint fable
#

oh

#

good

#

👍 @silver minnow sent the bot msg but ye

silver minnow
#

👍

wraith goblet
#

?player

tender vaporBOT
wraith goblet
#

is there anyway for money or balance?? like %balance% or %money%

tender vaporBOT
mint fable
#

@wraith goblet you can see the vault placeholders for balance.

#

Checkout the Placeholder-List for almost all available placeholders

wraith goblet
#

oh ok

brazen atlas
#

I am using QuickBoard and the placeholder %Level_bskyblock_island_level% and its showing up blank

mint fable
#

is that the placeholder?

#

I feel it doesn't start with Level_

turbid tide
#

it does if you have the Level addon for bskyblock

#

I think

mint fable
#

ah

#

hmm

#

do you have the level addon @brazen atlas ?

brazen atlas
#

yes

mint fable
#

/papi parse me %Level_bskyblock_island_level%

#

what does that return

brazen atlas
#

3

turbid tide
#

well then QuickBoard is broken xD

#

or does it even support PAPI?

brazen atlas
#

im pretty sure it does

turbid tide
#

yeah just checked their spigot page

brazen atlas
#

island owner and island name is working

turbid tide
#

its working on the scoreboard?