#placeholder-api

150650 messages · Page 121 of 151

exotic tree
#

works tysm

#

again

vapid ember
#

Hi there. I'm having a problem that I was hoping to get some help with. I keep on getting this message. How do I fix it?

junior musk
#

try to redownload PlaceholderAPI

vapid ember
#

Should I delete my current configs and such too?

junior musk
#

nah, only the jar file

vapid ember
#

Still gives out the same error

junior musk
#

then maybe it's from one of your expansions, try deleting your plugins/PlaceholderAPI/expansions folder and redownloading them

ruby frigate
#

Is there a channel for a support ticket or help with specific extensions now loading?

crisp crystal
#

Placeholder expansion info for: player
Status: Registered
Author: Dutchwilco
Version: 1.0

junior musk
#

what in the world is that expansion

#

who tf is Dutchwilco 😂

crisp crystal
#

I don't freaking know

#

LMAO

junior musk
#

send papi dump again

crisp crystal
junior musk
#

yeah

#

but some plugin by that guy is registering its own player expansion

#

send your server logs

#

I can't find any of his plugin in the papi dump, but maybe I can see when the expansion is registered in the logs

crisp crystal
junior musk
#

[08:07:08] [Server thread/INFO]: [AnimaBossBar] This BossBar Plugin is made by: Dutchwilco Version 4.2

crisp crystal
#

oh

junior musk
#

yeet it and find a better bossbar plugin like TAB

crisp crystal
#

I have TAB already

#

what a parody

junior musk
#

idk why the dev thought it'd be a great idea to register an expansion with the same identifier as the most used abd important expansion of the plugin

junior musk
crisp crystal
#

Well

junior musk
#

use its bossbar feature

crisp crystal
#

thhen

#

Thank you very much

junior musk
#

it has everything you may need

#

I'll have to check his plugins' code later to see wtf he's been doing in there or what even is in that player expansion xD

rugged walrus
#

How do i add custom placeholderAPI's? if you got a good tutorial for me that's also good if it's too hard to explain

toxic stag
#

You already explained those yesterday 🧐

#

Is this like a daily thing from now on?

rugged walrus
#

i didnt explain anythin what?

toxic stag
#

Sorry, that was aimed at some weirdo blabbering about "explaining new forms of oppression"

#

They removed his message lol

rugged walrus
mint fable
#

Please refrain from pinging

rugged walrus
#

alr thanks

normal ridge
#

How could i display a placeholder for kills/deaths in a specific region

humble smelt
#

.

mint fable
#

Not 100% sure what you mean

#

are you looking to develop an expansion for an events plugin you have?

covert yarrow
#

any idea why im getting this error causing tons of lag

solar swift
mint fable
#

what placeholer are you trying to use @solar swift

mint fable
solar swift
#

kills from pvpstats

mint fable
#

what exact placeholder @solar swift

solar swift
#

slipcorpvpstats_top_kills_2

#

%

#

%

mint fable
#

is there a \\8 anywhere?

#

in any of your holograms

solar swift
#

no

mint fable
#

err

#

8\\

solar swift
#

no

mint fable
#

hmm

#

is it affecting all your holograms with that placeholder?

solar swift
#

I think yes but need to change number of top kill

mint fable
#

hmm

#

i would at least update placeholderapi

solar swift
#

I have latest

mint fable
#

if that doesn't fix it, try reaching out to the pvpstats discord

solar swift
#

2.11.4

mint fable
#

o shoot true

solar swift
delicate hill
#

I i want to achive to change conditionaly the placeholder in javascript and be able to still get the parse how do i use that?

humble smelt
# mint fable are you looking to develop an expansion for an events plugin you have?

I dont have plugin if ill need ill try to write but im not programem i just whont to be able to create placegolder %example_event_1% and on deafult it will be 0 for each player after lets say player X do somethink or get some stage or somethink like this i will run comand somethink like /customcommand add point event_1 %player% and player X will have 1 and I can do it every time I need it in my events

mint fable
#

and you can use /dm execute <player> <action> as well

hard jackal
#

Hi im trying to make a countdown every day at 05h00 AM is it possible ?

woven edge
#

Heyia, I use PV, there's this placeholder; %premiumvanish_isvanished%, which shoots out to variables, No, Yes, I tried to use changeoutput on it, but it's not working correctly

I'm trying to get rid of No, and than change Yes to something else, if anyone could help, it'd be highly appreciated

mint fable
#

What did you try to do for change output @woven edge

woven edge
mint fable
#

syntax is a bit off

#

@woven edge

woven edge
#

i see that now my bad, thank you

cold spindle
#

Hi someone.
Can you help me about placeholderAPI?
I want to use MurderMystery placeholder.
https://wiki.plugily.xyz/minigame/placeholders

Should I use /papi ecloud download command first?
I can't see murdermystery's placeholder.

How can I use MurderMystery's papi?

junior musk
#

I'm guessing the dev included the placeholders within the plugin, so no you don't need to download anything

#

make sure you're using the placeholders under the PlaceholderAPI column, otherwise they won't work outside of your MurderMystery plugin

gloomy elm
#

Hi there peeps, i'm having a little issue with a plugin (PlayerKts2), since i installed the PlaceHolderAPI plugin to my plugins, it gives me an error when trying to buy a kit with the PlayerKits one 🥲

java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
    at pk.ajneb97.utils.PlayerUtils.passCondition(PlayerUtils.java:63) ~[PlayerKits2.jar:?]
    at pk.ajneb97.managers.InventoryRequirementsManager.replaceRequirementsMessageVariable(InventoryRequirementsManager.java:65) ~[PlayerKits2.jar:?]
    at pk.ajneb97.managers.InventoryRequirementsManager.configureRequirementsItem(InventoryRequirementsManager.java:37) ~[PlayerKits2.jar:?]

It has many more lines but i don't wanna spam much here.

Thanks in advance for the help

shrewd plinth
#

[17:20:58 WARN]: [PlaceholderAPI] Failed to load external expansion player. Identifier is already in use.
[17:20:58 WARN]: [PlaceholderAPI] Cannot load expansion player due to an unknown issue.

#

1.20.1 native, i have to do /popi reload is there a way to fix this?

gloomy elm
vivid sparrow
#

@shrewd plinth update papi

shrewd plinth
#

its the last version

foggy gorge
#

.

#

faa

#

c

#

\

#

.

shrewd plinth
#

issue resolved some plugin was interfering with papi expansion player

austere hawk
#

Hi, how can i achive smthng like this: Max(13,25,15) - result is 25?
Same for the minimal values...

mint fable
#

You can use the math expansion @austere hawk

#

It has MAX functions

#

It’s EvalEx expressions

austere hawk
#

Can u give an example pls?

mint fable
#

%math_0:_MAX(13, 25, 15)%

austere hawk
#

thx very much

mint fable
#

no prob

proud tide
#

