#placeholder-api

1 messages ยท Page 95 of 1

warm furnace
#

it returns 0

#

but I am on this bungee xd

turbid tide
#

@austere hawk I think I found the issue thanks to aboodyy

#

you need to go to plugins/PlaceholderAPI/expansions and delete the Statistic expansion

bronze bison
austere hawk
#

im downloading old version

#

new version not work in 1.8.8

#

but it shows 0 kills

turbid tide
#

you need Statistic 1.7.0

austere hawk
#

I'm with him

tender ledge
#

Having a bit of an issue with placeholder API, I use a placeholder for playtime to allow users to hover over their name in chat and see their game time, but since the server has been re-opened, everyone's playtime is 0s

brisk coral
#

assuming statistic expansion?

turbid tide
#

if you changed the world and you were using the Statistic placeholder then it resets

#

the playtime

#

as it is saved in the world

#

and Statistic gets its data from the server

ornate rapids
#

Anyone knows what's the thing about %uskyblock_island_rank% placeholder?

#

Shows PlaceholderAPI errors..

#

when refreshing papi, it says "3 placeholder hooks successfully registrered!"

#

but when doing /papi ecloud list all it says "No cloud expansions are available at this time."..

pale prawn
#

hello all just wondering is there a problem with papi and luck perms i get internal error every tiime i try and download the addon

turbid tide
#

what is your LuckPerms version?

pale prawn
#

the latest i just downloaded it

turbid tide
#

and your PAPI version?

pale prawn
#

also the latest

trim mist
#

=paste

tender vaporBOT
#
HelpChat Paste

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

trim mist
#

Server log pls

pale prawn
#

however i do not have luckperms on my server but rather on my bungee im now wondering does it got to be on the server rather then the proxy

trim mist
#

Yeah it won't work from bungee to PlaceholderAPI

pale prawn
#

yeah thats stupid of me to think it was. however to use the luckyperms per server perms i suppose i would have to have it in my proxy wouldnt i

trim mist
#

I think you can have it on both

pale prawn
#

o yeah i suppose i could couldnt i

junior musk
#

yeah thats stupid of me to think it was. however to use the luckyperms per server perms i suppose i would have to have it in my proxy wouldnt i
actually, you need it everywhere :p

#

because BungeeCord and Bukkit permissions aren't working the same way

#

the BungeeCord version of LP only manages BungeeCord permissions, and the Bukkit/Spigot one manages only the Bukkit/Spigot permissions

#

the only thing you need for per server permission is connecting your LuckPerms to a remote database (like MySQL, MongoDB, MariaDB...) and set the server name in your LuckPerms config (it's the first option of the config)

#

LuckPerms' wiki explains it better, you should probably take a look at it

steep thorn
#

I've been seeing some people with a similar issue

#

Something is replacing everything they type with its placeholder value

#

So '/broadcast %placeholder%' would broadcast the actual placeholder value instead of just the text

#

I feel like some plugin is causing it, but I can't reproduce it so I don't know which one

turbid tide
#

well isn't it suppose to replace the placeholder?

dire scroll
#

what placeholder

steep thorn
#

Any placeholder

#

@turbid tide AFAIK I don't see why it should happen

dire scroll
#

in essentials?

steep thorn
#

In every command

#

Also in every chat message

turbid tide
#

ChatInjector ?

#

maybe

dire scroll
#

im confused af

#

tbh

steep thorn
#

@dire scroll do you know Leaderheads?

dire scroll
#

havent used it before

#

whats wrong w it tho

steep thorn
#

To set up LeaderHeads, you normally do /leaderheads setsign %vault_eco_balance%

#

Then it knows to track that placeholder

#

Problem is, with the bug that injects the placeholder's value, LeaderHeads thinks I'm doing /leaderheads setsign 999 (if 999 was my balance)

#

Have had two people with the same issue in the span of a week

stark ruin
#

hey I just got this plugin and I keep getting an internal server issue (trying to use infoboard reborn) and I downloaded expansions but I can't reload /papi because of the error.

trim mist
#

=paste

tender vaporBOT
#
HelpChat Paste

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

trim mist
#

Server log pls

stark ruin
#

the paste is not working for me at all, I tried to save it and move it to discord but I just gives me the invite, immediately redirected to "discord app launch" and it does nothing, that was also the issue with me trying to join this server

azure hedge
#

Anyone know why I cant get the rel placeholder to work outside of DeluxeChat?
^ For factions

stark ruin
#

I put the server log into the helpchat

trim mist
azure hedge
#

For what exactly?

trim mist
#

unkind, when you put it in the paste, it should give you a link once you save it.

azure hedge
#

Im not asking for dchat support

#

.-.

trim mist
#

Ahh my bad.

#

Uh idk if the rel support works outside of it. That's a factions question.

azure hedge
#

Why wouldn't it work outside of dchat?

stark ruin
azure hedge
#

sigh

trim mist
#

I mean it should, but that's not controlled by us. I believe that's controlled by factions.

#

Your chat plugin would have to have placeholderapi support

azure hedge
#

Im trying to add it to tab

#

well

#

NameTagEdit

#

Which has papi support

trim mist
#

unking, INFO Caused by: java.lang.NoClassDefFoundError: com/sk89q/worldguard/protection/flags/registry/FlagConflictException it means that you have an outdated / wrong version of WorldGuard while having the WorldGuard expansion.

stark ruin
#

oh ok, thank you

#

I don't plan on using the world guard expansion to show it on the scoreboard, would just removing the expansion solve the issue without updating world guard?

trim mist
#

Yeah you could remove the expansion and that should fix the error.

#

Also, Donald, fwiw 1) I don't know too much about NTE and 2) I think parse testing that placeholder doesn't work properly because you need 2 players for the rel to work.

azure hedge
#

but doesnt need two for it to work in deluxechat?

stark ruin
#

thank you sm glare

trim mist
#

Yup!

#

And uh donald I think so. I haven't really used factions / relation placeholders, sorry.

azure hedge
#

RIP

#

sign not being able to post screenshots sucks xD

trim mist
#

=imgur

tender vaporBOT
#
Uploading Images

Please use imgur to share screenshots and other images.
โ€ข Imgur

azure hedge
#

I use sharex

#

and have custom domain setup

#

:pepehands:

trim mist
#

I'm aware. We have a whitelist of allowed domains.

azure hedge
#

Well yeah im aware... not going to go thru the effort of changing the screenshot system for support on this

trim mist
#

Alrighty

errant cape
#

I can't make papi work :(

balmy marten
#

What does /papi list return?

errant cape
#

ajpk, player, tab

trim mist
#

Isn't there some extra plugin you need to hook them?

errant cape
#

according to papi github, no

#

what is strange is that even if I simply put %player_name% it doesn't work

balmy marten
#

Does /papi parse me %ajpk_current% work?

errant cape
#

no I have an Index out of bound in my Logs

balmy marten
#

You'll need to contact the dev of ajpk then

trim mist
#

What hologram plugin are you using?

errant cape
#

