#placeholder-api

1 messages · Page 185 of 1

strange hedge
#

so this?

tender vaporBOT
# strange hedge so this?
Hey!

Please respect the rules, be patient and don't ping staff members!

strange hedge
#

%formatter_number_timeminutes{rankup_requirement_playtime-hours_left}%

#

because i tried this and it doesnt work

wet basinBOT
#

@vivid sparrow Unknown expansion.

strange hedge
#

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

mint fable
#

missing a _

#

after hours

#

also I believe it should be minutes or fromMinutes instead of hours

strange hedge
#

why?

mint fable
#

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

strange hedge
#

im trying to make my rankup minutes show as hours

#

instead of minutes

mint fable
#

yes

#

just hours?

#

or do you want hours + minutes

strange hedge
#

hours + minutes

mint fable
#

what sort of format

#

I'll code it for ya

#

If I said you have 87 left, what do you want to see?

strange hedge
#

1 hour 27 minutes left

mint fable
#
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

vivid sparrow
#

But cj, formatter expansion does that already

#

Well, mostly

mint fable
#

what if it's over 24 hours

#

that's all I'm here for

vivid sparrow
#

It will convert it in days, hours, minutes, seconds

mint fable
#

I wrote that all in discord

#

no idea if it works

strange hedge
#

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

mint fable
#

ya bro I'd say stick with formatter

#

does it ever get over 24 hours?

#

do you care if it shows days?

strange hedge
#

yeah thats fine

mint fable
#

/papi parse me %formatter_number_time_minutes_{rankup_requirement_playtime-hours_left}%

#

if that don't work change minutes to fromMinutes

vivid sparrow
#

it is minutes from what I see

strange hedge
#

ill let you know if it works

#

yeah it just makes the placeholder go blank

#

like nothing is displayed there anymore

strange hedge
mint fable
#

hmm

#

did ya try fromMinutes by chance

steel basin
#

Then dont support 1.17.1 always see my own placeholders and not other

mint fable
#

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

steel basin
#

I connected to the server with a different character and still saw myself

mint fable
#

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?

strange hedge
vivid sparrow
#

%formatter_number_time_minutes_190% try this

strange hedge
#

how would i use that with this

#

%formatter_number_time_fromMinutes_{rankup_requirement_playtime-hours_left}%

mint fable
#

if you surround your text in `` it stops formatting from occuring

strange hedge
#

this is the whole line from my sidebar config

#
  • '&bPlaytime&7: %formatter_number_time_fromMinutes_{rankup_requirement_playtime-hours_left}%'
vivid sparrow
#

what is exactly the output of that rankup placeholder

strange hedge
#

nothing

#

like literally nothing displays

vivid sparrow
#

This,{rankup_requirement_playtime-hours_left} right?

strange hedge
#

do you mean the ranks placeholder itself?

#

or the whole thing

vivid sparrow
#

dumb stickers

#

yes, the rankup placeholder

#

parse it with %%

strange hedge
#

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

mint fable
#

where did you get the placeholders from?

strange hedge
#

papi github

#

the wiki

mint fable
#

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

strange hedge
#

its not

mint fable
#

or playtime-minutes

strange hedge
#

thats what i meant

mint fable
#

ohh is playtime-minutes another placeholder?

#

this makes sense

strange hedge
#

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

mint fable
#

man I don't even see %playtime_minutes%

#

err playtime-minutes

dense sequoia
#

Hey, placeholders api dont work in My bungee server

mint fable
#

it's not a bungee plugin

#

they're server-dependent

dense sequoia
#

Ah

#

But I put the plugin in the papermc server and nope

vivid sparrow
#

What exactly doesnt work

strange hedge
#

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

tender vaporBOT
strange hedge
#

and it says 9.0000066666666666666666666666/24 hours

#

instead of just 9/24 hours

strange hedge
austere hawk
#

Why is the placeholder api not working?

