#placeholder-api

150650 messages · Page 16 of 151

fleet vine
#

My plugin is going to have a section in it's configuration that will look like this:

messages:
    reload_complete: ""
    line_set: "" # Local Placeholders: %line_number% %line_content%
    line_removed: "" # Local Placeholders: %line_number% %line_content%
    title_set: "" # Local Placeholders: %title%
    board_shown: ""
    board_hidden: ""
    board_shown_other: ""
    board_hidden_other: ""
    board_shown_all: ""
    board_hidden_all: ""

As you can see, there are "local placeholders", kind of like what BossShopPro has.
The PlaceholderAPI#setPlaceholders methods don't really provide a way of doing this. If I were to register my own expansion, would it be bad practice to set these local placeholders in it temporarily? If you know about Flask in Python, it will do something similar to flask.request, and it will only really work on single-threaded applications. I am thinking that this is okay with Bukkit commands as long as they are all done on one thread... but I do not know that for sure.

#

Of course I will need to change the names of these "local" placeholders. For example, instead of line_number, it could be something like ebcmd_line_number

#

I'm not sure why people would want to do this, but theoretically they could actually put these placeholders in the lines of the scoreboard for this scoreboard plugin and refresh every tick to see the placeholder values changing as people execute commands lol

#

It doesn't look like BossShop does this, though.

clear beacon
#

Hi, someone know the author of the class of net.kitesoftware.animations.expansion.AnimationExpansion? I'm having a problem with it. Thank you

heady falcon
#

That would be me

#

@clear beacon What's the issue?

clear beacon
#

Oh hello lol. I contacted you on spigot.

heady falcon
#

What's wrong with the class?

clear beacon
#

The Shine animation doesn't work. Is like if is lagging. I contacted my scoreboard plugin support ( Tab Premium ) and they said to contact you.

heady falcon
#

Make sure you add colours to the values

#

%animations_<shine start=&a middle=&2 end=&a normal=&f speed=1>PRISON</shine>% E.g

#

As for lagging, it shouldn't lag, if It appears to skip frames you may be using the same placeholder more than once

#

The primary cause of that issue is no player is sent through to the expansion

#

The tab premium plugin should send a non-null player for the animations expansion to work correctly

clear beacon
#

No... I didnt used twice and i used values but im not undestanding why 2 hours ago worked, and now no... I didnt touch anything

short flicker
#

for player ttodgers ?

junior musk
#

I think the lag is because TAB refreshes all placeholders instantly now, and since the placeholder throws an error, the error makes it lag

heady falcon
#

I can only see the player throwing an NPE

clear beacon
#

( I dont know anything of java, so if you are talking with me of that... )

short flicker
#

player is not null according to the error message

heady falcon
#

Or it's an OfflinePlayer

short flicker
#

org.bukkit.entity.Player

junior musk
#

@clear beacon can you do
/papi parse ttodgers %animations_<shine start= middle= end= normal= speed=1>PRISON</shine>%
and check if it throws an error?

heady falcon
#

That will

#

Because the format is invalid

junior musk
#

that's what he used ¯_(ツ)_/¯

#

so that should be the problem

heady falcon
#

/papi parse ttodgers %animations_<shine start=&a middle=&2 end=&a normal=&f speed=1>PRISON</shine>%

short flicker
#

the stack trace indeed goes through line 34

#

player must have left in the meantime

heady falcon
#

Interesting

#

Anyway it should just be a quick fix on my part to override the OfflinePlayer method

short flicker
#

turns out i was indeed calling setPlaceholders method with offlineplayer, forgot to change it back after papi devs making up their mind what is deprecated and what isn't

fleet vine
#

How do you escape percent signs in converted Strings?

lucid pollen
charred void
#

anyone know how to get %server_unique_joins% to display in chat upon someone joining

gentle cypress
#

bec i could not find it on the placeholders page

quaint stream
#

Heyo, trying to get PowerRanks to work with a plugin like NametagEdit but NTE doesn't support papi, whats a good replacement for NTE?

#

just want ranks displayed next to names above players heads.

quaint stream
#

anyone?

clear beacon
#

Interesting
@heady falcon So i cannot do anything to resolve it?

junior musk
#

Heyo, trying to get PowerRanks to work with a plugin like NametagEdit but NTE doesn't support papi, whats a good replacement for NTE?
@quaint stream TAB

clear beacon
#

/papi parse ttodgers %animations_<shine start=&a middle=&2 end=&a normal=&f speed=1>PRISON</shine>%
@heady falcon Do this:

junior musk
#

@clear beacon I think you have to wait for NEZ and Niall to fix it

clear beacon
#

I cannot post images :8

tender vaporBOT
#

@clear beacon,

clear beacon
#