It crashed my server :(

trim mist
#

Yeah, probably should contact the developers of ajpk then.

errant cape
#

HolographicDisplays

#

but any idea why %player_name% doesn't work neither on HDisplays?

trim mist
errant cape
#

hmm thank you

#

I'm on discord with ajpk creator i'll ask him about his placeholders

trim mist
#

Sounds good.

errant cape
#

he's fixing it =)

trim mist
#

๐Ÿ‘

tropic cosmos
#

why?

trim mist
tropic cosmos
#

thanks

#

worked thanks

trim mist
#

Yup!

split pumice
mellow violet
#

Do you have placeholderAPI installed?

split pumice
#

yes

balmy marten
#

/papi ecloud download vault

split pumice
#

ooh thx it worked

gloomy crater
#

it looks like a very depending placeholder on our server stops working after we update to the latest version of papi, is there any way to fix this?

#

the dev of the plugin seems inactive, but there isnt any other plugin that does the same thing the plugin does (talking about Battlelevels)

brisk coral
#

It there a console error to go alongside it?

gloomy crater
#

[Mon, 6. Apr 2020 14:58:45 CEST ERROR] BattleLevels is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [RobiRami] and urge them to update it ASAP.

brisk coral
#

Nothing we can do

#

Downgrade papi if you still want to use the plugin I guess

gloomy crater
#

yea did that

#

downgrading to the older version*

brisk coral
#

Yea will break all the newer expansion

gloomy crater
#

hm okay

#

we'll see

gloomy crater
#
  • it uses different placeholders for it, shown on the page
balmy quiver
#

Is possible use placeholders in javascript code?

steep thorn
#

@gloomy crater there's a temporary fix for it

#

Oh nevermind

gloomy crater
#

lol

#

wait are you the dev of it?

steep thorn
#

Yes

gloomy crater
#

lmao

azure hedge
#

Anyone here experienced with faction relationship placeholders?

tired ridge
#

Hi admin can you help me please

turbid tide
#

?help

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

Source

turbid tide
#

@tired ridge ^

tired ridge
#

I'm change %epiclevels_level% in config chat all plugin
in my server only show %

turbid tide
#

can you do /papi parse me %epiclevels_level% in chat and see what it returns?

tired ridge
#

Yes sur It's show my level but why I change in Chat Pl It's not show

turbid tide
#

what plugin are you using for Chat?

tired ridge
#

UltimateChat2

#

have a Placeholderapi : true

#

and I try the EssentialXchat

#

It's not show

#

but Scoreboard It's Show all %% API

turbid tide
#

@tired ridge in essentialschat you need to use {epiclevels_level} and also you need ChatInjector installed for it to work in essentialschat

tired ridge
#

Ok thanks sur I will try that

turbid tide
#

also try {} in ultimatechat as well

#

first

tired ridge
#

Yes I try that but it's show full name lol >> {epiclevels_level}

turbid tide
#

oh then try using ess chat

#

what scoreboard plugin are you using?

tired ridge
#

Titlemanager

turbid tide
#

ugh I don't know how to use that so you will have to wait for someone that does but with the chat that is what I know

tired ridge
#

Ok Thanks

#

I will try essentialschat and chatinjector

pale prawn
#

hello all i dont suppose anyone on here uses the tokenenchant plugin do they?

turbid tide
#

well actually some do and Gaby | Ro even does custom enchants for it

pale prawn
#

@turbid tide what do ya mean bud

turbid tide
#

I mean that some do use the plugin

#

so if you have a question you can ask it

pale prawn
#

o okay. I mean i dont suppose i am just being stupid but when ever i try to enchant any item with the enchant command it gives me you cannot enchant the item you are holding bare in mind i am using a sword or picaxe

turbid tide
#

from a little research on their page I found that in the config there is a part where you need to allow enchants per item

#

if you go to the bottom of the config I think

#
# list of items players are allowed to enchant
# if you're not sure which items, you would like to apply which enchant,
# just comment out the following option so that any enchant can be applied to any item.
#
# This config option is now deprecated.
# you can now specify which material type you can apply the custom enchant to using 'allowed_items:' option under
# each enchant's setting.
Items:
    GOLD_PICKAXE:
        - Unbreaking
        - Fortune
        - Efficiency
    IRON_PICKAXE:
        - Unbreaking
        - Fortune
        - Efficiency
    STONE_PICKAXE:
        - Unbreaking
        - Fortune
        - Efficiency
    WOOD_PICKAXE:
        - Unbreaking
        - Fortune
        - Efficiency```
#

Hope it helps you @pale prawn

pale prawn
#

spot on mate thank you ill try it

pale prawn
#

@turbid tide for what reason not sure why still get it :/

turbid tide
#

well I tried but I can't find anything else to do with that

austere hawk
#

Is there a way to do placeholder with changeble text using java script (or if someone already made it, but i vannot see it then using his expansion). By changeable text i mean something on scoreboard so text will change every # secs. Please ping me when you answer ๐Ÿ˜‰ @austere hawk

uncut pilot
#

is there a way to use MVdW placeholders with deluxemenus or a way to use them within a javascript?

warm topaz
#

%mvdw_<placeholder here>%

dire scroll
#

latest papi is 10.0.5 right?

trim mist
#

2.10.5

dire scroll
#

oh i said that bc thats the deluxemenu i have i think lmao

#

yeah i have 2.10.5

trim mist
#

Lol

uncut pilot
#

%mvdw_libsdisguises_disguise% isnt returning anything

#

just returns %mvdw_libsdisguises_disguise%

balmy quiver
#

Hi!

#

any can help me with questions about discord? xd

#

sorry, bungeecord

mint fable
#

?help

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

Source

mint fable
austere hawk
#

Is there a way to do placeholder with changeble text using java script (or if someone already made it, but i vannot see it then using his expansion). By changeable text i mean something on scoreboard so text will change every # secs. Please ping me when you answer ๐Ÿ˜‰ @austere hawk

turbid tide
#

what scoreboard plugin are you using?

#

Scoreboard-R let you put multiple things on the same line and change it every ... milisec. and also you can change the refresh time per line

rotund glen
#

Small problem since yesterday, did "/papi ecloud download Vault", downloaded successfully, then "/papi reload", but after every restart I have to download it again.

turbid tide
#

do you have Vault installed?

rotund glen
#

Yes works then too, but first not

#

As visible here

#

So it's like this:

  • Everything works
  • Restart
  • Tab, Chat, everything shows %vault_prefix%
  • Enter /papi ecloud download Vault & /papi reload
  • Everything works again
  • Restart
  • ...
lost token
tender vaporBOT
#

@lost token

Possible Solution Found:

Looks like your server can't connect to our API,
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.

lost token
#

What IP's do I need to whitelist on firewall?

trim mist
vivid sparrow
#

ip

queen meadow
vivid sparrow
#

update to the latest version @lost token

rotund glen
vivid sparrow
#

what am I looking at

tacit canyon
#

Hello, I installed the latest version of papi and my in-game names are broken and say "nickname" I went back to my previous version I was on (2.10.3) and it's still broken ๐Ÿ˜ฆ I'm not very techy if someone is able to help guide me. If anyone is able to can you please @ me or message me privately? Thank you so much ๐Ÿ™‚

lost token
tender vaporBOT
#

@lost token

Hey!

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

#

@lost token

Possible Solution Found:

Looks like your server can't connect to our API,
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.

lost token
#

sry..

trim mist
#

That's not the latest.

#

You're on 2.10.3, latest is 2.10.5

pale prawn
#

in duluxe menu what is the place holder to get a players name when sending a command such as give [players i want to give to]...

warm topaz
#

%player_name%

#

/papi ecloud download player
/papi reload

pale prawn
#

ahh i need to have the place holder api player in got ya thank you mate

pale prawn
#

how would i make a item enchanted in deluxe menu?

fading patio
#

Hey, when a player buys multiple pieces of the same armor from my deluxe menu shop, the armor stacks. Why is this?

dreamy steeple
#

I updated to 1.15.2 and papi broke D:

trim mist
#

Got some server logs for us?

dreamy steeple
#

trying to find one

#

in game it does the "an internal error has occurred " message

trim mist
#

That's the typical message for basically every error

dreamy steeple
#

restarting server so i can find the issue

#
08.04 05:21:23 [Server] WARN [PlaceholderAPI] Loaded class net.luckperms.api.LuckPerms from LuckPerms v5.0.116 which is not a depend, softdepend or loadbefore of this plugin.
08.04 05:21:23 [Server] INFO [PlaceholderAPI] Successfully registered expansion: luckperms
08.04 05:21:23 [Server] WARN [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.2-b107 which is not a depend, softdepend or loadbefore of this plugin.
08.04 05:21:23 [Server] INFO [PlaceholderAPI] Successfully registered expansion: vault
08.04 05:21:23 [Server] ERROR Could not pass event ServerLoadEvent to PlaceholderAPI v2.10.5
#
08.04 05:21:09 [Server] WARN Legacy plugin DeluxeTags v1.8.1 does not specify an api-version.
08.04 05:21:09 [Server] WARN Legacy plugin Soulbound v1.0.0 does not specify an api-version.
08.04 05:21:09 [Server] WARN Legacy plugin ColoredAnvils v1.08 does not specify an api-version.
08.04 05:21:09 [Server] WARN Legacy plugin HeadDatabase v4.11.0 does not specify an api-version.```
trim mist
#

Doesn't tell me anything really. If you could do your full server log, that'd be great! You can put it in a =paste link!

dreamy steeple
#

just a copy of the console on start up?

trim mist
#

Yeah, it should store it in logs/latest.log, just open that, go here: https://paste.helpch.at/ , paste it in, save it, send the link here

dreamy steeple
trim mist
#

Looks like you have the DeluxeChat expansion, but you don't have DeluxeChat plugin.

dreamy steeple
#

let me reinstall

trim mist
#
08.04 05:21:20 [Server] INFO [DeluxeChat] Enabling DeluxeChat v1.14.4
08.04 05:21:20 [Server] INFO ----------------------------
08.04 05:21:20 [Server] WARN [DeluxeChat] DeluxeChat version: 1.14.4
08.04 05:21:20 [Server] WARN [DeluxeChat] This version of DeluxeChat is not compatible with your server version!
08.04 05:21:20 [Server] WARN [DeluxeChat] Find a specific version of DeluxeChat here:
08.04 05:21:20 [Server] WARN [DeluxeChat] https://www.spigotmc.org/resources/deluxechat.1277/history
08.04 05:21:20 [Server] INFO ----------------------------
08.04 05:21:20 [Server] INFO [DeluxeChat] Disabling DeluxeChat v1.14.4```
dreamy steeple
#

would that effect papi ?

trim mist
#

Yup cause it shuts down.

#

Update to the latest version

tender vaporBOT
#
Deluxechat - Version List
Spigot:

1.8.8
1.12.2
1.13.2
1.14.4
1.15.2

Version:

v1.15.0 - Latest
v1.15.0 - Latest
v1.15.0 - Latest
v1.15.0 - Latest
v1.15.0 - Latest

dreamy steeple
#

omg ty

#

and is there anyway to edit essentials to use papi?
for example
should be
[luckperms][deluxetag]username
but on essential things such as /afk and stuff it shows up
username[luckperms]

trim mist
#

Nope not atm

dreamy steeple
#

alright ill have to try to get support from essentials wish me luck lol

dreamy steeple
#

do yall have a tab plugin? i thought i saw one deluxe tab or somthing

junior musk
#

TAB ๐Ÿ™ƒ

trim mist
#

Nah we don't have one

uncut pilot
#

placeholderapi wont register ANYTHING, 1.12.2, Fresh installation (about 5 times) no errors in console

#

version 2.10.5

trim mist
#

server logs pls

uncut pilot
#

nvm i fixed it

rotund glen
#

Same problem since 2 days, after Server Restart always all plugins displaying %vault_prefix% until entering /papi ecloud download Vault & /papi reload.

brisk coral
#

What papi ver

#

And is the expansion showing up properly in the expansioms folder when you download it

rotund glen
#

And is the expansion showing up properly in the expansioms folder when you download it
Yes, it also is before downloading, but it does not show the result, just the placeholder before redownloading. Just a moment, I'll check the version.

#

2.10.5

brisk coral
#

Hmm

#

Delete the expansion and download it again might be an older version

rotund glen
#

I tried that, I even deleted the whole PAPI folder and downloaded it again, after Restart same problem than before.

brisk coral
#

Odd

rotund glen
#

Yeah and very annoying ._.

#

Any other idea?

brisk coral
#

Not that I can think off, unless someone recently updated the vault expansion and changed it to not persist through reloads

rotund glen
#

That's a big problem for us, it destroys scoreboard, Tablist and Chat.

#

So we need a solution.

#

Cause coding a plugin which executes those two commands when a player joins wouldn't be cool either.

brisk coral
#

I'll test later, you don't have to keep redownloading it btw, you only have to reload

rotund glen
#

Okay, thanks. ๐Ÿ™‚

#

Tag me then please, so I'll see it.

quasi solar
#

I have a question related to PAPI i registered 2 placeholders but when i am coming to use them on Hologram it doesnt switch to the value

#

3rd party (hologramDisplays)

turbid tide
#

You need HolgraphicExtension as well

#

that is a plugin that allows placeholders to work in HoloDisplay

quasi solar
#

ho ok

subtle oracle
#

Does someone know a JavaScript placeholder for Towny Advanced that provides the current town's name, the player stands in and, if the player is in the Wilderness, it returns Wilderness?

brisk coral
#

Show the placeholder you're using to display the town, and the value it returns when the players is in wilderness

sharp burrow
#

When trying to install the luckperms ext

trim mist
#

What version is your LuckPerms?

sharp burrow
#

I guess that's the issue

#

Was talking to the person in DMs

#

And they said they were gonna update luckperms anyway

austere hawk
#

Someone pass me the DeluxeChat please

warm topaz
#

no ty

austere hawk
#

๐Ÿ˜ฆ

junior musk
#

giving premium plugins like that is leaking, and it's illegal

austere hawk
#

:/

vivid sparrow
brisk coral
#

Gaby wrong link

subtle oracle
#

Gaby, you had one job x)

spice sand
#

COVID-19 Placeholders are working?

trim mist
#

What..?

junior musk
#

wtf are those ? x)

warm topaz
junior musk
#

ah lol

#

really...

trim mist
#

Interesting...

junior musk
#

indeed...

trim mist
#

Whelp, if they work, cool.

turbid tide
#

....

brisk coral
#

On mobile so can't delete the fucking embed

turbid tide
#

almost got me ๐Ÿ™‚

#

good thing I waited for it to load

velvet furnace
#

Is anyones else javascript for tokenenchant deluxemenus buggy? It randomly stops working and I have to reset the players balance and set it back, that fixes it than it breaks again after a while lol

brisk coral
#

It's tokenenchant, what u expect

normal kettle
#

Is there a plugin which can create a placeholder in game?

#

so like /createplaceholder {placeholderHere} and then yh

trim mist
#

Not that I'm aware of.

normal kettle
#

that would be cool

trim mist
#

Not sure that would work

normal kettle
#

assigning would

#

so /assignplaceholder {var1} {stringhere}

#

right?

trim mist
#

Oh clip created an expansion for that last year. Not sure if he ever finished it.

normal kettle
#

any docs?

trim mist
#

Not that I know of. I think he started it, not sure if he finished it. I think it has commands with /cpe

austere hawk
#

i cant get voteparty plugin placeholders to work on quickboard

#

other papi placeholders work

#

using this

#

anyone know why

#

trying to release

warm topaz
#

#spigot-linking

trim mist
wicked thicket
#

@trim mist I own the plugin @austere hawk is trying to get it to work while I work on other plugins

pale prawn
#

i dont suppose there is a way to allow players to place tnt and fire but not any other block within a world reigin is there?

balmy marten
pale prawn
#

spot on mate cheers ill check tthat out now

#

@balmy marten just tried that plugin i enter option and it says it worked but does not stay in the region i dont suppose u know why

turbid tide
#

@pale prawn WorldGuard (not the extra flags one) has these permissions:

#

Block place: worldguard.build.block.place.<material>
Block break: worldguard.build.block.remove.<material>
Block interact: worldguard.build.block.interact.<material>

#

but it will allow them to break/place/interact in any region if I am not mistaking

cobalt cradle
#

Caused by: java.lang.ClassNotFoundException: net.luckperms.api.LuckPerms I can't download luckperms expansion :/

#

I'm using PAPI v2.9.2

#

and I have LuckPerms installed

#

version 4.4.1

warm topaz
#

?luckperms

tender vaporBOT
#
FAQ Answer:

This error occurs when there is a mismatch in versions between the expansion and luckperms itself.
Make sure you have the very latest LuckPerms and the latest LuckPerms Expansion.
Once installed restart your server.

If you want to keep using v4 please download the version 4.1 of the LuckPerms expansion.

warm topaz
#

also u should update PAPI

#

2.10.5 is latest

cobalt cradle
#

okay

#

ty

brisk coral
#

jesus papi 2.9.2 dang

balmy marten
#

Yeah we're breaking old version of papi soonโ„ข๏ธ

brisk coral
#

Can't wait to see how many people come asking for support then

balmy marten
#

we'll need to train barry on the error

#

it might not break instantly

junior musk
vivid sparrow
#

I dont think that will be ever fixed

junior musk
#

yeah, 10 months... but I still hope x)

dense drift
#

hello, is PAPI api thread safe? (setPlaceholders)

fair jungle
#

Someone know how can I cast in javascript?
((org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer)BukkitPlayer).getHandle()................

brisk coral
#

You're trynna use nms inside js what du hecc

elder tide
austere hawk
#

unsure if someone can help me, but I put placeholdersAPI in my plugins and enabled and downloaded papis, however no single placeholder will work on essentials chat or chat control pro. Even made a new server to test these few plugins and nothing will show. I do get this error when using chat control pro:
More Information:
PlaceholderAPI failed to replace variables!
Player: TheNamesJosh_
Message: &7{pl_prefix+} {ezrankspro_rank}
Error: %error
NoSuchMethodError me.clip.ezrankspro.EZRanksPro.getPerms()Lme/clip/ezrankspro/vault/VaultPerms;
at com.extendedclip.papi.expansion.ezrp.EZRPExpansion.onPlaceholderRequest(EZRPExpansion.java:144)
at me.clip.placeholderapi.PlaceholderHook.onRequest(PlaceholderHook.java:38)
at org.mineacademy.chatcontrol.lib.fo.model.J.b(SourceFile:1849)
at org.mineacademy.chatcontrol.lib.fo.model.J.a(SourceFile:1817)
at org.mineacademy.chatcontrol.lib.fo.model.v.b(SourceFile:955)
at org.mineacademy.chatcontrol.lib.fo.model.ab.a(SourceFile:268)
at org.mineacademy.chatcontrol.final.nul. .S.b(SourceFile:386)
at org.mineacademy.chatcontrol.final.nul. .W.a(SourceFile:87)
at org.mineacademy.chatcontrol.final.nul. .W.a(SourceFile:42)
at org.mineacademy.chatcontrol.final.nul. .M.a(SourceFile:138)
at org.mineacademy.chatcontrol.final.nul. .M.a(SourceFile:94)
at org.mineacademy.chatcontrol.final.nul. .M.a(SourceFile:36)
at org.mineacademy.chatcontrol.final.nul. .bJ.execute(SourceFile:77)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484)
--------------------------------------------------------------------------------------------"

trim mist
turbid tide
#

he linked

#

but no ezrankspro ...

trim mist
#

Yeah, I saw that.

austere hawk
#

I want to list players' kills on the scoreboard -- Kiteboard. How may I do this?

turbid tide
#

you can use the placeholder: %statistic_player_kills%

austere hawk
#

ive tried that it doesnt work

turbid tide
#

you will need PlaceholderAPI and the Statistic expansion installed. /papi ecloud download Statistic /papi reload

austere hawk
#

oh ok

#

thanks, you fixed it ๐Ÿ™‚

late oak
#

just a quick question, i'm using %vault_eco_balance% on scoreboard to display a players balance but i don't want to to display past two decimal places, i'm unsure how to do this or if there's a better way but if someone could help it would be greatly appreciated

iron turtle
#

@late oak I know you can remove decimal points with the Math expansion, maybe you can combine it, something like this:

%math_FLOOR[precision:0]{vault_eco_balance}*1%

Not sure if the times 1 is needed. And they might very well be better and more... intended solutions..

late oak
#

@iron turtle tried it but it just says the provided value was invalid

iron turtle
#

Then Iโ€™m clueless xD. Best wait for someone that knows their shit to wake up ๐Ÿ˜…. Good luck.

late oak
#

Thanks

compact wharf
#

@iron turtle so if I wanted to add 2 more decimals what expression would I use?

elder tide
#

anyone who can help me? i will fix my bungeecord with serverlistplus, but the api can't in Bungeecord?

#

@iron turtle how can i fix Placeholderapi for Bungeecord? tis for a plugin needed in the bungeecord.

brisk coral
#

Papi does not work with bungeecord, also why ping random people stonks

elder tide
#

i m sorry, but my serverlistplus workd with it

#

can i fix it?

compact wharf
#

if i want to add 2 more decimals to %vault_eco_balance_commas% for featherboard how would i do that? or what expression would i need?

compact wharf
#

im banging my head on this anyone?

trim mist
#

Uh

#

Fat suggestion

#

Try using the math expansion around the vault palceholder. I think it allows you to specify how in-depth the decimals go.

compact wharf
#

{placeholderapi_math_FLOOR[precision:0]{vault_eco_balance}*1}

#

would it look something like that?

trim mist
#

Maybe?

#

Looks promising

compact wharf
#

ive tried that but it doesnt work

#

i made sure math expansion was downloaded too

brisk coral
#

{placeholderapi_math_{vault_eco_balance}*1[precision:2]}

compact wharf
#

nope didnt work

brisk coral
#

/papi parse me %math_{vault_eco_balance}*1[precision:2]%

#

Try that

compact wharf
#

yeah that works

brisk coral
#

Try the same thing on scoreboard

compact wharf
#

{placeholderapi_math_{vault_eco_balance}*1[precision:2]}

#

is what it would look like right?

brisk coral
#

Try the same thing you parsed first

compact wharf
#

with %'s?

brisk coral
#

Mhm

compact wharf
#

{placeholderapi_[prc]math_{vault_eco_balance}*1[precision:2][prc]}

#

even tried that and nothing

brisk coral
#

Rip then

#

Make a js placeholder

#

I know that'll work

compact wharf
#

i wouldnt even know where to start

brisk coral
#
function formatMoney()
{
  return %math_{vault_eco_balance}*1[precision:2]%;
}
formatMoney();
compact wharf
#

lol is that all id have to add?

brisk coral
#

Yea

#

And then use {placeholderapi_javascript_<yourjsfile>} to the scoreboard

compact wharf
#

hmm ok let me give it a shot

#

function formatMoney() { return %math_{vault_eco_balance_commas}*1[precision:2]%; } formatMoney();

#

thats what i changed it to

#

it shows the scripts as loaded though

brisk coral
#
var money = "%vault_eco_balance_commas%";

function formatMoney()
{
  return money.toFixed(2);
}
formatMoney();
compact wharf
#

i want to use the comma format though and it seems like its giving me an error for using it

brisk coral
#

Forgot you were using commas, should still work though

compact wharf
#

is what it gave me for both

brisk coral
#

Try above

compact wharf
#

stopped the error though

brisk coral
#

Try that

#

iF oNlY fEaThErBoArD pRoPeRlY sUpPoRtEd PaPi

compact wharf
#

lol i agree

#

nope same thing

brisk coral
#

Wait

#

Just do that, damn I'm dumb

compact wharf
#

same thing

#

do i have to restart? ive been doing /jsexpansion reload and /fb reload

#

rip frosty lol

brisk coral
#

Reload papi

compact wharf
#

it gave me the error

brisk coral
#

I'm so confused rn

compact wharf
#

i truly wish i could understand exactly whats going

#

thats what i got this time

brisk coral
#

I'm confused why this doesn't work

var money = "%vault_eco_balance_commas%";

function formatMoney()
{
  return %math_money*1[precision:2]%;
}
formatMoney();
compact wharf
brisk coral
#

why don't you just add .00 to the end of the placeholder

compact wharf
#

where exactly would i add them at the end of the placeholder?

brisk coral
#

does the money placeholder even return decimals?

compact wharf
#

with the script no nor with the regular placeholder

brisk coral
#

Meaning you can just set it like this in the scoreboard
{placeholderapi_vault_eco_balance_commas}.00

compact wharf
#

it wont work i just shows it at .00 instead of the actual value

brisk coral
#

Again, the placeholder doesn't return commas so I'm a bit confused by what you're trynna do

compact wharf
brisk coral
#

%vault_eco_balance%
%vault_eco_balance_fixed%
%vault_eco_balance_formatted%
%vault_eco_balance_commas%
check which one of these also returns the decimals

compact wharf
#

%vault_eco_balance% 6 decimals
%vault_eco_balance_formatted% shows 2 but uses 3.12Million

brisk coral
#

ah

compact wharf
#

0.o

iron turtle
#

Eyyy, sounds like I was on the right track using Math ๐Ÿ˜ฌ

compact wharf
#

its 3am and i have work tomorrow im still banging my head on this lol

iron turtle
#

Lol xD. Sorry to hear

fossil crest
#

i cant seem to get the MCMMO expansion to work? Anyone have any idea or is it not working for others?

#

cant post a screenshot of it until i rank up

#

im confused?

brisk coral
#

BHG, you'd need to make a js which formats the commas correctly

#

Unless

#

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

fossil crest
#

is there a way i can send a screenshot without ranking up?

#

thanks

compact wharf
#

unless?

brisk coral
#

testing something, the commas placeholder rounds the number to the full number which is stonks

compact wharf
#

ah ok

#

If you find something please ping me with it frosty, I appreciate the help, Iโ€™m exhausted Iโ€™m off for the night.

brisk coral
#

Will do, take care

iron turtle
#

Goodnight, hope you figure it out.

brisk coral
#

@vivid sparrow can I use DecimalFormat inside js or?

vivid sparrow
#

Maybe

brisk coral
#

like a so or?
var format = DecimalFormat("#,###.##");

vivid sparrow
#

new

#

And you need to import it

brisk coral
#

k

brisk coral
#

@vivid sparrow Tell me what I'm messing up here :p

var decimalFormat = java.text.DecimalFormat;

var money = "%vault_eco_balance%";
var format = new decimalFormat("#,###");

function test()
{

    return format.format(money);
    
}
test();
vivid sparrow
#

Try Java.type("java.text.DecimalFormat");

brisk coral
#

Caused by: java.lang.IllegalArgumentException: Cannot format given Object as a Number

atomic oak
#

DeluxeMenus how do i generate the long materials ID or how would i use a playerhead?

brisk coral
#

?customheads

tender vaporBOT
#
FAQ Answer:

How to use custom heads in DeluxeMenus:
a) A player name material: head;extended_clip
b) The player's head material: head;%player_name%
c) The base64 code of a head material: basehead-<code>:
- Go to https://minecraft-heads.com and find a head.
- Copy the head Value code (from the page bottom)
d) EpicHeads material: heads-<id>:
- Require https://www.spigotmc.org/resources/13402/
e) HeadDatabase material: hdb-<id>:
- Require https://www.spigotmc.org/resources/14280/

atomic oak
#

Hmm had this but the head didn't want to display

#

http://prntscr.com/rwnhm0

      'CURRENT': 
        material: head;%player_name%
        amount: 1
        slot: 34
        display_name: '&fYour Current Colour'
        lore:
        - ''
        - ' &7Your current Name Colour is: %luckperms_suffix%%player_name%' 
        - ' &fLeft-Click to refresh!'    
        - ''    
        left_click_commands:
        - '[refresh]' 

@brisk coral This is the config, anything else you see wrong here?

brisk coral
#

You on latest version?

atomic oak
#

Yepp

vivid sparrow
#

@brisk coral parseInt()

brisk coral
#

if so replace ; with -

atomic oak
#

Thankyou! Will need to check all my menus now haha is this the only change?

brisk coral
#

Mostly yea, still not sure why clip changed it :p

brisk coral
#

@iron turtle

var decimalFormat = Java.type("java.text.DecimalFormat");
var player = BukkitPlayer;

var money = "%vault_eco_balance%";
var format = new decimalFormat("#,###");

function test()
{

    var decimals = money.split(".");
    var decimal = parseInt(decimals[1]).toFixed(2);
    
    return format.format(parseInt(decimals[0])) + "." + decimal[0] + decimal[1];

    
}
test();
#

It's messy but it works

iron turtle
#

Ey, thatโ€™s whatโ€™s important ๐Ÿ˜„ should just be happy the players donโ€™t see the mess behind the scenes ๐Ÿ˜‰

#

Good job!

brisk coral
#

kek

fresh sedge
#

Hi there! How can i get my expansion on eCloud verified?

balmy marten
#

Mind linking me to it @fresh sedge ?

fresh sedge
balmy marten
#

The listed source code on the ecloud page isn't the source code of the expansion?

fresh sedge
balmy marten
#

Alright, I've checked and verified it, should go live on the cloud in a few moments.

fresh sedge
#

Thank you

austere hawk
#

This happened uploading iught now

#

ooh i cant uploa

#
[07:27:07 WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.5 generated an exception while executing task 10
java.lang.NullPointerException: null
at me.clip.placeholderapi.expansion.cloud.ExpansionCloudManager.lambda$null$3(ExpansionCloudManager.java:190) ~[?:?]
at java.util.HashMap.forEach(HashMap.java:1289) ~[?:1.8.0_242]
at me.clip.placeholderapi.expansion.cloud.ExpansionCloudManager.lambda$fetch$4(ExpansionCloudManager.java:182) ~[?:?]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.15.2.jar:git-Paper-143]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.15.2.jar:git-Paper-143]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.15.2.jar:git-Paper-143]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_242]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_242]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
tender vaporBOT
#

@austere hawk

Possible Solution Found:

Looks like your server can't connect to our API,
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.

fossil crest
#

has anyone had issues or know why with the MCMMO expansion the placeholders %mcmmo_xp_salvage% %mcmmo_xp_needed_salvage% & %mcmmo_xp_smelting% %mcmmo_xp_needed_smelting%

turbid tide
#

what are the issues @fossil crest they don't work at all or what?

junior musk
#

is there a way to get the ouput of a command in a custom placeholder ? ๐Ÿค”

#

probably with the JS expansion I guess

#

but I suck at js x)

austere hawk
#

The sites says that in order to verify an expansion I had to ask it here?

junior musk
#

oh hey lol

#

and yeah you have to paste your expansion link here and an admin will verify you I guess

austere hawk
trim mist
#

Can you link me the source?

bronze bison
#

Upload the jar, not an image.

trim mist
#

Wait, he uploaded an image as the expansion in the ecloud? ๐Ÿ‘€

bronze bison
#

Mhm.

#

I like the improvements on your nickname by the way :p

austere hawk
#

Fixed the wrong file being uploaded ๐Ÿ˜… :
Source is now included

bronze bison
#

Wondering why the whole placeholder code inside a try block?

austere hawk
#

because of the substring technically not needed unless the user forgets the arguments but better safe than sorry (I'll make a small update with an extra check to remove the try catch if you want)

bronze bison
#

That can be improved.
You can check if there's any error in the arguments first (without the need of a try catch block) and then do whatever you want if they're fine.

Anyway, I've verified it. Would be great if you got rid of the try catch block.

austere hawk
#

Will do that first thing in the morning is a small and easy change

austere hawk
#

Hi, I'm having issues with the ParseOther expansion.
Here is the console error: https://paste.helpch.at/oxanenugey.bash

The error occurred while trying to parse a player's vault rank in DeluxeMenus.

vivid sparrow
#

Aww @mint fable an AIOOB

mint fable
#

Using what placeholder @austere hawk ?

#

because I believe you're forgetting some brackets

austere hawk
#

where should I put the brackets exactly? The placeholder that I'm using is %parseother_{target}_vault_rank%

mint fable
#

Where did you read up on the placeholder?

austere hawk
#

on the github
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#parseother

mint fable
#

so

#

you looked at that?

austere hawk
#

Yeah...

mint fable
#

maybe do a quick little double take

#

you didn't include any brackets actually

#

you use brackets for target, but not for the parseother placeholder

#

||%parseother_{{target}}_{vault_rank}% not sure if {target} works, but it should||

austere hawk
#

Oh, alright, so that's how it needs to be used. I didn't fully understand where the brackets should go, but now I got it. Thanks!

mint fable
#

O.o ya... ๐Ÿ‘

blissful sun
#

Hey,
I have a Problem with a Statistic Placeholder.
I wanted to show the Playtime in the Scoreboard, but it freezes right now.
So it dont count anymore. But one or 2 days ago it worked perfectly. It also dont count in the parse thing xD
Any help?
Would be nice ;D

rocky glen
#

Greetings,
I'm having a bit of trouble with Relcon using a placeholder for the permission variable (see example below)
'%rel_relcon_viewer_{luckperms_in_group_admin}_{player_gamemode}_ %'
The intention is to show admin what gamemode players are in while showing nothing to everyone else.
What is actually displaying is:
in (which I'm assuming is coming from the {luckperms_in_group_admin})

bronze bison
rocky glen
#

Right, but the wiki said I could use any placeholder in the permission field (the issue is if someone has OP then the permission doesn't matter and they can still see it)

bronze bison
#

what does the luckperms placeholder return?

#

the placeholders gets parsed for the first player by the way.

rocky glen
#

It returns yes/no, I'm not sure I follow regarding the first player second player.

bronze bison
#

Well, if the viewer has the permission true/false they will see the player's game mode.
There shouldn't be an issue with the placeholder you're using.

Are you using it in a place that supports the relation placeholders?

rocky glen
#

I'm using it with a plugin that changes the tab screen, they referred me to relational placeholders to do what I'm trying to do.

bronze bison
#

Ah, then that shouldn't be an issue.
Try parsing the placeholder using the command? /papi parserel p1 p2 %placeholder%

#

Maybe try with an actual permission this time

rocky glen
#

So I overlooked the part where I meant to download the luckperms placeholders.... so the code I provided in my original post works, however, if a user has op then they see it regardless of the relational condition. Is there anyway to avoid that?

bronze bison
#

Nothing really I can do about that, you can negate the permission for them?

rocky glen
#

I'm using the luckperms placeholder for the group name and ops not in that group can see.

uncut pilot
#

Did i do something wrong?

function time() {
    // year, month, day, hour, minute, second
    // months start at 0 and end at 11
    // January is 0. December is 11
    var startDate = new Date(2020, 4, 1);
    var endDate = new Date(2020, 4, 20);
    var difference = endDate - startDate;

    var months = Math.floor(difference / (1000 * 60 * 60 * 24 * 31));
    var days = Math.floor(difference % (1000 * 60 * 60 * 24 * 31) / (1000 * 60 * 60 * 24));
    var hours   = Math.floor(difference % (1000 * 60 * 60 * 24) / (1000 * 60 * 60));
    var minutes = Math.floor(difference % (1000 * 60 * 60) / (1000 * 60));
    var seconds = Math.floor(difference % (1000 * 60) / (1000));

    // XXmo XXd XXh XXm XXs (changeable)
    return months + "mo "+ days + "d " + hours + "h " + minutes + "m " + seconds + "s";
}``` but it just returns https://gyazo.com/e98b87afb4dcbdbf61a57db8bcd6f971
vivid sparrow
#

You forgot to call the function

compact wharf
#

` ||var decimalFormat = Java.type("java.text.DecimalFormat");
var player = BukkitPlayer;

var money = "%vault_eco_balance%";
var format = new decimalFormat("#,###");

function test()
{

var decimals = money.split(".");
var decimal = parseInt(decimals[1]).toFixed(2);

return format.format(parseInt(decimals[0])) + "." + decimal[0] + decimal[1];

}
test()`||;

#

not taking credit for this as frosty has been helping me im not sure if im doing something wrong but when i do the papi parse me it returns as the full placeholder

#

decimalformat.js

deciamlformat:
file: decimalformat.js
engine: nashorn

uncut pilot
#

gaby, wdym i forgot to call it? i just copied and pasted

brisk coral
#

@uncut pilot add time(); at the end

uncut pilot
#

ahh

austere hawk
#

when i use
%essentials_worth%
it shows as blank and doesn't show the player's balance in essentials plugin. can someone please help, that would be much appreciated!
I have
/papi ecloud download essentials, /papi reload
so it doesn't make sense to me at all!

trim mist
#

Try using the vault one?

austere hawk
#

ill check it out

#

Thanks bro, it worked. Cheers!

trim mist
#

Yup

austere hawk
#

in essentials when i do /nick [name] it doesnt work because we arent using {DISPLAYNAME} in essentials. what is the placeholder for deluxe chat tp replace {DISPLAYNAME} so /nick will fix and allow there to be nicks
cj can you help me or someone else that knows the asnwer

#

?

mint fable
#

mate you should really use the list I sent

austere hawk
#

how will this help

mint fable
#

ah, that one won't

#

but the link I sent earlier has the entire list

#

it's somewhere

austere hawk
#

i cant find it in the list

mint fable
#

It's for player

austere hawk
#

isnt it supposed to be for Dchat

mint fable
#

papi bot is broken a bit

#

it's under the player expansion

austere hawk
#

ok ill see it

#

in the console it changed the nick but not in the game

#

i have it set to %player_name%

mint fable
#

why didn't you set it to %player_displayname%?

austere hawk
#

ill try that

trim mist
#

Why's it broken?

austere hawk
#

i used the player_displayname and it only worked in console

mint fable
austere hawk
#

is there other ones

mint fable
#

there might be a spot in essentials for change display name

austere hawk
#

where would i find that?

mint fable
#

otherwise there is %essentials_nickname% although not sure

#

Probably the config

austere hawk
#

i check on it

#

again it only changes my name to the nickname is the console for some reason

mint fable
#

where are you putting it?

austere hawk
#

in essentials chat section where it shows format

mint fable
#

wait what

#

I thought you were using deluxechat?

austere hawk
#

where should i put it then

mint fable
#

i'm very confused now

austere hawk
#

i am

mint fable
#

So you're using deluxechat, NOT essentials chat, correct?

austere hawk
#

im using deluxe chat and when i use essentiaks /nick it doesnt work in game but shows it in the console

mint fable
#

because then you should be putting it in the deluxechat config

austere hawk
#

NOT essentials chat

#

where would it go in deluxe chat config

mint fable
#

in your chat format?

austere hawk
#

which is where?

mint fable
#

Have you configured plugins before?

austere hawk
#

i can find it

#

yes

mint fable
#

nope

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

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

austere hawk
#

here is the config for dchat wehere would it go

mint fable
#

Please make sure to use the paste website

#

Did you not configure your dchat setup?

austere hawk
mint fable
#

it would go where the player's name goes

austere hawk
#

i did configure the dchat

mint fable
#

I'm very confused, are you looking at the config or just asking questions?

#

because it's very clear

austere hawk
#

looking at the config

mint fable
#

Not trying to be rude, it just doesn't make sense to ask

austere hawk
#

ok

mint fable
#

line 46, and line 66

austere hawk
#

what should i put there

#

%player_essentials%

mint fable
#

bruh

#

that's not even a placeholder

#

try %player_displayname%

austere hawk
#

ok

mint fable
#

if that doesn't work, try %essentials_nickname%

#

but I'm pretty sure you want displayname

austere hawk
#

it worked bro, thanks

#

i havent configured plugins inabout 2 years so i lost the memory of how to do things, so sorry for the confusion

#

anyways cheers!

mint fable
#

glad it all works ๐Ÿ‘

fervent moon
#

I'm trying to add the connected from 3 servers at the same time using %bungee_server1% etc, how can I do that?

junior musk
#

You can use the Math expansion

fervent moon
#

yeah ik

#

but

junior musk
#

%math_{bungee_server1}+{bungee_server2}%

fervent moon
#

int uhc = %bungee_uhc% + %bungee_uhc2%

#

wtf

#

ok

#

i'll try

#

but i'm doing a plugin

junior musk
#

ah

#

then why do you ask in PlaceholderAPI supoort channel x)

