#placeholder-api
1 messages · Page 58 of 1
how do i solve this
I am using ubuntu pterodactyl
does pterodactyl have firewall rules for the containers it creates
or is it just the firewall on the host system
I have no idea
neither
if it's rules per container u need to allow 443 on those containers and the host, otherwise just 443 on the host
I'd check ptero's control panel first for any settings relating to a firewall, maybe try googling "placeholderapi not working pterodactyl" or something see if anyones had the same issue
if not u gotta allow 443 thru iptables/ufw
I feel like papi works fine out of the box on ptero following the install instructions on ptero's docs so you or whoever installed it must've done some extra firewall rules or ptero has added a feature since I last used it (which was years ago so possibly)
port is already added
443 (v6) ALLOW Anywhere (v6)
Is there a placeholder in Statistic that counts how many player have placed blocks?
I just installed the plugin
?
I don't want to install a plugin just for one small feature.
Hi, why isn't this bookmark working when I try to use it?
%server_countdown_<SimpleDateFormat>_<time>%
When I run the command: /papi parse me %server_countdown_dd.MM.yyyy_01.12.2025% It gives me an invalid date result
Hello, I downloaded the Ultimate Guild plugin and I created my guild, but it does not appear next to my username or in the tab. Why? Thanks in advance.
You need to add the %guilds_name% placeholder
in your tab and chat. or wherever else you want to display the guild name.
I believe the countdown placeholder needs time as well.
You can try /papi parse me %server_countdown_dd.MM.yyyy HH:mm_01.12.2025 00:00%
How do I format playertime as (Hour, Minutes), without the minutes being the full playtime, and instead have it work as a digital clock?
When you say playertime, what placeholder are you reffering to specifically?
"%playertime_time_hours"
This isn't something that the server tracks, so you will need something custom for this. Maybe something already exists but you're most likely going to have to install a plugin for it.
Do papi support async return value? I'm getting value from my database and I don't want it to run on main thread
who can help me downlaod chatchat
You can find the latest builds here: https://ci.extendedclip.com/job/ChatChat
ye but when i download and put it isnt working cause its api
You need PlaceholderAPI installed
i have it
send the startup logs
check dm
btw when i put it to my plugins folder it doesnt creating folder named chatchat
and when i start i cant see in my console chatchat
It seems that starting a few versions ago, only 1.21.4 and higher is supported. I'm not sure if this was intended or not.
oh ty so much
try Build 75 for now
which one put to plugins ChatChat-API-1.0.0-SNAPSHOT.jar 1.40 MiB view
ChatChat-1.0.0-SNAPSHOT-75.jar 2.11 MiB view
Started by GitHub push by BlitzOffline
Revision: 583073d3455f283f038dd2ee40ff870bf294e28e
Repository: https://github.com/HelpChat/ChatChat.git
refs/remotes/origin/main
@turbid tide
a
Anyone know if there's a way to grant a permission (or run a command) based on the value of a placeholder? For example:
- Placeholder tracks zombie kills
- Player kills 100 zombies
- Player receives a permission, something like:
tracker.zombie.100
you cant have luckperms apply a permission based on a placeholder at runtime because lp doesnt evaluate placeholders for permission assignment
there are plugins that can run commands though when the placeholder reaches a certain value and so you could
check_zombie_100:
type: player_kill_mob
conditions:
- '%statistic_kill_entity_zombie% == 100'
actions:
- 'console_command: lp user %player% permission set tracker.zombie.100 true'```
conditionalevents, trmenu, or deluxemenus are a few examples
I'll check those out, thank you!
Anytime, @ me if you need any more support
gem:
type: javascript
expression: "%liteeco_balance_gems% >= 500"
i wanted to make a gem shop but my plugin doesnt return with 500 but 500.00 how could i do that nothing works ): and im not that smart pls help
@idle coral
Answered here: #general-plugins message
Remove the DeluxeTags extensions from plugins/PlaceholderAPI/expansions
I did, but same, not working
can u look #general-plugins plss
Execute /papi reload.
If it still doesn't work, run /papi dump and send the generated link here.
you still get an error?
yes
I mean the placeholder in the chat doesn't work.
only show this %deluxetags_tag%
If you try /papi parse me %deluxetags_tag%, does it parse correct?
Can you restart the server please and send the startup logs?
yes
Try this build of DeluxeTags: https://ci.extendedclip.com/job/DeluxeTags/26/artifact/build/libs/DeluxeTags-1.8.3-DEV-26.jar
It seems that the plugin didn't start at all
now it works, thank you very much
❤️ 
Hey, I'm having an issue with ajLeaderboards and PlaceholderAPI. Sometimes when a user leaves there seems to be a thread blocking issue caused by an interaction between ajLeaderboards 2.10.1 (release) and PlaceholderAPI-2.11.6.
The developer of ajLeaderboards says its likely related to bukkit itself and recommended me to ask here if more is know about this problem. Is there any way I can fix this?
Partial log:
https://paste.helpch.at/zipuvaboku.md
Full log:
https://paste.helpch.at/nibebemiko.md
I also see a mention of denizen script in your log.
im trying to build a Bank GUI for my skyblock server with deluxe menu. my config: items:
'whole':
material: CHEST
amount: 64
slot: 10
priority: 1
update: true
update_interval: 0.5
display_name: '&aDein gesamtes Guthaben'
lore:
- ''
- '&7Aktuelles Bankguthaben: &6%Bank_bskyblock_island_balance%'
- ''
- '&7Einzahlungsbetrag: &6%vault_eco_balance_commas%$'
- ''
- '&eKlicke hier, um das Geld einzuzahlen!'
left_click_commands:
- '[player] is bank deposit all'
- '[close]'
but ingame the format of the two numbers is not the same. can i adjust that? one is 0.000,00$ and one is 0.000$
the two placeholders come from different plugins and each plugin formats numbers in its own way, if you find a raw variant of the placeholder, you can use
%math_{%placeholder%}*1,number_format:##,###.00%
@serene atlas doesnt work for me, but i set the Format of the Formatter expansion in the placeholderAPI config to de-de, now it displays e.x. 15.900,41 if i do "/papi parse me %formatter_number_format_{bank_bskyblock_island_balance_number}%" // Before i used "/papi parse me %bank_bskyblock_island_balance_number%" and got 15900.41 // So the format is good now, but now i still need to add the math to divide it by 2. Is it even possible to use multiple placeholders in each other? i would need the Formatter + Math + Bskyblock
This is not a bug, but a normal behaviour of PlaceholderAPI and also not a PlaceholderAPI issue directly.```
i found that comment online, so i think it wont be possible what im trying to do :/
%math_0:_{jobsr_user_jexp_rounded_Fisherman}*100/{jobsr_user_jmaxexp_Fisherman}%
[20:04:24 WARN]: [PlaceholderAPI] [math] Invalid Placeholder detected!
[20:04:24 WARN]: [PlaceholderAPI] [math] Placeholder: %math_{jobsr_user_jexp_rounded_Fisherman}*100/{jobsr_user_jmaxexp_Fisherman}%
[20:04:24 WARN]: [PlaceholderAPI] [math] Cause: '0*100/0' is not a valid Math expression.
can someone help?
survival:
material: paper
custom_model_data: 16000
slots: [1,2,3,4,5,6,7,10,11,12,13,14,15,16]
item_flags:
- HIDE_ATTRIBUTES
display_name: '&a&lSurvival'
lore:
- '&7Túlélő szerver sok-sok extrával:'
- '&7Vásárlás, ládanyitás, battlepass'
- ''
- '&fSzerver verzió: &a&l%server_version%'
- ''
- '&fCsatlakozz a többi &a&l%bungee_survival% &fjátékoshoz!'
actions:
- '[PROXY] survival'```And it says: Server version: 1.21.10
and the server is only 1.21.8
what is this about?
and this deluxehubreloaded plugin
You are trying to divide by 0 which is not possible. So the Math expansion just gives up.
The return of {jobsr_user_jmaxexp_Fisherman} is 0.
Can you execute /papi dump and send the generated link here please?
If you know how to write JavaScript code, you can use the JavaScript expansion to modify the values to your liking.
Are you using Spigot or Paper?
purpur
This is a strange issue. It should take the version directly from the server. Can you send a screenshot of the item where it shows the version?
server versio?
send a screenshot of this item
in game
okey dm send
Hi. I saw the message and I looked trough the code but this issue is unfortunatelly stomping me. I can not figure out why this would return the wrong version.
fixed .-.
Oh. Did it fix itself? Or is there something you've done to fix it?
me fixed
old code
- '&fSzerver verzió: &a&l%server_version%'
new code:
- '&fSzerver verzió: &a&l%pinger_version_172.18.0.1:25568%
Ah. You've swapped the placeholder. Alright. Thanks for sharing.
yes swapped .-.
I've tried deleting and re-downloading it multiple times, but the error spam is still happening. How can I fix this?
[18:06:53 ERROR]: [PlaceholderAPI] Failed to load expansion file: D:\VietReam New\AVietRealm\Spawn\plugins\PlaceholderAPI\expansions\Expansion-checkitem.jar
java.lang.IllegalStateException: zip file closed
at java.base/java.util.zip.ZipFile.ensureOpen(ZipFile.java:826) ~[?:?]
at java.base/java.util.zip.ZipFile.getEntry(ZipFile.java:290) ~[?:?]
at java.base/java.util.jar.JarFile.getEntry(JarFile.java:505) ~[?:?]
at java.base/java.util.jar.JarFile.getJarEntry(JarFile.java:460) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:209) ~[leaf-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:557) ~[?:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:169) ~[leaf-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:144) ~[leaf-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.entrypoint.classloader.group.SpigotPluginClassLoaderGroup.lookupClass(SpigotPluginClassLoaderGroup.java:43) ~[leaf-1.21.4.jar:1.21.4-524-8757c36]
Heya, I'm encountering crashes with the Math expansion
/%math_9^9^9^9^9^9^9^9^9^9^9^9^9^9% got this from the logs, looks like a stackoverflow when It cant compute it.
Does anyone know a fix for this?
Crashstack: https://hastebin.nl/IkXo8xF
Hello, I can't download the PlaceholderAPI
papi ecloud download vault extension.
[14:31:00 INFO]: Failed to find an expansion named: vault
and any extensions are not downloaded
Mind giving us your startup log?
We did make a change to the api but I don't believe it would have caused this
What happens when you run /papi list all
I can't download anything using the papi ecloud download command.
But I can go to the website and download.
papi list all
[14:47:32 INFO]: There are no placeholder hooks active!
ah sorry /papi ecloud list all
papi ecloud list all
[14:48:20 INFO]: No expansions available to list.
any at all
My guess is your server is blocking connections to our api but we're just confirming that
Now /papi ecloud download CheckItem
but he still doesn't want to
Yeah just tested it on localhost and ecloud is working fine
are you running locally or on a host?
I disabled it anyway.
papi ecloud download CheckItem
[14:52:24 INFO]: Failed to find an expansion named: CheckItem
and you can access https://api.extendedclip.com/home/ in the browser?
yes
there must be something on your computer blocking outgoing traffic from spigot's java process
usually is windows firewall, just disable all anti virus and firewall software you have
If I live in Russia, can Russian IP addresses be blocked?
I tried it through VPN and it works.
I mean
if you can access it in the browser then that shouldn't be it
unless you have a vpn in your browser already
if your country has internet censorship your ISP's dns may block certain things, but whatever browser you have may use a different dns
so you could try change your system dns aswell
but yeah we don't block any countries on our end
I have a problem with
gradle
I'm adding
maven { url = Placeholder URL
// PlaceholderAPI - use the official repository instead of a local JAR
compileOnly 'me.clip:placeholderapi:2.11.5'
But it doesn't want to accept and connect to my project
x
i need help with pai
papii
some logs spams my console
i cant send pastebin here
do u hawe placeholder to welocity?
Could you please upload the current PlaceholderAPI Gradle maven plugin repository to GitHub? The link is outdated and doesn't work.
anyone know how any of these work?
%distance_x1,y1,z1[,x2,y2,z2][,decimals]%
%distance_player1[,player2][,decimals]%
%distance_player[,x,y,z][,decimals]%
%distance_UUID1[,UUID2][,decimals]%
i cant figure it out it doesnt work when parcing
no matter what i do it just returns -1
Hi, I'm using the localtime expansion and it worked at first but now I'm getting errors that it can't gather my timezone and will use the default instead. Am I doing something wrong or is there an issue with the api rn?
Its doing this for others as well now
How would I display the name of the server or world like Example if the name of my server or world is called Event, Test, or Build World how would I display that I have tried every server and world placeholder that would make sense.
where are you displaying it?
scoreboad
Use %player_world%
For server use
%server_name%
eCloud Manager is not enabled! To enable it, set cloud_enabled to true and reload the plugin. how to fix?
If your /plugins/placeholderapi doesnt have a config idk, but, for default it is enabled
this is papi config.yml
cloud_enabled: true
cloud_sorting: "name"
boolean:
'true': 'yes'
'false': 'no'
date_format: MM/dd/yy HH:mm:ss
detect_malicious_expansions: true
debug: false```
your error says cloud_enabled
which should be by default true
check_updates: true
cloud:
enabled: true
base_url: "https://api.extendedclip.com/"
timeout: 1
cloud_sorting: name
boolean:
'true': '&a✔'
'false': '&c✖'
date_format: MM/dd/yyyy
debug: false
expansions:
localtime:
date_format: dd/MM/yyyy hh:mma
player:
ping_value:
high: 100
medium: 50
direction:
north: N
south: S
north_west: NW
north_east: NE
east: E
south_east: SE
west: W
south_west: SW
ping_color:
medium: '&e'
high: '&c'
low: '&a'
server:
tps_color:
high: '&f'
low: '&f'
medium: '&f'
server_name: LeonCraft
vault:
baltop:
check_delay: 30
cache_size: 100
enabled: false
formatting:
thousands: k
millions: M
billions: B
trillions: T
quadrillions: Q
@strange mortar
Update PAPI and/or try reset config
checkitem_amount_custommodeldata doesn't work
java.lang.IllegalStateException: No numeric custom model data
That displays the MOTD
it displays whatever you configured in your PlaceholderAPI config.yml
Oh I haven’t configured a single thing there ever Thxs
CheckItem hasn't been updated and still uses the old model data number, if you're using the new configuration of model data, CheckItem won't detect it
hi, i have a problem with %bungee_total% placeholder api, it keep showing zero player while there are a couple players in the game, it shows numbers in main lobby server , it also shows in pvp server, but it wont show in economy server i do not know why, been fixing all days and its still show zero. ( i use velocity btw ) i configure everything right but it only show on other of my backend server except the economy server. pls help me
my bungee messaging is enabled in velocity's config
is there any verified placeholder to get current unixtime/timestamp? the placeholders I've found all show simpla date format and I don't want to download unverified placeholders to do so.
I want it in an unformatted form.
the javascript placeholder would help but it's unsafe/unverified
Why does this placeholder
%server_countdown_dd.MM.yyyy_26.12.2025%
Just return invalid date?
I believe it needs hours and minutes as well. Try %server_countdown_dd.MM.yyyy HH:ss_26.12.2025 00:00%
That works, thanks
I'm using the plugin on 1.21.10 and I'm having trouble with the multiverse-core extension. When I hit download from command it tells me that it does not exist. And if I download it manually, it throws an error. Has this happened to anyone?
i need help component for custommodel data in deluxe menus is not working the server is on 1.21.8
multiverse expansion is no longer needed as of v5 version of multiverse, it is built into the plugin already
what are you trying? any errors? can you send ur menu config?
does anyone know how to get %health% to work? I tried installing statistics, player, and playerstats, but the plugin don't seem to return anything when i typed /papi parse [player name] %health%
im on paper 1.21.4 and is using placeholderapi 2.11.7
Use %player_health% with player expansion
oh ye i tried doing that, but it seem like advancedenchants hated that
so now im stuck with only being able to use %health%
oh well, let me read ae wiki first
good luck lol
but usually something like "%a_placeholder_name% = true/false : %allow/stop%" should work
*for the config
uhm, this plugin has a lot of mechanics
yeeeah and its poorly documented
but i assume %health% don't work at all, and %player_health% is essentially the replacement?
maybe they didnt update their wiki or sum
ohhh ye found this
so ig thats not a thing
Hi!
I have a problem with my Deluxemenu, probably since I update my server from 1.19.4 to 1.21.4
Can someone help me to solve it ? I'm ready to pay 🙏
whats the issue
is there anyone to help me?
%parseother_{duels_match_opponent}_{duels_match_opponent_health}%
i wanna nest 2 placeholders toghether, but the way i sent wont work, is there any way to do it?
I have one problem, whenever i download bungee expansion in papi and try to reload it, it dosent gets reloaded. Server ver: 1.21.8 (Folia)
possible to have player expansion without gamemode
bungee expansion uses the bukkit scheduler so will not work on folia
what?
you can nest nest 1 placeholder deep with format %placeholder_{nested_placeholder}%
but you cannot do %placeholder{1{2}}%, unless u use utils expansion on top of it
Found the working alternative already:
https://github.com/Euphillya/Bungeecord-Expansion-Folia/releases
Thanks for helping!
I’m trying to display the Factions tag in chat through Essentials using the PAPI placeholders, but I haven’t been able to get any of the placeholders to function properly. I’m currently running FactionsUUID on version 1.21.10, and I’ve tested multiple placeholders including %factionsuuid_faction_name%, {FACTION}, [FACTION], %factionsuuid_faction_tag%, and several others, none of which have worked so far.
Hi, I have a problem: a message is being spammed in the server console, and it's annoying. If anyone knows what's causing this or has experienced it, could you please help me?
[18:50:02 INFO]: [Progress] Couldn't get the number from inactive. The progress will be 0%.
[18:50:03 INFO]: [Progress] Couldn't get the number from inactive. The progress will be 0%.
[18:50:04 INFO]: [Progress] Couldn't get the number from inactive. The progress will be 0%.
[18:50:05 INFO]: [Progress] Couldn't get the number from
could u ad the extension for ultimatetemas
[22:28:53 WARN]: [PlaceholderAPI] [math] Placeholder: %math_0:{mmocore_cooldown_bound_4}+1%
[22:28:53 WARN]: [PlaceholderAPI] [math] Cause: 'No Skill Bound+1' is not a valid Math expression.
[22:28:54 WARN]: [PlaceholderAPI] [math] Invalid Placeholder detected!
[22:28:54 WARN]: [PlaceholderAPI] [math] Placeholder: %math_0:{mmocore_cooldown_bound_7}+1%
[22:28:54 WARN]: [PlaceholderAPI] [math] Cause: 'No Skill Bound+1' is not a valid Math expression.
[22:28:56 WARN]: [PlaceholderAPI] [math] Invalid Placeholder detected!
[22:28:56 WARN]: [PlaceholderAPI] [math] Placeholder: %math_0:{mmocore_cooldown_bound_5}+1%
[22:28:56 WARN]: [PlaceholderAPI] [math] Cause: 'No Skill Bound+1' is not a valid Math expression.
[22:28:58 WARN]: [PlaceholderAPI] [math] Invalid Placeholder detected!
[22:28:58 WARN]: [PlaceholderAPI] [math] Placeholder: %math_0:{mmocore_cooldown_bound_6}+1%
[22:28:58 WARN]: [PlaceholderAPI] [math] Cause: 'No Skill Bound+1' is not a valid Math expression.
I am getting spammmmmed this in console - think it has something to do with a HUD - know if this is hud side or api side for me to fix ?
%mmocore_cooldown_bound_7% is returning 'No Skill Bound' instead of a number
so math expansion is failing
u need ur placeholder to always return a number
Where would you recommend i start digging - inside placeholder API or the Resource pack stuff ?
find out why mmocore is returning no skill bound
hello, i'm wondering if anyone had this issue before, whenever i do /papi parse me %player_name% or any other placeholder, it would return player_name without the %%, the placeholder works fine everywhere other than chat
another thing is that console can parse the placeholders correctly, so sending same command in chat wouldn't work but it would work in the console
what chat plugin
youu using
cmi
but not related i think its something else
something is replacing when two % % are received in chat
%server_version% not working and other basic PAPI holders
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:155) ~[paper-1.21.8.jar:1.21.8-60-29c8822]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[paper-1.21.8.jar:1.21.8-60-29c8822]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1450) ~[paper-1.21.8.jar:1.21.8-60-29c8822]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:176) ~[paper-1.21.8.jar:1.21.8-60-29c8822]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:129) ~[paper-1.21.8.jar:1.21.8-60-29c8822]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1430) ~[paper-1.21.8.jar:1.21.8-60-29c8822]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1424) ~[paper-1.21.8.jar:1.21.8-60-29c8822]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:139) ~[paper-1.21.8.jar:1.21.8-60-29c8822]
at net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:1381) ~[paper-1.21.8.jar:1.21.8-60-29c8822]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1389) ~[paper-1.21.8.jar
why is this happening
Hi everyone!
I’m trying to create a placeholder that shows a player’s kills, but I only want it to count kills in my Survival worlds (world, nether, end).
Right now, if I use %statistic_player_kills%, it counts all kills, including ones in my KitPvP world, which I don’t want included.
Is there a way subtract the kills from the KitPVP world, or perhaps only add up the kills from the survival worlds using Simple Mulitverse Stats?
I am aware of the math expansion, but I have not found a way to get it working with this issue.
I would appreciate any help. Thank you so much!
Can https://wiki.placeholderapi.com/users/placeholder-list/#shortcut be taken off the Official PAPI eCloud? It lets you fetch secrets without file permissions and it's a major risk for admins who may just use it to collect info when potentially going rogue.
Just making a manual install prevents this.
3.12 17:35:53 [Server] INFO [PlaceholderAPI] Placeholder expansion registration initializing...
03.12 17:35:53 [Server] INFO [PlaceholderAPI] Fetching available expansion information...
03.12 17:35:53 [Server] ERROR [PlaceholderAPI] Failed to load class files of expansion.
I am trying to instal the vault placeholder but when i reload it is says 0 placeholder hooks registered!
Can someone help how i can fix that
@balmy marten Hey, i want to upload an expansion to eCloud, can i get help with that?
Hi! Is there a way to add {player:{name:"Bobicraft"}} to a variable? My idea is to put that head in a menu for users; if they use /title @a title {player:{name:"Bobicraft"}} they'll understand what it does.
It displays the player's head wherever you put the variable, but I can only use it with vanilla commands and I'd like to do it with plugins.
Send him a friendrequest ill let him know
He doesn't accept frined requests
ok I let him know
Thanks
For now can you link the github repo
for your expansion
Hello, Is it possible to place one placeholder inside another?
Exemple:
/papi parse me %formatter_number_format_[pt-BR:#,##0.00_essentials_baltop_balance_2%
if the expansion supports it, then yes. use {} on the inner placeholder
@balmy marten @carmine veldt why you don't care about the security of eCloud? i saw the commits of the new version of PAPI on github, and there was a hash check, which is needed now! recently my friends discovered BuildBattlePro with obfuscation in their expansions folder, why haven't you released an update yet?
The production API has been temporarily updated to only return the latest version of each verified expansion, preventing access to older versions while additional protections are developed
the API is still returning the latest versions, although 3 weeks have passed, apparently no work is underway lmao
Additional platform safeguards and automated checks are being implemented to enhance expansion review and threat detection.
you promised new additional checks, but they are still missing, there is no new info from you, there are no commits - are you doing something, or you really not care about the server admin community? you haven't been able to take care of your security for many years, this time you just decided to leave only the latest versions in the API, and that's it - is this a solution?
Could you please provide a link for Gradle?
I can't connect PlaceholderAPI.
I need Gradle and Maven.
repo is https://repo.helpch.at/releases
404︱Resource not found
Looking for a dashboard?
Thanks, it worked.
I thought my plugin would be left without Placeholder.
Thank you
hello, is there some known papi expansion that can get paceholders even for offline players? Ideally where I can save custom things? I'd like to get like player group from luckperms etc if they're offline
Hi Axi, excuse the shortness of my reply as I'm on mobile.
You're right, we do have a version of papi with has checks. But as papi is dependant on by so many people it's important to test changes before they go live, especially something such as this which could cause issues if false flags appeared.
Regarding the ecloud, a whole new ecloud is currently being written with a whole load of updates including that version verification. Thing just take time, do keep in mind we are volunteers, we are not paid, we have full time jobs.
BuildBattlePro was in my announcement and is in the list of hashes. It was removed from our CDN at the time of the announcement.
If you want to help get the hash checking version out, get your friends to give it a test. It can be downloaded from our Jenkins server.
hey, thank you for making this clear, cuz there was 0 news from you, and it seemed to me that you had interrupted the development
All good, just need to remember not everything we do is public
Here's an example of version verification running on the in dev ecloud
wow looks cool
are there deadlines?
hey,
how to create a ecloud account?
is there any placeholder for online people on the server and online people on the network?
like %proxyplayers_online% or %server_online%
%bungee_server% and %bungee_online% i believe
Ideally in the next couple weeks, also to reply to your previous msg, we didn't do a public release for the papi version with the new commits as while the announced exploits were severe, the infected demographic was very small, too small that it's highly unlikely that the new release would've actually gotten onto these servers to prevent any major damage being done, which is why we reacted with just restricting the ecloud api versions to the latest instead
Next couple weeks for a new papi update hopefully, ecloud rewrite may be a little further off
however we do take the security on the ecloud very seriously and any time an exploit or vulnerable expansion has been brought to our attention it's been resolved very quickly
to be clear, the papi expansions in question were installed on a total of 77 servers I believe (out of ~300,000) which would include servers included in a bungee network, so the total networks would be less, and these were all concentrated in a region in russia, the recent attack was not a collective effort to target the entirety, it was a targeted effort against specific russian servers/networks using our plugin to install a malicious expansion
The expansion in question, was also not malicious in it's latest version, infected users specifically installed an older version of the expansion, someone specifically told them to download an older version which is why we restricted ingame/onserver downloading till the latest version till we release the new ecloud which allows for per-version verification of expansions
EDIT: also regarding buildbattlepro, it's not confirmed to be malicious, we removed it due to the obfuscation however
does not work for me
Replace server with your server name from bungee’s config.yml
i have velocity
Another option
https://api.extendedclip.com/expansions/pinger/
You need ip and port tho
alright, thank you!
Hey,
Can I get a ecloud account?
@balmy marten
please send link to your expansion repo (github)
why do you need an ecloud account for a plugin?
so if i want to ping velocity i just make it the velocity ip and port and if i want it to be the server its on i just select that?
Also, is there any way to make a discord channel that shows how many people are online on the network
I just added it, it says 0 online even though I am online
%pinger_players_<57.128.22.84>:<25565>%
(there are "_" but they wont show on discord for some reason)
are there placeholders that show for instance in the lobby whos on survival?
Hi, why doesn't the chat appear empty when I use %player_item_in_hand_name%? The same thing happens when I use %player_item_in_hand_data%.
Hello! Just had a quick question regarding the server countdown expansion for PAPI. Is there a way to change/specify the format of the displayed text? ie. if instead of showing 2w 5d 9h... if i wanted to just show 19 days would that be doable?
[WARNING] Failed to download maven-metadata-placeholderapi.xml [https://repo.extendedclip.com/content/repositories/placeholderapi/]
[WARNING] Failed to download placeholderapi-2.11.6.pom [https://repo.papermc.io/repository/maven-public/]
[WARNING] Failed to download placeholderapi-2.11.6.jar [https://repo.papermc.io/repository/maven-public/]
any1??
https://github.com/PlaceholderAPI/ViaVersion-Expansion Hello, can the issues be checked here, please?
How do I get the player count, online status, etc of backend servers from another backend server? (the hub)
my placeholderapi will not work for my minecraft server it is 1.8 verison and placeholderapi is 2.11.7 and 2.11.6 but i not working on my server i can't see the plugin
^ Should be able to help if you give us the log
Follow this
PlaceholderAPI
Version: 2.11.7
Created by: extended_clip
Contributors: https://github.com/PlaceholderAPI/PlaceholderAPI/graphs/contributors
Issues: https://github.com/PlaceholderAPI/PlaceholderAPI/issues
Expansions: https://placeholderapi.com/ecloud
Wiki: https://wiki.placeholderapi.com/
Discord: https://helpch.at/discord
No placeholders are provided with this plugin by default.
Download placeholders: /papi ecloud
check_updates: true
cloud_enabled: true
cloud_sorting: "name"
boolean:
'true': 'yes'
'false': 'no'
date_format: MM/dd/yy HH:mm:ss
debug: false
i cant not place the map
when i type logs. i find a latest but i cant kopier it in here i the chat i wil not show
Go to the folder of your server
your should see folders like /plugins and /logs
go into the /logs folder and tell me what you see
a lot of numbers
does one of them say latest.log?
yes latest.log
Great, open that
now i have open that i can see a lot of texts
Copy the contents and paste it into this website https://paste.helpch.at/
Then click the save button and copy the new url it gives you
i have savet it now but i didt give anything but i wish i could sent a photo
Barry has provided you the answer
what do i do soo
Your server is too old. Needs to be at least 1.8.8
my friend have sever is 1.8 he have a placeholderapi plugin i cant not put my server verison to 1.8.8 i have 100 players pr day they not plugin on 1.8.8 i will lose all my players 🙁
It's still 1.8 just the 8th minor version
1.8**.8**
instead of just 1.8
Your players will most likely not notice any change
but i will but people on 1.8 and 1.8.9 can still play on the server? and labymods player
Players with 1.8.9 will be able to join yes
You do know this version is over 10 years old yeah?
ye i know i am 24 years old but if i change the verison now in my server then i will could use placeholder
Yes, as a minimum upgrade to 1.8.9
Hello guys how do i repair this? "deluxemnus couldnt Hook up with Holderapi"
@balmy marten could you help me?
Oh ok
Install PlaceholderAPI.
does someone know a expansion that can store a players killstreak in the scoreboard
potensh Statistic
can u send a link to the download
/papi ecloud download Statistic
oh ty
has it been updated to 1.21.11?
/papi parse me %math_{%replace_ &b:gem:__{%peconomy_balance_cash%}%}>10%
Hi, how do I get this placeholder to work?
The replace function is removing the symbol and color from the savings placeholder. I tested it and it's working, but when I put it inside the math function, everything stops working. If anyone understands this better and can help me, I would appreciate it.
Hello,
I am currently writing a new external PAPI expansion. I would like to have a config section inside the PAPI config, I found the Configurable interface for that.
I was wondering if there was a way to cache options from the config when the expansion/plugin reloads? Or do I have to keep calling the #getString(..) method for instance, everytime a placeholder is parsed.
Thanks
I usually use the Taskable interface and get config settings in the start method
/papi ecloud download Utils
/papi reload
%utils_parse_math_{replace_&b:gem:__{peconomy_balance_cash}}>10%
[13:18:12 WARN]: [PlaceholderAPI] [math] Invalid Placeholder detected!
[13:18:12 WARN]: [PlaceholderAPI] [math] Placeholder: %math_1.00K &b💎>10%
[13:18:12 WARN]: [PlaceholderAPI] [math] Cause: '1.00K &b💎>10' is not a valid Math expression.
[13:18:12 INFO]: %math_1.00K &b💎>10%
I'll try to fix the replace before
Works!
I know this has nothing to do with PAPI, but how could I implement this in Better GUI? The currency I use isn't transmitted through Vault, and I want to do something like this:
Amazing, thanks a lot. That worked
pickaxe_1:
NAME: "&b&lQuebra-Mundos"
ID: DIAMOND_PICKAXE
POSITION-X: 3
POSITION-Y: 2
LORE:
- "&7Inquebrável IV"
- "&7Fortuna IV"
- "&7Eficiência V"
- "&7Remendo"
- ""
- "&6Preço: &b20 💎"
- ""
- "&eClique para comprar"
CLICK-REQUIREMENT:
default:
condition: "%utils_parse_math_{replace_&b💎__{peconomy_balance_cash}}>20%"
fail-command:
- "tell: &cVocê não tem cash suficiente!"
success-command:
- "op:eco removebalance %player% cash 20"
- "give:diamond_pickaxe 1 name:\\&aQuebra-Mundos enchants: efficiency:5 fortune:4 unbreaking:4"
- "sound: ENTITY_EXPERIENCE_ORB_PICKUP"
- "tell: &a✔ Você comprou a Quebra-Mundos com sucesso!"
Would you understand how this could work?
Hi, is the advancedbungee papi expansion still maintained? I just tried to install it and I am getting [PlaceholderAPI] Cannot load expansion advancedbungee due to an unknown issue
I have tried the bungee expansion, it works but is slow at getting total player count, so I thought I would try advancedbungee
enable bungeecord in your spigot.yml
idk if AdvancedBungee is that good tho, I remember it having issues, I may update it at some point but yeah
condition: "%replace_&b:gem:__{peconomy_balance_cash}% >= 10"
Worked, thankss
ah that is false in all servers, the other placeholder expansion works without that enabled (not sure of the knock on affects of enabling that on a velocity/paper network). I just want to get total player count on all servers, but quickly (bungee expansion is far too slow, says 0 for ages)
AdvancedBungee won't work
it requires the expansion to also be used as a BungeeCord plugin
and you can refresh the Bungee expansion's refresh interval in PAPI's config
Ok thank you
why i have only 152 ecloud expansions but in the website it says it is 249 expansions
i use the latest version
because not all expansions are marked as Verified
those that aren't can't be downloaded through commands
Hi hi hi
command /grzaniec:
trigger:
if player has permission "swiateczny_grzaniec_30min":
send "&aPosiadasz aktywny bonus!" to player
else:
send "&cNie posiadasz aktywnego bonusu" to player
I have a question - because it currently works, but I want to add one thing, and among other things, it would be displayed
%luckperms_expiry_time_swiateczny_grzaniec_30min%
When a player has an active permission but something doesn't want to work, maybe someone has an idea?
Is there a way to get the worth of all the items in your inventory?
Essentials placeholder %essentials_worth% only shows the item in your hand sadly
Is there an expansion that can take the statistic placeholder but give me leaderboard formats so it’s not just showing the stat of the person looking at it? Like a top “n”
hello, how do i make my money like $34.85M and not just $34M?
%vault_eco_balance_formatted% not working
I think you can change how many decimals are from papi’s config file but im not sure
java.lang.NoClassDefFoundError: com/massivecraft/factions/RelationParticipator
at java.base/java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3578) ~[?:?]
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2676) ~[?:?]
at PlaceholderAPI-2.11.7.jar/me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:429) ~[PlaceholderAPI-2.11.7.jar:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?]
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) ~[?:?]
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) ~[?:?]
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) ~[?:?]
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) ~[?:?]
Caused by: java.lang.ClassNotFoundException: com.massivecraft.factions.RelationParticipator
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445) ~[?:?]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593) ~[?:?]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?]
... 11 more
[12:43:29 WARN]: [PlaceholderAPI] Cannot load expansion playertime due to a missing plugin: PlayerTime```
How do I delete or remove some placeholders I downloaded?
Is it possible to register on PAPI eCloud right now? I have a plugin and I was wondering if I could register my PAPI expansion to it?
hello, can you help me? i wrote question up here
it stopped working
You can use an actual link
Im going crazy, for some reason, my code works PERFECTLY but if an specific variable of my code has 5 or 11 letters it breaks my entire code with the error
java.lang.StringIndexOutOfBoundsException: start 26, end 129, length 104
at java.lang.AbstractStringBuilder.checkRangeSIOOBE(AbstractStringBuilder.java:1724) ~[?:?] {}
at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:1017) ~[?:?] {}
at java.lang.StringBuilder.substring(StringBuilder.java:85) ~[?:?] {}
at io.github.tanguygab.utilsexpansion.UtilsExpansion.parseBracketPlaceholders(UtilsExpansion.java:201) ~[?:?]
if it has any quantity of letters like 3, 4, 6 or anything else it works like i coded, but if it has EXACTLY 5 OR 11
it breaks my entire code
there's a good chance it's an issue with Utils
yes its utils
can you send the placeholder you're using?
its a placeholder for finding an anime form of an pokemon and displaying it
I hadn't have any issue in a while, I was happy for once
I'm scared to check its code again ;-;
its a code where's the person can select an anime a person and it shows all the pokemon it can morph into
but specific pokemons like Ditto, tepig, pichu and meowscarada/blacephalon it bugs
gible too
i noticed the 5/11 incident bc ALL my persons that has 11 or 5 pokes in their list just crashs
luxray sanemi for an example works like an angel, i can't send the photo, but it works
there's any way to me like, just avoid it? i had a lot of time coding this anime pokedex and if this bugs im going crazy
I'd need to fix Utils, but I'm not even sure how to ;-;
oh, you're the utils creator?
yeah
can you try to add this shortcut in your PAPI config.yml
utils:
shortcuts:
animedexperson: "%score_variables_{score_variables_animedexpers
and then use this placeholder %utils_parse_pokemon_form_{formatter_text_lowercase_{changeoutput_contains_input:{utils_shortcut_animedexperson}_matcher::_ifmatch:{utils_shortcut_animedexperson}_else:{utils_shortcut_animedexperson}: {score_variables_animedexperson}}}%
ok
f
utils:
shortcuts:
animedexperson: "%score_variables_{score_variables_animedexperson}_6%"
didn't paste it correctly
ok it kinda works now but my pokemon placeholder is returning an error
variable not found:sasuke
lemme see
the shortcut is retuning the variable not found
lemme se
I don't even remember how this works
and I'm the one who wrote this code 😭
2 years ago
Ok, there's a thing
now it works
but i can't use the _6 in the code bc the _(number) is a list
like
_4 and _5 is different
but i can work around it
arguments
shortcut supports arguments
{utils_shortcut_animedexperson:6}
and in the config, you use {0} I think
let me double check
ok
yup
yeah, except when it's broken
¯_(ツ)_/¯
was able to find a way to break Utils
now I need to figure out why it doesn't work and how I can fix it
bruh
I just simplified & fixed the expansion
it just took me 2 years to do so
all of that because I'm an idiot and just keep on making my job harder for no apparent reason
can you test your old placeholder with this?
just to make sure
java.lang.NoClassDefFoundError: com/massivecraft/factions/RelationParticipator
at java.base/java.lang.Class.getDeclaredMethods0(Native Method) ~[?:?]
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3578) ~[?:?]
at java.base/java.lang.Class.getDeclaredMethods(Class.java:2676) ~[?:?]
at PlaceholderAPI-2.11.7.jar/me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:429) ~[PlaceholderAPI-2.11.7.jar:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) ~[?:?]
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) ~[?:?]
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) ~[?:?]
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) ~[?:?]
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) ~[?:?]
Caused by: java.lang.ClassNotFoundException: com.massivecraft.factions.RelationParticipator
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445) ~[?:?]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:593) ~[?:?]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?]
... 11 more
[12:43:29 WARN]: [PlaceholderAPI] Cannot load expansion playertime due to a missing plugin: PlayerTime```
How do I delete or remove some placeholders I downloaded?
in your /plugins/PlaceholderAPI/expansions/ folder
What should I do if Gradle doesn't want to add Placeholder to the project?
I'm using Gradle.
send your build.gradle
what?
?
it's https://repo.helpch.at/releases
I took everything from the website.
I don't understand what you mean
I can't connect placeholderapi
use this
without the #
also, why are you shading PlaceholderAPI in your plugin?
you should only use compileOnly, not implementation
/papi parse DonKolia %world_nearbyEntities_5%
dont works, other time....
And yes, i execute papi ecloud download world and i am using the last version of PAPI and i dont see console messages
Sup guys, can I make multiple if in ChangeOutput placeholder? I try to use it like in cycle, where else condition use another change output placeholder, but it doesn't work cause i already used another placeholder in option. I need to make 3 outputs for 3 different values in scoreboard
%changeoutput_equals_input:{objective_score_lw}_matcher:1_ifmatch:world_else:{changeoutput_equals_input:{objective_score_lw}_matcher:2_ifmatch:world_nether_else:-world}%
I have same problem, let me know if you find solution for it. '%changeoutput_>=_input:1_matcher:{statistic_days_played}ifmatch:{math_0:ceiling{statistic_minutes_played}[prc]60},_else:0%'
I'm not sure what else to do from here... https://i.imgur.com/IGjelbO.png
I don't know enough to understand what's going wrong
[18:27:33 ERROR]: [PlaceholderAPI] Failed to load expansion class ConfigExpansion - One of its properties is null which is not allowed!
right after doing /papi ecloud download config and /papi reload
Use the Utils expansion,
%utils_parse_changeoutput_equals_input:{objective_score_lw}_matcher:1_ifmatch:world_else:{changeoutput_equals_input:{objective_score_lw}_matcher:2_ifmatch:world_nether_else:-world}%
the expansion is missing updates LOL
Nuvotifier version 1.21.8 doesn't support VoteParty. Which other plugin can I use it with?
i have a question, how do i use placeholder like %vault_eco_balance% with custom fonts i want?
for example ttf font
for example <font: “myfont”>%vault_eco_balance%</font>
Hey so I'm trying to find the correct way to update placeholders for leaderboards , %vault_eco_balance% updates automatically yet it seems like the %essentials_baltop_player_stripped% and %essentials_baltop_balance_fixed% do not automatically update, this whole time i've just been using /papi reload as a way around this yet what is the correct way to do so, is there anyway to automatically update these without doing a full reload on PAPI?
They cache baltop iirc so it doesn't update in real time. Can't recall if it should after a bit at least though 🤔 There's mention here https://github.com/EssentialsX/Essentials/blob/000e6c551d98afaee28eac4e6000c55dad06b08b/Essentials/src/main/java/net/essentialsx/api/v2/services/BalanceTop.java#L31
I have other placeholders I would also like to auto update for leaderboards not just baltop, just trying to find out the best performance way to do so really since I need to reload them all every 10 minutes obviously rather than doing a full /papi reload each time
Hi! I have velocity network and I wants to use my skyblock placeholder (eg. placeholder from island plugin for level) to show on my lobby server like stats (profile). Is it any possibility to do that?
uhm when using setPlaceholder, what's the behaviour if I pass null?
for the player or the string?
if for the player, it depends on the placeholder, some don't require players like the ones from the Server expansion, some require one and will an empty string, null (and therefore the placeholder identifier in the result string) or something else
if for the string, it's annotated as NotNull so, uh, prob don't
there's nothing to parse anyways so yeah
yeah for player
so it depends on placeholder
I see
If your skyblock plugin supports MySQL(like SSB), the MySQL expansion would probably help.
what u mean about mysql expansion? any plugin for it u recommend?
For my plugin I want to create placeholder, someone know a good guide or video to learn to create my own placeholder for my plugin?
Hello papi team,
I am curently using papi griefprevention placeholders for our scoreboard but unfortunately occasionally the output comes as something incorrect
Ah I'm unable to send links it seems
https://paste.helpch.at/kitoqufate.rb maybe this helps?
its a link to a picture
I need help
There is no time to wait! Ask your question @floral prism!
👎
any update about this or similiar messages? about %server_countdown
you have to specify HH:mm:ss as well
done, the wiki of papi is outdated, thanks
Do you have problems with the placeholder checkitem too? getinfo or nbt related modifiers seems to be broken
hi - any updates on this please?
is there a proper way to mock PAPI? I need it to unit test my plugin
im trying to setup a hardcore playtime scoreboard but its not working
whats wrong
Is there a placeholder to check if a string matches something in regex
i'm sure that'll be a great performance killer to implement lol
all good I figured out something else instead xD
Yk... Runway has conditionals XD
Although not sure it has regex support now that you say it
I still gotta implement some way of caching and fix migration not working properly lol
One message removed from a suspended account.
?dm-heads
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
Fair, this was a bit more of an isolated thing but I’d use runway for it going forward
Does PlaceholderAPI work on 1.21.11?
yes, its moreso the expansions that may need updating instead
'0': '%player_name%'```
how can i use placeholders for String for the characters to be replaced
It doesnt show my name, just%player_name%
i have a problem with Statistics
im using /papi parse me %statistic_damage_dealt% or taken etc. it works it shows them BUT when i try these:
%statistic_mine_block%
%statistic_mine_block:<material>,<material2>%
it fails
i mean how can i track their stone mined or dirts mined
when i try to replace <material> with dirt / stone etc. it says Unknown statistic 'MİNE_BLOCK', check spigotblabla
i checked for those web pages but couldnt find how to use them
may i request a quick help @warm topaz
i seek help from a wisdomful human being
Hi, I’d like to know how the Math extension works because I’m trying to add two placeholders together, but it doesn’t work.
Hi, Papi have any addon that removes items from a player's inventory? Specifically, in quantities. I'm trying to create a shop for trading items, but I'm having trouble trading items in the inventory—exchanging one item for another, or multiple items with a specific command. Is there anything like that?
When will the plugin be updated to version 1.21.11?
Already supports it
commands don't work for me /papi ecloud download player
what does it do?
failed to find an expansion named: Player
Sounds like your server is failing to reach our api
I created expansions.yml and manually uploaded the PAPI-Expansion-Player_R5xV754.jar file, and it worked
Shouldn't need to create any yaml files. Just manually installing the expansion should be enough to load it all
Hello, the papi pinger extension doesnt work. it say offline for all servers whenever its online...
no errors in console
ive tested it on a three servers and the same result
Hi, so basically i have a really weird problem and i dont really understand why its happening, i have a modded smp that runs on magma 1.12.2, and i use placeholderapi(papi) for alot of useful features but papi is really weird becuz it often just kills the server. To basically explain what i mean, is that i use 11 expansions, and sometimes the server just stops working and goes into a state where its techically running but not really, as in the server gives the stop, restart and force stop options but u cannot connect to the actual server, it also doesnt show anything in logs and doesnt show anything in console, it was by pure luck i realized it was papi doing it, i deleted the expansions folder and the server started fine again, but everytime i try to reinstall the expansions its just a matter of time before the server goes into a buggy state again, the expansions i use are Crazycates, luckperms, minepacks, mycommand, nf, otherplayer, parseother, player, server, spark and statistic. can anyone please help? im lost on how to fix it.
The minepacks expansion is malicious. and was reported a fair while ago, #announcements message
do u know if thats whats actually causing it?
Are you on the dev build of papi or the latest stable?
im on version 2.11.6
When it's in its state of not connecting, does the console still work?
yeah im pretty sure, its fixed for now but it randomly occurs, and when it does to get the server working again i manually delete the entire expansion folder and restart and it works, and in install all expansions again and then it just keeps repeating
its really annoying and cant seem to figure out what exactly is causing it
Can you run /papi dump for me
yeah
i have changed the versions of expansions cuz i thought maybe i needed to use older versions of the expansions since the server is magma 1.12.2
Well the first step is to remove the minepacks expansion
alright, will do
do u have any idea what could also potentially be causing it or do u think its just cuz of minepacks?
It could be a number of things, go lean on your expansions only keeping the ones you actively use. If it still happens you can run timings/performance reports to see if there's a particular expansion misbehaving
Also just FYI, the latest dev build of Papi will actually stop your server if it detects a known malicious expansion, but that happens cleanly with a message in the log explaining what happened
how do i run timings/performance reports to find out if its a specific? like thru spark?
alright, yeah nothing has showed in the log
I updated to 1.21.11 Folia. I'm on the latest dev-build of PAPI and now placeholders aren't working for some reason
[02:00:38 INFO]: [PlaceholderAPI] Fetching available expansion information...
[02:00:38 INFO]: [PlaceholderAPI] Successfully registered external expansion: griefprevention [1.7.0]
[02:00:38 INFO]: [PlaceholderAPI] Successfully registered external expansion: server [2.7.3]
[02:00:38 INFO]: [PlaceholderAPI] Successfully registered external expansion: bungee [2.3]
[02:00:38 WARN]: [PlaceholderAPI] Global task for PlaceholderAPI v2.11.8-DEV-221 generated an exception
java.lang.UnsupportedOperationException
at org.bukkit.craftbukkit.scheduler.CraftScheduler.handle(CraftScheduler.java:517) ~[canvas-1.21.11.jar:1.21.11-606-37f7f0d]
at org.bukkit.craftbukkit.scheduler.CraftScheduler.runTaskTimer(CraftScheduler.java:227) ~[canvas-1.21.11.jar:1.21.11-606-37f7f0d]
at org.bukkit.craftbukkit.scheduler.CraftScheduler.runTaskTimer(CraftScheduler.java:209) ~[canvas-1.21.11.jar:1.21.11-606-37f7f0d]
at com.extendedclip.papi.bungeeexpansion.BungeeExpansion.start(BungeeExpansion.java:91) ~[?:?]
at PlaceholderAPI-2.11.8-DEV-221.jar//me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:305) ~[?:?]
at PlaceholderAPI-2.11.8-DEV-221.jar//me.clip.placeholderapi.expansion.PlaceholderExpansion.register(PlaceholderExpansion.java:147) ~[?:?]
at PlaceholderAPI-2.11.8-DEV-221.jar//me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:193) ~[?:?]
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:214) ~[?:?]
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:197) ~[?:?]
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1716) ~[?:?]
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:570) ~[?:?]
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:560) ~[?:?]
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[?:?]
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265) ~[?:?]
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:723) ~[?:?]
at PlaceholderAPI-2.11.8-DEV-221.jar//me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$4(LocalExpansionManager.java:366) ~[?:?]
at PlaceholderAPI-2.11.8-DEV-221.jar//me.clip.placeholderapi.util.Futures.lambda$onMainThread$0(Futures.java:48) ~[?:?]
at PlaceholderAPI-2.11.8-DEV-221.jar//me.clip.placeholderapi.scheduler.folia.FoliaScheduler.lambda$runTask$0(FoliaScheduler.java:72) ~[?:?]
at io.papermc.paper.threadedregions.scheduler.FoliaGlobalRegionScheduler$GlobalScheduledTask.run(FoliaGlobalRegionScheduler.java:178) ~[canvas-1.21.11.jar:?]
at io.papermc.paper.threadedregions.scheduler.FoliaGlobalRegionScheduler.tick(FoliaGlobalRegionScheduler.java:36) ~[canvas-1.21.11.jar:?]
at io.papermc.paper.threadedregions.RegionizedServer.globalTick(RegionizedServer.java:366) ~[canvas-1.21.11.jar:1.21.11-606-37f7f0d]
at io.papermc.paper.threadedregions.RegionizedServer$GlobalTickTickHandle.tickRegion(RegionizedServer.java:202) ~[canvas-1.21.11.jar:1.21.11-606-37f7f0d]
at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:552) ~[canvas-1.21.11.jar:1.21.11-606-37f7f0d]
at io.canvasmc.canvas.tick.CRSThreadPool$TickThreadRunner.run(CRSThreadPool.java:665) ~[canvas-1.21.11.jar:1.21.11-606-37f7f0d]
at java.base/java.lang.Thread.run(Thread.java:1474) ~[?:?]```
Kyorify, Bungee, LuckPerms placeholders not working
even if I just do /papi parse me %placeholder%
I think it's just an issue with Bungee expansion
I removed that and all the placeholders started working again
So it seems that bungee expansion is not compatible with folia 1.21.11
Yeah not all expansions will work on folia (yet)
Feel free to create a github issue with the error on the bungee expansion if there isin't already
Hi. I have a problem: when I start the server, papi doesn't parse anything at all. Only /papi reload helps. How to fix this?
@balmy marten pls help bro
When will Skript expansion be verified? I need to download it through command, as I cant do it manually on Aternos.
I believe it was unverified as it didn't work on the latest version
Would it be possible to verify it at some point? When it gets updated or something? I tested it manually on a different server and it worked just fine
I also saw updated versions by other people like
https://github.com/Cataclysm-Minecraft/skript-expansion/releases/tag/1.2.0
I would be very grateful for this
Texted to Aternos but their support didnt really help me, would this be possible?
I've messed around with it abit now, even with minepacks gone it still happens, bascially everytime the server goes offline or stops, i have to remove/delete the entire expansion folder for it be able to start properly so players can join and when its completely online and up and running i can then add the expansions back.
@balmy marten
Do you notice anything weird at the time, increase ram usage or cpu usage? Is the server hanging or is it just blocking users from joining? If so provide errors
something else is probs infected
gotta delete and reinstall everything
cpu usage is at i think 0% when it happens and ram is constantly at the same rate(maybe around 8gb). its at the exact same ram+cpu usage all the time it doesnt change at all pretty much. Its showing for users as if the server just isnt online at all.
Can you ping it when its in that state?
Also are you redownloading the expansions or are you just adding them back in
testing right now, gimme a min
and i was initially redownloading them, but now im just adding them back in
like the folder
if it's currently in the state, do console commands work?
hold up, im putting it in it
not 100% sure but when i write in the console it doenst respond back, but i can physically write in it.
and like in mc multiplayer screen it just keeps saying "pinging" until it says "cant connect to server"
So it sounds like its just crashing/hanging
Restart the server and run a spark report
/spark profiler start wait 5-10 mins /spark profiler stop
and do u want me to have the server in the ghost/zombie state or have it up and running?
whilst running it?
Have it running with all the expansions
ight
Not crashed, but not responding to anything
think thats what it is
I would assume so
So we just need to pin point whats causing it to hang, spark will let us look into what resources everything is using to see if something looks out of the norm
alright, imma run it and let u know when its done
alright, what now
Should give you a url
hmm nothing immediately jumps out
i got no clue what could be causing it😭
Well the next step would be trial and error
First step is we remove any expansions you're not actively using
CrazyCrates [Author: BadBones69, Version: 1.10.2.2]
luckperms [Author: Luck, Version: 5.0]
mycommand [Author: emmerrei, Version: 1.0.0]
nf [Author: vk2gpz, Version: 1.6.1]
otherplayer [Author: L3thalBunny, Version: 1.3.0]
parseother [Author: cj89898, Version: 1.4.0]
player [Author: clip, Version: 1.6.5]
server [Author: clip, Version: 2.1.4]
spark [Author: Luck, Version: 1.10.119]
statistic [Author: clip, Version: 1.9.2]```
I use everyone of them😭
Well you'll need to try to add them over time till the issue happens
then we can pin point which one it is
It's just odd as your setup is not really that crazy and no one else seems to have the same issue
yeah its really confusing for me too, ive been trying for days to figure out whats causing it
What exactly tells you its an expansion issue anyway? Or is it just restarting the server fixing it for a little bit
the issue gets fixed when the expansion folder is deleted, basically if i dont have any expansions downloaded on the server, the server launches successfully, and i can then add expansions to the expansion folder and do /papi reload and the server works completely fine, but if for some reason the server stops or goes offline, the issue occurs and the server is stuck in that annoying state where it doesnt start, i then have to stop the server so it isnt running, delete/remove the entire expansions folder and then i can successfully start the server and then it repeats, i then add the expansiosn back, do /papi reload, if server stops at some point and i try to start again it goes back to the bugged state
So if you stop the server, place the expansions in and start the server, does it come up?
if i stop the server, have the expansions in the expansion folder and try to start, the issue occurs and it does not start proprerly
yes gimme a min
so i just stop, keep the expansions in the folder and try to start causing the bugged state and send the latest.log?
Yeah should tell us where it gets up to before it dies hopefully
how do i send it?
^
How big is it lol
ight
We'll keep repeating till we find which one it is
Yeah its the same in the log
ahh ok
Papi doesn't officially support forge so there's probably some weird compatibility thing
took out server and player expansion and its still stuck in the bugged state
Watch it be the last one you pick
were you adding the other expansions back as you removed them
you need to remove them one by one till there's none left
i didnt add them back
so the server still won't start even with no expansions in the folder
server hangs
whatever
So there's none left now?
im right now after removing the nf which was the last to test trying to put one thats known to be safe(just put luckperms back) to test if its just if theres anything in the expansion folder it doesnt work, and with any expansion it just wont start properly
imma try now without any expansion completely at all(which usually works)
You could try updating papi incase the version you have is broken
But I'm quickly running out of ideas
tested without any at all in the expansions folder and it works
and ight ill try updating
doesn't work with just luckperms?
nope
only works when there is literally no expansions in the expansions folder doesnt matter which expansion there cant be any at all
to update version can i just replace the .jar file? or do i need to do something else too?
just change the jar file
just to the newest?
if update doesn't work there's an incompatibility between one of your other plugins/mods/forge and papi
Which next steps would be to load just papi and forge with no other plugins/mods
still dont work with the newest version, can i just remove the .jar files of all the plugins and keep the configs cuz id prefer not having to redo all of the configs?
when removing the plugin .jars do i just try to launch with all the expansions in the expansions folder or what?
ye
realistically though
I doubt it's gonna be one of ur plugins
it's probably gonna be one of ur mods/magma
alright, its really late for me so i have to go to sleep, imma start testing tmrw with the mods and plugins to see if its one of them, appreciate the help guys, u guys are the goats❤️
all good
can it be because its a magma server or what? i dont really know what a magma server is, or how it works
Hi looking to remove /papi from default but can't figure out which and there's no permissions on the wiki that I'm seeing. Dump, Info, and Version are all revoked and players can still do /papi
Hey, anyone knows how make %bungee_<server>% placeholders from placeholderapi faster? It refresh each 30 sec or so, it's so slow
oh just saw it, check_interval, it affects perfomance if I set it to 1?
I mean ur the one who said ur using magma
I've never used it
we don't support it
chances r thats whats causing issues
They can't do anything with the command, if it's an issue you can modify the plugin.yml to remove it
@everyone can anyone tell me how to use custom font in placholder ? Pls help me
guys my PAPI isnt working, like it doesnt nothing when it comes to expansion but the thing is i deleted all plugins to check if it conflicts but yet papi is still not working
How do I round it to xx.xx instead of xx.xxx? https://prnt.sc/atBO7DZR87lU %math_{skript_piggybank}/150*100%
%math_2_...
Thanks
I have my homework project built with laravel+react
And the goal is to upgrade this project.
If anyone can help me, please DM me and discuss budget of this project
Hi there,
I just created a new expansion for PlaceholderAPI (Velocity Proxy x Folia) to get the Online counts per server.
Release: https://github.com/arielbatoon09/Velocity-Expansion/releases/tag/Release
Thanks!
how is it any different to the Bungee expansion?
it doesn't work hehehe incompatible.
that's what I tried earlier but yeah unfortunately got an error.
it does work with Velocity, you use the same plugin messaging channel so I don't see why it wouldn't work
what's the error?
I forgot to take screenshot, it something to do with its settings to make it compatible with Folia.
ah
then could you rather make a PR to make the Bungee expansion work on Folia instead?
I'm guessing it's just the reapeating task
that would be better rather than adding another expansion that does the exact same thing
technically it was just a fork then I think for better adjustment that could fit to my needs, I just recreated it on my own way.
Cuz' I might going to enhance that expansion depending on what I need in the future.
can someone help me ive been struggling with PAPI since yesterday, it doesnt work at all. i tried 1.21.11 and 1.21 and it doesnt work. i also tried changing version of the plugins, didnt work either. lastly i removed plugins and only kept ones that are guaranteed to not break PAPI plugin. for some reason i cant download using /papi ecloud download, i also cant register extensions i manually put there. would appreciate any help
Hello,
Do you have any logs ?
Use a different version of papi
i mentioned that i tried it and it didnt work
No logs with errors or message ingame ?
ingame no
in the console itself didnt really mention that much either
With /pl do you see PAPI in green ?
i got a problem here
Wdym ?
thanks barry 😁
yes
@tender vapor https://paste.helpch.at/mizuwogogi.css It doenst work
I have my homework project built with laravel+react
And the goal is to upgrade this project.
If anyone can help me, please DM me and discuss budget of this project
Hi! Can anyone tell me what the problem is? I'm trying to display my balance and player nickname in Scoreboard, but it's not working. I have TAB, Vault, EssentialsX, LuckPerms, and PlaceholderAPI installed. Why can't TAB see the PlaceholderAPI API?
scoreboard:
title: "TEST.SERV"
lines:
- "╔═════════════"
- "║"
- "║ &7Nick&7:&f %player_name%"
- "║ &7Ping&7:&f %ping%&7ms"
- "║ &7Balance&7:&f %vault_eco_balance%"
- "║"
- "╚═════════════"
If I write %player% instead of %player_name%, the nickname will be displayed on the scoreboard.
> papi list
[20:15:26 INFO]: A total of 3 placeholder hook(s) are active:
betterrtp, deluxemenus, protectionstones
Do you have the Player and Vault expansions installed for Papi?
/papi ecloud download Player
/papi ecloud download Vault
/papi reload
> papi ecloud download Vault
[20:12:06 INFO]: Failed to find an expansion named: Vault
> papi ecloud download vault
[20:12:43 INFO]: Failed to find an expansion named: vault
I have them in my plugins folder.
They go in ./plugins/PlaceholderAPI/expansions
The folder is empty
If they wont download through the command, try manually grabbing them from the site and placing them in the folder 😓
Ok, thks
Thanks, it worked! I didn't even know you could install it manually.
Welcome! :D
why does the placeholder %utils_parse_{math_1:_(1.441*(({servervariables_display_token}/1000)^0.7604-1)+1)*{math_2:_1.1^{servervariables_display_rebirth_level}}}% return %-0.4%? How can I remove the %%
remove the {} around the math placeholder
%nexo_newbie% blabla (work)
%luckperms_primary_group_name% => newbie (work)
but %nexo_%luckperms_primary_group_name%% => luckperms_primary_group_name%
This is not work
use {} instead
if it doesn't work, use Utils to parse nested placeholders
%utils_parse_nexo_{luckperms_primary_group_name}%
/papi ecloud download Utils
/papi reload
Hey! I'm integrating PAPI to my plugin, and I have a few questions mostly regarding the conventions, which I didn't really find answers for when reading the wiki.
- Are you supposed to allow placeholders to use the text formatter (e.g. MiniMessage) or should it only be plain text?
- What's the expected polling rate?
- Are there any rules on what escape characters are normal? I've seen
%placeholder%often.
There aren't really any conventions
- You can do whatever you want with user input (
String paramsparameter inonRequestreferring to%<expansion identifier>_<params>%) and you can return a String with or without MiniMessage formatting, all that matters is in which plugin the placeholder will be used and how it processed parsed placeholders (assuming you're creating your own PAPI expansion, if you're not then not sure what you mean) - Assuming you meant the refresh interval at the
onRequestmethod gets called, there's none. It all depends on the plugin parsing the placeholders (example: chat plugins like LPC will parse placeholders when players type in chat, whereas some plugins like TAB or DeluxeMenus will have repeating tasks to parse placeholders over & over to display their output in tablist or in items in menus) - Not sure what you mean by that
Hey! Thanks for your response!
I am making a plugin that consumes placeholders, it does not provide new ones. So I am asking if I should format the returned data from placeholders or if it should be considured "unsafe user input" (like in web/html land) where the content should be shown as is. As for the refresh interval, as I am the consumer, what interval would I be expected to run on? And on my third question, I was talking about the format of placeholders, should I just use %foo%?
ah alright
In this case, it will vary on the placeholder as some will output legacy colors (that break MiniMessage formatting) while others will return valid MiniMessage syntax, or some just return plain text.
Either you can decide that you don't care what placeholders return and force users to use the Kyorify expansion with their placeholders so they return valid MM syntax, or you can try to replace legacy & and § colors yourself with their equivalent MiniMessage syntax
for the refresh interval, usually plugins have a setting in config for that which can be changed by the user if they want higher/lower refresh intervals
you could put it at 1s or 10s by default if you want
So I SHOULD parse the formatting inside placeholders?
you could yeah
there's not really a rule to whether you can or cannot
it just depends on what you're doing and how customizable you want your plugin to be
Hello. I am trying to implement some placeholders into my plugin using an internal expansion. However it looks like none of my placeholders seem to work. For example, I try %test% using the papi parse me %test% command and instead of getting replaced back, I'll get %test% which indicates that no parsing happened. My internal expansion gets registered just fine. I am using the onRequest as in the example:
@Override
public String onRequest(OfflinePlayer player, @NotNull String params) {
if (params.equalsIgnoreCase("test")) {
return "replaced";
}
return null;
}
it's %identifier_params%
Hello there, after installing PAPI on ShreddedPaper 1.21.11, a simple /papi parse Awhikax %player_name% returns literally %player_name%. No other logs than these, even in debug:
[14:49:19 INFO]: Awhikax issued server command: /papi parse Awhikax %player_name%
[14:49:19 INFO]: %player_name%
Are there some common/known issues regarding such behavior?
Note that while not officially supporting ShreddedPaper, the plugin seems to load properly as I get clean loading messages.
You installed the Player expansion as well?
/papi ecloud download Player
/papi reload
Obviously, not. Looked for a "Quick start" in User Guide but since the player placeholders were listed in "Standalone" section I assumed it would automatically be included by default. Thanks 🙂
Of course :)
By standalone, it means the expansion doesn't require a plugin and can be downloaded directly without any dependencies.
There are other expansions that come directly with their associated plugin (some may require you to toggle a setting in their config like TAB), and some that don't (and therefore need to be downloaded) but still require a plugin (like the LuckPerms expansion)
There aren't any expansions pre-installed by default by PlaceholderAPI
If you find a placeholder and are unsure which command to run to download it, 99% of the time it's going to be its expansion's identifier (the first word before the first _ in the placeholder, for example %player_name%'s expansion identifier would be player)
There are few case where it's a little different but most of the time it's that
Here's the list of download able expansions available https://api.extendedclip.com/all/
And a list of (not all but) a bunch of placeholders with their respective expansions https://wiki.placeholderapi.com/users/placeholder-list/
It's all good now thanks. I guess I mostly got biased by the fact most plugins comes bundled with a bunch of premade stuff without extra config/commands required and I wanted to make sure PAPI would work with ShreddedPaper.
Awesome update, thanks for this !
Possible to get an update on here ? The old owner is not active anymore
Not sure if creating a new expansion is better
i'm open to make one if required
is there a formatter option with numbers greater than Dc?
Does the floodgate placeholder set no longer function?
Hello, I recently updated my Vault plugin from 1.7.3 to the newer v2 (1.5.2). I made sure to delete any previous .jar and config folder as well as the old expansion but I keep getting the following error by PlaceholderAPI:
[WARN]: [PlaceholderAPI] Failed to load external expansion vault. Identifier is already in use.
[WARN]: [PlaceholderAPI] Cannot load expansion vault due to an unknown issue.
Also the plugin reports a mismatch in the version name:
[Vault] [UpdateCheck Debug] Raw Local: '1.5.2' | Norm Local: '1.5.2'
[Vault] [UpdateCheck Debug] Raw Remote: 'v1.5.2' | Norm Remote: '1.5.2'
When I check with /papi list I can see vault, vault2. Both expansions return with /papi info vault or vault2 returns:
Author: (is empty)
Version: 1.5.2
I manually deleted the Expansion-vault.jar expansion from my ../PlaceholderAPI/expansion folder.
Then run in the following order:
/papi unregister vault
/papi unregister vault2
/papi reload
To which I get returned among other expansions:
[INFO]: [PlaceholderAPI] Successfully registered external expansion: vault [1.8.3]
Typing /papi info vault returned
Author: HelpChat
Version: 1.8.3
I thought I resolved the problem but it seems that after I stop my server and start it again it keeps downloading the older 1.5.2 expansion and as well as registering vault and vault2 in my installed list therefor resulting in the same error.
Any suggestions? 🙄
Hi, is there an extension that retrieves player statistics and places them in a placeholder?
Hey!
Some time based placeholders on my minecraft server shows one hour wrong using Pterodactyl, however schedules are running on correct times. What could be the issue?
the expansion called statistics
what error?
Mind showing me an example?
Can you run /papi dump
Hello there!
am I.. understand it right that there are really no way to get other player's yaw and pitch using placeholders?
i found an OtherPlayer expansion but it contains only coords, not yaw and pitch.
there is %player_yaw% and %player_pitch% placeholders in Player expansion by HelpChat, but.. not sure how can i use it to get other player info, not my own
well, i got it: parseother just exists
thanks for your attention 
Just found this through this discord thanks man solved my issue 👍
hi there
im attempting to set a placeholder to run an integer, but public String onPlaceholderRequest returns only a String, not an Integer.
The placeholder is passed to another plugin which needs it to be an integer. Any way out?
well that plugin will end up calling one of java's inbuilt converter methods for whatever type of numbers it wants, so aslong as you send a valid number as your output itll work
nah, turns out deluxemenus is annoying and doesn't parse placeholder information for certain settings
for example, it doesn't parse slots
I needed to repackage it with that change
My papi isnt working on player_kills for ajlb
command: /ajleaderboards add %statistic_player_kills%
error: Returned: Unknown statistic 'player_kills' check https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Statistic.html for more info
The placeholder 'statistic_player_kills' does not give a numerical value. Make sure that the placeholder returns a number that is not formatted.
note: i downloaded statistic from ecloud and its work on statistic_deaths
`menu_title: '&8&lMenu Jobs'
open_command: jobs
size: 54
items:
miner:
material: DIAMOND_PICKAXE
slot: 10
priority: 1
display_name: '&b&lMiner'
lore:
- ''
- '&7KClick to join the job!'
- ''
view_requirement:
requirements:
nie_jest_w_pracy:
type: string equals
input: '%jobsr_user_isin_miner%'
output: 'false'
left_click_commands:
- '[player] jobs join Miner'
- '[close]'
miner_leave:
material: DIAMOND_PICKAXE
slot: 10
priority: 2
display_name: '&b&lMiner'
lore:
- ''
- '&Level: &f%jobsr_user_jlevel_miner%'
- '&eExperience: &f%jobsr_user_jexp_miner%/%jobsr_user_jmaxexp_miner%'
- ''
- '&a✓ You are in this job'
- '&cKClick to leave the job!'
- ''
view_requirement:
requirements:
nie_jest_w_pracy:
type: string equals
input: '%jobsr_user_isin_miner%'
output: 'true'
left_click_commands:
- '[player] jobs leave Miner'
- '[close]'`
I would like there to be a button in a single slot that allows both joining a job and leaving a job, displaying different information.
Why doesn’t this work?
You could code up your custom plugin to do that with placeholders, worked with me.
id like to thank this 3 year old message for helping me
Hey, I downloaded the Player and Playtime expansions for PlaceholderAPI, but the placeholders don’t get replaced I only get the variables as response
Player and Playerstats wont install correctly
hello, I am struggling using the checkitem placeholder for an mmoitem helmet, this is my first time using this. I want it to check for that specific helmet. but I can't get around to figuring out the format
Hey. somehow my placeholder %player_name% isnt working. i already loaded the ecloud player. but somehow it isnt updating.
On my Velocity network, is there any placeholder that lists all players on a specific server? I couldn't find anything.
Where are you trying to use it?
was in a hologram. but we just made a own placeholder for it
since i couldnt fix the problem
I cant hook placeholderAPI into my plugin
I add the dependency and import and it just says an error that it cant find placeholderAPI even though ive added it FOR SURE
any chance an admin/someone can breakdown; its not lack of knowledge as i read the entire documentation
a few things:
What project setup do you have? Gradle or Maven?
actually just that for now
can you send your pom.xml?
I had to remove the dependency for placeholder as it was ruining plugin; but I’m pretty sure I have a copy of the edited lemme find rq
sent 😉
thats an example of how i added
then id import under main java ofc
youll see i imported others even
If i can ask, what was the error?
Does anyone know how to remove the duplicate adventure library that gets installed when I use placeholderAPI? It's kinda annoying when tab completion comes up with the papi library and not the normal one. I'm using gradle and heard about a way to exclude parts of dependencies, but what I've tried hasn't worked yet.
TBH if there isn't a way to remove it, that's fine. This is a minor inconvenience that doesn't really matter much
I had a note in my console to the effect of "4 hooks were registered, but 1 placeholder hook has an update available" so I ran papi ecloud update all now I have error associated with the Shortcut Expansion. Apparently the updated version of Shortcut requires Java 23 and I am running Java 21. Where can I pull the previous version an what version number is it? Thank You.
@trim tinsel i was having issues with version and had to add a line to force versions
I deleted version 1.4 and downloaded version 1.3 from https://api.extendedclip.com/expansions/shortcut/ that seems to have fixed it but still get the note in the console that an update is available I will just ignore it.
my place holders in TAB dont work anymore is it cuz there is something not installed or is it in the configs?
Hello, i'd like to get an ecloud uploading permission
Here is my expansion https://github.com/Wyne10/DateTimeFormatExpansion
Hello, I'd like to link my legacy account with my new one.
https://api.extendedclip.com/expansions/world-states/ with MrEAlderson
how do i pull an item name with CheckItem getinfo
Hi, is there a placeholder that compares text? For example, I want to check if the player is in a specific world and return true or false.
/papi parse me %player_world% == Arena1
You can use JavaScript placeholders for this and just vibe code it using Gemini or ChatGPT
I’ve had pretty good experience with this
Example would be
var world = "%player_world%";
function checkWorld() {
if (world === "Arena1") {
return "true";
} else {
return "false";
}
}
checkWorld();
then you’d use %javascript_checkWorld%
TY!
I can't run playerpoints expansion in my papi, I have installed in physically in the folder and tried to reload, but I didn't work.
what error are you getting
Playerpoints isnt loading
done
also done
[07:21:02 WARN]: [PlaceholderAPI] playerpoints is at tempting to register placeholders via deprecated Pla ceholderHook class. This class is no longer supporte d and will be removed in v2.13.0!
[07:21:02 WARN]: [PlaceholderAPI] Cannot load expans ion playerpoints due to an unknown issue.
downgrade your placeholderapi version then ig is the only way unless @balmy marten has an idea
Which version should I prefer?
We're not at v2.13.0 yet so the deprecated method is still there
Bro how can I run that expansion
" Please note this expansion is no longer needed for PlayerPoints plugin versions v3.0.0 or newer as a newer version of the expansion is now built in."
You don't need the expansion
Ok
I should download this?
Ok
Thanks, after uploading do i have to request verification or do i just wait?
request
Bro it worked, now finally I can work on my kiddy party server ☠️
Then, i'd like to request verification 😄
https://ecloud.placeholderapi.com/expansions/datetimeformat/
Didn't we deny this before
as we already have an expansion like this
waas put under too simple
I don't know, i asked to get an account like a month ago, didn't get an answer, then decided to wait for new ecloud release
hm alright lemme review it and get back to you
@muted plank verified it enjoy (keep in mind this is per version)
Thank you so much
I tried using JS but it always returns empty.
You need to register the placeholders first
lookup a tutorial for JavaScript placeholders on papi, that should run you through the basics
if that still fails, then there’s something wrong with your javascript code
[08:52:51 INFO]: [PAPI] [Javascript-Expansion] 1 script loaded!
[08:52:51 INFO]: [PlaceholderAPI] Successfully registered external expansion: javascript [2.1.3]
Just loading doesn't solve it?
I searched the wiki for information about the extension, but I couldn't find any documentation.
I searched for videos, but I didn't find anything that could help me either.
Especially in my language...
Forget it, I found out.
There is a file called JsPlaceholders.yml
Just put it there
Thanks again
No worries
Hey, i'm trying to download Statz placeholders 'cause i need %statz_distance_traveled% but minecraft cant seem to find it. Version is 1.21.4
says "Failed to find an expansion named Statz" what can i do about it?
ooh thx
there's no way to block the number right?
for little time
nvm no need to
Guys, I got an error when downloading the Vault plugin! What should I do? Here's the error:[20:45:18] [placeholderapi-io-#3/INFO]: Failed to download expansion: java.io.FileNotFoundException: plugins/PlaceholderAPI/expansions/Expansion-vault.jar (Permission denied)
[20:45:18] [placeholderapi-io-#4/ERROR]: [PlaceholderAPI] Failed to download Vault:me.clip.placeholderapi.expansion.cloud.CloudExpansion$Version@76a50ce5
java.util.concurrent.CompletionException: java.io.FileNotFoundException: plugins/PlaceholderAPI/expansions/Expansion-vault.jar (Permission denied)
at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$downloadExpansion$5(CloudExpansionManager.java:258) ~[?:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1789) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614) ~[?:?]
at java.lang.Thread.run(Thread.java:1474) [?:?]
Caused by: java.io.FileNotFoundException: plugins/PlaceholderAPI/expansions/Expansion-vault.jar (Permission denied)
at java.io.FileOutputStream.open0(Native Method) ~[?:?]
at java.io.FileOutputStream.open(FileOutputStream.java:255) ~[?:?]
at java.io.FileOutputStream.<init>(FileOutputStream.java:210) ~[?:?]
at java.io.FileOutputStream.<init>(FileOutputStream.java:171) ~[?:?]
at me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$downloadExpansion$5(CloudExpansionManager.java:255) ~[?:?]
... 4 more
This app is trying to raid my server what I can do?
permission is being denied when trying to access the downloaded file - if you are using a host, try to download the expansion manually from the ecloud and place the file in the expansions folder https://api.extendedclip.com/expansions/vault/
Please elaborate.
hey im wondering if there is a version of %player_name% that will force the player name to be all lowercase letters
With the Formatter expansion, %formatter_text_lowercase_{player_name}%
[17:59:07 ERROR]: [PlaceholderAPI] Failed to download Statistic:me.clip.placeholderapi.expansion.cloud.CloudExpansion$Version@6e25d57
java.util.concurrent.CancellationException: null
at java.base/java.util.concurrent.CompletableFuture.cancel(CompletableFuture.java:2510) ~[?:?]
at PlaceholderAPI-2.11.7.jar/me.clip.placeholderapi.expansion.manager.CloudExpansionManager.lambda$clean$2(CloudExpansionManager.java:169) ~[PlaceholderAPI-2.11.7.jar:?]
at java.base/java.util.concurrent.ConcurrentHashMap$ValuesView.forEach(ConcurrentHashMap.java:4783) ~[?:?]
at PlaceholderAPI-2.11.7.jar/me.clip.placeholderapi.expansion.manager.CloudExpansionManager.clean(CloudExpansionManager.java:169) ~[PlaceholderAPI-2.11.7.jar:?]
at PlaceholderAPI-2.11.7.jar/me.clip.placeholderapi.expansion.manager.CloudExpansionManager.load(CloudExpansionManager.java:102) ~[PlaceholderAPI-2.11.7.jar:?]
at PlaceholderAPI-2.11.7.jar/me.clip.placeholderapi.commands.impl.cloud.CommandECloudDownload.lambda$evaluate$1(CommandECloudDownload.java:111) ~[PlaceholderAPI-2.11.7.jar:?]
at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:863) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:841) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1773) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
[17:59:07 INFO]: Failed to find an expansion named: Server
can u send the startup log when u experienced this please
and try just downloading it manually through the ecloud and place it into the expansions folder https://api.extendedclip.com/expansions/all/
Hi, I need some help with PAPI
I'm using the Statistic expansion, specifically the kill and death counter, but I want to reset the death count data for one of my players.
Could someone please tell me how to do this, or point me in the right direction? Thanks
statistics expansion gets its data through the server's world folder
i guess if you want to edit a specific player, you would have to open the stats file for that persons uuid and edit the json directly
thanks, but when I do that, and save + restart, it just stays the same