#placeholder-api
150650 messages · Page 121 of 151
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?
try to redownload PlaceholderAPI
Should I delete my current configs and such too?
nah, only the jar file
Still gives out the same error
then maybe it's from one of your expansions, try deleting your plugins/PlaceholderAPI/expansions folder and redownloading them
Is there a channel for a support ticket or help with specific extensions now loading?
Placeholder expansion info for: player
Status: Registered
Author: Dutchwilco
Version: 1.0
send papi dump again
https://api.extendedclip.com/expansions/player/ is this the right place to download from?
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
[08:07:08] [Server thread/INFO]: [AnimaBossBar] This BossBar Plugin is made by: Dutchwilco Version 4.2
oh
yeet it and find a better bossbar plugin like TAB
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
epic
Well
use its bossbar feature
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
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
i didnt explain anythin what?
Sorry, that was aimed at some weirdo blabbering about "explaining new forms of oppression"
They removed his message lol
uhh i have read it but i got no clue how to make it tbh 💀 I wanne make a placeholder called %koth_current_time_left% and %koth_current_king% help pls 🙂
#1158296183303843890 #1158296181005365248 if you want somebody to make it for you @rugged walrus
Please refrain from pinging
alr thanks
How could i display a placeholder for kills/deaths in a specific region
.
You would need a custom expansion/plugin to track that for you
Not 100% sure what you mean
are you looking to develop an expansion for an events plugin you have?
https://pastebin.com/7Dysqb7L pvp stats problem , any idea why?
what placeholer are you trying to use @solar swift
looks like maybe a javascript placeholder is being parsed a LOT, they generally create lag and should be used sparingly, trying to avoid it really
kills from pvpstats
what exact placeholder @solar swift
no
no
I think yes but need to change number of top kill
I have latest
if that doesn't fix it, try reaching out to the pvpstats discord
2.11.4
o shoot true
fixed,there was \, i didnt saw this and when trying paste other placeholder found it
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?
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
you could use deluxemenus meta to store a value like that
a lot of info here https://www.spigotmc.org/resources/deluxemenus.11734/update?update=333346
and you can use /dm execute <player> <action> as well
.
Hi im trying to make a countdown every day at 05h00 AM is it possible ?
wdym
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
What did you try to do for change output @woven edge
%changeoutput_equals_{premiumvanish_isvanished}_Yes_[TEST]_&7%
i see that now my bad, thank you
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?
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
Thank's!
I dit it!
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
[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?
@shrewd plinth update papi
its the last version
issue resolved some plugin was interfering with papi expansion player
Hi, how can i achive smthng like this: Max(13,25,15) - result is 25?
Same for the minimal values...
You can use the math expansion @austere hawk
It has MAX functions
It’s EvalEx expressions
Can u give an example pls?
thx very much
no prob
%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
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?
update TAB
those msgs were removed
they weren't 100% accurate (especially if you're using TAB on Bungee)
ahhh okay, thank you Tanguy ^^
first person that calls me by my actual name and not Tan or Tangu or whatever
I feel honored
XD
xD I'll do
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?
/papi dump
which is a good paste service for it?
?paste
alr how i put my latest log in that thing how do I send it here now?
alr
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
oww I do need the armor expansion on my server tho so hopefully its fixed when i redownload it
yeah try redownloading then
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?
i guess u can use a temp permission from luckperms? /lp user <user> permission settemp <permission> true 1h and then make a small skript?
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
doesn't seem related to papi imo
ym
skript cant be downloaeded by command
/papi ecloud download skript its not working
has to be downloaded manually
[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?
update player expansion maybe?
how
run those commands
Where can i download vault 1.8.1?
Hi
In my sever before my nane and rank this is coming
%cyl_player_level%
How to fix it?
whats the placeholder for ranks to show on the scoreboard
so ppl cann see their ranks?
@sharp bloom may you help
heeeeeeeeeeeeeeeeeeeeeeeeeeeellllllllllp
which one is better?
try and see which one u like the most
what plugin do i need for it?
for example for eco_balance i need vault
which one do i need?
yeap these are from the vault expansion
okay
./papi ecloud download vault
what command ;-;
/\
help please
https://paste.helpch.at/fumayuwoza.rb
is there a placeholder for how many times a player entered the server?
server expansion %server_unique_joins%
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 🙂
use SimpleDateFormat %server_time_<SDF>%
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/text/SimpleDateFormat.html
set use_quick_js to true in the papi config
what version of the javascript expansion are u running?
might need to download 2.1.2 https://api.extendedclip.com/expansions/javascript/
what plugin i need to do /api? i thought that you needed placeholder api but ig not
Thanks 🙂
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
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}%
Oh but shortcut is inside Utils expansion?
like in papi config, like that?
utils:
shortcuts:
mina: "%ukoth_{Mina}_timeleft%"
next: "%ukoth_{Mina}_scheduler_next_time%"```
or you mean utils + shortcut expansion?
yeah
well you can use the Shortcut expansion as well
but I added shortcuts to utils recently
use whichever you prefer
Any idea why my placeholders dont work? even when i do parse it doesnt work, but the plugin is working
/papi dump
its not returning anything for dump
does it not give you a link in chat?
does /papi do anything?
yes, it shows help stuff
what about /papi list ?
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
wdym?
do the command and send a screen
[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]
the economy plugin was found
cant send ss heree
oh even the statistics also doesnt work
check your PlaceholderAPI/expansions folder
[13:49:07 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[13:49:07 INFO]: [PlaceholderAPI] Fetching available expansion information...
doesnt say successful, stuck on this
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?
ello everyone
what kind of plugin you needed to do /api? i thought that u needed placeholder api but looks like u dont
.
is there placeholders that will return keybinds?
I doubt it
i saw that before but can't find it
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
oh yes!
thanks i knew i saw it somewhere, and when you said components it reminds me of minimessage, and there it is
yeah MiniMessage can do that, and very easily too xD
you just need to find a plugin that supports it
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
yeah i was looking to have it in items lore
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
.
for the 3rd time
no
bruh
now yes
well like
it's a scoreboard plugin
yeah?
yes
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
you're looking for a placeholder
wydm
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%
you said you dont know what it is 😹
And the "api" you need to download, is statistic. We call those Expansions, it's like a group or folder of placeholders
looks like you know more then me
I said I didn't know what /api was
PlaceholderAPI
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
wow , you know alot about plugins
you could say so
same command but with player instead
then reload PlaceholderAPI, and use the placeholder I gave you
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
bro i want to ask so many questions but i also dont want to disturb you
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
ask the ones about placeholders here and the others in#general-plugins
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)
i have vault plugin , do you need something else for ecconomy?
try the parse command
what does it say in chat?
just Vault
wait
i needed to do this? /papi parse me Vault

use vault in the download command
abd use the placeholder (aka %vault_eco_balance%) in the parse command
Step 1:/papi ecloud download vault
Step 2: /papi reload
Step 3: /papi parse me %vault_eco_balance%
Step 4: Done
just %vault_eco_balance% , what i typed
have u installed the vault (plugin) - https://www.spigotmc.org/resources/vault.34315/
yes
can you send the link generated by /papi dump?
how
?paste
run the command and copy the link?
oh ye it does send a link :/
possible
i need a ecconomy plugin too? 💀
BRUH
well unless Minecraft adds money to the game, yeah, you need an economy plugin xD
like essentialsx for example
😔
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
alr
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
hole mole
do i actaly need to know allat?
no idea
sleep well
but if you want to know how it works, well I wrote it for you if you feel like reading it XD
ofc u have bypass!
me = god
lol
@tender vapor helpful role pls 😔
there's another placeholder for that, I think you have to add _formatted at the end of the one I gave you
i am very helpful 🙄
now
lol
deluxemenus
how dare u to say shopgui+ is better than deluxemenus :/
you don't deserve that helpful role anymore
!
ShopGUI+
alr
i do own ShopGUI+ and EcoShop but i still prefer deluxemenus 
im gonna go with shopGUI+
DeluxeMenus allows you to make menus, but you basically have to remake the ENTIRE logic of a shop plugin lol
so? 🙄

i heard that deluxemenus was good for smth but i forgot
literally everything
yeah i kinda need that as well , but that sounds hard
if you want a menu to redirect players to different servers of your network for example
Deluxemenus can do that
i always say when u have an issue u make a GUI 
it is, and very time consuming
i need to make like a npc , and when you click him , you can only buy that stuff from him , no one else
deluxemenus can do that 
yeah but it sounds hard lol
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
eehm
shopgui+ would have been even better if it had an ingame editor tbh
its been the same over yearss
yeahh.. i didn't understand a single word
make the npc execute shop <player> from console
./shop <player> what?
alr
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.
your localtime expansion is corrupted, redownload it
what's your NPC plugin?
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?
where did you find %username% and what is it supposed to do?
How To Download KillStats It Showing KillStats Is Not Verified You Have To Download Manually From link
citizens
/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
yeah it works but my plan was to make like a category from only 1 npc
like every npc had they're own category
how tho
add the shop name/category after <p> in your command
oh yeah also
oh and to remove the previous command from the NPC, use /npc command remove 0
can i remove the back button?
so people just can't go back to other category's from 1 npc
probably, check your shop's config
nop , doesn't looks like it
wot
?imgur
you can't post pictures
whats that?
what's what?
imgur
why did u sent me that
its just a site with gifs
btw , i think we gotta go talk in #general-plugins channel
it allows you to upload images as well
how
register and click your profile
or use another website idk, anything that allows you to upload images
https://imgur.com/a/mo5Gbuz like this? 🤷♂️
yup
it says that when i do /shop
does nothing appear in console when you do that?
same link
but there is new picture
oh
yeah
?startuplog
do that
whats a paste service , huh
?paste
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
Download it, then copy and paste.....?
can't do that too
Type it all out manually...into the paste site 😛
Then get a new host too.
what should i do then
Ask your host...
too much work
You're not going to get much support if you can't provide logs..
Sorry Tanguy. Stepping on your toes..
if you can download it, then you can copy paste the content on the paste website?
dw, I'm about to start my classes
like on imgur?
imagine paste.helpch.at is exactly like imgur, but for text and not images
should i just copy the log and paste it in there?
Yes...
i can't paste it there too 😭
What host?
sparked host
so you can upload files?
yeah i can dowload it and upload it here
soo , what should i do
@junior musk helpp
Do placeholderapi works on folia servers?
Folia support is being added, but not officially released yet
I can't really do anything without your logs
btw
i just waited few secconds and now shop is back
lol what
but now , instead the goback button is barrier , but its a star 🥲
so ig u can't remove the goback button
idk
idk, I don't have your config
https://imgur.com/wv6O7uL i need something like this
and what do you have rn?
is that the main shop or a shop category?
I'm about to board my train rn so gotta go for like 15 - 20min
main shop , i did all what you said
are you free now ? tanguy
did you do this?
yeah , i mean you told me that to do that
yeah
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?
i mean i can try again
Can you provide a date that it could be done?
I'm not part of the dev team so no xD
placeholder has error with interactive plugin i asked the dev he told me that problem is from placeholder
i use last placeholderapi update
yeah it's just my level xD
update the Player expansion
/papi ecloud download Player
/papi reload
do that
then what
then do this
still the same problem
send /papi dump
send the new error
no errors in chat
you said "still the same problem"
so you must have an error
but the when i run the command it says "unable to parse placeholder"
and does it throw an error in console?
nope
which command did you run?
doesn't work
do /npc command again
its [item] or /interactivechat chat [item]
this command should take the info from placeholderapi to work
what doesn't work exactly?
what happens when you click on the NPC ?
[item] isn't a PlaceholderAPI placeholder
that's an InteractiveChat placeholder
its says " please wait 0 minutes and 1 sec " i have waited for like 2 min already 💀
it didnt work cus i was just in creative lmao
bruh
send your shop config
how
?paste
copy paste the content on the website
O
it workeddd
or it didnt
idk
there was a button " upload to paste "
so i click that
and pasted it in
but does it work?
how what works?
I see your ShopGUI+ config yeah
good then
though I wanted your shops.yml file xD
soo , how could i remove the backbutton?
send your other file XD
the food one for example
but the backbutton is in shops config yml
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
yeah
try asking on ShopGUI+'s support server
mabby i should try to remove backbutton complety?
idk
like from config
isn't that what caused the errors earlier?
idk , mabby the problem was that i was just in creaTIVE
creative*
its removed now but
oh nice
now instead it being a barrier , its a star lmao
wut
and it isnt now in the middle , its in the corner
lol ik
gonna ask in they're discord
but
@junior musk ?
?
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
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
oh okay
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
}
the syntax is %<identifier>_<params>%
ohhhhh
thank you so so much
i was going crazy
let me try that and ill get back to you
it's on the wiki as well
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/PlaceholderExpansion#getidentifier
it works thanks
@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
but
thats for just coins
but ig i can try
doesn't work
its the same like coins
is it this plugin ? https://www.spigotmc.org/resources/gemseconomy.19655/
it has %gemseconomy_balance_default_formatted%
and %gemseconomy_balance_<currency plural or singular>_formatted%
yeah
/papi ecloud download GemsEconomy
/papi reload
i already did that , that didn't work
explain "didn't work"
like nothing changed
did you use the placeholders I mentioned?
yes
i used this one
where?
in simplescore config
now send a screen of your scoreboard in game
that's exactly what I'm asking for xD
/papi dump
send the link it gives you in chat
/papi parse me %gemseconomy_balance_default_formatted%
https://imgur.com/a/sNAKoz0 i did that and it says this
show console
the default balance is null, somehow
hmmm
did you configure the plugin correctly?
yeah?
idk then
;/
yes
that didn't even answer any of my questions
Hello, my plugin made placeholders seem to be heavily unoptimized and are taking up massive CPU. How would I go about fixing this?
Cache the data, lower the refresh rate - this depends on the plugin were the placeholders are used, e.g. scoreboard - etc.
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?
you store the information into memory instead of accessing it from the source every time the placeholder is called
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]
do you get an error in console after /papi reload?
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
of the wiki?
?
hi
i want to compile js expansion(https://github.com/PlaceholderAPI/Javascript-Expansion) but it's 1kb all the time
what should i do
what's the issue?
i press the build button(all of them)
always 1kb (it's gravle)
and how's that an issue?
the real expansion is 4mb
no way
did you do a simple build or a shadowJar?
both of them
are you building the main package or one of the sub packages? could be a reason why

it's the main package
no idea what's wrong
i try copying all classes to new expasnion file
mybe thats work
you'll have to wait for someone else to answer
thank for your time sir
you are great
I didn't do anything ;-;
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
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?
ill move to development
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
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
what it does is basically check if the placeholder is equal to %mythic_var_shieldstacks% literally
37 is the ascii number for %
oh btw I added a _ by mistake at the end
but wouldn't that break since the placeholder does not exists?
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
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?
yup
what error?
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
ohhhhhhh
but it does exist, just the variable doesn't exist in the mythic plugin
it does but it doesnt have value then?
yeah
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
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)
it would, yes
this is just a hacky solution in case you have no other way
ye
that would return 0 if the placeholder does not exist, correct?
/papi parse me %utils_trycatch:0_{mythic_var_shieldstacks}% i did it like this and it returns me 0
alright nice, this is the solution then
so then the changeoutput placeholder is not needed right
yeah
it works! however the output when the variable exists is returned with %value%
lol
i guess i can remove the % with string expansion
PandeLootPlus
oh f
remove the {}
Yep tried that aswell, deleted the config too
Still wont work for some reason
Hey, anyone knows how to use %server_time_<SimpleDateFormat>% (SimpleDateFormat) but in spanish? I've to change language through startup flag or?
did you try to delete the expansions folder too?
it depends on the server's language
But I set -Duser.timezone="Europe/Madrid" flag and still showing it on english
I honestly have no idea
haha don't worry ty anyway
Found the issue, it was one of my custom plugins messing with papi
ah alr
This is for the timezone though, in case you want a different one than your server's default, look for a flag for locale / language
Although I wonder if one exists if it will also translate errors and stuff 
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
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
@junior musk Unknown expansion.
%utils_parse_string_substring_0,{string_length_{placeholder}}_{placeholder}%
that didn't work
tried this
/papi parse me %formatter_text_replace_{discordutils_discord}_#0123456789_{discordutils_discord}%
doesn't work either
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}%
how to fix this why didn't work
'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
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
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.
Online: &f%online%&8/&f%maxplayers%
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
there's no placeholder like that atm
aw unfortunate
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?
Send a DM to funnycube with your username and he'll create an account for you
Will try one for locale, thanks Gaby 😄
https://api.extendedclip.com/expansions/minepacks/ https://github.com/Zoon20XX/Minepacks-expansion could my expansion get reverified?
also if someone needs a custom placeholder made for some purpose, let me know cause im looking for suggestions at my upcoming expansions!
done
ty
I have one, can it be anything?
yes
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.
@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
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
Hello, is placeholderapi work for bungeecord ?
I mean, can i put papi.jar on my bungeecord plugins ?
(Waterfall)
no
We have already taken measures to prevent this.
And we are continuing to monitor
Multiple servers were hacked the last because of theses
Can you please explain what are the measures

The affected expansion(s)/versions have been purged from our servers and cache.
is there a way to make the prefixes client side
what i mean is
not to make a place holder
per player
There is no way dude
What in the world is 1.0.6 doing on the ecloud?
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?
Will be monitoring expansion uploads and verifications a lot closer now, as I see exactly what happened for the minepacks expansion...
I get what you want, but at that point you need a plugin, not a placeholder😅
wait they kept it? I only looked at the github repo because I was on phone and thought that they had finally seen the light
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
thanks for linking this
So messages were deleted time to find them 🙂
ya, I honestly knew it was looking fishy seeing v1.0.6 but I didn't look into it
because i saw 2 commits on the github, but 3 updates
smh
🤦♂️
seems like it was another account logs aint showing up
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
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 🙂
lol i just said the same thing
it's all so weird @muted gulch
because those commits aren't even the issue
I kinda got bad vibes from'em tbh
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
Bye!
What a clown…