tender vaporBOT
#
FAQ Answer:
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait

Source

austere hawk
#

Hi

#

Why is the only thing that's working is faction power?

#

I updated the papi eclouds

warm topaz
#

if u do /papi list, what does it show?

austere hawk
tender vaporBOT
# austere hawk https://paste.helpch.at/ogoyimobom.sql
Possible Solution Found:

Go to plugins/PlaceholderAPI/expansions/ and delete the quest expansion (all of them if there's multiple) then do /papi reload.

austere hawk
#

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!

tranquil sapphire
#

anyone?

celest heath
#

Or something similar

grizzled barn
#

is adventure or minimessage ever going to be supported? i'd love to just work with components

errant iron
#

in PAPI 3, pretty sure we're fully migrating to Adventure

#

now, when that's gonna come out, who knows

#

my guess is 2030

nimble sierra
#

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"
dense sequoia
#

Hi, how i can use papi in bungeecord?

celest heath
dense sequoia
#

I have installe but dont load

celest heath
dense sequoia
#

load but dont load de placeholders

#

see

#

i cant send images

tender vaporBOT
dense sequoia
celest heath
sacred locust
#

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

celest heath
#

Then do /papi reload

dense sequoia
dense sequoia
#

but dont work

celest heath
#

Did it register the expansion?

dense sequoia
#

yes

#

see

celest heath
sacred locust
celest heath
sacred locust
#

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

celest heath
last sage
#

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

fervent spire
#

?tagess

tender vaporBOT
#
FAQ Answer:

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.

celest heath
dense sequoia
#

I think nope

#

i try with one

sacred locust
dense sequoia
celest heath
wind oracle
#

can anyone help me wtih deluxe menus?

#

with

dense sequoia
simple nova
austere hawk
#

Hi I have just done a /timings report and it turns out papi is the highest usage running at 213% of a tick

vivid sparrow
#

send the link

simple nova
#

gaby

#

can i ask a favor

#

can u modify this

#

instead random numbers to return random colors ?

gloomy crater
#

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

gloomy crater
#

by the looks of it tthe startDate is a fixed value, which isnt something I want

turbid tide
#

well yeah. but you set the start date to whatever you want. in this case a placeholder.

gloomy crater
#

I want to track the time, for example, between two button presses

turbid tide
#

well you'll have to split the parsed placeholder

#

into its components first

gloomy crater
turbid tide
#

well you'd have to store that somewhere

gloomy crater
#

I already got a function to get the difference between the two. The issue is getting the current server time

turbid tide
#

I mean %server_time% returns the current time

#

its just that it is formatted

gloomy crater
#

yea, and I want it raw :Þ

#

like how player_last_join has done it

austere hawk
#

any luck with my issue?

gloomy crater
#

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

runic frost
#

Am I able to replace Null or blank text with a string?

vivid sparrow
#

in what context?

runic frost
#

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

vivid sparrow
#

javascript expansion probably

#

or look at PS lang files, maybe it has something for that

#

what placeholder do you use btw @runic frost

runic frost
#

%plotsquared_currentplot_alias%

vivid sparrow
#

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

runic frost
#

Yeah, a bit strange

austere hawk
vivid sparrow
#

Can you try to remove NexEngins and see if anything is changed?

austere hawk
#

will do, PlaceholderAPI::Task: me.clip.placeholderapi.util.Futures$$Lambda$8170 (Single) seems to be what is chewing resources if that helps

vivid sparrow
#

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

austere hawk
hexed gust
vivid sparrow
#

@austere hawk try to remove the buycraft expansion

#

@hexed gust update the luckperms expansion or the plugin, see which one is outdated

glad orchid
tender vaporBOT
tender vaporBOT
# glad orchid https://paste.helpch.at/utayixower.md
Detected Incomplete Paste:

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.

glad orchid
#

Why can't I run deluxemenu

vivid sparrow
vivid sparrow
austere hawk
#

is it necessary to have in or nah

vivid sparrow
#

idk, if you don't need it then don't install it

hoary crane
#

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

formal vessel
#

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

vivid sparrow
#

contact the developer and ask them

fast isle
#

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

austere hawk
#

hey how to refresh the baltop leaderboard ?(essentials)

fleet crest
#

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

vivid sparrow
#

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

fleet crest
#

no, i want to have an anvil where people can type the nick they want

slim wave
#

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.

turbid tide
slim wave
#

Hadn't tried that yet. Did so now but doesn't work.

tender vaporBOT
#
FAQ Answer:

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.

turbid tide
#

send a startup log then.

slim wave
#

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)

