#placeholder-api
1 messages · Page 153 of 1
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
paste your latest.log
no problem take your time 🙂
Ready, I think I already sent it
Oh, I got the wrong button
All good 
Excuse the question but how did I send the log ._.?
=paste
Please use a paste service to share configs, errors, code and long logs.
• HelpChat Paste
click on helpchat paste put the text in there, save and send link
https://i.imgur.com/JzfTZ2X.png ah my wonderful art isn't needed then 😅
can you share the full server startup log?
._.
I did not put "aaaa" there xD
Ho, sorry
no no, i was just using that to show what i meant ;D
I mean, it knows about the expansion of jukebox
give me 2 secs my meeting ends soon
Ok
ze meetings they're over. now to save ze world!!!!
jeje
yeah i see it says here [14:27:29 INFO]: No expansions were registered! no expansions 🤔
whats in your placeholderapi/extensions folder?
I can't send images but it's a jar file named "Expansion-vault.jar"
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
Perhaps ._.
https://api.extendedclip.com/expansions/vault/ try putting that version in there?
I'm super confused why it broke
Ok, I just changed the files, the old extension for the new one you sent me
I've found recently that there are some plugins that broke how class-loading worked and it's causing https://github.com/PlaceholderAPI/Vault-Expansion/blob/master/src/main/java/com/extendedclip/papi/expansion/vault/VaultExpansion.java#L34 to prevent the actual expansion from loading.
So I might have to manually set that version and then release an update.
hi glare
How do I do that .-.?
Aaaa then what do I do :d? I just hope or should I do something else?
Again, did you follow what Odin told you to do?
You said you changed the files, did it load?
Yes, change the file, restart the server just in case
Okay
Now I put the command / papi reload right?
And it did load?
If you replaced the jar and rebooted you don't need to reload anything.
Ok, I will check if I load with / papi list
I got this from the console "There are no placeholder hooks active!"
.-.
Startup log
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.
?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
And are there jars in the expansion folder?
If you replace that with this one, does it load? Turn off the server. Replace the jars. Start it up agian.
Ok
[15:29:08 WARN]: [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend, softdepend or loadbefore of this plugin.
[15:29:08 INFO]: No expansions were registered!
I get this message
Try to reproduce with only PlaceholderAPI and Vault installed.
What? I did not understand you well, the translation into Spanish shows something else xd
Ok
I already removed all the plugins and only left the ones you told me, but it doesn't work anyway :C
Please respect the rules, be patient and don't ping staff members!
Alrighty, well, maybe someone else will know because I'm stumped if it's still not loading it.
Does PlaceHolderAPI need a plugin or something similar to work? some command to start it .-.?
Maybe
I am I the only one who tries to get papi on a proxy server for a global chat? I haven't found a single bridge between any proxy and papi. Is there a viable workaround other than with a Rest application?
wait for papi 3
Is there an eta? I would need a workaround asap :c
Give it like a year or three
You're better off having something custom made to hook into possibly plugin messaging.
Eeep. I understand.
I thought so, but I am very rusty with coding. (Fiverr is a joke)
I think it would be very time consuming to learn all the APIs just for a single hook.
Well I mean any particular reason why you're running it through bungee
On my network, I use essential's nicknames and a papi based suffix. It is basically one of the main aesthetics of our community.
I have chats synced from all of our servers over bungeechat. The only thing that is missing is papi support of some sort.
Why not parse placeholders before they get sent to bungeechat
I can't think of a possible solution at this point.
I doubt I know how to do that.
Bungeechat is taking over as a chat manager, I wouldnt know how to parse it before the direct input into the message channel
It might not be the easiest to parse that simply because he's using Bungeechat as the processor which is on the proxy.
which get's data through which event?
That's what I'm trying to figure out 😛
I could ask the dev if that's any helpful.
Which plugin?
BungeeChat
"It's the normal chat event" said Brainstone
Well if you put it on the backend, it's something to work with, but if you only put this plugin on the proxy, then it might not be as easy.
AsyncChatEvent I'd asume then
It looks like this is proxy-only and it's using the bungeecord ChatEvent.
What in the
Which means it's probably no-dice unless you make a plugin on the backend to make the proxy get the message already parsed.
"That sounds like the Bukkit event. Which would be incorrect"
Correct, it's a proxy-only plugin.
As scoreboard plugin i use quickboard and in that board i display a player his balance but if a player has for example $23.000.000 then the board gets very big, is there a way to make it display 23M instead or B for billion and K for thousand
"It's the normal chat event"
By this I presumed you meant bukkit
BC is proxy only
Everything in "" is directly from the BC dev
Yeah I figured. I'm waiting on a response from someone, and their response will determine if it's possible to do this or not.
The simple constraint here is that there's no backend plugin. For example CarbonChat, which isn't ready for production yet, seems to handle PlaceholderAPI across servers simply because it goes on the backend and processes it before-hand.
More than likely it might not be looking too good since it's only on the proxy level.
I dont mind switching plugins, I just need PAPI plus proxy wide synced chat
You might look at VentureChat. I've heard that works with PlaceholderAPI and has some cross-server stuff. I've never used it myself.
I have seen it, but idk why I didnt use it
I should give it a try! it looks like the description is referring to proxy papi support
Okay so, I am using BetterSocial plugin on a testing server. All good until I downloaded the JavaScript Expansion from PAPI and suddenly, the placeholders from BetterSocial just stopped working. Any ideas how to fix?
Hey guys
hey whats up bro
/papi dump
So featherboard uses MVdWplaceholders
im using a plugin that uses placeholderAPI
i recall a conversion u can do in config to use both with featherboard
but heck can i find it anywhere
any ideas?
Nevermind solved it.
nice
legend
What does this mean "now available in the server expansion" I think it's from the "player" placeholder expansion
Sounds like whatever it was is now in the server expansion
I think its just the server name. But what is the server expansion?
The "server" package?
on Ecloud?
yep
Doesn't work. it still takes the "server_name" from the "player" package
did you do /papi reload?
Yuppers
Where are you using the placeholder
in the chat
Hm...Are you sure? if I unregister the player package, the username disappears, but the server expansion still doesnt replace the placeholder
.
.
Is it deprecated?
I mean if its sending you a message probably
I am sorry. Been seeing to many configs and logs today, eyes twist already. Thank you for your help
will chatinjector work just in plugin configs as a number for example?
afaik chat injector only affects chat
nope, you'd need to modify their code
chat is just an area any plugin can control so that's how chat injector works
you don't get to touch other plugins' config files
Well techincally any message that is sent to chat will work with chat injector
but Idk if that's 100% true
I've never used it myself
nah i need to modify check threshold
ah yeah that's not happening
Hi ! I have a problem with the time displayed for my players, it sees the time in 60h format and not in 24h format ... Do you have a solution? The placeholder used is: %player_first_join_date%
I think this is still being worked on. I know this bug has been out for a while and its unfortunatelly the same for some other time placeholders like server uptime and time played
I don't think there is a fix yet
how do i make placeholders using the new system? does anyone have an example? i'm updating from 2.9.1
ah awesome thanks
Hello, I am using a plugin called "chestcommands" but I don't know how to put the number of users that are connected in a modality. to put those who are connected in that mode.
Are you looking for a placeholder for it?
how do I use /papi parse from the console...?
instead of me use a player name
Any issue reported about placeholders not being parsed when javascript expansion is installed?
Not that I can remember of

when I try to download Player placeholders with /papi ecloud download Player, i get this message:
Failed to find an expansion named: Player
What Papi version are you using?
2.10.9
?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.
%pinger_isonline_UNKNOWN% ignore the unknown part as not revealing my ip, but anyone know how I can make it so when it says Online the whole thing is in capitals?
Hello! I am working on an expansion for placeholder api in my plugin, and the log first says "[08:21:53 INFO]: [PlaceholderAPI] Successfully registered expansion: metrotool" Then says "[08:21:53 INFO]: No expansions were registered!". What am I doing wrong (expansions dont work with /papi parse either).
Also, it does work if i grab the plugin, put it into expansions folder, and manually enable it.
@turbid tide i solved the problem btw... xd
Please respect the rules, be patient and don't ping staff members!
Oh sorry for the mention..
Nice and now worries. Also to be honest I don't even remmeber what your problem is fully. I have a very bad memory
ohh the one with the placeholder api placeholders not setting
right
well glad to hear
Yess xD
Not the best solve but i just looped through the players and send them the message
and canceled the event (chat event)
oh that's bad
i know
btw I think I know what the issue is. The guy that gave you the 2 links to the javadocs was showing you that setFormat is taking in a String.format
so it needs some special format iirc
yes but i can't find a special format anywhere :/
what if you set just the message instead of the player name tho?
somebody said that %s, %s was for the player and message.
Want to change the whole format :/
Chat_Format: '&7%kingdom_kingdomprefix% %kingdom_rankprefix% &7%player%&f: &7%message%'
Example this ^^
hmm I'll take a look later gotta fix something rn and I'll see if I can find anything
Oh thats no problem! Thanks : )
I'm getting this errors can anyone help me? https://paste.helpch.at/icikenafac.md
My scripts doesnt working
what's your server java version?
paperspigot 1.16.5 and im playing on minecraft 1.16.4
I mean java version
do yo uhave a dedicated sewrver?
or what type of hosting?
@hybrid leaf send over the full startup log if you don't know how to find the java version
?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.
it should be in there. this is how you get the logs ^^^
and send them using a paste bin
local host
give me a minute and I'll send the logs
u mean this?
yes sir
Can you open cmd and execute: java -version ?
yes i can
you can tell me where the version is and let me know next time
ugh I can't see it from here. I thought that maybe I can but that's only with pterodactyl panels apparently
just do that command
and you'll find it there
java version "16.0.1" 2021-04-20
Java(TM) SE Runtime Environment (build 16.0.1+9-24)
Java HotSpot(TM) 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)```
what i need to do
ok but im using this java to programming some small projects, can they still working when i use java 14? sorry for my english
ugh I mean they probably will unless you use something specific that was added in 1.15 or 1.16
15 or 16** I mean
ok
Anyone know of an addon/plugin that adds a %random_player% or something similar? Chooses a random online player. Can only seem to find placeholders that use random numbers.
You can make one with javascript
you can probably find some shuffle method online for javascript and use that to shuffle the list of online players and take the first one from the list
now all scripts working great but im getting thiis errors: https://paste.helpch.at/icibunewux.css
Those can be all ignored
ok thanks so much
How can i get a char via FileConfiguration?
I see only options for a char list..
Maybe i am just blind.
Oh wrong channel, sorry
%objective_score_<obj-name>%
hi, to take the value of a scoreboard objectives of an entity, what should I write to <obj-name>?
What kinda of entity?
I think you can enter an entity like a player or something...
im trying with an armor stand 🤔
👋
The javascript cooldown isn't working, when I click on the item in the gui this appears in console
[10:25:40 INFO]: You must supply a target, and a message: /papi parse {target} {message}
Good morning,
after a night reboot, the placeholders on our server won't work and it throws this error. We have the latest version.
Hello, I am trying to use the %server_name% placeholder to pull my server name which should be HUB01 but it seems to be pulling a default MOTD because it just says "A Minecraft Server"
Weird thing is I have no MOTD set to say that so that's not even pulling a correct MOTD anyways.
I think it takes it from PlaceholderAPI's config
can you try to redownload the plugin?
can you send the exact command you execute in your GUI?
You're absolutely right, I didn't even think to look in there. thanks!
I think that is not for the entity but for a name of a scoreboard objective, you can create them using /scoreboard objectives add <name> <type>, check this for how to use it https://minecraft.fandom.com/wiki/Scoreboard#Command_reference
if you want the value of an entity using a scoreboard objective, you have to use the placeholder %objective_score_<obj-name>_[otherEntry]% and use whatever name you used in the objective
already resolved.
Can we not post screenshots here?
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.
This is my second small issue I am seeing these messages in the console when I start the server. https://ibb.co/pPPX3x5
you can ignore warns like those
it's not important
this is because you are using the JavaScript expansion which use a script engine called Nashorn which isn't supported in Java 15+, but if you aren't using it, you should be fine
this means that the ListPlayers expansion is outdated, you can remove it from your Expansions folder in your PlaceholderAPI folder and use the PlayerList expansion instead
same thing for redis expansion, it's outdated
🤫
?
nothing
btw, while you're here Blitz, do you have access to the GitHub wiki? if yes, can you remove it from here? x) https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#listplayers
You can too. Everyone can the same I do. Just PR
you can't pr a GitHub wiki?
Thanks! That removes some of those errors.
How can I get the Nashorn warnings to go away? What do I need to update or remove for those?
I think you can add a java flag to your server start script
this one I think
-Dnashorn.args=--no-deprecation-warning
Ah perfect so much better! Thank you for your help.
I know you said I can ignore "not a depend, softdepend or loadbefore of this plugin." but can you tell me why this happens just so I know. I see it happen often on others too.
MD_5 (Spigot's author) decided that it was a good idea to add those warning when a plugin hooks into another and doesn't have this plugin in its (soft-)dependencies
in this case, PlaceholderAPI hooks into Vault, Essentials, LuckPerms, WorldGuard and WorldEdit
Ah gotcha, makes sense.
that is because you are using expansions that depend ton those plugin, but PAPI can't put them all in its dependencies since there are tons of plugins and expansions, and expansions can be added dynamically ¯_(ツ)_/¯
So basically any Plugin that hooks into another which isn't designated as a soft dependencies is going to throwing that message? Good to know now.
yeah
Perfect, thanks!
but if you want to "fix" it on your own, you can open the PlaceholderAPI jar file with 7Zip, WinRar or anything that can open compressed folders, and edit the plugin.yml file
in there, you can add soft-depend: [Plugin1, Plugin2] with all plugins that you want
you'll have to do this with every PAPI updates tho
but at least, it won't show in console ¯_(ツ)_/¯
Nah, im Gucci! javascript is my kryptonite. 😂
x)
I can live with them, just as long as I know what the message means and its harmless Im good.
Well.... My OCD got to me since you mentioned I could remove these messages. So I opened it up in Atom IDE. Is this correct?
soft-depend: [Essentialsv2.18.2.0, LuckPerms v5.3.27, Vault v1.7.3-b131, WorldGuard v7.0.4+f7ff984, WorldEdit v7.2.4+5723-e3bfc64]
without the version
That is what I wasn't sure of.
sup tanguy
hi
soft-depend: [Essentials, LuckPerms, Vault, WorldGuard, WorldEdit] is what I have now but not removing them.
ugh Tangu what's this for?
oh you can hide those by adding the plugins as soft depend? I never knew this
Its to suppress the soft depend warnings in console
did you restart?
oh lol
I'm stupid
it's softdepend without - 😅
Yeah that didn't work ether. I usually shut down the server. Make the edits then start it. Is there any certain place these need to be placed? https://ibb.co/fFRxt89
Oh crap, wrong screenshot
ah
and it still shows the msg in the console?
Yes
🤔
that's weird
oh I know
try to take the plugin.yml file out of the jar
edit it
then put it back in the jar
Well, the changes aren't being saved. That is the problem. Not sure why, let me play with this for a few
yeah that's what I thought
why does this happens? https://gyazo.com/2fc06ab69b822da1f45bbff13a0a0549
have u downloaded the vault expansion
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
what does /papi parse me %vault_eco_balance% return?
%vault_eco_balance%
?startuplog
Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.
send over the startup log ^^^
also do you even have any economy plugin? @white junco
that connects into vault?
I have only vault plugin
oh well
as an economy plugin
oh, that's why?
yeah
vault is merely an interface for other plugins to connect to
Vault isn't an economy in itself, it's a plugin that lets economy plugin hook into to be compatible with each other
Oh alright, my bad
you need an economy plugin like: Essentials, GemsEconomy, MultiEconomy or others
idk there's loads of economy plugins
out there
just need one that works with vault
alright thanks for the help
did the repository for placeholderapi move?
huh
alright
im just getting this error when building with maven
Failed to collect dependencies at me.clip:placeholderapi:jar:2.9.2
i can send the full error if that helps
[ERROR] Failed to execute goal on project IridiumSkyblock: Could not resolve dependencies for project com.iridium:IridiumSkyblock:jar:2.6.7: Failed to collect dependencies at me.clip:placeholderapi:jar:2.9.2: Failed to read artifact descriptor for me.clip:placeholderapi:jar:2.9.2: Could not transfer artifact me.clip:placeholderapi:pom:2.9.2 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [mvdw-software (http://repo.mvdw-software.be/content/groups/public/, default, releases+snapshots), sk89q-snapshots (http://maven.sk89q.com/artifactory/repo, default, releases+snapshots), placeholderapi (http://repo.extendedclip.com/content/repositories/placeholderapi/, default, releases+snapshots)] -> [Help 1]
the IridiumSkyblock said something about the papi repo moving because of a fire
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.9.2</version>
<scope>provided</scope>
</dependency>
and
<repository>
<id>placeholderapi</id>
<url>http://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>
looks right to me, try using https instead tho, then reload maven / refresh dependencies
i'm very new to maven, so i might've made a mistake somehwere
and u should update the papi version, as 2.10.9 is latest now
need i say maven
stonccs
what are placeholders for mcmmo?
Hello, /papi parse BabySmoelf %javascript_isDonator% just returns nothing, when it should return actual information
Did you set up the Javascript thing correctly
There's like 4 things to do on the wiki
But I'm on my phone right now
I'm comming from a TAB support ticket, and this is the file they gave me ```function isDonator() {
if (BukkitPlayer.hasPermission("group.bandit")) return 2000000;
if (BukkitPlayer.hasPermission("group.ag")) return 1000000;
return 0;
}
isDonator()
😎
You also need to set it up in the config
yeah that's what I told him
yes that works now 🙂
👍
thanks for the help, once I have created the score_objective, how do I choose the target entity ?, to write in [otherEntry]
what exactly are you trying to achieve?
i create a dummy scoreboard and add and subtract points to an armor stand, so I want %objective_score_seg ...% to show the value of the armor stand, do you think it is possible?
you have to use the name of the armor stand (or whatever name you used in the scoreboard objective) as the [otherEntry]
ok i will try with that, thanks for your help 