%player_item_in_hand%
%player_item_in_hand_name%
%player_item_in_hand_data%
%player_item_in_hand_durability%
%player_item_in_hand_level_<enchantment>%
%player_item_in_offhand%
%player_item_in_offhand_name%
%player_item_in_offhand_data%
%player_item_in_offhand_durability%
%player_item_in_offhand_level_<enchantment>%

Is there a placeholder to see if a player is holding a block?

#

Trying to recreate the crab claw from the new update but basically it removes any item when right clicking since it can't detect that it's a block

languid jasper
#

Hey there ^^

were having a problem with some plugins that provide placeholder. it says "placeholder %bla bla% took 110ms to return value for PlayerName"
Is there an efficient way to code placeholder requests? Like async or smth like this?

junior musk
#

update TAB

#

those msgs were removed

#

they weren't 100% accurate (especially if you're using TAB on Bungee)

languid jasper
#

ahhh okay, thank you Tanguy ^^

junior musk
#

first person that calls me by my actual name and not Tan or Tangu or whatever

#

I feel honored

#

XD

languid jasper
#

xD I'll do

rugged walrus
#

My player expansion is not working for some reason.
I am trying to use the placeholder %player_item_in_hand_durability% for a custom item i am making (with ExecutableItems) but it does not work and it just shows that placeholder instead of a value. When i go in my expansions file of PlaceholderAPI it shows expansion-player.jar in the list of expansions so it is installed.
anyone know why it's not displaying a value like it should?

junior musk
#

/papi dump

junior musk
#

send your server logs

#

?startuplog

tender vaporBOT
rugged walrus
junior musk
#

?paste

tender vaporBOT
rugged walrus
junior musk
#

copy paste

#

then save

#

then send the url

junior musk
#

there's an error with your Armor Expansion

#

try deleting/redownloading it

rugged walrus
#

alr

junior musk
#

when an expansion throws an error, it prevents others from loading correctly, and that's probably what happened here, the player expansion was likely supposed to be loaded after the armor expansion, but didn't because of the error

rugged walrus
#

oww I do need the armor expansion on my server tho so hopefully its fixed when i redownload it

junior musk
#

yeah try redownloading then

humble smelt
#

hello guys i need custom placeholder witch will count down from one hour to down and it will be able to set again to one hour after command how to do it?

sharp bloom
humble smelt
#

i need it on hologram so lp will not work for me

#

i whont to make it global also

#

all i whont to do is create timer for mythickmobsd spawner that all

limber egret
#

guys

#

how can i make weekly and monthly ranks/

mint fable
#

doesn't seem related to papi imo

humble smelt
#

ym

#

skript cant be downloaeded by command

#

/papi ecloud download skript its not working

