#placeholder-api
1 messages · Page 149 of 1
?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.
send over your startup log
@hexed creek,
There seems to be some invalid syntax in your config! You can paste it into https://yaml.helpch.at/ in order to find out where your issue is!
?paste
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
Will the pastebin link be enough?
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
@hexed creek,
There seems to be some invalid syntax in your config! You can paste it into https://yaml.helpch.at/ in order to find out where your issue is!
Is that enough or not? Why are you making it so hard
are you arguing with a bot?
its enough I'm in the middle of the game can't open it rn
yes
i see
Thank you, I will give it a try. I didn't know there was an alternative for javascript data
@nova crane,
Please respect the rules, be patient and don't ping staff members!
i'm trying to do /papi ecloud download world on my server, but there isn't "world" in the list
did you do /papi reload after downloading?
i wasen't able to download it
it wasen't on the list
i can't send the screenshot
@worldly egret,
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
bruh
its to prevent spam
is there a placeholder / expansion to give / take money from people upon parsing?
(vault)
How do I add up the number of people in each world?
i use %server_online_lobby%+%server_online_lobby2% but it say 1+0
you can use %math_0:{placeholder1}+{placeholder2}%
oh.. thanks!
Help
Hello, im trying to make Leaderboards but cant figure out how do i make it.
These are my plugins that im using to make it: Holographic display, kite board and ofc placeholder aip.
PLS dm me if you know how to do it.
- Make sure you have ProtocolLib and Holographic Extension
- you can make a hologram with like 5 rows, at the top you put like
%bedwars_leaderboard_1%and then below%bedwars_leaderboard_2%.
If the plugin doesn't support leaderboard placeholders, then you can't do it
Thanks but how wuld a kill and blocks mined leaderboard look like?
Is it like this? %statistic_blocks_mined_1%
if that means "first place" (I've never used the statistic placeholder before)
ok
what is PlaceholderAPI for 1.7
um
wdym?
i need PlaceholderAPI for 1.7 to run plguin
TAB v2.5.3
I think the latest version of PAPI would work
same with TAB
i try but not run
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.
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
can you show us the log?
tab or PlaceholderAPI
?
how to show ?
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
@storm mortar,
There seems to be some invalid syntax in your config! You can paste it into https://yaml.helpch.at/ in order to find out where your issue is!
How can I get a placeholder if no one is online ?
because I need to put a player as an argument
just stop the baltop function from the Vault expansion. its not PAPI that's using the memory
that's why it was disabled by default in the newer versions of Vault
you can disable it in config.yml btw
of placeholderapi
Hey, i still have the same error and the guys from the plugin I'm using say its an error with papi and not on them https://im.bri-ish.me.uk/En2tteuH
why is images disabled in this channel?
this will work too i guess:
4:35 PM] Zed 🦋: You see... That is an issue with PlaceholderAPI.
[4:36 PM] Zed 🦋: I remember talking to Ryan and this was an issue with 2.10.9.
[4:36 PM] Zed 🦋: Caused by the hashing iirc.
[4:36 PM] Steep: Weird, when i asked them they said its a problem with you guys.
[4:37 PM] Zed 🦋: Ryan himself said it was on their end when I spoke to him a while back lol.
Actually, we just talked more and he didn't read the stacktrace properly. Now he redirected me to another plugin. I'll let ya know how that go's.
@turbid tide so will you help me?
@hexed creek,
Please respect the rules, be patient and don't ping staff members!
Okay, but help me already, you help others and ignore me
is there an ecloud expansion for advancements?
ah nevermind, I see this:
https://api.extendedclip.com/expansions/advancements/
a) what do you need help with
b) don't ping staff, it's not like they're being paid
if he ignores you then either he's busy or he doesn't know the solution to your issue
wdym "Placeholders crash"?
what is "wdym"?
what do you mean
can you show a screenshot of /papi list and try if /papi parse me %vault_suffix% works?
wait
do the placeholders work without the BattlePass plugin?
yes
BattlePass plugin support told you to write ..
They told to write to you
If they want to give me a copy of the plugin I can test it.
now I will write to them
I do not want
why
Not all of my plugins have been updated to this version
also get the latest version of worldedit
and get WGCustomFlags too (because WGBlockRestricter requires it)
just solve my problem with PlaceHolders, and I can update in a week, I have not fixed all the errors yet
so, will they you me?
We can't do anything unless the BattlePass developers provide me with a jar of the plugin to test.
hey
open your private messages, they said to give you a plugin to check
If you send the file to @tender vapor , I will look at in a few hours. Busy with some other stuff.
It's a bot
correct. it manages DMS for the server admins
I'm the developer of BattlePass. Seems like it's a conflicting plugin, my plugin is working fine when only battlepass and placeholderapi is present on the server. There is this error though: https://pastebin.com/bgCbhmzM
I have no idea if it's related.
Doubt that's a papi related issue since papi doesn't use hikari, y u no relocate dependencies tho
its an expansion problem. I got no idea which one's tho
remove them 1 by 1 until the error stops
I would suggest relocating your dependencies to see if that fixes it.
do I need to delete every plugin?
I don't see why you would. GC just needs to give you an updated jar with relocated dependencies.
What do you have in mind
Again, you need to talk to GC and get an updated jar.
What jar?
Of BattlePass.
ok
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait
ok
so basically
my deluxemenus
are not updating
with the placeholders counting and shit
here is a showcase of my problem
only updates if i click it for the refresh to work but i want it to be auto
Did you put "update:" in the menu?
nah, he did, he had his code in another channel and it matched the examples perfectly
so is DM just broken?
I vaguely remember this happening a lot to people and it's been like 2 years since I last fixed it but I know it can be fixed. We just need someone with ultimate knowledge
I think same thing happened to me, just didn't want to deal with it lol
I have issues with showing remaining timeout for the kit
It works on kits that are like up to like 3 weeks cooldown
But on the one with a month delay it just says 0, when i try to run a command for that kit it says regular 29 days and 23 hours etc.
But in the placeholder anything larger than 3 weeks just "breaks"
Is there a way to fix this ?
I'm guessing this is EssentialsX, could you tell me what the placeholder is?
Yes, %essentials_kit_time_until_available_krakenr%
Same goes if i do the parse of that placeholder and the essentialsx command
papi returns 0 and essentials 29 days...
Question, so i followed the directions for the api and i have made my expansion class inside my plugin, but how do i actually use that placeholder?
That's probably the limit of EssentialsX. PAPI is just displaying what it gets from Essentials
couldn't find a solution =/
As in, you made placeholders for your class? In that case, you can use them anywhere else you'd use placeholders, like in DeluxeChat or something.
I've contacted them, they say there is no limitation when it comes to cooldown, only if i use huge numbers which could lead to more than few years
and it displays the correct days when i try to claim it
this is what i used https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/PlaceholderExpansion#internal-class this is my first time doing this
Yeah if you've followed that entire guide, you can now use those placeholders anywhere that supports PAPI. Do you want to use them in your own code? This would help you with that https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Hook-into-PlaceholderAPI#setting-placeholders-in-your-plugin
Ah ok let me try that thank you
Hi, how can i remove items that doenst have enchantments with CheckItem expasion?
I tried this but doesng work, it remove all swords...
%checkitem_remove_mat:diamond_sword,!enchanted%
sorry for the late reply, i'm using minehut, and it won't let me upload .jar files
Even via FTP? That sounds like a flaw
i dont think minehut supports using ur own ftp client
if it doesn't support custom jars
Oh it's a free site
mhm
I'm impressed they even let you do anything lol
lol
There anyway I can get all ores mined from a player then add them all up and display that as a placeholder?
With the statistic you can do it but how would I add them up with JS?
im running a bungeecord network, and after a reboot placeholderAPI completely died, it doesnt error in logs, but none of the placeholders work, when trying to reload there is just [11:19:21] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing... [11:19:21] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information... and no other response. When trying to download an expansion on the other hand, there is (used vault as an example, works same on all i try)[Server thread/INFO]: Failed to find an expansion named: vault
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.
but it worked fine before, i downloaded multiple expansions
also, now it works after multiple restarts, but any papi command kills it
Hi, how can i remove items that doenst have enchantments with CheckItem expasion?
I tried this but doesng work, it remove all swords...
%checkitem_remove_mat:diamond_sword,!enchanted%
Hey, for some reason I'm getting nbsp symbol instead of , with placeholder %vault_eco_balance_commas%, how can I fix it?
what is nbsp symbol?
Hey, next problem 😄 What can cause this and how can I fix it? https://prnt.sc/10o9f9c
Oh, I see previous replies, sorry
  is a white space in html. and for some reason his placeholder returns this. I've tried to figure it out a while ago but couldn't