fervent moon
#

euuh

#

frosty told mee to come here

brisk coral
#

Cause I directed him here, since his message was regarding placeholders with no sign of development smh

fervent moon
sharp delta
#

Hello guys. is anyone else having the issue of the %player_total_exp% placeholder not working properly?

#

It doesnt update properly when plugins such as xpbottles add or remove exp from you, and the only way to fix it so far for me is to give a player 0 exp using essentials to force update the value.

If this isnt fixable, are there any other APIs that can get a players total exp directly? i feel like the player placeholder is adding to a value every time exp is added instead of checking the players exp value again, and when some value is incorrectly sent, it keeps the incorrect value and just goes along with it.

blissful sun
#

Hey,
I have a Problem with a Statistic Placeholder.
I wanted to show the Playtime in the Scoreboard, but it freezes right now.
So it dont count anymore. But one or 2 days ago it worked perfectly. It also dont count in the parse thing xD
Any help?
Would be nice ;D

versed abyss
turbid tide
#

well why do it with javascript? can't you just do head-%Level_bskyblock_top_name_1% ?

#

as the material?

versed abyss
#

oh

#

true

turbid tide
#

it is just a lot easier ...

versed abyss
#

Yeah i didn't knew that bskyblock has it.

#

what if there's only 2 players having island?

