#placeholder-api
150650 messages · Page 37 of 151
https://i.imgur.com/GY3fzPe.png Then this lies 😛
it does not. it used to be. idk what happened
thien updated it or something?
Lol, okay I know it used to work. That's why I mentioned to try it. As i suspected it still did. Obviously it needs to be updated then
i kinda removed the expansion from ecloud and then added it back
There were a lot of versions that are conflicted, so I wanted a clean version
Hello I have issue with server server placeholders. So, if I'm not restarting server about 24 hour the it show 1 day 25 hours 10 minutes 39 seconds, so 25 hours will be 1 hour because it added 1 day, how to fix that problem?
I use server ecloud
%server_uptime%
For example https://imgur.com/6xByqJQ
Has you updated placeholderapi to a dev build?
Does anyone know the correct placeholder for bungee server
vvvvv
For a server selector it shows server, but it is showing 0/0 , why it is not recognizing that server max slots?
Is there a placeholder to put the players latest messages so then you can add it as a name tag above their name
@shell coyote
@kindred wigeon nope I recommend looking into a custom JS placeholder you can request one in #805698757411995648 or #805698761442590730
Do you know how to solve this problem? @fervent spire
Bump.
if you format it yourself using the javascript expansion
Does anybody know why this doesn't work?
%math_([precision:0]({quests_category:mining_completed}/9)*100)%
do /papi parse me %quests_category:mining_completed% what does it return?
0
and what does /papi parse me %math_([precision:0]({quests_category:mining_completed}/9)*100)% return ?
the placeholder itself
have you downloaded the Math expansion? /papi ecloud download math then /papi reload
Yep
can you try something simple like /papi parse me %math_1+2%
yep that works (returned 3.000)
oh ok then lets try something else
/papi parse me %math_[precision:0]({quests_category:mining_completed}/9)*100%
returns the placeholder
if this doesn't work then try this: /papi parse me %math_[precision:0](1/9)*100%
also returns the placeholder
returns the placeholder
i'm on 2.10.9
try /papi parse me %math_[precision:0]2+1%
Returns the placeholder again
and now /papi parse me %math_2+1%
3.000
There is no expansion loaded with the identifier: Match
Wait am I missing something then?
Match
oh sorry
misspleing
Status: Registered
Author: Andre_601
Version: 1.2.0
Uhhh I can't send images but it works I guess?
@gaunt cargo,
probably not
like I'm very confused. it works for me
can you try one more thing? /papi parse me %math_(({quests_category:mining_completed}/9)*100)% ?
0.000
ok last thing
/papi parse me %math_([precision:1]({quests_category:mining_completed}/9)*100)%
returns placeholder
hmm so it seems like [precision:x] is broken. what's your server Java version?
yep, if i downgrade a version it works
do you know that?
hmm it might be the java version then maybe. idk for sure
I'll just use the downgraded version for now
Thanks for the help though
no prob
He has change it in last version, check #ecloud-updates 😛
ohhh @gaunt cargo download latest and use this: /papi parse me %math_0:_({quests_category:mining_completed}/9)*100%
is there a updated version for https://www.spigotmc.org/resources/team-color-placeholder-extension.74959/ ?
because i want to have teams prefix as a placeholder
what's wrong with that one?
it dont work with 1.16
you tried it?
yes
there isn't a more updated one. Maybe there's another one. I think there's one called Scoreboard Objectives or something like that
maybe you can use that one
seems like its missing a plugin or something
idk what Vannillanames is but its missing that class that's why it doesn't work
idk i downloaded https://www.spigotmc.org/resources/team-color-placeholder-extension.74959/ and put i in my plugins folder
oh wait ...
yeah
you have to put it in plugins/PLACEHOLDERAPI/expansions
not in the plugins folder
no problem
thanks
yep
i checked all plugins configs
and nothing with mining blocks did not found
its like randomly, if i mine cobblestone i get +3, if sand +2, if clay +1
wtf
so exciting
AdvancedEnchantments, Jobs, one of your ultimate plugins or something is my guess
try removing the jars and running the server without those plugins
and just keep removing some plugins till it works then you will have found the issue 
Is the javascript expansion no longer downloadable? I did /papi ecloud download Javascript and it says that it has failed to find the expansion.
hey all, does anyone know if paper breaks placeholder api on mc 1.12.2? used to run spigot and it worked fine and not I am getting a ClassNotFoundException
try manually downloading it off the ecloud
my ecloud downloads keep reseting and i dont know why
First of all. Don't use plug man. Second. Whatever that expansion is, it's old and outdate
me.chemmic.Main
This one. Whoever made it forgot to use actual good names so Idk which one it is
[Fri, 5. Feb 2021 15:38:22 UTC WARN] Plugin PlaceholderAPI v2.10.9 generated an exception while executing task 8809 Has anyone seemed to have this error recently?
pls
[10:55:55 INFO]: [PlaceholderAPI] Successfully registered expansion: tab [10:55:55 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing... My server is not starting up, have tried restarting 3 times, this is where it keeps stopping at.
I open 3000 port for bungee and 3001-3005 port for my serveral paper server. I try to use Pinger to show if the server is online but it doesn't work on 3001-3005 port
It just work on 3000 port which is my bungee
Does anyone at all have any single idea why this returns 0
/papi parse me %bungee_total%
Is it just me or the repo of extendedclip (repo.extendedclip.com) is kinda slow...?
thank you, i updated server placeholders to latest( 2.40) and it fixed
Hey I am trying /papi ecloud download KillStats and when i do /papi reload it says "no expansions registered!"
me no understando >:(
helo?
hello?
what is in plugins/PlaceholderAPI/Expansions folder?
some expansions break papi's expansion loader, that's happened to me before 🤷
hi i have a problem i use vote party but the placeholder is nnot working for feahterboard
@austere hawk,
?spigot @austere hawk
@silver minnow i ytry to connect but isnt work
oh ic
iirc featureboard uses mvdw placeholders, and I think you have to do like {papi_placeholder_here} or something like that
@silver minnow it dosnt work
if you have the latest version of math then [precision:0] was removed
use %math_0:_{premiumvanish_playercount}-1%
@bold mesa
btw latest is 1.2.0. you can check by doing /papi info Math
Boost
do you even have the KillStats plugin installed?
that expansion only works with the plugin installed: https://dev.bukkit.org/projects/killstats-v1-0
Sad
well I mean if you want couple killstats the Statistic expansion offers them. just do /papi ecloud download Statistic then /papi reload and you can use %statistic_player_kills% for kills and %statistic_deaths% for deaths
if you also want top kills and deaths you'll have to use LeaderHeads to make the leaderboards
have you tried doing /papi parse me %premiumvanish_playercount% ?
to see if its not 0?
because if that is 0 it will return -1
Theres a new free alternative now btw
@lilac oxide,
o ok then. is it as good tho? XD
I think it is
But I'm bias since the dev is cool and I talk to him a bit
It doesn't have all the hooks lh does, but its free soo
I open 3000 port for bungee and 3001-3005 port for my serveral paper server. I try to use Pinger to show if the server is online but it doesn't work on 3001-3005 port
It just work on 3000 port which is my bungee
I've noticed that registration is closed, so I came here. What's the process to get an account?
feel free to ping me, I'm pretty bad at keeping up with discord notifications
you have to contact funnycube#0001 when he's online and ask him to make you one.
coolio. Does my base plugin have to be on spigot/bukkitdev/etc, or can I upload something to the ecloud without it being released?
ugh idk. you'll have to discuss that with him.
also did you know that you can include the expansions inside your plugin?
yeah, but the wiki mentioned that being a bad idea
Am I allowed to post links?
Since it would be weird (and also make no real sense) to have this inside your plugin, we assume you make a separate jar-file as an expansion.
Unless I've misinterpreted the page, which is a possibility. This is my first time working with PAPI
oh that's just missunderstanding xD
that is an expansion that doesn't need a plugin
like the Statistic ones for example
ah ok
there's 2 types of expansions
Without an external plugin
With external plugin```
and those with external plugins
are 2 types as well
Ah ok I see
in external jar or internal
So it's a good idea to put the class in my plugin itself?
in my opinion its a lot better since it improves the user experience
only thing that differs between internal and external
Right. Then users don't have to do anything but /reload?
well /papi ecloud download ENAME then /papi reload and believe me the times we get people that don't even know that.
its a lot.
ah ok the plugin provides a local file to e'cloud'
I mean external jar is just a class that is put in another folder. its just the same
but with more steps
looked at the wiki, is this the new method?
public boolean persist(){
return true;
}```
right
yeah
thank you very much for the help. Is there any benifit to registering my plugin in eCloud after I add the internal extension?
you can't. only external expansions are for the ecloud and that is just to make it easier for people to install external expansions
cool. If you don't mind me asking, how is it that essentialsX etc have an ecloud option but no external expansion?
they have an external expansion only. they don't have internal
that's why they have an ecloud option
Ah ok. I'm having a little bit of trouble understanding it, but I'm starting to
Is it a way to fix soo %server_online% only show online players? In discordsvr it include even vanish players. Ingame in tab it work fine, but not when run /papi parse me %server_online%
well vanished players are online xD. So it works.
server_online its not suppose to hide vanished players. you can use math to subtract the vanished players if there is a placeholder for that
Yea, but the strange is it work in tab (i guess it you some math as you say). As more trouble to get discordsrv to accept some placeholders.
yea when you parse %server_online% true my vanish plugin it remove vanish players and show only players some are "online".
Has no placeholders for show numbers of vanish players :/
Do I have to make a js for this soo it run true my vanish plugin somehow?
what's your vanish plugin?
cmi, but i find one placeholder, but not work in discordsrv. So if discordsrv support js placeholders maybe if it can read %cmi_server_online% placeholders.
if DiscordSRV supports PlaceholderAPI, then it must support CMI's placeholders
No not one for vanish has only %cmi_user_vanished_symbol% , but i find %cmi_server_online% . perhaps need server restart for it shall show numbers, work with papi parse at least.
It say # PlaceholderAPI placeholders are also supported. will see if it will work with restart later 🙂
if it works with the parse command, then it's a problem with DiscordSRV I guess
yea, and talk to discordsrv is somthing i will avoid :/ (they always get on my nerves).
well rip
yes 3 things are likely to happen when I ask. Either no answer, answer in riddles or say it's cmi´s fault (or even papi is to blame).
with the 'Server' package, with %server_time_<SimpleDateFormat>% what would the simpledateformat bit be?
had an idea it would be that, tyty!
you have 2 copies of the expansions. go to plugins/placeholderapi/expansions and delete the bungeecord expansions then just do /papi eclou download Bungee /papi reload
kk
org.bukkit.plugin.messaging.ChannelNotRegisteredException: Attempted to send a plugin message through the unregistered channel `BungeeCord'.
at org.bukkit.plugin.messaging.StandardMessenger.validatePluginMessage(StandardMessenger.java:482) ~[server.jar:git-TacoSpigot-fd3209f3]
at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.sendPluginMessage(CraftPlayer.java:1187) ~[server.jar:git-TacoSpigot-fd3209f3]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.getPlayers(BungeeCordExpansion.java:120) ~[?:?]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.access$200(BungeeCordExpansion.java:45) ~[?:?]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion$1.run(BungeeCordExpansion.java:207) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59) ~[server.jar:git-TacoSpigot-fd3209f3]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:349) [server.jar:git-TacoSpigot-fd3209f3]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:863) [server.jar:git-TacoSpigot-fd3209f3]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:462) [server.jar:git-TacoSpigot-fd3209f3]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:786) [server.jar:git-TacoSpigot-fd3209f3]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:680) [server.jar:git-TacoSpigot-fd3209f3]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275]```
Heyo, Does anyone know how to fix this error
go to plugins/PlaceholderAPI/expansiosn and download all the BungeeCord jars you find in there
then do /papi ecloud download BUngee and /papi reload again
Any idea how to fix this?
[WARNING] [PlaceholderAPI] factions is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
It is causing some of my factions placeholders like relation colors to no longer work after I updated. My server is on 1.14.4
contact the developer of Factions
Why ranks with RGB format are not showing corretly in Scoreboard Placeholder?
scoreboard placeholder?
not much to go off there, but probably ur scoreboard doesnt support hex colours
Has anyone calculated the performance impact of papi?
As rn I have 2 placeholders being parsed 20 times per second for 100 players
Which is 4000/parses per second
Is it most up to how well the expansion was developed?
yes
Fair enough
you can always run timings 🤷
Well that hasmt actually happened yet, but I have a week until it does
An event
another event? 👀
Yes
aha
:P
lol
This time we're planning it with more than 5 days notice tho lol
lol
I try other scoreboards but I have to ask if its a problem with the placeholder that Hex colors dont work
Evening all. Having a few issues with the javascript extension.. firstly I dont know much about API, and secondly, I dont know javascript. 🤣
Am hoping someone can point me in the right direction.
Nevermind, worked it out..
you cannot. well you might be able to get a custom plugin for that but with just PlaceholderAPI you can't.
oh ok
Some plugins (eg. Tab) have bridges built
Tab-BukkitBridge
maybe i'm stupid or can't read but i can't find anything about linking Ezrankspro with essentialschat
installed ezrankspro from papi, put the placeholder in config and all i get is {ezrankspro_rankup} (rest of chat)
follow the instructions ins #spigot-linking please. thanks
oh, alright
tokenmanager, isborder, trs, crazycrates
are these papi extensions nolonger available?
if they're not on the ecloud website then they're not available using the /papi ecloud download command. Most likely they got added to the plugin. if not idk
but TokenManager is still there
what placeholder?
did you download the expansion and reload papi?
yes
ok
what does it say?
hello, im have a problem with Animations expansion, please help me.
Error code:
[20:10:13] [ForkJoinPool.commonPool-worker-0/WARN]: [PlaceholderAPI] failed to download expansion information
java.util.concurrent.CompletionException: java.lang.NullPointerException
at java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source) ~[?:1.8.0_231]
at java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.CompletableFuture.uniApply(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.CompletableFuture$Completion.exec(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) [?:1.8.0_231]
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) [?:1.8.0_231]
Caused by: java.lang.NullPointerException
at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$null$7(CloudExpansionManager.java:199) ~[?:?]
at java.util.HashMap.forEach(Unknown Source) ~[?:1.8.0_231]
at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$fetch$8(CloudExpansionManager.java:192) ~[?:?]
... 7 more
>
do you have the plugins installed? The Vault and LuckPerms plugin?
well you need LuckPerms on your backend server as PAPI does not support bungee
^
but vault on my server with papi
hmmm
i'm pretty sure it won't
you need LP on backend as well
because vault is not connected to bungee either
so there is no way for it to take the info from lp either
ok
what are more plugins that from the same makers as placeholder api i want more plugins and i dont now good plugins
You don't just "get plugins", you get plugins that your server needs
🤷
you don't need to do anything. you jsut need to install the plugin and PlaceholderAPI and they'll work
no, it doesn't
?startuplog
send a startuplog then
Heya Folks!
I made a plugin that extends Placeholders expansion. I'm trying to upload it to Placeholder eCloud but registrations are currently blocked. Who would I contact to register an account?
funnycube#0001
Thank you
It seems that he accepts messages from only friends. I'm not sure if he accepts friend requests. Is there a better method than DMing?
wait for him to come online and ping him.
Hay, im have a problem with download expansion "ListPlayers"
Error: https://paste.helpch.at/yayusepopa.bash
does anyone know if there is any placeholder for the block's lighting level?
I could be wrong, but I don't think here is.
For a player there may be one, but not a block
what I wanted is for you to show the lighting level in the block where the player is!
what is the placeholder I need to download to show me the /money balance and what is the placeholder I need to use? (I use vault and Essentials)
ping me if yuo know
tried %money%, %balance% nope didin't work
my papi cant load all expansions.
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_281] {}
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_281] {}
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.8.0_281] {}
at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.8.0_281] {}
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.createExpansionInstance(LocalExpansionManager.java:336) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading}
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:138) ~[?:?] {re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading,re:classloading}
at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) ~[?:1.8.0_281] {}
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) ~[?:1.8.0_281] {}
at java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:1.8.0_281] {}
at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:1.8.0_281] {}
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) ~[?:1.8.0_281] {}```
server is 1.16.5 in spigot
im brand new to this and im just trying to add a couple things to the elitemobs plugin which would show the amount of coins a player has as well as what rank they are, but ive been just looking around the wikis trying to learn and im still lost
anyone willing to guide
%vault_eco_top_balance_formatted_#%
doesn't work for some reason
returns 0
it has been removed in the latest version of the Vault expansion due of it causing lots of lags because of poor implementation. If you still want to use it then you have to go in plugins/placeholderapi/config.yml and enable it from there and I think you also have to download an older expansion. I don't think the latest works even if enabled in config
I'll go make my own placeholder then I guess
I mean I think you can still use LeaderHeads or once ago go for an older version of the Vault expansion. I know its going to be moved in the essentials expansion after they rework it so if you use essentials's economy sometimes in the future it will be updated
doesn't work for leaderheads aswell
So first of all for money. If its Vault economy then you can use the Vault expansion and show them using %vault_eco_balance%. If its not, then you have to make sure the plugin that handles the coins has a PAPI expansion. For permissions same as economy you need to either make sure the Permissions plugin uses Vault and then you can do /papi ecloud download Vault /papi relaod then use %vault_group% or %vault_prefix% to show the group they're in.
oh you tried the correct placeholder? %vault_eco_balance_fixed% ?
yeah formatted it won't work
because LeaderHeads only takes Ints and Doubles
so no formatted numbers
Okay back to just getting the top user then getting the value
only xxxx,xx or xxxx
Looking for a plugin, which is something like AccountGuard (IP Protection)
Is there still a way to show certain statistics of my skyblock server if PAPI doesn't support it?
Hi, I need help, I try to register the World expansion that I downloaded from eCloud but it fails. Failed to register expansion from World-Expansion-1.2.0_uKI59jk.jar
Solved
well that's because PlaceholderAPI was only made for backend. not for bungee.
bungee support will be added with PAPI v3 but idk when that will be released.
ok
but i use the TAB Plugin on the Bungee and now it doesnt Work because Placeholderapi doesnt Support Bungee
well the tab plugin cannot support placeholderapi, if placeholderapi doesn't support bungee
TAB has a bridge. you don't need PAPI on bungee you just need it on the backend. make sure you've followed all TAB's installation steps for bungee
i dont understand how that workd
ohhh
i need a Bridge Plugin sorry stupid me
Can someone tell me why this is not working
requirements:
holdingpick:
type: string equals
input: "%player_item_in_hand%"
output: "DIAMOND_PICKAXE"
deny_commands:
- "[message] &3[&b&lRename&3] &7You must be holding a &fDiamond Pickaxe &7to rename."
type /papi parse me %player_item_in_hand%
PAPI keeps throwing this exception:
[06:38:26] [Craft Scheduler Thread - 2948/WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.9 generated an exception while executing task 8826
java.lang.NullPointerException: null
at java.util.TreeMap.rotateLeft(TreeMap.java:2224) ~[?:1.8.0_271]
at java.util.TreeMap.fixAfterInsertion(TreeMap.java:2291) ~[?:1.8.0_271]
at java.util.TreeMap.put(TreeMap.java:582) ~[?:1.8.0_271]
at com.extendedclip.papi.expansion.vault.VaultEcoHook.setBalTop(VaultEcoHook.java:110) ~[?:?]
at com.extendedclip.papi.expansion.vault.BalTopTask.run(BalTopTask.java:56) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.5.jar:git-Paper-445]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.16.5.jar:git-Paper-445]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.5.jar:git-Paper-445]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_271]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_271]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_271]
What could be causing it? And is there anything I can do to fix it?
make sure that you have an economy plugin 🤷
We have one though, we use essentials for our economy
Make sure you have Vault installed as well
yep, vault is intalled too
So i did /papi ecould download PlayTime, and it installed, i did /papi reload, but it says no expansions found
it says it successfully installed it too.
and it is in the expansions folder, its just not found.
yo is there any way to parse an expression of a placeholder as a placeholder?
ie
%16(placeholder)%
if placeholder is 2, output is 32
prease ping
math
how could i put a placeholder in that?
use {} instead of %%
%math_16*{placeholder}%?
ye
did you download it
yes lol
type /papi parse me %metro_iotw_price%
yessir yessir
lemme drop a reboot and see wassup
jesus christ it works
dude you saved me like 2 hours of work
📿
yer a beast lad
do you know of any way to parse it with just 2 decimals?
oh nevermind i think i found it
thanks again :)
👍
is there a marker to inform the current world climate?
So I am trying to use the formatter placeholders to format the %player_exp% placeholder while also using it in Featherboard, this is what I currently have:
{placeholderapi_formatter_number_format_{placeholderapi_player_total_exp}}
but its returns:
{placeholderapi_formatter_number_format_1000}
I have downloaded both Player and Formatter with PAPI and reloaded Featherboard and PAPI
Any ideas?
When I do a number instead of the player exp placeholder, it works
Even parsing using /papi parse, it returns everything instead of 1,000
Is there a papi expansion to check if a placeholder is numerical, and if not return 0?
I don't really want to use js
But I will if I need to
Good evening, I have entered this discord because I present a problem with the Vault Placeholders, since I installed them both manually and internally in the game and it still does not mark it, how can I solve this?
What do you mean by "does not mark it"
@lilac oxide Nope so use JS
@twin lintel marker??
@sour oxide Your doing it wrong
{placeholderapi_player_total_exp}
function f() {
let result = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, args[0])
return isNaN(result) ? 0 : result
}
f()```
You would need the Papi.setPlaceholders thing though
I mean that it does not appear, since in the list of placeholders it does not mark as downloaded.
Did you do /papi reload after doing papi ecloud download Vault
Yes, I do
Ty for the code :P
I was just looking to stay away from js for performance but this should help
@lilac oxide,
Oops
@lilac oxide,
he probably got triggered by the edit lmao
hello I currently have the pro skywars and I can not put the souls and the corners in the scoreboard
and you've tried all these? %proskywars_kills% %proskywars_deaths% %proskywars_wins% %proskywars_money% %proskywars_souls% %proskywars_projectilesLaunched% %proskywars_projectilesHit% %proskywars_blocksBreaked% %proskywars_blocksPlaced% %proskywars_kit% %proskywars_cage% %proskywars_trail% %proskywars_time%
how to check if player has 3 enchantments on holding item?
i can parse to get every enchantments on the item, is there a way to count how many there are?
They are separated by ","
Sweeping Edge 1, Smite 3, etc etc
@austere hawk,
and I put them where these command ?
@austere hawk,
those are placeholders
you put them in your scoreboard
wait so you have a placeholder that returns a list of all enchantments on an item?
yes
yup, the thing is i suck at javascript
what placeholder shows you the enchantments?
%tokenenchant_enchantments%
ok but whats is the download with /papi ecloud download ...
I don't think there is one.
it comes directly with the plugin
ah then I can make you a quick js js var enchants = "%tokenenchant_enchantments%" var amount = enchants.split(",").size() amount
this is all you need
where do i put it
would be ideal if i could put it in deluxemenu click_requirement
so i can check if player has 3 or more enchantments
oh you could put it directly there. 1 second. it would look something like this: yml requirements: enchants: type: javascript expression: '"%tokenenchant_enchantments%".split(",").size() >= 100'
change 100
to whatever you want
this example will check so they have 100 or more enchants
how can i parse myself to check if it works?
[DeluxeMenus] Error in requirement javascript syntax - "%tokenenchant_enchantments%".split(",").size() <= 3
oh size is not a thing in js maybe. I'll try and help you in half an hour because I'm playing something rn
okay
oh my bad. its length not size. use this instead: yml requirements: enchants: type: javascript expression: '"%tokenenchant_enchantments%".split(",").length >= 100'
okay thanks it works! but now i have another problem
@visual yacht,
if i have 3 enchants on lvl 1, i cant upgrade them to level 2
I have a problem with PlaceHolderAPI when i do /papi ecloud download Vault and reload the plugin its not installing it and the vault placeholders are not working.
I have and the plugin dont show any errors.
so it should be fine.
Vault is for 1.8 right
no
it is.
iirc you need an economy plugin as well
i meant, not the latest version
Essentials
I used them but they dont work and also the prefix in chat is not showing.
Still doesn't work with the formatter placeholder, I want to format the players exp value so that 1000 = 1,000 or 1000000 = 1,000,000 and so on
@sour oxide,
@frail fractal you will need to get a custom JS placeholder
Realistically the formatter placeholder should accept other placeholder. How else would you use it?
oi oi oi
is there a placeholder for a future date through a math expression?
i tried pulling a finesse with the math placeholder but it doesn't work if it's a turn of a new month
for example feb 25th + 7 (1 week) would be feb 32nd, not march 4th
%localtime_time_MM%/%math_0:_7+{localtime_time_dd}%
that was my finesse
The best way to work with dates is make a JavaScript placeholder.
hi i don't know if you remember me but i can't get the souls and corners in my scoreboard. I don't know where to put %proskywars_money%
%proskywars_souls% . do you know more?
ugh you put them in your scoreboard plugin.
just these ?
cheers love
well those are the placeholders you put then in your scoreboard plugin
naw you're just learning
Does anyone have an idea what I can do about this?
I'm trying to do something a little wonky with WorldGuard, and it seems to work for the most part.
My issue a lil' character that's sorta out of place?
I don't want the * to be there, I'm using a scoreboard plugin with PAPI's WorldGuard addition, the placeholder is %worldguard_region_members_groups%
Anyone know how I can remove that lil' *? ;p
https://prnt.sc/yvwszm
WorldGuard devs said to ask in the PAPI help chat to remove the *?
Could one of the Masters of the Universe please build and publish the PAPI-Expansion-Server update, to include %server_variant%. The code has been there for a week.
for %vault_eco_top_balance_commas_#%
when I add the 1
it doesn't return anything
trying to add to a holographic display
The _ placement matters: %vault_eco_top_balance_commas_1%
Is pinging funnycube fine? I'm trying to create an account on eCloud.
CC: @balmy marten
Thanks, currently your DMs are set to private.
plaeholderapi is making it so i cant join one of my bungeecord servers
Why do you think so?
Is no issue.
You can just ignore those messages. They won't affect anything.
PlaceholderAPI should not be put on bungee. so it should not have anything to do with your bungee at all
Some plugins have placeholderAPI links for bungee though
@balmy marten when you got some time ^
hey how to check if player has 1 or more empty inventory slots?
%player_has_empty_slot%
thanks
can you tell me how Math papi work?
like how can I make a calculations with this?
So it should like this %math_{%server_online%}+1%
without the %% when placeholders are inside {}
and then make sure u have downloaded the specified expansions from the ecloud
Got it thanks
i have to put something in a pom? But i cant find a pom.xml
for importing the papi dependency?
i think so? First time i downloaded api XD, i needed for deluxe menus
oh so ur not coding?
just download the plugin off spigot any place it in the plugins folder
The only thing i want to do is using Deluxe menus to make a GUI, but then i saw i had to download API, so i did that
I am not coding
to use DeluxeMenus, you need to download the PlaceholderAPI plugin
yeah just pop it in the plugins folder
I downloaded Deluxe Menus, so i have to put that in the folder of API plugin? The it will work?
nooo
DeluxeMenus is a plugin
along with PAPI
they both go in the plugins folder
Aah okee, But i dont understand that it doesnt work, Do you know a command that i can create a GUI so i can test if it works?
I already have Deluxe Menus in the plugin folder
do u have placeholderapi installed now?
if so, then both plugins should be green in /plugins
then u can create ur own gui, or use the example gui to test if it works
They are both green in /plugins, but if i type: /dm open example or /dm open basicsmenu, nothing happens
'Is not a valid menu!'
But when i type /dm list, i see availible menus: advancedmenu, basicsmenu, requirementsmenu
So i type: /dm open basicsmenu , but then i get the message: 'basicsmenu is not a valid menu'
I think you need a perm, for open basicsmenu as default.
Hey i want to make something like this: Cobblestone mined: 30000 (Top 1%)
how to do the Top 1% thing?
I mean for that you'd need to be keeping track of all player's stats. that sounds like something custom tbh
don't think there is anything public close to that. I might be wrong tho. because I've been wrong in the past xD
Does anyone have the advancement of %Advancements_<advancement>%
It just say No_exist_advancement
%Advancements_story/upgrade_tools% I tried this
Returns to true
yeah then it works. so the story/upgrade_tools might be wrong name or something.
actually I just tested it and it says true for mee
hmm weird
@_@
oh no exist means it was not completed aparently.
try getting that achievemnt and see if it changes to true
yeah that seems to be it.
I've tested it myself.
so NO_EXIST_ADVANCEMENT means false
yeah
Thanks for the clarification.
is there any placeholder that shows if it is raining, sun, thunder etc.?
I couldn't find one so far but you could probably make a javascript placeholder. https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
1 sec gaby xD making the js for him
nvm, too many methods xd
var server = BukkitServer
var world = server.getWorld(args[0])
var storm = world.hasStorm()
var thunder = world.isThundering()
var clear = world.isClearWeather()
if (clear) "&aClear Weather"
if (thunder) "&aThunder"
if (storm) "&aStorm"``` this will work I guess. @twin lintel you just need to learn how to make the javascript from the link above.
yo @rare lily can't you add this to your World expansion? Or is it already there because I can't seem to find it on the wiki
Could one of the Masters of the Universe please build and publish a PAPI-Expansion-Server update, to include %server_variant%. The code has been on GitHub since December 22.
I meant an "official" release.
It will disappear. "Feature" of Discord.
oh I see. well then time to wait for Piggy.
He's here. That's why I posted the request.
Thank you.
hii guys
help please
i want to add these placeholders
%eggwars_player_count% - Gives the total amount of players in eggwars
but when i put this in holographic display it only shows %eggwars_player_count%
?
that's because HolographicDisplay doesn't support PAPI by itself. you also need the plugins: Protocollib and HolographicExtension
do /papi parse me %eggwars_player_count% what does it say?
ugh what EggWars plugin are you using? Can you link?
?startuplog
send this ^
can you use another pastebin? Like Hastebin or paste.helpch.at? because this one doesn't work https://i.imgur.com/e8MgDK5.png
why are you using leaked plugins? 😦
ohh is it because of that?
🔨 A user has been caught in our great nation using off-brand products, they've been dealt with accordingly
feel free to tag me next time for stuff like this
wouldn't have seen your message if I wasn't tagged, as I didn't have the window open & notifications are turned off
Can anyone help me with this? I still haven't been able to figure out what the issue is
are you using the Vault Expansion Baltop feature?
No, as far as I know I'm only using its balance_formatted placeholder
hmm what's your Vault Expansion version? do /papi info Vault
Version 1.7.0 :)
hmm and what Vault plugin version?
also can you try going to plugins/PlacehodlerAPI/expansions and delete all the jars that have anything to do with Vault from there and then do /papi ecloud download Vault 1.6.0 then /papi reload?
Why is it lots of [m in your log (seams little off)?
Oki I've done this now. The error only showed up every now and then though, so I'd have to wait a few hours to actually know if that fixed it
Hi everyone!
I'm looking for a way to get the server name as a placeholder.
I tried installing the Server expansion which has a placeholder called %server_name% but as far as I can tell it doesn't give the actual server name, but instead loads this variable from the PlaceholderAPI config file.
Is there any way to get the actual server name, i.e. the value of server-name in server.properties?
Thank you in advance!
yeah you can make a javascript placeholder: https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
the code would look like this ```js
function getServerName() {
var server = BukkitServer
var name = server.getName()
return name
}
getServerName()
Someone know why %statistic_join_game% and %player_first_join_date% does not work? I got a very big lore and I can't even read what he say
do /papi ecloud download Statistic, then /papi ecloud download Player and then /papi reload
can you do /papi parse me %player_name% just to test if the expansion works?
hmm can you do /papi info Player and tell me what version it says?
1.7.2
hmm and you're 100% sure you did /papi parse me %player_first_join_date% ?
try copying the command from here
and doing it
Ok
Ye I got the registration date
But in a gui he gave me a link to the docs I guess
Ohh my bad beacuse I cant' se the whole lore, I used the smaller gui and I saw it work
The error was for %statistic_join_game%'
"Unknown statistics"
Thank you very much for your reply! The getName method did not give me exactly what I wanted but I think I will be able to solve my problem with a similar approach using another method. Thank you and keep up the good work!
@wintry herald,
How i can insert a permission to open a menu in DeluxeMenus?
open requirements
yes
'Bank':
open_requirement:
requirements:
BankVip:
type: has permission
permission: menu.bankvip
but don't work
i can open menu
move the open_requirements into the menu settings rather than in an item
I need help with the plug
could someone contact me in private message?
Hi i saw that DeluxeChat can change the chat format but i cant figure out how to do it
What do you mean?
follow the instructions in there.
I think #plugin-updates boot buging, it has say new update has coming even if the plugin is not updated (think it has done it two/three times now).
For some reason this is happening when I try to download a expansion. https://paste.helpch.at/ufecelarer.bash
oh oops
You can only install it on all servers but not bungee
I found out... I had just problems by showing prefix. I use luckperms. So I thought it was that I needed, but I was wrong. 🙂
Hey I'm having issues regarding a placeholder with another plugin being used with DeluxeMenus. I have no idea where to go so I'm hoping I'm in the right place for it but using VotingPlugin by BenCodez I'm trying to use one of their placeholders inside of a menu however in the config it's written as %VotingPlugin_CanVote%yet the output in the menu is %votingplugin_CanVote%. The capitalisation is gone from the output and there for is not showing the actual placeholder
I tried to use the script you passed, but I get this error when running it [17:19:49 ERROR]: [PAPI] [Javascript-Expansion] An error occurred while executing the script 'clima':
TypeError: null has no such function "hasStorm" in <eval> at line number 3
@twin lintel,
what's your server version?
last build paper
so 1.16.5? Weird. hasStrom should work then.
1.16.5
oh wait
can you show me how you used it?
like the %javascript...% part?
@twin lintel
/papi parse me %javascript_clima%
oh that's the problem
you have to do /papi parse me %javascript_clima_WORLDNAME%
change WORLDNAME to whatever the world you want to test for is.
wow, now it works, thanks
no problem.
where do I find the variables that I can use like rain, storm and etc?
here are the World methods: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/World.html
using the world expansion can I get the current biome that the player is in, but it is in English, can I get the name of the biome in the server or client language?
probably not
that script you showed me seems to be working well, but it is showing that it is thunderstorm, but it is not even raining, you know why this is happening?
1 second.
var server = BukkitServer
function getWeather(worldName) {
var world = server.getWorld(worldName)
if (world == null) return "Wrong world name"
var thunder = world.isThundering()
var clear = world.isClearWeather()
var storm = world.hasStorm()
if (clear) return "&aClear Weather"
else if (thunder) return "&aThunder"
else if (storm) return "&aStorm"
else return "Something went wrong"
}
getWeather(args[0])``` can you use this one and see if it works?
@twin lintel
it is working, but I need to wait for a while and see if it happens again as it is random
Warning: Nashorn engine is planned to be removed from a future JDK release
is there another engine to be used?
how can i round the hunger saturation number ? like from 1.8000001 to 1.8 only
is there a way to check for nbt info for checkitem addon?
All good was just curious
BlitzZZzz the code still shows thunderstorms on some days that it's not even raining
it happens on some random days
Since 1.16.5 Update:
Run /papi dump
Hi, I have a server with custom biomes, tab and scoreboard, inside the scoreboard I would like to enter the type of biome when the player is located in.
Researching I realized that your plugin was my solution, the problem is when I try to download Expansion World the game chat gives me an error (Failed to find an expansion named world).
I also tried to insert it manually from your link
https://api.extendedclip.com/expansions/world/
but it still doesn't work = (.
[PlaceholderAPI] expansion class WorldExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use net/milkbowl/vault/permission/Permission
what can I do?
My English is not perfect, Thank you in advance!
Install Vault plugin for your server
thank yu very much!!
It works but the additional biomes write them "null".
solvable?
Can someone help me about this? Is my latest statistic placehoder that didn't work 
Where have you seen the placeholder statistic_join_Game? that's not on the wiki from what I can seee
I've even took a look at the code and there is no join_game placeholder. idk where you took that from
So there isn't any join_game placeholder but I got that message wtf
Oh ok
on a bungee server, should I add the placeholderapi inside the bungee plugins folder?
No
Barry
the same problem is still happening, sometimes it's not even raining but it shows that it's thundering!
@smoky spoke you need the plugin
hello, I have an item with the lore: 'This gives you clinical depression'
How do I do to use the checkitem placeholder if the item has the same lore of contains that?
what plugin?
@smoky spoke,
sorry for the ping
Is it this you want? change stone to what item you will give players.
%checkitem_give_mat:stone,loreequals:&fThis gives you|&fclinical depression%
If you want it on same lore line skip |.
%checkitem_give_mat:stone,loreequals:&fThis gives you clinical depression%
And if you will give more an one, change 5 too what you want.
%checkitem_give_mat:stone,amt:5,loreequals:&fThis gives you clinical depression%
is there a placeholder which outputs the ingame time?
hm?
bruh I can't send paste.gg links
plz
get me lvl 1
help
omfg
get
me
lvl
1
=paste
okay
I did /papi ecloud download Bungee
and then /papi ecloud reload
and that warn didn't reload the plugin
oh noice now im llv1
is there a placeholder which outputs the ingame time?
%world_time_<world>%
Anyone know if it's possible to concatenate/substring placeholders at all, or split by a delimiter?
I need help from PAPI.
Contact request in private message
Noone is going to assist you in DMs, either ask your question in here, or no can do
I have a problem with PlayTimes plugin, I contacted the plugin develpoer and I was redirected here to use papi or holrafic help. The problem is that when a placeholder from a plug-in is added to the hologram, it completely doesn't work. After contacting the develpoer of this plugin, I got information that the error is on the side of Holografic or papi Are you able to help me?
Holographic Displays (pressume that's what you're using) doesn't support papi in by itself, you'll need an addon for it which adds that functionality
Of course I have the Holografic Extension
Does the placeholder work when using papi parse
It means?
/papi parse me %placeholder%
The command returns my nickname
Meaning it works properly I'm assuming
When I create a hologram with a placeholder, it forms like this: %PlayTimes_topname1%
I could send a picture
?startuplog
send that over so we can make sure holographic extension is working correctly
As he enters / papi reload I have a notification all the time: 6 placeholder hooks successfully registered!
=paste
Paste the startup log
?paste
I want to check the item, and maybe the lore is too big because it can't parse it
?checkitem
I tried now with an item with the lore:
A good stone with a good price
that maybe will be helpfull.
When I use the checkitem loreequals or lorecontains, it doesn't work, any help?
I guess you use old server version some has big limits in chat? tips run it from console.
loreequals is need if you use give command.
Show your placeholder you try with.
1.8.8
yea it has big limits in chat. run it from console like papi parse "your name" %placeholder% can you show what you haS TRY WITH.
https://paste.helpch.at/cidohedele.bash
I did /papi ecloud download Bungee
and then /papi ecloud reload
and that warn didn't reload the plugin
[22:06:38 ERROR]: [PlaceholderAPI] expansion class EssentialsExpansion is outdated:
[22:06:38 ERROR]: [PlaceholderAPI] expansion class VaultExpansion is outdated:
Why does it do this
does it not say anthing else?
[22:06:38] [Server thread/ERROR]: [PlaceholderAPI] expansion class VaultExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use net/milkbowl/vault/economy/Economy
[22:06:38] [Server thread/ERROR]: [PlaceholderAPI] expansion class EssentialsExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use net/ess3/api/IEssentials
you don't have Vault and EssentialsX installed.
Oh nice
I'll tell that to the guy
Someone broke papi while using my plugin, so my plugin didn't work
Go to plugins/placeholderapi/expansions and delete the ConfigExpansion. it breaks PAPI.
then do /papi reload and it should work
Hi is there a way we can update the Heroes expansion for PAPI without having access to the original author? As I'm not sure if we can contact them or not. In other words, upload a updated version for the expansion with a another account? If it were possible to make a new account? (P.S. a pull request was done to the original source as well some months ago.)
My placeholders aren't working after restart.. I have updated the plugin to latest version and still is doing it..
I have to do /papi reload for the placeholders to load in I don't even have to download them but the just don't enable on startup...
Is there a placeholder for clearlagg? I'd like to add a timer to my scoreboard.
and this has placeholders for scoreboards?
thanks very much malloc 🙂
some times when i restart my server all of my papi ecloud downloads unistall
Is there a way to prevent the cooldown reset after restarting the server? (Using the cooldown Javascript placeholder)
make sure you have the latest PAPI build and latest Javascript expansion. I think it was fixed in an update. if that doesn't work I recommend just using the MasterCooldowns plugin.
Have you checked the logs those times to see if they tell you anything?
Thank you!
I set the Progress bar and get that error spamming console: [Progress] Couldn't get the number from {percent. The progress will be 0%.
what progress bar?
Progress PAPI expansion
how did you make it? what did you use?
&b[%progress_bar_{PERCENT_DONE money}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lCompleted!%&b]
pls put in ``
The "World" ecloud expansion doesn't exist. Can't download it.
&b[%progress_bar_{PERCENT_DONE money}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lCompleted!%&b]
[21:51:49 INFO]: [Progress] Couldn't get the number from {percent. The progress will be 0%.```
15.02 04:26:24 [Server] INFO java.lang.NullPointerException: null
15.02 04:26:24 [Server] INFO at me.SuperRonanCraft.expansionMySQL.Main.register(Main.java:35) ~[?:?]
15.02 04:26:24 [Server] INFO at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:139) ~[?:?]
15.02 04:26:24 [Server] INFO at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_275]
15.02 04:26:24 [Server] INFO at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) ~[?:1.8.0_275]
15.02 04:26:24 [Server] INFO at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_275]
15.02 04:26:24 [Server] INFO at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_275]
15.02 04:26:24 [Server] INFO at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_275]
15.02 04:26:24 [Server] INFO at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_275]
15.02 04:26:24 [Server] INFO at java.util.stream.LongPipeline.reduce(LongPipeline.java:461) ~[?:1.8.0_275]
15.02 04:26:24 [Server] INFO at java.util.stream.LongPipeline.sum(LongPipeline.java:419) ~[?:1.8.0_275]
15.02 04:26:24 [Server] INFO at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:593) ~[?:1.8.0_275]
15.02 04:26:24 [Server] INFO at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$2(LocalExpansionManager.java:288) ~[?:?]
15.02 04:26:24 [Server] INFO at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46) ~[?:?]
15.02 04:26:24 [Server] INFO at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.4.jar:git-Paper-318]```
I am using MySQL expansion for PAPI
I am using the Cops and Crims plugin, and the developer said for stats you will need this expansion.
I am using latest version of both plugin and expansion.
i'm trying to hooking into placeholderapi with maven, however it just keeps giving me an error when i paste in the dependency chunk of code
I mean... I'm pretty sure it will push that version if you aren't on it
and you're on dev build, which isn't 2.10.9 so...
🤷♂️ whenever 2.10.10 comes out 👍
(this is an updater thing)
Share your pom.
It looks like an issue with the MySQL expansion (ran by a 3rd party author) I suggest reaching out to them if you can find their contact.
okay thanks
15.02 06:54:47 [Server] INFO java.util.concurrent.CompletionException: java.lang.NullPointerException
15.02 06:54:47 [Server] INFO at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?]
15.02 06:54:47 [Server] INFO at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?]
15.02 06:54:47 [Server] INFO at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:645) ~[?:?]
15.02 06:54:47 [Server] INFO at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:479) ~[?:?]
15.02 06:54:47 [Server] INFO at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) ~[?:?]
15.02 06:54:47 [Server] INFO at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) ~[?:?]
15.02 06:54:47 [Server] INFO at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) ~[?:?]
15.02 06:54:47 [Server] INFO at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) ~[?:?]
15.02 06:54:47 [Server] INFO at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) ~[?:?]
15.02 06:54:47 [Server] INFO Caused by: java.lang.NullPointerException
15.02 06:54:47 [Server] INFO at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$null$7(CloudExpansionManager.java:199) ~[?:?]
15.02 06:54:47 [Server] INFO at java.util.HashMap.forEach(HashMap.java:1336) ~[?:?]
15.02 06:54:47 [Server] INFO at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$fetch$8(CloudExpansionManager.java:192) ~[?:?]
15.02 06:54:47 [Server] INFO at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?]
15.02 06:54:47 [Server] INFO ... 6 more```
Can anyone help explain what this error is
Anytime I do /papi ecloud download <expansionname>
for any expansion?
can you go to plugins/placeholderapi/expansions and delete all the expansions that are there?
and then do /papi reload and redownload all your expansions
Okay did that, and getting same error in console
?paste
Rebooted and it seemed to fixed it
oh welp xD
Can't believe it hahaha
Always something simple
Okay maybe not fixed, getting the error again. Possibly caused by one of the placeholders downloaded? I downloaded the 'statz' placeholder and reloaded then got the same error in console as before
and nothing else? just that?
I downloaded Server and Player placeholders with no issues, then once I downloaded the statz and reloaded it gave that error
try deleting the statz expansion and restarting the server
Done that, now when I reload there are no errors
yeah so probably that expansion was breaking everything
its weird that it didn't give any other errors
because usually it should give more specific info
Yeah it was literally just what I posted previously
And strange how all of a sudden it has stopped working?
Been using that expansion for a good few months now and never had any issues like this
did you just update PAPI from 2.10.6 or lower?
because I know the Skript expansion that's on the ecloud is very outdated and breaks on PAPI 2.10.7+
oh you can try this one: https://github.com/Altruiis/skript-expansion/releases/
because its oudated. the expansion
wait I'm so fucking dumb
sorry
xD
the statz one is breaking right?
not the skript lmao
Yeah lol statz
well I mean same reason
why it breaks
just I don't think there's a more updated Statz one
Are the expansions maintained by the developers of the plugin?
most of the times but not always
So would you recommend I bring this up with the dev of Statz? or is this error completely related to papi?
let me check who made the current expansion
oh @limber ice ? you made the Statz expansion?
is there a more updated one by any chance?
yes there is, what version of Statz?
@crystal depot ^
Statz - 1.6.2
thats about the version where the expansion is built into the plugin, try removing the expansion from the papi expansion folder
if not I'm running statz-1.6.2-SNAPSHOT-57 which does have it
Okay I removed the expansion and reloaded but got the same error, https://paste.helpch.at/ajupeparuj.apache
Will give that snapshot a good
I believe you will need to reboot server
@crystal depot if the placeholders don't work when you reload Statz , use latest DEV version
Rebooted the server without the statz expansion, all was fine. Also put in the dev version of statz
So now I shouldn't need the expansion?
correct the expansion is built into Statz just like Autorank is now also
Great, thank you very much
Your Welcome
Could i request a plugin for the PlaceholderAPI to use in one of my scoreboards plugin (QuickBoard) like Hypixel did for example.. What i wanted to do was import %mystery_dust% with the GadgetMenu (https://www.spigotmc.org/resources/gadgetsmenu-1-8-1-16-4-free.10885/ and also for the premium plugin: https://www.spigotmc.org/resources/gadgetsmenu-1-8-1-16-4-premium.62831/)
placeholder for coordinates doesnt seem to work for me
what placeholder?
%player_x%
have u downloaded the expansion?
Is this an error to report to Papi, or luckperms?
[17:13:20 WARN]: [LuckPerms] An exception was thrown by me.lucko.extracontexts.calculators.PlaceholderApiCalculator whilst calculating the context of subject CraftPlayer{name=Fredthedoggy}
luckperms by the looks of it
nvm fixed it
u have to ask the plugin authors to add functionality to placeholderapi, not PAPI itself
ooh, and this error is happening:
https://paste.helpch.at/moxohezasu.md
bentobox or luckperms?
