#placeholder-api

1 messages · Page 151 of 1

paper grail
#

It doesn't say?

errant iron
#

Might be outdated, since it references BukkitServer and the error references CraftServer

paper grail
#

true.

#

CraftServer is the bukkit object

#

however

#

I'm using GraalVM, and this code was written in js8 I'm assuming

#

however it's still javascript.

errant iron
#

I just mean maybe the API changed

#

or maybe Paper doesn't have a getMotd method

paper grail
#

to be honest dude

#

I can't figure out how to register custom placeholders through papi's api

errant iron
#

You'd need to do that in Java, I presume

paper grail
#

so i was literally just going to create a papi script that executes my code in-game

#

I use Javascript

#

I dont know java lol

errant iron
#

Well to integrate the API of PAPI, you need to create a plugin using java

paper grail
#

Not exactly

errant iron
#

???

paper grail
#

I use something called grakkit

errant iron
#

what the fuck

paper grail
errant iron
#

Okay well there's no guarantees anything works with that

paper grail
#

Well

errant iron
#

I would definitely bite the bullet and just learn Java

#

It's very similar, JS was after all copied nearly identically from Java

paper grail
#

This script extracts placeholders from PlaceholderAPI

#

I assigned it to a global variable

errant iron
#

Oh hey try using motd() instead of getMotd()

#

cause in Paper, getMotd is deprecated

paper grail
#

and in-game i can run /js papi.parse(self, '%playtime_time%') to evaluate the playtime and send it back to my script

#

hmm

#

:/

#

didn't work

#

actually

#

I have a question

tender vaporBOT
#

There is no time to wait! Ask your question @paper grail!

paper grail
#

lol

#

Is there a PAPI extension that literally just runs a command and gives the output of it?

#

lile

#

%command_say_hi%

#

er

#

%command_seen_brayjamin%

#

idk

errant iron
#

uhm

#

for that scenario, you'd use a plugin usually

paper grail
#

watch;

#

that sounded rude sirry

