#placeholder-api

1 messages ยท Page 163 of 1

knotty parrot
#

Yes my issue is with reload though.

#

Restarting works fine but its reloading which i want it to work with

turbid tide
#

wait your plugin reloading?

#

or papi reloading?

junior musk
#

I only know about that expansion

knotty parrot
#

papi reloading and plugin reloading does not update the placeholder

#

only restarting works

#

^^^^

eager swallow
#

hello!

#

can someone help me with a javascript placeholder? cause i'm not sure how to do it

#

in want to make a placeholders that display the player world

junior musk
#

there's already a %player_world% placeholder within the Player expansion

#

no need for Javascript

knotty parrot
#

So i think i found the issue but not entirely

#

Anything inside the request method gets sent

#

but the hashmap doesnt update

#

but it does through other classes

#

the message also prints inaccurate information

junior musk
#

might be because of the static method

knotty parrot
#

its not static

junior musk
#

the getInstance

knotty parrot
#

oh

#

Ill try fix that

junior musk
#

maybe try to put instance within the constructor?

turbid tide
#

yes. that's called dependency injection sad_fingerguns

spice kayak
#

is there a version available for 1.17?

warm topaz
#

?papi-builds

tender vaporBOT
eager swallow
#

that creates a world per player

#

with format "pw_playeruuid"

scarlet valve
#

Noone pls?

eager swallow
#

and i want to create a placeholder if a player is in a world that contains "pw"

#

return "PlayerWorld" or something

turbid tide
#
var world = "%player_world%";

function isPlayerWorld() {
  return world.indexOf("pw_") != 0 ? world : "Player World";
}

