#placeholder-api

1 messages · Page 149 of 1

hexed creek
#

PlaceHolders crashes when installing the BattlePass plugin, the developers of the BattlePass plugin said to write here

turbid tide
#

?startuplog

tender vaporBOT
#
FAQ Answer:

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

turbid tide
#

send over your startup log

hexed creek
tender vaporBOT
#

@hexed creek,

Possible Solution Found:

There seems to be some invalid syntax in your config! You can paste it into https://yaml.helpch.at/ in order to find out where your issue is!

hexed creek
#

?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

hexed creek
#

Will the pastebin link be enough?

tender vaporBOT
#
📋 Paste Converted!
https://paste.helpch.at/apofiqihup

A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!

hexed creek
tender vaporBOT
#

@hexed creek,

Possible Solution Found:

There seems to be some invalid syntax in your config! You can paste it into https://yaml.helpch.at/ in order to find out where your issue is!

hexed creek
#

Is that enough or not? Why are you making it so hard

mint fable
#

are you arguing with a bot?

turbid tide
#

its enough I'm in the middle of the game can't open it rn

hexed creek
mint fable
#

i see

nova crane
#

Thank you, I will give it a try. I didn't know there was an alternative for javascript data

tender vaporBOT
#

@nova crane,

Hey!

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

worldly egret
#

i'm trying to do /papi ecloud download world on my server, but there isn't "world" in the list

junior musk
#

did you do /papi reload after downloading?

worldly egret
#

i wasen't able to download it

#

it wasen't on the list

#

i can't send the screenshot

tender vaporBOT
#

@worldly egret,

Uploading Images

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

silver minnow
#

bruh
its to prevent spam

worldly egret
silver minnow
#

try manually downloading it

#

and put it in /plugins/PlaceholderAPI/expansions

lilac oxide
#

is there a placeholder / expansion to give / take money from people upon parsing?

#

(vault)

obtuse field
#

How do I add up the number of people in each world?

#

i use %server_online_lobby%+%server_online_lobby2% but it say 1+0

junior musk
#

you can use %math_0:{placeholder1}+{placeholder2}%

obtuse field
slate glade
#

for some reason any of the statistics won't work

#

somebody can help?

wicked niche
#

Hello, im trying to make Leaderboards but cant figure out how do i make it.

These are my plugins that im using to make it: Holographic display, kite board and ofc placeholder aip.

PLS dm me if you know how to do it.

silver minnow
wicked niche
silver minnow
#

if that means "first place" (I've never used the statistic placeholder before)

wicked niche
#

ok

storm mortar
#

what is PlaceholderAPI for 1.7

silver minnow
#

um

silver minnow
storm mortar
#

i need PlaceholderAPI for 1.7 to run plguin
TAB v2.5.3

silver minnow
#

I think the latest version of PAPI would work

silver minnow
#

same with TAB

storm mortar
tender vaporBOT
#
FAQ Answer:

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

#
HelpChat Paste

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

silver minnow
#

can you show us the log?

storm mortar
#

tab or PlaceholderAPI

silver minnow
#

?

silver minnow
#

with both tab and placeholderapi installed

storm mortar
#

how to show ?

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

storm mortar
#

nu

tender vaporBOT
#

@storm mortar,

Possible Solution Found:

There seems to be some invalid syntax in your config! You can paste it into https://yaml.helpch.at/ in order to find out where your issue is!

silver minnow
#

hmmm

#

interesting

austere hawk
#

How can I get a placeholder if no one is online ?

#

because I need to put a player as an argument

turbid tide
#

just stop the baltop function from the Vault expansion. its not PAPI that's using the memory

#

that's why it was disabled by default in the newer versions of Vault

#

you can disable it in config.yml btw

#

of placeholderapi

restive geode
#

why is images disabled in this channel?

#

this will work too i guess:
4:35 PM] Zed 🦋: You see... That is an issue with PlaceholderAPI.
[4:36 PM] Zed 🦋: I remember talking to Ryan and this was an issue with 2.10.9.
[4:36 PM] Zed 🦋: Caused by the hashing iirc.
[4:36 PM] Steep: Weird, when i asked them they said its a problem with you guys.
[4:37 PM] Zed 🦋: Ryan himself said it was on their end when I spoke to him a while back lol.

restive geode
#

Actually, we just talked more and he didn't read the stacktrace properly. Now he redirected me to another plugin. I'll let ya know how that go's.

hexed creek
#

@turbid tide so will you help me?

tender vaporBOT
#

@hexed creek,

Hey!

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

hexed creek
#

Okay, but help me already, you help others and ignore me

lilac oxide
#

is there an ecloud expansion for advancements?

silver minnow
#

if he ignores you then either he's busy or he doesn't know the solution to your issue

hexed creek
#

help

#

pls

silver minnow
#

wdym "Placeholders crash"?

hexed creek
#

what is "wdym"?

silver minnow
#

what do you mean

hexed creek
#

I will show you now

#

wait

silver minnow
#

wait

#

do the placeholders work without the BattlePass plugin?

hexed creek
#

yes

silver minnow
#

o

#

hm

hexed creek
#

BattlePass plugin support told you to write ..

trim mist
#

How are we supposed to fix their plugin breaking PlaceholderAPI?

#

Doesn't add up.

hexed creek
#

They told to write to you

trim mist
#

If they want to give me a copy of the plugin I can test it.

hexed creek
#

now I will write to them

silver minnow
#

also plz upgrade to 1.16.5

#

no reason not to

hexed creek
#

I do not want

silver minnow
#

why

hexed creek
#

Not all of my plugins have been updated to this version

silver minnow
#

most plugins should support it

#

since nothing "big" changed

#

just a bugfix

hexed creek
silver minnow
#

also get the latest version of worldedit

#

and get WGCustomFlags too (because WGBlockRestricter requires it)

hexed creek
#

just solve my problem with PlaceHolders, and I can update in a week, I have not fixed all the errors yet

#

so, will they you me?

trim mist
#

We can't do anything unless the BattlePass developers provide me with a jar of the plugin to test.

hexed creek
#

open your private messages, they said to give you a plugin to check

trim mist
#

If you send the file to @tender vapor , I will look at in a few hours. Busy with some other stuff.

hexed creek
#

It's a bot

lilac oxide
hexed creek
#

ok

#

I sent him to DM

silver minnow
#

hi @polar cobalt 👋

#

lol

polar cobalt
brisk coral
#

Doubt that's a papi related issue since papi doesn't use hikari, y u no relocate dependencies tho

turbid tide
#

its an expansion problem. I got no idea which one's tho

#

remove them 1 by 1 until the error stops

trim mist
#

I would suggest relocating your dependencies to see if that fixes it.

hexed creek
#

do I need to delete every plugin?

trim mist
#

I don't see why you would. GC just needs to give you an updated jar with relocated dependencies.

hexed creek
#

What do you have in mind

trim mist
#

Again, you need to talk to GC and get an updated jar.

hexed creek
#

What jar?

trim mist
#

Of BattlePass.

hexed creek
#

ok

fading hemlock
#

hello

#

i need some help!

#