#
const server = BukkitServer;
function GetUUID () => {
   const uuid = server.getPlayer('%player%').getUniqueId();
   server.dispatchCommand(server.getConsoleSender(), `/msg %player% ok so ur uuid is like ${uuid}!`);
}
GetUUID();```
#

This should just work

#

unless that's sus that i'm running a command using a placeholder

#

that may be hacky but that definitely should be possible...

#

wait

#

do i have to instantiate a new java object of BukkitServer, maybe?

#

nope

#

this sucksss

brisk coral
#

Make an actual placeholder, this shouldn't be done in js

turbid tide
#

^ An expansion that does this doesn't sound to hard to make

flint nacelle
#

number.toFixed(0) is bugged in javascript, is random if it read toFixed(0) properly, I can relod js many times and it give a random result when use toFixed(0) some times it remove .55 some times it print like 158.48 .(when it should bee 158). It break my boolean check in dm menu.

noble slate
#

%math_{bungee_serverName2}+{bungee_serverName2}[precision:0] why it doenst work in 1.16.5?

flint nacelle
meager cloud
#

bro my api for staff facilities doesn't seem to work, can somone help?

errant iron
#

Are you trying to make the extension for PAPI for that plugin?

meager cloud
#

no the ecloud and stuff

errant iron
#

You're having trouble using the extension in your own thing?

meager cloud
#

yea i think so i downloaded the ecloud and i use %stafffacilities_staffonline% but it doesn't work

errant iron
#

Does it just not replace the placeholder?

meager cloud
#

yea

#

is it posyble me plugin is outdated

errant iron
#

What versions of both the plugin and the extension do you have?

meager cloud
#

stafffacilities is 4.something and placeholder i just updated

errant iron
#

Any reason not to use Staff Facilities 5.0?

meager cloud
#

no not at all i think

#

wait il try that

#

it works sorry to bother you but thx 😅

errant iron
#

no problem!

latent prairie
#

Hi, I just read the documentation of PAPI to know how can I create custom placeholders from my plugin to be used everywhere.

Tell me if I'm wrong, but if I have well understood, I have to do this:

  • Create my own plugin with every datas I need to create inside that will be stored in the plugin folder
  • Create another plugin that will be an expansion of PAPI plugins\PlaceholderAPI\expansions that will gather all datas of my main plugin.
  • Register the expansion on the ecloud

Thanks in advance ^^

errant iron
#

You can skip step 2 and 3 by implementing the placeholders in your own plugin

latent prairie
#

And a custom placeholder like %mycustomplaceholder% can be used everywhere else ?

warm topaz
#

if its a placeholderapi placeholder and its application supports placeholderapi then yes

turbid rune
#

I removed the expansion from ecloud and it is still in my plugins and all of its commands still work

warm topaz
#

?

turbid rune
#

I install luckperms with papi ecloud and i removed it from the files and it is still in my plugins list

warm topaz
#

in /papi list or your actual plugins list?

#

because plugin != papi expansion

turbid rune
#

I didnt install the actual plugin

warm topaz
#

ok not too sure why ud download the expansion then

#

but have u restarted the server since removing the jar from the expansions folder?

#

or reloaded the plugin

turbid rune
#

yes

#

I will restart again

warm topaz
#

wait, what "commands" are working btw? if u dont have the luckperms plugin, then how is the luckperms expansion ever going to work?

#

it should be throwing a billion errors too

turbid rune
#

Am not getting a single error, every coammnd s working

#

I can install it without it doing anything (the plugin is luckperms)

pastel merlin
#

help

tidal fern
#

Is there a way to get bungee information (player count) into a bukkit place holder for use in a message?

warm topaz
#

%bungee_total% will give u the total player count

tidal fern
#

Yes but how do i register others?

#

Like create my own

#

How do i get the data from bungee to bukkit

warm topaz
#

if u want to register ur own placeholders then u will have to create ur own papi expansion

tidal fern
#

I know how to create place holders

#

Just not bungee ones

modern lynx
#

Does Placeholder API support messages in spigot.yml and paper.yml files?

warm plover
#

How can I round my math placeholder?

#

Like I want to make it say 100 and not 100.000

errant iron
#

%math_0

warm plover
#

Thanks :)

gray juniper
#

Hello guys

#

The redisbungee expansion is not working, i have tried with 3 diferent versions of papi and redisbungee but nothing

#

Can someone help me with that please?

lunar nebula
#

how would I display how many kills i have with placeholderapi

#

and how many deaths

warm topaz
#

statistic expansion

errant iron
#

alternatively, ajLeaderboards

warm topaz
#

alternatively, my plugin 😊

lilac oxide
warm topaz
#

its like 99% done

lilac oxide
#

what does it do?

errant iron
#

presumably tracks statistics and allows you to make leaderboards

warm topaz
errant iron
#

ah too bad

warm topaz
#

ive been slowly chipping away at it for ages now and rewritten it before even releasing it 🙃

#

if u wanna see the repo i can link, written in kotlin ofc

errant iron
#

i mean yeah that'd be cute

warm topaz
errant iron
#

ooh kqliber

#

I presume Kaliber was taken

warm topaz
#

yeah think so

#

😭

lilac oxide
warm topaz
#

😩

fluid chasm
#

i mean bungeecord slots (global slots)

tender vaporBOT
#
Hey!

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

shell aspen
#

I have a bug essentials extension it's bugged

#

I can't add photos

warm topaz
#

?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.
You can also use a screenshot service like gyazo or jinx and post those links here.

shell aspen
#

it's not suposed to be 2 days

scarlet valve
#

Is there any way to display papi on a bot

#

Like player specific papi

#

Like mybe
+stats {username}

#

Is there any api for that

#

That display papi

fluid chasm
#

i tried %rel_relcon_viewer_tps.staff_&fTPS: &3{server_tps}_%

#

but its not working

errant iron
#

I don't think you're allowed to have spaces in placeholders?

fluid chasm
#

oh

errant iron
#

are you including formatting inside of a placeholder, and another placeholder?

fluid chasm
#

oh on the exaple you can

errant iron
#

what example wtf

fluid chasm
#

%rel_relcon_viewer_tooltip.staff_{nl}&8&l&m {nl}&6&lJailed &8&l» &7{essentials_jailed}_ %

errant iron
#

okay I have absolutely no idea about that

#

what happens if you try to parse it?

fluid chasm
#

it sends nothing

errant iron
#

you have the expansion and did /papi reload?

fluid chasm
#

yes i did

errant iron
#

try removing the trailing _ maybe?

fluid chasm
#

the end _?

errant iron
#

yea

fluid chasm
#

same thing, i think i should have the _ at the end as it has that on the example

errant iron
#

hmmm well obviously it's not recognizing it

#

it shows green in /papi ecloud list?

fluid chasm
#

oh with installed its green

errant iron
#

hmmm

#

@turbid tide

tender vaporBOT
#
Hey!

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

fluid chasm
#

i think the expansion owner is @bronze bison

tender vaporBOT
#
Hey!

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

errant iron
#

well yeah but Blitz is an expert in solving things

scarlet valve
#

Is it possible to put placeholder inside a placeholder?

warm topaz
#

if that specific placeholder supports it, yes

#

then u can do %placeholder_{inner_placeholder}%

scarlet valve
#

So {}

#

Thanks

ruby apex
#

is there a way to get the population for a town in advanced towny?

shell aspen
#

pls

turbid tide
#

?papi-builds

tender vaporBOT
turbid tide
#

you can get the latest dev build of PAPI from here ^

shell aspen
turbid tide
shell aspen
turbid tide
#

what placeholder are you using to display that?

shell aspen
#

%essentials_kit_time_until_available_monthly%

crimson harness
#

Am I blind or is there no placeholder option available for fetching the Global maximum players for a bungee network?

#

You can use Pinger for individual servers, but not the overall max network players

turbid tide
#

you can use math + pinger to sum them up

crimson harness
#

You can use Pinger for individual servers, but not the overall max network players

turbid tide
#

%math_0:_{pinger...first-server}+{pinger...second-server}+...+{pinger...last-server}%

crimson harness
#

Ohhhhh nononono

#

God no

#

At that stage I may as well hardcode the amount

turbid tide
#

well that's the only way

crimson harness
#

Ah ok, thats what I was thinking but I thought theres gotta be some placeholder available for it. I wonder why there isnt - Seems like a fundamental placeholder which should have been part of the "Bungee" placeholder expansion

turbid tide
#

probably bccz they'd have to do the same thing.

#

and they'd have to know what all your servers are

crimson harness
#

I dunno how the underlying code works for the Placeholder API, but the minecraft query protocol returns all sorts of useful information including the currently connected player amount as well as max allowed

#

So I feel like these values wouldnt be that hard to poll... Idk 🤷‍♂️

turbid tide
#

the expansion is OS so if you feel like you can add it or know someone that can then feel free to do so

crimson harness
#

I've never touched the Bukkit API (I don't develop mc plugins), so I wouldn't have a clue for how to go about it 😁

turbid tide
#

also the Bungee expansion uses the Plugin Messages feature. Which only gets sent when someone is on that server. So even if it could pull the data it won't be able to get it unless there's someone one all servers at all times

empty moat
#

Anyone know why after updating PAPI my chat is now all lowercase

turbid tide
#

u using ChatInjector?

empty moat
#

yes

#

but it was all fine until i updated

turbid tide
#

then that's the problem. ChatInjector + PAPI 2.10.7 (or higher) does that.

#

I don't think there's a fix. you can either not use ChatInjector or use PAPI 2.10.6

empty moat
#

i need placeholders in chat

#

¯_(ツ)_/¯

#

ill downgrade xD

turbid tide
#

well use a chat plugin

#

that supports PAPI...

shell aspen
#

so it's a bug?

turbid tide
#

it looks like it. What if you try to get the kit using /kit? Does it show the correct delay?

shell aspen
#

yep

austere hawk
#

anyone know why %world_nearbyEntities_<radius>% isnt working for me? i downloaded the world thing for papi

#

i have the underscores between nearbyEntites

#

%world_nearbyEntities_10%

shrewd agate
#

So uhm, What is placeholder api?

austere hawk
#

a bunch of placeholders for a lot of plugins

#

HELP none of my the placeholders in the world section work for me

orchid sedge
#

have you done /papi ecloud download world ?

fluid chasm
#

%rel_relcon_viewer_tps.staff_&fTPS: &3{server_tps}_%

fathom peak
#

What is the difference between PlaceholderAPI-2.10.9 (released two days ago) and PlaceholderAPI-2.10.10-DEV-109 (released in September 2020, it means a half year ago)?
Because in case PlaceholderAPI-2.10.9 there is some error with papi parse command again. Something similar was in September: #placeholder-api message

vivid sparrow
#

2.10.9 was released on August 2020, wdym? @fathom peak

fathom peak
tender vaporBOT
#
Hey!

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

#
Hey!

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

errant iron
#

Note the number of the file? 10 is greater than 9 lol

fathom peak
#

But on console I have since several weeks this:

[06:39:09 INFO]: [PlaceholderAPI] An update for PlaceholderAPI (v2.10.9) is available at:
[06:39:09 INFO]: [PlaceholderAPI] https://www.spigotmc.org/resources/placeholderapi.6245/

Earlier I didn't notice it. So maybe I really didn't notice it OR the message began to appear several weeks ago.

#

You are right. There was no newer update 2.10.9 and I really for many months ignored message about newer ("older") version. And several weeks ago I suddenly noticed this message on console. So sorry for the confusion.

shell quest
#

Any way to change %essentials_afk% to output [AFK] or nothing instead of Yes and No?

austere thistle
#

Any placeholders that show dealt damage amount? (that resets to 0.0 after 10 seconds

wispy comet
#

What placeholder, is on the player head in the inventory?

turbid tide
#

%player_name%

turbid tide
#

or a custom javascript placeholder

austere thistle
#

dealt damage and recieved damage

#

thx

turbid tide
austere thistle
#

kk

wispy comet
turbid tide
#

there isn't a placeholder for that.

#

what plugin do you use to put the head in the inventory?

wispy comet
#

I will send you picture in pm.

turbid tide
#

yeah but that doesn't tell me what plugin you use tho.

#

there is no placeholder for that

#

anyway the short answer is there is no placeholder for player's skin/head.

wispy comet
#

Placeholderapi

turbid tide
#

well that's not what placeholder api is for

wispy comet
#

pm

turbid tide
#

well if I tell you its not possible why do you ask again? The simple answer is: "you can't do that with placeholderapi"

wispy comet
#

Allright then. Then you don't know a plugin for this or something like that?

turbid tide
wispy comet
#

Hmm, okey.

wispy comet
#

As I still haven't found anything, will you help? : D

#

@carmine veldt

silver minnow
#

or staff

hollow stump
#

Noob

silver minnow
hollow stump
#

Joke

#

Pls don't ban me

wispy comet
#

xd

cedar nexus
#

Which type of issue do I have to open to get my minecraftplugin added to the supportet ones of PlacholderAPI?

turbid tide
#

you don't have to open an issue. you need to add PAPI support yourself.

cedar nexus
#

"If your plugin isn't shown here and you want it to be added, open an issue and we will add it!"

turbid tide
#

Ohh so you added placeholders you just want them listed on the wiki?

cedar nexus
#

No, both

turbid tide
#

well you need to add the placeholders yourself in your plugin following the instructions at the link I sent then you need to make a Pull Request to the wiki to list them there.

cedar nexus
#

Thanks

shell quest
turbid tide
#

how did it change from yes and no to true or false?

shell quest
#

idk i did that

#

and now it outputs True and False instead of yes and no

turbid tide
#

which one? /papi parse me %essentials_afk% ?

#

or /papi parse me %javascript_<identifier>% ?

shell quest
#

iam using this to put [AFK] next to player names in DiscordSRV when u send playerlist to send u the playerlist, so it puts true or false next to their name in playerlist

turbid tide
#

yeah but are you using the javascript placeholder or are you using the essentials one?

shell quest
#

essentials one but iam trying to change output

turbid tide
#

well you can't change the output. you need to make the js placeholder. That's an entirely new placeholder that you have to use.

#

it doesn't actually change the output of the essentials one

shell quest
#

So %essentials_afk% outputs yes or no depending on if player is afk, i cant change the yes to output [AFK] and no to output nothing?

turbid tide
#

well you can make a custom js placeholder. which you did, didn't you?

#

just use that placeholder

#

instead of the essetials one

austere hawk
#

whats the placeholder to show how many players are online?

#

%server_online%?

silver minnow
#

yes

fluid chasm
#

anyone know how I would use this placeholder?

#

%rel_relcon_viewer_tps.staff_&fTPS: &3{server_tps}_%

#

It’s not working for me

silver minnow
#

rel?

#

what is rel

wet basinBOT
#

@silver minnow Unknown expansion.

silver minnow
#

@fluid chasm

fluid chasm
#

It’s relcon

quiet gulch
#

uh

fluid chasm
#

And I think my placeholder should work, but it’s not

#

%rel_relcon_viewer_tps.staff_&fTPS: &3{server_tps}_%

austere hawk
#

whats the placeholder for the server time?

silver minnow
#

%world_time_<world>%

austere hawk
#

i want it hour-minute-second

warm topaz
#

do u want the real time or ingame time?

austere hawk
#

real time

warm topaz
#

%server_time_<SimpleDateFormat>% use this then

austere hawk
#

what do i type in the simpledataformat

fluid chasm
#

Anyone know how I can use relcon placeholders?

austere hawk
#

i want it like that

#

you know how to make it?

warm topaz
#

HH:mm:ss

austere hawk
#

thanks

turbid tide
tender vaporBOT
#
Hey!

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

turbid tide
#

also why the _ at the end?

#

why not just &fTPS:&3{server_tps}%

errant iron
#

That's what I said but he said the example had it 🤷‍♂️

proud tide
#

any help for buycraft?

lilac oxide
smoky spoke
#

is it possible to use a math placeholder inside a math placeholder?

#

ping me if you guys have answers

vivid sparrow
#

@smoky spoke yes but you will have to use {} instead of %%

tender vaporBOT
#
Hey!

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

fluid chasm
junior musk
#

you can use /papi parserel <player1> <player2> <placeholder>

fluid chasm
#

yeah isnt working on a plugin

smoky spoke
turbid tide
smoky spoke
#

;-;

turbid tide
#

I mean if you edit the code you could make it return an empty line

#

but that's the best you'll get

smoky spoke
#

ok

turbid tide
austere hawk
#

how can i ecloud craftingstore papi?

turbid tide
austere hawk
#

i see

#

thanks man

#

Same goes for commandnpc?

turbid tide
#

if its not there then it either comes with the plugin or it doesn't exist

austere hawk
#

im stupid ig

turbid tide
#

never test it like that. test it using /papi parse me %placeholder%

#

if it doesn't work with that command then its broken

#

if it does but doesn't work in your hologram or other stuff it means that plugin doesn't support the placeholder

austere hawk
turbid tide
#

also if that is HolographicDisplay you need to also install HolographicExtension and ProtocolLib.

austere hawk
#

oooohh

#

im stupid

turbid tide
#

well you're not. Some plugin just don't support PlaceholderAPI.

#

like HD

turbid tide
austere hawk
#

did that andi got a blank message in resturn

turbid tide
#

means there's no one in the #1 spot

#

but if it returns something else other than the %placeholder% itself

#

then it works

austere hawk
#

i see

#

thanks man

turbid tide
#

no problem

floral monolith
#

how do i parse a placeholder inside another placeholder again? i forgot sorry for the shit question

warm topaz
#

in code or just ingame?

floral monolith
#

in game

warm topaz
#

if the placeholder supports it, u can use %placeholder_{inner_placeholder}%

austere hawk
#

Whenever someone has the chance, could they add me to the "PrisonRanksX" channel?

vivid sparrow
#

To what

austere hawk
#

Or is that not a channel here?

#

Hey GabyTM haha.

vivid sparrow
#

No, is not.

#

Only clip's and glare's plugins have a private channel.

austere hawk
#

Ah, I see.

vestal kiln
#

Hello it's possible to use placeholdersapi with gradle?

turbid tide
#

yeah. there should be a tutorial on the wiki

vestal kiln
#

do you have a link?

turbid tide
vestal kiln
#

ho thank you

narrow cloak
#

does placeholderapi support Unicode

#

since this is happening to me with the Prisons plugin

silver minnow
#

you sure it's the same character?

narrow cloak
#

well it seems to be working now

fluid chasm
#

%rel_relcon_viewer_tps.staff_&fTPS: &3{server_tps}_%

junior musk
#

it requires 2 players

#

normal parse uses 1 while parserel uses 2, it's even in the name, parserelational x)

austere hawk
#

i am using holographic displays, insatalled the expansion player of placeholder api but still the %player_name% is not working

#
  • '&dBenvenuto &7%player_name% &dsu &a&lIT&f&lAPI&4&lXEL'
#

I see %player_name% and not the actual name

vestal granite
junior musk
junior musk
#

idk what you could do, maybe try to redownload it

vivid sparrow
#

show your papi config @vestal granite

austere hawk
#

is there any placeholders for overall kills by a player

#

so players and mobs

turbid tide
#

you can use the math expansion to sum them u

#

p

austere hawk
#

aah

#

ok

#

when using something like %statistic_kill_entity:<MobType>% how would i do all mobs

turbid tide
#

I think its just %statistic_kill_entity%

#

so the math one would be something like %math_0:_{statistic_player_kills}+{statistic_kill_entity}%

austere hawk
#

it tells me i need a thing added when i just try %statistic_kill_entity%

turbid tide
#

hmm 1 sec then I think there's another one.

austere hawk
#

ok

turbid tide
#

ah its just %statistic_mob_kills%

blissful hatch
#

statistics updated to 1.16.5?

turbid tide
#

they should work on 1.16.5

blissful hatch
#

statistic_smoker_interaction

#

statistic_blast_furnace_interaction

#

or

#

statistic_interact_with_smoker

#

statistic_interact_with_blast_furnace

#

doesn't work

turbid tide
#

can you do /papi info statistic and tell me the version please?

blissful hatch
#

[12:36:48 INFO]: Placeholder expansion info for: statistic
Status: Registered
Author: clip
Version: 2.0.0

turbid tide
#

I'm using an even older version (1.9.2) and %statistic_interact_with_smoker% works

#

so does blast furnace

blissful hatch
#

seriously

turbid tide
brisk coral
#

Blitz....

turbid tide
brisk coral
#

That's creenshot

turbid tide
# brisk coral That's creenshot

what about it? I was showing him it works for me. And should for him as well since the expansion just uppercases the input and finds the Statistic enum with that name.

warm tendon
#

Is PAPI bungeecompatible?

brisk coral
#

no

warm tendon
#

thanks

hardy edge
#

how to remove .000 in expression math?

vivid sparrow
#

%math_0:_math here%

hardy edge
#

thank

vast axle
#

Hi, is there a placeholder to indicate the number of players in a Multiverse world? I can't find anything on the placeholder list

warm tendon
#

Is there a way to use placeholders in a bungee proxy? Like I have bungeechat and need it to display prefix

fluid chasm
#

Like if the player has permission, they can see the text in the placeholder and if not they can’t

dire ocean
frank sinew
#

Hey guys, can I please have some help with using a placeholder in my code? I am trying to get the server to send a message to the console if the top Island (%iridiumskyblock_island_top_name_1%). However, all I know how to do is this method: PlaceholderAPI.setPlaceholders(Player, "%iridiumskyblock_island_top_name_1%"); But who is the Player in this case since the placeholder doesn't return a player and no one will be executing a command / triggering an event

#

So Im not sure what to do when the placeholder doesn't require a player

crimson condor
#

is there a way to shrink a placeholder? Im trying to add a placeholder to my scoreboard but the placeholder is counting towards the 32 char limit

austere hawk
#

How to use GraalVM with the javascript expansion?

#

because nashorn is removed from java 15

junior musk
junior musk
junior musk
crimson condor
junior musk
junior musk
#

and if the raw placeholder is counted, then your scoreboard plugin does something wrong

crimson condor
#

Ya it was a free one. Thinking about getting featherboard but not sure if 19$ is worth for a scoreboard haha

junior musk
#

TAB Premium reversed_fingerguns

#

it's 10€

crimson condor
#

can you disable the Tab names? I use CMI for it

junior musk
#

yeah, you can disable everything and only keep scoreboard

crimson condor
#

Might go that route thanks

austere hawk
tardy wave
#

Hi, any idea was papi saying

[02:03:16] [Craft Scheduler Thread - 253 - PlaceholderAPI/WARN]: Returning offline Player UUID for : the_ronpaul on startup ?

errant iron
#

sounds like that player was offline that you tried to lookup with a %player_<something>% placeholder

tardy wave
#

but it shoulddn't broke anything right ?

#

thanks for your answere

errant iron
#

no, it just means that that player isn't online

tardy wave
#

great, thank you

turbid tide
vast axle
#

Thx

turbid tide
turbid tide
hearty orchid
#

hello

#

i have a problem..

#

i importet the papi dependencie

#

with gradle

#

and did it like in the tutorial in the github wiki

#

acceptText = PlaceholderAPI.setPlaceholders(event.getPlayer(), data.acceptText);

#

and this error shows up

junior musk
#

=paste

tender vaporBOT
#
HelpChat Paste

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

hearty orchid
#

ye

#

ik

junior musk
#

saw you writing for a long time so wasn't sure x)

#

and I think your text is null

hearty orchid
#

wait

junior musk
#

you might want to make a check if data.acceptText == null

turbid tide
#

^^^

hearty orchid
#

yeye

warm plover
#

Anyone know how I can not remove enchanted items with checkitem remove

#

Im noticing that it removes my enchanted items and non enchanted

analog flax
#

Hi! I made a new placeholder extension for one of my plugins and would like to upload it to the cloud, but I can't make an account as registration is locked. Can I make an account? 🙂

#

Ah, I had a look through - looks like I need to contact an admin 😅 It seems like they all have friend requests and DMs turned off, though. Sorry for being annoying, perhaps a support could help me contact them? @mint fable

tender vaporBOT
#
Hey!

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

mint fable
#

@balmy marten this

balmy marten
#

Dm me a username and email you want

analog flax
#

Thanks, all sorted 👍

storm lantern
#

We use simple score for our scoreboard plugin and it uses placeholder api and we use rankgrant+ for our ranks. I already asked the rankgrant+ guys and Simple score and they all said to ask you guys. We basically want to have it show your rank on the side. Anyone know how to?

fringe dune
#

so with towny, the town/nation placeholder is empty if you are not in a town/nation. is there a way i can make it say something like 'no town' instead of there being an empty line on my scoreboard?

tender vaporBOT
#
Hey!

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

wet creek
#

So what permission plugin do you use

warm tendon
#

is there like a spigotbridge plugin

frank gazelle
#

can someone help me out when i use papi with any economy plugin this spams my console
Exception in thread "Craft Scheduler Thread - 9"
it also says 1,12,14,13,15,16 in the following lines

#

it seems to be as soon as the plugin starts saving data

sour dune
#

Hi! Does anybody know a placeholder to get the number of players in a dimension (not by world)? So for example, if there are 10 players in the End dimension, it should display so, regardless of the world's name (which is the issue I have with retrieving by world - the world file's name constantly changes and I need to manually update placeholders every time)

#

Please @mention me when you reply, and thank you in advance :)

frank gazelle
warm topaz
#

what's the full error

#

i dont really think thats coming from papi

frank gazelle
#

thats all it says in console those lines over and over with different numbers

#

i mean i have tried 3 economy plugins and when papi and the economy plugin is in the plugins folder it shows t hat

#

so its incompatability most likely?

#

i can also just completely block the message from console if its a harmless error

sour dune
fringe dune
#

okay thank you

sour dune
#
function jsonTowny() {
  if ("%townyadvanced_town%" !== "") {
    return "&7[&3%townyadvanced_town%&7] ";
  } else {
    return "";
  }
}
jsonTowny();
#

so adapted for your use case, it would be something like:

function jsonTowny() {
  if ("%townyadvanced_town%" !== "") {
    return "%townyadvanced_town%";
  } else {
    return "No Town";
  }
}
jsonTowny();
fringe dune
#

aha

sour dune
#

figure out what placeholder instead of %townyadvanced_town%

#

quick instructions:

  1. install javascript papi extension
  2. create a folder in the PlaceholderAPI one called "javascripts"
  3. make a new file in javascripts called "townyprefix.js"
  4. paste this code into there:
function townyPrefix() {
  if ("%townyadvanced_town%" !== "") {
    return "%townyadvanced_town%";
  } else {
    return "No Town";
  }
}
townyPrefix();
  1. make a file in PlaceholderAPI folder called "javascript_placeholders.yml"
  2. put this in the file:
townyprefix:
  file: townyprefix.js
  1. use the placeholder %javascript_townyprefix%
fringe dune
#

aha

#

thank you

sour dune
#

yw

fleet grove
#

How can I use my placeholder from placeholderapi on plugins like featherboard that use mvdwplaceholderapi?

warm topaz
#

{placeholderapi_<placeholderapi_placeholder_here>}

fleet grove
#

Thanks

sour dune
errant iron
#

Why does the world name change?

austere hawk
#

can i create Placeholder?

errant iron
#

If you make an extension

#

Or are you making a plugin? You can natively include placeholders if you are

austere hawk
fleet grove
warm topaz
#

%mvdw_{mvdw_placeholder}%

fleet grove
#

alright thanks

narrow cloak
#

HI?

#

anyone in here active?

#

i need Deluxe Menus to use my Tokens plugin as the Economy

#

since i want to make a backpacks GUI but i need it to check to see if they have the right amount of tokens or not

errant iron
#

what tokens plugin?

narrow cloak
#

Tokens

#

and i got it working but how do i get the math placeholder to output a formated output

narrow cloak
errant iron
#

afaik you'd need the javascript placeholder to add formatting to the math's output

narrow cloak
#

can i find that somewhere?

#

since i dont know how to code java lol

errant iron
#

javascript isn't the same as java, but it's really not too bad

narrow cloak
#

o ok

#

how egcactly do i add javascript to %math_0:_75000-{Stars_balance_format}%?

errant iron
#

you make a javascript file that calculates that and returns it formatted

#
function numberWithCommas(x) {
    return x.toString().replace(/\B(?<!\.\d*)(?=(\d{3})+(?!\d))/g, ",");
}```
#