#

that's what error says

turbid tide
#

you can add a view requirement

#
type: string equals
input: '%Level_bskyblock_top_name_3%'
output: ' '
#

this is for another item

#

in the same slot

#

with a priority of 1

#

and in that item you just give it the display_name something like free slot

versed abyss
#

ok

austere hawk
#

Hi! In my placeholderapi config theres a row called "lang" for a expansion called parkour, u can clearly change the output but when I change it nothing happens ingame.. someone know how to do this?

#

expansions:
parkour:
lang:
no-prize-delay: '0'
no-time-recorded:

vivid sparrow
#

contact the author

austere hawk
#

I want to change the "no-time-recorded"

vivid sparrow
#

/papi info parkour

austere hawk
#

Yeah, but there is a lang thingy in the config, cant I just change that one?

versed abyss
#

I can't test it that's why asking you

remote axle
junior musk
remote axle
#

๐Ÿ‘Œ

turbid tide
#

@versed abyss I don't think that will work as intended

#

sorry for the late report I was in a game of cs:go then had to go for a bit

versed abyss
#

What's wrong?

turbid tide
#

here is an example @versed abyss

junior musk
#

you wrote prioirty: 2

turbid tide
#

oh my bad

junior musk
#

and it isn't needed if it is the last item to be shown without requirements on the same slot