isPlayerWorld();```
vivid sparrow
#

you forgot a quote @turbid tide

turbid tide
#

yeah I Was looking for what I Forgot xD

#

@eager swallow ^^^

#

that should do the trick

#

oh wait

#

fixed

knotty parrot
#

I changed it from static instance to normal constructor and still fails to update

#

through the placeholder

eager swallow
turbid tide
#

๐Ÿ‘

eager swallow
#

also it's possible to add in same placeholder, if the player is in any other world than "pw_" to show "Spawn" ?

vivid sparrow
#

at 4th line replace ? world with ? "Spawn"

eager swallow
#

thanks โค๏ธ

knotty parrot
#

Anybody able to help me?

#

pretty annoying that this doesnt work

blazing inlet
turbid tide
#

yeah. papi doesn't have hex support yet

#

your plugin will have to translate it

#

like the one you're using it in

blazing inlet
#

in java script from 1.16 it works

#

I have all the scripts and it always works fine

turbid tide
#

oh

blazing inlet
#

oh

#

I just spoke to the administrator of my server and she told me that /parse never worked. hahaha

#

sorry uwu

#

Congratulations! works like a charm!

turbid tide
#

๐Ÿ‘

austere hawk
#

how i can print placeholder of onlineplayers with more then 1 server? like bungee_survival+survival2+survival3% ??

knotty parrot
#

Found my issue. Apparently an issue with spigot or placeholderapi

silver belfry
#

Good job on the JS expansion, it now works for me

#

๐Ÿ‘

turbid tide
#

%math_0_{bungee_survival}+{bungee_survial2}+{bungee_survival3}%

austere hawk
#

math for some reason not working for me in 1.17

turbid tide
#

it should work just fine. idk

#

your other chance is javascript

night pewter
#

Hello there, how far is the update for 1.17? ^-^

tender vaporBOT
steep talon
#

Plugins that dont require a download or are coded into those plugins themselves, shouldnt they just automatically work? Or do i still need to run a command? Im using the latest devbuild of placeholder and 1.17 plugins ty

plush kernel
#

Hello, I need someone to help who knows the tab, well, I create bedwars mode and I do not know how to do it so that next to the rank, the team in which you are.

karmic wave
#

Hi i have a question. Does anybody know if there is a placeholder which pick up the name from the server from the bungeecord.

mental hearth
#

Does the javascript expansion not work for 1.17?

warm topaz
mental hearth
#

Youre a saviour

#

Updated from 1.16 to 1.17 with a bunch of javascript placeholders, simply installed the jar from the chat and it worked perfectly, chat is just as it was before. (Just some feedback, thank you so much for this)

trim mist
#

Thanks for letting us know!

meager vault
#

I personnally used a custom javascript version of @junior musk , worked fine for both java 11/java 16/graalvm ! ๐Ÿ˜„

#

I'll soon try to switch on your latest dev build of javascript to confirm you it works without issues

Edit : it works perfectly ๐Ÿ™‚
(tried on graalvm 21.1.0 java 16)

mental hearth
#

I was wondering where the statistic expantion for placeholderAPI is storing its data

#

i need to transfer the %statistic_time_played% from one server to another for the 1.17 update

warm topaz
#

its all stored within the world folder

mental hearth
#

I have transfered the playerdata folder over, i have the inventory but not the hours

#

Ah, im guessing its the stats folder

#

thanks!

static solar
#

Server thread/ERROR Could not load 'plugins/EssentialsX-2.19.0-dev+194-6535edf.jar' in folder 'plugins'
Is there something more I am suppose to add besides the .jar file for the dev build?

tender vaporBOT
#
FAQ Answer:

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

turbid tide
#

send the entire thing @static solar ^^^^

static solar
#

?paste

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
โ€ข HelpChat Paste - How To Use

static solar
turbid tide
#

ugh that's strange. Essentials doesn't even show up in these logs

#

not even as failing to load

#

are you 100% sure you have it in the plugins folder?

#

and not somewhere else?

#

by accident maybe

#

or maybe u deleted it after?

static solar
#

oh sorry i think i removed it let me try it again

turbid tide
#

alr

#

add it, restart and if its still not working send that log

#

instead

static solar
#

sorry about that i have airhead today

turbid tide
#

no worries

static solar
#

well it seems to have loaded this time, no idea why but i will test it out. thanks

turbid tide
#

๐Ÿ‘

grand ocean
#

hi, I am using a placeholder from a plugin but it does not seem to work. The devs of the plugin said that it is because the world name has an underscore, so is there a way I can replace the underscore with an escape character or something?
Syntax for the placeholder: %bloodmoon-advanced_days_left_<world>%
My implementation of it: %bloodmoon-advanced_days_left_pangea_world%

ideally it would be like %bloodmoon-advanced_days_left_pangea%underline%world% or smtn but idk if thats possible

#

other solution is to change the world name

#

as it works with single word worlds

turbid tide
#

ugh

#

what?

#

placeholderapi only splits by the first _

#

the developer of the plugin has multiple choices there. split by the first 3 _ or add escaping themselves with regex or something

#

PAPI gives them this: days_left_pangea_world-name

grand ocean
#

yeah tried with a - in %bloodmoon-advanced_days_left_pangea-world% but no bueno

turbid tide
#

that won't work

#

its up to the plugin developer

#

to make the worlds with _ world

#

work*

#

I really don't know what they want us to do

#

they're getting the raw input days_left_pangea_worldname

#

its up to the how they use it

grand ocean
#

feck

#

thanks tho

cold temple
#

What does the %server_name% placeholder return? Where can I change it

#

I thought it was the motd as it says "A minecraft server" but it isn't motd as I changed it and it is still returning that

#

(using bungee)

turbid tide
cold temple
#

Hm changed it there and restarted but it is still doing it

#

nvm it was because I missed quotation marks! Thanks blitz โค๏ธ

turbid tide
#

๐Ÿ‘

spice kayak
#

The settings that I had in the Placeholder API javascrip section do not work for me when I updated to version 1.17, do you need the javascip expansion?

static solar
crimson cove
#

Hey funnycube, it turns out, for whatever reason, when PAPI is reloaded the expansion isn't registered anymore? Is there a way for me to solve it, except for having to register it upon every startup?

tender vaporBOT
#
Hey!

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

crimson cove
#

My bad, didn't mean to ping

balmy marten
turbid tide
turbid tide
#

can you send us A FULL startup log please?

tender vaporBOT
#
FAQ Answer:

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

obsidian crescent
#

Hey, I'm tryna use the statistic placeholder in a command, however it is not actually showing it

#

i'm using discordsrv, just trying a broadcast command,
discord bcast #859715140835344394 mobs killed %statistic_mob_kills% , i have the expansion available

#

so i'm not sure

turbid tide
obsidian crescent
#

no, let me try it

#

o need to get into the server

#

one sec

#

it says 0, but im certain there is some that has happened

#

just typing out the placeholder in the chat, it becomes blank

turbid tide
#

if the placeholder works in the /papi parse command it 100% works

obsidian crescent
#

i tried something else, total seconds i've played, and yeah, that works, shows 9179 seconds

turbid tide
#

hmm

obsidian crescent
#

but on an external plugin, i do have placeholderapi compatibility installed, other placeholders do work but not this specific one thonking

turbid tide
#

try killing a few mobs and then parsing it with /papi parse me

#

and see if it actually counts

obsidian crescent
#

alr, one sec

#

to clarify, papi parse me is like tellraw right?

turbid tide
#

not really. its just a command that takes in a string

#

you put after me

#

parses the placeholders

#

and colors

#

and gives it back

obsidian crescent
#

i see

turbid tide
#

its basically for testing if placeholders work or not. you can also test what they return as well

#

so yeah

obsidian crescent
#

yeah, that placeholder doesn't work, i just killed a llama and it isn't updated

#

other placeholders do work with no issues, don't know what's the problem sad_fingerguns

turbid tide
#

what's your server version?

obsidian crescent
#

1.17, pretty sure that might the reason

turbid tide
#

it might bew

#

can you make sure you have the latest version of the expansion? do /papi ecloud download Statistic then /papi reload

#

and see if it works after

obsidian crescent
#

sure, i'm sure it's on latest, i'll manually upload the JAR to avoid any possible fails in download

turbid tide
#

you could do /papi info statistic I think

#

to see the loaded version as well

obsidian crescent
#

yep, it's showing registered, version 2.0, which is latest afaik

turbid tide
#

yeah it is

obsidian crescent
#

when i use the server expansion, it works perfectly fine

turbid tide
#

can you restart the server and send the latest startup log?

tender vaporBOT
#
FAQ Answer:

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

obsidian crescent
#

hmm alr

turbid tide
obsidian crescent
#

?paste

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
โ€ข HelpChat Paste - How To Use

obsidian crescent
turbid tide
#

u sure the server expansion works? XD

#

bcz it has a nasty error in the console lmao

obsidian crescent
#

yes lol, i need to send image here to show you

tender vaporBOT
#
FAQ Answer:

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

turbid tide
#

^^^ if u wanna send images

obsidian crescent
#

mmm ok

turbid tide
#

oh also

#

1 more thing

#

/papi dump

#

send that as well

obsidian crescent
turbid tide
#

have you tried other statistics btw?

#

like player kills, deaths, time played etc

obsidian crescent
#

yeah i've tried those they give same results..

turbid tide
#

can you go in plugins/PlaceholderAPI/expansions and delete the manually installed expansion, install it with /papi ecloud download

#

then do /papi reload

#

and then see if it works

obsidian crescent
#

alr

turbid tide
#

btw. gtg. be back in like 5-10 minutes

#

maybe less

obsidian crescent
#

alr np

#

Downloaded it using ecloud, everything seems to be good, did /papi reload, then tried to broadcast the cmd, it just returns a blank state.

that error while enabling papi on 1.17 is nasty though, you were right. it might be a reason?
Edit - i also just realised there's a shit ton alternatives for it

#

Welp, might as well consider waiting on something else so i can make a hologram that has live updating stats of players ( which is what i wanted to do )

pale jay
#

Hey, does papi work in 1.17?

warm topaz
#

?papi-builds

tender vaporBOT
deft nebula
#

Hello, does a "per-world" death count placeholder exists?

#

I can't find it

turbid tide
#

nope. well not in the default PAPI expansions. Maybe there are plugins out there but I don't know any

#

minecraft records all the statistics in one place. Or at least spigot does

#

in the main world

deft nebula
#

Okay ty :/

frigid grail
#

Hi there, so i am trying to make a scoreboard and i cant seem to find placeholders for Kills or deaths a player has. Also do you know how i can add a rank to it if im using poweranks V2 since they changed placeholders

errant iron
#

You probably want the Statistic expansion

#

%statistic_player_kills%

#

%statistic_deaths%

frigid grail
#

is there a way for it to show mob kills not player kills?

#

also %powerranks_prefix% works but not %powerranks_rank%

errant iron
#

I have no idea what placeholders powerranks provides

spice kayak
tender vaporBOT
#
Hey!

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

junior musk
deft nebula
#

Ok ty!

turbid tide
#

tangu||y|| always here to save the day xD

twin prawn
#

has PAPI updated for 1.17 yet? if so where is the jar as i can't see it on spigot

tender vaporBOT
turbid tide
#

here @twin prawn ^^^^

twin prawn
#

are they stable?

pseudo pewter
#

When using the Data script for Javascript expansion, it doesn't save data to the file, and it clears the placeholders on reload. Anyone have a fix?

thorn thunder
#

Link to the script please?

thorn thunder
#

Alright

thorn thunder
pseudo pewter
thorn thunder
#

Alright, ill have a look and keep you updated on the fix ๐Ÿ‘

pseudo pewter
#

Great, thanks ๐Ÿ™‚

austere hawk
#

Hey! How can I pull placeholders from a server to another?

#

Like, say for example, you're in the lobby, you open a server selector gui, and you want it to parse your rank from for example, a skywars server

thorn thunder
pseudo pewter
#

Sorry, it doesn't work

thorn thunder
#

Alright, ill get back to you in a bit

sharp jay
#

@austere hawk are ranks not global? if they are you can use luckperms

austere hawk
#

Naw I'm just giving an example

austere hawk
#

I found a plugin, but it hasn't been updated in 3 years and the name is 'deleted'

sharp jay
#

ya sadly not you would need another plugin

austere hawk
#

Which one can I use?

sharp jay
#

Its made by one of my friends who has quit

austere hawk
#

any other alternatives?

sharp jay
#

no idea sorry

turbid tide
#

not really. there aren't any popular ones at least

thorn thunder
pseudo pewter
#

It appears to work! Thank you for spending your day on this ๐Ÿ™‚

thorn thunder
#

๐Ÿ’ฏ

tepid birch
#

I'm using the newest experimental Javascript expansion, and I've found that string comparisons have changed somewhat
My script:

function pvpToggle() {
    if("%pvptoggle_pvp_state%"=="&aOff") {
        return "Off";
    } else {
        return "On";
    }
}
pvpToggle()

It would work before, but now it always returns "On" because the statement "%pvptoggle_pvp_state%"=="&aOff" returns false. Any ideas why this may be? I'm using PAPI version 2.10.10-DEV-null on MC 1.17, Paper build 71
The placeholder I'm comparing will either return "On" in &c red, or "Off" in &a green. This could possibly be a MC 1.17 thing, because I haven't tried this on MC 1.16 yet

errant iron
#

definitely try ===

#

but also it might be color code parsing stuff

tepid birch
#

tried === too, to no avail

thorn thunder
#

Try .equals like you were using earlier

#

if quickjs works for you and you want to use it, its available in the config to be enabled

#

== would work with that

tepid birch
#

I'll try that soon, thanks

wooden shuttle
plain pivot
#

n

#

ok

#

vds

#

vd

#

dasvsd

#

vsd

#

!level

balmy marten
plain pivot
#

ok

#

can someone decipher this crash report from my server?

tender vaporBOT
#

It appears you didn't link to a crash report?

plain pivot
#

Cuz it will be auto deleted

#

right?

balmy marten
#

no

plain pivot
carmine veldt
#

YOU'RE USING A PENTIUM

plain pivot
#

Yeah Its a PC ive had for a while before I built my own

#

have u figured out what was wrong?

carmine veldt
#

no I've got no clue sorry

vivid sparrow
#

Are you using 2GB for 1.17?

eternal jackal
#

๐Ÿ˜ฉ

carmine veldt
#

tf is that link

eternal jackal
celest osprey
#

hi so what is the placeholder for tps?

turbid tide
turbid tide
tender vaporBOT
#
FAQ Answer:

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

vapid basin
#

how can i download papi for 1.17?

tender vaporBOT
turbid tide
vapid basin
#

oh god

#

thanks

#

barry is very nice bot

tender vaporBOT
#
Hey!

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

eternal jackal
#

sorry

silver minnow
tepid birch
#

that's Featherboard, they use {placeholder} below version 5.0 because it uses MVdWPlaceholderAPI

turbid tide
tepid birch
#

for PAPI placeholders you do, yes

turbid tide
#

also I thought featherboard switched to PAPI now

tepid birch
#

they have, but only on 5.0.0 beta (and above) which isn't for production

turbid tide
#

Ic. so you're on 4.30.0?

tepid birch
#

I'm not OP, I don't need help- bladeRR1 does

turbid tide
#

oh lmao xD

#

my bad

tepid birch
#

no worries

turbid tide
#

yeah he's on beta

#

so he should be using PAPI placeholders

#

@eternal jackal ^^^ use the PlaceholerAPI placeholders instead of the mvdw ones

tepid birch
#

that doesn't explain why his chat placeholders aren't working too, unless he isn't using the latest dev build for PAPI

turbid tide
#

he is on 2.10.6 yeah

#

and also might be that the chat plugin he uses doesn't support PAPI?

eternal jackal
#

Ok, thank you very much I will try to do my best haha ๐Ÿ™‚

turbid tide
#

what chat plugin are you using blade?

eternal jackal
#

I was using delux Chat, but it wasn't working, so I started using Ezchat and it seems to be working fine

tepid birch
#

@eternal jackal you're on 1.16- downgrade your Featherboard to 4.30.0

turbid tide
#

oh does the 5.0.0 version only support 1.17 now?

tepid birch
#

I believe it supports versions below, but there is not point using it below MC 1.17 as it's still experimental

#

plus, it changed how it works with MVdWPAPI and PAPI

tepid birch
#

what I ended up doing is forking the PvPToggle plugin and making the placeholder not return a coloured value, which makes the javascript comparisons work (in fact, I no longer need the JS script I made because the placeholder is now colourless anyway)

#

it looks like string comparisons only don't work when there is colour involved

turbid tide
#

and I think I might know why

#

I think you have to use the other symbol instead of &

#

whatever its called

#

I Forgot

tepid birch
#

section symbol

turbid tide
#

that one yeah

tepid birch
#

ยง

#

that could be why

#

it's too late for me to check now

silver belfry
#

can't find a scoreboard plugin for 1.17 that works with placeholderapi

turbid tide
#

KiteBoard fingerguns

#

but its paid

silver minnow
#

Titlemanager fingerguns

frozen cargo
#

hey

#

i have error on 1.17

errant iron
#

looks like you're using the old Server expansion

frozen cargo
#

need download expansion from cloud?

errant iron
#

yes

ember summit
#

Can someone tell me why my jobs reborn placeholders don't work?

#

I am on paper spigot 1.17 , dev version of placeholderAPI

#

i am using the jobs placeholders in a gui-menu with DeluxeMenus 1.13.4DEV

#

there's no error in console when i do /papi reload or /dm reload

trim mist
#

It's possible they made API changes and broke it, but, if it shows up in /papi list then idk.

solar scroll
#

Hello, i have this error in my console when i send /papi reload

#
[21:03:31 WARN]: [PlaceholderAPI] Task #84 for PlaceholderAPI v2.10.9 generated an exception
java.lang.NullPointerException: null
at com.extendedclip.papi.expansion.ezrp.EZRPExpansion.register(EZRPExpansion.java:44) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:139) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_282]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) ~[?:1.8.0_282]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_282]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_282]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_282]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_282]
at java.util.stream.LongPipeline.reduce(LongPipeline.java:461) ~[?:1.8.0_282]
at java.util.stream.LongPipeline.sum(LongPipeline.java:419) ~[?:1.8.0_282]
at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:593) ~[?:1.8.0_282]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$2(LocalExpansionManager.java:288) ~[?:?]
at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:63) ~[patched_1.12.2.jar:git-Paper-1595]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:423) ~[patched_1.12.2.jar:git-Paper-1595]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:840) ~[patched_1.12.2.jar:git-Paper-1595]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1595]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[patched_1.12.2.jar:git-Paper-1595]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[patched_1.12.2.jar:git-Paper-1595]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
#

I added EZRankPro

#

With this command : /papi ecloud download EZRanksPro

turbid tide
#

you don't need the ecloud expansion

#

delete it

hollow pollen
#

I update my version from java to java 16 and since then I am having problems with the javascript expansion constantly giving me the error the following error, could someone help me?
Failed to set ScriptEngine for javascript placeholder: example

errant iron
#

Did you download the latest JS expansion?

turbid tide
hollow pollen
#

oh sorry, I saw my mistake, I had forgotten to delete the old expansion, so I imagine it was loading instead of the new one, thank you very much!

hardy axle
#

Can somone help with placeholder api vault? shopgui giving error
for placeholder api vault error

#

[20:04:33 INFO]: [ShopGUIPlus] ================================[ ShopGUI+ 1.59.1 ]================================
[20:04:33 INFO]: [ShopGUIPlus]
[20:04:33 WARN]: [ShopGUIPlus] Failed to register VAULT economy.
[20:04:33 WARN]: net.brcdev.shopgui.exception.economy.EconomyProviderLoadException: Error occurred when loading economy provider
[20:04:33 WARN]: at net.brcdev.shopgui.economy.EconomyManager.loadEconomyProvider(EconomyManager.java:151)
[20:04:33 WARN]: at net.brcdev.shopgui.economy.EconomyManager.registerDefaultProviders(EconomyManager.java:64)
[20:04:33 WARN]: at net.brcdev.shopgui.economy.EconomyManager.setup(EconomyManager.java:50)
[20:04:33 WARN]: at net.brcdev.shopgui.ShopGuiPlugin.loadAfterServerLoaded(ShopGuiPlugin.java:206)
[20:04:33 WARN]: at net.brcdev.shopgui.task.LoadShopsTask.run(LoadShopsTask.java:26)
[20:04:33 WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
[20:04:33 WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350)
[20:04:33 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723)
[20:04:33 WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
[20:04:33 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
[20:04:33 WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
[20:04:33 WARN]: at java.lang.Thread.run(Thread.java:748)
[20:04:33 WARN]: [ShopGUIPlus] No supported economy plugins found, disabling the plugin.
[20:04:33 INFO]: [ShopGUIPlus] Disabling ShopGUIPlus v1.59.1

errant iron
#

looks like you don't have an economy provider

hardy axle
#

wdym?

errant iron
#

do you have vault and a plugin that provides an economy?

hardy axle
#

vault

errant iron
#

like essentials or something

hardy axle
#

i have essentials x

errant iron
#

and vault?

hardy axle
#

plugin?

#

i have expension

errant iron
#

yes the plugin called vault

hardy axle
#

vault

#

wtf?

errant iron
#

you need the plguin

hardy axle
#

im idiot?

#

Can u send me link?

#

I cant find

errant iron
#

=pl Vault

#

taht's not it

hardy axle
#

1.13?

#

dont have 1.8?

errant iron
#

probably need 1.6.7

#

also consider not using a minecraft version 6 years old

hardy axle
#

OMG

#

i fixed

#

like im idiot

#

i missed fckng vault plugin

errant iron
#

mhmm

hardy axle
#

๐Ÿ˜„

#

thanks

tender vaporBOT
#
Vault - Version List
Spigot:

1.8.8
1.12.2
1.13.2
1.14.4
1.15.2
1.16.5
1.17

Version:

v1.6.7
v1.6.7
v1.7.3 - Latest
v1.7.3 -Latest
v1.7.3 - Latest
v1.7.3 - Latest
v1.7.3 - Latest

wooden shuttle
#

actually changed back to paper and it's still doing it

errant iron
#

Do you have the 1.17 Server expansion?

#

like the latest version

wooden shuttle
#

wut?

errant iron
#

wdym wut

#

do you have the latest version of the Server expansion

wooden shuttle
errant iron
#

at com.extendedclip.papi.expansion.server.ServerExpansion.onRequest(ServerExpansion.java:190) ~[?:?]

#

It's calling the Server expansion

#

PAPI by itself does nothing

wooden shuttle
#

ah, yes.. forgot to update the expantions .... yet again... :/

#

thanks

turbid tide
#

update the player expansion by doing /papi ecloud download Player then /papi reload

austere hawk
#

@turbid tide Thanks you :3

tardy yarrow
#

why cant papi parse %kitpvp_stats_kills%? it parses everything else fine and the plugin dev said theres no problem ,it works with holograms too

vivid sparrow
#

They gotta have an answer since is their code.

turbid tide
rugged shard
#

Hi, how i can register placeholder hook? I am asking because class EZPlaceholderHook does not exist.

turbid tide
rugged shard
#

@turbid tide In my plugin

#

As a hook

rugged shard
turbid tide
#

yeah it is. the wiki link I sent you is the most updated one

#

says at the top btw

#

on the link you said

rugged shard
#

Yes, i see them, the github wiki

tardy yarrow
tender vaporBOT
#
Hey!

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

tardy yarrow
#

its weird

turbid tide
#

ah then it sounds like an issue with the plugin

#

if other placeholders work

karmic plover
#

Any help why I'm getting this error? thanks a lot !!

[Wed, 7. Jul 2021 14:18:49 UTC ERROR] failed to download Essentials:1.4.0```
thorn thunder
#