@clear beacon I think you have to wait for NEZ and Niall to fix it
@junior musk :(

quick tinsel
#

Doing /papi parse me %parseother_OHMelin_statistic_use_item_CACTUS% returns this error: https://paste.helpch.at/duqehupaho.bash

I use version: 2.10.6
And Minecraft version 1.8
And yes, I do have ParseOther installed.

mint fable
#

you forgot the {}

#

See

#

@quick tinsel this

quick tinsel
#

Does this work with the username of an offline player?

mint fable
#

should do

#

if the placeholder supports it*

quick tinsel
#

Returns 0 for me, returns nothing for my offline alt

#

But thanks, it solved my issues! 😄

mint fable
#

test with /papi parse <player> <placeholder>

quick tinsel
#

Yeah, I guess the placeholder doesn't support offline players

#

Just returns an empty slot

mint fable
#

rip

quick tinsel
heady falcon
#

@clear beacon No fix at the moment

clear beacon
#

;(

summer zenith
#

i need to use placeholder inside another placholde help me like this
%RainbowColor_custom_a,f,e,b_%player_displayname%%

heady falcon
#

Use {}

#

%RainbowColor_custom_a,f,e,b_{player_displayname}%

full geyser
#

where can I download latest versions?

#

nvm, figured it out

heady falcon
clear beacon
#

I like the normal placeholder ( that doesn't work ).. mayba it can be a little more simple, but it's fine like you proposed

quick tinsel
lucid pollen
#

Hey Guys

#

I have a question about Vault Expansion

#

Am on Paper 1.15.2 and laster Placeholder API and vault version

#

When ever i install Vault Expansion For Placeholder API

#

My Java in I/O Read Bytes Keep going up and up it can go to 4 TB in 24h

lone dirge
#

Why is this error?

candid cape
#

is it possible to create a countdown with javascript and placeholderapi

summer zenith
#

Use {}
@heady falcon thank you for help. But in the chatcontrol pro plugin % not working only {} is there any other way?

tender vaporBOT
mint fable
#

@candid cape this

candid cape
#

i have this countdown "%server_countdown_dd.MM.yyyy-HH_15.05.2020-18%

#

but dunno if its possible to make it like 'age' and it countdowns from 0 to when ever u stop it

mint fable
#

a timer?

candid cape
#

yes

#

my bad

mint fable
#

ah ok

#

so

#

use the difference between 2 dates

#

and set the start date

#

the end date will be the current date by default

#

so it already does what you want by default by the looks of it

candid cape
#

"%server_countdown_dd.MM.yyyy-HH_15.05.2020-18% this countdown is counting from date to 0

#

but is it possible to reverse it

mint fable
#

so

#

do what I just said above

candid cape
#

what placeholder r u tlaking bout?

mint fable
#

the difference between 2 dates community javascript

candid cape
#

ah yeah

#

that should work

#

tyvm man

mint fable
#

👍

#

hmm I could adapt that to take arguments

#

but you could always make a different file per placeholder as well I guess so 🤷‍♂️

summer zenith
#

,> i need to use placeholder inside another placholde help me like this

%RainbowColor_custom_a,f,e,b_%player_displayname%%
@summer zenith anyone can help?

leaden kraken
#

Try {player_displayname}

mint fable
#

if the placeholder supports {} placeholders it will work, if not, then you might be sol

summer zenith
#

Thanks for help :)

quick tinsel
mint fable
#

statistic doesn't support it I don't think

#

test with /papi parse <player> <placeholder>

#

@quick tinsel this

quick tinsel
#

It returns nothing just as above

leaden kraken
#

Statistic doesn't support offline players

mint fable
#

try the statz plugin

quick tinsel
#

Neither does the rest of my stats apparently

mint fable
#

the rest of your stats?

#

wym

quick tinsel
#

I don't only use statistic

mint fable
#

what else do ya use

quick tinsel
#

My own custom placeholder

mint fable
#

skull_cane?

quick tinsel
#

Yeah

#

And Statz won't work for me. I'm on 1.8

mint fable
#

interesting placeholder, is your plugin called skull?

quick tinsel
#

No

mint fable
#

also if it's yours then you have to support it

quick tinsel
#

It works fine

#

Just not when players are offline

mint fable
#

yes, but you can change that

quick tinsel
#

Or it works with them being offline in LeaderHeads

#

All placeholders do

#

So it's weird they won't work in messages

mint fable
#

what?

#

I'm not following you here

quick tinsel
#

Let me get you a screenshot

mint fable
#

To support offlineplayers in your placeholder you have to code it in

#

leaderheads supports offlineplayers because it stores the placeholder data (to rank the scores)

#

if that's what you're talking about this

quick tinsel
#

Ah that's why then

#

Can I then just use those placeholders for my messages?

mint fable
#

yep it needs the data to rank the players so it caches it

#

I guess so

#

it's the most recent placeholder for that user

#

so

#

go for it

quick tinsel
#

Do you know what that placeholder looks like? I would like to try and parse it to see if it works for offline players

mint fable
#

I thought you had it

#

?

quick tinsel
#

Yeah looking at their documentation as well right now, but I just want the value, so I don't need <time> and <rank>

#

But I guess I have to?

mint fable
#

wait

#

I don't know if you can

#

i dont' think leaderheads has that type of placeholder

#

tbf it doesn't necessarily make sense to have them

#

because you would just... use the regular placeholder

quick tinsel
#

But how does it then store data for offline players?

mint fable
#

well it still stores them

#

just doesn't have a placeholder to retrieve it directly via player name

quick tinsel
#

Hm

mint fable
#

it makes sense because it would probably be a lot more work to search by player as well

small surge
#

Hello, I'm looking for targeted_block placeholder, but can't find it. Help 🙂

stone parcel
#

can i check that a player has a certain permission in a javascript placeholder?

junior musk
#

BukkitPlayer.hasPermission("your.permission");

stone parcel
#

thanks

stone parcel
#

when i name a placeholder something like "name_secondname" and I do %javascript_name_secondname% does it count it as argument or does it know that it is the name of the placeholder?

turbid tide
#

it knows its the name

stone parcel
#

okay nice

turbid tide
#

but I stopped doing it like that and just go for the lowerCamelCase naming

stone parcel
#

why?

turbid tide
#

well because I like it better since I started programming. well learning

stone parcel
#

because i think %language_english_welcomeMessage% looks better than %LanguageEnglishWelcomeMessage%

turbid tide
#

no its going to be %javascript_languageEnglishWelcomeMessage%

stone parcel
#

yeah still

turbid tide
#

but everyone with their choices. its not like it will break anything or anything

stone parcel
#

looks better inop

#

yeah ofcourse

turbid tide
#

well you do you xD. I was just saying

mint fable
#

I personally feel the _english_welcomeMessage makes more sense in this case

turbid tide
#

👍

mint fable
#

category_type

#

I keep my placeholders lowercase lol

regal sage
#

I was just wondering, is there placeholders for Admin360? We are trying to do custom commands via mycommand, and only want certain functions to activate when a ticket is present. Can’t seem to find it on the page.

I.e if queue is > 0, issue commands /fly, //sel

candid cape
#

@mint fable

tender vaporBOT
#

@candid cape,

candid cape
#

dont think this is made for my timer

mint fable
#

wym

candid cape
#

i should only change the startDate right?

mint fable
#

what are you wanting to do?

#

have a timer from a certain date, correct?

#

when you restart papi?

#

where are you gonna store that

#

that would make it the current date

#

yes change that

blissful hatch
#
[PlaceholderAPI] skript is attempting to register placeholders via a PlaceholderHook class which is no longer supported!```
#

this two plugin api was outdated ,what the problem is ,the placeholderapi or the plugin

mint fable
#

plugin/expansion

#

do you have the latest of both?

blissful hatch
#

ys

#

the skript api problem have been solved

#

but multieconomy is helpchat community

trim mist
#

I don't actively work on it anymore but if it's an external expansion I can update it later this week.

blissful hatch
#

Then plz update asap ,ty!

#

no the skript api still hv problem

fluid sentinel
#

hi

#

how can i put the servers online players

turbid tide
#

so list the online players or just show how many players are online? If you just want the number then %server_online%

fluid sentinel
#

Name: 'Server Selector'
Slots: 45
Items:
factions:
Item: TNT
Slot: 11
Amount: 1
Glow: false
Name: ' &8* &b&lFACTIONS &8*'
Lore:
- '&bJoin now!'
- ''
- '&8Compete in the race to get into'
- '&8the top with your faction or team'
- '&8Base,enchants,trade, and explore'
- '&8more to enjoy this game'
- ''
- '&bPlayers ► %bungee_faction% '
- '&bVersions ► &8&n1.8 - 1.14'
Commands:
- '[bungee] factions'
- '[message] &7Sending you to: &eFactions'

turbid tide
#

ahh

#

bungee

fluid sentinel
#

im running bungee server and i want to let them see the online players in that server

turbid tide
#

you need to have PAPI installed on all servers

#

and the Bungee expansion as well

fluid sentinel
#

ohhhhh

turbid tide
#

not on the proxy tho

fluid sentinel
#

yee i got that

#

do i need to download it in the bungeecord server/

#

or not

#

just in the servers?

turbid tide
#

not on the bungee server

fluid sentinel
#

aightt thankss

#

cant i send pics here?

tender vaporBOT
#

@fluid sentinel,

fluid sentinel
#

there is one online player there rn

#

is there a delay or something?

turbid tide
#

yeah

#

its like 30 seconds by default

#

you can change it in plugins/PlaceholderAPI/config.yml

fluid sentinel
#

bruhh im stupid

#

sorry hahaha

#

thats why its not working cause instead of factions and code faction

#

thanks for the support

turbid tide
#

no problem

cunning elk
#

How do I see if this got implemented?

#

in a dev build maybe

#

Github still confuses me a lot

#

Its so Chatcontrol stops breaking javascript placeholders, its the only thing preventing me from having a decent chat rn

turbid tide
#

I mean dk if its in a dev build but you can compile the expansion yourself

heady falcon
#

Looks like it has been merged so yes

turbid tide
#

only merged

#

but no build has been pushed to jenkins so you'll have to build it yourself

#

or ask someone to do it for you

cunning elk
#

I wish I knew how to do that 😭

small surge
#

hello, is there a placeholder for a TARGETED_BLOCK? Can't find one.

turbid tide
#

what placeholder?

#

which does what?

small surge
#

showing which block the player is targetted at

#

block name (not coords)

turbid tide
#

oh

#

don't think there is

#

not from my knowledge

small surge
#

using f3 is not comfortable 😛

#

and from time to time it would be useful during building to have it in the scoreboard

#

thank you anyway 🙂

turbid tide
#

wait a second

#

seems like there is getTargetBlock()

#

or something

#

maybe I can make a javascript

turbid tide
#

@small surge turns out its not that hard to make it. took me a few minutes to make it a one liner but it works so here you go: css function getTargetedBlock(){ return BukkitPlayer.getTargetBlockExact(50) == null ? "AIR" : BukkitPlayer.getTargetBlockExact(50).getType();} getTargetedBlock();

#

this is the more readable one xD js function getTargetedBlock(){ return BukkitPlayer.getTargetBlockExact(50) == null ? "AIR" : BukkitPlayer.getTargetBlockExact(50).getType(); } getTargetedBlock();

#

you could increase the distance of view from 50 or decrease it by changing both those 50 numbers but if you look at blocks to far seems to throw some errors

turbid tide
#

@cunning elk dk if you've seen but js just got updated. I think by clip

final shadow
#

ye i updated it

turbid tide
#

well it does say in #ecloud-updates that you did it just took me a while to see it xD

final shadow
#

might take a few hours to go live to the ecloud

#

in game

cunning elk
#

awesome

#

Thanks guys!

#

And my chat is finally back working

#

thank you!

dull mango
#

hi

#
    var renk = "%skript_renk::{player}%";
    if(renk == "Mavi"){
        return "&3";
    } else {
        return renk;
    }
}   
```  im just trying to get a skript variable on javascript, but it returns %skript_renk::{player}%
turbid tide
#

what does /papi parse me %skript_renk::{player}% return?

dull mango
#

same

turbid tide
#

/papi ecloud download skript /papi reload

dull mango
#

i already did

#

wait a sec

turbid tide
#

well then something its either broken with the skript expansion or your placeholder

#

no idea

dull mango
#

[16:54:17 WARN]: [PlaceholderAPI] skript is attempting to register placeholders via a PlaceholderHook class which is no longer supported!

turbid tide
#

welp

dull mango
gloomy crater
#

ive been looking for a javascript error for a while now and I have no idea whats causing it:

[Tue, 18. Aug 2020 16:10:29 CEST INFO] <eval>:2:106 Missing close quote
[Tue, 18. Aug 2020 16:10:29 CEST INFO] Reason: Missing parameter(s) for operator +u < 1000) { javascript_gpall = "The provided value was invalid!
[Tue, 18. Aug 2020 16:10:29 CEST INFO]                                                                                                           ^ in <eval> at line number 2 at column number 10

the papi .js file:

if (%math_[precision:0]{griefprevention_bonusclaims}+{griefprevention_accruedclaims}% < 1000)
{
    javascript_gpall = "%math_[precision:0]{griefprevention_bonusclaims}+{griefprevention_accruedclaims}%"
}
else if (%math_[precision:0]{griefprevention_bonusclaims}+{griefprevention_accruedclaims}% < 1000000)
{
    javascript_gpall = "%math_[precision:2]{griefprevention_bonusclaims}+{griefprevention_accruedclaims}/1000%k" 
}
else if (%math_[precision:0]{griefprevention_bonusclaims}+{griefprevention_accruedclaims}% > 999999.99)
{
    javascript_gpall = "%math_[precision:2]{griefprevention_bonusclaims}+{griefprevention_accruedclaims}/1000000%M"
}

It says something about a missing quote, but from what I see no quotes are missing, any idea what the problem is?

#

the pointer is pointing to { javascript_gp_all

turbid tide
#

you don't have any ;

gloomy crater
#

oh ffs

#

thanks lol

turbid tide
#

no problem xD

river wasp
#

I want to create a scoreboard with placeholders for HungerGames is that possible with Placeholder-api and if so how do you do it?

turbid tide
#

well depends what placeholders? Do the plugin you use have placeholders?

river wasp
#

On the plugin page it was saying the leaderboard placeholders via placeholderAPI have to go

turbid tide
#

but which plugin?

river wasp
#

HungerGames 4.13.16

turbid tide
#

Can I get a link to the spigot page please?

glacial barn
mint fable
#

doesn't look like papi to me

river wasp
turbid tide
#

yeah xD

mint fable
#

looks like whatever plugin handles that text or whatever it is

glacial barn
#

Ah, wrong place to ask, sorry about that.

turbid tide
#

link to this page was on the spigot page

river wasp
#

Where do I have to place the code in my server files in the api or the hungergames files?

turbid tide
#

you have to place those placeholders where you want your leaderboard

#

so if you want a hologram at spawn for example you put the placeholders in a hologram

#

if you want a scoreboard then you put them in a scoreboard

#

if you want a command then you put them in a command

#

wherever placeholders are parsed you can use them

river wasp
#

When i paste the placeholder in the hologram its still showing the same thing '&b%hungergames_lb_wins_p_1% &7: &a%hungergames_lb_wins_s_1%'

glacial barn
#

Hi, is there another Javascript engine other than Nashorn?

mint fable
#

I don't think so, why?

vivid sparrow
#

Not from what ive seen

velvet tinsel
#

hello guys

#

I want to use otherplayer_hasperm placeholder

#

but for some reason, when the user leave the server, it will return PNF (player not found)

#

how can I fix that

mint fable
#

try parseother

velvet tinsel
#

cool now it doesn't show anything when he disconnect

#

😄

mint fable
#

what placeholder did you use it with?

#

It's possible that it doesn't work when the user is offline

velvet tinsel
#

why

#

how can I make it to work when he is offline

mint fable
#

well permissions are only applied when a user is online

velvet tinsel
#

lol?

mint fable
#

why lol?

velvet tinsel
#

how can I change that

mint fable
#

you can try luckperms, but I don't think it will work as the expansion would have to be accessing the database each time

velvet tinsel
#

%luckperms_check_permission_<permission>%

#

?

mint fable
#

There's no real reason to keep permissions for players cached if they're offline

#

probably

#

test them with /papi parse <player> <placeholder>

#

maybe inherits

velvet tinsel
#

nope

#

same result

mint fable
#

figured

#

what do you need it for?

velvet tinsel
#

so I use askyblock

#

and I want to create an upgrades menu that will let island members to upgrade it

#

it works via permissions

#

so if the island owner has the permission askyblock.island.range.something

#

it will expand the island

#

but if the member has it, it will not work

limpid sigil
#

Hi, im using the sleep percentage plugin, but can I use a %player% or %displayname% in the config to show a player's name?

mint fable
#

is this papi related?

#

Plugin link?

mint fable
#

so it's not papi related

#

it doesn't look like that plugin has placeholders either

#

also it's 3 years old

limpid sigil
#

owh

#

do you recommend an other sleep percenage plugin?

carmine glade
#

Any idea when the next PAPI will be released? Really looking forward to fixing bug 426

warm topaz
#

what is bug 426?

#

if ur not already on the dev builds, check them out as its possibly already fixed. not sure.

carmine glade
#

It was merged in a few days ago

warm topaz
#

oh right download the latest javascript expansion

#

clip updated it today iirc

carmine glade
#

Oh, you mean it doesn't require a plugin update? Just papi ecloud download javascript?

warm topaz
#

apparently so

#

that bug leads to the javascript expansion with a fix from kangarko

carmine glade
#

Okay even better, thanks, I'll give it a try

deep matrix
#

i have 0 development experience but want to try my hand at it, is it possible to impose a color gradient on playernames (not prefixes)?

warm topaz
#

its possible

#

not too sure about hex colours for above the head tho

deep matrix
#

how?

warm topaz
#

development wise, idk. but u could just use the gradient expansion in placeholderapi, place ur text (player name) then parse the placeholder fingerguns

deep matrix
#

thanks! didnt know that existed

warm topaz
#

im sure theres a lib already made for hex/gradients, but im unaware of any as of now

pliant steppe
#

Heyo, I am having a small issue with the luck perms expansion, I am using the /papi ecloud download LuckPerms but after /papi reload it shows no expansions available and doesn't load.

high star
#

Heyo, where might I find the source to the server expansion? %server_uptime% is fucked despite being on latest of both it and PAPI (expansion ver 2.3.1, papi ver 2.10.9)

cloud shard
#

Hey, does anyone have an idea why the defaultvalue ecloud might not be working for me until i reload papi?

copper smelt
#

my placeholder said there is no expansions be registered

glass sigil
#

Hello! I'm trying to load the plugin on my KCauldron (1.7.10) server but when I start it, it tells me that it doesn't recognize the plugin. Does anyone know why that is?

vivid sparrow
#

What plugin ...?

#

And probably because that thing, KCauldron, doesnt use spigot api.

glass sigil
#

PlaceholderAPI

junior sail
#

who can help me with a problem?

turbid tide
#

?

junior sail
turbid tide
#

Ok. I'll need more information from you: Server version, DeluxeMenus version and a startup log. Also please don't use a /reload command or a plugin like PlugMan to disable/enable/reload plugins

#

?Startuplog

tender vaporBOT
turbid tide
#

this is how you get the startuplog this

junior sail
#

Wait 1 sec

#

1.12.2 server version and i heave latest version deluxemenu

#

But startup log it s little big bcz i heave a lot of errors and idk why

#

I m on that server (where i m working) from yesterday and i see a lot of bugs here..

turbid tide
#

latest meaning 1.13.2?

#

or 1.13.3 dev build?

junior sail
#

1.13.2

turbid tide
#

could you please update to latest dev build? and see if that will fix it

#

and if not please provide that startup log

#

?dm-builds

tender vaporBOT
turbid tide
#

you can find the dev builds here this

junior sail
#

ok

junior sail
tender vaporBOT
scarlet wind
#

Hi. I have placeholder api lasted version on my 1.16.2 spigot server

#

but the scoreboard all of the scoreboards plugin (placeholder api compatible) aren't working.

#

the variables are not changed by the plugin

final shadow
#

Please provide your latest.log as that isn’t much to go off in terms of helping you figure out the problem.

#

“It don’t work!” “Why not?” “I DONT KNOW” “me either”

#

That sums up the responses you will get if that’s all you are going to provide

scarlet wind
#

Oki i send you this. sorry

tender vaporBOT
scarlet wind
vivid sparrow
#
[12:24:14] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[12:24:14] [Server thread/INFO]: No expansions were registered!```
scarlet wind
#

Bu vault doesn't need expensions

vivid sparrow
#

It does.

scarlet wind
#

after this it has to work ?

vivid sparrow
#

Depends what placeholders you have

scarlet wind
#

i saw thx

#

sorry for the question xD

dawn nimbus
#

Hello, I'm looking to use the iridiumskyblock plugin I saw that it was compatible with PlaceholderAPI but impossible to make "/papi ecloud download".

#

can you help me plz

brisk coral
#

Expansion is mostlikely built in

dawn nimbus
#

Yeah, but how do I know? Because I'd like to use it for FeatherBoard.

dawn nimbus
#

I couldn't find this page thanks 🙂

pliant steppe
#

Heyo, I am having a small issue with the luck perms expansion, I am using the /papi ecloud download LuckPerms but after /papi reload it shows no expansions available and doesn't load.
@pliant steppe

turbid tide
#

you need to go to https://api.extendedclip.com/all/ and manually download LuckPerms expansion then go to plugins/PlaceholderAPI/expansions and check if there is already a LP expansion there. If there is delete it. Add the Expansion you just manually downloaded to the folder and do /papi reload

stone parcel
#

hey, i have the script:

#

function language_adminshop_lore() {
if (BukkitPlayer.hasPermission("language.english")) {
return "&7Click, to buy this item for &e" + args[0] + "&6L";
} else if (BukkitPlayer.hasPermission("language.german")) {
return "&7Klick, um dieses Item f\u00fcr &e" + args[1] + "&6L &7zu kaufen";
}
}

language_adminshop_lore();

#

if i do /papi parse me %javascript_language_adminshop_lore_1,000.00_1.000,00% it returns 1L, because of the ",", how i can tell it, that it is part of the string?

pliant steppe
#

@turbid tide Still "No expansions were registered!" Expansion-LuckPerms_IaULsEO.jar is in the correct directory

tender vaporBOT
#

@pliant steppe,

keen wharf
#

Hey, I saw recently that slimefun4 was supported by papi. I cannot however find the expansion. Can anyone help me find the download for it?

mint fable
#

link?

keen wharf
#

yes please

mint fable
#

no I meant

#

can you give me a link

#

to what you're talking about

mint fable
#

I assume it's probably integrated into the plugin

#

type /papi parse me <placeholder>

keen wharf
#

Awesome it is!

#

thanks

prime harness
#

Question? Do you guys support SpongeForge yet for Placeholder and Deluxe Chat?

junior musk
#

not at the moment

#

but I think that it's planned for PlaceholderAPI v3

#

idk about DeluxeChat though

north shore
#

Is there a placeholder for mspt? Only seem to find tps so far

frosty spruce
#

Ok here goes

#

is their any way to get this as a bungeecord plugin

meager nymph
#

@frosty spruce to get what as a bungee plugin

frosty spruce
#

so

#

how would i use placeholder api's in bungeecord

meager nymph
#

you need a plugin that supports papi

frosty spruce
#

uhhh i do luckperms

#

but i mean

#

uh its difficult to explain

meager nymph
#

/papi ecloud download luckperms

frosty spruce
#

yea i got that

#

but like

#

uhhh i cant explain

meager nymph
#

you downloaded luckyperm the bungee version ?

frosty spruce
#

1 sec

#

so

#

what i mean is

#

is their a verson of the placeholder api for bungeecord

#

so a .jar that i could put in the bungeecord plugin folder

#

@meager nymph

meager nymph
#

no

#

there isnt a placeholderapi for bungeecord

frosty spruce
#

grrrr ok

meager nymph
#

like a placeholderapi.jar for bungeecord

frosty spruce
#

yea

queen spade
#

i get this error when i attempt to do /papi reload

vivid sparrow
#

?

stuck harness
#

I downloaded the ParseOther expansion, but am getting Internal Command erros when I attempt to use it. Ideas? @ me when answering.

turbid tide
#

what placeholder are you trying to use?

#

the exact way you are trying to use it @stuck harness

stuck harness
#

So I just tried /papi parse pmblue %parseother_pmblue_player_name%, and got Internal error msg. When only doing /papi parse pmblue %player_name% it turns out fine.

#

@turbid tide

turbid tide
#

you have to use {}

stuck harness
#

at which part

turbid tide
#

so %parseother_{pmblue}_player_name%

stuck harness
#

huh

#

May wanna change that on the wiki 0_0

turbid tide
#

?

#

its {} here as well

#

on the wiki

#

it clearly says you need to include {}

stuck harness
#

Ah ok i was on the eCloud site

#

I did look at the github wiki, so i still did miss it there

#

F

stone parcel
#

@blitzzZzzZzZzZ do you know how to fix it?

turbid tide
#

fix what?

#

that link literally takes me to the top of the channel

#

ugh

#

{{player}} should work

#

if player is an argument

#

but that's not the issue

#

are you sure you have the Statistic expansion?

#

if you just use {player} in an item lore does it show the argument?

stuck harness
#

It did in display name, let my try the lore tho one sec.

turbid tide
#

can I get the entire item please?

#

with the parseother placeholder

stuck harness
#
  'Info':
    material: 'COMPASS'
    slot: 8
    priority: 1
    display_name: '&9&lPlayer Statistics'
    lore:
    - '&a&lBal (Rank) &7$ %parseother_{{player}}_vault_eco_balance_commas% &8(%parseother_{{player}}_vault_eco_top_rank%)'
    - '&a&lBlocks Broken &7%parseother_{{player}}_statz_blocks_broken%'
    - '&a&lDeaths &7%parseother_{{player}}_statistic_deaths%'
    - '&a&lTime Since Death &7%parseother_{{player}}_statistic_minutes_since_death%m'
    - '&a&lMcMMO Power &7%parseother_{{player}}_mcmmo_power_level%'
    - '&a&lPing &7%parseother_{{player}}_player_ping%ms'
    update: true
    left_click_commands:
    - ''
    right_click_commands:
    - ''
#

When all of those placeholders are used without the ParseOther, they worked 100% fine.

turbid tide
#

do /papi parse me %parseother_{pmblue}_vault_eco_balance_commas% in chat and see what it returns

stuck harness
#

Worked.

turbid tide
#

hmm

stuck harness
#

the following also worked:

  'Info':
    material: 'COMPASS'
    slot: 8
    priority: 1
    display_name: '&9&lPlayer Statistics'
    lore:
    - '&a&lBal (Rank) &7$ %parseother_{pmblue}_vault_eco_balance_commas% &8(%parseother_{pmblue}_vault_eco_top_rank%)'
    update: true
    left_click_commands:
    - ''
    right_click_commands:
    - ''
#

It would appear that the only time I run into issues are when I attempt to use parseother in conjunction with a DM argument placeholder.

turbid tide
#

can I get the menu please?

stuck harness
#

🤷‍♂️ ok

turbid tide
#

what version of DMenus are you using?

#

also your server version

stuck harness
#

Server Version 1.16.1
DeluxeMenus-1.13.2-Release.jar

I believe that since we have multiple other menus working, and all these placeholders work when used without parse other, or the fact that when {player} is replaced with a player name, it works, it is pretty safe to say that the issue involves using DM variables inside that parseother username slot.

turbid tide
#

oh that is it

#

you need to use the Dev Builds

#

?dm-builds

tender vaporBOT
turbid tide
#

you can find them here this

#

I mean I am surprised the plugin even worked on 1.16.1 with the release xD

stuck harness
#

Wait a moment, i just found a flash of something strange, give me a sec to investigate

#

@turbid tide , when update: true, and the item updates, the arg stops working...

#

because when update: false, the correct statistics are displayed

turbid tide
#

and have you tried it on the dev build?

stuck harness
#

@turbid tide still happens with dev build

tender vaporBOT
#

@stuck harness,

stone parcel
#

hey, i have the script:
function language_adminshop_lore() {
if (BukkitPlayer.hasPermission("language.english")) {
return "&7Click, to buy this item for &e" + args[0] + "&6L";
} else if (BukkitPlayer.hasPermission("language.german")) {
return "&7Klick, um dieses Item f\u00fcr &e" + args[1] + "&6L &7zu kaufen";
}
}

language_adminshop_lore();
if i do /papi parse me %javascript_language_adminshop_lore_1,000.00_1.000,00% it returns 1L, because of the ",", how i can tell it, that it is part of the string?

#

@blitz

turbid tide
#

yeah I saw it and said I have no idea rly

#

try doing %javascript_language_adminshop_lore_"1,000.00"_"1.000,00"%

stone parcel
#

that doesnt work unfortunality

turbid tide
#

but never done something like this. Also why formated?

#

why not just 1000

stone parcel
#

looks better

turbid tide
#

I mean I think you could make it format inside using the formatter placeholder

#

as long as its only fixed amounts so you'll never do x.xxxx.xx just x.xxxx.00

stone parcel
#

yes

turbid tide
#

then yeah you could just format it inside

stone parcel
#

I mean I think you could make it format inside using the formatter placeholder
what's the name of this placeholder?

turbid tide
#

its an expansion

#

its called Formatter I think

#
/papi ecloud download Formatter
/papi reload```
stone parcel
#

okay i'll try it

#

thanks

turbid tide
#

but you'll need to change the javascript a bit

stone parcel
#

yes ofc

turbid tide
#

I can try and do it rn if you want

stone parcel
#

that would be friendly

turbid tide
#

1 min. everything crashed rn xD

stone parcel
#

%formatter_number_format_1000357% -> 1,000,357 that's what i need

#

but

#

i need the german format too

turbid tide
#

wait

#

oh I see what you've done

#

I'll just make it better for you

#

and only need 1 argument

#

you'll just have to test it for me since I don't rly have time

stone parcel
#

okay, i just have to start the server first

turbid tide
#

can you try this for me please? ```js
function language_adminshop_lore() {

var sumEN = PlaceholderAPI.static.setPlaceholder(BukkitPlayer, "%formatter_number_format" + args[0] + "_format:##,###,###%");
var sumDE = PlaceholderAPI.static.setPlaceholder(BukkitPlayer, "%formatter_number_format" + args[0] + "_format:##.###.###%");

if (BukkitPlayer.hasPermission("language.english")) {
return "&7Click, to buy this item for &e" + sumEn + ".00&6L";
}else if (BukkitPlayer.hasPermission("language.german")) {
return "&7Klick, um dieses Item f\u00fcr &e" + sumDE + ",00&6L &7zu kaufen";
}
}

language_adminshop_lore();``` also only use %javascript_adminshop_lore_1000%

stone parcel
#

sure, the server is starting, it only takes so long because i'm not at home and i have to use my old slow laptop

turbid tide
#

no worries. I'll be here for another 1 or 2 hours

stone parcel
#

okay so, it says script error :Y

turbid tide
#

oh

stone parcel
#

but the script seems fine

stuck harness
#

What does the number returned by %server_total_chunks% represent? @ me when answering

leaden kraken
#

I would assume the total amount of chunks

stone parcel
#

i think the total amount of chunks the server has loaded in his memory

turbid tide
#

yeah

#

what falk said

#

hmm @stone parcel could you send the script error from console?

stone parcel
#

[00:17:47 INFO]: TypeError: PlaceholderAPI.static.setPlaceholder is not a function in <eval> at line number 1

turbid tide
#

oh

#

1 sec

#

I may have messed something up

leaden kraken
#

setPlaceholders

stuck harness
#

@stone parcel in active memory, or stored total?

stone parcel
#

stored total i think

stuck harness
#

But it goes down..

stone parcel
#

ok then 1.

turbid tide
#

oh

#

I forgot an s

#

as DeathRealms pointed out

#

no its active memory Pmblue

#
function language_adminshop_lore() {

  var sumEN = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%formatter_number_format" + args[0] + "_format:##,###,###%");
  var sumDE = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%formatter_number_format" + args[0] + "_format:##.###.###%");

  if (BukkitPlayer.hasPermission("language.english")) {
    return "&7Click, to buy this item for &e" + sumEn + ".00&6L";
  }else if (BukkitPlayer.hasPermission("language.german")) {
    return "&7Klick, um dieses Item f\u00fcr &e" + sumDE + ",00&6L &7zu kaufen";
  }
}

language_adminshop_lore();``` try this @stone parcel
leaden kraken
#

It's the total loaded chunks

stuck harness
#

ok

stone parcel
turbid tide
#

ugh that's not good. hmm let's see

#

if you do /papi parse me %formatter_number_format:1000_format:##,###,###% in chat

#

what does it return?

stone parcel
#

hmm i think there is a "_" missing?

#

one moment

turbid tide
#

oh

#

you are right

#

actually

#

well its a : no _

stone parcel
#

/papi parse me %formatter_number_format_1000_format:##,###,###%

#

parseable

turbid tide
#

no no

#

just copy what I gave you

stone parcel
#

it returns 1,000

turbid tide
#

oh it does?

stone parcel
#

i replaced it

turbid tide
#

oh yeah

stone parcel
#

the :

turbid tide
#

so then the js

#

would be

#
function language_adminshop_lore() {

  var sumEN = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%formatter_number_format_" + args[0] + "_format:#,###%");
  var sumDE = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%formatter_number_format_" + args[0] + "_format:#.###%");

  if (BukkitPlayer.hasPermission("language.english")) {
    return "&7Click, to buy this item for &e" + sumEn + ".00&6L";
  }else if (BukkitPlayer.hasPermission("language.german")) {
    return "&7Klick, um dieses Item f\u00fcr &e" + sumDE + ",00&6L &7zu kaufen";
  }
}

language_adminshop_lore();```
stone parcel
#

now i get a lot of errors

#

wait i paste it in haste

#

then pastebin

turbid tide
#

hmm

#

I edited the js

#

above

#

try it now please

stone parcel
#

i have already

#

oh wait

turbid tide
#

the way I just edited it rn?

stone parcel
#

now it parses fine

#

thank you

#

it works

turbid tide
#

nice

#

no problem. you're welcome

stone parcel
#

thanks, you are a very friendly + helpful supporter

#

! :)

turbid tide
#

ty :))