plz

tender vaporBOT
#
FAQ Answer:
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait

Source

fading hemlock
#

ok

#

so basically

#

my deluxemenus

#

are not updating

#

with the placeholders counting and shit

#

here is a showcase of my problem

#

only updates if i click it for the refresh to work but i want it to be auto

errant iron
#

nah, he did, he had his code in another channel and it matched the examples perfectly

quick sphinx
#

so is DM just broken?

errant iron
#

I vaguely remember this happening a lot to people and it's been like 2 years since I last fixed it but I know it can be fixed. We just need someone with ultimate knowledge

quick sphinx
#

I think same thing happened to me, just didn't want to deal with it lol

fickle tide
#

I have issues with showing remaining timeout for the kit
It works on kits that are like up to like 3 weeks cooldown
But on the one with a month delay it just says 0, when i try to run a command for that kit it says regular 29 days and 23 hours etc.
But in the placeholder anything larger than 3 weeks just "breaks"

Is there a way to fix this ?

quick sphinx
fickle tide
#

Yes, %essentials_kit_time_until_available_krakenr%

#

Same goes if i do the parse of that placeholder and the essentialsx command

#

papi returns 0 and essentials 29 days...

vestal mason
#

Question, so i followed the directions for the api and i have made my expansion class inside my plugin, but how do i actually use that placeholder?

errant iron
quick sphinx
#

couldn't find a solution =/

errant iron
fickle tide
#

and it displays the correct days when i try to claim it

errant iron
vestal mason
#

Ah ok let me try that thank you

woven heron
#

Hi, how can i remove items that doenst have enchantments with CheckItem expasion?
I tried this but doesng work, it remove all swords...

%checkitem_remove_mat:diamond_sword,!enchanted%

worldly egret
errant iron
silver minnow
#

i dont think minehut supports using ur own ftp client

#

if it doesn't support custom jars

errant iron
#

Oh it's a free site

silver minnow
#

mhm

errant iron
#

I'm impressed they even let you do anything lol

silver minnow
#

lol

worldly egret
#

yeah

#

they don't even allow you to view the server.properties or add any plugins

tranquil sapphire
#

There anyway I can get all ores mined from a player then add them all up and display that as a placeholder?

#

With the statistic you can do it but how would I add them up with JS?

winged chasm
#

im running a bungeecord network, and after a reboot placeholderAPI completely died, it doesnt error in logs, but none of the placeholders work, when trying to reload there is just [11:19:21] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing... [11:19:21] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information... and no other response. When trying to download an expansion on the other hand, there is (used vault as an example, works same on all i try)[Server thread/INFO]: Failed to find an expansion named: vault

tender vaporBOT
#
FAQ Answer:

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

winged chasm
#

but it worked fine before, i downloaded multiple expansions

#

also, now it works after multiple restarts, but any papi command kills it

woven heron
#

Hi, how can i remove items that doenst have enchantments with CheckItem expasion?
I tried this but doesng work, it remove all swords...

%checkitem_remove_mat:diamond_sword,!enchanted%

magic rock
#

Hey, for some reason I'm getting nbsp symbol instead of , with placeholder %vault_eco_balance_commas%, how can I fix it?

silver minnow
#

what is nbsp symbol?

magic rock
magic rock
#

Oh, I see previous replies, sorry

turbid tide
turbid tide
#

@mint fable maybe add it to your todo list? idk

turbid tide
magic rock
turbid tide
#

idk. it might be possible but I'm not sure. btw did I ask you to try /papi parse me %vault_eco_balance_commas%?

magic rock
#

Yes, I tried it, there are still nbsp chars

turbid tide
#

in chat?

magic rock
#

Yes

turbid tide
#

can you send a screenshot?

#

I have to restart PC. brb

turbid tide
#

and what about in console? does it show the nsbp symbol? maybe if you can copy it I can make a js placeholder

#

or I could just use %vault_eco_balance_fixed% I guess to add the commas to that

#

yeah I think that'd be better

turbid tide
#

just papi parse YOUR-NAME %vault_eco_balance_commas%

woven heron
turbid tide
#

idk. just wait for an update or if you know java then make your own plugin I guess. idk any plugins that have this option

magic rock
turbid tide
#

oh it might be your server's fault then. I'll still make the javascript just in case

magic rock
#

How specifically you mean server fault, what can cause it

turbid tide
#

well idk maybe encoding or something

gentle osprey
#

Hi need some quick help - Im trying to set up the progress bar so that it detects players money so they can buy the next rank

Example:
newcomer -> Scavenger (Cost $1000)
Player has $500 so progress bar displays 50% complete

Currently have - &eProgress Bar %progress_bar_{placeholder}%

silver minnow
gentle osprey
silver minnow
#

hm

#

then i don't know, sorry 😦

#

wait

#

%progress_bar_{progress_percentage_{vault_eco_balance}_m:10000}%

#

what if u try that?

gentle osprey
#

nope

#

am i missing any extensions?

#

i have the vault ad progress bar

#

do i need anything else

silver minnow
#

can u screenshot /papi list?

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
#

and what shows up when you do /papi parse me %vault_eco_balance%

gentle osprey
#

500

#

my balance

#

and i have 6 placeholder hooks

silver minnow
#

like 5000

#

since the limit is 10000

gentle osprey
#

the next rank cost 1000 so if i set it to 5000 it will just rank me up

#

till change the number at the end of the progress to fix that

#

nope not worked

#

what about this - %progress_bar_{placeholder}_c:&a■_p:&e■_r:&7■_l:10_m:100_fullbar:&aCompleted!%

#

says i should change the boxes to what i need

#

but dont tell me what they do

silver minnow
#

oh

silver minnow
silver minnow
#

hmmm

gentle osprey
#

strange one

#

that what it shows

silver minnow
#

🤔

silver minnow
#

(by doing /papi parse me )

gentle osprey
#

50.00

#

so yeah that seem to work as 50.00 is 50%

#

as i have $500 and the rank is $1000

silver minnow
#

hmmmm

velvet verge
#

what would be the API to show all the people online in my network?

gentle osprey
#

but i would like it to display like in the image and not a boring text

velvet verge
#

k thx

#

works thx

gentle osprey
# silver minnow hmmmm

Figured it out - &d&l$%rankup_money_formatted% &c&l- &b[%progress_bar_{PERCENT_DONE money}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lCompleted!%&b]

turbid tide
#

is those 5 minutes? or what?

#

and how is it formated?

#

is it 5:00, 4:59, 4:58 ?

#
var timePassed = "%duels_match_duration%".split(":")

