#placeholder-api
150650 messages · Page 12 of 151
wew
Who’s the author of the gp expansion
Maybe we should fork and maintain it if he doesn’t
im happy for me to maintain it
people use it, i can try to provide updates to it frequently
I did at one time but Pixar took it over
ah i see
Don’t really matter to me who does tho lol
as long as its up to date 
its 1 less thing for u, so im happy to do it
i believe its a win-win to everyone
- i already updated it

I don't know why, but even on 2.10.8, chatcontrol and premiumvanish still don't parse the placeholders
And I can't find anything in my console about what is going wrong
tell them to update their shit then 
I thought that was not needed anymore (for now)?
2 methods have been removed enitrely afaik
and theyre probably still using them
the rest are deprecated for now
BossShopPro also doesn't parse placeholders.. that's a problem since it probably doesn't get an update anytime soon
BossShop is still alive? 😮
Not as much as I hoped
Never heard of that
What ever happened to the big TrMenu update?
https://github.com/Arasple/TrMenu/actionsWhy did you put that as a spoiler, lol?
yeah =/
I'm not sure if the dev will add one because he said that it's very complex
👀
Could be a way lol
And since the DM migrator wasn't updated for TrMenu v2....
BSP -> DM -> TrMenu v1 -> TrMenu v2 x)
😆
Ahh.. doubt that converts 100% correct that way.
the DM -> TrMenu v2 should be done soon anyways I guess
Ahh.. doubt that converts 100% correct that way.
at least we would have tried
¯_(ツ)_/¯
But TrMenu doesn't seem to have much updates either, last one was 6 march.. even BSP that I thought was dead received 1.16 + hexcode support though
ive used gabys converter before (to convert chestcommands to DM), it works fine. just not sure on TrMenus end. i assume its fine
That just removes the updater, not really an actual update in my eyes
TrMenu v2 will come on Spigot as Premium , but will still be open source and free to download on GitHub
I see, i'll consider it
Ah, I know the reason you hid the link, is it because people shit talk you for saying TrMenu? 😉
not all but some can ¯_(ツ)_/¯
Why did you hide it, I must know 🤔
I have no idea x)
What if I get a virus? 😭
I'm so scared, 😭
anyways, it's not really the channel for that
Yeah okay, anyways, hope your having a good day 🥳
And what does x) mean? Is that like a EU thing?
x) is like xD and is like lol
oh ok
Does TruMenu V2 support all versions 1.8-1.16?
Pretty sure it's because he's from EU, idk.
Normal people: looks at $20 resource no thanks 😭
Github users: Let me compile it hold up.
I mean you could classify normal people as the same 😉
actually github users: let's make my own plugin
Just some normal people don't know how to compile, and some do.
by copying the code from the open source plugin
weirdo
;-;
🙂
I will never skid :kappa:
actually github users: let's make my own plugin
by copying the code from the open source plugin
that's exatcly that https://github.com/Proximyst/TAB-1
yeah
is that just the downloaded source like nothing changed at all?
What do you wanna do with it Blitz 👀
with what?
is that just the downloaded source like nothing changed at all?
Added spaces, removed spaces, add protocollib dependency while useless, and some useless things
@austere hawk hey can you update your placeholders for the HealthBar expansion?
Also maybe use 6 x instead of 5, just so people don't get confused about the hex
You gotta go to Expansions > Your Expansions and then you should see the edit button (looks like a gear)
Hi, will a Bungee version be released some day?
I would like to you know, hook my plugins with PAPI on bungee and for example be able to show them on my motd with no effort
And hook them together with a good api instead of directly doing it
its suppose to come out with papi v3. so SOON™️
Hello, I need help with the PlaceHolderAPI. I am using the Clans - Clan System plugin. But the Prefixes of the clans do not appear to me
I've made it use 6 x's probably didn't check correctly before uploading also I'm not able to modify this in the update log?
i don't think so
Any can help me? :C
you added the placeholder anywhere you want to show the clan prefix?
why are all setRelationalPlaceholders(Player, Player, ...) methods deprecated and tell us to use setPlaceholders(OfflinePlayer, String) instead?
what version are you on?
what is the Math variable to make the sum of 2 servers (skywars1 and skywars2)
%premiumvanish_bungeeplayercount% i tried using this command in a scoreboard but it doesn't show players count
what type of scoreboard?
as in what scoreboard plugin
also do /papi parse me %premiumvanish_bungeeplayercount% and see what it returns
Anyone got chatreaction working with papi?
I have downloaded and parsed the placeholders but none of them seem to work. Never had this issue with any other plugon.
i think i PRd this
prd?
A nice was just here to report the same issue as you Firosee
yeah i did
but i have no idea where to report this
pull requested
Ah
do u know how to compile urself or shall i
ok ill do it
awesome thanks
yea i updated it
the dev build?
no the expansion
oh ok
i see you guys got this all under control already,
have a nice day guys o/
you updated it on the cloud or do i gotta add it manually 👀
alr
obviously
do you have the update
^
i don't see pr
did i not pr it?
the pr was already done i see
i definitely committed
ye i will
bet
@glad glen do you have access to that stuff? (updating other ecloud expansions)
it doesnt have maven/gradle so i gotta do it the long way 😆
i don't
rip
ay ty
@austere hawk 
awesome tyty guys
please test it 🙂
all of em 
and made it the best
it really is the best
you did