turbid tide
#

here

near scroll
#

Where is the %server_unique_joins% data stored?

#

Looking to reset the number

warm topaz
#

id imagine it reads how many files are in the world userdata folder

near scroll
#

Ok

#

Well I have reset that so it should work

alpine brook
#

The author of infinite scoreboard sent me here because it seemed like it was a problem with your plugin. (error at line 384)
(285)

brisk coral
#

@alpine brook You gave 0 info whatsover, also why ask in 4 channels?

alpine brook
#

sry XD I didn't find the right channel. and I found one that was better every time

balmy marten
#

Throw the error into a paste

#

=paste

tender vaporBOT
#
HelpChat Paste

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

alpine brook
tender vaporBOT
#
๐Ÿ“‹ Paste Converted!
https://paste.helpch.at/efufeyurey

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

balmy marten
#

There's no errors from PlaceholderAPI?

#

altchecker is the only thing with errors in that log

alpine brook
#

The author of infinite scoreboards said that. ok.

balmy marten
#

We can't do much without an error

brisk coral
alpine brook
#

What should I do then. I have downloaded many expansions and it doesnt show up on the scoreboard

balmy marten
#

What are you putting in the scoreboard?

brisk coral
#

Is that Robin I see

steep thorn
#

No

brisk coral
#