turbid tide
#

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/

slim wave
#

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.

turbid tide
vast ibex
#

Could it be that when I do /papi parse me %cmi_user_stats_playtime% it shows it to me differently than deluxe menus?

turbid tide
vast ibex
#

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

slim wave
turbid tide
turbid tide
slim wave
#

Also tried it without redownloading

#

It doesn't show any errors then.

turbid tide
#

how do you download the expansion? from where?

slim wave
#

./papi ecloud download mcMMO

turbid tide
#

that's probably why the expansion breaks

slim wave
#

Weird, since when i look in the expansions folder in the placeholderapi files it does show the Expansion-mcmmo.jar

vast ibex
turbid tide
slim wave
#

Ah, ok i'll look into that.

turbid tide
#

expansions are basically extensions in a way. they get data from a place and display it.

turbid tide
slim wave
#

Weird, since it did in a tutorial i saw.

turbid tide
turbid tide
slim wave
#

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.

turbid tide
#

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

slim wave
#

Oh, that explains allot. xd

turbid tide
#

well most of them

vast ibex
slim wave
#

The player_name thing was why i tried installing the mcmmo expansion. Apparently a very deceitful tutorial.

turbid tide
turbid tide
slim wave
turbid tide
#

👍

slate anvil
#

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

tender vaporBOT
#
FAQ Answer:

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

slate anvil
tender vaporBOT
# slate anvil https://paste.helpch.at/pagupiwovi.pl This one yes?
Possible Solution Found:

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.

slate anvil
#

lol i like u Barry. Fast answear ❤️

placid light
#

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

turbid tide
warm plover
#

How could I create a JS placeholder that replaces the players name to a different font? Like Obviouslee goes into оʙᴠɪоᴜꜱʟᴇᴇ

vivid sparrow
#

return BukkitPlayer.getName()
.replace('a', 'replacement')
.replace('A', 'replacement')

and so on

placid light
turbid tide
#

or at least the nashorn version does I believe

warm plover
#

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

turbid tide
#

try OfflinePlayer instead of BukkitPlayer

warm plover
#

Same error, not sure if I put it in wrong

#

return OfflinePlayer.getName() .replaceAll('a', 'ᴀ') .replaceAll('A', 'ᴀ')

placid light
# turbid tide use the parseother expansion

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

lofty patio
#

What is wrong ;c

turbid tide
turbid tide
mystic blade
#

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?

turbid tide
mystic blade
#

Ohh wow. Thank you 😄

turbid tide
#

you don't need the return if you don't have a function

warm plover
#

I tried to fix it and add the letters, parsing it works but it just shows as an empty space and not my name

turbid tide
#

well now you don't call the function at all

#

add a call at the end of the file name();

warm plover
#

Thanks so much

mint fable
#

must've accidentally broken it in the recent version as I believe I see the issue

tender vaporBOT
# placid light yes
Hey!

Please respect the rules, be patient and don't ping staff members!

placid light
#

ok sorry forgot to turn off @

placid light
main mauve
#

Hi! Getting this error on my console when trying to use /papi reload after downloading expansions. 😦

frigid basalt
#

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

vivid sparrow
#

PlaceholderAPI.setPlaceholders

frigid basalt
#

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

vivid sparrow
#

