#placeholder-api
1 messages · Page 73 of 1
I've installed the expansion and reloaded, now says 1 expansion loaded, but the command still returns that "%player_name%" is not found, so it doesn't replace it.
Where are you using it exactly?
I basically have this in my commands.yml":
openchest:
- uc treasure %player_name% -937 72 314 world
It's to teleport a player to a spot where they can open a lootchest for cosmetics
^
commands.yml is great for aliases
It is, but not for custom commands
one could call an alias a custom command :>
debetable
I'm at a total loss as to how to use placeholderAPIs outside of the parser. No matter what I do, the placeholders are not parsed by chat or commands. I've set myself to have all the permissions to ensure I'm not missing something, but... if I'm missing something, it's not spelled out anywhere. Does anyone have suggestions I can try?
Where are you using the placeholders, which placeholders are you using, and do you have the required expansion
PokeTeams. Trying to add %teamname% to chat prefixes, and I've tested in the parser that it works.
What chat plugin?
I don't know. I'm not sure we even have one
How are you setting the format then?
What do you mean?
You need a chat plugin in order to set the format
Can you recommend one then?
Maybe something that can be integrated with LuckPerms groups?
This works on Sponge?
Not sure
Noooo
How can i enable the cache for player head please ? It's supposed to be enabled by default but i got a loading time during which i see no skin head each time i open the menu.
You sure isn't smth at your end? It works perfect for me
I don't know, i always experienced this even on another dedicated server so ...
Profiles have to be cached client and server side
(Server looks up the URL for the texture, the client actually has to go lookup the texture)
I'm using FactionsUUID, and I need to put a space following the faction tag. This is not possible through the plugin itself, how could I go about doing this?
I assume through custom placeholder, but I am not sure how to do it.
Javascript
I don't know a lick of javascript
Sec
var faction = "%factionsuuid_faction_name%";
function chatFormat() {
if (faction !== "") {
return faction + " ";
}
return "";
}
chatFormat();
Thank you so much. How do I palceholderify this code?
You make a file with that inside and name it something.js and then out it in the javascript placeholders folder which is created after downloading the js expansion
After that you need to register the placeholder by opening the javascript_expansion.yml file and adding this at the bottom
something:
file: something.js
And then to use that placeholder you would use %javascript_something%
Hopefully that explains it :p (on mobile so hard to write that much)
(The something can be replaced by whatever you wamt to call the placeholder)
Hello I have a problem I had my server in 1.14.3 I passed it in 1.14.4 and since I have this bug that happens. Can you help me?
I am French sorry for my bad English
@oak stump ask in the correct channel please
ok
and for me?
On my phone so can't help you rn, be patient, someone will help you when they have time
Ok im using Papi and HDisplays, how would I get my factions server playercount to show? I've tried the listed ones but they aren't working? Any help would be appreciated
Do you have the expansion @plain hare ?
Also, which factions do you have? MCore? UUID?
Which factions do you have?
MCore
Which placeholder are you trying to use?
I don't think you'll be able to use placeholders from a separate server
{bungeeplayercount@factions}
the amount of people on that server
you can test placeholders with /papi parse me %placeholder%
so /papi parse me %bungee_factions%
make sure you got hext along hd
wot
without knowing about holographic extension, I had a stroke reading that statement
... ty cj
Sorry i dont use those plugins
What plugin are you using for holograms?
I mean im new to these plugins I don't have much knowledge on them
Also, did you try the parse command I sent you?
Yes
Did it come back with the number?
The parse one replied "0"
HolographicDisplays
translate
make sure you got holographic extension along holographic displays
Ok I have holographic extension
HEXT
nobody
lol
blame niall
now restart and see if it works
I don't use HD or HEXT so sadly I can't help too much there
good thing is: your placeholder works
now you just need to get it to display in the hologram....
Yes
Did you checkout the plugin page for HEXT?
They have an Implementing Placeholders section
maybe that'll help
@torn inlet depends how fast all the placeholders are loaded. Cause values are cached, but downloaded every once in a while if called
btw is there a way to reset the javascript cooldowns?
anyone know?
Hi! Trying to use JS to display specific ranks, what am I doing wrong?
It either returns the wrong rank, or doesn't display anything at all. Is the return value ""yes" or true/false?
function hasSupporterGroup() {
var groups = [
'Sphinx', 'Wyvern', 'Titan', 'Phoenix', 'DemiGod'
];
var prefix = '&f&l┗ &a&o';
for (var index = 0; index < groups.length; index++) {
var group = groups[index];
if ('%luckperms_in_group_' + group +'%' === 'yes') {
return prefix + group;
}
}
}
hasSupporterGroup();
I'm not sure off the top of my head what it returns but you could try parsing the placeholder manually to see what it returns.
using a variable inside of the placeholder isnt possible currently, theres a way but not live yet https://github.com/PlaceholderAPI/Javascript-Expansion/pull/8
huh? not even in a for loop?
All placeholders are parsed before eval
So wildcards such as yours aren’t possible rn
If that makes sense
It is using the method i added
it does, but i dont want it to be merged until someone review it
Im not the best in java
So im not sure about my code quality
Haha
... if statements instead of the for and comparing to yes/no should work yes?
The placeholders just have to be defined before eval to be parsed currently
Yes
okk ty
ughh it sucks writing tho, yikessss lol
thanks for your response @final shadow appreciate it!!!
do you manage the towny extension or does the towny dev manages the towny extension?
@bronze bison how did you get the guts to make a pull request? lol I'm scared too.
(not for this, but for any repo)
uhh, you're submitting code to a freaking repo??? where it'll be judged?!?!!?
what if they call you an idiot and now that issue is on your profile forever lmao
Lmao
Create a new portfolio
😂😂😂😂
lmao!!
yikes lol
200iq
what people say doesnt matter.. just ignore them and dont open another pr, use it for urself
And i dont think someone will investigate ut whole profile...
haha that's true
what's wrong with this? everyone is wyvern :/
function hasSupporterGroup() {
if ('%luckperms_in_group_sphinx') {
return placeholder('Sphinx');
}
if ('%luckperms_in_group_wyvern') {
return placeholder('Wyvern');
}
if ('%luckperms_in_group_titan') {
return placeholder('Titan');
}
if ('%luckperms_in_group_phoenix') {
return placeholder('Phoenix');
}
if ('%luckperms_in_group_demigod') {
return placeholder('DemiGod');
}
}
function placeholder(group) {
return '&f&l┗ &a&o' + group;
}
hasSupporterGroup();
all good
@final shadow hi question! why did you decide to return yes/no strings instead of true/false? feels weird hahahaa
@bronze bison like this?```js
function hasSupporterGroup() {
if ('%luckperms_in_group_sphinx' == 'yes') {
return placeholder('Sphinx');
}
if ('%luckperms_in_group_wyvern' == 'yes') {
return placeholder('Wyvern');
}
if ('%luckperms_in_group_titan' == 'yes') {
return placeholder('Titan');
}
if ('%luckperms_in_group_phoenix' == 'yes') {
return placeholder('Phoenix');
}
if ('%luckperms_in_group_demigod' == 'yes') {
return placeholder('DemiGod');
}
}
function placeholder(group) {
return '&f&l┗ &a&o' + group;
}
hasSupporterGroup();
@austere hawk
Please be patient and don't ping helpful or staff members!
Hey guys. I have been trying to put my network status on the TAB plugin, and it appears to be working on TAB's side, however pinger just always says 0 or offline, even when the server starts when its online, and I changed the update rate to see if it would fix it but I can't appear to figure it out. Maybe you guys can help :) I am currently using placeholer %pinger_isonline_MYIP:MYPORT%
I tried to see if it could even tell if its online so its on that right now, but still says offline
im not very intelligent so I don't know
isnt there a setting in papi's config to enable that?
also if ur using the TAB that I think of, there is a built in server pinger in that I think
checked papi config, only settings are update intervals. Changing doesn't help. I don't know if TAB does, because I want to ping a different server with different ip and ports.
tested to see if it was tab or papi with chat format and there doesn't appear to be any changes. Still says offline after waiting a few mins
hello
i tried %server_online_worldname% to show the players count in each world
but it still shows "0"
pinger may not be working in 1.14.4 ig, same issue.
after some testing, it appears that the pinger api doesn't function in paper 1.14.4 under any of my test servers
@austere hawk i fell asleep, it looks good
@valid python You using the correct world? (caps matter)
Is this fake http://daegonner.org/forums/index.php ?
This is not the original daegonner righ?
this is so crazy
You're crazy 😉
:leldog:
Efe
Nope
😦
which placeholder
Can someone tell me how to use a player head as item in DeluxeMenus
hi guys one question did the strings to get town name and money changed?
cause like %towny_town% its not working
rip pinger placeholder
I got problem when i want run /papijsp list command
https://pastebin.com/anXQBhLZ
update papi
my PlaceholderAPI isnt working with DeluxeMenu's please could someone help me?
@sharp jay please could you help me?
@austere hawk
Please be patient and don't ping helpful or staff members!
i cant use anyone %% inside deluxemenus
You install the expansions?
how do i do that?
when i do /papi ecloud download deluxemenu it says thers no expansion found
type those commands at the bottom
Ye
Any chance you could check my config see if everything is set up okay?
=paste
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
ayeee
just tried deleting and reinstalling the most recent version of papi, and i still get this message upon any interaction with ecloud
oops
No cloud expansions are available at this time.
sos 😦
Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://api.extendedclip.com/home/ and place them in your /plugins/PlaceholderAPI/expansions/ folder.
Hello, If I'm using EzPrestige and I am planning on resetting my server and resetting all player prestige, How I do it ?
Delete your player permissions data? as it's stored in permissions
I just updated my placeholderapi things to the last version now i'm getting this error
[13:51:41 WARN]: [PlaceholderAPI] Task #14 for PlaceholderAPI v2.10.3 generated an exception
java.lang.NoClassDefFoundError: com/sk89q/worldguard/WorldGuard
Anyone know how to fix this ?
Using minecraft server version 1.12.2
Are there no placeholders for askyblock that display island value #1 for example? to create a custom island top menu?
What papi version is ment for 1.12.2
latest
well I have that and it's giving me errors....
It's WorldGuards fault
ye the plugin works, but the hook doesn't
what can I do about it
Cry and go to sleep (idk :p)
Does this mean i'm basically able to do nothing ?
because that's heavily fucked up
I didn't ahve it before I updated the papi plugins
so it's a fault from papi
ooo nice thanks
If i want to get the bungeecord placeholders (%bungee_servername%) do i have to install PAPI on the bungeecord server?
no, just download the bungee expansion
/papi ecloud download bungee
/papi relaod
And
Do i install it on the spigot servers?
all of them
or only the one that has the papi
hmm just download papi and download the expansion in ur spigot server
i actually dont know, 1m checking the expansion
patience is key
^^ and doesnt seem that u need papi in ur bungee server
make sure that servername is the same as the name u set in ur bungee config
its also case sensitive
/papi list bungee is there ?
yes
what does the placeholder returns ? /papi parse me %bungee_NAME%
use the command for now, the default update interval is 30 second
u can change it in the config
for now, run the command i sent, wait 30 seconds and then run it again
ok
see if the value has changed
still 0
I'm confused as tho what you're trying to accomplish
Same
even tho im the one
Actually if it's this complicated i'll just not use it3
it's fine
Yes
if so and its not working, u can try placing papi in ur bungee server
i did that also, it doesn't load the plugin when i put in bungee server
I won't use it
It's fine
ok lol
I just installed the PrisonRanksX placeholder and they're not working
https://api.extendedclip.com/expansions/prisonranksx/ it's a manual install because it's not verified yet (dev's words)
in console they're being inserted but in game I don't see em
[16:44:43 INFO]: [PlaceholderAPI] Successfully registered expansion: prx(PrisonRanksX)
try /papi parse me %some_placeholder_here%
I did
shows the %placeholder% without actually converting
And I just changed something in the config "allow unverified expansions"
but still no success
/papi parse me %prx_rankup_cost%will say %prx_rankup_cost%
[16:59:37 INFO]: ConfigFile issued server command: /papi ecloud download PrisonRanksX
[16:59:37 INFO]: [PlaceholderAPI] Attempting download of expansion: PrisonRanksX by user: ConfigFile from url: http://api.extendedclip.com/media/PrisonRanksX-Expansion_w7k11az.jar
[16:59:37 INFO]: [PlaceholderAPI] Fetching available expansion information...
[16:59:37 INFO]: [PlaceholderAPI] Download of expansion: PrisonRanksX complete!
[16:59:39 INFO]: [PlaceholderAPI] 154 placeholder expansions are available on the cloud.
[16:59:39 INFO]: ConfigFile issued server command: /papi reload
[16:59:39 INFO]: [PlaceholderAPI] Successfully registered expansion: checkitem
[16:59:39 INFO]: [PlaceholderAPI] [Expansion-Config] Loading...
[16:59:39 INFO]: [PlaceholderAPI] [Expansion-Config] 2 config paths cached.
[16:59:39 INFO]: [PlaceholderAPI] Successfully registered expansion: config
[16:59:39 INFO]: [PlaceholderAPI] Successfully registered expansion: essentials
[16:59:39 INFO]: [PlaceholderAPI] Successfully registered expansion: player
[16:59:39 INFO]: [PlaceholderAPI] Successfully registered expansion: prx
[16:59:39 INFO]: [PlaceholderAPI] Successfully registered expansion: server
[16:59:39 INFO]: [PlaceholderAPI] Successfully registered expansion: statistic
[16:59:39 INFO]: [PlaceholderAPI] Successfully registered expansion: tokenenchant
[16:59:39 INFO]: [PlaceholderAPI] Successfully registered expansion: vault
This makes no sense
I install the palceholderapi of prisonranksX
it says sucess
then it doesn't work
Can someone actualyl help ?
Did you configure it in the config?
It's looking for PlaceholderAPI.rankup-cost-lastrank it seems
in the PRX config
Wait what ?
FREE is my last rank
are you OP/have all perms
Yes I'm opped
FREE:
display: '&8[&c&lF&6&lR&e&lE&a&lE&8]'
cost: 5000000000
nextrank: LASTRANK
executecmds:
- pex user %player% add essentials.warps.FREE
broadcast:
- '&6%player% ranked up to %rankupdisplay%'
free rank btw^
but if your next rank isn't a thing, it will search the config for that part I believe
deop yourself and see what it says
How can I parse if I'm deopped....
and set yourself to a rank before free
I believe you can parse from console
How can you correctly configure a server if you test it only as OP? 😉
Facts.
I'll try from console rn
>papi parse ConfigFile %prx_currentrank_displayname%
[17:17:49 INFO]: %prx_currentrank_displayname%
doesn't work
what rank are you set to
A
I can't stand it when dev's publish stuff that doesn't work.
It's like making a server that's not functional then saying to the players enjoy.
what about prx_money
/papi list
then I install it
Then It says "installed
then I check
Papi ecloud list installed
not there
while it does say 9 placeholderapi's installed
but only shows 8
what does /papi list say
checkitem, config, essentials, player, prx, server, statistic, tokenchant, vault
yep, idk then
soo annoying
you keep listing the ecloud expansions
instead of the ones you have installed
it's greyed out because it's not verified probably
before contacting dev, I'd say try a manual download and see if that works: https://api.extendedclip.com/expansions/prisonranksx/
Didn't change a thing
Also, before dev, did you try restarting?
I restarted my server I think about 20 times while messing wit this
dev time
the real question is: why does he include placeholders in his plugin and outside of his plugin?
@dense trail try using prisonranksx for your placeholder identifiers
wdym with that ?
ahh
prx will refer to the expansion
I would say contact the dev still
/papi parse ConfigFile %prisonranksx_money% shows my money
/papi parse ConfigFile %prx_money% shows the %prx_money% placeholder
So that will break if you reload I guess? not sure.
if I do /papi reload u mean ?
not sure, I took that screenshot from his plugin page
or/reload ?
Oh let me check
Oh yeh
when u do /papi reload it breaks yeah
;.
:/
This is some broken shit lol
He answered pretty quickly on the first message @mint fable
He said The expansion placeholders starts with %prx instead of %prisonranksx
now waiting on another answer because he misread my question
What was your question?
I'm creating a prison server (Obviously) and I'm tying to use the placeholders of PrisonRanksX for my tab plugin, however the placeholderApi doesn't seem to work, I see it in the /papi list and when I install it says sucessfull install but doesn't show in /papi ecloud list installed & I have also tried the manual install from the page u mentioned at the resource page of PrisonRanksX, didn't work either. Can you help me by any chance ?
then I mentioned I used both ways
Doesn't seem the smartest guy :_:
I legit told him that nothing is working basically
then he says that i have to use prx instead of prisonminex
🤔
wasn't worded the best tbh, but eh
I understand, but I've send 4 messages now and still no fix :_:
How can I word this better "No single placeholder is working"
lol
I've tried both the placeholders included in your plugin (prefix prisonranksx), and the placeholders included in your expansion (identifier prx). None of the prx placeholders work at all, while the prisonranksx ones work until I run /papi reload
You don't have to /papi reload can't you just keep it?
What a dedication and professionality for a developer.
This dev....
[19:18:57 WARN]: [PlaceholderAPI] Plugin PlaceholderAPI v2.10.3 generated an exception while executing task 380
java.lang.NoClassDefFoundError: me/realized/tm/api/TMAPI
at com.extendedclip.papi.expansion.tokenmanager.TokenManagerExpansion$1.run(TokenManagerExpansion.java:91) ~[?:?]
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.14.4.jar:git-Paper-146]
at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.14.4.jar:git-Paper-146]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.14.4.jar:git-Paper-146]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
@heavy jay delete the expansion and use %tm_<placeholder>%
it has the expansion built into the plugin now
Hey, I want to provide Placeholders from BungeePerms. We do not want a seperate jar, but I don't really undertand what the differnce between "Without an external plugin" and "With an external plugin -> Inner class" is
u want it to be built-into ur plugin ? use whats mentioned here https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/PlaceholderExpansion#internal-class
Yes, but I still dont get the difference between this and that: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/PlaceholderExpansion#without-an-external-plugin
without a plugin, so like Player expansion
u dont need a plugin to make it work
or to hook into it
thats the difference between with and without external plugin
I have no idea what you're talking about. Sorry, i've never used PAPI, I'm just trying to read into it a bit before implementing it into BungeePerms
Just check With external plugin
It says 110
Why is %fabledskyblock_island_leaderboard_level_rank% returning as -1, if the player is not the owner of the island only a member? How can I fix this? Can javascript fix it?
What do u want it to return?
as the same it would for the owner of the island
Well guess that wouldn't be possible
:/
do you have the expansion, and does TM support papi?
Which placeholder are you trying to use?
Show me which
does anyone have a fix to the pinger placeholder. Its been broken for a while
@brisk coral GangsPlus, Vault, Rankup,
You don't need to ping me all the time..
Sorry
Have you reloaded papi after downloading each of the expansions?
which placeholders are you trying to use from them?
@brisk coral Unknown expansion.
What plugin is the rankup one from?
It's called Rankup
doesn't have an expansion meaning the placeholders are built into the plugin
It says it uses Papi
Can you get me the link to it
can someone send me the link for the BountyHunters Placeholders, I can't find them
@brisk coral Any idea?
@paper flower
Please be patient and don't ping helpful or staff members!
Sorry 😦
Ask in Rankup's discord, since the issue is on their side
Ok
@fathom salmon this plugin? https://www.spigotmc.org/resources/bounty-hunters.40610/
That's the one
The placeholders are on the spigot page lol
Ik but how do I download them
Bounty hunters has a GUI where it lists stuff and it just shows %bounty_xxxx%
@brisk coral Unknown expansion.
Mmmh not listed on the github, have you tried /papi download ecloud bountyhunters or bounty_hunters?
checking the ecloud ^
The placeholders are built in
meaning a restart should probably fix it
Aight I'll restart the server and get back to you
I restarted the server and it still shows the placeholder names but not that actual information
@fathom salmon Why the fock do you keep ghost tagging me?
i replied to you
Contact the author
okay
Is this where I would get support for DeluxeMenus?
I have some questions about migrating from another GUI plugin we use.
Ask your questions
I currently use ChestCommands GUI for my GUI plugin. I just barely discovered DeluxeMenus (IDK how so late) and I think I'll take the plunge. One issue I have however is how would you launch a GUI from a sign?
You need a plugin for that, dm it's made to support only commands
Alright. Do you have any suggestions?
Nope
Hmmm...
Can I get the ChatReaction top1 somehow with a placeholder?
I want to give out prizes
Not with papi, at least not rn
Idk, try
yea one sec
Does DeluxeMenus support launching a GUI from a GUI?
yes
Noice.
Can you launch a DM GUI from a DM GUI, so you can have nested DM GUI menus? (Might sound too similar, but the last one was for plugins with a built-in GUI.)
Yes [openguimenu] menuNameHere
Alright. Thanks!
Also #general-plugins
Alright.
does no one care about the pinger placeholder... its been broken for like a few weeks
no. I guess I will open one
Yeah, just create a new one on placeholderapi/placeholderapi
done
does placeholderapi exist for bungeecord?
Nope
Have you enabled it in the config
And where are you trying to use them
{bank_money}
Tried /paper parse me %bank_money% ?
Paper parse me? You on some koosh electric
for future reference, the commands can be grabbed via the papi bot. -papi bank
Too used to no-brain running the paper scripts I guess 😄
@carmine veldt Unknown expansion.
or not
It's not an expansion
It's provided by the plugin, hence why I said to test papi, if that didn't work, only option is to go speak to the dev
ic
It's built in, meaning you should try {placeholderapi_bank_money}
Doubt it'll work but you can give it a go
Contact the author then
You could use MultiEconomy
Wait. Is there such thing as getting the .jar file from javascript? ._.
Also, wrong place to ask 👀
oh god, meant to ask it in development
wdym?
Server expansion downloaded 7 times, server restarted, everything is up to date, why does it show this?
https://img.doublethepsycho.com/cYHDZ
%player_server%, 1.14.4, Spigot just compiled.
(Yes, the player expansion is also downloaded)
Is %server_name% relative or does it show what server the chat view is on?
Also %server_name% shows the server MOTD, not the name
No not even the MOTD, it shows "A Minecraft server", whitch is not stated in any server config files
open an issue here https://github.com/PlaceholderAPI/Server-Expansion/issues
ik
NVM I figured it out, server name is stated in PAPI/config
I had to ZIP my server and use RAR to find it lol
-pinger
pinger ^ (I did hear there were some problems with pinger recently though)
So be weary of that
@tribal robin
wouldn't Pinger require the server to run on public ports?
I don't believe so
you should be able to use localhost:25565 or something
Can't guarantee that though
hmmm
I'll try it
the issue though, is that I want to check the motd of the server the player is currently on
how to add placeholders for kits?
?
@bronze bison I thought you set that in server.properties
@limber ice the method to get that has been removed in 1.14 iirc, so clip changed made it in papi config
well papi 2.10.3 don't have that in the config, but 2.10.1 does
Yea, it's "not a standard property", so md removed it -.-
it kinda doesnt make sense but people wanted it
clip wanted to remove it anyways, it was in player expansion
Ironic make sure u have latest server expansion
It does make sense, tbh
You call your lobby server the lobby, you call your survival server survival; It's just a clean way to give a name to a server, when we had server.properties we had a nice central place for that, and now md went git rekt I guess
u cant use that piece of data in another server.. afaik
it does make sense if ure too lazy to change the server name in one placeholder and that changes everywhere (iirc thats the only reason why clip kept it)
I mean, that lets you recycle configs where needed
on the servers that was not working I needed to updated the expansion, a plus if the server.properties is set it auto filled the config in papi to correct name. was looking at backup not new config
Is there an askyblock placeholder to display island size? Doesn't display one on the site, but I thought I'd check here to be sure.
if there's not you can make a js one using the permissions
that will work only for the island owner frosty
idk then
seems strange that there is no placeholder for that
I mean askyblock isn't really good now is it, perhaps suggest it to the author if the plugin is even being updated anymore
it is not
Well I don't know if ASkyblock has the size method, but I do know that I just mess with the method recently
but still the most supported skyblock plugin as far as I know
waiting for Gian to finish his skyblock plugin cough @sudden slate cough
The dumb thing is Island and ASkyBlock classes are not present in their Javadoc
mmh
Only ASkyBlockAPI and their events are presented
I wanna add https://github.com/hugmanrique/Slime support 😮
Let me open my IDE for a bit
they do have a permission askyblock.range something, but no placeholder :/
?customheads
How to use custom heads in DeluxeMenus:
a) A player name material: head;extended_clip
b) The player's head material: head;%player_name%
c) The base64 code of a head material: basehead-<code>:
- Go to https://minecraft-heads.com and find a head.
- Copy the head Value code (from the page bottom)
d) EpicHeads material: heads-<id>:
- Require https://www.spigotmc.org/resources/13402/
e) HeadDatabase material: hdb-<id>:
- Require https://www.spigotmc.org/resources/14280/
Hm?
I always forget the material 😄
@brisk coral says u :P. I still keep getting support from people who use ASkyblock lel
http://prntscr.com/om0w35 any idea why I keep getting this error when I try to /papi reload
The extension itself works fine, so I don't know why it does this.
@mortal ermine #spigot-linking for
help
in this case, the voteparty expansion it's made for clip's 
Somehow the placeholders are still working for some reason
voteparty placeholders? kinda impossible tho
can I get a link to the plugin you're using
bit confused as to how the expansion can hook into it, unless it was copied from VP and just changed a bit
the code isnt OS so we cant know
http://prntscr.com/om1c3u this is the config file
I talking about the actual code
oh
=yaml
Link me to a config and I'll check to see if it's valid.
=yaml <paste link>
I checked your config and, it's valid!
+ Correctly Formatted```
and it still doesn't load... lol
You can check the syntax of your configs using the online parser here, https://yaml.helpch.at/
and then =yaml link?
no, that cmd isnt the best
gosh forgot my 'items:'
type: javascript
expression: '%vault_eco_balance_fixed% >= 51200000'
output: '51200000' # Used http://www.pernsteiner.org/minecraft/levelcalc.html for calculation```
that's not a thing
the output part at least.
well the output is not needed right
also #general-plugins
okay
can somebody help with chatcolor+ placeholder
explain your issue
the placeholder is not working for me
in chat
there is no expansion for the plugin
Show me which placeholder, and what chat plugin are you using
i am using deleuxechat
=faq spigot
Spigot Account Linking
To get support for a premium plugin owned by Clip you will need to verify your spigot account using =spigot in the bot-commands channel. After you have successfully linked your spigot account you should ask your question in the coresponding channel for that plugin. If you have already linked your account and want to update your roles, run this command =spigot check
do this first
@brisk coral hello!
So I am using Deluxe Hubs and I need to use placeholderAPI for that, i got bungeecord server up and runing
1 bungeecord and 3 spigot
the network is set up and ready to run but I want to link so when u use Deluxe Hubs you go to another server.
but it says I need placeholderAPI
not familiar with the plugin so no clue
that doesn't say you need placeholderapi.. that just says that the lore in the item supports papi's placeholders
oh ok, thank you. mb then I guess.
when I do /papi ecloud downlaod it says. No cloud expansions are available at this time
try manually downloading from https://helpch.at/ecloud
Should your host not allow connections to the PlaceholderAPI eCloud, you can manually download expansion from https://api.extendedclip.com/home/ and place them in your /plugins/PlaceholderAPI/expansions/ folder.
//SCOREBOARD
Scoreboard scoreboard = new TeamsScoreboard();
final String scoreboard_title = main.getConfig().getString("Scoreboard.Title").replace("%player%", p.getDisplayName());
main.getConfig().set("Scoreboard.Title", scoreboard_title);
scoreboard.title(ChatColor.translateAlternateColorCodes('&', scoreboard_title));
final List<String> lines = main.getConfig().getStringList("Scoreboard.Lines");
lines.forEach(line -> scoreboard.line(ChatColor.translateAlternateColorCodes('&', line).replace("%player%", p.getName())));
p.setScoreboard(scoreboard.getScoreboard());
userBoards.put(playerUuid, scoreboard);```
How can I support the placeholderapi
event.setJoinMessage(withPlaceholdersSet);```
^ I have no clue what that means and does.
// We parse the placeholders using "setPlaceholders"
joinText = PlaceholderAPI.setPlaceholders(event.getPlayer(), joinText);
Can I get a better explanation?
@trim mist, do you mind helping? 😛
@radiant jewel
Please be patient and don't ping helpful or staff members!
@radiant jewel What are you trying to accomplish?
Adding support to PlaceholderAPI?
Yea
To the scoreboard.
Scoreboard scoreboard = new TeamsScoreboard();
final String scoreboard_title = main.getConfig().getString("Scoreboard.Title").replace("%player%", p.getDisplayName());
String withPlaceholdersSet = PlaceholderAPI.setPlaceholders(e.getPlayer(), scoreboard_title);
main.getConfig().set("Scoreboard.Title", scoreboard_title);
scoreboard.title(ChatColor.translateAlternateColorCodes('&', scoreboard_title));
final List<String> lines = main.getConfig().getStringList("Scoreboard.Lines");
lines.forEach(line -> scoreboard.line(ChatColor.translateAlternateColorCodes('&', line).replace("%player%", p.getName())));
p.setScoreboard(scoreboard.getScoreboard());
userBoards.put(playerUuid, scoreboard);```
and the join message?
Would something like this work?
Uh, just the scoreboard.
My plugins pretty much finished, but then I was like, why not add PlaceHolderAPI support.
Alrighty give me a moment.
Was writing up a example with the join message, but will do it for the scoreboard in a moment.
ye?
was just making sure xD
Alright here's my explaination of the API (notice I may be wrong in a part for how it functions fully)
// In this line below, it is going to go through the PlaceholderAPI's api, and go through all expansions and replace any
// placeholders that are potentially in the text area.
String text = PlaceholderAPI.setPlaceholders(e.getPlayer(), "&a%player_name%&f's board");
// Now when you print your text it should be for example:
System.out.println(text);
[00:31:37 INFO]: Baddog6's board
There's a small example if that is what you were looking for.
setPlaceholders is basically PlaceholderAPI's method to go through all the expansions and replace any placeholders that may be in the String.
For more detail you could read the GitHub docs @radiant jewel in that class.
Why do we do e.getPlayer();
If it's a specific text:
Thats really confusing me
/**
* set placeholders in the text specified placeholders are matched with the pattern
* %<(identifier)_(params)>% when set with this method
*
* @param player Player to parse the placeholders for
* @param text text to parse the placeholder values to
* @return text with all placeholders set to the corresponding values
*/
public static String setPlaceholders(OfflinePlayer player, String text) {
return setPlaceholders(player, text, PLACEHOLDER_PATTERN);
}
Well the placeholder will be different for each players
What I am trying to do, is support any type of placeholder in the scoreboard not just the players name
Yeah that's what it does.
But all expansions require to support the player.
to get any player related placeholders.
as that'll be for a player.
Well you can pretend if the e.getPlayer() is not in the method, all players will get the static value , not each-a-value
Hmm, okay.
final String scoreboard_title = main.getConfig().getString("Scoreboard.Title").replace("%player%", p.getDisplayName());
String withPlaceholdersSet = PlaceholderAPI.setPlaceholders(e.getPlayer(), scoreboard_title);
main.getConfig().set("Scoreboard.Title", scoreboard_title);
scoreboard.title(ChatColor.translateAlternateColorCodes('&', scoreboard_title));```
So something like this would work?
What's with the config set?
as your not grabbing any of the placeholders if your trying to do that.
and you aren't actually putting the placeholders on the scoreboard
scoreboard.title(ChatColor.translateAlternateColorCodes('&', withPlaceholdersSet));
Should be that.
You don’t even need to call the chatcolor method if using papi
Ohhh, now I am starting to get it
It translates
I think the chat color is for the other text in the scoreboard Clip.
Papi returns the string with chatcolor translated
main.getConfig().set("Scoreboard.Title", scoreboard_title);
I remove this piece of line right?
I am used to setting it.
and getting it
Well are you setting anything that you need to do that?
If that's how it works that's how it works, but you must be doing a lot of setting if your grabbing the text originally already.
and nothing is changing.
Ill try removing the setting part
and that'll mess up after it replaces a %player%
as now your scoreboard is set to the one player, if it saves.
Alright, done
final List<String> lines = main.getConfig().getStringList("Scoreboard.Lines");
lines.forEach(line -> scoreboard.line(ChatColor.translateAlternateColorCodes('&', line).replace("%player%", p.getName())));
p.setScoreboard(scoreboard.getScoreboard());
userBoards.put(playerUuid, scoreboard);```
What about this lol
Same thing?
Same thing? your not using the papi api in the stuff you put above.
final List<String> lines = main.getConfig().getStringList("Scoreboard.Lines");
String placeholders = PlaceholderAPI.setPlaceholders(e.getPlayer(), lines)
lines.forEach(line -> scoreboard.line(ChatColor.translateAlternateColorCodes('&', line).replace("%player%", p.getName())));
p.setScoreboard(scoreboard.getScoreboard());
userBoards.put(playerUuid, scoreboard);```
Also I don't need the %player% anymore right? :p
Oh wait, it doesn't support an arraylist?
Well if your supporting PlaceholderAPI people can just use %player_name% with the Player expansion.
It should from what the class says.
but your converting to a string after you convert a List.
List<String> placeholders = PlaceholderAPI.setPlaceholders(e.getPlayer(), lines);```
That should work? ^
final List<String> lines = main.getConfig().getStringList("Scoreboard.Lines");
List<String> placeholders = PlaceholderAPI.setPlaceholders(e.getPlayer(), lines)
placeholders.forEach(line -> scoreboard.line(line)));
p.setScoreboard(scoreboard.getScoreboard());
userBoards.put(playerUuid, scoreboard);
Should work, but may not work, my scoreboard just does it per line and sets it for that line.
Alright, time to test it out.
Scoreboard scoreboard = new TeamsScoreboard();
final String scoreboard_title = main.getConfig().getString("Scoreboard.Title").replace("%player%", p.getDisplayName());
String withPlaceholdersSet = PlaceholderAPI.setPlaceholders(e.getPlayer(), scoreboard_title);
scoreboard.title(withPlaceholdersSet);
final List<String> lines = main.getConfig().getStringList("Scoreboard.Lines");
List<String> placeholders = PlaceholderAPI.setPlaceholders(e.getPlayer(), lines);
placeholders.forEach(line -> scoreboard.line(line));
p.setScoreboard(scoreboard.getScoreboard());
userBoards.put(playerUuid, scoreboard);
It aint working
Its not even spawning in the scoreboard
Did it work previously?
You don't have PlaceholderAPI installed?
Oh shit your right
As that would explain why this would fire:
Caused by: java.lang.ClassNotFoundException: me.clip.placeholderapi.PlaceholderAPI
Player?
That would require Vault most likely
true true
Try like: ```JAVA
%player_x%
%player_y%
%player_z%
Congratulations you now hooked into PlaceholderAPI, if you have another other PlaceholderAPI related questions put them below else if it's a development issue use #development.
Alright, thank you.
I am going to release my plugin tonight I believe :p
@austere hawk
As it's a development issue would've been better in #development, and that's a issue it seems to the fact your using bungee's api for chat color.
should switch to Bukkit's
@austere hawk do you know by any chance if there is some type of placeholder to check how long the server has been on
Found this:
%server_countdown_<SimpleDateFormat>_<time>%
by date format
%server_countdown_dd.MM.yyyy_01.01.2020%
%server_countdown_dd.MM.yyyy_01.01.2020% how do I use this
like for example I want to end it on the 31st of august
Well it says it below in the documentation.
Not that I am aware of, as you aren't
using it right
you forgot the whole simpledataformat
<time> is the date and time
1 moment.
%server_countdown_<DDMMM>_2019.08.31%
if it's on the beginning of the day.
some _ got removed due to discord
Well maybe stack it into ```
Alrighty, thought I did part of it, except that might not do the of part
you might want to do two placeholders
one for the day
one for the month
to do like
"31 of August"
"%server_countdown_<DD>_2019.08.31% of %server_countdown_<MMM>_2019.08.31%
@radiant jewel
Wait what xD
General:
join-message: '&8[&a+&8] &e%player% &aConnected!'
leave-message: '&8[&c-&8] &e%player% &cdisconnected!'
discord-link:
store-link:
lock-chat: true
no-permission: '&cNo Permission.'
Scoreboard:
Title: '&cWelcome %player_name%'
Lines:
- '%player_x%'
- '%player_y%'
- '%player_z%'
Selector:
Name: '&cServer selector'
Lore: This is a lore
Gui:
Title: Select A Server
Size: 9
Items:
'1':
Name: "&aHub"
Material: creeper_spawn_egg
Command: /hub
Slot: 4
Lore:
- '&7Click to join the &2&lJungle &7realm!'
- ''
- ''
- ''
- '&2&lInformation'
- ''
- ''
- ' &7Online Players: &2%server_online%'
- ' &7Payout: &2$875 &7(weekly)'
- ' &7Season: &21'
- ' &7Countdown: &2%server_countdown_<DDMMM>_2019.08.31%'
What do I put in the config?
If you want it to be the exact date
that I showed
you need to do two pulls but I may be wrong
one for the day
one for the month
- ' &7Countdown: &2%server_countdown_<DD>_2019.08.31% of %server_countdown_<MMM>_2019.08.31%'
at me.pluginstuff.hubplus.utils.ItemBuilder.name(ItemBuilder.java:46) ~[?:?]
I am 100% sure its a problem in the config
Found the error.
Everythings working, thank you @austere hawk for your help man!
have you realoaded papi after downloading the expansion?
yes
you have vault right?
yes
you getting any console errors?
ummmm idk how to have this done but id like api for superiorskyblock2, Mostly Top Island
Contact the dev of the plugin to add placeholders for it 😉
um..
=paste
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
Various Commands for Barry.
• General Bot/Guild Commands
• Miscellaneous Commands
• XP and Level Commands
• ChatReaction Help
=help general
Commands for Barry.
=ping - Pong, hopefully...
=members - Total count of all members
=uptime - How long I've been alive for
=info - Get some guild wide stats
=github <username> - Link GitHub Account
=spigot <username> - Link Spigot Account
=whois <@user> - General User Information
Please use #bot-commands
Who is the dev?
Trying to make a placeholder for bungeecord for one of my plugins and I wanted to know, do I need to put PAPI onto my bungee server? (Im thinking not but idk)
By "make a placeholder" do you mean use the bungee expansion?
no
Im making a spoofer plugin so I need to be able to grab the spoofed bungee count
I got the individual server to work just need help transferring the bungee placeholder to th bukkit server
Hmm, I'm not sure then
I will say this though:
If you have a plugin on your bungee server that accesses PAPI's code, you'll need it on the bungeecord server
ye
Just cant get the bungee jar to display the placeholder to the bukkit server
Wym display it to the bukkit server?
tbh Im just here asking support for the dev who is doing it
xD
Let me see if I can ge the actual dev to join
oh you're not the dev
Nah I just own the rights to the plugin
I've never used bungee really, so I'm not sure how much help I can provide
but if your dev joins, it would make it easier
👍
I believe you want to access bungee from bukkit, not the other way around
Also... are you really using bukkit or are you using spigot? O.o
Im actually using spigot
ok lol
MonkaS
🙉
@austere hawk
Please be patient and don't ping helpful or staff members!
@mint fable ah here he is xD
You can get help with development over in #development @austere hawk
Ty 😄
is this not the place to ask?
🤔
It is, but for specifically development, the other channel is a lot better
This is for more generalized things about PAPI
Who's is the dev?
Of PAPI?
ya boi clip the paperclip
It's clip, as said above. What's up?
I want superiorskyblocks as an api
best to contact the author of superiorskyblock
Follow that advice for next time please and thank you ^ 😄 @prisma echo
(Basically give as much detail as you can in your first question)
Help
@austere hawk :p
I have to sleep, so DM me the solution cause I can't just keep scrolling till I find the answer ^^
Either you don't have the dependency ASkyblock or the expansion is outdated.
or the plugin is outdated
UUID ye
Caused by: java.lang.NoSuchMethodError: com.wasteofplastic.askyblock.PlayerCache.getIslandLevel(Ljava/util/UUID;)J
at com.extendedclip.papi.expansion.askyblock.ASkyBlockExpansion.onPlaceholderRequest(ASkyBlockExpansion.java:133) ~[?:?]
Import Error: java.util.UUID;
my placeholder api doesn't load on my bungee
31.07 21:57:23 [Server] WARNING Error enabling plugin PlaceholderAPI
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
How to fix this?
https://imgur.com/hpOHUuQ
The placeholder for buycraft is not working on leaderheads version 3.1.8.3
Contact the leaderheads dev
how do i see all the placeholders
is there a placeholder for deaths, kills and blocks broken?
do -papi statistic
in where?
Here
thx
If I make a server selector with dm, is it possible to make a blinking arrow in the lore? Like ">> Click me to connect" and the arrow is blinking?