#placeholder-api
150650 messages · Page 57 of 151
you need holographic extension for them to work in holograms if you don't have it
=pl holographicextension
hi
i can put custom colors to this variable?
- "&7» %cooldownbar_{thebridge_level}%"
is it not already?
I want to put custom colors
Can someone help me with this?
only @balmy marten can but I guess he didn't see the other ping. hopefully he sees this one.
okay thx
have you tried updaring the expansion to the latest?
yes
can you do /papi dump and send the generated link here?
ill try but the spam is sooooo good i lost the link
%server_total_living_entities%
%server_total_entities%
its these 2
Think you'll have to open a issue on github.
if you don't have a github account or don't know how to make one I can make the issue for you
hey, when i execute command /papi ecloud download Parkour, PAPI said me it Not available yet
can u try manualy grab the extension from ecloud ?
do u not know how? I can guide you thru the process if not
go here: https://api.extendedclip.com/expansions/parkour/versions/, download latest version (2.0), then go to plugins/PlaceholderAPI/expansions and put it in there. then do a /papi reload
how do i view a placeholder E.G turn %player% into Zax71 i have tried /papi parse me %player% to no luck 😦
read this @twin prawn ^^^
👍
I want it through the command
ugh. why tho? its same thing
try a /papi ecloud refresh or /papi ecloud update
yup. you gotta wait a bit
but I still see this error (not available yet)
does this happen with every expansion? if yes then this might be for you ^^
hosts could block connections
or maybe something else
how to fix it (not available yet)
well if hosts block it there is no fix. you have to ask the host to allow connections to the ecloud
and once again. does it happen with all of them? or just the Parkour one?
I have no extension loaded, not only Parkour
but it still works /papi ecloud list all
can you try and do /papi ecloud download Player for example. see if it says the same thing?
maybe ur host is blocking connection
why then does /papi ecloud list work?
Hello,
is ParseOther functionnal in 1.17.1 ? It doesn't seems to work for me
hmm it should be. what seems to be the problem when you try it?
I get a NULL response when trying /papi parse bibithom %parseother_{player_name}_{cmi_user_deathloc}%
(just testing purpose)
I think you have to use double {} when using placeholders in the player name part
%parseother_{{player_name}}_{cmi_user_deathloc}%
that seems to work thank you !
hi
why the last part of the variable is shown in yellow? This is how I set my placeholder:
%cooldownbar_{thebridge_level}_p:&b■_r:&f■%
are you sure the yellow one is from the cooldown bar placeholder? try doing /papi parse me %cooldownbar_{thebridge_level}_p:&b■_r:&f■% in chat
and see if you still get the yellow thing
ah you might have to set the i:
one
nah
that's the default value
I Just found out
by default, the one in progress
is yellow :
sorry. yellow straight bar
try %cooldownbar_{thebridge_level}_p:&b■_r:&f■_i:&e■%
👍 yw
I have another problem and it is that I level up but the bar does not change: /
%cooldownbar_{thebridge_level}_p:&b■_r:&f■_i:&f■%
capi I'm a bit confused
why are you using the cooldown bar to show progression?
I think you should probably use the Progression expansion instead
what exactly are you trying to display? the levels? out of 100 for example? or what?
because that confuses me rn
I want to make a level progress bar
so how much until next level?
like this
then your approach is very wrong
like that bar
which one is that?
btw do you have placeholders fro how much until they level up?
DM me a username and email address you want and I'll create it tonight
hi
[01:47:03 ERROR]: [PlaceholderAPI] Failed to load expansion class StaffFacilitiesExpansion (Is a dependency missing?)
[01:47:03 ERROR]: [PlaceholderAPI]
what does he want from me, please tell me
uh
do you have StaffFacilities installed?
and the StatzExpansion looks to be out of date
oh two days ago
try downloading it from the ecloud website instead, probably got corrupted or something
Un related but how did you get that coin icon? Is it a utf-8 icon or build into papi?
Utf-8
so I used %player_exp_to_level%, but it said 400-something when I had 69 levels
ya just confirmed, latest Player extension. I have 69 xp levels. papi parse me %player_exp_to_level% says 463
PlaceholderAPI-2.10.10
purpur 1.17.1 b1279
d;spigot HumanEntity#getExpToLevel
That placeholder isn't how many levels you have
It's how much you need to get to the next level
you probably want %player_total_exp%
or %player_current_exp%
and I am not sure what the difference is, so I would try those out
oh also %player_level% will give you your levels
man there's a lot of placeholders lol
Total is the total exp you had since you died. Even the one you used
And. Current exp is just exp above the level you are i think
There is no placeholder for just all the exp points you have. But there is a JavaScript placeholder I msde a while ago that can do this
Maybe I should pr it into the player exp? But its kinda big
I saw that the impls for total exp and current exp are like, nearly identical
one was just static i think
Hi, does anyone know the placeholder to get the world of a user ?
E.g, I'm Picsor, in world "world" and I want to type something like "%player_worldname%" and it returns "world"
it should be just %player_world%
How Do You Like link placeholderapi to a website
i want to put leaderboards in my website (using wordpress) but idk how to put placeholderapi there
%math_0_{placeholder_without_%%}%
might want to look into this: https://www.spigotmc.org/resources/rest-placeholderapi.90266/
thanks, ya based on the naming I'd never have known
Is it possible to have a place holder inside a place holder?
Say i have a place holder that gives back the players nickname
Then i have another place holder that "gradients" or color codes whatever is inputted
Can i put the nickname inside of the gradient place holder somehow?
some expansions support placeholder inside placeholder using the bracket method. not all of them do I'm afraid. here's an example: %parsoether_{player_name}_{statistic_blocks_mined}%
||maybe my NestedPlaceholders expansion can help||
How does it work?
you just put your placeholder in it and it will parse the placeholder, then parse it again a second time
and if you specify an amount before the placeholder, it will parse it # times
Ah nice
say, I have %javascript_test% which returns %javascript_name% which returns %player_name%, if you use %nested_3_javascript_test% it will go all the way and parse %player_name%
Anyway i did 2 commands:
/holo addline baltop 1: %vault_eco_top_player_#1%
/holo addline baltop 1: %vault_eco_top_player_1%
but both result in 1: , and then nothing the placeholder doesn't work
any ideas?
And yes i got the pack for vault installed
Holographic Displays requires Holographic Extension and ProtocolLib to support PlaceholderAPI placeholders
or if you're on 1.17 you'll have to use HOlographicPlaceholders
instead. pretty sure HE is broken or something on 1.17
Yeah I've had a few people mention that. I've reached out to him a few times and gotten no response.
Oh I didn't even realize it was open source.
Someone made a PR a few days ago.
hi , it is here for asking help about server expansion (1.12.2 version ) pls ?
you can ask here for help yeah
okay , so i use papi for a scoreboard with the player expansion and the server expansion , the issue is that the server expansion doesnt register when reloading
i did download both with the command /papi ecloud
the player works very well though
you'll probably have to manually download it then
i did it too
and?
but the error is the same
oh so you get an error?
hmm @errant iron u got any idea what this is?
in case : im using Papi 2.10.10
I have both but it ain't working
Hmm it looks like the expansion version is null. I would download it from the website and see if that fixes it
ok thanks i'll try this out
For some reason I cant do /papi reload?
The plugin is added, and it wont reload?
Please help
yes it does
Ill get the error now
alr
oh what
that's... an interesting error
ohhh
i know why it's happening
gimme a min
actually what placeholderapi version do you use? @random rock
ok
@random rock those are the latest for each version ^
ohh wait
noo this isn't placeholderapi's fault
i read the error wrong
PlaceholderAPI-2.10.10.jar
it's CommandWatcher... can you link me to the bukkit/spigot page?
yep, it's too old
spigot has changed some of its code, so the code is trying to access its old code
..but the old code isn't there anymore
yes
all goods!
btw @random rock I just checked the docs, as I said here, the code was changed, and it was changed in 1.7.10
So if that was the only issue with the code, then as long as the plugin was updated/made in 1.7.10 or above, it should work (but it's still really old, so no guarantees, I'm just saying that this specific issue would be resolved)
okay cool, thanks
23.07 03:58:22 [Server] INFO [PlaceholderAPI] Placeholder expansion registration initializing...
23.07 03:58:22 [Server] INFO [PlaceholderAPI] Fetching available expansion information...
23.07 03:58:22 [Server] WARN Boat (vehicle of SkunkSonic) moved wrongly! 0.713583252958415
23.07 03:58:22 [Server] ERROR [PlaceholderAPI] failed to load class files of expansions
23.07 03:58:22 [Server] INFO java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: me/clip/chatreaction/events/ReactionWinEvent
23.07 03:58:22 [Server] INFO at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?]
23.07 03:58:22 [Server] INFO at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?]
23.07 03:58:22 [Server] INFO at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1766) ~[?:?]
23.07 03:58:22 [Server] INFO at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1756) ~[?:?]
23.07 03:58:22 [Server] INFO at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295) ~[?:?]
23.07 03:58:22 [Server] INFO at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) ~[?:?]
23.07 03:58:22 [Server] INFO at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) ~[?:?]
23.07 03:58:22 [Server] INFO at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) ~[?:?]
23.07 03:58:22 [Server] INFO at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) ~[?:?]
23.07 03:58:22 [Server] INFO Caused by: java.lang.NoClassDefFoundError: me/clip/chatreaction/events/ReactionWinEvent
23.07 03:58:22 [Server] INFO at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
23.07 03:58:22 [Server] INFO at java.lang.Class.privateGetDeclaredMethods(Class.java:3334) ~[?:?]
23.07 03:58:22 [Server] INFO at java.lang.Class.getDeclaredMethods(Class.java:2446) ~[?:?]
23.07 03:58:22 [Server] INFO at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$6(LocalExpansionManager.java:367) ~[?:?]
23.07 03:58:22 [Server] INFO at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) ~[?:?]``` I am now getting this...
what expansions do you have?
and do you have the ChatReaction (https://www.spigotmc.org/resources/3748) plugin?
I cant send pictures, ill dm you
nvm
you can use /papi dump if you want, it lists the expansions and its info
I dont
huh
i think that one of the expansions is looking for the chatreaction plugin (which is why i asked for expansion list)
the error doesn't really tell me though 😕
yes
@random rock try removing half of the expansions, seeing if this happens, if it keeps happening then repeat, if not, then add half back, etc
to try locating the expansion
okay
first try removing all of them though, to make sure it's an expansion issue
uh
u can just make another folder in the PlaceholderAPI plugins folder
(and restart server)
ok
waaait
@random rock actually i think u might be able to just do /papi reload instead of restarting server
The only one it has failed to unregister is Vulcan, the others unregistered
hey, looking into what I need to do here, i'm testing a 1.17.1 build for my server and have (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 15822af on HEAD) and PAPI v2.10.10
I'm getting this error in console and most plugins that use these expansions are throwing this error: https://pastebin.com/ksLBjwLs
some plugins will still show accurate placeholders regardless of the NoSuchFieldException error, but others like Featherboard are not parsing the placeholder at all, just delivering the raw text instead. Do I need to do something special with the expansions themselves? if so, where can I find them? thanks in advance c:
Turns out it was actually chatreaction screwing it

you said-
i got it fixed somehow , as i said i use papi 2.10.10 so i downgraded to 2.10.9 (thks to Barry 🙂 ) and it worked
okay
is there a more up to date then this one
some other vault placeholders do work so maybe im doing something wrong
i tried:
/holo create test %vault_eco_top_player_#1%
and
/holo create test %vault_eco_top_player_1%
Is there any workaround for PAPI placeholders on Bungee? Venture chat doesnt have join messages.
deluxejoin
or even essentialsx
I will look into it, thank you very much
the time without plugin
u mean time expansion
yb
try redownload it from ecloud
how
nothing command to download time expansion
?
this 1
no download commands
playertime expansion requires the playertime plugin. just use the Statistic expansion. it allows you to see playtime for players without an entire plugin required
you could try HolographicPlaceholders. but anyways the vault top placeholders don't work for other reasons. they were removed or at least disabled by default because they can cause a lot of lag. I think they were added inside the essentials expansion.
you can still get them on the Vault expansion by downloading the version 1.5.2 and enabling them in plugins/PlaceholderAPI/config.yml
Redacted due to wrong channel
i belive this go to development channel #development
Apologies, thank you however.
hey, I'm using a plugin that uses html style animations, I was wondering if it was possible to pass in papi placeholders in any way? Or if not if someone perhaps knew of how this format worked? I do have skript and can make my own placeholders so if i need to reformat a hex code in some capacity I can do so easily "<wave colors=#00B9AE,#037171,#03312E>&lKairyu's Kingdom!</wave>" Here's an example of the animation, I would like to be able to use placeholders for the colours
I'm afraid that's up to the plugin developer to add support for. PlaceholderAPI Only works in plugins that support it.
yeah I'm afraid there is no real way to do this in the progress bar. maybe @junior musk can help you out set this up using his NestedPlaceholders expansion.
or you could set it up with some simple javascript I guess xD
bcz I'm not sure how the nested placeholders expansion works
I can give you the code. should be 2 lines or something like that
so you want to round up? or how do you want the rounding to work?
ok so round up is fine for you? like I Could just remove the decimal
if you want
so for example both 5.1 and 5.8 will become 5
parseFloat("%jobsr_user_jexp_rounded_Racējs%").toFixed(0)```
this would be the code for that
btw
and to set the placeholder up you have to follow these steps:
/papi ecloud download javascript then /papi reload
oh wait parseInt parses floats as well? I actually don't think I knew that
oh it does print
tho
so I guess that works
but he wants it rounded up Kaliber so guess I do need it as a float
anyways
steps:
execute the commands I gave above
go to plugins/Placeholderapi/javascript_placeholders.yml
and add:
roundup:
file: roundup.js```
then do a /papi reload
then go to plugins/PLaceholderapi/javascript and you should find a file called roundup.js
Math.ceil(parseFloat("%jobsr_user_jexp_rounded_Racējs%")).toFixed)(0)```
add this to that file
and save it
then do a /papi reload again
and now just use %javascript_roundup% instead of the %math...%
part
or actually you might need to use {} instead of %%
in this case
oh wait
Math.ceil(parseFloat("%jobsr_user_jexp_rounded_Racējs%"))``` just this
will work
or at least should xD
oh guess the to fixed is needed then. wasn't 100% sure. js Math.ceil(parseFloat("%jobsr_user_jexp_rounded_Racējs%")).toFixed(0)
How can I format numbers like
10,000 --> 10k
100,000 --> 100k
1,000,000 --> 1mil
etc
I've already tried using the formatter placeholder and it only adds a comma like 10,000 | 100,000,000 | 1,000,000 | I've also tried using math but I'm either not doing it right or its just breaking the plugin
I tried doing %formatter_number_format_{statistic_mine_blocks:cobblestone}% and it ends up just adding commas.
ik there is a way to do it but I'm not quite sure actually how
how can show the date in scoreboard
can someone help me, with javascritp
i need help, papi doesnt work and im not sure what to do with this
java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: me/blackvein/quests/Quest
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?]
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1766) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1756) ~[?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:295) ~[?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1016) ~[?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1665) ~[?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1598) ~[?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) ~[?:?]
Caused by: java.lang.NoClassDefFoundError: me/blackvein/quests/Quest```
You're trying to load the Quests PAPI expansion but don't have Quests plugin installed.
%server_time_dd/MM/yy HH:mm%
sure. what seems to be the problem?
Does anyone know a placeholder that shows how many blocks the player has placed? Apart from Statz, it doesn't work for me.
it worked, thanks bot.
Is there a placeholder for the name of the server in the BungeeCord proxy?
Like the name of the current server
Maybe %bungee_<servername>% is the solution
Or %player_server% to detect player's server
Required Expansion: /papi ecloud download Player Hope that helped you 😄
i set my NPC to execute this command lpb user %player% permission set smoothtimber.use true and it gives this error when i try to right click my NPC
24.07 18:21:10 [Server] WARN Could not apply PlaceholderAPI placeholders. Disable 'AsyncPlaceholders' and try again
24.07 18:21:10 [Server] INFO java.lang.NullPointerException: null
@warm topaz @mint fable help ;-;
but the #rules just says be patient, it does not say dont ping, well i guess one could argue that ping violates that mmmmmmmmmmm
- Don't @mention staff unless they are actively in a conversation with you.
yes it does
Have you considered disabling AsyncPlaceholders like it suggests?
:0 ooof i am blind
i dont know what AsyncPlaceholders is or how to disable it?
can you instruct me on how to disable it ;-;
I am having an issue with %player_exp% where it returns the incorrect value.
I have 30 levels (1395 points), but it is returning 0.0
If I give myself to the highest possible level, it's returning 0.3850485
Any idea what could be causing this issue?
do u need a custom javascript exp ? i have what u need
Not overly, mainly just trying to get the built in system to function properly.
ahh I see.
to get the real value u have to make a placeholder to calculate it
here is the 1 i made
That makes sense
No clue
ok
first create a .js file in plugin>placeholderapi>javascripts
and copy the file i send to that .js file
then open the javascripts_placeholder.yml in PlaceholderAPI folder
for example i will name the .js file we create earlier exp_value.js
Thank you!
in the javascripts_placeholder.yml add this:
expvalue:
file: exp_value.js
engine: nashorn
Notice: expvalue is the placeholder name, this is customizable, in game u will parse %javascript_expvalue%
the file name much match the name of the .js file u create earlier
also can you tell me how to disable AsyncPlaceholders? cuz of this #placeholder-api message
i already saw that
oh you dont know how to disable it either?
no i mean placeholderapi dont have that option
ok
can u send the plugin list of ur server
No idea.
Thank you very much Baole! Got it working.
np
i dont understand my error, i dont have anything called AsyncPlaceholders but its telling me to disable it? does anyone in the support team or admins know how to fix it??
send us the plugin list and btw what perm plugin is that i dont remember luckperm command is /lpb
my server run fine with luckperm
maybe try migrate to it ?
our server is a 1.17.1 survival server, it uses luckperms, lpb is luck perms bungee command
oh ok
i have a image of the plugin list, can i DM u it? {{cant send images in this chat}}
f
plugins seem fine
have u try run lp for each server independent ?
and r u using bungee or waterfall ?
all other LP's commands and stuff seams to be working its just when i run it from the NPC using that "%player%" place holder lpb user %player% permission set smoothtimber.use true
bungee
u want us to switch from paper to waterfall and thats going to fix it??? "You can download the latest versions of Paper or Waterfall below."
idk try it first if the problem still there u can switch back to bungee and run luckperm independent for each server
waterfall require no additional setup
if all file is generated by bungee
idk if we should make such a big change, wont it mess up things switching core stuff like that?
no
the waterfall aim for performance improvement
there will be a file call waterfall.yml generated but it will be ok to left alone
if think not go ok u can change back to bungee, all file generated be waterfall will be ignore
Load WaterFall? ; Changing versions will overwrite your existing mods, plugins and configs with the new ones from this version.
u also see this bc waterfall support forge mod hybird server
idk if we can do all that today, can i ping you when i have more admins on to do the change to waterfall
during that time u could look for alternate solutions just in case
k
like i said before u can try run luckperm independently on mini server
however this is not a suitable solution to mini game server like skywar and bedwar ect
and also
u can try ask for luckperm support from their server
It's probably a setting in Citizens or whatever NPC plugin you use
i have tried running that command from a sing and a NPC, both were executing the command as OP/in console
^
ok i fixed that issue, i had to update LPB then change the command to lp insted of lpb
but i got a new one
there is nothing called AsyncPlaceholders in lands configs
Well, go ask them in their discord
They obfuscate their code so I can't really help you
can you tell me if it's okay?
I want to sum the values of all those placeholders.
but it only gives me the "Return" "",
What did I do wrong?
/papi parse me %javascript_Topprofe_topprofe% = ""
u have to return the variable
return calDamage;
oh! ty!
np
u can also add color code into it if u want
here an example if u want to see
var isl = %Level_bskyblock_island_level%;
function colorlevel() {
if(isl<0){return "&c" + isl}
else{
if(isl<=1000){return "&7" + isl}
else{
if(isl<=2000){return "&f" + isl}
else{
if(isl<=4000){return "&a" + isl}
else{
if(isl<=8000){return "&e" + isl}
else{
if(isl<=16000){return "&b" + isl}
else{
if(isl<=32000){return "&d" + isl}
else{
if(isl<=64000){return "&5" + isl}
else{
if(isl<=128000){return "&6" + isl}
else{
return "&4" + isl
};
};
};
};
};
};
};
};
};
};
colorlevel();
uh! nice ty!
XD
how to make papi bungee?
PlaceholderAPI isn't a bungee plugin
how can i specifix a specifix amount of item to remove ?
%checkitem_amount_remove_nameequals:&dCompressed stone,amount:2,loreequals:&7Heavy compressed stone%
try with amt:
uh
I mean %checkitem_remove_nameequals:&dCompressed stone,amt:2,loreequals:&7Heavy compressed stone%
I'm not sure if it actually is supported
but try it
[10:30:43 WARN]: [PlaceholderAPI] Failed to download expansion information
java.lang.NullPointerException: Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "me.clip.placeholderapi.expansion.PlaceholderExpansion.getVersion()" is null
at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$fetch$3(CloudExpansionManager.java:225) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.16.5.jar:git-Airplane-9]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.5.jar:git-Airplane-9]
at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1489) ~[patched_1.16.5.jar:git-Airplane-9]
at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:439) ~[patched_1.16.5.jar:git-Airplane-9]
at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1402) ~[patched_1.16.5.jar:git-Airplane-9]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1134) ~[patched_1.16.5.jar:git-Airplane-9]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:292) ~[patched_1.16.5.jar:git-Airplane-9]
at java.lang.Thread.run(Thread.java:831) [?:?]
[10:30:46 INFO]: [BuycraftX] Sending 2 analytic events
i get this error in papi, im trying to use player extension
have u try to re-download the extension ?
and what version of papi you using ?
Placeholders aren't working
last one
dev
i tried multiple versions but nothing
What about your server version?
Me?
1.16.5
supercraft
Ok
actually yea you too
yeah
cant paste it in paste
what
Am on mobile and nope i am pasting but not working for some reason
oh well get on a pc
Cant
okay well I can't really help you without a log
I can paste it in pastebin
ugh i guess
bro get me in on this
lol
you can dm me any time 😉 ❤️
yeah
wait wa-
haha
what a man
ctrl + f
leak
ctrl +f
leak
no
you're lucky you're not banned yet on your 4th account
I FUCKING dmed you the names...
on the other account
so please FUCKING stop saying fucking
ty
just open your logs file, press Ctrl, press F at the same time and write leak, it's nlt difficult
lmao
maybe for 1 plugin, but that doesn't mean for all
mobile text editor have a search feature
that's not what your logs said
lol yeah
When you see leaked by <website>, you know it's not legit lol
moreover it's on an online paste, ALL web browsers have the Search function
oh, didn't even see PlayerVault was there too 😂
but there's 1 thing I never understand with people
they see their logs
they see they have tons of errors
and they also see in game that some plugins didn't load
why not fix that 😂
like, there is about 10 plugins which didn't load in the first lines of the logs
seriously
and there's also the 100 of useless plugins
is the MySQL expansion working?
afaik it works. seen couple people use it. make sure you're on the latest version tho. version before this was broken I think
Using 2.10.10 right now, its outputting errors on console
last version of the expansion I mean
isn't it 1.31?
yep, using that one
can you restart the server and send the fresh full startup log please?
I did a full restart and it didn't load either, gives me an error on /papi reload so would that error work?
yeah sure
Oh I forgot to mention I'm using Java 16
hmm same error. guess no one updated it? hmm
dont know if that could do something
nah. this is a very old error. something to do with config options
can you try and downgrade? I do have a bad memory so maybe I was actually thinking you have to downgrade not update
i'll give it a try
to downgrade, first go into plugins/PlaceholderAPI/expansions and delete the jar from there
the MYSQL one
and then /papi ecloud download mysql 1.3.0
should work
same error
hmm yeah. just checked the github and seems like it wasn't fixed. tho I really thought version 1.3.1 was supposed to fix it
hmm. can you back up your placeholderapi config.yml, stop server, delete config.yml, start server and let a new one regenerate?
just tried that, still giving the same error
How can I change the date format of the placeholder %player_first_join_date%?
yeah idk then. the developer hasn't been active in a while
I'm not 100% sure but you can try going into plugins/PlaceholderAPI/config.yml and editing this date_format: MM/dd/yy HH:mm:ss
if this doesn't work then its not possible
It worked! Thanks
Is there another way of using placeholder api placeholders in essentials other than chatinjector? I want to use placeholders inside the lang file, but chatinjector doesn't work
afraid not.
another plugin that adds placeholders that hook up with essentials though, that also perhaps hooks up with placeholder api or something?
I only know of chatinjector
aight...
@silver minnow u want a plugin idea? make a plugin that uses packets to parse PAPI placeholders to every chat message
👀 alr
all my placeholders are in lowercase suddenly. i updated to the 2.10.10 then it happened. downgrading still has this. my lobby server that still is on the previous version doesnt have this issue
saw the issue on the github, but strangly downgarding doesnt fix it at all
if you're using ChatInjector, than that's the problem
it worked fine before
yeah Ik. it breaks since 2.10.7 (PAPI). We don't know why. Some people have taken a look and couldn't find the problem
Where is the placeholder %server_name% for me to change it?
plugins/PlaceholderAPI/config.yml
ok thanks 
using 2.10.9 before and it worked just fine. lobby uses same version. strange tho
hmm strange. I never seen it work on 2.10.7+. It might not be chatinjector then. I'm not sure. have you tried removing ChatInjector just to make sure?
oh is that why u wanted me to make that plugin?
oop
Also why packets? Then wouldn't the console say the wrong message
or do you mean serverbound packets
idk. was just an idea
I wanted it to work on every message
and just parse the for null
but yeah not a lot of placeholders will work anyways
so idk
well actually
you can see who the message is sent to right?>
just parse it for that player
so idk you can do however you want just make it efficient xD
D:
and now if someone comes here they don't know what just happened because of auto-delete 
lol
wait a minute
i dont think i can make the plugin
welp idk. it was an idea
ugh what?
what u talking about mate?
lemme put to gradle 7
https://i.imgur.com/Av8AoAs.png smh no embed perms
👍
Using BungeeCord extension.. the %bungee_total% when parsed keeps saying there is 1 player online, when there isn't?
by default the expansion only updates every 30 seconds. you can change that in plugins/PlaceholderAPI/expansions
oh
Yeah
make sure you have latest expansion version on every server and also only 1 of them. not multiple
the extension is installed on the paper server. not sure if that makes a difference
well you can only have them on the paper server
where are you using the placeholders?
have you tried actually parsing it on the server using /papi parse ?
maybe the bot caches it or something
papi parse ShiftyRP %bungee_total%
[19:37:03 INFO]: 1
papi parse ShiftyRP %bungee_total%
[19:40:45 INFO]: 1
tried taking screenshot but can't upload in here
and how many are online actually?
0
well is ShiftyRP not online?
no
[19:28:44 INFO]: ShiftyRP lost connection: Disconnected
papi parse me %bungee_total%
[19:36:41 INFO]: You must be a player to use me as a target!
papi parse %bungee_total%
[19:36:48 INFO]: You must supply a target, and a message: /papi parse {target} {message}
papi parse console %bungee_total%
[19:36:55 INFO]: Failed to find player: console
papi parse ShiftyRP %bungee_total%
[19:37:03 INFO]: 1
papi parse ShiftyRP %bungee_total%
[19:40:45 INFO]: 1
I couldn't get it to parse as console
this ^
how do i check if its up to date?
and what do you mean only 1 of them? 1 on each server?
installed it last night with ecloud download command
you can do /papi info BUngee and it will tell you the version.
make sure its version 2.0
and also go into the plugins/PlaceholderAPI/ecloud folder and make sure there's just one Bungee jar
bcz there might be multiple
and it would break the others
also go into plugins/PlaceholderAPI/config.yml and change that check-time to 1 instead of 30
and test the /papi parse command after
btw /papi reload after the last 2 steps
[19:48:17 INFO]: Placeholder expansion info for: bungee
Status: Registered
Author: clip
Version: 1.0.1
🤔 should i make it like {player_name} like chatinjector or %%?
yeah. would probably be best
just use setBracket instead of setPlaceholders
👍
have you made sure its actually only 1 jar in the expansion folder?
Yup
[19:57:23 INFO]: ShiftyRP lost connection: Disconnected
papi parse ShiftyRP %bungee_total%
[20:32:47 INFO]: 1
uh, is it really a good idea to give players that option? xD
Sounds like it could be exploited really badly for a dos
huh?
oh
hmm xD
welp idc
lmao
they want it, they'll get it :)))
So i send a chatmessage {javacsript_some_heavy_operation}{javacsript_some_heavy_operation}{javacsript_some_heavy_operation}{javacsript_some_heavy_operation}{javacsript_some_heavy_operation}{javacsript_some_heavy_operation}
Given enough times
yeah lmao. didn't really think about that
Things will reach a standstill
hmm?
nothing. just wanted to see if its actually set to 1 second update
Yeah it is
haven't really worked with packets. is there no way to detect if plugin was sent by plugin or player? like is there no difference?
but even so
What?
if message*
if plugin was sent by plugin or player uh
was sent
oh
I dont understand
having the output
What would the difference make?
You'd still be parsing every chat message i assume?
oh wait you're saying just in general server owners would be doing bad stuff
oh I Was thinking just about malicious users
joining the server
but Ic what you mean yeah
that is what im talking about yes
well yeah was thinking to only parse messages sent by plugins, but even so I can still see it being bad. yeah guess it is not the best idea xD
If I send 10k placeholder requests, this plugin would technically parse all of them
ah
but yeah even so, I would see a plugin just returning the output the player inserted or something like that, or them just spamming a plugin that has a placeholder in it . yeah
😕 PAPI is lowercasing the output for some reason
val newMessage = PlaceholderAPI.setBracketPlaceholders(player, message)
println("Before: $message, after: $newMessage")
````newMessage` is always lowercase
yes
yea found the bug
o
making a pr
is it fixable on my side? or do i have to wait?
I can send you the link to the fork if you want to build it yourself
hmm
uhh i can wait for now
Alright
oh btw blitz whats wrong with chatinjector? just wondering
I have a question about PAPI, if I write something in my config what I need it does not work. Are there any problems with Deluxehub and PAPI. So said it does not show me but it has disappeared so that you do not see it (%vault_eco_balance%)
same thing. guess its PAPI's fault?
can you try /papi parse me %vault_eco_balance% and tell me what it says?
@thorn thunder can u link me to where the problem is?
ok wait
this happend: An internal error occurred while attempting to perform this command
can you check the console and send the error here please?
use a paste bin for it tho
this one preferably ^^^
ok
do you mean that: 25.07 22:28:10 [Server] ERROR null
this is what I found as error otherwise there is only something with info
ok please restart the server and provide this ^^
@obsidian charm try doing /papi ecloud download Server to download the latest version
not sure if it'll automatically delete the old expansion, but u can just remove the jar yourself if it doesn't
Oki thank you
Using BungeeCord extension.. the %bungee_total% when parsed keeps saying there is 1 player online, when there isn't?
does that mean that i didn't need to work on that plugin 😔
How do you show a score if it is equal to a certian value?
idk.
you'll have to decide. anyways
this plugin will be a bad thing xD
so easily exploitable
Guys help, indicated %bw1058_player_level% He does not display it what to do?
wdym?
ack
well you see
malicious parties (players) could spam placeholders in chat
and if they know some placeholders that do very heavy things
that could be bad
do you want me to make a plugin that only works for plugin messages? orrrrr
and even if you would to only parse placeholders for messages sent by plugins, there are still plugins that just give out the input the player sent
^^
oh
can you do /papi parse me %bw1058_player_level% and see what happens?
My level is displayed in my chat
In a hologram, but there he does not display it
well if you're using HOlographicDIsplay, you should probably know that plugin does not support PlaceholderAPI
you can tho download a Plugin like HolographicExtension or HolographicPlaceholders + ProtocolLib
to make it work
Thanks a lot
Hi, im updating my server to 1.17 and im using the latest DEV build (tried latest master too) of papi, and the latest version of TAB, and I am getting this message spammed in my server console:
[17:28:02] [pool-34-thread-2/FATAL]: Thread pool-34-thread-2 failed thread check for reason: Asynchronous Chunk getEntities call
java.lang.Throwable: null
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[patched_1.17.1.jar:git-Airplane-23]
at net.minecraft.server.level.ServerLevel.getEntities(ServerLevel.java:2375) ~[?:?]
at org.bukkit.craftbukkit.v1_17_R1.CraftWorld.getEntities(CraftWorld.java:1173) ~[patched_1.17.1.jar:git-Airplane-23]
at com.extendedclip.papi.expansion.server.ServerExpansion.onRequest(ServerExpansion.java:190) ~[?:?]
at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:160) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:70) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:98) ~[?:?]
at me.neznamy.tab.platforms.bukkit.BukkitPlatform.setPlaceholders(BukkitPlatform.java:240) ~[?:?]
at me.neznamy.tab.platforms.bukkit.BukkitPlatform$2.get(BukkitPlatform.java:205) ~[?:?]
at me.neznamy.tab.shared.placeholders.PlayerPlaceholder.update(PlayerPlaceholder.java:36) ~[?:?]
at me.neznamy.tab.shared.placeholders.PlayerPlaceholder.getLastValue(PlayerPlaceholder.java:59) ~[?:?]
at me.neznamy.tab.shared.placeholders.Placeholder.set(Placeholder.java:96) ~[?:?]
at me.neznamy.tab.shared.Property.update(Property.java:154) ~[?:?]
at me.neznamy.tab.shared.Property.updateAndGet(Property.java:141) ~[?:?]
at me.neznamy.tab.shared.features.HeaderFooter.refresh(HeaderFooter.java:117) ~[?:?]
at me.neznamy.tab.shared.features.PlaceholderManager.refresh(PlaceholderManager.java:178) ~[?:?]
at me.neznamy.tab.shared.features.PlaceholderManager.lambda$new$0(PlaceholderManager.java:84) ~[?:?]
at me.neznamy.tab.shared.cpu.CPUManager.lambda$startRepeatingMeasuredTask$2(CPUManager.java:146) ~[?:?]
at me.neznamy.tab.shared.cpu.CPUManager.lambda$submit$4(CPUManager.java:180) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
at java.lang.Thread.run(Thread.java:831) [?:?]
[17:28:02] [pool-34-thread-2/FATAL]: Thread pool-34-thread-2 failed thread check for reason: Asynchronous Chunk getEntities call
java.lang.Throwable: null
at org.spigotmc.AsyncCa
I have run the ecloud update all command also
make sure you've updated your Server expansion
/papi ecloud download server then /papi reload
still happens
what placeholder are you using? are you using %server_entities% or are you using the TAB one?
One sec
server
footer:
- '%animation:MyAnimation1%'
- '&b/kchelp for command info.'
- ''
- '&7TPS: %server_tps_1_colored% &7Ping: %player_colored_ping% &7Uptime: %server_uptime%
&7RAM: %server_ram_used%/%server_ram_total% MB &7CPU: %spark_cpu_process%'
- '&7Chunks: %server_total_chunks% &7Entities: %server_total_entities%'
- ''
- '&6kingdomscrusade.net'
hmm. idk really. it seems to me that TAB is making the request async and that's breaking it? not really sure what's going on here
it was fine on 1.16
try and contact the TAB developer. maybe they've seen this before and know how to help
Ok, thanks alot :D
@turbid tide
Fix:
If that error is spamming (in my case it was the total entities placeholder) you need to add %sync: to it
so change %server_total_entities% to %sync:server_total_entities%
just incase someone else has the same issue
you need to do it for every placeholder that causes issues
yeah. I could see it was the entities placeholder since TAB was making the request async. but didn't know they offer a sync option
👍
hello what should I put between% so that the number of votes is displayed with the voteparty plugin?
don't work
It works just fine, you just need to read the instructions.
i found but i need to do what in / papi ecloud download ... for the plugin https://www.spigotmc.org/resources/voteparty-new-cumulative-voting-all-in-one-voting-plugin-30-sale.987/
because %voteparty_votes_recorde% does not display
if you want help with VoteParty, you do need to go to #spigot-linking, read the page and then do what it asks of you please. ty
ok but when do i have access afterwards?
your request was denied. you need to make sure you follow the steps. (set your discord on spigot )
you will get access to #voteparty if it worked
where you can get help
Heyo I'm trying to use the sql expansion but I can't get it to work and don't quite understand what I'm doing wrong
I could be stupid so feel free to not listen but perhaps it’s having issues with variable types and parsing them into message
How do I remove a placeholder
Depends what you mean by removing it
I don't want it on at all
I accidentally turned it on
And want it gone completely
Which placeholder? Where? You aren't giving much details
Just remove it from wherever you have it displaying?
If you want to delete the expansion for it, just remove it from the expansions folder and reload papi
Otherwise just remove the placeholder from whatever is displaying it
Thanks
someone could tell me, how to check that a specific item in the player's inventory does not have an enchantment?
As in a placeholder for it or??
yea in placeholder ^^
i use checkitem but i can check only if the item have the enchant
i try this but not work - '%checkitem_mat:diamond_axe,nameequals:&2Le Fendoir LVL : 1,lorecontains:&5Attention ça va couper,enchantments:unbreaking=3;efficiency=6;mending=0%'
strict work only with name and lore 😢
a java placeholder is possible ? (i search all solution xD) and possibility ... i can use SKRIPT to block the addition of enchantment
oh i can use 2 verif ...
one with enchant and another without ^^
one for yes and one for no
Doesn't the new javascript update work on 1.8.x?
it probably will
Using BungeeCord extension.. the %bungee_total% when parsed keeps saying there is 1 player online, when there isn't?
how to reset statistics for the whole server
you have to delete the main world. well just the player statistics folders from that
Blitz, you got any other ideas why BungeeCord Extension isn't working as intended? - perhaps %bungee_total% counts unique players only? Or is like a total of how many players have joined?
Afraid not. Have you tried just using the math expansion and adding up each server manually?
I wouldn't know how to do that lol.. and it's a bit much to setup for each individual server.
PlayerList expansion isn't working properly either.
Am I able to message Clip, the developer of the bungee expansion in any way?
afraid he's not been available for months now. not even for us
why is that? what does it return?
@junior musk can u help him? ^ don't have time to look at the code rn.
idk what's wrong
this is the last part linked to my code in the error https://github.com/Tanguygab/PlaceholderAPI-PlayerList-Expansion/blob/master/src/main/java/io/github/tanguygab/playerlistexpansion/subtype/SubType.java#L23
i'm annoyed the bungee placeholder doesn't work correctly.
the collection might be null?
can't think of anything else
I don't think it can be null
ok so math would be %math_0_{bungee_SERVERNAME1}+{bungee_SERVERNAME2}% and just add all servers
also try parsing each server 1 by 1
see where the amount 1 is actually coming from
maybe its just 1 server that's bugged and sends the wrong amount
I already did that.. both servers continue to say 1
Actually no, bungee_lobby stays at 1
so just lobby?
and if i go to server2 it stays at 0
but server2 doesn't have the bungee expansion installed
can you install it and test it?
bcz if its actually just the lobby, it might be a plugin messing with the count
hmmm...
it says im not on either server, but total says there's one online
and it isn't going back to 0 either.
...the survival server isn't registering im online on the lobby
did you update it to 1 second?
yea
if i join the survival server it updates to 1
But then when i leave it doesn't go back to 0
So it's behaving like the lobby server essentially
but what if you go to survival? and then parse it from lobby and from survivala
after you go out?
does it still say you're on survival?
With a scoreboard plugin, assuming the placeholder returns an int, can you change the red number with a scoreboard plugin?
yeah. you can replace the scoreboard number.
idk if any plugin supports placeholders for it
The one I'm currently using "Scoreboard-revision" does not =X