if you call that method, papi will do the work

frigid basalt
#

so, I can just put the entire string in it and the player entity and paper does automatically replace all the available placeholders found?

vivid sparrow
#

yes

frigid basalt
#

okay, thank you!

indigo grail
#

hi :3 some placeholder to see the name of an item?

turbid tide
indigo grail
#

ty

latent edge
#

Hello. I just wanted to ask, how am I going to add my npc plugin into the placeholders list? If u understand....

lofty valve
#

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?

turbid tide
#

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)

lofty valve
turbid tide
lofty valve
turbid tide
#

I believe it does

stable mist
#

any one can tell why this error is poping

mint fable
#

@stable mist did you mean to send something?

#

?paste

tender vaporBOT
#
FAQ Answer:

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

cosmic ibex
#

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

tender vaporBOT
toxic jungle
#

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?

lofty valve
toxic jungle
lofty valve
slate anvil
#

i have error with skript after update this plugin to higher version

vivid sparrow
#

Easy fix - dont use skript

lethal basin
#

lol true

crimson ivy
#

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) ~[?:?]

tender vaporBOT
crimson ivy
#

Already tried ^^

kind fossil
#

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

tender vaporBOT
#
FAQ Answer:

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

random hornet
stone edge
#

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)

crimson harness
#

@solemn coral dude stop tryna scam people with the "Is this your steam account? I accidentally reported you" crap

vivid sparrow
turbid swift
#

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%

slate pollen
#

hey is there a way to fix this

#

nvm can't send pics

tender vaporBOT
slate pollen
#

anyway if i do someones /bal it says 11.10
but on scoreboard it shows 11.1000000000000000

#

so scoreboard gets rlly big

austere hawk
turbid swift
tender vaporBOT
#
FAQ Answer:
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait

Source

turbid swift
#
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) ~[?:?]
slate pollen
tender vaporBOT
#
FAQ Answer:

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

turbid swift
turbid tide
turbid tide
slate pollen
#

Uh

turbid tide
#

if it is %vault_eco_balance%, switch to %vault_eco_balance_fixed%

slate pollen
#

Before i used vault eco balance

#

Then i already switched

#

Didn't make difference tough

turbid tide
slate pollen
#

Hmm i did use that

#

Its only for 1 users tough

turbid swift
# turbid tide try updating the server expansion.

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.

tender vaporBOT
turbid swift
#

im sorry

turbid tide
#

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

turbid swift
#

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.

turbid swift
#

I tried the AnimatedScoreBoard plugin instead of TAB, and I got an error there as well.

strong hemlock
#
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)

cosmic ibex
#

is there a way to get last damage dealt? example just like %player_last_damage% but "dealt" this would be mad helpful

sharp jay
#

You would need another plugin for that @cosmic ibex there may be one out there if you check spigot

cosmic ibex
#

update: could not find one

eager kiln
austere hawk
#

There’s a guide for it on the js wiki

west thistle
#

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

fallen dawn
vivid sparrow
#

what plugin @west thistle

west thistle
#

nevermind. I decided not to bother with trying to figure out how to install placeholder and use it.

slate pollen
turbid tide
turbid tide
turbid tide
#

having the % alone without the jobsr_... part is important as well.

eager kiln
tender vaporBOT
turbid tide
#

can you show the errors then?

eager kiln
west thistle
tender vaporBOT
tender vaporBOT
eager phoenix
#

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

strong hemlock
tender vaporBOT
strong hemlock
#

oops

tulip dew
#

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!

vocal folio
#

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

vivid sparrow
#

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

vocal folio
#

Yes, but it returns the old colors, although the Wiki states that it supports HEX if you add the smooth option

inner nest
#

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!

stone edge
#

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)

inner nest
#

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 😛

jagged gyro
drifting dragon
#

i want to hide papi command for player . how can i do ?

austere hawk
drifting dragon
#

yes

austere hawk
vestal drift
#

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?