Looks like no permission to create the file

karmic plover
#

How can i fix it?ยฟ

#

with chmod 777 -R <directory>?

daring glade
#

Does this plugin work with 1.17? I saw the 1_17 channel but it seems like that focusses on a differnt plugin called Javascript Expansion Update or something.

karmic plover
#

it does

junior musk
#

Javascript Expansion is an Expansion for PlaceholderAPI (like an addon) which adds placeholders to the plugin

daring glade
junior musk
#

actually, seems like they removed the 1.17 PAPI version from there

trim mist
#

Correct because we pushed dev builds for it to the CI.

junior musk
#

fak

#

too late ;-;

turbid tide
#

?papi-builds smh

daring glade
#

so thats the latest build that works with 1.17?

junior musk
#

yeah

junior musk
#

didn't know this one existed as well

turbid tide
#

yeah. created that one as well

daring glade
#

Alright thanks! I'll try it out.

gleaming quest
#

When will they release the Papi vrsion onto spigot. I keep forgetting that the spigot site isn't updated.

turbid tide
#

we don't know yet. waiting for clip

kindred oyster
#

this issue persists with 1.17.1

#

any ideas?

thorn thunder
#

Are you on the latest PAPI build?

kindred oyster
thorn thunder
#

There isnt one there

#

Its available here

