#placeholder-api
1 messages · Page 137 of 1
playerName
just having a string there
is like having a function and then returning
functions are not necessary. Its easier to understand if you have functions if you're a beginner but my code still works
alright 30sec
for online players, it return player names
for offline players, it returns Script Error, gonna check the console
should I?
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
• HelpChat Paste - Usage
• Hastebin
Ok one more thing to test
sure
hmm I see, so it would need to replace when it is null... then how?
var player = BukkitServer.getPlayer(args[0])
if (player == null) "&7¡Offline!"
var placeholder = PlaceholderAPI.static.setPlaceholders(player, "%player" + "_ping%");
function ping() {
if (placeholder >= 0 && placeholder < 150)
return "&a" + placeholder;
if (placeholder >= 150 && placeholder < 300)
return "&2" + placeholder;
if (placeholder >= 300 && placeholder < 600)
return "&c" + placeholder;
if (placeholder >= 600)
return "&4" + placeholder;
}
ping();```
please try this
don't change anything to it
just try it as it is
sure 30 sec
for both online and offline once again
It breaks the same, showing raw placeholders as if it wouldn't exist
I think that the null thing, is invisible but you can't change it, but what you can do, is add something next to, in this case "offline", and it would be good to go
sure
var player = BukkitServer.getPlayer(args[0])
if (player === null) "&7¡Offline!"
"&a¡Online!"```
try this code
nothing else
Sure, brb
and test it for offline players right?
Yeah it breaks
the null thing won't likely be changable
the only way would be by adding "Offline" next to it
Yeah, its totally broken because of the null value getting changed
I wonder
var offlinePlayer = BukkitServer.getOfflinePlayer(args[0])
offlinePlayer.isOnline() ? "&a¡Online!" : "&7¡Offline!"``` Can you try this? @odd jay ^
Sure!
with offline and online Player
It shows the raw javascript placeholder, as if it weren't existing
for both
did you miss the ";" at the end?
or it just doesn't go on this case?
Wait, I'm gonna make sure about that
I mean, I'm using PAPI 2.10.10-DEV-110
not sure how to check JavaScript's expansion version
just do /papi ecloud download Javascript then /papi reload
and it should download the latest
if you don't have it
Sure
I think 1.6 is latest
ye then its not the missing ;
apparently
it says that the placeholder is empty
Ok then try this:
var offlinePlayer = BukkitServer.getOfflinePlayer(args[0])
offlinePlayer.isOnline() ? "&a¡Online!" : "&7¡Offline!"
"None of the above"```
and see what happens
so I guess there isn't rly a way to check if the player is online
yeah, I made a quick view of the JavaScript wiki page, and didn't found anything related to Online stuff
I don't know rly. I wish I knew xD
then thats why it returns null when the player is offline, because it cannot even know if it is online or not.
So apparently that "null" value isn't changable, but yet you can add values next to it, (null + "&7Offline" I guess).
var placeholder = PlaceholderAPI.static.setPlaceholders(BukkitServer.getPlayer(args[0]), "%player" + "_ping%");
function ping() {
if (placeholder >= 0 && placeholder < 150)
return "&a" + placeholder + "&8ms";
if (placeholder >= 150 && placeholder < 300)
return "&2" + placeholder + "&8ms";
if (placeholder >= 300 && placeholder < 600)
return "&c" + placeholder + "&8ms";
if (placeholder >= 600)
return "&4" + placeholder + "&8ms";
}
ping();
```Do you have any idea on how to add "&7Offline" next to the null value on this JS?
for the meanwhile Im gonna try something
no idea. But the thing is. I've tried to make a check. And see if the player is null or not
and it didn't work
like in one of the debugs I asked you to try
Yea I kind of understood that one
but apparently on mines, the null value is detected in here
if (placeholder >= 0 && placeholder < 150)
return "&a" + placeholder + "&8ms";
```as if it was "0"
for some reason
fixed it :))
ugh?
var placeholder = PlaceholderAPI.static.setPlaceholders(BukkitServer.getPlayer(args[0]), "%player" + "_ping%");
function ping() {
if (placeholder == 0)
return placeholder + "&7Offline";
if (placeholder > 0 && placeholder < 150)
return "&a" + placeholder + "&8ms";
if (placeholder >= 150 && placeholder < 300)
return "&2" + placeholder + "&8ms";
if (placeholder >= 300 && placeholder < 600)
return "&c" + placeholder + "&8ms";
if (placeholder >= 600)
return "&4" + placeholder + "&8ms";
}
ping();
look at the first condition of the function, that fixed it apparently
not sure lmao
I did ...
just didn't return placeholder + offlne
just offline
Idk I give up
glad to hear it works
lmao
No, because you are replacing the null value in there
when you touch the null value of a placeholder, apparently the null value becomes agressive and kills the entire placeholder
the null value is pretty friendly though, It lets you put values next to it
Did I clarify well?
yeah me too, I literally took a calm and satisfied deep breath when I saw that it worked lol
Oh I forgot to ask about the last problem, it is related to symbols
so I wanted to put ✠ on a message inside JS
its CSS code its \2720
but apparently it returns something weird, wait I will look for the exact thing it displays
Nevermind I fixed it lol
it was \u2720 for JavaScript
ah
You will need to check what it returns when you are not logged in, could be null, undefined or even 'null'
It returned null, but null value when it is parsed looks invicible. But apparently you can't replace the null value because it breaks the placeholder, that's why I put
if (placeholder == null)
return placeholder + "&7Offline";
```Instead of
```js
if (placeholder == null)
return "&7Offline";
```And it worked perfectly good.
Those are variables inside the plugin, not placeholders that can be modified. Are you able to provide any papi supported placeholder for that? And by the way, does that plugin support PAPI placeholders inside of it?
idk
hello
can someone help me with something plz
Is there placeholder-item such a thing as
i have good gpu and a bad one how i make the good gpu work?
placeholder api
I don't see how this makes any sense though. Concatenating null and a string should prepend the actual string 'null' to that
how do I implement a placeholder into a placeholder?
I have a placeholder that makes a multiplication and I need to get a int value from another placeholder
to then multiply for 30
Is there a way to fix this?
https://gyazo.com/da640c1065238db16bbfc632b61b78df?token=5f14491f77a3f6ae823ae0d05e963161
For some reason the check item remove takes other items that arent mentioned from my inventory
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
Okay, mind giving me 10 minutes? Sorry :/
yep I've got time
Thank you very much
it has to accept it
if it does, you'll most likely have to use {placeholder} instead of %placeholder%
where are you trying to use it? in the math placeholder?
I made a placeholder with JavaScript extension
and you want to use another placeholder in that placeholder?
ye
do you only have to multiply it by 30? or does your javascript do other stuff too?
only * 30
so just use the math placeholder
%math_{placeholder}*30%
ok thx
👍
oh my
what version are you on? I just spam tested some placeholders and had no issues
can you test the same thing with /papi parse me %placeholder%
@warm plover
Of papi?
server version
Oh sorry 1.16.4
hmm, I just tested on that version
can you try spamming it with /papi parse?
wait
I am blind
you didn't put mat: in front of anything
iron_ingot, stone_sword, etc.
coal
wooden_sword
you did checkitem_remove_iron_ingot instead of checkitem_remove_mat:iron_ingot
👍
I really like your menu
putting checkitem to good use
this is exactly what I was hoping for when I made it 👍 
Glad you like it! It took a long time let me tell you 😞
check the papi config @austere hawk
Is it a way to detect what type of item player has in inventory, some not have matrial name (it has some type of nbt but has not successful get it read it)?
It cant get any placeholder or script read it or is it a special setup for this?
Only material name is Material:potion and that not help.
I has try all checkitems options, even new has meta (has even check java script (but not find any usefull).
I think I have an issue with the playtime statistic placeholder
your problem is?
I can't upload it on imgur
@proud tide,
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
and error is?
Hello I could not connect to the LeaderHeads plugin. I need help. My english is bad, sorry
@pearl current the plugin page says to contact me and not ask in some public chat
you will probably use the PlayerList expansion to get the online players then I think there's a Server#playSound method
I don't feel like a JavaScript expansion would be the best way to do this
Because how would you decide when to play the sound? Most placeholders get parsed constantly
I have this when using the playtime statistic
like it says 1d 39h
instead if 2d 15h
Yeah it's a known bug. There's a PR to fix it waiting to be merged. Waiting on the PR author to fix a conflict and then I'll merge it.
any one some know a way to trace potion effect in inventory/hand (try some placeholders, but fail to detect more and item name in best cases and players can rename it and it get useless)?
the pleasureholder of the VotigPlugin does not work
NEVER say 'not working', explain what is happenind and what you expected to happen
the variables of the votingPlugin do not work, I put /papi list and it does not come out
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
we are here for a reason
takes me to a link
@balmy marten the pleasureholder of the VotigPlugin does not work
@austere hawk,
Please respect the rules, be patient and don't ping staff members!
fannycube the pleasureholder of the VotigPlugin does not work
Hello! Am I doing something wrong? I updated PAPI and our vault leaderboard broke :(
Successfully posted dump: https://paste.helpch.at/tetefohoni
http://imgur.com/a/rsxEfWY
Also: tag me if you respond lol
what is this? {fast}
I am not really sure as I'm not the one who set up the plugin, let me check with the other guy
Yeah that {fast} tag just forces the plugin to reload the holo data almost instantly.
That's what he told me
{fastest} - 0.1 seconds.
{fast} - 0.5 seconds
{medium} - 1 seconds
{slow} - 5 seconds
{slowest} - 10 seconds.
{fastest} is actually more instantly
Read the first item of the FAQ and stop writing 'pleasureholder'
is this possible to do with javascript? Is not so good at this so, this is probably not working. Anyone with good ideas? The idea is to run with a placeholder who has the name of the effect you want to remove and you get errors if you do not have the right item.
var messages = ["you have wrong item name"];
var numdata = "%player_name%." + IDv + "." + messages;
var IDv = 0;
function getMessage(ID) {
if ( args.length == 2) {
IDv = args[0];
messages = [args[1]];
}
function run() {
if (args.length !== 1) {
return "&cInvalid syntax;
} else if (Removed 1 items from player() === clear %player_name% potion{Potion:"minecraft:[args[1]"} 1 {
return yes ();
}
function run() {
if (args.length !== 1) {
return "&cInvalid syntax;
} else if (No items were found on playe() === clear %player_name% potion{Potion:"minecraft:[args[1]"} 1 {
return no ();
}
I guess you could do that with PlaceholderAPI, but it's kind of weird
It wasn't really designed to do this
checkitem cannot read the bottles, nor can any javascript read it. so hence this odd method. the question is how it should work in practice. just seems like minecraft itself can read the data correctly
What about a Skript?
script? what you thinking should work?
Ew.
oright, you mean Skript language/coding? has placeholderapi support for this?
Yeah, but I don't know why you would need PlaceholderAPI in Skript?
so i can easy check if player has the item true view_requirement and i need a plugin some can read the skript.
I don't really have any suggestions, but anything you can do in Javascript placeholders, you can also do in Skript
And I don't see why you would create a placeholder for something that gets executed once
Placeholders are usually evaluated constantly
not need be a placeholder, string or other similar some transform it to true or false work.
and is not for one portion it is for all ingame and I miss not only in view_requirement but also so players can sell special type of effect (soo need to check if player have it or not).
It is way is not easy to get this too work, potions has no true material data and no one has make it so it can read nbt string, so have to make my own and it is not easy.
Hey guys, I am using papi with leaderheads to display some statistics and all works great. Later today I used the placeholder from Player called : %player_minutes_lived%
It seems the placeholder is not in seconds, minutes, hours or milliseconds
but returns something else, maybe ticks ?
Is this a known issue ? Any ideas ?
@uneven sigil send me a private message please
Certainly
This seems to return something that doesn't look like seconds, anybody has an idea?
Oh I see
It's doing *20 instead of /20
I fail to find a way too detect if a command, fail or not . So not solution on potions with effects yet.
Hi, is there any way to show someone's placeholders?
So if i want to see how many kills has a certain player, etc.
/papi parse playerusername %placeholder%
If you're trying to use another plugin it depends on the plugin, most don't support parsing for other players though
Ye, but i want to do a menu for it so you could do like /profile <name>
So it would show the placeholders of the player.
DeluxeMenus?
Ye
try using %statistic_placeholderhere%
Wouldnt it show mine?
ohh
I'm not sure if it's possible with DeluxeMenus
Hello ^_^
What can I modify to make work: Pinger
No IP and ports detected to show players etc.
Show the placeholder @raw plaza
@raw plaza Tell us what's the problem-
For example I add in Compass Menu: %pinger_players_ServerIP:25567%
But no show players, show number 0
Yes I added
Does the item update?
Yes and I reload the Menu and Placeholder
But no infomation
Lobby to other servers is
Bungee problem seems but I have no idea what to enable
Is the ip and port correct?
Yes
You tried it with tellraw?
No
Then try that
No show nothing in chat
Not a 0?
Solved, I must add 127.0.0.1
If it's local host then ye
Not local but bungee
Oh you dont have bungee forwarding dont u?
Yes
W8, now i know what you wanted to do.
You could easilly do it with a %bungee_online%
But I want
minplayers/maxplayers
statusserver (off / on)
And that expansion could add that
👍 Thanks anyways
Hello
I'm using CheckItem to remove player heads with a name, but it's only removing if the amount (in the inventory) is bigger than 1.
%checkitem_remove_mat:SKULL_ITEM,amt:1,data:3,namecontains:&a&lGema%
Sounds like either the expansion jar is bad or the playerpoints jar is bad.
is there some way of finding out what jar is damaged or bad?
You could recompile either one or try re-downloading them.
My guess is it's going to be the PlayerPoints jar.
ok i will try
Hi guys i have an issue with one of the statistics for placeholderapi %statistic_mine_block%
It does not count any blocks that i mined but it worked i have restarted the server reloaded the papi plugin etc.
@high swift why not use the %statistic_time_played% placeholder?
Bc It has seconds
oh I mean just use javascript to remove them
I don't want the seconds on the end
I don't know java :/
Hey guys just wondering if it's possible to link placeholders into a string value alongside it also linking to my config and getting a path. Kinda like how you can send messages but also put "ChatColor.translateAlternativeColorCodes" at the start to allow the player to use every single color code, I kinda wanna make that possible but for placeholders. Here is my line of code so far, and I have no clue how to do it haha. Please help. String welcomeback = ServerEssentials.getPlugin().getConfig().getString("welcome-back-message");
@scarlet yew I know Sellinq sent you here but developers rarely look in this channel xD #development is the best bet. Once again you can leave it here but I can't guarantee a fast naswer
answer*
👍
Could somebody give me the file to PlaceholderAPI?
Spigot is being a pain in the ass.
You can download it via github https://github.com/PlaceholderAPI/PlaceholderAPI/releases/tag/2.10.9
@vocal folio,
Please respect the rules, be patient and don't ping staff members!
._. also don't ghost ping
he actually asked like 2 questions but for some reasons removed both. he pinged cj
Hey, I'm so idiot for javascripts, I'm trying to multiple * 2 the %superior_island_radius% placeholder
but
return Math.round(parseInt('%superior_island_radius%') * 2;
}
hp();``` is giving error, any suggestion please? Thanks 🙂
I mean would help if you showed the what the error was
@deep hollow 
<eval>:2:40 Expected , but found ;
return Math.round(parseInt('50') * 2;
^ in <eval> at line number 2 at column number 40```
I think you are missing ) at the end?
ye its weird for some reason I've seen that happening to me as well. What I did is convert it to a string, split by "." and take the first part
I think you can just do js return Math.round(parseInt('%superior_island_radius%') * 2).split(".")[0];
also
the function is not necessary
those 4 lines
can be just 1
Math.round(parseInt('%superior_island_radius%') * 2).split(".")[0]```
this is all you need
no ;
at the end
no function
no return
is giving me that error
with the latest one you sent
TypeError: Math.round(parseInt("50") * 2).split is not a function in <eval> at line number 1```
maybe I need the return?
oh nvm, it doesn't work with the return neither
yep yep
the problem is not the return
I'm trying to split anm int
thought maybe it will do some smart stuff and convert it by itself xD
var value = Math.round(parseInt('%superior_island_radius%') * 2) + ""
value.split(".")[0]```
wait
no
try this
👍
btw
if you didn't understand why the function is not required
is becasue it will find the first string
and will print that
in our case value.split(".")[0]
hello guys i need placeholder for world counter
i try this but not working
please someone help me ❤️
Hi there! Basically I am using LuckPerms and the Tab plugin to display the player's rank prefix in the Tablist. So I am using the placeholder %luckperms_prefix% for both the 'Rank:' and the bit next to my name. But for some reason one is update but one isn't. Please help!
The plugin 'LeaderHeads' can do this
Have you checked the very first item of the FAQ? https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/FAQ
self advertisement, u love to see it 
xD
@flint nacelle you around?
Yes.
what server version do you run where you were testing potions?
Now 1.16.4 but we has try this on older versions too and we has not get it work.
so what placeholder are you using and can you send me a picture of the item?
data,custommodeldata,matcontains,enchantments,enchanted,strict,inhand,
i has go true all methods.like this (%checkitem_data:"name"%)
here is one we has try but we has try several and not get it work.
https://i.imgur.com/Tbin2lz.png
so what you want is potioneffect correct?
yes
I'm hoping theres an easy answer here, but does anyone have a way to have a repeating timer? like it counts down from 2 hours, and then restarts and counts down again.
@flint nacelle I just uploaded 1.9.4
check #ecloud-updates for a manual download
that will ||should|| work with potions 1.9+
will try.
@mint fable is it possible to check for attributes with checkitem expansion
@mental night,
Please respect the rules, be patient and don't ping staff members!
like to see the damage
maybe in the next update
another day 😉
open it up
for now, I will get 🚀 and enjoy the day off 👍
your update , soo long i have test it work fine. Have to got to figure out a bit how I would make it work well 🙂
If you add support for dmg, is will be crazy (and I think players will complain) 😄
👍
If I for example use this when players repair tools, I can do it more expensive you more dmg it is 🙂
no, he's saying players will be complaining since they have to grind more now that there is more damage that's achievable (I believe)
as in a good kind of complaining
hence the laughs and smiley faces
ah
gn
Hello?
?
think he wants help with this
but idk what that is. I just see a dynmap photo
yeah it’s too small to see what’s wrong i assume the red text idk
ah. you can disable the update check from config.yml
you can either ignore it
or disable it
i did papi ecloud download luckperms, papi reload and still looks like this, any ideas?
you didn't do /papi reload
from the photo
it looks like you downloaded it, it suggested the reload
but you didn't do it
A member of staff has requested I move your message to a paste,
Most likely beacause it contains a config/error/code snippet.
weird
can you go to plugins/PlaceholderAPI/expansion
and make sure that there is the luckperms expansion in there?
if not manually download it
it is there
try deleting it
going here
downloading it manually
adding it to the same folder you deleted the old one from
and then doing /papi reload
works, ty
How can I parse a placeholder inside an script using javascript extension?
@sharp sail is it a hardcoded placeholder or something dynamic
any idea how can I make it ?
Answer my question first please
I don't really understand it because lang barrier.
Just explain what you're trying to do
I was looking something like %javascript_parsethis_get,vault_rankprefix_$player%
yes
Yes... that expansion doesn't appear to work
I get ArrayIndexOutOfBoundsException 👀
^
the command or the script
I used /papi parse me %parseother_Sainted_vault_prefix%
the script is https://hasteb.in/ifefekad.cs
but returns %vault_rankprefix_playername%
np
@flint nacelle yo
you're using it slightly wrong
%checkitem_potionextended_potiontype:FIRE_RESISTANCE,amt:1%
%checkitem_potionextended,potiontype:FIRE_RESISTANCE,amt:1%
comma not _
so give that a go
same for upgraded btw
aaa lol I always mess something up 🙂 will try.
👍 lmk
strange it work even if i get it wrong lol 🙂
I haven't done anything with the extended/upgraded with strict btw
it basically just ignored the potionextended_ part I bet
I check now and potionextended,potionupgraded is no problem (is detect both "boosted" and extended is it should with one placeholder, but normal potion can I not separate from the rest (it detect all tree type with what I can use for normal potion and only way around i have see is set two other to "no" )).
👍
@flint nacelle 
will test
if i use potionextended:true or false it ignore it (only read potionextended).
🙂 no problems
give that a go
Hello how to activate PlaceHolder ?
What do you mean?
Well when I but% player_name% in my menu it doesn't work
run those commands
Thanks
ups, it work 🙂
will test it more, soo far it work as expected.
noice i will update
Smaller bug I find , potionextended:false work fine but not potionextended:true (this work however potionextended and give right output). same i think with potionupgraded (no it work if i´m not miss somthing in my speed test).
👍 will test so fast i have time 🙂
I have test new version and it seams work (all part of the new potion,will report if I find any nasty bugs 😉 ). 
👍
hello i found a bug in a placeholder of statistic
%statistic_time_played%
This Shows Total hours and not resting after i played 24H
it should be resting the hours and adding another day as played
what can i do ?
wasn't this fixed in a dev build of PAPI? can you try please updating to the latest dev build of PAPI?
ah or maybe the Static expansion build
[12:52:08 WARN]: [PlaceholderAPI] listplayers is attempting to register placeholders via a PlaceholderHook class which is no longer supported! have been getting this after updating my plugin to 1.16.4
https://hasteb.in/poparequ.kotlin this is my placeholder class.
and this is how I register it
if(manager.getPlugin("PlaceholderAPI") != null)
{
new Placeholders(this).register();
}
the listplayers is opensource? or are you making another one?
because I have to let you know there is an expansion called that
already
oh, I just realised it's in a different class
it's a different thing, it's custom, mine
just the name may be similar
ok ok. ye so you figured out what the problem is?
ye return PlaceholderAPI.registerPlaceholderHook(getIdentifier(), this);
PlaceholderHook is outdated
no longer supported on papi 2.10.7
how do I change it?
I mean you have to follow the wiki to see how you're suppose to register a hook now. new Placeholders(this).register(); ah I just realised Placeholders(this).register() there is already a register method so you'rs takes over I guess
so basically use the provided method from PAPI instead of yours
this is the one provided by PAPi public boolean register() { return this.getPlaceholderAPI().getLocalExpansionManager().register(this); }
yeah, I opened the project, bumped the papi version
noticed it says the old register method is gonna get deleted
I have a problem, should cooldown placeholder save data even when you do server restart?
admin
please add command to download placeholders from PowerRanks
i must have it
[EDIT 13:15]
okay i find command to enable placeholderapi in powerranks 🙂
Seems like the placeholders are built into PowerRanks now
hence why theres no expansion
Like it is now, it not save data on restart and the file it save in is not same as it should save in.
I can get player top kills and show their skull/head? [Placeholder and Skull of player at same time]
@raw plaza show the skull where? DeluxeMenus?
Do you have a placeholder for that?
Yes
@raw plaza have you checked this?
It shows you how you can use a placeholder for the skull items
Thks
/papi parse me %math_{math_{playerlist_online,perm,yes,amount,cutscene}*1000}-40%
this gives this error
The provided value was invalid!
Reason: Unknown operator '!' at position 31
theres no '!' tho
@barren verge can you do /papi parse me %playerlist_online,perm,yes,amount,cutscene% and tell me exactly what it says?
try /papi parse me %math_{playerlist_online,perm,yes,amount,cutscene}*1000% now
if I add -40 operation it doesnt
maybe you can't use placeholder in placeholder in placeholder.
actually I can do 1 math_ placeholder
but that's just a guess
ye prob
but I dont need it thinking baout it
ye you don't
%math_{playerlist_online,perm,yes,amount,cutscene}*1000-40%
this will work
just as well
also you might want to use [precision:0]
%math_[precision:0]{playerlist_online,perm,yes,amount,cutscene}*1000-40%
that's your choice
whats that?
ah ok
👍
thx again
no problem
I have cooldown script from placeholder-javascript and it reset the time when i do a serverrestart , is it purpose to tho like that?
probably
bruh can you guys fix the console error
no actual functionality affected but its really annoying
everytime i stop my server papi screaches in console
The js one?
no the one with townychat
Can I see it?
also sorry about how i started to convo i confused this with deluxechat thought this was something that had been around for awhile
but if this is your first time hearing it my bad
Oh that one... Nothing we can do. Well technically PAPI could remove that check entirely but the Towny expansion dev could as well just add the method
Actually don't think PAPI can remove the check
should i talk to townychat dev
Probably
All they have to do is add 3 lines of code
Well
Dk if they made the expansion ass well
Anyone know why placeholders arent working, when ever I do /papi ecloud command it always comes back with
No cloud expansions are available at this time.
?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.
@warm topaz Still placeholders dont work any papi ecloud command I run says
No cloud expansions are available at this time.
well
the ecloud command doesn't work
because most likely
your host doesn't allow connections to the ecloud
so download the expansions manually
you don't
send me a screenshot of how your plugins/placeholderAPI/expansions folder looks like
do /papi reload
and check the console
see what happens
smh limit
Can I get some testers to test the checkitem 2.0.0?
I added give_
to give items 👍
Should work with nameequals mat amt data custommodeldata enchantments potiontype potionextended potionupgraded.
Will return yes if all items are deposited successfully and will return the number of items missed if not.
potion only works if it's a potion I believe
so far I've tested all and it did work so...
Can test :) Wich versions shall I try on?
Hi, how can I create a placeholder for Guilds?
develop one to modify the original Guilds "prefix" placeholder
that is, add a placeholder with a different format for Guild Tag
As well as the config it offers to use "%guilds_formatted%" with options "Left and right braket"
Example: [GuildName] or without brakets GuildName
But in prefixes
I want to add it like this: [GuildPrefix] with the color that the user chooses when using the command
'the color that the user chooses using the command'
Seems like you want a custom plugin?
You can choose the color you want in your guild, both name and prefix, originally, just by using &6 or another color code
Example: /guild prefix &9Prefix
I don't want a custom plugin, all good!
But yes a custom placeholder
You could use Javascript placeholders for this, seems pretty doable.
But why would you need a custom placeholder, couln't you just insert the brackets etc. in the place that you're planning to use the custom placeholder?
I could do it, but the brackets that I would add would be with a color that I would choose, and I want the placeholder to load the brackets of the color that the user chose its guild prefix
Example:
/guild prefix &6Cool
The placeholder %guilds_prefix% It will show only the prefix name and color, example: &6Cool
Instead I want a placeholder that adds the brackets to the same color that the user has chosen
Example: &6[Cool]
If I did this, it would be a single color choice for all the brackets
Without using any programming
hi
i own three server
one for lobby
two for survival
can player create guild in lobby and use the guild prefix in survival server?
if you're talking about Guilds By Glare please link your spigot account. Follow the instructions in #spigot-linking
As I said, you could probably do that using JavaScript placeholders, which only requires a little bit of 'programming'
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
@austere hawk ^
and please don't use all channels. Just one is enough
use imgur to send the image
huh?
:?
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
• HelpChat Paste - Usage
• Hastebin
^
You should probably wait until you're on computer before asking for support next time
?paste
Paste Services
When asking for help with a config/menu/code issue please use one of these:
(However we do prefer if you used our paste :))
• HelpChat Paste - Usage
• Hastebin
@austere hawk,
There seems to be some invalid syntax in your config! You can paste it into https://yaml.helpch.at/ in order to find out where your issue is!
holy
thats a lot of yaml errors
this isnt just papi
its also viaversion
and many other plugins
have yaml errors
what version is your server?
you are using
the 1.13 version
of idisguise
for 1.12.2
...
yeah you are
[20:41:30] [Server thread/INFO]: [iDisguise] Loading iDisguise v5.8.2
uhhhh you're minecraft version doesn't support iDisguise, you need an outdated version of iDisguise due to your minecraft version being outdated
look at the page
it tells you the version
don't just download random plugins
and not worry about the versions they are supported for
especially since your minecraft version is 1.12
then download the correct version..?
Conclure is just saying to use plugins only if it supports the version (or use the correct version)
I'm not saying to remove them
And also a lot of your plugins have issues, they aren't enabling at all
its not going to work
you are still going to get yaml errors
you have to fix those as well
[20:41:28] [Server thread/ERROR]: Could not load 'plugins\CommandNPC-1.9.1.jar' in folder 'plugins'
[20:41:29] [Server thread/ERROR]: Could not load 'plugins\ViaBackwards-3.2.0.jar' in folder 'plugins'
[20:41:29] [Server thread/ERROR]: Could not load 'plugins\ViaRewind-1.5.3.jar' in folder 'plugins'
Did you verify?
Did you use a yaml validator
sigh
You can check the syntax of your configs using the online parser here, https://yaml.helpch.at/
ok
full log
:d
?yaml
You can check the syntax of your configs using the online parser here, https://yaml.helpch.at/

