#placeholder-api
1 messages ยท Page 116 of 1
you can use the Math expansion
%math_{bungee_bedwarslobby}+{bungee_bedwarsgame1}[precision:0]%
and use the placeholder %math_{bungee_bedwarslobby}+{bungee_bedwarsgame1}[precision:0]%
;-;
๐
mine won't return .000
.00*
who said mine will ๐ค
is it possible to use a javacript placeholder to make an eco take? for example
/eco take {player} %javascript_eco%
or else
/%javascript_eco%
who will send him the order with the amount
ugh idk if it will work like that
you'll have to try it
just make a short javascript like fun test(){ return "eco take n54b 100" } test(); and do /%javascript_eco%
I know you can do that in DMenus actions but don't know about other ways
if you can actually use it
No, that doesn't work and that's exactly what I'm looking for... to use it in dm as an action ^^ so I wouldn't have to create 200 identical code just for calculations ^^
When will Deluxe Menues be updated to 1.16.1?
Well, placeholder wise
Im having trouble with the meta placeholder
You can find the latest DeluxeMenus dev builds here: https://ci.extendedclip.com/job/DeluxeMenus/
dev builds for deluxemenus ^
I got Dev-90
he's using them
but the DeluxeMenus PAPI placeholders aren't working
the meta ones
o
Yeah, Clip doesnt seem to respond so idk where to ask
hmm
what server version
@high swift
gonna assume 1.16.1
can i see the startup log
@high swift,
Please respect the rules, be patient and don't ping staff members!
Hello where I cant download placeholder api 1.16?
in this channel's pins
Thx
how would i create this economy thing u were talking about before clip?
What thing?
http://prntscr.com/tih95d does anyone know what could be causing that issue?
what does /papi parse me %server_online% return?
also /papi parse me %vault_eco_balance_formatted% and /papi parse me %tm_tokens_formatted%
/papi ecloud download Server
/papi ecloud download Vault
/papi ecloud download TokenManager
/papi reload```
execute those commands from first to last
It says the expansion cloud is not enabled
go here https://api.extendedclip.com/all/ download the Vault, Server and TokenManager expansions then go to plugins/PlaceholderAPI/expansions make sure those expansions aren't already there(if they are delete the existing ones) and add the ones you downloaded to the folder then do /papi reload
just use
[console]%javascript_eco%
@turbid tide Its working !!!!!!!! ๐
nice
really thanks you ๐
no problem
Just did what you said Blitz and it still appears the same way
Would a server restart be needed instead of the plugin reload?
even when you do /papi parse me ... ?
you can try but usually it is not needed
but do a server restart
just in case
yep the parse command still displays the same message
ugh that's weird do those expansion show in /papi list
for some reason no
Gonna see if the restart is gonna do anything
Yeah that didnt do anything
http://prntscr.com/tihlqn are the files placed correctly?
1.13.2 and the papi ver is 2.9.2
ugh why are you using such an old version of PAPI?
1.8.8
1.12.2
1.13.2
1.14.4
1.15.2
v2.10.6 - Latest
v2.10.6 - Latest
v2.10.6 - Latest
v2.10.6 - Latest
v2.10.6 - Latest
We never had an issue with it before, hence why we haven't updated it
well you should xD
Yeah will do that rn xD
Okay plugin has been updated and I re-run the ecloud download commands
It said they were successfully downloaded (except for TokenManager, it says no expansion found with that name)
when I did /papi list they still werent on there
I also did /papi reload after downloading
Quick update I managed to get everything to work but now every time I do /papi reload it unregisters all the expansion
I noticed that this was a bug brought up before on github
does papi support bungee
nope
Okay.
idk what ur gonna use as a replacement ๐
Bungee support is in the works, but it'll be awhile. V3 initial launch is planned to be Bukkit, Nukkit, and Sponge.
i using Statistic placeholder
but have bug the placeholder result is arriving in duplicate
for example:% statistic_mine_block%
when you mine 1 block, the result shown is that you mined 2
are you positive?
How have you tested the placeholder? And how do you know that the player has only mined 1 block?
I performed the test with myself, and with another player with default permissions,
I used the; holograficsdisplayers; to display the value
latest versions
server paper 1.16.1 latest
Are you on the pinned version of papi?
I believe that if you test with these conditions you can get the same error
Type /papi parse me <placeholder> to test it instead
And how do you know the player has that many mined blocks? did you open the stats file?
I know you tried with a "default" player, was it also their first login?
the statistics plugin should be getting it directly from minecraft, so maybe you have a plugin duplicating it
after using the top command you sent, it reflects the same result, despite not having any other plugin, I tested it with just 2
the player had already entered at least 1 time, and was already registered
do you have latest expansion as well?
you can run /papi ecloud download statistics to make sure
yes 1.9.2
just luckperms, placeholdersapi, vault, protocollib, worldguard, worldedit, skins restorer, mycommand, essentialsx, ultimatekits, ultimatechat
yes, always an odd number
luckperms and holograficsdisplayers
yes excuseme
he had 0, then 1, then 3
and for my friend it also has the same sequence with odd numbers
Are you on the pinned version of papi?
@icy sonnet
never got a reply unless i missed it
using 2.10.7-DEV-90
update
ok 1 moment
yes for me it's doubling, even with the DEV-94
idk who to ping
maybe @final shadow
statistic mine_block doubles in 1.16
not sure about others
except not doubles, because Luiz has odd numbers, it goes up by 2 each block mined though
because multiple materials share the same value, for example GRASS, DIRT and SOIL
stone doubling for me
wood
I wait for a reply from the clip now?
if so, you can ping me to trigger me
Thank you for your help
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#statz
working in 1.16
alternative temporally
does the plugin work in 1.16?
check pinned messages
thx
[PlaceholderAPI] Skywars is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [] and urge them to update it ASAP
How do I update this?
Tell the author of the plugin to update his shit
It Skywars or PAPI?
Skywars
Okay, thx
Hello, is it possible to connect the placeholder (% statistic_hours_played%) with MySQL?
@round lichen moving our conversation here. Lmk when ready and Iโll hop on my pc
@final shadow feel free to add him to #papi, that's basically the papi chat now
not just for papi 3 anymore
Ah yeah our papi chat
Letโs move there
What role is it? Papi contributor?
@carmine veldt
Hi, is it possible to make another placeholder lowercase using the %formatter_text_lowercase_<text>% placeholder?
id assume u can replace <text> with a placeholder
I've tried that but that doesn't work.
did u try like %formatter_text_lowercase_{placeholder_without_%%}%?
awesome
I have another question. Is it possible to check what item a player has in their head/helmet slot?
@junior musk you there?
yup
%javascript_listplayers_<type>,<subtype>,<yes/no>,<output>,<subtype value>% is everything required?
the last one isn't if you use normal subtype
perfecto
I'll try to make some more explanation before you put it on the wiki if you want
what is the yes/no
if you're counted in the list or not
i need help with js. i want to parse placeholder but i don't know. i just know parse Int placeholder parseInt
type is the list of players, subtype the type of filter, yes/no if you're counted in the list or not, output is what you will get in return (the list, the amount or a player) and subtype value is the filter
i need help with js. i want to parse placeholder but i don't know. i just know parse Int placeholder parseInt
PlaceholderAPI.static.setPlaceholders("player", "text*);
okey thanks
so player i need replace to %player_name% and text is placeholder right ?
yes
oh okey xD i'm new at js
it's all good =)
is this right if placeholder parse blank line ?
if (status == null)
I think it would be "" instead
i'll add more to the first example but who
for multiples worlds and perms
It's there down below
should be all updated ๐
Hello can someone help me check my first js placeholder @@ it not work
https://paste.helpch.at/eyewujudam.js
don't put the PlaceholderAPI.static.setPlaceholders.... in ""
also, you could have simply put the placeholder in ""
no need of the PlaceholderAPI.static.setPlaceholders thing
var status = %guilds_name%; like this ?
yup
I'm not on my computer right now, I can't really check =/
๐
how to make js understand unicode ? i have chcp in my run.bat but when i parse out they like this
https://imgur.com/a/XQOecOq
I'd like to have the answer too because I tried but didn't find how x)
have any way to pass 16 max character in scoreboard ?
Hello, is it possible to connect the placeholder (% statistic_hours_played%) with MySQL?
update to 1.13 or above
or else there's still another way but idk how to do it and I have only saw the plugin TAB Premium do it
Hello, is it possible to connect the placeholder (% statistic_hours_played%) with MySQL?
I don't think that's possible
as your statistics are stocked in your playerdatas in yopur world folder
One option is finding a stat plugin that records blocks broken via MySQL
The stat expansion will never go outside the scope of basic Minecraft statistics though
Haha idk why i manually built this on jenkins but everyone should test this with me
seems to work good on my end
havent tested everything yet but if there are small issues we will work those out
Is there a placeholder which allows you to see for example the nbt data of the item you are holding or an item on your helmet armor slot?
All my expansions are automatically unregistered with every reload and restart. Registering them manually works, but only until the next reload. How do I fix this?
Already fixed it: one of the expansions was outdated, causing the others not to load correctly
@mint fable hi
sorry for the ping.
I didn't understand, was there any correction for the placeholder?
@icy sonnet,
Please respect the rules, be patient and don't ping staff members!
@icy sonnet ^
I'm going to say probably not because there hasn't been an update in #ecloud-updates
Hey so i am updating a plugin i did not make that used placeholderapi back in 1.9 can some one help me undestand how i could fix this ?
yes i looked at it
but i don't understand why this plugins extends a ezplaceholders
ah ok
so i guesse that the hook function does not exist in that expansion ?
is there a javadoc ?
it wont work in the later versions for papi no
theres only the wiki i believe
unless u want to go through papis source
yeah im having a hard time because i never worked with placeholder before and i did not make the code that i am trying to update
honestly the wiki tells u everything
ive only just started coding and found it really easy to hook into papi. it shouldnt cause u much trouble
i will look into it thanks
np good luck
anyone know around when 1.16 is released?
check pinned messages
How do I make it when a placeholder returns no string value, it shows "None"?
javascript placeholders probs
How do I make the countdown placeholder work? need to make a countdown for today in a specific hour
the countdown placeholder counts how much time is left from the current server time to the date and time you set
you can't set a specific start time
and if i wanna add an hour
%server_countdown_dd.MM.yyyy HH:mm_18.07.2020 12:00%
this will count until tomorrow 12:00 pm or middle of the day
Ohh thank you! :D
Is it possible to add a world placeholder for each player that can only be visible by a staff member?
I'm looking to have a world prefix added to the tab-list that can only be seen by a staff member (or a player with a specific permission).
you'd have to parse the placeholder only for some players and idk how you would be able to do that
H! I'm trying to make something through the Javascript Expansion. I'm trying to put a variable or an arg inside a placeholder. So I tried, var A = "%placeholder_here_" + Args[1] + "%";. However, It only outputs as a raw string like %placeholder_here_1% instead of being parsed by the placeholder. Is there a way to parse it?
It is
PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%placeholder_here_" + args[1] +"%");
@tall torrent
oh well didn't even think about using that xD
ยฏ_(ใ)_/ยฏ
You're a life saver @junior musk Thanks!!
I wanted to use it when I tried my listplayers script with the listplayers expansion, I asked here and clip, frosty and gaby told me to use that and it worked =)
well yeah that's how you parse placeholders using PAPI
I use it in my plugins
didn't think it will work in javascript and didn't even think to do it like that xD
I wanted to use it when I tried my listplayers script with the listplayers expansion, I asked here and clip, frosty and gaby told me to use that and it worked =)
@junior musk Thanks for letting us know too x), I spent like 2 hours searching and I forgot I can just ask here ._.
you would have found it here https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Hook-into-PlaceholderAPI#using-placeholders-from-placeholderapi-in-your-plugin its mostly addresed to programmers so yeah
xD
no Tanguy
why?
to update my script again x)
I updated it yesterday to completely chabge the syntax and add offline and all players support
(which only work with normal subtype = the old all type)
nah I don't have. they don't want to give me access xD
and cj updated it on the wiki
but then I re-updated it to readd PAPI support with [] x)
I thought it wasn't necessary but I actually needed it for my TrMenu menu ๐
which actually works way better and is way easier to change than the old version
im trying to hook into papi using eclipse, i actually want to use external expansions (placeholders from other plugins)
now my question is do i need to manually import those expansions?
pretty sure you don't
thats cool
everyone that has your plugin will have to download
the expansions
themselves
only those they want to use
so all i have to do is add the jar and papi as a depend right? (not counting ``package at.helpch.placeholderapi;
import me.clip.placeholderapi.PlaceholderAPI;``)
all u do is import the package as u did then then use the setPlaceholders() method on ur message
then papi will do the rest
is it possible to use 2 different placeholders from a single javascript file?
you can use arguments and based on the argument return 2 different things or soemthing
this can work ?
function ecotake(){
return "eco take %player_name% " + team * 50000
}
ecotake();
function ecoshow(){
return "" + team * 50000
}
ecoshow();```
and use %javascript_ecotake% & %javascript_ecoshow% ? ^^
or i need to create 2 files ?
(nop don't work xD)
i don't know how, i'm starting with javascript placeholder ^^
2sec
var team = "%askyblock_team_size%";
function ecotake(){
return "eco take %player_name% " + team * 50000
}
function ecoshow(){
return "" + team * 50000
}
if (args[0] == "take") {return ecotake()}
else {return ecoshow()}
try that
oh ok ty i try ๐
also
you'll have to use %javascript_<nameOfTheFile>_take%
or %javascript_<nameOfTheFile>_somethingElse%
wait I'll do something better
var team = "%askyblock_team_size%";
if (args.length >= 1) {
var args0 = args[0];
}
function ecotake() {
return "eco take %player_name% " + team * 50000
}
function ecoshow() {
return "" + team * 50000
}
if (args0 == "take") {
return ecotake()
}
else if (args0 == "show") {
return ecoshow()
}
else {
return "Specify 'take' or 'show'"
}
wow ^^
there are things that shouldn't be needed but it's to make it better looking ๐
what's the script identifier ?
the name that you used in the javascript_placeholders.yml file
%javascript_<scriptIdentifier>_show% %javascript_<scriptIdentifier>_take%
that's how it should work
ecoteam the name of file :p
don't work:( and no error :\
what does it show ?
%javascript_ecoteam_show%
can you send your javascript_placeholders.yml file ?
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
I'll try on my side
yeah ok I'm really stupid x)
var team = "%askyblock_team_size%";
function ecotake() {
return "eco take %player_name% " + team * 50000
}
function ecoshow() {
return "" + team * 50000
}
function ecoMain() {
if (args.length >= 1) {
var args0 = args[0];
}
if (args0 == "take") {
return ecotake()
}
else if (args0 == "show") {
return ecoshow()
}
else {
return "Specify 'take' or 'show'"
}
}
ecoMain()
oh yes ๐ can you send me a PM ? I'm leaving work now, so I'm gonna go offline ^^
oki
@junior musk pls dont use else if
;-;
and if you do place them after } of the previous statement
ew
plus, you have to define args0 outside of the functions ๐
is case switch a thing in js? idk
or u can use the ? : things, but idk how that works with else if
var teamSize = parseInt('%askyblock_team_size%');
function funct() {
if (args.length === 0) {
return "Specify 'take' or 'show'"
}
var amount = teamSize * 50000;
if (args[0] === 'take') {
return 'eco take %player_name% ' + amount;
}
return amount;
}
funct();```
is case switch a thing in js? idk
@warm topaz yes
but why use switch for 2 values
ยฏ_(ใ)_/ยฏ
all u do is import the package as u did then then use the setPlaceholders() method on ur message
i dont wish to use placeholders in the plugin but rather in the config.yml
how would i handle this?
PlaceholderAPI#setPlaceholders()
the exact same way
could you please give me an example?
String name = PlaceholderAPI.setPlaceholders(player, "%player_name%");```
though my suggestion would be to use actual methods as much as you can, instead of placeholders
im not trying to make placeholders
?
what
setPlaceholders() will replace all placeholders from the given String and return a new string with values instead of placeholders
I think you are confusing yourself.
get the value string from config
String name = PlaceholderAPI.setPlaceholders(player, configValueString);
im trying to hook into papi using eclipse, i actually want to use external expansions (placeholders from other plugins)
i dont get it
this is how
yeah but how can i use placeholders that i didnt put in the plugin (placeholders i downloaded from the ecloud)
๐
._.
the setPlaceholders method already does that for u
yeah but why String name = PlaceholderAPI.setPlaceholders(player, "%player_name%"); specifically, thats what's confusing me the most
setPlaceholders will set any placeholder that exists in PlaceholderAPI
i mean it could just be an example so i suppose
That's an example
Read the wiki,
i did
There's only one method you have to use, that one
Hey i had some problems with the luckperms expansion on my 1.15.2 spigot server. I did the command /papi ecloud download luckperms and after that /papi reload and this happend......
update LuckPerms
i use the latest luckperms bungeecord version
oh rly
yup
i didn't know that
and it's really necessary to have LP on Spigot too because if it was only on Bungee, it wouldn't manage Spigot permissions
ok, thanks
hi, i have an issue
statistic placeholder isn't working, even though i've downloaded the expansion multiple times
whats ur server version?
1.8.8
/papi ecloud download statistic 1.7.0
works now, thank you
Is it possible to have a placeholder within a placeholder?
not sure, but if you can, it's probably {placeholder}
you can also try [placeholder]
or you can use parseother
if that would help
I'll look into it
Basically what I'm trying to do is display a world prefix in the tab-list that is only visible by staff members.
probably can use parseother than
%parseother_{user}_{player_has_permission_<permission>}%
and you can also use a placeholder for the username
Hi! When will this be ready for 1.16?
Check pinned messages
Where are those?
the pin icon top right
Ok thanks!
When using parseother, do i need to include % when selecting a user from a placeholder?
How does it determine whether it's a username or a placeholder?
๐ค
iun deluxemenus what placeholder should I use for console commands
like if Im giving a player an item
%player_name% doesn't work for some reason
/papi ecloud download Player
/papi reload
ahh thanks
no problem
Hey does anyone know why my placeholder is showing "ยง" on my Featherboard scoreboard?
Im on 1.8 and the placeholder im using is {placeholderapi_voteparty_votes_required_party} from Voteparty
@junior musk updated your js btw
thanks ๐
hi, new to this placeholder so please forgive my ignorance. I'm trying to have a gui run a command to open a backpack gui. the command is /backpack. I've used backpack %player_name%
but it's not working
the backpacks opening but it's saying %player_name% instead of the players name
Run these two commands
/Papi ecloud download player
/Papi reload
sorry, where do i run those? on my server? what does it do, please can you explain
It downloads the expansion (in this case the player one, since you're using a placeholder from the player expansion) (identifiers usually being the first word in the placeholder - ie. %vault_eco_balance% would be a placeholder from the vault expansion)
ty
Hello the world api wont show up ingame for me. its downloaded and in the extensions folder just wont show up in game
also what placeholder should i use for showing remaining players alive in a hunger games
@warm topazThe eCloud is currently non responsive, please report this to staff in https://helpch.at/discord
if u give players a permission when theyre dead, u can use the listplayers expansion
also @balmy marten kek
@warm topaz,
Please respect the rules, be patient and don't ping staff members!
@carmine veldt kek
is there a way to use hex with Papi yet? I saw issue 343 was closed but even on the dev branch Im getting the same issue.
Where are you parsing the placeholder?
Does the chat plugin support hex? And if so does it use the same format?
I mean its deluxechat. I'm guessing not
From the update logs, the 1.16 version is more so it doesn't break I'm guessing
Deluxechat doesnt support hex colours yet.
But it's being worked on and will be released soonโข๏ธ
Understandable. Thank you very much! was weird to get hex working on my own chat plugin so I get the workload needed.
Can i set a placeholder to countdown every 12 hours?
My server restarts on a schedule every 12 hours.
hm I have a question
I use tab plugin on my server
and I downloaded the math api
in tab it shows double the amount of health that is actually there
so for 10 hearts it says 20
because it counts as half heart
1 heart = 2 health
is there a way to use math so that it can make it show the actual numbers based on hearts
not double
%math_{player_health}/2[precision:0]%
ty
didn't NEZNAMY already show you a placeholder? ๐
he did
the exact same
explain "didn't work"
so when i tab reload
it spams tab saying
"The provided value was invalid! Reason:Unknown"
id send screenie but it doesnt work
๐
oh wait you want to show it under your player name ?
do /papi list
like in tags?
pretty sure you can't use placeholders there
might be wrong
but I've tried a few times
not under playername
in tab
next to the player name
in between the ping and name
maybe im using the config wrong
tabprefix: '%vault-prefix%'
tagprefix: '%vault-prefix%%eglow_glowcolor%'
tagsuffix: '%afk%'
customtabname: '%nick%'
customtagname: '%essentialsnick%'
tabsuffix: '%math_{player_health}/2%'```
my papi list has
math
eglow
healthbar
magic
tab
what does /papi parse me %math_{player_health}/2% return?
also try %math_{player_health}/2[precision:0]%
oh welp xD
the only way tab's automatic expansion downloading doesn't trigger and there are complaints immediately
Hmm?
why does the voteparty plugin placeholders work for the premium version?
#spigot-linking
thanks.
Hello! im dev on a bungee network and the papi is not working
we first thougt it was vault
but it wasent cus we tride diffrent api-s
then we thougt it was the scoreboard plugin so we changed and no resutalt
so im now here bc i think there is something wrong with papi
and i have never had this problem before and i have used papi for 3 years!
pls help
What placeholders are you using? You can test them with /papi parse me %placeholder%
wdym
It just returns what comes after me
for example /papi parse me %vault_rank% just returns %vault_rank%
Have you recently upgraded?
Try downloading expansions: /papi ecloud download vault
/papi reload
Yes, but now its says that:An internal error occurred while attemting to perfrom this command
and i have reinstalled multiple times
any help?
if you sent the log I bet it would tell you that you can't connect to the ecloud
so you'll have to manually download it
@snow bolt ^
18.07 22:27:47 [Server] ERROR [PlaceholderAPI] CloudPass is currently using a deprecated method to hook into PlaceholderAPI. Placeholders for that plugin no longer work. Please consult [Fazal] and urge them to update it ASAP.
Anyone know how to resolve this or how we can get into contact with "fazal"
its a custom jar
Shouldn't you know him if he made it for you?
Your options are to
- Contact him
- Downgrade PlaceholderAPI and risk breaking everything else
ok
i know fazal not well but can message him, which spigot of his are you running?
This is the error:
10:22:06 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'papi' in plugin PlaceholderAPI v2.10.6
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[server.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[server.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-21fe707-e1ebe52]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_242]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_242]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-21fe707-e1ebe52]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
Caused by: java.lang.NoClassDefFoundError: net/luckperms/api/LuckPerms
at me.lucko.luckperms.placeholders.LuckPermsExpansion.canRegister(LuckPermsExpansion.java:48) ~[?:?]
at me.clip.placeholderapi.expansion.ExpansionManager.registerExpansion(ExpansionManager.java:110) ~[?:?]
at me.clip.placeholderapi.expansion.ExpansionManager.registerAllExpansions(ExpansionManager.java:174) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPIPlugin.reloadConf(PlaceholderAPIPlugin.java:186) ~[?:?]
at me.clip.placeholderapi.commands.PlaceholderAPICommands.onCommand(PlaceholderAPICommands.java:261) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:4
@snow bolt,
This error occurs when there is a mismatch in versions between the expansion and luckperms itself,
Make sure you have the very latest LuckPerms and the latest LuckPerms Expansion
Once installed restart your server.
Im not sure if it works on bungee
you need LuckPerms on Spigot too
Hello, could I ask why placeholder %localtime_timezone_467,d. MM. H:mm% doesnt work properly? Thats my timezone and its always minus two hours from my time.. Tried to change the timezone ID to something else but still same result. Thanks for answer.
Wanted to post screenshot but I can't. Yes I got: 19. 07. 12:08, as I said.. minus two hours. @austere hawk
I m not expert in PlaceholderAPI so u gotta wait for someone else sorry
blitzz, were u ale to fix my issue?
or do i gotta resend the screenshots
I did what you said but theres still not a space and just says {javascript_tags_spacing} in essentilasChat now..
Do you have the expansion, and what does %javascript_tags_spacing% return when parsed
/papi parse %javascript_tags% ?
Whatever your placeholder is named yes
says papi help, did i type it wrong?
@turbid tide What's the esschat papi parser shit called?
Austin, /papi parse me %placeholder%
(Didn't see that you were missing that)
chat injector?
does this
i have chatinjector
https://gyazo.com/f52eb5dab5ddd91994b7d5570bf02ed2 javascript.yml and tags_spacing.js https://gyazo.com/d6905c1f13e5f7aa0d62ca37f9f8ea41
Have you reloaded papi?
yes
I just did it again and downloaded DeluxeTags for it /papi ecloud download DeluxeTags and nothing works for some reason..
Do you have the javascript expansion?
is that a plugin?
or u mean /papi ecloud download javascript? because i did that yesterday
No itโs a papi expansion
And have you reloaded papi afterwards?
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
Pastebin smh
@turbid tide React with the paste emoji, on mobile so phisically can't
oh do i need to use the helpchat personal paste?
it didnt save last time so i used pastebin i will try again
It's easier to read, pastebin is light theme, and the formatting on it is fucked for mobile
?paste
You can click usage if you aren't sure on how to use it
https://paste.helpch.at/ixoseyoter.md did that work? it shows blank on my screen
i can try again if i didnt
It worked yea, sec
okay
No,
tags_spacing:
file: tags_spacing.js
engine: nashorn
then /papi reload?
i reloaded but it didnt work still shows javascript_tags_spacing weird
in chat
Read what console says and see if it loaded the js properly
Show me your javascript.yml file
:what the hell:
Delete the entirety of the js things, as well as the expansion, then restart the server, redownload the expansion, reload papi and try with the files again
so delete javascripts folder and yml or what
alrighty restarting
didnt work frosty
i redownloaded javascript as there wasnt one there after deleting it, reloaded it and it still wont work
and now tags_spacing dont show up in javascript.yml
ugh
idk why it never wokrs
It is, I'm currently driving home from vacation so I can't assist you, wait for someone else who has time
Also no need to ask in other channels kek
Any idea how i can do switch for javascript with PAPI ?
What?
Like if %x% is 1 he return a if 2 then b if 3 then c
This but in PAPI
I'm pretty bad with js for now
You use it the same way as you would in java
I got script error so i think i'm just not good with that
Show what u got
is blittz back?
Hello!
I've found 5 wrong placeholders.
Placeholderapi, redprotect, and infinitescoreboard is installed and running,
why do u need to escape a %?
Hello, could I ask why placeholder %localtime_timezone_467,d. MM. H:mm% doesnt work properly? Thats my timezone and its always minus two hours from my time.. Tried to change the timezone ID to something else but still same result. Thanks for answer.
yo do y'all know if there's a placeholder that shows the amount of loaded worlds you have on your server? If not, how would I make one?
something like server#getWorlds
maybe the world expansion has that?
nope
doesn't seem like it
then, the solution to all our problems....
JAVASCRIPT
Could've suggested me to update the expansion ๐
yeah thats an easy placeholder to add
might pr server expansion tomorrow ๐ณ
@rare lily unless u wanna do it?
You say that you want to show the amount, not names 
oh my bad*, I meant the names of the loaded worlds.
number could also be a nice addition i guess
anyone have news for PAPI 1.16?
See the pinned message for dev builds
please formulate that sentence properly
go to /plugins/PlaceholderAPI/expansions folder and delete it there
I can't!!! minehut doesnt let me!!!
I can see the files but it blocks me from removing the expansion files!
please im so sad because I spent so long and I added this expansion and it runied everything!!!!
I SPENT like A million years
idk contact them and ask them to delete it
@warm topaz
they turned it off to contact!
nothing we can do if minehut doesnt allow u to delete files lol
It does! It just doesnt let me delte the expansion files!!! it deems them "Very Imporant server breaking"
}
get a new host ๐คทโโ๏ธ
^
I cant! I already spent $100 on minehut!
Your loss
$100?!?!?!
Minehut? ๐คฎ
I thught there was a command I didnt know about!!
Get a new host!!!
HOW
email them
A easy way depending on what you have done is reset and reconf/repaste configs
casn you tell the owner of placeholder to add the command to remove the thing!!
they must have an email
Either contact minehut staff, or get a new host
@azure blade read that !!
Or ask on their discord
I READ IT
casn you tell the owner of placeholder to add the command to remove the thing!!
@azure blade there is literally no need for this
Ahh!!
well there isd I thnought it would be a good ideade!
na
Not always!!
hey
do u guys know if there's a placeholder that shows all of the world names u have on ur server?
like hub, creative, survival, etc
that is terrifyingly creepy that this has came suggestion up within 6 hours of each other
?
anyways, ill be adding this placeholder soonโข๏ธ
wait are u part of the dev team?
no
oh
but anyone is able to add placeholders
but u need to know how to code right?
yes
ah okay
I had an error, when i put the command /papi ecloud download (expansion), the following message appears: No clouds expansions are available at this time
How can i solve that?
hi guys, can i ask for help pls and wait 4 hours to receive it? ty
so my problem is that in leaderheads plugin i get "Received invalid value 4h 27m 55s for placeholder %statistic_time_player% for player "player". Expected a number."
see you in 4 hours if not more because support doesnt want to give dm answers
%statistic_time_player% gives a human readable format
Which leaderheads probably doesnt want
You could try using just %player_time%
Niall, leaderheads question so: CC: @steep thorn
@tropic radish DM me
@brisk coral Can you do the same with me for KiteBoard support?
@heady falcon,
Please respect the rules, be patient and don't ping staff members!
Because I usually miss some of the messages here
๐
how does one spend over $100 on minehut itโs free hosting?
how does one spend over $100 on Fortnite while itโs free?
and btw that would be more #off-topic than in #placeholder-api
That's the whole point of it being free, you spend money on it regardless. That's why companies do it, they want you to spend money.
Any updates on the World placeholder? %world_#_total% returns the number of loaded worlds, not the names.
CC: @rare lily

?
%world_#total%
%world<world>_thunder%```
%world_#_total% returns the number of loaded worlds.
When I try to download the expansions luckperm via ecloud it only gives this message in game: No cloud expansions are available at this time. and no errors in the console for the rets. how do i list this. I have placed all the necessary plugins where appropriate
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.
^
I don't think anyone in existence would show all the names of the world packed in 1 placeholder ._.
This is already disgusting: world,world_nether,world_the_end,test,prison
world, world_nether


I mean world names with spaces in between. Such as world, world1, world2, etc. Some people have uses for them, including me.
Kaliber, didn't you say you were gonna make it? ๐
๐
The amount of loaded worlds is a nice addition, but having the names of all the worlds loaded would be nice as well. Following worlds loaded (3): Factions, survival, Towny
Javascript 
๐
Are there any placeholders that count the amount of advancements earnt by a player?
Hello, the latest version of Placeholder API on spigot works in 1.16.1 Bungee server ?
check the pinned messages
there's a link to the dev builds which are compatible with 1.16
Papi doesn't support bungee
ah bungee
It's a planned feature though.
oh ok thanks !
but since you asked that same question on TAB's discord, I guess you wanted to use PAPI with TAB on BungeeCord, which is possible since TAB made a bridge to allow PAPI placeholders on its bungeecord version
ok thank you very much for your help ! ๐
are the dev builds stable
when will papi support 1.16.1?
still in dev?
yes
Yeah weโre still working on performance stuff but the dev builds are functional with no issues
Hello, could you help me with something? I use bungeecord and I want the online players using the Deluxe menus to appear on the server, I explain, I want the menu to show how many players there are in a server being in the lobby
I had an error, when i put the command /papi ecloud download (expansion), the following message appears: No clouds expansions are available at this time
How can i solve that?
?ecloudblock
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.
do as the bot says
Any updates on the world names placeholder? I would do it myself, but I don't know javascript ๐ญ
SO I have an odd (?) question:
My chat provides hover functionality for prefixes in chat. However they must be the vault prefix.
I have the ability to modify the vault prefix, but I'd like to use a placeholder in the prefix (Show faction tag before name)
I know I could just put it in the chat format, but then I can't have hover effects. So I set the prefix with LuckPerms to be a string of placeholders, and it just shows the raw placeholder string.
Is there a way to evaluate such a string?
This is what the chat shows:
(Can't put images)
/papi parse me %luckperms_prefix% results in:
%factionsuuid_faction_relation_color%%factionsuuid_player_role%%factionsuuid_faction_name%
Note: I've also tried with {}
This is my VentureChat config format:
format: '{luckperms_prefix} &f{player_displayname}&8 {ascii_77}&f'
Hello, could you help me with something? I use bungeecord and I want the online players using the Deluxe menus to appear on the server, I explain, I want the menu to show how many players there are in a server being in the lobby
I think you want that ^
So the new PAPI dev builds (102+) have deprecated some older methods, so now-broken plugins need to update?
It's an on-going discussion. Still some changes being made.
Nothing would necessarily break just because we set them as deprecated.
did not read right
We didn't fully remove them (as far as I know, Sxtanna has the lead on the major PR for this update). But I believe we only deprecated stuff for the time being.
but they will most likely in the future ye?
At least one of the plugins we use broke. Works fine up to 101, broken 102+
@rancid minnow ^
I was thinking the same thing, haha.
@grand blade can you provide me with the stacktrace?
It seems to be the only way. Not happy about it.
As I see. ๐
Dont even use like... 2 versions before 100
they're almost as good as spigot
Because those also have broken shit in them
Donโt be mean
No but fr were literally doing some good things
We're using 101, without apparent errors.
Can you send the stacktrace though?
I'll post a ticket.
maybe
ticket = Github issue. You know --- tracking. Unlike Discord.
ye that makes sense
Not really a ticket, but yes, I get it now.
In the world of technical support, it's called a ticket.
Slime I know you are a good dude who loves those updates but let us work some stuff out and stay on builds > 100 for a day or 2 lol
Sure.
Slime test 102
Can I ask why you post builds to Github until things sort-of work?
Because they arenโt updates
Can I ask why youre pulling builds from github?
Would it not make more sense to pull from spigot?
Where you know its stable?
Because I spend my life testing dev builds.
So then why are you surprised that a dev build is broken?
It's my way of paying back to MC community (well, Spigot community).
Mostly, they aren't.
Slime weโre in the middle of basically making placeholders be parsed 2-4x faster
Oh excuse me Mr. high and mighty
Nah donโt give slime shit heโs a good dude
He's kinda stuck up
Heโs not used to us
Nah man heโs a good one. He actually tests shit and reports bugs
he's second tier slime, behind deluxeslime
Hence why heโs even bothering with Jenkins builds
๐
Mhmm
Someone downloading a jar and running it hardly renders them the title "good"
He gives feedback
I could write a program to do exactly that and save the hassle of being talked down to
a sales pitch actually
๐
ur gross but no one says that
i'm high if that matters
Kind of disappointed
I had an error, when i put the command /papi ecloud download (expansion), the following message appears: No clouds expansions are available at this time
How can i solve that?
?ecloudblock
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.
follow the bot ^
Hello guys! Who know how to fix this? [PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: example
Are you using ChatControlPro?
Yes
๐ฎ
use that
@trim mist i got it
it's in discord already
aaand he's gone
Oof, thank you so much!
Can you make it a faq
?chatcontrolpro
Lol
?chatcontrolpro
@trim mist what was breaking that?
good enough
imajin