function calculate() {
  var secondsPassed = parseInt(timePassed[0].split(".")[0])*60 + parseInt(timePassed[1])
  var secondsLeft = 300-secondsPassed
  var seconds = secondsLeft%60
  var minutes = secondsLeft/60
  if (seconds <= 9) return "0" + minutes + ":0" + seconds
  else return "0" + minutes + ":" + seconds
}
calculate()``` if that's how the placeholder works then this javascript will do the job I think.
#

oh? what even is that?

#

why 04.06666:01 ? what's that

#

can you show a screenshot?

#

?imgur

tender vaporBOT
#
FAQ Answer:

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.

turbid tide
#

I'm so confused. why would it show that? what's the 0666 what's the 40 ?

#

I assume 03 is minutes

#

ohhh

#

is it 3 minutes 40 seconds?

#

yeah but what is the 06666 that's what confuses me but I think that's just % of 1 minute

#

I mean I can change that a bit and I think it will work

#

I've edited the code

#

you can try that one

#

maybe then

#

yeah just try my code

#

I think I've understood what it shows

#

its above

#

I edited my message

turbid tide
#

I mean still my code should work

#

if 04 is minutes

#

and 56 is seconds

#

but does the code I sent not work?

#

oh wait that is my placeholder?

#

oh xD

#

I was so confused

#

easy fix tho

#
var timePassed = "%duels_match_duration%".split(":")

function calculate() {
  var secondsPassed = parseInt(timePassed[0])*60 + parseInt(timePassed[1])
  var secondsLeft = 300-secondsPassed
  var seconds = secondsLeft%60
  var minutes = secondsLeft/60
  if (seconds <= 9) return "0" + minutes.toFixed(0) + ":0" + seconds
  else return "0" + minutes.toFixed(0) + ":" + seconds
}
calculate()```
#

here you go

#

wait actually

#

now its fixed

#

yeah I saw

turbid tide
#

oh my bad I forgot I have 2 returns

#

fixed

#

the code above

#

do you have a screen recorder by any chance?

#

can you put the javascript and the %duels_match_duration% placeholder both in a scoreboard or hologram that updates every second?

#

put them both please

#

no just somewhere where it updates

true coyote
#

thanks BlitzZzZzZzZ for helping me and !test with vault placeholder ❤️

turbid tide
#

👍

#
var timePassed = "%duels_match_duration%".split(":")

function calculate() {
  var secondsPassed = parseInt(timePassed[0])*60 + parseInt(timePassed[1])
  var secondsLeft = 300-secondsPassed
  var seconds = secondsLeft%60
  var minutes = secondsLeft-seconds/60
  if (seconds <= 9) return "0" + minutes.toFixed(0) + ":0" + seconds
  else return "0" + minutes.toFixed(0) + ":" + seconds
}
calculate()``` can you try this one?
#

well if that works then no

#

if it doesn't then yeah

#

will watch it a bit later. rn I am in a game of csgo

calm owl
#

Does anyone know if the setPlaceHolder still working?

fading hemlock
#

yo

#

can someone please help me

#

with my deluxemenus updating

turbid tide
#

can you try one more? xD? ```js
var timePassed = "%duels_match_duration%".split(":")

function calculate() {
var secondsPassed = parseInt(timePassed[0])*60 + parseInt(timePassed[1])
var secondsLeft = 300-secondsPassed
var seconds = secondsLeft%60
var minutes = (secondsLeft-seconds)/60
if (seconds <= 9) return "0" + minutes.toFixed(0) + ":0" + seconds
else return "0" + minutes.toFixed(0) + ":" + seconds
}
calculate()```

calm owl
#

But when I try getting the placeholders method and try to onRequest it works

#

Is it a bug or the method setPlaceHolder is going to be removed

turbid tide
#

it shouldn't afaik. and it works for me. you're developing a plugin right?

#

no problem

turbid tide
#

can you ask in #development. Please post a pastebin of your build.gradle or whatever pom file if you use maven and also any errors that you get

calm owl
#

Yeah

lofty grove
#

I have never had this issue with the JavaScript expansion when I was using MC 1.12.2: https://paste.helpch.at/bevizeyedo.txt (I currently have the engine line deleted so it is using the default)

static crescent
#

Can I get some help from someone concerning the placeholderapi mysql expanion queries?

tender vaporBOT
#

@tranquil sapphire,

Hey!

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

vocal coral
#

Hey I installed Placeholder API and Pinger. My server is rebootedbut i'm only getting to see the place holder like this: %pinger_players_127.0.0.1:25568%
Anyone knows how to fix it?

errant iron
vocal coral
errant iron
#

try /papi parse %pinger_players_127.0.0.1:25568%

vocal coral
errant iron
#

try %pinger_players_localhost:25568%

vocal coral
#

Also doesn't work.

factions:
location: world, 12.354, 53.200, -10.169
lines:

  • '&4Factions &7| &4Season 0'
  • ''
  • '&7* &fVersion&7 &41.8.x - 1.16.x'
  • '&7* &fStatus&7 &4%pinger_online_127.0.0.1:25565%'
  • '&7* &fPlayers&7 &4%pinger_players_127.0.0.1:25565%'
errant iron
#

I'm not sure if you can ping yourself ngl

#

Try another server's ip and see if it works then

vocal coral
#

Also doesn't work

errant iron
#

you did /papi reload?

vocal coral
#

Yes

errant iron
#

I got no clue then man, honestly

#

That's in DeluxeMenus?

#

or what plugin is that

vocal coral
#

holographicdisplays

errant iron
vocal coral
#

I need to use those ones?

errant iron
#

Yep

vocal coral
#

Uhm i can't get players online in there

errant iron
#

Then you can't do it. That plugin doesn't even use the plugin this channel exists for

silver minnow
vocal coral
#

Wich plugin i need for it?

silver minnow
#

I just said it-

vocal coral
#

Like that support it

silver minnow
#

HolographicExtensions is an addon for HolographicDisplays

#

which lets it support PAPI

#

and ProtocolLib is a plugin that HolographicExtension requires

vocal coral
#

Alright going to test it out.

#

Is there not a holograms plugin that support Papi by default?

#

It works thanks

errant iron
#

lmao

slender grove
#

Is it possible to have a specific permission required to being able to see a specific placeholder?

near willow
#

Please link for Expansion-Skript, not working me

near willow
#

its not working, in manual message: Failed to register expansion from Expansion-Skript.jar

errant iron
#

What does it say in the console?

near willow
errant iron
#

hmmm looks pretty out of date to me

#

okay so, it seems someone made a fork of it that might work

#

try that

near willow
#

ok wait

#

Failed to register expansion from SkriptPlaceholders-1.0-SNAPSHOT_HIeuM09.jar

#

:/

errant iron
#

yeah doesn't seem like skript stuff is working

#

I know most people have a general distaste for Skript (for good reason), so you might want to consider actually learning Java and stuff!

#

imagine how cool that'd be, eh?

#

maybe you could write your own placeholders some day

near willow
#

Writing plugins was something I tried, but my skills are at the level of the scripts in that plugin

#

It used to work for me, and someone from there helped me, but I don't remember and I don't have the old server saved

errant iron
#

just watch a few tutorials!

#

ask around here, I'm sure there are people willing to help

near willow
#

I also searched on the Internet and there are add-ons, but mostly not working for me

#

Nooo! It's not time for me for plugins yet 🙂
For now, I prefer to use scripts even though I know that they put a load on the servers

errant iron
#

hmmmm

near willow
#

Placeholderapi downloads an add-on to the script itself, do you know why this is happening?

errant iron
#

well it's gotta download the addon for PAPI to be able to parse the Skript placeholders

#

but obviously it's not up to date

#

unless Skript has them built in now?

near willow
#

oh, I found a TAB plugin and it does, disable it and try to add the add-on again

#

probably some progress, displays N/A

near willow
errant iron
#

ah very nice the up to date one worked haha

near willow
#

oh

flint harness
#

anyone knows placeholder for date in featherboard 3.0?

solid birch
#

anyone know the placeholder for ping in deluxechat

errant iron
#

/papi ecloud download Player

solid birch
#

ty

lucid dove
#

Hello, when I am using `%pinger_online_10.0.0.2:25570%`` it shows the server as offline but it is actually online.