just do that to whatever the result of your math placeholder is

narrow cloak
#

so i would have to duplicate that java script 2 more times for what i need?

errant iron
#

well you can use that function as many times as you want

narrow cloak
#

i have no expeirence in java or javascript lol

#

how would i be able to make it pull the players token balance

errant iron
#

you can resolve placeholders

narrow cloak
#

still doesent really translate to me lol do you know how to do it?

errant iron
#

parseInt('%player_health%')

narrow cloak
#

o ok but i dont even know where to start unless i should use one of the premade scripts on the github

tired wharf
narrow cloak
#

so this is rounded playerhealth how do i change that to minus 75000 off the token balance

#

function hp() {
return Math.round(parseInt('%player_health%') * 100) / 100;
}
hp();

#

so i get rid of .round and 75,000 - parsein?

narrow cloak
#

i have this rn but theres a red x and adobe brackets "function hp() {
return Math 75000 - (parseInt('%Stars_balance_format%');
}
hp();"

errant iron
#
function numberWithCommas(x) {
    return x.toString().replace(/\B(?<!\.\d*)(?=(\d{3})+(?!\d))/g, ",");
}

function displayTokens() {
  return numberWithCommas(parseInt('%stars_balance_format%') - 75000);
}
displayTokens();```
#

something like that

narrow cloak
#

o ok intresting

#

so would Adobe Brackets let me preview or should i just upload that

errant iron
#

the text editor brackets?

narrow cloak
#

yes

errant iron
#

uh I'm not sure, does it support javascript?

#

I'd use VSCode lol

narrow cloak
#

i copy and pasted that and its complaing about errors with it lol

#

with line 2

#

as theres an big x there

errant iron
#
function numberWithCommas(x) {
    return x.toString().replace("/\B(?<!\.\d*)(?=(\d{3})+(?!\d))/g", ",");
}

function displayTokens() {
    return numberWithCommas(parseInt('%stars_balance_format%') - 75000);
}
displayTokens();```
#