#

?papi-builds

tender vaporBOT
velvet tinsel
#

[PAPI] [Javascript-Expansion] Failed to set ScriptEngine for javascript placeholder:

#

what could I do?

thorn thunder
velvet tinsel
#

but I use 1.16

#

oh nvm

thorn thunder
#

Minecraft version doesnt matter

#

Its the Java version thats the issue

#

I assume you're on Java 16

velvet tinsel
#

yep

#

thanks

thorn thunder
#

๐Ÿ‘

kindred oyster
thorn thunder
#

Any stacktraces in console?

#

if not this is likely an issue with the plugin itself rather than papi

turbid tide
#

have you tried parsing the placeholders using /papi parse?

pseudo condor
#

Does placeholder api have an update for 1.17?

trim mist
#

Look up maybe 10 lines.

halcyon wedge
#

is there placeholder api for 1.17.1 yet?

#

oh wait nvm

tender vaporBOT
turbid tide
#

xD

halcyon wedge
#

oh ok

#

lol

zinc galleon
#

my place holder api isn't working

#

can someone help please

#

i did /papi ecloud download players

#

but it still not showing the online players

#

i am using holographic display

errant iron
#

do you have HolographicExtension?

zinc galleon
#

mm no

errant iron
#

you need that

zinc galleon
#

