#placeholder-api
1 messages · Page 185 of 1
Please respect the rules, be patient and don't ping staff members!
%formatter_number_timeminutes{rankup_requirement_playtime-hours_left}%
because i tried this and it doesnt work
@vivid sparrow Unknown expansion.
it doesnt work
i have this
%formatter_number_time_hours{rankup_requirement_playtime-hours_left}%
and it just shows that exact text on my tab menu
not the formatted time
missing a _
after hours
also I believe it should be minutes or fromMinutes instead of hours
why?
but, did you want to show all that info?
you're going from minutes to days, hours, minutes
if you just want hours and not days/minutes, use the javascript one I made above
hours + minutes
what sort of format
I'll code it for ya
If I said you have 87 left, what do you want to see?
1 hour 27 minutes left
var time = "%placeholder%";
var minutes = parseInt(time);
var out = "";
if(!isNaN(minutes)){
var minutesString = "";
if(minutes>1){
minutesString = " minutes";
}else if (minutes>0){
minutesString = " minute";
}
var hours = minutes/60;
var hoursString = "";
if(hours>1){
hoursString = " hours ";
}else if (hours>0){
hoursString = " hour ";
}
out = hours + hoursString + (minutes%60) + minutesString;
}
out;
try that
It will convert it in days, hours, minutes, seconds
i have no idea how to use that bruh
im using it in a tab menu plugin for my players' sidebar
to show their rankup progress
ya bro I'd say stick with formatter
does it ever get over 24 hours?
do you care if it shows days?
yeah thats fine
/papi parse me %formatter_number_time_minutes_{rankup_requirement_playtime-hours_left}%
if that don't work change minutes to fromMinutes
it is minutes from what I see
ill let you know if it works
yeah it just makes the placeholder go blank
like nothing is displayed there anymore
how?
i tried this but my placeholder just goes blank
Then dont support 1.17.1 always see my own placeholders and not other
It's dependent on the placeholder you're parsing, what are you trying?
parseother is simple just that, it "parses other"
if the other placeholder doesn't support offline players (or can't) then it won't work
examples are: permission placeholders
I connected to the server with a different character and still saw myself
huh?
Can you explain a bit about your issue?
what exact placeholder(s) are you having issues with
what does it say for each one?
yes still makes it blank
%formatter_number_time_minutes_190% try this
how would i use that with this
%formatter_number_time_fromMinutes_{rankup_requirement_playtime-hours_left}%
if you surround your text in `` it stops formatting from occuring
this is the whole line from my sidebar config
- '&bPlaytime&7: %formatter_number_time_fromMinutes_{rankup_requirement_playtime-hours_left}%'
what is exactly the output of that rankup placeholder
This,{rankup_requirement_playtime-hours_left} right?
oh my god
1 second no wonder
Ah
okokokok
im just a bozo
i got it to work thank you
playtime-hours wasnt even a placeholder
it was playtime-minutes
where did you get the placeholders from?
i might be too far gone because I don't see that anywhere on there
or the fact that playtime-hours is even a thing
its not
or playtime-minutes
thats what i meant
yeah its from the ranks plugin, i had changed it to playtime-hours (which isnt a placeholder for the plugin) and forgot to change it back
Hey, placeholders api dont work in My bungee server
What exactly doesnt work
so 1 more thing, i cant send the screenshot here but i have an option in my ranks plugin to see how much time you have left needed to rankup if you click the rank itself
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
Why is the placeholder api not working?
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait
Hi
Why is the only thing that's working is faction power?
I updated the papi eclouds
if u do /papi list, what does it show?
Go to plugins/PlaceholderAPI/expansions/ and delete the quest expansion (all of them if there's multiple) then do /papi reload.
That's the bug @warm topaz
[19:44:32 ERROR]: [PlaceholderAPI] failed to load class files of expansions
Well the solution was fund
Thanks to barry!
Looks like an issue with a expansion
Or something similar
is adventure or minimessage ever going to be supported? i'd love to just work with components
in PAPI 3, pretty sure we're fully migrating to Adventure
now, when that's gonna come out, who knows
my guess is 2030
hello
how do i use a placeholder api
i want to make like this
Config:
Prefix: '(&cOne&fVenture&f)'
News:
enable: true
channel: 922487712496373760
message: "%prefix% &7Check out a new &aNews &7from our &9Discord"
Changelog:
enable: false
channel:
message: "%prefix% &7Check out a new &aChangelog &7from our &9Discord"
Event:
enable: false
channel:
message: "%prefix% &7Check out a new &aEvents &7from our &9Discord"
Maintenance:
enable: false
channel:
message: "%prefix% &7Check out a new &aMaintenance &7from our &9Discord"
Suggestion:
enable: false
channel:
message: "%prefix% &7Check out a new &aSuggestion &7from our &9Discord"
Hi, how i can use papi in bungeecord?
Papi doesn’t support bungee, you’ll need to have placeholderAPI installed on all your servers.
I have installe but dont load
It doesn’t load on any of your servers?
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
Do /papi ecloud download LuckPerms
Hello, I am having a hard time trying to use PlaceholderAPI with TitleManager, I've done some troubleshooting and I'm pretty sure the issue is with papi, basically I am running the latest version of papermc (1.18.1) with papi 2.11.1. I am trying to show the player's ping in the scoreboard but I'm getting the console flooded with errors
Then do /papi reload
i do that
Did it register the expansion?
Can you send the errors here?
Try removing that luckperms expansion and repeating the install steps again
I deleted the plugin's folder, re-downloaded every extension, tried it in a clean server with just those two plugins but still nothing, this is the error I am getting https://www.toptal.com/developers/hastebin/pufacimowe.properties
wait me
Does titlemanager work without placeholderAPI installed?
nope
yes it does it just displays %player_ping% instead of the player's ping
I can use the plugin's internal placeholders to display other stuff such as the player's rank, apparently I'm having issues with just the player's ping
Have you tried using a bit older version of titlemanager? I do know that a few of the more recent versions have been having some issues.
I hope this is the right chat but anyone know why this %deluxetags_tag% doesnt work in the essentialsx config file? it works in my tablist plugin I have been told that this this server could tell me how to add deluxetags to essentials
?tagess
DeluxeTags showing in essentials chat:
1. Stop the server.
2. Turn off the papi_chat option in the DeluxeTags config. deluxe_chat in older versions.
3. Turn off the format_chat option in the DeluxeTags config.
4. Put {deluxetags_tag} in your essentialschat chat format.
5. For Versions Below 1.8.2: Replace all the placeholders in the DeluxeTags config
%placeholder% to {placeholder} (Ex: %deluxetags_tag% to {deluxetags_tag}).
6. Start the server.
Do any luckperms placeholders work?
yes, I even tried older versions of papi and other scoreboard plugins, same results
another idea xD?
What scoreboard plug-in are you using?
deluxehub
Hi I have just done a /timings report and it turns out papi is the highest usage running at 213% of a tick
send the link
gaby
can i ask a favor
can u modify this
instead random numbers to return random colors ?
is there a placeholder for the server time that returns the raw value, kinda like %player_last_join% does, but for the current time?
both server- and player-expansion doesnt seem to contain it. only the formatted ones
I wanna calculate the difference between two different recorded timestamps
by the looks of it tthe startDate is a fixed value, which isnt something I want
well yeah. but you set the start date to whatever you want. in this case a placeholder.
I want to track the time, for example, between two button presses
thats great, but in this case I want that placeholder to be the current (first press) time as well
well you'd have to store that somewhere
I already got a function to get the difference between the two. The issue is getting the current server time
any luck with my issue?
I could use maths with all the different formats and convert that into seconds, but not every month has the same amount of days, so it will be inaccurate if it jumps from one month to another
Am I able to replace Null or blank text with a string?
in what context?
On the scoreboard we have a PlotSquared placeholder to show what claim you are in. When you aren't in a claim, it's blank
Found solution
%changeoutput_<options>_<input>_<matcher>_<output-if-matched>_<output-if-not-matched>%
wait it isn't working
does anyone have an alternative? 😄 lol
javascript expansion probably
or look at PS lang files, maybe it has something for that
what placeholder do you use btw @runic frost
%plotsquared_currentplot_alias%
Looks like it returns info.none if the plot doesn't have an alias, and probably an empty value if there's no plot, hmm
Yeah, a bit strange
Hi just done this timing reports. Just wondering why papi is using the most resources: https://timings.aikar.co/?id=befcb5dd36e14adebfdcc56cc453d980#plugins
Can you try to remove NexEngins and see if anything is changed?
will do, PlaceholderAPI::Task: me.clip.placeholderapi.util.Futures$$Lambda$8170 (Single) seems to be what is chewing resources if that helps
That just schedule stuff to be run sync or async, papi alone won't kill the performances, some plugin is using that part of papi
https://timings.aikar.co/?id=0091e2b8afd741b3b12c72434bf5b2ce here is the new one
I get an error when importing for expansion for LuckPerms... https://paste.helpch.at/axeliyihet.sql
@austere hawk try to remove the buycraft expansion
@hexed gust update the luckperms expansion or the plugin, see which one is outdated
There seems to be some invalid syntax in your config! You can paste it into https://yaml.helpch.at/ in order to find out where your issue is!
I found DeluxeMenus v1.13.4-Release - plugin is disabled but no reason why it was disabled!
Please put your startup log found in /logs/latest.log into a new paste.
Why can't I run deluxemenu
I think we found the problem, the code of the buycraft api expansion is pretty questionable
@glad orchid
is it necessary to have in or nah
idk, if you don't need it then don't install it
Is there a way to read the result of a placeholders in console without using / papi parse?
With JS I would like to make a placeholder that returns a command if the condition for player is true, otherwise nothing
perhaps this is down to the plugin in question, but I'm using the lands plugin for claiming land, their lang.yml supports papi, there's a section for showing the name of whomever owns the land you're stepping into, by default this is set to "%owner%", I set it to "%essentials_nickname%" but as I thought this just shows my nickname for every single piece of land, is there a way/format for using papi when you want the placeholder to apply to an unspecified other player?
land:
title:
land: '&7%level% &7By&6 %owner%&7.'# Something like %display_name% ?
camp: '&7Camp of&3 %owner%&7.'
admin: '&7This land belongs to the server.'
default-area: Default
here's the section for reference
contact the developer and ask them
hello sir
i installed the essentials expansion into papi and it doesnt work
it doesnt show up under the register command
nor does it show up in the list
hey how to refresh the baltop leaderboard ?(essentials)
Is there any expansion or plugin that allows using inventory placeholders?
We want to create a system where people can use deluxemenus to choose special colored nicknames
If not i guess javascript placeholders won't be hard
Do you want to store a value and retrive it with a placeholder?
If do and you are on 1.14+ you can use deluxemenus' [meta] action and the placeholders for that
It store the data on player's PersistentDataContainer
no, i want to have an anvil where people can type the nick they want
Good day,
I have a problem with PlaceholderAPI. None of the placeholders are working with DeluxeMenus. I'm using the latest version of both plugins, but things like head-%player_name% or %statistic_time_played% aren't working. Neither do the ecloud downloads create any gui menu's in the DeluxeMenus folder.
Thanks in advance for any help given.
have you tried the placeholder with the /papi parse command?
Hadn't tried that yet. Did so now but doesn't work.
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 a startup log then.
Ok, give me a minute :)
It just gives the standard plugin loading stuff. It correctly enables all expansions for things like DiscordSRV, until at a certain point it says this:
[15:02:31] [Server thread/WARN]: [PlaceholderAPI] There was an issue with loading an expansion.
[15:02:31] [Server thread/INFO]: 0 placeholder hook(s) registered!
This is probably the MCMMO expansion (which i tried enabling)
well that really doesn't help me. what would help is you sending the entire startup log tho
oh. your logs copmacts errors into one line. that's very unfortunate. Well I guess the only good way I can think of to find out which expansion is at fault is to go and 1 by 1 remove your expansions and reload /papi reload until it actually loads the expansions.
You can find the expansions in plugins/PlaceholderAPI/expansions/
Yeah, i did actually take a look at the expansions folder, it does contain a jar file for the MCMMO expansion, but according to various tutorials that should also create a example menu in the deluxemenus gui-menus folder, which for me it didn't. As for reloading i did that multiple times.
Even restarting my server itself once or twice.
can you remove the mcmmo expansion and reload after? see if the There was an issue ... line still shows up
Could it be that when I do /papi parse me %cmi_user_stats_playtime% it shows it to me differently than deluxe menus?
even when you reopen the menu the value in the menu doesn't update?
Thats not really what I'm going for
1sec
Hi. I'm hoping someone has ran into this issue and would be able to help me.
I'm trying to let a player rankup after 1 hour of playtime. I want them to be able to click on an item in the deluxemenus menu but I can't figure it if im doing the requirement wrong or if it's the placeholder that I can't figure out.
The placeholer (%cmi_user_stats_playtime%) returns x days x hours x min x sec
I wrote this earlier
Just removed the expansion, reloaded, downloaded it again and reloaded it again. The error still shows up.
ah. well there is no real way to compare days, hours, minutes in deluxemenus since that's basically a string. does CMI have a placeholder that would return all that playtime in seconds by any chance?
well no. don't redownload it. tell me if the error shows up when you delete it and reload
how do you download the expansion? from where?
./papi ecloud download mcMMO
I just looked thru the logs. You don't seem to have any mcmmo plugin installed?
that's probably why the expansion breaks
Weird, since when i look in the expansions folder in the placeholderapi files it does show the Expansion-mcmmo.jar
hm why didn't I think of that xd I can do only hours via %cmi_user_playtime_hours%
well yeah you have the expansion. but not the mcmmo plugin. that expansion needs to hook into a mcmmo plugin. or at least tries. but since you don't have it, it breaks.
Ah, ok i'll look into that.
expansions are basically extensions in a way. they get data from a place and display it.
also I Don't believe that expansion will generate you any deluxemenus menu
Weird, since it did in a tutorial i saw.
well I guess that could work unless you want the time to be in minutes or seconds.
mind showing me the tutorial? I might take a look and clear the confusion
But like, aren't things like head-%player_name% supposed to work regardless of extensions?
Cause those don't work for me either, but they are included in the docs of the DeluxeMenus plugin.
well no.
because %player_name% is a palceholder from the Player expansion
if the expansion is not installed or it isn't loaded it won't work
and what happens is that the mcmmo expansion breaks, and it breaks the entire PAPI loader. so all expansions break
Oh, that explains allot. xd
well most of them
Well it works since I want a player to rank up after exactly one hour
The player_name thing was why i tried installing the mcmmo expansion. Apparently a very deceitful tutorial.
well then a requirement like this would be ok:
type: '>='
input: '%placeholder_for_hours%'
output: HOURS-REQUIRED```
well all you have to do for that is /papi ecloud download player then /papi reload
Thank your very much
Thanks, everything's working now. :)
👍
hi 👋
For a few days i have a problem in the console that i do not understand(spam a bit)
oh.. cant paste screen here
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
https://paste.helpch.at/pagupiwovi.pl
This one yes?
Multiple bungee expansions loaded.
Go to plugins/PlaceholderAPI/expansions and delete all the BungeeExpansions, then execute a /papi reload. After that redownload the expansion using /papi ecloud download bungee then /papi reload.
lol i like u Barry. Fast answear ❤️
ok so i want to grab placeholder of another player, for example someone's %statistic_minutes_played%
like %statistic_minutes_played_{playername}% <- this doesn't exist, i'm giving example what i need
is there a way to get this
so %statistic_minutes_played_clip% will return minutes played of player clip
etc
use the parseother expansion
How could I create a JS placeholder that replaces the players name to a different font? Like Obviouslee goes into оʙᴠɪоᴜꜱʟᴇᴇ
return BukkitPlayer.getName()
.replace('a', 'replacement')
.replace('A', 'replacement')
and so on
thank you very much
I'll give it a try ty
might want to use replaceAll instead. bcz in javascript replace only replaces the first instance.
or at least the nashorn version does I believe
ah alright
So I'm not too familiar with JS placeholders, how could I add this? I made the file and everything but it gives an error
try OfflinePlayer instead of BukkitPlayer
Same error, not sure if I put it in wrong
return OfflinePlayer.getName() .replaceAll('a', 'ᴀ') .replaceAll('A', 'ᴀ')
ok so when i do
/papi parse me %parseother_{AltAccount}_{statistic_minutes_played}%
it actually returns value of my own (executor's) %statistic_minutes_played% placeholder
When i do
/papi parse AltAccount %parseother_{AltAccount}_{statistic_minutes_played}%
it returns %statistic_minutes_played% value from AltAccount player
ok so i am not sure but i tested this enough to be sure i'm not crazy
i think ParseOther doesn't work good
ok so i get it
idk who need to parse this, probably a plugin or server, but when you parse it as target me or <someone'sUsername> it'll return value for that placeholder of target no matter what you type in ||%parseother_{||HERE||}_{placeholder}%||
very strange but i managed to use it somehow
@mint fable you know anything about is?
well something about ulitmate statistics. not sure what or how to fix. you should probably contact their developer
Hello. When i try to download the Deluxetags placeholders from ecloud i get the message: Failed to find expansion named: DeluxeTags
What could be the reason for this?
the expansion is not needed anymore. it comes with the plugin
Ohh wow. Thank you 😄
Anything on this
you don't need the return if you don't have a function
I tried to fix it and add the letters, parsing it works but it just shows as an empty space and not my name
well now you don't call the function at all
add a call at the end of the file name();
Thanks so much
so /papi parse me %parseother_{cj89898}_{player_name}% returns your name?
must've accidentally broken it in the recent version as I believe I see the issue
fixed in #ecloud-updates
yes
Please respect the rules, be patient and don't ping staff members!
ok sorry forgot to turn off @
very nice i'll check it out asaic
Hi! Getting this error on my console when trying to use /papi reload after downloading expansions. 😦
how can I get a list of all registered placeholders. I want to replace each of them in an unknown string automatically, but the method PlaceholderAPI.getPlaceholders is deprecated
PlaceholderAPI.setPlaceholders
yeah, but I have to get a list of all placeholders available at first
As I don't know which placeholders are used in the messages and if there are even any
if you call that method, papi will do the work
so, I can just put the entire string in it and the player entity and paper does automatically replace all the available placeholders found?
yes
okay, thank you!
hi :3 some placeholder to see the name of an item?
%player_item_in_hand% for material, %player_item_in_hand_name% for name.
ty
Hello. I just wanted to ask, how am I going to add my npc plugin into the placeholders list? If u understand....
Hi, Is there a some sort of static placeholders expansions? I have some same text on my server, used across different plugins. I wanna keep it in a single place, rather than updating every use it of it.
That's easy to code, but, maybe, there's a ready solution?
well there's a few: the config expansion is probably the best for this tho
other options would be javascript or the kotlin expanion if you know a bit of any of those languages
(a bit means how to use switches)
could you give me a link?
you can just download it using /papi ecloud download config then /papi reload
here's the link: https://api.extendedclip.com/expansions/config/
okay, thanks! does it support nested placeholders, though?
I believe it does
any one can tell why this error is poping
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
Can I use the math expansion in Spigot 1.8.9 or not? I currently use a fork of spigot called Flame Paper and when I try to load Math expansion it says on console:java.util.concurrent.CompletionException: java.lang.UnsupportedClassVersionError: ch/andre601/mathexpansion/depencencies/caffeine/PWAR has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
The plugin (or program) you are trying to use was compiled using a newer Java version than the one you using.
To find what version you need, start from 52 which is Java 8 and for example, 60 is Java 16. (8 + 8 = 16 => 52 + 8 = 60)
Hello, there is a way to get a pre-parsed placeholder?
for example, when I do /papi parse <user> %bskyblock_island_creation_date% there is a way to get that result in form of placeholder?
Yes, there's parseOthets extension
Require the other player be online?
idk, tbh. I think if parse does, yes
Easy fix - dont use skript
lol true
Hey I have a problem
[10:09:20 WARN]: [PlaceholderAPI] Task #2131 for PlaceholderAPI v2.11.1 generated an exception
org.bukkit.plugin.messaging.ChannelNotRegisteredException: Attempted to send a plugin message through the unregistered channel `BungeeCord'.
at org.bukkit.plugin.messaging.StandardMessenger.validatePluginMessage(StandardMessenger.java:544) ~[paper-api-1.18.1-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_18_R1.entity.CraftPlayer.sendPluginMessage(CraftPlayer.java:1746) ~[paper-1.18.1.jar:git-Paper-175]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.getServers(BungeeCordExpansion.java:108) ~[?:?]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion.access$100(BungeeCordExpansion.java:45) ~[?:?]
at com.extendedclip.papi.bungeeexpansion.BungeeCordExpansion$1.run(BungeeCordExpansion.java:201) ~[?:?]
at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.18.1.jar:git-Paper-175]
at org.bukkit.craftbukkit.v1_18_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.18.1.jar:git-Paper-175]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1547) ~[paper-1.18.1.jar:git-Paper-175]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:480) ~[paper-1.18.1.jar:git-Paper-175]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1470) ~[paper-1.18.1.jar:git-Paper-175]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1264) ~[paper-1.18.1.jar:git-Paper-175]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.18.1.jar:git-Paper-175]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Multiple bungee expansions loaded.
Go to plugins/PlaceholderAPI/expansions and delete all the BungeeExpansions, then execute a /papi reload. After that redownload the expansion using /papi ecloud download bungee then /papi reload.
Already tried ^^
Hi, which is the placeholder to put in the command executed from console the name of the player who triggered the item in the menu?
I would like to create a menu with many items of the game modes of my server and when a player clicks it, console executes this (mv tp [player name] [destination world])
But when I put in the command %player_name% the plugin passes it to the console, not the player's name
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
skript sucks.Learn coding
check the list of placeholders in PlaceholderAPI wiki or ask the developer in his discord server or discussion (if you are a buyer, of course)
@solemn coral dude stop tryna scam people with the "Is this your steam account? I accidentally reported you" crap
#off-topic send a SS @crimson harness
Hello, I was using version 1.16 and Java8. This Placeholder was working but stopped working when I switched to Java17 to upgrade to 1.17. How can I fix? Thank you from now.
%server_total_entities%
and %statistic_player_kills%
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
anyway if i do someones /bal it says 11.10
but on scoreboard it shows 11.1000000000000000
so scoreboard gets rlly big
Use the math expansion to round it up
I am using the plugin called TAB. The plugin gives an error with placeholder source. Does anyone know what the problem is?
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait
java.lang.Throwable: null
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[patched_1.17.1.jar:git-Purpur-1428]
at net.minecraft.server.level.ServerLevel.getEntities(ServerLevel.java:2375) ~[?:?]
at org.bukkit.craftbukkit.v1_17_R1.CraftWorld.getNMSEntities(CraftWorld.java:987) ~[patched_1.17.1.jar:git-Purpur-1428]
at org.bukkit.craftbukkit.v1_17_R1.CraftRegionAccessor.getEntities(CraftRegionAccessor.java:379) ~[patched_1.17.1.jar:git-Purpur-1428]
at com.extendedclip.papi.expansion.server.ServerExpansion.onRequest(ServerExpansion.java:190) ~[?:?]
at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:161) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:70) ~[?:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:98) ~[?:?]
at me.neznamy.tab.platforms.bukkit.BukkitPlatform.lambda$registerUnknownPlaceholder$2(BukkitPlatform.java:197) ~[?:?]
at me.neznamy.tab.shared.placeholders.PlayerPlaceholderImpl.request(PlayerPlaceholderImpl.java:83) ~[?:?]
at me.neznamy.tab.shared.placeholders.PlayerPlaceholderImpl.update(PlayerPlaceholderImpl.java:48) ~[?:?]
at me.neznamy.tab.shared.features.PlaceholderManagerImpl.updatePlayerPlaceholder(PlaceholderManagerImpl.java:137) ~[?:?]
at me.neznamy.tab.shared.features.PlaceholderManagerImpl.refresh(PlaceholderManagerImpl.java:71) ~[?:?]
at me.neznamy.tab.shared.TabRepeatingTask.lambda$createTask$0(TabRepeatingTask.java:41) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
How would i do that?
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
more below
at java.lang.Thread.run(Thread.java:833) ~[?:?]```
try updating the server expansion.
what placeholder do you use to display the economy?
Uh
if it is %vault_eco_balance%, switch to %vault_eco_balance_fixed%
Before i used vault eco balance
Then i already switched
Didn't make difference tough
I mean this placeholder will return the balance without the decimal part
I just installed the server version I am using, so I am using the latest version. The same goes for the TAB and Placeholderapi plugin. What could be the problem for the I couldn't figure it out.
Please respect the rules, be patient and don't ping staff members!
im sorry
ah. you're using %server_entities% and it is called async
which is a problem
Idk if TAB has an option to call placeholders sync. if it does not I recommend you remove the placeholder
from your TAB
I understand of course, but while they work in java8, why not in java17?
i may not use monsters data but how can i show player's kill count?
%statistic_player_kills% this doesn't work either.
When I type %statistic_player_kills% this is exactly what comes up "Unknown statistic 'player_kills', check https://helpch.at/docs./1.17.1/org/bukkit/Statistic.html for more info"
I tried the AnimatedScoreBoard plugin instead of TAB, and I got an error there as well.
var job = "%jobsr_user_jobs%";
var color = "%jobsr_chatcolor_" + job + "%";
is there a way to make this work?
the chatcolor placeholder doesn't resolve
(it needs the job name)
is there a way to get last damage dealt? example just like %player_last_damage% but "dealt" this would be mad helpful
You would need another plugin for that @cosmic ibex there may be one out there if you check spigot
update: could not find one
The expansions I download aren't registering. Other expansions for other plugins work fine.
https://paste.helpch.at/alufoqexom.sql
/papi dump output: https://paste.helpch.at/pefegijole
bump
When i attempt to register an expansion manually:
https://paste.helpch.at/ilelacihux.bash
Yeah you can set the placeholder
There’s a guide for it on the js wiki
ok so, I saw this plugin listed on Apex list of best plugins.
I also read what it's for and figured why not, couldn't hurt to have something that supposedly helps with having things like Essentials and stuff.
However, I'm a bit unclear as to how to actually install the plugin as there doesn't seem to be a jar file and I'm pretty sure a zip file doesn't do anything on Paper/Spigot
%vault_eco_formatted% i dont know it
what plugin @west thistle
nevermind. I decided not to bother with trying to figure out how to install placeholder and use it.
What
there is literally 0 things you have to bother with. you go to https://www.spigotmc.org/resources/placeholderapi.6245/, press the download button, put the jar in your plugins folder and restart the server. just like with most other plugins.
that says that you have the essentials expansion but not the essentials plugin but the expansion tries to hook into the plugin. I'd recommend you go to plugins/PlaceholderAPI/expansions and remove the EssentialsExpansion then do a papi reload or a server restart.
if you use the nashorn engine you could do something like this: js var job = "%jobsr_user_jobs%"; var color = PlaceholderAPI.static.setPlaceholders(OfflinePlayer, "%" + "jobsr_chatcolor_" + job + "%");
having the % alone without the jobsr_... part is important as well.
The player and server expansions are also throwing similar errors
Please respect the rules, be patient and don't ping staff members!
can you show the errors then?
nevermind, I re-installed PAPI and it worked fine
My issue then came from the fact that when I was having an issue understanding what to do with it, at that time yesterday the download button didn't offer a .jar file. Instead it said download now external site and it would take me to the GitHub when I clicked on it.
Please respect the rules, be patient and don't ping staff members!
Please respect the rules, be patient and don't ping staff members!
I nned help
*need
After changing from onPlaceholderRequest to onRequest my placeholder wont get replaced anymore
and I dont know why
For example:
case "melon.top.2":
return FarmLeaderboard.getInstance().getStatsUtil().getEntryByPlace(2, Material.MELON_BLOCK).getName();
And when sending out the message I use:
Bukkit.broadcastMessage(PlaceholderAPI.setPlaceholders((Player) sender, "%farmleaderboard_melon.top.2%"));
But it wont replace the placeholders
nvmd, found it
that did it, thank you! 😄
Please respect the rules, be patient and don't ping staff members!
oops
Does the animations extension not work?
I can't get it to do the colors or any animations. It just says the text that I put (forgot exactly what it was but it was inside <>). No moving text or anything like that. Thank yoU!
Why doesn't HEX work? 1.18.1
I tried these placeholders:
/papi parse me %animations_<rainbow smooth=true>Old chat colors</rainbow>%
/papi parse me %animations_<rainbow smooth>Old chat colors</rainbow>%
https://i.imgur.com/CBa2koB.png
I think that rainbow will return a different color every time you parse the placeholder
Meaning that you have to set the refresh rate on your scoreboard
Yes, but it returns the old colors, although the Wiki states that it supports HEX if you add the smooth option
I am using your plugin PlaceholderAPI to display the stages & names of my Quests on another plugin called AnimatedScoreBoard
I have tried figuring out if there was an issue with the other plugins (Quests/AnimatedScoreBoard) or if I had missing permissions. But everything seems to check out & permissions are also good.
The quest log WORKS. But the problem is that it only seems to update the "Objectives:" description if I have admin/op rights.
Example:
WITH OP/ADMIN, while I advance stages:
Start of Quest: https://prnt.sc/26o7bx7 --------->>>> Next stage of quest: https://prnt.sc/26o7c8w (Text works like intended)
**
WITHOUT OP/ADMIN,** while I advance stages:
Start of Quest: https://prnt.sc/26o7bx7 --------->>>> Next stage of quest: https://prnt.sc/26o7de3 (Text does not work like intended)
I think the scoreboard does not force an update when the user is not OP. Do you know of anything that might cause this or how to fix it?
Thanks in advance!
This is placeholderapi support, i don't think they might be able to "fix" that as the issue belongs to the quest plugin which adds the placeholder (or maybe scoreboard not updating the value bc of high update interval)
I don't think its placeholderAPI either but the other developers says its likely not related to their plugin
So everyone is just shifting blame 😛
Hello ^^
How to report a bug of an expansion please ?
I found a pretty annoying bug with the MySQL expansion but I don't know where to report it
https://api.extendedclip.com/expansions/mysql/
i want to hide papi command for player . how can i do ?
You mean disabling tabbing of the command?
yes
Could try something like this, https://www.spigotmc.org/resources/commanddefender.84167/
Is there a way to get a specific placeholder for a specific player? Or better yet, a way to get the PlaceholderExpansion that registers a specific placeholder from the placeholder string?
the LocalExpansionManager is probably what ur after
How does it work?
Ah, I see
Thank you
This is what I was working on
People keep trying to use placeholders in crunch expressions and they keep recompiling the expression every time they need to evaluate it and doing a whole bunch of other extra steps that slow it down
I should make a gist out of this
thank you so much
Well this doesn't seem to work, PlaceholderAPIPlugin.getInstance().getLocalExpansionManager().getExpansion("player") returns null
Isn't that supposed to be built in?
make sure you have the expansion downloaded
Is player not there by default?
nothing is there by default
Oh
it's just an api 😉
Okay, thank you for the help!
Hello ^^
How to report a bug of an expansion please ?
I found a pretty annoying bug with the MySQL expansion but I don't know where to report it
https://api.extendedclip.com/expansions/mysql/
The author of the expansion is superronancraft. Not sure where you can find him I'm afraid since there is no github linked on the ecloud.
Oh nvm. found it: https://github.com/SuperRonanCraft/Expansion-MySQL/
you can report there but doesn't seem like its updated anymore. hasn't been for 15 months
Algum brasileiro?
Eu
why %statistic_mine_block:<item>% always shows 0
any idea why oraxen placeholders arent working in crazy crates ?
both are PAPI configured
help
Can I do something to fix this error on startup?
https://pastebin.com/bPMpQST5
How can i find this developer or ask him a questions outside spigot as i see he is not that much active
https://www.spigotmc.org/resources/placeholderapi-scoreboard-objectives-placeholder.48236/
Sorry if you are seeing this i just have small question/suggestion/feedback
I would need a placeholder for tags outside the scoreboard objectives, as i would need some testing to do with tags a player or armor stand has
Does this extension work? 😮
It works but only for scoreboard objectives but not with tags
im getting the error on server start
[03:01:30] [Server thread/INFO]: Starting GS4 status listener
[03:01:30] [Server thread/WARN]: Unable to initialise query system on 192.99.28.49:25565
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
at sun.nio.ch.Net.bind(Net.java:555) ~[?:?]
at sun.nio.ch.DatagramChannelImpl.bindInternal(DatagramChannelImpl.java:1194) ~[?:?]
at sun.nio.ch.DatagramChannelImpl.bind(DatagramChannelImpl.java:1164) ~[?:?]
at sun.nio.ch.DatagramSocketAdaptor.bind(DatagramSocketAdaptor.java:107) ~[?:?]
at java.net.DatagramSocket.createDelegate(DatagramSocket.java:1426) ~[?:?]
at java.net.DatagramSocket.<init>(DatagramSocket.java:330) ~[?:?]
at java.net.DatagramSocket.<init>(DatagramSocket.java:389) ~[?:?]
at net.minecraft.server.rcon.thread.QueryThreadGs4.initSocket(QueryThreadGs4.java:327) ~[?:?]
at net.minecraft.server.rcon.thread.QueryThreadGs4.start(QueryThreadGs4.java:310) ~[?:?]
at net.minecraft.server.rcon.thread.QueryThreadGs4.create(QueryThreadGs4.java:78) ~[?:?]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:324) ~[paper-1.18.1.jar:git-Paper-186]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1202) ~[paper-1.18.1.jar:git-Paper-186]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[paper-1.18.1.jar:git-Paper-186]
at java.lang.Thread.run(Thread.java:833) ~[?:?]```
@buoyant berry /papi dump
Is that the entire error?
trying to open rcon on the port the server is running on? most likely have to just change the query port
yes its the entire error
the server is running on a different port and i looked for a place to change the port in configs but couldn't find it
is this from a papi expansion? which ones you got
just the luck perms one
and if you remove it does it still happen
Hi, how can I use bold formatting when using the gradient placeholder? I've tried placing &l before the placeholder and inside as well but neither seem to work, any ideas?
Why is giving this error if the placeholderAPI is in the plugins folder? ould not load 'pluginsPlaceholderAPI-2.11.1.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/google/gson/Gson
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[spigot.jar:git-Spigot-c3c767f-33d5de3]
is that the entire error? and when does the error show up?
pretty sure the gradient expansion doesn't support bold
Gotcha, thanks!
start server
Please respect the rules, be patient and don't ping staff members!
Could not load 'plugins\PlaceholderAPI-2.11.1.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: com/google/gson/Gson
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135) ~[spigot.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugins(CraftServer.java:291) [spigot.jar:git-Spigot-c3c767f-33d5de3]
could you possibly send a full startup log over?
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.
use at least 1.8.8 @austere hawk
oh. is that 1.8? I see
SPIGOT?
yes
Issue with checkitem expansion when trying to use the getinfo modifier
Latest version of checkitem 2.4.2
it seems like the expansion requires you to have some sort of modifiers other than the slot. try %checkitem_getinfo:mainhand_% just to test
@mint fable is this a bug maybe? or are the modifiers really required?
Hello friends, well, first I'm using Google translator, so if you have any spelling mistakes, you know why.
Well I have a problem with the Placeholder API, I'm using a plugin to create commands, and it supports the PlaceholderAPI, I created a /server command to show information such as players on and the like, I gave /papi ecloud download Server, it downloaded normally, but I gave /papi ecloud download MVDW and it downloaded normally, hooked it up here, but when I put the placeholder in the chat, it doesn't appear. looks like this: Check it out below!
Now that I've seen it, I can't send a print, but the placeholders that contain %% work, but the ones I want to use are the MVDW's, they're in {} and they're not going, even though I put them in %%, if someone can tell me help, please call me in my private, and I'll send prints, thanks for your attention!
modifiers are required
I could make it return all the info ig
sort of hard to sort through, but 🤷♂️
I also messed up the version number
Now updated to return all values if no modifiers are used
if they exist
so by default, material, amount, and data will get returned
You can filter it out via regex easily as I added prefixes
mat:STONE amt:5 data:0
How do I use the checkitem NBT parsing to check for Damage on an item?
None of my attempts with NBT ints and strings worked before
how much damage the item does?
checkitem nbt is only custom tags
like CustomModelData
NBTInt damage = this.nbt.getTagOfTypeOrNull("Damage", NBTInt.class);
I'm taking the literal interpretation of "Damage" here
@jaunty zephyr ?
Sorry, I should have specified how much damage the item has taken durability wise
Please respect the rules, be patient and don't ping staff members!
Since that is technically an NBT tag
that would be data
actually it falls under data and nbt tag Damage
#ecloud-updates @jaunty zephyr
Ty
notice the lowercase nbt now
The plugin (or program) you are trying to use was compiled using a newer Java version than the one you using.
To find what version you need, start from 52 which is Java 8 and for example, 60 is Java 16. (8 + 8 = 16 => 52 + 8 = 60)
Hello friends, well, first I'm using Google translator, so if you have any spelling mistakes, you know why.
Well I have a problem with the Placeholder API, I'm using a plugin to create commands, and it supports the PlaceholderAPI, I created a /server command to show information such as players on and the like, I gave /papi ecloud download Server, it downloaded normally, but I gave /papi ecloud download MVDW and it downloaded normally, hooked it up here, but when I put the placeholder in the chat, it doesn't appear. looks like this: Check it out below!
Now that I've seen it, I can't send a print, but the placeholders that contain %% work, but the ones I want to use are the MVDW's, they're in {} and they're not going, even though I put them in %%, if someone can tell me help, please call me in my private, and I'll send prints, thanks for your attention!
?imgur
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.
make sure to follow that format 
Hi, is there any expansion to return whether something is number or text
Hey, I wanted to know if it was possible to give an item with a glowing effect (with checkitem)
Hey, can someone explain me the _math function
math_(%playerpoints_points%)>=(2500)% it says missing argument which is alright
but I only need to see if its the same or greater than, so not sure
use js for comparing
not required. the math expansion uses EvalEx which supports a lot of stuff including comparison
my bad then
%math_{playerpoints_points}>=2500%
all good. not a lot of people know that.
its actually not even mentioned anywhere. it just mentions it uses EvalEx and gives a link to it.
hey there ive attempted to run papi ecloud download vault
and papi reload
it dosnt actually register it
this is my papi dumb if anyone needs it
do you get an error in console when you do /papi reload?
no
I think the expansion requires an economy plugin to be loaded
make sure you have one registered in /vault-info
interesting interesting
Hey, I wanted to know if it was possible to give an item with a glowing effect (with checkitem)
papi parse %player_name% %checkitem_give_mat:phantom_membrane%
its a null for econy
then why do you need the Vault Expansion? 🤔
for venturechat
i am currently running and manging a waterfall networ
@quaint meadow you have 2 vault expansions. delete them both, run /papi reload then run the download command once and the reload again
kk
I assume you'd have to enchant it. that's the only way to make an item glow in minecraft. and not even sure if you can make a membrane glow. there's items that can't glow at all. example: player heads, chests
oh true, but still why would you need the vault expansion ? since you've got no economy plugin, there's not really a point 🤔
ventruechat requirements
ugh. vault is also for ranks tho?
It is possible to enchant it but I would like to hide the enchantment to make it glow
yeah but I don't see any in his PAPI dump
well uh in their docs / plugin info it states i need to install papi vault
not sure you can add item flags with checkitem.
that is if you want to display money / ranks
I guess
No solution ?
yeah
that just for placeholders
dosnt work for some reason
but are you using the Vault placeholders?
if you don't, then you don't need the expansion
wait so papi isnt the reason the plugin aint
loading
what
im not just plain confused
[13:19:47] [Server thread/INFO]: [VentureChat] Enabling VentureChat v3.3.1
[13:19:47] [Server thread/INFO]: [VentureChat] - Initializing...
[13:19:47] [Server thread/INFO]: [VentureChat] - Config found! Loading file.
[13:19:47] [Server thread/INFO]: [VentureChat] - Checking for Vault...
[13:19:47] [Server thread/INFO]: [VentureChat] - Could not find Vault and/or a Vault compatible permissions plugin!
[13:19:47] [Server thread/INFO]: [VentureChat] Disabling VentureChat v3.3.1
[13:19:47] [Server thread/INFO]: [VentureChat] - Disabling...
[13:19:47] [Server thread/INFO]: [VentureChat] - Disabled Successfully
Cus in my logs it stated that vault was missing but it actually existed
wait that makes some sense now
ive only installed luckperms on the proxy at the moment
you will need it on the Spigot server as well to manage Spigot permissions
okay that makes sense now
check this wiki page for some more info https://luckperms.net/wiki/Network-Installation#the-bungeecord-version-of-luckperms
👍
i need help from the changeoutput dev
the placeholder breaks if i attempt to use {player_name} when the player has an underscore in the name
im aware of this issue
will find some time to fix it eventually
for now id recommend converting ur placeholder into a javascript placeholder
is it possible to convert all of the %player_name% placeholders into a javascript placeholder?
what is ur entire changeoutput placeholder
%changeoutput_<_{mmocore_profession_experience_QUEST_003_003}_6_mycmd-runas {player_name} /system-iron-shard-formed-to-iron-ingot_%
im using {player_name}
that's not the 1st version as i thought using mycommand would somehow fix something
function smth() {
var profession = parseInt("%mmocore_profession_experience_QUEST_003_003%")
if (profession < 6) {
return "mycmd-runas %player_name% /system-iron-shard-formed-to-iron-ingot"
}
return ""
}
smth()```
that might work idk, u just need to put this into a js file with the js expansion
just asking, what's the estimate time for the ign underscore fix before i go through all of the placeholders that needs revamps?
no rush
¯_(ツ)_/¯
its a lot more complicated than expected, i have an idea of how to fix, but i just need to figure out how to actually to do it
ill take another look at it soon
👍 ty
Not sure how to get this Damage NBT tag to register, I've tried all sorts of different things
Please respect the rules, be patient and don't ping staff members!
most notably %checkitem_inhand,nbtints:Damage=586%
where 586 is the damage of the tool
Just says no even though it should be saying yes
specify a material you're looking for
Also are you on the latest version @jaunty zephyr ? 2.5.2
if you used /papi ecloud download checkitem it sometimes takes a while after I upload it
you shouldn't need to though... test to see if it works for some reason
I am on 2.5.2
also my end goal requires it to not have a material check, but that would be weird if it does require it
%checkitem_inhand,mat:DIAMOND_AXE,nbtints:Damage=586%
Tried this and it still doesn't work
I see what you mean about data being 586 though
why when i enter this command: /papi ecloud download ScoreboardObjectives
i have this message:
Input command ecloud was not a valid subcommand!
ecloud download ScoreboardObjectives
usage:/papi
How to set deluxe menu that the nether star will be in our last inventory slot
use a plugin like ItemJoin
Ok
I'm trying to have the placeholder %playerlist_online,nearby,no,amount,50% for players on a scoreboard, but it shows vanished players, is there a simple way of hiding them?
Hi! I got some questions for parseother extension? Why is it that this returns to yes even though the player is offline
/papi parse me %parseother_{Requesta}_{player_online}%
Glad someone could help me :>
But when i do
/papi parse Requests %player_online% it will say no?
Yeah I tried variations of this too and it still didn't work
Any luck on the dev end?
Hi I've got a problem with world time %world_time_my_world% will not return any time. Seems to be a problem with the _ in the world name. Worlds without _ in the name work fine.
@brazen dragon mind screenshotting exactly what it displays?
It's empty. Nothing.
looks like the issue has been around since atleast august 10th
the issue is with how args are parsed,
String[] args = params.split("_");
this would split world_nether into 2 seperate args which would cause an issue cause how getWorld works is that it gets the arg length -1, which would then get the world called nether.
a fix for this could be to change how the args are parsed or use a loop to piece the worldname back together
I'll lyk when I take a look
does it work if you do data:586 though?
always has been
like, before Damage was a thing
it was data
and it still is data 😂
Anyone :>
Interesting
items that weren't damageable used to use data to store different types
like all logs were just log:0 log:1 log:2 log:3
the number being the data
why when i enter this command: /papi ecloud download ScoreboardObjectives
i have this message:
Input command ecloud was not a valid subcommand!
ecloud download ScoreboardObjectives
usage:/papi
do you have ecloud disabled in your papi config?
or maybe it's disabling due to connection issues
they can be downloaded manually here https://api.extendedclip.com/all/
manual download direct link 
Hi how to use on bungee?
I've serverlistplus on bungeecord
And i want to put a timer for the reset
But can't since placeholder isn't available on the bungeecord server!
You can't use placeholderapi on bungeecord
[14:27:33 INFO]: sphings issued server command: /papi parse me %world_time_futurecity%
[14:27:43 INFO]: sphings issued server command: /papi parse me %world_time_futurecity_farmwelt%
[14:27:49 INFO]: sphings issued server command: /papi parse me %world_time_futurecity_nether%
[14:27:55 INFO]: sphings issued server command: /papi parse me %world_time_futurecity_the_end%
Please respect the rules, be patient and don't ping staff members!
%world_time_futurecity% gives back the correct ingame time. The other 3 commands will only return a cleared line
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload or similar service to upload images/screenshots.
Does anyone can try this?
Is there any way to fix this error?
https://pastebin.com/Abj0e4Qv
Thx
Please respect the rules, be patient and don't ping staff members!
...
should be as easy as updating the server expansion: /papi ecloud download server /papi reload
Thank you! Where I can see this inside the error so that I know for the future?
I mean there isn't a direct line telling you this. its just that the MinecraftServer class or location was changed in NMS in 1.18 and this tells me it can't find that class
but there was an update fixing this
Ah, okay. Thank you 😄
Hello friends, well, first I'm using Google translator, so if you have any spelling mistakes, you know why.
Well I have a problem with the Placeholder API, I'm using a plugin to create commands, and it supports the PlaceholderAPI, I created a /server command to show information such as players on and the like, I gave /papi ecloud download Server, it downloaded normally, but I gave /papi ecloud download MVDW and it downloaded normally, hooked it up here, but when I put the placeholder in the chat, it doesn't appear. looks like this: Check it out below!
Now that I've seen it, I can't send a print, but the placeholders that contain %% work, but the ones I want to use are the MVDW's, they're in {} and they're not going, even though I put them in %%, if someone can tell me help, please call me in my private, and I'll send prints, thanks for your attention!
I talked to the plugin developer and he said that the problem is in the papi or placeholderapi.
I've tried several ways and I didn't get any.
what extension is it??
did you install it
because each placeholder is depended on its extension
expansion*
this is how you use it
link me that page
I'm trying to use this site from this
is that MVDW
once again that plugin needs to support MVDW
I'm getting these placeholders and I try to use.
This server is for placeholderapi
So, it supports placeholderapi, all api placeholders with %% work, as long as I download it from papi ecloud donwload, now those from the MVDW that is from the site I sent you don't work
What plugin are you trying to put that CPU placeholder?
I don't have any plugin to check the CPU
I'm trying to pull the CPU through the placeholder
First did you type
/papi ecloud download MVdW
/papi reload
then did you use %mvdw_cpu_architect%
do you also have MVDW placeholders installed(the plugin)
Alright, I'll try and send prints.
Yes
I did what you suggested and it didn't work.
what does /papi list show
What should I do?
contact the MVDW developer as we cant do anything about that not working
Alright friend, thank you very much 😉
I don't know how you guys work, here in Brazil this is super normal.
papi!
It’s a Minecraft based server
They help with Minecraft plugins
how do I spoof ping of %ping% placeholder ?
where did the placeholder of deluxetags go?
spoof ping? wdym?
He means papi parse %placeholder%
This channel is for placeholder API.
Other channels have other support available. Ask any Minecraft plugin rated questions in #general-plugins or #general-plugins-2 and if someone knows the answer or can help, they will ^^
Hey i need support , The deluxe tags Papi , doesnt seem to be working with TownyChat , how can i fix this?
%ping% displays 300ms for me , I want it to display a random int from 1 to 30
🤨 why lol, players are not idiots/they will think server is lagging
you need to use JS expansion
thats the point of %ping% to display your ping
if you want rand int use rng extension
#spigot-linking if u want support with a premium plugin
How can i format current player xp in placeholderapi?
not sure if to report here, or viavesions server but i'm getting this message in console. Didn't happen before.
[PlaceholderAPI] Loaded class com.viaversion.viaversion.api.type.Type from ViaVersion v4.1.1 which is not a depend or softdepend of this plugin.```
it's actually happening for quite a few of the downloads via PAPI
Ignore that, is just a warning from spigot
Hey i need support , The deluxe tags Papi , doesnt seem to be working with TownyChat , how can i fix this?
the format isnt working
the {deluxetags_tag}
hi, does anyone know who maintains the checkitem extension?
Did you set the deluxechat option in the config to false?
The check item extension was made by “cj89898” so I believe they maintain it.
ah okay thanks, ill try to contact them
rip they have messages enabled to just friends
hi, your checkitem extension on placeholderapi is kinda broken, when using the getinfo argument with enchanted, it errors out if the item has no meta @mint fable
Please respect the rules, be patient and don't ping staff members!
Do you have the error?
not rn let me get it in a sec
?paste
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
should hopefully be a simple fix
probably a meta check missing or something
https://paste.helpch.at/owixijidor.apache here it is
everything except material, amount, and data is stored in meta
if that statement is correct, I fix easily
hope you can fix it soon 🙂
gonna eat first then work on it
it's an OOB exception that I might've fixed in the latest version if you're not on it
2.5.2 is latest
?checkitem
you can try the manual download if /papi ecloud download checkitem is giving you the old version ||shouldn't be anymore, usually would only happen shortly after uploading it||
How can i format current player xp in placeholderapi? im trying to get it to say 1k instead of 1000 or 1m instead of 1000000
Yes
im on 2.5.2
Please respect the rules, be patient and don't ping staff members!
at least thats what /papi info shows
haven't eated or looked at the code yet, but I think I have an idea
its alright, ill wait, ill be grateful if you could ping me when you find a fix or something
thank you
Always getting this warning in console. Nothing seems broken. Just thought I'd report it. Running Paper -182 (1.18.1), PlaceholderAPI 2.1.1.1.
https://pastebin.com/7rUsVip9
Hello, little ask is it possible to put placeholder api on proxy? Or it need to be on all backends servers.
all backend
@novel moss I believe I've fixed it, test it out and lmk if you have any issues
i'll upload if not
hi i need help in javascript
how i return the variable number?
i want to return the value given by the variable profession on the bottom part
couple things @smoky spoke , = is not a comparator, also don't you always want to return profession?
no matter if it's 4 or not?
im just playing around since it's my first time using javascript
ahh okay
I was gonna say, this makes no sense
at all
also, image for text = no bueno
?paste
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
?codeblocks
Use codeblocks for formatting code or configuration files:
```<language name>
<your code here>
```
For example:
```yaml
test:
- “hi”
- “there”
```
Produces:
test:
- “hi”
- “there”```
use == to compare numbers
aight ty for the extra info
if you want to return that, you just put return profession
and also you technically don't need to surround the 4 in quotes either
if you returned a number it gets converted to a string either way
how do i make it return an int value instead of a double value
dunno. here's my script
function smth() {
var profession = parseInt("%math_({mmocore_profession_experience_QUEST_001_001}>=33)+({mmocore_profession_experience_QUEST_001_002}>=33)+({mmocore_profession_experience_QUEST_001_003}>=9)+({mmocore_profession_experience_QUEST_001_004}>=161)%")
if (profession >= 4) {
return "4"
}
return profession
}
smth()```
imma try doing it again with a simple math equation
function smth() {
var profession = parseInt("%math_0_1+1%")
if (profession >= 4) {
return "4"
}
return profession
}
smth()
it returned 2.0
in the bottom return part?
ye it worked ty
wait
how were you testing it
/papi parse me %javascript_...?
so weird but I'm not a javascript professional so
yes
ohhh ya know
I think a lot of the time I use .toFixed()
profession.toFixed(2) = 2 decimal places
profession.toFixed() = 0 decimal places
more info for ya
gotta love js
its fixed 🙂 a qol change you can also make it is to display false instead of nothing
where exactly would i change the value that the server expansion get %server_name% from?
Papi config
thank you
Np
anyone know how i can get the luckperms/vault prefix with the color code stripped from it, please ping if you respond
Hello, I use %math_0_10000000-{vault_eco_balance_fixed}% to give the missing money to the player, I would like to know if instead of having 10000000, have: 10,000,000 (with commas)? thank you
Try using vault_eco_balance_commas instead of vault_eco_balance_fixed
Try using luckperms meta feature. You can assign a rank with a meta value and have it shown through the luckperms meta placeholder.
Doesn't work, it returns me %math_0_10000000-{vault_eco_balance_commas}%
does the player expansion not support hex colored displaynames?
Hey there.
I have a problem while requesting a cutsom placeholder
switch (param) { case "durability": if (player.getInventory().getBoots() != null && player.getInventory().getBoots().getType() != Material.AIR) { NBTItem boots = new NBTItem(player.getInventory().getBoots()); int durability = boots.getInteger("currentDurability"); return String.valueOf(durability); } return player.getName();
The player has boots and the obv. the type isnt air either.
But it still wont send back durability but the player name instead.
probably gonna stick with nothing because it's consistent for all modifiers
you can probably use changeoutput if you wanted to switch it to false though
or js
hello? :c
yeah i didnt mind it funny i actually needed your placeholder in a js but idk i just feel it looks cleaner if its true/false
Anyone around?
might get more help in #development
but obviously one of your statements is false
but i dont get it
i changed it to be boots are not null
and it still returns loading instead of the desired value
lore:
- ''
- '&6■ &fRank: &e#1'
- '&6■ &fBalance: &a%vault_eco_top_balance_formatted_1%'
- ''
- '&a» &fYour Balance: &a%vault_eco_balance% «'``` currently have this as a baltop, and its not showing the top balance player or bal its a placeholder in the menu it self
That's bcz the baltop placeholders are being phased out of the vault expansion. You should be using the development build of the essentials expansion for this.
see pinned messages for download and placeholder list
Is there a way to ping your localhost server with the Pinger placeholder expasion?
Yo, is there an absorption hp placeholder?
I found this commit https://github.com/PlaceholderAPI/Player-Expansion/commit/14993335830a11d75dd4716f113580033d6c0159 but the placeholder it's not in the player expansion
Yeah, looks like I forgot to publish the update
material: basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjcyYzA1ZGQ3NjI4OGY0MzI4YTI0MzkxYmY0NzI1ZmQyMjYwNTkyZGIzY2Y5YjJiYzIwMzJkZDA1OTZjZjQ0MCJ9fX0=
slot: 13
display_name: '&b① &b&n%ajlb_lb_iridiumskyblock_island_bank_crystals_1_alltime_name%'
lore:
- ''
- '&7■ &fRank &8» &b#1'
- '&7■ &fBalance &8» &b%ajlb_lb_iridiumskyblock_island_bank_crystals_1_alltime_value% &b✵'
- ''
- '&3» &7Your Balance &8➔ &b$%iridiumskyblock_island_bank_crystals% ✵ &3« '``` currently the name is working same as the last line, but the value isnt showing up
oh alright
i cant get the playertime placeholder to work... i doublechecked if it was the right placeholder and that i installed the right one, but i did and it still won't work
it just shows %playertime_time_hours%
and you ran this /papi ecloud download playertime
/papi reload
i did run this
it still shows %playertime_time_hours%
any idea on how to fix it ?
the wiki says its called PlayTime not PlayerTime
please?
@sharp jay Unknown expansion.
@upper zinc link me the plugin page
np
how can i make it possible to use papi placeholders in my plugin?
i followed https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Hook-into-PlaceholderAPI#import-with-gradle but it doesnt seem to be working, is there something else i need to do?
what version did you specify?
If you want to use placeholders IN your plugin, then yes
PlaceholderAPI#setPlaceholders
I wanna use it in the footer of tab which is specified in a config file of my plugin
Please respect the rules, be patient and don't ping staff members!
The one it said at the top, 2.11.1. Do I need to include the v?
No
Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
• HelpChat Paste - How To Use
do i need to import me.clip.placeholderapi.PlaceholderAPI twice or is that just a typo?
i assume its just a typo lol
ya, whatever IDE you use should sort that out
but that's just an example of how to use it
that's an example plugin class
heh heh i dont use an ide... i just use notepad++ cause i dont code most of the plugin
I have no words
LMAO
uhm: ```/home/runner/work/geeksmp/geeksmp/src/main/java/com/commandgeek/GeekSMP/Main.java:59: error: incompatible types: Main cannot be converted to Listener
Task :compileJava
Bukkit.getPluginManager().registerEvents(this, this);
^
/home/runner/work/geeksmp/geeksmp/src/main/java/com/commandgeek/GeekSMP/Main.java:61: error: cannot find symbol
getLogger().warn("Could not find PlaceholderAPI! This plugin is required.");
^```
i think i did something wrong
here's the file if u wanna take a closer look: https://github.com/srnyx/geeksmp/blob/master/src/main/java/com/commandgeek/GeekSMP/Main.java
