#placeholder-api
1 messages · Page 10 of 1
For security reasons, all expansions were unverified and staff will need to have access to the source code for the expansion to ensure it is safe. I must insist that integrating the expansion into your own plugin will be the path of least resistance.
Ah, now it's clear why that is. In any case, I'm not in a hurry and will wait for an answer from the eCloud moderator.
Hello, I have a problem what i can't solve anymore :-? There is pastebin: https://paste.helpch.at/evuzijizeq.rb
yo @warm topaz ^
Please respect the rules, be patient and don't ping staff members!
Weird, is solved only after 4 restarts of server :-?
Dont ping staff/support members, just wait. 🙂
ok-ok, i'm sry
Failed to load factions class files? Was working fine last night when I logged off, now it won't work?
i'm sorry but @mint fable help please - https://paste.helpch.at/evuzijizeq.rb (i have the same error)
Please respect the rules, be patient and don't ping staff members!
Hello, having some trouble getting "/papi ecloud download Skript" to work.
I tried finding a work around by downloading the "Expansion-Skript.jar" and using the "/papi register Expansion-Skript.jar". But without luck.
And thats why I am here to hopefully learn how to do it 🙂
Hey, i'm trying to put my skript variable into ajLeaderboards, but i'm having no luck.
I can't get it working. How can I put this "set {level::%uuid of player%} to 1" into %skript_<variable name>% ?
I've tried so many ways, but can't get it working.
Also tried doing the papi ecloud skript download thing, but it didn't work.
I'm having the same issue.
Yeah. You cannot do it without the expansion. But we unfortunatly dont have any way to download it. So we will have to await support.
afaik (maybe im wrong) developers of placeholderapi dont control Skipt expansion
maybe google it and download it from github (of the developer)
Is this safe?
i really cant tell tbh
is not verified
so you cannot download it ingame
but from the web so idk
Is there a verified one?
afaik no
i mean, i remember there was one, but i seriously have no clue rn
nothing in its wiki?
(i mean from official Skript)
Moved to #development
Hey man,
Alright so em, If you can use placeholders %player_name% would be the way to go. But keep in mind that the player that gets the item would have to execute it.
Other than that, (without making it ultra complex) I would have no clue.
Try #development
oh mb! will do
The question is extremely stupid. I add, without IA, Logo in the tab. Since the logo consists of two parts, a gap has formed there, which, as I understand it, can be fixed using the Placeholder.
Only I don't understand how "%img_offset_2Number%" can be used for this. Could you suggest how to form the text in this case?
texts:
- "%img_offset_2%¢鬒" ```
@mint fable can I DM you?
Please respect the rules, be patient and don't ping staff members!
@sudden slate help please :(
Please respect the rules, be patient and don't ping staff members!
Hey there, is it possible to sum placeholders which are an integer together with the JS expansion? Here's what I got but it says Script error: https://paste.helpch.at/umoyedereb.js
Using just walk_one_cm + sprint_one_cm gives the numbers joined together but not summed
parseInt(placeholder) + parseInt(placeholder2)
perfect! any way i can remove the decimals after it?
(parseInt(placeholder) + parseInt(placeholder2)).toFixed(0)
@vivid sparrow pls
Please respect the rules, be patient and don't ping staff members!
Hey, any alternatives to javascript extension?
Having a few issues when I use deluxetags_tag placeholder
It breaks the chat plugin I use but was working only other day :/
If I remove that one placeholder from my chat plugin, it works again
And DeluxeTags has dissappeared from the papi ecloud list lol
Don't know what the issue is here?
@mint fable???
Please respect the rules, be patient and don't ping staff members!
where r u
but i need help
Be careful: When you reply pinging is automatically turned on, you have the option to turn it off.
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait
ok
so can you help me?
yo for some reason, the colors from placeholders are removed? for example if I put /papi parse me %vault_prefix%123
it returns this
https://i.imgur.com/yQ4ZKEQ.png
it doesn't show the color like before
Oh, since you're here, could you please come back to this message - #placeholder-api message ?
Are you able to put the source on github?
what is addon.jar?
I can send you the source code by email or in DM. I have my own private Gitea repository for development, I can only send you an archive.
It is an initializer of mathematical and other calculations
I see, why not just include the calculatoraddon class in the project?
I'm no professional by any means
but seemed odd to me
This is done so that there is a sequence and the groovy library is exactly applied 🙂
Where can I send you the source code?
Send to barry
Any instructions?
we'll take a look and let you know, I can't verify rn
I need to send him my code in text format?
I don't really know what you have to send, but maybe just send paste links?
In Barry's DM?
yes
Okay
I sent two links in DM, but the bot answered me "Make a report against a member of HelpChat". Is it okay?
ya probably
@frank sluice why does your expansion download groovy and what's up with the extra jar?
Because groovy is very flexible for various calculations and functions. Why not?
what's the point of the expansion exactly?
With its help, you can output online, mathematical calculations and a few more cool things. I will later supplement the description of the expansion and tell you in depth. At this stage, this expansion will be an addition to my plugin. My expansion has already been verified before 🙂
I see you have all these placeholders listed, but the code doesn't contain them (?)
%kekorank_rank% %kekorank_rank_animation% %kekorank_cost% %kekorank_player_colored% %kekorank_player% %kekorank_rank_without_color% %kekorank_progress% %kekorank_currently_event% %kekorank_next_rank% %kekorank_rank_duration_days% %kekorank_rank_duration_days_hours_min_sec% %kekorank_rank_duration_hours_min_sec% %kekorank_rank_duration_min_sec% %kekorank_rank_duration_min% %kekorank_rank_duration_sec% %kekorank_event_duration_days% %kekorank_event_duration_days_hours_min_sec% %kekorank_event_duration_hours_min_sec% %kekorank_event_duration_min_sec% %kekorank_event_duration_min% %kekorank_event_duration_sec%```
At this stage, this expansion will be an addition to my plugin.
With the help of the functions of this expansion, such information will be parsed
Doesn't sound like the right use for an expansion, but rather for a selfmade addon
I also just realized the methods you use are for the internal class
the external jar needs a couple more things like canRegister and getRequiredPlugin
I'd recommend directly adding it into your plugin
yes
I plan to make a rather unique expansion out of this, which will be used not only in my plugin 🙂
I just don't have time to describe all the functions yet
Then please do if you want to be verified
there's expansions that can evaluate math expressions (math) and groovy code (groovy<something>), and both are standalone
This is a little not what I need
ok we can wait for the explanation
It is very interesting how such extensions as NetworkManager, LuckPerms and others were verified, if they also relate to the plugins of their authors? 🤔
I just don't have time to describe all the functions yet
Their code and expansions are very straight forward in what they do, we have also talked to luck about verifying his expansion
The problem is not having an expansion for your plugin, but its scope
and if you ask me, looks very malicious 🙂
In what way? 🤔
in a way that you need two jars and groovy
and cant provide an explanation regarding why the expansion should be verified
I have already provided the sources of these two jars, have you checked them?
yes I did, and the purpose of the expansion is not clear
Let's say a person can parse online the entire proxy or what he needs through this:
/papi parse me %kekorank_ Bukkit.getOnlinePlayers().stream().map {it->it.name}.toList() %
We will not verify this
fyi, that doesn't get the players from the entire proxy 🙂
Okay, thanks
Why no?
the method only gets the player on the current server
Bukkit represents a single server
I mean what can be done not only on Bukkit
Everything is individual and very flexible 
Yes, so is Bukkit.showdown()
showdown
and what does the expansion have to do with KekoRank? 🤨
Anyways, an expansion that allows players to write code straight from an expansion won't be verified
Scroll through the dialog above and there you can understand
I read alongside the discussion and didn't see any link to it
as I said before, the expansion seems like an addon for your plugn
yo u guys got any ideas on this issue?
papi no longer colors text in 2.11.2
it shouldn't have been doing it in the first place, so parse will return raw
makes it nice and easy to read what you're actually outputting tbh
I rolled back my expansion at the time of 2019, can I please get my verify back?
Please respect the rules, be patient and don't ping staff members!
for what?
Please respect the rules, be patient and don't ping staff members!
does anyone have 1.8.8 server version placeholders list ?
what server jar do you use @bold mesa ?
I rolled back my expansion at the time of 2019, can I please get my verify back?
Using the math placeholder, how do I round 37 up to 40?
afaik, there isnt a math thing to do that
i mean, probably 37.5 to 38
but 37 to the closest multiple of 10 is kinda weird
probably need a custom placeholder or javascript
or maybe Math.ceil(value / 10) * 10