Ah, thought I saw a Robin

alpine brook
#

I want a death meter, the server ip, player name, player play time, server uptime, ping

#

and balancve

#

balance

balmy marten
#

So it's just showing %player_name%?

alpine brook
#

only ping. player name and server uptime is showing

#

I have the expansion server and player too

balmy marten
#

Mind taking a screenshot of your scoreboard? So I can see which are broken?

alpine brook
#

ok I will do that

brisk coral
#

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

steep thorn
#

I've asked this before, but nobody had an idea what the issue could be: when executing any command, something (I assume a plugin) is intercepting everything and injecting the actual placeholder value before it even reaches the plugin that handles the command. E.g. /broadcast %killstats_kills% prints 5 in the chat instead of %killstats_kills%. I can't reproduce it myself unfortunately and the people that did have the issue where not helpful in replicating it.

balmy marten
#

As in it turns to 5 before the broadcast plugin sees it?

steep thorn
#

Yes, exactly.

#

It happens with every plugin, including LeaderHeads. Which is really annoying, because you're supposed to use placeholders in the setup commands.

balmy marten
#

It'd be something like our ChatInjector but modified to work on commands

steep thorn
#

I've seen it occur in 3 different people's setup so it must be something common.

balmy marten
#

Have you got the plugin lists?