stone raptor
#
[16:11:07 INFO]: s_oa issued server command: /fly
[16:11:07 WARN]: java.lang.IllegalArgumentException: Attempt to get net.minecraft.server.level.PlayerInteractManager field "net.minecraft.server.level.EntityPlayer.e" with illegal data type conversion to int
[16:11:07 WARN]:        at java.base/jdk.internal.reflect.UnsafeFieldAccessorImpl.newGetIllegalArgumentException(UnsafeFieldAccessorImpl.java:69)
[16:11:07 WARN]:        at java.base/jdk.internal.reflect.UnsafeFieldAccessorImpl.newGetIntIllegalArgumentException(UnsafeFieldAccessorImpl.java:132)
[16:11:07 WARN]:        at java.base/jdk.internal.reflect.UnsafeQualifiedObjectFieldAccessorImpl.getInt(UnsafeQualifiedObjectFieldAccessorImpl.java:59)
[16:11:07 WARN]:        at java.base/java.lang.reflect.Field.getInt(Field.java:601)
[16:11:07 WARN]:        at com.extendedclip.papi.expansion.player.PlayerUtil$1.apply(PlayerUtil.java:66)
[16:11:07 WARN]:        at com.extendedclip.papi.expansion.player.PlayerUtil$1.apply(PlayerUtil.java:50)
[16:11:07 WARN]:        at com.extendedclip.papi.expansion.player.PlayerUtil.getPing(PlayerUtil.java:122)
[16:11:07 WARN]:        at com.extendedclip.papi.expansion.player.PlayerExpansion.retrievePing(PlayerExpansion.java:481)
[16:11:07 WARN]:        at com.extendedclip.papi.expansion.player.PlayerExpansion.onRequest(PlayerExpansion.java:405)
[16:11:07 WARN]:        at PlaceholderAPI-2.11.4.jar//me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:119)
[16:11:07 WARN]:        at PlaceholderAPI-2.11.4.jar//me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:71)
[16:11:07 WARN]:        at PlaceholderAPI-2.11.4.jar//me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:99)
[16:11:07 WARN]:        at InteractiveChat-4.2.8.0.jar//com.loohp.interactivechat.utils.PlaceholderParser.parse0(PlaceholderParser.java:104)
[16:11:07 WARN]:        at InteractiveChat-4.2.8.0.jar//com.loohp.interactivechat.utils.PlaceholderParser.parse(PlaceholderParser.java:83)
[16:11:07 WARN]:        at InteractiveChat-4.2.8.0.jar//com.loohp.interactivechat.modules.PlayernameDisplay.processPlayer(PlayernameDisplay.java:104)
[16:11:07 WARN]:        at InteractiveChat-4.2.8.0.jar//com.loohp.interactivechat.modules.PlayernameDisplay.process(PlayernameDisplay.java:85)
[16:11:07 WARN]:        at InteractiveChat-4.2.8.0.jar//com.loohp.interactivechat.listeners.OutMessagePacket.processPacket(OutMessagePacket.java:605)
[16:11:07 WARN]:        at InteractiveChat-4.2.8.0.jar//com.loohp.interactivechat.listeners.OutMessagePacket.access$200(OutMessagePacket.java:83)
[16:11:07 WARN]:        at InteractiveChat-4.2.8.0.jar//com.loohp.interactivechat.listeners.OutMessagePacket$1.lambda$onPacketSending$0(OutMessagePacket.java:484)
[16:11:07 WARN]:        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
[16:11:07 WARN]:        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[16:11:07 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[16:11:07 WARN]:        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[16:11:07 WARN]:        at java.base/java.lang.Thread.run(Thread.java:833)```
#

anything i need to be worried about?

mint fable
#

update player expansion maybe?

stone raptor
#

how

mint fable
#

run those commands

wraith parrot
#

Where can i download vault 1.8.1?

mint fable
#

the expansion? It's the latest version on the ecloud

winter kelp
#

guys l want help

#

deluxe tags placeholder dont working on essential chat plugin

digital chasm
#

Hi

#

In my sever before my nane and rank this is coming
%cyl_player_level%

#

How to fix it?

sweet sleet
#

whats the placeholder for ranks to show on the scoreboard

#

so ppl cann see their ranks?

#

@sharp bloom may you help

#

heeeeeeeeeeeeeeeeeeeeeeeeeeeellllllllllp

sharp bloom
#

or %vault_groupprefix%

sweet sleet
sharp bloom
sweet sleet
#

for example for eco_balance i need vault

sweet sleet
sharp bloom
#

yeap these are from the vault expansion

sweet sleet
#

okay

sharp bloom
#

./papi ecloud download vault

sweet sleet
#

and whats the command

#

okay ty

sharp bloom
#

what command ;-;

sweet sleet
coral ibex
errant wedge
#

is there a placeholder for how many times a player entered the server?

sharp bloom
deep hollow
#

Hey, anyone knows how to translate %server_time? It always return in english, and I want it on spanish (I changed timezone too on startup flag but still without working -Duser.timezone="Europe/Madrid")

#

thanks 🙂

warm topaz
#

set use_quick_js to true in the papi config

west osprey
#

what plugin i need to do /api? i thought that you needed placeholder api but ig not

junior musk
#

what's /api supposed to do?

#

PlaceholderAPI's command is /placeholderapi (or /papi)

tender vaporBOT
deep hollow
#

Hey again, someone knows how to use changeoutput if the placeholder I want to add has brackets inside? Like %ukoth_{Mina}_timeleft%

#

as changeoutputs replaces { for %

#

%changeoutput_equals_input:{ukoth_{Mina}_timeleft}_matcher:0s_ifmatch:{ukoth_{Mina}_scheduler_next_time}_else:{ukoth_{Mina}_timeleft}%

#

I want basically if timeleft placeholder returns 0s (so no koth is being capped), then show when will be the next koth

junior musk
#

Utils shortcut 👌

#
shortcuts:
  mina_left: "%ukoth_{Mina}_timeleft%"
  mina_next: "%ukoth_{Mina}_scheduler_next_time%"

%changeoutput_equals_input:{utils_shortcut_mina}_matcher:0s_ifmatch:{utils_shortcut_next}_else:{utils_shortcut_mina}%

deep hollow
#

like in papi config, like that?

#
  utils:
    shortcuts:
      mina: "%ukoth_{Mina}_timeleft%"
      next: "%ukoth_{Mina}_scheduler_next_time%"```
#

or you mean utils + shortcut expansion?

junior musk
#

yeah

#

well you can use the Shortcut expansion as well

#

but I added shortcuts to utils recently

#

use whichever you prefer

deep hollow
#

Oh had to update Utils to latest

#

it works now

#

thanks as always Tanguygab 😄

radiant notch
#

Any idea why my placeholders dont work? even when i do parse it doesnt work, but the plugin is working

junior musk
#

/papi dump

radiant notch
#

its not returning anything for dump

junior musk
#

does it not give you a link in chat?

radiant notch
#

nope

#

it doesnt return anything

#

nothing shows up on console either

junior musk
#

anything in console?

#

ah

#

send your server logs

radiant notch
#

no error etc

#

aight one sec

junior musk
#

does /papi do anything?

radiant notch
#

yes, it shows help stuff

junior musk
#

what about /papi list ?

radiant notch
#

Author: [HelpChat]
PAPI Commands: /papi help
eCloud Commands: /papi ecloud

#

works too

#

but im noticing that vault isnt showing up in the list

#

i downloaded it and reloaded already

junior musk
#

/vault-info

#

what's next to the Economy part?

radiant notch
#

wdym?

junior musk
#

do the command and send a screen

radiant notch
#

[13:33:34 INFO]: [Vault] Vault v1.7.3-b131 Information
[13:33:34 INFO]: [Vault] Economy: Neon [Neon]
[13:33:34 INFO]: [Vault] Permission: LuckPerms [LuckPerms, SuperPerms]
[13:33:34 INFO]: [Vault] Chat: LuckPerms [LuckPerms]

junior musk
#

thonking the economy plugin was found

radiant notch
#

cant send ss heree

radiant notch
junior musk
#

check your PlaceholderAPI/expansions folder

radiant notch
#

aight will do

#

vault and stats are there in the folder

junior musk
#

what about /papi reload?

#

and what do you get in console?

radiant notch
#

[13:49:07 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[13:49:07 INFO]: [PlaceholderAPI] Fetching available expansion information...

#

doesnt say successful, stuck on this

junior musk
#

weird

#

try redownloading PAPI

subtle vale
#

hello

#

who can help me

#

please

#

i need to put data time in lore with placeholder

#

but he doesn't work

#

how can i fix it?

west osprey
#

ello everyone

#

what kind of plugin you needed to do /api? i thought that u needed placeholder api but looks like u dont

junior musk
wheat coyote
#

is there placeholders that will return keybinds?

junior musk
#

I doubt it

wheat coyote
#

i saw that before but can't find it

junior musk
#

server doesn't have players' keybinds information

#

it is still possible to display them, but not with PAPI placeholders

#

chat components have a way to get a keybind from its name/path, but it doesn't actually get the keybind, it just forwards the name/path to the client that will then translate it with the current set keybind

#

but PlaceholderAPI only allows placeholder expansions to return strings, and not chat components, so this isn't exactly possible

wheat coyote
#

oh yes!

#

thanks i knew i saw it somewhere, and when you said components it reminds me of minimessage, and there it is

junior musk
#

yeah MiniMessage can do that, and very easily too xD

#

you just need to find a plugin that supports it

wheat coyote
#

but the problem is that deluxemenus doesn't support it

#

yeah

junior musk
#

you can send messages with MM to the player with the [minimessage] action

#

though you can't use MM in items if that's what you're looking for

wheat coyote
#

yeah i was looking to have it in items lore

junior musk
#

not possible unfortunately

#

well I do have an idea but I doubt it's even possible

#

nah, probably not

#

I was thinking of using nbt_strings to modify the lore, but I doubt it's usable

junior musk
#

for the 3rd time

junior musk
#

@west osprey

west osprey
#

like

#

you know simplescore right?

junior musk
#

no

west osprey
#

bruh

junior musk
#

now yes

west osprey
#

well like

junior musk
#

it's a scoreboard plugin

west osprey
#

most of the server has boards

#

leaderboards idk

junior musk
#

yeah?

west osprey
#

like lets say i want to make a text where you can see how many dmg u have done in the server , and with api you dowload it / enable it

#

so it actaly shows the dmh

#

dmg

#

cus at first it will show like %players_damage% or something like that

junior musk
#

you're looking for a placeholder

west osprey
#

but when i will dowload it

#

it will show the actual dmg

west osprey
junior musk
#

a placeholder is text that you set in config, and that is replaced in game by a value

#

for example, %player_name% would give the player's current name

#

there is a placeholder for the amount of damages you've dealt ever since you joined

#

%statistic_damage_dealt%

west osprey
#

you said you dont know what it is 😹

junior musk
#

And the "api" you need to download, is statistic. We call those Expansions, it's like a group or folder of placeholders

west osprey
#

looks like you know more then me

junior musk
west osprey
#

so

#

what plugin i need for it?

#

to work

junior musk
#

PlaceholderAPI

west osprey
#

it doesnt work

#

have that already

junior musk
#

and then, you need to download the statistic expansion to access the placeholder

#

/papi ecloud download <expansion>
and then reload PAPI with /papi reload

#

and finally you can use your placeholder (%statistic_damage_dealt%) in any plugin that supports PlaceholderAPI, which SimpleScore does so you should be fine

#

you can also make sure that a placeholder works with /papi parse me <placeholder here> and see if it returns the correct output in chat

west osprey
#

wow , you know alot about plugins

junior musk
#

you could say so

west osprey
#

yoo it works

#

what api i need for first joined date

junior musk
#

you need the player expansion

#

%player_first_join_date%

west osprey
#

i already have that

#

but what ecloud for it or how do you call it

junior musk
#

then reload PlaceholderAPI, and use the placeholder I gave you

west osprey
#

hey tanguygab?

#

sorry to disturb you but , do you know how to add custom model mobs to the server? like i have few mob models but i dont really know how to add them

#

probbaly somehow with mythicmobs and something more

junior musk
#

with a resources pack

#

how exactly? no idea, I've never made those before

west osprey
#

bro i want to ask so many questions but i also dont want to disturb you

junior musk
#

ask away

#

btw if you've got questions unrelated to PlaceholderAPI, ask in #general-plugins instead please

#

also don't worry about disturbing me, there are other people out there that can help, not all of the time but they're still here

#

if I'm not available, ask your questions anyways and either I or someone else will answer when we become available

west osprey
#

some questions are about placeholder , some aren't

#

anyways

junior musk
west osprey
#

k

#

what api you need for playtime & ecconomy and what plugins you need ?

junior musk
#

for playtime you can use the Statistic expansion again, and for economy, you'll have to download the Vault expansion

#

%statistic_time_played%

#

and for your balance, %vault_eco_balance% don't forget to download the Vault expansion like the others before)

west osprey
#

i have vault plugin , do you need something else for ecconomy?

junior musk
#

yeah you need the expansion

#

the thing you download with /papi ecloud download

west osprey
#

oh okay

#

i dowloaded vault with /papi but it still doesnt show the currency

junior musk
#

what does it say in chat?

west osprey
#

wait

#

i needed to do this? /papi parse me Vault

junior musk
#

uh

#

no

west osprey
#

idk if i did it right

#

oh

sharp bloom
junior musk
#

use vault in the download command

#

abd use the placeholder (aka %vault_eco_balance%) in the parse command

sharp bloom
#

Step 1:/papi ecloud download vault
Step 2: /papi reload
Step 3: /papi parse me %vault_eco_balance%

#

Step 4: Done

west osprey
#

alr leme try that

#

doesn't work

junior musk
#

what does it show in chat?

#

after executing the parse cmd

west osprey
#

just %vault_eco_balance% , what i typed

sharp bloom
west osprey
#

yes

junior musk
#

can you send the link generated by /papi dump?

west osprey
#

how

sharp bloom
#

?paste

tender vaporBOT
junior musk
#

run the command and copy the link?

sharp bloom
#

oh ye it does send a link :/

junior musk
#

yeah...

#

and also check /vault-info, what does it say regarding the Economy?

sharp bloom
#

^ i was about to say that

#

its probably missing an economy plugin 💀

junior musk
#

possible

west osprey
junior musk
#

BRUH

sharp bloom
#

./leave

junior musk
#

well unless Minecraft adds money to the game, yeah, you need an economy plugin xD

sharp bloom
#

like essentialsx for example

west osprey
junior musk
#

Vault isn't an economy plugin on its own, it only provides a way for other plugins to interact with each others.
So pluginA could manage money and stuff, and tell Vault that it has all the info regarding money, then pluginB will aks Vault for money information and give it the data from pluginA

west osprey
#

alr

junior musk
#

and the Vault expansion for PlaceholderAPI (the thing you downloaded with /papi ecloud download vault), gives you access to %vault_eco_balance% and other placeholders which fetch data from the Vault plugin which fetches data from the economy plugin

#

in short: SimpleScore - > PlaceholderAPI - > Vault Expansion - > Vault (plugin) - > economy plugin

#

awesome

#

xD

#

my head hurts

#

I'm gonna go to bed

west osprey
#

do i actaly need to know allat?

junior musk
#

no idea

sharp bloom
#

fail we cant send gif?

west osprey
junior musk
#

but if you want to know how it works, well I wrote it for you if you feel like reading it XD

sharp bloom
#

ofc u have bypass!

junior musk
#

me = god

west osprey
#

lol

sharp bloom
#

@tender vapor helpful role pls 😔

west osprey
#

yoo it works! but now i need to stable it

#

like i want to it be 1k not 1.000

junior musk
#

xD

junior musk
sharp bloom
#

i am very helpful 🙄

junior musk
#

you're very VERY helpful

sharp bloom
#

😌 exactly

#

its u search np :d its only me 🙄

west osprey
#

now

junior musk
#

lol

west osprey
#

i need a shop plugin

#

any good shop plugins out there?

sharp bloom
#

deluxemenus

junior musk
#

ShopGUI+

#

get out of here Kristopher

sharp bloom
#

how dare u to say shopgui+ is better than deluxemenus :/

junior musk
#

you don't deserve that helpful role anymore

sharp bloom
#

!

west osprey
#

soo

#

what plugin is better?

junior musk
#

ShopGUI+

west osprey
#

alr

sharp bloom
#

i do own ShopGUI+ and EcoShop but i still prefer deluxemenus prage

west osprey
#

im gonna go with shopGUI+

junior musk
#

DeluxeMenus allows you to make menus, but you basically have to remake the ENTIRE logic of a shop plugin lol

sharp bloom
#

so? 🙄

junior musk
#

so not everyone is crazy like you

#

and me to be fair

sharp bloom
west osprey
#

i heard that deluxemenus was good for smth but i forgot

sharp bloom
#

literally everything

west osprey
junior musk
#

if you want a menu to redirect players to different servers of your network for example

#

Deluxemenus can do that

sharp bloom
#

i always say when u have an issue u make a GUI coolidk

junior musk
west osprey
#

i need to make like a npc , and when you click him , you can only buy that stuff from him , no one else

sharp bloom
#

deluxemenus can do that yesyes

west osprey
#

yeah but it sounds hard lol

junior musk
#

yeet the permissions to open the shop from normal players and make the NPC execute the command to open the shop to a user from console

sharp bloom
#

shopgui+ would have been even better if it had an ingame editor tbh

#

its been the same over yearss

west osprey
#

yeahh.. i didn't understand a single word

junior musk
#

make the npc execute shop <player> from console

west osprey
#

./shop <player> what?

junior musk
#

just that

#

the command to open the shop followed by the player name

west osprey
#

so /shop and player

#

?

#

dang , everyone left ;[

junior musk
#

I'm sorry I really need to sleep

#

I'll be back tomorrow

#

it's 11pm for me rn

west osprey
small stag
#

java.util.concurrent.CompletionException: zip file closed (expansion file: /home/container/plugins/PlaceholderAPI/expansions/Expansion-localtime.jar)
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:443) ~[PlaceholderAPI-2.11.4.jar:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
Caused by: java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.ensureOpen(ZipFile.java:840) ~[?:?]
at java.util.zip.ZipFile.getEntry(ZipFile.java:339) ~[?:?]
at java.util.jar.JarFile.getEntry(JarFile.java:517) ~[?:?]
at java.util.jar.JarFile.getJarEntry(JarFile.java:472) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:195) ~[leaves-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:592) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:155) ~[leaves-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:130) ~[leaves-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.entrypoint.classloader.group.SpigotPluginClassLoaderGroup.lookupClass(SpigotPluginClassLoaderGroup.java:43) ~[leaves-1.20.1.jar:git-Leaves-"847357b"]
at io.papermc.paper.plugin.entrypoint.classloader.group.SimpleListPluginClassLoaderGroup.getClassByName(SimpleListPluginClassLoaderGroup.java:37) ~[leaves-1.20.1.jar:git-Leaves-"847357b"]
at io.papermc.paper.plugin.entrypoint.classloader.group.LockingClassLoaderGroup.getClassByName(LockingClassLoaderGroup.java:34) ~[leaves-1.20.1.jar:git-Leaves-"847357b"]
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:173) ~[leaves-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:150) ~[leaves-api-1.20.1-R0.1-SNAPSHOT.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:579) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[?:?]
at me.clip.placeholderapi.util.FileUtil.findClass(FileUtil.java:62) ~[PlaceholderAPI-2.11.4.jar:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:421) ~[PlaceholderAPI-2.11.4.jar:?]

Help pls

#

when the command /papi reload it reads everything correctly

#

[19:53:41 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[19:53:41 INFO]: [PlaceholderAPI] Fetching available expansion information...
[19:53:41 INFO]: [PlaceholderAPI] Successfully registered external expansion: server [2.6.2]
[19:53:41 INFO]: [PlaceholderAPI] Successfully registered external expansion: player [2.0.5]
[19:53:41 INFO]: [PlaceholderAPI] Successfully registered external expansion: luckperms [5.4-R2]
[19:53:41 INFO]: [PlaceholderAPI] Successfully registered external expansion: statistic [2.0.1]
[19:53:41 INFO]: [PlaceholderAPI] Successfully registered external expansion: skript [1.0.0]
[19:53:41 INFO]: [PlaceholderAPI] Successfully registered external expansion: vault [1.8.1]
[19:53:41 INFO]: [PlaceholderAPI] Successfully registered external expansion: essentials [1.5.2]
[19:53:41 INFO]: [PlaceholderAPI] Successfully registered external expansion: Animations [1.0.5]
[19:53:41 INFO]: [PlaceholderAPI] Successfully registered external expansion: localtime [1.2]
[19:53:41 INFO]: 9 placeholder hook(s) registered! 1 placeholder hook(s) have an update available.

junior musk
junior musk
final schooner
#

Please help me, how can I insert a placeholder into the chatty plugin? I have a line format: '{prefix}{player}{suffix}&r: {message}' but I need to put %username% instead of {player} but for some reason it doesn’t work, maybe I need to install some library somewhere?

#

@junior musk you know whats problem?

junior musk
#

where did you find %username% and what is it supposed to do?

wise finch
#

How To Download KillStats It Showing KillStats Is Not Verified You Have To Download Manually From link

west osprey
junior musk
#

/npc command add shop <p>

#

run that, it'll add the command to the NPC

#

<p> will automatically be replaced by Citizens with the player's name

west osprey
#

yeah it works but my plan was to make like a category from only 1 npc

#

like every npc had they're own category

junior musk
#

I think you can do the

#

let me check

#

yeah you can

west osprey
#

how tho

junior musk
#

add the shop name/category after <p> in your command

west osprey
#

oh yeah also

junior musk
#

oh and to remove the previous command from the NPC, use /npc command remove 0

west osprey
#

can i remove the back button?

#

so people just can't go back to other category's from 1 npc

junior musk
#

probably, check your shop's config

west osprey
#

alr

#

bruh , i removed just the backbutton and now my entire shop plugin doesnt work

junior musk
#

any errors in console?

#

maybe you broke the syntax

west osprey
junior musk
#

wot

west osprey
#

when i do /shop it says this

#

bruh why i can't copy the picture

#

ohh

junior musk
#

?imgur

tender vaporBOT
west osprey
#

you can't post pictures

tender vaporBOT
west osprey
junior musk
#

what's what?

west osprey
#

imgur

#

why did u sent me that

#

its just a site with gifs

junior musk
#

it allows you to upload images as well

west osprey
junior musk
#

register and click your profile

#

or use another website idk, anything that allows you to upload images

west osprey
junior musk
#

yup

west osprey
#

it says that when i do /shop

junior musk
#

does nothing appear in console when you do that?

west osprey
#

leme see

junior musk
#

same link

west osprey
#

but there is new picture

junior musk
#

oh

west osprey
#

yeah

junior musk
#

?startuplog

tender vaporBOT
junior musk
#

do thatthis

west osprey
#

whats a paste service , huh

junior musk
#

?paste

tender vaporBOT
west osprey
#

i can't copy the log

#

i can only dowload it

#

like i can copy it but i can't paste it anywhere exscept in my host site

buoyant tide
#

Download it, then copy and paste.....?

west osprey
#

can't do that too

buoyant tide
#

Type it all out manually...into the paste site 😛

buoyant tide
#

Then get a new host too.

west osprey
#

what should i do then

buoyant tide
#

Ask your host...

west osprey
#

too much work

buoyant tide
#

You're not going to get much support if you can't provide logs..

#

Sorry Tanguy. Stepping on your toes..

junior musk
#

if you can download it, then you can copy paste the content on the paste website?

junior musk
junior musk
west osprey
#

should i just copy the log and paste it in there?

buoyant tide
#

Yes...

west osprey
#

i can't paste it there too 😭

buoyant tide
#

What host?

west osprey
#

sparked host

buoyant tide
#

so you can upload files?

west osprey
#

yeah i can dowload it and upload it here

west osprey
#

soo , what should i do

west osprey
#

@junior musk helpp

fast knoll
#

Do placeholderapi works on folia servers?

junior musk
#

Folia support is being added, but not officially released yet

junior musk
west osprey
#

i just waited few secconds and now shop is back

junior musk
#

lol what

west osprey
#

but now , instead the goback button is barrier , but its a star 🥲

#

so ig u can't remove the goback button

#

idk

junior musk
#

idk, I don't have your config

west osprey
#

bu

#

but*

#

how can i make a npc where you can buy that kind of stuff only from him?

junior musk
#

isn't that what you already have?

#

only that NPC can open the shop category

west osprey
junior musk
#

and what do you have rn?

west osprey
junior musk
#

is that the main shop or a shop category?

#

I'm about to board my train rn so gotta go for like 15 - 20min

west osprey
west osprey
#

are you free now ? tanguy

junior musk
#

now yeah

#

so when you click on the NPC, it opens the main shop menu?

junior musk
west osprey
west osprey
junior musk
#

uh

#

so you say the npc opens the main shop menu, but then you say that you did the steps to open a specific category instead of the main menu?

west osprey
#

i mean i can try again

junior musk
#

do /npc command

#

what shows there?

fast knoll
junior musk
#

I'm not part of the dev team so no xD

fast knoll
#

Oh i thought

#

You had blue nick so

#

I now checked that it is just tier something

narrow pier
#

placeholder has error with interactive plugin i asked the dev he told me that problem is from placeholder

#

i use last placeholderapi update

junior musk
junior musk
#

/papi ecloud download Player
/papi reload

west osprey
#

@junior musk

west osprey
#

then what

junior musk
narrow pier
junior musk
#

send /papi dump

junior musk
#

send the new error

narrow pier
junior musk
#

so you must have an error

narrow pier
#

but the when i run the command it says "unable to parse placeholder"

junior musk
#

and does it throw an error in console?

narrow pier
#

nope

junior musk
#

which command did you run?

west osprey
#

doesn't work

junior musk
narrow pier
west osprey
junior musk
#

what happens when you click on the NPC ?

junior musk
#

that's an InteractiveChat placeholder

west osprey
junior musk
#

does it say anything in console after you click on the npc?

west osprey
#

bro

#

i love console

#

like

#

it says littery all problems

#

and yeah it works now

junior musk
#

:D

#

what was the issue?

west osprey
#

it didnt work cus i was just in creative lmao

junior musk
#

bruh

west osprey
#

ik

#

but now

#

the biggest problem

#

to remove backbutton

#

;/

junior musk
#

send your shop config

west osprey
#

how

junior musk
#

?paste

tender vaporBOT
junior musk
#

copy paste the content on the website

tender vaporBOT
west osprey
#

O

#

it workeddd

#

or it didnt

#

idk

#

there was a button " upload to paste "

#

so i click that

#

and pasted it in

junior musk
#

you could have just sent the paste.sparked.host link

#

but yeah all good

west osprey
#

but does it work?

junior musk
#

how what works?

west osprey
#

like

#

do you see my shop's congif?

#

config'

junior musk
#

I see your ShopGUI+ config yeah

west osprey
#

good then

junior musk
#

though I wanted your shops.yml file xD

west osprey
#

soo , how could i remove the backbutton?

junior musk
#

send your other file XD

west osprey
#

witch one

#

the shop one?

junior musk
#

the food one for example

west osprey
#

but the backbutton is in shops config yml

junior musk
#

it is defined there, but it's used in the shops

#

there's an option that allows you to set the slot in which it'll appear

#

you have to remove that

#

smth like

goback:
  slot: 49
#

remove this from your shop files

west osprey
#

ohh

#

i removed it

#

but idk why its still there

junior musk
#

did you remove it from all shop files?

west osprey
#

no

#

only from the food one

junior musk
#

and it's still in the food shop?

#

idk what's wrong then

west osprey
junior musk
#

try asking on ShopGUI+'s support server

west osprey
#

mabby i should try to remove backbutton complety?

junior musk
#

idk

west osprey
#

like from config

junior musk
#

isn't that what caused the errors earlier?

west osprey
#

idk , mabby the problem was that i was just in creaTIVE

#

creative*

#

its removed now but

junior musk
#

oh nice

west osprey
#

now instead it being a barrier , its a star lmao

junior musk
#

wut

west osprey
#

and it isnt now in the middle , its in the corner

#

lol ik

#

gonna ask in they're discord

#

but

#

@junior musk ?

junior musk
#

?

west osprey
#

i also have a furniture resurse pack and you need optifine to see it but , im now wondering , how im gonna add that in the shop , like the furniture from a resurse pack

junior musk
#

I'm not sure if ShopGUI+ supports that

#

try asking them that as well

#

it does support custom items from resourcepacks made by other plugins like ItemsAdder and Oraxen

#

though if you made your resource pack without any plugin, idk you can add those items in there

west osprey
#

oh okay

stoic cave
#

Im trying to add some placeholders with my plugin using an internal class. Ingame, when I do /papi list the expansion is there. But %tempbooster% does not work for example, it only displays %tempbooster% back.

@Override
public String onRequest(OfflinePlayer player, String params) {
if(params.equalsIgnoreCase("tempbooster")){
return "hello";
}

    if(params.equalsIgnoreCase("boostertime")){
        return plugin.getConfig().getString("placeholders.placeholder1", "default1");
    }

    if(params.equalsIgnoreCase("booster")) {
        return plugin.getConfig().getString("placeholders.placeholder2", "default2");
    }

    return null; // Placeholder is unknown by the Expansion
}
junior musk
#

the syntax is %<identifier>_<params>%

stoic cave
#

ohhhhh

#

thank you so so much

#

i was going crazy

#

let me try that and ill get back to you

junior musk
stoic cave
#

it works thanks

west osprey
#

@junior musk oh yeah also

#

i have a gemecconomy plugin but idk how do you put it in the board

#

like i have already puted it in there but it doesnt work like with the /papi ecloud dowload and stuff

junior musk
#

use the vault placeholders

#

%vault_eco_balance_formatted%

west osprey
#

but

#

thats for just coins

#

but ig i can try

#

doesn't work

#

its the same like coins

junior musk
#

it has %gemseconomy_balance_default_formatted%
and %gemseconomy_balance_<currency plural or singular>_formatted%

junior musk
#

/papi ecloud download GemsEconomy
/papi reload

west osprey
#

i already did that , that didn't work

junior musk
#

explain "didn't work"

west osprey
#

like nothing changed

junior musk
#

did you use the placeholders I mentioned?

west osprey
#

yes

junior musk
#

where?

west osprey
#

in simplescore config

junior musk
#

send your config

#

and send a screenshot of the scoreboard

west osprey
junior musk
#

now send a screen of your scoreboard in game

west osprey
#

i can't

#

im using snipping tool

#

leme try screenshoting in mc

junior musk
#

that's exactly what I'm asking for xD

west osprey
junior musk
#

/papi dump
send the link it gives you in chat

west osprey
#

thats a new one

junior musk
#

/papi parse me %gemseconomy_balance_default_formatted%

west osprey
junior musk
#

show console

west osprey
junior musk
#

the default balance is null, somehow

west osprey
#

hmmm

junior musk
#

did you configure the plugin correctly?

west osprey
#

yeah?

junior musk
#

idk then

west osprey
#

;/

junior musk
#

that didn't even answer any of my questions

west osprey
#

" yes " 👍

stoic cave
#

Hello, my plugin made placeholders seem to be heavily unoptimized and are taking up massive CPU. How would I go about fixing this?

vivid sparrow
#

Cache the data, lower the refresh rate - this depends on the plugin were the placeholders are used, e.g. scoreboard - etc.

stoic cave
#

im unsure on how to do that im quite a novice. Are there any resources I can read up on

#

Okay I lowered the refresh rate, how would I go about caching the data?

west osprey
#

hey tanguy?

#

i need help with something

mint fable
oblique glade
#

Hello, I have Papi on my server, I have the expansions that are needed for my server, however even after doing /papi reload, the placeholders don't work, they only work when doing /papi register.
is there a way where I don't need to do /papi register [expansion]

junior musk
#

do you get an error in console after /papi reload?

stuck dirge
#

question

#

is it possible to make a place holder api config for a placeholder

junior musk
#

it is

#

PlaceholderAPI allows expansions to add some options into PAPI's own config (under the expansions section)

#

though you can load your own config file as well if you prefer

junior musk
#

?

blissful mango
junior musk
#

what's the issue?

blissful mango
#

i press the build button(all of them)
always 1kb (it's gravle)

junior musk
#

and how's that an issue?

blissful mango
#

the real expansion is 4mb

junior musk
#

ah

#

indeed, there's an issue

#

lol

blissful mango
#

no way

junior musk
#

did you do a simple build or a shadowJar?

blissful mango
#

both of them

junior musk
#

are you building the main package or one of the sub packages? could be a reason why

junior musk
blissful mango
#

it's the main package

junior musk
#

no idea what's wrong

blissful mango
#

i try copying all classes to new expasnion file
mybe thats work

junior musk
#

you'll have to wait for someone else to answer

blissful mango
#

thank for your time sir
you are great

junior musk
#

I didn't do anything ;-;

stuck dirge
#

i keep getting

[01:15:02 ERROR]: [PlaceholderAPI] Failed to load expansion rankplaceholder-1.0-SNAPSHOT.jar, as it does not have a class which extends PlaceholderExpansion

#

i dont know how to fix this

#

i fixed it

#

alright it works

#

but the place holders wont send

bronze shell
#

Hello beautiful people!
For a custom hud, i'm using a placeholder that does not exist at all time. but in order to avoid any error from Happyhud, i'd like to replace non-existing placeholder into a value, like 0

#

So like :

  • if placeholder does not exist, return value 0
  • if placeholder exist, output correct value
#

ive done something similar using utils but it was not with a non-existing placeholder, so i'm not sure if that's possible?

stuck dirge
bronze shell
#

i did %changeoutput_equals_input:{mythic_var_shieldstacks}_matcher:UNDEFINED_ifmatch:0_else:{mythic_var_shieldstacks}% guessing "UNDEFINED" could be the output value if a placeholder does not exist, but of course it's not working

junior musk
#

if doesn't work, it returns itself

#

I have a way in mind that could maybe work

#

try {ascii_37}mythic_var_shieldstacks_{ascii_37} in the matcher

bronze shell
#

the fuck is this witchcraft

#

lemme try

junior musk
#

lol

#

don't forget to download the ascii expansion

bronze shell
#

ah!

#

what does it do basically?

#

the ascii37 thing

junior musk
#

what it does is basically check if the placeholder is equal to %mythic_var_shieldstacks% literally

#

37 is the ascii number for %

junior musk
bronze shell
#

but wouldn't that break since the placeholder does not exists?

junior musk
#

nah it's fine, because you use that in the matcher, so it checks if the input is equal to the plain text placeholder

#

because when a placeholder doesn't exist, it just returns itself

#

and you can't use % directly inside the placeholder because it'd break the PAPI syntax

bronze shell
#

ohh i see

#

so like %changeoutput_equals_input:{mythic_var_shieldstacks}_matcher:{ascii_37}mythic_var_shieldstacks{ascii_37}_ifmatch:0_else:{mythic_var_shieldstacks}%, right?

junior musk
#

yup

bronze shell
#

nope, same error

#

:(

junior musk
#

what error?

bronze shell
#

Caused by: java.lang.NullPointerException: Cannot invoke "Object.toString()" because the return value of "io.lumine.mythic.core.skills.variables.VariableRegistry.get(String)" is null

junior musk
#

oh

#

I thought the placeholder didn't exist

bronze shell
#

ohhhhhhh

junior musk
#

but it does exist, just the variable doesn't exist in the mythic plugin

bronze shell
#

it does but it doesnt have value then?

junior musk
#

yeah

bronze shell
#

ahhh yeahhh

#

shit

junior musk
#

can't you set a default value?

#

well either way I have another idea LOL

#

I added a trycatch placeholder in my Utils expansion, that allows you to display a placeholder, or display something else if it throws an error XD

bronze shell
#

utils saves the day once again

#

i think that would be a better idea than to set a default value because i fear it could mess with other function of mythicmobs (where the varialbe is from)

junior musk
#

%utils_trycatch:0_{mythic_var_shieldstacks}

#

I think that's the syntax

#

I forgot 😅

junior musk
#

this is just a hacky solution in case you have no other way

bronze shell
#

ye

bronze shell
#

/papi parse me %utils_trycatch:0_{mythic_var_shieldstacks}% i did it like this and it returns me 0

junior musk
#

ye

#

you can change it ofc

bronze shell
#

alright nice, this is the solution then

#

so then the changeoutput placeholder is not needed right

junior musk
#

yeah

bronze shell
#

it works! however the output when the variable exists is returned with %value%

#

lol

#

i guess i can remove the % with string expansion

austere hawk
#

PandeLootPlus

bronze shell
#

ooooo perfect

#

thank you so much once again 🙇‍♀️ this gonna be so useful

radiant notch
#

Still wont work for some reason

deep hollow
#

Hey, anyone knows how to use %server_time_<SimpleDateFormat>% (SimpleDateFormat) but in spanish? I've to change language through startup flag or?

junior musk
junior musk
deep hollow
junior musk
#

I honestly have no idea

deep hollow
#

haha don't worry ty anyway

radiant notch
junior musk
#

ah alr

vivid sparrow
#

Although I wonder if one exists if it will also translate errors and stuff kek

stuck dirge
#

Can place holders be dynamic like the place holder would only be shown to you like a select version of people will see hello in 1.16 and newer versions would see hi

dense trail
#

me again with the difficult placeholders

#

HOw can i make it where I have a placeholder e.g. %placeholder% which returns hello#1234 and the final placeholder returns just hello since it would strip the last 5 characters off

wet basinBOT
#

@junior musk Unknown expansion.

junior musk
#

%utils_parse_string_substring_0,{string_length_{placeholder}}_{placeholder}%

dense trail
#

that didn't work

dense trail
#

doesn't work either

junior musk
#

did you download the String expansion?

#

/papi parse me %string_length_{discordutils_discord}% %discordutils_discord%

#

and /papi parse me %utils_parse_string_substring_0,{string_length_{discordutils_discord}}_{discordutils_discord}%

fleet linden
#

how to fix this why didn't work

fleet linden
#

'2':
material: Paper
slot: 1
amount: 1
display_name: '&aAvailable'
check_update: true
priority: 0
view_requirement:
has_grave:
type: '>='
input: "%angelchest_isactive_<ID>%"
output: "1"
left_click_commands:
- "[player] actp 1"
- "[regresh]"
'no':
material: Paper
slot: 1
amount: 1
display_name: '&anoAvailable'
lore:
- "dddddd"
priority: 1

zealous sigil
#

doing a menu with deluxe menus i have a problem with the material i want to place custom head like a texture i place
material: texture-<739ee7154979b3f87735a1c8ac087814b7928d0576a2695ba01ed61631942045>
but not works i need help

#

or with basehead also i cant do works it

sharp bloom
muted gulch
#

Is there a placeholder to countdown to a specific time of every day, and then just start over the next day?

#

I have this: %server_countdown_dd/MM/yyyy HH_{server_time_dd/MM/yyyy} 24% but, I need it to countdown to 2 am everyday, and if I do %server_countdown_dd/MM/yyyy HH_{server_time_dd/MM/yyyy} 2:00% it just returns 0. The syntax is confusing me a lot.

#

Ideally, I have basically a 24 hour countdown that BEGINS everyday at 2 AM. So that people can see when it should hit that same hour the next day, no matter if it's the current day or the next day.

#

I restart my server everyday at 2 AM, and want users to be able to see a countdown in the menu to when it will restart.

vapid canyon
#

Online: &f%online%&8/&f%maxplayers%

bronze shell
#

Hey, im searching for a placeholder that check if a shield held by a player is in its cooldown state or not. i searched a bit on the github but didnt find anything of the sort

#

any idea how i could get something like that?

#

item on cooldown where you can specify the material type (so, shield) could also work

junior musk
#

there's no placeholder like that atm

bronze shell
#

aw unfortunate

tiny cairn
#

i wanted to create an account and i joined this server because Registration is currently locked. If you feel it is necessary to create an account, please join our discord and get in touch with us. How can i get in touch with the team?

junior musk
#

Send a DM to funnycube with your username and he'll create an account for you

deep hollow
tender vaporBOT
dapper mauve
#

also if someone needs a custom placeholder made for some purpose, let me know cause im looking for suggestions at my upcoming expansions!

dapper mauve
#

ty

muted gulch
dapper mauve
sullen latch
#

Hello everyone, we have currently 3 différents minecraft servers that are reporting for an security vulnérability in PAPI. I have multiple log files and downloaded PAPI extensions on my computer i will be happy to share it with the developper of PAPI to solve this security issue.

sullen latch
#

@frigid lake

#

it seem to be comming mostly from goopi and from multiple other papi extensions

#

The vulnérabilities seem to come from the Minepacks, Groopi and Fetch extensions

#

because the functionalities seem to be wanted by the developper of theses plugins

#

I highly recommend to either kick theses plugins from the Papi expansion list or made them only downloadable from the server only

bronze shell
# junior musk Send a DM to funnycube with your username and he'll create an account for you

Maybe you could have some placeholder shenanigan idea of how i could achieve what i want, so lemme explain my situation :
i made a shield system where the shield has a "max duration" in which you can hold shield. if for example the max duration is 10 seconds, as soon as you held the shield for 10 seconds, the shield goes into cooldown state and you cannot shield anymore

#

if you stop shielding at 7sec, wait a bit, and start shielding again, you don't start from 0sec but you instead continue where you were, so at 7sec

#

If you wait enough time, the shield duration gauge goes down by itself, so you regain progressively your 10sec max

#

So tl;dr : it's working exactly like zelda botw/totk stamina bar, or elden ring buff/debuff bar

#

now, i have an HUD with two listener, one being the max duration and one being the current duration spent

#

i wanted to make the hud turn red once the current duration reach the same value as the max duration, so far easy peasy

#

but because even after reaching max stacks you can still regain your duration, the gauge goes down while you're out of shield, and because of that the hud is not red anymore

#

dunno if im clear

#

so yeah basically i wanted to be sure the hud stays red when shield is in cooldown because max duration was reached

#

knowing that the cooldown of the shield can depend from one shield to another

#

if you have any idea, lmk! i might have another idea that has nothing to do with placeholders, so ill see that myself in the meantime

bleak trail
#

Hello, is placeholderapi work for bungeecord ?

#

I mean, can i put papi.jar on my bungeecord plugins ?

#

(Waterfall)

vivid sparrow
#

no

balmy marten
#

And we are continuing to monitor

sullen latch
#

Can you please explain what are the measures

sharp bloom
balmy marten
#

The affected expansion(s)/versions have been purged from our servers and cache.

stuck dirge
#

is there a way to make the prefixes client side

#

what i mean is

#

not to make a place holder

#

per player

timid fox
#

There is no way dude

mint fable
#

to me it looks like you purposefully tried to implement a back door.

After having originally told you that retrieving and setting config values should NOT be done with something via an expansion, you went ahead and pushed a fake 1.0.5 version, then 1.0.6 version with the "backdoor", then pushed 1.0.7 to clean it up

#

Any reason we should keep your account and expansion on the ecloud?

mint fable
junior musk
junior musk
#

I knew from the first time they asked Gaby to verify the expending with their other account (if it's not the same account, but the msgs were deleted) that they had something sketchy planned with that config placeholder

sharp jay
#

So messages were deleted time to find them 🙂

mint fable
#

because i saw 2 commits on the github, but 3 updates

#

smh

#

🤦‍♂️

sharp jay
#

seems like it was another account logs aint showing up

junior musk
#

I assumed it was someone else because they talked about the original owner abandoning the plugin/expansion or smth and thought they'd been banned (explaining the deleted msgs) but kept my suspicions because they still had that config placeholder, though the github account didn't seem to be the same

muted gulch
#

When I went to the github they linked earlier it said the latest updates were by Osama Bin Laden.

#

I know that doesn't help

#

just thought it was interesting 🙂

mint fable
#

lol i just said the same thing

#

it's all so weird @muted gulch

#

because those commits aren't even the issue

muted gulch
#

I kinda got bad vibes from'em tbh

dapper mauve
#

Lmao

#

Honestly so funny i pwn papi for like 5th time

#

Idk why yall so mad about it when it only works when people cant setup permissions correctly

sharp jay
#

Bye!

muted gulch
#

What a clown…