Does anyone know how to fix that?

errant iron
#

10.0.0.2 is an internal ip address

errant iron
lucid dove
#

I also tried using the external ip-address but it doesn't work

#

I currently have 3 dedicated servers and the proxy stands at 10.0.0.1

the Pinger Extension manages to ping 10.0.0.1 servers & 10.0.0.3 servers but it fails to ping 10.0.0.2 servers

errant iron
#

Are you hosting this on your local computer?

lucid dove
#

no

errant iron
#

Then you shouldn't be able to use internal ip addresses...

lucid dove
#

Lets say I have 3 dedicated servers 1, 2 and 3

My proxy is running on dedicated number 1.

I currently have 6 lobbies running on dedicated # 2
I am trying to ping a server on dedicated number 3 through number 2 with an internal ip-address which works
but when I am trying to ping a server on dedicated number 2 through dedicated number 2 I suppose the placeholder is throwing a socket error and shows the server as offline

even if I use the external ip-address it shows the server as offline...

errant iron
#

you have 6 lobbies on one server? I don't think it knows what to do in that scenario

#

are you using bungeecord?

#

or waterfall

lucid dove
#

velocity

#

I made my own socket placeholder and it works, but when I am using the pinger placeholder it shows it as offline

errant iron
#

Dude you are beyond the basic help from this discord lol

#

Just make your own extension at this ponit

turbid tide
#

I was about to say. The pinger expansion is pretty broken. If you have the knowledge just make yours. its way easier

lucid dove
#

Right now I am busy with my personal life so I can't find the time to go over the PlaceHolderAPI extensions library, so my team prefers to use the Pinger placeholder for now

turbid tide
#

btw go to config.yml and update the check time from 30 to 1 or something like that

lucid dove
#

It is set to 3 right now

turbid tide
#

hmm

#

also do you have TCPShield set?

lucid dove
#

yes

turbid tide
#

because that also breaks it

#

on my server I can't use pinger at all because of tcpshield

lucid dove
#

I mean, I can use pinger on 2 other dedicated machines but on the same dedicated it fails

turbid tide
#

hmm idk I've never actually looked at the code of pinger so I'm not sure

#

oh wait

#

nvm

#

that's not it

#

why would they make this one OS but not the actual expansion? lmao

errant iron
#

to prevent duplication >:)

#

wouldn't want you making a better Pinger, now would we

turbid tide
#

nah I think they wanted to update it or remake it

#

because its version 2.0.0

errant iron
#

yeah your ping is probably getting blocked

#

there's like, a million things that block ICMP requests

silver minnow
turbid tide
#

where? can't find it in the plugin

#

only 3 options in plugin

#
# Please keep this as true in while using TCPShield!
only-allow-proxy-connections: true

# available modes: system (uses the system time), htpdate (uses a synchronized date) & off (deactivates timestamp validation)
timestamp-validation: 'htpdate'

# Turn on to diagnose connection issues
debug-mode: false```
silver minnow
#

only-allow-proxy-connections: true

turbid tide
#

wait but if I disable that doesn't it just disable TCPSHield? or what

silver minnow
#

also i didn't know the second was a thing

silver minnow
#

but just lets ppl using number ip still connect

#

(otherwise it says "Disconnected")

turbid tide
#

ah I see

silver minnow
#

so i think the warning is just in case someone gets ip

#

it will just say "Disconnected"

turbid tide
#

yeah I prefer to keep it hidden xD

silver minnow
#

lol

turbid tide
#

this is on their official docs

errant iron
#

nice

#

yeah you definitely don't want to be able to be pinged lol

#

maybe find a way to get that info through the proxy

turbid tide
#

yeah I could I just don't need it that much xD

#

also I have other shit to worry about rn lmao

errant iron
#

but networking is kinda fun!

#

i took a whole class about it and learned nothing

#

then i made a mock network and got docked points for not using dotted lines for wifi 🙂

austere hawk
#

Can someone help me out, the integration with Jobs isnt working right

errant iron
#

wdym

turbid tide
errant iron
#

do you have the ecloud extension downloaded and did you reload papi

errant iron
austere hawk
#

Can we post pics here/

turbid tide
#

?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.

turbid tide
#

for me the problem is understanding the concepts. because I know how to make a class, how to use it and all that and I understand quite a bit but some concepts I just don't. And I don't even bother trying to understand them more by searching other explanations lmao

austere hawk
#

Alright so whats happening is that it returns the same value for all jobs

#

for example if Im working as a brewer

#

and did this

#

%jobsr_user_isin_Woodcutter% returns true

#

if im not working any job it returns false, but if Im working any job it doesnt matter which all of them return true

#

although jobs side im only working as that particular job

errant iron
#

do you have all permissions?

austere hawk
#

it does it regardless of the perms

#

but yes

#

It happens to normal members too

errant iron
#

hmmm

austere hawk
#

Since all job placeholders return true it looks like the player is joined in all jobs

turbid tide
#

try updating Jobs Reborn

#

because the expansion is included in the plugin. if it doesn't work after that. contact the dev of the plugin

austere hawk
#

Its already the latest

#

mk

jade sonnet
turbid tide
jade sonnet
#

Tysm

frigid prairie
#

Is it possible to block the base /placeholderapi and /papi commands? It's just that they're useless to players so might as well hide them if possible

silver minnow
frigid prairie
#

damn ok, thank you

turbid tide
#

there is no placeholder for that. you'll probably need a custom plugin for that since that information is not stored anywhere by default

#

you can use a plugin like ajLeaderboards or LeaderHeads to do that.

#

not really a good way to do it with JS even tho it might be possible

#

yeah

solar scroll
#

Hello ! I updated EssentialsX through the website and everything is good for the console, however in-game placeholders of PAPI no longer work, do you have any idea?

errant iron
#

Have you restarted the server?

solar scroll
#

Yeah

errant iron
#

hmmm, is PAPI up to date?

#

Oh and does it say this in console? [02:31:27 ERROR]: [Essentials] You are running an unsupported server version!

#

If you got the latest version for 1.16.5, it probably will

solar scroll
#

Yes, I had this message before changing the version

#

Do I have to put back the old version of Essentials?

errant iron
#

Yes, we can't help you with an unsupported version

#

And most likely things won't work lol

solar scroll
#

Owh ok, thanks x)

keen mica
#

%playtime_player% doesnt work?

#

%statistic_time_played% is inaccurate too

keen mica
#

@neat fern Unfortunately those placeholders do not work

neat fern
#

look at the update for latest version

#

youu no longer need the expansion

neat fern
keen mica
neat fern
#

not from my plugin

#

all im doing with mine is getting the playtime from the players stats thats inside of the world folder

neat fern
keen mica
#

I'm using your plugin if so, and its working

neat fern
#

im the developer of playtime yes

#

whats the issue your having?

keen mica
#

Oh ok, I can't seem to use other placeholders within your plugin

#

i want to include join date

#

Other plugin kept resetting Jd

neat fern
#

where are you getting the data for join date?

#

i can look into adding it if so

keen mica
#

Player extension

neat fern
#

ok let me look into it

keen mica
#

Thanks ❤️

winged chasm
#

Im running a bungeecord network, and after a reboot placeholderAPI completely died, it doesnt error in logs, but none of the placeholders work, when trying to reload there is just

[11:19:21] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...``` and no other response. When trying to download an expansion on the other hand, there is (used vault as an example, works same on all i try)
```[Server thread/INFO]: Failed to find an expansion named: vault```even without any expansions it still reacts the same, only placeholders that i can use are those that are hardcoded into other plugins. I have tried manually putting expansions, doesnt work. I have tried changing config, doesnt work.
zinc sapphire
#
[13:01:27 WARN]: [PlaceholderAPI] redisbungee is attempting to register placeholders via a PlaceholderHook class which is no longer supported!

