#placeholder-api
1 messages ยท Page 121 of 1
that javascript also looks wrong
return no; will not work
return "no";
return "yes";
i got this message in console " Failed to set ScriptEngine for javascript placeholder"
Are you using ChatControl?
Okay NVM
My grief prevention placeholders are no longer working, is this a papi issue?
No
So grief prevention will have to make it work with the latest version of papi?
Should be a dev build floating around
Ill take a look
i get the same about the cooldown.js on your wiki it no longer works and says failed to set scriptengine but i do use chatcontrolpro lol 8.6 latest
Yeah chat control breaks the expansion
oh damn is it a setting on CC or i gotta remove it for now?
Just click the link
got it working fine thanks
Never heard of interactive chat
It might break it. There's been a few out there breaking stuff lately.
okey thank you
Hi, why is this error happening?
https://pastebin.com/UDc7jJ3n
Oh ok thanks.
/papi ecloud download Vault
/papi reload
yea, no.. this doesnt fix it. I suspect that Vault got updated and removed some key things that is needed to make this work, or that file needs to be updated. it says 1.6, Vault im using is 1.7
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.
@red hollow
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
latest release of Vault? this was the latest one
hmm
i havent installed an economy yet, was going to do one that had its own placeholder api hooks since i could not get this working, but i'd have expected the Vault one to work even just for testing.
try doing that
ill come back when i get that far... getting an unrelated issue with that plugin that i need to fix before testing it back on here.. lol.. sighs.. the joy of it all
Itโs always fun
ok, well. if you ever run into someone asking it again: If you do not have an economy installed, the Vault Placeholders do not work. They act as if they are not installed.
not sure if this issue has been touched on yet but placeholder for ajparkour only work when i add a line of text then stop working when i relog
i got problem with placeholder API "Animations" placeholder won't display
how do i post a image in here ?
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
Hello guys! Who know how to fix problem when papi didn't won't to hook into vault?
tried to redownload, nothing
just spam this and nothing: https://paste.helpch.at/qirudimiqo.php
i got problem with placeholder API "Animations" placeholder won't display
@vernal patrol i use heroaction plugin for action bar
Hello guys! Who know how to fix problem when papi didn't won't to hook into vault?
@green osprey i use essentialsX ? i use papi, vault and essentialsX work fine
I use CraftConomy3, and I was tried to use older version (PAPIv1.10.5) and error still there
i tried use scoreboard revision too but still not work
Any error in console?
no error
If i try tp parse Vault, for me give this error: https://paste.helpch.at/sinurararu.bash
Clip i swear to god, if I finish making this pr for JS expansion, you must merge it for me ._.
It will get rid the entire useless semicolon for later scripts
i use % in config
%animations_<healthbar symbol=โฅ fill=&c empty=&7 size=10 max=20>{player_name}</healthbar>%
plugin scoreboard i use is scoreboard revision
Anyone can tell what to do about this error I get when I try to compile my project using maven, I just updated the placeholderAPI version
anyone?
u silly goose
also when I reload plugin with plugman it seems that the placeholders for my plugin is lost
with previous versions
Not sure if it has something to do with I am using shade maven plugin
donโt reload plugins with plugman then they saying is plugman breaks your plugins..
https://imgur.com/a/E63lt9q
@vernal patrol ???
It should work fine
What version of animations are you running?
Make sure it is the latest version (1.0.5)
how to use 3rd'party plugin placeholder?
donโt reload plugins with plugman then they saying is plugman breaks your plugins..
@mental night I only use it on my own plugins when debugging.
why not put a reload feature in your own?
Hello, I need advice on upgrading to version 1.15.2. My friend told me to keep version 1.12.2 because version 1.15.2 is not very well optimized. Can anyone using version 1.15.2 give me any advice?
Under upgrading you mean client or server core?
i mean server core 'paper-1.15.2'
Well, if you have powerful dedicated you can use ViaVersion, ViaRewind and ViaBackwards with paper and it can give access to join from older version (Ex: 1.12.2)
im not using via
oof, you also can try protocol support
why not put a reload feature in your own?
@mental night As far as I can remember I dont think I would reload a new build at runtime, if that makes sense :/
but it can kill your scoreboard (Not fully sure mb this bug with my server)
okey
Who have the same problem when papi didn't wont to register BungeeCord expansion and spam this error: https://pastebin.com/1119ZTNS ?
alr
What does the log say?
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.
wait my placeholderapi isn't updated
Uh
this is bad
my log just got flooded with this
?paste
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
โข HelpChat Paste - Usage
โข Hastebin
there should be more than that
I'll give the entire log
uh possibly yea
my phone cant open startuplogs wew ๐
Any help would be appreciated.
This time I tried to download the expansion from in-game, when reloading papi, it threw the same error on console.
where can i contact him?
Is there anyway I can make it work?
yeah use this one
is this the expansion or plugin?
expansion
Idk what he did
Ya it is he did something
i do see this in the code (even in my pr, didnt really look at the code except for deprecated stuff), hes checking to see if the plugin isnt enabled twice. but surely that wouldnt cause a stack overflow right?
@Override
public boolean canRegister() {
return Bukkit.getPluginManager().getPlugin(getRequiredPlugin()) != null;
}
@Override
public boolean register() {
if (!canRegister()) {
return false;
}
plugin = (GriefPrevention) Bukkit.getPluginManager().getPlugin(getRequiredPlugin());
if (plugin == null) {
return false;
}
return super.register();
}
yeah hes calling canRegister in register then calling super.register
hey can u test this build in the dev repo and see if your issue is still occurring regarding the jetbrains annotations
yeah, just a moment
<repository>
<id>dev</id>
<url>https://repo.extendedclip.com/content/repositories/dev</url>
</repository>
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.10.9-DEV-94</version>
</dependency>
np
just use that dev branch for now. I dont know when the next update will be released as I have a few prs to merge when they are done and a few other things to fix
nothing is changing in terms of the api in 2.10.9 so u are good to use that
let me see your expansion class
A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.
yep
also whats /papi dump show
its registered
what placeholder are you using to test
./papi parse me %wyvencore_<whateveR>%
yes
Oh, I'll wait for that then
Ya
Tahnk you ๐
@bronze bison
fix your stuff
https://imgur.com/a/E63lt9q
@vernal patrol still waiting
@vernal patrol Enter that into this command:
/papi parse me %animations_(your stuff here)%
then check the console for any errorrs
whats broke in the progress expansion?
ah actually i think it needs a canRegister method if thats required
not required as it always returns true
unless you have getRequiredPlugin
then it checks for that plugin'
its using onPlaceholderRequest but thats only deprecated right?
nah that dont work anymore
o i see
https://imgur.com/a/DfJ5Nys
no error still don't work
clip go tell aboody to merge https://github.com/aBooDyy/Progress-Expansion/pull/8 ๐
Hi guys! How do you set placeholder return player's original name if no nickname is set?
@warm topaz join voice so i can talk
what do you use to set nicknames @strong scroll
cmi ๐ ty for responding!
ah with our expansions that have nicknames we always fall back to player name if the nickname isn't set. CMI manages the expansion for that plugin so your only options are to request it to fall back to the username if no nickname is set or you can create a javascript placeholder to do it for you
%cmi_user_display_name% would work
Ahh I see!
or there u go
I've tried %cmi_user_nick% but those without nickname don't show up. I'll give that a bash. Thank you!!
@junior musk It worked! tysm!
๐
@vernal patrol You got the expansion instlaled
Oh wait
Dont put your name in the tags
Put {player_health}
Just wondering if there is a placeholder to return how many people are in a region for example %worldguard_playersin_spawn% and it would return like 4 if there was 4 players sitting in that region. If there isn't would it be possible to add or would I have to get someone to use the API and create it.
Found out there isnt a placeholder like that
But how would I go along creating one?
How do I verify my email on the expansions site?
I haven't received any email
@ me
wym?
@warm topaz https://api.extendedclip.com/login/
f
did fc make ur account?
no
k
is the ecloud down?
Ah
๐
still ddos?
Aha, okay! ๐
can someone turn it on "We are aware of the sudden downtime of services such as the eCloud, Jenkins, and Nexus Repo."
Im trying to download placeholders for luckperms but I am getting some errors. How do I fix it?
[PlaceholderAPI] failed to download LuckPerms:5.0-R2
Oh
@median kindle Did you read #announcements? - It's an issue on OVH's end, not clip's
Yeey
yeey
Hey, when PAPI tries to load the bungee placeholders I get the error [PlaceholderAPI] Failed to load placeholder expansion from class: com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion Anyone know why that is happening?
Yeah we probably need to update it
he's here xD
Idk I havenโt checked that expansion yet
/papi reload gives the same error and updating it didn't work
i took the role myself ๐
Here's the stacktrace incase that helps: https://pastebin.com/5SiSyGUT
I'll try uninstalling it and reinstalling it
it should be updated?
2.0 was wrote by sxtanna
Ah, I have two jars, one called Bungee.jar and the other called bungee.jar
I assume at somepoint the name changed and I updated two
@final shadow how would i go about "maintaining" the chat reaction expansion as we discussed in voice call. ive got a nice update ready to go rn ๐
@warm topaz,
Please respect the rules, be patient and don't ping staff members!
are u able to transfer ownership for the expansion on the ecloud?
Yeah
my ecloud username is kaliber โค๏ธ
Put {player_health}
@heady falcon it works thanks
if I run /papi ecloud list installed gold means it needs to updated?
yes
and if I run the command to download latest and it stays gold then there is no update or an issue
either or yea
mcMMO and bungee are not updating
any errors?
whats the versions of these expansions?
https://api.extendedclip.com/expansions/bungeecord/
https://api.extendedclip.com/expansions/mcmmo/
stop the server and download them here and then see if they update correctly
still no change in version
where can I see the documentation of PlaceholderAPI#setPlaceholders ?
What do you need to know about it
do I have to put %% when i'm talking about of an OfflinePlayer?
String result = PlaceholderAPI.setPlaceholders(Bukkit.getOfflinePlayer(UUID), "%"+identifier+"%");
OfflinePlayer is not null, but it returns " " ๐ค
What is identifier
kitbattle_coins for example
String resultado = PlaceholderAPI.setPlaceholders(Bukkit.getOfflinePlayer(UUID), "%"+identifier+"%");
Bukkit.getConsoleSender().sendMessage(result+", of "+Bukkit.getOfflinePlayer(UUID).getName());
server log:
[21:40:53 INFO]: , of TesterDev
yml, i can do some debug messages for make sure that i'm using the placeholder
Im having an issue on 1.15.2 where PlotsSquared placeholders arent returning the actual data, I have downloaded the ecloud along with reloading papi but it still isnt working.
Ive updated both PAPI and PlotsSquared for 1.15.2
ping me if you can help
Is ChatInjector up-to-date with the latest papi version? My placeholders aren't working in chat. (ping me :D)
@austere hawk @mellow gull I'm assuming both of those problems are on the plugins side and not papi. I had the same issue with grief prevention until it was updated today. If I am wrong someone please correct me
@final shadow I want explanation right now https://img.mrivanplays.com/rh8VNTW0DT.png
@odd python,
Please respect the rules, be patient and don't ping staff members!
how am I supposed to put a online player inside without ide screaming that the method is scheduled for removal
Cast to offlineplayer and it wonโt scream at you. Btw that wasnโt my doing
whoever made this, he's stupid
There is a way for get an placeholder result from an offline player? (literally offline, when I set a placeholder with an offline player, returns a blank string)
Im using PlacerholderAPI#setPlaceholders
It really depends on the expansion since some do require a player online. Ex in player expansion u can get the name or uuid of the offline player but u canโt get the location without them being on the server
which means online player should be enforced
no matter what
I mean yes for some applications you can use a offline player but you shouldn't break the api that rapidly cuz this screams bad practice
Nah I got it, looks like is an error from the plugin that Im using, that returns a blank string, is not an error from PAPI.
It really depends on the expansion since some do require a player online. Ex in player expansion u can get the name or uuid of the offline player but u canโt get the location without them being on the server
@final shadow essentialsX tp offline player maybe ?
wait
Looks like everyone is using
if(Player == null || !Player#isOnline){
return "" ;
}
Can't seem to get the right name / format for the enchants with this placeholder. %player_item_in_hand_level_enchantment%
Ive tried, efficiency, Efficiency, EFFICIENCY, and DIGSPEED
Got it, it was literally the last possible option hahaha DIG_SPEED
@odd python can u do me a favor
my ears are open
Will you create an issue on git regarding not using offlineplayer so we can get a discussion on it. If everyone agrees I wouldnโt mind sticking with player for 2.11 but Iโd want everyone on board
sure
I guess if thatโs what people want, 2.11 would be the time to break some more things haha
The offlineplayer thing has been in there forever tho. I guess my goal was the hope that more expansions supported it. I do see your point on just sticking with a player though since thatโs pretty much always the case where the player is online
more chances
I think that's probably a good idea
No one is really going to try and replace placeholders for an offline player are they?
The latest GriefPrevention expansion still won't work
So the problem is this will def be a breaking change
But Iโf weโre gonna do it might as well break things one last time
If you dont want it to break you should keep OfflinePlayer
And my best suggestion is if you are going to make it break, break it all in one update (rather than 2 or 3 if you see what I mean)
Iโd say break it once and be done with it
onRequest would break
setPlaceholders we can get by with
Actually I think I can gracefully transition back without too much breaking
what I think is that we need placeholderapi v3 asap
except if its bad api this will fix later
[16:03:29 INFO]: UUID of player * is *
[16:03:29 WARN]: [ViaVersion] Ignoring plugin channel in outgoing REGISTER: WECUI
[16:03:30 WARN]: java.lang.IndexOutOfBoundsException: Index: 0
[16:03:30 WARN]: at java.util.Collections$EmptyList.get(Unknown Source)
[16:03:30 WARN]: at com.gmail.nossr50.util.player.UserManager.getPlayer(UserManager.java:101)
[16:03:30 WARN]: at pw.valaria.placeholders.mcmmo.bridge.classic.McmmoBridgeClassic.getPowerLevel(McmmoBridgeClassic.java:109)
[16:03:30 WARN]: at pw.valaria.placeholders.mcmmo.bridge.placeholders.PowerLevelPlaceholder.process(PowerLevelPlaceholder.java:16)
[16:03:30 WARN]: at pw.valaria.placeholders.mcmmo.bridge.McMMOPlaceholderExpansion.onPlaceholderRequest(McMMOPlaceholderExpansion.java:77)
[16:03:30 WARN]: at me.clip.placeholderapi.PlaceholderHook.onRequest(PlaceholderHook.java:38)
[16:03:30 WARN]: at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:326)
[16:03:30 WARN]: at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:525)
[16:03:30 WARN]: at io.puharesource.mc.titlemanager.internal.placeholder.PlaceholderAPIHook.replacePlaceholders(Hooks.kt:17)
[16:03:30 WARN]: at io.puharesource.mc.titlemanager.internal.services.placeholder.PlaceholderServiceText.replaceTextFromHooks(PlaceholderServiceText.kt:107)
[16:03:30 WARN]: at io.puharesource.mc.titlemanager.internal.services.placeholder.PlaceholderServiceText.replaceText(PlaceholderServiceText.kt:94)
[16:03:30 WARN]: at io.puharesource.mc.titlemanager.internal.services.features.ScoreboardServiceSpigot.setProcessedScoreboardValue(ScoreboardServiceSpigot.kt:132)
[16:03:30 WARN]: at
~~
How do I solve it?
Please whisper the original
this is via version
Yea?
Expansion-mcMMO version?
Maybe until 3.x we just keep it how it is but next update I fix the deprecation issues when passing player
git-Paper-1618 (MC: 1.12.2)
mcMMO version 1.5.10
Placeholder API version 2.10.6
I am using this.
......
Which version do you download the Placeholder API version from?
Hello
hello
i have a bungee server and i would like to display the total number of people on more than one server but not the players on the other servers can i use the %bungee_<servername>% placeholder with multiple servers if so how
@compact karma %math_[precision:0]{bungee_<server>}+{bungee_<server>%
thanks
but did you mean %math_[precision:0]{bungee_<server>}+{bungee_<server>}%
or is that wrong
Hi, i'm adding support of PlaceholderAPI to my plugin. So, I do like the API said, and then I check the log:
[13:05:03 INFO]: [PlaceholderAPI] Successfully registered expansion: myplugin
[13:05:03 INFO]: [MyPlugin] Loaded support for PlaceholderAPI.
[13:05:03 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[13:05:03 INFO]: No expansions were registered!```
It says that it register my plugin, but after it also say that there isn't any plugin register...
Expansions, not plugins
expansions are a different thing
its a way to add support for papi for a plugin without doing it inside the plugin
its on the wiki as well
I understand, but "registered expansion: my", "no expansions were registered".
wait so you have an expansion as well?
Maybe I try to register it before the plugin start ?
wait so you have an expansion as well?
@turbid tide I register one in my plugin yes:
public class PlaceHolderAPISupport extends PlaceholderExpansion {
private MyPlugin plugin;
public PlaceHolderAPISupport(MyPlugin plugin) { this.plugin = plugin; }
@Override
public boolean persist() { return true; }
@Override
public boolean canRegister() { return true; }
@Override
public String getAuthor() {
return plugin.getDescription().getAuthors().toString();
}
@Override
public String getIdentifier() { return "myplugin"; }
@Override
public String getVersion() {
return plugin.getDescription().getVersion();
}
@Override
public String onPlaceholderRequest(Player p, String identifier) {
// never called
}
}```
well inside your plugin right? its not another jar
that you've put in plugins/PlaceholderAPI/expansions
Yes in my plugin jar, located at /plugins/MyPlugin.jar.
yeah then it won't show in expansions loaded
it won't count I should say
that only counts external expansions
so unless the plugin doesn't work you don't have to worry about anything
well about that at least
xD
xD
The plugin doesn't work >.<
Do you have a test plugin just to check if placeholder are well checked ? Because with FeatherBoard, it doesn't work
Edit: FeatherBoard doesn't work with PlaceholderAPI ๐ฎ
ok
What does the parse other placeholder do?
As in the expansion?
onPlaceholderRequest needs to be changed to onRequest
Hello, I installed the last version of the placeholder API but there is a crash when I start the server. my server version 1.8.8 https://paste.helpch.at/odozigabih.bash
Hello, Any idea when/if MultiEconomy will be updated to support the "updated" PlaceholderAPI?
Wasn't planning on it but I suppose I'll need to. Is that in the eCloud?
Yes
^^, Thank you ๐
Ill look into it in a few days
@turbid tide do i need to download any ecoulds because the placeholder is not working
@compact karma,
Please respect the rules, be patient and don't ping staff members!
yes
the math one
and the bungee one
/papi ecloud download Math
/papi ecloud download Bungee
/papi reload```
thx
all so is there any way to make the bungee player count placeholder to update faster
thx
By the way: ... annotations when using shit IDE's is Jetbrains IntelliJ 2020.2
@manic drum ๐
Hey how do I fix the placeholder api error
fuck off
just fix it 
ask kangaroo
quick question, to update placeholderapi, i just copy the jar file into plugins, or do i need to delete the placeholderapi folder first?
Yes
Update the jar file (replace the old one with new one)
theres no need to delete the folder, just replace the jar
thank you greatly.
Don't really understand Math expansion quite well. Here is what I'm trying to do /papi parse EarthAgar %math_{player item in hand level greed} + 1%
Ill get an error msg in one sec
/papi parse me %player_item_in_hand_level_greed% what does it return?
also you used _'s inside {} ?
the placeholder on the spigot page doesn't have _ but Ill try that
๐ค
Ooof I just got Internal error occurred
?paste
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
โข HelpChat Paste - Usage
โข Hastebin
where is this greed enchant from?
AdvancedEnchantments
Kaliber, bottom of this update page is where the placeholder is https://www.spigotmc.org/resources/โญ๏ธ-advancedenchantments-โ -create-custom-enchants-โจ-195-enchants-โญ-1-8-1-16-30-sale.43058/updates?page=19
im guessing thats an internal placeholder, not one from placeholderapi
Oh so like I wouldn't be able to use it outside of the plugin?
as for ur error, im guessing that ur plugin doesnt actually register the enchantments, so when u try to use the placeholder, it cant find an enchant called greed.
no
Ok I'll try to discuss it with GC.
i could be wrong tho. but the player expansion doesnt hook into any enchantment plugins to fetch enchantment info, so it only has knowledge of the vanilla enchants
That placeholder is from the plugin for custom enchants
which is an internal placeholder
but the one blitz sent u im on about, as thats what u should be using
is the new papi good or should i stay with the 2.10.7 papi?
new papi is good
2.10.9 is good now
ok
mcMMO and Bungee expansion report wrong version numbers
Not expecting much of help from here, as it is a Jobs issue, but their support sucks, but for some reason my placeholders for Jobs has just stopped working. All other placeholders work but this just doesn't. Any help from someone that is willing to assist in this issue?
You're using PlaceholderAPI 2.10.9?
If you do, the Jobs-Expansion hasn't been updated yet
@final shadow fix the Job-Expansion since it isn't os, thank you
@rare lily,
Please respect the rules, be patient and don't ping staff members!
@rare lily do you know which version does support the jobs expansion? My server is running in 1.13.2, so it doesn't have to be recent.
if a placeholder is made by clip can we request for a fix to the new version or no?
which one
Ya which one
bungee the versions were not updated
playerpoints lol
Ok
thank you!
when I run /papi ecloud list installed, Bungee claims to be outdated but it is not
can I get help in understanding why I can't get the statz expansion to work
FizzleTits
All u gotta do is talk trash about shit ides
MrMcYeet
I get null return error when I check for one of these placeholders https://paste.helpch.at/emoseyujod.java
hi
Javascript placeholder dont work now?
[PlaceholderAPI] Failed to set ScriptEngine for javascript placeholder: cooldown
yo does papi ecloud support subside koth?
@brazen isle @grim swan has a an updated playerpoints expansion you can use
@final shadow any idea for my issue?
No idea. What java version
8
Can u paste the startup log
@austere hawk out of curiosity start the server without Boss installed
[07:58:54] [Server thread/INFO]: [UltraAFK] Enabling UltraAFK v9.5
@dim nexus โค๏ธ
@austere hawk out of curiosity start the server without
Bossinstalled
@balmy marten work
tf
Yeah kangarko does some funky stuff with js that doesn't play nicely with papi
What does this mean? Failed to set ScriptEngine for javascript placeholder
I updated ChatControl and PAPI and I'm getting this error now, and none of my javascripts work now
same
Again kangarko doing funky stuff
Our lord and savior, mr thread.sleep man
Yeah chatcontrol or any of kangaroos plugins donโt play nice with JavaScript
Did the format of javascript_placeholders.yml change?
@austere hawk I created a bug report here: https://github.com/kangarko/ChatControl-Pro/issues/1799
Shouldnโt have changed
Okay, that's the only thing I can think of, like it doesn't find the 'engine:' part
Hopefully kangarko answers soon, ChatControl has gone through some major turmoil lately
Haha same with papi but I think weโre good now
I had a bad time when you changed javascript stuff before. It was a bit annoying to have to rewrite everything, but at least it is more organized now on a per file thing
For PAPI? What is added/changed with it?
supervanish placeholder/%supervanish_playercount% can't be used on version 2.10.9 but it work on version 2.10.7 papi
Scripts no longer require ;
And support for multi line comments in your script files
Golok if itโs my expansion Iโll update it after work
Multi line comments sound great, but I'm still using ; because I'm not a heathen
I use them too but it wonโt be required
Cool
I can track metrics of how quickly people update placeholderapi in real time by just looking at the reports of people letting me know that PlaceholderAPI#unregisterExpansion doesn't exist
kek
Lol
put \ before _ to stop making it italic
How do I use this place holder "%objective_score_<obj-name>%" ? pls help
I have an objective named "Times_Died"
Does the statistic remaining placeholders have changed? The placeholders return Unknown statistic 'seconds_played_remaining', check https://helpch.at/docs/1.16.1/org/bukkit/Statistic.html for more info for me.
In detail I mean the following placeholders:
%statistic_minutes_played_remaining%
%statistic_hours_played_remaining%
%statistic_days_played_remaining%```
player placeholder don't work with scoreboard revision
it show nothing 2.10.9
should i downgrade placeholder api ?
because it work fine before
Does anyone know why the leaderheads placeholders arent working?
I tried %statistic_seconds_played% but it doesnt work
@austere hawk it doesn't have anything to do with LeaderHeads, it also doesn't work in PlaceholderAPI itself, which you could check with /papi parse me %statistic_seconds_played%
/papi reload```
did that already
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
send a startup log please
What is 'expansion-leaderheads'??
thats the one that supports your plugin right? xD
I didn't write no expansion, so no clue where you got that from
i just typed /papi ecloud download leaderheads and it downloaded it
https://pastebin.com/pKgx7hCW heres my startup log
Yeah don't download random expansions, my wiki doesn't say anything about having to install that
https://imgur.com/a/dOafOSf idk man
just got it from here
@steep thorn I got it from placeholderapi their github btw
@austere hawk please show me where
ctrl+f (leaderheads)
and if you click on ''more info'' it sends me to the page you send me
thats how I got the info
'no download command'
im confused man
https://api.extendedclip.com/expansions/leaderheads/ it is on the ecloud itself. not too sure why its verified either if u havent made it. u could probably get this removed
Yeah it's an unofficial one made for older versions, not really sure why
Soo is there something I can do to make it work?
I don't see anything about the Statistic expansion in your startup log, but I'm not really an expert at this
Run /papi dump
And give us the link
Also robin Iโll unverify that if u have stuff built in
@steep thorn
@austere hawk run the command above
I think gian made it and I don't really want to destroy his work, but it's certainly confusing for people
Maybe it's possible to rename it to 'leaderheadsold'?
Not gonna delete it but Iโll mark it so it donโt show up In game
Ok, fine for me
If they want it they can download it manually
foood
it was so good
what u get quick quest
Done
idk what its called in english
Clippos are god tier
its like a spring roll
Robin itโs unverified so no one will be able to download it in game anymore
papi <3
./papi dump
why did it not get executed?
I dont know. it just doesnt say anything when I type it
No errors nothing
ohh wait it did give an error
u did get this when reloading papi https://paste.helpch.at/ubayitipaw.bash
yeah
@final shadow any ideas? idk what it means
try running the download command again now that ur on 2.10.9
Yes i did
hmm
It says I succesfully downloaded the expansion
but then again. /papi reload doesnt work
i assume ur getting the same error
see what clip/someone else says, as ive no idea
Alright. thanks for helping me out
@austere hawk im not on my pc yet but if u can please create an issue on GitHub regarding this
@final shadow There's an issue with latest PlaceholderAPI
That way I donโt forget
When the server stops, it's printing out errors
Yes letโs see them
Ill try to create one. Im not that familliar with github
I just read stuff on there xD
Itโs easy Iโll like you
Link*
Just select the issue and provide the info it asks for
Then Iโll be able to figure it out when I get on my computer
The error was given above.
@austere hawk basically same thing as gils
Some expansions arenโt doing things right
I can try reset the folders.
Every plugin that uses Papi, prints out the error.
Yes but the stack trace falls back to that expansion for every plugin
Donโt worry Iโll come up with a fix
One expansion breaks them all
Itโs mine for not handling issues with expansions that may cause errors
Alright, thanks @final shadow
Ask him what getAuthor returns in his outpost expansion
Or where is this call so I can join
@austere hawk
He is getting it out to see.
add to the friend
Made the issue clip!
Ohh oopsie I forgot to say one thing in the report.
Its that /papi reload doesnt work at all
@austere hawk
try this build https://ci.extendedclip.com/job/PlaceholderAPI/101/
should be fixed
server is starting right now with the new version
might not work but
/papi reload still doesnt work
btw does it automaticly enable when you restart the server or do you have to type /papi reload?
it automatically enables
send your startup log
also do /papi dump again on this version
just to be sure...
ohh
i dmed you the pastebin
just realised the ip adresses are in there aswell xD
gonna have to sit on this one for a bit until i get some time to look into it
apparently if you say "like this update to pay respects" you get a shit load of likes
๐
never had an update with over 30 likes lol
I guess that's what happens when an update is pushed that fixes stuff.
I meant pay respect to the eclipse users
Ahh
Idk why sx added a hash code method that fetches values from wherever
The issue was plugins disabled but provided expansions
Papi still has a reference to the expansion but the plugin was null
They used plugin.getDescription.getVersion and get authors
Which I actually use in some of my plugins
Well the hash code method was called after the fact
By the way
Look what just arrived
@mint fable
๐ฎ that was fast
Weโre only a hop skip and jump away from each other
Oi, I found a flaw in PAPI's TimeUtil class, plus I reckon it could do some rework in general. Should I make a PR or explain and leave it up to "the owners of this repository"?
Pr the fix
gotcha
Appreciate it if u do
Thanks and look forward to understanding what you would do is better. (Yeah I know my way is probably shit)
hello, I have a problem with my PlaceholderAPI in my plugin. The Spigot page says the problem with the expansion is fixed but i can't extends my class with PlaceholderExpansion. Thanks
Whatโs the issue exactly @slender island
i don't understand because the spigot page says the problem was fixed on 2.10.9
Import
the import is the same think as the first screenshot
Are you using eclipse or something
yes eclipse
Restart but before you do go to settings and find the option to update on start or load of the project
Eclipse is garbage regarding refreshing your dependencies
Spent like 3 hours yesterday in eclipse dealing with this
Coming from eclipse I said the same thing at first
@mellow gull,
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
Is this a papi issue, or is it another plugin?
ping me :)
In fact, everything is lowercased
this is a very weird issue
lmao
NOTHING I type is capitalized
thats not placeholderapi
alright, thxx
I don't think I ever got an official answer for my issue last night, but it's even worse now and think it might be a PAPI issue this time. Now only are JobsReborn placeholders not working, but Rankup isn't either. I've tried two versions of PAPI and two different leaderboards (where I am trying to use the placeholders) and nothing seems to work. I have downloaded jobs placeholders and rankup doesn't require any.
what version of papi did you try?
I have tried 2.10.9 and 2.10.4
try papi 2.10.6
its hard for me to believe its a papi problem since I do use papi 2.10.9 and latest version of jobs and everything seems to work fine
Nope, nothing.
It seems like something is broken with my server, since one of my friends was using the exact same rankup plugin and scoreboard I used and it worked.
I just don't know where the issue would be located
have you tried parsing the placeholders in chat? /papi parse me %placeholder%
to see if they actually work there?
Nope, they don't.
Hello why the bskyblock placeholders dont work to me?
I use scoreborad
I found the problem at the website u have a mistake
on github: %level_[gamemode]-island-level%
need to be: %level_[gamemode]_island_level%
and the same to all BentoBox
are you sure?
Hi, i tried to register an account on the papi ecloud website and it said to go into the discord?
can anyone help
,_,
@final shadow how can i register an account on the ecloud website?
@potent cobalt,
Please respect the rules, be patient and don't ping staff members!
Hello I have a problem with placeholderapi since I downloaded the latest version of this the trmenu does not work before I had the previous version of the new one and if it worked but since I updated the version it gives me that error with the trmenu
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
โข HelpChat Paste - Usage
โข Hastebin
@alpine cipher,
Please respect the rules, be patient and don't ping staff members!
@potent cobalt my email verification is broken atm hence why registration is disabled
I can disable it and u can create an account
Lmk when ur ready
@alpine cipher What error did you get?
@final shadow ready when you are
@potent cobalt,
Please respect the rules, be patient and don't ping staff members!
@potent cobalt give me 2 mins
alrighty
k
make the account and disregard the error at the end
let me know and ill enable your account after
send the username though
ok try to login
sweet
I can't get the Animations expansion to function properly
Does it still work on newest version of papi?
@limber ice,
Please respect the rules, be patient and don't ping staff members!
I was thinking it was an issue with my statz expansion I have been trying to get to work, I looked in expansion folder to find two bungee expansions
Is there a way for players to use placeholders in chat?
Hello?
I get an error with the serverselecterx plugin. It is updated and I get this. https://pastebin.com/UNg4M4K4
@vast mauve,
As part of the 2.10.7 PlaceholderAPI update we broke some methods, please update to the latest PlaceholderAPI release found here to fix these issues.
Make sure luckperms and the luckperms expansion are both up to date
@balmy marten tempmute cmd, ty :*
yo is there a player playtime placeholder?
hi, I have a question regarding Placeholder
It seems after adding hooks and reloading the only hooks that exist are the ones from other plugins and not the ones from ecloud
also reloading randomly removes some hooks that are coming from the plugins installed
Run /papi dump
Can I see the latest.log
@royal zinc
Sorry at work so my responses might take a min
No worries, sure ill grab it in a sec i'm making a backup of the server. I'll pm it to you in a few
Ok
hi i tried gain on papi members on group in luckperms
there is a way?
In the last version of PlaceholderAPI all writings are lowercase
How i can solve?
Hello. I found a bug with displaying Statistic placeholders. The fact is that he does not place dividing marks. For example, I received 19065.20 damage in the Minecraft statistics window, but the placeholder gives me 1906520 damage. How can I fix this?
Create an issue on the github page for that expansion
Marzy, see https://helpch.at/placeholders#luckperms
Ricky, I'm not too sure what you mean
I see this but i didnt see variable with players nick in group XYZ :<
@iron turtle Statistic, %statistic_mine_block:<material>%
oops sorry wrong ping :kekw:
@austere hawk
@heady falcon I can't get any animation to work. When using rainbow it's one solid color and changes when I refresh, gradient says it's not an animation, the flashing/fade just show half of the text. I tried downloading it from ecloud and from their github and manually dropping it into the expansion folder to no avail
Tried using them with multiple plugins as well with the same result
gradient dont exist in the expansion yet
whatever plugin is using them needs to refresh the placeholders
can you give me an example of the placeholders?
I'm trying to use them with holographic displays and that definitely refreshes them lol
%animations_<rainbow>testing</rainbow>%
Yeah iirc
To refresh the placeholders, because HD wont do it automatically
yeah
Make sure you add {fast} or something
To make sure they update
Have you got that?
Ahh that fixed it actually
is that part of holographic extension?
Yeah
Alright. Thanks a ton!
https://paste.helpch.at/utejopepik.pl im having issues with /papi parse me %statistic_mine_block:sugar_cane%
Have you broken sugar cane before? o.o
Hey there,
I am the main developer of MultiChat and we allow people to use PAPI placeholders in our chat formats. However, using versions of PAPI 2.10.7 or higher cause an extra space to be added to some chat formats when using java PlaceholderAPI.setPlaceholders(Bukkit.getPlayer(player.getUniqueId()), message);
In Spigot the %1$s and %2$s variables are automatically replaced with player's display name and message respectively. But for some reason, as of PAPI 2.10.7 the %2$s variable is getting an extra space added onto the end of it. It is going from '%2$s' to '%2$s '. This is then causing double spaces to appear in players' chat.
One of MultiChat's contributors thinks it is the change that happened when the following method was updated:
@NotNull
public static String setPlaceholders(final Player player, @NotNull String text) {
return setPlaceholders(((OfflinePlayer) player), text);
}```
which calls:
```java
public static String setPlaceholders(final OfflinePlayer player, @NotNull final String text) {
return REPLACER_PERCENT.apply(text, player, PlaceholderAPIPlugin.getInstance().getLocalExpansionManager()::getExpansion);
}```
which calls: https://github.com/PlaceholderAPI/PlaceholderAPI/blob/master/src/main/java/me/clip/placeholderapi/replacer/CharsReplacer.java#L42
@fair abyss im not sure where this issue lies. I am currently testing and can't replicate a space being added using %2$s
Would the /papi parse command return the exact same result as calling PlaceholderAPI.setPlaceholders(Bukkit.getPlayer(player.getUniqueId()), message); ? Because the space only seems to show up for me when using the API, when I use the parse command I get the same result as you do there
We ran the following code earlier:
System.out.println(message);
// If we are hooked with PAPI then use their placeholders!
if (LocalSpigotPAPIHook.getInstance().isHooked()) {
message = PlaceholderAPI.setPlaceholders(Bukkit.getPlayer(player.getUniqueId()), message);
}
System.out.println(message);```
Output is:
[09:35:19] [Async Chat Thread - #0/INFO]: '[G] %1$s: %2$s '```
Could it be that it only happens at the end of a message?
Yep
switch to dm
Hello everyone! Lombok breaks if when I try to create my own expansion
More into details, I don't know how do you add the jetbrains annotation as dependency into papi, but it doesn't get inherited, so I have to add manually to my project to avoid compilation errors.
@final shadow
@leaden wraith,
Please respect the rules, be patient and don't ping staff members!
Refresh your dependencies if using eclipse. I deleted my entire .m2 and tested with that shit ide and had no issues
yeah I use eclipse, but I couldn't build from commandline too
Are you sure that your dependencies updated though
I used eclipse for years and never realized how much of a headache dependencies are until the other day
placeholderapi's latest version is making the first word of everything lowercase. Only in the game chat, not the console.
IJ supreme 
wha?
I downgraded to like something.something.8 and it works fine, only now my placeholders don't work (waiting for chatinjector to update)
here
https://imgur.com/a/hor25I8
@mellow gull
i asked this a couple days ago, and someone said it wasn't papi's issue
but...
yeah
Let me test
I don't know about the gradients and colors, but
thats using another plugin which calls setPlaceholders
right
hmm
idk? lol
what is the plugin that is setting placeholders doing
thats the question
as u see i tested papi directly and another plugin and its def not setting anything to lowercase
so you think I should upgrade and remove chatinjector?
i think we should figure out what plugin is causing it because I don't believe its papi doing it
but i don't think papi alone can put placeholders in chat, can it?
dont get me wrong it might be in some weird way
do ya want my plugin list?
u sure its not your chat formatting plugin or something?
just wondering and not blaming
