#placeholder-api
150650 messages · Page 41 of 151
Oh ok, I can't seem to use other placeholders within your plugin
i want to include join date
Other plugin kept resetting Jd
%player_first_join_date%
Player extension
ok let me look into it
Thanks ❤️
Im running a bungeecord network, and after a reboot placeholderAPI completely died, it doesnt error in logs, but none of the placeholders work, when trying to reload there is just
[11:19:21] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...``` and no other response. When trying to download an expansion on the other hand, there is (used vault as an example, works same on all i try)
```[Server thread/INFO]: Failed to find an expansion named: vault```even without any expansions it still reacts the same, only placeholders that i can use are those that are hardcoded into other plugins. I have tried manually putting expansions, doesnt work. I have tried changing config, doesnt work.
there is also a message (about 2 minutes after papi reload) in logs https://paste.helpch.at/lozoxohave.md (thats from a different try then before)
[13:01:27 WARN]: [PlaceholderAPI] redisbungee is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
Is there any way I can modify the code of the plugin or something to make it work?
Yes, I know redisbungee is unmaintained
The expansion is OS so you can: https://github.com/PlaceholderAPI/RedisBungee-Expansion
Hello it's possible to use placeholdersapi for bungeecord ? i want to show the nickname of player with essentials
just use %essentials_nickname%
in plugin bungeecord ?
no
not spigot plugin
it doesn't support bungee
you can't. unless that plugin has a way to take input from spigot to bungee.
okay
where are the docs for relational placeholders? I'm using a plugin that supports them, but I cannot find how to create one
hello, can someone help me to solve this error? https://paste.helpch.at/enemivubaw.sql
ohhh okay thanks
I use notepad++ to find a replace
just find the symbol and replace with the new one
how do i make papi ignore ecloud?
I get this with deluxe menus. what am I doing wrong?
Hello.
I can't seem to add any placeholders to my items name's, is there anyway to do this?
%player_item_in_hand_name%
You get what exactly? You didn't send an error
cant post images ofd the log
@winged mauve,
plugins/PlaceholderAPI/config.yml you have cloud_enable option. set it to false
well, my papi is still broken 😦
How so?
some time ago, after a restart, all the expansions stopped working (placeholders that are hard-coded into other plugins worked tho), i couldnt connect to ecloud, and i couldnt reload the plugin. I already reinstalled the whole thing, checked different versions, tried without any plugins that might interfere, disabling ecloud, nothing worked
ok so a few more things to try: use the dev builds of PAPI, go to plugins/PlaceholderAPI/expansions and delete all the expansions from there and then go to https://api.extendedclip.com/all/ and manually download the expansions, put them in that folder and do /papi reload if just a reload doesn't work fully restart the server. also don't use PlugMan or anything similar
where can i find dev builds?
?papi-builds
here ^
thx
the latest one
because it already know that manually getting the expansions (for eg. vault) still doesnt work
Do you get any errors? Maybe send a full startup log in a paste
well, now i can connect to ecloud, still cant reload, but its ok, ill just restart it
?startuplog
no errors in logs that have to do anything with papi, only the (i think incomplete) information when reloading papi
should i send it here again?
maybe I can understand some of it. if you want
[22:09:36] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[22:09:36] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...```thats what happens immidiately when trying to reload, and after that (i dont know if its even related, as sometimes it comes much much later)
```THIS LOG IS NOT RELATED, CHECKED```
sry that i didnt link it but i dont think its that long...
welp nvm I got no idea xD
doesn't look like there's anything PAPI related tho. not sure
ummm what? now when checking the expansions folder, there was no vault i installed previously, refreshed ftp to be sure it isnt there, then put it manually, done /papi reload, and the old vault appeared again...
well, when doing /papi ecloud list installed it shows that there are no expansions
Hello Blitz.
Inserting that or any other placeholder doesn't work, it will just change the name to that, as if Placeholders didn't even exist...
"/itemname %player_item_in_hand_name%" simply changed it to the name %player_item_in_hand_name%
I wonder if I am doing something wrong
@finite crater,
/papi ecloud download Player then /papi reload
Hey, thank you for your fast reply!
I already have that expansion, I did it again just to make sure and it still doesn't work...
Literally none placeholder is working in itemnames or item lores
https://imgur.com/psgNLRA
im using deluxechat as well for this but jvavascript for tags is placeholderapi. Its not working
oh
nvm
fixed it
🙂
Hi. Can a staff verify this expansion? https://api.extendedclip.com/expansions/world/
This has been requested for weeks
What language is that
JS
🤮
make it then ... xD
var kit = "%kitpvp_player_kit%"
function translate() {
switch (kit) {
case "Fighter":
return "Боец";
default:
return "Няма";
}
}
How can I show multiple servers' player count with Bungee placeholder?
%math_0:_{bungee_server1}+{bungee_server2}+{bungee_server3}% Or you can just use %bungee_total% for all servers together
Just noticed something very interesting lmao
This is the %statistic_time_played% from Statistic something doesn't seem right xD
update ur papi
one of the dev builds fixes it iirc
Ew Skript extension is pinned
unpin it!
Disgusting
Also Kali, that is still not fixed, just tried on 2.10.10-DEV-122
Don't think the expansion was updated yet
how many dev versions can there possibly be for a PAPI extension lmao
I see the fix on git hub
Hello, i got this error, I don't know what does mean, can someone help me please ?
java.lang.NullPointerException: null
at me.gabytm.placeholderapi.config.ConfigExpansion.register(ConfigExpansion.java:56) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:139) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:257) ~[?:?]
at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:248) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:605) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$2(LocalExpansionManager.java:288) ~[?:?]
at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.5.jar:git-Paper-503]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.5.jar:git-Paper-503]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:950) ~[patched_1.16.5.jar:git-Paper-503]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:175) ~[patched_1.16.5.jar:git-Paper-503]
at java.lang.Thread.run(Thread.java:834) [?:?]```
It's an error in ConfigExpansion
I checked the code but can't really see what the cause is: https://github.com/PlaceholderAPI/Config-Expansion/blob/master/src/main/java/com/extendedclip/papi/configexpansion/ConfigExpansion.java
Oh no my baby
The one you linked to is an old version, Robin
Yeah I thought so, stacktrace didn't match
Hey, my server has crashed a couple of times today and after looking through the logs it seems like PlaceholderAPI is the (or one of) the issues? https://pastebin.com/LZACnkQR
Try removing the Server Expansion and see what happens
Thanks! I'll try that if the server crashes again 🙂
Greetings! I immediately get to the subject, I use the deluxechat plugin. On the one hand I am using fabled but I am having a problem. The island level shows "my" island level even though I use the %fabledskyblock_level_formatted% or %fabledskyblock_level% placeholder. I looked at other servers, they somehow solved it. I use the plugin called chatinjector so that the Fabledin level does not get in trouble. How can I get rid of the place holder problem?
can you help me bro?
Hi, I've tried downloading the World pack of placeholders to my aternos server. I run /papi ecloud download World but it says it doesn't exist???
Can u help me with my issue above?
Hello why i have in luckperms placeholder (Parent temp group) only 6 days but not 30 days ? (I set parent group for 30 days)
Hey can I get some help with my last issue?
I still couldn't get it fixed...
My placeholders simply don't work in an item's name, no matter what placeholder I'm trying
Please help
how do i use %server_countdown_dd.MM.yyyy_01.01.2020%
i want to countdown to the 29th of this month
01.01.2020 is when the timer will end. Since 01.01.2020 has passed already it will just show 0. you can change it to 29.03.2021 for it to count down until the 29th
no american datetime? :(
you can change the formatting to whatever you want
in that placeholder
for example if you want it
MM/dd/yyyy hh:ss aa you can
kk thanks ill try that
But are you sure the plugin you use for naming items supports PlaceholderAPI?
because if it doesn't then it won't work
ok i did /holo setline test 1 %server_countdown_29.03.2021_29.03.2021% and still returns 0?
can you do /lp user YOUR-USERNAME parent info ? and send a screenshot of what it says. then parse the placeholder as well and send a screenshot of that?
I don't have such plugin, I honestly thought that could be the case so I searched for it and couldn't find one... could you please link me one? :)
you don't change the formatting. just the date.
o ok
I don't know one. Because having placeholders in item lores and names seems like a bad idea.
so this? %server_countdown_dd.MM.yyyy_29.03.2021%
yeah that should work
I wanted to add a blocks mined placeholder to pickaxe, think it would be a bad idea?
o thats right i cant put pics in here... but it just shows the placeholder
that kinda slaps
I mean it really depends. I know EzBlocks can do that but idk. I don't know any plugins that can even add placeholders to item names so can't help you
what hologram plugin are you using?
Holographic Displays
it uh
doesn't seem to support PAPI
and their placeholders list is down from OVH lmao
ill try it with my servernpc plugin since it supports placeholderapi to be sure
Are you also using HolograhpicExtension?> because HD doesnj't support PAPI by itself
ah yeah you need the extension thats right
you can always test placeholders by doing /papi parse me %placeholder%
Yea the servernpc plugin requires that plugin
or change me to the name of any player that's online
Where can i send screenshot?
?imgur
it works https://i.imgur.com/bNfLNK1.png
make ure you have HolograhpicDisplay and ProtocolLib tho installed
HolograhpicExtension***
not display
that too
but HE as well
To make sure the placeholders update you will need to add refresh holders.
{fast} - 0.5 seconds
{medium} - 1 seconds
{slow} - 5 seconds
{slowest} - 10 seconds.```
kk like i said servernpc requires it so im going to test that placeholder below the server im useing it on
what am I looking at here boss
is that two chat windows overlaying eachother?
What do you mean ?
oh I didn't see your question lol
I post those screens for BlitzZzZ
thanks for the help @turbid tide
no problem
that's very weird. are you sure you parsed the correct group name?
because I just tested it on my server
and it works
Yes i am sure
what's your PlaceholderAPI version?
2.10.9
go to plugins/PlaceholderAPI/expansions and delete any World-Expansion jars you have. then go to: https://api.extendedclip.com/expansions/world/, download the latest version and put it in that folder. then do /papi reload or restart your server if that doesn't work
thx Blitz, after trying to deleting every single plugin one by one, it turns out newest build of skungee killed it, now its fixed
Having an issue with the Javascript community script lore.js
It works correctly, but after a second or two, it stops showing all lore lines and just shows the first lore line and nothing else.
This is inside DeluxeMenus
that's because of update: true iirc. You'll have to disable that for the item.
there's no fix at this moment and idk when a fix will be made
in placeholderAPI? or DeluxMenus
deluxemenus
Ah, that worked, thanks
Yo
if I need to, I'll use the refresh command instead of update
none of my placeholders are working
dont understand whats going on
i got essentials vault player
you downloaded the expansions for them?
and if you do /papi ecloud list installed they show up?
%player_name% is the one you have to use for player name
what about the ecloud list command I gave above?
Yeah they show up
And how are you testing the placeholders? In what conditions
/broadcast %player% has just purchased a Kitname!
or %player_name%
i mean none of them are working
nothings returning
try /papi parse %player_name%
/papi parse me %player_name%
also you need to make sure your broadcast command supports placeholders. if they work with /papi parse then it doesn't
aw shit yeah u rite
ok so i did the papi parse and it returned my name
yeah then your broadcast plugin doesn't support PlaceholderAPI
you need to get one that does
give me 2 seconds. I remember I made one for someone a long time ago. If I find it. I'll send the jar.
honestly have no idea which plugin broadcast goes to
might be my anticheat
but even then
if you have Essentials then that's the one
well not from PlaceholderAPI it does not
well that's different
placeholders from essentials work
in other plugins that support PAPI
the expansion takes data from essentials and displays it in other plugins that support it
but essentials doesn't support PAPI so it can't convert placeholders into the data
well if you wait a bit I'll try to give you a broadcast plugin that supports PAPI
just need to find it
even for holographic displays though too
nothing is returning
is that because of essentialsX?
because that plugin doesn't support PAPI either
but you can download 2 plugins and it will work
HolograhpicExtension
and ProtocolLib
it will work in holograhpic display only
so basically HE uses PLib to take over HolograhpicDisplay and parses the placeholders
I think I have deleted the plugin. If you want I can make one and send it tomorrow. I have some work to finish. Well today for me since is 1 am but later today in like 12-16 hours
Yeah if u can send me a link to it ill check it out
well I'll just send the jar after I make it.
and the source code in case you're one of those people that "don't download anything from discord just in case its a virus" lmao
Hey 🙂 Not sure if this is the right channel, please tell me if I should move it...
Is there any way to make custom placeholders? I'll explain this the best I can. I'm setting up a custom Achievements menu on a minigames server using DeluxeMenus. Obviously using DM you can add console command actions when certain items are left clicked. Is there a way to 'add 1' in value to a 'custom placeholder' when an item is left clicked? For example, I make a placeholder with an integer value. The placeholder can be called 'AchievementsComplete'. Then, using DeluxeMenus, every time my player completes one, they click the item in the menu and I want the Placeholder to increase in value by 1. This could also be used in other menus such as a Shop Menu where each time an item is purchased, the placeholder 'ItemsBought' can increase by 1. This idea I assume woud need to be/could be linked to a MYSQL database to track what each players current 'stats' are.
If this is in any way possible or if there are any ideas or other plugins capable of this, any help would be appreciated 🙂 Thanks! If any of that doesn't make sense, please let me know and I'll try explain better.
Note: the end goal / reason I want this is I want one of my achievements to be 'purchase X amount of items from the Shop Menu'. To be able to do that, I need a way of tracking how many the player has
you could use a meta permission to track it. You'd just need a way to perform math functions on that permission then. Should be doable using the Math placeholders.
Something like this might work assuming you use LuckPerms: %math_{luckperms_meta_purchasedobj}+1%
Hey thanks for the reply, I'm not familiar with this so I'm just playing around with it in game before I reply
So how would I use a command to add the value of 1? When I run /lp user AltSplash meta set test %math_{luckperms_meta_test}+1% that doesnt work. It just sets the value to the text of '%math_{luckperms_meta_test}+1%'
If I can get a command to add 1 to the value, I think this is exactly what I'm looking for
Make sure you have the math PAPI extension installed. Also, try doing it with a DeluxeMenus button, as that should parse the placeholder.
/papi ecloud download math
/papi reload
[console] lp user AltSplash meta set test %math_{luckperms_meta_test}+1%
I had the Math extension installed but I'll try doing it through a DM button, just having lunch quick 👍
Ok, so, the [console] version worked so that's great. Only thing I can't get working is for DeluxeMenus to recognise when a players meta value is at a certain number to change the display item in that slot. By using the [console] way its setting the meta to 3 decimal places, not sure if that is the issue (i.e. instead of 3, its 3.000). In the attached menu, looking at items 4a and 4b, I've tried switching the priorities around and also tried changing the output between 4 and 4.000 but I can't get any combination where AltSplash can see item 4b, the diamond.
If you are still confused on the matter, what you want is %math_0:_(equation)% 0 = amount of decimal points
Perfect I've got it working now, thanks for all the help this is really useful to me 🙂
is there any user text input expansion?
how do i show the top player with highest vault balance because %vault_eco_top_player_#% doesn't seem to work for me
%vault_eco_top_player_#%
yea that was what I was trying to type but that doesn't work for me
Make sure you downloaded it's expansion
I had it installed and it still doesn't work :/
Where do you intent to put the placeholder?
tab plugin
I just read pinned messages that expains it
but is there a way to show the player with the highest vault balance?
Hi! Having problem with localtime extension. Im using it for TAB plugin. When im adding this: %localtime_timezone_<Timezone_ID>% with actual timezone id from site, it doesnt show right time zone, like it shows same time for all id's
Hello ! Is a BungeeChat plugin working with PlaceholderAPI ?
you have to enable baltop placeholders in papi config, they are disabled by default
^^^ Why? 
%jobsr_user_boost_(jname/number)_(money/exp/points)% won't work for all the jobs
I have a question about the checkitem requirement.
input: '%checkitem_amount_remove_mat:NETHER_STAR,amt:1,lorecontains:&7Effect: &6+250% Token Boost%'
The lore I am using has a % in it, so it's making DM think that the first % is the end of the input, is there anyway to make it think that it's not the end of the input and apart of the lore?
[prc]
Over the last few days I've started getting an error from the ecloud manager whenever I reload it. This happens on both my local machine and a dedicated server box.
The problem seems to be one of the expansions. I'm not sure which but I recommend you remove them 1 by 1 and do /papi reload each time until you see it stops. when it stops, the last expansion you removed is at fault. you can find the expansions in plugins/PlaceholderAPI/expansions btw
You can try escaping it \% if that doesn't work then I don't think it is possible.
It seems to be related to any number of expansions, some of which aren't even plugin-related (Things like Player, and Server are doing it)
Expansions that seem to be causing it right now:
Essentials
Player
Server
Vault
@steel tendon,
With the broken ones enabled?
yeah
Prior to server restart (After disabling and re-enabling expansions and reloading papi):
https://gist.github.com/reiyooki/68d1579c06c510245c4b6a2a70e469dc
Fresh startup:
https://gist.github.com/reiyooki/0444fad8f1e3b41ac4f81e5c919160fd
what server jar do you use?
What timezone ID are you using?
It does not
Already tried that Blitz, thanks for the suggestion though :)
is there a placeholder for how much levels you have?
is that bad boy open source? seems like it'd be, it sounds like a utility
@errant iron,
lmao
BungeeChat lmao
Probs not
:/
Its a plugin and it is OS: https://www.spigotmc.org/resources/bungee-chat.12592/
well its probably not that used or such a required thing
also seems like they're working on a full rewrite
yeah
Hey
I can tell if this is a problem with holographic displays or papi
but when I do %bungeecord_duels1% in a hologram it just says %bungeecord_duels1% not the player count
of that server
^ HD doesn't support PlaceholderAPI. you need the HolograhpicExtension as well
I have it
other placeholders work
just not bungee cord one
nvm
i fixed it
its %bungee_duels1% not bungeecord
Hey guys, i have an issue when my server was on 1.8 all of the placeholders worked, now when i upgraded the server to 1.12 it stopped
i've fixed every placeholder except this one (keep in mind this worked)
%math_{prisonranksx_nextprestige_name}-1[precision:0]%
I've updated or did papi ecloud download math,mwdv but if you have any idea what should i do i am open for suggestions and advice 😄
do /papi info Math if the version is 1.7.0 then you have to use %math_0:_{prisonranksx_nextprestige_name}-1%
the way the precision is set was changed
in the latest version of the Math expansion
Oh yeah lmao. Missed that part 🙂
it says 1.2.0
oh wait maybe I messed up the version. let me check which one is the latest
oh yeah 1.2.0 not 1.7.0
my bad
oh thanks 😄
is it possible to make a custom placeholder that looks for a specific line in server.properties?
I mean you can get stuff from Server can't you?
and js allows you to get Server. so you can use that
d;methods spigot Server
whatever this and Player allows
you can use in JS
var server = BukkitServer;
var player = BukkitPlayer;```
why redefine a variable xd
const was not a thing in nashoorn. You can only use var
Noob
function getServerProperty() {
if (args.length == 0) return ""
switch (args[0]) {
case "ip": return BukkitServer.getIp()
case "port": return BukkitServer.getPort()
default: return "null"
}
}
getServerProperty();```
@trim jungle
oh, so i would just replace ip or port with what i want it to get?
as long as its a method in the Server class
there's a DocDex list of methods
aboce
above*
Although most things should be available on the server expansion
i'm trying to get the server-name from server.properties (its put there by chatcontrol red) so that i can use this in discordSRV instead of typing the server name in every single line in the config that needs it
server name is defined on papi config under "server" section iirc.
you can use %server_name% and set it in plugins/placeholderapi/config.yml instead
yeah but i would rather have one location for the server name
And?
Pretty sure it got moved to papi config since the value is no longer on server properties or smth like that
d;spigot server#getname
That will return "Spigot", I think
not sure what you mean because chatcontrol red is still getting the name from server.properties
though i didn't think of trying the %server_name% placeholder in the chatcontrol red config
guess i could try that
you can just make a JS placeholder
if you want
as we said
and use BukkitServer#getName()
ah
https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/browse/src/main/java/org/bukkit/craftbukkit/CraftServer.java#227
As I have said, that will return the server implementation name
hi all - does localtime use the ip of the player? I tried using a vpn in another country yet it still shows the server time
So you used /papi parse PLAYER %localtime_time% and it showed the server time even if his IP is not in the same timezone?
yes - i connected to a foreign vpn yet it still shows my (and my server) timezone
it's not the vpn's fault - other plugins were able to find the correct ip country location
have you checked console? when you parsed it. See if you get this error "[LocalTime] Couldn't get " + NAME + "'s timezone. Will use default timezone."
because I've checked the code and it would put the server timezone's only if something went wrong when getting the player's timezone
I can join your server btw in like 2 minutes and parse the palceholder on me. see if it works then
if you want of course
i remember seeing that error before, but not recently (at least none as far as I was able to scroll up to in screen)
if there was, would it be when the server started or when a player joined?
when the player joined or if not when you parsed the placeholder
are there any incompatible plugins? one i'm thinking might cause problems is fastlogin
no - it doesn't say the default timezone when i join (tried with an alt)
if you want me to join I can try also try restarting first
then joining
and checking the console
and I'm not aware of anything that might interfere.
i'll try to start a completely new temporary server
even a fresh server with papi only wasn't able to parse the time
the console didn't say anything
you did /papi reload or restarted the server?
yes
This may be a shot in the dark but %jobsr_user_boost_(jname/number)_(money/exp/points)% doesn't work for all the jobs, hoping someone knows a solution to this
You'll have to contact the dev of the plugin since he develops the expansion as well
I posted this issue 2 times and nobody said anything 😦
we can't really do anything. well I guess if anyone had time could check if its Open Source and update it but I ain't got time
Nah, I just hoped someone might know why it won't work
yeah no idea. Probably just the code being broken
Nope, It only shows the bonus of the jobs that you are in =/
@quick sphinx,
feelsbadman
Hi ! How to use Papi with BungeeCord plugin ?
You can't. PlaceholderAPI doesn't support Bungee
unless that plugin has some sort of extension like the plugin TAB does you can't
Projeck lost connection: Internal Exception: io.netty.handler.codec.DecoderException: java.io.IOException: Packet 0/0 (PacketPlayInTeleportAccept) was larger than I expected, found 33116 bytes extra whilst reading packet 0
This occurs with PlaceholderAPI installed
when papi is uninstalled, this no longer occurs, ever.
any idea?
reposting in the appropriate channel, woops.
How can I remove certain symbols from a placeholder result?
Ex: remove the commas in: 124,589,329. So that it ends up being 124578329
For which extension?
I am using Economy Bank's %economybank_balance%, but for what I will use it, I need to remove the commas in the output. (while it still being a placeholder that I can use on other plugins)
I'm not sure about what you can do to that particular placeholder since it is hardcoded into the plugin with only that format, you might be able to chain placeholders? not sure
you can use the JS expansion to change the output of any placeholders but you'll need to have some JavaScript knowledge
I thought of that, and even tried downloading the "Formatter" placeholder. But, it kept on messing up with papi due to it being buggy/outdated.
what PAPI version do you use?
then go to plugins/PlaceholderAPI/expansions and delete the Formatter expansions from there
Yes. I did that.
also that expansion won't help you at all
it only adds , if you want
it can't remove them
Oh...
and the error is because you use Java 15. It only supports up to Java 8
I do not have any JavaScript knowledge unfortunately.
I can make a quick one if you want but idk if the js expansion will even work for you
just recompile the plugin with a differnent DecimalFormat, duh
I can PR a new placeholder then
my hero ❤️
in a few hours @amber compass and I'll send you a jar personally just in case the dev doesn't decide to accept my PR
Ok.
Thanks <3
ah i see i see
if you want you're free to do it yourself lmao
i don't have too much experience with papi extensions
oooh JDA fun
I mean
I can give you the code rn
1 sec
in a paste bin
oh wait I could just add it to github
lmao
no need to download, compile all that but still someone will need to compile
for Alchemies
I'll just do it in a few hours
or maybe I'll finally go take a piss and add it after lmao
lemme see what I can do
oh god this guy isn't using gralde or maven
he's using eclipse... and im not sure how to build this project
dw I'll do it later. I think. I've allready added the code
its just 3 lines
if (identifier.equals("balance")) {
Double bal = pl.getMoneyDatabaseInterface().getBalance(player);
return int(bal)
}```
maybe I should name it balance_fixed instead
I'd keep the old one and use decimalformat too instead of casting to int
also how can you build it?
yeah dw that code is broken in many ways lmao
int() bal is what I have to use and also I need to parse it to string
I just made 2 new placeholders and left the old one just renamed it
yeah I told you its broken
and I didn't yet
I just PRed it
I'll build it later
if I can
I have eclipse installed
so I'll figure it out
oh ew
similar to the epic games launcher, I have a firm policy of never allowing eclipse on my computer
that's all they have
wtf
that I played on it
egl sucks dick
morally im against them
every time a new game comes out and it's only on egl, I hate them 200% more
the problem is that it exists
Fortnite, Rocket League, Batman Arkham series
only steam should exist
the exclusivity is the problem
that’s what it has been like for at least a decade and it’s been fine
i'd be vibin if games were on both platforms and there was competititon
but when a game is only on egl, that's when I get mad
then epic came along with their shitty ass launcher and is making me go to 2 places, steam and epic, to play stupid games
unacceptable
fuck epic
woah this is in placeholderapi
lmao
ugh you know you can download the games and then launch them from steam right?
yes but I still have to give them my money and I do not support such bullshit
yes but hours aren’t tracked and u cant use steam mods, workshop, or anything
epic games launcher is so damn primitive compared to steam
it’s so bad
well Starmism I figured out you can just import the project in IJ. Now its time to figure out how to build it lmaooo
wait whattttt
and turns out I don't actually have eclipse installed
i opened it in IJ, but everything is an error since I don't have any dependencies
I think Ill have to manually gradle this bad boy
either that or use those things that I forgot how they are called
that i used before gradle lmao
maven? lol
might as well shade with gradle while im getting them lol
I already paste it there, what's next?
What version of PAPI, MC server, GemsEconomy, and extension?
do /papi info Vault and tell me the version
and also the version of your gemseconomy plugin
damn okay smart guy
I mean they are all there ....
k then lmao
[17:23:43 INFO]: Placeholder expansion info for: vault
Status: Registered
Author: clip
Version: 1.6.0
Requires plugin: Vault
GemsEconomy 4.9.2
ok do /papi info GemsEconomy as well please
papi info GemsEconomy
[17:24:46 INFO]: [MyCmd] This command have ADD_PERMISSIONS type
[17:24:46 INFO]: Placeholder expansion info for: gemseconomy
Status: Registered
Author: Xanium
Version: 1.6
Requires plugin: GemsEconomy
do /papi ecloud download Vault then /papi reload also make sure you have the Vault plugin installed.
[17:30:23 INFO]: Successfully downloaded expansion Vault [1.7.0] to file: Expansion-vault.jar
Make sure to type /papi reload to enable your new expansion!
[17:30:23 INFO]: [PlaceholderAPI] Fetching available expansion information...
papi reload
[17:30:28 INFO]: [MyCmd] This command have ADD_PERMISSIONS type
[17:30:28 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[17:30:28 INFO]: [PlaceholderAPI] Fetching available expansion information...
[17:30:28 INFO]: [PlaceholderAPI] Successfully registered expansion: gemseconomy
[17:30:28 INFO]: [PlaceholderAPI] Successfully registered expansion: luckperms
[17:30:28 INFO]: [PlaceholderAPI] Successfully registered expansion: player
[17:30:28 INFO]: [PlaceholderAPI] Successfully registered expansion: server
[17:30:28 INFO]: [PlaceholderAPI] Successfully registered expansion: vault
[17:30:28 INFO]: [PlaceholderAPI] Successfully registered expansion: worldguard
[17:30:28 INFO]: 6 placeholder hooks successfully registered!
and if you do /papi info Vault now is the version 1.7.0 ?
[17:31:40 INFO]: Placeholder expansion info for: vault
Status: Registered
Author: clip
Version: 1.7.0
Requires plugin: Vault
yes it do
btw @errant iron can you check the code for me? I think I might have messed up the casting to int from double
And you still get the error?
[17:31:59 WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.9 generated an exception while executing task 1621
java.lang.NullPointerException: null
at me.xanium.gemseconomy.vault.GEVaultHook.getBalance(GEVaultHook.java:100) ~[?:?]
at com.extendedclip.papi.expansion.vault.VaultEcoHook.getBalance(VaultEcoHook.java:223) ~[?:?]
at com.extendedclip.papi.expansion.vault.BalTopTask.run(BalTopTask.java:52) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.16.5.jar:git-Paper-564]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.16.5.jar:git-Paper-564]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.5.jar:git-Paper-564]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_281]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_281]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_281]
Yes :c
are you trying to use the %vault_eco_balance_top...% placeholder?
@hasty spear the problem is that you didn't set any default currency in GemsEconomy I think
set a default currency and you should be fine
I haved done that before, it's really strange.
if that doesn't work then you'll have to contact the developer of the plugin GemsEconomy
and show him the error
he might help some more
But i seen that there's a new placeholder version, it's not working good yet?
add me back, jar is finished!
does anyone know how to do a separator newline for the playerlist_online placeholder? trying to list all online players on separate lines.
I'm 100% sure you can use javascript to add a newline
Though where are you listing this? in chat?
no in the scoreboard on the right.
You can try AutoRankUp I think its called. I know it might sound like a rankup plugin but it actually just executes commands when requirements are met. and I think it supports PAPI placeholders as requirements
is there any placeholder for players?
@austere hawk,
Have you asked your question?
Hi! I get an error every time I stop my server.
https://pastebin.com/M6HuLm95
Paper 1.16.5
What EssentialsX / papi versions are you running?
latest of both
Hey, I updated the PAPI extension for "Skript" plugin. I just changed the Build Patch and that was enough to make it work. I think it will come in handy for a lot of people, so I would like the update to be officially added to eCloud. The original author of the extension is "F8te". I can send the .jar file in a private message or here.
I got an error everytime I run ANY ecloud download command the error stating that it Failed to find an expansion named: %name%
That looks like my current error https://paste.helpch.at/hatecugise.php
Still i cant fix it
Contact the developer of GemsEconomy
Unfortunantly I can't send PM on spigot :c, but why his console problem looks almost similary than my problem?
The problem steps from a method in his hook. Only he can fix it.
If you don't use the baltop placeholders, disable it in the papi config and it'll go away.
i like poop
Cool
Hello! I am trying to make a placeholder that will return a number which tells the player how many players are left in my minigames. I tryed to just return the variable, which doesn't work because it needs to return a string, and i've tryed to change it to allow me to return an int, which caused an issue with papi.
public String onRequest(OfflinePlayer player, String identifier){
// %example_placeholder1%
if(identifier.equals("playersleft")){
return "Left:";
}
// We return null if an invalid placeholder (f.e. %example_placeholder3%)
// was provided
return null;
}
#development for coding help @sand gulch
Thanks!
is there a placeholder, that will check the player's monthly and weekly statistics from other placeholders? like parseother
leaderheads might be able to do this
yeah but I don't think he wants leaderboards
can i have some help with placeholder api and holographic displays please?
You need HolographicDisplay, HolograhpicExtension and ProtocolLib for placeholders to work in HD
i have these installed but i want to use multiverse to display how many ppl are in the world
with hd
%server_online_WORLD%
just change WORLD to the world name you want to display the amount of players online inj
does the world name need to be in all caps?
/papi ecloud download Server then /papi reload
👍
My placeholder expansion doesn't work. When i do /papi parse me %playtime_time% i get an internal error.
https://pastebin.com/6VJFL6PW
what about other player placeholderS? /papi parse MasterDev %player_name% also try /papi parse me %player_time%
oh wait. I've just reread the error. xD PLAY_ONE_TICK What expansion is that playtime ? It doesn't seem to be on the ecloud but its listed on the wiki.
where did you get it from?
or does it come with the plugin?
what's your server version? The plugin might not check correctly for the server version
the {player} part is not working when i change it to my ign it is fine
its %player_name% and you have to do /papi ecloud download Player then /papi reload
Hi everyone, i have a PVP arena server, and i have an error when one player in particular (not the others) try to join the arena :
" **[AnimatedScoreboard] PlaceholderAPI caused an error while parsing line "&6&lClé(s) cosmétique(s) &r&f: &e%ultracosmetics_keys%" for ReminiCriquet. This is not an issue with AnimatedScoreboard and should instead be fixed by the maintainer of the placeholder pack you are trying to use. **"
Do you know where it could come from ?
thanks a lot for your help (can you please @ me if someone answer ? 🙂 )
@fierce narwhal Does it show any other error? And are you using MySQL or flatfile storage? I presume the error is a null pointer exception and I presume it is because that player doesn't have an entry in your storage system for some reason, since there's no null check in the code
@errant iron thank you for your answer,
I also have this in the console :
.... [16:37:05 ERROR]: Could not pass event PlayerChangedWorldEvent to UltraCosmetics v2.5.10
java.lang.NullPointerException: null
And i'm using a MySQL storage
Exactly what I thought lol. Can you look at your SQL table and see if that player has a row? Or do whatever you need to do to generate one for them since obviously they don't have one
i'll check it when i can, thank you for your help ! 🙂
please help me i use placeholder math but my command doesnt work how to fix ? (%math_[0]:[1]_{server_online_Survival}+{server_online_SurvivalTheEnd}+{server_online_SurvivalNether}%)
it should just be %math_0:_{server_online_1}+{server_online_2}% I think
hello, how I can use placeholders in my FastBord scoreboard pls?
using the api
do you have a doc to use the api pls?
Is there a placeholder for "Display users online"? When I go into vanish mode the placeholder players_online still shows me as a player.
If you use essx, they have a safe online.
%essentials_safe_online% i think
Hello, can someone tell me why the placeholder %player_name% doesn't work ? I have it in VoteParty plugin
wow ty
Hi. I cannot figure this out on my own. Can I easily use placeholders from other expansions in my own expansion? For example:
String Nickname = "%player_name%";
Thank you
umm you shouldn't even be using plugman in the first place
^
I use plugman for /plugman lookup lol
hey
So I am trying to add something on a scoreboard, when somebody does /heal I want a timer on the scoreboard until their next heal (when the cooldown I have set is over)
anybody know if this is possible
essentially just want their cooldown to be displayed on the scoreboard, im using scoreboard-revision by HelloItsRhien and it supports placeholderapi but I cannot find a placeholder for this sort of thing
because there doesn't exist one. Unless you have a custom heal plugin?
well you'll first of all need a plugin to add the cooldown to the heal command so you'd probably just need a fully custom /heal command that also adds a cooldown and also gives you a placeholder
I set a cooldown in the essentials config( i believe 4800 ticks), are you saying I should make a new plugin in order to create the placeholder
If so, do you have any information that could potentially help me, I am not very skilled in this department
Ohh. Dind't know essentials has a cooldown thing for /heal
well there is no placeholder to dispaly that cooldown I'm afraid
Ive seen servers with what I want before, do you think they made their own plugin
and placeholder
probably. but essentials doesn't have a placeholder for it.
Yeah, gotcha. Appreciate the info!
You could probably use #816184747024711693 / #816184744797929522 and ask someone to add 1 to the essentials expansion. I think both the plugin and the expansion are OS
Alrighty
Is PAPI3 gonna be released this year?
nah bro, the 3 stands for the year 3000
nah we discovered it then
released in the early 1000's
not a lot of minecraft servers for it back then
Maybe, Maybe not. No one knows I'm afraid.
unless some do and I don't xD Which is most likely the case
☹️
H
hello, if im in lobby servers, but i want to show how many players are in our lets say survival server, is there a placeholder for that?
anyone?
There should be yeah
what is it tho?
I have a question about the javascript expansion for Papi
Does anyone know how to use the Data.Clear() option? It's not clearing the data from the yml file.
This is the console feedback when I tried to download vault extension and reload the plugin, how do I fix this to make the vault expansion work?
[Sat, 27. Mar 2021 21:00:26 GMT ERROR] expansion class VaultExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use net/milkbowl/vault/economy/Economy
Do you have Vault installed? If so, try to download the development version of the extension. I don't know exactly where that it but I think it exists
ok
is placeholderapi ecloud off or not working?
update: im stupid and forgot to download vault
i can't install extensions via minecraft chat, with the FTP not works again, it didn't find extensions
It's up. Try downloading manually from the site and transferring the file to your server
i have already do that, but it says that there isn't any extension installed
is in the extensions folder
hey the factions mcore extension is not showing on the list or working
yea im quiting
Anything in console?
Did you restart or do /papi reload?
yes
Anything in console?
lmaooooooo
failed to download expansion @errant iron
I mean when loading, it doesn't say anything about the extensions already there?
if i try to download with /papi ecloud download leaderheads it says that not find an extension with that name
Try like player
i tryed like player and says: failed to find an expansion named: LeaderHeads
Uh
there is no leaderheads expansion
That's pretty funky
its built into the plugin
there is. but you shouldn't download it
there is the expansion to download on the ecloud website
bcz now it comes with the plugin
it's the spigot plugin, papi doesn't find any extension
.
Well you don't need it
i've all the expansions for holographic displays to make a leaderboard for BedWars1058 but when i insert the placeholder in the hologram it says: "armor stand"
You got holographic extension?
yes
i have protocollib, hdextension, heplaceholders, leaderheads and papi
and bw1058
the only problem is that
i try in the localhost or in the another server i have
if it not work is the ecoud that have problems
Does anyone know what it means when a placeholder extension is orange when you check the list
means there's an update available
i tried to download it again
but its not working haha
and when i do /papi reload it only says 2 reloaded but i have 3
https://api.extendedclip.com/expansions/pronouns/ if a mod gets a minute itd be appreciated if someone could look over my plugin for verification c:
checked and verified
takes around an hour or so to show on the cloud due to caching
awesome thanks
how to display top kills per world with PAPI-placeholders or just top kills?
nothing, in a localhost server it does find Vault expansion but them can not enable
i do papi reload and them don't find the expansion
I'd use a leaderboards plugin like ajLeaderboards or LeaderHeads, that gives you much more control over how they're displayed and tracked
There are like for a player how to make it top 5 or 10 like
Yup, those plugins can track kills and such and allow you to find out who are the top 5 or 10 killers in the server
what can i do to fix that?
@errant iron it's a problem of the e-cloud or what?
and i've installed manually the extensions but it not find extensions
anyone know how i would edit the pinger placeholder and make the offline text be animated?
quick bump on my question
https://imgur.com/a/WgE4mP1
this keeps showing up when i register it
ok so first of all go to plugins/placeholderapi/expansions and delete all the Expansion-parkour.jar files
then do /papi reload
and then download it again.
@sleek sparrow
what do you mean by animated?
ah if you mean the text to update every few seconds then no. Well you could make a javasript placeholder yourself.
https://api.extendedclip.com/expansions/profiles/ could someone verify my plugin please if they get a chance
👍
thanks
@turbid tide still not working
@sleek sparrow,
oop
@sleek sparrow send this then ^
do i dm it to you
Hi,
I want to set it so my TitleManager Scoreboard shows the place I am, by the names set in WorldGuard So, for example. If you are at spawn, it shows "Spawn", I used the placeholder %worldguard_region_name_capitalized%, but when I am not in a region, the text just dissapears, and I would want it to say something like "Wilderness", is there a way to do that?
Thanks <3
i downloaded this /papi ecloud download world
%world_playerexist_<world>% this didnt work
and i tried this /papi ecloud download ListPlayers
%listplayers_in_world_<Bedrock1>% this didnt work too
im trying to type which players in world "bedrock1" to tab can someone help please? :/
and im sure the worlds name is true
Did you do /papi reload or restart the server?
yes i did >:c
What does /papi list show?
Math
Multiverse
OtherPlayers
Player
PlayerList
Server
Statics
World
i installed the listplayers its even in the file
but its not working
im just trying to type which players in world "Bedrock1" to tab, it dont have to be this hard 🤦🏻♂️
What does /papi parse me %world_playerexist_<world>% show?
it typed nothing to chat but like it send invisible character or something
but there is somebody in that world rn it still send nothing to chat
you put the correct world name, right?
yep
it called Bedrock1
B is big im sure
i even tested another world called end_pvp there are people in it, it still sending nothing to chat
ok. problem solved i did it with another plugin "%playerlist_online,world,yes,list,Bedrock1% "
This started to happen some time ago. I don't know what is causing this. When I try to use /papi ecloud download I get this error: No cloud expansions are available at this time
And placeholders are Broken.
i found an error :
[14:10:42 ERROR]: [PlaceholderAPI] expansion class VaultExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use net/milkbowl/vault/economy/Economy
PaperMC 1.12.2
@errant iron do you know that error?
try downloading the latest one from there
also, just checking, you have Vault installed right?
Yes I already tried to use the site expansions but it didn't work.
Server version: Paper 1.8.8
Plugin version: 2.10.6
[PlaceholderAPI] expansion class VaultExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use net/milkbowl/vault/economy/Economy
[14:24:58 INFO]: No expansions were registered!
Same error
If you ask me to update the plugin, I already tried it! When I update I get errors on my console!
do you have Vault ?
it's installed
but witk luckperms is the same problem
same error for LuckPerms?
i'll try to reinstall them
send the lp error
i'll try to reinstall them, because alright the Leaderheades expansion not work and i have the plugin installed
reinstalled
ok Luckperms and Vault work,
now i need to fix leaderheads expansion problem
it probabbly work now
i do /papi list and i have LeaderHeads, Bw1058, Luckperms and Vault green
then it should be good
i'll try on another server (Ploudos)
because leaderheads without expansion not works for leaderboard on BW1058
you don't need to download the LeaderHeads expansion, it's installed automatically if you have LeaderHeads
i don't knw the problem of the line with leaderheads
did you specifically download the leaderheads expansion?
i downloaded expansion from the ecloud website and uploaded on the PloudOS server
okay you shouldn't
isn't the latest version 2.10.9
not 2.10.6
the leaderheads expansion is for legacy support
the current version has it built in to the plugin
so having the expansion will mess things up
the problem is that in the hologram i don'have the best killer/winner but the is the write "Armor stand"
dude I'm not even sure if that version if backwards compatible to 1.8.8
remove the expansion and restart the server
i need Holographic displays, hdexpansion, leaderheads, papi, bw1058 and i'm done?
i alright have hdplaceholders
it is?
you should not have a leaderheads expansion listed in /papi list
¯_(ツ)_/¯
you should actually
i'll retry without expansion
when plugins hook into PlaceholderAPI, they appear in /papi list
i have to wait 40 min of queue
you shouldn't have any file in your expansions folder in your PlaceholderAPI folder called leaderheads-expansion or something like that
rip Aternos
alright I'll leave you to your domain lol
in the next days i'll probabbly buy an MC server of 3gb ram to help me
x)
it's PloudOS
ah, then I guess it's the same system
I got 76 minutes once
in my state (Italy) i have germany
oh did it increase? i only had to wait like 5 minutes a few months ago
sometimes less than 5
@errant iron it's enabled when i do /papi list
yeah you should ask @junior musk , not me lol
x)
does it show in /papi ecloud list installed ?
if it doesn't, then it's good
if it is shown, then you have to go in your PlaceholderAPI folder, then in the expansions folder, and delete the leaderheads expansion file
i removed expansion and leaderheads there is, but i can't make the leaderboard with the tag for BW1058
does papi not work in 1.8 for developers?
since cant seem to be able ytp use the PlaceHolderAPI method
Should work fine.
can you take a look at this then/?
That looks correct.
Sometimes IntelliJ has a mind of it's own 😛
yeah lol
depend:
- LuckPerms
- Vault
- PlaceHolderAPI``` also is this the correct way to depend papi?
since im getting an unknwondepencyexception
after doing it using [] and commas it started working
no idea what is happening with intellij/ my server lmao
PlacholderAPI
soft-depend: [Vault, LuckPerms, PlaceHolderAPI]``` this works
PlaceholderAPI
ok
avtually it may work since the placeholders aint workin
waffle both work, I just had to download and then reload it everytime I downloaded a new placeholder
the math expansion
ecloud math
%math_{placeholder_1}+{placeholder_2}%
%math_0:{placeholder_1}+{placeholder_2}%
/papi ecloud download Math /papi reload
to download the latest version
yo @sleek sparrow sorry it took so long. I completely forgot. So turns out the ecloud expansion is not needed anymore. It comes directly with the plugin now. So you have to go to plugins/PlaceholderAPI/expansions and delete Expansion-parkour.jar
then /papi reload
and you should be fine
do you have HolograhpicDisplay, HolographicExtension and ProtocolLib installed?
oh i dont have extension
hey
@vast anchor,
ah freddy forgot a _. its %math_0:_{placeholder_1}+{placeholder_2}%
oops
@lilac oxide,
._.
mUtE
When I do /papi ecloud download Skript and do /papi reload it doesn't download, and doesn't show up in the list.
And, i can't download it manually because i'm using minehut.
are you looking for a fix to problem one or two? :p
because I'd say moving off minehut is your best bet
problem 3 = using skript
imagine not having a plugin to install other plugins to bypass minehut smh
is that a thing? 👀
well theres your issue
fix that, and boom probably one is fixed
no, but its like 20 lines of code lol
no like, i can't download manually because of minehuts stupid file manager
its not a issue
but... how do you upload it to minehut in the first place? 👀
idk if minehut has things to prevent that tho
oop
good point
lol
yes it is lol
Skript is a scripting language, so probably because of the same thing that you can't download custom plugins there
this
skript 🥲
it did? LOL
I remember using aternos
thinking I could create the next hypixel on there
oh smart dkim
what if u make expansion to papi
then that expansion downloads plugin
to bypass minehut
lol
just get cube to verify the expansion
ez
/papi ecloud download AntiMinehutBypassSystem