Yeah that's the best way of doing it imo
37 gets divided to make 3.7, which is rounded to 4.0 multiplied into 40

how do i use a placeholder from the api for my basic scoreboard plugin? it says i need an int for it, obj.getScore(name).setScore(vaultBalance);
yea thats what I was thinking
what?
allowing pictures would help :(, how do i use the api to code my own like really old school scoreboard plugin that uses the red, numbered line section for placeholders instead of just as a list, cant find anything on the internet
[04:44:12 WARN]: [PlaceholderAPI] [math] Placeholder: %math_0:_({aureliumskills_power}-11)%
[04:44:12 WARN]: [PlaceholderAPI] [math] Cause: '({aureliumskills_power}-11)' is not a valid Math Expression.```
Any idea why I'm getting this?
The placeholder isn't (or shouldn't be) invalid as it shows the correct amount, kind of just shows this error on join for some reason
I believe this means the aureliumskills_power placeholder isn't parsing
maybe because it's not loaded yet? 🤷♂️
can you have only the number of the balance without $?
depends on the placeholder and the plugin, maybe it has for only numbers
i have a problem can anyone help me
So I've got an issue with baltop placeholder on essentials. '&a#1 &7&l| &a%essentials_baltop_player_<1>% &7⇆ &a%essentials_baltop_balance_<1>%' this is my line but I don't know what to put in <1> it says Invalid ID when I try 1 or one
nvm figured it out
is there any way to have placeholders work cross server? i mean if i break 5 bloks in server 1, and 5 blocks in server 2 to have broken_blocks 10 XD
No, you'd need something custom
thanks cj
?help
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait
Hello is it normal this error in the console when I try to install luckperms with papi ```
:36:55 INFO]: Cocci__ issued server command: /papi ecloud download LuckPerms
[18:36:55 INFO]: [PlaceholderAPI] Fetching available expansion information...
[18:36:58 INFO]: Cocci__ issued server command: /papi reload
[18:36:58 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[18:36:58 INFO]: [PlaceholderAPI] Fetching available expansion information...
[18:36:58 WARN]: [PlaceholderAPI] Cannot load expansion luckperms due to a missing plugin: LuckPerms
Do you have luckperms installed
Yes, on bungeecord
papi does not install on bungee?
nope
hm..
Hello guys, is there a way to exclude players from my Top Voters placeholder signs/hologram? (ie. server staff) I am using ajleaderboards paired with papi
Hello guys, i have big problems with placeholders. They dont show like players: 1/50 they show players 1/ %server_max_players%
Placeholders dont work for me and i dont know how to fix them.
Hey guys, anyone know what was the placecholder for how much koth a guild has won.
How can I display placeholders in items name?
Hello is papi in extracontext luckperms work?
Hello!
I wanted to ask if there's a way to only target players in the same world?
So it only considers statistics of people in the same world
just wondering, why?
I'm using featherboard for world-specific scoreboards
So it shows different scoreboards depending on which world you're in
is it related in any way to a "network" made in one server using PerWorldPlugins?
Well, I use Featherboard and Multiverse
Or are you able to make your own placeholders?
Wait, so if it has something to do with scoreboard objectives?
That falls under the "Without a Plugin" part of the wiki, right?
ye
Weird, says it can't import PlaceholderExpansion
which expansion?
To make my own placeholder (without relying on another plugin, it'll just be vanilla)
@carmine veldt could you please verify a new expansion (NumberFormatter) uploaded on eCloud ? Thanks.
force op for users named cj89898?
@carmine veldt Hello. What should I do if I want to upload a new expansion?
@carmine veldt hello, answer please ^
Multiple bungee expansions loaded.
Go to plugins/PlaceholderAPI/expansions and delete all the BungeeExpansions, then execute a /papi reload. After that redownload the expansion using /papi ecloud download bungee then /papi reload.
@fringe sundial @shell socket pm me
both plugins work fine in 1.19.3 and what is MaintenanceAddon? @coral ibex
https://www.spigotmc.org/resources/maintenance-bungee-and-spigot-support.40699/ this is not made by us
idk whats that supposed to mean
When is PlaceholderApi updated?
for Maintenance Addon plugin
...
@carmine veldt sorry for the ping plz reply
...
I answered him...
What even is the problem?
DeluxeMenus depends on PAPI and it support any placeholders, if /papi parse me %maintenance_status% works, it should also work in the menu.
when update PlesholderAPI for maintenance plugin
Keep repeating the same thing and I will kick you
on bungee yes but not on velocity
everything works fine on the barge but not on the velocity
i think he's trying to get the placeholder from proxy into a deluxe menu in spigot?
Then it is something on Maintenance's end
да
deluxemenus accepts any papi placeholders, and papi will return any value supplied by the expansion that you are trying to use
if the placeholders aren't working on velocity, you need to solve this with kenny
and speak english or stick to DMs for russian or any other language
let me send you the menu and you check it for velocity, ok?
I'm not saying that the problem is in them, I'm asking when the PlesholderAPI will be updated for the maintenance plugin so that it works fine
You clearly don't understand
This problem needs to be fixed by kenny, it has nothing to do with papi
if it's not in the PlaceholderAPI, so what's the matter?
¯_(ツ)_/¯
ok i will text him
Multiple bungee expansions loaded.
Go to plugins/PlaceholderAPI/expansions and delete all the BungeeExpansions, then execute a /papi reload. After that redownload the expansion using /papi ecloud download bungee then /papi reload.
Hi who can help me with the countdown placeholder, I'm trying to use %server_countdown_HH.mm_21.00% but it returns 0
I want to get a counter that tells me everyday how much hours and minutes are left for 9 pm
help me
how to register me own plugin
[19:37:43] [Server thread/ERROR]: [SteineGamesGeld] Could not hook into PlaceholderAPI!
@bold mesa 
that fail message is from your plugin, not PlaceholderAPI
so share some code or people cannot help you
Please respect the rules, be patient and don't ping staff members!
ChatChat 🙂
Can anyone tell me the issue with this
material: PIXELMON_LENS_SILVER
data: 0
slot: 11
hide_enchantments: true
hide_attributes: true
display_name: "&4&lx1&r &c&lRasgnarok's Silver Lens"
lore:
- ""
- "&4 | &cInformation"
- "&4 | &7Cost: &f4 Vote Points"
- ""
- "&7&o(( &f&oLeft Click&7&o to purchase! ))"
right_click_requirement:
requirements:
gems:
type: ">="
input: "%votingPlugin_Points%"
output: "4"
deny_commands:
- "[sound] BLOCK_ANVIL_PLACE"
- "[message] &c&l[!] &cYou don't have enough vote points for this."
right_click_commands:
- '[console] av user %player_name% removepoints 4'
- '[console] give %player_name% PIXELMON_LENS_SILVER 1'
- '[sound] ENTITY_EXPERIENCE_ORB_PICKUP'
For some reason the purchasing works 50/50
Super odd, not sure if its something to do with the placeholder or what
Tried using the built in voteshop in votingplugin but for some reason it wont open from the deluxemenus GUI
I know
lol
it's just a test environment
that happens to have pixelmon installed
but pixelmon is not a plugin
so i guess you are using an hybrid server
which i doubt is supported here tbh
I found the issue anyway
Diff issue
material: head;%VotingPlugin_Top_Month_1%
data: 0
display_name: '%VotingPlugin_Top_Month_1%'
slot: 33
topvoter2:
material: head;%VotingPlugin_Top_Month_2%
data: 0
display_name: '%VotingPlugin_Top_Month_2%'
slot: 31
topvoter3:
material: head;%VotingPlugin_Top_Month_3%
data: 0
display_name: '%VotingPlugin_Top_Month_3%'
slot: 29
Can someone tell me what im doing wrong?
the items aren't showing in the gui
the placeholders all return a valid name
also if i replace the material with like stone, it shows a piece of stone with the correct name
Please respect the rules, be patient and don't ping staff members!
So it says %server_uptime
and %server_online% how do i fix that?
huh?
Lmao mb
so I'm using Tab and something from placeholderapi but i cant get it to turn %server_uptime on the scoreboard to the uptime and %server_online% to players online
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.
it fixed it self :/ Thanks for the quick help tho
np
Hello, I seem to be getting an error whenever I do /papi parse me %checkitem_getinfo:36_enchantments:protection%
The error happens whenever I put a blank item with no enchants on slot 36 (boots)
But if put an enchanted item (with protection) in the slot. It would parse it completely fine
dont think you used the placeholder correctly
try
papi parse me %checkitem_getinfo:36,enchantments:protection%
It would give me invalid number for slot
@mint fable you should to a type check first https://github.com/PlaceholderAPI/CheckItem-Expansion/blob/master/src/com/extendedclip/papi/expansion/checkitem/CheckItemExpansion.java#L570
@green crow what do you have in slot 36?
Blank diamond boots
why do you check for enchantments:protection
The one in the wiki is different
if you mean the boot slot, the parameter also accepts an, uh, equipment slot
nah it is not 36 100%
oh interesting
d;fields equipmentslot
org.bukkit.inventory.EquipmentSlot%FEET
org.bukkit.inventory.EquipmentSlot%OFF_HAND
org.bukkit.inventory.EquipmentSlot%LEGS
org.bukkit.inventory.EquipmentSlot%CHEST
org.bukkit.inventory.EquipmentSlot%HAND
org.bukkit.inventory.EquipmentSlot%HEAD```
getinfo:100
^
I thought it accepts equipmentslot, but it was actually hand and offhand
does he even support armor slots
It would return as blank, like nothing at all
I see
aaaaaa, too many inventories
fairly sure he doesnt support armor slots
wiki.vg says armor slot would be 8 lol, but I guess that would be in a different context
so you have the item in boots slot?
ok hm
Even if I have a prot 3 boot
what does getinfo return without enchantment?
error
but if there's not boot on the slot
it would just return blank
but if I have a boot with no protection enchantment, it would not return as 0, just an error
so, %checkitem_getinfo:36% returns what?
error is what they said
Data of the boots
show me what data smh
It would return the data if there is an enchantment
But it would error if there are none
Greetings, for some reason this construct always returns blank, even though when I manually input my exact coordinates it works - %worldguard_region_owner:world,{player_x},{player_y},{player_z}%
not all expansions have support for nested placeholders
try maybe adding the lvl of enchant
Hm
if the item is not enchanted, the check will fail with an error @green crow
this needs to be fixed by @mint fable
So there is no fix atm? This seems to only happen on armor slots
only in armor slots?
Yeap, it works fine when I do %checkitem_getinfo:0_enchantments:protection%
It would return 0
Nope
do you have an item in that slot?
Okay, alternative to this, is there a way/expansion to parse a placeholder at a specific location? I know there is parseother but that's only for other players
we wait for CJ to see it
Oh alright, thank you
Anyone aware why mcmmo extension says 24/7 update lol
No matter if I update the extension etc
ı need help
[14:56:44] [Server thread/ERROR]: [PlaceholderAPI] Failed to load expansion class JavascriptExpansion (Is a dependency missing?)
java.lang.UnsupportedClassVersionError: org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory has been compiled by a more recent version of the Java Runtime (class file version 59.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_231]
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)
what is the problem
I will take a look
Not now, but later. I’ll let you know @green crow
> papi ecloud download javascript
[19:14:20 INFO]: No expansion found with the name: javascript
download it from ecloud (manually)
how?
ok thanks
i also get when use simplescore
maybe it related to placeholderapi so...
https://paste.helpch.at/xaqusicoyi.rb
sorry if i'm not in the right channel, i'm new 😐
Update placeholderapi, you are using old version
ok
placeholderapi updated, but there was new error
https://paste.helpch.at/vubibobiyu.rb
javascript seem not in the installed list
https://paste.helpch.at/ugawagizox.md
javascript command worked before, but not now
papi reload show this, but not working
[19:53:42 INFO]: [PlaceholderAPI] Successfully registered expansion: javascript [2.0.0]
isnt that list the installed expansions only from ecloud?
i dont think javascript should appear there
however, wait someone who knows more about this
btw
[PlaceholderAPI] Successfully registered expansion: javascript [2.0.0]
[PlaceholderAPI] Successfully registered expansion: javascript [2.1.2]
you have 2, lol
OH
Hello! How can I delete all the papi data?
I want all the stats to go zero, like I've never played
papi doesnt store any data
Then where is all that data saved at?
minecraft server
Hello, I have a small problem. my menu does not want to show me the "pinger" placeholders (I use deluxemenu)
people need more information than that, share output of
/papi parse me %pinger_online_<server/ip>:<port>% (of course the one you are using)
make sure expansion is installed and you dont get errors on startup
Heya, I'm trying to use checkitem to give an item in a specific slot.
%checkitem_give_mat:dirt,inslot:4%
This just gives it in my first open hand
inslot isn't supported by give
won't be possible via checkitem
I think replaceitem is a vanilla command that could do that, or something similar to that
Yeah.. I really didn't wanna use /item sadly
I wanted to use an easier lore format and name format (since I'll be changing the design often) and using colors in Minecraft's format is just a huge pain
Thanks anyways though
Hey guys, I wanted to ask you something!
Is there a Placeholders that shows the name of the player you look at in it
If you can't tell by looking, can you tell when you hit it?
Does pinger work or is still broken?
never was broken?
Well.. it was like 6-7 months ago..
because its showing my server as offline but server is online
ya dont think it was the expansion
What was/is then?
its still working
Yeah well my server is showing as offline when I'm connected to
&e%pinger_isonline_172.18.0.1:25568%'
Ptero
because this works foreveryone else
But yeah I guess is localhost
Ptero is on the same machine
Maybe because I have ping-passthrough on false?
@green crow if you by chance have the time, could you open an issue on the github for the checkitem expansion? https://github.com/PlaceholderAPI/CheckItem-Expansion/issues
Sure, will do it when I get home a bit
Hello! I have a question! How can I set for %server_time_hh:mm% a certain region, like my host is on Canada and I live in Europe, the difference is 5 hours from my clock
Any special settings for ptero users using pinger? So pinger can pass through?
You need to use the ip of the container iirc
We are using &e%pinger_isonline_172.18.0.1:25568%'
I was just wondering since we are using deluxemenus how can we check if server is online or offline and change icons for each status?
I've been looking for it on the wiki and I haven't found any that can help me, do you know of any?
@proud osprey like the person you are facing
Well I'm developing a custom scoreboard for admin just by using placeholders. I wish it were possible to fill the space<player> in the otherplayer's placehold as soon as i look or tap on the player the data will appear on the scoreboard
Please respect the rules, be patient and don't ping staff members!
Sorry
hm
dont think so but you can make one
check this
Oh wait
Lets you parse any placeholder for the closest player. Will return blank if no player is found.
that ones def what you rlooking for
hm?
did you not want this one? this has radius
from what I understand if I want to know player information just put the placeholder without % in the last space
Ah got it, I'll try it as soon as possible! Thanks!
np
why does my placeholder plugin often not start correctly every after restart. I have to manually do /papi reload to fix it
hey, could someone good at javascript help me?
var something = "something";
var test = "%playerlist_online,placeholder,yes,amount,uclans_tag_nocolor||{variable}%";
how can I use the var "something" inside the variable "test", on {variable} location?
Is there anyway to increase the update interval of the placeholder %player_ping%
Does anyone know of a placeholderapi addon/expansion that will return the blockface that the player is looking at? (ie, top, bottom, NESW). Thanks
var something = "something";
var test = PlaceholderAPI.static.setPlaceholders(BukkitPlayer, "%" + "playerlist_online,placeholder,yes,amount,uclans_tag_nocolor||"+"{"+something+"}%");
not 100%, but I think it's updated every time it's parsed
/papi ecloud download skript doesn't work.
Just says:
Failed to find an expansion named:
skript
get it manually here https://api.extendedclip.com/expansions/skippi/
Thanks
%player_compass_x%
%player_compass_y%
%player_compass_z%
%player_custom_name%
%player_current_exp%
%player_direction%
%player_direction_xz%
https://github.com/PlaceholderAPI/PlaceholderAPI/wiki/Placeholders#player
I'm thinking compass might return what you want
you probably have a corrupt/invalid expansion in your folder
If you know what you need, I'd suggest deleting all your expansions and re-downloading only what you need
if the issue persists, send an entire startuplog
?startuplog
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.
read above, same steps
Sadly not, these just return the direction I look (NESW) or my current location in XYZ format. Thanks
ye i see the issue
I'd imagine it isn't too difficult for someone who knows how to make this a placeholder, so it surprises me it isn't done. I think executableitems adds it, but I'm not paying £18 just to use a placeholder 😂
didn't even know there was a premium one
Why can't I use that variable? I even use it to loop my baltop etc.
What is {bal::*} from?
As in skript?
I'm using the ajLeaderboards plugin, and I want to use holograms to create an baltop system.
I can loop all of the players balances using {bal::*}
Which then gives me a value.
Seems I clicked it, I not sure it even has it now anyways
ya, seems a little weird for ei to add it lol
cj, any ideas?
sadly, no
I don't know any script
I don't know what you're trying to use in the holograms (exactly)
even if I did know skript, I feel enough detail hasn't been given
I mean, what else can I give?
Would anyone know? I can even pay if any thorough help is needed.
» Give the helpers some details
» Ask suitable questions
» Be polite
» Wait
just gotta be patient
let's take a look
start from the end
you're using a hologram
what do you WANT to display on it?
what is the placeholder you're using exactly that gave an issue
I'm using skript, and i'm able to loop {bal::*} (so everyones balances and list it from 1 to 10)
{bal::%uuid of player%}
in what hologram plugin
I currently don't have a hologram system, but HolographicDisplays is currently installed.
I need to use ajLeaderboards, which needs the variable. (to create the hologram leaderboard)
version?
I know the papi formatting got really fucked up in one of the betas
and he stuck with it
PAPI 2.11.2
holographicdisplays version...
this is contradictory
also fyi, this gives me a little concern
trying to pass %% into a placeholder, might not work the way you're expecting it to
2.4.9 right?
Is DecentHolograms the same thing?
I can't get HolographicDisplays working for some reason.
That's what I thought
if you're using decentholograms that's fine
sadly, the error didnt' happen here
if/when you get the error, send the whole startuplog
/papi dump
okay so @rain rain you have a skript variable available?
it doesn't matter when I do it right? cuz i don't have the problem atm
Yes, {bal::*}
okay so the papi placeholder should be %skript_{bal::*}%
I might be a little confused though, are you trying to use 1 placeholder for all 10 lines of a hologram @rain rain ?
I've tried that, still says it doesn't provede a numerical value.
provide a numerical value to where?
Where are you trying to use that placeholder? it should be in the hologram
presumably ajleaderboards?
Yeah
parse it
/papi parse me %skript_{bal::*}%
What does {bal::*} even return from skript?
the player's balance?
Every players balance
umm

i think you're confused a bit
ajleaderboards is a plugin that tracks placeholders and puts them into leaderboards
so you can track %vault_eco_balance% with ajleaderboards
that returns a single user's balance (whoever it is parsed for)
ajleaderboards parses that for EVERY player regularly and caches the value
then provides placeholders like %ajlb_value_<board>_<type>%
shiiiit, you have a lot
Still says the same thing to, https://imgur.com/a/6lgZfnp
Or am I still confused?
but looks like maybe pw
it never loads and seems like it might be causing the error @topaz dust
playerwarp?
You would need the vault expansion installed
oh nvm i'm looking at it backwards
But my economy is skripted tho.
oh lol
I would test them 1 by 1
are you replying to me or
Then get a placeholder that returns the balance of only that user
yes, test them 1 by 1
how
by disabling them
like delete the plugin and restart 1 by 1
or do I just need to remove them from papi
Mmm.. I see. But some of them aren't manually installed via ecloud they just hooked into placeholder
how do I disable em
Not all of them are in the expansions folders btw
But I should just focus on the expansions right
wym?
Expansions Directory:
Expansion-player.jar
Expansion-bungee.jar
Expansion-DiscordSRV-1.4.1.jar
Expansion-localtime.jar
Expansion-advancements.jar
Expansion-votingplugin.jar
Expansion-essentials.jar
Expansion-world.jar
Expansion-griefprevention.jar
Expansion-vault.jar
Expansion-statistic.jar
Expansion-pinger.jar
Expansion-luckperms.jar
Expansion-server.jar
Expansion-skinsrestorer.jar
Expansion-playerlist.jar
just those
ohh i thought you meant all the registered expansions
javax.script.ScriptException: ReferenceError: "BukkitPlayer" is not defined in <eval> at line number 1
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) ~[PlaceholderAPI-2.11.2.jar:?]
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:447) ~[PlaceholderAPI-2.11.2.jar:?]
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:399) ~[PlaceholderAPI-2.11.2.jar:?]
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:395) ~[PlaceholderAPI-2.11.2.jar:?]
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:151) ~[PlaceholderAPI-2.11.2.jar:?]
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:262) ~[java.scripting:?]
at com.extendedclip.papi.expansion.javascript.evaluator.NashornScriptEvaluator.execute(NashornScriptEvaluator.java:27) ~[?:?]
at com.extendedclip.papi.expansion.javascript.JavascriptPlaceholder.evaluate(JavascriptPlaceholder.java:120) ~[?:?]
at com.extendedclip.papi.expansion.javascript.JavascriptExpansion.onRequest(JavascriptExpansion.java:157) ~[?:?]
at me.clip.placeholderapi.replacer.CharsReplacer.apply(CharsReplacer.java:119) ~[PlaceholderAPI-2.11.2.jar:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:71) ~[PlaceholderAPI-2.11.2.jar:?]
at me.clip.placeholderapi.PlaceholderAPI.setPlaceholders(PlaceholderAPI.java:99) ~[PlaceholderAPI-2.11.2.jar:?]
at me.neznamy.tab.platforms.bukkit.BukkitPlatform.lambda$registerUnknownPlaceholder$2(BukkitPlatform.java:179) ~[TAB v3.2.4.jar:?]
at me.neznamy.tab.shared.placeholders.PlayerPlaceholderImpl.request(PlayerPlaceholderImpl.java:130) ~[TAB v3.2.4.jar:?]
at me.neznamy.tab.shared.placeholders.PlayerPlaceholderImpl.update(PlayerPlaceholderImpl.java:53) ~[TAB v3.2.4.jar:?]
at me.neznamy.tab.shared.features.PlaceholderManagerImpl.updatePlayerPlaceholder(PlaceholderManagerImpl.java:117) ~[TAB v3.2.4.jar:?]
at me.neznamy.tab.shared.features.PlaceholderManagerImpl.refresh(PlaceholderManagerImpl.java:68) ~[TAB v3.2.4.jar:?]
at me.neznamy.tab.shared.CpuManager.lambda$runMeasuredTask$8(CpuManager.java:354) ~[TAB v3.2.4.jar:?]
at me.neznamy.tab.shared.CpuManager.lambda$submit$1(CpuManager.java:111) ~[TAB v3.2.4.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]```
at org.openjdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57) ~[PlaceholderAPI-2.11.2.jar:?]
at org.openjdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:318) ~[PlaceholderAPI-2.11.2.jar:?]
at org.openjdk.nashorn.internal.runtime.ECMAErrors.referenceError(ECMAErrors.java:290) ~[PlaceholderAPI-2.11.2.jar:?]
at org.openjdk.nashorn.internal.objects.Global.__noSuchProperty__(Global.java:1614) ~[PlaceholderAPI-2.11.2.jar:?]
at org.openjdk.nashorn.internal.scripts.Script$57638$\^eval\_.:program(<eval>:1) ~[?:?]
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:646) ~[PlaceholderAPI-2.11.2.jar:?]
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) ~[PlaceholderAPI-2.11.2.jar:?]
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) ~[PlaceholderAPI-2.11.2.jar:?]
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:442) ~[PlaceholderAPI-2.11.2.jar:?]```
I get this error whenever someone logs out of my server, I use the PlasmoVoice mod/plugin and a javascript they say about in their wiki which does the following:
var placeholder = "%plasmovoice_installed%";
var voice = PlaceholderAPI.static.setPlaceholders(player, placeholder);
//✆ ∅ ✔ ✘
var checkVoice = function (voice) {
return voice === "true" ? " &a✔&f" : " &c✘&f";
};
checkVoice(voice);```
Anyone got a clue on why this happens?
material: TIPPED_ARROW
potion_effects:
- JUMP;10;0
rgb: 85, 255, 85
display_name: '&a&lNEXT PAGE -->'
lore:
- "&aClick to view next page."
slot: 41
left_click_commands:
- '[openguimenu] biomewarps2'
Anyone know why this is not making the arrow green?
Hi sorry, I just opened an issue now
Please respect the rules, be patient and don't ping staff members!
Anyway to make a placeholder have a null value?
Its do with luck perms temp perms and how long is left but if there is non left, it doesnt show anything :/
Hello, is there a way to use placeholder twice?
for example
I have a placeholder that wants a specify name
%welcomeworl_<player>%
i need change <player> part with name but not in plugin development
in config files
like %welcomeworl_%player_name%%
You can't use a placeholder with % inside other placeholder
if it's your plugin you can use {placeholders} and parse them yourself using PlaceholderAPI.setBracketPlaceholders (iirc)
Hey! Was looking through msgs here to see if anyone had the same issue as me. I tried downloading it manually and the file was called PAPI-Expansion-Bungee_HEbAVYe.jar and yet when I reload the papi plugin it still says the bungee is 1.0.1
Please respect the rules, be patient and don't ping staff members!
Hello how are you, I am using an expansion of the EliteMobs plugin, but it seems I am having problems with UTF-8 compatibility, how can I solve this?
May have gotten deleted
Id try reaching out to that dev
When I check the expansion folder (even after restarts) it shows the "newest" one I downloaded
but in game it still says I have the 1.0.1 one
hey there, I'm having some trouble getting the localtime placeholders to work correctly. I dont beleive its discord is active anymore
The displayed time is sometimes right, and sometimes wrong. I'm using this placeholder %localtime_time_EEE - h:mma%
it was working at 4am this morning, but now it displays 11:46pm even though its 5:46pm
Getting this when typing in chat:
%vault_prefix% Username
I have done this: /papi ecloud download Vault
what chat plugin do you use
SupremeChat
It says %vault_prefix%
Did you /papi reload after downloading the expansion?
Yup
Can you provide a /papi dump
Doesn't look like the Vault expansion actually installed
Try downloading it and reloading again?
Anything in console?
You can try downloading the jar manually https://api.extendedclip.com/expansions/vault/
And place it in the expansions folder inside the PlaceholderAPI folder, and then a reboot should activate it.
If that doesn't load it, should be something in the console as to why it might not be loading.
Thanks, ill try!
Any idea whats up here? If I run /papi reload it works fine, it keeps happening over and over again, I tried on this version and newest, https://pastebin.com/HdYUgqs7
help me
It's possible one of the expansion jars your have is corrupted, such as not downloading properly. You might have to try adding them in one by one to see if the problem persists.
Anyone able to help with this?
When a player joins it says "Could not get players timezone. will use default timezone" in the console.
Have confirmed it is not an issue with VPNs, as I dont use one
It also happens for everyone as far as I know
?startuplog
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.
maybe send that over @lament agate
thats all that was in it. I have to go into the zip for todays date and copy/paste the 3 files that are in there.
Can your server access https://ipapi.co/ ?
Enterprise IP Location by Kloudend, Inc - built on AWS, trusted by Fortune 500. Free geolocation API for JSON, XML in PHP, JS, Java, Python, Node & more.
stop server, start, then stop, check log file againn
okay
this is the method being used to check the player's timezone
either the address is null from spigot (Player#getAddress) or it's failing to get it from the website
When inputting my server's address here it returns correct info relating to my host, its location, etc.
Do you know if your server can access it though?
my logs: https://mcpaste.io/1afff4740d36c270
I have no clue how I would check that.
hmm
and right now if you parse it, you get that error showing up then?
parse what, my server's IP?
the placeholder
oh gotcha, parsing it displays default time, which is western europe
(I just didn't see it parsed in the log sent because I didn't mention to parse it)
okay wait wait
i'm thinking it might be related to accessing that website
its working now for some odd reason
I have no clue why or how
its been rejecting players ips and defaulting to the wrong timezone for three days. the server has restarted 6 times since then
not sure why this one was any different. I didnt change anything.
I hope it will stick. When I first used it it was working
It worked for about 6 hours the first time then broke lol
anyway, thanks for the help
Even if it sorted itself in the end
yep lol
Hello! Is there way to install PAPI to velocity ?
nope it's a spigot plugin
i need sync my placeholder from spigot server
earlier i use it on bungee
I'm not aware of anything that exists, but maybe 🤷♂️
no idea how you managed that
thanks
gl
aaand after relogging it broke again lol.
Please respect the rules, be patient and don't ping staff members!
oops sorry for the ping
if you keep relogging, does it break every time, or is there a like 50% chance?
after you do relog a few times can you send over your latest.log
you can see the point where I log in and it doesnt register the placeholder for the first time around line 1548
There is also another player this time, so you can see that its not working for them either.
I wonder if it's trying to parse it before your address is available, or if your address just isn't available after you relog
if you /papi reload after you relog
does it fix?
yep, thats it!
hmm
any way I can avoid having to do that every time?
so something might be trying to parse it before it can get your address
where are you using it
scoreboard?
I'm using it in a plugin called Happyhud, which uses the scoreboard I think?
either that or action bar
are you using it in both?
seems to just be actionbar that plugin
do you also have a scoreboard?
I really dont know. this is how it looks https://pasteboard.co/0H094hxbwifh.png
I think the plugin uses the scoreboard, but I also know it has some action bar functionality
gotcha
After I installed the expansion and reloaded it broke again.
After relogging and reloading it was still broken. subsequent reloads have been ineffective.
hmm i don't see any of the error messages i added
try this
To be safe:
- stop server
- install expansion
- login
- does it work?
- relog
- does it work?
- send latest.log
I was testing it but it doesn't work for me because I login from localhost smh
it seemed to be working fiine though
in regard to erroring, the only reason it said it couldn't get my timezone is because the website responds with undefined
so I'm curious to see if your error lies with accessing the website, website response, or getting the address
hi
im trying to reload placeholderapi but its just stucked at this
[04:27:31 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[04:27:31 INFO]: [PlaceholderAPI] Fetching available expansion information...
i tried two times to wait like 2-3 minutes but ye no results
someone help xd
I've got players online atm so I cant restart, and dont have time to update my test server to test this atm. Will try soon and get back to you sometime tomorrow. Thanks!
Please respect the rules, be patient and don't ping staff members!
oops, did it again, sorry
sounds good, feel free to ping tomorrow
Thanks!
nvm fixed it
anyone experienced with javascript can tell me why this doesn't work and just returns the entire function?:
var factionName = request.getPlaceholder("factionsuuid_faction_name");
var relationColor = request.getPlaceholder("rel_factionsuuid_relation_color");
var playerRole = request.getPlaceholder("factionsuuid_player_role");
if (!factionName || factionName === "") {
return "";
}
return "&8[" + relationColor + playerRole + factionName + "&8] ";
}```
Is it possible to omit [PlaceholderAPI] [checkitem] Invalid Key for enchantment(s). -- Ignore if enchantment is blank on purpose message?
I'm using /papi parse <target> %checkitem_getinfo:<slot>_enchantments: to get all enchantments of target item.
how can I give a permission to a player when entering a world for the first time
Hello, Javascript expansion no longer works?
Please select a plugin,
1️⃣ - DeluxeMenus [296029 Downloads]
2️⃣ - DeluxeMenusItems [382 Downloads]
3️⃣ - ⚓ [FREE] DeluxeMenus ▸ Quests Menus • 5 Categories ⚓ [213 Downloads]
4️⃣ - ⚔️ [FREE] DeluxeMenus ▸ StrikePractice Menus • Custom Menus ⚔️ [141 Downloads]
5️⃣ - DeluxeMenus RankUp Config [136 Downloads]
Please select a plugin,
1️⃣ - EpicFriends (1.7 - 1.19) - for BungeeCord | MySQL GUI PlaceholderAPI [294 Downloads]
2️⃣ - ReferralSystem [1.8.8 - 1.19.x] [PlaceholderAPI and LeaderHeads] [236 Downloads]
3️⃣ - PlaceholderAPISign [67 Downloads]
4️⃣ - Player Profiles [1.8-1.16] - Unlimited GUIs | PlaceholderAPI/WorldGuard Support | Much More! [44 Downloads]
5️⃣ - ★ Advanced Player Info ★ | GUI | PlaceholderAPI | 1.8 » 1.12 [OPEN SOURCE] [38 Downloads]
I'm a unique Discord bot created especially for HelpChat.
I was created and I'm maintained by @balmy marten with support from the Staff team.
I'm created in Javascript using Discord.JS
At this stage I'm closed source due being a mess and some secret internals. However you can contribute to my links/version knowledge here.
Try to unscramble the word shown in #chatreaction to win!
See your ChatReaction wins.
Get a hint on the current word.
See your position in the leaderboard.
Your personal best streak.
You can vote to skip the word with the
reaction.
[19:01:17 ERROR]: [PlaceholderAPI]
java.lang.UnsupportedClassVersionError: org/openjdk/nashorn/api/scripting/NashornScriptEngineFactory has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_282]
at java.lang.ClassLoader.defineClass(ClassLoader.java:756) ~[?:1.8.0_282]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_282]
at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) ~[?:1.8.0_282]
at java.net.URLClassLoader.access$100(URLClassLoader.java:74) ~[?:1.8.0_282]
at java.net.URLClassLoader$1.run(URLClassLoader.java:369) ~[?:1.8.0_282]
at java.net.URLClassLoader$1.run(URLClassLoader.java:363) ~[?:1.8.0_282]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_282]
at java.net.URLClassLoader.findClass(URLClassLoader.java:362) ~[?:1.8.0_282]
at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_282]
at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_282]
at com.extendedclip.papi.expansion.javascript.evaluator.NashornScriptEvaluatorFactory.create(NashornScriptEvaluatorFactory.java:34) ~[?:?]
at com.extendedclip.papi.expansion.javascript.JavascriptExpansion.createNashornEvaluatorFactory(JavascriptExpansion.java:177) ~[?:?]
at com.extendedclip.papi.expansion.javascript.JavascriptExpansion.register(JavascriptExpansion.java:97) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:172) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_282]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_282]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) ~[?:1.8.0_282]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_282]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_282]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_282]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_282]
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566) ~[?:1.8.0_282]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$4(LocalExpansionManager.java:333) ~[?:?]
at me.clip.placeholderapi.util.Futures.lambda$onMainThread$0(Futures.java:46) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) [server.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-db6de12-18fbb24]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
[19:01:17 INFO]: 1 placeholder hook(s) registered!```
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)
is it possible to make placeholders load faster on startup
load faster in what way @topaz dust ?
Hello @vivid sparrow Javascript expansion no longer works?
make it load before the players join
@hazy talon you have java 8 (52) installed and the expansion needs at least java 11 (55)
What placeholders exactly?
All placeholders
When someone joins after a restart, the tab, scoreboard, and welcome message shows placeholders
because it's still loading
I never had issues with this, try to add a delay before allowing players to join
But Javascript in 1.8 works correctly 🤷♂️
that's possible? How do I do that lol
before
Google 😬
But it's possible okay I'l check
java 8 and minecraft 1.8 aren't the same thing, Leto
the latest version of the js expansion require java 11, that's it
Java 11 in my pc or minecraft server ?
minecraft server, client's version doesn't matter
:/
Don't have the old Javascript 1.8 / Java 8 versions?
no
Ok np
I found 🙂
Please respect the rules, be patient and don't ping staff members!
When I use the command /papi ecloud download player it says that everything is fine and when I put /papi reload in the console it gives me an error and says this
15:02:56 ERROR]: [PlaceholderAPI] failed to load class files of expansions
And many error lines with loading the files
.
Please respect the rules, be patient and don't ping staff members!
Please respect the rules, be patient and don't ping staff members!
where i can download javascript expansion? /papi ecloud download Javascript dnw
Any idea whats up here? If I run /papi reload it works fine, it keeps happening over and over again, I tried on this version and newest, https://pastebin.com/HdYUgqs7, I cleared all placeholders and tried to restart, I only have like 4, Player, Server, Playtime, and maybe another
tysm
https://paste.helpch.at/wewerepena Here is my dump btw
Please tag me on responses, would appreciate it.
@pearl flicker playtime should not have an external expansion anymore
delete that, it's built into the plugin
Is there any way to see list of registered placeholders for specific plugin?
some expansions will suggest your the placeholders on /papi parse
it does not work /papi parse me %parsenear_10_player_name%
https://prnt.sc/zZbmuONN5xF_
well, do you have a player within 10 blocks?
yes
help?
ah looks like the expansion uses distanceSquared, and 10 would be about 2 blocks or something
hey is it posible to make a leader board whit **Player ** exp
so the player with the most xp get to be on top
Not directly through the expansion. You'd need some kind of plugin to go with it.
is there any plugin for it ?
a leaderboard plugin
hi, i was tryin to download Attributes placeholder but i got this "failed to find placeholder"
i was using this command to download /papi ecloud download Attribute
where i can get it?
ty sir!
then i just get ---

