#placeholder-api
1 messages · Page 133 of 1
Well the paymants are offline. Idk why. Either he just doesn't want to sell plugins that don't get updates or he got banned by PayPal as well just doesn't want to say it
ye but he said he can't afford premium plugins.
oh yea bruv
any free ones I can find are either outdated or no support for PAPI and no placeholders
and seems like the premium ones don't have PAPI support either
there is no placeholderAPI in it
but i still got that problems with multichat
one dumb space between the message and the name
anyone have the link to the updated autorank expansion?
if its updated it will be updated on the ecloud list
🤷♂️ guess it shant be found
ok.
I heard there as a update to autorank expansion?
I found a pull request from DeathRealms, will that update the expansion?
%javascript_{statistic_mine_block:STONE}>=36%
Is that how you use the JS placeholder?
No
Refers to a file doesn't it
Hello i get this error every time PlaceholderAPI starts
[13:05:12 ERROR]: [PlaceholderAPI] expansion class PlaceHolderHook is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use me.foundfile.worlds.Main
I don't think that's enough info
Also, it could be the expansion that needs to be updated
I was wondering why the latest version Autorank expansion is not available on ecloud?
Also Statz, mcMMO and Bungee are in gold when I run list installed
download from ecloud
Cosy you talking to me?
yea]
I got latest Autorank expansion from github, I downloaded it via github desktop and complied it
when you use /papi ecloud download autorank it gives you the 1.1.0 version not 1.1.1
download it manualy
which one? I have the latest Autorank, and Statz but they are in gold
cuz you downloaded it from git
Statz is from ecloud and it is still gold
no I used the commands
oh
I downloaded AR manually
why botherd then ?
if it work, it works right
it's the same thing with bungeecord expansion
cause things say I need to update the it is updated
I discovered Dchat is not working
statz is by you
yes thats why I want things to work right for Statz
it works fine even if it's gold, just papi reload on 1.16 breaks the list feature
aah
Dev of UltraPermissions passed away, his wiki is now gone for some reason. Bought the plugin the day he passed (Didn't know it) and now I am just doing random stuff to set it up.. No clue. Anyways I need to link it with DeluxeChat and thought it needed PAPI but can't find any expansions
%vault_prefix%
(Vault's an API plugin to basically provide a common way of accessing prefixes, economy, and perms, regardless of the plugin that provides each of those. UPerms should support it.)
Hello there! I want to make custom placeholders with skript, (ersatz plugin), but if i download skript expansion with /papi ecloud download Skript, it downloads, but if i type /papi list, it doesn't show skript expansion. (Sorry for my english.)
Well, im using UltimateChat and when i do so, the suffix colors dont show, its just plain White
idk mate https://github.com/FabioZumbi12/UltimateChat/wiki/(8)-PlaceholderAPI-Hook but from their wiki it doesn't seem like they have a PAPI placeholder for chat color.
unless you can use this one %uchat_placeholder_<uchat placeholder name>% - Get any of placeholders from uchat;
yeah i have searched there
well if its not on their wiki believe me its not here either.
their discord server is dead :/
this is PAPI's wiki https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders if its not here and not on their wiki then it either doesn't exist or its not documented.
Is there a way I can work out the KD of players using the math placeholder?
Using %statistic_player_kills% and %statistic_deaths%
you can change the precision from 0 to 1,2,3 etc. depending on how many decimals you want to have
👍
oh 1 second
ugh are you sure that /papi parse me %statistic_player_kills% and /papi parse me %statistic_deaths% work?
and if you do /papi parse me %math_[precision:0]{statistic_player_kills}/{statistic_deaths}%
Says "the provided value was invalid! reason: Division undefined"
Shall I get a kill and see?
try /papi parse me %math_[precision:0]{statistic_player_kills}+1%
do this first
just to make sure its not something else
says 1
then yeah get a kill and maybe a death
yea i got 1 death and its fixed it
So if the person doesnt have a kill or a death its going to display that?
yeah I guess so. I think you'll have to make a javascript to fix it.
hey is this the correct PAPI /papi parse me %objective_score_ts_KillPhantom%
i use it and it doesn't change when i kill a phantom
it showed 0 but after a kill, the /papi parse command still showed 0
is %objective_score_ts_KillPhantom% a correct PAPI?
ok ty
Looks like on PAPI PlaceholderAPI.registerExpansion();
Was removeD?
Anybody know what the new method is?
@Override
public void onEnable(){
// Small check to make sure that PlaceholderAPI is installed
if(Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null){
new SomeExpansion(this).register();
}
}```
the wiki
❤️
have you tried debugging?
maybe your code has some problems. idk. if you did then please go to #development , give them your class and tell them what the problem is please.
Hello i am trying to get the guild name in front of the display minecraft name. i am trying this format in essentials format: '{%guilds_prefix%} <{DISPLAYNAME}> {MESSAGE}' but it aint working. i enabled it on the guild plugin. can some1 help me?
#spigot-linking please. thanks
hes using ess chat
is guild a pay plugin
ok
but it's not a guild issue, it's a ess chat setup issue
doesn't matter. but ok
we were asked to ask people to link when we see they use premium plugins
I deleted my message, he most likely didn't' see it
dw about it. I just told you so you know for the future
For some reason placeholders arent working i have them installed but they aren't actually working like i cant get my essentials balance to show and i cannot get my luckperms to show up either
Is there any way to parse a placeholder for everyone online your server?
Without specifying each individual username?
I don't think there is a way that's implemented in the plugin
Maybe with JavaScript expansion?
well its definitely possible to make it with java and probably with JS as well but yeah its not implemented directly in the plugin that's what I meant
Oh okay, thanks!
I mean its still going to be a bit more advanced stuff so if you don't know a bit of javascript and spigot api not going to be possible at all.
Question, does anyone know why %player_exp% returns a percentage to next level in the Player Expansion
I am pretty sure that is what it was meant to be. There is no placeholder that just returns xp. There is one for level of you want tho.
Yeah I know that it feels like it should be returning the xp amount but it's what the devs decided it will do
so theres no way to get your exact xp amount? @turbid tide
Is there a working PlotSquared PAPI extension?
afaik the expansion is built in with v5
Doing a parse right now and it isn't working
hi guys
.... [11:26:05 ERROR]: [PlaceholderAPI] expansion class DSRVExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use github/scarsz/discordsrv/dependencies/google/common/collect/ImmutableMap
i did /papi ecloud download dsrv
but its still outdated?\
the author needs to update it
java.lang.NullPointerException: null
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.createExpansionInstance(LocalExpansionManager.java:343) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:138) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1654) ~[?:?]
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.4.jar:git-Purpur-828]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.4.jar:git-Purpur-828]
at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1371) ~[patched_1.16.4.jar:git-Purpur-828]
at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:387) ~[patched_1.16.4.jar:git-Purpur-828]```
I'm trying to download a placeholder expansion, but that error pops up
I'm using 1.16.4
yeh i dont think 1.16.4 is support by some of the expansions
I still wouldnt run 1.16.4 just yet
so theres no way to get your exact xp amount?
@light comet Nope. Not with the default PAPI expansions at least.
Getting a really odd error in console with Towny and PlaceholderAPI: https://hastebin.com/zuginelogu.yaml any ideas?
Hey, this morning after restarting our server, almost every plugin we had gave this error in console, caused the screen to hang, and we had to kill the screen and restart it. (Using Tuinity on 1.16.3)
https://paste.helpch.at/kidehevoci.sql
It looks like others have reported similar errors previously on this discord but I wasn't able to find any answers about it. Any help is appreciated, thanks in advance (tag me if you respond)
Since it seems like the issues are related to deluxechat and townychat as well, we're on PAPI v2.10.9, townychat v0.72, and deluxechat v.1.16.1.
@narrow stump I think you'll need to link first #spigot-linking
Okay, done.
hmm when have you purchased DChat if you don't mind asking?
The plugin isn’t owned by my spigot account; it’s under the server owner’s account
?notowner
Not the owner of the server?
If you're not the owner of the server and you're the one requesting the support you'll need to first get the owner who purchased the plugin to join and run through the verification system listed in #spigot-linking, once linked they just need to give us the thumbs up that you're with them.
Alright, thanks for your time~
hi i have problem, papi not load player extensions, i need do /papi reload and them it work..
Is it possible to create my own placeholder per server? I would like to give each server a unique name, and then display in a prefix from Luckperms. I think I can use Javascript, but is there an easier way?
Yeah, that is the Bungee name, but I'd like a different colorful name.
Spose I could just change the bungee name, but it will likely impact other plugins etc
Was looking for a general solution
Not sure what you mean by bungee name?
%server_name% isn't the bungee name iirc
I thought it was the name set in server.properties
I thought it was set in papi cause we couldn't read that file anymore
The name I have given the server in the Bunge config.. right?.. Wait there is a server name setting in the PAPI config
but could be wrong
which shouldn't affect anything, I've actually never seen it used outside of that singular placeholder
o i didn't know it changed cube
Yeah think it did and broke some shiz
well try that then fetxu
so we changed it to just be hardcoded in the papi config
That didn't work
Yeah, didn't change the %server_name%
did you /papi reload?
Yeah, lemme try again
bungee:
check_interval: 30
player:
ping_color:
medium: '&e'
high: '&a'
low: '&c'
server:
tps_color:
high: '&a'
low: '&c'
medium: '&e'
server_name: TRIED THIS OUT FOR A TEST```
%servername% placeholder
%server_name%, and that looks right to me
if a reload isn't working, try restarting
Returns the name in the Bungee config and LP config
It could be LP is overriding it
Could %otherplayer_hasperm_playername_perm_permstring% have compatibility for offline players?
or the Luckperms placeholder?
Is it possible to have a default value for a placeholder if it's empty? So for example if %rank_name% was empty it would replace it with "No Rank" or "None" or something?
Edit: found the javascript expansion, gonna use that
REPLY hi i have problem, papi not load player extensions, i need do /papi reload and them it work..
Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.
already did that
like yesterday
the error above happens when I do /papi reload
not /papi ecloud download
so the jar is definitely there and my server allows connections. it just doesn't load the JAR
@mellow urchin you can always use javascript if that one doesn't work.
Is it possible to have a default value for a placeholder if it's empty? So for example if %rank_name% was empty it would replace it with "No Rank" or "None" or something?
Edit: found the javascript expansion, gonna use that
@frigid prairie there is also the defaultvalue expansion https://api.extendedclip.com/expansions/defaultvalue/ if you want something that does exactly that.
Could
%otherplayer_hasperm_playername_perm_permstring%have compatibility for offline players?
@fair elm the expansion dev needs to add support for the OfflinePlayer. And I'm pretty sure you can't get permissions from OfflinePlayers.
tho I do think you can with LP.
there are no plugins that I know of to let you access permissions of offline players
lp included
oh does it not allow that? I thought you could have accessed it with LP's api
/lp user <name> permission info works fine with offline players
because I know it did not exist in the past as you'd have to make a call to the database every single time
that is not a placeholder fireFerry...
ye he wants to do it with placeholders
yeah, but I was just saying the command can access it but not the placeholder
ya I don't think it'd be possible because you'd have to make a call to the database every time the placeholder is called
which could be many multiple times a second
yep, so unless there is a plugin out there that keeps all that info in memory (most likely not as that would be a waste of resources) it most likely won't be possible
Somebody could maybe add it, but they'd have to limit the amount of database calls it makes so it would only update every so often
yeah
and there's no way I can make it myself xD
like making a placeholder myself to do it?
well not specifically you. he just said it would be possible to do it. its just not worth it I guess.
well I'm pretty much screwed without it xD
welp I'm afraid if you want this to become a thing you'll have to ask a dev to make it for you and most likely no one will do it for free. and as cj said its not rly worth it. It just sounds like a lag machine.
Well I don't want to use it continuously, I want to use it for a system to punish players
i know its going to be something simple i missed but when i change the config server_name it keeps changing back to A Minecraft Server anyone know what ive done wrong
you change it and then do /papi reload and it changes it back?
yep
yep ill try it again tho
im using notpad++ and it says that it was modified by another program and reverts back to default
oh lol. that's weird
could it be a bug not sure if it happened to someone else
I mean its something to do with notepad++. I remember this happened to me as well but don't remember why
i edited it with normal notepad still does the same thing
what server name are you trying to put?
server_name: A Minecraft Server
try this server_name: '&lTest&e&lCloud'
it didnt have the ' around it by default so i didnt know it needed them that might need to be changed so people dont try for 20 min like i did
it works now?
the thing is its not needed
unless you use color codes
I forgot that.
like that's how the plugin generates it
its not put there by anyone else
the ' around the coloured text wasn't there when the plugin generated the file wish it did that by default thanks so much fix the issue
well yes. because by default the text doesn't have color codes. So the code sees the text and generates the line based on that
no problem. glad it works now
i never used this plugin before is so useful saves me alot of work in the long term
yes it does. Its one of the greatest free plugins out there.
also you should look into javascript placeholders. Very useful
if you want to create your own placeholders
is there a link to the info about it somewere?
yep there is a wiki give me 1 min
oh shit I'm in a game of CSGO rn and I forgot
getting the link rn xD
its fine @turbid tide when your free can i dm you about some questions and help with other stuff
I mean why DM? that's why there is this discord server.
but yeah as the name of the expansion says you need to know at least some basic javascript.
okay
w3shools.com helps a lot with that
anyone can help? i have problem, papi not load player extensions at start, i need do /papi reload and them it work..
is there a place holder that i can put my links as?
is there a placeholder that i can put my website and discord links in so i can just type the placeholder for them instead
you could use javascript but I don't think the link will be clickable tho.
but yeah javascript is the only one I think
I mean the code is pretty simple for something like this
var arg = args[0]
switch (arg) {
case "discord":
"Discord-Link-Here"
case "website":
"Website-Link-Here"
case "vote":
"Vote-Link-Here"
case "youtube":
"Youtube-Link-Here"
}```
I think this is all you need
this is a weird one. Never had it happen and never seen it here before: https://paste.helpch.at/xazepiqoni.apache I have PAPI on all my servers (not on proxy of course) and I have the Bungee expansion on all servers(again not on proxy xD). When I try parsing the placeholder from another server I get that error but when I parse it from the server I tried parsing it for it works. I do have to mention I have different versions of PAPI on each server. Can't rly upgrade rn bcz people are online but if its that I just need confirmation. If its not then I need help. xD
I have PAPI-2.10.6-CustomBuild on the one I try to parse the placeholder for and I have latest dev build (111) on the others.
custom build is just 2.10.6 but with small changes made by Gaby for data in files to be saved or something. I think it was fixed in the other versions tho I just forgot to update.
Ok so I updated PAPI - 111 on all servers, Latest bungee on all servers Bunge - 2.0 and my actual bungeecord version is bungeecord-1539 which is the latest one at the moment
I still get the error
so its nothing to do with PAPI version
Well I mean seems someone forgot to register the plugin channel or shit breaking before that's done
well I mean I assume people have tested the latest build already and doesn't seem like someone reported it before
and I don't get any other errors on server startup or anything like that. Fully restarted my servers and my bungee
Well I mean might just be the expansion cucked?
huh I guess. But 2.0 has been out for a while as well.
Bully cube for source if it ain't os and fix it 
Great time to learn
ye
when my time is limited as shit.
I have more time to learn
because that's how life works 😦
and also I don't even know if its bungee expansion since that has been out since may I think
oh wait
it spams me every 3 seconds
as well
since I update the bungee expansion every 3 second
(config.yml option)
yoooo are you fucking kidding me?
whever updated the expansion got me good
they fucking changed the jar name from expansion-bungee to expansion-Bungee
and I had 2 expansions in the expansion folder
the old one that I had before updating to 2.0
and the 2.0
one#
try seeing if the dev builds fixes it.
@warm topaz nope, still have this error 😦 https://pastebin.com/k0stPjbD
Hi. I'd like to add a placeholder to PAPI. How would I go about doing that?
hi
eh
is this the place to get help about "title manager"? i jsut clicked "get support" on the plugin page
i mean ig we help with any plugin but you need to go to #general-plugins
Have you downloaded the expansions accordingly?
Which placeholders are you having issue with
i reaD the plugin page and saw nothin about it. let me search again
I am having issue with "%combatlogx_status%"
every time someone attacks someone, the scoreboard will disappear
Can I get %math% function without the zeros like I have: "Players online: %math_{server__online__world1}+{server__online__world2}%" will throw this: Players online: 0.000 | Can somebody help me please with that? I want to get players from more than 4 worlds etc. and I want to have it in One number, but without the dot and 3 zeros...
[precison:0] iirc
huh
oh
so what about the scoreboard getting suddenly hidden for both players that are in combat
Hi. I'd like to add a placeholder to PAPI. How would I go about doing that?
@manic thicket https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/PlaceholderExpansion#without-an-external-plugin
Sounds like combatlogx end if it’s disappearing upon combat
yes but then the scoreboard doesn't come back. i also use Place holders API
I'll check console for Info
nothing
Still sounds like combatlogx end placeholderapi wouldn’t / shouldn’t make your scoreboard disappear it’s probably the way combatlogx does it’s placeholders not really sure as never really used it myself
Idk which plugin causes it. because it's 3 plugins that makes it possible.
place holders API
title manager
combatlog X
I'll check. maybe ill make a post on the forums if it won't work
Just to inform you there is a specific support discord for combatlogx
I can message you it if you’d like
Hello, can I get %math% function without the zeros like I have: "Players online: %math_{serveronlineworld1}+{serveronlineworld2}%" will throw this: Players online: 0.000 | Can somebody help me please with that? I want to get players from more than 4 worlds etc. and I want to have it in One number, but without the dot and 3 zeros...
It's possible to change the plugin Inside please?
(expansion)
no need to change the plugin inside. Sellinq told you to use precision
%math_[precision:0]{serveronlineworld1}+{serveronlineworld2}%
like this ^
Oh sorry, I thought it was for another person
just add this block inside the placeholder [precision:0]
no worries.
but yeah no need to change the plugin
Okay, I will try it
there's a function inisde the placeholder already
Yeah, it's working, thank you very much!
👍
how exactly does the scoreboard objective placeholder work. I cant seem to parse the scores of a certain objective
hi i have downloaded mysql expansion how i start
which datas i must set in the config to connect to database
Is there a plcaeholder for unique player joins?
You're amazing 🙂
👍
probably in the config?
i have in there premade things
can i delete all and make a new one ?
money:
host: localhost
port: '3306'
database: minecraft
username: root
password: password
query: SELECT name FROM bedwars WHERE wins = 3
i have make this example
but when in game use placeholder %mysql_money%
it does nothing
money is only a example later i will make a toplist
@dense trail Novice
@mental night xoxoxoxoxoxo
Help Chat 😄
try to limit the result to 1 value @astral solstice
SELECT name FROM `bedwars` LIMIT 1 WHERE wins = 3```
@turbid tide thanks for the help on the custom placeholders i used the basic one as i was confused by the example you gave it works well tho 🙂
@hardy sage,
Please respect the rules, be patient and don't ping staff members!
What's the placeholder API to grab a vanilla team colour? I found the list on the wiki very confusing
Found it
hello the placeholder for Autorank doesnt seem to be working
Failed to Register Expansion from Expansion-autorank.jar
and also from DiscordSRV.jar
Placeholders not working on my scoreboard, it just shows up %autorank_total_time_of_player%
@silent basin which scoreboard are you using?
when i do /papi reload it says : No expansions were registered
Like these people, my autorank placeholder isn't working for my scoreboard. Even with the ecloud downloading command, it will not register. I've also physically placed the JAR into the folder and it still didnt work
Ye the autorank expansion is broken. They use an old method. I remember there being an updated one but I can't find a link
deathrealms github
he has a fork for it and i believe a release tag in his fork repo
@terse sapphire discordsrv expansion will also need updating by the developer
oh yeah here ya go https://github.com/DeathRealms/AutoRank-Expansion
thank you 🙂 appreciate it
@mossy helm can u try the papi dev build please. there was issues similar with the time so it might fix it. also make sure ur on latest statistic expansion
https://ci.extendedclip.com <- dev builds
latest dev means build 111?
wait so like the placeholder is saying 1 hour for example while the mc statistics are saying 3 hours? (just example)
wierd

not sure tbh
I'm telling you I trust the statistic expansion more than the LPR plugin
Hello. I'm having some trouble understanding this example: https://github.com/PlaceholderAPI/Example-Expansion/blob/master/src/main/java/com/extendedclip/expansions/example/ExampleExpansion.java
Do I need to have that class inside the source-code of my plugin or does it have to be in a separate JAR File? If it has to be separate, do I also make another class that extends JavaPlugin in there?
No, you don't need to extend that if it is separate
However, add spigot dependency if you want separate
Hello I need help with LocalTime PlaceholderAPI. I am in Europe/Bratislava and we have 13:16 . I added this placeholder %localtime_timezone_440,dd.MM HH:mm:ss% but it is showing one hour less (12:16) Some ideas how to fix?
It uses the servers timezone
it shouldn't tho
since he uses a custom timezone
I'm pretty sure the placeholder is broken
I've had the same problem
"localtime tomezone" :what:
any timezone I'd use it'd just show my timezone
Do y'll just suck at naming shit then?
aboody is at fault I think
well actually nvm
I think I recommended the name xD
but yeah you can use localtime as in server time
or you can specify a timezone
but its broken
%vault_eco_top_player_1%
have you installed the expansion ?
do /baltop
and send screenshot
%vault_eco_top_balance_formatted_1%
try this
weird
%vault_eco_top_balance_commas_1%
I have this and it works fine
what 0
what are you trying to return
the number or the player
%vault_eco_balance%
what doen this return
does it return pog ...
%vault_eco_top_balance_1%
any console messages ?
reload your whole server
maybe it doesnt work for 1 person
try a alt
on the same server
Hello i have problem, when im using %statistic_mine_block% or other placeholders, when im example break the block, it will not add 1 but 2, do someone know how to fix it?
I have a /statsof (player) command using the ParseOther placeholder to basically show the stats of the specified player. However, the ParseOther placeholder doesn't work when the player is offline. Is there a way around this?
Hello i have problem, when im using %statistic_mine_block% or other placeholders, when im example break the block, it will not add 1 but 2, do someone know how to fix it?
@indigo anchor the %statistic_jump% for example works fine, idk why
Hi! Im looking for support w one placeholder
My idea is to show a message in case that one server is offline, and if online to Tp.
Tried using %pinger_isonline_(my server ip)%
And MyCMD script is $Script$%if%$pinger_gameversion_testplugins.com:25565=="Online"
But isnt working.. Any other idea?
I need help with Math placeholder please, how to make it automatically update? When players join some worlds, the number still showing 0, but when I add this placeholder manually, It will show 3 players...
Bcs, there are 3 players in the world...
Updating placeholders is the responisiblity of wherever you've put the placeholder
But I don't want to update it manually
There is not an interval in config :/
Can someone help me please with the Math expansion? It doesn't update automatically, and there is no interval in config 😦
hello, so i want use heads on my gui .. in my gui the heads skin does not appear im using plugin EpicHeads
this my configs
https://paste.helpch.at/ofogoratiy.bash
any solution?
Hey, during my automatic server restart, I got this error and it caused the server to crash:
[16:11:41] [Server thread/INFO]: [TAB] Disabling TAB v2.8.2
[16:11:41] [Server thread/INFO]: [TAB] Failed to disable [16:11:41] [Server thread/INFO]: java.lang.NoSuchMethodError: me.clip.placeholderapi.PlaceholderAPI.unregisterExpansion(Lme/clip/placeholderapi/expansion/PlaceholderExpansion;)Z
[16:11:41] [Server thread/INFO]: at me.neznamy.tab.platforms.bukkit.features.TabExpansion.unload(TabExpansion.java:22)
[16:11:41] [Server thread/INFO]: at me.neznamy.tab.shared.Shared.lambda$2(Shared.java:123) [16:11:41] [Server thread/INFO]: at java.util.ArrayList.forEach(ArrayList.java:1259)
[16:11:41] [Server thread/INFO]: at me.neznamy.tab.shared.Shared.unload(Shared.java:123) [16:11:41] [Server thread/INFO]: at me.neznamy.tab.platforms.bukkit.Main.onDisable(Main.java:142) [16:11:41] [Server thread/INFO]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:323) [16:11:41] [Server thread/INFO]: at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:360) [16:11:41] [Server thread/INFO]: at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:427) [16:11:41] [Server thread/INFO]: at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:420) [16:11:41] [Server thread/INFO]: at org.bukkit.craftbukkit.v1_8_R3.CraftServer.disablePlugins(CraftServer.java:338) [16:11:41] [Server thread/INFO]: at net.minecraft.server.v1_8_R3.MinecraftServer.stop(MinecraftServer.java:456) [16:11:41] [Server thread/INFO]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:652) [16:11:41] [Server thread/INFO]: at java.lang.Thread.run(Thread.java:748)`
@covert sable,
As part of the 2.10.7 PlaceholderAPI update we broke some methods, please update to the latest PlaceholderAPI release found here to fix these issues.
Hi lol
I’m just curious how and if the bot will reply to this
“i dont know what PlaceholderAPI is”
Hello i have problem, when im using %statistic_mine_block% or other placeholders, when im example break the block, it will not add 1 but 2, do someone know how to fix it?
the %statistic_jump% for example works fine, idk why
use the latest version of the Statistic expansion and latest dev of PAPI
@turbid tide still doesnt work, i downloaded manually statistic expansion and the newest jar from github
@indigo anchor,
Please respect the rules, be patient and don't ping staff members!
Sorry for ping.
ugh I think that's just the releases
not the dev builds
might be wrong tho
yeah
its just the release
download the dev build
1.16.3
hmm
go to plugins/PlaceholderAPI/expansions
and make sure you don't have multiple statistic jars
in there
I'm very confused rn. I know this was a bug on 1.8 but even on that version it was fixed long ago
Im confused too, im using papi like 4years, and never had this bug before. But i very need it, because im using top statistics via papi etc..
And interesting is, its only for statistic_mine_block, jump works fine, etc..
yeah I know its exactly what happened to 1.8
Im opening server at 25th, so it will be fine if it will be fixed.
is %statistic_time_played% calculated different than %statistic_seconds_played% and the hour/days versions as when i parse time played it gives me a different number than what i see in my statistics and when i parse the seconds/minute/days version https://gyazo.com/a0fa4f872bf15a31b51cf81eeb08e410 https://gyazo.com/ae76066b8c248d00aa0b16d72e913a7b Seems the time played is getting a different number somehow
funnyhexagon, about my problem. I have to create a issue in github, or what?
hmm I guess that would be a good idea
hello guys
how to use math expestion
pladehodler
i have try
%math_{aach_custom_AttributesINTSlot1}+5%
it's will return 5.000
i want to show only 5.0
You can use [precision:<number>] in the placeholder, to set, how many digits after the . are shown.
how i add this to math placeholder ?
ooh i haven't never use math placeholder but lets check
wait a min
literally what does it do? {aach_custom_AttributesINTSlot1}
also sorry for my bad english
@rich star
%math_[precision:0]{aach_custom_AttributesINTSlot1}+5%
👍
or @turbid tide can 😄
huh what?
oh
instead of Tue Nov
to say something elsE?
what placeholder are you using for that?
what want to add your locate alright ?
ye I think you need to use javascript
so not Tue., it should be Çrş.
yep yep I get it
ooh
you need to use JS placeholders
how can i
wiki about js placeholders https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
if you don't know any javascript tho
you can learn some at w3schools.com
or yeah get someone to do it for you
its pretty ezz tho
just have a .replace() for each workd
word*
yea
as in one for each month and one for each day name
if you can learn you can make any own custom placeolder
alright can we talk on dms?
Please, help me with Math placeholder, it doesn't update the number, I have something like: %math_[precision:0]{server_online_world1}+{server_online_world2}% | And when players join world1, the number doesn't update automatically, I just need to add the hologram after players joins the worlds...
where are you using the placeholder?
On server with world named Lobby
spigot
I need this bcs. I'm planning a big server, and I need to have it for players, they want know, where are other players playing minigames (In which world...)
Can you not do this with parse other? %parseother_{MythricHD}_{formatter_number_time_{statistic_seconds_played}}% seems like im having issue with the placeholder in a placeholder, any idea how to make this parse properly
can't you just use %statistic_time_played% ?
so it would do %parseother_{MythricHD}_{statistic_seconds_played}%
Ideally yes but that placeholder returns the wrong value for some reason so im forced to use seconds and convert to formatted
Just tried but now im getting a differnt issue ```function gettime() {
return %formatter_number_time_{statistic_seconds_played}%;
}
gettime(); Returns[12:27:49 WARN]: Caused by: jdk.nashorn.internal.runtime.ParserException: <eval>:1:30 Missing space after numeric literal
[12:27:49 WARN]: function gettime() { return 85d 18h 34m 22s; } gettime();
[12:27:49 WARN]: ^
[12:27:49 WARN]: at jdk.nashorn.internal.parser.Lexer.error(Lexer.java:1700)
[12:27:49 WARN]: at jdk.nashorn.internal.parser.Lexer.scanNumber(Lexer.java:1135)
[12:27:49 WARN]: at jdk.nashorn.internal.parser.Lexer.lexify(Lexer.java:1614)
[12:27:49 WARN]: at jdk.nashorn.internal.parser.AbstractParser.getToken(AbstractParser.java:132)
[12:27:49 WARN]: at jdk.nashorn.internal.parser.AbstractParser.nextToken(AbstractParser.java:213)
[12:27:49 WARN]: at jdk.nashorn.internal.parser.AbstractParser.nextOrEOL(AbstractParser.java:170)
[12:27:49 WARN]: at jdk.nashorn.internal.parser.AbstractParser.next(AbstractParser.java:157)
[12:27:49 WARN]: at jdk.nashorn.internal.parser.Parser.parse(Parser.java:281)
[12:27:49 WARN]: at jdk.nashorn.internal.parser.Parser.parse(Parser.java:249)
[12:27:49 WARN]: at jdk.nashorn.internal.runtime.Context.compile(Context.java:1284)
[12:27:49 WARN]: at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:1251)
[12:27:49 WARN]: at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:627)
[12:27:49 WARN]: at jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:535)
[12:27:49 WARN]: ... 27 more``` I presume the spaces in the formatted number are not allowed, not exactly sure how i can fix this
put the placeholder in ""
Ah yeah that works, gotta brush up on my js syntax 😛 Thanks
Can somebody help me please with the Math placeholder? It's really important for me...
that's still not what I asked
What do you need to know?
PlaceholderAPI
that's the plugin providing the placeholders
I'm asking you where are you using them
On my Minecraft server, in HolographicDisplays
add {medium} on the hologram line
Ok I will try it
/holo addline Online1 {medium} &b&lOnline: &e&l%math_[precision:0]{server_online_World1}+{server_online_World2}+{server_online_World3}%
Like this?
yeah
Anyone able to help? Im trying to record the length of time a player has been online. Im running a bungeecord server with 3 servers: a lobby and 2 gamemode servers. Im using the %statistic_time_played% tag and its working in my lobbyserver, but the time used in the other servers ofcourse dont get saved. Is there any way to connect all the servers and display global time spend on the network?
The statistic placeholder shows that I've played 1 day and 33 hours, why doesn't it go to 2 days after 24 hours ?
use the dev build iirc
So im using jobs reborn, the server will have a max of 1 job, so for example %jobsr_user_jlevel_miner% would be the placeholder to see the level of your miners job, but if i have a different job i cannot use %jobsr_user_jlevel_miner% i have to use %jobsr_user_jlevel_currentjob% is there a way to make it use %jobsr_user_jobs% and put the result into the place where you need the jobs name?
Is there a way for me to get the name of everyone online my server with each name being in their own placeholder
playerlist expansion probably
I think it puts all the player names in the same placeholder
I was reading and I think I can do it with javascript expansion but idk how
PlayerList has that option
why do it with JS? @marsh ocean
there are like 3 options for PlayerList. Players amount, Players List, and just 1 player from the list.
So im using jobs reborn, the server will have a max of 1 job, so for example
%jobsr_user_jlevel_miner%would be the placeholder to see the level of your miners job, but if i have a different job i cannot use%jobsr_user_jlevel_miner%i have to use%jobsr_user_jlevel_currentjob%is there a way to make it use%jobsr_user_jobs%and put the result into the place where you need the jobs name?
@lone cobalt I think the only way to do what you want is to use JavaScript expansion. Wiki for it herE: https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
if you don't know js you can learn the basics from w3schools.com
ok so i normally would do this by myself but i dont know how. im trying to set up a thing for scoreboard with the api
i have the apis set, but it wont show any color or anything, like if i did %luckperms_prefix%
heres what i have: ``` - '&e&lYour Info:'
- '&f Rank: %luckperms_last_group_on_tracks_staff%'
- '&f Prison Rank: &8[&6%luckperms_primary_group_name%&8]&r'
- '&f Balance: $%vault_eco_balance_formatted%'```
is there a way to make it so it shows the color within the thing, rank or whatever?
because i have two prefixes, so it shows both if i did luckperms_prefix, but i only want one for each, but i want it to the colors yk
is it possible?
Im getting this error with placeholderapi and autoranks: [Server] WARN [PlaceholderAPI] autorank is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
Is there anything i can do?
Pinned message
For an updated
Expansion
The one from ecloud is old and it doesn't work anymore
You need to compile it yourself tho
For someone not so experienced in working with plugins, could you explain a bit further? I see there has been some changes with vault and essentialsx in the pinned messages, but i dont see how the pinned messages regard my question
There is alink
To a github page
Where you can find a more updated expansion
But it's just the code. It's not the actual jar
To get the actual jar you'll need to compile the code into a jar
My life is as low as 6 but I want it to look like this in the painting
@cedar sapphire I finally got on pc and seems like I was wrong
here I compiled an updated build for you tho
go to plugins/PlaceholderAPI/expansions delete the old AutoRank expansion jar from there
and put the new one
@carmine veldt can you please pin this expansion? thanks
ty ty
It works now Fynnyhexagon. Thanks a lot
please dont tell me i have to quote myself
why
Okay I won't tell you.
...
you do actually
I did see your question
a long time ago
and thought I answered it xD
a long time ago
but seems like I didn't
well I answered with another question
could you show what you mean thru screenshots? because I didn't rly get what you mean
Like when you do /papi parse me %vault_prefix% it will show like this for example: &6Staff instead of showing as Staff but colored?
ill show you in dms
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
oh you can't rank up from a?
i can, but it wont register in the scoreboard, as i couldnt find an api for a second prefix
what rankup plugin do you use ?
no.
okey
you can use TRACKS
from LuckPerms
and make a track for normal ranks
and a track for the prison ranks
im already using tracks
well
then there are track placeholders
for LP
so you show the highest rank yo uhave in a track
you should use prisonranksx or ezranks
- '&f Prison Rank: %luckperms_first_group_on_tracks_prison%'```
alright ill try it
%luckperms_last_group_on_tracks_<tracks>%
I think this is the correct one
not the first
but the last
did it work ?
yea
np
%luckperms_last_group_on_tracks_<tracks>% these would get the first and last group in a track
it doesnt really track a player
what are you trying to do
server_tps placeholder doesn't work in mc 1.7.10
it just shows 0.0
doesn't change values
ye that's latest
ugh I guess the server placeholder doesn't support that version or at least the tps part
idk for sure. I'm not rly an expert at the code
unfortunately
Like PAPI supports 1.7-1.16.4
that doesn't mean all expansions will unfortunatelly
hmm ok, do you know any other plugins that show the tps in 1.7.10?
I was looking at a few but non support 1.7.10
do yo have essentials?
you can just do /tps then
unless that's not supported on 1.7.10
/tps is a spigot thing
oh is it
but yes we have the /tps command, its just it shows the past 1 minute, 5 minutes and 10 minutes
not current
I'm the developer on the server I need this for, so I could just make a plugin, but I didn't want 2 if i didn't have 2
there is Spark but don't think it also supports 1.7
I mean if you have another plugins
made by you
just add it as a functionality
in those plugins
yup, thats the plan i guess
but yeah idk any that works on 1.7
old version I'm afraid
most support for it has been dropped
thx for the help anyways!
how can i use math so that it will add {rankup_requirement_playtime-minutes_done}+{rankup_requirement_playtime-minutes_left) first then divede it by 60
or is there a javascript way of doinjg this
well you can just use simple math instead of the math placeholders
btw are you sure these 2 are Integers?
var dtime = parseInt("%rankup_requirement_playtime-minutes_done%")
var ltime = parseInt("%rankup_requirement_playtime-minutes_left%")
like they are not doubles or something?
yup
so
just add those and divide them by 60?
var ntime = (dtime+ltime)/60
and now ntime will become hours I guess
how can i return it then on else?
oh
would it be like
else this is you required time: ltime?
1 sec
else "&6Time&f: &c %math_{statistic_minutes_played/60[precision:2]}%hrs &f/&6 " + ntime```
make it like this
ok thanks
it says its empty for some reasson
>.... [15:47:22 WARN]: [PAPI] [Javascript-Expansion] File: timeh.jh for Javascript placeholder: timeh is empty
oh i mispelled it
how can i adjust the precision
or number of decimals that appears
what the
i want to be just 2 decimals
you sure those placeholders work correctly?
how can i do that?
do what exactly?
I don't get what you want anymore?
does the javascript placeholder work?
or what was the error you sent abouve about
ohhhhhh
sorry for the confusing question XD
else "&6Time&f: &c %[precision:2]math_{statistic_minutes_played}/60%hrs &f/&6 " + ntime```
👍
Hello
the placeholder
for
watch how much users are in a bungee server?
like
in kitmap
idk
%server_online:kitmap%
?
@turbid tide Unknown expansion.
Thanks!
potentially stupid question here, what do i need to add to this script to make it work
var jobsr_user_jlevel_{jobsr_user_jobs} = jobsr_user_jlevel_current_job();
return jobsr_user_jlevel_current_job;
}
jobsr_user_jlevel_current_job();```
check this wiki https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
var placeholder = "jobsr_user_jlevel_" + currentJob;
var currentJobLevel = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + placeholder + "");
function currentJobLevel() {
return currentJobLevel;
}
currentJobLevel();```
why wouldnt that work when i use %javascript_currentJobLevel,{jobsr_user_jobs}%
It doesnt throw errors
Sorry if im being annoying, im not good with code and dont really have the time or will to learn javascript...
ok so a couple things to improve the code
var currentJob = args[0]
var placeholder = "jobsr_user_jlevel_" + currentJob
PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + placeholder + "")
if this won't work then please try displaying the "placeholder" value like this: js var currentJob = args[0] var placeholder = "jobsr_user_jlevel_" + currentJob placeholder
I have to go now. Few tips: Make sure you're using the latest js expansion version (1.6.0), latest dev build of papi,
if the code i gave you doesn't work tell us here what the second variant shows
var placeholder = "jobsr_user_jlevel_" + currentJob
PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + placeholder + "")
//function currentJobLevel() {
// return currentJobLevel;
//}
//currentJobLevel();```
that with or without it commented didint work
neither did the other one
they dont show anything just when i parse it, its just empty
the versions should be fine, cause i downloaded javascript today and placeholder api yesterday
im doing this command /papi parse me %javascript_currentJobLevel,{jobsr_user_jobs}%
@turbid tide
-papi vault
%vault_eco_balance%
%vault_eco_balance_fixed%
%vault_eco_balance_formatted%
%vault_eco_balance_commas%
%vault_eco_top_balance_#%
%vault_eco_top_balance_fixed_#%
%vault_eco_top_balance_formatted_#%
%vault_eco_top_balance_commas_#%
%vault_eco_top_player_#%
%vault_eco_top_rank%
%vault_prefix%
%vault_prefix_color%
%vault_rank%
%vault_rank_capital%
%vault_ranks%
/papi reload```
thanks bot
%vault_eco_balance%
%vault_eco_balance_fixed%
%vault_eco_balance_formatted%
%vault_eco_balance_commas%
%vault_eco_top_balance_#%
%vault_eco_top_balance_fixed_#%
%vault_eco_top_balance_formatted_#%
%vault_eco_top_balance_commas_#%
%vault_eco_top_player_#%
%vault_eco_top_rank%
%vault_prefix%
%vault_prefix_color%
%vault_rank%
%vault_rank_capital%
%vault_ranks%
/papi reload```
#bot-commands
@turbid tide when will u be on ur pc may i ask?
@lone cobalt,
Please respect the rules, be patient and don't ping staff members!
do this /papi ecloud download Server
the do papi reload
then use the placeholder
seems more like the LocalTime expansion and not the Server one
so /papi ecloud download LocalTime
and that wouldn't show the player's world time
but the time of the player's country
@turbid tide i didint put it in the javascript_placeholders.yml but now that i atleast gives a error it repeats the thing i said if i add the {jobsr_user_jobs} and if i dont it gives this error[Server] ERROR [PAPI] [Javascript-Expansion] Argument out of bound while executing script 'currentJobLevel': 18.11 20:28:55 [Server] INFO Array index out of range: 0
@lone cobalt,
Please respect the rules, be patient and don't ping staff members!
@lone cobalt,
Please respect the rules, be patient and don't ping staff members!
%player_world_time_24%
like I told you on TAB's discord
there is
yeah :)
and you have to download the Player expansion with /papi ecloud download Player
then reload PAPI
any reason why this placeholder wont update? whenever I get hit it stays full.
%animations_<healthbar symbol=| fill=&c empty=&7 size=10 max=20>{player_health}</healthbar>%
how I use the team in "ScoreboardObjectives"
https://spark.lucko.me/#i0YxlUYsXr This may be too vague but any clue why placeholderapi parse other trying to get some offline player was going wild on my server. This happened very randomly just with me and an alt account on, never seen this before. Only place i parse other is in a stats menu that parses statistics through deluxemenus. I just want to make sure this wouldn't be an issue in the future
anyway to get the value of placeholder on anohter bungee server ?
wdym
Is there anyway for me to edit wiki of JS-Expansion on github?
request it ?
got him xD
anyway to get the value of placeholder on anohter bungee server ?
@zenith bane PAPI itself doesnt support bungee, but u can use the CIFYHolders plugin (on songda) to do this
or others that are not on Sogonoda xD
"After days of trying to contact developer to report bugs I gave up on the plugin.
Plugin doesn't even work on 1.8.8 and there isn't any wiki to show how to use it. There's in't any config nor anything.
I don't usually rate products with 1 star, but when I do then they truly are utter bullshit"
the review section, any other plugin ?
request it ?
@meager nymph Wot
they claim to work 1.7-1.16 just like PAPI
idk about the documentation and stuff tho
oh wait
nvm
ill give it a try, Thank you 🙂
Hi, do we know when there will be a papi update for 1.16.4 ?
thanks, is there one for deluxechat ?
how should i do that ?
thanks
is it possible to make custom placeholders depending on the players permissions?
yes. check the javascript expansion
this is the wiki for it https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
is there any issue wit PAPI if some placeholder is not working?
because on my server it wont work,but if i open a test server it work for me...this is weird
what placeholders? Also what version of PAPI are you using and what version is your server?
any idea when ecloud registration is open again? I'd like to submit an expansion
allright
Mate no need to post in two channels...
Would it be possible to get my expansion verified?
https://api.extendedclip.com/expansions/progressivedifficulty_mobs/
Checked and verified 
👍
Sorry I'm new to this. Is this a plugin that goes into bungeecord or just the spiggot ones
Just spigot
funnycube could you dm me?
Can't access my old discord account and since my profile is linked to the old account I cant verify.
Is PlaceholderAPI still supporting Sponge?
Never has officially I don't believe, 3.0 will however
The version available to sponge is gruesomely outdated 
ye that's not rly the official PAPI its a version I guess made or forked by someone else
