#placeholder-api
1 messages · Page 166 of 1
i have a image of the plugin list, can i DM u it? {{cant send images in this chat}}
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
f
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.
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
Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload
^
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?
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
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
There seems to be some invalid syntax in your config! You can paste it into https://yaml.helpch.at/ in order to find out where your issue is!
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?
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
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
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
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?
Please respect the rules, be patient and don't ping staff members!
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
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
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
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
ok please restart the server and provide this ^^
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
@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 😔
Please respect the rules, be patient and don't ping staff members!
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?
Please respect the rules, be patient and don't ping staff members!
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
Please respect the rules, be patient and don't ping staff members!
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?
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
@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
but it is customisable in some blugins
I know kiteboard allows you to customise it. idk if you can actually set it based on a placeholder tho
well don't do it just for that xD
maybe you can't even use placeholders
read the wiki first
and the spigot page
see what's possible and what's not
yeah
oh okie^^
but some people don't read updates. just the top tested versions part
ill take a read first ^^ thanks again 😛
and anyway the plugin cannot be bought so :/
welp indeed 🤣 the buy button is gone
ah its not possible anyways btw
pretty-numbers:
enabled: true
number: 1```
you can only set 1 number for the entire list
and don't think it accepts placeholders anyways
so basically it will be
line1 1
line2 1
line3 1```
yup
👍
anyone know why %statistic_use_item:bone_meal% isn't working for me? I use bonemeal on stuff, it works, I check /papi parse me %statistic_use_item:bone_meal% and it says 0
can you try and check the minecraft statistics? see if they update there?
yeah. then its something to do with minecraft/spigot not registering it.
afraid papi just takes the info from spigot.
ya idk what could be wrong. bummer
Hey is it possible to use one placeholder inside placeholder ?
Like this : %jobsr_user_jlevel_%jobsr_user_job_1%% or %jobsr_user_jlevel_{jobsr_user_job_1}%
These two examples do not work :/
afaik, no 😕
expansions have to support it themselves
Oh ok thanks 🙂
you could try and use the NestedPlaceholders expansion
Ok I will try that thank you 😉
@silver minnow Unknown expansion.
https://paste.helpch.at/ovapegokuj.sql
Can you help me with this please? I am on version 1.17 purpur and my placeholders do not load, I try to use / papi reload and I get this error in the console
it looks to me like your quest expansion is trying to find the Quest plugin ut can't
Hello people. I have a problem. Crystal kills not identified in kill statics
It only identifies when you kill with a sword
hello i have Pinger extensions it works fine when ping(ONLINE status) to other server other than localhost, but when i ping on same machine it doesn't work always offline is there any fix to this?
i tried pinging to localhost, my domain, my numeric ip still doesn't work and im 100% sure the server works just fine i can login to it
Anyone know about the Script "Animated Text" of the JavaScript placeholder? https://github.com/PlaceholderAPI/Javascript-Expansion/wiki/Community-Scripts#animated-text
If you think you know, please help me
hi
can someone help me with a small issue i face with money place holder
currently i use %vault_eco_balance_formatted% placeholder
but whenever the amount of money you have goes up to 1QT (cause of op prison server) the placeholder doesn't work anymore
while tho i added the formatting to it in the config.yml of placeholderapi
https://gyazo.com/0080978f0e4c87fb423050b01423b693
https://gyazo.com/8e54997bed39b15c771c33c8baabd006
You can't just add formata to the config. It doesn't work like that. If your economy really goes above that, then you have to use a javascript placeholder or somethingike that to format it
Read more about it here
^^^^
What's the problem?
Hi sorry Blitz but what do I have to do Ive my Papi doenst have faction included ?
I can’t download it
who's the dev of the player placeholder?
because i wanna suggest a placeholder for how much damage did the player recently did to a target
for example, i hit a zombie for 20 damage, when i parse the placeholder, it prints out 20. basically %player_last_damage% but instead of printing out the latest damage i took, its the latest damage i dealt
well when i try to download javascript expanion to use it i get this msg in the console
[10:10:51 INFO]: [PlaceholderAPI] Fetching available expansion information...
[10:10:58 INFO]: ZweeDaLegend issued server command: /papi reload
[10:10:58 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[10:10:58 INFO]: [PlaceholderAPI] Fetching available expansion information...
[10:10:58 INFO]: [PlaceholderAPI] Successfully registered expansion: vault
[10:10:58 ERROR]: [PlaceholderAPI] expansion class JavascriptExpansion is outdated:
[10:10:58 ERROR]: [PlaceholderAPI] expansion class JavascriptExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory```
Please respect the rules, be patient and don't ping staff members!
I dont think the game store that @smoky spoke
so its impossible?
i wonder if it would be possible by recording the damage you did to an entity for the placeholder to parse. i don't code so idk
Well the Player expansion is not meant for that
It peobably is possible to record it
Can you do /papi dump and send the generated link here?
what are the chances someone is going to make a placeholder for it in this discord?
idk. try #860006855325122591 or #860006856864169985 if you're in a hurry. Maybe it already exists in another plugin. but idk
what java version does your server run on?
yeah. but java version
well that's not how it works? bcz 1.8 works on any java from 8 to 16
do you not have access to a terminal?
I dont think so blitz, I think 1.8 runs only on java 8
well, anyways. Go to plugins/PLaceholderAPI/expansions and delete Expansion-javascript.jar then do /papi reload then go to https://api.extendedclip.com/expansions/javascript/ and press the Download Latest. Go back to /plugins/PlaceholderAPI/expansions and put the jar you just downloaded in that folder and do a /papi reload again.
thing is, his error says there's no nashorn. was nashorn not a thing in java 8? bcz I'm pretty sure it was
It was for sure
pretty sure Paper 1.8.8 allows up to Java 15 or 16
don't think he's on paper but still yeah. I was pretty sure 1.8 can have java 15 at least
Failed to load due to a [NoClassDefFoundError], attempted to use org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory```
hmm
@thorn thunder can you help us out here? He's downloading the last version manually from the ecloud and he still gets this? he's on mc 1.8.8. we don't know the java version but I'd assume its 15 or 16
I need to go in a min.
Could you show us your expansions folder?
didn't he say he was? 🤔
here
oh. missed that. yeah. I Was just looking at the dump and it wasn't showing its paper
well sorry my bad it isn't fully paper
i have a custom edited paper
if it's still based on paper, then that means it should still support Java 15/16, so can you check it?
i will ask the person who made it and let you know
also can you try with just paper? because that edit might break stuff.
it's not the person who made it you have to ask
it's your host
you have to ask which Java version your host is currently running
the ParseOther expansion can do that
thanks
sorry for the late response the host run on java 8
and the custom spigot doesn't support java 15 or 16
@balmy marten, I apologize for the mention, I really need your help. Can you write to me in DM, please?
Please respect the rules, be patient and don't ping staff members!
Yeah.
Please respect the rules, be patient and don't ping staff members!
Is there a placeholder for the entire online time the player has on the server
%statistic_time_played%
thx
Ever since updating my server to 1.17.1 and updating to the latest Papi version, the plugin seems to forget expansions it had registered on every restart.
And I have to manually type /papi register Expansions-Vault.jar and others..
I don't seem to find many others having the same issue so I'm wondering if I did anything wrong?
It all worked perfectly before the updates.
first of all do /papi dump and send the generated link here
then restart the server and send a full startup logh
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
no
pretty sure there is not
that I don't know
Ps
How would you say something if an entity has a certain score with placeholders?
hello, I saw that the default engine is Nashorn, but what other engines can I try?
because I want to try to use const map = new Map(); but Nashorn engine does not recognize it.
Can anyone help me with the ecloud javascript? Basically my placeholder has a '%' at the end, and I need to remove it, but not sure how...
%javascript_{ultraprison_rankup_progress}.replace("%","")%
^^^ I did it
How does the %objective_score_<obj>% work? Everytime i type anything in the objective section it just returns 0
If you're on the latest version of the expansion, you can go in plugins/Placeholder Api/config.yml and should be able yo enable the other engine. I think it is QuickJs
Ugh. Thats not how javascript placeholders work
You have to make a file and put the code in there.
You have to update your server expansion
Hey! Can someone help me out? I have a problem.
we all have problems. 
a scoreboard? how can a scoreboard be a certain value
Sorry, if a value on a scoreboard is equal to a certain number, I want it to display a text. How would I do that?
is that like an actual minecraft scoreboard made with teams and stuff?
So I have a scoreboard where I want to use placeholders in the TAB plugin to display text if a value is set to a certain number.
So yes, I have a Minecraft scoreboard.
Ok, so how would I then only display it if it was equal to a certain value?
you can use the ChangeOutput expansion
Oh, ok! Let me take a look at that one, haven't seen it before
nope lol
So how would I display a certian text with this if the score of a entity was equal to 1?
Sorry, I'm new to this whole placeholder thing
equal? or >= ?
Equal
%changeoutput_equals_{objective_score_<obj-name>}_1_<output-if-matched>_%
you need the _ at the end I think
& this will just show nothing if it isn't meet?
Perfect! Thanks!
I cant get the %objective_score% placeholder to work, it always returns zero
how are you testing it?
in chat, does it matter how i do it?
test it with /papi parse
shouldn't be a problem
Where did I mess up here?
"%changeoutput_equals_{objective_score_Overall_[Aqua]}1☻ &bAqua Axolotls = %objective_score_{Tab}{Team_1}%% = Wins"
ok nvm i needd to put {} around the objective name
can you put it in codeblocks please?
Yeah! How do you do that
Use codeblocks for formatting code or configuration files:
```<language name>
<your code here>
```
For example:
```yaml
test:
- “hi”
- “there”
```
Produces:
test:
- “hi”
- “there”```
test:
- "%changeoutputequals{objective_score_Overall_[Aqua]}_1_☻ &bAqua Axolotls = %objectivescore{Tab}_{Team1}%% = Wins"
I know, I figured it out 🙂
@turbid tide is there an expansion where you can create longs strings with placeholders and reference them by an id? Or is it just something I saw somewhere.
What is wrong with this? I don't know what I'm doing wrong.
huh? I don't think I really understand what you need. Just make a js file? with a big switch statement? xD
section:
something: 'A really long string with %placeholders% that it used in many places, blah blah blah'```
and you would use `%id_something%`
huh I don't exactly know what you're tryting to do here?
also those spaces are broken
or for math placeholders
yeah. just make a js for it
not that hard to make
well unless you actually want it to use yaml
I guess
not what im asking
welp. idk what you're asking then
i just want to know if there's such thing in an expansion
oh well idk any that does that. sowwy
I can't remember if I saw the idea somewhere or it exists
test:
- "%changeoutput_equals_{objective_score_Overall_[Aqua]}_1_☻ &bAqua Axolotls =% %objective_score_{Purple}_{Final_Duel}%"
This is the new one, what am I doing wrong?
@leaden holly I'm a bit confused. do you want to show this text ☻ &bAqua Axolotls if their Overall_[Aqua] score is 1 ?
Yes
can you please try /papi parse me %objective_score_Overall_[Aqua]% and tell me what it says?
Yes
I was thinking of actually doing something similar to this the other day. but not really this. but yeah don't remember ever seeing anything like this
No, let me take a screenshot
if you want to do it, be my guest
nah. don't have time xD
@vivid sparrow Unknown expansion.
its called scoreboardobjective
you dont need the []
Oh, ok, let me see
ugh
@vivid sparrow Unknown expansion.
isn't that the objective name/>
No, it is just Aqua
Still is coming back wrong
This is what I have %changeoutput_equals_{objective_score_Overall_Aqua}1☻_ &bAqua Axolotls =%
Discord ruins _
Lemme doa code block
test:
- "%changeoutput_equals_{objective_score_Overall_Aqua}_1_☻ &bAqua Axolotls =% %objective_score_{Purple}_{Final_Duel}% Wins"
This is what I have. It is showing the entire change output string
so, you're trying to get the objective named Overall for the entry named Aqua ?
Yes
and you're sure 100% they're named that? Pretty sure they're Case Sensitive
Yes, Overall & Aqua
I forgot the _ after it....
Lets see if that fixes anything
Got it! Thank you so much for the help!
👍
Right ill do it then
I also had an idea for something else
but forgot what it was
xD
ahhh
a random
placeholder
%random_text1,text2,text3% and just get random string
from there
yeah
and maybe be able to get more than just 1
hm
bcz people are lazy and don't know how to make a simple js
array[Math.floor(Math.random() * array.size) - 1)] I guess
@vivid sparrow Unknown expansion.
rng
@turbid tide Unknown expansion.
there we go
I know, just checking if theres smth with "random"
ah. no. afaik
but yeah. would literally be 1 line of code unless I want to allow them to have multiple outputs somehow?
idk
but ain't gonna do it anyways
Multiple in what way?
yeah idk.
i was thinking of adding it to the expansion, but thought it didnt fit the expansion. but considering it has online_player placeholder, ig i could add it
oh I guess that would make more sense
than having an entire expansion
just for that
Or you can create a collection just Like I did
my laptop is having a stroke. just crashes if I Open 3 pgorams at the same time
so can't do it
huh?
what collection gaby?
ugh
%survival_<id>_<args>%
Because is easier than having 10 expansions
I didnt combined the public expansions in one jar
Server and essentials have extra placeholders
alr
Anyone know how to fix this error? https://paste.helpch.at/filefurugi.bash
pretty sure you just have multiple of the same expansion (bungeecord one) in your expansions folder. you can just delete one do /papi reload and it will be solved I think
Legend! Thank you so much
Hi guys, is there any difference between
%statistic_time_played:hours% & %statistic_hours_played% ❓ Why two placeholders?
uhm. I'm having a weird issue
Placeholders are parsed correctly on my test environment, but not on other persons server
Using the same Java, server jar
except system
though it's java, should be compatible regardless?
yeah. pretty sure the second one displays all the hours played while the second one displays up to 24 hours only.
for example if you have 2 days 3 hours 54 minutes played it will give you 3
what placeholders? can you give examples? or is it for all of them?
it's from my plugin.
it doesn't work with any of them for the other person.
the placeholders are registered in /papi list
so when you do /papi parse me %placeholder% it just returns back the placeholder itself?
yeah.
also, it's built on PAPI v2.10.9
the other person is using v2.10.10
that's probably the issue?
should not be a problem. but I guess it can't hurt to either build it on 2.10.10 or make them downgrade for a second
somehow bumping the PAPI build version fixed the issue
strange. can you check the old startup logs? maybe there's some sort of error in there
strange. very strange indeed
I've been running PAPI 2.10.10 for a while with plugins built even on PAPI 2.10.8
maybe they were using a build of 2.10.10 which was broken in some way
yeah
Are there any good guides on how to add arguments to placeholders? I'm kind of lost here.
%mobarenastats_<arena>_highest_wave% Something like that for example.
well, it's nothing with arguments for placeholders really
if prefix is mobarenstats
// arenaName_highest_wave
// Split by _, so you'll get an array ['arenaName', 'highest', 'wave']
// Get the first element
String arenaName = placeholderID.split('_')[0];
// Get it from wherever they are stored, ex. hashmap
Arena arena = someArenaMap.get(arenaName);
return arena.highestWave;
Then it's only a matter how you'll implement it.
PlaceholderAPI will literally just give you anything after the first _
so in your case <arena>_highest_wave
then you can just do whatever. for example split by _ if you need to get each thing
etc.
I have the server ecloud extension and have done '%server_countdown_dd.MM.yyyy_01.09.2021%' but it doesn't work
what does /papi parse me %server_countdown_dd.MM.yyyy_01.09.2021% return?
Ahh, well that returns the expected value of the countdown, so it's just my hologram not working then
do you have HolographicExtension too?
they don't work with HE
dk why. niall never fixed it
no counter placeholder actually does.
its strange
you will have to try HolographicPlaceholders instead.
so HolographicDisplay + HolographicPlaceholders + ProtocolLib
bro wtf
reported it almost a year ago now. maybe it has been a year but niall kinda stopped working on HE for a while. never looked into it
also yeah. it doesn't even work on 1.17
which makes sense since it uses packets and stuff
HolographicPlacheolders is kinda becoming the standard I guess
I have holographicplaceholders already 😦
Hello
I made a custom workshop
works with a timer
I mean you give the ingredients of the item
and After a while
you can get your item
like a delivery
so I will add this delivery time to scoreboard
I added papi to maven
and I can use it
But how can I make a custom placeholder?
for delivery time
long kalansaniye = ((wait9.get(p.getUniqueId()) / 1000) + waittime * 180) - (System.currentTimeMillis() / 1000);
how can I make this a placeholder?
I will use it on scoreboard
Should I wrote that to development chanel :/
[Service] PlaceHolderAPI
[Request] Add a new list of Iridium Skyblock's expansions. The IridiumExpansion is not working anymore.
Hey all! What's a good way to add a player requirement to a placeholder, but also keep in mind players that have underscores in their name?
I made a placeholder expansion and it just shits itself if a player has an underscore somewhere lol
I would make the placeholder %expansion_my_placeholder_<name>%
and just check if the params startWith "my_placeholder_", if yes replace "my_placeholder_" with an empry string and you get the name
So in my case I have this for example:
%mobarenastats_player_<name>_highest-waves%
Do I refactor it to
%mobarenastats_player_highest-waves_<name>% or something?
Just kinda new to this lol
The issue here is that i'm using split("_") to get the <name> out of the placeholder
you can keep this format if you want, and before using the string to get the player name you check if the string endsWith "_highest-waves" and then replace it
yeah, the split method might be a bit of a problem
there could be another way to make it work too but I would recommend to just use startsWith/endsWith and replace
Hello! Why is that: https://i.imgur.com/JY5iY4b.png
it seems to have registered, but it seems to be not
That message probably counts the external expansions
You can ignore
okay
Anyone know what this means in the console?
https://gyazo.com/860d57797d36e1795f8ba23513aae33b
/papi ecloud download Server
/papi reload
%localtime_timezone_173,kk:mm% - this doesn't seem to work because it has the wrong time
Hello, I've tried searching the web but I haven't been able to find much. When I use %server_tps% in my Scoreboard Plugin, it's showing 3 TPS numbers. I only want one?
%server_tps_1% @unborn acorn
np!
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders @unborn acorn check here
Ahhh, appreciate that.
np
Sorry premium plugin support requires you to link your account check #spigot-linking
You didnt do it right I checked your profile and it doesnt display your discord so I went ahead and denied the request
can i send a screenshot to prove that tour is correct?
=paste
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
How I can put an screenshot in hastebin ?
I can send you the screenshot in dm please ?
this
link me your spigot
Nope
I have send in #bot-commands
make sure your saving
I’m sure
And make sure it's public
^^
Cause we can't see it
I’m sure
Well obviously not
Considering I can't see it
This is what your profile page looks like to me
It’s already
I have already put my discord profile check the Imgur
How I can make that 😢
ah yup
you were putting the wrong number in silly
https://www.spigotmc.org/members/fordcraftt.1181002/
You take the number from that
Oooook thxxx
so yours is 1181002
Ok ok
anyone know how to use LocalTime Expansions with timezone %localtime_timezone_<TimeZoneID>,<SimpleDateFormat>%?? , I tried %localtime_time_Asia/Jakarta,k:m% and %localtime_time_272,k:m% But not working
help