stone parcel
#

do you get payd for it?

#

paied

turbid tide
#

nope this is a community driven discord server

stone parcel
#

from where do you have so much time?

turbid tide
#

I mean I am working while talking here

stone parcel
#

or how

#

ah okay

turbid tide
#

and its 1:38 am

#

xD

stone parcel
#

0:39 am here

#

from where are you?

turbid tide
#

we should move to #off-topic if you don't need supprot regarding a plugin or anything related.

stone parcel
#

where are you from***

#

wtf

#

my english

#

okay my bad

austere hawk
#

Hi, i need help, why this cant work using Papi: /papi ecloud download Vault
and /papi reload
and dont show vault in hooks
continue saying me 6 hooks
and i send /papi list
no vault
help pls

thick glacier
#

Not sure if this is a plug in issue or a api issue. At the footer of my tab-list, in this case I'm using PlayersListDeluxe, I want to add a line that says the following: Time Played on (server): (playtime). I searched the placeholder wiki and found a playtime placeholder. I then downloaded and installed the linked plug-in, in this case, Playtime 1.13-1.14. I then ran /papi ecloud download PlayTime. The wiki said to input the placeholder {playtime_player}. So i inputed it for the playtime. The issue is nothing is working, when i hit tab i still see {playtime_player} and not the players player time. Im unsure if its because the plug in is from 1.13 or because of a mistake on my side.