is it a plugin ?

errant iron
#

yes

zinc galleon
#

ohh thanks

#

then i can display any placeholder i want right ?

errant iron
#

yep

#

holographic displays itself doesn't work with PAPI

#

so that's why you need holographic extension

zinc galleon
#

ohh thanks it helped me a lot

#

star, that plugin only supports in mc version 1.8-1.5

#

but i am using 1.16

#

anything else i can do ?

errant iron
#

pretty sure it works with 1.16

#

know it doesn't work with 1.17

zinc galleon
#

in spigot it says "tested minecraft versions 1.8-1.15"

errant iron
#

yeah just try it

zinc galleon
#

okay

errant iron
#

it's worked for most people

zinc galleon
#

Omg it worked thanks a lot star

abstract nacelle
#

[01:11:09] [Thread-45/WARN]: [PlaceholderAPI] failed to download expansion information java.util.concurrent.CompletionException: java.lang.NullPointerException at java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source) ~[?:1.8.0_281] at java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source) ~[?:1.8.0_281] at java.util.concurrent.CompletableFuture.uniApply(Unknown Source) ~[?:1.8.0_281] at java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source) ~[?:1.8.0_281] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_281] at java.lang.Thread.run(Unknown Source) [?:1.8.0_281] Caused by: java.lang.NullPointerException at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$null$7(CloudExpansionManager.java:199) ~[?:?] at java.util.HashMap.forEach(Unknown Source) ~[?:1.8.0_281] at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$fetch$8(CloudExpansionManager.java:192) ~[?:?] ... 4 more

kindred oyster
#

(do ping me back if you answer)

trim mist
#

Provide /papi dump

turbid tide
turbid tide
tender vaporBOT
#
Hey!

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

kindred oyster
#

OH sorry qwq

turbid tide
#

Expansion-deluxetags.jar

#

U clearly didn't tho

#

Since its still there

#

Go to plugins/placeholderapi/expansions

#

And delete that file I sent above

#

Then restart the server

kindred oyster
#

still got that issue

#

at least it parses it

#

just doesn't display

turbid tide
#

Can you do /papi parse me %deluxetags_tag% and see what it returns

kindred oyster
trim mist
#

I mean that just says it's not parsing the hex.

#

Blitz did you ever fully add hex to that? Idk if the expansion supported it.

kindred oyster
#

well there still is the general issue of just no translating placeholders as you can see in the tab of that img qwq

trim mist
#

Probably gotta talk to TAB about that.

#

If they parse via command then they are working.

kindred oyster
#

same thing happens with deluxe menus doe

#

example

trim mist
#

Well you don't have the jobs expansion running.

#

Sooo that would probably explain it.

faint ingot
#

hey, i got the Placeholder api plugin and downloaded statistic. i use %statistic_time_played% in my scoreboard as a placeholder to display the players time played, but its stuck and wont update its time, do you know how to fix this ? would greatly apreciate

silver minnow
faint ingot
#

scoreboard revision

silver minnow
#

Does it update? (if you use the command repeatedly)

faint ingot
#

"You must supply a target, and a message: /papi parse {target} {message}

silver minnow
#

/papi parse me %statistic_time_played%

#

there

faint ingot
#

stays the same all 5 times

silver minnow
#

what does it say?

faint ingot
#

it just displays the time in the chat

#

console doesnt say anything

#

the time stayed all 5 times the same

trim mist
#

That sounds like bukkit itself is not actually updating the statistic. For the statistic expansion we're purely the middleman iirc so the literal Statistic.PLAY_ONE_MINUTE or whatever is not updating.

kindred oyster
# trim mist Well you don't have the jobs expansion running.

"In addition to pre built placeholdrapi placeholders for Jobs plugin, now its have its own placeholders. Keep in mind that you can always check all possible placeholders ingame with /jobs placeholders command or even check what it would return with /jobs placeholder parse %jobsr_user_id% command." In theory they are built in and don't require a downloaded extension

trim mist
#

Okay well then you will need to contact JobsReborn for help. I don't think there's more I can do there.

#

I told you what I could see on my end in terms of what PlaceholderAPI + DeluxeMenus are seeing on your server.

kindred oyster
#

I could test by doing a dummy menu

trim mist
#

Go for it.

#

DeluxeMenus will not parse any jobs placeholders unless it's coming from a valid expansion. You do not have the JobsReborn PlaceholderAPI expansion on your server. Unless he's doing some hacky stuff to get into PlaceholderAPI + DeluxeMenus, they will not parse.

faint ingot
#

Fixed it by changing from true to= disable-saving: false in the spigot.yml if anyone asks again

crimson cove
#

Hey guys, just wanted to confirm - the 1.17 version of PAPI isn't available yet, right?

trim mist
#

That would be incorrect.

tender vaporBOT
knotty kite
vivid sparrow
#

Whats that?

knotty kite
# vivid sparrow Whats that?

It is what it shows when I do /tab cpu ||Plugin TAB Premium|| (it shows the placeholders that are being used and the ones that consume the most performance).
so use in actionbar / bossbar / scoreboard the javascript placeholders goes wrong.

