#placeholder-api
1 messages · Page 126 of 1
?startuplog
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
send that over
@high grotto
Not necessarily
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
thank you so much
Also, nobody is ignoring you
some of the other staff just laughed at my problem
and passed me up
blitz
i see nothing of the sort
oh well i guess i took it the wrong way when they quoted my problem
with an XD before it
my apologies it wasnt blitz it was
NiallYesterday at 2:50 AM
Ah ive had this issue
its because ezrankspro is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
because i pasted the error it gave me and they just laughed at it
How is that a laugh 
You've taken it the wrong way
He actually did explain the solution with that, but it was very vague so ye
they weren't laughing at you, but laughing at the situation
the fact that the problem was still persisting after it being brought up (probably) many times
this evacuation has been real rough, so ive been on edge sorry for the miscommunication
Best to get a good night's rest 👍
yup, sorry again and thanks for the fix
how to add a expansion of holograms ?
You need to elaborate on that
see i am using leaderheads and I need to show the top stats of players with holograms
so I used placeholder of stats in papi
but when I add that placeholder in hologram it doesnt work
If you're using HD you need the extension
Did you download the expansion for the placeholder you're using?
I am using leaderheads
and its in papi expansion
but I want to register a hologram expansion
please tell @brisk coral
@leaden kraken
Why would you add that util method to the expansion when it’s exposed in papi lol
Because it wasn't working correctly if you weren't using the latest dev build of papi
Players Online (/60) written in TAB list.
Paper Build 148 (1.16.2)
PAPI 2.10.9
TAB 2.8.4
EssentialsX 2.18.1.0
Placeholder used : %essentials_safe_online%
Console log:
[Fri, 28. Aug 2020 17:46:58 SGT INFO] [TAB] Expansion essetials is used but not installed. Installing!
[Fri, 28. Aug 2020 17:46:58 SGT INFO] Failed to find an expansion named: essetials
%essentials_nickname% placeholder isn't working, even with Essentials expansion removed and reinstalled
but other essentials placeholder are working?
No sorry, the whole expansion isn't working
reloaded and everything
it stopped working while the server was live
do you have Essentials installed?
yes
and have you tried manually downloading the expansion?
hmm that's very interesting.
No visible error
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.
i think it's this problem
Console log:
[Fri, 28. Aug 2020 17:46:58 SGT INFO] [TAB] Expansion essetials is used but not installed. Installing!
[Fri, 28. Aug 2020 17:46:58 SGT INFO] Failed to find an expansion named: essetials
i'm facing the same issue
do you mind if I send the log in DMs
i did not edit anything, after updating plugins it's not working anymore
there is no version for bungee
there's no PlaceholderAPI for Bungeecord
it does not support bungee yet
ok
there are some plugins and APIs that are suppose to add that functionality
using mysql or something
globalholders 
need help with scoreboard like i type %factions_faction% and reload my scoreboard it shows %factions_faction% i downloaded papi factions it only does this with factions balance is okay
what scoreboard?
/papi parse me %factions_faction% returns what it needs to? Also what scoreboard plugin
and what factions plugin
that too
and what does the parse return?
i think the expansion needs updating
%factions_faction%
what do i do then
hey i have an issue
so I coded a plugin and I used this
Collection<String> coll = new ArrayList<>();
for(String s: Utils.getConfig().getStringList("scoreboard.lines")){
coll.add(Utils.toColor(PlaceholderAPI.setPlaceholders(player, s)));
}
return coll;
``` to add placeholders to the strings
and when i use the %bungee_total% placeholder apparently it isnt working
Do you have the bungee expansion installed?
It takes a bit to update
it is very glitchy, sometimes it updates sometimes not
Any way it could be fixed?
so it updates instantly or at least faster
doubtful
Check if there's an update interval setting for the bungee expansion within the papi config
Is it possible to add value using placeholderapi?
For example my money + A random person money= placeholder
Math
It's an expansion
Oh I see cause I tried searching it in spigot and it resulted in an outdated plugin
Heya anyone else having issues with Vault placeholders?
@fickle sapphire what issues exactly?
Using latest version of papi & vault, None of the placeholders are loading even after reinstalling the placeholder and restarting the server.
I did check to see if the placeholder had updated or changed but nope.
what placeholder are u trying to use? and can u use this placeholder when doing /papi parse me %PLACEHOLDER_HERE%
Seems the parse command fails also.
And %vault_rank%
Copied directly from the config and was working previously
Updated Papi
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
vault expansion didnt register properly
/papi reload```
run these again and it should fix
any errors when reloading?
can u try the papi dev build https://ci.extendedclip.com/job/placeholderapi
how do I download PlayerParticles place holders?
@green sleet If you're referring to this plugin https://www.spigotmc.org/resources/playerparticles.40261/ then the placeholders are registered in the plugin
no expansion needed
And you can find the placeholders here https://github.com/Esophose/PlayerParticles/wiki/PlaceholderAPI-Support#placeholders
You can use those placeholders any where that supports papi placeholders
What is placeholder? thanks tho ❤️
Special tags such as %player_name% that are being replaced by values.
How do i make the %player_count%
im trying to make deluxemenus show how many players are in another server
what is the placeholder name?
%bungee_<servername>%?
%player_uuid% gets me formatted UUID, is there any way to get the exact one?
?
Which has - in them
Does anyone know if the DiscordSRV expansion is going to be updated? It doesn't work atm
@errant solar You should ask DiscordSRV about this
i can update it unofficially
%player_uuid%gets me formatted UUID, is there any way to get the exact one?
can I do this?
without -?
isnt that how a uuid is meant to look?
Did anybody else from this discord got messaged by @austere hawk telling them to claim BTC? Because it seems very scamy
Bots yes, it's being handled
Thanks!
@errant solar https://github.com/Kqliber/DiscordSRV-PlaceholderAPI-Expansion/releases/tag/1.6.0 try this, place it in ur /plugins/placeholderapi/expansions folder
isnt that how a uuid is meant to look?
Yes but A website only need it without-
I have an issue
when i add placeholders to deluxemenus i get told that my menu is no longer a valid menu
When i run /papi reload that error appears
It started after i tried to download "Player" from ecloud
download the dev build from https://ci.extendedclip.com/job/placeholderapi/
Same error
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
Help me pls
I put /papi ecloud download Server
and /papi reload
And still not working
still showing like this
Players Online %server_online%
^
@meager trout
Okayy
Im making with holograms
let me check
Noup
What you think
/papi ecloud download bungee?
or
/papi ecloud download bungeecord
wait a sec..
Tell me
Do you have the same npc?
No, it works with hollograms and other plugins..
The 'everyone' mention is disabled so you can't annoy people.
any idea why %server_countdown_dd.MM.yyyy_31.12.2020% returns 2 days and not 122d days?
it should give out something like:
Žhttp://images.virtusdevelops.eu/shareX/3zrkarvi.png
@minor escarp What version of papi are you using?
Try the dev build https://ci.extendedclip.com/job/PlaceholderAPI/lastBuild/
well sometimes they dont work with protocollib you gotta use normal way and register it i do that for server countdowns and that stuff
hi
idk how to fix this
when i add a placeholder to deluxemenus
it tells me my menu is invalid
@heady falcon
http://images.virtusdevelops.eu/shareX/me4gyrhw.png
is using protocol lib should wokr
its not working with protocollib placeholder parser i tried it myself
works fine if you register it as placeholder and update data there
go to https://api.extendedclip.com/expansions/math/ download it manually, go to plugins/PlaceholderAPI/expansions delete the math one from there then add the one you just downloaded and do /papi reload
that's very weird
the math expansion code returns 1.0.7
if the jar says its 1.1.0, chances are its actually 1.1.0
ah
@Override
public String getVersion() {
return "1.0.7";
}```
andre forgot to update that
Ic
no
you have the 1.1.0 version
it just says its the wrong version
hi, i need help on How to use Native Java API of Other Plugins inside a JavaScript Pleaceholder? (Javascript-Expansion)
for exepmle. i need to use me.chemmic.main.API.ChatColorAPI.getChatColorCode(Player)
i know ChatColor have PAPI hook but i need to use it in a JS pleaceholder.
i tried to use var chatColorAPIClass = Java.type('me.chemmic.main.API.ChatColorAPI');
but thorws error "class not found" (but plugin installed)
thanks for your help.
Making a javascript placeholder - how can I get fetch information about another player, from a different player?
Making a javascript placeholder - how can I get fetch information about another player, from a different player?
@rotund pendant https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#parseother
Any support team can help me?
Ask away
Anyone help my little problem above?
@mossy helm chech server logs for PleaceholderAPI errors
is there a version of placeholderapi for bungeecord?
nope
rip
I heard there are some plugins and APIs
that can offer you that
using a mysql database
ah ok
can anyon hellp me out with how to be able to use mmocore and rot placeholders again ?
updates tot 1.16 today and forgot how i got it to work agian .
so al i see atm is the placholding coding
@dark sequoia try this expansion https://cdn.discordapp.com/attachments/742126277732991097/742126380447432735/Expansion-MCore-Factions.jar
its suppose to work on papi 2.10.7+
ugh @mossy helm have you tried updating the essentials expansion? or is there no update?
oh yeah looks like no update. someone needs to update it since it uses PlaceholderHook
I mean the expansion is Open Source https://github.com/PlaceholderAPI-Expansions/Essentials-Expansion so most people with some java and spigotapi knowledge should be able to do it. You'll probably have to make a #738969312051593249 if you don't know anyone with time or knowledge.
yeah its not the command. its the placeholder
if you read above what I told RavenskyPaul. seems like the essentials expansion is outdated
@mossy helm css [Service] PAPI expansion update. [Request] Could someone update the essentials placeholderapi expansion? It seems to be using the outdated PlaceholderHook method. Thank you everyone in advance. just an example
thank you blitz
hey guys I have a plugin that supports placeholderAPI and I installed both, why isn't my essentials chat reading the place holder correctly?
for example: %current_level% as a placeholder of a plugin, didn't work on the chat system for some reason. 😦
@idle coral ? 😭
@proper barn,
Please respect the rules, be patient and don't ping staff members!
oh oki oopsy
I know I've asked this here before, but does anyone have a copy of the Grief Protection extension with when youre not in any claimed land, it will say Unclaimed? I've had the code before but I've since lsoted it.
Does placeholder-api no longer support votingplugin?
I believe that plugin handles their own integration for PlaceholderAPI. I would ask their developer if they recently removed it?
Why when I use the %vault_prefix_color% placeholder does it also add the rank prefix?
I dont think it does what you think - return the color of the prefix
I want it to return the colour of the prefix, but it is also adding the rank prefix in general
so such as I have a rank that is green called vip, i give myself the rank and it makes my name green, but also adds vip to the start of my name
nevermind
gaby
{factionsuuid_faction_name} i type this in the config but it doesnt show faction
it shows {factionsuuid_faction_name}
pls hlep
https://paste.helpch.at/rewozejuyi.shell
Anyone can help me wit this?
at me.SuperRonanCraft.expansionMySQL.Main.register(Main.java:36) ~[?:?]
It throws an exception on this line.
i couldn't load the other expansions because of that
Is it your plugin?
Screenshot your folder of expansions.
Expansion-config throws this error
You could redownloading this expansion.
Maybe it is out of date.
still the same error
I guess you are not using this expansion, are you?
idts
any parseother? or just a specific placeholder?
Any @turbid tide
@rotund pendant,
Please respect the rules, be patient and don't ping staff members!
Essentials Expansion Dev Build
The latest SpigotMC release of EssentialsX has reported broken a few placeholders (I'm not aware of which ones). If you are getting errors with placeholders after updating EssentialsX, please try this jar and let us know if it fixes it.
As for ParseOther?
what placeholder are u trying to use?
I tried %parseother_USERNAME_player_name%
%parseother_{username}_{placeholder_without_percent_signs}%1
%parseother_{username}_{player_name}%
oh
you need to keep the {}
Still error
What error
you used %parseother_{username}_{player_name}% ?
we just told u to use {}
wot
.....
use the {}
huh?
use {}
every {} you see in %parseother_{username}_{player_name}%
use it
don't remove it
You need to keep the username brackets
okie, works now haha
can parseOther, parse offline players?
how might I check if an offline player has a permission?
%parseother_{username}_{player_has_permission_blah}% iirc
yeah but the has permission doesn't support offline players
p sure it does
the luckperms placeholder doesn't work either no
idk if they updated it but it didn't in my memory
you'd have to access the database every time you parse the placeholder
so it'd be a lot
especially when it can be many times a second
hye
hey
%royaleeconomy_balance_purse% that not working i can't down lond the thing
any one
@mossy helm
Essentials Expansion Dev Build
The latest SpigotMC release of EssentialsX has reported broken a few placeholders (I'm not aware of which ones). If you are getting errors with placeholders after updating EssentialsX, please try this jar and let us know if it fixes it.
@trim mist
@austere hawk,
Please respect the rules, be patient and don't ping staff members!
is there an updated version of PAPI? When I download expansions and reload nothing happens.
and then my list says 0 expansions
go to https://api.extendedclip.com/all/, manually download your expansion then go to plugins/PlaceholderAPI/expansions, add the jars there and then do /papi reload
hmm try restarting your serever. if that doesn't work then delete the jars from the folder and manually add them
Restarting does fix it but I was hoping i didnt have to do that every time lol
ah I meant resetting fixes the papi reload
So I tried getting some support from the main discord but its kinda dead and all the staff or inactive due to personal reasons, so I was wondering if anyone is able to get any placeholders to work from this plugin? https://github.com/LMBishop/Quests/wiki/PlaceholderAPI
Ello, how does the Progress placeholders work? For example, if I want a placeholder bar for how many essentials homes u have set/allowed.
So papi isn't loading quite a few expansions. Even after manually downloading and restarting the server.
when will the ecloud be updated with the new essentials expansion update?
See the build in the pinned messages and report back
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.
Okay so I think this is broken https://i.imgur.com/DzNMDjS.jpg
@green sleet Needs to be used like this %statistic_drop:MATERIAL%
so like %statistic_drop:stone%
Essentials Expansion Dev Build
The latest SpigotMC release of EssentialsX has reported broken a few placeholders (I'm not aware of which ones). If you are getting errors with placeholders after updating EssentialsX, please try this jar and let us know if it fixes it.
This fixed my problem, thanks 🙂
Hey there I am using the PAPI Essentials Expansion and was wondering if there is anyway to change it. Because right now the placeholder I use is %essentials_afk however when someone is AFK it is really basic, and just says "yes" or "no". So I was wondering if it's possible to change this to say "AFK" when the player is afk, and it to say nothing when they are not AFK. I was told to come here by Essentials
the expansion is OS so yeah it is possible to change the code
Ok awesome. Is there any chance you could help me with that? I am completely new to coding haha
I know bits here and there, but still
welp I'm not the right person for that either but I could try I guess
I'll ping you if I can make it work. if not I'm afraid you're going to have to ask someone else to do it
wait actually
u can use javascript?
you could just use js
btw ELARABER do you want to update Ess Expansion? it uses PlaceholderHook
it doesnt?
So how would I do javascript then?
theres a pinned message here
yeah it does for the %essentials_online_Safe I think
or whatever
ahhh
didn't know it got updated
welp
its completely fine
?
its completely fine
🌝
Could someone run through the steps how I could change this then?
Do I need a certain program or something lol
Adds javascript placeholders. Contribute to PlaceholderAPI/Javascript-Expansion development by creating an account on GitHub.
read this please
"Next, add it to the plugins/PlaceholderAPI/javascript_placeholders.yml file so the expansion knows to load it!"
I do not see this file
Wait NVM
Ok I created like a basic script that outputs AFK. But I have no clue how to link that into essentials
ok what's the placeholder you're using ?
%essentials_afk%
That's the one I want to use
I just created one which is %javascript_afk%
I need help.
How can I make so Animated Tab uses the prefix from luck perms? I think I need %luckperms_prefix% but idk how to configure it.
i did that but how do I get my prefix from luck perms to appear before my username
Ahh yeah use the placeholder you mentioned
%luckperms_prefix%
Do you not know where to put it in config?
no i dont
k I'm back rocket I'll send you rn the js
Awesome thanks Blitz
function afk(){
return "%essentials_afk%" == "yes" : "&cAFK" ? "&aNot AFK";
}
afk();```
here you go
Awesome I will try this soon and let you know how it goes
does anyone know where to put the %luckperms_prefix% placeholder in the animated tab config
[AnimatedTab] TabList ?
yes
change-prefix-suffix-in-tablist:
enable: true
# Refresh interval in server ticks.
# Set to 0 if you don't want to refresh the groups.
# If 0, then you will need to execute the /tl reload command to refresh the groups.
refresh-interval: 4
# Disable groups in these worlds.
disabled-worlds:
# Use the list as whitelist?
use-as-whitelist: false
list:
#- myWorld
# Automatically add groups from another plugins to the tablist groups.yml on every reload?
# If a plugin does not support Vault, it will not be added.
sync-plugins-groups-with-tablist: true
# Hide player's group in player list when the player is vanished?
# Requires Essentials, SuperVanish or CMI plugin!
hide-group-when-player-vanished: false
# Hide player's group in player list when the player is AFK?
# Requires Essentials or CMI plugin!
hide-group-when-player-afk: false
# Use another plugin nickname instead of player's original name?
# true - Using this format: "prefix playerNickName suffix"
# false - Using this format: "prefix playerOriginalName suffix"
# Requires Essentials or CMI plugin!
use-plugin-nickname: false
# Use tab name instead of player's original name?
use-tab-name: false
# Prefer player's primary Vault group when assigning tablist group from groups.yml?
# true - player will be assigned their primary vault group where possible, after that
# groups from groups.yml will be applied in descending order.
# false - groups from groups.yml will be applied in descending order.
prefer-primary-vault-group: true```
no need for placeholders I think
all you need is enable sync plugins group and that stuff
hmm i think that syncs prefixes with teams in essentials
but i want to use luck perms prefix
Anyone here know how to add the %luckperms_prefix% placeholder to [animated tab] tablist
Can you paste the file where you change the tablist? I’m not familiar with the plugin, but I can try
Where do you change the entire ya list though. Could you post that?
Tab list*
If that’s a file?
**header:
- "<lines>\n%anim:tablist%"
- "&7<75> %anim:welcome% %luckperms_prefix% %player%&c!&7 <74>\n&6Ping:&r %ping%&7ms"**
Just put the %luckperms_prefix% before the %player%
k thx
Did that work?
https://pastebin.com/rpmGRj6w
Get this error when I try /papi ecloud download Autorank
My expansions won't register even tho i have them in the folder. I dont really know what to do.
If it’s already in the folder try to enable it, rather than download?
whats the enable command ? bc ./papi ecloud enable just enables ecloud
/papi reload
Papi reload doesn't work either
Well, itworks on 1 server but then not the other
But both servers have certain expansions that won't show up in the papi list
in that pic it shows it was download, then I tried reloading papi and it said no expansions
Hmmm. Have you tried other expansions? Such as essentials, just to see whether it’s the expansion causing it
autorank, checknamehistory
I'm getting this error again and again, does it have to do with papi or with tab?
01.09.2020 - 17:41:51 - [TAB v2.8.2] Failed to disable
01.09.2020 - 17:41:51 - java.lang.NoSuchMethodError: me.clip.placeholderapi.PlaceholderAPI.unregisterExpansion(Lme/clip/placeholderapi/expansion/PlaceholderExpansion;)Z
@wispy plinth,
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.
**header:
- "<lines>\n%anim:tablist%"
- "&7<75> %anim:welcome% %luckperms_prefix% %player%&c!&7 <74>\n&6Ping:&r %ping%&7ms"**
@scarlet yew it didn't work
[18:48:35 ERROR]: [PlaceholderAPI] Failed to load placeholder expansion from class: com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_262]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_262]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_262]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_262]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_262]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.createExpansionInstance(LocalExpansionManager.java:336) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:138) ~[?:?]
https://imgur.com/a/Wu3orpv look this please. Papi Player and LuckPerms doesnt show the Player's permissions.
What is it showing in game? @lone prairie
it shows up along with the other headers not infront of the players name like I want it to
@turbid tide [20:08:08 ERROR]: [PAPI] [Javascript-Expansion] An error occurred while executing the script 'afk':
<eval>:2:23 Expected ; but found :
return "no" == "yes" : "&cAFK" ? "&aNot AFK";
^ in <eval> at line number 2 at column number 23
@scarlet yew,
Please respect the rules, be patient and don't ping staff members!
I want to get luck perms prefixes
using the %luckperms-prefix% placeholder that this api adds
Can you post your file please?
the config file?
Yeah the config file where you changed the tablist in
The one you sent me before, but your version please
Could you also post a screenshot of the in game tab list please?
Just to make it easier to picture it
I'm pretty new at papi, but is there any way to put in Custom commands? Like if i do /map, it'll give you a link?
uuh you can do that with mycommand
https://imgur.com/a/Wu3orpv look this please. Papi Player and LuckPerms doesnt show the Player's permissions.
@prime timber Anyone?
ty
@prime timber what is the issue
https://imgur.com/a/ouXqZzF @scarlet yew
Permissions are only applied when a user logs in
And luckperm doesn’t cache them either
To retrieve them you’d have to access the database every single time which could be many many times a second
Hence why it’s not a thing
Okay. Im trying to add placeholders to Deluxemenus. im doing %player_name% but it wont work
Then if I bind the database then the problem goes away?
@lone prairie I do not see anything related to the In-game tablist on this file. https://pastebin.pl/view/b51e32f1. Not even the 'Rehextion Network'
hmm
oh
Could someone help me create a Java Script that alters %essentials_afk%. This is the script I have so far **function afk(){
return "%essentials_afk%" == "yes" : "&cAFK" ? "&aNot AFK";
}
afk();**
I still don't see your header though. It doesn't say Rehextion Network
Is that an old version of the file?
oh i see what u mean
thats because in tablist the rehextion part comes from %anim:tablist% which is a seperate file, this is what makes so it cycles colors
Ahh
Does anyone else know how to properly use the %luckperm-prefix% placeholder to sync luck perms prefixes with tab list
Okay I see now. So did you change your player name colour in another file
well my player name is a different color because it uses my essentailsX nickname
thx
Can anyone test if they can download and enabled autoranks expansion or is it just me
Whoa
Hmm clip is the one who updated it
how?
Does someone know how to use holographic Display with papi ?
So I got it working Phoenix. Currently working on how to get the luckperms placeholder to work with it
ah ok thx
Yep got it working boom
Ok so go to the TabList directory
Then go into groups.yml
Once in there go to the 'PlayerName:' section
In the prefix bit remove what's inside the apostrophe. Then replace it with %luckperms_prefix%
@lone prairie
Does someone know how to use holographic Display with papi ?
@mighty viper Can someone answer me guys ? :3
To use Holographic Displays I just presume you'd have to use the placeholders? But first do /papi ecloud download HolographicDisplays
I presume so anyway
Well be specific lol
Don't work
thx @scarlet yew imma try it now
my placeholders
Do you have both Placeholder API and Protocol Lib installed?
Yep
What exactly are you struggling with then?
My placeholders don't work on holo
So you created new placeholders with JavaScript correct?
Oh hmmm. I would honestly recommend trying to do it directly from Placeholder API
By doing /papi ecloud download JavaScript
Ahh ok you're using the RushFFA plugin
So they work elsewhere but not on the scoreboard?
Sorry I got confused cause there's another plugin released called RushFFA
No clue I recommend waiting for the Support team to help
umm @scarlet yew what player names section are you referring to as i cant seem to find it
this is my groups.yml file
yikes thats very different
wait not really
imma see if i can just copy and paste the first part
yea no i just broke tablist
Hmmm
Do you have the latest version of the plugin?
My one is mostly different because it automatically pasted all my luckperms ranks in there
im not sure
ill take a look at it tommrow cus imma sleep now
mine is also doing some weird thing with essentials teams creating new teams and stuff but I cant be bothered to get into that rn
Okey dokey I hope you fix it
Please someone help me to fix this script
function afk(){
return "%essentials_afk%" == "yes" : "&cAFK" ? "&aNot AFK";
}
afk();
@scarlet yew what does it return, what's the issue?
It returns this
[20:08:08 ERROR]: [PAPI] [Javascript-Expansion] An error occurred while executing the script 'afk':
<eval>:2:23 Expected ; but found :
return "no" == "yes" : "&cAFK" ? "&aNot AFK";
^ in <eval> at line number 2 at column number 23
You have the : and ? the wrong way around
Read the wiki on ternary operators: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Conditional_Operator
Thank you! Legend. It works now
So autorank is the only expansion that won't enable for me
Just wondering. Is there a placeholder that will display the name of the Bungeecord Server that you are on?
So PAPI is still broken? https://i.imgur.com/hTYvABL.png
Really should just stay on version 2.10.6 and never update, eh?
Does PlaceholderAPI supports MVdwPlaceholderAPI for FeatherBoard?
That means, if I'm making a plugin that aims to support PlaceholderAPI and MVdwPlaceholderAPI, do I have to add placeholders for both?
And implement both APIs?
nah u can just make placeholders for placeholderapi
then when u want to use them in mvdwplaceholderapi, u can just use {placeholderapi_<YOUR_PLACEHOLDER_HERE>}
Skript is not supported in placeholderAPI 2.10.9, what should I do?
Is a stats like this on 1.12.2 possible? &b%statistic_kill_entity:bat,blaze,cave_spider,chicken,cow,creeper,donkey,elder_guardian,ender_dragon,enderman,endermite,evocation_illager,ghast,guardian,horse,husk,llama,magma_cube,mooshroom,mule,ocelot,parrot,pig,polar_bear,rabbit,sheep,shulker,silverfish,skeleton,skeleton_horse,slime,snowman,spider,squid,stray,vex,villager,villager_golem,vindication_illager,witch,wither,wither_skeleton,wolf,zombie,zombie_pigman,zombie_villager%
Please could someone make me a JavaScript that creates a new placeholder that will display what Bungeecord Server you are on. Thanks!
@scarlet yew this doesn't work? %bungee_<servername>%
No
Is it possible to make multiple outputs?
https://imgur.com/a/ep3jX6I
%iridiumskyblock_island_upgrade_ore_level%
shows the current island ore lvl upgrade.
1,2,3
it is necessary that the previous levels touch previous permissions.
do you understand? Or did I poorly express my thought?
oh, I wrote on the wrong topic
@light comet Nope. I thought the same thing, but that just displays how many players are on one server
custom_placeholders.yml seems to no longer be working, is this deprecated? (version 2.10.9)
I don't even remember what was in that file, so most likely
javascript placeholders should do everything that could do and more
@scarlet yew there's an expansion called server which has %server_name%
When I execute /papi reload, it advises that the custom placeholders are successfully registered. However, there is also a WARN message stating that "custom is attempting to register placeholders" etc.
02.09 11:11:26 [Server] WARN [PlaceholderAPI] custom is attempting to register placeholders via a PlaceholderHook class which is no longer supported!```
Does this second message refer to the custom_placeholders.yml file?
it refers to the Custom expansion which is using a deprecated class
the custom_placeholders.yml file is the configuration file of that expansion
Ah okay, so ultimately this file is no longer viable? The messages saying that they were successfully registered had me a bit confused
I guess so
Most likely. Javascript is the new "custom"
Javascript has got me all sorts of confused, I'm trying to create a JS for the placeholder %Guilds_name%.
If the player is in a guild, return the guild name value
If the player isn't in a guild, return nothing at all
I didn't see any examples in the community JS', could anyone provide me with an example of how to achieve this?
what does the placeholder returns when you don't have any guild?
It returns nothing which is intended but I'm more concerned about the value when the player has a guild
If player is in guild I want to return " %guilds_name%" (a space before the guild name)
oh ok, I see why
As this placeholder will be used for deluxechat
/papi ecloud download Javascript
/papi reload
go into your PlaceholderAPI folder in your plugins folder
open javascript_placeholders.yml
add this at the bottom:
guild:
file: guild.js
go in the javascripts folder and create a file called guild.js and add
var guildName = "%guild_name%"
function guild() {
return guildName == "" ? "" : " "+guildName;
}
guild();
And then /papi reload
then you can use %javascript_guild%
That worked wonderfully, thank you for that :))
what was the placeholder that slowly changes the hex of a color? kinda like rainbow, but slowly changing from blue to red for example
gradient?
yea github is outdated as it has to be edited by someone
I prefered github as I was able to just use ctrl f and look up a placeholder
yea i agree
ecloud forces us to search by placeholders only
i usually use github too, but if the placeholder isnt there then i go to ecloud
@light comet Just tried this. Didn't work, just shows "A Minecraft Server" and I've changed all the names on every server.
Thats rip
Yep 😛
Could anyone here make a javascript placeholder that displays the Server Name on a Bungeecord Network?
Oh in one of the server configuration it has a setting for server-name
change it to your server name
is this for the server expansion?
Yeah for the Server expansion
u change it in papi config
Legend! Thank you
np 😄
does papi work on 1.16.2?
lol good point
@limber ice Unknown expansion.
Hi! When I do /papi ecloud download PlotSquared, it says sucessfully downloaded, and when i restart my server and do /papi ecloud list installed it doesnt show up, and the placeholder doesnt work
Hey cj89898 ! Are you here ? I have a problem with an extension you modified for me
?
Do you remember ? It's for the extension Scoreboard Objectives. You modified it for me because it did not support scoreboard with [] in their name
wasn't it _
It works good with paper 1.16.1, but I tried to pass to the 1.16.2 version and I have this error messages in the console of my server : https://paste.helpch.at/anicupeyus.shell
The extension in question : https://discordapp.com/channels/164280494874165248/573429521554866178/727215236473683969
umm
The error messages appear every 30s
does %objective_score_{bac_advancements}% work when you do /papi parse me %objective_score_{bac_advancements}%
wasn't it
_
yes sorry
Yes it works
And the sign of leaderheads with this extension works too
Can someone helps me, i´m trying to create a server for events, and i want to know if there is a placeholder for the worldboarder
Please
I Found it
kk
It's all explained in the default config
Hello
Im trying to do some kind of daily mission with deluxemenu
The thing im using placeholder of Statistics, but as they are since they first join i cant use it daily
Is there any way to get X static from a specific day?
plan?
so yes, with that i could do it
I said if anything, maybe that.
but plan can be aplied to any placeholder?
You'll have to consult the plugin.
heyo, I have a custom plugin and it uses papi for placeholders, when a player joins the server for the first time the placeholders do not display any value. Once the player relogs on the server the placeholders work fine for the duration of their time on the server. Does anyone know a fix for this?
@austere hawk which placeholders?
I have a custom plugin
I asked which placeholders, not the plugin
well the placeholders from his plugin I assume
using papi for placeholders from what I thought he was saying
MythOP so the placeholders from your plugin do not work or is it the placeholders from other plugins don't show in your plugin ?#
the placeholders from my plugin don't work on first login
after player relogs they work fine
tried do run papi parse me and it says "unable to find player: me" which is fixed by rejoining the server
what papi version ?
idk how to fix it since I never saw this problem before but what I can recommend you is go to #development , list your problem again and if possible your code or part of your code. Like your placeholders class or something.
I think he found it, I think there was an issue on our end
I didn't make the plugin I was just asked to get support for it
ah I see.
Thanks for the help tho, I appreciate it
hi, i need help on How to use Native Java API of Other Plugins inside a JavaScript Pleaceholder? (Javascript-Expansion)
for exepmle. i need to use me.chemmic.main.API.ChatColorAPI.getChatColorCode(Player)
i know ChatColor have PAPI hook but i need to use it in a JS pleaceholder.
i tried to use var chatColorAPIClass = Java.type('me.chemmic.main.API.ChatColorAPI');
but thorws error "class not found" (but plugin installed)
thanks for your help.
I'm pretty sure you can't
why not just make a plugin or an expansion if you want to use something from a plugin?
but some plugin owner said i can do https://github.com/kangarko/ChatControl-Pro/issues/1870#issuecomment-678651590
have you changed the engine type to Rhino?
that's what the guy said
to use the Rhino engine
in javascript_placeholders.yml
hmm then no idea.
how have you set it to Rhino? can I see it?
player_chatcolorx: file: player_chatcolorx.js engine: rhino
nope Failed to set ScriptEngine for javascript placeholder: player_chatcolorx
welp then I rly have no idea
can any dev help me? (or anyone who know JS good)
try #development
There is a placeholder to on survival players?
hey, i dont have idia what is the placeholder (for place holders api) for the blocks left
blocks left until what?
no, i want to put in the olografic displays a placeholder i dont have idea what is it
oh you need HolographicDisplay, HolographicExtension and ProtocolLib for placeholders to work in holograms
ok thanks
but
what is placeholder?
%blocks_left%
%blocks_left_(series)%
%blocksleft(series)%
what plugin is that?
@rich flint send your startup log
There are any placeholders for players on gamemode survival like %survival_player% %creative_players% and so on
like total players? or just one person?
Totoal players in a gamemode
hm
@warm topazThe eCloud is currently non responsive, please report this to staff in https://helpch.at/discord
Yeah, i think dont have
the expansion supports another placeholder in the args
so then u can use the %player_gamemode% placeholder inside the playerlist placeholder
does papi isnt support skript anymore?
What's the problem?
just reload the expansion on folder but its not load
Does it say anything in console?
skript is attempting to register bla bla bla
Guess the expansion author has to update it then
Hey Support, can yall see about autorank expansion getting fixed? Still cant enable it.
@light comet try this version https://github.com/DeathRealms/AutoRank-Expansion/releases
Will do thanks mate. Ill let chu know tomorrow
Any placeholders for player kills?
%statistic_player_kills%
run those commands
There is a placeholder for ping
%player_ping% iirc
A resource that allows information from your favorite plugins be shown practically anywhere!
• Spigot
• Wiki
• Placeholder-List
• GitHub
• eCloud
u can find a full list of the placeholders in the Placeholder-List link
Hi, any idea why GemsEconomy placeholders not working?
any reason placeholderapi makes everything lowercase in chat?
no errors when startup
@austere hawk That's an error from outpost and UltimateStatistics
How
I would assume outdated expansions
I'll check
They'll need to update their hooks
No, I meant the actual code for them needs to be updated
How do I get placeholderapi to work on Bungee cord
you can't
How do other servers get placeholders to work?
I added luck perms bungee cord version and the apis broke
i mean u can use CIFYHolders which is available on sondoga, but officially placeholderapi isnt supported on bungeecord
yo im having some issues getting VoteParty's placeholder to work with FeatherBoard
anyone know how to solve this?
go to #spigot-linking to verify ur voteparty purchase
okay, i verified
whats the placeholder for playerpoints to use in featherboard
who pinged me
when papi changes the way their code works, but now every plugin that uses papi needs to be updated
I'm always making sure i keep my plugin dependencies updated. I don't like things breaking 😛
how do i use the formatter placeholder to capitalize the first letter of another placeholder?
Not too sure, more info and examples on it are here https://github.com/Andre601/Formatter-Expansion
lol i read that but i dont rlly understand it lmao
@arctic loom might be able to help
hmm yea
ill just play around with it
also 1 more question
how do i make a placeholder update faster
Where you showing it?
i want to make the %player_ping% placeholder update a bit faster in TAB (using TAB plugin) and my scoreboard
Check the TAB config to see if you can change the interval
same with the scoreboard plugin
ok
hmm i think the scoreboard interval thing just makes the scoreboard update faster
its fine tho
also i think i found a way to use the formatter placeholder
Neat
but it reqires a placeholder within a placeholder within a placeholder
ik you can use {} for placholder in placeholder which i did, and it worked
but when i did that 2 times in a placeholder, it broke
Yeah you can only do it once iirc
oof
Simpler fix is just to use a javascript placeholder
how do i do that
Should be some info on the wiki
ok ill see
Then you can use that to do something like this: https://stackoverflow.com/questions/1026069/how-do-i-make-the-first-letter-of-a-string-uppercase-in-javascript
hmm ok thanks
Can you use placeholders in:
open_commands:
- "[ACTIONTYPE] ACTION"
- "[ACTIONTYPE] ACTION"
In deluxemenus? I'm trying to get it to check if they have a permission and then reduce the cost taken
Requirements
help plz, any scoreboard plugin that support javascript ?
You can use the javascript expansion to clear the comma there
var balance = "%economybank_balance%";
function removeCommas()
{
return balance.replace(",", "");
}
removeCommas();
Clear the semicolon, damnit 👀
@nocturne sequoia does economybank not integrate into vault btw? They have placeholders too
@quartz condor %formatter_text-uppercase_{placeholder}% iirc
But that wouldn't make only the first letter uppercase
%progress_bar_{skript_coins::{player}}%
```y isnt work? Downloaded progress expansion and skript the placeholder work on scoreboard
friendly request,can someone fix the typo in the github wiki? It's messing with the new devs,to be more specific
String joinText = "%player_name% &ajoined the server! They are rank &f%vault_rank%";
/*
* We parse the placeholders using "setPlaceholders"
* This would turn %vault_rank% into the name of the Group, that the
* joining player has.
*/
joinText = PlaceholderAPI.setPlaceholders(event.getPlayer(), joinText);
event.setJoinMessage(withPlaceholdersSet);
}```
that withPlaceholdersSet kinda throws new devs off
Create an issue on the repo and we'll look into it
Hello, the MultiEconomy placeholders do not work on 1.16.2
will it update soon? %multieconomy_amount_<economy>%
cc: @trim mist (Seems you're the author)
I updated the MultiEconomy expansion, I don't think the plugin needs an update.
Here's a PR: https://github.com/PlaceholderAPI/MultiEconomy-Expansion/pull/1
Here's the .jar to upload on eCloud: https://mega.nz/file/xZoxBTCC#7p8IT8noiSale2PIazttZMH8Yr7ePVuBvtu1JSla6NI
@brisk coral can you have different commands for a different requirement on the same item in the menu tho?
@light comet,
Please respect the rules, be patient and don't ping staff members!
In dmenus? I mean what you could do is make the requirements be the exact opposite and then execute the commands in deny_commands I guess. But no you can't have per command requirements.
So have it search for a permissions if they don't have it, then it'll run deny_commands but if they do have the permission itll run open_commands?
so for example lets say you want to execute a command when a player has a permission. you make sure they don't have the permission and if they don't have it use the deny command to actually execute the command.
its more of a hacky way to do it but that's the only way I can think of doing it
wait actually I have something even better
Javascript placeholders ...
Well i was initially asking if js placeholders could be used in the requirements or even the commands
Commands would prolly be easier
yeah you can use them
in a command.
[console] %javascript_command% or something works
as long as it returns a command without the /
its an amazing thing I found a while ago and have been using it a lot xD
But could I use it like [console] money take %javascript_money% {player}
Where the Javascript placeholder determines amount to take
I think so.
Bc then I can check for permissions in the javascript file and print out a # depending on their permissions
also its not {player}. its %player_name%
Lol thats what I thought but then I was like hmmm im not in front of my computer so im not 100%
🤣🤣
But thanks ill test that out tonight and see if it works
is there a placeholder or script to get the player name of the player you're looking at? I personally can't find it.
Don't think so
You might be able to with the JS expansion but I am not the right person for that one.
Could someone help me out with that?
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#vault
%vault_eco_balance%
In your scoreboard config, just type in the desired placeholder, and it should appear in game
For example:
Name: %player_name% Balance: %vault_eco_balance% Rank: %luckperms_prefix%
Remember to download the placeholder addons for this to work:
/papi ecloud download <name>
In this case Luckperms, Vault and Player should be filled in at <name>.
how would i go about getting a list of everyones placeholder values?
Ugh don't think that's something you can do. Why would you want to do that?
ugh idk how LeaderHeads does it but that's the only plugin that I know that can do that
I assume it locally saves values or something but no idea how it actually does that
Yes Leaderheads saves a copy of the data in a local database
That's how it makes a leaderboard
@quartz condor
%formatter_text-uppercase_{placeholder}%iirc
@arctic loom I tried to do%formatter_substring_0:1_{formatter_text-uppercase{luckperms_groups}}%
Then %formatter_substring_1:10_{luckperms_group}
But you can only use one placeholder within one
And idk how to use a JavaScript script like funnycube said
i think u need the dev builds
oh
i tried a dev builder earlier on jenkins bit
but*
it didnt work ill try again
yea it didnt work again disabled in the startup and red in /pl lol
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.
alrighty
says same as before lol might try go to a different version
wth towards the bottom it loads the cloud which shows its enabled i swear
im so confused
weird
is it something to do with paperspigot?
i suppose ill use an older version of placeholderapi until this little bug is fixed
@quartz condor just change the displayname of a group in luckperms and use vault placeholders
@fringe verge no Leaderheads support in this chat, DM me personally
Can someone remove this guy? Thanks
🔨 A user has been caught in our great nation using off-brand products, they've been dealt with accordingly