mint fable
#

type /papi parse me %playtime_player%

#

that is what the expansion is for

thick glacier
#

Yes

mint fable
#

ok

#

what does the command return?

thick glacier
#

Should i use 1.14 or 1.14

#

1.13

mint fable
#

for your server version?

thick glacier
#

No for the plug in version.

mint fable
#

1.13 isn't even a version

thick glacier
#

It is avalible for download, thats why i was asking

#

Ill go for 1.14

mint fable
#

what are you talking about

#

what plugin

thick glacier
#

The playtime plug in we were talking about

mint fable
#

where in the world do you see version 1.13?

#

and 1.14?

thick glacier
#

When i click download

#

There

mint fable
#

oh what the

#

I mean, what server version do you have?

#

1.16?

thick glacier
#

Yes!

#

1.16 Paper

mint fable
#

So it's very possible this plugin doesn't work for 1.16

#

but load it up and send the startuplog over

#

?startuplog

tender vaporBOT
thick glacier
#

The plug in works tho

mint fable
#

type /papi parse me %playtime_player%

#

what does that return

thick glacier
#

My username

mint fable
#

Okay so that works?

thick glacier
#

But when i run /papi parse me %playtime_time%

#

I get an Internal Error Occured

mint fable
#

can you send it

#

=paste