vivid sparrow
#

Mind showing your placeholder?

#

The code I mean

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

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

vivid sparrow
#

Whats the ... at the end?

#

Id suggest to use a java expansion, js expansion was meant for small stuff like replacing something or changing the output based on a condition

knotty kite
austere hawk
#

where can i download papi 1.17?

knotty kite
austere hawk
vivid sparrow
#

I cant think of anything, sorry Nel

austere hawk
#

where can i download papi 1.17?

tender vaporBOT
austere hawk
#

ty

inland wind
# austere hawk where can I find the variables to make a top balance in holograms? https://imgur...

Does this help?

`Vault
/papi ecloud download Vault

Economy
%vault_eco_balance%
%vault_eco_balance_commas%
%vault_eco_balance_fixed%
%vault_eco_balance_formatted%
%vault_eco_top_balance_#%
%vault_eco_top_balance_fixed_#%
%vault_eco_top_balance_formatted_#%
%vault_eco_top_balance_commas_#%
%vault_eco_top_player_#%
%vault_eco_top_rank%
Permissions
%vault_rank%
%vault_rank_capital%
%vault_ranks%
%vault_ranks_capital%
%vault_prefix%
%vault_rankprefix%
%vault_rankprefix_#%
%vault_suffix%
%vault_ranksuffix%
%vault_ranksuffix_#%
%vault_prefix_color%`

vivid sparrow
#

You have to enable the top function in papi config btw

austere hawk
tender vaporBOT
#
Hey!

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

turbid tide
#

I am thinking of adding a different placeholder to output the hex as #aaFF00 but then its up to the other plugins to parse the hex

fathom crest
#

%server_countdown_HH.mm.ss_10.00.00% returns

#

0

turbid tide
#

that means its past 10

#

it doesn't count to the next day

#

it counts to the day you're in

fathom crest
#

damn

#

any way to do that?

turbid tide
#

it might be possible

#

hmm

#

I think you could do it using the server_time placeholder inside the countdoun placeholder but rn I can't see how

#

%server_countdown_dd.MM.yyyy HH:mm:ss_{server_time_dd.MM.yyyy} 10:00:00%

#

try this @fathom crest

thorn thunder
#

wouldnt that still be for the same day?

turbid tide
#

yeah

#

it would

thorn thunder
#

rip

turbid tide
#

hmm I am 100% sure I did it before but I Forgot hou

#

how*

#

it might've been javascript

#

yeah probably javascript expansion is the best choice here

fathom crest
#

Hmmm okay

austere hawk
turbid tide
#

read that

mental hearth
#

Hey, a question about the javascript extention for placeholderAPI:

`` if ( "%player_has_permission_server.vip.prefix.chat.green%" === "yes")

    return "&a[&a&lVIP&a]&r ";``

I would like to check if the player has the permission server.vip.prefix.chat.green AND server.vip, would i just use && and compare both to "yes" ?

turbid tide
#

yeah that will work indeed

mental hearth
#

Thank you!

#

Hmm, doesnt seem to work

#

`` if ( "%player_has_permission_server.vip.prefix.tab.pink%" && "%player_has_permission_server.vip" === "yes")

    return " &d[&lVIP&d]&r";``
#

I checked, i have both permissions, with the script above it works fine, with the new one with the && it no longer works, (i have both of those permissions)

thorn thunder
#

The first expression needs the equals to "yes" as well

mental hearth
#

`` if ( "%player_has_permission_server.vip.prefix.chat.green%" === "yes" && "%player_has_permission_server.vip" === "yes")

    return "&a[&a&lVIP&a]&r ";`` like this?
thorn thunder
#

yes

austere hawk
#

does it have to be three ='s?

thorn thunder
#

Not neccesary in this case, but strict equals should still be preffered

mental hearth
#

Still doesnt work :/

mental hearth
#

Ah, i forgot "%" at the end of server.vip

#

thanks for your help

signal veldt
#

Hi, is there anyone able to explain why it pops up in the console and what does it mean? Is this some error or is it normal?

#

``
[21:20:07] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: player
[21:20:07] [Server thread/WARN]: [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend, softdepend or loadbefore of this plugin.
[21:20:07] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: vault
[21:20:07] [Server thread/WARN]: [PlaceholderAPI] Task #189 for PlaceholderAPI v2.10.9 generated an exception
java.lang.NullPointerException: Cannot invoke "java.lang.Class.getName()" because "clazz" is null
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.createExpansionInstance(LocalExpansionManager.java:343) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:138) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:257) ~[?:?]
at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:248) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:709) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$2(LocalExpansionManager.java:288) ~[?:?]
at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46) ~[?:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.17.jar:git-Paper-"4e2f0be"]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.17.jar:git-Paper-"4e2f0be"]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1488) ~[patched_1.17.jar:git-Paper-"4e2f0be"]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:477) ~[patched_1.17.jar:git-Paper-"4e2f0be"]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1404) ~[patched_1.17.jar:git-Paper-"4e2f0be"]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1180) ~[patched_1.17.jar:git-Paper-"4e2f0be"]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[patched_1.17.jar:git-Paper-"4e2f0be"]
at java.lang.Thread.run(Thread.java:831) [?:?]

``

silver minnow
#

Are you using this:

tender vaporBOT
silver minnow
#

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

#

might have to use the dev build

signal veldt
#

I used this version
PlaceholderAPI-2.10.10-DEV-127.jar

#

So how do I use the dev version?

thorn thunder
silver minnow
#

I looked inside PlaceholderAPI-2.10.10-DEV-127.jar and the version is 2.10.10-DEV-127, but your error shows 2.10.9

signal veldt
signal veldt
signal veldt
thorn thunder
#

The exception is not from the version you downloadrd

#

The exception is from an older version

signal veldt
#

wait

signal veldt
#

Sorry, I sent the log from where I had this trouble earlier. Now everything is in order and no information is shown. I will show success

#

๐Ÿคฆโ€โ™‚๏ธ

#

im stupid ๐Ÿ™ƒ

sour wadi
signal veldt
compact swallow
#

I'm sure this is asked a ton, but where is the documentation for creating a standalone extension?

#

I get most of it, but I'm not sure what package my class should be in

compact swallow
#

Another thing: If I wanted to to send a PluginMessage and get a response, how would I do it? I could use a CompletableFuture but I'm not sure how to register a listener

cerulean plaza
#

Hi, I'm new and I don't know much English but, by chance here is the placeholderapi for 1.17 somewhere?

warped forum
#

How can I use placeholder api's placeholders in signs?

tender vaporBOT
junior musk
#

I know CMI can do that but it's premium

junior musk
mossy sleet
#

