#placeholder-api
150650 messages · Page 124 of 151
but while parsing the placeholder it returns my basic name
I just want to be able to modify the player name inside of my plugin, but the placeholder always returns the basic name no matter what
i would like to avoid creating a mirror placeholder
I'd recommend just making your own placeholder
that displays a fake name if the player is hidden and the real name if not
in the placeholder expansion https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/PlaceholderExpansion
@Override
public String onPlaceholderRequest(Player one, Player two, String identifier) {
if(one == null || two == null)
return null; // We require both Players to be online
if(params.equalsIgnoreCase("friend")) {
if(plugin.areFriends(one, two)) {
return ChatColor.GREEN + one.getName() + " and " + two.getName() + " are friends!";
} else {
return ChatColor.GREEN + one.getName() + " and " + two.getName() + " are not friends!";
}
}
return null; // Placeholder is unknown by the Expansion
}
``` this example doesn't indeed contain the parameter "params" but just "identifier" are they just a typo and are the same or are different?
send your clans script
I already fixed it, ty )
it's just a typo, it's params
i am using TAB but i would like to have it so that my custom placeholder doesn't apply to another player if they are an admin, so if they have bypass permission they see that nametag of x is their actual name instead of the hidden one
you'll need to make a relational placeholder that either returns the target's nick or their real name if the viewer has a permission
i am already implementing relational but in this case i don't know who the viewer is
the first or the second?
well PAPI doesn't really differentiate the 2, so you could either use TAB's API instead to register the placeholder, or you could test with one and if it's wrong switch the players
seems like its not working or something
@Override
public String onPlaceholderRequest(Player player, @NotNull String params) {
if (!params.equalsIgnoreCase("name")) return null;
Optional<User> userOptional = userService.get(player.getUniqueId());
if (userOptional.isEmpty()) return null;
User user = userOptional.get();
if (!user.isHidden()) return player.getName();
return ChatColor.MAGIC + player.getName();
}
@Override
public String onPlaceholderRequest(Player viewer, Player player, String params) {
if (!params.equalsIgnoreCase("name")) return null;
Optional<User> userOptional = userService.get(player.getUniqueId());
if (userOptional.isEmpty()) return player.getName();
User user = userOptional.get();
if (user.isHidden() && viewer.hasPermission("playerhide.bypass")) {
return player.getName();
}
return ChatColor.MAGIC + player.getName();
}
i've got it like this so that i could handle the request between the 2 but it seems like it aint working i still see them with the magic effect if they are hidden even if have the bypass permission
hi there,
ever since moving our server, placeholder api keeps complaining that the previously working javascript engine is no longer supported
Java version is the same, and nothing besides the host changed
a shortcut to an answer might be "what engine jar do i need" and "where do i put it in the server directory"
Hi, I'm trying to create my placeholders through the plugin, but nothing happens when I display them. At the same time, the api registers them. It feels like the api is not requesting a function that changes the text. Here are the screenshots, that's all I changed in my plugin. Please help me, what's wrong?
@Override
public void onEnable() {
try {
if(Bukkit.getPluginManager().getPlugin("PlaceholderAPI") != null) {
new PAPI(this).register();
}}
public class PAPI extends PlaceholderExpansion {
AdventureDungeon plugin;
public PAPI(AdventureDungeon plugin) {
this.plugin = plugin;
}
@Override
public String getAuthor() {
return "as1";
}
@Override
public String getIdentifier() {
return "as1";
}
@Override
public String getVersion() {
return "1.0.0";
}
@Override
public boolean persist() {
return true; // This is required or else PlaceholderAPI will unregister the Expansion on reload
}
@Override
public String onRequest(OfflinePlayer player, String params) {
return "Work!";
}
}
[21:06:57 INFO]: [AdventureDungeon] Enabling AdventureDungeon v1.0-SNAPSHOT
[21:06:57 INFO]: [PlaceholderAPI] Successfully registered internal expansion: as1 [1.0.0]
[21:06:57 INFO]: [DecentHolograms] Enabling DecentHolograms v2.8.5
[21:06:57 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[21:06:58 INFO]: Running delayed init tasks
[21:06:58 INFO]: [PlaceholderAPI] Successfully registered external expansion: player [2.0.7]
[21:06:58 INFO]: [PlaceholderAPI] Successfully registered external expansion: statistic [2.0.1]
[21:06:58 INFO]: 2 placeholder hook(s) registered!
does as1 show in /papi list ?
Also check for /papi parse me <your placeholder> if it returns the correct value
You need to either download the JSEngine plugin you can find on Spigot and I think it'll work fine, or you can try and enable use_quick_js in your PAPI config under the javascript expansion's config options
you're always getting Player#getName(), is that normal?
still the same: ```
[PlaceholderAPI]: Failed to set ScriptEngine for javascript placeholder: scoreboard

