#placeholder-api
1 messages · Page 122 of 1
na i made it
WOIFOIb'[orus[ureb
ok i had no idea I was talking to the person who made it lmao
Yeah, you replied to a spigot comment saying you were going to update it to match papi's updates
did it roll out?
oh wait oops
i havent touched it since i gave it away
lmao
sneaky
alright im restarting the server with the latest papi and removing chatinjector
let's see if this is the problem
Yeah, it is :(
Wonder why it’s doing that lol
I’ll try and update chatinjector in a few
Not try but I will
Bruh
Imagine knowing what discord you're in 
ikr
alright i'm officially the most useless
person
deluxechat is 10 bucks ;-;
worth it
lets do it
No it’s not
wha?
its 7
oh I mean 10 CAD
or 7.5

Best chat formatter hands down
FrozenChat better 
nah
"The original "json" chat formatting plugin"
BChat
achat bchat 1chat 2chat
eSsEntiAls chaT is betTer
oh lmao
BlitzChat xD
dw its not open source its just my testing plugin :)))
well its not public at all
actually
waiting ...
so live when @final shadow ?
pong
" With over 420 placeholders served,"
sorry
JESUS CHRIST the last update on Tuesday now has over 3.5k downloads
How i can download older version of placeholderapi?
version history
thx
can someone help me i get on bedwars 1058 plugin at scoreboard {teamgray} or smt like that
do u guys know how i fix it
i wanna send a photo but i cant
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
Hey all, I can't find it documented anywhere. PlaceholderHook is depreciated and going to be removed in the next major update, so what is the alternative?
PlaceholderExpansion
Oh, I've just realised the public String onPlaceholderRequest(Player player, String command) method is depreciated (to be removed), so I need to update to use OfflinePlayer?
onRequest(OfflinePlayer, String)
Great stuff, cheers
Loading placeholders for PlotSquared took over 3 minutes... is this a problem with PlotSquared or Papi? https://paste.thezomg.com/75535/59674062/
@coarse wedge lmk if you actually have slow placeholder loading for papi
cuz I did some changes around threading
regarding build 105+
I'm not seeing that kind of output from any other plugin so it very well might be
Yeah
so I think you should report to maxim
I have already
there is a variable , last join player ?
a placeholder that takes the last joining player? don't think there is
:<
if you need it really badly it would be easy to make an expansion for that
Hi, may I know when will the class me.clip.placeholderapi.PlaceholderHook be removed? Since some plugins I use are invoking this class and PAPI is throwing warnings, we want to estimate when to EOL those plugins.
Either 2.11.0 or 3.0
Hi
I updated papi and all expansion Göt removed obviously so I started redownloading them essential and vault downloaded successful.
I tried with player is say successful and please do /papi reload when I do it nothing happens at all
Sorry to ask, but any ETA for PAPI 3.0? cuz I just looked up the commit history and found out that no API changes until 3.0, and we want to gracefully retire old plugins.
soon™️
I updated papi and all expansion Göt removed obviously so I started redownloading them essential and vault downloaded successful.
I tried with player is say successful and please do /papi reload when I do it nothing happens at all
@hallow otter .
is there an error in console when reloading?
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
• HelpChat Paste - Usage
• Hastebin
Thnx anyways
if you need it really badly it would be easy to make an expansion for that
@distant nova
could you make it for me for a fee?
I could do it free it's like 3 lines of code lol
deathrealms if you're familiar with papi's api you should do it because I'll have to get familiar with it lmao
thanks aha
@frail sentinel pmed you it
thanks ❤️ i love this discord
unfortunate
hey
No need to say anything
i download the skript and when i do %skript_{test}% isn't work
Who’s the author
i use with score board
Permission: op
Permission message: Hmmmm, NO
trigger:
add 1 to {test}
send "test: %{test}%" to player```
is the skript
when i do %skript_{test}% isn't work
f
Answer my question
what?
k
When you figure that out go bug them
i can't send there pictures...
@cunning ginkgo,
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
wait i try copy
Status: Registered
Created by: Snow-Pyon
Version: 1.0.0
Requires plugin: skript
@solemn scarab
Placeholder expansion info for: skript
There ya go
%skript_{test}%
I know nothing about the functionality of that expansion
is what i use but isn't work on score board
What does /papi parse me %skript_{test}% do
wait 1m i copy paste
No need because I can’t fix it tbh
is show me N/A
Well if it’s not showing what u type then I’m doing something right
sooo
Did you make the placeholder code in skript?
no
/papi ecloud
interval: 80
liner:
- 'Level: &7[&6%skript_level%&7]'```
why is show me N/A
add 1 to {level::%attacker's uuid%}
remove 1 from {level::%victim's uuid%}
send "&anew Level: &7[&6%{level::%attacker's uuid%}%&7]" to attacker
send "&anew Level: &7[&6%{level::%victim's uuid%}%&7]" to victim```
how can i register a custom placeholder? (Im was using the registerPlaceholderHook method, which is no longer supported)
thank you
Uhhh is that normal? Doesn't caching happen on startup?
Papi doesn’t cache anything aside from the actual expansions after the server starts
yes that
https://paste.helpch.at/utejopepik.pl im having issues with /papi parse me %statistic_mine_block:sugar_cane%
does it not count as being mined?
@crimson vigil what version of Papi?
i tried latest but it still didnt work, so i returned to my old
I'm running MC 1.16.1 with papi 2.10.9 works fine for me
did you update the expansion
yes i have the latest expansion too
paper or spigot?
paper/tacospigot 1.8
maybe an older version of papi will work
2.9.2 and still doesn't work
i cant go older then that because then other plugins will not function
must be something to do with the paper version of MC
can someone tell me what's wrong with this placeholder? when I parse it I get an error message that says "Missing operator at character position 20".
%math_CEILING(({localtime_timezone_Etc/GMT+{math_{localtime_time_X}+6},H}1000)+({localtime_timezone_Etc/GMT+{math_{localtime_time_X}+6},m}(5/3)))%
what version of papi are u using
Heya, I'm getting this error, any ideas why? https://hasteb.in/nojagisi.apache
what version of papi are u using
@odd python
we're using version 2.10.9
(sorry for the late response)
Hi, how can I shorten a placeholder? %koth_points_1_amount% it takes up too much on my FeatherBoard
I need to find a method to shorten down a few placeholders, please tag me when replying 😄
hello
i have this tab plugin https://www.spigotmc.org/resources/tab-1-5-x-1-16-1-rgb-support.57806/ and this scoreboard https://www.spigotmc.org/resources/free-faction-map-scoreboard.23071/ for my factions server
but it doesnt work with the placeholders form placeholder API and i dont know why this is whayt is have
TAB
OTHER:
tabprefix: "%luckperms_groups%"
tagprefix: "%luckperms_groups%"
tabsuffix: "%factions_faction_name%"
tagsuffix: "%factions_faction_name%"
customtabname: "%essentialsnick%"
customtagname: "%essentialsnick%"
Scoreboard
- "&d%factions_faction_name%"
but it doesnt show up when im in game can anyone help me??
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
• HelpChat Paste - Usage
• Hastebin
Send log
!dev
Is anybody else experiencing this? With any placeholder that has time in it https://imgur.com/a/7KTMg3E
The first image is a countdown and I noticed that it went from 5 days 1 second, to 5 days (normal), and then to 4 days, 59 hours, 59 minutes and 59 seconds
Second image is a playtime, same weird thing also all playtimes are wrong to what statistics says.
%statistic_time_played%
%server_countdown_dd.MM.yyyy_10.08.2020%
MC: 1.16.1
Paper: 131
Java: 11
OS: Ubuntu 18.04 LTS```
hi. i used the placeholder %bungee_online% on a paper spigot server to let people know how many players are online but it says zero
@tepid birch use the latest dev build and thank who fixed it
Of papi
@austere hawk
Is who made the fix
Sorry for tag but yeah
Thanks Fefo
❤️
is the "%bungee_online% the only placeholder for infinite scoreboard for displaying total online players?
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
@lone dirge
Excellent support 
Plugin already initialized!
It's already running
Most likely have two copies of placeholderapi
@lone dirge
You never sent it
You're most likely shading papi in with your plugin
As well?
^
Like a bookstore
probably has spigot and papi in it
ya...
take them out of it
It never gave me an error like I have it now
use them as libraries
Show your artifact
?
How are you building your plugin
I do not understand
A union system by ranks
Exporting it?
How do you export it
With a Build Project tool
Send a screenshot of it
Do you have anything here? https://prnt.sc/tw39ax
or are you using maven or gradle
good, now build it again
what is the placeholder for player count?
its because when i did %bungee_online%, it says 0 even if im lit online
imma try updating placeholder api
I'm assuming you run a bungee network?
That placeholder works fine for new tho so idk
Dumbo
Take a look at the server placeholders
ill try a 2nd time
First of all, %bungee placeholders are for BungeeCord networks, secondly, there is no %bungee_online%, and thirdly take a look at the server placeholders
hello, here i can ask for help?
Help with what?
What's the error
Loaded class me.clip.placeholderapi.PlaceholderAPI from PlaceholderAPI v2.10.9 which is not a depend, softdepend or loadbefore of this plugin.
Not an error
That's just a warning, you can ignore it
it nothing do?
I mean, server sometimes crashed, and only warn in console is this.
If it crashes, there's a crash report, that's a warning which you can safely ignore
Ok, then thanks and have a nice day!
thanks @final shadow 😎
@tepid birch,
Please respect the rules, be patient and don't ping staff members!
😮
hi when i use %statistic_mine_block%
each block break counts as two blocks
don't be rude to barry
I don't know, am I stupid?
- Server Version: 1.8.8
- PAPI Version: Updated 30 seconds ago to v2.10.9
Error message: https://paste.helpch.at/uweviqaxum.bash - Active PAPI Hooks: 3 placeholder hook(s): player, server, tab
The error message is thrown when I do /papi reload. All placeholder hooks are up-to-date.
Hey, guys! Does anyone use RedisBungee and have the variables with Placeholderapi? I try to put them in and honestly they stay at 0 or a fixed number without any sense, it's like he doesn't get them right. It doesn't give any error in console
my server runs on 1.12 and I use the latest version of placeholderapi
@leaden kraken use the latest dev build i think this was fixed
hm?
hello there, chan someone help me? somehow because of papi some of my plugin not working and they keep blocked and spaming lugin TabList v5.4.2 generated an exception while executing task 873 java.lang.NoSuchMethodError: me.clip.placeholderapi.PlaceholderAPIPlugin.getUptime()Ljava/lang/String;
@nocturne dragon,
As part of the 2.10.7 PlaceholderAPI update we broke some methods, please update to the latest PlaceholderAPI release found here to fix these issues.
ah allright
@nocturne dragon,
As part of the 2.10.7 PlaceholderAPI update we broke some methods, please update to the latest PlaceholderAPI release found here to fix these issues.
at 2.10.9 it still the same problem, any ideas ?
making progress I see this after I reload Papi for the installed expansion list
this happens when I have my expansion installed and do a reload of papi
update your plugin
They probably fixed the PlaceholderAPI integration to work with the newer version
ah alright thanks
sorry i have another questions. its still the same. so i have to wait until them update their plugin to work with papi ??
Plugin TabList v5.4.5 generated an exception while executing task 335
08.08 22:12:20 [Server] INFO java.lang.NoSuchMethodError: me.clip.placeholderapi.PlaceholderAPIPlugin.getUptime()Ljava/lang/String;
@nocturne dragon,
As part of the 2.10.7 PlaceholderAPI update we broke some methods, please update to the latest PlaceholderAPI release found here to fix these issues.
Hi I get this error when trying to load certain extensions
Failed to load due to a [NoClassDefFoundError], attempted to use net/luckperms/api/LuckPerms```
Update to the latest papi and expansions
@nocturne dragon Maybe try the dev builds of papi?
I am on the latest papi
I deleted all the expansions and used ecloud download, same problem
oh probably need to update lp
@nocturne dragon Maybe try the dev builds of papi?
@balmy marten where i can try em?
ok thanks let me try it
https://pastebin.pl/view/5d00aaad
that the log maybe can help? its still the same
Aight you may need to contact the author of TabList to build against the latest papi
oh well, thanks a lot for your help
So I am trying to setup DeluxeHub with placeholderAPI and this happened:
oof i cnt send screenshots
but basically on my scoreboard it didnt change the placeholder
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
I know i downloaded the placeholder but it still doesnt work
I used the %luckperms_groups% placeholder
I also tried the vault one too
And you've downloaded vault expansion?
what does /papi parse me %luckperms_groups% show?
So the issue is on deluxehubs side
Hmm
if papi is getting the correct data
but i have another one working on deluxehub
Another placeholder is working
Which?
possible its not going via papi
Yeah thats not placeholderapi
oh?
papi is always %expansion_placeholder%
Suggest contacting them, never heard of the plugin to be honest
Oh, okay
Hello, anyone know what's going on of parse cmd?
tip me: Failed to find player:me
When I type /papi parse me %player_name%
what's your PlaceholderAPI version?
2.10.3
oof update
do you use the plugin SlimeWorldManager?
nope
then I don't see why it does that
Very strange
can u do /papi parse <YOURNAME> %placeholder%
no, got error: Failed to find player: TNG_From
are u doing this from ingame or console?
🤔
I have no idea...
can u try the dev builds of papi? ur the only one with this issue 
hi
when using placeholderapi bungee placeholder
i have a bungee server with 130 players
and it show "7"
when using parse
and is marked that there is a new update
but it keep to download the same
i tried to downgrade and it show 0
Hey, I've got a event on my network in 2 hours. Im trying to use deluxechat but all placeholders seem to be not working
done 😄
Guys, I have a problem with TAB plugin and Animations expansion
I want to set 'wave' animation on player nickname on tab, but if I put player_name tag in brackets - {player_name} it does not parses.
- "%animations_<wave>{player_name}</wave>%"
^ this does not work
if i just write
- "%player_name%"
it works, but without any animations
Full TAB config - https://paste.helpch.at/uzeyisobuc.cs
MC version - 1.16.1
/papi parse me %animations_<rainbow>{player_name}</rainbow>% result: https://media.discordapp.net/attachments/741550074055622689/741702241924415618/unknown.png
parse command does not display correctly
https://hastebin.com/xatojutavi.cs for my placeholder config the log doesnt show anything but the placeholder just doesnt work for factions
Send log
@final shadow
@split pumice,
Please respect the rules, be patient and don't ping staff members!
Hi,
I'm making a custom chat system that requires me to make a small change in PlaceholderAPI (I believe there is no other way to achieve my goal).
So I've cloned the source code and have run ./gradlew build. The build has been successful.
The only problem is that the .jar I've recieved is 132KB instead of 396KB (the size of the downloadable jar).
After a bit of investigating I've found that it lacks most files in me/clip/libs/.
Then when I tried to run a server using the built plugin, the following exception occurred:
https://pastebin.com/AAD8Dkq5
The same error appears when trying to build without making any local changes.
I need your help to understand what went wrong.
Thank you.
Thank you will try
@leaden kraken Thank you so much it did the thing. Never found this task before.
np
I have a problem with Vault Api, it won't install, I checked everything, nothing changes, I have version 10.2.9 of PlaceHolderApi in 1.13.2
I also restart my server
Please help
[19:38:25 WARN]: [InfoBoardReborn] Task #174 for InfoBoardReborn v2.0.6 generated an exception
java.lang.NoSuchMethodError: me.clip.placeholderapi.PlaceholderAPIPlugin.getUptime()Ljava/lang/String;
at com.extendedclip.papi.expansion.server.ServerExpansion.onRequest(ServerExpansion.java:130) ~[?:?]
at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:156) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:69) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:97) ~[?:?]
at com.infogroup.infoboard.GetVariables.replaceVariables(GetVariables.java:13) ~[?:?]
at com.infogroup.infoboard.utils.Messages.getReplacements(Messages.java:55) ~[?:?]
at com.infogroup.infoboard.utils.Messages.getLine(Messages.java:37) ~[?:?]
at com.infogroup.infoboard.scoreboard.Create.createScoreBoard(Create.java:159) ~[?:?]
at com.infogroup.infoboard.scoreboard.Update.updateScoreBoard(Update.java:71) ~[?:?]
at com.infogroup.infoboard.Timers.lambda$start$1(Timers.java:83) ~[?:?]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.15.2.jar:git-Paper-378]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.15.2.jar:git-Paper-378]
at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1264) ~[patched_1.15.2.jar:git-Paper-378]
at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:431) ~[patched_1.15.2.jar:git-Paper-378]
at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1181) ~[patched_1.15.2.jar:git-Paper-378]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:970) ~[patched_1.15.2.jar:git-Paper-378]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]
@wispy roost,
As part of the 2.10.7 PlaceholderAPI update we broke some methods, please update to the latest PlaceholderAPI release found here to fix these issues.
[15:44:43 INFO]: XxLulubin59xX issued server command: /papi ecloud download Vault
[15:44:43 INFO]: [PlaceholderAPI] Fetching available expansion information...
[15:44:44 INFO]: XxLulubin59xX issued server command: /papi reload
[15:44:44 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[15:44:44 INFO]: [PlaceholderAPI] Fetching available expansion information...
[15:44:44 INFO]: [PlaceholderAPI] Successfully registered expansion: player
[19:47:21 WARN]: [InfoBoardReborn] Task #332 for InfoBoardReborn v2.0.6 generated an exception
java.lang.NoSuchMethodError: me.clip.placeholderapi.PlaceholderAPIPlugin.getUptime()Ljava/lang/String;
at com.extendedclip.papi.expansion.server.ServerExpansion.onRequest(ServerExpansion.java:130) ~[?:?]
at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:156) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:69) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:97) ~[?:?]
at com.infogroup.infoboard.GetVariables.replaceVariables(GetVariables.java:13) ~[?:?]
at com.infogroup.infoboard.utils.Messages.getReplacements(Messages.java:55) ~[?:?]
at com.infogroup.infoboard.utils.Messages.getLine(Messages.java:37) ~[?:?]
at com.infogroup.infoboard.scoreboard.Create.createScoreBoard(Create.java:159) ~[?:?]
at com.infogroup.infoboard.scoreboard.Update.updateScoreBoard(Update.java:71) ~[?:?]
at com.infogroup.infoboard.Timers.lambda$start$1(Timers.java:83) ~[?:?]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.15.2.jar:git-Paper-378]
at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.15.2.jar:git-Paper-378]
at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1264) ~[patched_1.15.2.jar:git-Paper-378]
at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:431) ~[patched_1.15.2.jar:git-Paper-378]
at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1181) ~[patched_1.15.2.jar:git-Paper-378]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:970) ~[patched_1.15.2.jar:git-Paper-378]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]
@wispy roost,
As part of the 2.10.7 PlaceholderAPI update we broke some methods, please update to the latest PlaceholderAPI release found here to fix these issues.
hmm
beeerrryyy
someone help
when i update placeholderapi
do i also need to delete the folder of placeholderapi so a new one can be created?
is it necessary?
Can i get some help pls??? XD
no NoConnection. You do not need to delete the folder. The plugin InfoBoardReborn is trying to use a method that doesn't exist in PAPI. Either PAPI is missing a method or the plugin is trying to use something that doesn't exist anymore and is not going to return
Hello everyone! is the bug fixed with placeholder api where I couldnt get statistic placeholders in the leaderheads plugin?
clip said it would get fixed soon or something like that but there hasnt been a new update since 2.10.9
Factions placeholders dont work eather
hey, is there a placeholder for amount of users online
I think its %server_online%
ty!
what is the correct placeholder for the name of your faction?? because the one on github doesnt work
depends on your faction plugin
massivecraft factions
and you're saying that these %factions_faction% %factions_power% %factions_powermax% %factions_factionpower% %factions_factionpowermax% %factions_title% %factions_role% %factions_claims% %factions_onlinemembers% %factions_allmembers% do not work?
this is what i have filled in like it says on github but it doesnt work while the plugin supports i contacted their devs too
tabsuffix: "%factions_faction%"
tagsuffix: "%factions_faction%"
then restart the server?? because if not it still doesnt work
[WARNING] [PlaceholderAPI] factions is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
Ok so whever made the expansion needs to update it. Or someone else if it is open source
By the looks of it the creator is clip
@warm topaz you got time for another expansion? xD
MCore faction
if u find me the source for it i can do it soon
its made by clip by the looks of it
kk lets see if its actually OS
I wonder if it is this https://github.com/extendedclip/Factions
ah nvm its for FactionsUUID
can't find the source code
can i keep in touch with you about this??? i really need it xD
can u link me the ecloud page pls?
Guys, I have a problem with TAB plugin and Animations expansion
I want to set 'wave' animation on player nickname on tab, but if I put player_name tag in brackets -{player_name}it does not parses.
- "%animations_<wave>{player_name}</wave>%"
^ this does not work
if i just write
- "%player_name%"
it works, but without any animationsFull TAB config - https://paste.helpch.at/uzeyisobuc.cs
MC version - 1.16.1
/papi parse me %animations_<rainbow>{player_name}</rainbow>%result: https://media.discordapp.net/attachments/741550074055622689/741702241924415618/unknown.png
parse command does not display correctly
can u link me the ecloud page pls?
@warm topaz is there something you need me for or just blitz?
TAB with animations expansion
the unthinkable
@final shadow Did anything change with bracket placeholders recently or not?
@heady falcon,
Please respect the rules, be patient and don't ping staff members!
[15:05:53] [Server thread/INFO]: [PlaceholderAPI] [Config Expansion] ID: example, Path: MemorySection[path='expansions.config.configs.example', root='YamlConfiguration']
how do i disable this?
🤔 ... very interesting
how to do this formatting
vault:
baltop:
check_delay: 30
cache_size: 100
enabled: true
formatting:
thousands: k
trillions: T
quadrillions: Q
billions: B
millions: M
to more extensions like bskyblock?
So, Anyone know what happened to "Custom_Placeholders"?
Hello, any idea how to display also the y coordinate using coordinatetool?
or have i misunderstood the placeholder entirely..?
im wondering how to display a player's coordinates on their scoreboard..?
%player_x%, %player_y%, %player_z%
Thank you!
no problem
Is there a way to parse a placeholder against a server/world instead of a player?
what the hell are you trying to do lol
the world placeholders take the world name as one of the "arguments"
For example %world_difficulty_<world>%
I'm trying to display the status of a server in my BungeeCord "network"
why is network quoted
because I don't like calling a BungeeCord implementation a "network" when it's an application gateway/proxy
@austere hawk awesome thanks, that should do what I need
I saw the expansions for Server, Bungee, RedisBungee and was beginning to think I had to hack something together to make it work. Glad to know there is a pinger to help with that. Thanks!
np!
@mint fable that depends on how you define network
there are many ways
but this one a group or system of interconnected people or things.
it is that
point taken
I mean, BungeeCord itself is a proxy software that allows you to create a network of servers
¯_(ツ)_/¯
yeah my day job is in IT though and has a lot do with networking, so I've just gotten in the habit of "you only call it a network if it's routable"
mostly because our environment has us stacking 20+ VLANs across multiple top-of-rack switches, so saying something like "is the network up" is very, very ambiguous
stupid question time: does /papi cmdparse work when executed from a command block?
If so, do I need to supply a target?
/papi parse <target> <placeholder>
is /papi cmdparse a thing? or did you mean that ^
(<target> can also be me)
According to the wiki it is
pretty much, I guess
if it wasn't clear, target is required
so when target is 'me', is it targeting a player or the entity that executed it?
hrm ok. So if I wanted to send a redstone signal when the pinger expansion reports a server as online, what would be the best avenue to accomplish this?
how are you planning on sending the redstone signal
Depends on my options. I was thinking easiest method was replacing a filler block (stone atm) with redstone block
uh
this seems like a custom plugin
you want to do a command based on the return of a placeholder
that's what I was afraid of
probably updating every minute or so
now
you might be able to do it using javascript
if you want to use commandblocks
just use any player as the target
An expansion that allows you to use javascript for processing
• Wiki
• Community Scripts
• GitHub
• eCloud
same way people do random commands for deluxemenus
they parse the javascript placeholder, and it would return a random string
except you want to return a certain command
based on the placeholder return
im not sure how to fix this but my firewall is blocking the %pinger_online_ipaddressofserver%
lol
if the servers are connected with bungeecord, try using the bungee placeholders
i only see two, total and servernam
😛
the bungee placeholders are for playercount lol
yeah the bungee placeholder aren't much help
yeah i just added a firewall and now any server status just say offline
hello I have an issue
[01:06:55 WARN]: [PlaceholderAPI] File: permission.js for javascript placeholder: permission is empty
``var hasfaction = "%clans_clan_tag%";
function permission() {
if (hasfaction === "") {
return "";
}
else {
return "&a%clans_clan_tag% &8&l┊";
}
}
permission();``
I have it on 2 servers, on first one it works, on the second one I receive this error
anyone can help me with that?
hello I have an issue
@velvet tinsel Probably the "┊" is causing it. Use the unicode \u<number here> instead
It's \u250A
thanks a lot 😄
@velvet tinsel Np, anytime 🙂
Hello!
Is there a placeholder like %vault_eco_balance% but rounded at 2 decimals? If there isn't, can someone please help make a javascript for that? Thanks in advance
@odd jay
Mm
None of them are cutted at 2 decimals
Formatted works with letters
Fixed doesnt have decimals
Commas neither
Hey, I need a bit of help in regards to PAPI, it seems to be not working on my server atm, if I could be dm'd ASAP that'd be great.
"Not working", would be easier if you provided some more details
Literally no placerholders will work on my server in regards to scoreboard/playerlist
And what version are you using?
Did you downlod relevant expansion
wdym
papi ecloud download
scoreboard
playerlist
or objective maybe
let me check
/papi ecloud download ScoreboardObjectives
/papi ecloud download PlayerList
/papi reload
didnt work
@heady falcon
To be exact
I have the plugins: PlayerListPlus
And Scoreboard
plugins or papi expansions?
oh
do you mean you are using the placeholders in those plugins? I think I mis understood
what placeholders are you trying to use?
Does PAPI work in books?
I'm using an external tool to author a book. I just wanted to know if Placeholders work?
I'm tryna use scoreboard and playerlist ones
Are others working?
literally 0
Nofyr, I use placeholders on the plugin "InteractiveBooks" and they seem to work perfectly
I'll look into it, thanks @odd jay
Thats an L
creepvr
Have you downloaded the player expansion?
do /papi ecloud download Player
There's expansions? o_o
There's expansions? o_o
Should probably read the plugin page
Hello!
Is there a placeholder like %vault_eco_balance% but rounded at 2 decimals? If there isn't, can someone please help make a javascript for that? Thanks in advance
Frosty, any idea about this? Im sure there was a way to modify the vault placeholder, tho Im not sure if there is a way to achieve that
sure!
I have one more question... These expansions are for their respective plugin names?
Some, some are standalone
195 pages Frosty. Is there a list of standalones?
Doubtful, why would you need a list?
To prune what I will use and not miss out on what I need.
But if I gotta go through 195 pages to do that, I'll do it.
It's kinda just, give an example of what you're trying to achieve and someone will tell you if a placeholder exists for it/what expansion you should be looking at (unless you wanna look through all of them yourself)
I wanna know what kind of things there are available as I am still concepting the whole scheme in phases of whether or not it's plausible to do at the stage of development.
Up to customizing everything.
Past Config, and Ranks/Roles & Perms.
Well I mean two most common ones you're gonna want to look at are player and vault expansion, the rest is just preference in most cases
Thank you very much.
Is there a command to see all active expansions+base placeholders in a list?
Like a tree command?
Frosty, any idea of why is it rounding at the first decimal having 2 as precision but not rounding at the second decimal?
example: if you have 0.86342 then it will round to 0.90 and not to 0.86
Yea you're gonna have to use JS if you want it precise
sure, thanks
I think I've made one for that before, just cba to find it 
hey
just wanted to state this
do not use /papi ecloud download vault
it is broken
when doing so your essentials userdata file gets filled with offline uuids and it breakes /bal /seen for offline players
do not use /papi ecloud download vault
shoot, Im pretty late i guess
I got thousands of offline uuids files and couldn't figure it out just figured it out on a dummy server
so yeah
lmao what
What are you on about lol
ok basically
essentials has a userdata file
when you do /papi ecloud download vault
latest 2.10.9
`>.... [14:14:27 INFO]: [Essentials] Creating empty config: /home/container/plugins/Essentials/userdata/a3233515-2791-30e0-87a6-fef7ff7afa4e.yml
.... [14:14:27 INFO]: [Essentials] Creating empty config: /home/container/plugins/Essentials/userdata/65b1ccc3-da66-3dc6-99b9-47a077e7681a.yml
.... [14:14:27 INFO]: [Essentials] Creating empty config: /home/container/plugins/Essentials/userdata/a75681d0-45cb-3e17-9bae-bcda01f54c16.yml
.... [14:14:27 INFO]: [Essentials] Creating empty config: /home/container/plugins/Essentials/userdata/dc485dd8-2348-3759-83af-ed27dbc69f30.yml
.... [14:14:27 INFO]: [Essentials] Creating empty config: /home/container/plugins/Essentials/userdata/bf613d5a-386d-3862-a750-525bcecbfdb3.yml `
it will create empty config files that are offline mode
2.10.9 is the latest version
potentially breaking peoples economy if they leave/join for a couple of days
sry, 2.10.9
And what server version?
what essentials version
as far as I am aware it brakes on all of them since I updated essentials a couple of times and latest version still brakes
but I think this might only be issue for a proxy server
since papi is looking at an "offline server"
while essentials takes uuids as an online server
you can test it on an empty server install "essentialsx, vault, placeholderapi" and do /papi ecloud download vault it should create a duplicate of your offline uuid with the following folder
npc: true lastAccountName: infinite_mist money: '0'
testing rn
Hi,
The following line does not replace &r with §r. What can I do about that?
PlaceholderAPI.setPlaceholders(event.getPlayer(), "%luckperms_prefix%%1$s&r: %2$s");
It works if I add a space before &r like: %1$s &r.
Why use that symbol
Just because I use it in a lot of other places and it would be a bit weird to make an exception.
Frosty figured it out got my whole server working again
Also this might be a wrong behavior
without including /papi ecloud download vault
all players can /seen now /bal and everything works as it should without it
@mortal valley Tested it out, it generated 1 config, but from what I can see it's essentials itself doing that
Well I mean would kinda be cucking around 60% of servers if it were validating uuids
Frosty
I could make it, but only with 0 as no decimal value
when it is another number, it wont show decimals
I will post the js on a hastebin, brb
Hi, how can I shorten a placeholder? %koth_points_1_amount% as an example takes up too much space on my FeatherBoard
https://hastebin.com/ixupizeyef.js
So everything is ok, the only thing is that I thought that for example ".455" would ignore the no decimal numbers, but it take it as "0"
So how could I make that JS to happen on all the numbers?
Jesus
doesnt matter how it looks, its all on the flavour
xD
var balance = "%vault_eco_balance%";
function formatBalance() {
var split = balance.split(".");
if (split.length != 2) {
return balance;
}
var result = split[1].substring(0, 2);
return split[0] + "." + result;
}
formatBalance();
Probs cleaner ways, but it works just fine
sure! gonna test it out
Great frosty! Thanks a lot, works great.
It is much more cleaner for sure, mines look like a sopa do macaco.
I learned a useful thingy with your JS: the .split
Anyways, though it doesnt round and it only truncates, Im totally satisfied with it 👌
Does anyone know why the skript expansion isn't working and not showing in /papi list?
I downloaded it multiple times, via the ecloud and manually
How can I shorten a placeholder? %koth_points_1_amount% as an example takes up too much space on my FeatherBoard. I would like to change it into something like k_p_1_a
javascript
Sorry, could you elaborate?
best you can get %javascript_k%
function shorten() {
return "%koth_points_1_amount%";
}
shorten();
wheres the rust parser?
rsut
Did anyone know how to fix what I'm experiencing? I wrote it a few messages ago
How do I ensure that I can connect the server to: api.extendedclip.com/v2
I cant use the download command for API to download the nescessary extensions for Deluxechat. I had to try and manual download but not all worked.
My host says they have not recieved any error for connection.
They said nothing is stopping it from connecting
Can i ask what have been changed on placeholderapi? since placeholders arent registering anymore
some methods were removed in 2.10.7 but i believe theyre all back in 2.1.0.9
I have 2.10.9 but my hook doesn seem to work anymore.
what methods are u using?
i believe registerPlaceholderHook mightve been removed
i believe u should use super.register() now
also onPlaceholderRequest was deprecated last time i checked, the new version is onRequest(OfflinePlayer, String)
ok thanks that worked.
👍
Hello guys please, there is a placeholder that can we use to show " The cooldown of kit in chestcommands "
A placeholder that shows " the cooldown of the kit" in a gui ( chestcommands )
what kit plugin are u using?
%essentials_kit_time_until_available_<kitname>% i believe
.-papi <expansion> 🙂
np
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
so u have Holographic displays, holographic extension and protocollib?
No :/
ok better question sorry, which hologram plugin are u using?
Hi guys, I'm getting this error while running the latest PlaceholderAPI
@warm topaz Ok working 🤦 . I must install holograpic extension and portocolib
@late glacier i believe this was fixed in the dev builds https://ci.extendedclip.com/job/PlaceholderAPI/ please try it
@warm topaz Why add to holograms {slow}, {medium}, ec?
its how holographic extension knows to update the hologram, otherwise the plugin has no idea how to update the hologram (then ur placeholder will not work)
👍
[05:37:58 WARN]: [PlaceholderAPI] mvdw is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
I'm trying to install the ecloud expansion for MvDWPlaceholder api. I'm running /papi ecloud download MVdW then /papi reload and its still not coming up on the installed expansions list. one moment let me get you that
no they don’t
what if you try on 2.10.8?
I'm going to be going to bed im a minute. I'll try it out tomorrow morning and get back to you. thanks for the help
👍
is there a way to get %player_first_join_date% without the timestamp
just date
EDIT: realized that i could change the date formatting in the config and remove the timestamp 🙂
is there any reason why my pinger holograms dont update until you quit the server then rejoin the server?
Does anyone know why my skript expansion doesn't work? It doesn't show in /papi list either
Hi, I need help with Parseother on Javascript Expansion. When I try to use parseother on a variable, It parses the placeholder (The one without percent sign) first before being parsed as parseother placeholder. For example,
var ParseOther = "%parseother_{" + OnlineNames[z] + "}_{worldguard_region_name}%";```
It parses first the "`worldguard_region_name`" ending up messing the parseother. If I am on region "Craft" It will return as `%parseother_{craftizz}_{craft}%` instead of `%parseother_{craftizz}_{worldguard_region_name}%`
Does anyone know why my skript expansion doesn't work? It doesn't show in /papi list either
@stiff marlin Go toplugins/PlaceholderAPI/expansionsand check to see if the Skript expansion is there. If it is then delete it then go to https://api.extendedclip.com/expansions/skript/ and download the expansion then go and add it manually in theplugins/PlaceholderAPI/expansionfolder
I already downloaded it via the ecloud and manually
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.
yeah, wait a sec
Can I just copy the placeholderapi information that is coming in the console?
but yeah, wait a sec, I'll provide the startup log
My server has been running all night, so there might a be a lot in it (link deleted)
ugh is this all?
It doesn't seem like the startup is in that log, I'll restart my server quickly and provide you with a new log
Can I send it in DM then?
I already have the link no need to resend it
But I don't think the startup is provided there
and if you'll restart usually there shouldn't be any IP unless someone has joined
I'll restart then
well it should. idk why it didn't for you
10.08 14:54:37 [Server] INFO [PlaceholderAPI] Successfully registered expansion: askyblock
10.08 14:54:37 [Server] WARN [PlaceholderAPI] skript is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
10.08 14:54:37 [Server] INFO [PlaceholderAPI] Successfully registered expansion: vault
10.08 14:54:37 [Server] INFO [PlaceholderAPI] Successfully registered expansion: luckperms
10.08 14:54:37 [Server] Startup 3 placeholder hooks successfully registered!```
I found that in the console
yeah
so you'll have to contact whoever is the developer of Skript expansion and ask them to update
Okay, thanks.. I'll try contacting them
or
ask someone to update it for you
its Open Source
How do I do that?
Oh, thanks
but you could just try mesaging the dev first
Yeah I'll message the dev
no problem
getting this error when I run reload https://paste.helpch.at/otowevutoq.md
Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.
discordsrv expansion fails to load, outdated. Latest placeholderapi, latest discordsrv
deleted expansion and used ecloud download again, doesnt fix
Hi i have a bug i think...
I added on my scoreboard %statistic_time_played% and now i have 3d 25h 36m and 33s
Then all the other, updated ones will break lol
Hi. I was wondering if there's any placeholder that's related to nicknames, but that the type of placeholder isn't a word, but instead a sentence, so that one can input the information in the placeholder with spaces in it
@austere hawkThe eCloud is currently non responsive, please report this to staff in https://helpch.at/discord
You suck papi bot
xD
I mean- Is there any plugin that integrates a placeholder that can contain spaces in them?
yay Im green
anyone know why griefprevention isnt working with papi?
https://github.com/Kqliber/Expansions/releases can u try this please? put the jar in /plugins/placeholderapi/expansions
Does anyone know if there is a placeholder for blocks placed in placeholderapi? I can't seem to find it.
Is there a way to unregister a hook?
Does anyone know if there is a placeholder for blocks placed in placeholderapi? I can't seem to find it.
@coarse sable probably statistic
Already checked.
%statistic_use_item:<Item Material>%
I added on my scoreboard %statistic_time_played% and now i have 3d 25h 36m and 33s
Its a bug?
i saw this in a server and they have a status of whitelisted. is that from the pinger placeholder or is that custom coded
@shell aspen explain the actual bug, I don't see what's wrong with that
Or ya know, just ask the question and someone will respond if they know the answer
Help?? placeholderapi allo lowercase
Why is everything lowercase on new placeholderapi version?
is there a way in javascript to turn 1,0 to 1 but 1,1 is still 1,1?
explain the actual bug, I don't see what's wrong with that
@steep thorn why i have 3d and 25h and not 4d???
uh
Oh
is new placeholderapi broken?
@shell aspen which PAPI version?
Placeholder 2.10.9
I have 2.10.9
This is definitely wrong
I have 2.10.9 and is your stuff all lowercased too?
Why is my PlaceholderApi all stuff is lowercased ?
No my stuff isn't lowercased just doesn't calculate time well
I used placeholderapi 2.10.9 and everything is lowercased
my chat, my announcements,
my ranks
@shell aspen update to the latest dev build
whats latest dev build?
can u send it?
^
I will try
@steep thorn that was actually the fix for that bug lol (and the whole class refactoring) it's not in the latest release tho
Alright, let's see if that fixes @shell aspen 's issue
Should, it fixed mine
fefo did u see my screenshot?
Yep
Sorry, but I'm checking tomorrow, I'm not at the computer now
I have a feeling that's in a config file in the clearlag plugin you're using (I never used any so I wouldn't know)
But I don't know for sure tho
Also, question: which parts of those messages come from placeholders?
I'm assuming the remaining time and # of entities cleared?
no its for every plugin
bruh
announcer, essentialschat, and stuff
then you got bigger problems, does it still happen without papi?
deluxe menu not support for 1.16 ?
never heard of such thing
i guess ill just use 1.8 placeholderapi
thats only one that works for 1.16.1
should i try reset full server and try it?
make backups first lul
How do i fix it?
I have absolutely no idea, did you try with the latest dev build?
This is bad, the version of Statistic that worked with older Spigot versions, doesn't work with newer PlaceholderAPI versions
This version
https://api.extendedclip.com/expansions/statistic/versions/statistic-200/
The new version seemingly works with everything? In that case the wiki should be updated
Sergiu be writing down the bible or somethin
var kitname = args[0];
var perm = "%essentials_has_kit_" + kitname + "%";
var status;
function kitcheck() {
if (kitname !== null && kitname !== "" && kitname !== undefined) {
result = perm.indexOf("✔");
if (result !== -1) {
status = "&a✔"
}
status = "&c✘"
} else {
status = "&e?";
}
return status;
}
kitcheck();
when i'm using %javascript_kits_vip% it doesnt work, it shows as ✘, the problem is with perm with kitname but when i'm using kit name instead eg. perm = "%essentials_has_kit_vip%"; its working
why?
Sergiu be writing down the bible or somethin
@austere hawk yeah :)))))))
someone tag me with solution please 🥺
ugh because perm will bot be parsed as a placeholder
try PlaceholderAPI.setPlaceholders(player, perm) and give player the %player_name% value
so something like this ```
var kitname = args[0];
var perm = "%essentials_has_kit_" + kitname + "%";
var player = "%player_name%";
perm = PlaceholderAPI.setPlaceholders(player, perm);
var status;
function kitcheck() {
if (kitname !== null && kitname !== "" && kitname !== undefined) {
result = perm.indexOf("✔");
if (result !== -1) {
status = "&a✔"
}
status = "&c✘"
} else {
status = "&e?";
}
return status;
}```
thank u ❤️
does it work?
uhmm...https://prnt.sc/txd4s4
nope
[23:17:34 WARN]: Caused by: <eval>:1 TypeError: PlaceholderAPI.setPlaceholders is not a function
brb