tender vaporBOT
thick glacier
#

Im sorry, send what?

mint fable
#

the error

thick glacier
#

Yes

#

How do I copy it?

#

This one

#

?

#

me.clip.placeholderapi.commands.PlaceholderCommandRouter.onCommand(PlaceholderCommandRouter.java:113) ~[?:?]

#

20.08 21:58:49 [Server] INFO at me.clip.placeholderapi.commands.impl.local.CommandParse.evaluate(CommandParse.java:57) ~[?:?]
20.08 21:58:49 [Server] INFO at me.clip.placeholderapi.commands.PlaceholderCommandRouter.onCommand(PlaceholderCommandRouter.java:113) ~[?:?]

mint fable
#

?paste

tender vaporBOT
mint fable
#

See Usage this

thick glacier
#

I belive i am done

mint fable
#

?

thick glacier
#

I pasted what my console showed

mint fable
#

Okay

#

send the link

thick glacier
mint fable
#

we need more than that...

#

?startuplog

tender vaporBOT
mint fable
#

can you please send that over this

thick glacier
#

Alll of it?

mint fable
#

yep

thick glacier
mint fable
#

ah so

#

it's trying to access something that doesn't exist

thick glacier
#

which is?

mint fable
#

the author needs to update the expansion for newer versions

#

