#placeholder-api
1 messages Ā· Page 148 of 1
like does the math placeholder have operations or something
This should work right?
type: "string equals"
input: "%math_{tokens_raw}>={enchant_combo_cost_1_raw}[precision:0]%"
output: "1"
hmm I know it has if statements but I never actually used them
how to make N/A placeholders show as N/A on scoreboards or holographic displays
So i have been stressing out over this idea i have had, but i cant seem to figure it out. pretty much this is hard to explain and confuses alot of people when i explain it xD, But im trying to give players colored names by a gui, but when i use %essentials_nickname% or %player_displayname% it locks the colour set inside the api so when i try to change someone nickname it is pretty much is doing &4&5{Name} that it locking it to purple inside the api. is there anyway to get a api for players nickname without it having a colour linked. also %player_name% will set it to the default username that will be removing the befits of /nick from donators so that wont work either.
if you have any other questions please ask...
you can use the JavaScript expansion to set the player display name yourself but idk how that will work really. I guess you can Player#getDisplayName then use ChatColor if that's even possible to strip the colors from the displayName and then add the new colors before their name
and translate
What are the placeholders for player name when you want to run a console command? (DeluxeMenus)
%player_name%
I tried that but console says: "The player %player_name% was not found. They must be online."
hi, is it possible to run papi on bungeecord?
execute: /papi ecloud download Player then /papi reload
no
Thank you š
i quit xD
alright ill give that a go with my 0 info on coding xD
it will probably be a pain in the ass. I don't even know if its fully possible with just the JS expansion
if you figure out a easier way give me a ping, but yeah i feel this isn't gonna possible
well easier not. safer yes. Java. make your own plugin
safer meaning its 100% possible
how to make N/A placeholders show as N/A on scoreboards or holographic displays
hello, sorry for the inconvenience, i try use JetsPrisonMines PAPI but this no work, i download the last version from papi page, i have the last version of papi and jet.
the parse command same no work ://
any idea? thanks ā¤ļø
Hi, I have one and very big problem. The %statistic_time_played% stopped refreshing. Idk why, when I write just this command /papi parse me %statistic_time_played% the time is always the same. I tried to restart server, nothing help. My server is on Paper 1.16.5
Help me someone pls
@crisp sable
Have you contacted Jet about it?
I'm not too sure about how to resolve your issue.
@night oracle,
Please respect the rules, be patient and don't ping staff members!
And i also tried to copy all my plugins list to another host, and there all works. But on my main the time "stopped"
How funny it doesn't sound it's a real problem. And i really don't know what is the issue
help š«
Admin help me please
Did you checked the PlaceholderAPI config. You might have to enable a setting
Im having trouble finding a placeholder for what world the player is in
how to make N/A placeholders show as N/A on scoreboards or holographic displays
%player_world%
I gave you link to the js expansion. that's the only way I know of
you can find it if you search a bit up
is there like a preset one that has colors? like nether is red etc
no.
you can use javascript to make your own if you want. https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
Im guessing papi3 is still soon?
soonā¢ļø
how do i make it show ranks on tab/scoreboard, example %player_rank%
with luck perms
and what about playercount?
Could anyone tell me if this expansion is ready for use? https://github.com/PlaceholderAPI/KotlinScript-Expansion
I'm really interested in using this instead of javascript.
(Ping me)
Do Dev Versions always say you are behind in updates?
of PAPI yes. You can just disable the check until the release if you want tho
it just checks with the release version and if its not the same it just thinks its behind
You can use PlaceholderAPI placeholders. for example {placeholderapi_server_time} but you need to make sure you have the server expansion. /papi ecloud download Server then /papi reload
That did not work
can you do /papi parse me %server_time% and tell me what it says?
you said featherboard tho...
why are you using %server_time% ?
that is featherboard?
im ont
look
frames:
- '{placeholderapi_server_time}'```
have you downloaded the Server expansion by doing the commands I told you to?
Okay i got it
I am looking for the velocity version of papi
uuhhh
so I did /papi ecloud download LevelPoints
it downloaded the extension
but theres no documentation for it on the github
can I get a moderator here or
no, dipshit, you got banned for spamming pings, and you'll likely get banned for the same thing here
I havenāt spammed anything wtf
@stone siren,
Please respect the rules, be patient and don't ping staff members!
- Don't take part or provoke arguments. Rule 8
@stone siren
Dumbass
@stone siren
Voice room 1
@mint fable shut up dumbass
Welp
Welp, have a good day mate, hope you learn from your mistakes one day. š
Hope you get laid one day
good one
From an adult
cj are there not any staff around with ban permissions
shut up warhiet
these people are harassing me across servers
@stone siren who are you
imagine
[PlaceholderAPI] expansion class LuckPermsExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use net/luckperms/api/LuckPerms
What does this mean? My luckperms is up todate aswell
@molten zenith try updating your expansion for luckperm
Ok
how to hide /papi from regular players ? i can't do that even when i set placeholderapi to false in luckperms
there is no permission to hide it. the default command /papi will just give info about the plugin version
you can use a command blocker if you really want like PluginHiderPlus and only allow OP or some custom permissions to use it
ok i'll try that, thank you for the answer š
Having issue with redisbungee placeholder: https://paste.helpch.at/icipezegeh.sql
anyone know the issue to this?
@honest spruce not sure where you got your redis bungeee expansion,. it's not loading
Not quiet sure, as i have had another member of my team that uploaded it/set it up
But cheers for the info.
Wait one moment do you mean the expansion from the papi side?
If so i downloaded it from the ecloud itself
I just looked at it on the ecloud, looks like it was never updated for the latest Papi
Pokekhan the problem is that you have 2 jars of the same expansion
go to plugins/PlaceholderAPI/expansions and delete one of the RedisBungee expansions
since you have multiple
when I first read error message I was in hurry to get to work, sorry
I only have one version in there tho
to have two they must have different file names
try restarting the server then
see if the error still shows up on server restart
no error but it seems to not to update: https://pastebin.com/4QQ9t5q4
Would that be something i would need to update on the server side? Or so that just due to redisbungee out of date?
oh here's the problem
[09:12:30] [Server thread/WARN]: [PlaceholderAPI] redisbungee is attempting to register placeholders via a PlaceholderHook class which is no longer supported!```
So that would need to be update by an dev of the plugin right?
or use an older version of papi?
well no. because the expansion is on the ecloud
idk if its in the version as well
you can use PAPI 2.10.6 but I really don't recommend going on old software
and the developer of the expansion is Clip. idk if he'll update it any time soon
can you do /papi info RedisBungee and tell me what it says?
ah its open source so if you want to get a developer to update it here's the code: https://github.com/PlaceholderAPI/RedisBungee-Expansion/blob/master/src/main/java/com/helpchat/redisbungeeexpansion/RedisBungeeExpansion.java
It cannot find an loaded expansion.
yeah makes sense. you'll have to get someone to update the code or use an older version of PAPI
Yeah that fine. Cheers for the info
I have problem, I have correctly installed vault but this time the expansion is installed well in the folder yet it does not work
Thank you, I'm not stupid, I did this except that the expansion is well in the backrest but does not work
is there a placeholder for a timer countdown?
there's the server_countdown one if you want
you can set an end time
and it just counts down how much there's left until the end time
the one you've set
is there a more specific timer?
this one seems to only track days and not seconds, hr ect
you can track those as well
can you please give an example of the format
%server_countdown_dd.MM.yyyy HH:mm:ss_01.01.2020 22:32:40%
I've had the same problem for 2 weeks: I have problem, I have correctly installed vault but this time the expansion is installed well in the folder yet it does not work
ty
idk if I've asked before but can you send a startup log?
?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.
hmm and if you go in plugins/PlaceholderAPI/expansions there's a vault jar?
Yes, there is the Vault expansion
ok then can you delete it, go to: https://api.extendedclip.com/expansions/vault/ download the expansion from there put it in plugins/PlaceholderAPI/expansions and then do /papi reload?
if it doesn't load after that restart your server as well
I put the expansion in the folder, I did / papi reload it didn't work, I restart my server, it still doesn't work
and can you do /papi list it still doesn't show there?
No, he tells me that there is only the Player expansion active
I am under spigot
can you try and use paper?
also try downloading another expansion
see if that one registers
Alright, I'll try with Paper
Tell me, since I'm running spigot 1.12.2 isn't this the version that would do this?
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
Do you have Vault installed?
and also an Economy plugin
%checkitem_inhand_enchanted% always returns "yes", even if the item is not enchanted
is this a bug?
if so, how do I fix this?
so it would be %checkitem,inhand_enchanted% then?
OH, ok, thank you, that worked
Hey Guys, Ive got a question. I found a plugin called MultiClan, and it supports Placeholders with PlaceholderAPI, but i don“t found any command to unlock it in PlaceholderAPI, im asking because they don“t work on my server. Is there a way to unlock them? Thanks for anwsering!
Here a link to the Plugin: https://www.spigotmc.org/resources/multiclan-2-0-lite.23927/
Thanks for Helping!
If you do /papi list does the MultiClan expansion show up?
Yeah, just took a looksie. The author is using a deleted way to register placeholders. We removed that way over a year ago now I believe so you'd have to try and reach out to them and have them update it or downgrade your PAPI version but I highly advise against doing that.
Im sorry i“ve missunderstanded your anwser, i thought you advise me up against to asking the developer of the plugin! Thanks for helping!
Is there a plugin or a way to send placeholder data across servers on a bungee, so for example have like survival servers select placeholders show the same stuff on hub
There's an expansion (not maintained by us) but I think it does MySQL so if you stored some data in a database, you could pull it from all the servers.
Could i get a name of it?
I think it's literally just called "mysql"
How would i put the information on the db tho
I mean that's totally something different. You'd need something else to handle that. This just provides a way to pull from a database to display.
Okay, you wouldnt have any idea how to do this without custom stuff would you :D
Not that I'm aware of. There might be something out there, wouldn't hurt to do some searches.
Does anyone know why the Javascript expansion for PAPI doesn't work?
"doesn't work" tells us nothing
@mossy helm
use the bungee extension + math one
%math_{placeholder_1}+{placeholder_2}%
Now you can use JS to remove the .000
You gotta make it yourself š
actually
try this
%math_0:_{placeholder_1}+{placeholder_2}%
this might work
do you need the [] ?
Np
Anytime!
Why is nothing working with holographic dislpays?
=pl holographicextension
probably because you don't have that
@austere hawk
I do
Okay can you explain your issue in more detail please
So none of these are working on holographic displays - https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#player
do they work with /papi parse me %player_name%
Nope
Did you download the expansion?
I don't think so
run those commands and see what happens
...
not working in /papi parse either?
Oh no that works now
did you reload holographic displays or anything? maybe restart server
Only player name seems to work
what isn't?
Server name
that's because that's part of the server expansion not the player expansion
Ahhh
full list
š
What one would I download to display the permissionsEX group?
part of vault
https://prnt.sc/10ek1jc essentialschat doesnt working
The factions one doesn't work
Alright my bad. Whenever I try and load any kind of scripts it tries to default to global engine identifier and it has an error trying to set the engine no matter what I try and do.
@thorn perch,
Please respect the rules, be patient and don't ping staff members!
Can someone help me witha code?
A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.
yea
what you trying to do?
if its 50+ players send last message, if its 2-49 send second and if its 1 send the first message?
yeah but what's not working you have to explain a bit. what help do you need
?imgur
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.
check your console
well first of all download the latest JS expansion by doing /papi ecloud download JavaScript then do /papi reload
also you can just use this code ```js
var playersonline = parseInt("%server_online%");
function returnplayersonline() {
if (playersonline == 1) {
return "&aThe server is 1% populated!";
}else if (playersonline == 10) {
reutrn "&aThe server is a bit populated!";
}else if (playersonline >= 50) {
return "&4THE SERVER IS VERY POPULATED!";
}
}
returnplayersonline();```
Iām trying to use javascript expansion for the token enchant placeholder script to use with deluxemenus and for whatever reason when I do papi reload it canāt set the engine for the script and doesnāt load, does anyone know why?
I do not
I even put placeholder api alone on a fresh server and it still just didnāt work
Update
I guess thereās no solution for me ig
[02:58:30 WARN]: [PlaceholderAPI] [JavaScript Expansion] Failed to set ScriptEngine for javascript placeholder: tokenenchant_token
3 years?!
If you're talking to me I have 2.10.9? Which is the latest?
eman is the one with the 3 years outdated plugin lol
oh lol
Iām using Java 11
Hmm
I'm not at my normal setup till tomorrow night but that's really weird. Haven't had anything else have reports of that.
Okay just kidding I guess my localhost server is running Java 8 and not 11 but my hosted Java 11 server it works fine, I'm so sorry for bothering you guys
š¤¦āāļø
o.o
Anyone know if there are any placeholders for vanilla enchants?
that does what?
Can someone help me with a script? I want a javascript placeholder that shows the player how many players are on a group. Using LuckPerms
Hi, if i use a placeholder why is the first word of the placeholder in lowercase when is write it in highercase?
what do you mean?
hey im trying to make a npc with crafting store placeholders and didnt work , idk why please help
I write: "%MINECORD_CHATTERS%"
placeholderapi did not replace it and Respond to me: "%minecord_CHATTERS%"
@silver minnow
How would i use an existing placeholder to basically see what it says and if it says a specific thing like test one it outputs &1test one
with javascript ofc
you would have to use Javascript
ah
check if the placeholder returns a specific value with "%placeholder%" == "text"
oh wait
So i wanted to do it for ranks for a shitty-eh plugin and i was gonna basically read what it says and then output it to tab with the right colors
but it would all be just the same for the viewer right
well the output will change depending on the player for who the placeholder will be parsed
So if i parse it to me
it gives my rank
If i parse it to someone else it gives me thier rank
So wait this could work
yeah
Remind command to check placeholder, please
/papi parse me %placeholder%
Thx
do you have vault?
yes
and an economy plugin?
essentials & vault
does that mean anyhing?
Second time I've sent the issue and second time you asked those two questions but it's ended there
Anything further ?
hello
i`m getting errors from placeholderapi
[22:25:26 WARN]: [NametagEdit] Loaded class me.clip.placeholderapi.PlaceholderAPI from PlaceholderAPI v2.10.9 which is not a depend, softdepend or loadbefore of this plugin.
[22:24:00 WARN]: [PlaceholderAPI] Loaded class com.bencodez.votingplugin.VotingPluginMain from VotingPlugin v6.0.4 which is not a depend, softdepend or loadbefore of this plugin.
[22:24:00 WARN]: [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend, softdepend or loadbefore of this plugin.
i really need some help fast
these aren't errors
you can ignore them
hmm alright
Correct. As dkim said, these are just warnings, hence the "warn".
its just that my server is getting random cpu peeks and the server wont stop normaly, when i stop it, it just stops at player referral plugin and nothing happens after that
not sure what to do
Not entirely sure what that is but I can safely say that those warnings you posted above should have nothing to do with it.
okay, thanks
Hey what about mine !!
If you're not using the baltop palceholders, you can just go into the placeholderapi config and disable the task.
Awesome
do you need it enabled in placeholder config for this
@long crater,
Please respect the rules, be patient and don't ping staff members!
oh sorry, didn't know reply was no good š
If you aren't using any of the top placeholders, you can turn it off.
so I guess I do need it on as I have a leaderboard which shows top players, but I am thinking maybe it's causing lag
what can I put it on to check less often?
is there an explanation of these pieces of data?
It does cause lag, which is why I disabled it by default. It's marked for removal as it doesn't need to be in the vault expansion. Most people use Essentials economy so it'll be integrated into that once it's released.
Not anything viable if your server is growing. The more players you've had on your server the more it will lag due to how poorly it was originally implemented.
understood, I will resort back to holographic placeholders
i did /papi ecloud download plotsquared
and i get this
[PlaceholderAPI] plotsquared is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
soooo what do i do
Pretty sure PlotSquared v5 has their own integration not needed in the eCloud.
its plot v4
Whelp you'd have to ask them to update their v4 then or else there's not much to do besides downgrading PlaceholderAPI which will probably cause more harm than good.
fucks sake
Use OfflinePlayer.
would papi-js placeholders produce lag if i use them in chat?
Really comes down to what you're doing inside the js placeholder
My factions placeholders don't work. I've tried reinstalling PAPI multiple times and reinstalling the factions expansion. The error I get is "factions is attempting to register placeholders via a PlaceholderHook class which is no longer supported!"
What kind of factions?
Mcore is called factions iirc
Is Mcore still on EzPlaceholderHook?
Would think more people would be complaining if that was the case.
Yeah mcore factions
Yeah not sure. I'd also imagine lots of people use factions placeholders
but I've tried everything I can think of
Well it won't actually register if it's not using the update API but we depreciated that months ago and I have no memory of anything else mentioning this issue.
Anything I could try to fix it?
I installed Papi off the spigot page so it should be all up to date and everything I'd imagine
If I get some extra time today I'll look at that expansion. I'll see if it's actually outdated or not.
Thanks a ton. Yeah would be great if I could find a fix so I could use it on my scoreboard
Appreciate the assistance
@grand zenith,
Please respect the rules, be patient and don't ping staff members!
these two
is there a placeholderapi for bungee?
Not currently, no.
I have problems, js parse wrong numbers have to reload javascript two times for it to work.
1 should bee the number as in 2.
Get the problems some times when server has restart.
my script
logs for placeholders
https://paste.helpch.at/osuyagumaz.sql has not fund any errors when server start.
it is javascript expansion i use.
Hello. I have a problem with PlaceholderAPI. I made few menus using the Cooldown Javascript from Spigot and it seems that the cooldown isn't being stored in the javascript_data folder and after each restart, the cooldown is reset. Any idea how to fix this? I'm using the latest version of Papi on 1.16.5.
Anyone know why %parseother_{leaderheads_name_vault_eco_balance_alltime_1}_{vault_prefix_color}% won't work? I try to parse it and it says an internal error occured
parsing %leaderheads_name_vault_eco_balance_alltime_1% shows 'ITookUrPotato'
and the vault prefix color should just be white or whatever
=paste
Please use a paste service to share configs, errors, code and long logs.
⢠HelpChat Paste
what is the console error?
You ran this command: /papi parse me %leaderheads_name_vault_eco_balance_alltime_1%?
Anyone have any idea how I can get MFactions placeholders to work?
Did you run /papi parse me %parseother_{leaderheads_name_vault_eco_balance_alltime_1}_{vault_prefix_color}%?
huhhhhh
I don't think you can parse that stuff for offline players
if that's what you're trying
it's the same thing as getting perms for offline players
For the checkitem expansion, is there a way to see if an item contains a string using hex colors?
there is no regex matching atm
but it seems easy
Do you by chance know the raw format of hex colors?
like &a is §a i'm pretty sure
Tried this &x&f&f&b&3&2&8Test way of doing hex
And the console format using §
But yeah no worries, I'll have to figure out another way
Yeah all good
How do i make an agree gui, im trying to use the %javascript_data_set,{player_uuid}.has_used,true% so when they click the item "Buy 1 Sword" they go to gui with "Are you sure you want to buy this" and with a"Go back" then if the buy it they cant buy that again.
Hello! I have a problem related to the expansion of vault and essentials.
It turns out that when I download the vault variables the server starts throwing these kinds of errors. I talked to essentials and the only solution they give me is to delete the vault expansion, but it seems like a bit of a nefarious solution to me.
someone else have an idea how to replace the vault economic variable or find a solution? I leave my console image, thank you very much in advance!
https://i.gyazo.com/thumb/1200/9c27987aaba500908a64815c1833dbeb-png.jpg
You can disable the baltip task in the PlaceholderAPI config under the vault section.
Is the an ecloud package which shows info like server OS, java version and stuff?
hello, when i write the variable of voteparty my console write this : "[FeatherBoard] Error in placeholder: {voteparty_currentvotes}" i need the help please
we can make placeholderAPI's placeholders using Java or JavaScript ? (an expansion)
both
u can create ur own expansion using java, or use javascript using the javascript-expansion
Hello!
Using the CheckItem expansion, are we able to use custom heads with 64ids in checkitem?
and if so can anyone show me an example
Hi, I have this error https://paste.helpch.at/otadohoriw.bash
In my plugin I use PlaceholderAPI and I get error at line where i use PlaceholderAPI.setPlaceholders(player, string);
hi guys im trying to use vault placeholder (for example : %vault_eco_top_balance_formatted_#%) but its just 0 or blank
The data from IUserManager.java:122 is null. You need to handle that properly.
For you other two, I'm pretty sure I disabled the baltop in the Vault expansion by default. You'll have to enable it in the PlaceholderAPI config and then reboot to enable it. It's probably failing to grab a real number and it is defaulting to 0.
CC: @scarlet valve @chilly ivy
Also, be ware that if you've had a lot of people on your server, that placeholder will lag a little. Waiting on EssX to release a new update that has the new economy API in it and then I'll be removing the baltop placeholders from vault and moving them over to EssX expansion.
Ok ty
Gonna try that
@trim mist just enebled it
And reloaded the server
Nothing happened
"reloaded". Did you fully reboot?
Can anyone help me fix TownyChats conflict with Deluxechat, its ruining my chat formatting
/papi ecloud download Bungee ?
Pinned build in #deluxechat
Hi, if a placeholder returns an empty content can I print something else?
For example if I want to print the placeholder %something% but the value is empty can I print "No data"?
Something like an OR
you can if you use the js expansion
js expansion?
basically you can make custom placeholders with JavaScript. here's the wiki for it: https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
you just parse it into a value. Like this: var placeholder = "%something%"
or you can just use it directly in a string if you want
so for example if ("%something%" == "No data") ...
Uh sounds really nice, thanks man!
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
the problem seems to be from the Vault expansion (Baltop placeholders)
Can someone help me?
If you explain what you need help with first.
i have deluxemenus and tokenenchant and when i put the variable in deluxemenus it wont show.
im getting this error
11.03 02:16:23 [Server] INFO ItzSyntrax issued server command: /bp
11.03 02:16:23 [Server] WARN Exception in thread "Craft Scheduler Thread - 20"
11.03 02:16:23 [Server] WARN org.apache.commons.lang.UnhandledException: Plugin DeluxeMenus v1.13.3-Release generated an exception while executing task 2990
11.03 02:16:23 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
11.03 02:16:23 [Server] INFO at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
11.03 02:16:23 [Server] INFO at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
11.03 02:16:23 [Server] INFO at java.lang.Thread.run(Thread.java:748)
11.03 02:16:23 [Server] INFO Caused by: java.lang.NoSuchMethodError: com.vk2gpz.tokenenchant.TokenEnchant.getTokens(Lorg/bukkit/OfflinePlayer;)D
11.03 02:16:23 [Server] INFO at com.vk2gpz.papi.tokenenchant.TokenEnchantExpansion.onRequest(TokenEnchantExpansion.java:131)
11.03 02:16:23 [Server] INFO at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:156)
11.03 02:16:23 [Server] INFO at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:69)
11.03 02:16:23 [Server] INFO at com.extendedclip.papi.expansion.javascript.JavascriptPlaceholder.evaluate(JavascriptPlaceholder.java:91)
11.03 02:16:23 [Server] INFO at com.extendedclip.papi.expansion.javascript.JavascriptExpansion.onRequest(JavascriptExpansion.java:169)
11.03 02:16:23 [Server] INFO at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:156)
11.03 02:16:23 [Server] INFO at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:69)
11.03 02:16:23 [Server] INFO at com.extendedclip.deluxemenus.menu.MenuHolder.setPlaceholders(MenuHolder.java:97)
11.03 02:16:23 [Server] INFO at com.extendedclip.deluxemenus.menu.MenuItem.getItemStack(MenuItem.java:591)
11.03 02:16:23 [Server] INFO at com.extendedclip.deluxemenus.menu.Menu.lambda$openMenu$1(Menu.java:262)
11.03 02:16:23 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
11.03 02:16:23 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
1.8.8
1.12.2
1.13.2
1.14.4
1.15.2
1.16.4
v1.10.5
v1.13.3 - Latest
v1.13.3 - Latest
v1.13.3 - Latest
v1.13.3 - Latest
v1.13.3 - Latest
try v1.10.5
The problem is the TokenEnchant expansion
Do you have TokenEnchant plugin in your server?
yes
but i changed the placeholder it was %javascript_tokenenchant_token%, changed it to %tokenenchant_tokens% and now its showing noting but opening the gui
with getting no errors.
Hey
Immm at deluxemenu i config headatabase but it wont work for some reason idk only appear alex's heads and steven's heads instead i downloaded headatabase plugins
Here is my config :
material: 'hdb-<12687>'
amount: 1
slot: 11
priority: 2
display_name: '&aÄįŗ£o Bay'
left_click_commands:
- '[player] is'
right_click_commands:
- '[player] is'
i tried remove ' and still didn't work
i tried everything but still only steven heads
nobody knows?
Hello, i have this error with placehoolder api, why?
[03:45:31 ERROR]: [PlaceholderAPI] Failed to init placeholder expansion from class: com.extendedclip.papi.expansion.essentials.EssentialsExpansion
Hello. I have a problem with PlaceholderAPI. I made few menus using the Cooldown Javascript from Spigot and it seems that the cooldown isn't being stored in the javascript_data folder and after each restart, the cooldown is reset. Any idea how to fix this? I'm using the latest version of Papi on 1.16.5.
Does anyone know why server time placeholder isnāt returning anything but the rest of the placeholders for āserverā work fine? Could it be thatās itās a local host server?
I has same issue, it is save in database but not read it.
I can see if is a fix for it (can some coding). But will look on it when got time.
Same here, got a error when try.
any else? :c
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
Does anyone know what the place holder is for chunk x and z according to where the player is standing? Iāve been looking for it but canāt seem to find it
oh I don't think there's one but you can make one with JavaScript if you want. I can even make it for you all you'll have to do is follow the instructions to make it work
Ok I can follow the instructions š
var player = BukkitPlayer
var location = player.getLocation()
if (location == null) return "Location Not Found!"
var chunk = location.getChunk()
var chunkX = chunk.getX()
var chunkZ = chunk.getZ()
function getChunkXZ() {
if (args.length == 0) return chunkX.toString() + " " + chunkZ.toString()
var axix = args[0].toUpperCase()
if (axis == "X") return chunkX.toString()
if (axis == "Z") return chunkZ.toString()
}
getChunkXZ()``` Well this is the code. Here's the wiki on how to download the JavaScript and then make a placeholder using it: <https://github.com/PlaceholderAPI/Javascript-Expansion/wiki>
for some reason deluxe tags isnt working with papi when i do /papi list it isnt there do you know if this caused by me using paper or? im 1.16.5 latest version
what do you mean by not working? /papi parse me %deluxetags_tag% does not work either?
it just says %deluxetags_tag%
I did exactly what I saw or I think so atleast, and I'm getting this in my scoreboard Script error (check console) also I have this in the javascript_placeholders.yml file
chunkxz:
file: chunkxz.js
engine: javascript
and I'm using %javascript_chunkxz%
@sacred frigate,
Please respect the rules, be patient and don't ping staff members!
@sacred frigate,
Please respect the rules, be patient and don't ping staff members!
I edited sorry I pinged twice ^
you need to use %javascript_chunkxz%, %javascript_chunkxz_x% or %javascript_chunkxz_z% btw. Also can you do the following?: /papi parse me %javascript_chunkxz% and then check the console? you should get an error in console. paste it here
ERROR [PAPI] [Javascript-Expansion] An error occurred while executing the script 'chunkxz':
11.03 14:49:10 [Server] INFO if (location == null) return "Location Not Found!"
11.03 14:49:10 [Server] INFO ^ in <eval> at line number 3 at column number 22
I have this in my scoreboard - ' &eChunk XZ: &fX: %javascript_chunkxz_x% Z: %javascript_chunkxz_z%' but it still says Script error (check console)
try this code then: js var player = BukkitPlayer var location = player.getLocation() var chunk = location.getChunk() var chunkX = chunk.getX() var chunkZ = chunk.getZ() function getChunkXZ() { if (args.length == 0) return chunkX.toString() + " " + chunkZ.toString() var axix = args[0].toUpperCase() if (axis == "X") return chunkX.toString() if (axis == "Z") return chunkZ.toString() } getChunkXZ()
it works tysm
Can someone tell me how i get players online from my bungeecord servers?
Does anyone have a javascript placeholder that will count how many blocks a player breaks and then reset after the day (monday, tuesday, wednesday) is over?
I know statistics counts how many blocks a player breaks but it doesn't reset after the day is over.
I don't want to jump in to coding this if someone has already done it
When trying to include PlaceholderAPI as a dependency in pom.xml, I'm getting this error:
Dependency 'me.clip:placeholderapi:2.10.9' not found
I'm using Intellij and Maven
Did you add the repository?
<id>placeholderapi</id>
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>``` is in repositories
is there any more steps I need to take?
I'm very new to Java development, this is the only bit I've been stuck on so far.
@idle coral
wait wtf
the error just disappeared right in front of my eyes
Does someone know how i get the place holder for bungeecord servers, i want a %players_online_server%
?help
Ā» Give the helpers some details
Ā» Ask suitable questions
Ā» Be polite
Ā» Wait
its called Bungee and the placeholder is: %bungee_server%
/papi parse me %pvplevels_top_1_kills% do this in chat and tell me what it returns
0
Message 0
and what does it show if you put it in the hologram?
%pvplevels_top_1_kills%
and I assume your using HolographicDisplay?
yes i'm use HolographicDisplay
well if you didn't know already HolographicDisplay doesn't support PlaceholderAPI. If you want to use it then Download: HolographicExtension and ProtocolLib and then you can use placeholders in HolographicDisplay
Awesome !! I will try
Thank you very much, it really works.
how to install papi for bedwars1058?
@mint fable Unknown expansion.
it's included
but its not working
Hi i need help with Chatreaction palceholder %chatreaction_top_player_<placement>%
What should i put in "placement"
Yeah somehow figured it out but thanks š š
Is there anyway to put a placeholder inside another placeholder?
only if those expansion accept it. Some expansion like Math do: %math_{placeholder_1}+1% for example
ok, I'll try it
I don't think this works %server_online_{%player_world%}%, does it?
{player_world}
ah
not {%player_world%}
ok, tysm it works ā¤ļø
but, when i'm in the world, it shows 0
why this could happen?
probably doesn't actually parse the placeholder
it might just look for a world called {player_world}
instead of the world the player is in
if you want you can just make a JavaScript placeholder to see how many players are in the world
yeah because, i put the world name, and it sends 1
What plugins provide players with prefixes and suffixes?
LuckPerms is an example
This will be a long shot but is the person who made me a formatted placeholder for exp still here?
for some reason deluxe tags isnt working with papi when i do /papi list it isnt there do you know if this caused by me using paper or? im 1.16.5 latest version
/papi parse me %deluxetags_tag%
that just outputs %deluxetags_tag%
im on latest deluxe tags and latest papi version
you've downloaded the expansion? /papi ecloud download DeluxeTags then /papi reload
Iām sure I paid someone to make thatš š¤£š¤£
@stone fern,
Please respect the rules, be patient and don't ping staff members!
ugh well its there for free.. xd
can somebody anwser my question
Is it possible (and if, how) to use async features of javascript in the JavaScript extension?
And will I run into any other issues when I will be using JS-fetch() inside there?
Is it normal for custom Javascripts to get mixed up and output incorrect placeholders? Like the script tells it to output %townyadvanced_town_residents_amount% but the placeholder outputs %townyadvanced_town% instead (which is in another .js file)? Fixes after a few /jsexpansion reload but is broken on server restart. Kinda seems like the scripts are a bit inefficient and incoherent
Just for more context^
var balance = "%townyadvanced_town_balance%";
function towny() {
if (town === 'false') {
return "N/A";
} else {
return balance;
}
}
towny();```
Is outputting `%townyadvanced_town_balance%.00` instead of simply $0.00
And ```var town = "%townyadvanced_has_town%";
var residents = "%townyadvanced_town_residents_amount%";
function towny() {
if (town === 'false') {
return "No Town";
} else {
return residents;
}
}
towny();```
Is outputting %townyadvanced_town%(the town name not the raw placeholder) instead lol (both sep. files)
What is this? It happens when I download MySQL expansion: https://srcb.in/LslTEkgkSH
I tried "/papi reload", and it gave that error and didn't reload
yeah the MySQL expansion at least the one from the ecloud is broken
try downloading an older version of it
Where can I find the version history?
on the ecloud
but the older version doesn't seem to work on newer PAPI versions
hi
how do i get the ammout of people on one server as a placeholder?
so i can put it on an npc
^^^ with Bungee
%bungee_<servername>%
as for the npc part, make sure whatever plugin ur using to handle NPCs supports placeholderapi
okii
its maintained by superronancraft
are you using version 1.31? Latest I mean. because the expansion seems to have been updated a month ago
go to plugins/PlaceholderAPI/expansions and delete the jar that is the MySql-Expansion and then do /papi ecloud download MySql then /papi reload
yes, I'm using the latest
also I think there should be a config file or even a folder that's going to be generated
I just downloaded it
see if they are
yes, it's generating a config file
and its empty?
oh have you set it up?
idk what's in it but try setting it up and then restarting
not reloading
hmm
it has templates of that mysql servers
and something else which is I couldn't remember now
blitz can you help me with something?
i have problem with placeholder %vault_eco_balance_commas%
when i have 100mil in scoreboard showing me 100nbsp000nbsp000
no
can you try it like that?
sorry for my English
see if it works there
scoreboard still showing me 100nbsp000nbsp000
but what about /papi parse me %vault_eco_balance_commas% ? does it show 100,000,000?
Any ideas on this? Seems to be an issue previously raised on both Discord and Github with no answer?
that's not a PAPI issue. That's a scoreboard issue.
your scoreboard breaks it for some reason
I'm not so sure. /papi parse outputs the same
can you /papi dump and send that and also tell me your Javascript expansion version?
was talking to Danda btw.
but same problems i have with deluxe menus, auction house, ...
hmm can you do /papi info Vault and send screenshot of what it shows?
blitz you have screenshot in dm
https://paste.helpch.at/towiqosewu
Javascript expansion version is 1.6.0
@finite crater,
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
this is stupid
So Im making a plugin and I wonder what is the placeholder that works with vault ranks (so luckperms and so on), AND shows the color of the rank
%luckperms_rank% or whatever doesn;t intrest me because it's only for luckperms
%vault_prefix% is for prefix and %vault_suffix% is for suffix
Sorry. got stuck with something else. would you mind sharing some screenshots? I want to see a screenshot of how the javascript_placeholders.yml file looks (what's inside it I mean) and then a photo of what's inside the javascripts folder
Is there a way to parse placeholder over bungeecord? So I can for example show stats from survival games on hub as well
Like a bungee PAPI addon
there isn't any official one. there's a PAPI-Bungee Java API if you want to do it yourself I guess.
Can u link it?
And wdym by myself
does it give the color of the prefix too?
it should yeah
@restive dawn now tell me which one of those are the 2 that are broken?
townBalance, townClaims and townResidents. Basically on a server restart they output the towny name when they're supposed to output different placeholders like # of residents or the town's balance etc.
Didn't specify the number of broken ones earlier, just gave an example of an issue mb
Want me to shoot you the file contents?
well I'm very confused because for example this one: #placeholder-api message has nothing to do with the town name so why would it output it?
how are you parsing them? /papi parse me %javascript_...% what do you put there?
Exactly my confusion. It makes no sense that they output that and then output the correct value after I run /jsexpansion reload a few times. Parsing them like %javascript_townycustom_town_residents_amount% for example as seen in the javascript_placeholders.yml
ok lets take this one as an example and go thru it to see if we can spot anything. can you paste just the code from your townResidents.js file?
Sure 2 secs
var residents = "%townyadvanced_town_residents_amount%";
function towny() {
if (town === 'false') {
return "No Town";
} else {
return residents;
}
}
towny();```
I did initially think it was the function name being the same, alas changing it had the same issue
Town name yeah
Until I run /jsexpansion reload like 4-5 times
Then it outputs the correct value, but if I run the reload command again it breaks
It's like it's being told to output two values in the same placeholder
this is very strange. I've never actually seen this before
Yeah it baffled me when I first encountered the issue. I sat there for a while re-writing the scripts in-case I'd accidentally duplicated something but the files are individual and all under different placeholders
this is a desperate call but could you maybe try the latest dev build of PlaceholderAPI instead of the release?
?papi-builds
You can find the latest PlaceholderAPI dev builds here: https://ci.extendedclip.com/job/PlaceholderAPI/
you can get it from this link ^
Yeah will give it a go now. Will get back to you
I know ChatControlPro was breaking the JavaScript expansion but I see you don't have it. It might still be another plugin but IDK which or how
I highly doubt it but it wouldn't be related to Towny's own chat plugin?
Could be worth just trying to remove it as another desperate call lol
š¤¦āāļø you're right lmao
well I guess a way to test if it is another plugin or not is to remove all plugins and leave only PlaceholderAPI and Towny and TownyChat
Didn't work as you can see in screenshot lol
also maybe update the javascript a bit? like use this one for example: ```js
var t = "%townyadvanced_has_town%";
var r = "%townyadvanced_town_residents_amount%";
function someRandomFunctionName() {
if (t == "false") {
return "No Town";
}
return r;
}
someRandomFunctionName();```
Updated it to that and ran reload but still is outputting town name lol
So might just have to do a process of elimination
process of elimination on what? Right now my brain is just failing to find any other reasons for why this might happen
Of other plugins lol
ah
I guess
you can just remove them all first
see if it works then
if it works then its clearly a plugin
Yeah, at least we can narrow it down then
Right will do that now and let you know
So it now seems that on a server restart it's outputting the correct value, but /jsexpansion reload will still break it but only requiring another reload until it fixes
So I'm unsure if that entirely resolved the issue, but it certainly seems to have negated it
Unless reloading it inherently does mix it up bc reloading isn't really a native or safe thing lol
hmm what about /papi reload does that still break it?
Yep it was 1 and then /papi reload now outputs "Test" being the town name
Yeah just reloaded papi about 5 more times and it's not fixing, sitting on the town name
So at this point I doubt it's another plugin because one isn't present to break it lol
can you parse /papi parse me %townyadvanced_town_residents_amount% ?
Yeah just ran %townyadvanced_town_residents_amount% and it outputs 1 but my custom %javascript_townycustom_town_residents_amount% is outputting "Test"
So it must be the script somehow?
So ran them both with no reload inbetween and they're dif values
Very very confused lol
Is there a way to add a refresh timer to javascript placeholders that are in a Hologram?
Is this a known issue as it still works fine or am i being stuipd
Paste logs in https://paste.helpch.at
A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.
A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.
depends what hologram plugin you use
Using Holographic Displays with the extension
yeah you can just put {fast} at the beginning of the line and it will refresh it
Ah awesome, ill give that a try
go to plugins/placeholderapi/expansions and there will probably be 2 ore more Bungee Expansions. delete them and redownload it using /papi ecloud download Bungee then /papi reload
Worked perfectly, cheers.
Was setting up an area lock/unlock https://i.imgur.com/En0DdFO.png
oh nice
@rare lily can you help with this maybe? All the info is up if you want to read but basically parsing javascript placeholders return random texts like for example the one I replied to returns the town name instead of "No Town" or the amount of residents
I might be a bit outward but may as well throw it out there, it's not bc I'm taking a numerical value and outputting it as a string is it? Perhaps Towny just ain't liking that lol
Though I don't see how that'd break it
I'm having an error with papi > [00:49:40 ERROR]: [me.clip.placeholderapi.PlaceholderAPIPlugin] [PlaceholderAPI] expansion class MCoreFactionsExpansion is outdated: Failed to load due to a [NoClassDefFoundError], attempted to use com/massivecraft/factions/RelationParticipator
I tried installing the expansion wwith the command and then installed it manually but neither fixed error go away.
try contacting the MassiveCraftFactions (guess of plugin name btw based off of the error) developer
and show him the error
I have no idea what the plugin is named
i just know i need that expansion for its placeholders
i have an updated version for it, ill send it here
I found a work around to not needing it. And i wouldn't use anything that's uploaded straight to discord anyways. But thanks for trying to help.
Steep I trust Kaliber if that makes any difference and I checked the code as well
you don't have to use it if you don't want just letting you know
Nah man just for security i like to know what i'm downloading and where it comes from.
Nothing personal
well that comes from the github of the original expansion just fixed
Well i cant confirm that though xD
but just as well you could be downloading something bad from github or even spigot
or bukkit.org
On spigot it would get banned if it was malicious?
well yeah at some point but not always instantly.
or it might not be malicious with knowledge. Like HolographicDisplay was few years ago
Of course but then you could say everything can be a virus
Just some things have a higher chance to be one.
my point is just that this community is based a lot on trust and there are a lot of good and thrustworthy developers here like Kaliber
Blitz wanna be even more confused š
Commenting townycustom_town: file: townName.js out of javascript_placeholders prevents townBalance and townClaims from working entirely, and fixed townResidents lmao
This genuinley is the most baffling thing
hmmm. It might be that it just reads the wrong file every time? hmm
Possibly, I could try and change up the file names and placeholders to be really different
are you able to run a test server on your pc? or maybe have some other host to run a test server? and just copy the PlaceholderAPI, towny and towny chat jars and folders and see if they work on another server
also yeah changing files entirely might work. could you also send a startup log?
or /jsexpansion reload and check the console
Can probably spin one up and test
see if it gives you any errors
You're not meaning like MC version?
Ah no I wouldn't know then
do you have a dedicated server or just a normal host?
11
yeah its not that either then. but that'd give a big error anyways. java 15 is not yet supported
Yeah I'm stumped. Been testing for a few hours and there's just no consistency to the issues. But I'm gunna try changing up the placeholder and file names
that and a test server if you can
man I really wish its just a problem with the system and not a small thing we've both missed and you've wasted so much time. those usually hurt when you find them out
So you can rest assured that it's something on my end. One of two things fixed it. First I renamed the placeholders and file names to not include the word towny anywhere, so for example name_of_town or name_of_nation was sufficient, after doing this it seemed like trying to output %townyadvanced_town_balance% was a no bueno as it was breaking the claims value underneath, removing the balance script along with renaming them seems to have fixed the issue
Can't believe renaming them didn't come to me sooner lmao
Seriously appreciate the patience and help throughout tonight Blitz, thank you
I have something i need fixed: https://paste.helpch.at/yinenuzexo.cs
That error appears every time a plugin disables.
So every time i restart or shutdown the server it basically gets spammed in console.
it seems like the FactionTop expansion does not have an author set. you'd either have to update it yourself (if it is open source) or ask the developer to update it/ fix it. should be an easy fix
how can I check to see how many players are in a given world
like what would the placeholder for that be?
it doesnt, it only shows the blank prefix
@wind ridge,
Please respect the rules, be patient and don't ping staff members!
no color
hi can somebody help me with javascript? i need to calc together 2 placeholders but the placeholder says NaN
`var numbers = [2,5];
function placeholder(total, num){
return total + num;
}
placeholder();`
you specified 2 arguments that you are using in the function
but you didn't provide them when you called the function
and how do i call them? im new in js
oh i done it doing this
`var numbers = (2 + 5);
function placeholder(){
return numbers;
}
placeholder();`
but this dont work becouse if i do var numbers = ("%bungee_total%" + "5"); is returns 15
can somebody help me please?
Im using Bedwars1058 how do i link it with papi? Im trying to use bw1058 variables on Holographicdisplays but it just shows as a "%bw1058_player_level%"
can we use placeholder inside placeholder? how
depends on the placeholder
so i am putting minecraft nickname as discord username. it doesn't work if they have special character in their username. wanted to try replace but didn't get the idea if we can or how
Some placeholders accept other placeholders inside them with the format {placeholder_here}. For example the math expansion: %math_{player_kills}+1% would show player kills + 1. But not all expansions accept them like this. Just some
you'll have to try it and see if it works if not then the expansion probably doesn't support it.
You need HolographicDisplay, HolographicExtension and ProtocolLib for placeholders to work in HolographicDisplay. It does not support PAPI by default.
its var numbers = parseInt("%bungee_total") + 5. Because right there %bungee_total% becomes a string: "1" and 5 becomes "5" so it just concatenates them
how does papi and js work
Ok
%server_online_WORLD-NAME%
u can create script with js and use it in papi
Rix ^. You can create code using JavaScript and then display the result with a placeholder basically
here's the wiki if you want to see some more info: https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
do you use LuckPerms? Can you do lp group RANK-NAME info and show me what it says?
send a screenshot maybe
?imgur
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.
i already got it fixed
@wind ridge,
Please respect the rules, be patient and don't ping staff members!
Never knew protocollib was needed but now it works, thanks š
@abstract flare,
Please respect the rules, be patient and don't ping staff members!
:/
no problem
the node just comes back blank, whenever i do /papi parse %server_online_world%, it just comes back with %server_online_world% not a player count
/papi ecloud download server then /papi reload
it worked thx!
no prob
Hello, where I can download the latest build version pls?
?papi-builds
You can find the latest PlaceholderAPI dev builds here: https://ci.extendedclip.com/job/PlaceholderAPI/
here ^
ty
Hi i need help with papi Statistics. I want a player to see how much days they have played. I know how to do the player with most time played ( /hd addline timeplayed %ajleaderboards_board_statistic_time_played:days_1_value% )
%statistic_time_played:days% or statistic_time_played_days% I'm not sure if the first one works but the second one does
Ok thanks
what do I have to download off of ecloud to make this work? %ajpk_stats_top_name_1%
Hey guys, I'm using PAPI with TAB on bungeecord. Specifically the %server_tps% placeholder. When used, it returns 3 values. We have three servers on our bungee network. Is this a coincidence? If it's not is there anyway to get it to return just the current server TPS or separate them some how?
The link doesnt seem to work. Can you maybe make a new paste? Or use hastebin.com
Oh NVM the \ at the end breaks it
When does this error show up?
%player_x%, y, z, Doesn't seem to give me the exact decimals for coordinates, is there a way to get a more precise number???
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.
@austere hawk
`var players = parseInt("%bungee_Lobby%") + parseInt("%bungee_Survival15%")
function placeholder(){
return (players);
}
placeholder();`
is now returns 1.0 any way to hide the .0?
@tall hemlock,
Please respect the rules, be patient and don't ping staff members!
players.toFixed(0);
thanks
hi my script sometimes returns variable and i dont know why
`var count = "%bungee_total%";
function text() {
if (count == 0) {
return "hrĆ”ÄÅÆ";
}
if (count == 1) {
return "hrĆ”Ä";
}
if (count == 2) {
return "hrĆ”Äi";
}
if (count == 3) {
return "hrĆ”Äi";
}
if (count == 4) {
return "hrĆ”Äi";
}
else {
return "hrĆ”ÄÅÆ";
}
}
text();`
if %bungee_total% returns 1 then the placeholder returns 1 but it have to return the things that are in the list, i have to manually reload it to make it function, where can be problem?
if i reload it 1 time still wrong, 2 times its correct, 3 times again it dont work :/ its weird
on startup
@austere hawk,
Please respect the rules, be patient and don't ping staff members!
Would anyone be willing to just briefly explain the differences between these for me?
%server_tps_5%
%server_tps_15%
%server_tps_1_colored%
%server_tps_5_colored%
%server_tps_15_colored%```
Thank you.
tps_1, TPS from the last minute
_5, TPS from the last 5 minutes
_10, from the last 10 minutes
_colored, same thing but with colors depending on the tps's value
Thanks so much, that's super helpful. Appreciate it.
where are you displaying it? If you're displaying it in a scoreboard/hologram/etc. make sure that it refreshes as well
You can make a javascript placeholder if you'd like: https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
im displaying it in deluxemenus and even after dm reload or reopening menu it still says wrong thing i have to reload it via /jsexpansion reload
view_requirement:
requirements:
IslandRankCheck:
type: string equals
input: '%superior_player_role%'
output: 'Admin'
Is it possible to check for Admin or Leader ?
Instead of just Admin
Assuming that using this is fine
output: 'Admin'
output: 'Leader'
that won't work
idk what will, but I know for sure that won't
since in YAML you can't have duplicate keys
Leader is working
Testing admin now
Ah admin isn't working
rip
Wanting to reduce the amount of lines that I use in the menu
I could create another item with a lower priority that checks for admin
what do I have to download off of ecloud to make this work? %ajpk_stats_top_name_1%
what plugin is that for?
aj parkour
doesn't look like there's any expansion for it. you just need PlaceholderAPI and AJParkour installed
no expansion
?imgur
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.
also what hologram plugin do you use?
what hologram plugin do you use?
DeluxeMenus?
Yes
I just use HolographicDisplays
@austere hawk
that is the problem most likely then. HD doesn't support PAPI. you need to also install HolograhpicExtension and ProtocolLib
k
Any idea?
I'd really just recommend using the plugin MasterCooldowns instead. IDK why but javascript data is very unreliable. I think the next update for javascript will fix it but not sure.
?imgur
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.