yeah that's not an option yet afaik.
@mint fable maybe add it to your todo list? idk
you don't even need JS you can just use math %math_0:_{statistic_mine_block:diamond_ore}+{statistic_mine_block:gold_ore}%
Hi, is there way to fix nbsp chars with js or how to make it with another way (%vault_eco_balance_commas%)?
idk. it might be possible but I'm not sure. btw did I ask you to try /papi parse me %vault_eco_balance_commas%?
Yes, I tried it, there are still nbsp chars
in chat?
Yes
and what about in console? does it show the nsbp symbol? maybe if you can copy it I can make a js placeholder
or I could just use %vault_eco_balance_fixed% I guess to add the commas to that
yeah I think that'd be better
how to papi parse in console?
just papi parse YOUR-NAME %vault_eco_balance_commas%
So how can I do something similar?
idk. just wait for an update or if you know java then make your own plugin I guess. idk any plugins that have this option
interesting, when it's console command, there is space instead of ,
oh it might be your server's fault then. I'll still make the javascript just in case
How specifically you mean server fault, what can cause it
well idk maybe encoding or something
Hi need some quick help - Im trying to set up the progress bar so that it detects players money so they can buy the next rank
Example:
newcomer -> Scavenger (Cost $1000)
Player has $500 so progress bar displays 50% complete
Currently have - &eProgress Bar %progress_bar_{placeholder}%
try %progress_bar{progress_percentage_{vault_eco_balance}_m:10000}%
thanks ill try now
Didnt work the bars not updating
hm
then i don't know, sorry 😦
wait
%progress_bar_{progress_percentage_{vault_eco_balance}_m:10000}%
what if u try that?
nope
am i missing any extensions?
i have the vault ad progress bar
do i need anything else
can u screenshot /papi list?
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.
and what shows up when you do /papi parse me %vault_eco_balance%
try putting it at a higher number
like 5000
since the limit is 10000
the next rank cost 1000 so if i set it to 5000 it will just rank me up
till change the number at the end of the progress to fix that
nope not worked
what about this - %progress_bar_{placeholder}_c:&a■_p:&e■_r:&7■_l:10_m:100_fullbar:&aCompleted!%
says i should change the boxes to what i need
but dont tell me what they do
oh
%progress_bar_{progress_percentage_{vault_eco_balance}_m:1000}% try this
okay thanks
nope
hmmm
🤔
what does %progress_percentage_{vault_eco_balance}_m:1000% show?
(by doing /papi parse me )
50.00
so yeah that seem to work as 50.00 is 50%
as i have $500 and the rank is $1000
hmmmm
what would be the API to show all the people online in my network?
but i would like it to display like in the image and not a boring text
%bungee_total%
Figured it out - &d&l$%rankup_money_formatted% &c&l- &b[%progress_bar_{PERCENT_DONE money}_c:&d|_p:&d|_r:&3|_l:20_m:100_fullbar:&a&lCompleted!%&b]
I had to go but while I was gone I remembered you can just use %formatter_number_format_{vault_eco_balance_fixed}% you just need to download the Formatter expansion first by doing: /papi ecloud download Formatter then /papi reload
is those 5 minutes? or what?
and how is it formated?
is it 5:00, 4:59, 4:58 ?
var timePassed = "%duels_match_duration%".split(":")
function calculate() {
var secondsPassed = parseInt(timePassed[0].split(".")[0])*60 + parseInt(timePassed[1])
var secondsLeft = 300-secondsPassed
var seconds = secondsLeft%60
var minutes = secondsLeft/60
if (seconds <= 9) return "0" + minutes + ":0" + seconds
else return "0" + minutes + ":" + seconds
}
calculate()``` if that's how the placeholder works then this javascript will do the job I think.
oh? what even is that?
why 04.06666:01 ? what's that
can you show a 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.
I'm so confused. why would it show that? what's the 0666 what's the 40 ?
I assume 03 is minutes
ohhh
is it 3 minutes 40 seconds?
yeah but what is the 06666 that's what confuses me but I think that's just % of 1 minute
I mean I can change that a bit and I think it will work
I've edited the code
you can try that one
maybe then
yeah just try my code
I think I've understood what it shows
its above
I edited my message
here ^
I mean still my code should work
if 04 is minutes
and 56 is seconds
but does the code I sent not work?
oh wait that is my placeholder?
oh xD
I was so confused
easy fix tho
var timePassed = "%duels_match_duration%".split(":")
function calculate() {
var secondsPassed = parseInt(timePassed[0])*60 + parseInt(timePassed[1])
var secondsLeft = 300-secondsPassed
var seconds = secondsLeft%60
var minutes = secondsLeft/60
if (seconds <= 9) return "0" + minutes.toFixed(0) + ":0" + seconds
else return "0" + minutes.toFixed(0) + ":" + seconds
}
calculate()```
here you go
wait actually
now its fixed
yeah I saw
Thanks! I will try it
oh my bad I forgot I have 2 returns
fixed
the code above
do you have a screen recorder by any chance?
can you put the javascript and the %duels_match_duration% placeholder both in a scoreboard or hologram that updates every second?
put them both please
no just somewhere where it updates
thanks BlitzZzZzZzZ for helping me and !test with vault placeholder ❤️
👍
var timePassed = "%duels_match_duration%".split(":")
function calculate() {
var secondsPassed = parseInt(timePassed[0])*60 + parseInt(timePassed[1])
var secondsLeft = 300-secondsPassed
var seconds = secondsLeft%60
var minutes = secondsLeft-seconds/60
if (seconds <= 9) return "0" + minutes.toFixed(0) + ":0" + seconds
else return "0" + minutes.toFixed(0) + ":" + seconds
}
calculate()``` can you try this one?
well if that works then no
if it doesn't then yeah
will watch it a bit later. rn I am in a game of csgo
Does anyone know if the setPlaceHolder still working?
yeah it should still work
can you try one more? xD? ```js
var timePassed = "%duels_match_duration%".split(":")
function calculate() {
var secondsPassed = parseInt(timePassed[0])*60 + parseInt(timePassed[1])
var secondsLeft = 300-secondsPassed
var seconds = secondsLeft%60
var minutes = (secondsLeft-seconds)/60
if (seconds <= 9) return "0" + minutes.toFixed(0) + ":0" + seconds
else return "0" + minutes.toFixed(0) + ":" + seconds
}
calculate()```
When I try the setPlaceHolder, it does not work
But when I try getting the placeholders method and try to onRequest it works
Is it a bug or the method setPlaceHolder is going to be removed
it shouldn't afaik. and it works for me. you're developing a plugin right?
no problem
Yes
Kind of weird
can you ask in #development. Please post a pastebin of your build.gradle or whatever pom file if you use maven and also any errors that you get
Yeah
I have never had this issue with the JavaScript expansion when I was using MC 1.12.2: https://paste.helpch.at/bevizeyedo.txt (I currently have the engine line deleted so it is using the default)
Can I get some help from someone concerning the placeholderapi mysql expanion queries?
thx
@tranquil sapphire,
Please respect the rules, be patient and don't ping staff members!
Hey I installed Placeholder API and Pinger. My server is rebootedbut i'm only getting to see the place holder like this: %pinger_players_127.0.0.1:25568%
Anyone knows how to fix it?
Did you download the correct extension from the eCloud?
/papi ecloud download Pinger
try /papi parse %pinger_players_127.0.0.1:25568%
Saying i must have a target
try %pinger_players_localhost:25568%
Also doesn't work.
factions:
location: world, 12.354, 53.200, -10.169
lines:
- '&4Factions &7| &4Season 0'
- ''
- '&7* &fVersion&7 &41.8.x - 1.16.x'
- '&7* &fStatus&7 &4%pinger_online_127.0.0.1:25565%'
- '&7* &fPlayers&7 &4%pinger_players_127.0.0.1:25565%'
I'm not sure if you can ping yourself ngl
Try another server's ip and see if it works then
Also doesn't work
you did /papi reload?
Yes
holographicdisplays
That plugin doesn't use PAPI, you need to use it's own thing and enable pinger in config.yml
I did to
I need to use those ones?
Yep
Uhm i can't get players online in there
Then you can't do it. That plugin doesn't even use the plugin this channel exists for
you can get HolographicExtension and ProtocolLib
Wich plugin i need for it?
I just said it-
Like that support it
HolographicExtensions is an addon for HolographicDisplays
which lets it support PAPI
and ProtocolLib is a plugin that HolographicExtension requires
Alright going to test it out.
Is there not a holograms plugin that support Papi by default?
It works thanks

lmao
Is it possible to have a specific permission required to being able to see a specific placeholder?
Please link for Expansion-Skript, not working me
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#relcon possibly something to do with this?
its not working, in manual message: Failed to register expansion from Expansion-Skript.jar
Tysm
please help?
What does it say in the console?
https://paste.helpch.at/aqowoditeq.md and not working
hmmm looks pretty out of date to me
okay so, it seems someone made a fork of it that might work
try that
ok wait
Failed to register expansion from SkriptPlaceholders-1.0-SNAPSHOT_HIeuM09.jar
:/
yeah doesn't seem like skript stuff is working
I know most people have a general distaste for Skript (for good reason), so you might want to consider actually learning Java and stuff!
imagine how cool that'd be, eh?
maybe you could write your own placeholders some day
Writing plugins was something I tried, but my skills are at the level of the scripts in that plugin
It used to work for me, and someone from there helped me, but I don't remember and I don't have the old server saved
just watch a few tutorials!
ask around here, I'm sure there are people willing to help
I also searched on the Internet and there are add-ons, but mostly not working for me
Nooo! It's not time for me for plugins yet 🙂
For now, I prefer to use scripts even though I know that they put a load on the servers
hmmmm
Placeholderapi downloads an add-on to the script itself, do you know why this is happening?
well it's gotta download the addon for PAPI to be able to parse the Skript placeholders
but obviously it's not up to date
unless Skript has them built in now?
oh, I found a TAB plugin and it does, disable it and try to add the add-on again
probably some progress, displays N/A
Working 😄
Im used: https://github.com/Altruiis/skript-expansion/releases/
ah very nice the up to date one worked haha
oh
anyone knows placeholder for date in featherboard 3.0?
anyone know the placeholder for ping in deluxechat
Using PAPI, %player_ping% in the Player addon
/papi ecloud download Player
ty
Hello, when I am using `%pinger_online_10.0.0.2:25570%`` it shows the server as offline but it is actually online.
Does anyone know how to fix that?
10.0.0.2 is an internal ip address
You need the external IP address of the server
I also tried using the external ip-address but it doesn't work
I currently have 3 dedicated servers and the proxy stands at 10.0.0.1
the Pinger Extension manages to ping 10.0.0.1 servers & 10.0.0.3 servers but it fails to ping 10.0.0.2 servers
Are you hosting this on your local computer?
no
Then you shouldn't be able to use internal ip addresses...
Lets say I have 3 dedicated servers 1, 2 and 3
My proxy is running on dedicated number 1.
I currently have 6 lobbies running on dedicated # 2
I am trying to ping a server on dedicated number 3 through number 2 with an internal ip-address which works
but when I am trying to ping a server on dedicated number 2 through dedicated number 2 I suppose the placeholder is throwing a socket error and shows the server as offline
even if I use the external ip-address it shows the server as offline...
you have 6 lobbies on one server? I don't think it knows what to do in that scenario
are you using bungeecord?
or waterfall
velocity
I made my own socket placeholder and it works, but when I am using the pinger placeholder it shows it as offline
Dude you are beyond the basic help from this discord lol
Just make your own extension at this ponit
I was about to say. The pinger expansion is pretty broken. If you have the knowledge just make yours. its way easier
Right now I am busy with my personal life so I can't find the time to go over the PlaceHolderAPI extensions library, so my team prefers to use the Pinger placeholder for now
btw go to config.yml and update the check time from 30 to 1 or something like that
It is set to 3 right now
yes
because that also breaks it
on my server I can't use pinger at all because of tcpshield
I mean, I can use pinger on 2 other dedicated machines but on the same dedicated it fails
hmm idk I've never actually looked at the code of pinger so I'm not sure
but if you ever find the time: https://github.com/PlaceholderAPI/Pinger-Expansion
oh wait
nvm
that's not it
why would they make this one OS but not the actual expansion? lmao
yeah your ping is probably getting blocked
there's like, a million things that block ICMP requests
theres option to disable the thing where it "disables" pings directly to ip address iirc
where? can't find it in the plugin
only 3 options in plugin
# Please keep this as true in while using TCPShield!
only-allow-proxy-connections: true
# available modes: system (uses the system time), htpdate (uses a synchronized date) & off (deactivates timestamp validation)
timestamp-validation: 'htpdate'
# Turn on to diagnose connection issues
debug-mode: false```
the first one
only-allow-proxy-connections: true
wait but if I disable that doesn't it just disable TCPSHield? or what
also i didn't know the second was a thing
no, tcpshield itself still works
but just lets ppl using number ip still connect
(otherwise it says "Disconnected")
ah I see
so i think the warning is just in case someone gets ip
it will just say "Disconnected"
It is very important you keep the only-allow-proxy-connections to true when in production. If this isn't set to true, you are NOT protected by TCPShield and are vulnerable to scanners which can find your backend IP address.
yeah I prefer to keep it hidden xD
lol
this is on their official docs
nice
yeah you definitely don't want to be able to be pinged lol
maybe find a way to get that info through the proxy
yeah I could I just don't need it that much xD
also I have other shit to worry about rn lmao
but networking is kinda fun!
i took a whole class about it and learned nothing
then i made a mock network and got docked points for not using dotted lines for wifi 🙂
Can someone help me out, the integration with Jobs isnt working right
wdym
I took a class about java and I still suck at it lmao
do you have the ecloud extension downloaded and did you reload papi
bro Im taking class #2 and #3 concurrently on java and I still barely know what these guys are talking about half the time
Can we post pics here/
?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.
for me the problem is understanding the concepts. because I know how to make a class, how to use it and all that and I understand quite a bit but some concepts I just don't. And I don't even bother trying to understand them more by searching other explanations lmao
Alright so whats happening is that it returns the same value for all jobs
for example if Im working as a brewer
and did this
%jobsr_user_isin_Woodcutter% returns true
if im not working any job it returns false, but if Im working any job it doesnt matter which all of them return true
although jobs side im only working as that particular job
do you have all permissions?
hmmm
This particularly ruins my deluxemenus GUI https://imgur.com/OE59UOW
Since all job placeholders return true it looks like the player is joined in all jobs
try updating Jobs Reborn
because the expansion is included in the plugin. if it doesn't work after that. contact the dev of the plugin
Is there any way to get an essentials nickname? I want to see if it's possible to include essentials nicks into https://www.spigotmc.org/resources/lpc-chat-formatter.68965/
%essentials_nickname% if you don't already have the essentials expansion just execute /papi ecloud download Essentials and then /papi reload
Tysm
Is it possible to block the base /placeholderapi and /papi commands? It's just that they're useless to players so might as well hide them if possible
you'll need a different plugin such as PluginHider
damn ok, thank you
there is no placeholder for that. you'll probably need a custom plugin for that since that information is not stored anywhere by default
you can use a plugin like ajLeaderboards or LeaderHeads to do that.
not really a good way to do it with JS even tho it might be possible
yeah
Hello ! I updated EssentialsX through the website and everything is good for the console, however in-game placeholders of PAPI no longer work, do you have any idea?
Have you restarted the server?
Yeah
hmmm, is PAPI up to date?
Oh and does it say this in console? [02:31:27 ERROR]: [Essentials] You are running an unsupported server version!
If you got the latest version for 1.16.5, it probably will
Yes, I had this message before changing the version
Do I have to put back the old version of Essentials?
Yes, we can't help you with an unsupported version
And most likely things won't work lol
Owh ok, thanks x)
@neat fern Unfortunately those placeholders do not work
this isnt from my placeholders
That's a different placeholder
not from my plugin
all im doing with mine is getting the playtime from the players stats thats inside of the world folder
where are you trying to parse the placeholder in what message?
Hold on man, are you the actual developer?
I'm using your plugin if so, and its working
Oh ok, I can't seem to use other placeholders within your plugin
i want to include join date
Other plugin kept resetting Jd
%player_first_join_date%
Player extension
ok let me look into it
Thanks ❤️
Im running a bungeecord network, and after a reboot placeholderAPI completely died, it doesnt error in logs, but none of the placeholders work, when trying to reload there is just
[11:19:21] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...``` and no other response. When trying to download an expansion on the other hand, there is (used vault as an example, works same on all i try)
```[Server thread/INFO]: Failed to find an expansion named: vault```even without any expansions it still reacts the same, only placeholders that i can use are those that are hardcoded into other plugins. I have tried manually putting expansions, doesnt work. I have tried changing config, doesnt work.
there is also a message (about 2 minutes after papi reload) in logs https://paste.helpch.at/lozoxohave.md (thats from a different try then before)
[13:01:27 WARN]: [PlaceholderAPI] redisbungee is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
Is there any way I can modify the code of the plugin or something to make it work?
Yes, I know redisbungee is unmaintained
The expansion is OS so you can: https://github.com/PlaceholderAPI/RedisBungee-Expansion
Hello it's possible to use placeholdersapi for bungeecord ? i want to show the nickname of player with essentials
just use %essentials_nickname%
in plugin bungeecord ?
no
not spigot plugin
it doesn't support bungee
you can't. unless that plugin has a way to take input from spigot to bungee.
okay
where are the docs for relational placeholders? I'm using a plugin that supports them, but I cannot find how to create one
hello, can someone help me to solve this error? https://paste.helpch.at/enemivubaw.sql
ohhh okay thanks
I use notepad++ to find a replace
just find the symbol and replace with the new one
how do i make papi ignore ecloud?
I get this with deluxe menus. what am I doing wrong?
Hello.
I can't seem to add any placeholders to my items name's, is there anyway to do this?
%player_item_in_hand_name%
You get what exactly? You didn't send an error
cant post images ofd the log
@winged mauve,
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
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
plugins/PlaceholderAPI/config.yml you have cloud_enable option. set it to false
well, my papi is still broken 😦
How so?
some time ago, after a restart, all the expansions stopped working (placeholders that are hard-coded into other plugins worked tho), i couldnt connect to ecloud, and i couldnt reload the plugin. I already reinstalled the whole thing, checked different versions, tried without any plugins that might interfere, disabling ecloud, nothing worked
ok so a few more things to try: use the dev builds of PAPI, go to plugins/PlaceholderAPI/expansions and delete all the expansions from there and then go to https://api.extendedclip.com/all/ and manually download the expansions, put them in that folder and do /papi reload if just a reload doesn't work fully restart the server. also don't use PlugMan or anything similar
where can i find dev builds?
?papi-builds
You can find the latest PlaceholderAPI dev builds here: https://ci.extendedclip.com/job/PlaceholderAPI/
here ^
thx
the latest one
because it already know that manually getting the expansions (for eg. vault) still doesnt work
Do you get any errors? Maybe send a full startup log in a paste
well, now i can connect to ecloud, still cant reload, but its ok, ill just restart it
?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.
no errors in logs that have to do anything with papi, only the (i think incomplete) information when reloading papi
should i send it here again?
maybe I can understand some of it. if you want
[22:09:36] [Server thread/INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[22:09:36] [Server thread/INFO]: [PlaceholderAPI] Fetching available expansion information...```thats what happens immidiately when trying to reload, and after that (i dont know if its even related, as sometimes it comes much much later)
```THIS LOG IS NOT RELATED, CHECKED```
sry that i didnt link it but i dont think its that long...
welp nvm I got no idea xD
doesn't look like there's anything PAPI related tho. not sure
ummm what? now when checking the expansions folder, there was no vault i installed previously, refreshed ftp to be sure it isnt there, then put it manually, done /papi reload, and the old vault appeared again...
well, when doing /papi ecloud list installed it shows that there are no expansions
Hello Blitz.
Inserting that or any other placeholder doesn't work, it will just change the name to that, as if Placeholders didn't even exist...
"/itemname %player_item_in_hand_name%" simply changed it to the name %player_item_in_hand_name%
I wonder if I am doing something wrong
@finite crater,
Please respect the rules, be patient and don't ping staff members!
/papi ecloud download Player then /papi reload
Hey, thank you for your fast reply!
I already have that expansion, I did it again just to make sure and it still doesn't work...
Literally none placeholder is working in itemnames or item lores
https://imgur.com/psgNLRA
im using deluxechat as well for this but jvavascript for tags is placeholderapi. Its not working
oh
nvm
fixed it
🙂
Hi. Can a staff verify this expansion? https://api.extendedclip.com/expansions/world/
This has been requested for weeks
What language is that
JS
🤮
make it then ... xD
var kit = "%kitpvp_player_kit%"
function translate() {
switch (kit) {
case "Fighter":
return "Боец";
default:
return "Няма";
}
}
How can I show multiple servers' player count with Bungee placeholder?
%math_0:_{bungee_server1}+{bungee_server2}+{bungee_server3}% Or you can just use %bungee_total% for all servers together
Just noticed something very interesting lmao
This is the %statistic_time_played% from Statistic something doesn't seem right xD
update ur papi
one of the dev builds fixes it iirc
Ew Skript extension is pinned
unpin it!
Disgusting
Also Kali, that is still not fixed, just tried on 2.10.10-DEV-122
Don't think the expansion was updated yet
how many dev versions can there possibly be for a PAPI extension lmao
I see the fix on git hub
Hello, i got this error, I don't know what does mean, can someone help me please ?
java.lang.NullPointerException: null
at me.gabytm.placeholderapi.config.ConfigExpansion.register(ConfigExpansion.java:56) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:139) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) ~[?:?]
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:605) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$2(LocalExpansionManager.java:288) ~[?:?]
at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.5.jar:git-Paper-503]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.5.jar:git-Paper-503]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:950) ~[patched_1.16.5.jar:git-Paper-503]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:175) ~[patched_1.16.5.jar:git-Paper-503]
at java.lang.Thread.run(Thread.java:834) [?:?]```
It's an error in ConfigExpansion
I checked the code but can't really see what the cause is: https://github.com/PlaceholderAPI/Config-Expansion/blob/master/src/main/java/com/extendedclip/papi/configexpansion/ConfigExpansion.java
Oh no my baby
The one you linked to is an old version, Robin
Yeah I thought so, stacktrace didn't match
Hey, my server has crashed a couple of times today and after looking through the logs it seems like PlaceholderAPI is the (or one of) the issues? https://pastebin.com/LZACnkQR
Try removing the Server Expansion and see what happens
Thanks! I'll try that if the server crashes again 🙂
Greetings! I immediately get to the subject, I use the deluxechat plugin. On the one hand I am using fabled but I am having a problem. The island level shows "my" island level even though I use the %fabledskyblock_level_formatted% or %fabledskyblock_level% placeholder. I looked at other servers, they somehow solved it. I use the plugin called chatinjector so that the Fabledin level does not get in trouble. How can I get rid of the place holder problem?
can you help me bro?
Hi, I've tried downloading the World pack of placeholders to my aternos server. I run /papi ecloud download World but it says it doesn't exist???
Can u help me with my issue above?
Hello why i have in luckperms placeholder (Parent temp group) only 6 days but not 30 days ? (I set parent group for 30 days)
Hey can I get some help with my last issue?
I still couldn't get it fixed...
My placeholders simply don't work in an item's name, no matter what placeholder I'm trying
Please help
how do i use %server_countdown_dd.MM.yyyy_01.01.2020%
i want to countdown to the 29th of this month
01.01.2020 is when the timer will end. Since 01.01.2020 has passed already it will just show 0. you can change it to 29.03.2021 for it to count down until the 29th
no american datetime? :(
you can change the formatting to whatever you want
in that placeholder
for example if you want it
MM/dd/yyyy hh:ss aa you can
kk thanks ill try that
But are you sure the plugin you use for naming items supports PlaceholderAPI?
because if it doesn't then it won't work
ok i did /holo setline test 1 %server_countdown_29.03.2021_29.03.2021% and still returns 0?
can you do /lp user YOUR-USERNAME parent info ? and send a screenshot of what it says. then parse the placeholder as well and send a screenshot of that?
I don't have such plugin, I honestly thought that could be the case so I searched for it and couldn't find one... could you please link me one? :)
you don't change the formatting. just the date.
o ok
I don't know one. Because having placeholders in item lores and names seems like a bad idea.
so this? %server_countdown_dd.MM.yyyy_29.03.2021%
yeah that should work
I wanted to add a blocks mined placeholder to pickaxe, think it would be a bad idea?
o thats right i cant put pics in here... but it just shows the placeholder
that kinda slaps
I mean it really depends. I know EzBlocks can do that but idk. I don't know any plugins that can even add placeholders to item names so can't help you
what hologram plugin are you using?
Holographic Displays
it uh
doesn't seem to support PAPI
and their placeholders list is down from OVH lmao
ill try it with my servernpc plugin since it supports placeholderapi to be sure
Are you also using HolograhpicExtension?> because HD doesnj't support PAPI by itself
ah yeah you need the extension thats right
you can always test placeholders by doing /papi parse me %placeholder%
Yea the servernpc plugin requires that plugin
or change me to the name of any player that's online
Where can i send 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.
it works https://i.imgur.com/bNfLNK1.png
make ure you have HolograhpicDisplay and ProtocolLib tho installed
HolograhpicExtension***
not display
that too
but HE as well
To make sure the placeholders update you will need to add refresh holders.
{fast} - 0.5 seconds
{medium} - 1 seconds
{slow} - 5 seconds
{slowest} - 10 seconds.```
kk like i said servernpc requires it so im going to test that placeholder below the server im useing it on
what am I looking at here boss
is that two chat windows overlaying eachother?
What do you mean ?
oh I didn't see your question lol
I post those screens for BlitzZzZ
thanks for the help @turbid tide
no problem
that's very weird. are you sure you parsed the correct group name?
because I just tested it on my server
and it works
Yes i am sure
what's your PlaceholderAPI version?
2.10.9
You can find the latest PlaceholderAPI dev builds here: https://ci.extendedclip.com/job/PlaceholderAPI/
go to plugins/PlaceholderAPI/expansions and delete any World-Expansion jars you have. then go to: https://api.extendedclip.com/expansions/world/, download the latest version and put it in that folder. then do /papi reload or restart your server if that doesn't work
thx Blitz, after trying to deleting every single plugin one by one, it turns out newest build of skungee killed it, now its fixed
Having an issue with the Javascript community script lore.js
It works correctly, but after a second or two, it stops showing all lore lines and just shows the first lore line and nothing else.
This is inside DeluxeMenus
that's because of update: true iirc. You'll have to disable that for the item.
there's no fix at this moment and idk when a fix will be made
in placeholderAPI? or DeluxMenus
deluxemenus
Ah, that worked, thanks
Yo
if I need to, I'll use the refresh command instead of update
none of my placeholders are working
dont understand whats going on
i got essentials vault player
you downloaded the expansions for them?
and if you do /papi ecloud list installed they show up?
%player_name% is the one you have to use for player name
what about the ecloud list command I gave above?
Yeah they show up
And how are you testing the placeholders? In what conditions
/broadcast %player% has just purchased a Kitname!
or %player_name%
i mean none of them are working
nothings returning
try /papi parse %player_name%
/papi parse me %player_name%
also you need to make sure your broadcast command supports placeholders. if they work with /papi parse then it doesn't
aw shit yeah u rite
ok so i did the papi parse and it returned my name
yeah then your broadcast plugin doesn't support PlaceholderAPI
you need to get one that does
give me 2 seconds. I remember I made one for someone a long time ago. If I find it. I'll send the jar.
honestly have no idea which plugin broadcast goes to
might be my anticheat
but even then
if you have Essentials then that's the one
well not from PlaceholderAPI it does not
well that's different
placeholders from essentials work
in other plugins that support PAPI
the expansion takes data from essentials and displays it in other plugins that support it
but essentials doesn't support PAPI so it can't convert placeholders into the data
well if you wait a bit I'll try to give you a broadcast plugin that supports PAPI
just need to find it
even for holographic displays though too
nothing is returning
is that because of essentialsX?
because that plugin doesn't support PAPI either
but you can download 2 plugins and it will work
HolograhpicExtension
and ProtocolLib
it will work in holograhpic display only
so basically HE uses PLib to take over HolograhpicDisplay and parses the placeholders
I think I have deleted the plugin. If you want I can make one and send it tomorrow. I have some work to finish. Well today for me since is 1 am but later today in like 12-16 hours
Yeah if u can send me a link to it ill check it out
well I'll just send the jar after I make it.
and the source code in case you're one of those people that "don't download anything from discord just in case its a virus" lmao
Hey 🙂 Not sure if this is the right channel, please tell me if I should move it...
Is there any way to make custom placeholders? I'll explain this the best I can. I'm setting up a custom Achievements menu on a minigames server using DeluxeMenus. Obviously using DM you can add console command actions when certain items are left clicked. Is there a way to 'add 1' in value to a 'custom placeholder' when an item is left clicked? For example, I make a placeholder with an integer value. The placeholder can be called 'AchievementsComplete'. Then, using DeluxeMenus, every time my player completes one, they click the item in the menu and I want the Placeholder to increase in value by 1. This could also be used in other menus such as a Shop Menu where each time an item is purchased, the placeholder 'ItemsBought' can increase by 1. This idea I assume woud need to be/could be linked to a MYSQL database to track what each players current 'stats' are.
If this is in any way possible or if there are any ideas or other plugins capable of this, any help would be appreciated 🙂 Thanks! If any of that doesn't make sense, please let me know and I'll try explain better.
Note: the end goal / reason I want this is I want one of my achievements to be 'purchase X amount of items from the Shop Menu'. To be able to do that, I need a way of tracking how many the player has
you could use a meta permission to track it. You'd just need a way to perform math functions on that permission then. Should be doable using the Math placeholders.
Something like this might work assuming you use LuckPerms: %math_{luckperms_meta_purchasedobj}+1%
Hey thanks for the reply, I'm not familiar with this so I'm just playing around with it in game before I reply
So how would I use a command to add the value of 1? When I run /lp user AltSplash meta set test %math_{luckperms_meta_test}+1% that doesnt work. It just sets the value to the text of '%math_{luckperms_meta_test}+1%'
If I can get a command to add 1 to the value, I think this is exactly what I'm looking for
Make sure you have the math PAPI extension installed. Also, try doing it with a DeluxeMenus button, as that should parse the placeholder.
/papi ecloud download math
/papi reload
[console] lp user AltSplash meta set test %math_{luckperms_meta_test}+1%
I had the Math extension installed but I'll try doing it through a DM button, just having lunch quick 👍
Ok, so, the [console] version worked so that's great. Only thing I can't get working is for DeluxeMenus to recognise when a players meta value is at a certain number to change the display item in that slot. By using the [console] way its setting the meta to 3 decimal places, not sure if that is the issue (i.e. instead of 3, its 3.000). In the attached menu, looking at items 4a and 4b, I've tried switching the priorities around and also tried changing the output between 4 and 4.000 but I can't get any combination where AltSplash can see item 4b, the diamond.
If you are still confused on the matter, what you want is %math_0:_(equation)% 0 = amount of decimal points
Perfect I've got it working now, thanks for all the help this is really useful to me 🙂
is there any user text input expansion?
how do i show the top player with highest vault balance because %vault_eco_top_player_#% doesn't seem to work for me
%vault_eco_top_player_#%
yea that was what I was trying to type but that doesn't work for me
Make sure you downloaded it's expansion
I had it installed and it still doesn't work :/
Where do you intent to put the placeholder?
tab plugin
I just read pinned messages that expains it
but is there a way to show the player with the highest vault balance?
Hi! Having problem with localtime extension. Im using it for TAB plugin. When im adding this: %localtime_timezone_<Timezone_ID>% with actual timezone id from site, it doesnt show right time zone, like it shows same time for all id's
Hello ! Is a BungeeChat plugin working with PlaceholderAPI ?
you have to enable baltop placeholders in papi config, they are disabled by default
^^^ Why? 
%jobsr_user_boost_(jname/number)_(money/exp/points)% won't work for all the jobs
I have a question about the checkitem requirement.
input: '%checkitem_amount_remove_mat:NETHER_STAR,amt:1,lorecontains:&7Effect: &6+250% Token Boost%'
The lore I am using has a % in it, so it's making DM think that the first % is the end of the input, is there anyway to make it think that it's not the end of the input and apart of the lore?
[prc]
Over the last few days I've started getting an error from the ecloud manager whenever I reload it. This happens on both my local machine and a dedicated server box.
The problem seems to be one of the expansions. I'm not sure which but I recommend you remove them 1 by 1 and do /papi reload each time until you see it stops. when it stops, the last expansion you removed is at fault. you can find the expansions in plugins/PlaceholderAPI/expansions btw
You can try escaping it \% if that doesn't work then I don't think it is possible.
It seems to be related to any number of expansions, some of which aren't even plugin-related (Things like Player, and Server are doing it)
Expansions that seem to be causing it right now:
Essentials
Player
Server
Vault
@steel tendon,
Please respect the rules, be patient and don't ping staff members!
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.
With the broken ones enabled?
yeah
Prior to server restart (After disabling and re-enabling expansions and reloading papi):
https://gist.github.com/reiyooki/68d1579c06c510245c4b6a2a70e469dc
Fresh startup:
https://gist.github.com/reiyooki/0444fad8f1e3b41ac4f81e5c919160fd
what server jar do you use?
What timezone ID are you using?
It does not
Already tried that Blitz, thanks for the suggestion though :)
is there a placeholder for how much levels you have?
is that bad boy open source? seems like it'd be, it sounds like a utility
@errant iron,
Please respect the rules, be patient and don't ping staff members!
lmao
BungeeChat lmao
Probs not
:/
Its a plugin and it is OS: https://www.spigotmc.org/resources/bungee-chat.12592/
well its probably not that used or such a required thing
also seems like they're working on a full rewrite
yeah
Hey
I can tell if this is a problem with holographic displays or papi
but when I do %bungeecord_duels1% in a hologram it just says %bungeecord_duels1% not the player count
of that server
^ HD doesn't support PlaceholderAPI. you need the HolograhpicExtension as well
I have it
other placeholders work
just not bungee cord one
nvm
i fixed it
its %bungee_duels1% not bungeecord
Hey guys, i have an issue when my server was on 1.8 all of the placeholders worked, now when i upgraded the server to 1.12 it stopped
i've fixed every placeholder except this one (keep in mind this worked)
%math_{prisonranksx_nextprestige_name}-1[precision:0]%
I've updated or did papi ecloud download math,mwdv but if you have any idea what should i do i am open for suggestions and advice 😄
do /papi info Math if the version is 1.7.0 then you have to use %math_0:_{prisonranksx_nextprestige_name}-1%
the way the precision is set was changed
in the latest version of the Math expansion
Oh yeah lmao. Missed that part 🙂
it says 1.2.0
oh wait maybe I messed up the version. let me check which one is the latest
oh yeah 1.2.0 not 1.7.0
my bad
oh thanks 😄
is it possible to make a custom placeholder that looks for a specific line in server.properties?
I mean you can get stuff from Server can't you?
and js allows you to get Server. so you can use that
d;methods spigot Server
org.bukkit.Server#reload
org.bukkit.Server#getEntity
org.bukkit.Server#addRecipe
org.bukkit.Server#getPort
org.bukkit.Server#getServicesManager
org.bukkit.Server#getTag
org.bukkit.Server#getBukkitVersion
org.bukkit.Server#getRecipe
org.bukkit.Server#setSpawnRadius
org.bukkit.Server#broadcastMessage
org.bukkit.Server#setWhitelist
org.bukkit.Server#getBossBar
org.bukkit.Server#getSpawnRadius
org.bukkit.Server#getWaterAnimalSpawnLimit
org.bukkit.Server#getUnsafe```
whatever this and Player allows
you can use in JS
var server = BukkitServer;
var player = BukkitPlayer;```
why redefine a variable xd
const was not a thing in nashoorn. You can only use var
Noob
function getServerProperty() {
if (args.length == 0) return ""
switch (args[0]) {
case "ip": return BukkitServer.getIp()
case "port": return BukkitServer.getPort()
default: return "null"
}
}
getServerProperty();```
@trim jungle
oh, so i would just replace ip or port with what i want it to get?
as long as its a method in the Server class
there's a DocDex list of methods
aboce
above*
Although most things should be available on the server expansion
i'm trying to get the server-name from server.properties (its put there by chatcontrol red) so that i can use this in discordSRV instead of typing the server name in every single line in the config that needs it
server name is defined on papi config under "server" section iirc.
you can use %server_name% and set it in plugins/placeholderapi/config.yml instead
yeah but i would rather have one location for the server name
And?
Pretty sure it got moved to papi config since the value is no longer on server properties or smth like that
d;spigot server#getname
@NotNull
String getName()```
Gets the name of this server implementation.
name of this server implementation
That will return "Spigot", I think
not sure what you mean because chatcontrol red is still getting the name from server.properties
though i didn't think of trying the %server_name% placeholder in the chatcontrol red config
guess i could try that
you can just make a JS placeholder
if you want
as we said
and use BukkitServer#getName()
ah
https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/browse/src/main/java/org/bukkit/craftbukkit/CraftServer.java#227
As I have said, that will return the server implementation name
hi all - does localtime use the ip of the player? I tried using a vpn in another country yet it still shows the server time
So you used /papi parse PLAYER %localtime_time% and it showed the server time even if his IP is not in the same timezone?
yes - i connected to a foreign vpn yet it still shows my (and my server) timezone
it's not the vpn's fault - other plugins were able to find the correct ip country location
have you checked console? when you parsed it. See if you get this error "[LocalTime] Couldn't get " + NAME + "'s timezone. Will use default timezone."
because I've checked the code and it would put the server timezone's only if something went wrong when getting the player's timezone
I can join your server btw in like 2 minutes and parse the palceholder on me. see if it works then
if you want of course
i remember seeing that error before, but not recently (at least none as far as I was able to scroll up to in screen)
if there was, would it be when the server started or when a player joined?
when the player joined or if not when you parsed the placeholder
are there any incompatible plugins? one i'm thinking might cause problems is fastlogin
no - it doesn't say the default timezone when i join (tried with an alt)
if you want me to join I can try also try restarting first
then joining
and checking the console
and I'm not aware of anything that might interfere.
i'll try to start a completely new temporary server
even a fresh server with papi only wasn't able to parse the time
the console didn't say anything
you did /papi reload or restarted the server?
yes
This may be a shot in the dark but %jobsr_user_boost_(jname/number)_(money/exp/points)% doesn't work for all the jobs, hoping someone knows a solution to this
You'll have to contact the dev of the plugin since he develops the expansion as well
I posted this issue 2 times and nobody said anything 😦
we can't really do anything. well I guess if anyone had time could check if its Open Source and update it but I ain't got time
Nah, I just hoped someone might know why it won't work
yeah no idea. Probably just the code being broken
Nope, It only shows the bonus of the jobs that you are in =/
@quick sphinx,
Please respect the rules, be patient and don't ping staff members!
feelsbadman
Hi ! How to use Papi with BungeeCord plugin ?
You can't. PlaceholderAPI doesn't support Bungee
unless that plugin has some sort of extension like the plugin TAB does you can't
Projeck lost connection: Internal Exception: io.netty.handler.codec.DecoderException: java.io.IOException: Packet 0/0 (PacketPlayInTeleportAccept) was larger than I expected, found 33116 bytes extra whilst reading packet 0
This occurs with PlaceholderAPI installed
when papi is uninstalled, this no longer occurs, ever.
any idea?
reposting in the appropriate channel, woops.