So I am getting this warning and no idea why

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

@vivid sparrow ^

tender vaporBOT
#
Hey!

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

vivid sparrow
#

idk why that happens tbh

thorn thunder
#

That seems to be a diff config expansion than on github tbh

vivid sparrow
#

I use the expansion on my server and works just fine

thorn thunder
#

ah

vivid sparrow
#

yes

thorn thunder
#

is it os?

mossy sleet
#

Well I downloaded the config expantion from the ecloud with /papi ecloud install

vivid sparrow
#

uh I only have it on my pc

#

but I will push it soon

turbid tide
#

yeah the ecloud one's been broken for a while now

mossy sleet
tender vaporBOT
#
Hey!

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

mossy sleet
#

Than it is ok

turbid tide
#

yeah you'll have to wait for gaby to update it

slate parrot
#
WARN Factions is attempting to register placeholder via a placeholderhook class which is no longer supported!
#

Does anybody know of a way to get around this, or be able to use placeholders from factions?

turbid tide
compact swallow
#

And how could I register a listener?

junior musk
#

everything should be explained on the wiki page I sent

slate parrot
turbid tide
junior musk
#

iirc there's an updated version on the ecloud

turbid tide
#

are you sure the placeholders weren't moved in the ppugin?

junior musk
#

isn't the plugin abandonned?

turbid tide
#

ecloud only has 1

#

version

junior musk
turbid tide
#

ohhh it was renamed

slate parrot
#

and reuploaded by someone else

turbid tide
#

@slate parrot got o plugins/placeholderapi/expansions and delete the Expansion-Factions.jar

slate parrot
#

aight, I'll check if this works

turbid tide
#

and then do /papi ecloud download factionsupdate

#

then /papi reload

slate parrot
#

it's not a verified expansion, so i gotta download it manually

turbid tide
#

ah yeah

slate parrot
#

it's probably made by someone else who had the same problem

turbid tide
#

just don't forget to delete the old one

slate parrot
#

Finally works! ty

balmy marten
#

I'll unverifiy the old one

compact swallow
junior musk
#

if you want to use events in the PlaceholderExpansion class, I think you can directly implement Listener and use the events, should be registered as one automatically (or at least it did for me when I tried)

compact swallow
#

what about PluginMessageListeners

junior musk
#

uh

#

you could implement Taskable and register the channel in the start method

#

and then implement the plugin msg class and use it

compact swallow
#

Could you provide an example/documentation

junior musk
#

I don't think there's one

dire violet
#

Hello, i have problem with PlaceholderAPI motd pinger. It ping motd from server.properties but i want to see the motd which makes the plugin for minigames, can somebody help me please?

junior musk
#

not possible

dire violet
junior musk
#

๐Ÿคท

quiet cloak
#

How updated is the placeholder-api?

tender vaporBOT
turbid tide
#

^ 1.17 support

#

and some more

quiet cloak
#

Thank you

static blaze
#

How can I know the placeholders of a plugin?

turbid tide
#

well there's a few options

#

but some are also just listed on the specific plugin's wiki or spigot page

#

depends from developer to developer

static blaze
#

The plugin I have is not in the list

turbid tide
#

can you give me a link?

static blaze
#

From the plugin?

#

of*

#

Oh

turbid tide
#

have you scrolled down a bit?

static blaze
#

I just saw them

turbid tide
#

they're listed

#

xD

#

yeah

static blaze
#

yes

#

sorry

#

xd

#

Thanks

#

And how can i use the placeholders?

turbid tide
#

you just place them in your scoreboard or wherever you want to display them

#

you do need a plugin that supports them tho

#

so you can't just use any tab/scoreboard/chat plugin etc

#

you need one that supports PAPI

static blaze
#

For example

#

I want to use a placeholder

#

for my EssentialsChat

turbid tide
#

ess chat doesn't support PAPI

static blaze
#

;-;

turbid tide
#

you need another chat plugin

static blaze
#

okay thanks

turbid tide
#

or actually

#

you might be able to use ChatInjector

#

to use them in EssChat

#

but I Think its a bit broken

#

at the moment

static blaze
#

okay

#

i will search

#

IS WORKING

turbid tide
#

yeah I'm aware

#

but does it not show everything llowercase?

analog belfry
#

Hey! Is it possible to make papi ignore certain characters in a placeholder for a specific plugin? Or is this up to the plugins developer?

lofty crow
#

hello, i understand that placeholder api hasnt been updated for 1.17, but is there a way to make it work, i was looking at the #852317810394267708 and it has javascript expansion, what exactly does that do?

tender vaporBOT
thorn thunder
#

1.17 version is available here ^

lofty crow
knotty kite
stable pollen
#

is there papi for 1.17.1?

tender vaporBOT
turbid tide
#

@stable pollen get it from here ^^^ latest one

stable pollen
#

ty

turbid panther
#

how do i pass arguments to mysql placeholder

turbid tide
#

%maysql_WHATEVER_QUERY_YOU_WANT_TO_DO%

#

idk how mysql works xD

turbid panther
#

yea i know how to specify the specific query, but how do i pass data to that query

compact swallow
compact swallow
turbid panther
#

?

compact swallow
#

Have you created a connection?

turbid panther
#

yea but how do i pass data to the sql query?

compact swallow
#

You can implement taskable and read from your config section

turbid panther
#

like idk some numbers and text or something

#

thats not hard coded into the sql query

#

like arguments for javascript placeholder

#

like javascript_name,1,2,3,4 or what ever it was

compact swallow
#

Like a prepared statement?

turbid panther
#

yea

compact swallow
#

You are using MySQL, correct?

turbid panther
#

yes

#

i know what prepared statements are, but i have no idea how do pass data to the placeholder from outside the placeholder ๐Ÿ˜„

compact swallow
#

Oh

#

The only way you can pass data to your placeholder is the String placeholder that you recieve

turbid panther
#

its what i receive, but how do i send?

#

lets say i have a sql query that looks something like that 'SELECT x FROM y WHERE z = {some random data that should be passed to mysql placeholder}'

compact swallow
#

What?

#

You prepare a statement, the execute it

turbid panther
#

how do i get that random data to that query?

#

what is the syntax for that placeholder

compact swallow
#

I'm not sure what you are asking

turbid panther
#

um

#

lets say i have a command that receives input from player

#

that then runs a placeholder with that player command input

#

idk command be like /search test

#

how do i get that 'test' to that mysql placeholder

#

it can be any string

wraith swallow
turbid panther
#

just do papi list lol

#

but im getting the same error

wraith swallow
#

and my placeholders arent working in the scoreboard i have so idk

#

but i can parse them in chat

turbid panther
#

lmao why don't insert queries work?

turbid tide
#