im trying to find the api on spigot. apex hosting but i can only search for et i cant use a link. but when i search for placeholderAPI there comes MANY op
how can i find it
Blocked mirror for repositories: [mvdw-software (http://repo.mvdw-software.be/content/groups/public/, default, releases+snapshots), sk89q-snapshots (http://maven.sk89q.com/artifactory/repo, default, releases+snapshots), placeholderapi (http://repo.extendedclip.com/content/repositories/placeholderapi/, default, releases+snapshots)
is this an issue with Papi or something else?
so you're trying to find the papi api?
its on the github wiki. https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Hook-into-PlaceholderAPI
He sent a link?
is the api's name just PlaceholderAPI ?
wait are you trying to get the api to use in java
?
or what are you trying to do?
bcz if you are trying to import it to use in java then that link gives you the way to do it with both gradle and maven
well that's the plugin. yeah... you said you want the api
if you want the plugin then yeah that's it
the one you snet
sent*
a bit ago
I mean no, why?
thx 😄
sounds about right
Can somebody help me with CheckItem placeholder
I'm trying to let it check for a item with a CustonNBTData called: EOTM
But everything i try with name or other things it says faal (means error)
But if i let it check just for material like gold_ingot its alright it will go threw then
http://prntscr.com/11t8mth
This is the item with the customNBTTage (normal gold just has 1 data tag)
The checkitem expansion doesn't have a way to check for nbt tags. Only custom model data but that's all
or custom names and lores
Tried that part also, but doesnt work
even with colors tags or without it he just ignores me
use namecontains instead
or doesnt it accept the fact that there is a space between?
it should accept spaces
but try name contains
and also specify the material it gives you more security that is the item you want
Yea what im trying to prevent is that players can rename a gold ingot and its going to accept that
Okay nevermind found it
It hates the spaces
thats why it crashes
hmm that's weird. It sohuldn't
atm its this
%checkitem_namecontains:EOTM,lorecontains:Server%
But once i make it EOTM Money, Server Currency
its going to say fail
what if you tested it without bold
I know it works with colors, so it should work with bold, but otherwise I have no idea why that placeholder would fail
I remember someone else having the same thing but got it working after but I don't remember how or whyt
why*
yeah
@lone elm ^^^
yea they work, but not with the the content: "EOTM Money" only with "EOTM"
So only the first word works
guess it's time for me to load up a server
what are you naming your item exactly
and the lore
ss here @mint fable ^^^
Hold on
works for me
'29':
v: 2586
type: GOLD_INGOT
meta:
==: ItemMeta
meta-type: UNSPECIFIC
display-name: '[{"text":"EOTM Money","color":"yellow","bold":true},{"text":"","color":"yellow","bold":false}]'
lore:
- '[{"text":"Server Currency","bold":true,"color":"blue"}]'
internal: H4sIAAAAAAAAAONiYOBg4HUuLS7Jz/VzCnFJLElkYHH1D/FlAABdE5jBGgAAAA==
```
The other internal is: {CustomNBTData:"EOTM"}
uh
Welcome to my issue ;p
atm got it working with lorecontains
customnbttag?
Server Currency
no custom nbt because it doesn't check for nbt
no but we use the custom tag to remove only that item from the player
i mean
I guess?
you could also use the checkitem expansion if we get it working
if you remove the custom nbt tag(s), does the checkitem placeholder work?
minecraft:clear command doesnt allow me to delete all those items with custom names
you can use checkitem for that
No because i got 2 items, 1 with custom nbt and one without
with the same name/lore situation?
Yea
so... this won't work then
Nope
im already fighting with this for 3 days xd
it will act as the other item
with NBT
why do you have 2 different items with the same name?
Well to test which one he will pick with the minecraft:clear command
because i ahve to remove stuff from the player threw the console
and they give them another item in return
its the currency of our server
I still don't see the reason to have 2 different items for your currency
Why do you have 2
just have 1
keepit on testing purpose
the 1 we used before (without custom NTB) didn't wanna be removed
so for testing purposes, we are going to try using 1 item without custom nbt
it would remove all the gold ingots the player would have
yes, you can do that with checkitem
%checkitem_remove_mat:gold_ingot,namecontains...%
but
you can't do it if we don't get the placeholder working
Yea but can deluxe menu force this as a command?
Ah that part wasn't clear for me
but having 2 items wouldn't solve your issue
We are now using the one with custom nbt
okay but we need to remove it to test
remove the nbt and test the placeholder
I did this
/papi parse me %checkitem_give_mat:gold_ingot,nameequals:&e&lEOTM Money,loreequals:&9Miscellaneous|&9&lServer Currency%
to give myself the item
and then obv /papi parse me %checkitem_namecontains:EOTM,lorecontains:Server% to check it
[console] %checkitem_remove_mat:gold_ingot,namecontains:EOTM Money,lorecontains:Server Currency%
so it should be like that then?
that should work, yes
BUT
be careful
that will remove ALL of the moneys
put it amt:# if you want a specific amount
%checkitem_remove_mat:gold_ingot,amt:5,name...%
but that will only work if %checkitem_mat:gold_ingot,namecontains:EOTM Money,lorecontains:Server Currency% works
it works lemme try the check command
nice
i only checked for name+lore
just add it in
Okay thanks for all the help mate!
Also, if you add the NBT again, does the placeholder not work anymore? Just curious
because that's real weird 
but yes, checkitem expansion was kind of made for custom currencies/shops/etc.
so I like what you're doin here!
just curious what plugin are you using to make the item?
nothing
We use CMI {other source for essentials}
oh is that in CMI?
Just a kit
yea ":)
smart
but players these times dont like the item for item economy >_<
yea, well only og's will join then 😄
dope it'll be a nice addition to the examples
this was something somebody was making: custom crafting recipes https://paste.helpch.at/evufokicog.bash
pretty dope
still thinking of away to give the spawners
atm thinking about making kits and force them to players
i mean, if you can make custom items through kits
it sounds like a good idea to me
sounds genius
cant find another way, because CMI is also protective againts the give command
wel
/give @p minecraft:spawner{BlockEntityTag:{SpawnData:{id:"skeleton"}}} 1
If i do this, i get pig spawner
/minecraft:give @p minecraft:spawner{BlockEntityTag:{SpawnData:{id:"skeleton"}}} 1
Still pig spawner xD
yea
and most sites are saying to use the /setblock command
and that is not very effective because then they first need a location and if its miss places blablabla....
ya...
na gonna go with kits
if you can think of something else lemme know 🙂
i will try it if it works
ahh
wait
1 vote and 8 comments so far on Reddit
The SpawnPotentials is required or else it reverts to a pig spawner after the first skeleton pops up.
so maybe you just needed to add that
see if it works
can't believe how hard that was to find
Still pig spawner
it was 4 years ago
rip
what did you try
just to see
/minecraft:give @p minecraft:spawner{{BlockEntityTag:{SpawnData:{id:Skeleton}, SpawnPotentials:[]}} 1
?
This is the only one working
yea xd
/minecraft:give @p minecraft:acacia_boat 1
that is the new minecraft give command
i got it @lone elm
using the mc give cmd /minecraft:give @p minecraft:spawner{BlockEntityTag:{SpawnData:{id:"minecraft:skeleton"}, SpawnPotentials:[]}} 1
need the specific id i guess
Will try tomorrow now in bed 😅
"minecraft:skeleton"
Spawns pigs
Please respect the rules, be patient and don't ping staff members!
iirc you need the id of the mob in the SpawnPotentials aswell
/minecraft:give @p minecraft:spawner{BlockEntityTag:{SpawnData:{id:"minecraft:skeleton"}, SpawnPotentials:[{Entity:{id:"minecraft:skeleton"}}]}} 1
try that
it filled in spawn potentials to skeletons for me when placed, but idk about for danneke
I purchased this plugin and it's a really great solid plugin. It says it supports PAPI and it lists the placeholders, but it doesn't list the command to grab the extension. The plugin has a new dev and he is a great and super helpful, but he is still learning how it is setup so he is not familiar with the placeholder system. So how do I find the command for it. What it is called isn't listed on the wiki.
the plugin may have the expansion built directly inside of it
which means it will load when PlaceholderAPI is found, so no need for any download command
you can check with /papi list for expansions installed
Ah, when I do list I see it is there, but I do not see an expansion jar file for it or when I do papi reload it isn't listed. As naturally those are actual jar files. So I am guessing if it is built in there won't be a physically expansion file correct?
Hello, I am using a plugin called "chestcommands" but I don't know how to put the number of users that are connected in a modality. to put those who are connected in that mode.
Will try in the evening 😋
yes, the expansion is within the plugin, no external jar
you can use the Bungee expansion for PlaceholderAPI which provides a placeholder to show the amount of players connected to a server
%bungee_<servername>%
Hello guys, may I ask does progress_bar expansion support RGB color as well as gradient?
It does not support RGB at all afaik
Alright
Does the %server_online% %server_online_<world>% not work anymore? I use %server_name% which is from the same server expansion pack and it works, but the online statuses do not.
The online part shows the number of online players
in that server
and the world one shows the online players in that world
That makes sense, either of them are not working though
I have deleted the server expansion a couple times and reloaded it and still nothing.
What's your server version?
and also PlaceholderAPI version
also try parsing the placeholder /papi parse me %server_online% and check the console after to see if there are any errors
Papi is 2.10.9 and server is 1.16.5
Good trick to know, will try that now.
They work in console.
But like you said, that returns numbers of players in a world which I did not know. That is useful to know for other things I have to do, but is there a placeholder that returns the online/offline status?
Oh well why do you want to know the status of the same server you're inj?
Because this placeholder doesn't work across servers
It is for my Hub selector to put in the lore
if you want something that works across servers is the Pinger expansion
That is actually what I was just looking at. 😂
The only draw back to using that is if you're sitting behind a BC network you will need to open up the ports to the direct hubs in order to ping them and that could pose a security threat. Not a huge deal for me since I work in networking so I have a solution for that.
yeah probably. I personally don't use it anymore. Not to good at networking so I just didn't bother xD
by "not to good" I mean I have no clue what I'm doing
lmao
Not sure what is going on, I have two separate plugins that will not parse placeholders, yet I can parse them in console just fine. Any suggestions?
Well not all plugins support PlaceholderAPI infortunatelly
the developer of each plugin needs to add support for it
They claim they have PAPI support and DeluxeMenus should support it since it is the same Dev. 😂
Featherboard is the other one which it is suppose to work with. It's even demo'd on his test server.
you have to use {placeholderapi_PLACEHOLDER} in featherboard
so for example for %player_name% its going to be {placeholderapi_player_name}
No, I was looking for that prefix for that now, so thanks
That works! Thanks! I knew there was a prefix MVdWPlaceholderAPI but didn't know if there was one vice versa. Learned some things today
👍
Another one of lifes mystery's The %online% works, but the pinger does not. Both are PAPI placeholders. I replaced my IP with IP for privacy
- '&7Players: %online%/150'
- '&7Status: %pinger_online_IP:25561%'
%online% ain't no PAPI placeholder
also have you tried parsing it with /papi parse ?
Yeah, online doesn't parse, but the pinger does. Once I use it in the plugin it doesn't parse. Not sure why some of these plugins advertise PAPI compatible if there are not.
I think it may have something to do with AutoRestart
anyone know if it's possible to parse a placeholder according to the person who is watching it? 
it can if the plugin where you're using the placeholder does that
Except that I just restarted the server manually so I don't understand why it comes from that?
I don't know either 🤷
oh so it is possible, well that's pretty much what I wanted to know
do you happen to know any chat plugins that can do that just in case
if not I can search for myself
mine can 😅 but it has the plugin TAB as dependency
i go test deleted my auto restart plugin
I'm using Featherboard, trying to use player_x, player_y, player_z and player_ping placeholders and after downloading Player via ecloud and reloading (even restarting), it still doesn't seem to want to work. Any ideas?
FeatherBoard uses MVdWPlaceholderAPI, you might want to check its placeholders
but you can use PAPI placeholders if you use {placeholderapi_<placeholder>}
o_O
Thank you
is that new tanguy?
wtf I didn't know that
ohh I use TAB lol, what's the name of it
oh nice
Well, it's not on Spigot atm, but you can download it from Github's releases tab here https://github.com/Tanguygab/TAB-Additions/releases
there's not that much documentation ||it's shit, I know ;-;||
but you can ask me and I'll help 🙃
oke, thanks!
For %server_online_<world>% where does that pull the data from? Also is the <world> like it's listed in BC correct?
Correct, that is what I am trying to get.
then you can use that placeholder and replace <world> by the name of the world you want the amount of player from
Understand that part, is it case-sensitive, does it read it how it shows in BC? Reason I ask is I am in Hub01 but when I parse this in the console %server_online_hub01% it shows 0 is in there.
In the PAPI config it is listed as HUB01 but when I parse it with %server_online_HUB01% it returns 0 also even though I am in there.
Does anyone know why in chat deluxe chat shows the place holder as %player% etc
?player
Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload
what do you mean by BC ? BungeeCord?
it doesn't have anything to do here
idk about case sensitive tho
Yes, BC=BungeeCord, I was wondering where it checking the name from so I knew how to spell it in case it was case-sensitive. In either case though they are in caps in BC and the PAPI config
Now this is the issue
The player part now works
Just the prefix no longer
Whats the best placeholder to use to output ranks
why would it use BungeeCord (which uses Servers) while you're using a placeholder for Worlds?
%vault_prefix% or %vault_rank% I guess
Because each server has a name value in there. One server in BC = One world. I.E. /server survival, /server creative... etc and so on. Yes it is a "server", but it is also a world and you're wanting to get the total number of players online on that certain world/server. In my case the total in each Lobby hub.
What about lucky perms?
you can't get the number of players in a specific world from a specific server, either the amount of players on a server, or the number of server in a world on your current server
works as well
you can either use Vault's placeholders, or use LuckPerms' placeholders
❤️
if you want the amount of players in a server, use %bungee_<serverName>%
if you want the amount of players in a world on the server you are currently in, use %server_world_<worldName>%
So where is that world name pulled from? Server properties or config for PAPI.
But no one who uses BC has multiple 'worlds" on a single BC server. So if you're pinging that server for players, you're essentially pinging the world. %server_world_<worldName>% is what I have tried, but where does the "world name" come from. Where does it read this data, server.prop or config for PAPI?
So where is that world name pulled from? Server properties or config for PAPI.
from the name of the folder of the world?
But no one who uses BC has multiple 'worlds" on a single BC server
you can have multiple worlds on a server?
Which is HUB01 like it is in the other two places. That is why I am asking so I can check and see if I am using the correct world name.
Both
use %bungee_hub01%
In my server I am using placeholder api to display placeholders on holograms, it was working a few days ago now it is not and it just shows the entire placeholder to people instead of the value, it is not an issue with build battle or superb vote as they are BOTH not working, I figure it is a problem with this or holographic displays. It shows this to people on the holographic display: WINS: {medium}%buildbattle_wins% instead of showing their wins
Also with SuperbVote, it shows %ajleaderboards_board_superbvote_votes_1_name% - %ajleaderboards_board_superbvote_votes_1_value% instead of their votes
Does anyone know why this is happening or any possible things I can check to fix it?
Do you have holographic extension too?
LOL, right back to bungee though. I get what you're saying now. I think I was confusing both of us since my naming convention was the same for my server and world since it is the hub. %bungee_hub01% works and when I do %server_online_<world>% it works too now that I know how it is working. It is case_sensitive though for both solutions. Sorry for the confusion.
how do you setup a baltop on holograms
What is holographic extension
ooo thats that plugin I deleted because it looked useless
@errant iron Thank you
XD
Is there anyone using the pinger placeholders and it accurately display online/offline? Reason I ask is it shows all mine severs are online even if they are not. I am not sure if it is pinging the port and it sees its open, or I don't have something configured right.
i believe u can change the update time of the pinger expansion in the PAPI config - unless thats a different expansion im talking about
so see if that helps with getting more accurate info being displayed
It's not the update time. They all start offline of course when it first loads. I have them set to 10 seconds. Problem I am seeing is servers that are offline and not even spun up show up as online when that isn't accurate. I think it is pinging to see if the port is open rather than if the server is online. That's my theory right now at least. I go to mcsrvstat.us and put the IP and port in of the offline servers and it comes back with a ping and MOTD. So I think it is pinging the Bungee and not the actual server.
Correct
what about the rest of the placeholders? do they return the wrong information too?
also, the expansion does actually check for the server itself, instead of just checking for an open port by the looks of it, unless something is wrong within the code
nvm, the expansion is actually completely broke 🌚
😂 Right!
I put in the IP:PORT but I think it is pinging the BungeeCord server since those servers are sitting behind a proxy. It is returning a false online status based on if the port is open or not instead of if it can query. I.E IP:25575 has a server sitting there, but it is offline and not spun up. It shows it as online because that port is open. I am going to play around with it some more. It had to work at one time and I remember it working like 5 yrs ago.
yeah ill do some digging too, i think im wrong saying its completely broke. ive just read all upon the server list packets lmao
what server version btw @cursive ermine ?
👍
ok the expansion is working for me just fine
Are you behind a bungee network?
yes
i ping the spigot instances using 0.0.0.0:25565 and it works fine
all of the instances are connected to the bungee
Yes, but that’s the proxy. You’re not actually pinging the servers. Turn some off and see if they show offline.
How are you able to tell?
Showing online isn’t my problem. It’s offline servers showing online when they aren’t.
are u giving it time to update the placeholder?
I don’t think you’re understanding what I’m saying.
turn on server -> online, -> ur turning off the server -> still showing online, yes?
OFFLINE servers are showing ONLINE. So it’s not an update issues.
It would be an update issue if online servers were showing offline.
i mean, maybe
I know they are offline because the servers don’t even exist. Only the port reservations. So that tells me it’s pinging the port and not an actual paper instance.
When you first open it they all show offline. Then the update hits and it shows online. They should be staying offline because they don’t exist. So it’s not an update problem. If it was then online severs would show offline because they never update.
I pushed the actual code behind the expansion if you wanted to take a look. It looks to be written back around 2017 so it could probably use some TLC.
I need help with the CheckItem placeholder expansion
I have a custom player head and I want to check if in my hand (its itemname is Unemployed Villager's Head), but when I use:
/papi parse me %checkitem_mat:player_head,namecontains:Villager's Head%
... and I have that item in my inventory, it parses "no".
Any help?
might not be able to have a space?
hello a question why when I download the expansion (player) for the plugin (TRMENU) the plugin (PAPI) stops working I say I put reload and it does not reload it marks error
I hope I can help me please I would appreciate it
Is placeholder text counted to scoreboard line length?
For example this https://imgur.com/4sq9NhA
Anyone help? I already wrote on this support twice and nobody answered me.
actually somebody did answer you last time. They asked if you can try re download the plugin
Send the error that you get in console. Use a pastebin to send it
Yeah spaces break it from what I've seen. You'll have to check without spaces so either check just namecontains:Villager's or make the item's name different
That really depends on the scoreboard plugin
some count it before they parse it some after
We using this https://github.com/MrMicky-FR/FastBoard in our Core plugin.
huh that's just an api. does your core parse the placeholders in the string before they set it as the scoreboard line?
als I'm not sure how scoreboards fully work so I can't help you with that. Have you tried parsing the placeholders using /papi parse me <placeholder> to see if they work at all?
Hello
I want know which one ecloud can let me use sush as "%statistic_player_kills%".
Statistic
How to download in the game?
/papi ecloud download Statistic, /papi reload
it's download, you used downlaod
yeah, he made a small mistake 😅
dk what you're talking about
mine clearly says download
lol
smh
what's funny is that I specifically looked to see if there's a mistake and didn't notice it xD
shhh
/papi reload?
it works when you parse it like that?
YES
What about the screenshot? Where is that placeholder used?
My Core does this:
public static void updateBoard(FridayBoard board) {
List<String> lines = Lists.newArrayList();
lines.addAll(MCore.getPlugin().getMainConfig().getStringList("scoreboard"));
board.updateTitle(PlaceholderAPI.setPlaceholders(board.getPlayer(), (String) MCore.getPlugin().getMainConfig().get("scoreboard-title")));
board.updateLines(PlaceholderAPI.setPlaceholders(board.getPlayer(), lines));
}```
Please respect the rules, be patient and don't ping staff members!
What?
Placeholder works perfectly on version 1.16, but if player is connected with 1.8, he can see only half of scoreboard line.
Please respect the rules, be patient and don't ping staff members!
probably because of the character limit
it's 16 when you're using a client below 1.13
Yes, but i mean, if it can be caused by long placeholder text
anyways, it's not a PlaceholderAPI issue
🤷
if the plugin is done correctly, it would parse the placeholder first and then cut
.
then it shouldn't be the placeholders
Maybe i can try check player's version and set shorter scoreboard.
also, be aware that color codes are also counted as characters
yeah
hello im looking for javascript engine supported by this plugin
it only supports nashorn and if you're on java 15 you can install GraalVM so you can use graal then
bcz nashorn was removed in java 15
nashroon
i do 🙂
I suck at coding, but I am a networking wizard so I could help with advice in those regards.
Please respect the rules, be patient and don't ping staff members!
I try those two methods but it still parses "no"
Please respect the rules, be patient and don't ping staff members!
it's graal.js iirc
if you use GraalVM and use engine: graal.js for all your scripts it'll work
can someone please help me with this
Tanguygab gave you a class from another plugin that does the exact same thing. The link seems to not work anymore but found it again: https://github.com/NEZNAMY/TAB/blob/master/bukkit/src/main/java/me/neznamy/tab/platforms/bukkit/features/ExpansionDownloader.java
Guess i will be releasing 1.7 javascript expansion soon, with an exception
Which is, at least, tomorrow
took you a while xD
soon™️ yes
🌚
Is it possible to get the top player for a specific statistic with placeholder api? Or is it limited to only the viewer?
Only viewer. It takes the statistics from minecraft. You can use a plugin like LeaderHeads or AJLeaderBoards if you want
gracias.
How can I add the bungee expansion? Because I have the placeholderapi in all my spigots but it doesn't work on my bungee, is it an expansion that I have to install on the bungeecord?
They help me? How do I get the bungeecord expansion of placeholderapi? to put in the menu of my server the number of people connected to a modality
/papi ecloud download Bungee
/papi reload
I already did that on all my spigot servers but it still doesn't work, do I have to add something to the bungeecord?
I mean look, I'm putting the placeholder in my modalities menu that the active users appear in each modality, but it doesn't work, I have installed the bungee expansion on each spigot server but it doesn't work, I have to install something in the bungeecord?
have you tried /papi parse me %bungee_survival% ?
I put that in and a number appeared
then whatever you use it in doesn't support PlaceholderAPI
So how do these people put the number of people connected to a modality?
put them where?
When you open the menu to choose the modalities, people put online in each modality there, how do they do that?
Well what plugin do you use for that?
ChestCommands
Well contact the ChestCommands developer and ask them if it supports PlaceholderAPI
oh ok
Hello, i tried to download heroes expansion but i got this error ```>.... [20:57:13 WARN]: [PlaceholderAPI] heroes is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
the expansion is outdated. Contact the developer of the expansion and ask them to update it
ohh okay thanks. Is there a factionsuuid available on 1.16?
how can i wipe the data for statistics addon for papi?