#placeholder-api
1 messages · Page 131 of 1
do you get any errors in the console when doing /papi reload?

dw, he asked me in dm

if you want the details, he was using a PAPI placeholder which wasn't working, and he tried to parse it in TAB who failed and wrote <PlaceholderAPI ERROR> instead of the output
@junior musk When I try it with /papi register Expansion-heroes.jar then I get the message: Failed to register expansion from Expansion-hero.jar. In the Log File is nothing
nothing in the console?
@junior musk I did it again and now there is something in the console: [PlaceholderAPI] heroes is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
@junior musk It sounds that it doesn't work anymore
you need to contact the dev of the plugin
to update it
or if its open source you can update it yourself or ask someone to do it for you
it uses a PlaceholderHook which has been deprecated for years now but in one of the latest PAPI updates it got removed
@turbid tide @junior musk Thank you very much. I will ask in the Hero Discord Channel if someone can update this.
👍
Hello, i am using PAPI and Animated Scoreboard - when i try any effect from the animations extension (I did /papi ecloud download Animations and /papi reload) it just doesnt work. I tried inside the
Have you also tried/papi parse me %placeholder%? to see if the placeholder actually works
Thanks for the tip! Didnt know that command existed.
👍
How do I parse placeholders outside of an event?
PlaceholderAPI.setPlaceholders() ?
The same way as always
This might be a dumb question... but how do I create an object for that?
or do I not need to?
I'm confuseddddddddddddd
no need
object for parsing the placeholders? you just do String string = PlaceholderAPI.setPlaceholders(player/null, oldString);
or you just send the message and parse it wile sending
or however you want to do it
thx
Can someone tell me how to do the count up / time since placeholder please
ugh can you explain again please? I can't rly tell what you want
the opposite of server_countdown
there is one on the wiki
Have you also tried
/papi parse me %placeholder%? to see if the placeholder actually works
@turbid tide they work :), forgot to add%animation_(effect)%....
@left veldt,
Please respect the rules, be patient and don't ping staff members!
Is the latest version on Spigot or is there an updated version somewhere?
of PAPI? there is a dev build https://ci.extendedclip.com/job/PlaceholderAPI/
thank you
Hey, does anybody know a solution to this? (https://pastebin.com/DCMBKJtV). So i wanna create custom rewards for jobsreborn with deluxemenus and i think i might have an issue with view requirements?
in placeholderapi chat?
well I mean the requirement is about JR placeholders
Is there anyway I can make placeholder permissions like If a player has this permission it will disply &e[✅ ] if he dont it will display [❌] ! Is that possible? How?
Javascript
Can you give me an example?
19.10 21:07:48 [Server] INFO ^ in <eval> at line number 21 at column number 0```
// and use the placeholder you want, i'm using this one
var haspermission = "%player_has_permission_fawe.permpack.basic%";
// create a function with the name you want
function permission() {
// if the haspermission variable that we created before return yes (true boolean)
// the js placeholder will return what we set in the return down
if (haspermission === "yes") {
return "&aA";
}
// if the haspermission varibale wasnt true it will return what we set down
if (haspermission === "no") {
return "&aB";
}
// by this we are calling the function to run
permission();``` Can someone help me? What am I doing wrong?
Hi, I can't get registered the World Expansion. I'm in 1.16.3
// and use the placeholder you want, i'm using this one var haspermission = "%player_has_permission_fawe.permpack.basic%"; // create a function with the name you want function permission() { // if the haspermission variable that we created before return yes (true boolean) // the js placeholder will return what we set in the return down if (haspermission === "yes") { return "&aA"; } // if the haspermission varibale wasnt true it will return what we set down if (haspermission === "no") { return "&aB"; } // by this we are calling the function to run permission();``` Can someone help me? What am I doing wrong?
@twin sluice I think you forgot to close the permission function, you missed one }
Yes
Hi, I can't get registered the World Expansion. I'm in 1.16.3
@potent dawn can you elaborate more on this?
I download the expansion “World” and when I reload PAPI it says “0 expansions where registered”
Errors in console?
Currently I’m not in my pc but it showed something about a class cannot be loaded
Test it and you’ll see
Just papi and spigot 1.16.3
I can't know what your errors is if you don't give me the error
Also, it seems to load normally for me
When I get to my PC I’ll send the logs
What is not working? You can send an imgur link so anyone can help
Or post the error code
=paste
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
Hello,
I've been trying to use PlaceholderAPI for the first time with a supported plugin (DiscordSRV). However, it's been more difficult than I anticipated.
I've tried to use a placeholder to get the world time of a world on my server, called "Endrman". However, it's not working as expected. Does anyone have a troubleshooting guide or a way to solve this?
Thanks in advance,
Andrew
I did papi ecloud download world, but after papi reload, it said "No expansions are registered".
When I go into the filesystem, I can see that the world expansion .jar file is downloaded.
Should I remove the .jar currently there, and replace it with the manual download?
Is papi reload not enough?
You can try, but I recommend server restart
Ok, thanks for the help! I'll report back here on whether it works or not.
Does the naming of the expansion matter?
Weird
are you sure the world name is correctly
maybe try not using capital letters
I'll try that, but I'm not sure if that's the issue since the error says something about outdated expansions.
[21-10-2020 12:03:13] expansion class WorldExpansion is outdated
2.10.9
ah latest
I had the same bug. Cannot register the expansion World
I hope this is just me being stupid and missing something obvious that is easy to fix, rather than an actual bug...
can you send me what you have in the discrodsRV config?
Sure thing.
# Discord canned responses
# These are triggers (commands in a way) that will trigger a "canned response" to be sent as a reply to them
# You should probably change these from their defaults or add your own
#
# Syntax is {"TRIGGER": "RESPONSE", "TRIGGER": "RESPONSE", ...}
# If you do not want any canned responses, set this to just {}
# PlaceholderAPI placeholders are supported for the values
#
DiscordCannedResponses: {"!time": "Current in-game time: `%world_time_Endrman%`"}```
This'll do?
yea
{world_time_Endrman}"}
try this
are you sure the worldname is exactly the same ?
Yes, the world name is exactly Endrman.
Also, I thought all PlaceholderAPI placeholders have to be surrounded with %percent_signs%?
I got this error while using the expansion world:
21.10 11:29:32 [Server] Server thread/ERROR [PlaceholderAPI] expansion class WorldExpansion is outdated:
21.10 11:29:32 [Server] INFO Failed to load due to a [NoClassDefFoundError], attempted to use net/milkbowl/vault/permission/Permission
do I need vault?
You don't use vault ?
wut
Yup, same here
Download vault it's always good to have
what's vault?
for economy etc
I'll install it rn
we don't want an economy...
permission plugin
It's like a hook
yup
and API
Most of the server needs them
Is it really that necessary? We'd prefer to keep clear of things like Vault or Essentials.
Vault is a Permissions, Chat, & Economy API to give plugins easy hooks into these systems without needing to hook or depend on each individual plugin themselves
so... no way to do this without Vault?
that's annoying, didn't see anything about dependencies
Also, I thought all PlaceholderAPI placeholders have to be surrounded with
%percent_signs%?
@mint wolf By default yes you do but some plugin developer want to use their own option.
Does Vault come with a bunch of annoying features enabled, like Essentials?
its literally an API
it just helps plugins hook into each other
it doesn't add its own features
Ok, that's way better than Essentials then, thank goodness
I've had nightmares with Essentials
bruv why
well its not meant to be a plugin that add features. Essentials does exactly what it says xD adds essentials features to the server.
easy to use
Now it works, thanks xD
(Forgot to install Vault)
that's annoying, didn't see anything about dependencies
@mint wolf PAPI doesn't need vault by itself to work but some expansions do. That's not under PAPI's control at all.
expansion makers
Hi 🙂 For deluxeMenu, is it possible to create variables custom with PlaceHolderAPI ?
For example I create the variable "name" that displays Twister on a .yml file
And later I place the variable "name" in several .yml and it displays Twister in game.
javascript placeholders
you have a examples ?
1 sec. I'll give you link to the wiki
oh ok
sorry ^^
now worries
var is for every type
javascript is nothing like kotlin 
it is don't you see? it has the var keyword xD
after several attempts the message is still there,
Do you have a solution ? thx
Failed to load due to a [NoClassDefFoundError], attempted to use com/massivecraft/factions/RelationParticipator```
This generally happens when you have an expansion but not the plugin that goes with it. Remove the expansion from the expansions folder and you'll be good to go.
I have the factionsuuid plugin it's not this extension ?
Прошу прощения, но ваш плагин выдает мне следующую ошыбку в консоль:
[01:53:56] [pool-44-thread-1/WARN]: java.lang.NullPointerException
[01:53:56] [pool-87-thread-1/WARN]: java.lang.NullPointerException
Есть вариант как исправить? Нашел, что именно PlaceholderAPI вызывает это. Искал методом тыка. Повторяется каждую секунду.
Anyone have issues with Vault Placeholders right now
I'm also about to push update on javascript expansion alias too
Which means %javascript_tictactoe% and %javascript_ttt% in one script
And adding support to script folder organization
Doesnt it already support folders?
I don't think so, from the look of the code
It is looking for a path inside "javascripts"
is there server total uptime placeholder ? (like it will keep the data of the previous online times of the server and add them together)
don't think so
oh , ty anyways 😄
Do we have a general uptime placeholder?
as in just the time since server has started? then yes. its %server_uptime%
actually I meant that 😄 (PlaceholderAPI is the best)
Alrighty yeah, just wanted to make sure we had one cause if we didn't, I would add it.
is there a way to add PlaceholderExpansions using Java Code ?
yes
1 sec I'll give you link to wiki
I believe thats to create expansions correct ?
While I was asking on how to install expansions from ECloud (like use /papi ecloud download) but in java code
well, it will be useless & I don't want it to be added (cuz ik u guys make decisions nicely) but I was only asking if that thing exists
No, it doesn't, afaik.
I see
Mainly because I don't see why it would need to?
creating a custom furnace like hypixel skyblock (idk if they have this but hypixel has alot of custom things so I just assumed)
How does PlaceholderAPI have anything to do with Hypixel, Skyblock, or furnaces?
sorry but Idk how to explain it 😓
& sometimes confusing xD
Oh for sure.
wait
there should be a placeholderAPI extension
for your Kill Death Ratio
am i right or am i wrong?
math expansion
please elaborate
then use the statistic expansion to divide the kills / deaths placeholder
%math_{statistic_player_kills}/{statistic_deaths}% something like that
something like, or that
i shouldnt have to spoonfeed exactly
ok
thank you
@warm topaz
it just says %math_{statistic_player_kills}/{statistic_deaths}%
download the expansions
statistic
thanks
what plugin, what placeholder, etc etc
the reason no one answered is cause you gave no information
sure
how are you using it
The first one of the list on the side
%ajpk_stats_top_name_<number>%
did you replace <number> with the number
try /papi parse me %ajpk_stats_top_name_1%
Ok wait
When i do that %ajpk_stats_top_name_1%
That is repeated in the Chat
Not replaced
Is that right?
no that means its not working
i dont think so. it appears to be an internal placeholder
No that does not work
I would reach out the the author of the plugin probably and ask him why the placeholders aren't working then
do you have errors in your console?
then yea id ask him at his discord
do any placeholderapi placeholders work
for the parkour plugin it sounds like the issue is something he will need to fix, which is why i would say you should ask him for help there
as for playtime
and /papi parse me %playtime_player% returns what?
you have the playtime expansion plugin?
Yes
I can redownload it when you want but
I have a german server
(i am german too)
what is your placeholder api version
Oh wait
is it updated
updating might help
2.10.6 isn't supported anymore.
https://paste.helpch.at/heqedebito.bash help please?
@tropic dew,
Looks like your server can't connect to our API,
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.
any help on this would be appreciated. papi is up to date, the expansion is and voteparty?
also %player_name% does not work when doing /parse me
have you downloaded the actual expansion for Player?
also for voteparty you don't need an expansion
its built inside the plugin now
go to plugins/PlaceholderAPI/expansions and make sure you don't have a voteparty expansion jar in there
also make sure you have the Player expansion jar in there
@little berry ^
I downloaded the version from ecloud not the ingame command, and I do not not have a papi voteplugin expansion installed
wait but when does that error show? when you do /papi parse me %player_name% ??
in console?
ye
on server boot
could you restart the server and send a full server startup log?
can u send a /papi dump aswell please
as for the voteparty error, leave a message in #voteparty
any updates on papi 3?
😮
ill take that as a no
Soon™️
Yeah it's being worked on in the background, we're not near any sort of release if that's what you're after
yup, thanks Blitzzzz my error - the papi bump confirmed that I am blind - lol
I did have the voteparty expansion loaded, just did the parse me and worked fine- thanks for the help, appreciated
you probably have 2 Bungee expansions in plugins/PlaceholderAPI/expansions
Anyone know why all the statistics placeholders are returning 0
@bronze pewter what do you mean by that
you can use /papi ecloud download <expansion> then /papi reload
so
whenever i stop my server
all my placeholders get reset
and dont work
its super annoying
i'm having issues with the player placeholders regarding experience. if i use player_exp it formats it weird so 10k exp come out like 0.38
if i use total exp it doesn't remove exp from the scoreboard whenever a player withdraws exp
%player_exp_to_level%
This displays as like 30 levels
i am using advanced enchantments so i want people to know how much exp they have
%Mines_test_name%
@austere hawk plugin?
i am using advanced enchantments so i want people to know how much exp they have
@urban cove player_exp shows how much xp you have more than the level you are at. player_exp_to_level shows how much you need until you level up. You need to use%player_total_exp%
Hello! When my server is stopping the papi gives me this error: https://paste.helpch.at/eyikayikub.md
@wide dagger,
As part of the 2.10.7 PlaceholderAPI update we broke some methods, please update to the latest PlaceholderAPI release found here to fix these issues.
what version of tab are you running
2.10.9
that’s outdated i’d recommend updating
i think last time i checked 2.8.8 is out or at least 2.8.7
np
Hey, I'm trying to use a placeholder that returns a value such as 1000.0 within a click/view requirement for a DeluxeMenus button.
When I use simply just the placeholder, it returns an error about the %, which means I have to put it in "" (seemingly making it a string, and not carrying out the check)
Any alternatives / solutions?
Thanks 😄
requirements:
hasmoney:
type: has money
amount: "%placeholder%"```
for has money you need a placeholder that returns an integer. not a float or a dobule.
also yeah I don't think you can use placeholders in the has money type.
also yeah I don't think you can use placeholders in the has money type.
wut?
BlitzZ, are you drunk? x)
you can use placeholders in all requirements
also, yes you have to use the placeholder in "" so it doesn't break the format
and the string is parsed as an integer in the code, so it's not an issue
but idk if it only works with integers, I remember using %vault_eco_balance% and it worked just fine
oh wut
that wasn't a thing before
you apparently have to use placeholder: "%placeholder%" now instead of amount:....
My fault, used commands instead of requirement in the first line 😝
"left_click_commands:"
@urban cove player_exp shows how much xp you have more than the level you are at. player_exp_to_level shows how much you need until you level up. You need to use
%player_total_exp%
@turbid tide I was using that. When ever players withdraw exp though that number doesn’t go down. Even worse when they add exp back after that it goes up more. It doesn’t stay accurate with current exp.
@urban cove,
Please respect the rules, be patient and don't ping staff members!
@turbid tide I was using that. When ever players withdraw exp though that number doesn’t go down. Even worse when they add exp back after that it goes up more. It doesn’t stay accurate with current exp.
@urban cove oh I wonder if total_exp is the score stuff
oh yeah seems like I was wrong
that shows the total xp has had since his last death
idk if there is a placeholder that does that then
@tranquil sapphire
Plugins (33): CoreProtect, WorldEdit, ColoredSigns, Skript, Essentials, GroupManager, PlaceholderAPI, PacketListenerApi, InvSK, SkQuery, Quarsk, Lockette, MapManager, BannerBoard, ProtocolLib, WorldGuard, Skellett, MultiWorld, VoxelSniper, WildSkript, EssentialsChat, SkExtras, Vault, MarSK, EssentialsSpawn, Lores, AnimatedFrames, HolographicDisplays, TriggerReactor, CMI, skRayFall, HolographicExtension, Mines```
What mines plugin are you using?
give link to the plugin
because Mines is a very generic plugin name
also please specify what does not work mean?
Lol
That's a lot of sk plugins/scripts
Anyway, Multiworld 
And who put both ess and cmi at the same time
anyone knows how to change timezone id in LocalTime plugin?
PAPI isn't available for Sponge 7? I wan't to use PAPI for my 1.12.2 sponge server (sponge 7)
Not yet, but it's panned
oh alright great
Here I am again needing help. Why is that javascripts work with some plugins and doesn't with others?
Or better yet how do I make plugins depend on papi?
check the wiki for how to add PAPI support in your plugins.
So if a plugin doesn't support papi there's nothing I can do?
nope. Only ask the dev of it to add support or if its OpenSource add it yourself
I just made a javascript %javascript_servername% and it's useless 😦
well did you make the javascript right 🤷♂️
nah Sellinq. He did make it right
its just that the plugins he tries to use it in
do not support PAPI
zh
ah
devs needa start upping their game and allow papi on all resources it make my life amazing
@vivid sparrow u know if there is a javadoc for papi? I can't find it
@hollow aurora,
Please respect the rules, be patient and don't ping staff members!
Hello i have problem with placeholder
ok
sec
/papi parse me %statistic_seconds_played%
gives always 0
used these before
/papi ecloud download statistic
/papi reload
Server version and PAPI version?
Server version 1.16.3
PlaceholderAPI 2.10.9
also Statistic expansion version~?
/papi info Statistic I think its the command to see
2.0.0
try using the dev build of papi https://ci.extendedclip.com/job/PlaceholderAPI/110/ from here
oh delete one
Or download both and download it again using /papi ecloud download Statistic
/papi reload
Still getting 0
try deleting them from the expansion folder, restarting then doing those commands. if that doesn't work try the dev build of PAPI
How do I go about creating a simple modulo calculation in a palceholder javascript?
I'm trying
%math_{votingplugin_total_alltime}-(({votingplugin_total_alltime}/15[precision:0])*15)%
But it's not working and is giving me 0 always
Alright I figured it out with some duct tape a glue
Which glue?
someone knows if i can change the LocalTime plugin hour?:(
someone knows if i can change the LocalTime plugin hour?:(
@jade junco you can specify a timezone can't you?
Hi, I have a problem after restarting the server I can take the set without waiting time
what set exactly?
Otherwise, maybe cooldown.data.yml, if it already has a weight of 17mb, it suddenly doesn't save anything.
I have such a problem DeluxMenu
@jade junco you can specify a timezone can't you?
@turbid tide nop, i put the comand %localtime_timezone_<TimeZoneID>%, i need the id of Chile continental 389, so i put %localtime_timezone_<389>%, but nothing change
nothing change:c
hmm oh yeah I forgot
the LocalTime expansion is broken I think
oh how did I forget that? I was running in the same issue a couple weeks ago
I guess, because there is no way to change the id
%statistic_MINE_BLOCK_COAL% Any idea why this isn't working
isn't it %statistic_mine_block:coal_ore% ?
so, Do you know any plugin to set the time?
to get the time? Nope. I know you can also use %server_time% but that will return the time in the country that the server is hosted in.
Nice one, thanks
to get the time? Nope. I know you can also use
%server_time%but that will return the time in the country that the server is hosted in.
@turbid tide need a download?
👍
Someone from deluxemenus will help me
if you ask your question maybe?
oh
you're using Javascript cooldown?
I recommend you try the plugin MasterCooldown
=pl MasterCooldown
instead
Have you also tried the latest version of JavaScript? If yes then I recommend you look into that plugin
I need to find some time to rewrite that plugin 
??
he was talking about a plugin and not expansion
smh
thought you're talking about the javascript plugin xD

:smash:
anybody know how to display the item in the player's hand using deluxe menus
Why cooldown data.yml my maximum file size is 17kb?
Blitz bruh
@austere hawk %player_item_in_hand%
material: placeholder-%player_item_in_hand% iirc
alright lemme try that, ty
np lmk if it dont work
it worked, but it doesnt show the enchants and lore corresponding
if you want to show the lore you need to use the javascript lore placeholder
from the community scripts
but there is no easy way to show your enchants
alright, alright, I know what's the next PAPI expansion I have to do... x)
Hi i got problem papi can t find one hook. Can i add hook in some way manual?
i was aslo trying to register expansiion using command but papi throws error
i got this problem with Expansion-skript.jar
Does anyone know why killStats doesn't load after downloading it?
?startuplog
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 one of these:
(However we do prefer if you used our paste :))
• HelpChat Paste - Usage
• Hastebin
that’s not your startup log
hi is there any placeholder to show what kit i am currently using (essentials Kit)
no like kit name not items
?
sp there's none?
I'm confused on what you're trying to do
If you do /kit pvp, I'm 99% sure it won't remember who it gave it to afterwards
I'm going to be super surprised if it does
okay
Can I get the placeholder for the online count of more than one server?
%math_{bungee_<server1>}+{bungee_<server2>}[precision:0]%
depends if the plugin you use supports PAPI
%bungee_Total% ?
that's for the amount of all servers, idk if it's what he want because he didn't specify "all" servers but yeah that can work aswell
Do i need mdv for that
mdv?
yup
epic ty
not really
Yes. PAPI Bungee API. You need to know java tho and idk how reliable it is
are there any XP level placeholders available in the ecloud of papi?
/papi ecloud download PlayerList
/papi reload
%playerlist_all,normal,yes,list%
Or just server expansion xD
depends if he wants the amount or the list ¯_(ツ)_/¯
then %server_unique_joins% would be better
I mean can't your placeholder do %playerlist_all,normal,yes,amount% ??
who tf would want a list for total players 
thats atleast 100 players even on a small server
because it would count every fucking player that joined for like 1 second
🙂
bot dead 
A resource that allows information from your favorite plugins be shown practically anywhere!
• Spigot
• Wiki
• Placeholder-List
• GitHub
• eCloud
u can check the placeholders there
Hello is there a way for format math placeholders? Like 1.32K + 1.33K = 1.65K
with javascript most likely.
so can you help me? I have a placeholder %math_{MySQLBridge_survival_mine_block}+{MySQLBridge_mining_mine_block}[precision:0]%
and i need calculate this placeholders, values is for example the 1.32K + 1.33K
or i can do this placeholders to 1320 + 1330
but i want the format
How do I download the placeholders to make it work?
You don't need to download anything. All you need to have is the plugin BentoBox installed
also the expansion if you want to use the placeholders from an expansion
the updated list for Bskyblock placeholders is here https://docs.bentobox.world/en/latest/gamemodes/BSkyBlock/Placeholders/
@upper harbor ^
so can you help me? I have a placeholder %math_{MySQLBridge_survival_mine_block}+{MySQLBridge_mining_mine_block}[precision:0]%
@indigo anchor I mean if you want to do it you need to know some basic javascript and some math
learn more about js placeholders here https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
Hey guys, really need help with soemthing,
The Placeholders for Guilds just disapeared on scoreboard? I believe Guilds is updated to latest
https://github.com/PlaceholderAPI/PlaceholderAPI/blob/master/src/main/java/me/clip/placeholderapi/PlaceholderAPI.java#L70 this line throws NPE when a placeholder is requested during server shutdown, can it be resolved internally or just "don't request placeholders during server shutdown" ?
@pure falcon,
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
Hello, I'm trying to use Placeholder API for my plugin with the internal class method. I have created a class and made the identifier "townyupgrades" and the placeholder "level." I then call the placeholder in my config as %townyupgrade_level% . My code for my expansion is below. It keeps returning "No town" and I'm not sure as to why. Am I not able to use another plugin's API here? PAPI, Towny, and my plugin are all on the server during my testing.
public String onPlaceholderRequest(Player player, String identifier){
if(player == null){
return "";
}
String level = "";
switch(identifier) {
case "level": //%townyupgrades_level%
try {
Town town = TownyAPI.getInstance().getDataSource().getTown(player.getName());
level = Integer.toString(dmang.getMap().get(town.getUuid().toString()));
return level;
} catch (Exception e) {
return "No town";
}
}
// We return null if an invalid placeholder (f.e. %someplugin_placeholder3%)
// was provided
return null;
}```
or can I use the placeholders in the deluxemenus to place variables? [] <> {}?
%luckperms_suffix% doesnt work in the essentials lang folder
Essentials doesn't support PAPI yet
oh
tru
How do I fix this?
https://gyazo.com/57495458c1c7ebf2d6ea71b0c8a1dc8c
Ensure you're on the latest version of the plotsquared expansion
seeing as it seems to be using an unsupported version of the api, not really
yup
yeh plot squares is on like v3 and is now paid plugin
oh my bad i meant v5 not v3 but yeah
hi i have such a problem that% player_ping% works strangely when you enter it shows a ping of 500-700 but then slowly drops to 50-60 (this is my normal ping) while delays are not felt in any way and everything works well
Server version: Spigot 1.15.2
Plugin version: PlaceholderAPI-2.10.9
Number of plugins: at first it was 42 and we thought that was the problem, but even when I removed everything except the placeholder and the tab ping remained the same
https://imgur.com/TyepJM0 https://imgur.com/izbJgkP here you can see that the ping is large (sometimes 100 sometimes 1000)
https://imgur.com/QWmcVdO after 5 minutes on the server
https://imgur.com/HHSsQPo here you can see that placeholders are used
and we also use BungeeCord, but even when we reconfigured the server to work without it, the ping was the same
mark me if someone replies to my message (I rarely watch this channel but really want to figure out why this is happening)
I mean I'm pretty sure %player_ping% uses a player method. Like it doesn't count the ping itself. So you probably have internet spikes. I used to have the same when my internet was like 100 Mbs
it would just randomly go to even 4k sometimes
even tho I didn't feel like I was lagging
it goes to 4k for like 1 ms and then comes back
it just takes a bit to update so it will show it going down slow but it will actually be back to normal by that time
@fluid heath ^
also ping doesn't have much to do with your plugins and stuff like that. Those usually affect TPS. Idk how it works with client side packets tho. Maybe those might affect your ping
but ping shows how much it takes the server to get information from your pc.
so for example if I have 40 ping and I click, it takes 40 ms for the server to register that click
but my internet has a ping to the server of 50-60ms and this value very rarely grows higher
and this problem is observed in all players
what internet speeds tdo you have?
oh all players? then it might be the server's fault as well I guess.
But yeah the ping placeholder works
it works yes it can be seen however something makes him think that ping is 500+ but it is not
it is for a few milliseconds.
as I said. I used to have this happen as well. It will just spike for less then a second
and it will come back
but no it returns to normal in about 5 minutes
well that's weird. For me it would take a few seconds to return back to normal. Not minutes
can I try to show you this via the broadcast?
I can't recall if it got released yet but I know we did make some changes to the Player expansion at some point in the past three months. One of those changes implemented a cache of a player's ping due to it being a heavy action to retrieve it on an NMS level. Five minutes seems absurdly long for the amount of time we actually cache it for.
ping update occurs every 20-30 seconds, I think, but ping completely returns to normal only after 5 minutes
Last update was August 1st Glare
Alrighty, then that means that the changes we made to it did not get pushed live. Probably still in the testing stages.
I mean on github it did get updated 28 days ago. But not on ecloud
and the update was called Push to 1.8.0
made by you
have any idea why this might be happening?
I unfortunately do not have any idea off the top of my head in this situation.
If I never pushed the cache changes to the eCloud that means that you're directly pulling each time it's checked on an NMS level, so, I believe that's what the client believes it's ping is.
I can show my screen so you can see the problem
Feel free to imgur some pictures and I'm sure someone can look at it at some point in time.
https://imgur.com/v0n48zP I also noticed that the ping in the network game menu is normal
now I have to close minecraft because important things have appeared, if data from me is needed, I can give them only after 1 hour
I'm getting ready to leave, so, that's not really a problem, I would just leave it for the time being if it's not actually causing problems.
Hello i have problem with VoteParty placeholders
Thats how it looks in game + holo settings
If you could follow the steps in #spigot-linking, you will get access to #voteparty ! 😄
Remove the EZRPExpansion from the expansions directory and you should be good.
however, I need this expansion
it does not
you do not*
its in the plugin now I think so you don't need an external expansion anymore
thanx
'[console] bc %player_hasitem-mat:COBBLESTONE-amt:64-data:0%' this returns this
and these are the expansions i use
Hi, when I use localtime extension, it's included in PAPI, it's not own plugin, or is it? Cause when I use it, my server crashes multiple times. https://pastebin.com/mNMWh3Zn
And chatcontrol author told me this extension causes it crashed multiple times that I should report it to author of localtime extension, but IDK who's author
@turbid epoch Player has item is not an actual placeholder. You need to use other expansions like checkitem.
@turbid tide check this out then https://www.spigotmc.org/wiki/deluxemenus-store/
DeluxeMenus - HelpChat Wiki
DeluxeMenus is the all in one inventory GUI menu plugin! You can create GUI
menus that open with custom commands that will show stats or perform actions ...
check this wiki. It has a more updated store example
Ok thx
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
Blitz don't you know what mine issue?
I mean I know what the issue is. Its either LocalTime or ChatControl or both of them conflicting but Idk how you can fix it so no.
Why can't I add numerical ids on deluxe menus (1.12.2)? @turbid tide
server version 1.12.2?
yes
Ok then it weird
and where should I report it Blitz? Localtime is included in PAPI, or it's own plugin?
Is reporting here enough?
- World edit and shop gui plus still uses them but I asume it a convertion thing on their side.
- I can not find planks what the hack is the material for that?
by chatcontrol author it's really issue of this extension, he already tried it solve somehow
Oh nvm its wood
by chatcontrol author it's really issue of this extension, he already tried it solve somehow
its not its own plugin and its not its not included in PAPI. Its an expansion made by an aBooDyy.
you could probably open an issue here https://github.com/aBooDyy/LocalTime-Expansion/issues
if aBooDyy still maintains this expansion.
I mean there isn't one that does all that LocalTime does. You can just report the issue there and hope that aboo will take a look at it
And is he on DIs too?
ye he is. But He's been inactive lately so I can't tell you he'll respond here.
Could we ping him?
Idk if he would like that. I mean just open an issue. Its better for everyone since it will also get saved so he'll not forget to update in case he can't rn
Does PlaceholderAPI have Velocity support?
PAPI doesn't support any proxy at all. Not even bungee
Where would I pull total network count then?
you can't by default. You can only do that using some other plugins/apis
I don't know any but I remember seeing
some
on spigot
try searching something like PAPI Bridge or PlaceholderAPI bungee or something
but
just know
they are not tested by us
so if you have any problems with them you won't get help here
oh here https://www.spigotmc.org/resources/mysql-papi-bridge-1-6-1-16-3-new-wiki-website.80460/
@turbid tide yo
@dim nexus,
Please respect the rules, be patient and don't ping staff members!
o/
Where would I pull total network count then?
if this total network count means players online in your network, would be fine with Pinger placeholders
is there a dev build? I keep getting these errors on restart and I'm using the latest
top-monety:
location: world, 23.286, 67.001, 3.442
lines:
- '%vault_eco_top_balance_1%'
- '%vault_eco_top_player_1%'
I have got this
and in minecraft this not working :/
Help me with this
Pls
@subtle sequoia %bungee_total% /papi ecloud download bungee then /papi reload
ah
@clear nebula which plugin placeholderapi?
well every plugin returns an error about an event related to placeholderapi
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
• HelpChat Paste - Usage
• Hastebin
someone help me to fix this error. my server was working fine until this happened:
https://hastebin.com/oqacokaqos.yaml
in the chat it says this
https://gyazo.com/0802d4e84687d9d896253c0559625e6f?token=be02b67c094125c45ad9a751271865d9
I hope this has a solution :(
Whoever answers me please put my name since I don't speak much English
@clear nebula https://ci.extendedclip.com/job/PlaceholderAPI/
but please do give more information because a dev build might not always be a fix. Info you should usually share is server version, plugin version, errors you get.
I'll tell u if it's fixed in the latest build
Hi i want to know if when some player close the player with "Esc" instead of closing the hole menu it returns him to the previous menu and if there is no previous menu just close the menu
Isnt possible sadly
You could try to add an [openguimenu] to the close commands. I'm unsure if that will work properly or not.
Ahh
Well, hmm, I would think when it's closed it'd be executed, I guess that's only if they close it via clicking.
ye Waffle. Only for the [close] action
Rip
Would you like a copy of DeluxeMenus that does execute the actions on close, Pavo?
This should make it execute close commands when hitting esc now.
it should
why should it not?
just because
ok
ok
ok
I mean, it's such a specific use-case. He can use it if he wants.
Thank you
how i use it :v ?
I mean what is the [closeaction] or config
@trim mist
Thank you awesome people
Blitz, honestly, that could be a per-menu option I wouldn't mind adding.
In the jar you give me when player use esc that thing will be executed right ?
I think
I ll test it 7u7
Waffle I hope you didn't just make a loop. And now it won't close even with a [close] action
The loop can occured but only if the owner of the config make it, i think
No he's saying he's hoping I didn't make it just automatically open back up a GUI if you close it.
You don't get me don't you?
Oh
close commands execute on esc and on [close] now
so if you make a close command that just opens the menu back
you will have to alt f4
to close the menu
Xd
Okay but why would you do that in the close command
You would only open another menu
Not open the same one
because that's literally why everyone asks for that
that's what it will get used for
ye
thanks
for making my next 4 months easier xD
bcz idk if you know but user error are support's fault xD
I did a test build where I integrated Matt's chat lib into it.
Indeed
but it would still be cool if you add it
I feel like clip intentionally didn't make escape execute close commands
I've got a lot of stuff ready to go like the new JS engine. I just need to sit down and talk to clip before I merge anything.
tho
Oh yeah he didn't.
That jar was only for Pavo. I really don't plan to make that a thing.
I'd never do something on purpose that causes havoc for you guys since I know people will rage at the support.
The close commands are per menu no?
I mean don't get me wrong. I won't mind a few kids screaming here. I've learned to ignore them. Its just so many things to consider I feel like
Glare #off-topic!
Nah, it's not related to y'alls convo kek
ah
xD
I thought you're telling us to move there
like ?offtopic
which is not a command for us 😦
anyways. I think I'm off to sleep. Tomorrow I need to get up early for the exam
Best of luck!
ty ty
Is it possible to have multiline placeholder?
example: someone puts %placeholder% in featherboard line
and next 3 or 2 lines get replaced with some text not just current line?
Hello i have the error
Use https://paste.helpch.at/ for errors, logs and configs. So we don't spam the discord.
That esc feature doesnt seem to be working for me but i assume its because im on 1.8.9 f
Probably i'm dumb, but i can't use the %server_countdown% placeholder. I have downloaded the Server expansion. but i don't know how use it. Can you explain me?
%nicky_nickname% placeholder is not going properly to deluxechat. All other placeholders I use are working oke.
I have made a plugin which works with PaPi and has also papi placeholders, how can I let you add to papi plugin using page on spigot?
Probably i'm dumb, but i can't use the %server_countdown% placeholder. I have downloaded the Server expansion. but i don't know how use it. Can you explain me?
@grave fossil https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#server If you read there, it is explained and it also has an example.
I have made a plugin which works with PaPi and has also papi placeholders, how can I let you add to papi plugin using page on spigot?
@restive slate can you explain what page you want it added to? The wiki?
you want your placeholders put on the wiki?
If that's what you want please leave me a link to your plugin here and a list of all placeholders.
That the plugin adds
so This one I guess? https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders
Exactly
Thanks brodm
@restive slate it doesn't have an external expansion right? Its built inside the plugin
Yes, but the plugin placeholders can work if papi installed into others plugin
ok added https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#nickyg @restive slate
Thank you <3
If that's what you want please leave me a link to your plugin here and a list of all placeholders.
@turbid tide if you are so kind today can you also do that for mine too https://www.spigotmc.org/resources/item-multiply-1-8-1-16-3.84241/
Yea np
Ty
👍
How would I go about getting my PAPI expansion verified? I have sent my plugin and the expansion on here about two weeks ago, I am not sure how long it usually takes.
oh have you told funnycube or another admin about it? Idk for sure but I think the only people that can put it there are the admins.
Yeah, they said that they'd check it the day after but they might have been busy/might have forgotten
Either way:
The plugin involved: https://www.spigotmc.org/resources/karma-overload-your-actions-determine-your-fate.83634/
The expansion: https://api.extendedclip.com/expansions/karma-overload-expansion/
please do ask an admin when they are online to check it again.
Alright. Is there any way for me to change the Expansion's name when it is on the ecloud site already?
Oh look glare is here.
Question. Is there a specific reason you need it in the cloud vs the plugin itself?
He'll maybe help you
I don't think so I guess, just thought that generally it's better to have the expansion be in a separate jar
I mean it's totally up to you. I need to see the source for the expansion though.
I used to have it separate, but then I found me constantly having to update in multiple places.
Do you want me to put the expansion on GitHub momentarily?
Give me a bit, I need to finish doing the laundry right now
I will send the link to the github on here asap
or if you don't want to publicly share it I guess you could send it to @tender vapor in DMs
How should I do that? It would be quicker for me for sure
Do I just send the main class (the only class) to Barry? Or
Is there a placeholder where I can show players block break or walk distance? Ping me if you can help
statistic expansion
Thx you
How do you setup the BungeeCord expansion?
you need to download PAPI on all your backend servers. Not on your proxy, then do /papi ecloud download Bungee and /papi reload once again on all of your backend servers not on your bungee.
Ok, thanks @turbid tide!
@sour rain,
Please respect the rules, be patient and don't ping staff members!
no worries
Hello, I bought the leaderheads and I'm not sure how to configure, can someone help me? (I am Brazilian and I am using google translator)
Anyone else have issues with the latest papi update breaking the javascript plugin?
Are you using Java 15?
oh wait, i think i'm missing the skript plugin
so, the JS is working, but it's no longer letting me fetch Skript values from within the JS exp
/papi reload```
and it was working when I was on the version ending in .6, once I update to .9 it breaks
Make sure your Skript plugin works and also your Skript expansion works
do /papi parse me %placeholder% for the skript placeholder and see if it works or not
@north hearth,
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
it just spits out what I put in, which im guessing means it isn't working?
ah, i found an error in console >.<
[PlaceholderAPI] skript is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
ah someone made a patch for it since the original dev seems to be inactive...
And the patch fixed it! 😄
Thanks for your help Blitz!
some of my papi ecloud downloads get cleared when i restart the server.
Hi is there a placeholder where you don't need to reload the plugin before they update?
what?
Okay I have a placeholder where a player walk distance increase if he walks but the results doesn't show until I do /reload. Hope you understand this better. Is there one where the auto update by them selves.
where do you use the placeholder?
what's the plugin for the gui?
advancedhelp
is the gui updating? Because the placeholder is most likely. You just have to make sure where you use it updates as well.
Oh okay thx you will check
I think you have to enable refresh-guis: false in the AdvancedHhelp's settings.yml file
Hello, i have a problem with Papi. the latest version dont work, other plugins cant use them, an older version (2.9.2) are useable by holoblock, but not with my Scoreboard plugin. And the Placeholders wont work too. HELP
those plugins probably need to update to use the new api then
ask the author to update them
they are absoluty updated. and it dont work with the older versions too
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 Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
• HelpChat Paste - Usage
• Hastebin
ok, can i post the hastebin link here?
yes