I verified in VSCode it looks good

#

though I've also never written a JS papi script

#

so who knows

narrow cloak
#

notepad++ doesent complain

errant iron
#

notepad++ doesn't do linting

narrow cloak
#

o ok

#

so do i use the filename when useing %javascript_<your placeholder identifier>% or displaytokens?

errant iron
#

filename afaik

tired wharf
#

identifier?

#

if your identifier is displaytokens

narrow cloak
#

is displaytokens the identifier?

tired wharf
#

you set it up

#
identifier:
  file
narrow cloak
#

i dident yet

tired wharf
#

you didn't set it up in the javascript file?

#

well you'd use the identifier, I believe it says what to use in the javascript yml as well

errant iron
#

ah yes you'd do like

  file: displaytokens.js``` or whatever you named it
tired wharf
#

yeah

narrow cloak
#

kk thanks

tired wharf
#

oh don't forget engine

#

it has an example

narrow cloak
#

%javascript_displayTokens% is the placeholder?

tired wharf
#

yeah, whatever you make the identifier

#
displayTokens:
  file: displayTokens.js
  engine: nashorn
#

displayTokens in this case ^

narrow cloak
#

i saw this in console

#

<eval>:2:65 \B(?<!.\d*)(?=(\d{3})+(?!\d)) near index 3
\B
return x.toString().replace(/\B(?<!.\d*)(?=(\d{3})+(?!\d))/g, ",");
^ in <eval> at line number 2 at column number 65

errant iron
#

copy paste my new code

narrow cloak
#

since discord messed it up

tired wharf
#

yeah

#

=paste

tender vaporBOT
#
HelpChat Paste

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

tired wharf
#

use that to paste code

#

or errors, yml files

errant iron
#
function numberWithCommas(x) {
    return x.toString().replace("/\B(?<!\.\d*)(?=(\d{3})+(?!\d))/g", ",");
}

function displayTokens() {
    return numberWithCommas(parseInt('%stars_balance_format%') - 75000);
}
displayTokens();```
#

