#placeholder-api
1 messages ยท Page 88 of 1
@brisk coral So, use dependency and repository ?
function pingerPlaceholder() {
return "%pinger_online%" == "Online" ? "ONLINE" : "OFFLINE";
}
pingerPlaceholder();
ty
@brisk coral thank you, i actually tried that before manually importing them, im using intelliJ
but it said the dependency not found. <dependency> <groupId>me.clip</groupId> <artifactId>placeholderapi</artifactId> <version>2.10.4</version> <scope>provided</scope> </dependency>
%pinger_online% keeps returning Offline even tho when im on the server and do it it returns online?
Change the check interval
Wiruson, check here
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki
yes Frosty, i copied the dependency and repository there.
Reimport it
Neat
@brisk coral return "pinger placeholder".toUpperCase()
or that
Also, you can edit it on config iirc
Get this on launch: https://pastebin.com/RvagPrZc.
@buoyant hedge
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.
Woah
Is there any way to get the placeholder data of a player?
i would want a hand ,-,
?
Can you elaborate, max?
yeah I was about to
Lets say you want to get %essentials_nickname% of another player
Is there any way to do that?
I think we have a parseother expansion.
/papi parse <player> %essentials_nickname% no?
/papi parse me %parseother_<target>_{essentials_nickname}%
Oky ๐
is there a way to show the MOTD of a server managed by a plugin with PAPI ? Pinger can show the MOTD of a server, but it only shows the one in server.properties, and not the actual one by a plugin we are using
Not unless it hooks into the plugin itself most likely
Maybe ask the author to hook into papi to add the placeholder?
Ok thanks
Isn't there a method to get the actual motd?
idk, but if that exist I would like that someone create a placeholder with this method ๐
not very urgent anyways
I'll see if it exists
For some reason when I run the custom command I made it shows this..https://gyazo.com/62d94d80311b9adb72823507523db222
The "now available in the server expansion" when it should return the players server?
change that placeholder with %server_name% or smth
ty
How can I use actionbar messages in deluxecommands?
Hi help please when i instaill luckperms expansion everything just stops working
and the plugin is just not working properly
But apperen;y if i delete luckperms it fine
https://pastebin.com/Bks8aRRa
Hello, I need some help. How do I add commas and decimals to a balance displayed in the footer as %money% in TAB? I have tried all %vault_eco_balance%
%vault_eco_balance_commas%
%vault_eco_balance_fixed%
%vault_eco_balance_formatted%
And none have worked. If you can please help me, it would be great!
Define "not worked"
Like it either displays no commas or only commas and no decimals. But I want both
I don't know if we have both.
Is there a way to add one?
I mean down the road yeah, today? Probabaly not.
Unless one of the other staff do it. Or someone PRs it
Ah ok, thanks
@heady falcon have you updated your animation thingy?
Hey I have a plugin that supposedly provides the placeholder %player_displayname% How do I go about using that placeholder? When I do /papi parse me %player_displayname% it just returns %player_displayname%. The plugin is mutichat btw
That worked Thanks ๐
Is it normal for %statistic_mine_block%' to be recording two block breaks for one?
https://i.imgur.com/2pcLak8.png
Divide it by 2, I think that may be a bug, or another plugin that would cause that
Am I able to do that within a DeluxeMenus GUI?
Yea use the math expansion
Ah, awesome. Cheers mate ๐
Is it possible to remove the decimal in the result?
%math_{statistic_mine_block}/2% returns 68195.000
I'm checking out the EvalEx wiki but I'm very :what:
[percentage:0] Can't remember if it's percentage or something else,
Put it after the 2 inside the placeholder
Yep, got it. Cheers!
Should I just create an issue on GitHub if a placeholder is out of date?
https://hasteb.in/upoxasin.md
Contact the author of the expansion
:thonk:
https://i.imgur.com/2RskUlc.png
Use this one
Yeah, that's what errors
%mcmmo_rank_<skillname>%
Okay, I parsed every other Placeholder fine - I'll just disable that one for the time being.
Reading through the updates, 2.0 is supposed to fix that placeholder
remove the expansion and redownload it and see if it works @real vortex
I'll give it a shot ๐
Is the factionsUUID placeholder expansion open source?
What you trynna add?
%factionsuuid_faction_land_value%
Probs isn't, @balmy marten u got source? :p
I don't think so
It isn't on eCloud either
So I guess the plugin author has already made it
hi guys, im trying to crate a custom placeholder for my plugin (%ultimatevirus_is_infected%), i have created a class extended to PlaceholderExpansion. In the main class i wrote: if(Ultimatevirus.getInstance().getServer().getPluginManager().isPluginEnabled("PlaceholderAPI")){ new CustomPlaceholder().register(); }
But now i cant understand how can i use the placeholder i made (for example inside a message)
guys can someone help me?
Make sure the message is parsed using setPlaceholders, and then just use the %% placeholder inside it
So, after i have registered my custom placeholder, using the setPlaceholders method it should replace my custom placeholder?
it writes again the placeholder
Double check the values, and check you did everything properly
i did everything well, im pretty sure
but it doesnt work
is the latest version of papi compatible with minecraft 1.8?
1.8.8
1.12.2
1.13.2
1.14.4
1.15
v2.10.4 - Latest
v2.10.4 - Latest
v2.10.4 - Latest
v2.10.4 - Latest
v2.10.4 - Latest
=paste
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
Show your placeholder class
I'd show your code or whatever you are using.
Likely a issue you've made on your end.
@quaint pewter
Please respect the rules, be patient and don't ping staff members!
?
Alguien me podria ayudar con un error que se presento con el placeholderapi?
Sorry I speak only english
Oh, ok espera
I have a problem with the PlaceHolderAPI, especially putting the command /papi ecloud donwload LuckPerms, once I put the command I put /papi reload and I get an error and I do not load the expansion of the LuckPerms
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
I tried to manually download the LuckPerms expansion, but it still doesn't work and I get the following error An internal error occurred while attempting to perform this command
show me the error from console
?luckperms
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.
If you want to keep using v4 please download the version 4.1 of the LuckPerms expansion.
guys i cant solve this problem: papi by default has 2 methods that request a placeholder: one with Player (onRequest) and the other one with OfflinePlayer (onPlaceholderRequest). I created a placeholder that works well when the player is online (returns true/false) but when the player is offline it returns null. My plugin has an SQLite database in which he stores player names and a boolean values.
So, assuming that i stored the player name im checking in the database before, when the player im checking is offline, im 100% sure that that player is store in the database (with his boolean values), and so i would be able to return true/false.
The problem is that when try to get the player name from an OfflinePlayer it returns null, and i cant start the query that looks for the player name inside my database.
i spent 5 minutes writing this
i hope someone will help me
@pallid stone
Use offlineplayer, and check if the player has joined before. If you're doing it within a single placeholder just use offlineplayer instead of player
what is the papi expansion I need to use for "%player% to work? I tried "player" but %player% doesn't work on deluxechat's hover feature.
%player_name%
Make sure you have the expansion as well as reloaded papi
@austere hawk
Doesn't %player_name% display the players name?
Like say Clip joins my server.. "clip joined"
wouldnt I see
"Mr_lonely132 joined"
@austere hawk install the extension
@uncut pilot relog
I did
not sure if this is the right place but im getting an error when i try do /papi reload after downloading an expansion update - https://paste.helpch.at/xefanodufe.apache
The Quest expansion has an error
it's possible to change output placeholderapi?
e.g. i need to make yes change to &aChecked! and change no to &cUnchecked :(
//without coding
:sad:
I can setup 1 for you
show me dah way pls
Config.yml?
Config.yml?
@vivid sparrow already see, but i need to make text per placeholder
@brisk coral when i try to getName from a OfflinePlayer it returns null
@pallid stone
Please respect the rules, be patient and don't ping staff members!
but i MUST get the player name in order to start a query
if(params.equalsIgnoreCase("isInfected")){
return plugin.getRDatabase().isInfected(p.getName()) ? plugin.getConfig().getString("ReturnMsgWhenTrue").replace("&", "ยง") : plugin.getConfig().getString("ReturnMsgWhenFalse").replace("&", "ยง");
}
return null;
}``` This is my code right now, it returns null beacuse i cant getName from an OfflinePlayer
works just fine for me
did u test it or is your opinion?
Are you using the placeholder on offline players or? Cause you can just firstly check if he's online, and secondly if the player joined before.
Also tested it yea
every player is registered in the database, so i already have all the infos in need to send
the problem is that is required an OfflinePlayer
if it was a String i would have already solved the problem
because i just need a string to look for in the database
can you understand what i mean?
maybe try send me the peace of code that u think work
anybody know what this means?
[16:53:44 WARN]: [PlaceholderAPI] Loaded class net.ess3.api.IEssentials from Essentials v2.17.1.53 which is not a depend, softdepend or loadbefore of this plugin.
it's just a debug thing that spigot added in 1.15
Ohh so I can just ignore it?
Okay thanks
Hi, I need the "towny" expansion.
Run those two commands @vapid haven
if i have team what placeholder i have to use?
guys sorry if im still here, but when i try to get the player name from OfflinePlayer i get a return null. How can i solve?
public String onRequest(OfflinePlayer p, String params) {
if(params.equalsIgnoreCase("isInfected")){
return plugin.getRDatabase().isInfected(p.getName()) ? plugin.getConfig().getString("ReturnMsgWhenTrue").replace("&", "ยง") : plugin.getConfig().getString("ReturnMsgWhenFalse").replace("&", "ยง");
}
return null;
}``` This is the code, what should i change?
all my PAPI placeholders just broke after a restart and i literally dont know why, no changes were made
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
is there not a papi placeholder for the bungee server name?
(no i dont want to use mvdwpapi)
No.
@hearty flame. You can only get the player count total or from a specific server.
Not the name of the server.
Thats a shame
know what*
โข Removed 99 messages.
Hi
I set return %towny_town% in my file js
bit it's error ๐ข
[14:37:29 WARN]: javax.script.ScriptException: ReferenceError: "IloveU" is not defined in <eval> at
line number 1
full
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
Add "" around placeholders
https://gyazo.com/514056602531372b53d4d777f5bd6816 papi cant find me?
try relog
what command are you using?
/papi parse me %javascript_permissionscore%
No clue sorry, relogging usually works for me. You'll have to wait for another member to assist you, I'm not acquainted with the plugins these days
Its okay.
Add "" around placeholders
ok thanks
@uncut pilot reloging usually fixes the issue (encountered it myself yesterday) try using your name instead if that didn't work
I got it to work. I just reset everything
@safe echo
var town = %towny_town_size%;
function check() {
return town == '' ? "&cโ" : town;
}
check();
Use this (just nicer nothing different tho)
ty โค๏ธ
@brisk coral ..
That wont fix anything LOL
it say that the value returned by the placeholder isnt defined because you dont cast it as a string
Anyone suggest me a good way to start the task timer only once upon /papi reload (non-plugin expansion)?
/papi reload also reloads the expansions, so u can start it on the register method in ur expansion?
https://paste.helpch.at/sodamipedi.pl What is causing this ://
%player_server% will not work either
Hi. Repeating my question from the Spigot thread. Is it possible to read a string of characters from a file as a placeholder?
There's a plugin that I use that produces highscore lists as text files and does not support PAPI. I would love being able to parse the file to get the high scores usable in holograms.
You would need to design it to load in the file as the data and then configure it from there. Programming knowledge would be required.
Ok, so no way to do it directly. Cool, thanks for the answer. I thought someone might've already come up with the idea and produced something workable. :)
Can't really do something like that since it's very slight chance plugins store data the same way.
What plugin are you referring to?
Pocketgames
I have asked the dev if they could implement placeholder support, and it is in their backlog, but who knows when and if it gets there. :)
I guess my next step is to try and bribe them :D
I think I asked him about that over a year ago
Sucks that you have to bribe devs to get extra features ๐
Does the plugin have an API?
I don't really know. I suppose not.
That actually sucks.
It would make the plugin so much better and I'd be able to hook into it via PAPI.
At least the plugin page doesn't say anything about an api.
Yeah, it's too bad.
It's a pretty simple text file, lists scores and UUIDs in predictable places, so that's why I thought I'd ask about the possibility to parse stuff from there.
But anyway, thanks a lot for providing support. Your plugin is awesome. :)
Yeah! Hopefully that guy can add in PAPI support.
Let's see. And I decided to donate 10 bucks to you since I keep using your stuff a lot. Have a beer (or a latter or whatever is your poison) on me. :)
isn't it a yml file ?
I'll let clip have the money, he has like 10 kids, he needs it more than me.
@junior musk yup. Format is like this:
DiamondCollect:
minimum_score: 1
'1':
player: 95ca0a9d-89a1-4379-a61e-d0b341569fa5
score: 10
Cool. :)
10 kids
lmao
In my elementary school class ... 30 years ago ... there was a guy with 12 siblings.
nah he has 2 beautiful kids
10 or 2 ? x)
smh Glare, only 2 mini clips
mini clips
lel
Glare lol
They are sweet kids but they are rowdy as heck
And yes, the official term for clips children is mini clips
that's how some of us call them
Clip-ons?
Here's their portfolio.

