#placeholder-api
150650 messages · Page 44 of 151
that works thanks
no problem
Hello, I have the error : [PlaceholderAPI] failed to download expansion information
somebody can help me ?
hi i would like to know why the {simpleclans clan isanyonline} and neither the %simpleclans_clan_onlinemembers_count% works on the featherboard
hi is there a placeholder that stores values? for example, as the /scoreboard dummy
FeatherBoard uses MVdWPlaceholderAPI instead of PAPI, so if you want to use PAPI expansions you need to do {placeholderapi_(whateverplaceholder)}
Ah, relcon is permissions only it seems, I cant use permissions, need it to check for if a placeholder is true or false (which is what my java script does, but its not relational)
Infact even if its not permissions only i cant get it to work. I've installed it and nothing happens, non of the relcon placeholders seem to work. If anyone can help me with why I would appreciate it. https://paste.helpch.at/budavipori
{placeholderapi_ (whateverplaceholder)} is not working
ty now it worked
hi i was wondering if there is a way to display the players head as an item who has opened a deluxe menu gui
like what is the placeholder for it
?dm-heads
b
How to use custom heads in DeluxeMenus:
lol
thanks
also sorry to bother you again but is there a placeholder to show the players balance using an economy plugin connected to vault
thanks
i feel like an idiot to constantly ask you things and im sorry to bother you but what would the placeholder be for the players balance?
sorry again
its %vault_eco_balance% right?
thanks
would you mind if i were to private message you a picture to show you my issue?
?imgur
👀
yeah sorry I posted an issue with some placeholders and found the solution through testing
didn't realize parse other required a placeholder to find player name
excellent! self-learning is always the best experience for someone
%parseother_{player}_{armor_material_helmet}% doesn't seem to work though sadly
{player} is a dm variable, so maybe thats why
I could set {player} to a deluxemenu meta and then use that as a placeholder 🤔
ah I seeee
I also have plans to detect if the player has never join ir if they are offline
dang that is such an easy thing to do with plugins but I can see how hard it is with just deluxemenus
I commend you for your work lol
lol
@warm plover Maybe this helps:
menu_title: '&8&lStats'
open_command:
- stats
register_command: true
args:
- target
args_usage_message: "&cStats: /stats <player> "
size: 54
items:
'helmet':
material: placeholder-%parseother_{{target}}_{armor_material_helmet}%
amount: 1
slot: 10
priority: 2
Is it possible to translate message from placeholder api? For example I'm using Quests and when i write %quests_player_can_accept_quest_Czy jest tutaj miejsce dla mnie?% im getting true. Can i change this message?
uh
you can write javascript wrapper placeholders that just call that placeholder and return whatever you want?
uh
cause what those placeholders return is based on the expansion developer's code
so complicated
Is there easy way?
if you know Java and if they're open source, you could make a custom one for you
Not that I know of, since they're all independently controlled
so should i write to... developer of addon?
I severely doubt they'll add a whole language translation
It's just not something PAPI currently supports
Dossn't papi support a language file for Boolean outputs?
I'm 99% sure it does
not last time I checked; each expansion outputs its own thing, such as yes or no or true or false
But it doesnt work
There is set yes for true but it doesnt work
oop
Im still getting true
Ok, I will
my placeholders not working
which placeholder?
%player_name%
yes
do /papi dump and send it here
what does /papi parse me %player_name% say in chat?
my username
so where is it not working?
do you have holographicextension?
no
ok thanks
sorry but still not working
only not working with the holographic display plugin
did you refresh the holograms?
yes
restarted the server and everything?
yes
do another /papi dump
and they have the same plugins and everything?
yes same version same evrything
You need ProtocolLib
are u sure
It also injects your favourite placeholders from PlaceholderAPI (requires ProtocolLib)
hey, does papi work with crazy crates? crazy crates says it does but papi doesn't
papi doesn't need to support plugins, then need to support papi 🙂
ah right, thank you!
how do I enable the expansion? I can't work out what it's called
You don't need to enable it; it's part of the plugin already
weird it's not working, ok ty!
Is there a placeholder for server status bungeecord
There's a placeholder for the players online on a server
You can use pinger if you want to check if a server can be found or not
is there one that shows that a server is online or offline
%pinger_online_testplugins.com:25565%
will return whether it's online or offline
you just put the ip in
/papi ecloud download Pinger
/papi reload
You'd have to contact the developer of that expansion. Or alternatively make an issue on the github for it: https://github.com/matahombres/Advancements
Hey so using the armor placeholder, it says a stone when they have nothing on in that slot, is it possible to be changed to like a barrier or something?
and is it possible to get the display, lore, and stuff like that of the armor piece?
Will update the armor expansion at some point
yo I'd PR but rn I have to many things to do
Nah it is just broken
Hello is there a world guard placeholder to get the priority of a region
it would be really useful lol
I see this %worldguard_<Any WG Placeholder>_<Priority (Lowest number = Highest priority)>% but don't know if it can grab the priority 🤔
that just parses the placeholder for the region with that priority
Hey guys, im trying to add player kills to leaderheads with Statistic extension on papi but it doesnt counting any kills. my server version is 1.8.8
so for example if you have 3 overlaping regions with priority 1, 2, 3 you can parse placeholders for all of them
otherwise it would just take the priority 1 region
Is there a way to just get the number of the priority of the region im standing on
/papi parse me %statistic_player_kills%
what does it return>?
I'm trying to do something for a project lol
Nope doesn't look like there is any
Oof that sucks
but the thing is that won't really work because regions overlaping it will just take the priority of the highest priority region
I don't really see the use myself
Could I explain what I'm working on? :P
I mean sure but yeah I can't do anything about it. Just contact the dev and see if they can add it (the dev of the expansion not the dev of worldguard)
bassically I have a boss bar and a floor based map
I wanted to make the boss bar change progress depending on the floor
Crypt: style: "NOTCHED_6" color: "RED" progress: "%math_0_16*{worldguard_region_name_capitalized}%" text: "&cCrypt Floor: %worldguard_region_name_capitalized%"
It works with other ones besides the top floor which isn't really a big deal ig
I was thinking if I could get it to multiple by 0 it would work
0 and always 0 :(
even if you make kills?
Yeah
what type of server do you have? paper, spigot?
Taco
Enchilada!
and you said 1.8.8 right?
Yeahh
Burrito
can you go to server/world/stats and open the file with your UUID? see if the kills are still 0 there
it should look something like {"stats":{"minecraft:killed":{..., "minecraft:player": 10, ...}}}
ugh maybe Taco doesn't register kills the same way?
yeah i think so
Can you try switching to Paper maybe? Just to test
are you sure you're looking in the correct world folder?
also get some kills first
it might generate after that
sure
also it needs to be the main world. the one set in server.propreties I think
this is strange. What folders are there?
Maybe it was different in 1.8 and I don't remember
data, dim-1, playerdata, region
and files are
level.dat
leveldat_old
session.lock
uid.dat
hmm this is very strange. I'm not really sure. All I can say is the placeholder works but the kills are not stored. I do not know the reasoning tho.
😭
is that world a release world?
if not try making a new world and setting it as the default one
I'm really not sure what might cause this. I haven't worked with 1.8 in a long while
sad
Vault and others are working only Statistic are not working
i started to think it was a version problem or something else
its either version problem or server problem but not sure. The placeholder clearly parses to 0 so it should work
it just doesn't find any data
where its looking
%checkitem_remove_mat:tripwire_hook,amt:1,namecontains:Floor {math_0_1+{deluxemenus_meta_GATE.NUMBER_INTEGER_0}} Key%'
How could I use placeholders inside of placeholders with checkitem?
I don't think that's possible how you're trying to do it
you'll probably need to make a javascript placeholder for that
placeholder inside placeholder inside placeholder is not possible
:(
would you know a way I can do it with a javascript placeholder lol
I don't know much about js
Wait I'm dumb, I think I just got it to work, the math stuff was uneccasary, I over complicated it lol
I mean its pretty easy just js var meta = parseInt("%deluxemenus_meta_GATE.NUMBER_INTEGER_0%") function mathStuff() { return meta++ } mathStuff()
ah I see xD
well
this is all you needed ^^^
awesome thanks
I installed HolographicDisplays, HolographicExtension and Protocollib but in the Hologram is my Placeholder not showing.. How do I fix this?
My plugin is AdventureValley.
(I tested %luckperms_prefix% from Luckperms rn. That works..)
Nvm I just reinstalled the Plugins. Works now. Thx 🙂
ah ok. Nice
holographic placeholders + protocollib
You can't put placeholderapi placeholders in?
wdym to laggy? I've never had problems with it
But how can I make it now so that it "auto updates"?
(I display money on the Hologram, and the money ammount changes.)
you add the tag {fast} at the start of the line you want to update
If theres more than than like 50 players near holograms with placeholders in, it causes a lot of issues
Ah thx
Try making it update less frequently
It's not that
I just need a better alternative
It's like 10tps lag, not just a small amount
well I guess you can try HolograhpicPlaceholders
But now is there a Space infront of the Line. Can I remove that space anyhow?
link?
Yeah thats trash aswell
can you show me how the line looks? In database.yml
I'll get one made
Use this plugin https://www.spigotmc.org/resources/holograms.4924/ instead then?
for holograms
needs to be holographicdisplays lol
well those are the existing options
We depend on that and essentials for like everything xD
Yeah it's fine I just wanted to see if there was a public one thats decent before I get one of the devs to make it
I sent you the image per DMs. as I cant send images here.
Ok
hmm that's strange. I've never had space appear because of that tag
Can I put the tag somewhere inside of the line too?
I don't think so. You could try it tho
But from what I remember it has to be at the beginning
Ok gimme a moment
Ok worked
/hd setline entrance 3 &eYou have{fast}&6%avp_money% Coins&e!
oh nvm then. Maybe it has to be before the placeholder
then
I don't remember exactly
I don't think so
Ok sad
@warm plover can you test this for me?
yo gaby u got like 10 minutes to help me with dmenus epic heads support? bcz this shit confuses the fuck out of me
wdym?
the d option
its just broken and I can't figure out why
I assume its the API that's outdated
but its strange that it does exactly what head- does
Is this where we get help?
I think it uses the api of the plugin before even it was bought by songoda
with PlaceholderAPI? yes
¯_(ツ)_/¯
yeah I guess is time to join their discord but @wet creek already asked for me and no response yet
not talking rn. Working. You can just ask in chat
I can multitask but can't talk lmao
also I muted you bcz I wanna hear music
Ok so i'm using a name tag edit plugin called TAB
I'm using saber factions and i'm trying to display the players faction name under their name tag
it's displaying the factions but not the right faction per player
It
it's showing my faction under a player and his faction under my nametag
makes no sense
classic-vanilla-belowname:
#enabling the feature
enabled: true
#number or numeric placeholder, supports per-player placeholders
number: "%factionsuuid_player_kills%"
#text after number, must be same on all players
text: "&e%factionsuuid_faction_name%"
that's bcz of how TAB works I think. It uses relational stuff I think
Also whenever I broadcast and use {PLAYER} it will give a completley different players name
vouch
wait nvm
that won't work
try asking in TAB support if there is a way to disable that
the relational stuff
I would show screenshots kind of hard to explain
yeah I understand what's happening
the placeholder is parsed for the viewer
not the one under who's name it is
It's so weird
My alts faction name is WensFac my factions name is Solar and the factions are reversed under our nametags
It shows my faction under my alts name tag
i'll go into the tab discord
I got one more question
Not only do I want the faction name to display under the players name tag I want the factions relationship to color the factions name
%rel_factionsuuid_relation_color%
How would I go about that?
2 place holders?
probably text: "%rel_factionsuuid_relation_color%%factionsuuid_faction_name%"
will do later
i tried that it just shows the faction name then the raw text for the color placeholder
Parsing shared text for viewer is intentional to offer conditions with per-world / per-server text which requires the player to parse, but displays it the same on everyone (in that world), allowing per-world text
Unfortunately it allows misconfiguration like this which makes it much less obvious you can't do it
It was added when someone requested it exactly for this purpose, then he decided he doesn't want it.
hi
is there a placeholder which displays the combined amount of players of 2 or more servers?
%bungee_total% displays the full amount of players on all servers connected to the bungee
i know but
isnt there a way to display only for a certain amount of servers
for example
i wanna track lobby1 & lobby2 only
is there a placeholder or anyway to display them?
%bungee_<servername>% Shows the count for just one server.
Those are the only two placeholders for bungee that I know of, I don't think there are any others.
You could maybe use a javascript one, and use multiple %bungee_<servername>% for each server and add them together.
hi %objective_score_<obj-name>_offline% for players offline?
Use the math expansion
%math_0:_{bungee_server1}+{bungee_server2}% Iirc
The statistics expansion I think
%statistic_time_played%
@sterile cradle I answered you on spigot
Thankss i will take a look!
I replied : D
you can here btw if you want
Make sure chatformaat is not null
It isn't..
e.setFormat(PlaceholderAPI.setPlaceholders(player, chatformaat)); this is line 20 right?
Thats the problem : (
Yesss
try parsing the placeholders and setting the string to a variable first and check if that is null or not
final String chatformaat = Kingdom.instance.kGetConfig().Chat_Format;
final String test = PlaceholderAPI.setPlaceholders(player, chatformaat)
if (test == null) {
// LOG MESSAGE
// RETURN
}
e.setFormat(test);```
I'll try that thanks!
Still gives me the same error ; (
final String chatformaat = Kingdom.instance.kGetConfig().Chat_Format;
final String test = PlaceholderAPI.setPlaceholders(player, chatformaat);
if (test == null) {
System.out.println("Error, het is niet goed!");
return;
}
e.setFormat(test);```
what line is the error on?
can you send a pastebin of the error
and a pastebin of the entire class
please
?paste
Is it formatted?
yep it is
Thanks
Do you have PAPI installed on your test server btw?
Yesssss
But as i said in my discussion/thread ```java
e.setFormat(Lobby.instance.getCConfig().Chat_Format.replace("%vault_prefix%", PlaceholderAPI.setPlaceholders(player, "%vault_prefix%")));
https://i.imgur.com/zXioJjs.png is there anything wrong here? deluxemenus 1.13.1
/papi ecloud download Player
thanks 🙂
Npp 😉
why 1.13.1 tho?
so it says line 25 but line 25 is a }
that ends this
if (Kingdom.instance.kGetConfig().Use_Chat){
could it be that this option is null?
Ehh
Its this
moment
Chat_Format = ChatColor.translateAlternateColorCodes('&', Kingdom.instance.c.getString("Chat_Format"));```
And this in the config:
Chat_Format: '&7%vault_prefix% &7%s&f: &7%s'
So it shouldn't be null right
yeah but Use_Chat ?
#Chat options.
Use_Chat: true # ->>>> If you turn this to false, the whole chat system of this plugin will be disabled.
Use_Chat = Kingdom.instance.c.getBoolean("Use_Chat");
But that isn't it
Because when i don't use placeholders in the config
it works fine..
I'm having a brain fart rn. 1 second
same xd..
I feel that theres just something wrong with this..
final String test = PlaceholderAPI.setPlaceholders(player, chatformaat);```
I updated to to the latest dev build and got this error https://paste.helpch.at/zadevibede.sql
That's an error for your bedwars plugin, not placeholderAPI
And apparently it doesn't know what world it's reading from the config
my bad, wrong server, sorry
👍
how do i set online players for another server?
im running bungee but its showing only the people who are in the lobby
use this expansion ^^^
does anyone know alot about rocket placeholders plugin?
anyone know why I have to reinstall different extensions for papi every time I load the server backup?
you mean like restart the server or what? or re-install all the plugins
yeah, whenever the servers is switched on for whatever reason
its stored in jar files in the extensions folder in plugins/PlaceholderAPI/extensions
So, if you move those over it'll be gucci hopefully.
Hello, yesterday I installed PlaceHolderAPI for my server, I am unsado DeluxeHub 3 for my lobby and I wanted to complement it with the Vault extension, I put the command / papi ecloud download Vault, and then / papi reload, but in the mc chat I got a " No expansions were registered! ", Please help I don't know what to do
Anything in console?
Install plugin Vault as well first. Also check for errors in console
Ok, I already installed the Vault plugin but in the console I get this "Class loaded net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 that is not a depend, softdepend or loadbefore of this plugin."
Apart from that message, I only get this one when I put / papi reload "No expansions were registered!"
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
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"
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
?paste
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
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
%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
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
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?
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
what does /papi parse me %vault_eco_balance% return?
%vault_eco_balance%
?startuplog
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
