#placeholder-api
150650 messages · Page 39 of 151
@austere hawk,
ugh check the link you sent
oof
here
check this out
it dont display that arena display count
insted it shows the placehodler insted
but have you tried it with /papi parse me ?
what hologram plugin do you have?
holoographic display
and you have HolographicExtensions as well?
yes
and ProtocolLib as well?
no
well you need it. says on the HE spigot page
kek
This a a random question
But is there any placeholder that can say the amoun of players that are in survival in a specific world?
I mean
If there is 2 in survival mode
And 1 in spectator
If i use that placeholder it will say 3
I want it to say 2 the amount of players in survival mode
add it to PlayersList? xD
as in make it be able to take in multiple types
or subtypes
whatever you called them
I know. I am too. but sometimes I just get and do something and don't stop until I'm done. you should do the same
well I'm kinda half the oposite half the same. I don't have any imagination and I'm lazy

All ew
how to (setting) interlock papi - discord srv plugin
@junior musk this is not Python ffs
lISkOv
I don't even remember what that is x)
it's been so long I've ever touched that think lol
oh... Just did a little search and actually the advancements placeholder is used by people. 😄 I thought not many people would use it.
if there is any suggestion/problem/error to add to the placeholder, just let me know by discord
yeah some people use it. its not bad
How would you get the number of people on a server?
%server_online%
ok ty
can i force PlaceHolderAPI to load Expansion?
since PlaceHolderAPI only loads the Expansions after the server has fully started i cannot use its Placeholders before
basically i got %server_name% %server_version% started at %server_time_dd.MM.yyyy%
but when the server closes i get Generic Server Name 1.16.5 has shutdown at 25/02/2021
also PlayTime does not work
Can anyone help me with this papi-js error?
https://paste.helpch.at/leguyevata.js
[PAPI] [Javascript-Expansion] An error occurred while executing the script 'chatformat':
<eval>:26:47 Missing close quote
modifiers = modifiers + ' ' + args[1]';
^ in <eval> at line number 26 at column number 47
wait I forgot to reload papi
rip
PlaceholderAPI-Javascript is amazing, since it makes up for other plugin's stupidity :p
Can anyone help me with the Progress placeholder?
The progress bar doesn't know what percent to display when using custom placeholders like:
&f2 Wither kill &a- &f[%progress_bar_{statistic_kill_entity:wither}_c:&e|_p:&e|_r:&e|_l:20_m:25000_fullbar:&a&lCompleted!%&f]
do /papi ecloud download [expansion name]
and then /papi reload
If it doesn't load just repeat it again.
can anyone help me icant download any expansions like Vault and Player
Do you use a host for your server?
Any console error?
Placeholders, and deluxechat. i can't get it to show timeplayed
i have installed the playertime placeholder
https://imgur.com/n567ag5 Hi, I am facing a problem
https://imgur.com/BmJOtdx I downloaded this add-on
https://imgur.com/6hrtOd6 online output does not work (
https://imgur.com/hK1tN7k the world i have really named a lobby
no errors in the console
plugin version: PlaceholderAPI-2.10.9.jar
%listplayers_in_world(discord applies chat formatting)<worldname>% it doesn't seem to work?
sorry for the screenshots on this site, I didn't figure out where else I can upload them
how can i withdraw online from my additional worlds to a placeholder?
I recommend trying the playerlist expansion
I believe it's more updated than listplayers
@fluid heath 
https://helpch.at/placeholders#playerlist for more info
can I get the number of players in a certain world?
yes
thanks now I will try to do it
%playerlist_online,world,yes,amount,<worldname>%
yes it really worked thank you so much!
btw u can use `` to escape discords formatting and it will display a code block instead
oo I didn’t know about that. Thanks for the information. I’ll try not to forget about it.
Does the placeholders works on the head? https://imgur.com/a/Qk2Gs2l
It seems like they don't
For DeluxeMenus
Anyone can help me?
what version of deluxemenus are u using?
Latest
and what plugin/expansion is that? do u have it downloaded
Works in every plugin but deluxemenu don't accept it
o wait, how does that not error if u dont have it wrapped in ''?
material: 'head-%shooter_blah%'
yea im pretty sure anything that has a special character (% in this case) would have to be
what does %shooter_blah% return ?
The first placement of the Top Killstreak
It's a leaderboard placeholder essentially
Yep confirm 😄
can you take the name of whoever is top1
and make the material head-NAME
instead of the placeholder?
see if that works
?imgur
Yea works
Um ... I wonder why the placeholder doesn't work %vault_eco_top_rank%
have u downloaded the expansion
This way I first understand that you think I'm a beginner in the business itself, but go as I'm not stupid and I know what the syntax is for vault and all the basics but simply the pope doesn't work
AS II said i was !!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!
uh ok
now did u enable the vault leaderboard placeholders in the placeholderapi config
Are you fucking with me or?
???????????????
do u want my help or not
these are simple yes or no questions, just answer them
Dude, I did everything right, it's just that the Pope doesn't work, doesn't load ...?
Dude, I did everything right
explain what u did for this then
Well of course I put a vault in the paper but it just won't load the pope I don't know any other way how to express myself
papi*
I went to papi ecloud download vault so papi reload of course, but when I put placeholders like I said who won't load
ok so if u do /papi parse me %vault_rank% ingame, what does it return?
Moment
Just another question since I'm doing the menu process baltop menu means when someone knocks / baltoop to open his gui and baltop 10 players, I'm just interested in how the material goes for the guy to have a head as the first player and the other 10 if you understand me placeholders how it goes
Specifically, did head-% vault_eco_top_player_1% and head;% vault_eco_top_player_1% do both?
if ur on deluxemenus v1.12+ then use head-%%, if ur on a lower version then use ;
Okay, my demo is on the latest version so I'm using -
Okay, I apologize but I'll tell you what message I get when I type /papi parse me %vault_rank%
....
then u dont have the expansion installed
when u do /papi ecloud download vault, /papi reload do u get any errors?
@austere hawk,
I don't see anywhere that you said that I have to / papi ecloud download Vault 1.5.2 🙂 I understood everything, it's clear to me 🙂 thanks for the "HELP"
if u dont appreciate my help then fuck off lmao
u are running an outdated version of the pope 🙂
m8 they told u to download the expansion here
Are u fucking with me or?
🥲
Hey guys! Is there anyone here that knows why my Math expressions aren't working properly? I want to get rid of the decimals so the input shoots out 7 instead of 7.000 as an example. I've tried %math_1+1[precision:0]% but that just shoots out the raw input, and %math.underscore.[precision:0]_1+1%, does nothing instead and still displays the numbers as 7.000
[precision:0] was changed in the latest version of the math expansion
%math_0:_1+1%
its like this now
I think
so 0: is the precision
Thank you so much! My hair was starting to fall out because of this 🤯
Sorry, I used the wrong Placeholder.. Everything works fine! 😄
@austere hawk,
no idea what's causing it, but I recognise it
looks like something's tried to (I'm guessing) unzip some data that's malformed, and Netty's just gone https://tenor.com/view/tracey-morgan-no-hell-no-gif-11585244
😂
Could be a datapack maybe?
Are you still available for that PlayerEquipmentPacket?
I may really need to solve that issue, seems impossible..
When i try to use placeholder "%player_name%" it doesnt work
@pulsar halo Do you have the Player expansion for papi installed?
If not. papi ecloud download Player then papi reload and the placeholder should start working.
Hey, What is the placeholder for how many unique players have joined my server
I can't seem to find it
%server_unique_joins%
Oh sick awesome
Can someone help me, super important and my menus are breaking
the operators like >= in deluxemenus requirements
they max out and stop working at java interval limit
I think there isn't but i'll ask anyways. Is there a placeholder from player expansion that returns if player is shifting/sneaking?
Hi, in my plugin i want to make a command that display players list in each world
for this, i want to replace the %world% with the multiverse alias
but the methode setPlaceholders need a player in parameter, but certain of my worlds are empty (no players online) so how can i get the alias ?
my actual code :
Bukkit.getWorlds().forEach(world -> {
String worldAl = PlaceholderAPI.setPlaceholders(player, "%multiverse_world_alias%");
String players = StringUtil.seperatedList((List<String>) world.getPlayers().stream().map(OfflinePlayer::getName).collect(Collectors.toList()));
player.sendMessage(StringUtil.placeholder(listItem, new StringPlaceholder("%world%", worldAl), new StringPlaceholder("%players%", players)));
});
/papi parse me %Advancements_completedAmount_<player>%
Help ** player ** not working
Please mention me if anwser, i dont have notifications
are you using CraftingStore on bungee or on spigot?
on bungee
I can bet you money that PAPI doesn't run on bungee
well the spigot release at least
unless you have some custom bridge
by itself papi doesn't run on bungee
right but I can't check what plugins you have where.
if you go in your FTP in bungee/plugins
is PlaceholderAPI.jar in there?
you can actually just use null
well you see. you have a bridge
and as far as I know CraftingStore doesn't have a bridge
from bungee to spigot
ohh well the craftingstore just sends the custom commands to selected server where the plugin is held
so i guess it`s not even using bungee
the craftingstore itself
nope
or on backend?
well that's what I asked at first. you probably understood wrong. if you have CraftingStore on your backend then yeah it should work
hmmm
and both plugins are runing? if you go on the server where /papi parse me %craftingstore_donator% doesn't work and do /plugins it shows both plugins green (working) ?
well
whenever i do /papi parse me %craftingstore_donator% it just send blank in the chat
i had 3 donors
ohhh
but not on this server tho
so, it should work when someone donates?
yeah
if it didn't work
it would've just returned back the same placeholder
so exactly %craftingstore_donator%
not an empty string
oh, i've write null but i didnt compile because i was thinking that thats giving me a bug, thanks 😉
@umbral wren,
sry ping 😢
Not working, even with null (world alias is not visible)
Bukkit.getWorlds().forEach(world -> {
String worldAl = PlaceholderAPI.setPlaceholders(null, "%multiverse_world_alias%");
String players = StringUtil.seperatedList(world.getPlayers().stream().map(OfflinePlayer::getName).collect(Collectors.toList()));
player.sendMessage(StringUtil.placeholder(listItem, new StringPlaceholder("%world%", worldAl), new StringPlaceholder("%players%", players)));
});
config.yml
list:
header: '&3Worlds&7:'
item: '&7- &e%world%&7: &f%players%'
Pretty sure it uses the world at player's location @umbral wren just use the multiverse api
Otherwise how would it know what to display
i'm using multiverse api, but how to display it like i want
Papi placeholders are not what I meant by "multiverse api"
is there a public multiverse api ?
Google it
i'll check, thanks
where do i get placeholderapi's api
thank you 😄
hi
Progress
Thank you
Hi, so i just imported the api for placeholderapi and it still isnt detecting it. here is what i did
mavenCentral()
url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/'
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
compileOnly 'me.clip:placeholderapi:2.10.9'
}```
nvm fixed
forgot to add it to library
would it be possible to take in any sort of identifier from player?
so %bosstimer_[bossname]%
or would I personally have to register them?
In what context?
I have problem, I have correctly installed vault but this time the expansion is installed well in the folder yet it does not work
none of the placeholder from the expansion work or only some?
Only Vault does not work
I mean none of the vault placeholders work? Like have you tested all of them?
If like I just said they all work except Vault^^^
?paste
im having an issue with my luckperms and deluxe chat not showing my prefixes, they were working last night and for some reason no longer work. can anyone help me out with it?
#spigot-linking please. thank you
can you do /papi ecloud download Vault then /papi reload ?
Hastebin does not work:
[22:24:54] [Server thread/INFO]: T3scioR_ issued server command: /papi ecloud download Vault [22:24:54] [placeholderapi-io-#0/INFO]: [PlaceholderAPI] Fetching available expansion information... [22:24:56] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 5012ms or 100 ticks behind [22:24:58] [Server thread/INFO]: T3scioR_ issued server command: /papi reload [22:24:58] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing... [22:24:58] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information... [22:24:59] [Server thread/INFO]: [PlaceholderAPI] Successfully registered expansion: player
and it didn't say it registered the vault one?
do /papi ecloud list installed see if Vault is there
There is only the placeholder Player but not Vault
ok can you go to plugins/PlaceholderAPI/expansions and delete any jars from there related to Vault?
?Ecloudblock
then do this ^
It still doesn't work, maybe I'll try to reinstall Vault
hmm idk if its anything to do with Vault. it clearly say it loads but for some reason the Vault expansion isn't loading
what PAPI version do you have?
btw after installing it there have you done /papi relaod?
you have to rload as well
also maybe even try a server restart
do you guys know any tutorial on how to make an api for plugins?
im new to api 😅
I have the latest version of Papi, 2.10.9 and precisely yes I did / papi reload and I restarted too
@storm sorrel,
Hey, no idea if this is the right place to ask this, but is it possible to show per "track" via a placeholder in which group you are in that track
(LuckPerms)
Hi, does I need a correct java version, to javascript works ? I tried to add a placeholder javascript, but when I reload, the console says "[PAPI] [Javascript-Expansion] 0 script loaded!"
Im asking this, because when I try the same placeholders in a machine with java 8 works, but with java 15, not.
hi, what's the link to the latest dev version?
nevermind i found it, it's https://ci.extendedclip.com/job/PlaceholderAPI/ for anyone else who is wondering
@worn canopy Nashorn engine was deprecated and has been removed in java 15, so that's why
Are there any replacements for nashorn, or is everything gonna just switch to groovy?
I did a DeluxeMenus release using Rhino when Java 15 first came out and that seemed to have gone decently.
Whats rhyno?
@lilac oxide,
Yeah
Oh, thanks for the help.
I was kinda curious if the checkitem expansion supports HeadDatabase skulls? If so how would I be able to check if a user has a specific skull?
I know you can define a hdb material in shopguiplus with hdb-number but is this also how it works for the checkitem expansion?
figured it out, managed to get it to work with the modifier namequal
Is the only way of actually removing items /papi parse or is there some other way to do this?
checkitem can remove items.
not just papi parse
anywhere/anytime the placeholder is parsed
deluxemenus click commands for example
yeah i think i get that part, but how do you make it so it doesn't parse, so the result isn't shown in console
wym?
If you run the parse command via Console, it will return the result to the console. If you run it as a Player, it will not show the result in the console.
Can someone help me do a custom return if value is empty?
with js?
for example %townyadvanced_town% returns nothing if player isnt a town
no just ingame I remember there being a way to do it I forgot
Id like it to return None
yeah with js
nope
this is the code tho ^
just change the value
to whatever your placeholder is
and the return
where do I put it
so basically
is there a js file in config
var placeholder = "%placeholder%"
function f() {
return placeholder === "" ? "WHAT TO RETURN IF IS EMPTY" : "WHAT TO RETURN IF ITS NOT EMPTY";
}
f();```
will give link
to js wiki
thx ❤️
hey can you help me out with doubles
var placeholders = "%townyadvanced_town_balance%"
function f() {
return placeholders === "" ? "N/A" : placeholders;
}
f();
that doesnt work %townyadvanced_town_balance% returns $234.00 for example
I assume it doesnt want to work because its not a string
because the exact same function works perfectly with town name just not town balance
how do i make custom placeholders with PAPI config
You can't with PAPI config but you can use the JavaScript expansion if you want and know a bit of JavaScript. You can learn how to use the expansion here: https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
oh I missed your message. It should work because placeholders is clearly a string not a number. you can try changing the === to only 2 ==
how to make N/A placeholders show as N/A on scoreboards or holographic displays
javascript expansion.
Hello there is a way to modify the yes that comes out on %essentials_kit_is_available_<kitname>% with deluxemenu
Link to jsk expansion
above
here
ok thanks but I can't manage to make the script
var placeholder = "essentials_kit_is_available_joueur";
var hasKit = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + placeholder + "%");
function hasKit(){
if(hasKit == "yes"){
return "&aTrue";
}
return "&cFalse";
}
hasKit();
and in the lore I put
lore:
- "Kit Joueur"
- "%javascript_example%"
and what does it say in lore?
What is wrong? [PlaceholderAPI Plugin]
java.lang.RuntimeException: Essentials API is called before Essentials is loaded.
at com.earth2me.essentials.api.Economy.getUserByName(Economy.java:65) ~[?:?]
at com.earth2me.essentials.api.Economy.getMoneyExact(Economy.java:128) ~[?:?]
at com.earth2me.essentials.api.Economy.getMoney(Economy.java:110) ~[?:?]
at net.milkbowl.vault.economy.plugins.Economy_Essentials.getBalance(Economy_Essentials.java:79) ~[?:?]
at net.milkbowl.vault.economy.AbstractEconomy.getBalance(AbstractEconomy.java:22) ~[?:?]
at com.extendedclip.papi.expansion.vault.VaultEcoHook.getBalance(VaultEcoHook.java:223) ~[?:?]
at com.extendedclip.papi.expansion.vault.BalTopTask.run(BalTopTask.java:52) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.5.jar:git-Paper-455]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.16.5.jar:git-Paper-455]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.5.jar:git-Paper-455]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_275]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_275]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_275]```
Essentials API is called before Essentials is loaded.
make sure you have the plugins: Vault and EssentialsX installed and they both work
How do I fix that then?
They do
well then EssentialsX is loaded to late
console error
[17:12:25 ERROR]: [PAPI] [Javascript-Expansion] An error occurred while executing the script 'example':
TypeError: placeholder is not a function in <eval> at line number 10
what? it says at line 10 you tried to call placeholder(); which is not a function.
How do I do it?
you don't.
the code you sent me
is not the code you have in example.yml
according to the error at least
have you done /papi reload
just to make sure it uses the last code you've made?
Hello,
I have a question.
I am currently working on a dividing my MC server into multiple mini-servers to spread out load more effectively.
I am currently trying to figure out if it's possible to do PAPI lookups between servers.
For this use case, I'd like to run DragonSlayer plugin on a single server, then have the user scoreboards displaying the next respawn time regardless of what server instance they are currently logged into
There are some APIs that say you could ask for placeholders from other servers. I can give you link if you want
but this is not possible with just PAPI.
here https://www.spigotmc.org/resources/79900/ idk how good it is
I just know it exists
yeah, I have been hunting for something that elevates them into Bungee
btw those reviews are very misleading. They thought its a plugin they can just download but its not. its an API
yeah, so I would need a plugin to interact with that API then?
sorry if i'm asking dumb questions
yeah basically you'll need a plugin that uses the API.
thanks ❤️ 😉
@austere hawk,
[19:10:59 WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.10-DEV-122 generated an exception while executing task 4903
java.lang.NullPointerException: null
Can you show the full error? (Including the spam)
the spam is more useful than you think 😉
That's all that showed ?
Dang
and when does this occur? @long crater
Seemed to occur after a vote and someone either got points or balance via vault and a holographic leaderboard updated
what expansions do you have?
- Envoys dotrar Y 3.0.0
- Server clip Y 2.4.0
- LuckPerms luck Y 5.0-R2
- Parkour steve4744 Y 6.3
- GriefPrevention pixar02 Y 1.5.2
- Vault clip Y 1.7.0
- Statz ironic_8b49 Y 1.6.2
- Player clip Y 1.7.2
- Statistic clip Y 2.0.0
- AutoRank clip Y 1.1.1
- Essentials clip Y 1.2.4
and you're 100% sure nothing else was shown? can you maybe send the log just in case you missed it?
send this
I'll reply with it when I get a second
;-;
@long crater If you are running latest versions of Statz and Autorank the expansions are not needed
that don't make sense, stop server delete the expansions and start server
I know having my expansion and latest Statz you will get errors in Papi
I have spigot version.
Can someone help me with deluxemenus requirements
?
The javascript numbers are limited to the java integer limit
like if i wanna do %tokens_balance% >= 1000
if tokens is over the limit, it does not work
how many tokens do you have?!
some people have like 10B+
how are they formatted as well
hmm maybe parse it as a long? i don't even know if there's long in javascript lmao
Idk how to do that
is there a papi placeholder to evaluate if a number is bigger than a different number?
or for operations
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,
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,
- 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
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?
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
👍
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,
Can someone help me witha code?
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
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,
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,
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
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!
the problem seems to be from the Vault expansion (Baltop placeholders)
Can someone help me?
If you explain what you need help with first.