put that in

narrow cloak
#

ok so it returned -74970 without commas and kk

#

o this would be flipped since the msg only shows if the player cannot afford it numberWithCommas(parseInt('%stars_balance_format%') - 75000);

#

so the player will always have below 75000 when they see the msg

errant iron
#

sorry so you want it to return whether or not they have 75000 tokens?

narrow cloak
#

so it should be 75,000 minus there tokens balance

errant iron
#

okay, so swap it

narrow cloak
#

yea

#

so im reading your java script i think i can understand what its doing lol

#

so the top part would replace all those symbols with ,

#

and you put it below so it is able to use that function

errant iron
#

the top function is a very complicated regex I stole from the internet that slaps in commas every 3 numbers in front of the decimal, yeah

narrow cloak
#

o ok

tired wharf
errant iron
narrow cloak
errant iron
#

since none of them must be set, or something

tired wharf
#

how could I improve that function

errant iron
#
return numberWithCommas(75000 - parseInt('%stars_balance_format%'));
errant iron
#

then have a switch statement based on that, and not 16 variabels

narrow cloak
#

so when i do "papi parse me %javascript_displayTokens%" it does not show commas?

errant iron
#

did you put quotation marks around the regex

tired wharf
#

yeah idk

narrow cloak
#

regex?

errant iron
#

