#placeholder-api
1 messages ยท Page 35 of 1
yes
wonderful
i rly dont understand how the %statistic_mine_block:COBBLESTONE% works and stops working randomly
Minecraft's statistics are weird ๐คท
I'm using a plugin called ExecutableItems and it's conflicting with CheckItem_Remove. This is the problem:
The custom item say is of type "diamond" (made in executable items). and then I create another item example "Diamond Seller Wand", when I make an event/action that the player does, it will use checkitem to = 'yes' to determine if the player had 10 diamonds in inventory. However, it also includes the Executable Item that's material type is a diamond. so their custom item gets removed.
To combat this i decided i would try to use namecontains "Diamond" as vanilla item is called Diamond and the Custom Item is not. However this does not work because vanilla items only have a material and not a display name. It works after using /itemname on diamond to call the Diamond (but not on vanilla diamond) So I have joined to request a feature as i am unable to use github to open a ticket or whatever.
Possible solution:
Reverse conditions like namedoesnotcontain or !namecontains.
This would allow me to specify the name of the executable item and blacklist it.
Even better solution:
Have a checkitem parameter that will only work if there is no display name set on the item is empty. i.e. nameempty
This will allow to use both vanilla and EI items with checkitem and not have to blacklist ei items individually.
i ll start doing my own with variables at this point
you could use strict
%checkitem_mat:diamond,strict,amt:10%
but there is direct "support" for executableitems
ok awesome can you tell me what strict does and about the support for it
it gets the item if it follows exactly what you asked for in the placeholder
nothing more, nothing less
actually that might be an issue if there's more than 10 diamonds, but if that's the case you could use %checkitem_amount_mat:diamond,strict% and check whether it's >= to 10
%checkitem_nbtstrings:PublicBukkitValues..executableitems:ei-id=diamond,amt:10% wouldnt that be the best solution?
and run the /ei take %player_name% diamond 10
oh
strict seemed to work even with more than 10, you just have to trigger it again
like if you have 20 do it twice
as normal
uh
weird but okay ๐
oh right, because you're using checkitem_remove
yeah that sounds about right
I don't think there's any way to prevent that
its ok it is supposed to work that way
all good then
tysm
This is the used placeholder:
%math_SQRT((%var_block_z%-%var_player_z%)*(%var_block_z%-%var_player_z%))%
Thats the error in the console:
! [Wed 15:21:42 WARN PlaceholderAPI] [math] Invalid Placeholder detected!
! [Wed 15:21:42 WARN PlaceholderAPI] [math] Placeholder: %math_SQRT((%
! [Wed 15:21:42 WARN PlaceholderAPI] [math] Cause: 'SQRT((' is not a valid Math expression.
The Math Extension is on the latest version on PAPI 2.11.5
Additionally, I am using the plugin 'Executable Items', which parses its placeholders first. It was working fine a few weeks ago.
use {} for placeholders within placeholders
%math_SQRT(({var_block_z}-{var_player_z})*({var_block_z}-{var_player_z}))%
did you lose access to your ecloud account?
Yesterday I didn't have the button to add a version, now I do
If you see on github it's correct
well there are no metrics soo
What do you mean?
maybe i misunderstood
you check if placeholderapi exists so you can use it in metrics?
I do the check just to remove the yellow warning from intellij
I know that it will always be not null
you have to remove the metrics
No why lol
placeholderapi has metrics
it will not be verified if you have metrics for your expansion
Why lol
Rules are rules
We gotta be more strict on the rules these days too
in the past, your expansion did have metrics
still does
but if you want it verified you'll have to remove all metrics
It's a free expansion, I just want to know how many players use it
It doesn't create problems
You don't need to argue
i'm not here to argue
I'm just telling you the situation
you don't have to comply, but it won't get verified
that's all
Which are the rules?
I didn't make the rules, and they won't be changed
let me know if you get a version you want to upload
Is there a link with all the rules?
only issues with your expansion was the metrics, the version (fixed), and we thought it was weird to check if placeholderapi existed, but you did it for a warning for notnull for metrics; which will be removed anyway
Ok but if I have to follow rules, can I see these rules?
there is no list
Can I check if the expansion was downloaded from ecloud?
If not I add the metrics, otherwise no
why, I'm trying to reach a compromise
there is no compromise to be had
@austere hawk by chance could you push an update for the ChatColorExpansion fixing your getVersion() method?
@warped flicker Could you do the same thing with your donatecraft expansion?
your getversion() returns 1.0.3 and the ecloud says V1.0.4 (needs to match exact)
https://github.com/alexdev03/BuyCraftAPI/tree/ecloud as you wanted
Uploaded the new version
thank you, verified ๐
thanks
is there a wiki on how to use config with expanions?
implement Configurable, override the getDefaults method and load the values from config on canRegister
do you have an example?
checkitem has config options
Or https://github.com/placeholderapi/server-expansion - main or rewrite branch
was trying to find a page but I think I had to look at other expansions for examples
@untold crater by chance could you update the kyorify expansion and fix the getVersion() method?
i have not touched that thing in ages but sure
thanks ๐
what's broken about it?
i dont see why not, but try and see
im guessing version mismatch from what is on ecloud
it seems it's working
Hello, I am using the crazyenvoy plugin. I want to show the remaining time for the envoy event in the plugin on another server. Does anyone know how I can do this?
I am using a cross server system, I have 2 separate worlds, I want the envoy event duration to appear in both worlds.
configsection is null if getIdentifier() returns a string with capitalized chars
just mismatched from the ecloud like Kaliber said
@neat fern by chance could you update your randomcolors expansion to fix the getVersion() method mismatching the version on the ecloud as well?
@limber ice by chance could you update the Statz expansion? ecloud says version 1.3.5, but internally the jar says 1.5.3
@dry citrus could you by chance update your Simplepets expansion to fix the version? internally it says 1.0.0, ecloud says 1.0.2
@distant sail could you by chance update your superheroes expansion to fix the version? internally it says 1.0.0, ecloud says 1.0.2
Sure! I am currently at work i can try get it done tonight? ๐
Please respect the rules, be patient and don't ping staff members!
Oh sorry ๐
how to i download a JetsMinions expansion for placeholderapi? it does not exist with the ecloud download command
If it's not on the ecloud it might be built into the plugin?
I tried to use it on TAB plugin but it's not displaying it, i thought it was available to download from ecloud
Does it show up in /papi list?
yes
Hmm with that command it is working, then it's the TAB plugin issue
Which tab plugin?
From reading their wiki it doesnt seem you need to do anything special to get it working
Just make sure it's using the %'s
Weird, if it's working in papi is most likely an issue on TAB's side
eh ofc a jets plugin :/
try reloading the plugin itself
i had same issue with jetsantiafk and changed it
It works in papi parse
ye i had that issue on tab and holograms
and after reloading the plugin it would work fine
you talking about restarting jets or the tab?
Weird that would make any difference if it works fine in papi parse
Wow that worked

Reloading the jetsminions plugins worked
So odd
mid plugins
thanks!
jets plugins have unique issues
I am using the plugin 'Executable Items', which parses its placeholders first. It was working fine a few weeks ago.
I recognized weird things:
%parseother_ChemFlix_{changeoutput_equals_input:{essentials:afk}_matcher:yes_ifmatch:test_else:test}%
returns atcher:yes_ifmatch:test:else:test
and %changeoutput_equals_input:{essentials:afk}_matcher:yes_ifmatch:test_else:test%
returns test.
This is a bug. Isn't it?
{ChemFlix}
ah yeah i see... thank you โค๏ธ
yep
Hey, is OtherPlayer expansion is still being supported?
When the placeholder is incomplete, it throws an exception, which is rather unexpected considering other expansions don't really do that (AFAIK)
https://pastie.io/yxamht.md
That expansion isn't maintained by HelpChat, looks like the author is l3thalbunny
Oh, I see. That's weird they considered using com.extendedclip.papi.expansion package, which got me confused
All expansions will have that as they hook into PlaceholderAPI to function
I don't think that's true? Just checked a few random expansions, and they do have different packages.
Also just made a test expansion that just throws an exception, and it seems to be using my package
> papi parse --null %example%
[12:34:05 WARN]: Unexpected exception while parsing console command "papi parse --null %example%"
org.bukkit.command.CommandException: Unhandled exception executing command 'papi' in plugin PlaceholderAPI v2.11.5
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[paper-api-1.20.2-R0.1-SNAPSHOT.jar:?]
...
Caused by: java.lang.RuntimeException: Yolo
at me.imdanix.testexpansion.TestExpansion.onRequest(TestExpansion.java:24) ~[?:?]
at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:119) ~[PlaceholderAPI-2.11.5.jar:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:71) ~[PlaceholderAPI-2.11.5.jar:?]
...
Im confused as to what you question is?
the guy used com.extendedclip.papi.expansion
so that's why imDaniX thought the expansion was managed by us
@mint fable expansions are now built into jar, how do I update versions on papi ecloud?
Please respect the rules, be patient and don't ping staff members!
If it's built in now, happy to keep it unverified or remove it to avoid user confusion
there are still people who run older versions of Statz and Autorank and still want the older versions of expansions, since latest don't work on all versions
So it looks like you have 1.5.3 in the jar but 1.3.5 on the ecloud
Easist way would be to reupload the same version but label it as 1.5.3 on the ecloud
And update the description to mention it's only for legacy versions
yes and latest statz is 1.7.1 and thats not on spigot, since Staartvin has been AFK I have manually changed version of the expansion to what is on the cloud to show it up to date
The best bet would be to mark it as unverified in the ecloud to avoid any out of date messages from showing due to mismatched versions. And realistically its only outdated versions of the main plugin that need to download it
so unverified still leaves older version on ecloud?
Correct, just requires manual download
then yes that should work, what about autorank?
Is that built in aswell?
yes
I've updated the Statz ecloud page, when you get a moment just update the ecloud description to mention the plugin versions it's built for
No worries, I can update the autorank description
I had someone mention I needed to updated the placeholders on statz, is there another change coming?
The commands listed won't work as the expansion is unverified, they'd need to just download via the version selector on the site.
Assuming you're using the methods shown on the wiki you should be fine.
yes I updated a year or so ago
There's only been 1 real change I believe which was over a year ago
the person getting the message is running Purpur I don't see it on Paper
Have you got the message?
[01:37:09 WARN]: [PlaceholderAPI] autorank is attempting to register placeholders via deprecated PlaceholderHook class. This class is no longer supported and will be removed in v2.13.0!
[01:37:09 WARN]: [PlaceholderAPI] Cannot load expansion autorank due to an unknown issue.
Get them to run /papi dump when possible
or did he download a expansion
My guess is its the old expansion, but papi dump should tell you all the version info to be sure
so autorank and statz will be gold, but they will not be able to download older version?
so they will be green in time
They should go green as they wont be able to see the new versions
Once our cache updates
Can take up to an hour
or be removed from the list?
Yeah so only verified expansions are shown to the in game downloader, so once the cache is updated papi wont be able to see the version missmatch and assume its up to date
cache seems to be updated already
Good to hear
it says I have 11 hooks and list 10 I thought I should of had 12 hooks
Is that a question?
I guess
what is Advancements? I never downloaded it
Feel free to run /papi dump
So Expansion-advancements.jar is in your expansions folder
So you would have downloaded it
maybe at one time but it wasn't in list before I updated player and bungee
Feel free to delete it if you're not using it
so papi don't count expansions built into jars?
I believe it might, but i'd have to double check that
I have 11 in expansion folder, just not seeing javascript in list
It says javascript is registered
I removed advancment and Statz and Autorank returned in the list
hmm?
I will give the cache more time and check later
I can see it's been removed from the api on our side. You might be able to force it to reload the server cache with /papi ecloud clear and /papi ecloud refresh
that seem to fix it
Thanks for the report I can get on it
Please respect the rules, be patient and don't ping staff members!
done
i think this is the right channel so i think its nothing wrong with papi but maybe bc i want to use papi-mineresetlite and it say the class is not supported so is there a version that supports that class still
The mineresetlite expansion is built into MineResetLite, so no need for an expansion
Ok
do you possibly know what placeholders there are or like are they the same
I'm not sure, give it a try
Does it show up in the /papi list?
minerestelite?
Correct
Mind running /papi dump?
Mind throwing that link here
Whos MineResetLite plugin do you have?
Seems there's a few authors with the same plugin
tbh i dont even know
/ver mineresetlite might tell you
Looks like you have this one
So I don't think that plugin has placeholderapi support
dang...
I'll check the code to confirm
what's your server version and u use a dead plugin o.O
Yeah, no dice, no papi hooks
vk's is the one with papi support but I don't know how up to date it is
oris plugin is also a nice option
https://www.spigotmc.org/resources/eternalmines-โจsimple-configuration-โจ-auto-resetting-โจ-1-16-5.110719/
if i cant find ill use like catamines or smth
tho idk how stable it is
ill go check it
yeah catamines better lol
tho realmines is good too
Both seem to have Papi support so you should be good either way
i've fixed this, what do i need to do to get it reverified?
Please respect the rules, be patient and don't ping staff members!
hi i have a question about CheckItem Expansion. I have a custom nbt tag "strength" and i want the placeholder to ouput only the value of the nbt tag "strength", what placeholder do i use?
Done. Thank you! ๐
%checkitem_getinfo:<slot>_nbtstrings:strength=anything%
replace <slot> ofc
Is there any placeholder or any simple way to count entitiesยฟ?
In a range or in a plotยฟ?
Is there documentation on the changeover process for updating old applications that used PAPI to whatever changed in 1.20.4? Looking for generic information on exactly what changed and how to properly update it
didnt work for me, either output all nbt strings or an empty string, idk rn
Please respect the rules, be patient and don't ping staff members!
im not at my pc rn but i tried the exact one you sent
didnt work with that too
hmm
can you type /papi parse me %checkitem_getinfo:<slot>_%
what does that return @inland moat
empty string
did you replace slot
yea
%checkitem_getinfo:mainhand_nbtints:% parses nbt:NBTTagCompound:Item:{tag:{strength:10}}|INTEGER:Damage:0
without nbtints: it parses just an empty string
parses 0
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.
%checkitem_getinfo:mainhand_nbtints:Item..tag..strength=0%
still parses 0
hmm
ah
so it only supports one set of .. , hmm
It would require pushing an update to checkitem and the time to do so
Hello, my situation is the following, I have a menu that when you open it you can choose sanctions, and when you select it the command is executed which perfectly marks who to sanction with the arguments, but how can I make it say who was sanctioned? How do I get it to take the nickname of whoever put /punish and then mark it, since I use forward
hello
can someone tell me what happened to %vault_prefix_color% placeholder?
i tried searching in update logs on github and ecloud, i do not see anywhere it was stated it was removed, though this placeholder does not work nor is included in list of placeholders, but it was
ok i found it now... in 1.8.0 was removed
@versed warren@vivid sparrow@glad glen
Please respect the rules, be patient and don't ping staff members!
don't ping
help
hello i have a plugin that asks me to do .papi ecloud download javascript but i can't do it in games
the Javascript expansion got unverified, so you need to download it manually from the ecloud
click on Download
.
can you send your menu?
if you want the player that opened the menu, use %player_name%, if you want the player that got sanctioned, use the argument
when I download it and put it in the right place in my files and restart the server nothing happens it tells me "Failed ton find an expansion named: javascript".
you don't need to run the command again
once you downloaded the jar and restarted the server, it'll be loaded
check /papi list
not working
It is a menu that there will be another menu
@junior musk
what's not working?
which placeholder did you try and what does it show? and what should it show
and which command did you run
that doesn't tell me what's not working exactly
nor what's showing ingame
nor what it should show
nor which command you ran ingame
When you enter %player_name% and execute the command it is not filled in, directly execute %player_name% it does not become the player's nickname
?player
Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload
did you do those commands?
the command does say so
yess
how do i papi parsecmd a console command
--null as player
it didnt work but maybe i did it wrong
lemme try
doesnt work
works great if its a player
doesnt work if its in consoe
console
what's your PAPI version?
2.11.5
what's the full cmd you ran?
its a little weird
/papi cmdparse --null lp group %superior_island_uuid% parent add t2-spawners
its weird bc there is a luckperm group with the same name as the uuid
it works if its as a user
if i do /papi cmdparse usernameofanadmin lp group %superior_island_uuid% parent add t2-spawners
do u know any alternatives
last time ill ping u if u dont want it
ill just write a small plugin to do it ig
anyone else know a fix before i do that though?
yea
Can't seem to download the world expansion, trying to get %world_timein12_<world>% working
Any ideas?
Yea I just figured out to dl it from there
It doesn't appear in the auto complete tho
Cause its not verified
I'll check it now and get it verified if it passes
hello , how to register / activate CMI placeholders ?
CMI registers it's placeholders automatically once you install the plugin
hey ^^
the scoreboard value of 'counter' equals '3' but this placeholder returns 'no' instead of 'yes' when 'counter' is on '3':
%changeoutput_equals_input:{objective_score_{sanduhr_counter}_{counter}}_matcher:3_ifmatch:ja_else:no%
change the equals to >=
This is probably due to the amount of {}
ye also could be that :/
tho the amount seems correct ?
3 opening, 3 closing
maybe it cant get parsed properly
yes, that's what tang meant
then utils expansion is a great option, %utils_parse_objective_score_{sanduhr_counter}_{counter}% that might fix it
PAPI doesn't care about how many opening/closing there are, it just takes the first } regardless of whether there was one more { before
so yeah, you'll need the utils expansion
ooof
@vivid sparrow Unknown expansion.
arrow-code
autosellapi
base64-serialization
best-vps-deal
bug-with-dd
challenges
checkitem
checkitem-nbt
codeblocks
colors
database
dc-fuuid
dc-towny
di
dictionary
discorddev
dm-1.10.5
dm-base64
dm-builds
dm-cooldown
dm-creator
dm-deny
dm-external
dm-filler
dm-glow
dm-heads
dm-item-data
dm-middle
dm-modeldata
dm-multireq
dm-open_requirement
dm-pixelmon```
dm-requirements
dm-stringequals
dm-tags
dm-update
docs
dry
ecloudblock
enchant-format
enchants
entities
ess-builds
flags
help
hidden-roles
hosting
hosting-free
hosting-paid
hotswap
imgur
javadocs
jdk
js-factionname
js-tag
json
learn-java
libs
luckperms
materials
need-help
nojquery
not-discord
notowner```
papi-builds
papi-dump
papi-hd
papi-mini
papi-nocolor
papibot
particle-guide
particles
paste
placeholders
player
pls-no
plsnoarrowcode
plsnolombok
roleperks
service
site
slots
solid
sounds
spigot
spigotid
startuplog
tagess
tryandsee
wiki
xy
yaml```
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
Command:
/papi ecloud download checkitem
/papi reload
Manual Download:
Download
Click here for more information on how to use the CheckItem Expansion.
And click here for the CheckItem wiki with DeluxeMenus example menus.
I would argue we should not encourage the usage of 20 nested placeholders ๐
eh
its a nice way to manage nested placeholders tbh
well the issue here is that the objective expansion uses {} for its arguments even if they aren't placeholders
just like ParseOther
to make sure to account for _
yeah... great format
yeah...
idk why not [] instead or something else
๐คท
An objective's name is used internally for referencing in commands, target arguments, and the file format. In Java Edition, the allowed character set for it includes all lowercase and uppercase letters, numbers, underscore, period, minus and plus.
Time for an update to use[]instead
it would be so cursed with .
nah we need something that is not allowed in the name
yeah
But I want to output yes or no
be careful walking down this path, the path of too many nested placeholders 
yeah i got confused with the score and tho it would return an integer value :/
but its fun
2 nested placeholders is nothing
i think the most i have are 5
or nothing at all and just split at space %objective_score_<objective-name> GabyTM%
Guys exists any form to do that:
%superior_island_top_worth_position%:
when u have island: "#%superior_island_top_worth_position%"
when u dont have island: "" <-blank
im using
%changeoutput_equals_input:{superior_island_top_worth_position}_matcher: _ifmatch:_else:#{superior_island_top_worth_position}%
but i return (when i haven't island)
#
matcher:_
with no space
Hi. I'm using %statistic_hours_played% to visualize the hours played by a player. But can I change this information? For example, add a few hours to the player's time or reset it to zero? In which file is it stored?
world (folder) -> stats (folder) -> player uuid (json) -> find play_time
i get message in blank but i have island with 25 levels
/papi parse me %superior_island_top_worth_position%
This is the mssage
and the ChangeOutput placeholder returns nothing ?
hello placeholderapi does not work for a weird reason on my serv heres the "dump" https://paste.helpch.at/eredonihop or what its called
please help...
................
what doesn't work exactly?
can you provide a screenshot? which placeholders are you using and in which plugin?
yeah sure
wait i cant send ss in here
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.
https://imgur.com/a/peSBAsu like this?
ultra scoreboard and CMI
does not work with the %player%
?player
Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload
But I also tried the mbedwars thing and the placeholder was also broken
%player% isn't a PAPI placeholder
%player_name% is
and it requires the Player expansion do be downloaded
which you're not using, and don't have downloaded
Okay but still I think itโs still broken since mbedwars didnโt work (or mbedwars placeholder is broken?
)
idk if mbedwars supports PAPI
but it probably has its own player placeholder
which one did you use?
seems like it uses {player}
Oh
It just said you could do /papi info mbedwars
So I kinda thought it was this design
yeah to get placeholders that retrieve info from mbedwars
but idk if it actually parses PAPI placeholders in its language files
you too
Pls help
Someone is spamming me
So much
Someone cones to dm i can send a pic tgen use translater
@junior musk
@junior musk
what did I do to you to deserve a double ping 
if someone is bothering you in DMs, just block them
@tan @guy @gab
Wait bro just add me and make the pic that i will send to you
And yoy Will know
does it matter?
just block them if you don't want to see their msgs
that's what the block function is here for
He's saying sexual things about ne in groups and servers
that's something different, don't just block but also report the Discord account
also send a message to @tender vapor with all the info (screenshots and stuff) so we can ban them from the server
Ok but he have to use translate because he's Kurdish
Bro ban his acc pls
we can't really do that, we're not affiliated with Discord
that's why I told you to report their account
the best thing we can do is ban them from this server
Why does everyone think this is discord support
Our seo is just too good
lol
How do I get the countdown until 23:59 each day using the server_countdown placeholder? I've already tried, but I can't figure it out.
We're not discord support, that user isn't here.
Report it to discord https://support.discord.com/hc/en-us/requests/new
?not-discord
Looking for discord support?
HelpChat is a Minecraft plugin and development support server and is not affiliated with discord in any way.
If you require support from discord, we recommend you to visit their official support website at https://support.discord.com
On this website, you can read their FAQs, or open a support ticket if necessary.

Hey guys, this might because we are a cracked server, but is there any way to fix this?
[15:46:15 ERROR]: Could not pass event PlayerJoinEvent to PlaceholderAPI v2.11.3
java.lang.ClassCastException: null
We do not support cracked servers here
I think you didn't see this because of the discord support thing. I'd rather send it again:
How do I get the countdown until 23:59 each day using the server_countdown placeholder? I've already tried, but I can't figure it out.
Hey, I would like to know if eCloud account registration requests are accepted again?
[19:27:40 WARN]: java.lang.NullPointerException: Cannot invoke "org.bukkit.entity.Player.getDisplayName()" because "player" is null
ConfigurationSection playerConfig = config.getConfigurationSection("players." + player.getDisplayName());
your player instance is null ๐คท
and since this doesn't have anything to do with PAPI, use #development instead
k
Just got placeholder api, but placeholders are still not working, anyone know why
which placeholders? and where are you using them?
hello how can i do statistic_mine_block but formatted
formatted how?
you can use the Formatter expansion
%formatter_number_format[_[locale]:[pattern]]_<number>%
here's the documentation https://codeberg.org/Andre601/Formatter-Expansion
shouldn't
yes
the player api on papi breaks the featherboard plugin
does anyone know why?
[18:24:56 WARN]: java.lang.NoSuchFieldException: locale
[18:24:56 WARN]: at java.base/java.lang.Class.getField(Class.java:2117)
[18:24:56 WARN]: at com.extendedclip.papi.expansion.player.PlayerUtil$2.cacheReflection(PlayerUtil.java:128)
[18:24:56 WARN]: at com.extendedclip.papi.expansion.player.PlayerUtil$2.apply(PlayerUtil.java:104)
[18:24:56 WARN]: at com.extendedclip.papi.expansion.player.PlayerUtil$2.apply(PlayerUtil.java:95)
[18:24:56 WARN]: at com.extendedclip.papi.expansion.player.PlayerUtil.getLocale(PlayerUtil.java:138)
[18:24:56 WARN]: at com.extendedclip.papi.expansion.player.PlayerExpansion.onRequest(PlayerExpansion.java:200)
[18:24:56 WARN]: at FeatherBoard (3).jar//be.maximvdw.featherboard.NR.Z(NR.java:3)
[18:24:56 WARN]: at FeatherBoard (3).jar//be.maximvdw.featherboard.Ny.E(Ny.java:4)
[18:24:56 WARN]: at FeatherBoard (3).jar//be.maximvdw.featherboard.jU.N(jU.java:30)
[18:24:56 WARN]: at FeatherBoard (3).jar//be.maximvdw.featherboard.sn.N(sn.java:73)
[18:24:56 WARN]: at FeatherBoard (3).jar//be.maximvdw.featherboard.sn.X(sn.java:90)
[18:24:56 WARN]: at FeatherBoard (3).jar//be.maximvdw.featherboard.sn.h(sn.java:3)
[18:24:56 WARN]: at FeatherBoard (3).jar//be.maximvdw.featherboard.api.scoreboard.ScoreboardLine.updatePlaceholders(ScoreboardLine.java:219)
[18:24:56 WARN]: at FeatherBoard (3).jar//be.maximvdw.featherboard.api.scoreboard.Scoreboard$AnimationUpdater.run(Scoreboard.java:9)
[18:24:56 WARN]: at org.bukkit.craftbukkit.v1_20_R2.scheduler.CraftTask.run(CraftTask.java:101)
[18:24:56 WARN]: at org.bukkit.craftbukkit.v1_20_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[18:24:56 WARN]: at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[18:24:56 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[18:24:56 WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[18:24:56 WARN]: at java.base/java.lang.Thread.run(Thread.java:842)
[18:24:56 ERROR]: [FeatherBoard] java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Field.get(Object)" because "this.locale" is null
at com.extendedclip.papi.expansion.player.PlayerUtil$2.apply(PlayerUtil.java:112)
at com.extendedclip.papi.expansion.player.PlayerUtil$2.apply(PlayerUtil.java:95)
at com.extendedclip.papi.expansion.player.PlayerUtil.getLocale(PlayerUtil.java:138)
at com.extendedclip.papi.expansion.player.PlayerExpansion.onRequest(PlayerExpansion.java:200)
at FeatherBoard (3).jar//be.maximvdw.featherboard.NR.Z(NR.java:3)
at FeatherBoard (3).jar//be.maximvdw.featherboard.Ny.E(Ny.java:4)
at FeatherBoard (3).jar//be.maximvdw.featherboard.jU.N(jU.java:30)
at FeatherBoard (3).jar//be.maximvdw.featherboard.sn.N(sn.java:73)
at FeatherBoard (3).jar//be.maximvdw.featherboard.sn.X(sn.java:90)
at FeatherBoard (3).jar//be.maximvdw.featherboard.sn.h(sn.java:3)
at FeatherBoard (3).jar//be.maximvdw.featherboard.api.scoreboard.ScoreboardLine.updatePlaceholders(ScoreboardLine.java:219)
at FeatherBoard (3).jar//be.maximvdw.featherboard.api.scoreboard.Scoreboard$AnimationUpdater.run(Scoreboard.java:9)
at org.bukkit.craftbukkit.v1_20_R2.scheduler.CraftTask.run(CraftTask.java:101)
at org.bukkit.craftbukkit.v1_20_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:842)```
?papi-dump
PAPI Dump
To generate a PAPI dump, execute the command /papi dump. Then you can copy the link by clicking on it in chat and selecting the COPY LINK button.
@rocky matrix 
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
i stg if its something so damn simple
there is a setting related to ip addresses i think
see if enabling that fixes the locale at all
just wondering
i'm just trying to see what paper did in 1.20.2
and I see that
seems like it could be related ๐คทโโ๏ธ
is it in config/paper-global.yml
only thing for logging is this yml logging: deobfuscate-stacktraces: true
hmm
but heres the whole file
damn
?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
you might need to report this to maxim
I cant find him on anything, and hes not active on spigot like at all
check the plugin threads
it might be related to the same thing papi is
but i see others have the same problem
tbh
hmmmmmmmm
i'm looking at this lol
sorry, im not really much of a java dev lol, what does this mean
just read the name
Add-config-option-for-logging-player-ip-addresses.patch
seems like it would add the option lol
but honestly, I'd reach out to paper support to see if they have any info/help
and you think that logging players ip is the problem with this plugin?
well, not exactly
in my eyes
I see getting the player's locale could be related to getting the player's ip
but I could be 100% wrong
I was just reading the patches they made for 1.20.2 specifically
Do you think that it could be that im running this on local host?
hm
like not paper spigot?
yeah sorry, regular spigot
how could we get it to just load up normally?
does papi no longer offer support for the simplegems plugin?
it says papi is required to use it @golden bison
im aware, but its not listed on the ecloud site and i cant get it to load in my server using /papi ecloud download
most likely included in the plugin, test with /papi parse me %placeholder%
what should come up after that?
also doesnt work on craftbukkit, i assume it doesnt work with anything 1.20.3+
placeholder api or the simplegems plugin?
the correct response, not the placeholder
I supposed all i can really do is just wait for maxim to post an update huh @mint fable
Alright, ive been at this for a couple days now and no luck lmao
fr
i don't even have 1.20.3 to test
so
they changed it from locale to cM in 1.20.2
and in 1.20.4 it's cO
alright
smh
wtf
i am running 1.20.4 btw
yes i can fix
ah alright
I mean, if this happens on not just paper, but spigot AND bukkit, then i assume its a plugin side thing?
yes it's an issue on all servers
imma go give my cats some treats while 1.20.3 builds
bet bet
should be able to give you a working version rq tho
alrighty
and just throw this into the expansions file?
alright
haha
aha
it worked
now, what is your bet on if 1.20.3 has a different name than the other 2?
i'm thinking yes
oh, fuck me
1.20.3 doesn't exist, it was replaced by 1.20.4
smh
alrighty, maxim better be checking his plugin regularly lol
are you going to upload this version to ecloud?
do you think if i use 1.20 it should work fine?
alright, just so i can keep configuring this server
it said in the logs
maxim?
ah alright lol
Hi, does anyone know of any placeholders that can help me generate a structure?
placeholders retrieve information, they don't (or at least shouldn't) run stuff
I am looking to create an advancedenchantments enchantment, but I wouldn't know how to do it because I need to make it generate a structure, but I find it impossible
you need to create a structure? ๐คจ
not exactly, generate a structure (igloo)
/setblock and goodluck ๐
what does that have to do with PAPI though
or /placefeature cmd for 1.18.2 (got renamed to /place in 1.19)
because I saw that in AE they can be used as placeholders and I was wondering if I could make something like an igloo
do you know what a placeholder is?
but well my mistake
Yeah, but Im a little groggy lately.
you could take a look at this plugin, https://www.spigotmc.org/resources/โฌ-blockstocommand-โฌ.103602/ tho i ve only used it for executableblocks, so idk if it can adapt to other things
basically, a placeholder just returns text, like a player name or your money for example
so I'm not sure how it'd help generate a structure
hm, I'm just looking for something like older versions. but I'll try that setblock thing
a command (like the /place cmd) can help generate structures
Im trying to do the enchantments from CE to AE, because CE has a lot of bugs. Does anyone know if there is a way to shoot multiple arrows with a bow?
moving to AE as a better option is crazy itself :/
I am talking about CustomEnchantments, because it has some enchantments that I like more and I see AE as a better option because it has more usable enchantments and better options to create them
Can you use papi placeholders in text entities somehow?
you can't use PAPI placeholders in vanilla features, unless you have a plugin that uses those features and parses placeholders in them
Okay thanks
https://api.extendedclip.com/expansions/bungeecord/ is there an expansion like this for velocity
I think this works on Velocity as well
oh thanks, also how can i get the online player count that a have a specific group with a placeholder
playerlist
@cursive patrol 
ok i have a list called staff but it looks like this when i put the placeholder %playerlist_staff_list_amount% its not showing the amount
are you testing with /papi parse me %placeholder%?
same with that command it still shows like : %playerlist_staff_list_amount%
did you /papi reload after saving the config?
yes
and you downloaded the expansion?
yes
thanks!
heya! i have some trouble with a menu for ranking up
the goal is when someone ranks up this message is displayed:
'[console] broadcast chat %player_name% has upgraded to &7Commoner&f!'
however, in the server it keeps saying %player_name% instead of the actual players name
fixed!! NVM
I'm having some trouble with PlaceholderAPI and it being added as a dependency once compiled into a jar. I'm using maven, and it works just fine, i can access the class. However, when compiling, the dependency isnt being added, causing a ClassNotFoundException. All of my other libraries are being compiled, but this one is not even in the list.
The following is added to my pom.xml
<repository>
<id>placeholderapi</id>
<url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.11.5</version>
<scope>provided</scope>
</dependency>
When making the jar (using the Project structure tab), the dependency is nowhere to be seen
(partial screenshot, but sorted alphabetically so it should be near the m)
https://bork.treble-is-fluffy.gay/floofed684ea2.png
I'm not sure whether this is a papi issue or a maven issue, but all my other dependencies installed just fine.
you need the PAPI plugin
that absolutely makes sense. how did i not think of that
ok works now, no clue how i did not realise that, thanks!
Hi. I need to create new expansion with my plugin. How Can I Register? ecloud register been blocked now.
Have you created the expansion already?
If so, provide a link to the source
I already made it
.
on git hub?
Github, gitlab, bitbucket. Whichever
Hi, Im trying to set up Venturechat and PAPI is required. I have it pretty much all setup but when I type in chat my ranks repeat itself
So you'd be better off building the expansion into your plugin since it already depends on it, see this guide: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/PlaceholderExpansion#with-a-plugin-internal-class
I dont have my own plugin source.
So I need to use out of plugin
I Only have jar file of RPGSharp.
Is it a public plugin?
Selling plugin
Have you got a link to it?
We're not going to host an expansion to a non-public plugin, so you can build the expansion into the plugin or just provide the expansion separately with the plugin when you sell it.
um.. ok thx
My tags are doubling iteself, can anyone help to fix?
Whats your chat format look like?
[Lvl.1][Newcomer]:[Lvl.1][Newcomer]: Wyvern
I mean the config
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
papi config uploaded
We'd need your chat config
And you need to copy pasta the link here for us to actually see it
oh ok let try to find it, sorry.
im not sure where I would find that with my host? Would it be under the Essentials Plugin Config?
Which chat plugin are you using?
VentureCraft
Should be in there then
or can I add placeholder without upload to ecloud?
Please respect the rules, be patient and don't ping staff members!
Users can manually put expansions into the /plugins/placeholderapi/expansions/ folder
package org.swlab.rpgsharpplaceholderapi;
import com.hj.rpgsharp.rpg.apis.rpgsharp.RPGSharpAPI;
import me.clip.placeholderapi.expansion.PlaceholderExpansion;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.jetbrains.annotations.NotNull;
import java.util.Objects;
public final class RPGSharpPlaceHolderAPI extends PlaceholderExpansion {
@Override
public boolean canRegister() {
RPGSharpAPI rpgsharp = (RPGSharpAPI) Bukkit.getPluginManager().getPlugin(getRequiredPlugin());
return rpgsharp != null;
}
@Override
public @NotNull String getIdentifier() {
return "rpgsharpextension";
}
@Override
public @NotNull String getAuthor() {
return "dople_L";
}
@Override
public @NotNull String getVersion() {
return "1.0.0";
}
public String onPlaceholderRequest(final Player player, @NotNull final String identifier){
if ( player == null){
return "";
}
if ( identifier.startsWith("RPGSharp_")){
final String string = identifier.split("_")[1];
if (Objects.equals(string, "Exp")){
return String.valueOf(RPGSharpAPI.getRPGPlayerAPI().getRPGPlayer(player).getExp());
}
}
else {
return "no data";
}
return "not in select mem";
}
}
This is my whole code. Why cannot load expansion?
[16:24:29 ERROR]: [PlaceholderAPI] Failed to load expansion class RPGSharpPlaceHolderAPI - One of its properties is null which is not allowed!
java.lang.NullPointerException: Cannot invoke "String.replace(char, char)" because "name" is null
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.getPlugin(PaperPluginInstanceManager.java:67) ~[paper-1.19.4.jar:git-Paper-550]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.getPlugin(PaperPluginManagerImpl.java:58) ~[paper-1.19.4.jar:git-Paper-550]
at org.bukkit.plugin.SimplePluginManager.getPlugin(SimplePluginManager.java:462) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at org.swlab.rpgsharpplaceholderapi.RPGSharpPlaceHolderAPI.canRegister(RPGSharpPlaceHolderAPI.java:16) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:223) ~[PlaceholderAPI-2.11.5.jar:?]
at me.clip.placeholderapi.expansion.PlaceholderExpansion.register(PlaceholderExpansion.java:147) ~[PlaceholderAPI-2.11.5.jar:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:193) ~[PlaceholderAPI-2.11.5.jar:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[?:?]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$4(LocalExpansionManager.java:366) ~[PlaceholderAPI-2.11.5.jar:?]
at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46) ~[PlaceholderAPI-2.11.5.jar:?]
at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.4.jar:git-Paper-550] at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.19.4.jar:git-Paper-550]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1483) ~[paper-1.19.4.jar:git-Paper-550]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:447) ~[paper-1.19.4.jar:git-Paper-550]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1397) ~[paper-1.19.4.jar:git-Paper-550]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1174) ~[paper-1.19.4.jar:git-Paper-550]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[paper-1.19.4.jar:git-Paper-550]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
this is error message.
IDK "java.lang.NullPointerException: Cannot invoke "String.replace(char, char)" because "name" is null" what this means.
oh i solved.
Hello, I have a problem with the placeholder API plugin (version 2.11.4) and Paper-196 (MC: 1.20.1). I also use several other plugins, such as essentialsX, eco, boosters, vault, and essentialsSpawn. I'm having a problem with the Boosters plugin, so here's what I want to do: basically, the plugin is designed to create boosters, so you can execute commands when a booster is active and when it's deactivated. To do this, I use the %player% placeholder, for example ; give %player% diamond 64. With the placeholderAPI plugin, the %player% placeholder is not replaced by the player's name, but by empty space. As a result, none of the commands work, and when I remove the placeholderAPI plugin, the player's name is recognized, so what can I do?
I've also downloaded the expansion player via /papi ecloud download player.
Even if I replace %player% with %player_name%, it still doesn't work, it's not replaced by the player's name.
Does /papi parse me %player_name% return your 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
Please respect the rules, be patient and don't ping staff members!
Does the plugin support PlaceholderAPI?
You might need to chat to the author of the plugin as if it's working in papi parse then it's most likely an issue in the third party plugin trying to use it.
In fact, the %player% placeholder works in the message category, which is used to send a message when a booster is active, but not in the command category, which sends a command to the console. But what I don't understand is that without the PlaceholderAPI, it works.
In the config file it says #Supports %player%.
%player% is probably an internal placeholder, nothing to do with placeholderapi
Check with the author is the best bet
Ok I just found the solution, in fact it's really the expansion player that makes the plugin bug, without it it works.
@balmy marten Hi, hey a question, is there a fastlogin expansion?
Please respect the rules, be patient and don't ping staff members!
Sorry
how to reset placeholder data statistics. the deaths/kills i tried deleting the world/stats wont work
nvm got it
"Placeholder got blocked due to security concerns (%checkitem%)"
anyone know how to disable this
i got it to work but it still spits these errors and its annoying
What plugin are you using %checkitem% in?
cmi
๐คข
so thats the help? lol
Im tryna
ah gotcha
figure out where in CMI is blocking it
thanks ill look to
cmi decided to block checkitem placeholders entirely because there was a security issue a while back
Why you using checkitem?
but it has since been fixed and there's no reason for cmi to really be doing this anymore
but ๐คทโโ๏ธ
im ghetto-rigging quests because questcreator dev disappeared
there might be a config option for it? not really sure tbh
using statements and variables just making something that works
I dont know what the config looks like, I was gonna check it to see but I cant find it anywhere online
cant you just do %cmi_user_itemcount_[itemIdName(:data)]%
Then if the value is greater than 0, continue
@tame kestrel
Yeah, Cheap little work around
im not surprised, another dev wanting to replace it all
It was probably added because of that checkItem issue
i'm also not surprised, it is CMI after all
i took a hiatus from my server for 6 months, i get back and everyuthiungs destroyed on the backend
๐คข
super frustrating
and yeah, I feel I've tried to look for the config online before too, but didn't get much
hey cmi is powerful for what its worth, i've made incredible things lol but yeah some devs are REACHING
very powerful
I just dont like CMI. Used it like once and hated every second of it
big bloatware imo, but if you need it then ๐คทโโ๏ธ
^^
Yeah, It takes too much resources
bloatware forsure, luckily you can disable anything you dont want
Thats why I dont like it
nah just go thru and disable what you dont need, its one of my lowest resource users
out the box its a mess
its a lot to digest
my servers 4 years old now though, so its found its place lol
too much work ๐
Yeah, there is like 100's of base configuration files
Its too overwhelming and annoying to deal with
@tame kestrel just fyi I don't think they have a config option for it
seems nobody has touched the discussion since tanguygab opened it the last time somebody came to us with the issue
It was a stupid thing for them to do in the first place IMO
Yeah
I just find it incredibly stupid/frustrating that they coded in a hard block for it
https://pastebin.com/TaKJin9R theres the config if u care to have it for the future
fr
i know what im doing if im adding a remove/give checkitem to a command
just so you know the checkitem issue fyi:
the issue is with give or remove placeholders
i appreciate the help though, i am currently 7 day banned from mythicmobs because their solution to my issue was "so uninstall it"
ok heard
ill remove it thru the vanilla cmds
they can be issues because sometimes players can parse those placeholders themselves
100%
was considering it anyway i just like to use as few lines as possible LOL
multiple plugins have the "users can parse placeholders" issue too
we've done some updates for deluxemenus to fix issues there I believe
oh are you the deluxemenus dev?
because users could type placeholders instead of argument when opening a menu and it would eventually get parsed
we are the deluxemenus dev
HelpChat
also, open source now ๐ https://github.com/HelpChat/DeluxeMenus
die hard for deluxemenus, thank you for that one. thats good, deluxechat is yall too right?
yes, but discontinued
chatchat is a replacement in the works, but IMO it's a completely different plugin for a different userbase
I always used basic chat plugins so idrk a good one nowadays
i just went to chatcontrol, it works i guess. never satisfied i didnt really like venture chat either
i am intense with my chat haha i hate hate hate ugly chat. (why does hypixels chat look like that)
espeically with bedrock users on the game, gotta heighten the security
welp, now time for me to eat food
power comes at a price, you'll hate it out the box and it takes a while to fine tune lol
good chat thanks for the advice
yep ofc
@mint fable Listen, I know Skript is bad but i meannnnnnnn it works so well when you are good at it
so does java
I dont speak complicated
lol
mojang should take notes.
oh i shouldve mentioned this instead of yapping. i corrupted my main account on my server somehow, when i was switching to INTEGER meta from STRING or w/e and i missed a line and made it put a string for an integer, long story short my main acct is completely unable to open that specific menu. ill send an error in a minute if it produces, but if i recall, it doesnt
perfect!
send your player data file
Meta is all coming along!
or try fixing it with /dm execute <player> [meta] ...
i wonder what is broken exactly
[22:10:24 WARN]: [DeluxeMenus] Failed to get meta value for player Sleepington with key 'MENU' and type 'INTEGER'. Reason: Saved tag can not be converted to type: INTEGER
i can just delete my player data and itll fix right?
ye, or fix it
i dont know what value it is, ill delete
Got meta to work ๐