didnt try quick js
only the plugin
also, what's your JS expansion version? (/papi info javascript)
gimme a minute its chugging with reload
cannot attach screenshots smh................
status: registered
author: clip
version: 1.5.3
"to avoid spam" wdym lmao its not even you hosting the images, its discord. pathetic
OH RIGHT theres this ecloud thing
i totally forgot about this secondary plugin system that exists next to the bultin one
yeah, the expansions
The /papi list is displayed.
Since my function does not check the content inside %%, it should output "work!" to absolutely any previously unregistered placeholder, but nothing happens. The function is simply not called.
/papi parse me %player_name% %test%
AS1AW %test%
it doesn't matter what I specify instead of %test% - nothing works.
i am using this one
%test% is not a placeholder
still cant share screenshots
placeholder syntax is %expansionIdentifier_params%, your expansion is called as1 so your placeholder would start with %as1_ followed by the parameters and end with a %
ok lets use this dumb url
i have these expansions
embed fail 👍
yes mods i will continue to be salty about your moderation choices until they make sense for the platform we are being on
hmm, I see, I haven't seen this in the guide, thank you for your help. I'll try it tomorrow, I hope everything will work.
you didn't remove the old JS expansion
Expansion-Javascript.jar
oh its that???
try to yeet it, then /papi reload and see if the placeholders work
i assume /papi reload should do now?
holy
it did
wow that was a dumb issue
thanks for ur insight
👌
i am applying magic effect if the viewer doesn't have admin permission (and if the player is actually hidden)
ah okay
then I guess just print those things in console to see if their outputs are correct
userOptional.isEmpty()
user.isHidden()
viewer.hasPermission("playerhide.bypass")
[19:17:10 WARN]: [PlaceholderAPI] Failed to load external expansion playerpoints. Identifier is already in use.
[19:17:10 WARN]: [PlaceholderAPI] Cannot load expansion playerpoints due to an unknown issue.
someone know?
yes. delete the playerpoints expansion
there is no need to use that expansion anymore
since u can use the placeholders directly from the plugin itself
thx
np :d
now that you make me think about it i think i forgot to add the user to the map
is there a placeholder for player ping?
%player_ping%
in the end the code was right
so what was wrong?
idk cuz i still havent fixed it lol
yep doing it rn
how can i test the relational?
@Override
public String onPlaceholderRequest(Player player, @NotNull String params) {
if (player == null) return null;
if (!params.equalsIgnoreCase("name")) return null;
pluginLogger.info("Placeholder is structured correctly");
Optional<User> userOptional = userService.get(player.getUniqueId());
if (userOptional.isEmpty()) {
pluginLogger.info("User is not registered in memory");
return null;
}
User user = userOptional.get();
if (!user.isHidden()) {
pluginLogger.info("Player is NOT hidden");
return player.getName();
}
pluginLogger.info("Player is hidden");
return ChatColor.MAGIC + player.getName();
}
this is my current placeholder without rleations
and its being queried with no problems
but i see that the relational one between 2 players is not
is there a command to test such as /papi parse
/papi parserel player1 player2 placeholder
for TAB, the first player is the viewer and the second is the target
if (!params.equalsIgnoreCase("name_relation")) return null;
this should make it such as %playerhide_name_relation%?
yeah
strange its dying there
if the expansion's identifier is playerhide
yep it is
btw relational placeholders require rel_ in front of the identifier
a
ight ill test some things out xd
is there any placeholder that cuts the first 7 first letters of a word?
probably formatter expansion? but idk how to use it tbh :/
oh nice thank u ;d
[13:36:51 WARN]: [PlaceholderAPI] Failed to load external expansion playerpoints. Identifier is already in use.
[13:36:51 WARN]: [PlaceholderAPI] Cannot load expansion playerpoints due to an unknown issue.
fix
yes fix. delete the playerpoints expansion cause its not needed anymore :/
the plugin itself has the placeholders now
Owner of the placehoderapi plugin, can you add the command uninstall placehoderapi so as not to constantly turn off the server?
function tf{
if (ask) {
return "True";
} else {
return "False";
}
}
tf()
No xD
I'm from the phone, I'm sorry)
Np buuut
There is a %javascript_% placeholder
And I want to do something like
If %world%==Something
It should return a true
Else false
%world%==Something
that's all you need to do
XD
well
%player_world% and put text in " " but yeah
for example "%player_world%"=="world"
or BukkitPlayer.getWorld().getName() instead of "%player_world%"
both work
Why is griefprevention and playerpoints expansion not found to download?
there is no need for a playerpoints expansion since the plugin itself now has the placeholders
it seems that u have to download it manually https://api.extendedclip.com/expansions/griefprevention/
Thanks it worked. Weird its not "verified" anymore
yeah when they get updated they have to be re verified
ah ok good to know
Is there a placeholder that gets the 4 digit uuid of a player?
https://www.soltoder.com/mc-uuid-converter/ for example the 4 digit part of this tool
-1953028026,-856931226,-1240793240,-1598231354
something like that
haj o/
any help? xd
[01:09:59 WARN]: [PlaceholderAPI] [math] Placeholder: %math_{online}-{staffonline}%
[01:09:59 WARN]: [PlaceholderAPI] [math] Cause: '{online}-{staffonline}' is not a valid Math expression.
it says whats wrong 💀 the {online} and {staffonline} arent valid placeholders
and therefore they cant be parsed
aaa right :/
maybe {server_online} instead of {online}
and for the staff idk, possibly playerlist expansion, or..via another plugin like essentials :/ ?
yeaaaa... omg.. online is placeholder from just tab plugin...
mhmmm
dw its 3 for me
btw someone know why in papi, skript extension no longer available?
/papi ecloud download skript
Failed to find an expansion named: skript
Hey all,
Any idea why I could be getting this? Not had this before and everything has been working perfectly...
30.11 09:20:45 [Server] WARN Failed to load external expansion votingplugin. Identifier is already in use.
30.11 09:20:45 [Server] WARN Cannot load expansion votingplugin due to an unknown issue.
30.11 09:20:45 [Server] WARN Failed to load external expansion playerlist. Identifier is already in use.
30.11 09:20:45 [Server] WARN Cannot load expansion playerlist due to an unknown issue.
u probably have 2 jars in your expansions folder
nothing to worry about it tbh but u can delete the old jars
I need to create a javascript to forward %test_abc% to %test2_abc% (only change the first part)
hello
why %staff_online% not works
Previously it was a placeholder for the Essentials plugin and it worked, but now it doesn’t. I didn’t find a similar one in the list of placeholders
Whats the relation thing do?
It is a way to create placeholders to represent the relation of two players. E.g. if you have a placeholder for "faction type" that can be either Ally, Own faction, Enemy or Other, you can use relational placeholders for this, since normal placeholders can have a single result for a single player regardless of who is viewing them.
that is not a valid PlaceholderAPI plugin, here's a list of most available placeholders https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders
I'm not sure what you're looking for, can you provide more details ?
Got something from chatgpt
`function similarity(s1, s2) {
var longer = s1;
var shorter = s2;
if (s1.length < s2.length) {
longer = s2;
shorter = s1;
}
var longerLength = longer.length;
if (longerLength == 0) {
return 1.0;
}
return (longerLength - editDistance(longer, shorter)) / parseFloat(longerLength);
}
function editDistance(s1, s2) {
s1 = s1.toLowerCase();
s2 = s2.toLowerCase();
var costs = [];
for (var i = 0; i <= s1.length; i++) {
var lastValue = i;
for (var j = 0; j <= s2.length; j++) {
if (i == 0)
costs[j] = j;
else {
if (j > 0) {
var newValue = costs[j - 1];
if (s1.charAt(i - 1) != s2.charAt(j - 1))
newValue = Math.min(Math.min(newValue, lastValue), costs[j]) + 1;
costs[j - 1] = lastValue;
lastValue = newValue;
}
}
}
if (i > 0)
costs[s2.length] = lastValue;
}
return costs[s2.length];
}
var text1 = args[0];
var text2 = args[1];
var percentSimilarity = similarity(text1, text2) * 100;
percentSimilarity.toFixed();`
Hello! I have a problem. My Chat doesnt show up the DeluxeTag I have, I already used {deluxetags_tag} in the essentials config.yml
?tagess
@junior musk what java version is your advancedbungeecord expansion compiled on? i'm using java 8 and it gives me an error thats its compiling on something else
17
What placeholderapi check inventoryfull ?
player expansion
%player_has_empty_slot% with yes/no and %player_empty_slots% with integer value
hlo
can anyone tell me how to fix this
how to download ecould of grief protection
@mint fable
why there is no placeholder of griefprotection
manually from here https://api.extendedclip.com/expansions/griefprevention/
where should i add this
PlaceholderAPI/expansions
also if u have an older version of it make sure to delete that one
thx for helping
np :d
i found a checkitem bug
or error with my mind i need help
%checkitem_inslot:0_nbtstrings:ae_enchantment;mirror=1%
i move the item all around my inventory and it returns true 🤯
but if i remove item it returns false
yep its not a bug :/
yes im trying with nbtints now
u can try the _enchantments:?
idk if this plugin registers it
%checkitem_inslot:0,nbtstrings:ae_enchantment;mirror=1%
you had a _ where you needed a ,
possible error
integer?
could it be the ;
use nbtints
yeah i did
can you hold the item and type /data get entity @s SelectedItem
send picture here
?imgur
hmm, sadly I don't think you can
yeah, currently you can't
can open an issue, idk when I might have time to add it tho
i believe i have fixed it on my end but im just toooo lazy to compile it right now.
https://github.com/Skullslice/CheckItem-Expansion/commit/df51387b2889a96403f54ef51d659951ecdff27e
and idk if i have to fix the _ too. i guess it is fine because all the startswith is mapped out
And the same when using the placeholder in a hologram
u probably need to download the latest version of the Player expansion, also that placeholder returns the language that the user has on minecraft
or smthing like that
can anyone tell me what is the placeholder for colored ping?
%player_colored_ping%
Greetings! Question! Can we do the following?
Number of available rights: %luckperms_right_%
Number of available rights: %luckperms_badge.player%
will give us
Number of rights available: 10 out of 20
haello
does anyone know how to create a custom placeholder with bukkit api?
i can create cstom placeholders, but i am trying to do something like this
%custom_isMuted_<playername>%
I occupy it
I deleted and redownloaded the expansion and it's still the same
then it probably has an issue :/
open a report here https://github.com/PlaceholderAPI/Player-Expansion/issues
oh it has already been reported by someone else
But before it worked for me I think
Any solution?
Isn't it necessary to update the placeholder for 1.20.2?
@junior musk i am download placeholderapi and see
i am type papi ecloud download Grief Prevention
but grief prevention is not showing
and not working
pls fix
@junior musk
try without the space
GriefPrevention in one word
/papi ecloud download GriefPrevention
and then /papi reload
ah nevermind
the expansion isn't verified
you have to download it manually: https://api.extendedclip.com/expansions/griefprevention/
@junior musk i am type /papi ecloud download GriefPrevention
not working
error-failed to find an expansion named GriefPrevention
@junior musk
he told u that u have to download it manually
;-;
4 pings
4
and you expect me to answer
and I even told you that you have to download it manually
and gave you they link to do so
man learn how to read and how to be a decent human being
I can't even go to bed in peace
hello! i've run into an issue with updating the total player counts in a bungeecord network of servers. i've been trying to get the hub world's player list (on a scoreboard) to update with the number of people in each gamemode, like "Players in Creative: #/60." however, none of the totals seem to update when someone logs in. is there a way to have placeholderapi refresh the total when a player joins the hub world?
edit: never mind, solved it. just needed to change the placeholder to the bungee expansion
@junior musk hello bro
goodbye
If I fork bungee, and add some placeholders, and then publish it under the same name, will my version overwrite the default bungee expansion?
you can't publish an expansion with the name of an existing one
you can fork the expansion, make a PR and wait for someone to merge and publish it on the ecloud
or you can make your own fork separated from the current one and call it something else like Bungee2 or Bungee-Updated idk
ok