the (())())( thing

narrow cloak
errant iron
narrow cloak
#

im going to have to say say prob not?

errant iron
#

huh that really doesn't work? hmmm

#

nah you did

narrow cloak
#

o ok

tired wharf
#

like I am not an expert any any form of coding/java scripting 😂 I don't even know where to begin to check for a certain part of that permission

narrow cloak
#

does the x next to numberwithcommas have anything to do with it?

errant iron
errant iron
narrow cloak
#

o ok

#

im going to have alot to learn when i go to college as i know there going to go over javascript lol

errant iron
#

javascript is quite easy, I assure you

narrow cloak
#

kk thats good

#

i never really spent the time to learn any codeing language but i do want to learn it

#

i found this on google" function numberWithCommas(x) {
x = x.toString();
var pattern = /(-?\d+)(\d{3})/;
while (pattern.test(x))
x = x.replace(pattern, "$1,$2");
return x;
}

#

on a site called stack overflow "How to print a number with commas as thousands separators in JavaScript
"

#

it works

errant iron
#
function displayTokens() {
    var nf = new Intl.NumberFormat();
    return nf.format(parseInt('%stars_balance_format%') - 75000);
}
displayTokens();
#

try that

narrow cloak
#

google already got it fixed lol

#

do you want me to use it tho?

narrow cloak
errant iron
#

yeah use mine, that one will do that after the decimal

#

wot

#

what error

narrow cloak
#

[02:00:45 ERROR]: [PAPI] [Javascript-Expansion] An error occurred while executing the script 'displayTokens':
ReferenceError: "Intl" is not defined in <eval> at line number 2

errant iron
#

okay I guess this version of JS doesn't support that

#

whatever, use your regex thing lol

narrow cloak
#

lol i mean it works

#

thank you for all your help 🙂

tired wharf
#
var permission = "%luckperms_has_permission_ardor.prefix.format%";
var p = permission.substring(19);

this for the variables Star?

