#placeholder-api
1 messages ยท Page 167 of 1
any specific "not working"ness, or just normal "not working"ness?
I'm not sure what type of "not working" we have here.
a screenshot maybe? errors? whatever shows its not working
not what I asked for, I said whats not working
the expansion
how so?
its not showing the information
send a screenshot please
i will get an example real quick
instead of
showing information
that its supposed to show on the scoreboard
its show this
%iridiumskyblock_current_upgrade_size_dimensions%
i tried /papi parse me %iridiumskyblock_current_upgrade_size_dimensions% not working
okay, run /papi ecloud download irdiumskyblock for me
and then /papi reload
then try
=papi irdiumskyblock
@sharp jay Unknown expansion.
it aint a thing @stiff zodiac
np
Okay, why'd you ping me then delete it? That's just rude
Vault: https://api.extendedclip.com/expansions/vault/
For essentials (indoor placeholder) {BALANCE}
okay thx!
Mh is this (https://www.spigotmc.org/resources/animated-tab-tablist.46229/) plugin only supporting the following placeholders ?
https://github.com/montlikadani/TabList/wiki/Plugin-placeholders
Is iridiumskyblock not irdiumskyblock
Please respect the rules, be patient and don't ping staff members!
Please respect the rules, be patient and don't ping staff members!
ye ye I found out {BALANCE} does not exist
nor %balance%
it's %vault_eco_balance%
brain lag
{BALANCE} is essential's indoor placeholder, not a papi one
So that one can only be used inside essentials itself, nowhere else
hey I need Papi on the player's head but I can't find it, will you help?
/papi parse me %voteparty_votes_recorded% not work why ?
What is the ecloud extension for voteparty ?
recoRded, not recoded
I have already try
Hello i got an question,
i want to run luckperms as permission plugin but with placeholderapi it doesnt work if i install them.
is here on the server a ticket sytem?
i want to download stuff from the ecloud an when i do it i cant reload the papi cofig
can somebody help me?
somebody here?
Do you get an error?
Hi! what should the # be in %vault_eco_top_player_#% ?
1 for top
2 for second top
etc.
For some reason it does not display anything while in game (other placeholders work)
@lilac oxide i get this in the console: [20:51:52 ERROR]: [PlaceholderAPI] failed to load class files of expansions
Send your boot log
that's bcz they were disabled. they're currently being moved in the Essentials expansion. If you still want to use it then download the 1.5.2 version of the vault expansion /papi ecloud download Vault 1.5.2 then /papi reload. Then go in the config: plugins/PlaceholderAPI/config.yml and enable the baltop option in there. then do another /papi reload and they should work.
Give me 10 mins I ll bei richtig back
works great!
thanks
I would like a good kitpvp plugin
- leader board
- full of hp when you kill someone
- and a config
You should head over #general-plugins I think.
fredthedoggy i ll send you the log on private message which log is the boot log and where can i find it?
Please respect the rules, be patient and don't ping staff members!
Don't DM me the log, just send it here.
use mcpaste to blur IPs
and latest.log should be fine if you've restarted recently
%localtime_timezone_173,kk:mm% - this doesn't seem to work because it has the wrong time
do you mean me?
Hi, I'm having a problem with this variable, I don't know why it doesn't take my player's name "%player_name%"
Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload
very goood
use math expansion
that.. isn't a question 
of course it's a question, don't you speak the PlaceholderAPI language?
^ Don't know if I should post expansion things here but if anyone knows what this is, much appreciated!
@thorn thunder
I assume theres some script in an infinite loop
/papi parse me %player_item_in_hand_level_efficiency% i hold ef5 dia pick and im on 1.17.1 purpur
shows error
An interal error has occured
@thorn thunder
or anyone
Online
@sharp jay
Please respect the rules, be patient and don't ping staff members!
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bstats/charts/CustomChart```
any ideas?
Try redownloading the plugin from spigot
still the same error occurs
Please respect the rules, be patient and don't ping staff members!
1.8.8 version of spigot
efficiency is not a correct enchantment name. also you need to put it in caps. EFFICIENCY. but again. that's not a valid enchantment name. for efficiency you should use DIG_SPEED.
can you send a full startup log please? use this paste bin: https://paste.helpch.at
use %math_0_{bungee_skywars1}+{bungee_skywars2}%
.
can you please open a issue on github. never seen this error before. <github.com/PlaceholderAPI/PlaceholderAPI/issues>
sure
Get the latest content of your latest.log file an upload it to https://paste.helpch.at
Take the generated URL and paste it into this field.
https://paste.helpch.at/latest.log
``` For what purpose do you need me to attach full log?
oh, its not required i see
https://github.com/lucko/LuckPerms/issues/2395#issuecomment-647028761
do you guyz solved this ?
i got an question when i am in vanish in my scoreboard on the right there it shows me as a player how can i change it that when i am in vcanish it doesnt show there that i am online?
is there any placeholer becide %onlineplayers% and %maxplayers% ?
can't you change the display time in plugins/PlaceholderAPI/config.yml?
ugh. I don't see how this has anything to do with placeholderapi? none of those placeholders are placeholderapi placeholders
what do you mean?
my full scoreboard is from placeholderapi
and i thought that maby there is a placeholder which doesnt inclue players who are in vanish
what? PlaceholderAPI is not a scoreboard plugin and it also does not have any placeholders named onlineplayers or maxplayers. If you mean that your scoreboard supports PlaceholderAPI, and you want some placeholders that can show that number you want, it really dpeends on what vanish plugin you use
i use the vanish function from cmi and the the placeholders i use in the scoreboard runns on placeholder api thats what i ment
nope I'm telling you they're not
onlineplayers and maxplayers are not PLaceholderAPI Placeholders
they can't be
when you install the Server placeholders from ecloud
yeah. its %server_SOMETHING% never just %SOMETHING%
ah yeah sorry then its like that
%cmi_server_online%
try using this
if it doesn't work, then you'll have to ask the CMI developers to make a placeholder for online players that don't count the vanished ones
๐
date_format: MM/dd/yy HH:mm:ss
I have try to change this but it didnt work :/
Please respect the rules, be patient and don't ping staff members!
Hello why do I have to do / papi reload so that my scoreboard is displayed every time I restart my server?
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
๐จ It has come to my attention that a user was using a leaked plugin, they have been... well let's say.. dealt with.

any1 know a guide to make the javascript storing player's data for daily cooldown system ( delay )
thanks
ยฏ\_(ใ)_/ยฏ
sound like a good name for plugin ๐
Remember the good old 'Adminfun' plugin? How about we take that name for a revival
oh that was a good 1
I found another one last night but 1.13 <.< BRUH
Someone has to remake that for 1.17
sad that it got abandoned since 1.10
https://www.spigotmc.org/resources/admincmds-1-8-1-16.78420/ is this the revived version ?????
How about this instead?! https://www.spigotmc.org/resources/curses-troll-and-bother-your-friends-1-8-1-17.71484/
The original i saw was this https://www.spigotmc.org/resources/trollcommands-troll-your-frenemies.24237/ (massive list of commands/possibilities lol)
people become creative when trolling player XD
I like the massive list of possibilities tho :/
Time to learn java beyond bare basics i guess
any help ?
have u updated the expansion ?
how to update expansions ?
Re-run the ecloud command.
okey but its still not working
if you can't format it with that then its not possible.
date_format: DD:HH:mm:ss
I have modify to this but its not working
as I said. if it doesn't work after modifying that then its not possible
its still showing 4w 24h 50m 20s
okey
the thing is, that date_format is used to format dates. not durations. Maybe ask Luck to use that format but idk if he will. Tell him if he can use the PlaceholderAPIPlugin#getDateFormat method instead of what he's using now. but I can't promise you anything.
okey
papi ecloud download Player
Failed to find an expansion named: Player
What is the problem?
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 i got a question i am searching a placeholder that shows ur exp lvl u are right now for example my lvl is 121 thats the number over my hotbar. how can i get this as a placeholder and not total lvl i tried out everything from the player placeholders.
i got what u need
@austere hawk here is the javascript version of getting player exp at their level https://pastebin.com/Vr3N5H4z
do u know how to set up the javascript placeholder yet ?
no i dont know i just use placeholderapi i am new to plugins
k first u need to install javascript expansion
download it via the ecloud
solved via dm
that's a lot of useless work tho. xD https://github.com/PlaceholderAPI/Javascript-Expansion/wiki/Community-Scripts#player-exp-points This link literally gives a step by step install guide
Sexy, I'll keep this link locked up in my favorites
i already help him in dm :L
well. I was just saying. you spent a lot of time when you could've not xD
anyone up for making a javascript for me since lazy? xD
huh? what would it do?
true XD
@austere hawk from the dm problem i believe u dont have player expansion yet
Grabbing numbers from luckperms highest by weight with track specifier, basically to grab a clean number of how many ppl have x rank
or my code too old it no longer work
var real_level = %player_level% + %player_exp%;
real_level.toFixed(2);
ugh
is this too old to work ?
you know that %player_level% returns the actual levels?
and exp returns just a number between 0 and 1
it not return decimal
I'm pretty sure it does
????
it not show the extra exp
k
will test it out again
well anyways. this is what %player_exp% returns
yeah it show the percentage
so %player_level%+%player_exp% will return something like 10.5 (10 level and 50% to level 11)
which why i call it real level .-.
wait u made the javascript expansion :O
||not the js expansion itself, just the js script||
.-.
no. the javascript code
clip probably made the javascript expansion. or at least the original one. new one was made by Yugi
also thienbao worked on it as well. on the old one
๐ thanks blizt for make it in the first place :)
well we should all thank essentials devs for doing the math
xD
bcz its not my math
lmao
which math ?
i use their exp command to reverse the math .-. so still thanks the essentialx
my script is basically their code just converted and modified a bit
can u help me make this able to go to infinite .-. ? https://pastebin.com/Vr3N5H4z
no ? its an integer. it goes up to some billions.
oh
2.4 Billion or whatever
so 2,4 billion level ?
well no. xp points I think
or something like that
not really sure. but anyways minecraft has a limit to
its either integer or long
ok
npc's placeholders? what are those?
oh. probably citizens doesn't support Placeholders there. I usually just use Holograms instead for the names
have you tested the placeholders using the parse command?
yeah then you'll have to contact citizens support I'm afraid
Please respect the rules, be patient and don't ping staff members!
well. I'm really sorry but since this isn't a PlaceholderAPI problem we don't really have anything we can do to fix this. Since the placeholders do work
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
what hologram plugin do you use?
well holographic display doesn't support PlaceholderAPI. but that's an easy fix. Just install ProtocolLib + one of these 2: HolographicPlaceholders/HolographicExtension
also keep the HolographicPlaceholders as the other 2 are just "addons"
Some placeholders don't work when a player is not logged in, is there a solution?
Nope. The expansion developers would have to make them support OfflinePLayers. But some just can't. For example the Player expansion is supposed to take in a Player. not an OfflinePlayer.
why would you do that tho?
just use HolographicExtension
it is just as good
anyways
you can click the version history
tab in spigot and it will list all versiomns
hi
this is the direct link ^^
i speak little english but my error with server expansion
A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.
try redownloading it. if it still doesn't work, download it manually from the ecloud
so:
- go to plugins/PlaceholderAPI/expansions
- delete
Expansion-Server.jar - do a
/papi reload - go to link: https://api.extendedclip.com/expansions/server/
- download the latest version from that link
- put it back in plugins/PlaceholderAPI/expansions
- do another
/papi reload
oh. strange xD. well glad it fixes it
ohhhh. did you set in citizens settings for npc names to use holograms?
bcz if you did that makes a lot of sense
It doesn't work
@errant iron can you please help? I really don't know what this error is. I've seen it come up lately and I know you added the warning.
alr ๐
@turbid tide it doesn't work....
yeah I saw. pinged Star above bcz I'm not really sure what the problem is here. have you tried restarting the server?
๐ if it still doesn't work you will have to wait for Star to join and help you. I really don't know what the problem might be
no. I do help the developer with it tho.
fewlaz are you using the latest version of papi?
400 menus? that's a lot
idk
I don't think that's even close to the record
didn't some guy have like thousands of menus
lol
its 2.10.10 papi version
I have like 150 on mine that are actually usable and another hundred testing.
try redownloading PAPI Fewlaz. from spigot
oof
Which version?
the latest
latest from spigot
Yes BUT version ? :
2.10.9
2.10.6 ?
????
This is the version I already have
okay wait
JARs can be corrupted on download. or files in general. and I've seen it happen before. I'm not sure if that's the case here or why piggy asked you to download it again but yeah.
It's strange that other extensions were working
Who is the creator of statistic ?
https://imgur.com/a/rH4aJ8t not almost 400 my bad
Probably clip. But I'm pretty sure that won't change. I don't think there's a way to provide statistics for offline players. in spigot at least.
nice ๐
btw its community maintained now. https://github.com/PlaceholderAPI/Statistics-Expansion/ you can find it here
Jesus
in 1.13+ i believe u can use statistics for OfflinePlayers
oh really? I didn't know that
well if you want feel free to open an issue on github @hasty nacelle. but can't promise you anything.
link is 3 messages above
for github
bruh, it doesn't work
welp. then you have to wait for Star to wake up and see what's going on. I Don't really know what could be happening
.. ok
Hello, where can I suggest a plugin for placeholderapi to add?
I'm trying to get gamepoints
gem economy already has placeholders. also its up to each plugin to add placeholders. so you have to request the developer of the plugin you want to add placeholders to do so.
sry, I meant gamepoints
well. you will have to ask the developer of gamepoints to add them
Well, it does have placeholders already, but i'm trying to use it in another plugin
and that other plugin doesn't support PLaceholderAPI?
because if it does not, then you have to ask the developer of that plugin to add support. PlaceholderAPI is just a bridge basically.
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.
use this to send images ^^^
k
So it doesnt work on this plugin I have
but within the plugin, it works
The plugin has a built in store, and works there
yeah. so you will have to contact the developer and ask them to add placeholderAPI support everywhere. it seems like they either forgot or had a reason to not add it there
well I told you 2 times already. you'll have to wait for Star to wake up. not sure what the error is about
Yes, except that I'm waiting like an idiot and I can't move forward. Besides, you take care of someone else, so it's not very nice
I'm sorry what? What do you want me to do? Just get the knowledge out of thin air? If I Don't know... I can't just miraculously learn how to fix that. I've tried my best to research and see what it is about but I couldn't find a good answer.
as I said. I'm sorry but I really don't have any knowledge about this stuff. If I had I would've helped you long time ago. the error says that the version is null which I know it isn't and usually that means there's a corrupted jar. but you've downloaded the jar multiple times manually and that didn't fix it. So I'm not really sure what the problem is then
I didn't understand so I'm sorry, I thought you were taking care of someone else when you were telling me that you were with someone else. I'm sorry I'm going to try to get some old version of papi because the 2.10.10 I don't need it I'm in 1.12.2 so the 1.17 I don't need
Work on papi 2.10.09
Please respect the rules, be patient and don't ping staff members!
Please respect the rules, be patient and don't ping staff members!
serious bot ?
oh interesting. yeah I Think star might've messed something up
[16:37:53 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[16:37:53 INFO]: [PlaceholderAPI] Fetching available expansion information...
[16:37:53 INFO]: [PlaceholderAPI] Successfully registered expansion: server
[16:37:53 INFO]: 1?a placeholder hooks successfully registered!
YEAH. Will make Star take a look bcz he might've broken something. He was working on that stuff
However, it does not find any extension.... /papi ecloud download player or playerlist doesn't work, neither does gemseconomy. Weird
Is there any way to add it myself?
well if the plugin is open source the yes.
Lemme check
but I Don't know if it is.
well then if you know any java it is possible.
huh?
it has a softdepend for placeholderapi
Doesn't that mean it should support it?
has nothing to do with the code. as you've said before, they work in some parts. that means it has PAPI support but not everywhere
its not as easy as just adding it as a depend Dune
probably. not sure.
this is the class that adds the gamepoints placeholder
oh
well you would have to go in every message that is being sent or put in a menu and put the string thru the PlaceholderAPI Parser first then set it
uhh
So for every place that i want it to be, I put the string through the papi parser, then send the message
All I need is to be in 2 areas
yeah.
javascript broke (using quickjs)
https://paste.helpch.at/erorepocuc.sql
@thorn thunder ^
yeah. you're probably missing the dependencies
quickjs engine doesnt work on all archs, thats why its left as opt-in
hey guys I updating old code. Can you help me?
public class PlaceholderAPIHook extends EZPlaceholderHook {
KothPlugin plugin;
public PlaceholderAPIHook(KothPlugin plugin) {
super(plugin, "koth");
this.plugin = plugin;
}
you shouldn't be using EzPlaceholderHook. it was removed like 4 versions ago already
Yes but this not my code. I need to update this code
I updating this old plugin ๐
well the expansion is internal afaik. So its internall class
ugh. probably not.
public class PlaceholderAPIHook extends PlaceholderExpansion {
KothPlugin plugin;
public String getIdentifier() {
return "koth";
}
public String getPlugin() {
return null;
}
public String getAuthor() {
return "SonHukumdar";
}
public String getVersion() {
return "1.0";
}
if(Bukkit.getServer().getPluginManager().isPluginEnabled("PlaceholderAPI")){
new PlaceholderAPIHook().register();
}
i think its ok ๐
yeah looks alright
well
actually
you do need to add the override annotation for identifier, author and version
and I'm not really sure what that get plugin method is
also you probably need the persist method as well
battlevels
Something went wrong while adding PlaceholderAPI support
java.lang.NoClassDefFoundError: me/clip/placeholderapi/external/EZPlaceholderHook
EZPlaceholderHook
The plugin uses am old hook. You'll have to ask the developer to update
oh okay
hey uhh... placeholderapi isn't working, like at all for me
02.08 21:33:13 [PebbleHost] * ran command: papi parse triangulum598 %player_name%
02.08 21:33:13 [Server] Server thread/INFO %player_name%
?player
Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload
already did that, in fact I restarted the server lol
hmm
what if you do /papi info Player?
yeah, now it says I didn't
when I swear I did
hold on lemme try downloading it again
๐ฅฒ
you might have to manually delete the jar file from plugins/PlaceholderAPI/expansions
sometimes it glitches out
I get this error when trying to reload it, you think that has anything to do with it? https://paste.helpch.at/vodacobixu.sql
just tried deleting the jar and redownloading it, didn't work
it doesn't even seem to try to download it looking at the console, it just sends 02.08 21:48:14 [Server] placeholderapi-io-#4/INFO [PlaceholderAPI] Fetching available expansion information... and nothing else
or is that normal
hmm, do you use a Factions plugin?
yeah, factionsuuid
our server is a factions server in part
other part rpg at this point lol
uhhhhh
the error just means that it's trying to look for https://www.massivecraft.com/factions which doesn't exist
so it can't load an expansion
do you have a factions expansion?
yeah
try deleting it for now and see if it works, since it might be the cause of the issue
I'm not sure you need the expansion
o
what does it spam it with?
uhh
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
ยฏ_(ใ)_/ยฏ
lol
oh this is multiple errors
5767 lines of pure error
ok i managed to get a smaller snippet: https://paste.helpch.at/mivokabehe.md
lol no more tab crashing
lol
[Essentials] Found UUID 3293d833-7a9b-4555-ad27-6c120f2f7b6f for player OwieLane, but player already has a UUID (4b9cef70-6ff3-3ead-a14b-df395c39c0c8)
yeah this is a much more reasonable 206 lines
ah chatreaction
yeah we have that in there with a bunch of space and scifi terms
hmmmmmmmmmmmmm
@vocal needle Have you toggled offline/online mode?
since i believe the error is saying that the UUIDs are different, and in offline mode the UUIDs are different from online mode
was it ever on offline mode?
it's on online mode yeah and no it's never been on offline mode that I know of
since we fixed this issue, the other expansions (specifically vault) is now enabling, and Vault is using EssentialsX for money, and then EssentialsX is complaining about the UUIDs
hmmm
you might have to reset the usermap
from essentials
that would be in ./plugins/essentials right?
probably
well lets see what this breaks
restarting the server now, hold on it takes four score seventy years
๐คจ ๐ค
I have a bunch of unused worlds that I'm gonna be removing after this that're slowing it down lol
ok I think that might have fixed it
I did papi info player and it actually exists to it now
yep, works now
at least it seems to be
gg
any1 have a good delay code for javascript ?
this works in quickjs, any idea why its not working here? https://paste.helpch.at/gememusiya.xml
setTimeout(function() {
alert('Hello World!');
}, 500);
We'd need to see the script
But i'd assume if the difference in the spec
var dispName = "%essentials_baltop_player_0%"
function cut() {
if (args.length == 1) {
dispName = args[0];
};
if (dispName.includes("]")) {
return dispName.split("]").pop().slice(2);
};
return dispName;
}
cut();```
includes is not part of ES5
Just off the top of your head, is there a drop in replacement for it?
You could use indexOf and check if its positive
it is what it sounds like! one of the fields is null. this is just added validation using reflection to ensure an expansion contains the proper fields and methods. they probably have something messing with their expansion. i'd check the bytecode if i were them, but i don't really know how to fix it other than just download it from somewhere and make sure nothing is messing with it
bit of a botched replacement, but /shrug
I mean, thats exactly what the includes ep was replacing
whats the best way to make a leaderboard with placeholders? Is there any easy way to do that?
lmao that so short that it shock me XD
Can someone tell me what brackets i need to use to have a placeholder inside a placeholder inside a placeholder
using @arctic loom's formatter
/papi parse me %math_({formatter_text_replace_,__%ultraprison_next_rank_cost%}/100)*3%
I can't find the papi of the Guilds plugin. Who can tell me
%math_({formatter_text_replace_,__% this is the placeholder it tries to parse, and maybe this %}/100)*3% as well
Thank you i'm connected
I can't find the papi of the Guilds plugin. Who can tell me
=check @primal tartan
Successfully checked that user for new purchases!
I asked my friend
He is not good at English. He is next to me now
I asked her to open his account
I have no idea how to use javascript lol
any chance you could help me?
@turbid tide hi, Star is here ?
Please respect the rules, be patient and don't ping staff members!
Is there a way to get a random player name with any expansion?
Deeply nested placeholders wouldn't work.
A workaround could be the shortcut placeholder
Yeah, im using a conditionaltextplaceholder
basically allows me to put 2 placeholders into 1
Hi, I let my friends in with me, let my friends ask for the rest
and then put that 1 into the math equation
What is the papi of guilds?
Yeah. Use the RNG expansion
thanks
Yeah. This was his response #placeholder-api message
You can try and use the nested placeholders expansion. I am not sure how it works tho.
Is that a thing?
what even is a shortcut placeholder?
And how do I do it, I don't really understand?
Can someone tell me how to use precision in math expansion
it used to be like this but its not working
he basically is saying that one of your plugin might be breaking it. I think
/papi parse me %math_({conditionaltext_money}/100)*3[precision:0]%
%math_PRECISION_MATH-HERE% for example: %math_0_2+4+5%
ah okay its been changed then?
yeah
/papi parse me %math_0_({conditionaltext_money}/100)*3%
well there's more than just precision now. there's also rounding I think. but yeah
yeah that looks alright
ty for all help peoples
Hello! I have a server with PlaceholderAPI but some placeholders don't work, even though I have all needed expansions downloaded. Could anyone help me, please?
can you please send a full startup log and do /papi dump and send that link as well?
Sure! Here is the startup: https://paste.helpch.at/iqakukuqay.md and here is the /papi dump: https://paste.helpch.at/kibemuturo
and can you give me an example of 1 placeholder that is supposed to work but doesn't?
Vault
but like specific placeholder. is it the economy ones? is it the rank ones?
well it's economy (%vault_eco_balance%), sorry I'm new to this
well. it doesn't look like you have any economy plugins tho.
vault is not an economy plugin. its just a bridge
but I have another server in which this works, but in the other doesn't. I have all the same plugins and expansions. But, in the one that works I have Essentials, is that the thing I need?
yeah. essentials is an economy plugin indeed. vault and placeholderapi are just trying to get the data from somewhere and don't have from where. but if you were to install essentials for example it would take it from there and it will work
Oh thanks! It worked!
๐
is there a placeholder for the worldguard region title of the region you're currently standing in?
by title you mean name? then: %worldguard_region_name% %worldguard_region_name_capitalized%
you can find the rest of the placeholders here: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/placeholders#worldguard
ah. nope. no placeholder for that
according to the wiki it is for this plugin: https://www.spigotmc.org/resources/craftconomy.2395/
it may still work with forks
or stuff like that
i dont find what's the difference between craftconomy and "" 3
can you link me craftconomy 3?
oh. probably
I mean the one from above
is at major version 3
so probably that's the difference. just a more updated one
yea probably
hmm the placeholder doesnt seems to working
maybe i entered it wrongly
doesnt work
can you try with /papi parse me %placeholder% ?
can you paste the placeholder you've tried in here as well pelase?
that shows the same text i enter so doesnt work
and the placeholders are
%craftconomy_coin_@int% and
%craftconomy_dollar_@int%
ugh. doesn't int need to be a number there?
oh nvm. it does not
can you send a full startup log @flat peak 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.
hi will it be an update for vault ?
update for vault? this is not the Vault discord server
vault papi extension its not u guys ?
oh. what update does it need?
thought you were talking about the plugin since you didn't mention extension
%vault_eco_top_balance_#% does not workd on 1.17.1 with last vault update and last papi update
that's intentional. they've been removed completely from the vault expansion. you can still use them if you want. but they're being moved in the essentials expansion.
Few reasons they're been disabled and moved:
- They used to work only with essentials anyways
- They were very very laggy for no reason.
but if i choose 2 version beind of vault expension it work but it bring my server up to 100 % cpu usage and ram
yup. that's why they've been removed from vault expansion
there's a test build pinned if you want to try it. for essentials expansion I mean
do you have the placeolder for essential that give baltop ?
if you jump to the build message above or under
they're listed
yes i would love thise expension ๐
i am lost where is the build message in discord or on essential site ?
oh yeah... [18:21:52] [Server thread/WARN]: [PlaceholderAPI] craftconomy is attempting to register placeholders via a PlaceholderHook class which is no longer supported! the CraftConomy expansion needs updating.
in this discord. see the pinned messages.
oh is there any way i can do something?
the only way would be to contact the developer of the expansion but he seems to not have been around for a while. You could also contact the developers of the CraftConomy plugin itself and add them to add official placeholders instead
or i can use another economy plugin XD
yeah. why not use essentials?
its economy is pretty solid
i have find the essential expenssion but not able to find new placeholder ๐ฆ
i'm looking for one which supports atleast 2 currencies
ah. well then try looking at either: GemsEconomy or MultiEconomy
do you see the jump button?
press it
it will take you here:
I'll just update the pinned in a second tho to have them listed there
adblock? what would your adblock have to do with this? do you use discord web?
but you're welcome ๐
btw @vivid swift you will need to use development builds of essentials as well
it doesn't work on 2.18.x
you can find them here: https://essentialsx.net/downloads.html
yep already have dev build ๐ thanks alot
yw ๐
New test build for the Essentials Expansion. This one adds the baltop placeholders that were removed from the Vault Expansion with a lot of performance improvement.
Added placeholders:
%essentials_baltop_balance_fixed_<position>%
%essentials_baltop_balance_formatted_<position>%
%essentials_baltop_balance_commas_<position>%
%essentials_baltop_balance_<position>%
%essentials_baltop_player_<position>%```
As you can see the formatting from vault will still work here.
Exampels:
```diff
- fixed: 1000000
- formatted: 1M
- commas: 1,000,000.00
- no special format: 1000000.00
The player placeholder returns the display name of the player from the respective possition.
All positions start from 0. So:```diff
- Top 1 will be position 0
- Top 2 will be position 1
- etc```
At the moment, the baltop placeholders might not load when you start the server. You will probably have to run a command like /baltop to load them into cache and then they will work.
u too man. and you're welcome
@errant iron what u think of my message? xD
Didn't you use to be staff for Discord Bot Maker or something.
whats the best way to make a leaderboard with placeholders? Is there any easy way to do that?
some expansions may already handle a leaderboard, but there is a plugin called LeaderHeads that can manage leaderboards for all placeholders
LeaderHeads or ajLeaderboards
any comment on which is better (prefermance or usability wise)
welp leaderheads doens't have 1.17 supported and hasn't been updated as recently, so i'll use aj
Looks pretty good!
No.
Would never support such a lazy thing
lmao
Where do i know you from then ๐คจ
Imagine there being like a tab that shows what servers you share with someone...
Already looked
- doesn't really make sense though because i never talk in them.
Luckperms?
Regarding the PAPI plugin. There are no placeholders for checking achievements? Or can I make a check in some other way?
I forgot to look there for something ๐
Yeah. Was mod there for a while
hello is there any way that i can display a given value for a given placeholder? e.g.% statistic_mine_block_usernr1%? I'd like to rank anything like block mining.
Sorry but my bad eng :<
E.g.
%statistic_mine_block_user1%
%statistic_mine_block_user2%
Etc
You can use a plugin like LeaderHeads or ajLeaderBoards to create leaderboards for a lot of placeholders
so how to register custom placeholder?
i am using a placeholderexpansion class and PlaceholderAPI.registerPlaceholderHook(bla bla bla
this method seems to be deprecated
new PlaceholderClass().register() in your enable method
thx a lot
is there a placeholder to check the server time?
like if the time is to 0 ticks there is a boolean
%player_world_time%
and i can do something with javascript papi?
probably. yeah
can papi expansions be used for offline players?
eg can i parse %player_name% without the player being online
if not why the heck does it take an OfflinePlayer
yeah u can
up to the expansion if it allows offline player
but papi should let you
hmm
eg most of the essentials placeholders work offline
does the player expansion?
certain things might
which placeholder?
player_name
oh wait
it should
so
im guessing this is a problem on my end https://img.bristermitten.me/screen_2021-08-04_12-58-29_znDE.png
yeah it would return nothing if it failed
most work with offline players
yeah i was looking at that, just misread it
cool beans
smh.
yo @slow crystal you need a lot of players to join your server btw?
or what u need this for?
May I introduce you to Server-Side bots? xD https://www.spigotmc.org/resources/fake-players-server-side-bots.91163/
lambda attack
anyone know the placeholder for unique player count # ?
I want it in the welcome msg
%server_unique_joins% ๐
TIL
ty
I have a problem installing JavaScript. Below is the error.
[PlaceholderAPI] expansion class JavascriptExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory
update the javascript expansion.
/papi ecloud download javascript then you do /papi reload
what is the custom-join-message plugin? does it support PlaceholderAPI?
essentials has {UNIQUE} btw
Exactly the same error
can you do a /papi dump please? and send the link here?
can you go to plugins/PlaceholderAPI/expansions and delete this: Expansion-javascript.jar then restart the server, then do the download command again and reload after
Nothing has changed
can you restart server again and send a full 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.
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
@thorn thunder please help. idk what's going wrong
it can't find nashorn
but the download command should've downloaded latest version
Could it be because I have PAPI 2.10.9 and not 2.10.10?
Ok
Could you provide the output of java -version ?
Java 8
Is there any other exception in your log?
After installing PAPI 2.10.10:
Ah heres the issue java.lang.UnsupportedClassVersionError: org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory has been compiled by a more recent version of the Java Runtime (class file version 59.0), this version of the Java Runtime only recognizes class file versions up to 52.0
As I understand it, you need a higher Java?
i was been looking around and tried to find an placeholder that says what world an specific player is in
Yea, but that seems to be a mistake. We'll fix that asap
Well thank you I will wait
me too
did u google or guess
I've used it already
you know there's a wiki that lists hundreds of placeholders right?
player_world how do i make it say what specifiy player, {playername}_world?
im new to all dis
you use the parseother expansion
%parseother_{playername}_{player_world}%
Installing the JS 1.6.0 add-on solved the problem, I will work like this for now
https://cdn.discordapp.com/attachments/840627211647057970/872572385184858162/unknown.png
The placeholders turn to PNF after updating
Which placeholders are those
OtherPlayer
it means it can't find the player you're trying to parse the placeholder for
oh i think i am online (-?
well are you parsing them for yourself? are you not using parseother? also why use otherplayer when you are online? just use the Player expansion instead
Could somebody give me an example of how to use precision with the Math expansion for papi please. I've tried several ways to enable precision in my placeholder and it fails. Here is the example on the github that I'm following for reference. %math_[precision]:[rounding]_<expression>%
%math_0_1+1%
Oh ok I was overthinking lol, thank you.
since the placeholders are the vanishing thing imma ask here
why do my DeluxeMenus Item Lore Placeholder ParseHolder(aaa) go away after a second
it doesnt give any errors,
but i think you could make the errors better like if a line in a text was bad should say theres da bad and not throwing some random bly*d
i also tried removing da dot
only using 1 lore
idk
errors come and go
lol
looks like im burger king for errors
Is it possible if someone can help me a bit as i am struggling
I would like to create a custom "currency" either directly inside placeholder API with javascript or to use some items with custom name and lore (Like let's say cookies)
I would like to create a small "shop" or menu that would use those coins or cookies like 1 5 25 or 100 and it will take that from the user if it has and i would like to add those coins to virtual budget/balance
So in conclusion i would like to replicate a system on popular server where they receive a timed hype points where they can use it and vote for some options, i can do something similar where it will use those coins but i can't manage to create a system where those will be stored under x player (can i use like balance for either armor stand or unknown player with some id)
Thanks for anyone who can help me out with this ๐
I feel it would be easier and less resource intensive to make a plugin
and more reliable with the data storage
because, while you can store data with javascript, it's not really supposed to be done how you want it
because you usually want to retrieve all data when server starts, cache it, save it when server stops
I know but that would require more brain from my end xD
And that is at least for now on short term as i just started learning java until i learn the whole database, storage and everything i would probably either won't need the plugin or someone will beat me to it
xD
otherwise you'd be reading/writing everytime you called the placeholder basically
You could however, try using player meta via deluxemenus
which comes with a placeholder too
and remember you can execute the deluexemenus actions from anywhere you can put a command
/dm execute <action>
on minehut this https://www.spigotmc.org/resources/backpack-store-any-item-great-for-survival-servers.17192/ pluggin doesnt work if i edit it
anyone know how to help
Hello, how would I go about making a request regarding the multiverse expansion?
I realise I need to bug the MV guys about that one
hey I can't register why
hey i want to join the web placeholder-api but i can't why
Anyone know the placeholder for the total numbers of players who has joined the server?
In the PAPI "Server" module there is this: "%server_unique_joins%"
I would guess that is what you want.
That is indeed what I've been looking for. Thanks so much!
How do i list players out in tablist?
%playerlist_online,normal,yes,1%
%playerlist_online,normal,yes,2%
It returns with "Offline"
help!
if you want to get a specific player, you have to start with 0, if you want the entire list, replace the number with list
register is disabled on the ecloud, if you want to create an account, you need to ask funnycube to add you
Hi Im trying to make a list of player online in tab
41: refresh: 4 text: '%playerlist_online,normal,yes,list,0%' 42: refresh: 4 text: '%playerlist_online,normal,yes,list,1%' 43: refresh: 4 text: '%playerlist_online,normal,yes,list,2%' 44: refresh: 4 text: '%playerlist_online,normal,yes,list,3%'
list will list all the players in just 1 tab
it works. But if the other players not found it will return as "Offline"
How do I fix this
you can't really fix that
that's how its meant to work.
what do you want it to return if there is no player?
can the expansion of playerlist edited?
it is open source. so yes if you know how to you can. but you could also use another expansion for this:
%changeoutput_contains,ignorecase_{playerlist_online,normal,yes,list,3}_offline__{playerlist_online,normal,yes,list,3}%
try this one
and please don't modify anything in it.
doesn't work.
Am I doing this right?
44: refresh: 4 text: '%changeoutput_contains,ignorecase_{playerlist_online,normal,yes,list,3}_offline__{playerlist_online,normal,yes,list,3}%'
Doesn't recognize the pllaceholdeer
Oh it works! But I have a problem. It now shows my name 6 times in the tablist
and it didn't do this before? also you did switch the 3 for every single item in the list right?
๐ no problem
i believe u running unsupported java version, the new javascript expansion now run on java 11 at least
though i suggest java 16 if possible\
My server is 1.8, when Java 11 or 16 is used, the server does not turn on
sadly u have to role back ur javascript expansion version
find it on ecloud
as new version intended to make working with new java version
I already managed to install javascript
is it work now ?
hi does anyone know alot about changeoutput?
ok, I get it
1.8 servers can run on java 16
How can i help?
When i use the placeholder, it only gives the yes value
Can you show me what you're trying to do please?
@smoky spoke u might've missed my message ^
sorry i took a shower
๐
No they cant
well.. internet went down. I was saying that I thought it the same until glare told me it doesn't actually work.
wat
but-
i just did it-
20 minutes ago
unless they have some other server software
im using paper 1.8.8
and AdoptOpenJDK 16.0.1.9 hotspot
https://i.imgur.com/Bim32Xb.png and the huge error in the middle always happens, idk what it means but it doesn't affect the server, i can join the server and stuff
ooh I had the same issue along time ago, it's in the start.bat thingy
you have to add some weird code
look at #off-topic
Hi one question: How can I make the pinger expansion take the motd from a minigame plugin, and not the motd from server.properties?
you can't.
Ok, but isn't there a plugin that can do it?
If there is a Placeholder that reads whether there are other players next to the player and outputs Yes or No
you can use the PlayerList expansion. It has a way to show how many players are near a player and you can give it the distance.
Thanks, but i found ParseNear
ugh alr then.
How can you kill a player like /kill %player% but that doesnt work so how do I do it
Kill it feom where?
so I'm trying to do a command where it kills you when you touch water it all works fine for when I do like @p but I want to make it kill the player that touches it so basically how can I do a kill command for the player that executed it
so like how can I do a command block for when you step on it it kills the %player% without doing @p
Pretty sure the only minecraft way to obtain the target player like that is @p.
How do I fully disable the baltop placeholder from running? I tried disabling it in the config, but it still works.
In the Vault expansion?
Yeah
I only use Vault for the prefixes, don't use baltop on my server, but its causing a lot of memory usage and lag for me.
I didn't even think it worked on the latest version of the Vault expansion
i'll whip up a quick version of the vault expansion that doesn't even have baltop code at all
Ok, thank you!
Could you temporarily accept my friend request, so I can send you a link that I don't want shared publicly?
What link?
Flare
What's that?
Am I allowed to advertise a link to flare?
uh, I don't know what it is
It's a way to profile lag issues, a better alternative to spark and timings.
I want to show you that the baltop task is still running
On my new version?
Yes
The code for the baltop task literally doesn't exist in that one
I did /papi reload, was that enough to disable it?
Do a full server restart
Alright
./papi reload makes all devs cry
Well it's usually pretty good
lol
but the weird tasks that the baltop thing does kinda sidestep papi reload
I noticed there were two Vault plugins, 'vault' and 'Vault', so they are both disabled, and reloaded the plugin. Everything works like before and the lag issue from baltop tasks is gone now.
Thank you very much
nice
what's that?
sorry i forgot to respond.
%changeoutput_=_{Special70}_{player_health}_6_yes_no%
ugh. what's the Special70 for?
i believe this placeholder should say yes if i have 6 hp right? when i parsed this with full hp, it gave me a value of yes
1 sec. that placeholder is not right
%changeoutput_<options>_<input>_<matcher>_<output-if-matched>_<output-if-not-matched>% This is the model.
equals - match the input exactly
ignorecase - match the input while ignoring cases
ignorecolor - match the input while ignoring colour codes
contains - check if the match contains input
>= - check if the input is larger than or equal to the matcher
> - check if the input is larger than the matcher
<= - check if the input is less than or equal to the matcher
< - check if the input is less than the matcher
``` These are the options. no `=`. and no name required. That placeholder is supposed to look like this: `%changeoutput_equals_{player_health}_6_yes_no%` @smoky spoke
I thought for some reason he said /plugman reload
my memory was prob mixed up with the otherplayer placeholder
Just so you get the clarification too Star and don't think I'm an idiot roasting your guys' placeholder plugin lol. My mind interpreted his command as plugman not papi
yeah. I assume the parseother placeholder. all good. and you're welcome.
lol plugman
lmao. I feel that.
what a hot meme
hey question with xconomy
papi trow errors
any idea why?
i remember it also caused problems with other economy plugin
you'll have to contact the developer of xconomy. seems like vault is trying to fetch the data from xconomy but the problem is that there is no data to fetch. something is null in there.
but i got a similiar issue also with a custom economy plugin too
randomy economy of players fucked up and when i stop server papi spammed a lot of error
(1.15-1.17)
well its not PAPI's fault that I Can guarantee. at least not this time. In this case, Vault is trying to get the economy to display it in a placeholder but it can't find any economy bcz it is null.
well dunno i just removed vault module and now work fine
that's why it says PAPI. bcz it tries to display it in a placeholder.
well yeah. error was like this economy plugin -> vault -> vault expansion
but the root problem is from the economy plugin
yeah i think too is that why i tried to switch economy plugin
why not use essentials's economy tho? If you have the essentials plugin installed, it has a good economy implemented. its pretty good
but yeah if you don't have and don't need essentials I understand. also try plugins like GemsEconomy.
i use already cmi but is a pain to import economy inside it
since they use this prefix
CMIGlobal%%0.0
on field
i noticed removin papi vault
cpu usage went from 500%-600% to 17%
was something bad with it/economy
lol
yeah. vault leaderboards are very bad. they are currently being rewritten and moved directly in the essentials expansion.
i was using vault placeholder on featherboard (papi)
but is fun to see server usage going 400-600 with 0 players
and timings never show that
i am so happy that i fixed it
so it was economy or placeholderapi fault?
its the vault expansion's fault. not really economy or papi
oh
it was years that i got that issue only in skyblock lol
never figured until today
how do i only show first letter of my placeholder