idk but im happy to take over some of the more obscure ones like chatreaction for example
nbt?
%checkitem_add_mat:stone_amt:1%
ye ye
i thought about it
maybe next time I update it
it just kind of ruins the purpose of checkitem
whats wrong with with the give commands
it's not checking jack shit
it just kind of ruins the purpose of checkitem
(those were sent backwards)
and a give command would just be better
the mc give command is the best
nobody uses it lmao
I made a giveall command yesterday xD
for my plugin xD
lame
do you have special stuff?
like lore and what not
in front of them
and plays a pop sound
not for /giveall
but if I do /giveall hand it just copies the itemstack
so everything stays the same
so I can give special items from hand
1 sec brb
also
a cool thing
is that if you don't specify the amount
just /giveall dirt or something
it takes the maxStackSize
and uses that
not like essentials which just gives 64 of everything
xD
what I need to add is custom potion names so I can just do /giveall speed_potion or /giveall speed_throwable_potion and stuff like that
but that's for another day xD
also this kinda went off topic :)))
noice
ty for dat
0
during a chat reaction?
nope
i think you should make it return a number instead of nope @warm topaz, kinda weird
😆
xD
im thinking of maintaining this myself
i have a few placeholders in mind that i can add
if clip is happy with it ofc
Whole of chatreaction? If so go for it cos it needs updating
nono
just the expansion xD
xdd
@final shadow 👀
@pulsar siren,
been over a year since an update xd
has it really?
omg
also, can we get the source for deluxetags expansion on github 👁️
the repo was created but theres no code 😆
Hello, the Statistic Expansions is working correctly?
Wow, now for older versions we can use the command, cool solved.
xD
%server_uptime% is broken :/
clip is aware
|| apparently someone changed something in the expansion but clip isnt naming names ||
=paste
@amber dirge,
bruh im on 2.10.8
dw about it you'll need to wait for a fix
Is there a way to return a placeholder argument? For Example, the %onlineplayers_names% placeholder, is there a way to grab just the 2nd name in that string?
what name? server_online returns an integer
sorry let me rephrase
Hey! is there a way to list placeholders through commands for hooks that aren't on the ecloud?
or a listplayers placeholder
@static crescent you want to get the list of online players and get the 2 player in that list?
ah
For any placeholder that prints multiple values
🤔 idk
Thanks for you help
so you want to get the second value of a random placeholder that returns a list/
then your best bet is javascript expansion
Is there any example expansion like that that i could use?
var placeholder = args[0];
fun getSecond(){
var list = placeholder.split(",");
return list[1];
}
getSecond();```
just made it
I think it should work as long as they are separated by just a comma
if its like string1, string2, string3 then change .split(",") to .split(", ")
could anyone tell me what the permission nodes are for PlaceholderAPI
thank you
Hey
For some reason my placeholderAPI is not updating in realtime
it only updates when i reset the holographic Display
It’s the refresh placeholder not being used probably
that'd do it
😮
@turbid tide i used this command and it said "%premiumvanish_bungeeplayercount%" white text in chat
@minor hamlet,
Is there a section for deluxe chat
@lofty mulch #spigot-linking
Ok, so, i am unsure if this is an issue for here, or an issue for the original plugin, but since I found the support channel for here first... Vault does not seem to want to register with placeholderAPI. I ran the download command (/papi ecloud download Vault) and then did a /papi reload. I do get an error on the console, which suggests that Vault does not have the placeholderapi as a soft depend in their latest version, but the ecloud expansion viewer does give correct link to where I got Vault from, so errm..
Long story short, I am confused on who to ask about this issue
[20:57:24 WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[20:57:24 WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[20:57:24 WARN]: at java.lang.Thread.run(Unknown Source)
This error occurs when connecting to the server.
im unable to register unofficial expansions that are downloaded using papi ecloud command. theres no errors in console. In game chat, it says 'unable to register <expansion name>'
Do you have any ideas?
I think you have to manually download them and add them to plugins/PlaceholderAPI/expansions folder
^ Then /papi reload
i did
go here: https://api.extendedclip.com/all/ and download them manually
do i delete all or only the ones that it cant load
playertime
doesnt load
all the ones that can load are the official ones
like server, pinger, player
and it didnt load
smae error
do you have the plugin?
because the playertime is an expansion for a plugin
and only works with that plugin
oof
ty
if you click https://i.imgur.com/PA21llD.png
also statistic time played no work
you downloaded the expansion@?
/papi parse A68AGaming %statistic_time_played%
wait
bruh
statistics expansion
ok
yep
no problem
On 2.10.8, my premiumvanish placeholders do not parse. PremiumVanish did update for 2.10.7 however..
Using 2.10.6 they do parse, so it's quite odd
Can we store papi info to mysql?
Not via papi itself
The plugins providing the data should be storing the data to mysql
do placeholders work for kiteboard?
hey, I wanted to ask, I'm making an economy plugin, and I need it to load on startup, but placeholder api wont load till later, what should I do to register the placeholders after the plugins onEnable triggers?
@minor hamlet they should
i tried but they dont work
me or him?
you
?paste
hey, I wanted to ask, I'm making an economy plugin, and I need it to load on startup, but placeholder api wont load till later, what should I do to register the placeholders after the plugins onEnable triggers?
@karmic granite spigot should already do this if u have papi defined as a depends/softdepend in ur plugin.yml
it doesn't save...
@warm topaz I do have it as a softdepend, but it still loads before papi does
it doesn't save on hastepin
@minor hamlet press ctrl+s then copy the link
i do that but it doesn't respod
@karmic granite just schedule a sync delayed task onEnable and register in that
It will register after the “done” message in the startup log
Also don’t check if the plugin is enabled just check if papi is not null
....
I was simply trying to link to my question that got lost in here lol
Ok, copy and pasting then
Ok, so, i am unsure if this is an issue for here, or an issue for the original plugin, but since I found the support channel for here first... Vault does not seem to want to register with placeholderAPI. I ran the download command (/papi ecloud download Vault) and then did a /papi reload. I do get an error on the console, which suggests that Vault does not have the placeholderapi as a soft depend in their latest version, but the ecloud expansion viewer does give correct link to where I got Vault from, so errm..
Long story short, I am confused on who to ask about this issue
=paste
Can you show the error
I can try. The SSH is on a machine that doesn't have discord on it, so may be a sec
[Server thread/WARN]: [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend, softdepend or loadbefore of this plugin.
Yea that's not an error, that's a warning you can safelly ignore
Ok, but that only message and the vault extention does not load
Ant the placeholders for vault don't work
If you parse the placeholder using /papi parse, does it parse it?
Let me try it with each of the placeholders. Give me a sec
It doesn't parse
And /papi list does not show Vault, though Expansion-vault.jar is located in plugins/PlaceholderAPI/expansions
I can get around it by using a vault compatible Economy plugin that has its own PlaceholderAPI hooks
how to solve this error with luckperms expansion
[14:07:40 ERROR]: [PlaceholderAPI] expansion class EssentialsExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use net/ess3/api/IEssentials
[14:07:40 ERROR]: [PlaceholderAPI] expansion class LuckPermsExpansion is outdated:
Failed to load due to a [NoClassDefFoundError], attempted to use net/luckperms/api/LuckPerms
[14:07:40 INFO]: [PlaceholderAPI] Successfully registered expansion: server
[14:07:40 INFO]: 5 placeholder hooks successfully registered!```
does anybody know any good plugin which sends papi data to mysql?
I mean, papi data is typically retrieved from plugins
A nice one as well 
https://paste.helpch.at/muximereyi.md placeholders don't work with kiteboard :<
any help ?
I mean it gives you the answer in the error you sent expansion class LuckPermsExpansion is outdated:
I understand, how should I proceed to get back to work?
I tried exactly that but I was unsuccessful
try deleting the current .jar file and redownloading
i have no clue but it might help lel
Any additional views an the vault issue before I just bypass it in its entirety?
Hello guys! Who know how to fix this https://pastebin.com/rV3JaQyp?
And this one https://pastebin.com/Js8XUsQw
And if i try to this from game https://pastebin.com/LS7pMD5H
/papi ecloud download Vault
/papi reload
does the javascript cooldown still work? cant get it to work on 1.16.1
You have any console log?
Failed to set ScriptEngine for javascript placeholder: cooldown - https://paste.md-5.net/suyizisatu.css
what the cooldown: file: cooldown.js?
its there
it was working before on 1.15.2 but somewhere it broke and no longer works for either that or 1.16.1 paper
idk maybe its the new placeholdeapi update ill have to downgrade and check not sure
Why my js placeholder broken when i update to latest papi ? https://paste.helpch.at/ekocovuveq.js
did you test the guilds placeholders?
@royal parcel
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
@red hollow
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
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?
wait my placeholderapi isn't updated
Uh
this is bad
my log just got flooded with this
?paste
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
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 🙂
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
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,
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,
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,
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
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,
@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