#
var permission = "%luckperms_has_permission_ardor.prefix.format%";
var p = permission.substring(45);

function permission() {
    if (p.indexOf(".1"); === "true") {
        return "ardor.prefix.format.1"
    }
#

maybe?

tired wharf
#

I mean, the only reason I'm trying to make this placeholder is so I can set and unset permissions for the colors in a GUI without having to unset every option each time, I'm sure there's a better way to do that..

junior musk
#

try something like var permission = "%" + "luckperms......";

tired wharf
#

hmm

junior musk
#

then parse it with PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "placeholder here")

tired wharf
#

well I'm not using java, just javascript

junior musk
#

works as well here

#

and also, I'm not quite sure how your script works x)

#

p.indexOf(".1")

#

you're checking if the % is equal to .1? 😅

#

since p = permission.substring(45)

#

and that would return the % in the permission string

#
var permission = "%"+"luckperms_has_permission_ardor.prefix.format.";
var list = ["1","2","3","4","5","6","7","8","9","0","a","b","c","d","e","f"];
function permission() {

    for (var i=0;i<list.length;i++) {
      var p = PlaceholderAPI.static.setPlaceholders(BukkitPlayer,permission+list[i]+"%");
      if (p == "true") {
          return "ardor.prefix.format."+list[i];
      }
    }
}
permission();
#

try that

#

oh wait

errant iron
#

might want ardor.prefix.format.[i]

#

lol

junior musk
#

yup

errant iron
#

but excellent, that's exactly what I was talking about!

junior musk
#

that was a pain to do on phone

#

back to sleep now

warm plover
#

Is there a way I can do %checkitem_give% for mob spawners?

#

I'm not exactly sure the new 1.16 way to get mob spawners with a mob inside lol

#

or if anyone knows a /give command to get a mob spawner with a mob let me know, ive been searching for like 15 minutes lol

tired wharf
#

ah

tired wharf
tired wharf
turbid tide
split quest
#

Hi, I have a problem and it is that when I put the placeholderapi it turns out that the chestcommand I can't open it, I can't find the holderapi if it needs it, what solution is there?

reef sinew
#

Is there a way to make it so the date format displays am/pm?

fringe canyon
#

any one knows why this output doesnt return %math_[precision:0]100/1000000*{vault_eco_balance}%%

silver minnow
#

probably because you have 2 % 🤷

turbid tide
#

nah

silver minnow
#

oh

turbid tide
#

Does it just return the placeholder itself?

fringe canyon
#

normal it to show a %

#

it worked in the past but on 1.16 it seems not to work

turbid tide
#

ahhh can you do /papi info Math and tell me the version?

fringe canyon
#

1.2.0

turbid tide
#

yeah ok use this instead: yml %math_0:_100/1000000*{vault_eco_balance}%%

fringe canyon
#

thanks

steep thorn
#

Anybody knows if there's a placeholder to get total mob kills?

#

Or should I use math expansion and manually sum all of them up?

turbid tide
turbid tide
#

yeah I know. There's quite a few that are not listed there I think

warm plover
#

I'm having an issue, I have a checkitem remove placeholder to remove a piece of armor but it removes enchanted armor too

#