Is there any way I can modify the code of the plugin or something to make it work?

#

Yes, I know redisbungee is unmaintained

vestal kiln
#

Hello it's possible to use placeholdersapi for bungeecord ? i want to show the nickname of player with essentials

silver minnow
vestal kiln
#

in plugin bungeecord ?

silver minnow
#

no

vestal kiln
#

not spigot plugin

silver minnow
#

it doesn't support bungee

vestal kiln
#

ho :/

#

i want to show the nickname of player

#

i create a globalchat plugin

turbid tide
#

you can't. unless that plugin has a way to take input from spigot to bungee.

vestal kiln
#

okay

lilac oxide
#

where are the docs for relational placeholders? I'm using a plugin that supports them, but I cannot find how to create one

silver minnow
#

notepad

#

any text editor

ocean edge
quiet gulch
#

contact the expression author

#

like it says

ocean edge
#

ohhh okay thanks

velvet flint
#

I use notepad++ to find a replace

#

just find the symbol and replace with the new one

winged chasm
#

how do i make papi ignore ecloud?

winged mauve
#

I get this with deluxe menus. what am I doing wrong?

finite crater
#

Hello.
I can't seem to add any placeholders to my items name's, is there anyway to do this?

turbid tide
winged mauve
#

cant post images ofd the log

tender vaporBOT
#

@winged mauve,

Uploading Images

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

turbid tide
#

just give a pastebin of the entire log

#

?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

turbid tide
winged chasm
#

well, my papi is still broken 😦

dreamy oracle
#

please

#

help me

#

my mc

#

wont work

turbid tide
winged chasm
#

some time ago, after a restart, all the expansions stopped working (placeholders that are hard-coded into other plugins worked tho), i couldnt connect to ecloud, and i couldnt reload the plugin. I already reinstalled the whole thing, checked different versions, tried without any plugins that might interfere, disabling ecloud, nothing worked

turbid tide
#

ok so a few more things to try: use the dev builds of PAPI, go to plugins/PlaceholderAPI/expansions and delete all the expansions from there and then go to https://api.extendedclip.com/all/ and manually download the expansions, put them in that folder and do /papi reload if just a reload doesn't work fully restart the server. also don't use PlugMan or anything similar

winged chasm
#

where can i find dev builds?

turbid tide
#

?papi-builds

tender vaporBOT
turbid tide
#

here ^

winged chasm
#

thx

turbid tide
#

the latest one

winged chasm
#

because it already know that manually getting the expansions (for eg. vault) still doesnt work

turbid tide
#

Do you get any errors? Maybe send a full startup log in a paste

winged chasm
#

well, now i can connect to ecloud, still cant reload, but its ok, ill just restart it

turbid tide
#

?startuplog

tender vaporBOT
#
FAQ Answer:

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

winged chasm
#

should i send it here again?

turbid tide
#

maybe I can understand some of it. if you want

winged chasm
#
[22:09:36] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[22:09:36] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...```thats what happens immidiately when trying to reload, and after that (i dont know if its even related, as sometimes it comes much much later)
```THIS LOG IS NOT RELATED, CHECKED```
#

sry that i didnt link it but i dont think its that long...

turbid tide
#

welp nvm I got no idea xD

#

doesn't look like there's anything PAPI related tho. not sure

winged chasm
#

ummm what? now when checking the expansions folder, there was no vault i installed previously, refreshed ftp to be sure it isnt there, then put it manually, done /papi reload, and the old vault appeared again...

turbid tide
#

try stopping the server

#

while removing

#

the old jars

#

and putting in the new ones

winged chasm
#

well, when doing /papi ecloud list installed it shows that there are no expansions

finite crater
# turbid tide `%player_item_in_hand_name%`

Hello Blitz.
Inserting that or any other placeholder doesn't work, it will just change the name to that, as if Placeholders didn't even exist...

"/itemname %player_item_in_hand_name%" simply changed it to the name %player_item_in_hand_name%

I wonder if I am doing something wrong

tender vaporBOT
#

@finite crater,

Hey!

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

turbid tide
finite crater
#

Literally none placeholder is working in itemnames or item lores

graceful forum
#

oh

#

nvm

#

fixed it

#

🙂

rare lily
#

This has been requested for weeks

errant iron
#

What language is that

turbid tide
#

JS

errant iron
#

🤮

turbid tide
#

well at least an attempt I guess

#

its for the JS expansion of PAPI

errant iron
#

Who chose JS as the expansion Lang

#

We could've had Lua

turbid tide
#

make it then ... xD

#
var kit = "%kitpvp_player_kit%"

function translate() {
  switch (kit) {
    case "Fighter":
      return "Боец";
    default: 
      return "Няма";
  }
}
modern lynx
#

How can I show multiple servers' player count with Bungee placeholder?

turbid tide
#

%math_0:_{bungee_server1}+{bungee_server2}+{bungee_server3}% Or you can just use %bungee_total% for all servers together

modern lynx
#

that's makes sense

#

thanks

idle coral
#

Just noticed something very interesting lmao
This is the %statistic_time_played% from Statistic something doesn't seem right xD

warm topaz
#

update ur papi

errant iron
#

nah bro, you gotta wait till 48h till it wraps around

#

you're on moon time

warm topaz
#

one of the dev builds fixes it iirc

idle coral
#

Ew Skript extension is pinned

warm topaz
#

unpin it!

brisk coral
#

Disgusting

idle coral
#

Also Kali, that is still not fixed, just tried on 2.10.10-DEV-122

#

Don't think the expansion was updated yet

errant iron
#

how many dev versions can there possibly be for a PAPI extension lmao

idle coral
#

I see the fix on git hub

gritty phoenix
#

Hello, i got this error, I don't know what does mean, can someone help me please ?

java.lang.NullPointerException: null
at me.gabytm.placeholderapi.config.ConfigExpansion.register(ConfigExpansion.java:56) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:139) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:257) ~[?:?]
at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:248) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:605) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$2(LocalExpansionManager.java:288) ~[?:?]
at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.5.jar:git-Paper-503]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.5.jar:git-Paper-503]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:950) ~[patched_1.16.5.jar:git-Paper-503]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:175) ~[patched_1.16.5.jar:git-Paper-503]
at java.lang.Thread.run(Thread.java:834) [?:?]```
vivid sparrow
#