Caused by: java.lang.NoSuchFieldError: PLAY_ONE_TICK

thick glacier
#

ohh okay!

#

newer versions of minecraft or newer versions of the plugin?

leaden kraken
#

newer versions of minecraft

mint fable
#

I don't even know why it needs the plugin...

#

the expansion uses no plugin api from playtime

#

lol what

thick glacier
#

it doesnt??

mint fable
#

no... but it still requires the plugin

#

it makes 0 sense

thick glacier
#

woah

leaden kraken
#

You could just use the Statistic expansion

mint fable
#

if it works*

thick glacier
#

Is it a possibility?

mint fable
#

try it

thick glacier
#

okay let me give it a row

#

/papi ecloud download statistic

#

correct?

mint fable
#

and reload

thick glacier
#

Okay i downloaded it and reloaded

mint fable
#

use the bot to see all the placeholders

#

you can click the numbers to change the page

thick glacier
#

I see, days played, hours played, minutes played, and seconds played

#

but i want them all to work in one

#

not just hour or minutes

leaden kraken
#

%statistic_time_played%

thick glacier
#

didnt see that one thank you

#

That did the trick!

#

Thank you!

austere hawk
#

Why my js placeholders don't work?

keen kestrel
#

does placeholderapi support bungeecord?

brisk coral
#