:(( does anyone know
How do I make the first letter of a text, the letter after a period capitalized
For example "helo. bye" -> "Hello. Bye"
you can try %string_sentencecase_<string>% but not 100% positive
it doesn't mention anything about periods
@austere hawk
What is the string capitalize for?
still bump... have been trying for weeks, removed all plugins, all expansions everything and nothing still works
Greetings, I need help!
I downloaded the CheckItem PlaceHolder and want to detect if the player has this item in their inventory:
minecraft:rabbit_foot{CustomModelData:501002,display:{Name:'{"text":"FloxyCoin","color":"yellow","bold":false,"italic":false}',Lore:['[{"text":"Vrednost: 10 ","color":"gold","italic":false},{"text":"\\uE018","color":"white","italic":false}]']}}
I need this for DeluxMenu shop, because I create custom items shop.
How do I detect if the player has this custom item with the nbt tag when he clicks on the box in the deluxe menu?
None of my placeholders seem to want to work.. I have screenshots, how can I send those?

haha thanks

do u have placeholderapi installed tho? 🤨
Of course xD
are the expansions up to date?
yes , odd right
whats your papi/server versions
2.11.5 Papi / 1.20.2
hmm do u have any console issues when u do /papi reload?
ope
one second
okay now its just the grief prevention not working and my max players online not working
for the grief prevention download the latest version from the ecloud
then place it in the expansions directory right
How do I make it so when I hover my empty map over an item and click on the item with the empty map, it will make it so I can rename that item?
But I only want it to be able to rename tools, weapons, armour ect nothing like blocks, feathers and stuff
when this placeholder plugin will be verified? https://api.extendedclip.com/expansions/griefprevention/
cause i can't use in my aternos server
so please see it
@agile carbon verified it for you
@plush dove not anymore, that was removed in a recent update for security reasons
okay
👍
With PAPI is it possible to combine online players of two servers in a placeholder ?
Yes it is!
'&f&lPlayers: &e%math_0:1_{bungee_event_server1}+{bungee_event_lobby1}%/250'
Something like this should work!
Thanks Ill try it
hey i want to add [console] kit nethpvp <playername> this command in my menu left-click command but i don't know why <playername> is not working basically i wanted to give player a kit with kit nethpvp <playername> but it's not working.
can anyone help me out ?
use %player_name% or %player%
make sure to install player expansion
aye thanks bro worked

PlaceholderAPI alone is taking up 100% CPU. I have tried resetting the file but only with the PlaceholderApi plugin it is taking 100% of the CPU.
If you do a timings report you should be able to pinpoint which expansion is causing it
Hi there. I am writing about Deluxemenus. I am not familiar with coding, so is there any video I can see how to make a game menu? Or anybody wants to share a template with me?
That's not coding, you can read all examples in DeluxeMenus wiki including explanation for all features/options, take a look, it really helps
🙄 yaml is a programming language!
ofc its coding 🙄
i code deluxemenus guis every day too

nice bio btw
alonso should be banned for his bio in general :/
i ve been rick rolled 3 times from him
nah that's actually genius
i hate him for that 💀
I am trying to parse this placeholder, basically I want to show the number formatted only if it is above 10k
this is the placeholder and output if I am above 10k
%changeoutput_>=_input:{duels_wins}_matcher:10000_ifmatch:{formatter_number_shorten_{duels_wins}}_else:{duels_wins}%
OUTPUT
{formatter_number_shorten_{duels_wins}}
Any idea?
Did you solved? I am also tring to do this

is there any way so i can make the %player_name% or any kind of placeholder return a value in small capital? ʟɪᴋᴇ ᴛʜɪs!
what were you trying to go to 🤨
has this been changed ever since? :/ cause i cant make it to work now
nothinggg
nvm it seems that it simply doesnt work with placeholders :/
cause it doesnt change the result from the parse
Has anyone here had experience in properly mocking placeholder api for unit testing purposes?
Or knows a opensource plugin on github where i can take a peak 👀
You can do it with my expansion here: https://builtbybit.com/resources/customfont-placeholderapi-expansion.29406/
it ain't worth buying from bbb for me :/ cause the tax in my country is huge
same one is on polymart if that helps
hell yeah send link in dm
Yo
Can anyone help me fix placeholderAPI for my minecraft server
It doesn't seem to load the 'player' and 'server' expansions when trying to use %player_name% and %server_online% on a npc
(ignore if it was not what you were looking for, i just woke up)
goodmorning
mmm gifs should be allowed ¬¬
Hi
Hi. Please help me to check the required potion in the Deluxemenu plugin
I tried to do it through CheckItem but I can't figure it out
what did you try with checkitem?
%checkitem_mat:potion,potiontype:SPEED,potionupgraded:true% this example should return yes/no dependant on if you have a Speed 2 potion or not
/papi parse me %formatter_number_format_{math.calc:1.5*{betonquest_coalQuest:point.QuestCompletions.amount}*10000~0}%
This command doesn't seem to work, am I calling the math placeholder inside the formatter incorrectly?
this works
/papi parse me %formatter_number_format_{math_1.5*10000}%
but this doesn't
/papi parse me %formatter_number_format_{math_1.5*{betonquest_coalQuest:point.QuestCompletions.amount}*10000}%
can we not use placeholders, inside placeholders, inside placeholders?
is there any way to check if placeholder is null with ChangeOutput?
Hello, is there an issue with %statistic_mob_kills%? when killing a mob, the placeholder value increases by 2, not 1. any advice? thanks.
the only way to do this would be with the Utils expansion
/papi ecloud download utils
/papi reload
%utils_parse_formatter_number_format_{math_1.5*{betonquest_coalQuest:point.QuestCompletions.amount}*10000}%
by null, you mean it returns nothing right?
%changeoutput_equals_input:{your_placeholder}_matcher:_ifmatch:text empty_else:text not empty%
yea thanks
any mob?
Hey does placeholderAPI support kyori components?
PAPI placeholders return strings
all depends on how those strings are interpreted in the plugins that parses those placeholders
I'm asking if I should use miniplaceholders or more known placeholder api. I want to use placeholderapi on my gui system (on paper). It only depends on if I should create own handler or not to support placeholderapi
depends on what you're planning on doing, PAPI's whole purpose it for people to register placeholders into PAPI, and use them in other plugins
though if everything you're doing is only ever within your own plugin,and you don't plan on making it go public, then I don't think you need PAPI
basically to receive information from others. I'm making a gui parser/loader where you can create own json files and then it sets the placeholders for the player in the gui. Basically simple GUI Api and a simple plugin to make custom guis.
Might be worth it to do it
Kyori is used in metadata in items
yeah
sexy
as long as the placeholder supports it
yuh yuh (i hope)
is this not how u do it :/ ?
%utils_parseother:{superior_island_leader}_{score_variables_island-wheat-deposited}%
[]
[superior_island_leader]
but yeah, I made it that because of the _
didn't know how to make it work otherwise
aaa makes sense
can u spot where my issue is here?
%utils_parse_progress_percentage_{utils_parseother:[superior_island_leader]_{score_variables_island-wheat-deposited_int}}_m:2500_d:2%
it the { { } { } } even possible :/ ?
i ll use the shortcuts expansion, this is annoying
the utils on the outside parses the placeholders first
so yeah, you'd need to use the parseother in a shortcut, and use that shortcut in the normal parse
or you'd have to escape the inner { and } with a \ in front of them
of that works in placeholders too?
i ended up using the shortcut

correct, killing any mob makes the placeholder increase by 2.
hmm, any mob related plugins?
that's a known thing tbh
use the math expansion %math_0_{placeholder}/2%
that also happens w mined blocks
you're a legend bro thank you so much!!
Is there a pleshoder that shows how much your slots cost in server.properties?
What placeholders do I have to use to know how many people are on my server?
%server_online%
thanks
Hi! Can I use a placeholder in a placeholder? Like %formatter_number_from:%num1%_to:%num2%%
{} instead of %%
Thanks, and in this situation?
%changeoutput_equals_input:{luckperms_group_expiry_time_{luckperms_highest_group_by_weight}}_matcher:_ifmatch: never_else:
{luckperms_group_expiry_time_{luckperms_highest_group_by_weight}}%
/papi ecloud download Utils
/papi reload
%utils_parse_changeoutput_equals_input:{luckperms_group_expiry_time_{luckperms_highest_group_by_weight}}_matcher:_ifmatch: never_else:
{luckperms_group_expiry_time_{luckperms_highest_group_by_weight}}%
Thank you so much! ❤️
im creating a plugin, i registered a expansion but always give this error [16:10:50 ERROR]: [PlaceholderAPI] Failed to load expansion class SuperPlugin-1.0-SNAPSHOT.jar) (is a dependency missing?
send the complete error
[16:10:50] [ForkJoinPool.commonPool-worker-2/ERROR]: [PlaceholderAPI] Failed to load expansion class SuperPlugin-1.0-SNAPSHOT.jar) (is a dependency missing?
[16:10:50] [ForkJoinPool.commonPool-worker-2/ERROR]: [PlaceholderAPI] Cause: VerifyError Cannot inherit from final class
show some code
the plugin code?
yes
@Override
public String getIdentifier() {
return "superplugin";
}
@Override
public String getAuthor() {
return "WhyleMAX";
}
@Override
public String getVersion() {
return "2.3";
}
@Override
public String onPlaceholderRequest(Player player, String identifier) {
if (player == null) {
return "";
}
if (identifier.equals("mundo")) {
return player.getWorld().getName();
}
return null;
}
override canRegister and return true
still with the same error
apparently Override does nothing
not nothing, but essentially nothing
learned that the other day lmao
i said the same thing
||Also I realize you were talking about code that you couldn't see or didn't exist yet, not the Override annotation itself||
🤦
hello, is there a way to parse a placeholder in code?
like
/papi parse me %placeholder%
but from code
?
Hey i had a Bungee server with Holographic Displays, but now i must use decent holograms:
Back in the day i had My placeholders like this:
`SA-1:
lines:
- '&b&lSurvival &e&l[TEMP] &r &f&l1.19.4'
- '&f&l{online: SA-1}/{max_players: SA-1} ✦ {status: SA-1}'
position:
world: world
x: 0.46190620275070854
y: 53.0
z: 10.522272230021116`
But now that doesent works
It looks like this: {online: SA-1}/{max_players: SA-1} ✦ {status: SA-1} and not: 0/20 Online (/offline)
I tried to use the Bungeecord API (https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#bungeecord) PS: I also downloaded it with /papi ecloud download Bungee:
That works, BUT; i can just show the players on the SA-1 server and ALL PLAYERS on the whole Bungee Network,
how can i show:
{online players on SA-1} / {maxed players on SA-1} + {status of SA-1: Offline/Online}
offline players?
aaaaaa
if the server is online or offline
yeah
i want that my players know how much players are on the server, how much could be maximum and if the server is Online or offline
honestly i ve got no idea for the offline / online
i tho the bungee expansion could do it but i guess not
aaa
u can use the pinger expansion
and for the MAXED players on the specific bungee server
in the plugins folder?
ah ok
and then ig %pinger_online_<ip> / %pinger_max_<ip> %pinger_isonline_<ip>
do that also work for DEcent holo
ye ik i just said that
because they have not an expansion folder
rightnow i did the %pinger_online_<ip> / %pinger_max_<ip> %pinger_isonline_<ip> , but it says:
Online / 20 ✦ Online
a friend joined on the specific server and it doesn't changed, it just looked: **Online / 20 ✦ Online ** Could you help me there too? 🙂
aaa the first should be %pinger_players_ip%
Dumb questions as pings are server based, but is there a placeholder that will show the online status of a world?
online status of a world?
of a world its not possible
of a server yes
Correct, just curious since you can pull player counts from worlds.
I am aware, hence why I said it was a dumb question. I pretty much just needed response to prove to someone else. There is because we can restrict access to a world which in theory makes it "offline" but the world is a part of the server so if the server is offline then so is the world.
there might be a workaround tho
how exactly do u want the world to be flagged as offline?
if there are no players in it?
if the user doesnt have a permission to access it?
it would need to be done through however ur restricting access to the world
the plugin would need to provide a placeholder showing that
Hello, can someone please help me with our current changeoutput placeholder? By default all players have player ranks. We are trying to make it so, if a player that has a donator rank, and also has a tag eqipped, then only the donor rank and tag will show, no player rank. I have attached our current placeholder below, but for non-donor players if they have a tag eqipped it only shows their tag and not the player rank. Can someone please help us to achieve if the player has donor rank and tag, only those two will show no player rank, but if a normal non-donor player has a tag eqipped, it'll show both their player rank and tag?
%changeoutput_equals_input:{eternaltags_tag}_matcher:_ifmatch:{luckperms_prefix_element_highest_on_track_donator}{luckperms_prefix_element_highest_on_track_player}_else:{luckperms_prefix_element_highest_on_track_donator}{eternaltags_tag}
send a screenshot of /papi parse me %luckperms_prefix_element_highest_on_track_donator
and /papi parse me %eternaltags_tag%
?imgur
How do I make my own placeholder?
(If this helps it changes based on the worldguard region the player is in)
this already exists in the worldguard expansion
https://api.extendedclip.com/expansions/worldguard/ %worldguard_region_name%
but can u make it display a custom name instead of the name of the region
thats what im asking
@sharp bloom ?
thx
Here you go 🙂 https://i.ibb.co/XpqMQF4/image.png
Does anyone know how I could configure a menu to display AIR if someone isn't wearing armour in an armour slot?
right now it works to show the armour they are wearing but if they don't have anything in the slot it just shows stone
Here's the code i have atm:
` boots:
material: armor_boots
display_name: "&7Boots (%armor_material_BOOTS% || Naked)"
slot: 34
lore:
- "&7Name: &e%player_armor_boots_name%"
- "&7Durability: &e%player_armor_boots_durability%" `
@steady urchin what does /papi parse me %player_armor_boots_name% return when you have no armor
what about /papi parse me .%player_armor_boots_name%.
..
ok
boots:
material: armor_boots
display_name: "&7Boots (%armor_material_BOOTS%)"
slot: 34
priority: 1
view_requirement:
requirements:
hasboots:
type: '!string equals'
input: '%player_armor_boots_name%'
output: ''
lore:
- "&7Name: &e%player_armor_boots_name%"
- "&7Durability: &e%player_armor_boots_durability%"
noboots:
material: AIR
slot: 34
priority: 2
@steady urchin
ah
cheers!
oh I have a question about a luckperms track which I'm trying to use with deluxe menus to shown the user's group, but i can't seem to get it to parse the name of the group
/papi parse me %luckperms_prefix_element_highest_on_track_corporations%
this is the command I am using to trying and see what the highest group is on the track corporations
but it is doing the same thing where it just outputs the blank line
what should it be returning
I have assigned myself to the group AlphaSoft, which is the first in the track corporations, so logically it should be returning alphasoft, but it just doesn't seem to return anything
I've tried a few different ways to do it, but none are seeming to work
and AlphaSoft's prefix is set to alphasoft?
yes
shows in your chat if you have it enabled?
hmm
I would maybe try the luckperms discord
ok i will ask them, thank you for your help
and yes it was showing up in chat, which is why i was confused lol
right
how can i do
%otherplayer_health_<player>%
like this?
%otherplayer_health_{placeholdername}%
Hi! Can i get a quick example how to make a shop item that can be reedemed only once for free?
"quick example" and "shop" don't belong in the same sentence 
if you want the idea of how it would be done: you give the player a permission or a meta in your click_commands, and then you add a click_requirement which checks if the player doesn't have that permission (or meta)
item0:
click_commands:
- "[message] Hi"
- "[givepermission] myshop.item0"
click_requirement:
requirements:
clicked:
type: "!has permission"
permission: myshop.item0
Try parseother placeholder
Is meta a vanilla mc data value? Because I believe it's stored on the player data, right?
not really Vanilla, it's Spigot but yeah
it was added in 1.14.4
or just 1.14, I forgot
if you want to use meta instead of permissions, here's the action syntax https://wiki.helpch.at/clips-plugins/deluxemenus/options-and-configurations#actions-types
and the requirement syntax https://wiki.helpch.at/clips-plugins/deluxemenus/options-and-configurations/requirements#has-meta
i don't understand parseother logic :C can i have some example for this?
%parseother_{playerOrPlaceholder}_{player_health}%
both work and both require a player name or a placeholder returning a player name
not like this? %parseother_{username}_{player_health}% isn't work
oh shit deafult placeholder is not work
working well %parseother_{player_name}_{player_health}%
%parseother_{username}_{player_health}%
this doesn't work because username is not a placeholder
it's literally parsing %player_health% for the user: username
Hey Tanguygab, can you please let me know if you were able to figure this out? It'd help a lot 🙂
#placeholder-api message
oh I didn't see, my bad
can you also send the output of
/papi parse me %changeoutput_equals_input:{eternaltags_tag}_matcher:_ifmatch:{luckperms_prefix_element_highest_on_track_donator}{luckperms_prefix_element_highest_on_track_player}_else:{luckperms_prefix_element_highest_on_track_donator}{eternaltags_tag}% ?
No worries! With this placeholder, it removes the player rank if they dont have a donor rank, so it just shows the tag
When a player doesnt have a donator rank, i'd like it to show the player rank and tag, but if the player has a donator rank and they have a tag eqipped, then it should show the donator rank and tag, if the donator doesnt have a donator tag then itll show the donator and player rank.
Currently, if a player doesnt have a donator rank but a tag eqipped, it only shows the tag, and if they have a donator rank and tag eqipped, it shows correctly of the donator rank and tag. The only problem is when the player doesnt have a donator rank and it showing only the tag
Not sure if that is possible with the changeoutput placeholder
is the changeoutput placeholder not working?
Protectors is the tag name, and legend is the donator rank name
Yes but in the 1st one where it says "Protectors", I didnt have a donator rank, I'd like it to show the player rank and tag
then why use ChangeOutput at all?
%luckperms_prefix_element_highest_on_track_donator% %eternaltags_tag%
wouldn't that show both your rank & your tag?
Because I'd like to have max 2 prefixes, so donator rank & player rank, donator rank and tag, or player rank and tag
Yeah thats the issue, having three for players who are donators takes up a lot of space on the tab and in chat
Yeah 😛 if it isnt possible I wouldnt mind just using only donator or player instead of having both
function getPrefix() {
var donator = "%luckperms_prefix_element_highest_on_track_donator%"
var player = "%luckperms_prefix_element_highest_on_track_player%"
var tag = "%eternaltags_tag%"
if (donator == "") return player+" "+tag
if (player == "") return donator+" "+tag;
return donator+" "+player
}
getPrefix()
Oh wow thank you!! I tried this out, it works for when a non-donor adds a tag and when a donor has both donor and normal rank, but when a donor equips a tag it still shows only the donor and player rank instead of donor and tag rank
https://i.ibb.co/Mf7tqbs/image.png
Sorry!
For non-donor player:
Player rank and tag will show
For Donors:
Donor rank and player rank will show, unless they have a tag eqipped, then only donor rank and tag will show
I can pay as well, just lmk your paypal or something in DM and can send it over 🙂
you just need to swap the tag and player then
like this?
if (player == "") return donator+" "+player;
return donator+" "+tag
I asked chatgpt haha:
function getPrefix() {
var donator = "%luckperms_prefix_element_highest_on_track_donator%";
var player = "%luckperms_prefix_element_highest_on_track_player%";
var tag = "%eternaltags_tag%";
// For non-donor players
if (donator === "") {
return player + " " + tag;
}
// For donors
if (tag !== "") {
// If tag is equipped, return donator rank and tag
return donator + " " + tag;
} else {
// If no tag is equipped, return donator and player rank
return donator + " " + player;
}
}
getPrefix();
Works as intended
I can still pay for helping though, let me know if you would like me to send something over 🙂
Hello, I wanted to ask about the "statistic extension" since I want to make a tab in Minecraft, however, when I put the %statistic_player_kills% so that it reads the kills, it does so and uploads them little by little, but I want to reset them and I don't know how do it, could someone help me? thank you
can do have a countdown via placeholder api? like %countdown_20mins%
Placeholders only return text
So you would need to find an expansion that allows you to countdown to a specific date/time
Or use the javascript expansion and script it yourself
conveniently, there is a community script for this
https://github.com/PlaceholderAPI/Javascript-Expansion/wiki/Community-Scripts#difference-between-2-dates
@jolly field
how would i be able to select an world in the menu?\ for DeluxeMenus
thank you so much i perfectly understand
is there way to have something counted on server? like if a player jumps starts a counter using placeholders? and every time he jumps counter goes up... i want to log every time someone mines something custom or wins a reward...
Heya, I'm trying to hook into PHAPI, but I'm having trouble.
I've imported, put my dependency in my pom.xml, and put the depend in the yml, but everything is throwing errors at me. Any help? A bit new to java. My IDE is intellji community.
This is one of the errors it gives when I build the project.
Failed to execute goal on project su_hud-2.dr10: Could not resolve dependencies for project org.dragonsrule10:su_hud-2.dr10:jar:1.0: Failed to collect dependencies at me.clip:placeholderapi:jar:2.11.6-DEV-186: Failed to read artifact descriptor for me.clip:placeholderapi:jar:2.11.6-DEV-186: The following artifacts could not be resolved: me.clip:placeholderapi:pom:2.11.6-DEV-186 (absent): Could not transfer artifact me.clip:placeholderapi:pom:2.11.6-DEV-186 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [placeholderapi (http://repo.extendedclip.com/content/repositories/placeholderapi/, default, releases+snapshots)] -> [Help 1]
2.11.5 is the latest available version on the repo
Okay, I'll change that and get back to you. But also, when I import it, it throws an error saying it doesn't know what it is.
"package me.clip.placeholderapi does not exist"
You'd need a plugin or PAPI expansion that tracks that and return the player's data through placeholders
it will do if it cant find the dependency
paste ur pom.xml
?paste
Pasted.
i love how people always forget about that part 💀
I thought it was like a live update mb
u got this!
gg gj
isn't it me.extendeclip?
fine
nvm, me.clip is correct
yea about to say lol
try with https
uh.... whats that mean lol... im like really new to java, and intellji


and that is why I don't bother with Maven anymore 
maybe you need to run maven clean ?
I've tried gradle... not my favorite at all lol
have u refreshed maven?
Lemme try that.
wuuuut, it's so much better tho ;-;
gradle doesn't even load properly for me 💀
^

[WARNING] Failed to download placeholderapi-2.11.5.pom [https://repo.papermc.io/repository/maven-public/]
[WARNING] Failed to download placeholderapi-2.11.5.pom [https://oss.sonatype.org/content/groups/public/]
^ Error when I refreshed maven.
almost 800 
did it not find the PAPI repo ? o_O
change the https back to http and refresh again
So I'm able to use the Papi now... but now its not detecting the luck perms primary group
I have the extention installed.
Stringed it:
String luckpermsPrimaryGroupName = "%luckperms_primary_group_name%";
And put it here:
Score score4 = objective.getScore(ChatColor.AQUA + "Global Rank: " + luckpermsPrimaryGroupName );
But it still outputs "%luckperms_pimary_group_name%" and not the actual group name.
(I know chat color is dep but idc)
u need to use PlaceholderAPI.setPlaceholders to actually parse the placeholder
so PlaceholderAPI.setPlaceholders(Player, "%luckperms_primary_group_name%")
which also mean you'll need to create a different scoreboard with their own scoreboard scores for each player
wait.. so like this?
String luckpermsPrimaryGroupName = PlaceholderAPI.setPlaceholders(Player, "%luckperms_primary_group_name%");
ew
yeah, just make sure to change the Player to whatever ur player variable is actually called
cant I just call the player bukkit ... player ?
?
bukkit.entity.Player;?
that's the class path?
you import it yeah
but then you need to have a Player instance
wait... i think I'm calling it the wrong thing.
and use that in Placeholder.setPlaceholders
Do I get the players UUID or the players name?
Its saying I have to getServer first...?
you can either use Bukkit.getPlayer() or Bukkit.getServer().getPlayer(), yeah
idk why both exist but they both do the same
String luckpermsPrimaryGroupName = PlaceholderAPI.setPlaceholders(Player, "%luckperms_primary_group_name%");
Player Player = getServer().getPlayer(UUID.fromString());
"Illegal forward refrence" ...?
though this channel is for help with PAPI, if you need help with plugin dev, please use #development
true
if you do that, you need a string with a player's UUID in it
otherwise it'll throw an error
since you didn't provide a valid UUID
does this support folia yet at all
i see theres work that has been done on github but i am unaware of any papi builds for it yet
No
alr
Hello, so I have a same issue as a person had here with parsing a placeholder without color codes, but i cannot seem to make this to work, I did everything as it was said in the conversation.
https://imgur.com/a/LpiAIUm
Any ideas how to check how many players in total have at least 1 score in some scoreboard objective? I have %objective_scorepos_{bosskilled}_{1}% which is checking score of first place, but how to get at which place score becomes 0?
I think something like repeating for each number (starting from total unique joins to 1), using it in %objective_scorepos_{bosskilled}_{#}%, stop when it returns 0 score, and get the repeat index, but I have no idea how to code it in javascript
args[0].replace(/\{#[a-f0-9A-F]{6}\}/,"")
thank you ♥️
If I understood what you want correctly, you have the right logic
function getNextScore() {
var max = BukkitServer.getOfflinePlayers().length
for (var i=0; i < max; i++) {
var score = PlaceholderAPI.static.setPlaceholders(BukkitPlayer,"%"+"objective_scorepos_{bosskilled}_{"+i+"}%")
if (score == 0) return i
}
return -1
}
getNextScore()
I came up with this, I think it does what you want, let me know if it works
and here's how to install the JS expansion just in case: https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
Is it possible to get player's control key as placeholder? I need to tell player to press Q (drop item), but some players change Q to something else which leads to confusion
Not with papi, but if the plugin where you want to do this supports MiniMessage there's a keybind tag
I think yes
[LocalTime] Couldn't get mario638's timezone. Will use default timezone.
Does Essentials support PAPI?
it doesn't as far as I know
damn
not much we can do about it 🤷
maybe one day they'll finally decide to add 1 line of code to their plugin
well maybe it's more, but I doubt it would be that complicated

Hi, I'm using Javascript 1.4.1 In 1.16.5, I need help creating a placeholder to parse the message where I specify. I also need to multiply the number of placeholder %bungee_total% by 2 times.
pls
%math_0_2*{bungee_total}%
Javascript please
🤷🏻♂️
example
var clan = parseInt("%bungee_total%");
function check() {
var flan =clan * 2;
return flan | 0;
}
check();
?
message output when reach specify number ?
Multiply online by %bungee_total% x2 times
These are different files that should be file.js
No, just display the message in %javascript_name%
For example
Survival-1
why do you need to use JS? you could just use Math
JS will just make it less performant xD
and you already came up with the entire script here anyways so what else do you need us to do?
that doesn't really explain much
I want this to work via javascript placeholders, if it works I will be very grateful
why do you need JS?
and you already have the script
This doesn't work on Javascript 1.4.1
weird but still doesn't explain why you absolutely want to use Javascript instead of simple Math
Please do what you think is right, but make sure it works
this
yes
this works 100% and doesn't need JS
and is also a lot more performant, efficient, simple and cleaner, than if you used JS
/papi ecloud download Math
/papi ecloud download Bungee
/papi reload
?
Hello
How i can make a topbal leaderboard with Essentialsx which placeholders i have to use
use the essentialsx expansion https://api.extendedclip.com/expansions/essentials/
I can't find because there is no explanation pls can you give me placeholders for it
wym there is no expansion i gave u the link for it
%essentials_baltop_balance_<rank>% %essentials_baltop_player_<rank>%
@broken locust you having issues with checkitem?
if so, can you try updating the expansion first, and if that doesn't work, please provide the exact placeholder you are having an issue with
I'll try that
I have an odd request. I'm trying to get the X Y Z position of the closest mob to a player as placeholders (for use within another plugin). I'm not much of a Java coder, so the best I've come up with is using the the Skript placeholder plugin to get the values. I can use Skript, but wanted to ask if I am overlooking something obvious?
I don't know any placeholder that does that so I think it's fine
Thanks! Just wanted to run it by someone else who would know better
Hey, is there a list of all available placeholders?
Is papi available on velocity?
nop u cant install placeholderapi on bungee
do u guys know of a placeholder that returns the position of a player even if they r offline?
i m sure i ve seen one but i dont remember

You would have to store it between sessions, the location is not accessible for offline players
Not without accessing the world files that is 😉
Looks like Essentials stores it https://jd-v2.essentialsx.net/com/earth2me/essentials/userdata
idk, i think i ve seen a placeholder somewhere few weeks ago but i cant find it now 
Placeholder craching when i try to download papi
Sorry what?
as i understand, i can't run placeholderapi on velocity, but is it possible to add my own placeholderapi expansion on velocity to add some placeholders that will be available for servers connected to it?
Bro add it on backend servers
Bro i can't download any placeholder
@austere hawk ^
Hey, is there a list of all available placeholders?
Hi, my console is spamming an error by PAPI
https://hastebin.skyra.pw/sobuporeli.prolog
How can i fix that?
/papi info Bungee
what's the version number?
you likely need to update it to 2.3
/papi ecloud download Bungee
/papi reload
Hey! so I'm playing around with PlaceholderAPI right now for my plugin, do we have any way of having multiple parameters for them? how does the parameters work?
parameters is just a string representing anything you put after your expansion's identifier
%<identifier>_<params>%
example: your expansion's identifier is test, your placeholders would be %test_<params>%
You can use params as you wish, you can simulate having multiple params by splitting the string by , or _ (those are the most commonly used)
Anyone knows why it doesnt work? I have all extensions installed and the placeholders are in the right format
/papi parse me %math_{formatter_text_length_{tab_tagsuffix}}-12%
Do you know if placeholderapi works for a Mod?
no
anyone know how to get placeholders working with js?
/papi ecloud download Utils
/papi reload
/papi parse me %utils_parse_math_{formatter_text_length_{tab_tagsuffix}}-12%
As in is there an a place holder for a mod? You can check the full list for your mod, assuming you mean server side.
Is it possible to do same, but with any other placeholder? (for example %Advancements_secret/ironrg%, it returns true or false). Like repeating for every unique player, check placeholder, if its equal to true then increase result counter (total amount of players, who have %Advancements_secret/ironrg% as true)
Oh wait, looks like advancement placeholder dont works for offline players...
Is there a placeholder to get a certain line of lore?
u want the whole lore, or to check something in the lore
Like, if my item has 5 lines of lore, and I wanted to get line 2 specifically, is that possible?
eh i dont think so, if u wanted to check for something in the lore u could use the checkitem expansion with the lorecontains
but to get a specific lore of an item, i m not rly sure
the %checkitem_getinfo:0_lorecontains:% does return the lore but all the lore :/
Yeah I'm trying to see if maybe I can grab a certain line with the string placeholder
%checkitem_getinfo:0_lorecontains:1%
what
should work
include that somewhere in the wiki sweetheart :/
yeah really how dare you cj
bruh
not on github 😉
lol the github has like no info
yeah true
aaa thats on the placeholder wiki thingie
nahhhh
yeah i always look at the checkitem wiki :/
idk, it's hard having 2 sources
it's nice to link directly to https://helpch.at/placeholders#checkitem
String and checkitem are my favorite things in the world 😍
ooof i cant decide
and utils
i like lots of things
utils might be the best
checkitem, math, string, utils, formatter,
I don't use changeoutput much now since string
massive Ws
but I do love CO
playerlist
and utils is amazing too

i just like having good expansions on the cloud
well, the way it supports folders is kinda weird
Idek what shortcut is
also, it definitely wasn't I don't think

I just didn't know shortcut existed
lol
cause i made variables
shortcut is real nice
ye it is
i barely use any of these expansions, but
shortcut would be nice if i made massive menus like y'all
lol
i think the ones i use the most are math and checkitem
ye
i ve only made 1 expansion of mines so far
chess was a fun experiment
yuh it looked rly nice
My server just crashed, looks like infinite loop
well I wouldn't be surprised that iterating over your entire player base everytime the placeholder is parsed for any player isn't the best idea
I guess this would be better and a lot more optimized within an actual expansion and not JS
Can you suggest some ways of getting server statistics? (like daily total playtime, daily new players, etc)
get a plugin that tracks those and provides placeholders to display them
.
Is there an expansion for minecraft /tag command and associated datapack commands/values?
hey guys
I have a placeholder problem with bungee extension on velocity
my %bungee_total%
is not updating
when no players is online
kinda same problem as this
any fixes?
waiting :)
can i get player data if not online ?
In particular, would it be possible to check if player is in a team (vanilla minecraft feature) with a placeholder?
i need help trying to connect luckperms prefixes to my simplescore plugin?
help @idle leaf
@junior musk can u help
some placeholders support offline players, but a lot don't
so you have to try it and see with the placeholders you want
if it doesn't work, then you'll need to contact the dev of the expansion and ask them to support offline players, or ask someone to make you a custom expansion
what's the issue?
I belive you can check for the %team_name% placeholder
@junior musk Unknown expansion.
the expansion is called Teams though
but yeah
thanks
I've installed teams and luckperms expansions but luckperms doesn't seem to parse %team_prefix% when I send a message in chat
papi does it just fine
LuckPerms doesn't parse placeholders as far as I know
unless you mean LuckPermsChat?
oh, do I need an additional plugin for it to parse?
didn't know
I have essentialschat, if that works
Hello, can someone help me ? I cant use [console] on delexuemenus
EssChat doesn't support PlaceholderAPI so it won't work
what did you try? can you send your entire menu?
?paste
Its not something spesfic, even the example requriments_menu.yml dosent work on the execuation command of [console]
- '[console] give %player_name% GOLD_BLOCK 1'
send the menu
How can i uploud file?
if you looked at what @tender vapor sent 10 sentences above 💀
done it
thats the regular config guys if your example
each command from [console] dosent work no matter what config is it
its not a syntx problem theres problem with the doing stuff in the name of [console] none commands will work
not an error in the console
and not an error in the chat
and i got the latest version
what about player deaths kills
hi, whenever I want to join the server, I have to type /papi reload for player_displayname to load, can someon help me with it?
statistic_player_kills
statistic_deaths
?startuplog
those support offline players
should I send my logs here?
yes
all logs?!
latest.log
is it ok that i past it to pastabin?
?paste
pastebin works as well
remove AnimaBossbar
it registers it's own player expansion for some reasons and seems to be broken anyways, seeing the amount of errors it throws
use another plugin for bossbars like TAB which you already have
Someone is gonna help me or what ?
I dont get an error at the console for using that [console]
It dosent work
are u sure cuz i ma using this setPlaceholder with offlineplayer but its respond with empty msg
can you show your code?
?imgur