You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload or similar service to upload images/screenshots.
thats because the plugin you are using for menu doesnt parse the color codes
so you 1) updatet the menu plugin or 2) use a plugin to parse colors or 3) downgrade placeholderapi

how can we make a stats of top players via using duelex menu
i remember someone made it, but idk how
you should (maybe) use a leaderboard plugin instead
no like i want players do /stat command and it shows their as well as top players stats
can't do smthing sort of that ?
as i said above
i remember someone made it (idk who, when, where, or if i was sleeping and dreamed about it)
but you should use a leaderboard plugin instead
oh okay
one that supports gui with top players
any suggestions ?
sorry no
nvm ty for help
can placeholder expansion get infected from others jar
infected?
yes
Thats a warning due to spigot's stupid plugin system, it is harmless
@sharp jay smh
bro I havent touched spigot in forever
you should delete all jars, including the server one
It also happens on paper, noob
damn paper is caca
What LOL
smh
ciudatule
who can help me?
dont ask to to ask, just ask
how can i add timer to mine reset lite?
if it doesnt have a timer built-in i dont think you can "add" a timer
what?
I'm trying to make it so on the scoreboard, there is a team section which displays which team you are apart of. The placeholder is this: %betterTeams_name%. How could I make it so when someone isn't part of a team, it says none, but when they are, it displays the placeholder, because its currently blank instead of saying none.
maybe your team plugin allows you to customize the output if not part of a team
and if not, it should contact the developer
other alternative, using changeoutput expansion (google it)
incase of a selfhost, etc probably best reinstalling the os
(unless ur dockerized then u just yeet the docker and files iirc)
Why does %statistic_time_played:hours% reset to 0 every time I left click on the item and reopen the menu?
'5Hours':
material: 'Diamond'
slot: 0
priority: 1
display_name: '&9&l6 Hours of Playtime'
lore:
- ''
- '&710 Diamonds'
- '&f%statistic_time_played:hours% &b/ &f5 Hours Required'
- ''
left_click_commands:
- '[message] &6&lHelix » &fYou have claimed &9&lDiamonds'
- '[console] give %player_name% Diamond 10'
- '[console] lp user %player_name% permission set reed.playtime.1 true'
- '[close]'
- '[refresh]'
left_click_requirement:
requirements:
hasPlayTime:
type: javascript
expression: '%statistic_time_played:hours% >= 5'
deny_commands:
- '[message] &cYou do not meet the criteria to redeem.'
'5HoursPurchased':
material: 'Diamond'
slot: 0
priority: 0
display_name: '&9&l5 Hours of Playtime'
lore:
- ''
- '&cYou already claimed this'
- ''
left_click_commands:
- '[refresh]'
view_requirement:
requirements:
hasPerm:
type: string equals ignorecase
input: '%luckperms_has_permission_reed.playtime.1%'
output: 'yes'
is the placeholder value actually resetting
or is %luckperms_has_permission_reed.playtime.1% not parsing as yes
Can you explain exactly what happens when you first open the menu, what item you see, click, what happens, open menu (if needed), what do you see
does PAPI will be added to Modrinth?
not in the near future, if you can't download it from spigot for whatever reason, it is also available on builtbybit, github and our jenkins