No

austere hawk
#

Hello?

#
[13:29:04 WARN]: [PlaceholderAPI] [JavaScript Expansion] Javascript placeholder: is_staff does not have a file specified
[13:29:04 WARN]: [PlaceholderAPI] [JavaScript Expansion] Javascript placeholder: health_rounded does not have a file specified
[13:29:04 WARN]: [PlaceholderAPI] [JavaScript Expansion] Javascript placeholder: staff_online does not have a file specified```Regenerated the config and the default once's don't work either
austere hawk
#

help

#

[11:39:36 WARN]: [AnimatedScoreboard] Plugin AnimatedScoreboard v0.1.9 generated an exception while executing task 58
java.lang.NoSuchMethodError: me.clip.placeholderapi.PlaceholderAPIPlugin.getUptime()Ljava/lang/String;
at com.extendedclip.papi.expansion.server.ServerExpansion.onRequest(ServerExpansion.java:130) ~[?:?]
at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:156) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:69) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:97) ~[?:?]
at me.jasperjh.animatedscoreboard.core.PlaceholderHandler.replacePlaceholders(PlaceholderHandler.java:19) ~[?:?]
at me.jasperjh.animatedscoreboard.objects.PlayerScoreboard.setLine(PlayerScoreboard.java:187) ~[?:?]
at me.jasperjh.animatedscoreboard.objects.PlayerScoreboard.update(PlayerScoreboard.java:74) ~[?:?]
at me.jasperjh.animatedscoreboard.objects.ScoreboardPlayer.tickScoreboards(ScoreboardPlayer.java:297) ~[?:?]
at me.jasperjh.animatedscoreboard.core.PlayerScoreboardHandler.lambda$init$1(PlayerScoreboardHandler.java:154) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.1.jar:git-Paper-136]
at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.16.1.jar:git-Paper-136]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.1.jar:git-Paper-136]
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,

turbid tide
#

@austere hawk can we see your javascript_placeholders.yml file?

#

the photos above don't work if you gave it in one of them

#

btw

austere hawk
#

I will send it once i reach home but it worked when i store every expression in a file

#

Yeah i need to use file: ''

austere hawk
#
rankup:
  file: rankup.js
  type: string
kd:
  file: kd.js
  type: string
gangleader:
  file: gangleader.js
  type: string
ganglevel:
  file: ganglevel.js
  type: string
gangname:
  file: gangname.js
  type: string
gangroles:
  file: gangroles.js
  type: string
rankprefix:
  file: rankprefix.js
  type: string
actionbarlastrank:
  file: actionbarlastrank.js
  type: string
holdingpick:
  expression: '"%checkitem_mat:DIAMOND_PICKAXE,inhand%".equalsIgnoreCase("yes")'
  type: boolean
  true_result: 'true'
  false_result: 'false'
#

Here

#

only the holdingpick is not working

#

Normal Placeholder of tokenenchat works fine but for some reason don't work in deluxe menus]

austere hawk
#

@turbid tide

tender vaporBOT
#

@austere hawk,

turbid tide
#

wait what?

#

that's papi ?

#

since when can you specify the expression directly in the javascript_placeholders file?

austere hawk
#

You could

#

idk why it's not working right now

turbid tide
#

Never knew that is a thing

austere hawk
turbid tide
#

and dk how that will even work?

#

does expression check if its true/false

austere hawk
#

yes

#

Ok now everything works

#

:)

cobalt oriole
#

Hi, does anyone know where the Server expansion gets the "server-name" placeholder from?

turbid tide
#

I think its from server.proprieties

warm topaz
#

no

#

its from papi config

cobalt oriole
#

I looked but server.properties doesn't have server name

#

ohhhh

#

ok thanks

turbid tide
#

I always thought its the motd from server.proprieties but on the other hand I never tested it xD

cobalt oriole
#

urm... but papi config doesn't have server name either

warm topaz
#

have u downloaded the expansion?

cobalt oriole
#

I always thought its the motd from server.proprieties but on the other hand I never tested it xD
I thought so but changing the motd doesn't work

#

Yes I did

warm topaz
#
  server:
    tps_color:
      high: '&a'
      low: '&c'
      medium: '&e'
    server_name: NAME```
#

u should have that in ur papi config

turbid tide
#

oh yeah true

#

I have it as well

cobalt oriole
#

Oh sorry lol i was looking in the wrong server

#

thanks yeah that worked

warm topaz
#

👍

wispy dove
#

Hey ! Is it possible to make the extension ScoreboardObjectives works for offline players with Leaderheads plugin ?

turbid tide
#

@steep thorn ? this

steep thorn
#

It's quite a difficult scenario

#

Might be better if he explains exactly what he's trying to achieve

#

As you guys might have better ideas

wispy dove
#

Ok I will explain you what I try to do

austere hawk
wispy dove
#

I have some teams of player on my server. And I want to do a sign for each team. In the menu of the team i want to displayed members of the team. So I use the placeholder scoreboardobjective. I create a scoreboard for the team, I set scoreboard of members of the team at 1. So in the menu of the sign, the are every member with the score of 1 but every other player with a score of 0 are displayed too. And I don't want that. I want that only member with a score of 1 are displayed.

To a player can be displayed in the menu of a sign, he have to be online at least one time after the sign has been set. But when I will create the sign for the team, every member of the team will not be online. I can set in the file of the statistics the menu-size to 5 for exemple if there is 5 players in the team. So with a score of 1, they will on be displayed. But like I said, he will not be connected at the moment of the creation of the sign. So to make my idea possible, I need that the placeholder is working for players offline.
Another thing, a member of the support of this discord made me a modification of the extension scoreboardobjective to make it works with scoreboard which have [] in their name. You can dl it here : https://drive.google.com/file/d/1Jy6UZ4e8Q3XcZFZEm_VTJVK2wQ-9T2BN/view?usp=sharing

Maybe have you another idea to make what I want possible ?
Sorry for my English, I'm French ^^

#

Oh I didn't see that Robin was here. I was talking int private with him before I talked here ^^

fluid sentinel
#

Hello?

#

I want to display the players in three worlds all in one display how can i do that?

wet basinBOT
turbid tide
#

@fluid sentinel

#

or you can use the playerlist one which I think its a lot better

#

this one ^

fluid sentinel
#

Can you give me example of the playerlist one

turbid tide
#

hmm there was a link to a wiki

#

1 sec

fluid sentinel
#

Aighttt

fluid sentinel
#

Thankss for the helpp 😉

blissful hatch
#

@trim mist plz updateskript and multieconomy api asap

tender vaporBOT
#

@blissful hatch,

#

@blissful hatch,

#

@blissful hatch,

rare lily
#

@blissful hatch you're kinda asking for trouble instead

austere hawk
#

any1 know why this happens

balmy marten
#

If you only just downloaded PlaceholderAPI, I suggest redownloading it

austere hawk
#

i have 6 times already

#

it just keeps doing that and I have the latest version

mental night
#

@austere hawk what spigot version you running?

austere hawk
#

Paper 1.8.8

mental night
#

ah nvm

austere hawk
#

Yeah just need to figure this out so I can do all my placeholders for my lobby

mental night
#

do you have anything in #expansions

austere hawk
#

Like the folder?

mental night
#

yeah

austere hawk
#

Yeah all the expansions that downloaded but it won’t let me reload it and sends that error

mint fable
#

remove them

#

test it

#