brisk coral
#

^ would be easiest to compare them and see which on is the mean one

#

(a quick "fix" would be to uninstall the expansion while setting it up so it doesnt get parsed)

balmy marten
#

Awful fix lol

brisk coral
#

I did say a "fix" ๐Ÿคทโ€โ™‚๏ธ

#

Also gimme external emojis perms smh

steep thorn
#

I don't have a plugin list at the moment. I've asked one of the people that has the issue.

balmy marten
#

Yeah guessing a greedy plugin

steep thorn
#

Must be something recent, it only started occuring to people like 1 month ago.

balmy marten
#

First im hearing of it

steep thorn
#

And some user claimed the issue magically disappeared.

balmy marten
#

Oh, that's always nice

pseudo mist
#

use a placeholder inside another is %...{placeholder}%?

balmy marten
#

Depends on the expansion, but most cases yes

pseudo mist
#

Javascript + player

balmy marten
#

I'm not actually sure when it comes to the js expansion

#

@brisk coral might know

#

If in doubt give it a whirl

brisk coral
#

What you trynna do?

pseudo mist
#

Is one example of clip into javascript exansion. (Data)

%Javascript_set,{player_displayname},5%
brisk coral
#

You might have to parse the bracket placeholder yourself, as I'm not sure cause haven't had the need to use that myself

pseudo mist
#

oh

#

oh, lmao. I am fool

#

Is %Javascript_data_set...% no %Javascript_set%

#

Lmao

#

Yeah, working

turbid tide
#

isn't it suppose to have another _ before arguments does it work if it is a comma?

alpine brook
#

Hi sry. I needed to eat.

#

Do you know why the other espansions doesnt show up?

#

If I restart the server will it work then?

austere hawk
#

PlaceholderAPI download the extensions automatically or must be done manually?

warm topaz
#

manually

austere hawk
#

Well

#

I think the plugin could do automatically

bright locust
#

guys

#

why givs me lagg placeholderapi\

#

?

austere hawk
#

How many extensions do you have?

bright locust
#

here is

austere hawk
#

Did you try to restart your server?

alpine brook
#

I got it to work thx. I can't find an expansion for a death meter...

#

How do I add the players online for example 1/100 and a death meter?

bright locust
#

yes

#

still lag

austere hawk
#

how many ram do you have?

bright locust
#

15gb Ram

austere hawk
#

PlaceholderAPI::Task: jdk.nashorn.javaadapters.java.lang.Runnable (interval:300)

#

That could be the problem

vivid sparrow
#

what javascripts do you have bruh

#

@bright locust

bright locust
#

it's was my problem sorry

austere hawk
#

Which problem was?

alpine brook
#

How do I add the players online for example 1/100 and a death meter?

blissful sun
#

Hey,
I have a Problem with a Statistic Placeholder.
I wanted to show the Playtime in the Scoreboard, but it freezes right now.
So it dont count anymore. But one or 2 days ago it worked perfectly. It also dont count in the parse thing xD
Any help?
Would be nice ;D

trim mist
open glade
#

Let me get the person who bought the plugin to ask then

#

soz

rigid lance
#

How to register a placeholder?

#
``` This doesn't work for some reason
vivid sparrow
#

that's how you do it

#

Try to add this though

    @Override
    public boolean canRegister() {
        return true;
    }

    @Override
    public boolean persist() {
        return true;
    }```
rigid lance
#

already there

#

Whats wrong here

compact wharf
#
var player = BukkitPlayer;

var money = "%vault_eco_balance%";
var format = new decimalFormat("#,###");

