#placeholder-api
1 messages Β· Page 112 of 1
Normal flying. If you pressed shift it lowered you xD
It's not a thing anymore π
wait rly?
I don't believe it. That would be trash
maybe you changed your controls?
Yeah. No I didn't. π¦ It happened in two different servers.
yeah controls are not per server they are per client
test in vanilla mc
just check them just in case
also as kaliber said
just go in singleplayer
and test it if your controls are the same
I'm opening 1.16.1 for the fist time and I'm going to check myself
what about 1.16?
Im trying to use %server_name% from papi ecloud Server. But all its returning is:
A Minecraft server. And i cannot find out where to change the server name
@open flower in server proprieties
There is no Server-name:
oh wait, i didnt read it xd
blitz, server name is defined in papi config
yes sir
then check papi config chronic
go to /plugins/placeholderapi/config.yml
Like a boss. thank you my man
np π
Kaliber when you get .name() method in 1.15.2 it gets the one from the server proprieties so I assumed it does the same thing kaliber xD
welp, thats just how the server expansion works
yeah I didn't know but its good to know xD
weird. so the shift works in single player.
possibly a spigot thing, idk
I'll test it on my newly made 1.16 server
seems to work with latest paper version
so its either the version you are using or some plugins
ooh.. could've been because I didn't upgrade my server -- which is why the shift didn't work. seems to be working now.
So, I'm running 1.16.1 and the shift works fine.
It'd be glitchy to anyone running anything lower than 1.16.1
How can I remove the permissions to do /papi for a certain rank?
wait papi is allowed to default ranks?
That doesn't have a permission iirc
papi isnt cooperating with luckperms, and server's placeholders. 1.16
PAPI does not fully support 1.16 You need to use latest version of LP and PAPI from the pinned version
also doesn't cooperate isn't enough information there could be other problems
do you get any errors on server startup or something?
sec
leme see if this is my stupidity first
was my stupidity, I got it working after some further tinkering
im betting money that dev version helped out though
thank you
xD no problem
HELLO
blitz
i need u
%math_[precision:0]{world_X1}+{world_X2}%
how
%math_[precision:0]{bungee_lobby}+{bungee_lobby1}%
this work
but worlds?
what is world_x1 and world_x2
are u trying to get how many players are in 1 world?
yes
%server_online_<world>% i believe
so %math_{server_online_world1}+{server_online_world2}%
okay
thx u
no problem
hmmm,
this isn't loading. https://api.extendedclip.com/expansions/killstats/
do u have killstats plugin installed @keen crown ?
Is anybody else having issues getting Vault Eco and Permission placeholders to work using paper 1.16.1 build #21, vault 1.7.2-b107 and placeholderAPI 2.10.6?
as in, they don't parse correctly
thank you
hmm I still can't get them to work, other placeholders are working (for example player_name and server_tps) just not vault, must be on their end then
I'll check logs
hmm no vault errors
I'll try a dev vault version
did u do download vault expansion too?
I wonder if the old extension doesn't support the new PAPI dev build?
I already had the extension because I made a backup of my server and I'm running on that backup
interesting
https://pastebin.com/rWvSNyHV (nevermind, I believe this is because superbvote hasn't been updated and thus doesn't work with PAPI)
vault still doesn't work anyway
is this something that only I am facing issues with?
@keen crown why use killStats? Plugin hasn't been updated in years
^
i think im gonna make my own papi expansion that does the same as killstats, more updated and 1 less plugin to download
just a question.
Does PlaceholderAPI need to be updated to do /papi ecloud download RNG ?
the expansion isnt verified, so u have to download it manually
@balmy marten pls verify me π
@warm topaz,
Please respect the rules, be patient and don't ping staff members!
oh
uh Kaliber IDK why /papi parse me %rng_min:10_max:100% is not working ?
@warm topaz Checked and verified
could take up to 2 hours to get cached and show in game
thanks π
@austere hawk, im in the middle of updating it rn but it should be working anyway π€
well for somereason its showing error
?paste
let me try restarting
https://gyazo.com/1ca9e65dc00e00e8d60bace7599d7ad4 yea working for me
idk and idk how to check
search for about java on windows start menu
and try to redownload the expansion @austere hawk
ok
ya, but the statistics can only show the player kills and deaths, whereas with KillStats, it shows KD/R and killstreak along with some leaderboards, which vanilla stats dont show
I've just send a paragraph of text, and it's gone π¦ is there a way to get it back?
ctrl+z ?
I sent them and it got deleted by a bot, ctrl + z doesn't help π’
Is there any logs where I can see the message?
nope π¦
ahh, I'll rewrite then π
when did you send the message?
@warm topaz Math?
I'm having a ArrayIndexOutOfBoundsException error, when trying to parse a javascript placeholder. The code is here: https://paste.helpch.at/itatifihuj.cs
the error doesn't happen all the time, it just occasionally triggers :/ so that's confusing. Could anyone take a quick look at the code and see if there's anything I do wrong? More complete error log of the out of bounds error https://paste.helpch.at/ukucanebit.md
What I'm trying to accomplish, is to store player name into a custom variable, and be able to get the player name by calling the custom variable at any given point.
Here's what I do:
papi parse Blekdigits "%javascript_dungeondata_desertiaGiga,set%"will store theBlekdigitsinto a variable calleddesertiaGigapapi parse OtherPlayer "%javascript_dungeondata_desertiaGiga%"will return the variable stored indesertiaGiga, which isBlekdigits
Use the pinned version
Latest version will work, you just wont be able to list expansions in game
Which we have a fix that is to be released soonβ’οΈ
Sometimes it's broken even though I do nothing
@iron garden when does this happen? is it a special time? or is it just random/ because I can't figure anything wrong here
I see that if you have just an argument in your case desertiaGiga and there is something in that path it will return it if not it should return an empty line. and when you have 2 arguments in your case set it should set the the player username in that path and then return the name. Idk if this will help but maybe try and save the username in a variable first and then set the variable in that path
and also return the variable
even tho as it is everything should work from what I can tell
the error only happens on the second command, papi parse OtherPlayer "%javascript_dungeondata_desertiaGiga%", never happens when I set the value, sorry about that, I forgot to tell you
I was thinking that it might have something to do with mythicmobs, but I don't think so. Over at mythicmobs, I just set the mob to run the parse command to a random player when it dies
if only I knew to read errors xD
ahh XD no worries, your help is appreciated
just need someone to see from their perspective, see if my code is weird
mythicmobs.skills.placeholders.parsers.PlaceholderString.get(PlaceholderString.java:40) I mean it is something to do with mythic mobs
but dk what
=paste
Please use a paste service to share configs, errors, code and long logs.
β’ HelpChat Paste
Show
Show?
Show the js placeholder
it's above
ew scrolling
tru
Like what is this 2015, pfft step up ur game cj
You're missing a ;
on the method call
wot
never even looked at that
xD
You do lol?
well why would it work some times and some not
π
it's not required in javascript though
I think so, xD i worked in frontend for a year
It's always thrown an error when I didn't have it kek
the error comes from ArrayIndexOutOfBounds
Ahhh
in papi js they are xD
but again, I don't use js that much so kek :p
y'all making me fucking go crazy over here
the error, i mean
because I never used ; in javascript, which is why I always forgot them when doing java at first
I've added the ;
and the first IDE I used... was absolute garbage
Eclipse
nope
What then?
can't remember the name
Blekdigits, let us know if it still throws the error
it was a paid software the school had, and it's absolutely trash
I guess now I would just hope for the best, see if it still throws the error
bluej is bad...
in a day, it happens around 2-5 times (out of 186 times)
so I'll let you guys know if it still happens tomorrow, around the same time
it's a completely different way to setup a project that I absolutely hated, and felt bad for my classmates that liked it
I'm confused as to what idiot decides what software to use, like damn just use the most known Free software (IJ) instead of some random bs
Like it ain't that hard
thanks though guys π
oh i think it was jcreator
but I swear it was paid as well
oh it is
jcreator pro lmao
just spam it constantly @iron garden π
all it does is get data, so you wouldn't mess anything up
A placeholder for the time in game ?
its statistic
oh nvm
its server xD
statistic is for time played
xD
read the message wrong
A resource that allows information from your favorite plugins be shown practically anywhere!
β’ Spigot
β’ Wiki
β’ Placeholder-List
β’ GitHub
β’ eCloud
there is
in server
I think
or statistic
it had a 12 or 24 hours format let me check the wiki
It's the time in real life in server
Nice thanks
I was pretty sure world didn't have an expansion... player makes a lot more sense
I have a problem with the ScoreboardObjectives expansion, the name of my scoreboard contains a "_" and papi take it for an other entry and no for the name of the scoreboard. Any idea ? I can't change the name of my scoreboard
actually
looking at it now, 2 is not enough splits
they'd have to put the objective name in {} or something
Why can't you change the name @wispy dove
I see, i can't because it's a scoreboard used in a datapack, and if i change it I have to modify it in lots of files and lines
The name of the scoreboard is bac_advancements and I want to get his value ^^
@austere hawk sorry for the wait. this should work https://github.com/Kqliber/RNGExpansion/releases/tag/1.0.1
idk how to update the jar on the ecloud π
go to the versions
@warm topaz
okay @wispy dove
so
I changed a very small part
and I'm going to hope it works
Oh nice ^^
Okay thanks you !
updated. thanks cj π
Ok I try it !
Changed format from
%objective_score_<obj-name>_[otherEntry]%
to
%objective_score_{<obj-name>}_{[otherEntry]}%
did it work @wispy dove
It prompt me "ERROR"
I try to use it with the plugin tab in a server which is in a bungeecord network
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.
It prompt me this : "an internal error occured while attempting to perform this command
?paste
I reload the server to see the startuplog
okay, make sure to run the command before sending it
does that work?
Same things
send
I use the placeholder : https://hastebin.com/sunobapana.shell
ok
When I do the command : https://hastebin.com/otojikajat.bash
good thing this all makes sense
^^
π i'll send it to the dev
Nice !
can you test all placeholders?
All ?
the placeholders from this expansions he wants to make sure there aren't any other hidden bugs
all 4
What are the 4 ?
I see just
%objective_score_<obj-name>%
%objective_score_<obj-name>_[otherEntry]%
It works with the 2 placeholders I send
not with scorep though, right?
What is scorep ?
check the spigot page
the papi spigot page ?
It works with %objective_scorep_<obj-name>_[otherPlayer]%
But don't with %objective_scorep_<obj-name>%
i was in a bugged version and didn't reload
btw if you surround your stuff with `` it looks like this
and it doesn't apply effects like italic etc
ye lol
Thanks for your help !
what the hell is the point of scorep
it only goes through if it's a player I guess?
π€·ββοΈ
oh displayname i didn't change
it doesn't need it
It's works only when I specify the player in the placeholder
β€οΈ
I want to give you a big thanks cj89898 for the time you spent for me
somemone knows how to get a list of files from a directory with PAPI JS ?
Is there a currently supported method for nesting placeholders? I'd like to do something like this:
%board_prisons-blocks-broken_value_%player_name%%
I tried using {player_name}, but it does not replace
Does someone know way to replace " "(space) with a "," in result of placeholder without JS?
No. Use js.
JS still doesn't working on Mohist
I don't know what you just said but use Js.
I caaaan't π
Why?
It doesn't working with something related to my server core
2 people have reported the problem afaik
That's a java problem
Hm
Mohist, a Bukkit+Forge server software somehow doesn't support the Javascript expansion for PlaceholderAPI
How I can resolve it?
Failed to set ScriptEngine... you need javax
I have already tried too and it worked on Spigot or Paper, but not on Mohist
Failed to set ScriptEngine...you need javax
What it and where I can get it? π
Failed to set ScriptEngine...you need javax
it isn't necessary to specify a ScriptEngine
Oof
That most likely means it can't find any because javax isn't there
It's just a caught exception message
I have the same thing on normal spigot without setting the script engine but it still works compared to Mohist
if mohist doesn't have interpreters for javax scriptengine then there's nothing you can do
deluxechat is not showing my essentials nickname - even when i have a /nick
I'm using %player_name% as the placeholder
how do I make it show essentials nick when one is active?
%essentials_nickname%
but then the nickname prefix which is set in the ess config file doesnt show
ex. ~Tommy
whats js?
2:17 here - gnight! haha
can someone explain why i see (https://imgur.com/a/PK1t5Aa), everytime when i do /papi ecloud list all 2 but if I m using the console its different. (https://imgur.com/a/JTpwo8Z)
I think its a bug
can someone teach me javascript lol
im trying to make a placeholder
or write a placeholder*
I'm trying to register my own placeholders but I'm getting this error:
https://mcpaste.io/5844523b6e6e10d0
The issue is caused by a NPE in my hook class CDPAPIHook.java from calling my getCooldown() method in the class AppleListener.java, here is my return code in the hook class:
@Override
public String onPlaceholderRequest(Player player, String identifier) {
if (player == null) {
return "";
}
if (identifier.equals("cooldown")) {
return apple.getCooldown(player);
}
if (identifier.equals("combattag")) {
return plugin.getConfig().getString("combattag", "value doesnt exist");
}
return null;
}
Then the getCooldown() method and Objects or methods that it refers to:
public Map<UUID, Long> cooldowns = new HashMap<UUID, Long>(); // this stores the UUID of the player and when they ate the apple.
cooldowns.put(p.getUniqueId(), currentTime); // this line is run when a player eats a gapple and does not have a cooldown already.
public boolean hasCooldown(Player p) {
long currentTime = System.currentTimeMillis();
if(cooldowns.containsKey(p.getUniqueId())) {
if(cooldowns.get(p.getUniqueId()) <= currentTime - (plugin.getConfig().getInt("Cooldown") * 1000)) {
cooldowns.remove(p.getUniqueId());
return false;
}
return true;
}
return false;
}
public String getCooldown(Player p) {
final long currentTime = System.currentTimeMillis();
if(hasCooldown(p)) {
final long cooldown = ((plugin.getConfig().getInt("Cooldown") * 1000) - currentTime + cooldowns.get(p.getUniqueId())) / 1000;
return String.valueOf(cooldown);
}
return "0";
}
Any help would be greatly appreciated!
Ok so I am trying to display the mined blocks on the scoreboard on the side and I tried to use the statistics placeholder but it always just displays as a 0 for mined blocks and It wont go up at all any help??
if you're on an older version you might need to download 1.7.0 of statistic
/papi ecloud download statistic 1.7.0
/papi reload
Its 1.15.2
what are you testing
It just says "0" in chat
are you on the latest statistic then?
/papi ecloud download statistic to make sure
don't forget to reload
Did it and it still says 0 after mining a few blocks
version 1.9.2
whats weird is the other statistics work just no that one and ofc its the only one I want xD
i wonder if the regular one doesn't work anymore and it needs to be specified 
idk tho, is there a way to check if minecraft/spigot is tracking it?
Throught the .yml folders?
There isnt any player data for the worlds and I didnt see anything that caught my eye in the spigot folder
there isn't a stats folder in your world file?
what is poi
oh nvm
there should be a stats folder and playerdata should not be empty
are you in the main world folder?
Im pretty sure the main world from where it has server.properties and stuff
no
server.properties are in the server folder
the main world folder should contain the stats folder
ahh it does but it is not the world I curently am in because of multiverse
okay, but open it
go to your stats and check them
does it work if you're in the other world? (stats should be global)
It has used and dropped but not mined blocks (it could be because no one has mined a block in that world tho) but I have mined blocks in a different world so that should of showed up unless I have to set the new world as the default world
interesting
there is even like crafting mob kills etc I dont see mind blocks anywhere tho
nah just shows the crafted section and minecraft custom section
rip
%statistic_mine_block% should work
maybe something is blocking it
Lemme try setting it as the default world maybe thatll work
try %statistic_mine_block:stone%
that didnt work either
Is it because of the auto pickup plugin could that affect it?
try restarting the server
Just did
ok u can try using
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#statz (placeholders)
https://www.spigotmc.org/resources/statz.25969/ (plugin)
but for this u have to restart the server
Ok i got the plugin and now whats the placeholder for the mined blocks?
Support for 1.16.1
Here's the next test jar for PlaceholderAPI with 1.16 support! This fixes some NPEs with JSON messages!
redisbungee placeholder doesnt work for me
have you downloaded the expansion?
hi
hello
[ERROR]: [PlaceholderAPI] Failed to init placeholder expansion from class: com.discordsrv.placeholderapi.DSRVExpansion
[ERROR]: [PlaceholderAPI] github/scarsz/discordsrv/dependencies/google/common/collect/ImmutableMap
Whelp, DSRV expansion seems to be broken.
Actually I just saw that above you sent a 1.16.1 version support. I am not using that, is it possible because of that ?
'%checkitem_mat:GOLD_NUGGET,amt:8%'
yes the expansion is downloaded
it just doesnt work
it just says 0
all placeholders return 0
yeah probably broken then. You need to contact the dev of the expansion if he/she is still working on it
the expansion developer
hmm 1 sec
probably the redisbungee author is the same as the expansion author
most time it is not always tho
oh looks like it was made by clip xD dk if he will update it any time soon
can i @ him
well you can and can't. he has a lot of work rn. He is working on quite a few updates for other plugins. If the expansion is open source you can ask someone to fix it for you
its not
Hello, I want Hook some placeholders like category Player, Vault to my plugin.
And I donΒ΄t know how to..
well if you hooked it right you should be able to use any placeholders in the config
u still use the same methods?
I try
#development will be able to help u better
oh, ok, ty.
I downloaded 1.16.1 placeholder, it seems to load, no errors in console, but as soon as I use /papi, it breaks - also no placeholders work.
you downloaded the PAPI from the pinned messages?
Yes
Ok I will restart the server, just a sec
Ok, after restart this time, it started to work. I disabled many 1.15 plugins, which havent updated yet, so maybe that was the problem
yeah probably
Who said redisbungee wasnβt open source?
@mossy nacelle
If somebody wants to take it over they can
And attach the GitHub and all
Last I checked glare fixed some bug a few months ago
Also if you search discord logs with my name and redis you might find some more info because we helped the last guy
Good luck as Iβm at work rn
How do I set up statistics for the last 24 hours? Example: %statistic_mine_block_last_24_hours%
Shows how many blocks a player has dug in the last 24 hours
that's not rly possible with the statistic placeholder
because papi takes the data for those statistics directly from minecraft
Good afternoon guys
We should integrate the redisbungee expansion with the normal bungee expansion
The only difference is the channel name
I get an internal error occurred while attempting to perform this command
when doing /papi reload
=paste
Please use a paste service to share configs, errors, code and long logs.
β’ HelpChat Paste
I am using waterfall, and I have 3 servers connected all with papi installed
It does not do anything in console @brisk coral
Papi ain't a bungee plugin so the waterfall doesn't really prove useful
is there a papi for vkbackpacks?
does 2.10.6 work with 1.16? from my testing it does, so why do there need to be 1.16 dev builds for PAPI?
(didn't read entirely)
ah got it
I had an issue with 2.10.6 /papi ecloud list installed/all where it didn't show anything x) I still didn't try with the dev builds but I guess it's fixed
there probably were more issues, but it's better to use the dev builds to have most or them fixed
Should be stable already since it's just some method changes due to 1.16, update gonna be out soon
epic β₯οΈ
;-; thereβs no placeholder for VKBackpacks ;-;
@carmine veldt @trim mist if either of you guys get time will you check out the latest pr to papi. If it is good I think 2.x could benefit from it for this weekends update
π
Hello, I wanted to return a placeholder to multiple lines on the lore of an item, and normally you would do this by writting "hello\nhello" and it works for chat tho it wont work when it is on the lore of an item, How could I make that to return with multiple lines but on the lore of an item?
You can't
Fine, thanks
@junior musk you there?
does %javascript_listplayers_all,5% return the same as if i did list, but with a limit of 5?
else if (args0 == "all" && args1 < listOnlineAmount) {
return listOnline.get(args1).getName();```
so it returns the 5th player
I guess
yeah idk I don't understand the whole thing yet xD
why would you wanna do that?
that's a good question
well actually when he made it in the deluxemenus
O.o
he got all palyers
and then he needs them 1 by 1
so I guess that's why he made it like that
oh ya
i get it
nvm
@junior musk Can you verify all of this is correct and makes sense? https://github.com/PlaceholderAPI/Javascript-Expansion/wiki/Community-Scripts#list-players
I re-worded the # btw
i used fancy words
yeah oh and one thing I didn't specify is that it starts from 0 for the players
I can change it if youwant
na
tang can you paste the link?
and do a pull request for it
it now supports multiples permissions and worlds, and also nearby players
I'm on phone rn
okay, well open an issue when you have the time
and specify new format because I had to dig for it π
Β―_(γ)_/Β―
look how sexy https://i.imgur.com/mylfLLt.jpg
Just realised I didn't make a syntax help for nearby π
that looks good
%javascript_listplayers_nearby,<blocks>,<list|number|amount>%
to get players nearby you in a specified radius
does it default to a radius if you only use nearby ?
prob not, you need the list, number, amount too don't you?
yes
%javascript_listplayers_all% doesn't default right?
because thlse are after the argument that requires a radius Β―_(γ)_/Β―
%javascript_listplayers_all%doesn't default right?
this would tell you to add ,list or ,amount or a number
what if the world is called list?
what if the world is called
list?
it doesn't matter
perfect
the list thing is in the argument after
it checks the last index?
to have multiples worlds or multiples permissions, you have to use +
?
oh also
i forgot nearby lol
I forgot to mention but you can use PlaceholderAPI placeholders with [placeholder]
I know you already can with {placeholder} but it can be incompatible with placeholders like the math expansion
and if used with the perm or world list type, it will only work one placeholder to get one world/perm,not 2
but the normal {} will work
idk but I didn't encounter any so far
I used [] because {} would
but I don't think that many placeholders uses []
ok fixed on the page
%javascript_listplayers_nearby,5,2% - Tanguygab, clip
π
you meant to use list instead of 2?
oh and it counts the player that parses the placeholder too
I'll try to add something to define if you want to count yourself in or not
cj can you check the issue ? I added the thing above
Hey, for some reason all my placeholders stopped working
I type /papi reload and nothing comes up in chat
check console
Nothing
other commands work ?
like papi commands?
no other papi commands work
like nothing shows up
also shows ntohing in console
ye /feed works
is papi actually loaded?
is PAPI in red in /plugins ?
send a startuplog too
wym actually loaded
yeah that too
?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.
lol
why though tf
send a startuplog too
whats a startuplog
read the bot faq
the question would better be, "does the Quests plugin supports PlaceholderAPI?"
xD
lol i check it and let you know now
@austere hawk check the Quests wiki and the PlaceholderAPI wiki. It most likely does.
well Quests has placeholder if that's what you meant
and I am pretty sure it does parse PlaceholderAPI placeholders
these are the quests placeholders
i have to add this in config yml right?
@austere hawk explain what you are trying to do exactly.
i'm trying to add a scoreboard that shows the progress of quests of a user in tab
i asked scoreboard guys if they support quest plugin and they told me to ask you if you support quests plugin with a placeholder
no problem
i try to make it work with scoreboard now
hey guys I type /papi reload and it says internal error
thats my console
and I typed the command because some placeholders weren't working
seems like there's a problem with the Skript expansion
I installed a skript expansion? π€
can anyone help me with the Server expansion
trying to make a cooldown to 0:00 every day
%server_countdown_K_0%'
got that but it wont work
also tried this: %server_countdown_K.mm.ss_0.00.00%'
but still wont work
https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html says K is gor hour in am/pm and 0 would be 12am
tried %server_countdown_k_24%
as little k is hour in day (1-24)
but still nothing
for some reason that won't work
@ me if you can help
I think it defaults the date to 1 January 1990
so you'll have to change it every day
manually
yeah he said in that post he parses placeholders but when we tested it wasn't parsing them but I'll test it again just in case
also, is there anyway for %server_time_E% to show the full name of the day, not just for example Thu
wrong chat ^
its
ok got it working
%server_countdown_dd.MM.yyyy HH:mm_{server_time_dd.MM.yyyy} 24:00%
use this
and use %server_time_EEEE% for full day name @dense rampart
and use
%server_time_EEEE%for full day name @jade flume
@turbid tide who is iiAhmed?
i have never asked for anything lol
oh shit xD
i just wrong chated
xD
xd
oh
didnt see
I was tabbed out and it doesnt scroll down when someone types
lemmie test this
works, thanks a lot Blitz <3
no problem
hi
so
I have a problem with a papi placeholder and I just wanted to know if the problem is in placeholderapi
I'm trying to add the %luckperms_highest_on_track_staff% placeholder to a tablist plugin but it only show the raw placeholder
what does /papi parse me %luckperms_highest_on_track_staff% return/
papi placeholder worked thank you
are you sure you used the correct track?
were did you find that placeholder tho?
i can't find it
this is the full list https://luckperms.net/wiki/Placeholders
@unborn smelt,
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.
I have the latest luckperms and latest placeholderapi
I did /papi ecloud download luckperms
But /papi reload never works anyway
what's your LuckPerms version?
Grab the latest LuckPerms expansions and LuckPerms plugin
Latest from their website
It won't let me reload it so I cannot get the latest luckperms expansion...
Delete the luckperms expansion from /PlaceholderAPI/Expansions
and download it from https://api.extendedclip.com/expansions/luckperms/
Just did same issue
What does /ver LuckPerms return?
Why do you have the luck perms expansion if you don't use luckperms?
lol, no wonder its erroring
Then just delete the expansion from the folder π
that's the issue
Yeah it will error cause it's trying to hook into luckperms when you don't actually have it
Do I have to restart for it to work?
Remove the luckperms expansion and it wont try to hook
Same error?
Np, apologies for the confusion
Take care!
@leaden kraken does it just parse the placeholder for the nearest person and return that value?
Yes
already answered that, don't worry
ah
None personally, someone requested it in #727778089697804288
ah
π
v nice
it's possible to put "%" in a placeholder text?
- '%animations_<shine start=&9 middle=&4 end=&9 normal=&7>Sale 20**%**</shine>%
example
Sale 20%% like that?
he doesn't want a placeholder inside a placeholder
he just wants the percentage
symbol
i want to use "%" in this text "Sale 20%" but i don't know how to do it because if i use it, Papi detect it like an ending for placeholder and i don't want that
same for double %% ?
yes
try using [prc] and see if it converts it
if not I think Niall will have to add something for this
yeah
not working
nope..not working
yeah then niall will have to update the expansion and add a way to do this
i have to report this "bug" ?
this aint my problem
wait its not your expansion?
It is but I can't really fix it
What exactly is the output?
%animations_<shine start=&9 middle=&4 end=&9 normal=&7>Sale 20%
Just this I assume?
Papi end's the placeholder there
- '%animations_<shine start=&f&l middle=&e&l end=&f&l normal=&6&l>Reduceri 20</shine>%update:2'
i want to add "%" to "Reduceri 20" and will be "Reduceri 20%"
I expected that
Because papi ends the placeholder at 20%
So all the expansion receives is <shine start=&9 middle=&4 end=&9 normal=&7>Sale 20
And it's missing the closing tag
so that's a papi problem
Niall can't you do something like the math expansion and use [prc] instead and change it to that when it returns it ?
I have no idea
Hello, could you tell me where can I get the last version of PAPI for 1.16 ? Is the 1.15 compatible with the 1.16 ? Since there's no updates on github (I think) and no new build on Spigot. Thanks
Check the pin message
Ok thanks, in this channel ?
π
Ok perfect thanks
this is probably an issue which is 100% my fault, but although scoreboard connects to PlaceHolderAPI, the scoreboard is just showing %player_name%
anyone knows how to fix this?
?player
Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload
download those commands
Hello guys! Has anyone ever encountered such a problem like this:
[PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: example
Awesome, thanks @warm topaz !
whats ecloud?
where most expansions for PAPI are stored, and u can download most of these expansions ingame directly via a command
you here still?
is there a placeholder for item lore, i can't seem to find one
player doesnt have the lore for what you're holding
theres 2 js placeholders for lore, pick the one u need
check the wiki on that github page to see how to setup a js placeholder
using the javascript expansion
var max = 25;
function randomInteger() {
if (args.length == 2) {
min = args[0];
max = args[1];
}
var random = Math.random() * (max - min);
random += min;
return Math.floor(random);
}
randomInteger();``` returns 1.0, 2.0, 3.0 etc. for some reason
i've tried parseInt() to no avail
aaaaaa
made by urs truly π
i will use it but i want to understand why it's not returning ints
maybe math.floor is adding the decimal instead of just an int
im not really too sure if floor returns a true integer
Hello, does PlaceholderAPi work on Bungeecord servers?
papi does not support bungeecord
So I need to add it to every server?
yes sir
Ok thx
but I have a small problem because when turning off the server papi gives error. Tomorrow I'll give logs because I'm not at the computer now
i need help
There is no time to wait! Ask your question @cedar cedar!
i get it im geting there chill down
it says there are "No cloud expansions are available at this time." when i do /papi ecloud download anything
@helpme please lol
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.
hi, i'm trying to use the statistic placeholder for mined blocks and used to have it in 1.15 like so:
%statistic_mine_block:DARK_OAK_LOG%
but now in 1.12 it doesn't let me do:
%statistic_mine_block:LOG_2:1%
how can i do ?
With this download of placeholders, it is probably a mistake because I have the same thing
The new version seems to have broken something
Use _ instead of : for the placeholder @lime light
You also need 1.7.0 of the expansion
/papi ecloud download statistic 1.7.0
/papi reload
Not sure if it will work with data though, never tested
is there any version of 1.16.1?
see the pinned messages
how do you disable perms for someone to do /papi ?
I don't think there is a perm
Could probs use MyCommand or something to make one
Or just a command blocker
(Could try this - but not sure if it still functions properly)
||https://www.spigotmc.org/resources/blocker.73334/||
Apparently it does cube! They'll hack the server!!!