Are you using holographic display? Then you also need the plugins: Holographic Extension and protocol lib

wraith swallow
#

my placeholders don't work on my survival server but they do on the hub when I have the same expansions and protocollib installed on both

turbid tide
#

Check the startup log. Usually when there's a problem it will tell you

errant iron
#

Which placeholders exactly don't work?

#

Which placeholder

#

like the %something%

#

give me an example

#

what placeholder are you trying to use

#

run /papi parse me %crazyenvoy_time_left%

#

and show me what it returns

#

do /papi dump

#

and send the link here

#

what

#

?startuplog

tender vaporBOT
#
FAQ Answer:

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

errant iron
#

Send that ^

wraith swallow
silver minnow
#

the plugin author has to manually support placeholderapi

wraith swallow
#

deluxe hub

#

the placeholders work on my other server so I'm confused lol

silver minnow
#

hmmmm

silver minnow
wraith swallow
#

yeah haha

silver minnow
#

huh

#

so only one server

wraith swallow
#

yeah that's why I'm confused lol

silver minnow
#

try deleting this folder: /plugins/PlaceholderAPI and copy and paste the PlaceholderAPI folder from the server it works from

#

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

tender vaporBOT
#

๐Ÿ”จ A user has been caught in our great nation using off-brand products, they've been dealt with accordingly

silver minnow
#

O

tender vaporBOT
#
โœจ Channel Cleaned!

โ€ข Removed 10 messages.

silver minnow
thorn thunder
#

oh

#

what happened

silver minnow
#

nothing :))

vivid sparrow
#

Dkim being dkim

silver minnow
#

๐Ÿ˜’

thorn thunder
#

what?

#

whats secretive?

silver minnow
#

the ban thingy

thorn thunder
#

How did you even trigger that?

silver minnow
#

either that or gaby didn't like how we were talking about it

thorn thunder
#

Songoda?

#

oh

errant iron
#

shush shush

#

a user has been caught using off-brand products

silver minnow
#

purge #2? ๐Ÿฅฒ

errant iron
#

and that is all there is to be said ๐Ÿ™‚

silver minnow
thorn thunder
#

What is the off-brand product here?

silver minnow
#

uh

#

n-nothing

thorn thunder
#

oh are you on a modified client?

silver minnow
#

cAPS gaby

thorn thunder
#

leaks?

silver minnow
thorn thunder
#

leaks of what?

errant iron
#

plugin leaks yugi

thorn thunder
#

ohhh

silver minnow
errant iron
#

of premium plugins

thorn thunder
#

ok

vivid sparrow
#

Lmao yugi

thorn thunder
#

xD

vivid sparrow
#

Good morning

silver minnow
#

Good night

#

it's 8:35 for me

#

at night

thorn thunder
#

Its still mid-night for me

#

3:35am

silver minnow
#

oh

vivid sparrow
#

Why are we on the same timezone yugi lol

thorn thunder
#

lol

vivid sparrow
#

Weird

thorn thunder
#

uh

#

๐Ÿฅด

vivid sparrow
#

Where do you live, yugi?

wraith swallow
silver minnow
#

hmm

wraith swallow
#

the config i have for the scoreboard is:

  lines:
    - "&7&m----------------------"
    - "&7&lInformation:"
    - "&5&lName: &d%player_name%"
    - "&5&lRank: &d%luckperms_prefix%"
    - "&5&lBalance: &d$%vault_eco_balance_fixed%"
    - "&5&lClaim Blocks: &d%griefprevention_remainingclaims%"
    - ""
#

would there be anything with that could cause the placeholders to not work?

silver minnow
#

not sure

#

looks fine to me though

wraith swallow
#

thats why im confused lmao

#

since i can do /papi parse me %player_name% and that shows

dim cypress
#

since now PAPI has been updated for 1.17 support, and the change of JSONMessage to Kyori, does it means better hex support (from placeholders)?

carmine veldt
#

the change from jsonmessage to kyori just affects commands

near nimbus
little berry
#

Hi all, with the latest PLacholder update, 2.10.10, do we still need the Javascript-Expansions installed in the expansions folder?

austere hawk
balmy marten
#

Looks to be an issue with that quest expansion

formal tinsel
#

is there a placeholder for nicknames?

balmy marten
turbid tide
vivid sparrow
#

I know

turbid tide
#

he's not in india btw

#

I don't remember exactly but he said Oman I tihnk once

#

oh wait you moved to #dev-general thought you just didn't finish the conversation xD

#

and its Qatar yeah. my bad

turbid tide
little berry
#

oh great I will keep it in the expansions folder then - ty

formal tinsel
tender vaporBOT
#
Hey!

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

tender magnet
#

a lot of plugins have their own placeholder for names

formal tinsel
#

attempting to use for TABS to call users by nickname as the "welcome [player]"

#

nvm got it

#

it does work across just needed to be %essentialsnick%

balmy marten
#

oh nvm, just saw ur latest messages.

turbid tide
#

yeah TAB has its own placeholders. its supposed to cache them or something so its better

idle girder
#

why the %essentials_jailed_time_remaining% not working??

turbid tide
#

are you on the latest build of Essentials Expansion?

#

also the development builds of EssentialsX?

idle girder
turbid tide
#

then you need to get em

#

the method that placeholder uses only exists in the 2.19 version

idle girder
#

oh

#

umm

#

I'm from aternos so.. i cant download plugins ๐Ÿ˜ฆ

turbid tide
#

oh then you will have to wait for 2.19 to launch. nothing else we can do

idle girder
#

and when its going to happend

#

when they release the 1.17 update?

turbid tide
#

yeah idk. should be soon but can't 100% confirm

idle girder
#

ok thx for help

crude peak
#

I'm a bit confused. In my plugin I want to access placeholders from other plugins. What is the syntax for this?

#

do I call one of the functions in me.clip.placeholderapi.PlaceholderAPI ?

warm topaz
#

PlaceholderAPI.setPlaceholders(Player, String)

compact swallow
#

I'm trying to create an Expansion that uses a PluginMessagingChannel, but my BungeeCord proxy never receives the message. I can send code if anybody wants to help.

crude peak
turbid tide
#

use a paste bin

austere hawk
#

Hi

#

What is it about this?

#

PlaceholderAPI Effect Potions

austere hawk
#

@turbid tide

tender vaporBOT
#
Hey!

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

turbid tide
#

yes?

austere hawk
#

i have a question

tender vaporBOT
#

There is no time to wait! Ask your question @austere hawk!

austere hawk
#

i can make When I drink the potion depending on what potion to drink Will it expire in a few minutes? in the placeholderAPI

turbid tide
#

I am afraid I Don't really understand what you want.

austere hawk
#

Ex