warm topaz
#

the LocalExpansionManager is probably what ur after

vestal drift
#

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

vestal drift
#

Isn't that supposed to be built in?

vivid sparrow
#

make sure you have the expansion downloaded

vestal drift
#

Is player not there by default?

mint fable
#

nothing is there by default

vestal drift
#

Oh

mint fable
#

it's just an api 😉

vestal drift
#

Okay, thank you for the help!

jagged gyro
turbid tide
#

you can report there but doesn't seem like its updated anymore. hasn't been for 15 months

severe wharf
#

Algum brasileiro?

ebon haven
#

Eu

gusty hollow
#

why %statistic_mine_block:<item>% always shows 0

austere inlet
#

any idea why oraxen placeholders arent working in crazy crates ?

#

both are PAPI configured

raw sail
fickle tide
#

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

fickle tide
#

It works but only for scoreboard objectives but not with tags

raw sail
#

Could you ping me, if there are any news? 😅

#

I'm also interested

buoyant berry
#

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) ~[?:?]```
vivid sparrow
#

@buoyant berry /papi dump

buoyant berry
vivid sparrow
#

Is that the entire error?

mint fable
#

trying to open rcon on the port the server is running on? most likely have to just change the query port

buoyant berry
#

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

mint fable
#

is this from a papi expansion? which ones you got

buoyant berry
#

just the luck perms one

mint fable
#

and if you remove it does it still happen

plush nexus
#

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?

austere hawk
#

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]

turbid tide
turbid tide
sharp jay
#

it doesnt

#

none of them do

plush nexus
#

Gotcha, thanks!

austere hawk
tender vaporBOT
austere hawk
#

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]

turbid tide
#

could you possibly send a full startup log over?

tender vaporBOT
#
FAQ Answer:

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.

vivid sparrow
#

use at least 1.8.8 @austere hawk

turbid tide
#

oh. is that 1.8? I see

austere hawk
turbid tide
#

yes

austere hawk
#

oh

#

worked kakakakak thank you!!!]

jaunty zephyr
#

Issue with checkitem expansion when trying to use the getinfo modifier

#

Latest version of checkitem 2.4.2

sharp jay
#

worked for me

#

displayed "yes"

turbid tide
turbid tide
severe wharf
#

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!

mint fable
#

I could make it return all the info ig

#

sort of hard to sort through, but 🤷‍♂️

mint fable
mint fable
jaunty zephyr
#

O, thank you!

#

Does it return all the checkitem modifiers on the item?

mint fable
#

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

jaunty zephyr
#

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

mint fable
#

how much damage the item does?

#

checkitem nbt is only custom tags

#

like CustomModelData

sand junco
#

NBTInt damage = this.nbt.getTagOfTypeOrNull("Damage", NBTInt.class);

#

I'm taking the literal interpretation of "Damage" here

mint fable
#

@jaunty zephyr ?

jaunty zephyr
tender vaporBOT
jaunty zephyr
#

Since that is technically an NBT tag

mint fable
#

that would be data

#

actually it falls under data and nbt tag Damage

jaunty zephyr
#

Ty

mint fable
#

notice the lowercase nbt now

tight veldt
#

Help!

tender vaporBOT
# tight veldt https://pastebin.com/2yCWnZgK
Possible Solution Found:

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)

severe wharf
#

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!

mint fable
#

?imgur

tender vaporBOT
#
FAQ Answer:

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.

mint fable
#

make sure to follow that format this

drifting snow
#

Hi, is there any expansion to return whether something is number or text

lament verge
#

Hey, I wanted to know if it was possible to give an item with a glowing effect (with checkitem)

stone thorn
#

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

lethal basin
#

use js for comparing

turbid tide
lethal basin
#

my bad then

turbid tide
turbid tide
#

its actually not even mentioned anywhere. it just mentions it uses EvalEx and gives a link to it.

quaint meadow
#

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

junior musk
#

do you get an error in console when you do /papi reload?

quaint meadow
#

no

junior musk
#

I think the expansion requires an economy plugin to be loaded

#

make sure you have one registered in /vault-info

quaint meadow
#

interesting interesting

lament verge
#

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%

quaint meadow
#

its a null for econy

junior musk
#

then why do you need the Vault Expansion? 🤔

quaint meadow
#

for venturechat

junior musk
#

what do is require?

#

I mean, what do you want to show?

quaint meadow
#

i am currently running and manging a waterfall networ

turbid tide
#

@quaint meadow you have 2 vault expansions. delete them both, run /papi reload then run the download command once and the reload again

quaint meadow
#

kk

turbid tide
junior musk
#

oh true, but still why would you need the vault expansion ? since you've got no economy plugin, there's not really a point 🤔

quaint meadow
#

ventruechat requirements

junior musk
#

it just requires the plugin

#

not the PAPI expansion

turbid tide
lament verge
junior musk
quaint meadow
#

well uh in their docs / plugin info it states i need to install papi vault

turbid tide
junior musk
#

I guess

lament verge
junior musk
#

that just for placeholders

junior musk
#

but are you using the Vault placeholders?

#

if you don't, then you don't need the expansion

quaint meadow
#

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

junior musk
quaint meadow
#

wait that makes some sense now

#

ive only installed luckperms on the proxy at the moment

junior musk
#

you will need it on the Spigot server as well to manage Spigot permissions

quaint meadow
#

okay that makes sense now

junior musk
quaint meadow
#

Thanks alot

#

it works now!

junior musk
#

👍

smoky spoke
#

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

warm topaz
#

im aware of this issue

#

will find some time to fix it eventually

#

for now id recommend converting ur placeholder into a javascript placeholder

smoky spoke
#

is it possible to convert all of the %player_name% placeholders into a javascript placeholder?

warm topaz
#

what is ur entire changeoutput placeholder

smoky spoke
#

%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

warm topaz
#
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
smoky spoke
#

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

warm topaz
#

¯_(ツ)_/¯

#

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

smoky spoke
#

👍 ty

zinc wren
#

enyone hel pme

#

help me

jaunty zephyr
tender vaporBOT
jaunty zephyr
#

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

mint fable
#

Does it return that in getinfo?

#

You might have to specify a material

jaunty zephyr
#

Get info returns INTEGER:Damage:586 I believe

#

Also wdym specify a material

zinc wren
#

Can enyone help me pls???

#

pls

#

the %luckperms_prefix%

#

dont work

mint fable
#

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

mint fable
jaunty zephyr
#

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

slate adder
#

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

solemn jay
#

How to set deluxe menu that the nether star will be in our last inventory slot

solemn jay
#

Ok

distant token
#

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?

golden cloud
#

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 :>

golden cloud
#

But when i do
/papi parse Requests %player_online% it will say no?

jaunty zephyr
#

Any luck on the dev end?

brazen dragon
#

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.

sharp jay
#

@brazen dragon mind screenshotting exactly what it displays?

brazen dragon
#

It's empty. Nothing.

wide reef
#

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

mint fable
#

does it work if you do data:586 though?

jaunty zephyr
#

Yes

#

Not sure why data is the damage value but

mint fable
#

always has been

#

like, before Damage was a thing

#

it was data

#

and it still is data 😂

jaunty zephyr
#

Strange

#

So does that mean data for all blocks defaults to 0?

jaunty zephyr
#

Interesting

mint fable
#

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

slate adder
#

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

mint fable
#

do you have ecloud disabled in your papi config?

#

or maybe it's disabling due to connection issues

#

manual download direct link this

daring stream
#

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!

carmine veldt
#

You can't use placeholderapi on bungeecord

daring stream
#

F

#

Okay

#

Uh ok

brazen dragon
# sharp jay <@!658736886084534284> mind screenshotting exactly what it displays?

[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%

tender vaporBOT
brazen dragon
#

%world_time_futurecity% gives back the correct ingame time. The other 3 commands will only return a cleared line

tender vaporBOT
#
Uploading Images

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.

brazen dragon
raw sail
tender vaporBOT
# slate adder Thx
Hey!

Please respect the rules, be patient and don't ping staff members!

slate adder
#

...

turbid tide
raw sail
turbid tide
#

but there was an update fixing this

raw sail
#

Ah, okay. Thank you 😄

green totem
#

there is any aim placeholder?

#

x y z of the location im aiming

austere hawk
#

help

#

placeholderapi does not want me to detect vault

#

vult

#

vault

severe wharf
#

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.

sharp jay
#

You dont need MVDW

#

what placeholders arent working

severe wharf
sharp jay
#

what extension is it??

#

did you install it

#

because each placeholder is depended on its extension

#

expansion*

#

this is how you use it

severe wharf
sharp jay
#

link me that page

severe wharf
#

I'm trying to use this site from this

sharp jay
#

is that MVDW

sharp jay
#

once again that plugin needs to support MVDW

severe wharf
#

I'm getting these placeholders and I try to use.

sharp jay
#

This server is for placeholderapi

severe wharf
#

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

sharp jay
#

What plugin are you trying to put that CPU placeholder?

severe wharf
#

I don't have any plugin to check the CPU
I'm trying to pull the CPU through the placeholder

sharp jay
#

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)

severe wharf
#

Alright, I'll try and send prints.

severe wharf
#

I did what you suggested and it didn't work.

sharp jay
#

what does /papi list show

severe wharf
sharp jay
#

then the issue is MVDW

#

not papi

severe wharf
#

What should I do?

sharp jay
#

contact the MVDW developer as we cant do anything about that not working

severe wharf
#

Alright friend, thank you very much 😉

sharp jay
#

np

#

next time dont dm staff for support

severe wharf
#

I don't know how you guys work, here in Brazil this is super normal.

placid light
#

papi!

echo summit
#

hello

#

What kind of help is provided here?

austere hawk
#

They help with Minecraft plugins

forest anchor
#

how do I spoof ping of %ping% placeholder ?

devout rain
#

where did the placeholder of deluxetags go?

magic rock
austere hawk
#

He means papi parse %placeholder%

austere hawk
bright marlin
#

Hey i need support , The deluxe tags Papi , doesnt seem to be working with TownyChat , how can i fix this?

forest anchor
magic rock
#

you need to use JS expansion

lethal basin
#

if you want rand int use rng extension

magic rock
#

oh

#

but dont do that pls dont spoof pings

#

it's not good for anything

lethal basin
#

"xdd" is right

#

its nonsense

languid cairn
#

Placeholder %player% doesnt works

#

in voteparty plugin

warm topaz
austere hawk
#

How can i format current player xp in placeholderapi?

pliant stream
#

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

vivid sparrow
#

Ignore that, is just a warning from spigot

pliant stream
#

👍

#

there's a ton of them now, just a heads up with the new paper build.

bright marlin
#

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}

novel moss
#

hi, does anyone know who maintains the checkitem extension?

celest heath
celest heath
novel moss
#

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

tender vaporBOT
mint fable
#

Do you have the error?

novel moss
#

not rn let me get it in a sec

mint fable
#

?paste

tender vaporBOT
#
FAQ Answer:

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

mint fable
#

should hopefully be a simple fix

novel moss
#

probably a meta check missing or something

mint fable
#

everything except material, amount, and data is stored in meta

#

if that statement is correct, I fix easily

novel moss
#

hope you can fix it soon 🙂

mint fable
#

actually not the issue

#

(the check)

#

what checkitem version are you on

mint fable
#

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

tender vaporBOT
#
FAQ Answer:

Command:

/papi ecloud download checkitem
/papi reload

Manual Download:
Download
Click here for more information on how to use the CheckItem Expansion.

mint fable
#

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||

austere hawk
#

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

novel moss
tender vaporBOT
# novel moss im on 2.5.2
Hey!

Please respect the rules, be patient and don't ping staff members!

novel moss
#

at least thats what /papi info shows

mint fable
novel moss
#

its alright, ill wait, ill be grateful if you could ping me when you find a fix or something

vocal yew
#

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

ivory widget
#

Hello, little ask is it possible to put placeholder api on proxy? Or it need to be on all backends servers.

mint fable
#

all backend

#

i'll upload if not

smoky spoke
#

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

mint fable
#

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?

smoky spoke
#

im just playing around since it's my first time using javascript

mint fable
#

ahh okay

#

I was gonna say, this makes no sense

#

at all

#

also, image for text = no bueno

#

?paste

tender vaporBOT
#
FAQ Answer:

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

mint fable
#

?codeblocks

tender vaporBOT
#
FAQ Answer:

Use codeblocks for formatting code or configuration files:
```<language name>
<your code here>
```

For example:
```yaml
test:

  • “hi”
  • “there”
    ```

Produces:

test:
- “hi”
- “there”```
mint fable
#

