#placeholder-api
1 messages ยท Page 178 of 1
How would I set it to germany?
%formatter_number_format_de-DE_{vault_eco_balance_fixed}%
Thank you so much! ๐
Why doesn't this work? %ParseOther_{ajlb_lb_vault_eco_balance_1_name}_formatter_number_format_de-DE_{vault_eco_balance}%
%ajlb_lb_vault_eco_balance_1_name% gives a playername btw.
ugh. bcz you can't have placeholder in placeholder in placeholder.
I have installed statistic in the cloud but if I remove it and put it it will recover the kill statistics etc. I need to restore them please
they are not stored by PlaceholderAPI. They are stored by spigot in your world folder
I cant register the vault expansion...
[05:47:56] [Server thread/INFO] [net.minecraft.network.play.ServerPlayNetHandler/]: __Royal_ issued server command: /papi ecloud download Vault
[05:47:56] [placeholderapi-io-#1/INFO] [me.clip.placeholderapi.PlaceholderAPIPlugin/]: [PlaceholderAPI] Fetching available expansion information...
[05:48:03] [Server thread/INFO] [net.minecraft.network.play.ServerPlayNetHandler/]: __Royal_ issued server command: /papi reload
[05:48:03] [Server thread/INFO] [me.clip.placeholderapi.PlaceholderAPIPlugin/]: [PlaceholderAPI] Placeholder expansion registration initializing...
[05:48:03] [Server thread/INFO] [me.clip.placeholderapi.PlaceholderAPIPlugin/]: [PlaceholderAPI] Fetching available expansion information...
[05:48:03] [Server thread/ERROR] [me.clip.placeholderapi.PlaceholderAPIPlugin/]: [PlaceholderAPI] Failed to load expansion class VaultExpansion - One of its properties is null which is not allowed!
[05:48:03] [Server thread/ERROR] [me.clip.placeholderapi.PlaceholderAPIPlugin/]: [PlaceholderAPI]
java.lang.NullPointerException: The expansion version is null!
at java.util.Objects.requireNonNull(Objects.java:233) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:166) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:257) ~[?:?]
at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:248) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:709) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$3(LocalExpansionManager.java:327) ~[?:?]
at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:98) ~[forge:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:462) ~[forge:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:1060) ~[?:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334) ~[?:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:1006) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:821) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:269) ~[?:?]
at java.lang.Thread.run(Thread.java:831) [?:?]
[05:48:52] [Server thread/WARN] [com.nametagedit.plugin.NametagEdit/]: [NametagEdit] Loaded class me.clip.placeholderapi.PlaceholderAPIPlugin from PlaceholderAPI v2.10.10 which is not a depend, softdepend or loadbefore of this plugin.
This worked on a different server 2-4 days ago
should i delete the dataplayers?
Please respect the rules, be patient and don't ping staff members!
Ops sorry
how can i reset Vault placeholder?
wdym by reset vault placeholder
I was a hologam with the 5 richest players, but I would like to have reset, have reset all the money, but all their old amounts are still on the hologram
the hologram needs update i think
the hologram is updated
but they are still top even when you reseted economy ๐ค
what if you do "papi parse me %placeholder%"
if its actual the hologram is outdated
if i do parse me, is the all still on the old
then send latest.log, /papi dump and /vault-info
havent you exceeded int limit?2,147,483,647 (maybe not problem but idk)
nope
step 1 stop using cracked plugins then people will help you
what plugins is cracked?
LiteBans
I have buy litebans
xd
Is there a placeholder for displaying the time in minecraft(not the real time, but the game time)
Thanks
Still not working with the most recent js expansion, and use_quickjs to true :(
Any idea why it's still returning blank?
Seems to be an issue with only me, dev himself didn't have an issue getting it to parse
%recipient% deluxehchat msg this placeholder is correct?
I may be stupid, but im attempting to use the essentials expansion to display baltop, but its not appearing on a holo display. However, if i parse it, it gets calculated properly
Is there something im missing?
Essentials, Vault, Papi, HoloDisplays
Sorry, found it
i suggest to use vault for economy/permission placeholders
it have more options
Vaults baltop is changing no?
Hey I got an issue with DeluxeMenus, it wont reload due to a Javascript issue but the Javascript expansion is installed already.
Caused by: java.lang.NullPointerException: Cannot invoke "javax.script.ScriptEngine.put(String, Object)" because "com.extendedclip.deluxemenus.requirement.JavascriptRequirement.engine" is null
Looks like you are running Java 16 without a dev build of DeluxeMenus, you can download the latest from https://ci.extendedclip.com/job/DeluxeMenus/lastSuccessfulBuild/
This bot is a fucking genius wth how'd it know
common issue i assume
We log alot of keywords to trigger it
hey, can anyone help me to setup the math expansion
in the way that it sum the players from 2 different bungee server
it shows .000
btw. the : is not required unless you want to set a rounding option as well. makes it look a bit "cleaner" lol
bump
Hello, placeholder for walked blocks? I can not find it.. THANKS!
answered in #general-plugins. Please do not post in multiple channels next time
is there a way to get a placeholder for display name of a mob that killed me?
how much time or what should i do to verify my Expansion?
well, you first have to ask us to verify it. we don't just go and verify every new expansion
so if you can give me the name of your expansion and the link to github I'll verify it as soon as I Can
oh right.
should i send it as report?
ok
but why have you made an external expansion as well as an internal one?
oh you've put the entire plugin on the ecloud. you've got it all wrong
oh
should i only put the expansion class?
you'll have to take that down. if you can. The ecloud is just for expansion. And since yours is built inside the plugin you don't need the ecloud at all
its just for external expansions to have an easy way to be downloaded. but yours is internal
so you don't have to use the ecloud at all since it comes inside your plugin
so should i create a new project for the expansion
or uploading the expansion class would be enough?
you should just take it down from the ecloud completely. you do not need the ecloud
but i need it probably
why?
when someone wants to use an external plugin for it server he cant get access to my plugins value's
yes he can? because the expansion is built inside your plugin.
oh so he can use those placeholders without adding it to placeholder? (/papi ecloud download)
cool
well as I said, the ecloud is just an easy way to access expansions that need to be external.
the Player expansion is a very good example. since its not tied to any plugin
it needs a way to be downloaded
the ecloud is that
btw. you should note that your identifier needs to be all lowercase.
AdvancedKnockbackFFA needs to be advancedknockbackffa
otherwise PAPI will throw an error
ok
and another thing, I've noticed that you've listed your placeholders as %player_deaths% %player_kills% but they will actually be %advancedknockbackffa_player_deaths%
and %advancedknockbackffa_player_kills%
not working...
Please respect the rules, be patient and don't ping staff members!
what exactly?
the placeholders that i've created
have you registered the expansion in your plugin?
/papi register?
i did
you need to do new Expansion().register()
yeah
cant do that
why?
oh yeah. makes sense. since your constructor requires an insntannce of the plugin
fixed thanks
uh ok
lmao
well i cant send the link ig
but my expansion just refuses to register at all
toptal.com/developers/hastebin/ ubofeqixes.kotlin
im making an expansion with an external jar
idk if the souts are supposed to get printed if it tries to read it but they dont and i cant tell why
i looked into other expansions too like essentials and a random other one from the trusted ecloud ones
i added the register() method too but nothing changed
and im just out of ideas
can you send a PAPI dump and a startup log while your expansion is installed? /papi dump to generate the dump
it says invalid command...
and the server log is hella long which parts do you need
if you mean this part to check if it registers [PlaceholderAPI] Successfully registered expansion: player then no, it doesnt to register mine
well thats why I want it in a paste bin not sent here
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.
what version of PAPI do you have?
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
Well that might be a problem. Please update to PAPI 2.10.10
alright
alright. can I also get the new log please?
java.util.concurrent.CompletionException: java.lang.UnsupportedClassVersionError: me/atomiz/bedwarspapihook/BedWarsExpansionPAPI has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 52.0
you've compiled the expansion on java 16 while your server runs java 8
you need to compile the expansion against java 8
yeah works thanks again xD
no problem ๐
What is the placeholder to get the piing of the player?
%player_ping% should work
Do i need any ecloud?
Hello, I have problem with PAPI :/ My console is spammed with this...
Can you help me please? ๐
Update your player expansion.
Is there any idea when placeholderapi will be updated to 1.18?
Can I ask how? ๐
Please respect the rules, be patient and don't ping staff members!
Okay, thank you
hi
Hey so I was wondering how I could add asking for a specific player inside of a placeholder
if i set a scoreboard with placeholder api about Balance / money .. .. its seems like $5000.5499999999 .. i want to remove the big lines of numbers after 5000. bla blba lba 9999999 .. can that be possible?
i mean it goes like this .. i want the change it
@mint fable can anyone help ?
Please respect the rules, be patient and don't ping staff members!
%math_2_{vault_eco_balance}%
try that
and don't forget to download the Math expansion with /papi ecloud download Math
and /papi reload
thanks man
Hi, I can't download Math from ecloud. I am getting an error when I reload please help
anyone around for a stupid question? I have papi setup correctly, and the plugin is working.
I am trying to get a plugin, to spawn in an item for a player on an event. It runs a command via console with mythicmobs -
mm i give %player_name% itemname amount
Error player not found, console reads this as the actual playername and not a placeholder.. %player_name% (and all other variations with %player% {player_name} and so on...
My question is what placeholder should I be using, because none of the above variations work, or do I have papi setup wrong. Ping me.
what's the plugin that executes the command?
its headhunters, its a plugin with papi support, you right click a head, it sends it to console and theres where things break
/papi parse me %player_name%
does it show your name in chat? or just the placeholder unparsed?
one min
?paste
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
yeah it drops the player name
then you should try to contact the dev of your HeadHunters plugin
seems like it doesn't entirely support PAPI
hmm alright, i know its physically possible cuz i had it working last year, but ill let them know, thanks
๐ i spent 3 hours on it
you need Java 11+ to use it
I have to update the java of the computer, or is it the server version?
you have to update the Java version on the computer that runs the server
oky thx
Not sure I fully understand. Can you give a bit more information please?
so like %placeholder_playername_test% and it would return the playername followed by test sorrta thing
Please respect the rules, be patient and don't ping staff members!
Please respect the rules, be patient and don't ping staff members!
sorry forgot that replying pings
hi, I need help
%server_tps_1% is not working on paper 1.18
it just displays as 0.00
ping me
yeah. I believe the server expansion needs updated since it uses NMS for the tps stuff
is there any ETA on when itll update?
nope
Why doesn't it just use getTPS from spigot

I'm pretty sure that's from paper
hi, everythings been working fine for a long time but this morning i have this error https://paste.helpch.at/ukuxaxoyay.sql I was moved to a different node by my server host over night, could that be the cause?
My best guess is plugin jar got corrupted while moving or something. I recommend you try reinstall PlaceholderAPI. If its not that, then it might be one of the expansions. try reinstalling those
thanks, ill try that
Please respect the rules, be patient and don't ping staff members!
you were correct, it was the player expansion, thanks again
no problem
Is there a dev branch for placeholderapi that supports 1.18?
no. tho I believe the spigot release already works on 1.18. I don't think there were any breaking changes
My plcaeholderapi on 1.18 does not work
the plugin itself or an expansion?
The plugin
I will send log one min
Hmm the new version of spigot worked this time so nvm
well. lmk if it does that again
I have an issue with SuperbVote's placeholder
When I try to use the top voter placeholder on an NPC it says "Armor Stand" rather than the players name on the voters top board thing. And when I add a color in front of it (for example &b) it will make the placeholder turn blank
It works in chat but not on the npcs name
Sounds like a problem then with whatever you're using to put it on the ArmorStand.
No that returns the name of the top voter
well then the problem is whatever npc plugin you use. it probably doesn't supprot placeholders or something like that
it probably breaks and the name gets reset
Citizens claims to support placeholders
to the entity name
Is there any updates if the player expansion from ecloud or a dev build?
For?
1.18 Seems to die when parsing for player ping.
Ahh yeah, I wouldn't be surprised. More mappings changed.
At least sparks tps works
I complied the 1.18 version from github and seems the only issues are some expansions.
server one also needs updating for tps
Is there any kind of error output when trying to get the player's ping?
I think it's simply because it's a pre-release and md5 changed the naming scheme for the pre-releases.
yea the build is 1.18-rc3 we are close to full launch
yeah so the expansion breaks because the version check breaks
i have a questions. my friend created a second account and put his phone number on both account. And now he can't confirm either of them because it turns out that the number was used to another account. Can someone help.
Hello. This discord server doesnt really offer support about Discord itself. if you need support from discord I recommend you contact https://support.discord.com
this discord server is minecraft and development related
ok thanks
So I talked to Citizen about my issue with SuperB vote and they said that it may be an issue with the code that handles it. The support chat said:
it seems like every top_x placeholder was copy/pasted from the sample example source that mistakenly requires a player link or something
cause this keeps coming up with the same style of placeholder from various plugins
basically just gotta poke the dev of the plugin and ask them to fix the mistaken player link requirement
What kind of server are you running for 1.18 pre builds right now? Spigot? Paper?
This should hold you over for a little bit. Once 1.18 is out we'll do an actual update but I removed the version check on the ping placeholder and set it to what it should be in 1.18.
Thanks! This works.
๐
Seems to work for paper so it should work for spigot
Yeah I realized my problem after I had asked that.
bump...
So what exactly are you wanting changed?
they said "the placeholder requires a player link to function, it should not." in reference to this placeholder %superbvote_top_voter_name_<index>%
Yeah, I think this is the code they are referring to. https://github.com/PlaceholderAPI/SuperbVote-Expansion/blob/master/src/main/java/com/extendedclip/papi/expansion/superbvote/SuperbVoteExpansion.java#L79-L99
Not really sure why it breaks when you try to use it on Citizens. Looks to be working fine in chat, on scoreboards, etc.
I posted an issue for it: https://github.com/PlaceholderAPI/SuperbVote-Expansion/issues/5
Oh, that's what they meant by a player link.
Sorry, that wording was a little confusing.
It seems like every variable of a top_(x) papi expansion breaks when there's no player for some reason - I assume it's all written by the same person or copy/pasted from a single reference (This has come up several times in Citizens, as Citizens is one of those few plugins that tries to parse papi placeholders without a player attached very often)
This fix it?
Awesome.
Yeah Im sorrry if I caused any confusion
woo
No worries. Glad it's fixed. I'll go ahead and get this deployed to the eCloud. It'll show up across servers over the next 2 hours.
awesome! also on https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders it only has one placeholder the %superbvote_votes% im not sure if its outdated or if yall switched to the new site or what but just wanted to bring that up
CC: @arctic loom if you have some extra time today / tomorrow, can you double check this? Tyvm ๐
thank you ๐
Alrighty. That has been deployed to the eCloud. People will start seeing that update soon ๐
Thank you I really appreciate it, I was racking my head trying to find out what was wrong. Im glad you and citizen could solve it
btw for reference on this part: https://github.com/PlaceholderAPI/Vault-Expansion/issues/28 <-- here's the previous time i posted an issue of this exact thing, for a different expansion's top_ placeholder
Yeah that would make sense. Too many expansions to keep track of, haha. And with SuperbVote not in development anymore, I don't typically look at these older expansions.
I'd suggest that maybe a general review of all expansions might be warranted, but that's a huge list even for just the ones PAPI maintains internally so i can't blame ya if you don't want to bother
its not in development?
Nerp, stopped last year
oh dip, alright Im sorry for bring up something that isnt developed on anymore
Yeah I'm like 85% sure it's not being worked on anymore. Tux is focused on Velocity these days, but that IMO is much more important.
yeah for sure
Yeah that's a big task to do all at once, most likely will just patch as reported. That way I don't have to go through them all myself.
wdouble check what?
I don't watch this server, so be precise pls
superbvote isn't up to date on the placeholders github page
%superbvote_votes%
%superbvote_has_voted%
%superbvote_has_voted%
%superbvote_has_voted%
%superbvote_top_voter_name_<index>%
%superbvote_top_voter_votes_<index>%
These are the one from
https://api.extendedclip.com/expansions/superbvote/
idk if that will help
That's a really good question.
I just noticed that, thats funny
Just fixed that.
Maybe people really need to know they can check if they voted or not.
its important lmao
Cheers, I appreciate it Andre.
yall work fast
Can we btw look into the release.yml PR Glare (#731)?
Yup! I can do that right now.
Yeah it looks good. I went ahead and approved it. If it's ready to be merged, I can go ahead and do that.
Hi I have a problem, recently I downloaded the BlockQuest plugin, but when putting the PlaceHolder on the ScoreBoard, I get a strange sign
https://ibb.co/QMQf87p
Is this a stable build?
Please respect the rules, be patient and don't ping staff members!
hey what is the placeholder to show number of player on m bungee network
like example im in the lobby and i wanna show how many players are in the survival server
hey
should i download it
on the bungee or
the lobby
?
Lobby.
or on all the servers
ok
%bungee_total%
this is for
player count
%bungee_<servername>% and this?
Yes
whats this %bungee_<servername>%
For the players on that srver.
hey srry but is there a placeholder to show if a server is offline or online?
Uh maybe pinger, there might be something else, but nothing that I've used so I won't be of any help.
ok thx
I canโt use placeholder for world edit/guard right?
WorldGuard has an expansion. to show what region you are in and stuff like that
โค๏ธ
its there any way to set placeholders on left side of monitor, coz i use beatyquest who have placeholders also?
I suggest you to use beton quest, much better than beauty quest
How can I use PlaceholderAPI.setPlaceholders in a serverlistping event. So with no player
you can pass it null, offline player or a player
but it will only parse the placeholders for expansions that support those options
Oke thx
Hello,
excuse me for disturbing you.
Can you tell me what the attached error is?
thank you
[PlaceholderAPI] Loaded class net.luckperms.api.LuckPerms from LuckPerms v5.3.74 which is not a depend, softdepend or loadbefore of this plugin.```
Not an error, just a warning.
Just means that you're probably using the LuckPerms expansion, which is fine!
ok
I have other warns that seem to concern placeholderAPI
https://www.toptal.com/developers/hastebin/ovufirebuw.md
Update your server expansion.
how do i add skript variables to placeholderapi
@topaz fern
?paste
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
Please respect the rules, be patient and don't ping staff members!
it says failed to find a expansion named: skript
bruh
it looks like it was renamed somehow
i'll let funnycube know
try skippi
manual download here: https://api.extendedclip.com/expansions/skippi/
got it thanks
@short shoal yes it is but I must code everyquest theres no GUI at all
SO
basically
I am using the expansion "Server" to check the amount of players in a specific world
I have an alt to check if it updates when I join the world
and it doesnt untill I rejoin
Hi! Placeholder Math is not working for me, please help me cope with the problem. The idea is that if there is a clan, it will write the name of the clan, and if there is no clan name, it will write NO. %guilds_member_count% gives the number of clan members. %guilds_name% gives the name of the clan.
%math_IF({guilds_member_count}>0.5,{guilds_name},no)%
Output: https://imgur.com/a/Pn1Y6z3
yeah the math expansion doesnt supprt text. its for... you guessed it: math. One expansion that might work for you is the ChangeOuptut expansion.
ChangeOuptut? What is it, could you tell me in more detail?
Ah, I kind of found it and kind of understood, thanks for the help!
Well yes, but gives much more possibilities and makes you be able to create much better quests than with the quests plugin
Hey guys, been getting this error showing up, does not seem to happen i tried the stable version aswell as the dev version and both are giving it, any ideas?
please can some1 help me thanks!
how are you testing the placeholder? because I'm pretty sure the server expansion just makes a request to spigot every time its parsed
with holographicdisplays and holographicdisplaysextension
that might be the problem. the hologram might not update
do you know about the update tags from HExtension?
HolographicExtension-1.10.10-kixmc?
in HExtension you can add the tag {fast} at the start of your holgram to make sure it updates
every second or so
Is there a placeholder for the maxmium amount of players that can be on a server
%server_max_players%
What is the ecloud which needs to be installed for that?
if i may ask
nvm
got it
server expansion
thanks
just so you know, usually the identifier is the same as the expansion name, the identifier being the first string before _. in this case server. it can help in the future
hello , how can i put a clock on this %server_countdown_30.11.2021_01.01.2021%
It doesnt work for some reason
you got it wrong. the first part should be the format. and the second part shuld be the date it counts to. it goes from the current time to whatever you give it. you can't give it 2 dates
what doesn't exactly?
The placeholder %server_max_players% i installed server extension aswell btw
but it still does not work
can you try /papi parse me %serve_name% to see if that one works?
can u pass me the right mode?
no
it doesnt work
did you reload PAPI after downloading the expansion? if not run /papi reload
%server_countdown_dd.MM.yyyy_01.01.2022% this will count down until january 1st 2022.
it even says in the extension folder that it is there
alright. please run /papi dump and send the generated link here
ok , if i want a count down about 1h how can i put?
can i dm it to u?
it doesn't contain any harmful information. just plugin list, plugin versions and expansions. also server version
you can send it here
oh Ic what's happening
?
go to plugins/PlaceholderAPI/expansions you will find 2 jars: PAPI-Expansion-Server_iuRheaT.jar and Expansion-server.jar
delete them both
and redownload the server expansion
with /papi ecloud download
then do a /papi reload
%server_countdown_dd.MM.yyyy HH:mm_30.11.2021 21:25% this will count down to november 30th 2021 hour 21 minute 25. for example. you have to give it the end time yourself. tha'ts what the 30.11.2021 21:25 is. btw the server expansion uses the server time. so make sure when you give it an end time you use the time your server is located at
hmm. can you generate a new dump please?
TY SO MUCH
it work <3
that's strange. it should work now. what placeholder are you testing?
no problem
i can use that in a proxy?
not exactly. PAPI only supports spigot/paper at the moment. to use it on a proxy, you'd have to have a custom bridge from backend to proxy
%server_max_players%
can you test it on the server_name one?
also I assume you're testing using /papi parse?
ok , so how can i do a count down like this?
oh i can paste images
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.
that works
Wait okay it works
now
Thanks for the help
no problem
I'm afraid that's not possible with PAPI unless its just a backend server. they probably have something custom for it.
unless there's plugins out there that I dont know of (probably the case)
but either way I can't really help. sorry
ok ty :)
guys is there any way to lower scoreboard size?
that is client sided. from settings users can make the entire gui smaller
but that will include the options menu and all that
depends on the plugin they could. plugins like KiteBoard have user commands to allow them to disable the scoreboard
i use title manager
you'll have to look at their documentation. see what commands exist
why this doesnt work? %RainbowColor_custom_<Color 1>,<Color 2>,<etc>_<Text>%
they need an extencion or something?
.help
latest placeholderapi breaks %server_uptime% placeholder?
1.8
can you send a 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.
?paste
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
that was for blitz above ๐
spigot release will work
thank you !
ok. can you also run a /papi dump and send me the startup log? also when you parse the %server_uptime% placeholder do you get an error in console?
yeah i do
send that in a paste bin as well please
oh wait. the error shows up in the startup log
nvm
just the dump please
ok. can you try updating the server expansion? you're quite a few versions behind. all you need to do is run /papi ecloud download server then /papi reload
just did, same result
generate another dump please.
seems to me like its still running version 2.2.3. let me double check. I might be wrong
idk why it still says 2.2.3
ok. so you might have to stop your server, go to plugins/PlaceholderAPI/expansions and delete the Expansion-Server.jar jar
then start the server
and then run these 2 commands
ohhh IC
you have 2 server jars
that's why
delete them both
then do the download commands
oh thats probably the issue, idk why i had 2
my bad
it takes the one that i uploaded first probably and it ignores the newest one?
yep, works now
thanks
I know why. the expansion name changed from server to Server in an update and the updater checks the name exactly
and yeah that is what was happening
yeah makes sense
Is there any variable that tells you the registered users of the server other than Essentials?
amount of users that joined?
then there is %server_unique_joins%
ye
wait
ok
PlaceholderAPI 1.18 Development Jar
Attached is a copy of PlaceholderAPI compiled under the latest Spigot 1.18 release. While the current production version should work fine under 1.18, for any servers that use NMS hooks from PlaceholderAPI's NMS version enum, this adds support for the 1.18 NMS values.
My tab menu is displaying %essentialsnick%, but I have the Essentials placeholders downloaded, any idea what I should do?
use %essentials_nickname% instead. bz that's the actual placeholder
โซ it actually was a TAB internal placeholder before but got removed, so yeah, just use the PAPI version
thank you!
did that work for you?
yes it did!
where in the config did you change it? a lil lost here. ^^
It should be in your tab config (plugins/TAB/groups.yml)
tabprefix: '%vault-prefix%'
tagprefix: '%vault-prefix%'
tabsuffix: '%afk%'
tagsuffix: '%afk%'
customtabname: '%essentials_nick%'
customtagname: '%essentials_nick%'```
and then at the bottom you just have to change essentialsnick to essentials_nickname for both options, go back into game, do /papi ecloud download essentials, and then do /papi reload
oh to name??
tab and tag name yes
that worked tysm!! <3
no problem!
this is giving me a error https://paste.helpch.at/fipitolabe.sql
Please respect the rules, be patient and don't ping staff members!
oops
What expansions are you running?
Can you try running without any expansions enabled? Looks like a bad expansion.
sure give me 2s
Yeah, it seems you were correct, when i renamed the folder of expansions it reinstalled the hooks and has loaded correctly
Alrighty. So that means your next task, should you choose to accept it, is to start adding the expansions back 1 by 1 until you find the one that breaks it.
Yeah, will do, first i need to report the paper bug that is crashing the server lol
Okie dokie
tried them all seperate, all worked, then i put them all back on and it worked again, quite confused
so i updated protocol lib and now its again lol
any Vault balance is 0 someone can can help me?
hey i found the issue, its with the JavaScript expansion that is causing the issue, i uninstalled the expansion then redownloaded it and its still causing Papi to crash
Please respect the rules, be patient and don't ping staff members!
f%cksake i keep forgetting to turn off replies
That's unfortunate because it doesn't really tell us what the problem is with JS. Hmm.
i do have a small javascript that adds a space however that worked fine on both 1.16 and 1.17 https://bin.bloom.host/wedohocuve.php
It probably won't be necessarily related to the script itself. There may be some changes made internally in Java for Java 17.
For the 1.17 update it took us a week or 2 before we had builds ready to go so it'll depend on what the actual problem is once I have time to identify the changes.
good thing im not updating the main server for a little bit
i didnt even think about java 17 breaking javascript
but it does make sense
Maybe it is something in my script that might have changed, let me remove it real quick then download the expansion
But that's also very basic testing. We will do heavier testing over the next week or so.
I want to see if more people roll in having the same problems
I just checked all the internal dependencies for script evaluation and I'm not seeing any updates for them in terms of Java 17
Yeah, even without the script. i can download and do papi reload, and the extension loads, but after a restart papi fails to load
That's really odd. I just restarted the server cause that's one thing I didn't test and it seems to still load (with just the basic stuff downloaded). If you remove the JS expansion, can you start back up the server, and give me the /papi dump output?
Just realized I never merged the PR to add Java Version information to those. Do you know your exact java version?
Here's what I'm running and it seems to work
openjdk 17 2021-09-14
OpenJDK Runtime Environment Temurin-17+35 (build 17+35)
OpenJDK 64-Bit Server VM Temurin-17+35 (build 17+35, mixed mode, sharing)
openjdk version "17.0.1" 2021-10-19
OpenJDK Runtime Environment (build 17.0.1+12-39)
OpenJDK 64-Bit Server VM (build 17.0.1+12-39, mixed mode, sharing)
it turns out i was speaking to a mate who is using the same javascript code, and is having the same issue on the same host
maybe its java version
Yeah, definitely weird. Have you tried just having the JS expansion loaded? I saw you had a couple others.
Never-the-less, we will have some people be testing it more and more as others switch to the new version and we'll figure out the issue ๐
can try in just a second
gotta keep going after i accidentally shut off my main server instead of my test
xD
it loaded fine but after restart, it did not load
that was just with the js expansion
i could always ask the host to see if i can use the other JDK and see if it works
If you want to, you can. I just wish I could reproduce this. You'd think I'd have it for being on a more outdated version of Java 17 unless something changed in the 4 builds ahead you are.
Yeah its very weird, my host is looking into if they can do it for me rn, will hope and see.
๐
unfortunately they cannot without making a ptero egg for it
and since temurin is so new there isnt one made yet
Alrighty, well, I guess we will play the waiting game to see if anyone else reports issues with it.
The only other difference I can think of right now is your server is on Linux and I'm on Windows atm.
then it most likely is the java version causing the issue
Definitely a possibility. I'll keep my eye out for other reports.
Two questions, what do registering plugins do and why do registered plugins get unregistered during a restart?
Well, registering a plugin allows it to be used on a server, and I mean... the server has to shut down, right? How would the plugins stay loaded when the Java software itself closes?
Ah, I went through the changelog since the previous placeholders are being shown in their raw format and registered all the plugins. After the server restarts the placeholders that were fixed from being registered go back to being shown in the placeholder format
Ahh you mean expansions, not plugins.
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/PlaceholderExpansion#full-example-2
Expansions will unregister if they don't have that persist() boolean in the code set to true.
ah much appreciated
Yup!
any Vault balance is 0 someone can can help me?
Does papi work for 1.18 yet
check pinned msgs
Do you need to get the download from the pinned messages for 1.18 or does the download on the spigot website work just as fine?
Pins
Sorry, where can i find the available development builds for 1.18?
pinned messages
Thanks!
hey mate, Just did some more testing, i took a exact copy of my test server over to my local system, running the same Java 17 version as you, and it works fine, with OpenJDK it does not. meaning its 100% the java 17 version that is causing javascript to fail
Please respect the rules, be patient and don't ping staff members!
this is only color? or it change whit movement %RainbowColorcustom<Color 1>,<Color 2>,<etc>_<Text>%
Good to know!
is there any placeholder that adds only color of Vaults prefix not wholeprefix but just color of it?
you could try %vault_prefix_color%
Thanks
i want to fix this error java.sql.SQLException: Access denied for user ''@'localhost' (using password: YES)
@mint fable
Please respect the rules, be patient and don't ping staff members!
what plugin?
I feel you should remove that IP @cosmic dove
for your own safety
nope
Please respect the rules, be patient and don't ping staff members!
doesnt works
@mint fable help me
Please respect the rules, be patient and don't ping staff members!
I don't know what you're talking about though
is this related to placeholderapi?
what plugin?
Yeah its about related placeholderapi
right now it just looks like you might have the wrong username and password or the server is inaccessible
When i am using bedwars practice plugin and connect yo sql database i got this expansion error
Nope its not
?startuplog
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
can you send that over with your IP blocked out/removed?
can i use %RainbowColor_custom_a,f,e,b_This is an example% in a Holographydisplay?
with holographic extension
@wooden zealot 
ty :D
why i need to do ? i need to add other time the api?
huh?
Cj is saying you need holographic extensions to use what you are asking for in holographic displays
i want for explamle this %RainbowColor_custom_a,c,_Christmas% in a holograpic
See it as an addon
i reload the extencion , the holograpic and the papi and i didnt work :c
what mc version are you on
1.8
run those commands and try again
the server count down doesnt have animation on the holograpic?
it works but the time doesnt update
it tells you how on the spigot page
ok
the command dosent work :/
nop
unknokw sub command
well, whatever the new command is use that
just add the reload speed you want to the line
were i do that?
anywhere in the line
yes
what database...
in my carpet of the holograpics call database
very confused
just type /hd addline <hologram> <speed> <placeholder>
all you need to do is have the speed on the same line as the placeholder
and it should update it
ok
like this ? /hd addline airdops 1 %RainbowColor_custom_c,a,_Christmas%
where's the speed?
1
I don't think so
{r1} - 1 second refresh.
what version are you on
1.8
so use {medium} then
@mint fable can i use the rainbow color on items?
Please respect the rules, be patient and don't ping staff members!
for renames or somethin?
can u tell me the plugin?
because the plugin itself would have to track and manage every item with a placeholder attached to it
same thing for lore
whit lore i can?
I'm not sure what is available
Ok i will send you tommrow
Please respect the rules, be patient and don't ping staff members!
Hello, i'm sorry for ask, but i try to run placeholder on Waterfall but the plugin can't load and i see the expansion for the spigot server but i don't know how that work.. Do you need a version of the plugin on the Bungeecord ?
And where did you find for the spigot?
yes and for spigot it's work weel
papi isnt a bungeecord plugin
I just can't find the version for 1.18
pinned messages for 1.18
Ok so why on old Waterfall version the PlaceholderAPI-2.10.9 is a plugin how install on it ^^ ?
I do not understand, it says that there are baht, but where are they?
what? papi just simply will not work on bungee/waterfall
its for spigot only atm
can i share screenshot ?
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.
@warm topaz https://imgur.com/a/In3vM7Q and actually this config work (for 1.17)
PlaceholderAPI doesn't go on the proxy.
Ok so I don't know where this version comes from, which I have been using for several months already :/
I wouldn't know either. PlaceholderAPI has never worked on the proxy. It goes on the backend servers.
Ok, thanks for reply ๐
I might make something that uses minimessage to rename stuff, Iโll see
does papi work on 1.18
๐
โ the ๐
?paste
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
@mint fable help me i am getting this error https://pastebin.com/i4RCueup
Please respect the rules, be patient and don't ping staff members!
hi, i get ReferenceError: PlaceholderAPI is not defined when using PlaceholderAPI.static.setPlaceholders(BukkitPlayer
how to fix?
what is placeholderapi for essentials balance
%vault_eco_balance%
ok
Did you import PAPI in Maven/Gradle?
Your database configuration is messed up
You probably want to specify a username anyways
didn't, im using JavaScript-expansion version 1.4.2
Oh uh
That method isn't a thing in JavaScript
I think you just set strings to be placeholders with percent signs and it just fills them out for you?
It's been a bit since I delved into JS
// for green team
function finalValue(String) {
var player = BukkitPlayer;
var playersinteam = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%mbedwars_playerarena-team-lightgreen-size%");
var heart = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%mbedwars_playerarena-team-lightgreen-status%");
if (heart.contains("Alive")) {
return "&fGreen &aโ";
} else if (heart.contains("Destroyed")) {
if (playersinteam = 1)
return "&a"+playersinteam;
} else if (heart.contains("Destroyed")) {
if (playersinteam = 0)
// return if clear
return "&fGreen &cโ";
}
}
finalValue();
yeah you can't do the PlaceholderAPI. stuff
that's only for Java
Try just setting those equal to the placeholders that you have as a string
i see that's on Advanced-Scripts wiki
How can i specify
Uh, probably put a username in the config file of whatever plugin that is
Ok
So Hauvong needs to take a look at their config file lol
Should i need to only put username there or i need to ad like this "username"
@errant iron
thanks for helping me

Uh, is this your own plugin?
Most configs just have a little spot for username: and if they use HikariCP or something, you literally just put it into Hikari
Please select a plugin,
1๏ธโฃ - VoxelVert | Ingame 3D-Converter, File Browser and Downloader [1.12 / 1.13] [45 Downloads]
2๏ธโฃ - ABANDONDED, For Download Go To new Thread. [15 Downloads]
3๏ธโฃ - ChatControlโข - The Ultimate Chat Plugin [500,000+ Downloads] [1.2.5 - 1.16.4] [646453 Downloads]
4๏ธโฃ - Prefix - Config [42.000 Downloads] [46704 Downloads]
5๏ธโฃ - AdvancedReport - Over 11k Downloads! 1.7 &1.8 & 1.9 [40715 Downloads]
I couldn't find a resource with the name or id of placeholder-api
Have you used SQL before?
nope
Might want to look up a tutorial or three
bro
You need to create a table before you try to insert things into it
how to create table
hmm
means
how can i solve this problem pls tell me
pls
just want to solve this problem
yeah this
i created the table what should i do next
@errant iron
and how much colums i need to add
You add whatever you want to store
The home of Spigot a high performance, no lag customized CraftBukkit Minecraft server API, and BungeeCord, the cloud server proxy.
Bro you need to understand a lot to use databases
This is not something you just hammer your way through lmao
And I will not be teaching you the entirety of SQL. Read that guide, and do some learning.
Or just use YAML or something
come in dm i want to show you something
Noppe
i can't upload screen shot here
Mhmm
bro
try to understand
pls
bro
pls
ho can i use YAML hmm @errant iron
how to use yamllll
@slow crystal
bruh no one is helping me
can you not
what
Ping me
i just want to ask how to use yaml for database instead of tables
๐ตโ๐ซ
@errant iron said that
mabe
Hello, I have a question, is there a placeholder to count the times I killed the dragon?
yeah. this might work: %statistic_kill_entity:<MobType>%
Would PAPI be stable enough in 1.18 for the %statistic_deaths% only? (as of right now)
the statisitc expansion works in 1.18. yeah. PAPI also have a build if you don't want to use the spigot release
see pinned messages
Thank you, I will try later on, couldn't find the link.
yeah
All right, thank you! :3
Hey cuties, I bet you guys get this question a ton, but is there an expected week when 1.18 version for papi coming out? c:
see pinned messages
thank youu
It seems that our javascript placeholder stopped working all of the sudden. The only mention about it in the logs is Failed to set ScriptEngine for javascript placeholder: UserColour. The expansion does enable and the code works on other servers.
javascript_placeholders.yml: yaml UserColour: file: UserColour.js engine: javascript and the javascript itself: (ofc named UserColour.js) ```javascript
var rank = "%vault_rank%";
function vaultrankcolor() {
if (rank == "ยง4Owner") {return "ยง4";}
else if (rank == "ยง5Developer") {return "ยง5";}
else if (rank == "ยงcAdmin") {return "ยงc";}
else if (rank == "ยง3Moderator") {return "ยง3";}
else if (rank == "ยง2Builder") {return "ยง2";}
else if (rank == "ยงeHelper") {return "ยงe";}
else if (rank == "ยง6Media") {return "ยง6";}
else if (rank == "ยงdAmethyst") {return "ยงd";}
else if (rank == "ยง9Sapphire") {return "ยง9";}
else if (rank == "ยงaEmerald") {return "ยงa";}
else if (rank == "ยง6Gold") {return "ยง6";}
else if (rank == "ยงfIron") {return "ยงf";}
else {return "ยงb"}
}
vaultrankcolor();
it doesnt matter whether the engine is set to javascript, nashorn or entirely removed, it still returns the same error
PAPI version: 2.10.10
===========
fixed it by donwloading the latest
I tried but this didnt work, tried this placeholder: %statistic_kill_entity:EnderDragon%, tried Ender_Dragon, Dragon and other placeholder types but still dont work, Do you know any other way to make it work?
boxes are cool
what's your server version?
1.8.8
it should be ENDER_DRAGON
if that doesn't work then I'm not sure if there's any other placeholder for that
I remember when we tried on 1.12.2 it also didnt work. This is a vanilla bug for all legacy (pre-.13)versions
I believe the same bug occurs for giants, iron golems and/or withers as well
Hey Blitz, I've been trying the papi option for %statistic_deaths% in the tab bar, but when players die it doesn't update the number.
This is how my config looks like:
yellow-number-in-tablist: enabled: true value: "%statistic_deaths%"
Please respect the rules, be patient and don't ping staff members!
well it might take a bit to update. not sure how TAB does it
I did this a few hours ago, but didn't proper test with players, now I got a few players online that died and it didn't update.
Although I did only "tab reload" and haven't restart the server yet, it might be that, but I reloaded the config for how it looks like and it changed so..
Hi. Im using geyser in my server. Any way for %playername% to ignore . Infront of player name? All bedrock player have . Infront of their name.
isnt switch better than else if else if else if?
you don't even need to do all that lmao
var rank = "%vault_rank%";
function vaultrankcolor() {
return "ยง" + rank.charAt(1);
}
vaultrankcolor();
@gloomy crater That should be a lot cleaner ^^
Also supports any future ranks that you make automatically, don't have to go in and add it every time you come up with a rank
Hello
How can I see the grammar of placeholderapi?
I explain
I want to see just the code that the plugin sends to the placeholders
to work with javascript and conditionals
for example
&4test
and not
test with the color
try looking at the github page
Source code should be here
ok, thanks
Hi, when will placeholderapi support 1.18?
hi pinned msg
ah im sorry
what are the placeholders for mined blocks and mob kills/player kills?
%statistic_player_kills% for kills, %statistic_mine_block% for minned blocks and %statistic_mob_kills% for mob kills
check plugins/PlaceholderAPI/config.yml
you can change the colors fromt here
thanks!
where do i find development builds?
pinned messages
I've installed the new dev version of Placeholder API in hope to update some placeholders that are still showing up as the code itself, not the value. Specifically the ones I'm struggling with are %jobs_user_joinedobcount% and %jobs_user_totallevels% in JobsReborn. Is this just a work in progress or is there a way already to get these to show the value in 1.18?
You will have to contact the developer of Jobs Reborn itself. We are not related to that expansion
@vivid sparrow Unknown expansion.
I see, thank you!
oh thanks, how about hearts? can't seem to find it
how many hearts a player has currently?
i have 10 right now
I was asking is that what you need the placeholder to do?
because I wasn't sure
if yes then you can use %player_health% or
%player_health_rounded% but these will return health not hearts. which is 2 health per heart I believe
so there's no placeholder for hearts?
you can calculate them with the math expansion if you really need hearts
%math_0_{player_health_rounded}/2%
thanks it works!
hello i 'am french i need help for hologram display , hunger game et placeorder api . i can't create a holo with hunger game stats
i write this /hd addline %hungergames_lb_wins_player% and i have this
%hungergames_lb_wins_player% on holo
do you have HolographicExtension and ProtocolLib installed? Becasue HolographicDisplay DOES NOT support PlaceholderAPI by default
oups sorry i don't say where i write for help
Hi guys, I need a question about PlaceholderApi, could someone make such complex schemes? I want to display my friend's health in my own menu so that I know when he needs to be healed. So I want to make a visual "progress_bar". I am using "%progress_bar_ {parseother_{puerkasmarriage_marriedwith}_{player_health}%" but it doesn't work, can anyone help?
Hello everyone. I want to make additional placeholders, which will then be used under the player's nickname (above his head). But something is wrong (https://ibb.co/cxHg1fv)
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
By the way, there is no wiki on the use of config expansions anywhere at all.
hi need help
04.12 10:33:50 [Server] INFO [PlaceholderAPI] Enabling PlaceholderAPI v2.10.10
04.12 10:33:50 [Server] WARN [PlaceholderAPI] Loaded class com.viaversion.viaversion.api.type.Type from ViaVersion v4.1.0 which is not a depend, softdepend or loadbefore of this plugin.
04.12 10:33:50 [Server] INFO [PlaceholderAPI] Fetching available expansion information...
04.12 10:34:21 [Server] INFO [PlaceholderAPI] Successfully registered expansion: player
04.12 10:34:21 [Server] INFO [PlaceholderAPI] Successfully registered expansion: playerlist
04.12 10:34:21 [Server] WARN [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend, softdepend or loadbefore of this plugin.
04.12 10:34:21 [Server] INFO [PlaceholderAPI] Successfully registered expansion: world
04.12 10:34:21 [Server] INFO [PlaceholderAPI] Successfully registered expansion: checkitem
04.12 10:34:21 [Server] WARN [PlaceholderAPI] Loaded class me.ryanhamshire.GriefPrevention.GriefPrevention from GriefPrevention v16.17.1-2b69191 which is not a depend, softdepend or loadbefore of this plugin.
should i worry with this?
no, dw about it
Owh ok thanks
I get this error after updating to the latest version of spigot:
https://prnt.sc/21oi8go
๐ฌ
Hi. Can you please tell me how can I make the display "progress_bar" displaying the health of another player?
I don't think that's fully possible using just the progress bar. the thing is youd have to use the ParseOther expansion but that also won't work because you'd have placeholder inside placeholder inside placeholder (which isnt really supported)
unless you already have a way to parse the placeholders for another player other than you
what doesn't work exactly? the tntwars expansion? if so is it your expansion (are you making it) or is it an expansion you just downloaded?
Yes, I made it
It doesn't seem to register any placeholders despite using the example code from github
it has something to do with townychat or its expansion. not sure what. I recommend you go in plugins/PlaceholderAPI/expansions and delete the townychat expansion then restart the server
kills/deaths api?
can I get a link to the repo? (your expansions repo) or maybe put it in a paste bin and send it here
so a ratio? there isn't one but you can calculate it with math probably
well not probably. you can
like just a api to track kills and death
wait. so you want an api or do you want a placeholder? because this is placeholderapi channel. if you want an api, then spigot already offers that