#placeholder-api
1 messages ยท Page 101 of 1
its not braking any other plugins so i might live with this
and yes it is a warning but i just wanted to be curious of what is the cause of it
maybe the mcmmo placeholder can't get the level fast enough, which makes the progress bar throw this warning until it gets the level
and what may have changed between the 2 tab versions is the speed of the placeholder parsing I guess ? I'm not sure
anyways im sticking to TAB v2.7.3
hello I have a question. I have installed PlayerPoints, run command to install ecloud placeholder API, and tried to insert %playerpoints_points% placeholder to Essentials Chat but the problem is that it doesnt work for me... version 1.12.2
any advice please?
I have also tried to use ChatInjector but it seems it is not helping
I'm having some issues with my placeholders in DeluxeMenus.
With my LeaderHeads plugin an issue arises when displaying the top members in a GUI. Since there's only been 4 players on my server, nr. 5 and so on will crash the GUI being the material of nr. 5 and so on (the material of a head which doesn't exist since we don't have player nr. 5) how do I prevent this, so if there's not all people needed, it'll just showcase another material till a player gets on the leaderboard?
As you can see I had to put the 5th spot as nr. 1 to insure the GUI didn't crash when opened. Config:
'4':
material: 'head;%leaderheads_name_statisticjump_alltime_4%'
data: 0
slot: 23
update: true
display_name: '&c#4 &f%leaderheads_name_statisticjump_alltime_4%'
lore:
- '&7Times jumped: &a%leaderheads_value_statisticjump_alltime_4%'
'5':
material: 'head;%leaderheads_name_statisticjump_alltime_1%'
data: 0
slot: 29
update: true
display_name: '&c#5 &f%leaderheads_name_statisticjump_alltime_5%'
lore:
- '&7Times jumped: &a%leaderheads_value_statisticjump_alltime_5%'
Here's the console error:
[21:48:28 INFO]: OHMelin issued server command: /topjumps
[21:48:28 WARN]: Exception in thread "Craft Scheduler Thread - 19"
[21:48:28 WARN]: org.apache.commons.lang.UnhandledException: Plugin DeluxeMenus v1.10.5 generated an exception while executing task 1013
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalArgumentException: Name and ID cannot both be blank
at com.mojang.authlib.GameProfile.<init>(GameProfile.java:25)
at org.bukkit.craftbukkit.v1_8_R3.inventory.CraftMetaSkull.setOwner(Unknown Source)
at com.extendedclip.deluxemenus.menu.MenuItem.getItemStack(MenuItem.java:268)
at com.extendedclip.deluxemenus.menu.Menu$2.run(Menu.java:232)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(Unknown Source)
"Name and ID cannot both be blank"
@quick tinsel Make a js placeholder which will return a blank head if there hasn't been a player for that rank yet
Uhmm, how do I do that? ๐ถ
What does the placeholder return if there isn't a player in that spot when you parse it (using /papi parse)
Nothing
function getHead()
{
var position = args.length == 1 ? "%placeholder_" + args[0] + "%";
if (position == "") return <emptyhead>;
return "%leaderheads_name_statisticjump_alltime_" + position + "%";
}
getHead();
On mobile so typing this is hard af
Make a js for that, then use %javascript_<js file>_<position>% to display it
Sec lemme get u wiki on how to set it up
So I download the expansion
%javascript_myfilename_whatposition%
Where do I put the script file which I'll name "myfilename" and what position thing is that?
Position being ie. 4, 3 etc
Oh wait, so if I do more of these GUI's I'll have to do multiple js things?
You put the js file inside javascript expansions folder, and then you register it by putting the following inside javascript_placeholders.yml
filename:
file: filename.js
engine: nashorn
Wdym more of these guis
As in for different stats?
Yeah
You'd have to modify the js to allow you to also specify which placeholder it parses
Yes, you need to fix the values, I just put placeholder values in there
I'm a total noob at this, how do I fix that? ๐ฌ
Ugh I can't do this rn, just noticed you'd also need to specify which value it returns, hit me up in dms and I'll give you an example tommorrow if someone else doesn't help you by then
Thanks I'd love that!
Hai so recently i updated to the latest version of placeholderapi before I had placeholderapi 2.9.2 but now that i have the latest version I get a warning in my console
Warning: https://pastebin.com/bjLgeGwR
but before on 2.9.2 i never got that warning so I went and deleted every expansion and tested them one by one and the only one that gives me this warning message is BaMobCoins 1.3 i already tried contacting the dev of the plugin they said its not them its placeholderapi how do i fix this and i tried what barry has told me and it doesn't work
@hollow kite,
Looks like your server can't connect to our API,
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.
Hello, I'm using PlaceholdersAPI + TitleManager, and I'm trying to make Tab show my Bunggecord-Online Total, but it displays 0 instead of the current number, anyone knows whats the issue/fix ?
is there a way i can have different pinger settings for each server?
like say i wanted to have different colored statuses for each server
Hello, I'm using PlaceholdersAPI + TitleManager, and I'm trying to make Tab show my Bunggecord-Online Total, but it displays 0 instead of the current number, anyone knows whats the issue/fix ?
what placeholder did you try ?
it should be %bungee_total%
Hello
is there a placeholder for McMMO leaderboards?
Yea, I found that but it has no Leaderboard
You can use leaderheads to make leaderboard placeholders
There isn't any
there aren't as I know
Atleast not that I'm aware of
oh :( I guess I will just have to save up
lol
@static zenith explain your issue here
iff: /papi parse me %parseother_loupiote91_{player_has_permission_have.ile}%
return error:
to me it looks like you forgot the brackets
ya, doesn't matter
๐คทโโ๏ธ
you need to follow the format perfectly
which means including all the brackets
oh, its worked, thankss! but no return response
/papi parse me %parseother_{loupiote91}_{luckperms_has_permission_have.ile}%```
After a test, the placeholder does not support offline players?
Oh... the placeholders I want don't detect players offline. ๐ข
Doesn't vault have a permission check system? I don't see it in the list.
oh I guess not
double rip
probably because permissions are only set when the player is a player
player expansion maybe?
same for player expans
F
it has it
no detetct offline player
ah
it makes sense tho
I went over this a couple days ago
sometimes placeholders update very frequently, and if luckperms wanted the placeholder to access the database... that would be a lot of calls
and storing everybody in a cache wouldn't be smart
@vivid sparrow gimme a hand k tnx
var papi = PlaceholderAPI.static;
var player = BukkitPlayer;
function getHead()
{
var scenario = args.length >= 1 ? args[0] : null;
var placeholder = args.length >= 2 ? args[1] : null;
var position = args.length == 3 ? args[2] : null;
if (scenario === null)
{
return "undefined";
}
var newpl = "%leaderheads_" + scenario + "_" + placeholder + "_" + position + "%";
var value = papi.setPlaceholders(player, newpl);
if (value !== "")
{
return value;
}
return "head value";
}
getHead();
Which returns the correct placeholder (if not parsed), however returns empty when parsed (leaderheads part)
Input being %javascript_heads_name,(statisticjump_alltime),4%
The brackets are temp, cause I thought the _ might be the issue but it's not
What are you trying to do?
the leaderheads placeholder returns empty if the user in that position doesn't exist, so it would return a different head if that's the case
Right
However, if it does exist the leaderheads one return the correct value, however the js one returns empty even though the returned value of the js is identical to the leaderheads one
Get what I mean?
you understand that you cant run code after return, right?
anything else under return value; is ignored
Read the comments.. @vivid sparrow
wdym a return is a return, you high or?
Like I said, that was a return to test the value it outputs, and not actually used in the test which gave the output I described above
talking to Robin, and it outputs correctly, however it doesn't join all the things into a single string for some odd reason (even with having a var before that which combines all of them)
what
[17:54:51 WARN]: [LeaderHeadsRevamped] Placeholder " + scenario + "_" + placeholder + "_" + position + " has an invalid number of parts it doesn't combine the strings which confuses me btw
are you asking me for assistance
Yes
Iโll make the expansion
try string concat @brisk coral
also
you don't even check if they're null
you don't check placeholder or position to see if it's null
yea cause that's not the issue here eee
wut
either that or just respond backwards
respond backwards?
you responded to the 2nd thing I wrote before the 1st thing
Is my brain turning into mush or are y'all memeing?
did you try string concat?
Testing rn
@brisk coral taking you a while
Oh yea that didn't fix anything
rip
Hello, I use ultimateclaims and i want to use phe placehodlers and they said i need to ask the devs or something
@brisk coral Unknown expansion.
Can you gimme a link to the plugin @grim stump
%ultimateclaims_claims%
%ultimateclaims_totalpower%
yes
The placeholders are internal, so what seems to be the issue?
i want to use it for my scorebaord whoich supports placeholderapi
Which scoreboard?
infnite scoreboard
Do the above placeholders not work?
Nope
Here is what they said: @grim stump PlacerholderAPI does not have support for Ultimate Claims rn. In order for it to get support you would have to request that feature from the dev of PAPI
Meaning ultimateclaims doesn't support papi
And you're gonna have to tell songoda to add support for it, or if there's an external expansion ask them what it is
K, thank you
there is a placeholders for server ip?
Just type it out?
yes
I mean just type the ip where you want to display it
ok
There isn't a placeholder for that, since that'd be pretty useless
i found for bukkit but my server in spigot
What?
there is a placeholders for server name?
ok thanks
Players:%server_online%/%server_max_players%
i need a space between %server_online% and %server_max_players% ?
Just put a space?
this will be work without a space?
I've legit got no idea what you're saying sorry
It should work with the space.
It should
ok
thanks
there is a placeholders for server status ?
Status example:online
which Placeholder do that? %pinger_isonline_<server/ip>:<port>%?
??
looks like it
well it will return true instead of "online" i believe, but it still works
how i get the port?
yes...
yo is there a way to disable seconds in servercountdown placeholder
there is a placeholders for gameversion? for example: Spigot 1.15.2
there is a placeholders for gameversion? for example: Spigot 1.15.2
i don't use it
im not sure then sorry
%pinger_gameversion_testplugins.com:25565%
i found this but i don't know if this will be write only the 1.15.2 or spigot,or spigot 1.15.2
@warm topaz
how can i make seperate pinger status settings for different servers?
like example would be if kitpvp was online then it would say "KitPVP is offline." and for skyblock it would say "Skyblock is offline."
Anyone else having issues doing ecloud download Quests? After papi reload I just get internal error and it won't load the placeholders.
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
@lapis quest
[22:56:28] [Server thread/INFO]: [Quests] Enabling Quests v2.9.4
[22:56:28] [Server thread/INFO]: [Quests] Your server is running version v1_15_R1.
[22:56:28] [Server thread/INFO]: [Quests] Titles have been enabled.
[22:56:28] [Server thread/INFO]: [Quests] Metrics started. This can be disabled at /plugins/bStats/config.yml.
ah...
there is no expansion for that plugin
only this one https://www.spigotmc.org/resources/quests.3711/
also that looks hella better
remove the expansion
they must have it built in
okay
what placeholder are you trying
Also, test your placeholder with /papi parse me <placeholder> first
Okay. I will try this tomorrow. Thanks for now!
๐
Is there papi placeholder for supervanish?
@mint fable Unknown expansion.
Ye
doesn't look like it
Rip
See what I'm trying to do is in bungeetablistplus it can use placeholders and have different stats for true or false and I would like a state for vanished player
ah, no idea
Ye it has spigot bridge to papi btw
ohh it's hidden
uh
K
Thanks
Is there a way to quickly find the output of it?
Like with a cmd
Nvm found it
New issue it no work so
Fun
Turns out it's already implemented into btlp
So no issues
What server version, what statistic expansion version
I download this version from pinned messages
I also tried Statistics from eCloud
No difference
Statz does not work
Eh
Sad
What server version
CC: @vivid sparrow
Do you have works version of Statz?
statz?
what doesn't work
When i type
/papi ecloud download Statz
/papi reload
After downloading this plugin PAPI dont see it
I tried it manually, same result
statistic =/= statz
I know
pretty sure statz track it own that
Statistics is broke a bit
it can't count mob_kill
and when i break dirt it counts as 2 blocks
because spigot is stupid
:\
to fix that we need feedback from users because testing each block will take way too much time
those with survival / prison / factions etc. servers are welcome to test the expansion and find the blocks that share the same values
Hm
Can someone help me with the PlaceholderAPI support for the plugin PlayerTime from the user ItsMeGlare?
ยป Give the helpers some details
ยป Ask suitable questions
ยป Be polite
ยป Wait
@vivid sparrow Unknown expansion.
ask the author to fix them.
Hi, can i get help here in creating custom placeholder?
So for the plugin PlayerTime i want to use the %playertime_time% placeholder. But when im reloading the scoreboard, it shows %playertime_time% in the scoreboard instead of my playtime.
featherboard?
yes
/papi ecloud download player
What scoreboard plugin are you using
If im not wrong
im using TItleManager
@brisk coral Unknown expansion.
run those commands
kk wait a sec
using js or'
Just gonna post it here so I don't have to keep tabbing
var custom = "%placeholderapi_if_exist%";
var truee = "Level: &player_level%";
var falsee = "u dont have lvl";
function testt() {
if (custom === "true") {
return truee;
}
else (custom === "false"){
return falsee;}
}
testt();
function test()
{
return "%placeholder_if_exists%" == true ? "Level: %player_level%" : "u don't have lvl";
}
test();
Am i allowed to post screenshot links here?
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
can i also use lightshot?
just use imgur
Ok i have 1 script loaded now
So it can be like %example% or %placeholderapi_example%
But there is an empty line? https://imgur.com/a/U2uHPKT
you reloading properly?
im using /tm reload
'return "%fabledskyblock_island_exists%" == true ? "Level: %fabledskyblock_island_level%" : "Create Island /wyspa";'
It returns create
If true
im using /tm reload
and /reload
both options are not working
Ok
It returned colored true
%Exists%" == "true" ? "level% : %dsonthave%
Can i do that?
I removed
fabledskyblock_island_exists:
Exists:
Message: 'true'
Not-exists:
Message: 'false'
properly showin up ingame?
Isthere any other way to make spaces instead of &r or &r&r?
" "
Yes
1st or 2nd? https://imgur.com/a/LsL9bNb
It work nopw
I need to be in "true" not true
Wow
In feather board it need to be %javascript_<identifier>% or %placeholderapi_javascript_<identifier>% ?
Its working, thx
Where you trynna display that?
No clue what this means so ๐คทโโ๏ธ
"true" ? "-level: %fabledskyblock_island_level% -votes" :
To make new line?
\n
Ok
Thank
No
It create some [lf]
This symbol
When i add text"\n"text
It create script error
In string it create some symbol
That's because \n wasn't supposed to be in a placeholder
How can i make new line in placeholder
Sadly, that might be a can't iirc
So
I want create
When return
Is some random numer
Like its true
Return "%fabledskyblock_island_leaderboard_level_rank%" == "true" ? "Rank. : %fabledskyblock_island_leaderboard_level_rank%" : "";
Like that
Can it be?
If there is no tank
It shows empty
When its some numer
It show numbers
Why don't you just put them all in one line
I can see you've got no idea what you're even talking about at this point.. explain what you're even trying to do in english
Also
And stop frantically spamming new line messages, learn to combine them in one
Might agree with Frcsty here ๐
Nvm
I have a question, I switched to the other quest plugin and trying to get the placeholders to work but two aren't working. Could someone explain how I use them?
%quests_player_has_currentquest<quest>% and %quest_player_currentobjectives<quest>%
cj89898 (I spoke to you last night about this)
@lapis quest,
Please respect the rules, be patient and don't ping staff members!
Just changed it to :
- "&e* &fCurrent: &e%quests_player_has_current_quest_<quest>%"
- "&e* &fObjective: &c%quests_player_current_objectives_<quest>%"
But now displays blank when I accept a quest.
%quests_player_quest_points% That one seems to work fine displaying 0.. The other 2 are just blank now even when taking a quest.
Placeholderapi doesn't work anymore when downloading EzRankPro placeholders, help?
@gray depot as I said before please go to #spigot-linking
Is not a premium plugin @turbid tide
problem is with placeholderapi
well we don't know where the problem might be from. so if you will take 2 minutes of your time to link your account we will try our best to help you
Is someone using conditional plugin with placeholders?
@turbid tide where i can find my spigot id?
Just tried taking a quest and it now says Current: False and objective is still blanc.
@gray depot when you go to your profile page in the link it goes something like this: spigotmc.org/profile/YOURNAME.YOURID
I got the quest name working, Only thing not working now is this placeholder %quests_player_current_objectives_<quest>% It just gives me a blanc field.
I'm linked now
when did you buy the plugin Gwaals?
A week ago
I'm using paper spigot 1.12.2 with PlaceholderAPI in holograms with some placeholders I need (like JetsPrisonMines and SimpleStats). When I try to download other placeholders from other plugins, almost all placeholders will reset. HolographicExtensions spams error from PlaceholderAPI in console
Deluxechat also resets
What's your spigot username @gray depot ?
Gwaals
You haven't bought Deluxechat either
if your friend purchased ezrankspro he will have to come and link his spigot account
Not the owner of the server?
If you're not the owner of the server and you're the one requesting the support you'll need to first get the owner who purchased the plugin to join and run through the verification system listed in #spigot-linking, once linked they just need to give us the thumbs up that you're with them.
... problem is with placeholderapi
yeah but it's also related to EzRanksPro
https://pastebin.com/JBPaHehJ i have this error in my bungeecord server
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
what i can do to solve?
I mean yea cuz papi isn't a bungeecord plugin
but i need to connect with tab
It doesn't work on bungee
but i need to connect with tab
if you're using TAB by NEZNAMY, you can download it on Spigot too and enable bukkit-bridge in its advancedconfig.yml so you get access to PlaceholderAPI on the Bungee version
ok
but i dont need to start bungee with tab
only in my authme lobby with bridge on load to other servers?
..............
did you even read the page ?
Install the plugin on bungeecord and all of your bukkit servers.
Install PlaceholderAPI on all bukkit servers.
did you follow step 3. ?
and what do you mean by "dont work"
[TAB] Value "%health%" used in TAB-BelowName still has unparsed placeholders! Did yo|
u forget to download an expansion ?
%health% isn't a PlaceholerAPI placeholder
it's an inbuilt placeholder for TAB, but is only availble for the Bukkit version
and the bridge only transfer the PlaceholderAPI placeholders, not the inbuilt ones
[WARNING] Error enabling plugin PlaceholderAPI
so you have to use one in PlaceholderAPI
[WARNING] Error enabling plugin PlaceholderAPI
you don't need PAPI on bungee
only on spigot
%placeholderapi_health&
%player_health%*
but the error stay
can you send that full error ?
yeah
https://pastebin.com/BnwvwPFZ
I just told you that you musn't have PAPI on bungee !
you do
I dont have
that's on BungeeCord
look
that's a BungeeCord error
just check the error yourself
it clearly talks about Bungeecord
yes
try again
stay
try to refresh your bungeecord plugins folder
what placeholder ?
those aren't PlaceholderAPI placeholders
those are inbuilt TAB placeholders
as I told you above
and the bridge only work for the PAPI placeholders
so you have to use their PAPI equivalent
%essentials_nickname% %essentials_afk% %server_tps%
๐
i dont have instaled the papi essentials add-on xD
Hey, how do I do a time thing and a date thing? I am trying to make it like Date/month/year then time
%local_time_dd/MM/yyyy hh:mm a% is for 12 hours time and this is for 24 hours: %local_time_dd/MM/yyyy HH:mm%
this will show the players time tho
%server_time_dd/MM/yyyy hh:mm a% is for server time
how would I do that for mvdw for featherboard?
which one of them?
server time
Either use {placeholderapi_<placeholder>}
{placeholderapi_server_time_dd/MM/yyyy hh:mm a}
either use MVdWPAPI placeholders
ty
hey i need some help i just did /papi ecloud download Vault
and it didnt work
and i reloaded it to
anyone ther
does it show in /papi list ?
it only shows essentials player server and tab
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.
@austere hawk
umm
i even just updated to the new version
can you send a log with you typing in the command?
yes
?paste
@austere hawk,
This error occurs when there is a mismatch in versions between the expansion and luckperms itself,
Make sure you have the very latest LuckPerms and the latest LuckPerms Expansion
Once installed restart your server.
that was not correct
at all
send the entire startup log
with you typing the command in it
well it might be because my lp isnt working either
the luckperms issue is another deal, the plugin doesn't boot up
ok
that's your luckperms error https://paste.helpch.at/zuyogureve.md
if you want to use that in luck's discord to receive help ^
@austere hawk,
This error occurs when there is a mismatch in versions between the expansion and luckperms itself,
Make sure you have the very latest LuckPerms and the latest LuckPerms Expansion
Once installed restart your server.
is this it
err
how i can edit plugin
you cut off the error
in eclipse
is it possible
log
@bright moth#development
or startup serminal
?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.
@austere hawk,
This error occurs when there is a mismatch in versions between the expansion and luckperms itself,
Make sure you have the very latest LuckPerms and the latest LuckPerms Expansion
Once installed restart your server.
hmmm
so
i think luckperms is blocking vault from loading
delete the luckperms expansion @austere hawk
that's why I thought you cut it off earlier as well
i need it tho it was working before
and let me get support for luckperms and see if they can fix my lp issue and if they can hopefully we wont have to delete it
it was my luckperms they helped me fix it and now its working
is it on github
gitlab but yeah
ignore frosty
github is better but gitlab's wiki is 1000x better looking
gitbooks
idk i like the github wiki
Yeah, many more features than clip's
And allows for parsing the island the player is currently standing on
Rather than just their own
@vivid sparrow you wanna check this out?
inb4 he took another nap
it just made most sense to me, simple
well that'd conflict with clip's if both are used
askyblockrevamped
island has no tie to the plugin at all
it makes 0 sense
also frosty is probably right
yeah, i suppose both wouldn't be used
if your expansion does everything clip's does and more
Why is there anything static
this is
If everything it is in one class
tbh i don't see the need for the variables in the first place
Habit, I suppose. Room for expansion if I want to add another class
Or you use dependency injection like a normal person
Mmm, I suppose so
Not 30 static fields
^
In practicality though it isn't exactly different, fulfils the exact same purpose
This is however something I can easily change
Ah yeah, that one is my mistake
tbh they shouldn't be variables, but
unless you use them other places
ah i see you do
Yeah
interesting placeholder
I'll change the identifier to "askyblock" then and if required, do the variables with DI
anything else?
does it have all the placeholders that clip's does?
Yeah
with the same wording?
afaik, i'll check clips source now
aight
not the same but I could do that for compatability
they should be, ya
there's one or two that clip did that I haven't included
ones that I just couldn't see any use for
which ones
Mmmm, also, is that list up-to-date?
that's from the ecloud
Looking through clips source Im finding alot of placeholders not listed there
oh?
ya i see
I presume they were added after initial release and just not added to the list
seems like it
Anyway, i'll make sure that I implement all of clip's placeholders into mine and match the wording
๐
and i'll take on-board the suggestions you guys made ๐
can we do if statements in papi?
so im using chatmanager to show the current world, but i only want it to show if its certain world, ie. not if its the nether or the end
Javascript expansion
how do i update papi without deleting it?
Wdym Meh? You have to download the new jar from SpigotMC.
Hey what's the placeholder to see how much time a player has spent in a specific world?
Which expansion would I need for that?
There isn't one for a specific world
I see thank you!
Also, what's the difference between %player_displayname% and %player_name%?
displayname will show the users nickname
Where as name will only show their actual account name
Ooh makes sense
Hey is there any expansion that works like the player expansion but for specific worlds?
Like how many blocks placed in world B, how maby mobs killed in world B, how many blocks walked in world B and etc
Don't think so
I've been looking online but couldn't find anyone
anyone have any idea whats the console error about
https://pastebin.com/fihnRSsp
@primal vault,
Looks like your server can't connect to our API,
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.
i heve this wen i duit restart, it wasn't yesterday :
[14:02:27] [Server thread/ERROR]: Could not load 'plugins/PAPI-Expansion-Statistic.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:160) ~[spigot-1.15.2.jar:git-Spigot-800b93f-a0e88fb]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:138) [spigot-1.15.2.jar:git-Spigot-800b93f-a0e88fb]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.loadPlugins(CraftServer.java:351) [spigot-1.15.2.jar:git-Spigot-800b93f-a0e88fb]
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:203) [spigot-1.15.2.jar:git-Spigot-800b93f-a0e88fb]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:784) [spigot-1.15.2.jar:git-Spigot-800b93f-a0e88fb]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
that's because it's not a plugin
and you put it in the plugins folder
you have to put it in the plugins/PlaceholderAPI/expansions/ folder
impossible to have worked this way
bat - i diut how you write
possible you have duplicates
meybe - i look
ok is worck :))
and tell me where I can find Expansions for essentialsX - because it still doesn't show me these stats, e.g.% essentials_has_kit_vip%
/papi ecloud download Essentials
en write - moment
There was an error with the server host connecting to the PlaceholderAPI eCloud (https://api.extendedclip.com/v2/)
now ? - aaa ok i tray leiter
try to use the command again now
gryffin
?
Please use a paste service to share configs, errors, code and long logs.
โข HelpChat Paste
in a paste
barry would help you out
he has automated responses for errors
So you should really send your error found in latest.log
so find the error itself - do not paste the whole log?
or maybe you just give a link to the jar file from essentials - i manually paste it into the expansion folder
THXXX ๐
Barry tells you all that if you pasted the log ๐
โซ
is a worck coretly :))) THXX end have a nice day
Hi
I am trying to install placeholders for the Kingdoms+ plugin
but whenever i put them in the scoreboard it doesnt work
Could someone please help me with this?
/papi parse me <your_placeholder_here> what does it return @velvet scaffold
โfor Placeholder API:
The plugin will add these placeholders to Placeholder API:
%kingdoms_kingdom% shows a player's kingdom
%kingdoms_haskingdom% shows if player has kingdom or not
%kingdoms_rp% Shows a player's kingdom's resourcepoints
%kingdoms_land% Shows a player's kingdom's land count
%kingdoms_onlinemembers% Shows a player's kingdom's online members count
%kingdoms_members% Shows a player's kingdom's total member count
%kingdoms_king% Shows a player's kingdom's king
%kingdoms_rank% Shows a player's kingdom rank icon
โ
they probably haven't updated it
it's over a year old
check your startup log
this plugin is also inactive, isn't it?
downgrade papi
Which version do you think?
I am using the latest version of api
I see
I'm saying you to check if there is a kingdoms+ api
and make an expansion yourself
Huh?
I am using a somewhat older version of kingdoms+ songoda bought it and ruined it
But this old version did have placeholder api support the one from the original dev
What?
You have 2 options
- Downgrade PAPI
- Check for and API and make the expansion yourself
Ok thanks
Can i hold commands in papi javascript?
When i parse placeholder it returns command
ermm
I don't think so
not with javascript
But I don't know if you'd want to @twilit pebble
placeholders can get updates many times a second
I just want to create command where it force command with true or false
Mycommand not working or dont know how tos etup if
Where are you going to use this command?
On server
Okay can you send over the config you have from mycommands
show me what you've done so far
Iscommand:
command: /myis
type: RUN_COMMAND
runcmd:
- "$script$%if%%fabledskyblock_island_exists%==$true"
- /is home
- "$script$%if%%fabledskyblock_island_exists%==$false"
- /is create
Is there a method to capitalize a fetched placeholder?
javascript probably
any example? :3
idk if this would work but this is the only thing I have in mind rn ```
var placeholder = args[0];
function capitalize() {
return placeholder.toUpperCase();
}
capitalize();``` and then you would call the placeholder something like %javsacript_NAME_{placeholder}%
if this isn't a thing probably someone with more experience will correct me
you could also try it on your server
๐ค
Just typical js
i mean.. is there a placeholder in ecloud which capitalizes a placeholder ๐
oh right you could do `args[0].toUpperCase();
hey so my placeholder isnt working and i think its because i removed my luck perms
is that the reason?
what placeholder?
@austere hawk
so I have a question. Could I make a return that returns nothing? If i do return ""; it returns an empty line but I want it to return nothing at all.
return; ?
1 sec I will try but something weird is going on. My server keep kicking everyone out
for no reason
nope that returns the same as return "";
same if I leave no return;
well I guess an empty line would have to do it
What are you trying to do?
a placeholder that returns a message every x seconds/minutes. But if they have already got that message they don't get any message until the x seconds/minutes have passed
function timmedMessage()
{
return "%placeholder%" <= "2" ? "message" : "nothing here";
}
timmedMessage();```
something like this
but can't get it to return nothing
if I just remove "nothing here" and : it just gives me an error
I tried with if but if I don't return anything or return; it just returns an empty line
So i tried to put the balance on my scoreboard with variable "%vault_eco_balance%" but when i have too much money like thousand or million the money bugs on scoreboard and stay like "4.4400E7" how to fix it?
Try formatted?
Will try wait a second
It works , ty so much but i already ultrapassed the character's limit how to up the limit ?
I have no idea
Its ok ty for help m8
Cheers
Waffle there's another variable that be more short than "%vault_eco_balance%" to show money's players ?
Don't think so
:/ well ty for help
You could try making a JS placeholder and just do it like %javascript_bal%
But I don't work with JS expansions so I won't be able to help with that
It would knock off 5 characters
I fixed it ty so much bro
Yup!
are any of the expansions configurable?
(ie: player_colored_ping, i don't agree with the values that they are being colored at)
?paste
whats the placeholder for how many players are online?
@austere hawk
thank you!
Reason for Ecloud registration lock?
Locked whilst we update a few backend things, we can still manually create accounts if you need one
Because that's be dumb af lmao?
If you can't spend the 1 min updating the jar file, then don't bother updating ๐คท
Updater go brr brr
You mean waffless go brr brr
i think the devs are just lazy to implement it since its not a premium plugin
lol wot
Bruh
auto-update
auto-break
I actually just laughed out loud for that
What if we push a update that resets the config
and not staff are online
boom no server
i think the devs are just lazy to implement it since its not a premium plugin
@austere hawk There's like 70% of the most popular plugins don't even have that stuff
the good plugins have it
Sorry only fans of PlaceholderAPI not auto updating are allowed here
^
smh
ok sorry
Making that feature is risky tbh
too many situations where the auto updater could just break ur server
Not could, but would
could.
i know tens of plugins that auto update
all on my server
server hasnt crashed once due to autoupdate
always user error
You don't understand do you
A lot of things depend on papi
Bro. Are you really gonna only accept plugins to your server that has auto update??
no
but im too lazy to go search the newest papi version and find the download
the download is not even direct link
so i have to SFTP into my server
it takes a long ass time to upload 1 jar for me...
if the download would be direct link i could just wget it...
there should be a link like this for papi, so i can make auto update script
https://destroystokyo.com/ci/job/Paper-1.15/lastSuccessfulBuild/artifact/paperclip.jar
I mean there is
ok tell me it
so i make auto update script
so i dont need to mess around with sftp anymore for one plugin
You still don't understand ๐
If you go into server making with that mentality, that's a big yikes
papermc is good because their latest build is always paperclip.jar,
Btw, hooking with ci is the worst idea yet in your case
nah
its good
Don't forget every push is only a beta
...
why
do you
push betas
fuck
Because that's what that's for..
If you jackpot on an unstable plugin, your server is done
nah man
papermc has better ways then yall
they have beta branch closed from public
Yeah so randos dont install it and complain it doesnt work
Smh lol
you know papi has the same thing right? it is called spigot.
is there a direct download link for the STABLE papi
Anyway, don't expect it. It won't work no matter how you beg ๐
Too bad so sad ๐คท
You are really annoying my dude
didn't say it has. Just was letting you know that papi also posts releases on another page than the builds
I don't mean to be rude but I'm going to kick you if you keep bitching
Someone gonna mute that dude until he accepts it? ๐
what?
im asking
if there is a direct link
And we told the answer a hundred times
There isnt one that will be the same url each time
ok thanks
Take or leave it or stop being fucking lazy and upload a damn jar
I'm sorry 30 seconds of your time is too precious
Sounds like a personal problem
Nothing stopping you from watching the ci for builds that don't contain DEV
In the time you've been complaining here, you could've updated it like 30 times ;)
the thing is, its not marked
What's not marked
the stable builds and dev, for me
the jar won't mention DEV
and the changes mentions release
Waffles go brr brr
found it thanks
Hey did your dad ever let you login to his spigot so you can link your account for DeluxeChat?
u know his username?