use == to compare numbers

smoky spoke
#

aight ty for the extra info

mint fable
#

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

smoky spoke
#

how do i make it return an int value instead of a double value

mint fable
#

didn't you parseInt?

#

it should already be returning the whole number (int)

smoky spoke
#

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

mint fable
#

tf

#

okay... maybe try turning it to a string?

#

profession+""

smoky spoke
#

in the bottom return part?

mint fable
#

makes no sense

#

ye

smoky spoke
#

ye it worked ty

mint fable
#

wait

#

how were you testing it

#

/papi parse me %javascript_...?

#

so weird but I'm not a javascript professional so

smoky spoke
mint fable
#

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

smoky spoke
#

tysm

#

man javascript fixes my issue on the underscore igns

mint fable
#

gotta love js

novel moss
pearl locust
#

where exactly would i change the value that the server expansion get %server_name% from?

vivid sparrow
#

Papi config

pearl locust
#

thank you

vivid sparrow
#

Np

pearl locust
#

anyone know how i can get the luckperms/vault prefix with the color code stripped from it, please ping if you respond

austere hawk
#

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

celest heath
celest heath
austere hawk
topaz lava
#

does the player expansion not support hex colored displaynames?

eager phoenix
#

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.

mint fable
#

you can probably use changeoutput if you wanted to switch it to false though