so if someone wants to sell netherite armor, but they are wearing it too, its going to sell the enchanted one first :(

tawdry saddle
#

The import me.clip cannot be resolved

#

why

turbid tide
#

did you add the dependency to your maven/gradle?

austere hawk
#

Hello, there is an error in deluxemenus about the PAPI-TokenEnchant api, does anyone know how to solve this error?

#

the server is 1.8

warm topaz
#

whats the error

#

?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

austere hawk
#

says it doesn't recognize Token expansion

#

I have a photo only, how can I send it?

#

?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

austere hawk
#

that's the current error the DeluxeMenus gives me

tender vaporBOT
#
Deluxemenus - Version List
Spigot:

1.8.8
1.12.2
1.13.2
1.14.4
1.15.2
1.16.4

Version:

v1.10.5
v1.13.3 - Latest
v1.13.3 - Latest
v1.13.3 - Latest
v1.13.3 - Latest
v1.13.3 - Latest

turbid tide
#

wrong version of deluxemenus for 1.8 ^

#

also the problem is that one of the token enchant placeholders is just broken

#

and returns null

#

so it breaks the menu

austere hawk
#

what is the correct version for 1.8?

vivid sparrow
#

Look at the list sent by Barry

austere hawk
#

Is there a placeholder for the total number of blocks broken in a world

#

And how can I put it in a leaderboard

#

Help

#

This is urgent

turbid tide
#

Just in total

austere hawk
#

ye

#

in total

turbid tide
#

%statistic_mine_block%

#

and you can make a leaderboard by using a plugin like LeaderHeads or ajLeaderHeads

austere hawk
#

oki

#

will simplescore work

#

it says it supports papi

turbid tide
#

well I guess it will

arctic zealot
#

hi

#

skript expansion isn't work

warm topaz
#

pinned messages

turbid tide
#

oh it got pinned

arctic zealot
#

okay thanks

tender vaporBOT
#
Hey!

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

austere hawk
turbid tide
austere hawk
austere hawk
#

wait no no no

#

i mean

#

scoreboard

#

like on the side?

turbid tide
#

you said you'll use SimpleScore. That should work

austere hawk
#

i hope.

quick tinsel
#

Hi, when I try to get the MySQL expansion working I get this error - https://paste.helpch.at/diqulidobo.pl
I've tried with the latest version as well as the 1.3.0 version from 2019 (second latest release)

All expansions are loaded on server start, then when I log online everything breaks

turbid tide
#

ugh yeah that expansion is broken. 1 sec I remember their being a more updated one somewhere

#

Nope nvm. I guess no one fixed it.

#

Its also weird that the ecloud one was updated in February but the original one on github was only udpated 5 months ago.

#

Oh nvm it still is the same. He just updated it later

quick tinsel
#

I'll find another way, but thanks

#

😄

#

Appreciate the help

warm tendon
#

When i do %player_server% it returns the value Now available in the server expansion thought i have player and server downloaded

warm tendon
#

(bungeecord server name)

silver minnow
#

(/papi parse me %player_server%)

warm tendon
#

Now available in the server expansion thought i have player and server downloaded

#

oh

austere hawk
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.
You can also use a screenshot service like gyazo or jinx and post those links here.

silver minnow
#

im confused

warm tendon
warm tendon
silver minnow
#

thx

#

what da

silver minnow
#

OH

#

cmon bot

#

there we go

warm tendon
#

%server_name%
seems to show the MOTD

silver minnow
#

o

warm tendon
#

A Minecraft Server i get

silver minnow
#

hm

austere hawk
#

placeholder api should go on just bungee or all servers?

warm tendon
#

PAPI isnt bungeecompatibel

#

so all servers

austere hawk
#

except bungee

#

ok

warm tendon
silver minnow
#

no :c

#

sorry

warm tendon
#

thanks tho

austere hawk
zenith pebble
#

If I were to make an addon, how could I get it to be in the ecloud library

tired wharf
errant iron
#

oh yeah he added it lol

tired wharf
#

ah

#

could you assist me further on it?

#

it provides an error

#

seems like an easy fix I just am not experienced enough lol

errant iron
#

Did you add the config code to javascript_placeholders.yml?

tired wharf
#

yeah

errant iron
#

Hastebin your javascript_placeholders.yml

tired wharf
#

okay

errant iron
#

and the file prefixcolor_permission.js is in the /plugins/placeholderapi/javascripts/ folder?

tired wharf
#

yes

errant iron
#

might need to rename the method?

#

not sure

tired wharf
#

I can try

#

alright it works now

#

thanks so much

#

I renamed it to hasPermission

errant iron
#

nice

tawdry saddle
#

The import me.clip cannot be resolved

#

why

brisk coral
#

Switch to IJ

errant iron
#

did you add it to gradle/maven

tawdry saddle
#

i just simply add it as a external JARs

errant iron
#

oh boy

tawdry saddle
#

where i can see what i added to gradle/maven

errant iron
#

in your pom.xml or build.gradle file lol

brisk coral
errant iron
#

yeah you won't get any help in Eclipse lol

tawdry saddle
#

oh

brisk coral
#

Doubt anyone here uses eclipse, so I've no idea how it works

tawdry saddle
#

how can i add external jars in ij

brisk coral
#

You use gradle/maven

tawdry saddle
#

maven

#

i think

#

yes , i am using maven

errant iron
#

okay now swap to gradle

brisk coral
#

:kek:

tawdry saddle
#

changed to gradle

#

Method does not override method from its superclass

#

🥲

#

so how can i add external jars in ij

errant iron
#

you just link them in gradle

#

no need to link your own jars

tawdry saddle
#

what do you mean ,

#

i know how to link papi

#

but there are some jars that not on internet

errant iron
#
repositories {
    maven {
        url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/'
    }
}

dependencies {
    compileOnly 'me.clip:placeholderapi:{VERSION}'
}```
#

you do that

tawdry saddle
#

i did

#

how about my own lib jar

errant iron
#

oh I see hold on let me get it

tawdry saddle
#

in local

brisk coral
#

Make a libs directory

#

add the jar to that, and use it like that

errant iron
#

implementation(fileTree("lib")) its that for the kotlin syntax

#

i forget what it's like for groovy bois

#

implementation files('libs/something_local.jar')

#

that's it for groovy

tawdry saddle
#

oh ok

austere hawk
#

or is this placeholder built in

turbid tide
#

/papi ecloud download Statistic then /papi reload

austere hawk
#

in terminal?

#

or console

#

or in game

turbid tide
#

console or ingame

#

both should work

austere hawk
#

kk

#

its jsut showing 10

#

nothing else

#

wait i spoke to soon

#

wait

#

When I break a block, it goes up by 2

#

yeah it keeps going up by 2

#

wait some blocks are 1 some are two

turbid tide
#

is your server 1.8 by any chance?

austere hawk
#

1.16.5

#

flowers are 1 block, and like logs are 2?

errant iron
#

that's the default minecraft implementation

#

all the placeholder does is read it

turbid tide
#

hmm

#

I don't think minecraft has a total

errant iron
#

p sure it keeps track of blocks mined

austere hawk
#

how can i make it like work?

turbid tide
turbid tide
austere hawk
#

bro

#

that annoying

#

that just doesn’t make sense though

turbid tide
#

I know this was a problem on 1.8 as well bcz GRASS was counted twice. As soil and as grass as well

austere hawk
#

now my 50 person event wont work as i wanted it too

turbid tide
#

so it might be the same thing here

errant iron
#

I mean, they're all mining the same amount of blocks right?

austere hawk
#

they dont all mint he same amount

#

they

#

one can mine 100 one can mine 50

errant iron
#

oh well as long as the numbering is consistent, you can set your goal or whatever right?

turbid tide
#

but Star not all materials are counted twice

#

just some

austere hawk
#

leaves are one wood is 2

#

its so annoying

errant iron
#

well yeah but like if you're tracking number of stone mined or something up to a total you know how many each stone is worth right?

austere hawk
#

its grass, stone, wood, leaves

turbid tide
#

what Star is saying use the per material count and then use the math expansion to calculate them. If they're just like 3-4 of them

#
%math_0:_{statistic_mine_block:grass_block}+{statistic_mine_block:stone}+{statistic_mine_block:oak_log}+{statistic_mine_block:oak_leaves}%```
#

or something like that

#

idk if I used the correct material names

errant iron
#

damn blitz knows what im talking about

#

translator

austere hawk
#

m

#

hmm

#

How can i get all the blocks in 1 area

turbid tide
#

that you can't with PAPI

austere hawk
#

ugh

#

is there a way i can like define the most popular blocks

#

dn the ones i haven’t a

#

just get added on, even if it isnt exact

#

????

austere hawk
#

*other way round

austere hawk
#

%math_0:_{statistic_mine_block}/2%

#

?

austere hawk
#

wahts divide 2

turbid tide
#

ugh /2

turbid tide
austere hawk
#

Ok I got it too work

austere hawk
#

&7%math_0:_{statistic_mine_block}/2%"

#

That actually all works

#

Leaves cout as 1 now

#

Blocks coutna s 1

#

Yeah im good

#

Ty

#

does papi work with essentials x

turbid tide
#

no it does not

#

you can't use PAPI placeholders in essentials. Tho there are some workarounds like using ChatInjector (plugin)

zenith pebble
turbid tide
#

actually I think his DMs are blocked

#

@balmy marten when you wake up can you help this man out? ^

austere hawk
#

can i get the documentation for time

#

if that’s a thing

turbid tide
#

what time?