#placeholder-api
1 messages · Page 94 of 1
You're displaying the placeholder in your scoreboard, so show me the file which contains the scoreboard settings..
function placeholder()
{
return &e%griefprevention_remainingclaims%;
}
placeholder();
Are you familiar with making a javascript placeholder
so em
what should i do with it
no
im bad at it
can you remade one for me please
ty
btw where to put it in
i mean the code you just typed
are you still here frosty?
Follow these instructions
https://github.com/PlaceholderAPI/Javascript-Expansion/wiki
/papi ecloud download javascript
/papi reload
Follow the tutorial.
For your application you just need to change the return string
so em
i need to do this on every placeholders?
function placeholder()
{
return &e%griefprevention_remainingclaims%;
}
placeholder();
this one
do i need to set the debug to true?
yes, and you don't need debug no
whats the format
format?
no
which site to code
You can use notepad, legit anything you want
You're only changing the string it returns, so you can just edit that
return <String>
function placeholder()
{
return &e%griefprevention_remainingclaims%;
}
placeholder();
Read the tutorial, it legit explains everything..
:Whatthe:
Idk dude
im really bad at this
can you make me some samples
and then i can copy and paste xD
I already showed you what exactly you need
The example above, you only need to change the placeholder and the color
Hello i keep getting errors when i try to download luck perms expansion here is the error https://pastebin.com/fN4HYac7
update LuckPerms
i did also i am using luckperms bungeecord
do you have it on spigot ?
yes i have 1.8.8
what's your LuckPerms version ?
5.0.108
and the error appeared when you tried to do /papi ecloud download LuckPerms ?
no it downloaded and then i ran /papi reload and it gave me the error
🤔
could it be that im using the luckperms bungeecord version
ok
5.0.108 is your BungeeCord or Spigot version of LuckPerms ?
is the bungeecord version
with luckperms bungee i just put it in the bungeecord server plugin not any other server
yeah but that's not how permission are managed
Bukkit/Spigot and BungeeCord have 2 different permission systems
So you need LP on BungeeCord to handle the BungeeCord permissions
and LP on Spigot to handle the Bukkit/Spigot permisssions
oh so would they connect
if you link them together with a remote database such as MySQL then yes
ok
I suggest that you check this wiki page from LP for more infos https://github.com/lucko/LuckPerms/wiki/Network-Installation
ok thx
this part explain what if you only put it on Bungee https://github.com/lucko/LuckPerms/wiki/Installation#can-i-just-install-luckperms-on-bungeecord
ok
Hello to all.
I have a problem with JavaScript.
I get the message "[PlaceholderAPI] File: sb_groupName.js for javascript placeholder: sb_nameGroup is empty" when I try to create a placeholder.
Please help me.
sb_groupName.js:
var whaspermissionswplus = "%player_has_permission_scoreboard.sw+%";
var whaspermissionhug = "%player_has_permission_scoreboard.hug%";
var whaspermissionmost = "%player_has_permission_scoreboard.most%";
var whaspermissionmoderator = "%player_has_permission_scoreboard.moderator%";
var whaspermissionstaff = "%player_has_permission_scoreboard.staff%";
function wpermission() {
if (whaspermissionsw === "yes") {
return "&eSW";
}
if (whaspermissionswplus === "yes") {
return "&9SW+";
}
if (whaspermissionhug === "yes") {
return "&5HuG";
}
if (whaspermissionmost === "yes") {
return "&6&lMoST";
}
if (whaspermissionmoderator === "yes") {
return "&2&lМодератор";
}
if (whaspermissionstaff === "yes") {
return "&c&lSTAFF";
} else {
return "&7нет";
}
}
wpermission();```
javascript_placeholders.yml:
```thewar:
file: example.js
engine: nashorn
sb_group:
file: scoreboard_groups.js
engine: nashorn
sb_nameGroup:
file: sb_groupName.js
engine: nashorn```
Maybe this is due to some uninstalled packages in the system (apt-get ...)?
heyo i just updated placeholder-api and venture chat and I am seeing this in the console when I reload
[13:08:00 INFO]: [VentureChat] - Placeholders were not added to PlaceholderAPI!```
ok nevermind I just needed the 'Player' placeholders
Hello my placeholder %vault_eco_balance% dont works
[2:27] Andreeiii11: but %vault_rankprefix%
[2:28] Andreeiii11: i have installed at the ecloud
[2:28] Andreeiii11: i am using the placeholders at deluxechat
whats the expansion for showing the player name when a message pop on screen when entering the server
like %player_name% did not work, but i think i don`t have the expansion
/papi ecloud download player
/papi reload
Both should work
none of them worked
Then that means whatever you're trying to use probably doesn't support PAPI.
ooof
Can PlaceholderAPI installed in Bungeecord?
Or do i have to install it into my every single server
Single server.
Is it possible to add such feature?
We plan to in v3, months away.
I'm a SpongeForge user and the PlaceholderAPI in spoge is kinda bad, that's why i needed it. Okay thx, can't wait for it!
Yup, the new PlaceholderAPI v3 will be multi-platform and will support Sponge.
Can i guess.. 3 months? or more?
Unsure. COVID-19 put a dent in all out plans.
Glare I have a current problem wonder if you could help
Also it brings depression, goodluck to all
Ask away Coasty.
Coasty go to #spigot-linking
^^
Nice. Now just wait for someone to be around.
:))
btw how do you get tier 2?
talking
Ahh
can i suggest a few plugins to add to papi?
the developers of the plugins need to add placeholders not clip
so if you want more plugins to have placeholders go to those plugins developers
and ask them
ok
function TownyPrefix() {
var town = '%townyadvanced_town%';
var townTag = '%townyadvanced_town_tag%';
var townMayor = '%towny_town_mayor%';
var playerName = '%player_name%';
var mayorPrefix = '&e✦&r ';
var prefix = '';
if (town.length > 0) {
if (playerName === townMayor) {
prefix = prefix + mayorPrefix;
}
if (townTag !== [] || townTag !== '[]') {
prefix = prefix + townTag;
}
return prefix;
}
}
Trying to figure out why Towny placeholder returns [] if a player creates a towny tag and then clears it. [] still appears even though it's checked here.... So confused....
I dont think !== [] is a valid check
it is, it works if a tag isn't set at all
townTag !== '[]' doesn't work though
typeof townTag shows... it's a string? idk
So return townTag == []; returns "true" for me as I don't have a tag, but returns false for anyone who does OR has a empty []
[] is an empty list
correct, it's an empty array.
you mean
if (townTag !== [] || townTag.trim().length !== 0) {
prefix = prefix + townTag;
}
```?
townTag.trim().length > 0 || !townTag.equals('[]')
nope :C the [] is still there
if (townTag.trim().length > 0 || !townTag.equals('[]')) {
prefix = prefix + townTag;
}
is it around the tag or?
The output of just [] AFTER the player has set a tag and cleared it.
how do i get a new role after buying a plugin?
yes
wait
is there any differences on killrank and kills?
are they the same?
cj?
okay
Does this work for Sponge or not? because ryan's placeholderapi hasn't been updated since 2017 and it's messing up with other place holders I want to add to my chat
I use LuckPerms from roles, ect and i use TAB for my custom tabe menu can I get the role the player has in LuckPerms and place that into my TAB menu?
do /papi ecloud download Vault to download Vault expansion, then /papi reload
ohh wait
I mean you can just use luckperms..
he wants to have it in his tab as prefix for the players...
perfect! thx
I think the plugin needs to have this feature
lemme test somthing
so you using TAB ?
then it's done in the config
lemme install Placeholder API also
you don't need it if you only want it for the tab
but it's a good thing to have
actually you need it
nvm im stupid
Does this support Sponge or not?
Placeholder API did what i needed
can you link your own plugin into Placeholder API?
xD sounds stupid but how do you import placeholder api?
you using eclipse?
exactly
:) day 2 finally gettin it xD
@cobalt cradle do i have to initialize the PlaceholderExpansion in the main file?
main file of what
the plugin
so just having it is enough?
take a look at How to create an expansion that has a 3rd party dependency
it's just one class extending PlaceholderExpansion
i dont have any dependiencys
isn't your plugin a dependency
its just getting an alert and giving it to TAB
what alert
how do i send a snippit thats to big again?
=paste
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
and doesn't it work?
i haven't tested yet xD
just checking i dont need anything in Main.java
you don't need a main.java
you just need your placeholderAPI_Expansion class
also please use UpperCamelCase for naming classes
sorry, will do
np lol, just so you know
just so i can put alerts in the tab menu
Oh, no @cobalt cradle
[10:24:48 INFO]: [TAB] Expansion trm is used but not installed. Installing!
[10:24:48 INFO]: No expansion found with the name: trm
did you do /papi reload
nope will do
line 20
#development maybe
oh yeah now back to #development lol
Hey! Im making my plugin work with placeholder-api but i couldn't get an internal system to work! can someone help me?
Hi! I have a Minecraft server (1.14.4, Spigot) and I can not download anything. Why? (Download with /papi ecloud download)
Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.
Thanks!
So I just updated to the latest PAPI version
and get this error
on /papi reload
also some of the expansions dissapeared
ok now it worked
interesting
That says nothing about papi
INFO org.bukkit.command.CommandException: Unhandled exception executing command 'papi' in plugin PlaceholderAPI v2.10.5
but it worked when I tried again
you have to read it from the bottom
because that is how my console works ...
Guys I have a problem
I'm trying to use papi with infoboard but it does not work, while it other server still made by me it works fine
any doubt knows
a placeholder variable for epiccraftingplus
The one that if a user creates 1 item the others cannot and that item disappears from the config the item or that no one else creates it?
anyone in here could help me make a javascript placeholder that returns yes or no if a player has a permission or not?
using the player methods?
anyone in here could help me make a javascript placeholder that returns yes or no if a player has a permission or not?
you know there's already a placeholder for that in the Player expansion right ?
something like %player_has_permission_your.perm%
👍
Does PAPI not support LuckPerms v5 Yet?
why there is no version 1.7.0 for statistics anymore?
There is but you have to go grab it from the website.
We temporarily disabled the older versions from in-game to fix a major bug.
ok thanks
?
I think SP provides a placeholder for that
It does?
@junior musk Unknown expansion.
idk
%supervanish_playercount%?
Hi, anyone know what is this?
29.03 22:38:20 [Server] ERROR Could not pass event ServerLoadEvent to PlaceholderAPI v2.10.5
Should be more
deluxemenus doesnt seem to hook to placeholder api
You need to download the correct expansion for the placeholder you're using
I think this may be an issue with papi?
I'm using leaderheads scoreboard for my spawn, and have BentoBox installed for skyblock. The leaderboard is showing my top 5 islands, but the issue is, that anyone that is teaming on an island its showing their team mates name as one of the top 5.
It uses the owner of the island
Yeah and its also using their team mates
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
can you show me, haven't used it ever so not sure what you mean exactly
Like Cad owns and island and has a team mate named Kon, however Cad is #1 and it shows Kon as # 2
hmm, is there any other placeholders which would display what you're after, or is that the only one
For bento? I don't think so, Its really weird honestly. I never had this issue with aSkyblock and this is essentially the same reading
I dont know if this is an issue with LeaderHeads or Papi
It's an issue with the placeholder itself
I figured it was, since Bento is pretty new.
When I do /papi ecloud download Player
It says: No cloud expansions are available at this time.
What does that mean?
?ecloudblock
Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.
oh ok , I was searching for it
Oh thanks
Someone understand javascript-expansion?
Works:
PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%parseother{Alex}{playeronline}%");
Result: Is online
Not works:
PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%parseother{" + args[0]+ "}_{player_online}%");
Result: Not online
I need to know in javascript-expansion how to use variables inside of placeholders
Hello, does anyone know where I can change the server name for %server_name%?
Papi config
Found it, thanks very much
Papi config
@brisk coral This seems to only support numbers and chars. Is it possible for me to set it to another language/support color?
Set the color outside of the placeholder (should work in the actual text as well), also not sure what you mean by another language, you can write what ever you want there
Nvm about the second point, I thought its only English
And I want to have a different color for every server
Set the color outside of the placeholder (should work in the actual text as well), also not sure what you mean by another language, you can write what ever you want there
@brisk coral
Set it outside the placeholder then, where you're displaying it. ie.
&3%server_name%
Yeah, what I mean is the tab plugin only set a single color for all the servers. what I want is for example, red for hub, green for survival, etc
Nm, found a way to create custom placeholders with Bungeetablistplus, ty for the support
helm:
expression: '%mvdw_armor_helmetremainingdurability% / 363 * 100'
type: string
Im new to this javascript thing
And I get a script error in this
Why?
Im trying to figure out the percentage of remaining durability on a helmet
Does math not work in it?
I have no idea what that is supposed to be
In a featherboard thing
The placeholder is the durability of a helmet (363 is the max)
So its dividing it by 363 and multiplying by 100 to convert it to a percentage
So say the player has 300 durability left
doesn't mvdw have it own placeholders?
try {armor_helmetremainingdurability}
But I want it in percentages
Yeah its a big number
I want it to just be percentages
I did that
And all it does is say Script error
yessss
Stonks
I thought I got it from the wiki
Mind sending the link to that
function getDurability() {
return "%mvdw_armor_helmetremainingdurability%" / 363 * 100;
}
getDurability();```
I dont remember having the format you have sent anywhere in the wiki
not even on spigot
Clip and his tendency to not update things kek
And how do I round it?
@final shadow
I did my best google work and came up with
.toFixed()
function getDurability() {
return math.Round("%mvdw_armor_helmetremainingdurability%" / 363 * 100);
}
getDurability();
oh ok
(formula here).toFixed()
ok
And it's probably Math.round()
thank you
return "%mvdw_armor_helmetremainingdurability%" / 363 * 100.toFixed();
Right?
(formula here).toFixed()
@vivid sparrow
I did that?
Sorry I didnt expect to have to learn a bit of javascript when I got into this
np
@fair jungle what you've sent in #off-topic wont work.
You have to use use {} for the main placeholder (parseother's) so you'll have to use the papi's set brackets method for this. and for the other placeholders you need to use something other than {} but that won't work cuz parseother expansion doesn't support something other than {}.
So you either find another way of doing this, or just open an issue to support something other than {} in parseother placeholders.
@bronze bison I have tested too but nothing, so, to make compatible parseother-expansion inside of javascript-expansion with variables I am trying to contact with @mint fable to modify the Regex and allow another secondary "brackets" or another possible solution 🙏 ❤️
@fair jungle
Please respect the rules, be patient and don't ping staff members!
👍
@fair jungle
Please respect the rules, be patient and don't ping staff members!
@fair jungle
Please respect the rules, be patient and don't ping staff members!
The expansion is open source by the way, you can do that yourself.
Where? I haven't found it on github, I think parseother-expansion is not public
Oh right, was thinking about another one.
Is there something wrong with DeluxeTags placeholder?
Everytime I do /papi ecloud download DeluxeTags and /papi reload it breaks the placeholders
in DeluxeTags/config.yml
change every %% to {}
so for example %deluxetags_tag% change it to {deluxetags_tag}
but in other plugins use %deluxetags_tag%
except for essentials chat where you have to use {deluxetags_tag} as well
I did that
But I have an error now
Is there a website to check for TAB?
Like where you click the tab button and there is like 5 spaces
Hey, what i need to paste for placeholder with featherboard and voteparty ? i want to see all votes
Uh yeah probably.
I can't do much if you're banned. You can still look at the wiki and it will tell you how to use the placeholders.
okey. Thanks 🙂
hello, i have custom resourcepack for my customitem plugin. is there anyway i can put this custom resourcepack on my deluxemenu?
@fair jungle did you figure it all out?
And you should be able to use stuff in JavaScript if you assign it to a variable first
here, look. i cant use normal sword because it will just show normal sword.
@ionic maple you need to ask the CustomItems author how are the textures applied. By name, lore, nbt etc.
anyone know why luckperms placeholders dont return a value even thought luckperms is installed to the server? I am using a dedicated server, and I think it has something to do with the firewall. Can someone tell me how to fix?
I don't believe placeholders have anything to do with a firewall.
What does it return?
well every other placeholder returns the correct value, but not any of the luckperms ones
it just puts the placeholder text on the scoreboard
/papi reload
nope
/papi list installed
Any errors?
=paste
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
Can you put your server startup log there?
[12:18:41 INFO]: SilverSleet645 issued server command: /papi ecloud download Luckperms
[12:18:41 INFO]: [PlaceholderAPI] Attempting download of expansion: LuckPerms by user: SilverSleet645 from url: http://api.extendedclip.com/media/Expansion-LuckPerms_IaULsEO.jar
[12:18:41 INFO]: [PlaceholderAPI] Download of expansion: LuckPerms complete!
A full server startup log would be most beneficial in seeing what the issue might be.
Update your LuckPerms plugin and ensure you're on the latest expansion version.
hello
so i have a bug with placeholders so i use this %localtime_time_dd/MM/yyyy% for the date on the scoreboard
but in the console i get spammed with this how to solve it?
https://gyazo.com/0978f92fce02eeb33eb94d9941911935
hi
whats this
could it help me to bypass the limit of scoreboards?
any support online?
hey how can you get data prom placeholder api in your own plugin?
Hey, does anyone know the IP of the PAPI's server. Due to recent attacks I had to block entire countries from my iptables so now I'm not able to connect to it. And I've to allow it from my iptables rules
hello
so i have a bug with placeholders so i use this %localtime_time_dd/MM/yyyy% for the date on the scoreboard
but in the console i get spammed with this how to solve it?
https://gyazo.com/0978f92fce02eeb33eb94d9941911935
@bronze bison
Thanks @balmy marten 🙂
Hello @austere hawk,
I assume you're in local host right?
Anyway, seems like I've forgotten caching the default timezone for the player in 2 cases, which is why its spamming that every time the placeholder gets parsed.
I'll try to fix it as soon as possible. Thanks for reporting.
I am not using a a localhost.
But thank you that you're gonna fix it.
@sacred cosmos
Please respect the rules, be patient and don't ping staff members!
mb
localtimezone have a bug, i get spammed in the console.
check the messages above
can PlaceholderAPI placeholders be used in essentialsX kits?
Fixed @austere hawk @blissful heath https://api.extendedclip.com/expansions/localtime/versions/localtime-11/
Thanks for reporting.
Still get spammed https://gyazo.com/1c86a821097c1c691a122b5393324629
That has nothing to do with papi though
Oh..
Anyone know how to make the animations addon to papi wave effect go thru only certain colors?
because when i do %animations_<wave>?option1=&a,option2=&b_Test% i just see a rainbow rotating thru test
Anyone know a answer?
idk if it's possible
it is i just dont know how
if anyoneee knows i really need support
&8&l["%animations_wave?colors="&c,&a,&d"_YourTextHere%"&8&l]&f' is what i have so far and it just glitches out and makes "y"o"u"r"t"e"x"t"H"e"r"e anyone know how to fix this?
'"%animations_wave?wave colors="&e,&a,&c"Test/wave>' breaks anyone know if theres a fix
'%animations_Wave?colors=&e,&a,&c,&d<Wave Effect>/wave>_Test%' i now just have a yellow test....
``` Anyone know how to make the test become a wave.
Who's in charge of the Animations expansion ?
because it has a little "problem" x)
to add multiples colors, you must separe them with , BUT to separe multiples options, you also need , .... so this can't work x) %animations_Wave?colors=&a,&e_test%
because &e will be taken as another option, and not another value for the colros option
What is the expansion for money?
Thanks :D
so what do i type to download it
like /papi ecloud download ?
Whats the expansion?
vault
so just /papi ecloud download vault?
Thanks :D
I posted in here ages ago about a problem and asked for help, noone was able to help
Just letting you know the issue is fixed so I no longer need clip
Much love anyways ❤️
@pseudo mist do you have your expansion on github? it makes things a bit easier
I recommend putting the expansion inside your plugin then.
It's your plugin, so you can add the expansion inside. It makes it easier for people to use.
The leaderheads not working, and i made one placeholder for can use
It's your plugin, so you can add the expansion inside. It makes it easier for people to use.
Not it's my plugin...
ohh
I would love for there to be a source code and follow the project ... But it's not like that
it looks mostly good to me, but I think you should add a plugin to it
you have getPlugin() returning null
I would assume you want to return "RogueParkour"
Is that like dependencies?
yep
wait
it's been changed
/**
* if the expansion requires another plugin as a dependency, the
* proper name of the dependency should go here.
* <br>Set this to {@code null} if your placeholders do not require
* another plugin to be installed on the server for them to work.
* <br>
* <br>This is extremely important to set your plugin here, since if
* you don't do it, your expansion will throw errors.
*
* @return The name of our dependency.
*/
@Override
public String getRequiredPlugin(){
return "SomePlugin";
}```
?
Use that and make sure to @Override it
https://gyazo.com/527b70d9b386293abfaca6279a3cd538
Do not change anything in the lmao code
lmao i missed that
you can remove the getPlugin method
there's a few things I think, setting methods to private being one of them
the getOfflinePlayer method?
well, I think method
order
and is getOfflinePlayer only used in your expansion?
I assume so
yes
I upload changes and change version (again :D)
is there any way to link an expansion to github in ecloud?
when uploading, yes... not sure about editing
yes you can
go to the my expansions page
Okay, i add github page
nice
Your profile... Only number expansion lmao. no which
Into all expansion yes, okay okay XD
anyone know the code to make a wave change from the colors red orange and yellow i cant get mine to work
From teh animation plugin
may i know what does it mean when it says "No cloud expansion available at this time"?
@mint fable ?
Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.
@primal vault
@pseudo mist was wanting to get their expansion verified
wait gaby
my first server allowed me to do /papi ecloud download
but second server couldnt, under same host
any idea?
idk, I dont manage that @mint fable
I do have perms but I dont moderate them
ah
Link me to the expansion @mint fable
Seems you're trying to load two expansions from the one jar?
RogueParkour.class v1.6
RogueParkour_placeholder.class v1.3
'%animations_Wave?colors=&e,&a,&c,&d<Wave Effect>/wave>_Test%' i now just have a yellow test....
Anyone know how to make the test become a wave. its just a yellow TEST
@heady falcon can you animate a wave with different colors i tried with Quotations around The &e-&d and tried getting rid of <wave effect> and /wave ive spent around 1 hour and a half trying to figure this out and i just feel dumb trying to make a wave have different colors can you show me a example of a wave with different colors and give the code for it please.
Seems you're trying to load two expansions from the one jar?
RogueParkour.classv1.6
RogueParkour_placeholder.classv1.3
@balmy marten I change into 1.4 the name class. PiggyPiglet told me it was redundant and i change it
@pseudo mist
Please respect the rules, be patient and don't ping staff members!
🙂
@limber ice Unknown expansion.
@balmy marten can we upload our own expansions to papi org on github?
Yeah if it lets you
🆗
otherwise i might have to create the repo
can I use papi placeholders in Essentials custon.txt?
not without chatinjector
Barry Minion are you a bot?

smh ironic
which of them? :))
lol
Hello, can anyone help me?
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait
I can't get "Statistic" placeholders to work.
Manually install the extension 1.7.0 because I couldn't with the command /papi ecloud download Statistic 1.7.0 and it still doesn't work for me ...
Statistics always remain at 0 and are not updated.
Any solution?
(I CANNOT SPEAK ENGLISH, I USE GOOGLE TRANSLATE)
Hello, I have downloaded the following expansions https://prnt.sc/rqxjrr and after each download i did /papi reload which then gave me this error https://prnt.sc/rqxkdn I have no idea why this is happening, i downloaded them through the ingame commands. When i then do /papi list it just lists the following expansions https://prnt.sc/rqxl77. anyhelp would be greatly appreciated.
can you send the error that should be in your console ?
it seems that you have an error with the Quests expansion, try removing it and reload PAPI
that works thank you. However the quests isnt working, and for my scoreboard i really need quests. Do you have an alternate solution for this new problem?
check if you are using the latest version of the plugin Quests
its all the latest with the 1.15 version for it
if it is the latest, try redownloading the expansion
and if it fails, then ask the dev
I will do all that. Thank you for your time
When I do /papi reload, my savageftop placeholders all turn off and it requires a restart to fix
These broke doing /papi reload
And /plugman reload placeholderapi breaks ALL the placeholders
Is there a way to fix this
And /plugman reload placeholderapi breaks ALL the placeholders
plugman, even if it's sometimes useful, breaks plugins most of the time
These broke doing /papi reload
probably that the placeholders are hardcoded in the plugin and the author forgot to register them again on /papi reload
try to contact him to fix it
Thanks for the help! 😄
Hi Guys there isnt a channel for Deluxe Menu. Is it this channel I should request support?
Understood cheers x
yo all dont suppose anyone knows is there a plugin that is supported by papi that allows u to display top donators is there?
Idk if BuyCraft supports papi or has placeholders in general.
i dont think so cant find any info on it
as im using leaderheads
and capable of displaying the top kills but cant find a plugin to display top donations
i need some guidance on what i should do about placeholders for ranks/ezrankspro on FB. i get an error when i use ezranks placeholder if i go beyond the ranks i have in my config of ezrankspro
@sacred cosmos
Please respect the rules, be patient and don't ping staff members!
{placeholderapi_ezrankspro_rank} I think this is how you use placeholders from placeholderapi to featherboard
yeah thats not the problem, the problem is when i go out of the ranks that are in the config i get an error. So for example first rank is Traveler and last rank is King, if i go to Owner rank it gives me errors
Is there a placeholder to show what server your in (bungeecord)
yeah chesk the wiki bud
oki
when i do it the servername says A minecraft server, when the server is called hub
there isn't
?
change it in the server promoties of cheat server
there's %server_name% but it shows the one in your PAPI's config
properties
thats what i did %server_name%
change it in the server promoties of cheat server
nope, this placeholder uses the name set in papi's config
thats what i did %server_name%
then change the name in PAPI's config
Can someone help me? I have an error with PAPI. When i do papi ecloud download Vault. and then papi reload, it says an internal error occurred while attempting to perform this command. https://pastebin.com/QRHYsr1p
you seem to have an error with the LuckPerms expansion that breaks PAPI
do you have Vault installed?
what's your LP version ?
java.lang.NoClassDefFoundError: net/luckperms/api/LuckPerms
LP
Update LuckPerms + Expansion.
Fixed it
yeah that's faster x)
luckperms was in the papi folder
And i dont have luckperms anymore
Thanks for the quick response
Can any of you also help me with DeluxeTags?
🙃
Ill go ther
i need some help on what i should do about placeholders for ranks/ezrankspro on FB. i get an error when i use ezranks placeholder if i go beyond the ranks i have in my config of ezrankspro. So for example first rank is Traveler and last rank is King, if i go to Owner rank it gives me errors
=paste
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
is it possible on world edit to select a radius of something like 500 blocks with out using the wand?
@compact wharf use the correct expansion version, alongside the correct plugin version. Cuz rn it's trying to access a method which doesn't exist
The correct plugin version for featherboard?
That doesn't matter, update your expansion for ezrankspro is my best bet
ill give it a shot
i updated expansion for ezranks and same thing
Hello, currently I'm trying to display the top ten factions with the most members and the most power using leaderheads, but rather than the faction name, a player name returns when i use %leaderheads_name_factionsuuidfactionsize_alltime_1% (I'm using factionsuuid). This makes sense due to the nature of leaderheads, but I was wondering if theres any way to have leaderheads return the faction name instead? Any help would be greatly appreciated.
how would i add extra placeholder for $.00 on featherboard? the only one that seems to add the 2 extra place holds is {vault_eco_balance} but it has like 4-6 depending on the balance of the player
i only want 2
Seems you're trying to load two expansions from the one jar?
RogueParkour.classv1.6
RogueParkour_placeholder.classv1.3
funnycube only change the name class, because it was redundant.
(On the day of the message I went to sleep)
Hey, I'm trying making a javascript to multiply a number * 2 and round it, but it's giving me 500.0 instead of 500, someone could help, please? Thanks :)
function hp() { return Math.trunc('%superior_island_radius%' * 2 - 1); } hp();
I think you have to use the Math.floor() function
function hp() {
var test = Math.trunc('%superior_island_radius%' * 2 - 1);
return Math.floor(test);
}
hp();```
@deep hollow
i think that should work
Script error :S
var test = Math.trunc('%superior_island_radius%' * 2 - 1);
function hp() {
return Math.floor(test);
}
hp();```
?? 🙂
Nope :S
yours gave script error
but changing "Math.trunc to Math.round"
function hp() {
return Math.floor(test);
}
hp();```
gives me 199.0
so Math.floor doesn't work?
What are you trying to do?
Removing that .0 decimal
.toFixed(0)
I need help ❤️
My papi isn't reading my EzRanksPro plugin.
#spigot-linking
Anyone else experiencing a broken server_name placeholder?
Specifically when used on a Bungee network
On every one of my servers, PAPI parses the placeholder as one of the servers [Survival]
No matter what server the user is actually on
and you are using bungee?
Yes
never seen something like that
It worked fine until the latest PAPI update
And it's not exactly an easy task for me to downgrade
The expansion is on the latest version and hasn't changed in 6 months
Is there an alternative way of grabbing a users server with a placeholder?
hmm, papi isnt able to load my statistics, redownloaded and papi reloaded just to be sure, none of the %statistic_x% are workin
nvm wrong command
was doing /fb parse instead of /papi parse, rookie mistake
For DeluxeMenus is there a way to make the whole gui fill up with like glass panes?
slots:
- 8
- 4
#etc
Anyone know how to use a interval on a hologram
I have this error/warn, it's between PAPI and VoteParty. (https://pastebin.com/ZQkRMNZu)
I can go post it in the VoteParty channel if need be.
yeh spigot was down at the time so i couldnt find it ty doe <3
How do i view the registered placeholders? If a plugin has not listed them? https://www.spigotmc.org/resources/eastereggs-1-7-1-15.39523/
I think there exists a command for it?
@sand leaf Would you know it?
it's not on the ecloud though, just hooks in already with placeholderAPI
Hm
Eggs Found Placeholder ( %eastereggs_eggsfound% )
Total Eggs Placeholder ( %eastereggs_totaleggs% )
I found that
Trying to do a hologram for the top eggs. %player% wont work, so had to use %player_name%
yes
I think %player% is only a placeholder for the plugin itself
%eastereggs_player% would work?
Nope did try that
He reckons on the plugin page he has explained the placeholders but really has not... read the reviews
I can download it and decompile it
It's ok it takes just a min or smtng
take your time
if (player == null) {
return "";
} else if (identifier.equalsIgnoreCase("eggsfound")) {
return String.valueOf(EggHandler.getEggsFound(player));
} else {
return identifier.equalsIgnoreCase("totaleggs") ? String.valueOf(EggHandler.getTotalEggs()) : null;
}
Only 2 placeholders
Thankyou
is papi down or something
PlaceholderAPI eCloud is online and responding.
weird
What causes this issue? https://paste.helpch.at/dagoxitoqu.php
It only happens when I download latest Vault expansion
Aww npe
Also, /papi ecloud download <expansion> <version> won't work
Yeah we had to disable downloading older versions ingame
It will get added back though, once enough people have moved over to the latest papi
funnycube could you tell me what I have to do to have the expansion verified?
Second time, I have this error/warn, it's between PAPI and VoteParty. (https://pastebin.com/ZQkRMNZu)
Everything breaks in PAPI all my placeholder no longer work.
Delete the expansion in the expansions folder.
It's built-in now.
Placeholders also changed. Please refer to https://wiki.helpch.at/glares-plugins/voteparty/placeholders
I'll try.
No, I mean my mcmmo, balance and faction placeholders all break when VoteParty is in my plugin folder.
Like everything else.
Again, delete the expansion in the expansions folder.
Again:
I'll try.
Try this @arctic loom
hmm
The issue seems to be the for loop itself
I dont think Bukkit.getOfflinePlayers() is different on 1.15 than 1.12.2
Like something within for(OfflinePlayer player : Bukkit.getOfflinePlayers()) causes a NPE
uhm.... There is no debug?
I see
I just disable the baltop for now as it seems to be the only annoying issue
for (OfflinePlayer player : Bukkit.getOfflinePlayers()) {
if (player == null || player.getName() == null) {
continue;
}
top.put(player.getName(), eco.getBalance(player));
}```
I don't see what the problem can be
@carmine veldt thoughts ?
Probably a player Spigot doesn't know of somehow....
somehow line 44 (the for loop) throw a NPE
didnt clip fix that issue?
for (OfflinePlayer player : Bukkit.getOfflinePlayers()) {
clip03/11/2020
@arctic loom paper said update your outdated server and its probably an issue with the environment your server is running idk
cant replicate locally
didnt clip fix that issue?
@bronze bison Considering my issue about it on the repo is still open: No he didn't
I personally do use the lates paper version...
right
But I mean clip gave a usual dev response:
Doesn't happen on my PC
well it has to be something wrong with spigot/paper, according to their documentation that shouldn't cause an issue
https://img.aboodyy.net/20.04.03_19-04.png
@arctic loom [19:14:16 INFO]: Bukkit.getOfflinePlayers() = [CraftPlayer{name=GabyTM}]
no errors
Nice.
I just give a shit now, because I disabled this and can't be bothered going through everything to find a possible cause.
It's most likely a corrupted file of a player?
The exact error is posted here: https://github.com/PlaceholderAPI/Vault-Expansion/issues/12
And it points to the line of the start of the for loop
though if the file is corrupted shouldnt the player be null and ignored?
hi everyone
got this problem with luckperms placeholder
help please, what i should do?
https://imgur.com/a/uChlPyY
download the correct expansion version
which one?
Update your LuckPerms and then run /papi ecloud download LuckPerms again.
Hey, i'm heaving a issue with advancedachievements|placeholder|mcmmo... It's not working, probably it's my fault but I don't know how to solve this issue
mcmmo_party_leader:
1:
Goal: Seja líder de uma party.
Message: Agora você é um líder de party.
Name: Partyleader
Reward:
Money:50000
Advancedachievements don't let me put %mcmmo_party_leader% and if i remove % it doesn't work either
Did you install the expansion for the plugins?
Did you install the expansion for the plugins?
@dark venture i had to install it manually cuz the command /papi ecloud isn't working
I have a question
Theres no time to wait! Ask your question @green panther!
With the CrazyCrates plugin, I'm trying to make it so when someone wins a item, it does a command to give a player 100 in game coins, the command I usually use is /sw stat (player) elo add (amount).
What placeholder would I replace the (player) with, so it actually gives the player the coins?
I feel really stupid, so while using this code:
var p2 = "%player_name%";
function always() {
if (args.length == 1) {
slot = args[0];
if (p2 != "ziemniok9" && p1 == slot) {
return "true";
} else {
return "false";
}
} else {
return "false";
}
}
always();```
placegolder ``%javascript_eastereventslot3,1%`` returns just ``%javascript_eastereventslot3,1%``
whats wrong in it...?
*i added it into javascript_placeholders
Please ping me on answer @austere hawk
hey for some reason
papi is not detecting all my extensions
and reload is supper broken
placegolder %javascript_eastereventslot3,1% returns just %javascript_eastereventslot3,1%
you need the javascript expansion
/papi reload```
Hi for some reason papi doesn't hook into the placeholder expansions
Exist a place holder and allways give you nothing, like "", just a space, or have a form to chance a clean space to None.
javascript
@austere hawk where is the "slot" variable defined?
just use args[0]
I changed it, but it still didn't fixed the problem
you need the javascript expansion
I already do have it. I even use some other javascript placeholders
Also another note:
Placeholder %javascript_eastereventslot3,1% returns %javascript_eastereventslot3,1%
Placeholder %javascript_eastereventslot3% returns false
I still need help 😛
oh @austere hawk it is %javascript_eastereventslot3_1%
before fist argument you put _
and only in between arguments you put ,
OMG, ty so much, it actually did worked out.
🙂
https://paste.helpch.at/ujaxeweful.apache
So, I'm trying to make it so the command is given to the player, however, I cannot find a placeholder for it...
%player_name% ?
Didn't seem to work..
What plugin is that from?
CrazyCrates... I am trying to give the player ELO (form of currency) from the SkyWarsReloaded plugin.
did you set the blacklisted permissions?
%Player%
I believe that's the placeholder, atleast I know that's with most of badbones' plugins
yeah it is %Player%
are you sure the command you are using is the correct one?
try doing /sw stat NickPlayzGamezz elo add 50
in chat
and see if it works like that
/sw stat _NickPlayzMC elo add 100 works in-game.
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
@reef sinew it doesn't work because you didn't set a BlackListed-Permissions: []
you can use any you want
here is an example
BlackListed-Permissions:
- 'fiftycoins.permission'
Oh, okay, then give the group that perm. (or not)
Alternative-Prize:
#Toggle if the prize will use alternative prizes for the blacklisted permission.
Toggle: false
Messages: []
Commands: sw stat %player% elo add 50
Items: []``` sets a prize for the item if you win it twice
or more
no Nick
I see now
you didn't set the prize corectly
you use Alternative Prize and Blacklist-Permission for other thinks
you add your prize here:
Commands:
- 'broadcast &6&l%Player% &7has just won &e50 Coins.'```
so like this:
Commands:
- 'broadcast &6&l%Player% &7has just won &e50 Coins.'
- 'sw stat %player% elo add 50'
you can remove BlackListed-Permissions: and Alternative-Prize:
no problem
Good morning, sir,
I have a problem, when I put %pinger_online_testplugins.com:25565% and replace with my server's ip it doesn't work in the menu
Can you help me?
Thank you
what does it return?
@whole thicket ?
try doing /papi ecloud download Pinger and /papi reload
Yes, I did, but it still doesn't work.
what does /papi parse me %pinger_online_testplugins.com:25565% return?
but change testplugin with your server's ip
%pinger_online_monip
incorrect usage
ok
and delete Expansion-Pinger.jar
and then do /papi reload
and then do /papi ecloud download Pinger and /papi reload
not rly
is it possible to add an extension where the data is returned asynchronously?
otherwise i have to do a lot of caching to preserve server quality
Code it yourself 🤷♂️
Im having an issue where PAPI says there are no cloud expansions available at this time
anyone know what im doing wrng?
try to download the expansion from the ecloud manually https://api.extendedclip.com/all/
?ecloudblock
Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://placeholderapi.com/ecloud and place them in your /plugins/PlaceholderAPI/expansions/ folder.
okay thanks
placeholders from statistics don't work for me
does anyone know how to use the factions uuid placeholders?
they dotn seem to be working 😦
hello, can somebody tell me how to fix this error?
[01:47:25 ERROR]: [PlaceholderAPI] Failed to init placeholder expansion from class: com.extendedclip.expansion.redisbungee.RedisBungeeExpansion
[01:47:25 ERROR]: [PlaceholderAPI] Channel must contain : separator (attempted to use RedisBungee)
It's RedisBungeeExpansion for PlaceholderAPI
@sudden slate Give him working jar
@warm furnace Try that ^
@gleaming charm how am i supposed to change the way that PAPI requests placeholders? wtf?
Expansion authors can implement cache if they feel like it
does papi not have a way to request placeholders in an async thread?
Not that I'm aware of, no.
alright
hello, have problem with Statistic placeholder
whan i kill a player kills are not added
https://prnt.sc/rtd1dc
and your username is planktombag ?
JokerzHD
you have to do /papi parse planktombag %statistic_player_kills%
to see his statistics
or did you killed planktombag?
yes
im killed planktomabg
and i have no kills
im installed placeholderapi 2.10.5
on 1.8.8 spigot server
weird .... it works for me https://gyazo.com/fd4443e825021932f3efece313e3fe26
try doing this /papi parse planktombag %statistic_player_kills% and see if it works for planktombag kills
so i don't know what the issue is or how to fix it but you should create an issue on github
@warm furnace Try that ^
@trim mist It doesn't work too
@warm furnace
Please respect the rules, be patient and don't ping staff members!
If I execute command /papi parse me %redisbungee_total%