#placeholder-api
1 messages · Page 192 of 1
Gotcha. Yeah, my suggestion would be to throw a request in #959324357090484294 / #959324360102019102 and see if you get any takers 🙂
Okay, i will try ty
I changed my server software to a fork of Purpur and my Placeholder API broke
Here's my startup log
https://paste.helpch.at/terozanuro.md
I tried to change to Paper and also tried to change back to the server software I was using before but it still can't load the placeholder api correctly, one of the registed expansion broke and none of the expansion I downloaded through papi ecloud load
Here's my /papi dump
https://paste.helpch.at/ikulaqezah
I am truly stuck, can't figure out the issue 😭
Any chance that removing DiscordSRV fixes the issue? The plugin + expansion (if there's one in the expansions folder).
I tried the lastest dev build of DiscordSRV
and also tried the old version
but nothing changed
I tried to remove DiscordSRV and FastLogin placeholder broke
Temp disable DSRV and FastLogin and send a new copy of startup log.
oke
here's the papi dump
https://paste.helpch.at/jucohumosa
here's the new log after i removed those two
https://paste.helpch.at/ifeyaxozec.md
now interactive chat died
Yeah that's really odd. I'll try to look into this tomorrow if I have time. I'd say it's either something to do with Java version or some plugin throwing it for a tizzy.
ok, tks for helping me
Oh, can you tell me if removing the Floodgate expansion fixes the problem?
ok lemme try
in the expansion folder right ?
Yup
Well it wouldn't just appear there by itself 😛
You should be good to add everything else back in now.
thanks
Yup! Have a good night. I'm off to bed.
Please respect the rules, be patient and don't ping staff members!
Hiiiii
I have a set of questions that I need help with
- how to download the placeholder that shows ping
- that shows number of players in a server
3.placeholder for deluxe tags
4.place holder for the TAB plugin to show number of hearts ..
Would appreciate if someone could help! 🤗
oh
it'll need to have some kind of prefix, like %bedwars_mode%
i need help
There is no time to wait! Ask your question @clever plinth!
Download the expansion manually and insert it into your papi expansions folder
/papi ecloud download server
/papi ecloud download deluxetags
/papi reload```
Hey! Would it decrease the performance in any way, if I would set check_interval of bungee expansion to 1?
All this information can be found on the placeholder api wiki
By decimal margins so no
Aight! Thanks a lot man! 🙂
Can i use PlaceHolder with RealScoreBoard plugin?
If it supports PlaceholderAPI, sure.
Get a pvp plugin
can I parse placeholders to offline players?
It depends on if the specific expansion allows it.
javascript expansion
hello I have a problem when I executed the command /papi ecloud download player I get this failed to find an expansion named:player
The expansion/plugin needs to be able to fetch data from offline players, usually they have, but if not contact the dev
?ecloudblock
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.
@charred sable ^^
how to download the placeholder that shows ping?
so
Hi
im trying to do coins in minecraft how can i do that?
like with the scoreboard
?
I cringe at people who say this, first he is trying to copy a server, second we aren't google, it takes 2 seconds to google your concerns. And it's a shame that someone even helps you with this because you won't learn what you are saying/doing is cringe and annoying
Brother
you gotta calm down man
It is probably one of the most basic questions everybody asks, and we're here to help...
And everything is a clone/copy so...
"coins in minecraft on the scoreboard"
If you don't want to help, just don't say anything.
not just that, he tryna copy others servers to, click on him
that's the most annoying part
block him 🤷♂️
Please respect the rules, be patient and don't ping staff members!
sorry barry
I’m sorry
I was just asking normally
I wasn’t trying to offend you like this
Did I offend you in some way
Im sorry I was just asking a normal question cuz I just got started with plugins
Just best to leave it
Okay🥲
It's definitely okay to ask for help, as it is literally the point this server and channel exists. Did you ever figure out an answer?
do you have a scoreboard plugin?
So I’ll try after school rn
Well I have simple score
Does it work?
and by coins do you mean /bal
Like you get coins for for example killing someone you get coins
Where do you see those coins
Is it normal vault currency?
or a custom currency from another plugin?
That’s the reason I don’t really know I asked my friend he told me that he did it using placeholder
Well I have to know what you're talking about
You're saying that when you kill somebody you get "coins"
Where do you currently see how many "coins" you have?
Is it when you type /balance?
Yeah
I’m pretty sure
I’ll talk to you later cj thanks man but i need to go to school rn
aight well if it's that you can use the vault expansion
/papi ecloud download vault
/papi reload
all placeholders here https://helpch.at/placeholders#vault
Or I mean doing tasks
I mean killing some one will get u coins
Or doing a certain type of task will get i coins
hello! so im using ajleaderboards, for %statistics_player_kills% and %statistics_Deaths% but for some reason none of my statistics update. whats the problem?
You need to validate placeholders before using
how?
/ajlb add %statistic_player_kills%
It's updating late, right?
Use {fast} tag
For example
1.{fast}&e%ajlb_lb_statistic_player_kills_1_alltime_name%
yes i have that
- '&3-&1=&9&kh&r&1=&3- &9Top Deaths &3-&1=&9&kh&r&1=&3-'
- '&61.{medium}&6%ajlb_lb_inputhere_1_alltime_name% &6- &6%ajlb_lb_inputhere_1_alltime_value%'
- '&72.{medium}&7%ajlb_lb_inputhere_2_alltime_name% &7- &7%ajlb_lb_inputhere_2_alltime_value%'
- '&e3.{medium}&e%ajlb_lb_inputhere_3_alltime_name% &e- &e%ajlb_lb_inputhere_3_alltime_value%'
- '&f4.{medium}&9%ajlb_lb_inputhere_4_alltime_name% &9- &9%ajlb_lb_inputhere_4_alltime_value%'
- '&f5.{medium}&9%ajlb_lb_inputhere_5_alltime_name% &9- &9%ajlb_lb_inputhere_5_alltime_value%'
- '&f6.{medium}&9%ajlb_lb_inputhere_6_alltime_name% &9- &9%ajlb_lb_inputhere_6_alltime_value%'
- '&f7.{medium}&9%ajlb_lb_inputhere_7_alltime_name% &9- &9%ajlb_lb_inputhere_7_alltime_value%'
- '&f8.{medium}&9%ajlb_lb_inputhere_8_alltime_name% &9- &9%ajlb_lb_inputhere_8_alltime_value%'
- '&f9.{medium}&9%ajlb_lb_inputhere_9_alltime_name% &9- &9%ajlb_lb_inputhere_9_alltime_value%'
- '&f10.{medium}&9%ajlb_lb_inputhere_10_alltime_name% &9- &9%ajlb_lb_inputhere_10_alltime_value%'
dw about the inputhere, i made it like that so when i make leaderboards it already to how i want like colors and stuff
I put the command "/papi ecloud download Player"
And it puts me "Failed to find an expansion named : Player "
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.
What's going on with my js? I caught a bug, but I fixed it, but it still sees it even though it's not there.
[12:53:33 ERROR]: [PAPI] [Javascript-Expansion] An error occurred while executing the script 'stats_reputation
javax.script.ScriptException: <eval>:65:75 Missing close quote
return "\n" + "&f &7Репутация: &8[&c" + placeholder + "&8]" + "\n"";
^ in <eval> at line number 65 at column number 75
var placeholder = "%mycommand_playerdata_reputation%";
function placeholderCheck(){
if(placeholder == 1) {
return "&8(&a+1&8)";
}
if(placeholder == -1) {
return "&8(&c-1&8)";
}
if(placeholder > 0) {
return "&8(&a+" + placeholder + "&8)";
}
if(placeholder < 0) {
return "&8(&c" + placeholder + "&8)";
}
if(placeholder == 0) {
return "";
}
}
placeholderCheck();
I restarted the server, deleted the javascript_data folder, but it's still the same
ugh. this is not the placeholder that is erroring out. or if it is, this is not the whole code maybe?
nowhere in the file you sent you have this return "\n" + "&f &7Репутация: &8[&c" + placeholder + "&8]" + "\n"";
if you find that just remove the last quote " after "\n"
Just ctrl f in your IDE
♥
Well it’s a server for me and my friends no one else
Why do u have to be mean
?
Why is it cringe I am trying to remake a server for me and my friends to enjoy together
And plus I wanna learn to code in mc
Can I get a placeholder of an OfflinePlayer object?
yes. there's 2 methods. one called onRequest that takes a Player object and another one called onPlaceholderRequest that takes an OfflinePlayer object. (might b e the other way around)
Alright, thank you 🙂
https://api.extendedclip.com/expansions/scoreboardobjectives/
download latest expansion from here and put it in /plugins/PlaceholderAPI/expansions/ folder
okay
and btw thanks insinex it works
What? Thats not a command
Thats a placeholder, and what u wanna do with it
@obsidian egret
If u wanna put that placeholder on a scoreboard or anywhere just paste it exacly and it should work if its written correctly and parsed
Well ik
But still idk how to put it
I searched in Google still nothing
Nvm
My friend sent the wrong one
It’s okay
Any tutorial for doing placeholders with custom arguments?
An expansion that allows you to use javascript for processing
• Wiki
• Community Scripts
• GitHub
• eCloud
javascript expansion might be what you want @ripe iron
Allright
No its
I just want normal placeholders but for example:
%server_lobby_counter% -> return server users amount
In this case the representation will be: %server_[server-name]_counter%
So what its between brackets will be my argument
That work with others servers?
%bungee_<servername>%
worth it to try
I tried bungee but its broken
Yes, what else would you need?
If bungee:
%bungee_[server-name]_status% %bungee_[server-name]_onlines% %bungee_global_onlines% %bungee_global_status%
etc, etc
i think its a bit incomplete the expansion
so status
hmm ok
so if it's ever getting redone I'll them them to add status to it
so you can see if it's online or not
Maybe you forge to enable it on npc
If using citizens you have an option for that
znpc
cj thanks for support
%server_online%
May I ask, what the hell is the point of %server_online%?
if you're on the server.... it's online

@round spoke run those commands ^
how many people online on server
ohhh lmao
i did
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
send that over
ok it work now
cj89 its possible to me update manually the bungee expansionm and then do a request for head staff to see it and respond me if possible to publish it?
Thanks
you can make a new one and we can upload it if you want to, sure
not even
interesting that the current one was "rewritten"
bungee expansion is open sourced, make a PR
Allright thanks i will then a push request
I think that the name
pull 🤓
Thanks to you
👍
can we get some class on the ecloud smh
worth a try
Please respect the rules, be patient and don't ping staff members!
How can I register in ecloud?
how to get online players in a world (multiverse core)
dm a username and email you'd like
Can I change my password???
Please respect the rules, be patient and don't ping staff members!
Yeah, just go through the forgot password sequence
Uhm is it possible to make placeholders with arguments? Like, %placeholder_data_PLAYERNAME%?
parseother
we don't work on the vault plugin tho
is there a reason this placeholder gives an internal error?
%changeoutput_ignorecase_{parseother_{{target}}_{player_online}}_yes_Online_Offline%
yes that's a lot of nesting, can't really be done
It'll mess up on the {parseother_{{target}} it will think parseother_{username is the placeholder
ooh but what if
you put the changeoutput in the parseother?
doesn't DeluxeMenus replace the arguments before placeholders?
yes, but it'll mess up because parseother uses {}
if you see I replaced the {target} part with username
%parseother_{{target}}_{changeoutput_ignorecase_{player_online}_yes_Online_Offline}%
what about that
i can't remember if I support {placeholder} inside the second{} or not
well if it just checks for the first { and last} (hopefully it does) then it should work I guess
haha that worked, thanks for the quick replies
nice
cool
I need help, since today expansion Player isn't loading :(
what can I do? I re-downloaded plugin, deleted old folder, redownoaded expansions... still not working
What version are u running?
Please respect the rules, be patient and don't ping staff members!
Server 1.18.2 and papi last one
Oh happen to me the same error
Its like when i execute: papi ecloud placeholders player i get an internal error. But the placeholders are working
How can i hook plugin to placeholder api if author is saying that plugin support it but placeholders doesn't work ? https://dev.bukkit.org/projects/holographic-displays
hello, my server gives an error and I don’t quite understand what it is connected with and when it appeared
Java version: 17.0.2
Platform Name: Bukkit
Platform Version: 3284a-Spigot-3892929-0ab8487 (MC: 1.17.1)
Network: BungeeCord Proxy Network
PAPI Version: PlaceholderAPI-2.11.1.jar
Multiple bungee expansions loaded.
Go to plugins/PlaceholderAPI/expansions and delete all the BungeeExpansions, then execute a /papi reload. After that redownload the expansion using /papi ecloud download bungee then /papi reload.
how to get how many online in another world using
multiverse core
i read the wiki github docs, cant find it
Use World expansion
expansion cloud?
Yes
but how would i connect it to another world
Look at the placeholders it provides...
it doesnt have one
hi, i want a complete list of all essentialsX palceholders
anyone got any idea where can i find such site?
But only with Player expansion
I also tried to download old versions of this expansion but nothing
is there anyway i can make leaderboard of top solo wins??
with bw 1080 plugin and ajlb
read the wiki and watch tutorial video
there is lb of all gamemode wins
not single
Seek for an addons for that
Hello, I got some problems when I set up my scoreboard, it will show the server ping when I do this, but I tried to figure it out, and is PlaceholderAPI's problem. I don't know where I can download this from, if anyone knows please help me.
%pinger_isonline_127.0.0.1:25565%
%pinger_isonline_127.0.0.1:25566%
this %pinger_isonline_127.0.0.1:25565% is for the staff
??
what's the issue
remove 127.0.0.1 and add your server's ip address
I did, but same problem
expansion loaded?
I don't think I download /papi ecloud
I cannot find where is it
/papi ecloud download Pinger
Hi why whenever i want to put a code like this %statistic_deaths% in my scoreboard it doesnt show i just shows me this %statistic_deaths%
did u download the expansion?
run those commands ^
PAPI works with separate expansions adding the placeholders, PAPI itself doesnt have any placeholders, the expansions hold all of the placeholders, so we have to download the expansions
so downloading the statistic expansion will allow u to use all of the statistic placeholders
/papi reload```
Okay
can i edit the scoreboard using command blocks with simplescore pluing?
Because I’m using simple score plugin
¯_(ツ)_/¯
Btw kailber the commands are not showing
?
it's just those
/papi ecloud download <expansion>
Ok thanks
Y commandblocks? Isnt there a config?
If u are trying to make an interval scoreboard that the plugin does not provide a feauture with i dont think u can do anything with command blocks
There is scoreboards that can do intervals of different scoreboards but its premium
Like in the scoreboard u want an active timer?
So I’ll just make it move with command blocks
Yeah
Or I can make it start when ever I want
Commandblock way is not practical
Ok then
But what if I wanna switch stuff in the scoreboard automatically
Like without me going in the config
Let’s just say for example I want to go to a different place
Using multiverse
Can’t I use that tow switch it
?
What’s that
Is it a plugin?
Do i have to use a target in the placeholder ?
When i want to have a command sent from the console i cannot use relational placeholders, but then i also cannot use the placeholders which do not need a player such as %server_tps%
PlaceholderAPI.setPlaceholders(Player, String)
can we have a PlaceholderAPI.setUnrelationalPlaceholders(String) or something, if this already exists then lmk
fixed ^^^^
hi
i did
/papi unregister mycommand
how do i now re-register it?
also i get "an internal error occurred while attempting to perform this command"
when i parse a mycommand pplayer data
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
Hi, can I get some help? I keep getting this error on my javascript placeholder
https://paste.helpch.at/visizunapo.rb
can you do /papi dump and send the generated link here?
can you check the console when this error shows? it should give a bigger error in there
r u talking to me?
yes
you seem to have 2 javascript expansion installed. try removing them both doing /papi reload and redownloading https://i.imgur.com/S4JlKjG.png
Hi, I'm trying to use %parseother_{target}_{luckperms_suffix}% in a menu, but when I reload I get a error from DeluxeMenu, that says Index 1 out of bounds for length 1
Still not working
double the { for target. %parseother_{{target}}_{luckperms_suffix}%
finally 😮 thanks
mind sending the current error?
what for?
lmao
if you want to report there's a nice /report system
if not I guess I can open my dms for a sec
Just open your dms, I can't do all of that
they're open now
not yet. it seems like it can't find the nashorn engine but like it is inside the expansion itself
I don't think that works anymore
I think the only option to switch engines now is the use_quick_js option
you can't chose any engine you want anymore
its either nashorn or graal
hmm. I'm not really sure tbh. I've not seen this happen before.
Would an older version of javascript extension work?
I don't think so. at least nothing from 1.6.0 or under. 2.0.0 might work? but I can't really promise
2.0.0 doesn't work
I found the issue
Please respect the rules, be patient and don't ping staff members!
oh? what was it?
changed the java from graal to normal
and it works now
I get some error in the console now every time I reload the plugin but it works 😄
yeah that's from the graaljs expansion
I can't seem to find the placeholder for vault rounded money, does anyone know it? thanks :)
%vault_eco_balance_fixed%
or _commas
thanks!
is it safe to use placeholder api in async context? (e. g. AsyncPlayerChatEvent)
or am i supposed to use ConcurrentHashMap and fetch placeholder in server thread
yeah PAPI is fine to be used async
ok thanks
well i really want to use simplescore but what if i want to switch stuff in game like round 1/30 or minigame: skywars?
does anyone know how to do that
cuz my scoreboard is blank
or do you know how to make it automatic?
so...im using TAB plugin and i was it to show number of hearts...
what is the placeholder for it?
or how do i set it up ...
https://api.extendedclip.com/expansions/healthbar/
/papi ecloud download HealthBar
/papi reload
%healthbar_default%
does it show the number of hearts like - 10 ♥️
according to the website yes
i mean
number isn't included
but you can concat number and hearts by using multiple placeholders i guess
%player_health% %healthbar_default%
will do
i think it would show health
instead of hearts
did you try ?
uhh waigt
exactly
i want it to show number\
this is the current one im using BUT it shows 20 instead of 10
belowname-objective: enabled: true number: "%math_0_{player_health}/2%" text: "&4&l❤️"
I am trying to set my prefix to %oraxen_god% but it just shows %oraxen_god% Player
i am using EzChat plugin and LuckPerms
anyone?
anyone 
Hey
ive got a GUI but the Vault Papis dont seem to be working on it, can someone help ?
@bright marlin what is Vault Papis?
Placeholders?
If so download placeholderapi plugin, restart the server, type /papi ecloud download vault, then /papi reload
It should register the expansion so the placeholder works
Done
It didn’t work
Didn’t work for some reason
does it work if you do /papi parse me %vault_eco_balance%
yeah its the leaderboard
so it need sto take the pai form the baltop
Oh what expansio NXD
All the instructions are here
Put that expansion into ur expansions folder in plaecholderapi plugins folder
And then restart the server
@stark shard
uhmm
it now seems to have wiped the original baltop
"Baltop" Unknown chapter
baltop has now fixed
but the Gui is still not working i odnt believe
lemmi mess aroun d with it
It works
incredible
Nice
Where to download placeholderapi on java 8?
can you explain? Sorry for a late answer
Please respect the rules, be patient and don't ping staff members!
Very late answer 😂 but I can only explain a little.
If you make a JavaScript that is literally just ”%placeholder%” it will return the placeholders value.
At work atm so
Hello, i have my own plugin with custom placeholder. This is placeholder class: https://pastebin.com/4QGk6FxQ
in main onEnable i have instance of this class with .register() method. On the server with /papi list, i can see that this exist, but when im using this placeholder it doesnt works. It is %name%..
someone could help me?
placeholder syntax is %identifier_name%
yes
in your case, identifier is myeconomy
@Override
public String onPlaceholderRequest(Player player, String identifier) {
if (player == null) {
return "";
}
if (identifier.equalsIgnoreCase("ecoWezHajs")) {
AtomicReference<Double> xd = new AtomicReference<>((double) 0);
McEconomy.getInstance(RegisteredUserDatabase.class).loadUser(player.getUniqueId(), user -> {
xd.set(user.getBalance());
});
return xd.get().toString();
}
return "";
}```
not "ecoWezHajs"?
%myeconomy_ecoWezHajs% ?
nothing works
also is loadUser synchronized?
myeconomy / myeconomy_ecowezhajs
what do you mean with that
it should be "" if null etc
you can't return value if loadUser is asynchronous
it is
is it async?
right
then you can't return value like that because loadUser is actually evaluated lazily
i have no idea what you mean...
@Override
public String onPlaceholderRequest(Player player, String identifier) {
if (player == null) {
return "";
}
if (identifier.equalsIgnoreCase("ecoWezHajs")) {
return String.valueOf(MyRegisteredUserDatabase.userCache.get(player.getUniqueId()).getBalance());
}
return "";
}``` i will changed it
wait a sec please
did it work or nah
please send a screenshot of the output.
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.
xD
nice
but i assume data is fetched from database?
if you fetch data from remote database like that, people can abuse placeholder to lag server
you can cache player's balance in ConcurrentHashMap and then returns value
if you only use local database that shouldn't be a problem though
good
thanks for help guys btw
i have a problem with vault 🙂
is there anyone there can help
i cant get my Vault_rank to work, it will just show up on my simplescore(scoreboard)
hello, is everything right here https://paste.helpch.at/etipabitek.js because I think sometines the placeholder is not updating and also Im not 100% sure for the PlaceholderAPI.setPlaceholders line (pls ping me)
How do I make bungee work
I am using it on holos
And placeholders work but bungee does not
just shows %bungee_LobbyProxy%
I think bungee expansion is broken atm
but somebody might be working on a pr to fix it
Okay thanks
Does someone know why my placeholder only updates when a player joins
I am using onRequest method
Hello!
Is it possible to edit the format of %player_first_join_date%?
not exactly. you can either edit the expansion itself (the code) or you can use something like the javascript expansion and manually change it. again both require some coding knowledge. either java or javascript
Ah!
It seemed to me that at one point you could directly edit the format from the config.yml :/
I may be wrong after x)
ok I was wrong @jaunty stag. you can actually edit it from plugins/PlaceholderAPI/config.yml
it will edit a lot of other placeholders that have date format as output
but it works
the option should be called just date_format:
i don't see anything for that, that's why i asked x)
try adding it yourself. the default is date_format: "MM/dd/yy HH:mm:ss" I believe. it should be at the same level as expansion:
Version of Player expansion:
its not going to be under the player expansion
its a global setting that all expansions can use
expansions:
date_format: "dd/MM/yy"
Correct?
Hey all
/papi parse me %statistic_craft_item:potion% gives me an answer; 0 but it is incorrect.
/papi parse me %statistic_use_item:potion% gives me an answer; and it is correct.
Anyone have an idea how to display how many potions have been crafted/brewed? I've read back in history a bit and seem to see that Spigot may not keep track of specific potion types, but would have expected the craft_item:potion to have worked.
I think craft is only meant for actually crafting. not brewing. and not sure that's really spigot but rather minecraft not keeping track.
I was thinking the same. Darn.
there's a statistic that keeps track how many times you interacted with a brewing stand. but not necesarely making a potion
If there is a papi statistic listed, such as %statistic_treasure_fished%, which no longer appears in the paper doc, whom might I take that up with either to get it back or to get it removed?
hi what r the placeholders for number of deaths by a players and kills
you can't get deaths by just players but you can get number of players someone killed
%statistic_player_kills%
and there's %statistic_deaths% but it will show all deaths
why %essentials_homes_set% is not working?
thx
Could someone explain me a little better how does %player_armor_chestplate_data% work? it always return 0
what value are you trying to get?
🕵️
do you mean... chestplate?
yeah.. chestplate
Yes I do, but no matter what it returns 0, I'm trying to get a player's equipped armor
Ohh.. I want to return the whole item, material & enchantments, how that could be done?
you cant
lol
probably easier to get each part individually tho, idk what you want all the info for
but then again that's why I added the feature 😂 🤷♂️
and how would I do that?
like mainly I wanna get the material so I can use it in a GUI
%checkitem_getinfo:38_mat:% using checkitem
ohhh, finally... thanks
Hi, I would like to use sign link to show on a sign how many players are online on my server, I already downloaded several placeholders but I can't figure it out.. can someone help me please
%server_online%?
Please respect the rules, be patient and don't ping staff members!
Yes thanks that works, do you happen to know how I can make scores appear on signs from the scoreboard
not loaded vault https://paste.helpch.at/zakutufino
send the satrtup log @wheat lantern
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
Hello
So i run a towny server , but they stop towny Papis . Does anyone know where i can get some Papis for towny that include data such as the balance of the town and ect
as tonwy chat does not offer that
ChangeOutput
For the changeoutput placeholder, I'm trying to check a player's helmet, and if its a Diamond Helmet, but the Diamond Helmet has an underscore between it and it interferes with the placeholder, how would I fix this?
%changeoutput_equals_{checkitem_getinfo:39_mat:}_DIAMOND_HELMET_<output-if-matched>_<output-if-not-matched>%
u can escape underscores with \_
alright thanks
Hey guys, I'm trying to get CheckItem_enchantments to work, I need to check if a player has efficiency on an item with the enchantment level. I've tried %checkitem_enchantments:1;minecraft:efficiency% but it doesn't work. Does anybody know what I'm doing wrong?
Is there a placeholder that checks if a scoreboard is currently active or that outputs the currently active scoreboard?
Probably not
Checkitem_enchantments:efficiency=1
Try that
Use the percent signs around it
Hi
I would like to know if the plugin should work in it's latest version even if the server is on 1.16.5
I'm trying to use it for the AnimatedScoreboard plugin but it doesn't work
the plugin itself will work from 1.8.8 to 1.18.2
now if the expansions don't work that's another story
Then it must be the other plugin the one which has the problem
send a startup log here. maybe we can get some information from there
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
also have you downloaded the expansions you actually want to use in animated scoreboard?
I already solved the problem. I didn't know I had to install the Placeholder pack
Thanks!
I didn't know about that because other plugins include their own placeholders, so I hadn't had to use this plugin
yeah. PlaceholderAPI Is a bit different. its meant to be a bridge between plugins
so other plugins make their own expansions/packs and then those can be used in plugins that support PlaceholderAPI
hi what is placeholder for death and kils ?
%statistic_deaths%
%statistic_player_kills%
Is there anyway to see a list of all of the placeholders?
=links placeholderapi
A resource that allows information from your favorite plugins be shown practically anywhere!
• Spigot
• Wiki
• Placeholder-List
• GitHub
• eCloud
placeholder list above ^
its not all but its a lot
if its not there, look on the plugin's spigot page you want the placeholders from
I only need basic ones such as players online, health, etc
yeah then you'll find them there
if they're from expansions that do not require plugins
like Player, Statistic
etc
what plugin need for this?
PlaceholderAPI
/papi reload```
and the statistic expansion
Which expansions do you recommend me to download?
u only need to download the ones u need
so if u want these, probably the Player and Server expansion
ok thanks
I have been looking for a while but Idk if there is a balance placeholder that refers to the money
oh
I looked on the EssentialsX paragraph, but didn't think of Vault
@warm topaz thanks worked perfectly
Hi guys, I'm getting a "failed to load class files of expansions" error and none of the placeholders are working in game. I tried updating to the dev version to see if maybe it was a bug but that hasn't resolved it. Any advice appreciated.
Paste of the error: https://paste.helpch.at/gagawozabo
The papi dump command output: https://paste.helpch.at/cogijobewa
is there a placeholder to round up my %vault_eco_balance% from showing 1000000 to just 1.0m
%vault_eco_balance_formatted% I believe
that doesnt work :/ it just displays it as 1000000.0
ugh. that's not what its supposed to show?
the entire balance line shows like this ||" &f▐ &2Balance&7: &a%vault_eco_balance_formatted%"||
oops didnt mean to hide it lol
that states 1m
yep then the placeholder works. make sure wherever you put it has reloaded
maybe even restart the server
I'm thinking you've changed the config but the plugin didn't update
its a pain as i restarted and saved the server and still shows it
not really sure what to tell you. where are you using the placeholder?
is it a scoreboard or?
bcz as you can see it clearly works with /papi parse which means the placeholder works as it should
yeah its in a scoreboard this is the entire code from the scoreboard
put it in a paste bin:
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
# Only players with tab.scoreboard.admin can see this scoreboard, others will see scoreboard1 are you sure you're actually seeing the admin scoreboard?
im pretty sure? im using TAB
if you put something after it. like random text HELLO or something and reload
does it change?
yeah im viewing the admin scoreboard
if i do /tab announce scoreboard admin [time] then i get to view it for a set time and it didnt change but i tried the other scoreboard and its set to default
so you see the admin scoreboard but if you put HELLO on a line it doesn't actually show ingame?
even after you restart?
it does show i meant it didn't change my scoreboard to another one so i must be viewing the admin one
hmm. this is very strange. since the placeholder shows the correct thing when you use /papi parse me it should show it inside the tab as well afaik
its so confusing as to why it's doing this as well it makes no sense
I'd say go ask in TAB's discord but idk they might just send you back
most probably i know at the top of each segment it has a guide and this is the scoreboard guide but i can't see anything
That worked, thanks alot!
i fixed the issue it was because i bought an ip but never updated filezilla to do the changes on to the server! thank you for the help
Please respect the rules, be patient and don't ping staff members!
no problem
nice
I have deluxehubs installed. What are the placeholders for showing the uptime of a realm and how many players are on that realm currently and to make it refresh every second.
hey! can someone please help me, I get this error in the console https://paste.helpch.at/mewalihono.sql
https://paste.helpch.at/kiqofezira.js here is my players placeholder
Is there a papi extension that allows me to see if the player has an unfinished stack?
Cause I'm trying to give a player an item by checking if they have space in their inventory so I need to check if they already have an unfinished stack of the item I'm giving
hiya i'd like an ecloud account so i can upload an expansion (not immediately if that makes a difference) and apparently i need to ask here? i'd appreciate being dm'd or pinged if/when i get a response :)
possibly caps sensitive if not just download it from the website rather than the ecloud
%statistic_player_kills%
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#statistic
its show this
/papi ecloud download Statistic /papi reload
can I send in dms?
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.
how about KOTH like the most player capturing koth
that;s something you need to ask the KOTH Plugin author
its only show armour stand afterim type those
Did you download Statistic?
Send an image through on https://imgur.com/upload
2
like i wanna do npc with most kills
example username - kills
well then the problem is not the placeholder my friend. it clearly works from what you;ve seen in /papi parse. its either that the npc/hologram plugin you;re using is not working or you didn't set it up
correctly
i cant seem to download any extentions?
i have them in the extentions folder, but when i go into the game and check it says i have no extentions downloaded
do /papi dump and send the link to the website it gives you here
i just reinstalled placeholder and it worked, idk, was weird
cute pfp
send a startup log please
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
The plugin is extremly slow
(i think)
some now work
but tps dropped
ALOT
the moment they worked
Well
the placeholders work now
they loaded after several minutes
Is it possible that placeholderapi drops my server tps?
yes it is possible. if placeholders do a lot of stuff in the background. now are they the reason your server is lagging rn? idk
1 of my placeholders is malfunctioning
coudl that be?
look the scoreboard
its the tps one
(now tps is back up tho)
i have &e infront of it
hello, what might be the reason for that placeholders not working? (on the papi list there is written that dragonslayer placeholder hooks are active)
oh i cant send photo here...
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload or similar service to upload images/screenshots.
try the placveholder using /papi parse me
oh.. with /papi parse me command it works fine but with HolographicDisplays it doesnt - can you possibly tell me what might be the reason of that?
they're stored in the world directory
you'd have to delete them from there
iirc they're in world/stats/user-uuid.json
or something like that
might be in playerdat as well
ok thx
Why a lot votingplugin placeholders didn't work ?
+1 also just wasted time to figure out if it supports velocity as well and velocity users most likely gonna out number bungee users in the future anyways
Well I believe ATM bungee is broken
or maybe just broken on newer versions? 🤷♂️ somebody was gonna pr it
But also, there's a lot more people that would know about looking for bungee vs looking for proxy
bungee works tho?
🤷♂️
may just at an alias or some reference in the wiki
I just use bungee for Velocity and it works atm
may i ask why are all the players names on my server red and how do i change this?
Bungee broken, hmm may I should test later if the numbers are correct it outputs 😄
Gonna add that to todo list
Related to papi?
maybe im not certain as normally it would be white correct to im assuming theres a placeholder somewhere
but im unable to figure out where
i figured it out never mind
I cant get the vault working, says failed to register. What do I do?
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
?paste
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
Is there a papi extension that allows me to see if the player has an unfinished stack?
Cause I'm trying to give a player an item by checking if they have space in their inventory so I need to check if they already have an unfinished stack of the item I'm giving
Sadly not
Only if inventory is full you can check
if a slot is opened
The Vault placeholder isn't listing any numbers
its just 0
and when i try to a list a player it nothing
in hologram
i did download the vault placeholder
Please respect the rules, be patient and don't ping staff members!
Did u reload the plugin
Also maybe those placeholders dont work idk
See if any vault placeholder works
The placeholder u want works
?
If so, then ur hologram plugin doesnt support papi probably
I reccomend u use DecentHolograms
im using it
DecentHolograms v2.3.1
is ExcellentCrates a valid papi ext
If you were sorry you wouldn't have done it in the first place because you read the #rules
Hello, the BedwarsRelStats ecloud is no longer available?
How do i make my own values for kills and such? I got no clue how this works and where i should put the values at.
wym "make your own values" @wintry ibex ?
Do you just want to get the player's kills and such?
Sure, do you know what is the issue with this vault
Please respect the rules, be patient and don't ping staff members!
yes player kills or blocks mined
Hi, I would like to use a Placeholder that says how many kills you have made in an specific world. Will the battlelevels expansion work for me?
is ExcellentCrates a valid papi ext
Hey. So I am using the %server_tps% placeholder and it works. But it displays "20.0, 20.0, 20.0" when I just want it to show one value. How can I do this?
%server_tps_5%
i think
if not use Spark's TPS placeholder
which i recommend using
Won't that show TPS from 5 minutes ago?
5 seconds i think no 5mins
ill double check
gimme a sec
try %server_tps_1%
but i would heavily recommend using Spark TPS placeholders
%spark_tps_5s%
that doesn't even work at all
that works thanks
Anyone can help me please
I found the KillStats extension but idk if I have to download something to show the kills of an specific world
is ExcellentCrates a valid papi expansion
in papi config.yml should it look like this to change how %essentials_afk% looks?
essentials:
afk:
yes: '&0&l[&4AFK&0&l]'
no: ''
[09:13:24] [Server thread/WARN]: [PlaceholderAPI] [math] Placeholder: %math_0:_{luckperms_meta_totalcaught_anchovy}+1%
[09:13:24] [Server thread/WARN]: [PlaceholderAPI] [math] '1+1' is not a valid Math Expression.```
It works the first time, it goes from 0 to 1. But on the second time, I get this error '1+1 isn't a valid math expression'. Any ideas? Thanks!```
So for some of my placeholders i jus tupdated my server to 1.18.2 it doesnt work for some of them
try putting math_0:1_ instead?
instead of just 0:
This is still saying invalid placeholder and the same error :/
Perhaps find another way to set the user meta instead of through permissions?
Hi
[04:16:16 INFO]: RedrDev issued server command: /ajlb add %aparkour_top_name_redrdev% [04:16:16 WARN]: Exception in thread "Craft Scheduler Thread - 9" [04:16:16 WARN]: org.apache.commons.lang.UnhandledException: Plugin ajLeaderboards v2.4.3 generated an exception while executing task 9858
/ajlb add %aparkour_top_name_redrdev%
ajLeaderboards and Aparkour
Should be more to it.
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
and placeholders https://prnt.sc/GlFbMrGJLg3E
Report it to the dev. at me.davidml16.aparkour.placeholders.PlaceholderHook.onRequest(PlaceholderHook.java:114)
how to report?
would that be possible?
Post a message on their discussion page
what do you mean by that?
your current system seems pretty hacky
you're setting user meta then using math placeholders to increment it every time the player catches a fish right?
Yeah basically just trying to keep a stat for each player so they know the total fish they catch of each type
And the plugin has a feature to execute commands when they catch a fish, and this way was the only way I knew how to do it
perhaps commission a custom plugin to help handle that data?
Wouldn't really take more than an hour's worth of work I'd say, and you can use it for multiple things
Or if you have MyCommand you might be able to do that already I think
ok thanks Maroon and cj ill look at both those things 🙂
no its a fishing plugin called PyroFishing that runs a command when a fish is caught\
oh lol
maybe see if this still works? https://www.spigotmc.org/resources/playerstats.11555/
meta isn't too bad if you're not tracking a bunch of stuff
even then, still meh
pretty good way of doing it I think
Its working again now that I removed the &f colour - but is LuckPerms meta not a reliable option?
it's reliable
just not the most ideal storage option of stats like this
having a custom plugin, or something like playerstats, would provide more benefit of how you could use it
you could use something like topper though to create a leaderboard from the meta value
which could be nice if you wanted
Right ok, just a bit worried about that plugin above as its so outdated. Whats topper?
Thanks Barry
I only have a small server so would that mean id be more likely to be ok with LuckPerms meta? Because I cant find an up to date similar plugin like PlayerStats after a quick look
ya, it's 100% fine to use
it's just player meta
deluxemenus also provides placeholders/actions for it
so basically the data itself gets stored to the player's .dat file
inaccessible when the user is offline
probably the only downside
ok cool, thanks for the info and fixing my math expression 👍
I like these kind of setups
Sorry for bugging but anyone?
How to solve this, I download the placeholder, and writes Failed to find an expansion named: Server, I registered the command / papi ecloud download Server
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.
Hello !
Do you know a placeholder that allows to know how many times a player has connected to the server?
the statistics expansion might have it
i just found the playtime expansion, looks like it has one
Uh, what xD, it's bug
check /papi ecloud download PlayTime and %playtime_timesjoined%
No extensions with this name :/
Ah!
I'm not going to install a playtime plugin when I already use CMI :/
@final shadow
Please respect the rules, be patient and don't ping staff members!
Sorry Barry :x
bruh c'mon
should be sorry for clip 😭
update the server expansion
that's not a bug