why are you asking?
just interest
Hey, anyone knows why javascript is doing memory leaks
in all my gamemodes?
I'm using Javascript-Expansion-2.1.2.jar
I'm only using cooldown javascript and other two javascripts too smalls
try nashorn and this @deep hollow
Just changing that right?
file: cooldown.js
engine: nashorn```
yes that should be fine iirc
QuickJS has a native memory leak in it that's pretty bad and last time I checked they hadn't patched it yet.
Nashorn should hopefully fix that
maybe you can look at this PR glare https://github.com/PlaceholderAPI/Javascript-Expansion/pull/74
it uses one scriptengine instance per thread, ive read some stackoverflow posts and people say you should use one instance and then just set bindings for each evaluation
no, it is only for nashorn 😬 hence why I said to use nashorn
Ahh
Will try that
much appreciated!
engine: javascript
debug: false
github_script_downloads: false
argument_split: ','
enable_parse_command: false
use_quick_js: false```
disabling use_quick_js here should be enough for avoiding the memory leak?
It could be yeah
You won't be able to upload images here directly to avoid spam, so please use https://imgur.com/upload or similar service to upload images/screenshots.
when i use /papi register it solves the problem
but
when i restart the server
its breaking down again
is there a placeholder that anyone knows of that can show the amount of players in a gamemode? players_survival players_spectator
Not that I'm aware of
That might be something that could go in the Server expansion though
Yes, bungee_server
Install bunge expansion by /papi ecloud download bungee
The /papi reload
U should use bungee for this to work tho
Make a script that runs this command every time the server starts
good idea! i will try it
If you don't know how to code, ask chapgpt
And if ur lazy to do it, make a command block in the world, like in a spawn, and put a pressure plate above it, when someone joins it runs the code
not servers, i mean gamemode. survivival,spectator, creative etc
Players API plugin, which provides a REST API for retrieving player data from a Bukkit/Spigot server, including the number of players in each gamemode
You're wlc
This keeps happening.
https://paste.helpch.at/sifibahiha.rb
@zealous vault delete the quest expansion
[15:21:31 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[15:21:31 INFO]: [PlaceholderAPI] Fetching available expansion information...
someone help pls
i tried to reload the plugin, but it just showing this
and stays at this
can someone help?
Why can i only put 2 servers on %server_online_servername%
afaik its server_online_worldname
would the %worldname% work with bungee?
oh im trying to get how much people are online on like my for example Duels servers
why using server_online then?
?
so if i wanted to add multiple servers to %bungee_servername% do i do %bungee_servername_servername2_servername3_etc%