if it works, add them back 1 by 1

mental night
#

Your hosting might not support ecloud

austere hawk
#

It’s worked before though

#

On the same host

#

I’ve tried removing them

mental night
#

mhm

austere hawk
#

And doing it 1 by 1

#

Still same error

mental night
#

without anything does it have an error?

austere hawk
#

No error

#

When nothing

mental night
#

any custom placeholders / hooks into placeholderapi

mint fable
#

and what happens when you add them back 1 by 1?

austere hawk
#

It says the same error

mint fable
#

Did you find one that starts throwing the error?

austere hawk
#

And no custom placeholders

mint fable
#

it stays the same error the entire time?

austere hawk
#

Yes every time I try to reload, one time it worked but then trying to add another one it said the error

mint fable
#

which one...?

#

that could be the issue

austere hawk
#

I did Player

#

Then Vault

#

Then Bungee

mint fable
#

and the error started with bungee?

austere hawk
#

With Vault

mint fable
#

and if you remove vault and have everything else?

mental night
#

try download the previous version

austere hawk
#

And then from there it did the same

mint fable
#

well duh...

#

ofc it's gonna throw the same error if the vault expansion is causing it and you still have the vault expansion

austere hawk
#

But I didn’t

#

I removed it

#

Then tried again

mental night
#

download the vault expansion from the ecloud website

austere hawk
#

I tried that too

mint fable
#

So if you try Player then bungee what happens

austere hawk
#

Same error

#

Sometimes Player does not work as well

mental night
#

Have you reset the config?

austere hawk
#

I’ve tried using previous versions

#

Yes

mint fable
#

?startuplog

tender vaporBOT
mint fable
#

send that over

#

with the error

austere hawk
#

Alright lemme get on my PC rq

#

Do I just send the file?

mental night
#

=paste

tender vaporBOT
austere hawk
#

=paste

tender vaporBOT
mint fable
#

Please copy the contents and paste them to a paste service.

#

?paste

tender vaporBOT
austere hawk
#

Did that work?

mint fable
#

can you send a picture of your expansions folder

mental night
#

imgur

austere hawk
#

Alr

#

One sec

mental night
#

vault expansion is around 16kb

austere hawk
#

mhm so what do I do?

mint fable
#

download it manually

mental night
#

Directly download it

mint fable
#

I recommend doing that for all of them

austere hawk
#

Okay I will try it out

#

It seems as the Bungee and Player placeholder has worked installing it maunally

#

But Vault didn't seem to be detected

mint fable
#

what vault do you use

mental night
#

version wise

mint fable
#

I think you might need an older expansion version

austere hawk
#

There’s different kinds?

#

Oh

#

I have latest

mental night
#

1.7.3 is the latest

austere hawk
#

I am pretty sure that is latest if I’m not wrong

mental night
#

use version 1.5.9

#

/papi ecloud download Vault 1.5.9

mint fable
#

well that doesn't exist

#

so

austere hawk
#

Okay

#

So what do I have to do

mental night
#

oh it doesnt?

austere hawk
#

Should I try putting a lower vault version?

mental night
#

oh thought it went down to 1.5.9 so just do 1.5.2 inside

austere hawk
#

Wait to make sure, Do I have to change my Vault Version?

mental night
#

no just the ecloud expansion

austere hawk
#

So 1.5.2?

mental night
#

yep

austere hawk
#

I tried, still did not detect it

#

I don't know what is happening

sinful plume
#

placeholder for the group prefix of nametagedit?

grand flicker
#

how to run a javascript placeholder using command block?

fluid sentinel
#

Wdym erwan?

heady falcon
#

you need to to t oto tot

blissful hatch
#
[20:56:21] [Server thread/WARN]: [PlaceholderAPI] Loaded class ch.njol.skript.Skript from Skript v2.5-alpha6(rev1) which is not a depend, softdepend or loadbefore of this plugin.
[20:56:21] [Server thread/WARN]: [PlaceholderAPI] skript is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
#

well..

#

how to solve it

#

all the plugin is the latest version

cobalt oriole
#

Hello! I need help with the Server expansion. For some reason I have the expansion installed, but it doesn't parse %server_name%. Can anyone help me?

turbid tide
#

does it parse other server placeholders?

cobalt oriole
#

no

#

but when i do /papi ecloud list installed, it says Server is installed

turbid tide
#

and when you do /papi reload it says its loaded?

cobalt oriole
#

I've done /papi ecloud download Server about a million times and tried to reload it but it doesn't work

#

yeah

turbid tide
#

ok so here is one possible fix

cobalt oriole
#

The config also has "Server" on it as well

turbid tide
#

go to plugins/PlaceholderAPI/expansions delete the current server one then go to the ecloud and manually download the server expansion and add it back to the same folder and do /papi reload

cobalt oriole
#

ok i'll give that a try

turbid tide
#

1 sec I'll get a link to the ecloud

cobalt oriole
#

that worked, thank you!

turbid tide
#

no problem

ashen crystal
#

I need an answer, I've got the plugin "Infinite Scoreboard" on my server and it says it needs PlaceholderAPI as a dependency but the docs for both plugins don't show the placeholders that I need to use with this plugin so its not working, what do I do?

turbid tide
#

ugh dependency means just the plugin installed

#

I think

ashen crystal
#

I have got it installed, but PlaceholderAPI changes the placeholders so it doesn't work the same

thick glacier
#

Is it possible to build a placeholder for a plugin that currently doesnt have one? In this case gold-bank?

warm topaz
#

if u have java knowledge then yes u can create an expansion for placeholderapi

blissful hatch
#
[20:56:21] [Server thread/WARN]: [PlaceholderAPI] skript is attempting to register placeholders via a PlaceholderHook class which is no longer supported!```
well..
how to solve it
all the plugin is the latest version
untold canopy
#

Does anyone know if there is a placeholder expansion that converts a boolean (as a result of another placeholder) into a symbol that I designate?

junior musk
#

the Javascript expansion

untold canopy
#

Thanks 😄

blissful hatch
#
[20:56:21] [Server thread/WARN]: [PlaceholderAPI] skript is attempting to register placeholders via a PlaceholderHook class which is no longer supported!```
well..
how to solve it
all the plugin is the latest version

@blissful hatch
hello?anyone help?

grand flicker
#

Can I run a javascript placeholder using command without a player as a target?

brisk coral
#

Yes

deep matrix
#

stupid question but I have this %gradient_message_#00FF87_#60EFFF_(need help here)% how do I add a string there? {, %, whta else

turbid tide
#

%gradient_message_{#hex1}_{#hex2}_messages% I think this is how you do it

#

with {} and #

fluid sentinel
#

how can i put a health bar under my name

turbid tide
#

you can either use default scoreboards or I know these 2 plugins that have that functionality: TAB and DeluxeCombat

deep matrix
#

%gradient_message_{#hex1}_{#hex2}_messages% I think this is how you do it
yeah the underscores became italics in my mssage, but just putting the string where you put messages didnt work

turbid tide
#

but you also didn't use {} for hex

#

%gradient_message_{#00FF87}_{#60EFFF}_(need help here)%

deep matrix
#

ill try thx but that was the format i used in my chat formatting plugin

#

yeah it didnt work

#

im trying to use it in essentials /info, could that be the issue?

brisk coral
#

The chat formatting plugin needs to support it

deep matrix
#

im a little unclear about something

turbid tide
#

I mean doesn't Ess support hex now?

deep matrix
#

when you install an expansion does that mean any plugin with papi support supports those placeholders