does anybody know that /papijsp (the command of the Javascript Expansion) isn't working ?
Hasn't for a very long time, use /papi reload instead
Yeah that's what I'm doing
but I just discovered this command x)
And btw, I checked the data javascript script, https://www.spigotmc.org/wiki/placeholderapi-javascript-expansion-scripts/#data and I was wondering if it's possible to have the same thing, but using it with MySQL ?
Not sure what options js offers when it comes to dbs since you'd need a way to handle connections
aaand is it possible to use a file other than the ones in
javascript_data ?
is the ParseOther expansion broken or is it just not working on 1.14.4 ? https://paste.helpch.at/huwosibema.bash
while doing/papi parse me %parseother_Tanguygab_player_health%
%parseother_{player}_{placeholder}%
yes
the player
really ?
๐
I thought it was just to indicate that it has to be here for the player and here for the placeholder... but now that I think of it, on the wiki when the placeholder indicate it, it uses <> and not {}...
thanks anyways x)
Use https://paste.helpch.at/ for errors, logs and configs. So we don't spam the discord.
what's your LP version ?
nvm sorry for bothering, i forgot I removed luckperms
Howdy, how do I update a package when i see this message in console?
[PlaceholderAPI] 1 installed expansions have updates available.
Is it possible to get the UTC time from the placeholders if the server is located in another time zone?
@sharp yacht
/papi list should show you the one(s) that need updating.
Then just use /papi ecloud download (expansion name)
/papi reload
Sometimes it might be a bit fiddley and you'll need to delete the expansion from the /plugins/placeholderapi/expansions folder first before downloading it.
Hey, how to fix that?
by using the right placeholder
where are you using this placeholder, and what is the plugin that let you show it ?
im using PlaceholderAPI version 2.10.4
and featherboard
yes i have it too ๐
and VoteParty doesn't provide direct support to MVDWPAPI
no you can see it ๐
that's because
VoteParty doesn't provide direct support to MVDWPAPI
so you have to use the placeholder {placeholderapi_<yourplaceholder>}
do you even understand my message x)
VoteParty doesn't provide direct support to MVDWPAPI
that means that VoteParty doesn't add placeholders to MvdwPlaceholderAPI so it won't work
the only way you have to use it is by using the {placeholderapi_<yourplaceholder>} placeholder
so you have to use {placeholderapi_voteparty_player_votes}
and then it will work
ohh thanks โค๏ธ
Is fabled skyblock added to papi?
Whats the command?
maybe not
FabledSkyBlock has its placeholders inside the plugin
^
no need to download any expansion
โซ
Like @junior musk with no expansion
and you can change the output of each in the language file
(I think there's some that you can't iirc)
Amazing thanks.. the gui's are ๐ฉ so i need to make em myself
I agree haha
same
yo is there an expansion that checks achievements?
No afaik
there's one for 1.12 advancements, but I don't think there is for achievements
advancements*
i'm looking to make a deluxemenu that's only available to players who have reached the nether
then /papi ecloud download advancements
that works for 1.12+?
yep
meaning it'll work for 1.15
i thought that too, but it doesn't seem to work
is there a bukkit advancement list?
i lied, i'm an idiot
you're right
nether/root
lel
many loves brรถther
Is there no placeholders which return the amount of items the player is holding in his hand?
Doesn't seem like it
I just need the amount, I'll make a js placeholder
Doesn't work for in hand, just the entire inv
it does with the inhand modifier no ?
Nope, returns the amount from the entire inv
then or the wiki is outdated, or it doesn't work ๐คท
We can ask cj nicely to add it
I think I know
Doesn't matter, I'll make js.
On another note, what all can I use within js kek
ok no I don't ;-;
Assuming this probably would not be supported would it
player.getInventory().getItemInMainHand().getAmount();
and the player being BukkitPlayer
Add a null check in there
Ofc lol
Didn't think it would kek
Why
Can you test a lambda function?
just lambda
We'll only lambda I know uses a framework :p
Huh
for the method
Nvm I will do it
I mean I got it open, just gimme the function smh
actionManager.addAction("clear", (player, data) -> plugin.getColorManager().clearChatColor(player.getUniqueId()));
anyone know if theres a placeholder to show how many times a player has joined the server?
surprisingly no
:(
Statistics?
Thats unique joins
I saw %player_join_game%
ill test that one then, ty
@balmy marten Why in the hecc can I not send pics here smh
๐
scam
I swear you need a master degree to know how to print smth lmao
Thats literally how all our handouts looks like
F
What's the option for the return values
Huh
[something:0]
Precision
=paste
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
whats the difference ๐
How dare you @warm topaz
I'm a bit confused rn
Am I dumb or? %math_{javascript_itemAmount}*0.12[precision:2]%
Yes
gives me a unknown operation at 1
Ig
yea color fucked it
can I somehow use the Java.type() thing to access bukkit classes on the js expansion?
Hi!
Gaby, I'd say no rather than yes :p
Ho change wave color in Animation? https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#animations
well rip frosty
How use it?
%animations_<type>?option1=value1,option2=value2_YourTextHere%
it's not work!
"%animations_wave?\"colors=&e,&a\"_YourTextHere%"
Yea remove the \
Syntax error, come on
I can't remove \
this work
"%animations_wave?colors=&c_YourTextHere%"
but how add some more color code?)
No clue then, haven't used that expansion yet, I believe that's @heady falcon's expansion so he might know a bit more
And WIKI doesn't have example ยฏ_(ใ)_/ยฏ
And i have this in word Text
"&cT"&ce"&cx"&ct
%statistic_join_game% gives me this error
https://paste.helpch.at/umewacemaf.css
ideas?
i cant really find a way to import papi into title manager
installed the askyblock expansion
Afaik TM supports PAPI, so downloading the expansion then reloading PAPI and then adding the placeholders to tm should work?
latest expansion (1.9.2), server ver 1.14.4
join game isn't a statistic on spigot api, so use leave game and math %math_{statistic_leave_game}+1%
wierd. should it be in the placeholders list because of this?
and yeah ill use that solution, thanks
Well as I remember that is how it was on previous versions too, cuz join game statistic has never been a thing.
I'll remove it from the list, thanks for pointing that out.
๐ฅบ
Hey
is there any extension for Per World placeholders
or like stats in a world
(like %hub_player_kills%)
@warm ploveryou need a plugin for it
And that is?
dont think there is a public plugin for it
sec let me do some research
ya cant find anything
sorry
Np
Uhm
When i do the download command for luckperms
It says "there was a problem downloading expantion: LuckPerms"
show console errors
All my console says is "failed to download expantion"
=paste
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
no
Okay install it manually
done
how do i remove it
just redownload it
Remove luckperms expansion
that's what he's doing x)
With the Javascript extension for PAPI, can I check if a certain plugin's placeholder is returning true or not, and then do stuff?
yep
if you put them in the js code they will be parsed
I restarted my server and now I got this error :
https://pastebin.com/SiLHrp74
I don't know what can be the error as I didn't changed anything in the placeholder and now it can't parse it anymore
whatever placeholder you are doing
with jobs.
is causing the issue
nothing with deluxemenus.
probably not a supported jobs version.
@meager vault
i have installed extension teamcolors and this isn;t work
~~Hey, so I'm having this issue with VoteParty not recognizing the placeholders needed in messages or rewards. For some reason, %player% and %player_name% do not work at all, but they do for other plugins.
Console Log
en-US Lang. File
Config File
||I wasn't sure where to post this, but figured PlaceholderAPI would be the best place for it.||~~
[VoteParty] [ACF] Found unregistered replacement: %player% and [VoteParty] [ACF] Found unregistered replacement: %player_name% are the errors with the placeholders. Unsure why it wouldn't detect them.
@scenic sand #spigot-linking
Done
i dont have any error logs when enabling PAPI but it cant register any expansion I downloaded from eCloud
What does it says when you try to download them?
Aaaand did you do /papi reload as the message suggest?
Essentials Multiverse PlotSquared Player PlayerPoints
And do you have the necessary plugins for them?
Yep
nope
Then try to go on the ecloud to download them manually and place them in yourserver/plugins/PlaceholderAPI/Expansions
=ecloud
-ecloud
Isn't there a command for this? x)
i re-downloaded Player and PAPI still doesnt register it
Even manually?
like it doesnt exist in the folder=-=
What's your PAPI version?
2.10.4
What's your server version?
1.12.2 bukkit+forge
Aah I had issues with bukkit+forge and the ecloud too but when downloading them manually it worked
Did you try manually or just with commands?
Is it still in the folder after /papi reload?
yes
Idk if we can call that a software x) but what's your server type? Catserver?
Mohist for sure
yep
ohh
it is available before my update
and the error occurred after Mohist is updated
Any idea why I can't do /papi parse me %placeholder%?
It says Failed to find player: me, same with my username
server version 1.14.4
Try rebooting
how do i create a placeholder that accepts any variable e.g %test_test_200%?
figured it out dw
[13:11:09 WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.4 generated an exception while executing task 10 java.lang.NullPointerException: null at me.clip.placeholderapi.expansion.cloud.ExpansionCloudManager.lambda$fetch$4(ExpansionCloudManager.java:172) ~[?:?] at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:81) ~[Spigot.jar:git-Spigot-1a3504a-84f3da3] at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [Spigot.jar:git-Spigot-1a3504a-84f3da3] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_201] at java.lang.Thread.run(Unknown Source) [?:1.8.0_201]
@bold nacelle
Looks like your server can't connect to our API,
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.
Any ideas why does /papi ecloud download <valid expansion> say No cloud expansions are available at this time. ?
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.
Most likely that ^
literally running 4 commands with a 2s delay results in 1 working and 3 being rejected
Host probs is not so happy with making so many connections to http://api.extendedclip.com/v2/
testing on localhost
could be hitting the firewall then
You might be able to whitelist our api
but probs not much point if its only a couple of expansions
is there some debug mode to find the exact cause ?
exact exception and message
another thing is that first attempt usually doesn't work even after long time
another try gave me a no/yes/no/yes
Not sure if we have a public debug mode, checking now
i'm trying a new feature into my plugin which is automatic installation of expansions for used placeholders which are not installed. This will save time both you and me when providing support as this step can be skipped. Also saves headaches to users.
Does /papi ecloud status return anything?
what happens if you run it a couple of times in a row
the same with /papi ecloud refresh
Is it in the /placeholderapi/expansions/ folder?
try giving it another papi reload
still nothing
What version
2.10.4
after deleting the expansions folder and running download commands it did not reappear
delete the contents of the folder, not the actual folder
sounds good
may get confused if it cant see /expansions/
i thought i has a check for this
Possibly, not 100%
Seems odd, cause usually it throws out an actual error
any way i can help with debugging ?
is there any space between those firing?
extend it a little longer to see if it makes any difference
Either something on your end or our end is blocking it for too many requests too quickly then
We're working on papi3 at the moment to make some features a lot better, auto downloading might possibly already in it
im not 100% sure
But i'm sure we can try to add a better debug feature
i saw the bukkit bridge plan for v3, but my users couldn't wait so i made my own xD
Yeah they're a few fancy things planned
Added debug to the feature list #papi-updates
404 at https://github.com/PiggyPiglet/PlaceholderAPI3/issues/18
Is it private ?
Yeah papi3 is private at the moment whilst we get all the core work done
but will go open source once that's all done
how would you make auto downloading ? how do you know which ones should be downloaded ?
would you just put into setPlaceholders method ?
My guess would be get the first word of the placeholder
ie. %vault_rank% since that usually indicates the expansion, and then just download it on whatever event you want
yes, but when and where do you get the %vault_rank% from ?
Might also want to add a check if it already exists as some expansions are version dependant
also, is there a reliable way to find out if an identifier is a valid downloadable expansion ?
Don't think so, unless you'd somehow get a list of all the ecloud expansions.
Also wdym by where can you get the placeholder from?
Don't think so, unless you'd somehow get a list of all the ecloud expansions. That's what i'm asking for
wdym by where can you get the placeholder from?
For placeholderapi to auto-download in v3, how would it know which expansions should it download ?
No clue, and no clue. You'd have to ask Piggy or Clip
How would one clear someones items in hand with js inside dm?
that would be fun, maybe try to set the item in hand to null?
Don't actually know how to execute it through DM
Also I'm guessing I could just use the .clear function
I mean yea how would I execute a js placeholder which isn't a command through DM
parse the placeholder?
Using papi parse?
[console] papi parse %player_name% %placeholder%
Ah ok
Try
colors=&4/&5
@bronze bison
It's work! Thanks!
@quick leaf
Please respect the rules, be patient and don't ping staff members!
https://paste.helpch.at/uhoguhedah.bash
how can i fix this?
im using 1.14.4
Use the correct luckperms expansion version
i did. i tried the papi eclound download also the manual
1.8.8
1.12.2
1.13.2
1.14.4
1.15
v2.10.4 - Latest
v2.10.4 - Latest
v2.10.4 - Latest
v2.10.4 - Latest
v2.10.4 - Latest
hmm
the placeholder is not working on scoreboard
what does this mean?
[WARNING] .... Plugin Scoreboard-revision vR3 1.4.2 RELEASE does not specify an api-version.
hello, "% statistic_mob_kills% " does not work.
https://imgur.com/a/qIrM4dZ
/papi reload```
?
What's your server version?
1.12.2
/papi ecloud download statistic 1.7.0
Ok versions don't work Ith this command =/
Anyways, below 1.13,you have to download the 1.7.0 version of the Statistic expansion
I see it still doesn't work, but thank you for your help
Tgen I guess the placeholder was addzd in newer versions of the expansion
So you can't use it
okey I'll search
Mmmh
It's weird
Because the expansion page say that all statistics from SpigotAPI should work (%Statistic_<statsname>%)
But if we check on the SpigotAPO page for 1. 12.2 we can see that MOB_KILLS exists
You know you can download the compiled version of this link and put it in your expansions folder in your PlaceholderAPI folder?
^
Can someone explain to me why this doesn't work?
requirements:
money:
type: has money
amount: 100000
island-level:
type: '>='
input: '%superior_island_level%'
output: 1000
deny_commands:
- '[console] titlemanager:tm message %player_name% &c&ldeny message here
- '[sound] WITHER_DEATH'
- '[close]'```
The ``has money`` requirement works but superior skyblock placeholder isn't working for some reason. I've made sure to have over 1,000 levels + the money as well.
Have you checked the placeholder returns the correct thing?
If the output of that placeholder have any formatting it wont work
@junior musk Just a quick suggestion, always ask where people are using the placeholder, since in like 80% of the cases that's the issue
Can someone explain to me why the command /eco give %player% isnt working
Because %player% isn't a placeholder,
%player_name% is and it requires the player expansion
Tried that didnt work
Kept on returning the same.error
%player_name% is not a valid player
The player expansion , yes . I use it in my scoreboard. And I am using the command in conjunction with the EpicBosses plugin. When a boss dies it runs that command
Then the epicbosses plugin doesn't support papi, I'd suggest asking in Songoda discord what the correct player placeholder is that it uses
I have , even their support staff were unable to help
Reeeee
Despite their own pre installed commands being eco give %player%
One sec
Wouldn't the issue be with vault as the command is eco give?
Thats an essentials command, not vault.
Then wouldn't it be a essentials issue
@junior musk Just a quick suggestion, always ask where people are using the placeholder, since in like 80% of the cases that's the issue
I did ask
it was KiteBoard and itbsuppirts papi so I though he/she would have used %% instead of {}
that's why I asked for a screen x)
@brisk coral as you can see their support team are quick as ever
@limber narwhal
Please respect the rules, be patient and don't ping staff members!
it says {player} is the placeholder for EpicBosses on the documentation site @limber narwhal
you shouldn't be trying to use PAPI placeholders in a plugin that doesn't use PAPI, but if the default eco give %player% then it's probably %player%
That's the thing the default is eco give %player% but it doesn't work , so unless they're own devs dont know what works in their plugin
cj you'd assume it would reee
so try {player}
^
Tried thst
They might've switched it and not updated the config
Unless I need mvdwplaceholder
{player} doesn't work 200% sure?
Okay, maybe try asking the question phrased this way if you haven't:
How do I use the player's username in EpicBosses? I've tried %player% (pre-configured) and {player} (listed on the documentation site) and both don't work
Just sent it, I guarantee they're gonna tell me to make a ticket. Annoying thing is a friend of mine has had a ticket open for a month with songoda
This is the first time I'm using them not exactly impressed
Considering their own documentation is incorrect
I now see why they dont accept refunds
Tbf they do state that the questions channels may not be correct, their support channel should however be the correct place
hopefully
I mean me and frosty have both asked, surely they gotta respond to 1 of us right
My SpeedPerSec expansion still hasn't available on public PAPI github?
?
It won't be immediately, someone has to review it first
what do you mean by on the github?
The public placeholder list I mean
okay, that's manually done
define thing
%speedpersec_blockPlace% - Blocks placed per second
%speedpersec_speed% - Blocks moved per second
%speedpersec_expCollected% - EXP collected per second
%speedpersec_damaging% - Damage per second
%speedpersec_hurting% - Damage taken per second```
@austere hawk
Ok ._.
There we go
I was about to add CPS
But for some reason which I was not looking into, when hold right-click, the Interact Event is still called every 10 ticks
And why didn't you
And I want it not to happen
^
ya
I mean yea
that's not how cps works smh guys
?
Anyhow nobody cares about cps since 1.8 pvp is ๐ ๐ฉ
No shit sherlock..
^
??
What I'm saying is, if you're holding right click
to the game, that's how fast you ARE clicking
think about it, InteractEvent isn't right clicking
I can bind it to whatever I want
you can check the action type though
How?
There's another weird reason
How does spigot know it's a right click gaby? they don't iirc
Action.RIGHT_CLICK_BLOCK or AIR
cj
nope
When breaking block with LEFT_CLICK, especially on grass, the CPS still counts
In this case, holding
Gaby
Does that signify a right click or a place block press?
because I can bind the action to any key
You will notice that CPS-L raised up to 14
spigot can't see client's mouse like that iirc
doesnt matter what key you press
We'll then don't make that placeholder, everyone who wants to know that usually already has something client sided ๐คท
as long as it triggers a right click
It's not a "right click" then ๐
smh cj
is CPS-L and R backwards?
Maybe
it looked like CPS-L went up when placing blocks
That's how most things go out ._.
Kinda pointless if it ain't accurate don't you think?
Ok so here's my actual system
#development maybe?
Every clicks add 1 to cache, and 1s later takes all of the cache to the real cps, then reset the cache
I didn't say anything about code yet bruh
1 here by i mean 1 click
Might be easier to show code and get assistance, that's all
I did not mention anything about supporting my problem yet...
Thien, that's delayed af tho
Let me see the showcase
Ok how about you try it direct in the server? Just to make sure
Btw don't misunderstand that the 2s delay is actually same clicking per sec
It showed fine for me: Update every 1s
@vivid sparrow I'm executing the js placeholder using
- '[console] papi parse %player_name% %javascript_clearItemInHand%'
However I keep getting
>.... [11:40:06 INFO]: Unknown command. Type "/help" for help.
>.... [11:40:06 INFO]: Incorrect usage! /papi help
In console
(It clears the item properly)
The first unknown command is due to not having ess installed, the second however is from papi (only line I'm using is the parse one)
code?
player.getInventory().setItemInHand(null);
welp
Hello
I have a question regarding the papi bungee extension. For some reasons it doesn't properly show the online players when using either %bungee_total% or %bungee_servername%
It shows that there are 0 players online even tho there are players on the server
When using %server_online% it displays the correct amount of players online
Hello, I'm trying to put together a javascript that spits out a string based on a single yes/no placeholder, but whenever I parse it I get javax.script.ScriptException: ReferenceError: "no" is not defined in <eval> at line number 1 in the console. What am I doing wrong?
This is the code btw:
var alt = %luckperms_in_group_alt%;
function altDisplay(){
if(alt === "yes"){
return "&7[&3Alt&7]&3 ";
}else{
return "";
}
}
altDisplay();
Basically from one of the community scripts
Add "" around luckperms placeholder
Ahh can't believe I missed that ๐ thank you
Also please use this @exotic elbow
var alt = "%luckperms_in_group_alt%";
function altDisplay()
{
return alt == "yes" ? "&7[&3Alt&7]&3 " : "";
}
altDisplay();
Got it, that does look a lot more elegant. I actually don't really have experience in javascript, so I just modified the community script to my needs
Also, if you have a return inside a single if statement there's no need for the else part
So in JS the else is sort of just implicit?
Theres no reason to suggest that format to everyone, frosty o.o
ahh now I'm getting conflicting advice haha
I only have basic experience in python, so I'm just using that understanding
I mean we'll from the structure you kinda can see Gaby smh
return condition ? true return : false return;
Shut up.
never.
;o
lmao thanks for the help tho guys. Learned a little bit of js today
Who summoned me
Clip, could you help me out with my issue? %bungee_total% doesn't display the right count of the players, it displays only 0
What could be the issue ?
@errant lark parse the placeholder twice with 30sec delay between them and tell me if it still shows the incorrect value
@brisk coral did that but nothing still 0
@errant lark
Please respect the rules, be patient and don't ping staff members!
It's wierd that on other sections it works but on lobby it doesnt
https://i.imgur.com/CCguvRO.png Those are the plugins that I have on my lobby
can i reset player kills some how?
@bold mesa use %player_name%
Make sure to also do
/papi ecloud download player
/papi reload
https://hastebin.com/maviravema.apache
any solve ?
Have you considered normally pasting the link so people can actually click it instead of copy pasting?
You're using an incompatible Multiverse
Core expansion version
so where can i find the compitable one?
ecloud
Please select a plugin,
1๏ธโฃ - LiteBans [7631 Downloads]
2๏ธโฃ - โถ PunishmentGUI - LiteBansGUI, AdvancedBan & More โ (1.8-1.15) | Fully Customizable [12852 Downloads]
3๏ธโฃ - Litebans Material UI [4535 Downloads]
4๏ธโฃ - Litebans Messages ES [639 Downloads]
5๏ธโฃ - CUSTOMIZED LITEBANS MESSAGES CONFIG! *More coming soon* [521 Downloads]
Lemme guess Litebans don't have papi support? xd
=pl deluxe
Please select a plugin,
1๏ธโฃ - DeluxeChat [4452 Downloads]
2๏ธโฃ - AntiBotDeluxe โบ The most advanced AntiBot | Spigot & Bungee| 1500+ Purchases| 1.7-1.15 [1558 Downloads]
3๏ธโฃ - โช DeluxePlayerOptions | [1.8.8 - 1.15.x] โช [213 Downloads]
4๏ธโฃ - [NEW YEAR SALE] โฆ DeluxeCombat โฆ | Ultimate powerful combat resource for every server [188 Downloads]
5๏ธโฃ - Deluxe ServerSelector <BungeeCord> | <Spigot/Bukkit> 65% OFF SALE! [79 Downloads]
=pl deluxemenu
Please select a plugin,
1๏ธโฃ - DeluxeMenus [67489 Downloads]
2๏ธโฃ - DeluxeMenusItems [68 Downloads]
3๏ธโฃ - DeluxeMenus Kit GUI Config [10 Downloads]
4๏ธโฃ - MultiLanguagePlugin Add-on for DeluxeMenus [93 Downloads]
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
and FULL error
Oh oki, hello i have an error with DeluxeMenus or papi i think and i'm not able to fix it could someone who knows it better help me please :/
Its the full error what do you mean
Well, that's all i got as an error in my console when i launch my server
A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.
@austere hawk
=plugin <name/id>
=pl 57806
=help
Various Commands for Barry.
โข General Bot/Guild Commands
โข Miscellaneous Commands
โข XP and Level Commands
โข ChatReaction Help
=help general
Commands for Barry.
=about - About Me!
=ping - Pong, hopefully...
=members - Total count of all members
=uptime - How long I've been alive for
=info - Get some guild wide stats
=github <username> - Link GitHub Account
=spigot <username> - Link Spigot Account
=whois <@user> - General User Information
If someone can help me to fix this i would really LOVE u <3
https://paste.helpch.at/enetucisub
Hi
I'm using the SuperiorSkyBlock2 plugin and I want to put his level in the chat, but it looks like this
[%superior_island_level_format%] Efipee:
The chat plugin is the DeluxeChat
Can someone Help? This error always happen when I try to expand the placeholders for any plugin. Only worked for vault and "player".
Use https://paste.helpch.at/ for errors, logs and configs. So we don't spam the discord.
https://paste.helpch.at/tezoyoqile.apache
@tropic cosmos update LuckPerms and re-download the LuckPerms expansion from papi's ecloud
how can I download a older api of luckperms
because I get error and I want to use the old version
ty
Thanks Tanguygab
Im getting this errorhttps://pastebin.com/TuygWm9T. What it can be?
@dreamy hawk install the player expansion
HELP:
I'm using the 'scoreboard-revision' plugin. In it's config i typed the Placeholder %autorank_current_rank% but it does not work and in the scoreboard shows "%autorank_current_rank%" instead of players rank. %autorank_current_rank% in config should = (Players rank) in game, but doesn't.
On the website: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#autorank
I'm told to do the command /papi ecloud download AutoRank
I did this successfully and it told me it worked but it hasn't. (i also restarted server after)
I know PlaceholderAPI works because the placeholder %vault_eco_balance% works and shows players money in game but %autorank_current_rank% stays the same.
Please help me find a way.
Thankyou < 3
- Billy.
@mint fable @idle coral
@loud mortar
Please respect the rules, be patient and don't ping staff members!
Why randomly ping?
not random
i didn't know it was not allowed. I just needed support so i let the support team know @brisk coral
could you help me?
did u /papi reload after downloading the expansion?
is autorank plugin successfully installed without errors in console?
is autorank showing up in /papi list?