function formatBalance()
{

    var decimals = money.split(".");
    var decimal = parseInt(decimals[1]).toFixed(2);
    
    return format.format(parseInt(decimals[0])) + "." + decimal[0] + decimal[1];

    
}
formatBalance();```
split rock
#

Anyone know of a join/leave message plugin that works with SuperVanish?

#

Not sure if DeluxeJoin works with it ๐Ÿ˜ฆ

brisk coral
#

Works with supervanish how?

#

@split rock ^

vivid sparrow
#

Probably not send the message if the player is vanished

brisk coral
#

Does supervanish offer an api?

vivid sparrow
#

it's just metadata

#

Which is cool

#

Look on the plugin page for an example

brisk coral
#

Issue is the message might be sent before the player is set to vanish tho, depending on how it handles it

vivid sparrow
#

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

brisk coral
#

You and your /shrug

vivid sparrow
#

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

brisk coral
#

(โ•ฏยฐโ–กยฐ๏ผ‰โ•ฏ๏ธต โ”ปโ”โ”ป

iron sierraBOT
#

โ”ฌโ”€โ”ฌ๏ปฟ ใƒŽ( ใ‚œ-ใ‚œใƒŽ)

vivid sparrow
#

Thats all I got without external emojis perm, sry

brisk coral
#

Cube really dun goofed up

warm topaz
#

hmm, maybe i should revolt again huh

split rock
#

so yeah

vivid sparrow
#

Sounds fun

split rock
#

that happened

#

essentially i'm wondering if there's a join/leave message plugin that will work so that it will not send a message when a player leaves/joins in vanished

bronze bison
#

@compact wharf use this instead

var format = new decimalFormat("#,###.00");
vivid sparrow
#

FrozenJoin if you can wait til frosty open IIJ

#

๐Ÿ˜‚

split rock
#

?

#

iij?

compact wharf
#

ill give it a shot thanks aboodyy

bronze bison
#

ugh.. whats going on there :p 1m

#

Wait, theres a placeholder for that.. %vault_eco_balance_commas%

compact wharf
#

yeah thats not the problem i only need 2 decimals. which the commas part is working fine.

#

which me and frosty were having problems with %vault_eco_balance_commas%

bronze bison
#

%vault_eco_balance_commas% returns 1 decimal while u want 2?

compact wharf
#

it wasnt returning any for me that i remember but yeah i need it to show 2

bronze bison
#
var DecimalFormat = Java.type("java.text.DecimalFormat");
var format = new DecimalFormat("#,###.00");
var balance = %vault_eco_balance%;

function formatBalance() {
  return format.format(balance)
}

formatBalance();```
compact wharf
#

It WORKS

#

THANK YOU

bronze bison
#

๐Ÿ‘

compact wharf
#

S/O to frosty and aboodyy! ๐Ÿ’ฏ ๐Ÿ™Œ

bright locust
#

placeholderapi lag come back

#

๐Ÿ˜ฆ

#

when i type papi reload show me 11 etension

#

but inside files is 7

#

i'm not using any javascripts

trim mist
#

Some plugins have it built-in.

bright locust
#

ok

#

but look

#

only placeholderapi got huge lag

trim mist
#

Yikes. Looks like something with your Javascript stuff.

#

What kind of JS placeholders do you have?

bright locust
#

we have not any javascripts

#

only extensions

trim mist
#

The timings is saying that something inside nashorn (utilized by javascript placeholders) is causing this lag.

bright locust
#

more proof here is

trim mist
#

Something is running every 15 seconds that seems to be causing lag from a javascript related placeholder.

bright locust
#

how can i found wich one is it?

trim mist
#

That's a good question.

vivid sparrow
#

show them all I guess

bright locust
#

it';s also happend this

vivid sparrow
#

Though you need a plugin instance for schedules to which you dont have access afaik

trim mist
#

That's so weird though haha, I've never seen PAPI show up in the timings like that.

#

What's the output of /papi list

vivid sparrow
#

@bright locust put the expansions into gist or smth (gist would be perfect to have them all in one place)

bright locust
vivid sparrow
#

Nvm

trim mist
#

Does js show up there if they have the js expansion installed?

vivid sparrow
#

Ofc

trim mist
#

Then that's really weird.

#

Why is it attempting to use nashorn if they don't have the js expansion?

bright locust
#

we have not any javascript extension

vivid sparrow
#

Was the js expansion installed?

bright locust
#

nope

vivid sparrow
#

Hm

#

Can we have a startup log?

trim mist
#

^^

bright locust
#

this is papi reload

trim mist
#

Erm

#

A full startup log please.

#

=paste

tender vaporBOT
#
HelpChat Paste

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

bright locust
#

here is

bronze bison
#

It doesn't have to be js expansion.
Nashorn can be accessed from any placeholder by any expansion/plugin

trim mist
#

Oh, can it?

#

Well then that would make sense as to why PAPI is touching it. It's updating a placeholder that's hooked into it.

bronze bison
#

Its a java's..

#

Not a special thing in js expansion

trim mist
#

I'm aware

#

But I'm saying that's why it would show up in papi

vivid sparrow
#

Why is it linked to papi though

trim mist
#

If it was a placeholder

vivid sparrow
#

Maybe a hook?

trim mist
#

Because placeholders update every second a or so

#

If they are using nashhorn to get the data for the placeholder, it would go through papi

bronze bison
#

A placeholder is using it? Another expansion/plugin's placeholder.
Why idk

vivid sparrow
#

Try to remove enderpearl cooldown

bright locust
#

do you need one more timings?

#

1 sec

#

i wil try

#

still here

trim mist
#

It seems that something that you use for placeholders is hooking into that and causing issues. As to what is hooked, not sure.

vivid sparrow
#

Can you see any info when you hover over that tab glare? Im on mobile

trim mist
#

It's just the nashorn

vivid sparrow
#

Ught

bright locust
#

is there any way to fix this?

trim mist
#

Not without knowing what's causing it.

vivid sparrow
#

Hold on

trim mist
#

Maybe Gaby knows something.

vivid sparrow
#

Try to remove the other two as well

#

Aac and factiontop

#

Can you look at supervanish's code, Glare?

hushed spindle
#

Is there a placeholder for the total regions a player is a member of?

trim mist
#

Not seeing anything nashorn related in it.

bright locust
#

still problem

#

i delete aac and factionstop

vivid sparrow
#

Any modifications done to papi or our expansions?

bright locust
vivid sparrow
#

Any modifications done to papi or our expansions?

bright locust
#

no

trim mist
#

@hushed spindle I don't believe so.

#

Yeah Gaby, I really don't know without actually going through each jar and seeing what is connecting to nashorn.

bright locust
#

i can upload placeholders file if you want ๐Ÿ˜„

vivid sparrow
#

there's nothing nashorn related on crazy plugins papi expansion either

trim mist
#

Yeah I saw that.

bright locust
#

what can i do?

vivid sparrow
#

you can disable all plugins and load them one by one

trim mist
#

I mean, a way to instantly cut some stuff out is to try starting your server without anything in the expansions folder.

#

That'll tell us if it's a plugin or not.

bright locust
#

i will delete extensions restart and i'll check it

trim mist
#

If it's still happening, then it is most likely occurring from one of your plugins, you'll have to figure out which one, and then probably contact that developer.

bright locust
#

k

vivid sparrow
#

you can check which one hook into papi

bright locust
#

i will now

#

fixed

#

it's was extenions

trim mist
#

Can you zip your expansions folder and send it to @tender vapor ?

vivid sparrow
#

w e i r d

bright locust
#

i delete them

#

๐Ÿ˜ฆ

trim mist
#

Alrighty then

#

Guess we'll never know.

vivid sparrow
#

try to redownload them

bright locust
#

yea

trim mist
#

Who knows if they've been modified or not.

bright locust
#

we are doing this now

#

we have not tuched

#

any extensions !

#

also how can i change it i dont know

trim mist
#

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

bright locust
#

lag is come back

#

๐Ÿ˜„

vivid sparrow
#

disable the top function from vault expansion for a test

bright locust
#

how to send zip barry?

trim mist
#

Drag and drop like you normally would?

bright locust
#

k

#

Drag here?

#

or barry pm