#placeholder-api
1 messages · Page 180 of 1
is there a way to get placeholderapi dev builds that work for 1.18
are expansions supposed to work with the dev version?
none of mine are for some reason
Wouldn't really be much of a plugin without expansions lol
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.
Hello! Can anyone tell me when PAPI will be ready for 1.18?
can u give me some of these builds?
👀
You can find the latest PlaceholderAPI dev builds here: https://ci.extendedclip.com/job/PlaceholderAPI/
here @sonic stratus ^^
thx ❤️
Just check the pins for the 1.18 build
Is the Math expansion working
Flr some reaspn when i download it
And reload
It crash all the placeholders
any errors in console when u reload?
do you have java 11 or newer? if not that's your problem
@arctic loom I was thinking. can't you just use the spigot provided caching system (believe its the google one) instead of using caffeine? This way the expansion can work on older java versions
Not a fan of the Google cache since it, at least in older versions, was considered "unstable" which my IDE would complain about
caffeine is based on guava's cache
fun little fact
not helpful to the convo just a fun fact
yes. I Found out today when I went to the caffeine github.
Hey!
Im trying to work with Papi and TownChat, however:
/papi parse me %townychat_channel_name%
Returns null OR doesnt update to the right channel, any clue whats going on?
Hello I have a problem I am trying to display in my scoreboard %vault_eco_balance% But it does not display anything. When I run / papi ecloud donwload Vault. And then / Papi reload it does nothing. However, the expansion is good to download but does not work.
Version: 1.16.5
Placeholder version: 2.10.10
Vault version 1.7.3
/Papi dump = https://paste.helpch.at/juhomijove
go to plugins/PlaceholderAPI/expansion and delete the vault expansion jar from there. restart your server and download the expansion again using /papi ecloud download vault then /papi reload
I just did what you told me to do and still nothing. Yet I have already done a lot
oh. IC. the ecloud version was not updated.
I just have to wait for the update to post?
yeah
does your plugin work on 1.18?
PAPI?
You can find the latest PlaceholderAPI dev builds here: https://ci.extendedclip.com/job/PlaceholderAPI/
get it from here ^^^
it works on 1.18?
if you get it from that link yes
thanks
Hello. [14-12-2021 01:15:48] That player is not online! I'm using %player_name%
For DeluxeMenus
?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
^ read that
Thank you is working
'Magic Dust':
material: SUGAR
slot: 11
priority: 1
update: true
hide_attributes: true
display_name: '&eMagic Dust'
lore:
- ''
- '&7Apply magic dust to an enchantment'
- '&7book to increase the success rate.'
- ''
- '&ePrice:&f 200 &6Coins'
- ''
- '&fClick to get this item.'
left_click_requirement:
requirements:
has_money:
type: has money
amount: 200
deny_commands:
- '[message] &cYou don''t have enough money for this!'
left_click_commands:
- '[console] rc one %player_name%'
- '[close]'```
economy money not taking
That's deluxemenus config
It doesn't take money, it only checks how much they have. You need to add a command to remove the money
- '[console] eco take %player_name% 200'
requirements:
has_money:
type: has money
amount: 200
deny_commands:
- '[message] &cYou don''t have enough money for this!'```
?
You'd add it to the left click commands.
Otherwise that would take the money then check if they had enough money
Yes here something wrong, an interal error
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
How I can add item in inventory keepondeath, possible move only in inventory and when click is open /deluxemenu open <menu> (player)
for the javascript expansion one, the java version is too low - you have to either use an older version of the JS expansion or upgrade the server's java version
java version on my computer?
and for the StatzExpansion - it seems like the expansion is outdated
no - on the server which minehut doesn't allow 🥲
you'd have to downgrade javascript versions - lemme check which one
@snow tinsel delete the javascript expansion from plugins/PlaceholderAPI/expansions then do /papi ecloud download javascript 1.6.0
ok and for the statzexpansion?
what Statz version are you running?
With deluxemenus I can add item in inventory keepondeath, possible move only in inventory and when click is open /deluxemenu open <menu> (player) ?
2.0.1
which verison should I get then?
wdym?
Statz?
yes
why?
expansions can be built-in to the plugin
the ones in /papi ecloud download are usually for ones that don't need an entire plugin
like the Player expansion
oh ok
nice
Hey guys, i cant seem to find the placeholders for Aureliumskills on the placeholder website. Did you delete it, or is it listed with another name?
according to the plugin page its all built in and you can list them here: https://wiki.aurelium.dev/skills/usage/placeholders
ohh, im sorry 😦
All good, here to help
Hey! Can someone help me with my problem?
I use LoliServer-1.16.5-build219
Plugins: TAB, PAPI, PermissonsEx, Vault, Chatty
Problem:
I tried to show in tab in which world player is located, in world its ok, but when I went to the nether it show me DIM-1 (not world_nether) Why?
I tried %world% and %player_world%
Hi, I'm not sure but I think its because of Forge world file structure
On Spigot server is in root separated folder for every world
Hi everyone ! 👋
I'm actually trying to use my placeholder on featherboard, but I doesnt work, even if the in the /papi list my plugin is active
(btw on featherboard i'm using {placeholderapi_myplaceholder} )
what version of featherboard do you have?
if you're on 5.0.0 or newer you should note that Featherboard no longer uses MVDWPapi but rather it dirrectly uses PAPI
so it should be %myplaceholder%
I'm using a version that support 1.8
so its older than 5.0.0?
yes :/
if ("%checkitem_inslot:39, enchantments:3;blast_protection%" == true) {
//do stuff
}
I dont understand how to check for enchantments
can you execute /papi parse me %myplaceholder% of course replacing myplaceholder with the PAPI placeholder please?
if you do /papi parse me %checkitem_inslot:39, enchantments:3;blast_protection% what does it say?
I cant debug currently :c
well. I recommend you remove the space before enchantments, you also make sure the enchantment names correspond to the spigot ones (on newer versions I believe its called PROTECTION_EXPLOSIONS idk what its called on older ones), and also you make sure in your PAPI config the options boolean: return true and false and not yes and no. if they do change the code to: js if ("%checkitem_inslot:39, enchantments:3;blast_protection%" == "yes") { //do stuff }
Hi team, I seem to be having issues with griefprevention expansion, has stopped working (got covid?) ecloud seems to load it fine but it is not present in papi list
Is there an EZRanksPro API where I can hook into? Because PAPI has a nice API repository, EZRanksPro doesn't
no. there isn't any
theres a class within the jar, but thats about it
oh is there?
could setup a maven repo in the future i suppose
Use https://paste.helpch.at/ for errors, logs and configs. So we don't spam the discord.
something with registration?
@Override
public boolean canRegister() {
return (plugin = (AP) Bukkit.getPluginManager().getPlugin(getRequiredPlugin())) != null;
}
is this expansion inside a plugin or is it an expansion that you add to the expansions folder?
inside a plugin
well then follow this instead: https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/PlaceholderExpansion#with-a-plugin-internal-class
don't use uppercase in your identifier first of all
second of all it will be %identifier_params%
so %worldofplayer_world% for example
oh wait
nvm
you're not using the params at all
this?
@Override
public String onRequest(OfflinePlayer p, String params) {
super.onRequest(p, params);
Player player = p.getPlayer();
if (player != null){
return localizedWorldName(p.getPlayer().getWorld());
}
return null;
}
ok. first of all remove the super.onRequest line. then try /papi parse me% worldofplayer_SOMETHING% just like that
hmm
it worked in chat
but not in tab
well does your tab support PAPI?
you need to add the _
%worldofplayer_%
PAPI has a special format
it needs to be %identifier_PARAMS%
and if it doesn't find the _ its not considered a valid placeholder
ok. doesn't work
tabsuffix: " %current_world%"
public String getIdentifier() { return "current_world"; }
well
as I said
you need the _
and you shouldn't have _ in your identifier
your identifier should be currentworld
and then you should use %currentworld_something%
@turbid tide Is there an extension that takes the tps of the world (not the server)?
Please respect the rules, be patient and don't ping staff members!
the TPS is calculated based on the server 🤨 there's no per world TPS
ok
im using geyser and TAB, I wanna display the vault_eco_balance placeholder on the scoreboard, but in the bedock players it doesn'T show, but on java it show, do you guys know how can i put the player balance on the scoreboard in both java and bedrock?
where can i download latest placeholderapi version?
You can find the latest PlaceholderAPI dev builds here: https://ci.extendedclip.com/job/PlaceholderAPI/
at this link ^
what do you mean when you say its not working? what about it is not working? does it not load at all? are there specific placeholders that don't work?
All placeholders
in console
[TAB] Disabled in 3ms [18:29:36 INFO]: [PlaceholderAPI] Successfully registered expansion: tab [3.0.0] [18:29:36 INFO]: [TAB] Enabled in 15ms
But on scoreboard doesnt show values
how to disable this?
yellow-number-in-tablist: '%ping%'
doesn't work
I am just a player who doesnt know how to turn on placeholders
I dont know how to help u bro
remove the %ping% partt
or set it to a special number maybe
and what should i do?
and what placeholders are not working?
those are not PAPI placeholders tho
%vault_prefix%
no. do you have the vault plugin insntalled?
also the vault extension
only vault
Amm can i get Support, im using LeaderHeads too, i can prove i bought it
If a placeholder, returns "" what does that mean?
hi i need help with /papi ecloud download ParseOther
i wanna display the rank of other players on my hologram
%parseother_{rng_online_player}_{uperms_prefix}%
i use ultrapermission plugin for permission
any idea how setup he rank of other player on holograms
fixed
Robin (the developer of leaderheads) asked us to tell everyone that needs help to contact him. so please contact Robin#7385
Okey thx
have you tried the placeholder in /papi parse?
any idea on griefprevention guys?
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)
You need Java 11
I thought so
container@pterodactyl~ java -version
openjdk version "11.0.13" 2021-10-19
OpenJDK Runtime Environment 18.9 (build 11.0.13+8)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.13+8, mixed mode, sharing)
container@pterodactyl~ java -Xms128M -Xmx11264M -Dterminal.jline=false -Dterminal.ansi=true -jar TacoSpigot.jar
Error running patched jar
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.destroystokyo.paperclip.Paperclip.main(Paperclip.java:177)
Caused by: java.lang.NullPointerException
at org.apache.commons.lang3.SystemUtils.isJavaVersionAtLeast(SystemUtils.java:1413)
at org.bukkit.craftbukkit.Main.main(Main.java:23)
... 5 more
container@pterodactyl~ Server marked as offline...
what does that mean?
s
Did you reinstall?
Reinstall what
Your server on Ptero
No
Do that
All it does is redownload the jar
unless whatever TacoSpigot is has a weird reinstall script
Try Paper
ayo how do I remove the extra 0 at the end in the math papi expansion
I want it to be only 0.20
%math_1_....%
ty
Sending me an error
Please respect the rules, be patient and don't ping staff members!
I'm going to investigate
unit of measurement
Hi, does anyone know what unit of measure it indicates, it is %player_time%
value: 176144211
My bad bad
I think that millisec
Which plugins is it ?
send me link in pm
PlaceholderAPI extension
is Player
oooh
I'm not sure and I'm going to try but could be the online players time
I meant the same as /pt
NoooOOOoo
that might be like the player's real time. in unix time. so how many milliseconds have passed since january 1st 1970 or something like that
Finish by downloading another plugin to fix my problem u.u
thx
up ?
You never answered this
I do, but it send me an NullPointerExeception
Fixed 😉
Yo, this is a bit of a stretch of a question for PAPI but it is PAPI related. So we've got a script set up with JavascriptExpansion (here https://github.com/PlaceholderAPI/Javascript-Expansion/blob/master/expansion/src/main/java/com/extendedclip/papi/expansion/javascript/JavascriptExpansion.java).
This script is player-specific and is set on a server-wide UltraBar. It shows the region the player is in, and replaces the region with a nice String. (https://www.spigotmc.org/resources/ultra-bar.20113/)
This JavaScript script is 30% of the main thread on spark, so I created a custom expansion which does the same as the JavaScript script but in a class, cutting out the middleman (https://www.toptal.com/developers/hastebin/kucupukuhe.java)
When UltraBar is configured to use this new custom placeholder, it doesn't load:
[12:46:31 WARN]: Player specific placeholders do not work on server wide messages!
[12:46:31 WARN]: The plugin UltraBar will now disable it self due to this.```
My question is why is the JavascriptExpansion Placeholder we created not recognised as player-specific, but the one I coded is recognised as player specific?
Nevermind sorry, found the answer and it's pretty solidly not PAPI related. If anyone's curious, https://github.com/ryandw11/UltraBar/blob/master/src/main/java/me/ryandw11/ultrabar/depends/PAPIExists.java this is how UltraBar checks if its player specific. Just going to fix my code so no exception generated if player is offline/null/whatever
Horrible
Hello, I come back to you once again. I can't use the Vault Placeholders. Is it brand I use Mohist Mod + Plugins? en 1.16.5? Car for others it works well.
What core do need for PlaceholderAPI? I'm using Paper, does it fit?
?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
hey i tried putting %math_{server_online_world1}+{server_online_world2}% on a scoreboard, but the problem is it only shows the world nether. i have math and server installed btw
so when im in the overworld it says zero, when i go into nether it suddenly changes to 1
ive tried removing the 1 and 2 and i think when i remove 1 so only keep the 2 it shows the overworld but same way around
Would someone be able to point me in the right direction? I’m looking to replace the text result of another placeholder if it returns a specific word/result otherwise it would just return a regular response. I’ve tried googling a few things but I don’t think it’s quite what I’m looking for and I don’t know what to search since I’m pretty new to JavaScript
Hello, how do I make a deluxe menu open another menu with an item?
[openguimenu] <menu-name>
hello, does anyone know why the placeholderapi does not work on the holograms?
Holographic Displays plugin
the menu is called jobs.yml and in the menu I put - '[openguimenu] jobs.yml' and it doesn't open the menu even without the .yml
cuz hd doesnt support papi by default
u need holographic placeholders/holographic extension to make placeholders work in hd
Hey. Can anyone see why its not working for me? 😦 https://pastebin.com/8yj8G33R
i made a custom placeholder with javascript but im getting errors if i try to /papi parse me
im working with 1.18.1 and i just upgraded from 1.17
are you on the pinned version by chance
i used the latest on jenkins i guess
not working 😦
not the js
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
no I think it's javascripts.yml
tps:
file: tps.js
engine: nashorn
try removing engine: nashorn
should default to javascript ig after that
and then it might work
still error
is there some kind of special expansion for the newer javascript?
not really
it could be broken atm on 1.18 but not sure
Is it still the same error? that would indicate trying to use nashorn
maybe try engine: javascript
that's what is in your config you just sent me
thats working
nice
Hey all. Is there a memory leak with PAPI 1.18? I'm using the dev build, and when PAPI is enabled, it spikes up and eats every bit of the memory on my server, and then crashes with no error message. It could be an expansion, but I'm not very smart with this stuff. I disabled every plugin individually before I came here, and Papi was definitely causing it
Is there a placeholder/expansion to decrease an amount from a parsed placeholder
a placeholder from other plugin returns a number like %something_param% => 5
so it decreases by 1 and it returns 4
have you tried disabling every expansion individually @turbid hound ?
before that, have you tried updating all expansions?
/papi ecloud update all
I'll try
Please respect the rules, be patient and don't ping staff members!
hi is their any place holders for essentials show balance
/papi ecloud download vault then /papi reload then use one of the 4: %vault_eco_balance% %vault_eco_balance_commas% %vault_eco_balance_fixed% %vault_eco_balance_formatted%
ok thanks
Hi! My server is running 80% CPU on an 3900x, and I noticed this
https://timings.aikar.co/?id=0bb3cf85035846109d3c41675ab6e02f
Any help pls?
Eventually goes 100% doing nothing and crashes, 0 players when happened
seems like it has something to do with nbtapi which can either be built inside one of your plugins/PAPI expansions or it can be just installed on your server as a plugin
So, how do I track it?
if you don't have the nbtapi plugin installed on your server I recommend you remove plugins 1 by 1.
oh wait nvm. that only happend twice in the entire timings. so it might not be bad.
I'm not very good at reading timings but I think this happens like once an hour or something like that. so its not that bad.
Yeah, but made a loop so it can restart over, but lagging causes ftp services and RDP not to work
im using this server also as my home server
Can't add an screenshot, currently is running to 90%
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
do you have spark installed? can you generate a report please?
No, do you want me to install it?
This is the new report
no papi showing as lag
yeah. the one that was showing was happening every hour or so. it wasn't a problem
run /spark profiler and use the server for 5 minutes or so
then do /spark profiler --stop
hey
i tried putting %math_{server_online_world1}+{server_online_world2}% on a scoreboard, but the problem is it only shows the world nether. i have math and server installed btw
you need to run it for like 5 minutes. don't stop it until then.
and if possible when the cpu is running high
i tried loading world, but didn't happened
/papi parse me %server_online_world1% what does it return?
also /papi parse me %server_online_world2%?
ill try in a few minutes
its going a bit up but wont hit 90% or like that
currently at 15%
but constantly going up, slow but going up
both returns 0
It could be an minor loop causing that going up slowly but ending in an 100% CPU crash?
and when you go in nether one of them returns 1?
if i remove the 2 it counts overworld and if i remove 1 it counts only nether
but doesnt count anything if i keep it like it's supposed to be
do you know hwo your worlds are named exactly?
nah i pretty much installed a clean 1.18 paper build a few days ago, but do i just check that in the world folder
you're trying to count the players from overworld and nether then?
yeah all worlds
that didnt work
when i go into nether
it says zero
only works in the overworld
wait never mind
i know whats wrong
sorry for the trouble i just messed up my scoreboard so it didnt work in the nether
thanks
ah. alright. no worries
@turbid tide My CPU is currently at 24% and increasing slowly
What do you want me to do? Spark, timings or what I should try?
https://spark.lucko.me/dnfgI8RK5G did that over here, at 20%
well this has only been running for 4ms. you're meant to let it run for a few minutes
so you run /spark profiler then wait a few minutes
then do /spark profiler --stop
i've ran it for 7 min
maybe average time of response?
could be
As far as I can read, it parks unsafely, might be occupating resources without a reason?
oh
are you loading new chunks maybe?
Yeah, tried to stress the server
but didnt reach any higher CPU
Im now doing another spark without joining the server, which is usually how it crashes
doing nothing
ok. so what I'm starting to think is that your server doesn't actually use 80% of your cpu. what is happeninng is that windows sees you don't use it and just decides to give the server as much as it can even if it doesnt actually need it.
because your server seems to be sleeping quite a bit (the parked stuff) which according to the documentation is a good thing.
So what can I do?
I mean if you start using your cpu on something else does it still go up? or are you limited?
see this is why you either A. need an operating system that can limit things (such as linux) or B. need Docker so you can limit stuff
my favorite is both
lol
what is the placeholder to show me when player got their nickname changed in Ess there is option to put a character as prefix showing it is not their true nickname
tag me if u have answer thanks
use a plugin like TAB and then I believe you can just put placeholders there. so %player_health_rounded% for example
you can use math then. %math_1_{player_health_rounded}/2%
Updated my server to 1.18.1 (using papi 2.10.10) and none of the placeholders anywhere seem to be working anymore, using parse command just returns the variable I entered, what am I doing wrong?
You can find the latest PlaceholderAPI dev builds here: https://ci.extendedclip.com/job/PlaceholderAPI/
try getting the latest development build of PAPI ^
Installed DEV-139, still not working
Have already tried to regenerate config, removing and reinstalling extensions, running on paper if it's relevant.
none of those are PlaceholderAPI placeholders my friend
are you using TAB by any chance?
oh now I see, papi placeholders work, but extension ones (luckperm ones for example) dont seem to be working, am using TAB yes
u sure you have the luckperms expansion installed? /papi ecloud download luckperms then /papi reload. the tab placeholders were removed in a version and were re added in the newest one I believe if you still want to use those.
Anyone happen to know javascript that could tell me what I'm doing wrong? It doesnt throw any errors in console when I try to parse the placeholder, I'm trying to replace the original placeholders reponse of "none" with a blank response
var result = "%lands_land_name%";
function LandName() {
if (result == 'None')
return ""
else if (result == 'TestLandName')
return "ReplacedLandName"
else return result;
}LandName();```
I Don't think you can use ' to represent strings in js
var result = "%lands_land_name%";
function LandName() {
if (result == "None")
return "";
else if (result == "TestLandName")
return "ReplacedLandName";
else return result;
}
LandName();``` try this maybe
Still no errors but the placeholder returns None in chat as normal
if you want to use PAPI placeholders in essentials you have to install chat injector I believe. essentials doesn't support PAPI
Im not to familiar with the string replace option in java, I tried it but didnt get anywhere
is the placeholder output colored by any chance?
It is, darkgray &8
well. that might be a problem.
1 sec
var result = "%lands_land_name%";
function LandName() {
if (result == "§8None")
return "";
else if (result == "TestLandName")
return "ReplacedLandName";
else return result;
}
LandName();``` try this
You're a lifesaver, that worked to fix it
I'm not sure if the plugin is maintained anymore. might be broken. but that's all we can really do.
no problem
you could try CarbonChat. seems pretty nice and afaik it supports PAPI.
there's a builds on that page
builds link*
Another question if you don’t mind, blitz, I was looking to use the JavaScript as well to be able to filter out some of the worst land names if people created one with that but since they can apply colours to the land name as well would I have to use something like a regex filter to match for any colour variant of that bad name?
that’s some thing I could probably Google but I just wasn’t sure if that would be what I needed
well you could just look if the name contains a bad word. instead of looking if the entire name is a bad word.
Would that be fairly simple? I’ve worked with regex filters in the past but JavaScript is both interesting and frustrating at the same time
no need for rejex. just use the indexOf method
for example: "testStringwithBadWord".indexOf("BadWord") would return 14 and "testStringwithNoBadWord".indexOf("SomeBadWord") would return -1. you can use those values to check if the string contains a bad word. if it returns -1 it does not otherwise it does
How can I upload my expansion to the eCloud? Registration is closed
@balmy marten will help you make an account when he wakes up
ok
@dark yacht can you test an essentials expansion please? see if this removes those console messages and also if it fixes the baltop
they accept expansions that are specific to your own 1 plugin right?
is it like a private plugin? then it might not be accepted (the expansion).
if its a private plugin I recommend you build the expansion inside your plugin instead of making it an external class
well not private its on spigot but for .99c
yeah. that's fine
yeah. pretty sure you can change those from PlaceholderAPI's config.yml
umm can someone tell me whats wrong with the placeholders on featherboard?
it uses PlaceholderAPI
iirc it used mvdwplaceholder or smth like that, but not anymore
and plus - onlineplayers isn't a valid PAPI placeholder anyways
I used mvdw placeholders before i used the mvdw and it still did the same thing
it's %server_online%
or with mvdw try {placeholderapi_server_online} maybe?
if you're on Featherboard 5.0.0 or newer you have to use PAPI placeholders as featherboard no longer supports mvdw placeholderapi
papi placeholders?
PlaceholderAPI placeholders
%placeholder% inside the config?
yeah
and without the placeholderapi_ stuff
and replace {} with %%
yeah
no problem
ExpansionsLoadedEvent to FeatherBoard v5.1.0
dm me a username and email address and I'll create it from my end
How do you become a verified expansion so players can download with command?
what expansion are u trying to verify?
i just uploaded it https://api.extendedclip.com/expansions/hcfplus-expansion/
@balmy marten ^
It's not just me lol
any chance you can link the source code to the expansion?
ah right. I keep forgetting it was moved to a button.
I keep looking on the right
getAuthor should return ur ecloud username
and identifier should always be lowercase
yeah that to
all lowercase. otherwise it will just break
never knew this. good to know
also you should note the placeholder will actually be %identifier_hcffaction%. so in this case %hcfpluspapiexpansion_hcffaction%
oh ok had no idea
yeah. might want to change the identifier to hcfplus and the check in your onRequest metohd to be just for faction
so this way it will be %hcfplus_faction%
yep just did that
Where do I upload the update to? I can only see to change description and stuff
got it
ok all fixed
you also have to make sure the ecloud name matches the identifier I believe. it should be HCFPlus. no Expansion
but I can change that for you
not sure if you can
oh ok i can change it
getAuthor case needs to match, should be lowercase as your username is
cube. that's a bit stupid don't you think? xD
xD
its hilarious
getVersion needs to match whats on the ecloud otherwise it will say it always needs an update
fixed
ok. verified
thank youu
no worries im still polishing up the actual plugin
hi, where can i download the latest dev version?
thx
How can I have a place holder inside of another one for eg with animations im trying to do %animations_<rainbow>&l%player_name%</rainbow>%
but this doesnt work
I also tried %animations_<rainbow_player_name_/rainbow>%
but I cant seem to figure it out
Try %animations_<rainbow>&l{player_name}</rainbow>% @copper sandal
nope 😦
I dont understand the key1 value think
I dont understand that msg really tbh
Hmm
doesnt work but when I do %animations_<rainbow>&l{player_name}</rainbow>%
cause I read both wiki's and yeah
The issue is that it doesnt show the player's name
but animation still works
I ran into a small issue when using javascript to replace a players claimed land name bad words if used, it all works as expected but if a player makes a land name called woRD2 or any variation in capitals/lowercase it no longer returns the ProhibitedText response and I'm not quite sure how to fix it.
else if (result.indexOf("Word1") >= 0 || result.indexOf("Word2") >= 0 || result.indexOf("Word3") >= 0)
return "§cProhibitedText§r";
#placeholder-api message Someone help me on why this aint working I got Player extension and Animation extension etc
what does the animation show then?
the text saying {player_name} in rainbow
Please respect the rules, be patient and don't ping staff members!
well. either the player expansion isn't work which you can test by doing /papi parse me %player_name% or the animation expansion doesn't support PAPI placeholders
it works for my scoreboard on the side the player expansion and I stated above I got both animations and player expansion
and the animation expansion is the one on the papi website ?
yeah just did parse and it works fine
yeah. my assumption is then either the rainbow tag doesn't support placeholders or the entire expansion doesn't. (but since the wiki claims it does support PAPI its probably just the rainbow tag)
Will this be fixed or nah ? and yeah I found it strange it said it worked but I did try everything before asking hence why I came in here
we don't know. its not our expansion. and we don't have access to the source code either to fix it ourselves.
ahh ok yeah its just the rainbow tag and some of the other animations are a bit broken rip
it might not be broken. I might remember niall (the author) saying something about it being either very inefficient (performance wise) or not being really possible
It just doesnt behave how its shown on the site tbh and probably cause its the placeholder inside too
ill just have to without ig
Hey blitz, do you know if there is a placeholder to show the ingame days amount (f3)?
How can I show ingame day through scoreboard?
d;spigot World#getFullTime
long getFullTime()```
Gets the full in-game time on this world
The current absolute time
probably this
how to use?
He needs a placeholder, not a code reference 😅
yes😆
How do you want it to look like though?
Just the number of days from f3, right?
No time or ticks for the actual day
damn, 11k days on my server, welp xd
yes
20m iirc
11k+20 = alotta
153 days
5 months
pretty precise, last wipe was on juli
Anyway, i must be blind since even i cant find the correct placeholder
Yeah it has to be made
Yikes
Yea im not doing that, got clippy to set up still, a server, a website - im completely overbooked for the next week lmao
hi
((I am using the google translator))
Hi, the DeluxeMenu menu requirements do not work.
As you can see, here I should change "NOT WORKING" to "WORKING", I am using the variable% jobsr_user_isin_Woodcutter% for the woodcutter job for example, I have deluxemenu 1.13.3 and placeholperapi 2.10.10.
I am using a paper 1.8.8 server
do you understand my explanation?
=ver deluxemenus
1.8.8
1.12.2
1.16.5
1.17.1
v1.10.5
v1.13.3 - Latest
v1.13.4 - Dev Builds
v1.13.4 - Dev Builds
@hallow zinc 
Hello, is there any papi addon that allows me to make "pixel art" in the chat
something like this
doesn't sound like something you'd use papi for really
ah okay
https://prnt.sc/23fvgeb Statistic does not work properly in version 1.18.1, the link given does not work, what can I do?
I have 1.8.8 paper, I already put deluxemenu 1.10.5, should I also change the version of Placeholderapi? I currently have the latest version
@mint fable
Please respect the rules, be patient and don't ping staff members!
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
no, it still doesn't work with 1.10.5
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
looks like it has to do with a menu that has permission requirements
it's possible the requirements changed between 1.10.5 and 1.13.3
so you built on a newer version, and now have to change it back for 1.10.5
ok, I also wanted to tell you that this did not fix the problem, it remains the same
and you're sure it's returning &aTrue? can you take a picture of /papi parse me <placeholder>
still not working, nothing changed
type: string contains
input: "%jobsr_user_isin_Woodcutter%"
output: "True"
?dm-requirements
view_requirement:
requirements:
requirement_name:
type: TYPE```
I'm very confused
Like me, it doesn't make sense because it doesn't work
sure, it just shows X in red, like I'm not working on those jobs, and they should be green, since if I'm working
okay what if we try javascript
type: javascript
expression: '"%jobsr_user_isin_Woodcutter%".includes("True")'
I have no knowledge to do that with javascript, I would need help with that
did it work?
in deluxemenus, i wanted to create a shop using a placeholder from a plugin we made
and the action when clicked doesn't "read" the value that the player has
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
what mc version and what deluxemenus version?
I don't understand javascript, where should I put it?
replace your current requirement with that
you see the type: string contains
replace it and line it up
@river glen can you send your papi config?
and shouldn't I add anything in the Placeholderapi folder?
nope
@river glen and typing /papi parse me %checkitem_mat:GRANITE% is returning yes correct?
I presume it's working, I made it 😉
yes, im asking about the buy option
because the sell option works properly
type /papi parse me %spacemc_money%
it returns the amount of money that i have
can you send a picture
i cant send it here
?imgur
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/ to upload images/screenshots.
You can also use a screenshot service like gyazo or jinx and post those links here.
it still doesn't work, I don't understand anymore
view_requirement:
requirements:
joined:
type: javascript
expression: '"%jobsr_user_isin_Woodcutter%".includes("True")'
type: javascript
expression: 'Number.parseFloat("%spacemc_money%") >= 100'
i'm so confused, are we sure we are editing the right file @hallow zinc ?
it's happened before
if we remove the view requirement entirely, does it show?
It is the correct file, look, I modify it for you to see
still nothing
add lots of X's to it, it's the correct file
the entire DeluxeMenu folder?
still
also seems to be failing me...
well, thank you very much for time, in another moment you continue helping us, no problem
I send you the menu to the private one and you look at it when you have time, thank you very much
You can find the latest DeluxeMenus dev builds here: https://ci.extendedclip.com/job/DeluxeMenus/
@river glen 
I tried before
not you, you should still use 1.10.5 I believe
I sent you a request so I send you the menu and you look at it when you have time
updating didn't fix the issue
Whenever I download the Math expansion, my Player expansion stops working
And after I download the Math expansion, when I do /papi reload nothing happens
Man I'm 0 for 2 today, I legit got no idea
Blitz will fix all issues 👍
the math expansion needs java 11. it probably breaks the entire loaded bcz you have java 10 or lower
cant xD
Ah alright
Is there a way to do math like that with a different expansion or should I try an older version?
older version. 1.6.0 or something like that
maybe 1.0.6? I forgot xD
Okay thanks!
blitz, do you know why this doesn't work?
@river glen what's' the problem? I really can't go all the way up to read all the text
1.17.1 server with 1.13.4-dev-125 deluxemenus version
hmm. have you tested with a different javascript requirement? deluxemenus uses nashorn which is like ecmascript 5.1 or 6.1. so might not have Number.parseFloat
nope, i got this one from cj
I did 1.0.6 and it loads fine, but its still not working. The /papi reload command words fine and everything is good, but /papi parse isnt working but it does with the Player expansion
try using something like expression: '5 > 8'
I am doing %math_1+1%
can you send a full startup log in a paste bin please?
still
There is this error https://paste.helpch.at/fawefesaki.sql
I downloaded that version using the command also, not the website
((sorry my english, i'm using google translator)
Hi, let's see if you have any other solutions to the problem I have, the requirements are not working in the menus.
This element must change when the user is hired in a job and says "TRABAJANDO" in green, but instead, it always appears in "SIN TRABAJO X" in red.
My server is 1.8.8 and I was using the latest version of deluxemenu, I tried 1.10.5 and it was not a solution.
yeah. not sure if that's something we can really fix. the problem is that you have either a server jar or a plugin that messes with the class loaded and breaks the expansion. you could possibly make a fork and make the version a string but you'd have to maintain it yourself
you can click the item even whit that requirement?
Alright, thanks
yes
can you possibly go to plugins/DeluxeMenus/config.yml, set debug mode on, restart the server and send the newly generated startup log over in a paste bin please?
try changing output: "&aTrue" to : output: "§aTrue"
no, it still doesn't recognize the requirements
Please respect the rules, be patient and don't ping staff members!
Hey guys,
Any chance you can add to the docs for parse, (because it's most often used for debugging) that placeholderapi doesn't have any placeholders enabled by default, and thus you should probably install an extension before trying %player_name%?
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Commands#parse-commands
can you show me your current menu please? the one after you updated it
I recommend you change the output of the placeholder then and make it not be colored. that's probably the reason this happens
are you op while testing this? can you test without being op if you are
it still doesn't work, even if im not op
pardon me if I'm repeating myself but I have a massive headache and can't focus. am trying to multitask at the same time. you're saying you are clicking the item inside the menu and it triggers the click commands not the deny commands?
like it takes your points
and gives you granite
it doesn't read my amount of money i do have
in order to get the granite i need 100 points, i do have the 100 points and it says i don't have them
i hope you understand lol
ohh
well that's bcz of this expression: '5 > 8'. 5 is never higher than 8. but it gives you the deny commands right? the you don't have enough points message
ok. I was misunderstanding the first time. good thing I asked again
and %spacemc_money% returns a double/float right? for example 100.5 money?
if the above is true then try this: https://paste.helpch.at/afejovugis.bash
it works, thank you so much for your time!
no problem
how do i add placeholders to featherboard 5.0.0
ugh. it uses PAPI placeholders. so make sure you have PAPI installed, then download the expansions you need and then you just use %placeholder% in featherboard config
where are all the PAPI dev builds?
You can find the latest PlaceholderAPI dev builds here: https://ci.extendedclip.com/job/PlaceholderAPI/
at this link
@severe lagoon
thx
no problem
can you do /papi parse me %server_online%? what does it say?
yeah. what I think happens is you have a broken expansion that breaks the PAPI loaded and so the other expansions don't get loaded. Could you restart your server and generate a new startup log then send it using a paste bin please?
A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!
oh yeah. your chat reaction expansion. is the one. you dont have the chatreaction plugin installed. either install that plugin or go to plugins/PlaceholderAPI/expansions and delete the chatreaction expansion
then restart the server
okie thank you
no problem
Thank you so much blitz it works!
yw 🙂
if ("%checkitem_inslot:39, enchantments:3;blast_protection%" == true) {
//do stuff
}
I dont understand how to check for enchantments
/papi parse me %checkitem_inslot:39, enchantments:3;blast_protection%
result: %checkitem_inslot:39, enchantments:3;blast_protection%
have you tried all this? #placeholder-api message
yes
same
Im just trying the papi command first
well. I can tell you 1 thing for sure, you have to change the enchant name
according to spigot that is not the correct one
static Enchantment PROTECTION_EXPLOSIONS
Provides protection against explosive damage
yeah.
yes but its the same output :c
/papi parse me %checkitem_inslot:39,enchantments:3;PROTECTION_EXPLOSIONS%. also why slot 39? u sure its the correct slot number?
do you have the checkitem expansion installed?
yeah. I know what the slots are. I just wasnt sure if you knew where slot 39 was. but can you answer the question? maybe even do /papi dump and send over the generated link
installed and now it outputs "no"
even it has protection 3
explode*
ok. give me like 10 minutes and I'll start up my server and test this. bcz rn I'm out of ideas
why its not allowed to post images here :/
tier one is not allowed. to stop spam. you should use imgur for that
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.
Im just using ctrl+v xd
Its to much steps for just posting a screen: make screenshot, open paint, paste screenshot, save image, open imgur, upload image, send url in discord
well I can recommend sharex. great tool (for windows). Takes screenshots for you, and uploads them to a website you want then copies the link to you clipboard. also gives you a lot more customizability but that's what I am using it for
/papi parse me %checkitem_inslot:39,enchantments% works fine
for detecting if item is enchanted
wait. that's strange. it shouldn't even do that. enchanted should do it
also
I might've found the problem
:kek:
%checkitem_inslot:39,enchantments:PROTECTION_EXPLOSIONS=3%
try this please
tells me no
every time
Im trying with 3 items, all with netherite helmet:
Helmet 1: Blast Protection 3
Helmet 2: Blast Protection 2
Helmet 3: Fire Protection 1
ok. I am starting the test server as we speak
will test this and see what I can do
@mint fable u around? can you help us with this? doesn't seem like enchantments work for some reason. I am looking at the code currently and can't find what the problem could be.
Got it working
Please respect the rules, be patient and don't ping staff members!
😮 what was it?
^
wrong information
/papi parse me %checkitem_inslot:39,enchantments:blast_protection=3%
wait what?
I tested
I swear to god both should work then
anyways
that seems like a bug. bcz it does have specific checks for both namespace keys and normal spigot names
if ("%checkitem_inslot:39,enchantments:blast_protection=3%" == "yes") {
//do stuff
}
this should be the code than, right?
yeah.
if ("%checkitem_inslot:39,enchantments:blast_protection=1%" == "yes") {helmetPoints + 1}
if ("%checkitem_inslot:39,enchantments:blast_protection=2%" == "yes") {helmetPoints + 2}
if ("%checkitem_inslot:39,enchantments:blast_protection=3%" == "yes") {helmetPoints + 3}
if ("%checkitem_inslot:39,enchantments:blast_protection=4%" == "yes") {helmetPoints + 4}
if ("%checkitem_inslot:39,enchantments:fire_protection=1%" == "yes") {helmetPoints + 1}
if ("%checkitem_inslot:39,enchantments:fire_protection=2%" == "yes") {helmetPoints + 2}
if ("%checkitem_inslot:39,enchantments:fire_protection=3%" == "yes") {helmetPoints + 3}
if ("%checkitem_inslot:39,enchantments:fire_protection=4%" == "yes") {helmetPoints + 4}
if ("%checkitem_inslot:39,enchantments:projectile_protection=1%" == "yes") {helmetPoints + 1}
if ("%checkitem_inslot:39,enchantments:projectile_protection=2%" == "yes") {helmetPoints + 2}
if ("%checkitem_inslot:39,enchantments:projectile_protection=3%" == "yes") {helmetPoints + 3}
if ("%checkitem_inslot:39,enchantments:projectile_protection=4%" == "yes") {helmetPoints + 4}
if ("%checkitem_inslot:39,enchantments:protection=1%" == "yes") {helmetPoints + 3}
if ("%checkitem_inslot:39,enchantments:protection=2%" == "yes") {helmetPoints + 4}
if ("%checkitem_inslot:39,enchantments:protection=3%" == "yes") {helmetPoints + 5}
if ("%checkitem_inslot:39,enchantments:protection=4%" == "yes") {helmetPoints + 6}
helmetPoints + 3``` that ain't a thing chief
helmetPoints += 3``` on the other hand is
if (helmet == "NETHERITE_HELMET") {helmetPoints + 6}
else if (helmet == "DIAMOND_HELMET") {helmetPoints + 5}
else if (helmet == "IRON_HELMET") {helmetPoints + 4}
else if (helmet == "CHAINMAIL_HELMET") {helmetPoints + 3}
else if (helmet == "GOLDEN_HELMET") {helmetPoints + 2}
else if (helmet == "LEATHER_HELMET") {helmetPoints + 1}
no my friend
helmetPoints + 6 will literally just calculate 0 + 6 but do nothing with that value
helmetPoints += 6 on the other hand means helmets point will increase by 6
so it will become 0 + 6 which is 6
you need to change it for all the additions
x += n is a shortcut for x = x + n
There is no placeholder to show how much day in game?
☝️ Any ideas?
math?
%player% isnt working in deluxechat... any tips?
My profile has been suspended due to a virus. What do I need to do to get it back?
@idle coral
Please respect the rules, be patient and don't ping staff members!
What
hey guys, I've been trying to get the total playtime of a player to show up through the placeholderapi for about an hour now with no success. I've read online that the playtime expansion has since been included in the newer versions of the plugin so I wouldn't need to download any expansions, but I can't seem to get it working at all. Any advice?
is there a placeholder that will display a item in scoreboards? %item_diamond%
The placeholder %bungee_total% ping is too late.
I use %bungee_total% with discordsrv, if players join the server, the number of players will be delayed
How to show in game day with placeholder?
Little question, using the Placeholders plugin, if I use the %prefix% place holder but I want to delete only the first character in it, is it possible?
Ex: If the prefix would be 𞉀[TEST], I want the place holder to return #123456[TEST]
with the javascript expansion. yes. or possibly even with the string or the str expansions
and how would I do that with the "javascript expansion"?
An expansion that allows you to use javascript for processing
• Wiki
• Community Scripts
• GitHub
• eCloud
you can read the wiki ^
Hi, i was trying to use Papi to download the expention killstats but the Placeholders of that expention are not working rn and i dont know why :c
I have no error nothing https://gyazo.com/da52e238fc0ef6e183524e73b14d5b0f
have you tested them with the papi parse command?
also. do you have the KIllstats plugin installed?
umm what command 😅
/papi parse me %placeholder%
isn't the expention not enugh ? on the wiki it looked like it is enugh
no its not. it is a plugin expansion. which means it requires a plugin to work
oh sry must have missed that part
in this case this plugin: https://dev.bukkit.org/projects/killstats-v1-0 which seems kind of outdated.
I can recommend this one instead: https://www.spigotmc.org/resources/combatstats.94932/
and yes it sohuld work on 1.18 as well
oh yea i've tried that Plugin its not loading
i'll try it ty
would u look @ that i finally have a killcounter ty so much https://gyazo.com/5f22301db17e7087a16aa1f2735269c6 c:
I was searching for a plugin like that but it didn't show um for me x)
now i only need to fix that the tab list only updated on a PlayerJoin event -_-
Hi
Is there (somewhere) placeholder which return true when player has X hours played?
yeah u can use the changeoutput expansion
https://github.com/Kqliber/Expansion-ChangeOutput#expansion-changeoutput will be worth looking at this to get the idea
hm thats kinda sad it looks like the Plugin is also not working bug free https://gyazo.com/2ad1d2942b30dc68ad70650cb81b2f8c
it only shows the killstreak and dont fill in the name
Please respect the rules, be patient and don't ping staff members!
Please respect the rules, be patient and don't ping staff members!
and dont fill in the name
do ```
/papi ecloud download Player
/papi reload
oh thanks x)
and the other stats i have to add into the config now i'm good to go ty so much guys
is there a player holder for a mined block in y world
like how many black wool were mined in a specific world
like %statistic_mine_block:<material>% but with world
any recommendations
or region specific idm
afraid I dont know any. might want to look at Statz but doubt it does this
tried it
Hello, I want to do a game status, for exemple in my lobby server, in the menu I want a placeholder with a text from my game server, do you know how can I do this? (in the lobby menu, have an item with lore "IN GAME" or "WAITING" from the minigame state)
can somebody help me out with some ecloud worldguard placeholders?
i use this one: %worldguard_region_<regionname>_owner% but it doesn't work
i have downloaded the ecloud
and restarted te server
The enginehub discord would probobly be of more use
that discord saw i need to ask here because that is not there placeholder
but from ecloud
so hopefuly you guys can help me out
Ah, sorry! Thought they made it
In other times, instant but it is quite late
alright
happy to hear, there are a lot of devs who take so 4 day to response, thats why i ask
papi getting stuck at reloading
Fetching available expansion information...
papi ecloud downlaod vault
then papi reload
I have installed the eclouf vault but nothing changed
The placeholder %bungee_total% ping is too late.
I use %bungee_total% with discordsrv, if players join the server, the number of players will be delay
guys I did anything wrong?
Dose anyone know when the plugin will support 1.18
We have a dev build pinned, aiming to release a production build today or tomorrow
Is it possible to have a nested placeholder like this? %nested_math_{rng_1,{player_item_in_hand_level_LOOT_BONUS_BLOCKS}+1%
guys
I did /papi ecloud download player_ping it doesnt work
I tried /papi ecloud download server_tps it didn't worked as welll
Did you do /papi ecloud download player and /papi reload
you don't download each variable
you download player and server
I didn't downloaded of server
?
bruh?
I run my server on 1.18
it is working
from 1 week
Do /papi ecloud download server then do /papi parse me %player_ping%
pretty sure my papi is the latest spigot release and its fine on 1.18
ok
It worked ty
np
Hello, is there any plugin that creates custom parse placehoder? I'm trying to create a token shop where player buys an item
just a value you can manipulate?
yea
ok thanks
meta action type is how to set/change it https://wiki.helpch.at/clips-plugins/deluxemenus/options-and-configurations#actions-types
executable via /dm execute
obviously this is really only useful if you already use deluxemenus
How do you give a value to the player?
and substract its value once the player bought the item
oh nvm
i switched java versions from 17 to 9 so fawe worked (1.8.8)
and now the javascript expantion doesnt work for papi
this is the error
https://pastebin.com/Xww9qdr7