#

or js

eager phoenix
#

hello? :c

novel moss
eager phoenix
#

Anyone around?

mint fable
mint fable
eager phoenix
#

but i dont get it

#

i changed it to be boots are not null

#

and it still returns loading instead of the desired value

marble bison
#
        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
turbid tide
#

see pinned messages for download and placeholder list

nova fjord
#

Is there a way to ping your localhost server with the Pinger placeholder expasion?

keen portal
vivid sparrow
#

Yeah, looks like I forgot to publish the update

marble bison
#
        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
keen portal
upper zinc
#

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%

sharp jay
#

and you ran this /papi ecloud download playertime
/papi reload

upper zinc
#

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?

wet basinBOT
#

@sharp jay Unknown expansion.

sharp jay
#

@upper zinc link me the plugin page

upper zinc
#

nvm it works

#

i just didn't install the plugin

#

sorry for wasting your time on this

sharp jay
#

np

zealous shadow
mint fable
#

PlaceholderAPI#setPlaceholders

zealous shadow
tender vaporBOT
zealous shadow
mint fable
#

No

tulip brook
#

heyo

#

im getting error

#

?paste

tender vaporBOT
#
FAQ Answer:

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

tulip brook
zealous shadow
mint fable
#

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

zealous shadow
mint fable
#

I have no words

zealous shadow
#

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

mint fable
#

yes you did do something wrong

#

not using an IDE