Oh no my baby

steep thorn
#

But Gaby is typing and he made it

#

🙂

vivid sparrow
#

The one you linked to is an old version, Robin

steep thorn
#

Yeah I thought so, stacktrace didn't match

sweet terrace
#

Hey, my server has crashed a couple of times today and after looking through the logs it seems like PlaceholderAPI is the (or one of) the issues? https://pastebin.com/LZACnkQR

errant iron
sweet terrace
#

Thanks! I'll try that if the server crashes again 🙂

narrow otter
#

Greetings! I immediately get to the subject, I use the deluxechat plugin. On the one hand I am using fabled but I am having a problem. The island level shows "my" island level even though I use the %fabledskyblock_level_formatted% or %fabledskyblock_level% placeholder. I looked at other servers, they somehow solved it. I use the plugin called chatinjector so that the Fabledin level does not get in trouble. How can I get rid of the place holder problem?

narrow otter
south spruce
#

Hi, I've tried downloading the World pack of placeholders to my aternos server. I run /papi ecloud download World but it says it doesn't exist???

south spruce
lapis spire
#

Hello why i have in luckperms placeholder (Parent temp group) only 6 days but not 30 days ? (I set parent group for 30 days)

mint fable
#

modifiers are separated by , not _

#

so mat:bone,strict

finite crater
#

Hey can I get some help with my last issue?
I still couldn't get it fixed...
My placeholders simply don't work in an item's name, no matter what placeholder I'm trying

narrow cloak
#

how do i use %server_countdown_dd.MM.yyyy_01.01.2020%

#

i want to countdown to the 29th of this month

turbid tide
errant iron
#