the ones with errors
not the logs that tell you that there are errors
lol
both dyno and barry
can you send your latest.log again
2
org.bukkit.plugin.UnknownDependencyException: Citizens
```might want to download Citizens if you want CommandNPC
unless
citizens isn't enabling
nvm
um
Citizens isn't in the log
Did you install the Citizens plugin..?
-_-
.....
There is no time to wait! Ask your question @austere hawk!
Why are you pinging us
banned
lmao
genius
he needs jesus
seems for like he had demons in himself tbh
Lol
Thanks!
Complete beginner. I want to display the balance of a person on the right. I have Essentials and LuckPerms installed. Was told I need PAPI and Vault extension. A kind soul redirected me here.
Would appreciate it if someone could tell me what to do.
You also need some sort of scoreboard plugin
TitleManager is one that supports PAPI. https://www.spigotmc.org/resources/titlemanager.1049/
to download the expansions run
/papi ecloud download <expansion>
then
/papi reload
example: /papi ecloud download player
A resource that allows information from your favorite plugins be shown practically anywhere!
• Spigot
• Wiki
• Placeholder-List
• GitHub
• eCloud
Tysm.
Wdym by expansions?
I put an example
you can see more info on the placeholder-list
As the person that told you said, you need the PAPI and Vault Extensions
(expansion)
PAPI is just an API that allows other plugins/expansions to add placeholders to your game
Oh so the vault is an example of an expansion?
And where do I do this?
have you gotten titlemanager?
ya, so once you get that setup you just add the placeholder into your scoreboard
Have you checked out the list to see all available placeholders?
Why does it take so much work to add a scoreboard lmfao.
not really
just install a scoreboard plugin and put whatever text you want
can't get simpler
I'm confused
if you want placeholders then just download expansions
then put the placeholders in
Ok so I do this in game.
to download the expansions run
/papi ecloud download <expansion>
then
/papi reload
Right as Cj said
Then what?
yes
then?
add the placeholder to your scoreboard
howww
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#economy <- placeholder list btw
go into the titlemanager folder and edit the config
%placeholder%
%vault_eco_balance_commas%
woah
You have configured plugins, right?
What does that mean.....
welp
...
As I said I'm a beginner.
hm
go to your plugins/titlemanager/ folder
what files are there
^
config.yml
animations
aHa
I think it's in config
1 more?
but titlemanager is a very in-depth plugin
yes
In config.yml you'll find the setup for the scoreboard
open up config.yml
Yall scaring me
and scroll down to scoreboard
if you want, this one is a lot easier: https://www.spigotmc.org/resources/simplescore.23243/
nothing to be scared of, you've never configured a plugin before and titlemanager just has a TON of config options
so it could easily be overwhelming
if you want to continue using titlemanager (even though simplescore will most likely work for your needs) you can always refer to the wiki here: https://tmdocs.tarkan.dev/
or their discord (linked on plugin page)
it took me 4 hrs just to get here 😦
theres no scoreboard...
;-;
could ya send an ss
no
welp
are you still using titlemanager
well you see the lines?
just change them to what you want them to be
remove/add/whatever
Sets the scoreboard (sidebar) that is sent to the player
scoreboard:
Toggles this feature
enabled: true
The title displayed at the very top of the scoreboard
WARNING! (1.12 or below ONLY) The title must consist of 32 or less characters (this includes color codes)
title: '${shine:[0;2;0][0;25;0][0;25;0][&3&l;&b&l]My Server}'
The lines of the scoreboard (Maximum of 15 lines allowed)
lines:
- '&b&m----------------------------------'
- '&b> &3&lPlayer Name:'
- '&b%{name}'
- '&r'
- '&b> &3&lPing:'
- '&b%{ping} MS'
- '&r&r'
- '&b> &3&lServer Time:'
- '&b%{server-time}'
- '&b&m----------------------------------&r'
A list of worlds that the Scoreboard should not be shown in.
disabled-worlds:
- 'my-disabled-world'
- 'my-disabled-world-nether'
that^
?codeblocks
Use codeblocks for formatting code or configuration files:
```<language name>
<your code here>
```
For example:
```yaml
test:
- “hi”
- “there”
```
Produces:
test:
- “hi”
- “there”```
which lines...
Oh.
I get it.
- '&b> &3&lPlayer Name:'
- '&b%{name}'
- '&r'
- '&b> &3&lPing:'
- '&b%{ping} MS'
- '&r&r'
- '&b> &3&lServer Time:'
- '&b%{server-time}'
- '&b&m----------------------------------&r'
This right.
yes
what do i edit in it ;-;
interface on a website
oh brother
..
there's a lot to explain here
should i give up..
are you able to edit it on the website or just view it
i can edit.
then edit it on the website
how do you want your scoreboard to look?
what would the scoreboard show? the balance right.
||I still suggest simplescore||
are you in-game?
right now the scoreboard shows all that nonsense
- '&b&m----------------------------------'
- '&b● &3&lPlayer Name:'
- '&b%{name}'
- '&r'
- '&b● &3&lPing:'
- '&b%{ping} MS'
- '&r&r'
- '&b● &3&lServer Time:'
- '&b%{server-time}'
- '&b&m----------------------------------&r'```
it shows the name, their ping, the server time
cut out whatever you don't want, and add what you do want
Including the placeholders we mentioned earlier
I still have to do this,
/papi ecloud download <expansion>
then
/papi reload
one sec.
One more thing @mint fable
This would show their balance of the economy in essentials right.
And to get jobs like breaking wood from a villager.
I think jobs has a pretty good default config as well ^
so you could use that probably with minimal configuring
google found this https://dev.bukkit.org/projects/shopkeepers
But when I google stuff, I find outdated stuff :/
villager shop is what I googled