no american datetime? :(

turbid tide
#

you can change the formatting to whatever you want

#

in that placeholder

#

for example if you want it

#

MM/dd/yyyy hh:ss aa you can

narrow cloak
#

kk thanks ill try that

turbid tide
#

because if it doesn't then it won't work

narrow cloak
#

ok i did /holo setline test 1 %server_countdown_29.03.2021_29.03.2021% and still returns 0?

turbid tide
finite crater
turbid tide
turbid tide
narrow cloak
#

so this? %server_countdown_dd.MM.yyyy_29.03.2021%

turbid tide
#

yeah that should work

finite crater
narrow cloak
#

o thats right i cant put pics in here... but it just shows the placeholder

errant iron
narrow cloak
turbid tide
#

I mean it really depends. I know EzBlocks can do that but idk. I don't know any plugins that can even add placeholders to item names so can't help you

turbid tide
narrow cloak
#

Holographic Displays

errant iron
#

it uh

#

doesn't seem to support PAPI

#

and their placeholders list is down from OVH lmao

narrow cloak
#

ill try it with my servernpc plugin since it supports placeholderapi to be sure

turbid tide
errant iron
#

ah yeah you need the extension thats right

turbid tide
#

you can always test placeholders by doing /papi parse me %placeholder%

narrow cloak
#

Yea the servernpc plugin requires that plugin

turbid tide
#

or change me to the name of any player that's online

lapis spire
#

Where can i send screenshot?

errant iron
#

?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.

narrow cloak
errant iron
#

nice so now we just need the hologram to work eh?

#

did you set the refresh holder

turbid tide
#

make ure you have HolograhpicDisplay and ProtocolLib tho installed

#

HolograhpicExtension***

#

not display

#

that too

#

but HE as well

errant iron
#

To make sure the placeholders update you will need to add refresh holders.

lapis spire
errant iron
#
{fast} - 0.5 seconds
{medium} - 1 seconds
{slow} - 5 seconds
{slowest} - 10 seconds.```
narrow cloak
#

kk like i said servernpc requires it so im going to test that placeholder below the server im useing it on

errant iron
#

is that two chat windows overlaying eachother?

lapis spire
#

What do you mean ?

narrow cloak
#

ok the most important part i needed works

errant iron
#

oh I didn't see your question lol

lapis spire
#

I post those screens for BlitzZzZ

narrow cloak
#

thanks for the help @turbid tide

turbid tide
#

no problem

#

that's very weird. are you sure you parsed the correct group name?

#

because I just tested it on my server

#

and it works

lapis spire
#

Yes i am sure

turbid tide
#

what's your PlaceholderAPI version?

lapis spire
#

2.10.9

turbid tide
#

try updating to the dev build.

#

wtf

#

?papi-builds

tender vaporBOT
turbid tide
#

ok you can get it from here ^

#

the latest development build

turbid tide
winged chasm
#

thx Blitz, after trying to deleting every single plugin one by one, it turns out newest build of skungee killed it, now its fixed

errant iron
#

oh boy skungee

#

funny name and funny purpose

pulsar lake
#

Having an issue with the Javascript community script lore.js
It works correctly, but after a second or two, it stops showing all lore lines and just shows the first lore line and nothing else.
This is inside DeluxeMenus

turbid tide
#

that's because of update: true iirc. You'll have to disable that for the item.

#

there's no fix at this moment and idk when a fix will be made

pulsar lake
#

in placeholderAPI? or DeluxMenus

turbid tide
#

deluxemenus

pulsar lake
#

Ah, that worked, thanks

void cypress
#

Yo

pulsar lake
#

if I need to, I'll use the refresh command instead of update

void cypress
#

none of my placeholders are working

#

dont understand whats going on

#

i got essentials vault player

turbid tide
#

you downloaded the expansions for them?

void cypress
#

yeah

#

trying to return %player% when someone redeems a kit

turbid tide
#

and if you do /papi ecloud list installed they show up?

#

%player_name% is the one you have to use for player name

void cypress
#

I know

#

its not working

#

just shows up as text

turbid tide
#

what about the ecloud list command I gave above?

void cypress
#

Yeah they show up

turbid tide
#

And how are you testing the placeholders? In what conditions

void cypress
#

/broadcast %player% has just purchased a Kitname!

#

or %player_name%

#

i mean none of them are working

#

nothings returning

errant iron
#

try /papi parse %player_name%

turbid tide
#

/papi parse me %player_name%

#

also you need to make sure your broadcast command supports placeholders. if they work with /papi parse then it doesn't

errant iron
#

aw shit yeah u rite

void cypress
#

ok so i did the papi parse and it returned my name

turbid tide
#

yeah then your broadcast plugin doesn't support PlaceholderAPI

#

you need to get one that does

#

give me 2 seconds. I remember I made one for someone a long time ago. If I find it. I'll send the jar.

void cypress
#

honestly have no idea which plugin broadcast goes to

#

might be my anticheat

#

but even then

turbid tide
#

if you have Essentials then that's the one

void cypress
#

oh

#

essentials doesn't support placeholders?

turbid tide
#

well not from PlaceholderAPI it does not

void cypress
#

what do

#

Why would there be an ecloud for essentials

#

if it doesnt work

turbid tide
#

well that's different

#

placeholders from essentials work

#

in other plugins that support PAPI

#

the expansion takes data from essentials and displays it in other plugins that support it

#

but essentials doesn't support PAPI so it can't convert placeholders into the data

void cypress
#

so what should i do here

#

uninstall placeholders api?

turbid tide
#

well if you wait a bit I'll try to give you a broadcast plugin that supports PAPI

#

just need to find it

void cypress
#

even for holographic displays though too

#

nothing is returning

#

is that because of essentialsX?

turbid tide
#

because that plugin doesn't support PAPI either

#

but you can download 2 plugins and it will work

#

HolograhpicExtension

#

and ProtocolLib

#

it will work in holograhpic display only

void cypress
#

huh

#

Ok

#

interesting

turbid tide
#

so basically HE uses PLib to take over HolograhpicDisplay and parses the placeholders

turbid tide
# void cypress Ok

I think I have deleted the plugin. If you want I can make one and send it tomorrow. I have some work to finish. Well today for me since is 1 am but later today in like 12-16 hours

void cypress
#

Yeah if u can send me a link to it ill check it out

turbid tide
#

well I'll just send the jar after I make it.

#

and the source code in case you're one of those people that "don't download anything from discord just in case its a virus" lmao

errant iron
#

Blitz just makes a broadcast plugin for this guy

#

we stan him

turbid tide
#

I mean its one of the easiest plugins you can make

#

after Hello Wordl

#

world*

hollow crater
#

Hey 🙂 Not sure if this is the right channel, please tell me if I should move it...

Is there any way to make custom placeholders? I'll explain this the best I can. I'm setting up a custom Achievements menu on a minigames server using DeluxeMenus. Obviously using DM you can add console command actions when certain items are left clicked. Is there a way to 'add 1' in value to a 'custom placeholder' when an item is left clicked? For example, I make a placeholder with an integer value. The placeholder can be called 'AchievementsComplete'. Then, using DeluxeMenus, every time my player completes one, they click the item in the menu and I want the Placeholder to increase in value by 1. This could also be used in other menus such as a Shop Menu where each time an item is purchased, the placeholder 'ItemsBought' can increase by 1. This idea I assume woud need to be/could be linked to a MYSQL database to track what each players current 'stats' are.

If this is in any way possible or if there are any ideas or other plugins capable of this, any help would be appreciated 🙂 Thanks! If any of that doesn't make sense, please let me know and I'll try explain better.

Note: the end goal / reason I want this is I want one of my achievements to be 'purchase X amount of items from the Shop Menu'. To be able to do that, I need a way of tracking how many the player has

steel tendon
#

you could use a meta permission to track it. You'd just need a way to perform math functions on that permission then. Should be doable using the Math placeholders.

Something like this might work assuming you use LuckPerms: %math_{luckperms_meta_purchasedobj}+1%

hollow crater
#

Hey thanks for the reply, I'm not familiar with this so I'm just playing around with it in game before I reply

#

So how would I use a command to add the value of 1? When I run /lp user AltSplash meta set test %math_{luckperms_meta_test}+1% that doesnt work. It just sets the value to the text of '%math_{luckperms_meta_test}+1%'

#

If I can get a command to add 1 to the value, I think this is exactly what I'm looking for

steel tendon
#

Make sure you have the math PAPI extension installed. Also, try doing it with a DeluxeMenus button, as that should parse the placeholder.

/papi ecloud download math
/papi reload

[console] lp user AltSplash meta set test %math_{luckperms_meta_test}+1%

hollow crater
#

I had the Math extension installed but I'll try doing it through a DM button, just having lunch quick 👍

hollow crater
#

Ok, so, the [console] version worked so that's great. Only thing I can't get working is for DeluxeMenus to recognise when a players meta value is at a certain number to change the display item in that slot. By using the [console] way its setting the meta to 3 decimal places, not sure if that is the issue (i.e. instead of 3, its 3.000). In the attached menu, looking at items 4a and 4b, I've tried switching the priorities around and also tried changing the output between 4 and 4.000 but I can't get any combination where AltSplash can see item 4b, the diamond.

https://pastebin.com/9kf5sjLK

steel tendon
#

You can control precision/rounding

#

I think I just did that wrong

quick sphinx
hollow crater
#

Perfect I've got it working now, thanks for all the help this is really useful to me 🙂

slender swan
#

is there any user text input expansion?

empty ridge
#

how do i show the top player with highest vault balance because %vault_eco_top_player_#% doesn't seem to work for me

empty ridge
#

yea that was what I was trying to type but that doesn't work for me

mild gale
empty ridge
#

I had it installed and it still doesn't work :/

mild gale
#

Where do you intent to put the placeholder?

empty ridge
#

tab plugin

#

I just read pinned messages that expains it

#

but is there a way to show the player with the highest vault balance?

tropic glade
#

Hi! Having problem with localtime extension. Im using it for TAB plugin. When im adding this: %localtime_timezone_<Timezone_ID>% with actual timezone id from site, it doesnt show right time zone, like it shows same time for all id's

kindred creek
#

Hello ! Is a BungeeChat plugin working with PlaceholderAPI ?

winged chasm
quick sphinx
#

^^^ Why? thonking1

#

%jobsr_user_boost_(jname/number)_(money/exp/points)% won't work for all the jobs

vocal imp
#

I have a question about the checkitem requirement.
input: '%checkitem_amount_remove_mat:NETHER_STAR,amt:1,lorecontains:&7Effect: &6+250% Token Boost%'
The lore I am using has a % in it, so it's making DM think that the first % is the end of the input, is there anyway to make it think that it's not the end of the input and apart of the lore?

steel tendon
#

[prc]

#

Over the last few days I've started getting an error from the ecloud manager whenever I reload it. This happens on both my local machine and a dedicated server box.

https://pastebin.com/LAEat6Bh

turbid tide
turbid tide
steel tendon
tender vaporBOT
#

@steel tendon,

Hey!

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

turbid tide
#

can u send over your startup log?

#

?Startuplog

tender vaporBOT
#
FAQ Answer:

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

steel tendon
#

With the broken ones enabled?

turbid tide
#

yeah

steel tendon
steel tendon
#

Magma at the moment.

#

Magma-81f47df-server.jar

turbid tide
vocal imp
#

Already tried that Blitz, thanks for the suggestion though :)

somber sonnet
#

is there a placeholder for how much levels you have?

errant iron
tender vaporBOT
#

@errant iron,

Hey!

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

errant iron
#

lmao

brisk coral
#

How do you not know if papi is OS

#

ofc it is

errant iron
#

BungeeChat lmao

brisk coral
#

Probs not

errant iron
#

:/

turbid tide
errant iron
#

haha nice

#

how come nobody has added papi then hmm?

turbid tide
#

well its probably not that used or such a required thing

#

also seems like they're working on a full rewrite

errant iron
#

yeah it really does lol

#

renaming and all

turbid tide
#

yeah

ornate summit
#

Hey

#

I can tell if this is a problem with holographic displays or papi

#

but when I do %bungeecord_duels1% in a hologram it just says %bungeecord_duels1% not the player count

#

of that server

trim mist
turbid tide
#

^ HD doesn't support PlaceholderAPI. you need the HolograhpicExtension as well

ornate summit
#

I have it

#

other placeholders work

#

just not bungee cord one

#

nvm

#

i fixed it

#

its %bungee_duels1% not bungeecord

fickle tide
#

Hey guys, i have an issue when my server was on 1.8 all of the placeholders worked, now when i upgraded the server to 1.12 it stopped
i've fixed every placeholder except this one (keep in mind this worked)
%math_{prisonranksx_nextprestige_name}-1[precision:0]%
I've updated or did papi ecloud download math,mwdv but if you have any idea what should i do i am open for suggestions and advice 😄

turbid tide
#

the way the precision is set was changed

#

in the latest version of the Math expansion

turbid tide
turbid tide
#

oh wait maybe I messed up the version. let me check which one is the latest

#

oh yeah 1.2.0 not 1.7.0

#

my bad

fickle tide
#

oh thanks 😄

trim jungle
#

is it possible to make a custom placeholder that looks for a specific line in server.properties?

vivid sparrow
#

I guess you can commission somebody to do it

#

Or try your luck with js 🤷

turbid tide
#

I mean you can get stuff from Server can't you?

#

and js allows you to get Server. so you can use that

vivid sparrow
#

d;methods spigot Server

ionic fractalBOT
#
Methods:
org.bukkit.Server#reload
org.bukkit.Server#getEntity
org.bukkit.Server#addRecipe
org.bukkit.Server#getPort
org.bukkit.Server#getServicesManager
org.bukkit.Server#getTag
org.bukkit.Server#getBukkitVersion
org.bukkit.Server#getRecipe
org.bukkit.Server#setSpawnRadius
org.bukkit.Server#broadcastMessage
org.bukkit.Server#setWhitelist
org.bukkit.Server#getBossBar
org.bukkit.Server#getSpawnRadius
org.bukkit.Server#getWaterAnimalSpawnLimit
org.bukkit.Server#getUnsafe```
turbid tide
#

whatever this and Player allows

#

you can use in JS

#
var server = BukkitServer;
var player = BukkitPlayer;```
vivid sparrow
#

why redefine a variable xd

turbid tide
vivid sparrow
#

Thats not what im asking

#

var server = BukkitServer is useless

turbid tide
#

ah you mean just use BukkitServer?

#

idk

#

I just went with what the wiki has

#

lmao

vivid sparrow
#

Noob

turbid tide
#

shut*

#

you saw nothing

vivid sparrow
#
function getServerProperty() {
    if (args.length == 0) return ""

    switch (args[0]) {
        case "ip": return BukkitServer.getIp()
        case "port": return BukkitServer.getPort()
        default: return "null"
    }
}

getServerProperty();```
#

@trim jungle

trim jungle
vivid sparrow
#

kinda

#

You will use the placeholder as %javascript_<name>_port%

turbid tide
#

there's a DocDex list of methods

#

aboce

#

above*

vivid sparrow
#

Although most things should be available on the server expansion

trim jungle
#

i'm trying to get the server-name from server.properties (its put there by chatcontrol red) so that i can use this in discordSRV instead of typing the server name in every single line in the config that needs it

vivid sparrow
#

server name is defined on papi config under "server" section iirc.

turbid tide
#

you can use %server_name% and set it in plugins/placeholderapi/config.yml instead

trim jungle
#

yeah but i would rather have one location for the server name

vivid sparrow
#

And?

turbid tide
#

well then you can use BukkitServer.getName()

#

if you want to make the js

vivid sparrow
#

Pretty sure it got moved to papi config since the value is no longer on server properties or smth like that

#

d;spigot server#getname

ionic fractalBOT
#
@NotNull
String getName()```
Description:

Gets the name of this server implementation.

Returns:

name of this server implementation

vivid sparrow
#

That will return "Spigot", I think

trim jungle
#

though i didn't think of trying the %server_name% placeholder in the chatcontrol red config

#

guess i could try that

turbid tide
#

you can just make a JS placeholder

#

if you want

#

as we said

#

and use BukkitServer#getName()

trim jungle
#

ah

vivid sparrow
tropic oracle
#

hi all - does localtime use the ip of the player? I tried using a vpn in another country yet it still shows the server time

turbid tide
tropic oracle
#

yes - i connected to a foreign vpn yet it still shows my (and my server) timezone

#

it's not the vpn's fault - other plugins were able to find the correct ip country location

turbid tide
#

have you checked console? when you parsed it. See if you get this error "[LocalTime] Couldn't get " + NAME + "'s timezone. Will use default timezone."

#

because I've checked the code and it would put the server timezone's only if something went wrong when getting the player's timezone

#

I can join your server btw in like 2 minutes and parse the palceholder on me. see if it works then

#

if you want of course

tropic oracle
#

i remember seeing that error before, but not recently (at least none as far as I was able to scroll up to in screen)

#

if there was, would it be when the server started or when a player joined?

turbid tide
#

when the player joined or if not when you parsed the placeholder

tropic oracle
#

are there any incompatible plugins? one i'm thinking might cause problems is fastlogin

#

no - it doesn't say the default timezone when i join (tried with an alt)

turbid tide
#

if you want me to join I can try also try restarting first

#

then joining

#

and checking the console

#

and I'm not aware of anything that might interfere.

tropic oracle
#

i'll try to start a completely new temporary server

#

even a fresh server with papi only wasn't able to parse the time

#

the console didn't say anything

errant iron
#

you did /papi reload or restarted the server?

tropic oracle
#

yes

quick sphinx
#

This may be a shot in the dark but %jobsr_user_boost_(jname/number)_(money/exp/points)% doesn't work for all the jobs, hoping someone knows a solution to this

turbid tide
quick sphinx
#

I posted this issue 2 times and nobody said anything 😦

turbid tide
#

we can't really do anything. well I guess if anyone had time could check if its Open Source and update it but I ain't got time

quick sphinx
#

Nah, I just hoped someone might know why it won't work

turbid tide
#

yeah no idea. Probably just the code being broken

quick sphinx
tender vaporBOT
#

@quick sphinx,

Hey!

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

quick sphinx
#

feelsbadman

kindred creek
#

Hi ! How to use Papi with BungeeCord plugin ?

turbid tide
#

unless that plugin has some sort of extension like the plugin TAB does you can't

queen vine
#

Projeck lost connection: Internal Exception: io.netty.handler.codec.DecoderException: java.io.IOException: Packet 0/0 (PacketPlayInTeleportAccept) was larger than I expected, found 33116 bytes extra whilst reading packet 0
This occurs with PlaceholderAPI installed
when papi is uninstalled, this no longer occurs, ever.
any idea?

#

reposting in the appropriate channel, woops.