#placeholder-api
150650 messages · Page 103 of 151
Who knows how I can create a kit with lore that explains who claimed the kit with essentials
We have an example on our wiki for this exact thing
what are you trying to do?
because /64 === 0 isnt going to work
can you pass me the exact link?
%chechkitem_amount_mat:{deluxemenus_meta_itemBuy_STRING}% divisible by 64
please?
Just a moment
here you go
you can see the rest of our examples here https://wiki.helpch.at/clips-plugins/deluxemenus/example-gui-menus
Throw it into a math expansion?
%math_<math expression>%
%math_0_DIVISIBLE(...)% like this ?
so you can do
%math_1:{chechkitem_amount_mat:{deluxemenus_meta_itemBuy_STRING}}/64%
this may work
I may be wrong
no, i just want the result to be divisible by 64
it doesn't work adam
what did I do wrong
I highly suggest to use a proper plugin Tran
you can not have two brackets placeholders
you should use nested expansion
nested?
nested can do it
it was posted a few days ago
I see
NO is not that I'm searching. A kit when you claim there has a lore that explains who claimed the kit
hmm.. what should i do, it wouldn't be perfect without the result being divisible by 64
So a list to say who claimed the kit?
a lore saying owned by player
yeah
what are you using for kits?
essentials
You can use deluxemenus purely for kits and use the essentials or vanilla command to give items with a lore adding the username
this may or may not working
ok thanks
I see a spelling mistake
chechkitem
cc: @sharp jay
i think i can do this by another way
hmmm... %nested_math_0_64-((({checkitem_amount_mat:{deluxemenus_meta_itemBuy_STRING}}/64)-{math_0_FLOOR({checkitem_amount_mat:{deluxemenus_meta_itemBuy_STRING}}/64)})*64)%
that's a good f-ing question
I have no clue as to how I made this work, but it does, so I'm not gonna bother lol
why do you ask?
I was checking the code of that expansion and saw that thing
if it works we dont touch
there's Map#entrySet
what is even going on holy
wazdat
I should still find a way to make a number divisible by 64
exactly what you are doing, loop trough the map and get the value
what's the difference with keySet?
oh wait
is it to have both the key and the value in 1 var in the loop instead of having to use map.get(key)?
yes
well I guess that would be nice to have x)
oh yeah, CJ how to know a number is divisible by 64
modulo 64
with math expansion
%nested_math_0_{some placeholders value = 5}[prc]64% like this ?
ya that would return 5
Why didn't I ask about this sooner? 
%nested_math_0_((({checkitem_amount_mat:{deluxemenus_meta_itemBuy_STRING}}/64)-{math_0_FLOOR({checkitem_amount_mat:{deluxemenus_meta_itemBuy_STRING}}/64)})*64)%
%nested_math_0_{checkitem_amount_mat:{deluxemenus_meta_itemBuy_STRING}}[prc]64%
🙂
funny
lol nice
modulo is very powerful imo
musta been sick that day at school 😂
always a possibility to have missed crucial life information for being sick 1 day at school 🙃
CJ help me
?
I'm stuck with requirements
sovled
How and does the javascript expansion work?
is there an expansion that adds simple variables or was it too simple nobody made it?
like %variable_1% = 七七�ffff七七七七七七七&#ff0000%nested_unicode_{conversion_10:16_{math_0:_700600+{deluxemenus_meta_pattern-value_INTEGER_1}}}%
i guess string replacecharacters could prob do it tbh
bro's literally reinventing programming
lmao
programming with placeholders
yes, the variables expansion 🙃
Hey how can I parse vault balance placeholder to look like 100K, 100M, 100B etc without the $ sign thank you
I wanted to move the doller sign as it shows like 100$K which is horrible
fairly sure there is an expansion to remove a certain character if not you can maybe edit and recompile the vault expansion to change that
true I didn't really think about that lol
Yeah because I'm using %vault_eco_balance_formatted%
weird wondering who added it may need to check later
It can't be anything to do with Essentials can it?
it might be locale?
essentials locale?
ye
fixed it yeah it was in the locale thank you
np
what causes this?
This is the reason my placeholders don't work after a restart that requires a staff or me to do /papi reload to make everything work
very good I have been using papi with TAB and also with Luckperms what happens is that when I use the expiration of the command in the tab I get the time but the time is very long for example 4w 1d 23h 58m 42s can you reduce this time to just days "D".
Why vault placeholders arent working for me?(Trying to put them on holographic displays)
whats this ?
Hello again, this time I come with a problem that something suddenly broke (It does not change at all the item with information in various dependencies) - And I don't have the previous version to undo and I'm trying to figure out what the error is
https://pastebin.com/dNtcLe4G
-stay=60 whats this
how long the message will stay on the screen?
like <delay=60> ?
Alright, I found the trick
delay and duration are two diffferent things
The problem was that I changed the language in CMILib from "EN" to "PL"
'True': '&6Prawda'
'False': '&cFałsz'
and there it was instead
'True': '&6True' 'False': '&cFalse'
Hi, do you know a place holder to display the remaining time on a job boost?
I don't get a response on Zrip's discord 😦
hello is any placeholder like %block-data% ? I want to check anvil face west, north, east, south
what plugin?
Im a little confused can you give me more context?
a placeholder return like this: minecraft:anvil[facing=west] , minecraft:grass_block[snowny=false] when a player looking/interact a block
dont think so just checked
Hello Adam, is Jobs reborn 😅
How can I get the amount of players in a bungee server?
Bungee expansion doesn't work :\
it should work, if it doesnt there is always a reason
@sharp jay Unknown expansion.
Do you have the expansion name?
have you figured it out?
Nop
This you tried?
Wrong stuff how so?
The bungee_total works, but when I try to specify the server it just outputs 0 always
Are you putting the names from your bungee config?

Ok so lets say I'm in the server generators and I use this %bungee_generators%. It outputs me 2, cuz there are 2 of us, but if I go to other server that is not generators, it outputs me 0
It takes time to update
fairly sure you can change this in the papi config
But there has been at least 1 player in the server generators for 10 minutes, but it still outputs 0
Papi isn't a proxy plugin, right?
Or is it?
yeah?
Did you check the config
Papi config?
yes
Not yet
sec
Mm
bungee:
check_interval: 30```
Is it in seconds, minutes or what?
yeah I know what ticks are
if its seconds its 30 seconds maybe?
So what could be the problem? Cuz this ain't it.
hm
When I do /papi reload it says that there is 1 update, when I do /papi ecloud update there is all and Bungee, when I do /papi ecloud update Bungee and then /papi reload, it still says there is an update
try restarting your server maybe?
kk
Didn't work
still 0
wait
it didn't refresh yet
:\
How long does it take to refresh!?
Ok so I was in the other server and I joined the server generators, now when I check the %bungee_generators% it says 0, but if I check the other I was in, it says 1 when it's actually empty
the player count is not updated instantly, there's like a 30s delay
:\
yaa
Alr Imma wait a couple of minutes
It's alr been like 2 mins since I joined the other server
5 to be exact
Idk if anyone mentioned that but if the server doesn't have at least 1 player on, it won't send an updated response.;
Bungee Plugin Messaging requires at least one player online for requests to be responded to.
Yeah :/
There is.
or wait
hm
how to use variables expansion
you set something in papi config under the variables section and then access it with %variables_path.to.string%
path.to.string ?
the number in config ?
np
what is the placeholder for essentialsX money
how can i display the balance of a player
please someone help
What is the way to award a rank in the deluxemenus
%gradient_{ffffff}_{ff00ff}_i can't use &l with this%
%moregradients_custom_#ffffff-#ff00ff-modifier=&l_i can use &l with this%
%moregradients_#ffffff-#ff00ff-modifier=&l_it didn't work%
actually this is output
edited it, try agaon
its working, thanks
no problem
what about more than 2 modifier
there are more options to use
you can add as many as you want
like
modifier=&l&n&o&m
check the github so you can find more examples
and more uses
you can also create predefined formats
so you dont need to use that long placeholders
its always just output &l
try the &m first
same
%moregradients_custom_#ffffff-#ff00ff-modifier=&m_There is it%
how to show
screenshot
can't upload screenshot at this server
upload less than 1 Mbps 🥲
can't upload screenshot or picture at this discord server
Imgur website said: We're sorry! Account sign-up is not possible in your region. 🥲

you dont need to use nested for everything
nested is used when you have a placeholder in a placeholder in a placeholder and so on
my deluxemenus was disabled, idk how :L
wait, mmmm ill take a look at the source
mmm thats weird, according to the code it should work
Okay, even when connecting via a domain, my %player_ping% placeholder is blank in my TAB.
/papi parse me %player_ping% works, it just doesn't show up in TAB
Every other placeholder works, %player-ping% didn't work (it just showed the text) and %player_ping% comes through blank
weird
If it helps I'm using TabListPro
Bungeecoord
But the server I'm using the actual placeholder is paper
%ping% is player ping
How do I install that?
How do I integrate PAPI compat to my plugin?
What is PAPI compat?
very good I have been using papi with TAB and also with Luckperms what happens is that when I use the expiration of the command in the tab I get the time but the time is very long for example 4w 1d 23h 58m 42s can you reduce this time to just days "D".
https://i.postimg.cc/05ztm5nw/image.png
I have a javscript that is similar to this I made for playtime to turn the time into seconds
var time = "%playtime_time%";
var weeks = parseInt(time.match("(?:\\d*(?=w))"));
var days = parseInt(time.match("(?:\\d*(?=d))"));
var hours = parseInt(time.match("(?:\\d*(?=h))"));
var minutes = parseInt(time.match("(?:\\d*(?=m))"));
var seconds = parseInt(time.match("(?:\\d*(?=s))"));
var total = 0;
if(!isNaN(weeks))
total += weeks*604800;
if(!isNaN(days))
total += days*86400;
if(!isNaN(hours))
total += hours*3600;
if(!isNaN(minutes))
total += minutes*60;
if(!isNaN(seconds))
total += seconds;
total.toFixed();
should work just the same for the luckperms expiry if you replace the placeholder
The script turns everything is seconds though
imma just fix it
Use this
var time = "%luckperms_YOUR_PLACEHOLDER_HERE%";
var weeks = parseInt(time.match("(?:\\d*(?=w))"));
var days = parseInt(time.match("(?:\\d*(?=d))"));
var total = 0;
if(!isNaN(weeks))
total += weeks*7;
if(!isNaN(days))
total += days
total.toFixed()+"D";
@royal nova 
don't forget to replace your placeholder at the top
If you do not have the javascript expansion, manually download and install it from the ecloud below
follow this tutorial to setup the script
https://github.com/PlaceholderAPI/Javascript-Expansion/wiki/Your-First-Script
@compact depot can you do /papi dump and paste the link here?
Thing is, I restarted 5 times, 4 didn't work and the fifth randomly worked
So it's working rn
You still want the dump?
yeah but I need some more info because multiple users have reported the same issue and so far we couldn't reproduce it
I can restart until it doesn't work
nah you can do it now, I need the plugins list mostly, and the expansions
thanks
The error doesn't show in logs btw
wdym?
it should be, anything that's in console will also be found in logs
I promise it's not
make sure you are checking the right log file
aight
How to convert player's IP into country?
how do I download KillStats placeholder
can someone please help me with this error
how do i show error i got here in chat?
?paste
/papi dump
seems like at least 1 of your local expansions is corrupted
I would try re-downloading all these
Expansion-player.jar
Expansion-vault.jar
Expansion-luckperms.jar
Expansion-essentials.jar
Expansion-server.jar```
delete them all first
then use the /papi ecloud download <expansion> and /papi reload command between each download
did that already and then download them again and reload and then everything works fine but when i do a full server restart it just happens again
?startuplog
can you send the startup log
yes give me min
hmm
Only thing i can suggest is to download the jars manually and upload them to the server
alright will do that and let you know what happens
so i added everything manually like you can see here and after that everything worked fine https://paste.helpch.at/eregiquwog.makefile
and then i restarted and everything got fucked up again https://paste.helpch.at/irekufukel.makefile
i need to know why this is happening please help
papi dump https://paste.helpch.at/enuvuwoxuh
I really got no clue
Did you try 1 by 1?
@daring grotto Best thing to do to see if it's expansion specific
Alright
found out that this Expansion is guessing the problem Expansion-server.jar
so what do you advice me to do to fix this problem
I am not sure, all I can tell you is that I do not have this issue on 1.19.3 spigot with this fresh downloaded jar
@daring grotto
If that doesn't work, then maybe you could get some plugin to make a workaround that runs /papi reload after the server starts up
I have questions:
- Is there a build of DeluxeMenus that does not depend on PlaceholderAPI?
- Is DeluxeMenus open source?
No and no
Is there a way to make PAPI not required by DeluxeMenus, or any plugin for that matter, but still have PlaceholderAPI support?
Nope
Understood.
You can have papi support and not require placeholderapi (obviously the papi part just won't work without it), but you cannot change a plugin that's already made to require papi without re-developing it @glossy harness
don't know why but the one the send is working fine so idk what happend with that other one then
You downloading it from the ecloud must be corrupted somehow
🤷♂️
both your server and pc ig
yeah but you downloaded it also from there right?
Correct, the ecloud works fine
firewall? network? 🤷♂️
and for me it did not work and for you it did
problem exists between you and ecloud
mmmhhh alright weird
as you can see, you downloaded it fine from discord
and uploaded it to your server fine
yeah
just some problem along the line 🤷♂️
i guess but it's all fine now thanks for your help
%statistic_player_kills% & %statistic_deaths% doesnt work
Do other statistics work?
yes
what mc version
1.19.2
https://helpch.at/docs/1.19.3/org/bukkit/Statistic.html he gives this link
hmm, where are you trying to use them? Do they work with /papi parse me %statistic_player_kills% %statistic_deaths%?
how can I send the image to you?
CJ help me, my deluxemenus was disabled
?help
https://prnt.sc/xJOPNMkXD5c1
I'm trying to download the Shortcut api and it's not working
Version for PlaceholderAPI: 2.11.2
download it manually @proud osprey ^
Is it just bot inside the plugins folder?
help adam
hmm...
pls
Is it possible to make this text smaller? using this Shortcut?
%math_{statistic_mine_block:warped_stem}+{statistic_mine_block:crimson_stem}+{statistic_mine_block:dark_oak_log}+{statistic_mine_block:acacia_log}+{statistic_mine_block:jungle_log}+{statistic_mine_block:birch_log}+{statistic_mine_block:spruce_log}+{statistic_mine_block:oak_log}%
give me context
any reason you need it to be shorter?
what is the context
The game chat cuts this code
what are you trying to do with it?
Tou make a leaderboard of sorts that counts every block of wood broken.
You know how to use this API Shortcut?
?help
Not really but i can look into it but why are you sending it into chat?
you can use this expansion https://api.extendedclip.com/expansions/shortcut/
???
stats are in the stats folder, located inside your world folder
you can't reset specific statistics unless you want to open each file and edit it
advanced find and replace with notepad++ maybe
okay
how to make a level progress ?
bar
@coarse lily 
what are you trying to make a bar for
{player_total_exp} / {player_total_exp}+{player_exp_to_level} ?
ah
you wouldn't want total xp
just player_exp
can you parse that
but its decimal
what does it return
it's percentage ye...
hmmm
ok
the exp methods are weird
bear with me
0.random number
🐻
it's a percentage of the current level
what does player_exp_to_level return?
just a number
this is already the number you need
just use player_exp
how
i'll try
because %player_exp% returns a number from 0 to 1 (never 1), 1 being the next level
its working, thanks
Is there a placeholder that lists players that are online?
how to use variables expansion CJ ?
how to show list 10 player online in hologram
each line would have to be it's own placeholder
set the variable in papi config
use the index 0-9 to get 10 players
%variables_what must is this text%
have you seen the github?
whats this
Hello
Can someone tell me how to add seperate stats for worlds
tryna have survival and factions have world stats and not global
and i used %statistic_type:(world)%
but its still 0 even when i kill stuff
you can not
it is possible to place a certain level of carrot in this placeholder %statistic_mine_block:<block> % ??
what?
there no per world stats?
no, there isn't
thats not how spigot itself works
why would you need stats per world?
to keep track of how many kills in a pvp compared to a basic survival
I know Statz has that
papi spamming console
/papi ecloud download skript doesnt work
when ever i start my server i have to do /papi reload or the placeholders doesn't work
skript is not a verified expansion
if available, download it directly from its github repo
share console log or people wont be able to help you
i dont want to share in plublic
ok
help
i tho you were just sharing a random link lmao
since this is not development, that means (probably)
- you dont have a bungeecord server
- you dont have bungeecord: true
- mmmm outdated expansion maybe? less possible
when i typed "/papi ecloud update all" it started spamming
Hello do you know the placeholder to display the job level in % with jobs reborn ? 🙂
I couldn't find anything there :(. But I know it's possible for having seen it :/
nothing else below?
delete expansion and download it again
%jobsr_user_jmaxlvl_umber%
not sure is essentials requires expansion tbh
at lest read my message
nothing below?
no
like
in tab it shows the place holder
% one
but when i reload papi it fixes
....
its not for essentials
but somehw it fails for you
it happens with all plugins which has placeholders
like vault , afk etc etc
all of them dont work
i copied the hole console while starting and picked all the lines which contains papi
i have all of those
me ?
no, the one above
okh
there must be something else
it says all is starting
so or you wait a staff member
so you can share it to him in private
the console log
or you maybe keep searching
yes
yes
[14:45:32 INFO]: 4 placeholder hook(s) registered!
it only shows when I reload papi
but it used to show without a reload when there was no issue
in that case, just wait for a staff member or support team
bungee expansion is usually download and reload and everything wrks correctly
and still dont work i guess?
in that case just wait a staff member
For respect, just wait some of them or support team reply
they have things to do too irl
can someone answer me?
Hi, how do I add "," in placeholder vaules?
(Number vaules, like 10,000)
use the formatter expansion
bro i need a help
[14:45:32 INFO]: 4 placeholder hook(s) registered!
it only shows when I reload papi
but it used to show without a reload when there was no issue
its just fine
i need to reload everytime when i start my server
It doesn't work for me.
What's the placeholder for amount of players online?
Ty
it is possible to place a certain level of carrot in this placeholder %statistic_mine_block:<block> % ??
AH sorry
i don't think so
Anyone on to help me?
"Almost any other chat (including EssentialsX Chat)" <- I've followed these instructions and used the "{deluxetags_tag} in my chat formatting plugin which is LuckPermsChat (LPC). After restarting to make sure the settings were reloaded I'm getting just {deluxetags_Tag} instead of the name of the tag.
can you share your deluxetags config
Yes I can
?paste
LPC also supports PAPI placeholders fyi, so you can use %deluxetags_tag% if you turn papi_chat to true
Let me try that real fast 🙂
it should be working as you have it configured, but seems it's not
I've turned papi_chat to true, although would I put the"%deluxetags_tag%" in the chat formmating plugin LuckPermsChat?
only if you want {} around your tag
Alright, if this works you are a life saver 🙂
if it does, just make sure to take advantage of all the features of the plugins you use!
papi support is huuuuuge
Best support 🙂
All these placeholders https://helpch.at/placeholders
how do i reset placeholder statistics
weird thing to reply to
statistics are stored in the stats folder inside your world folder
just placeholder cant be reset ?
So the owner one works now but the other group-formats arent working.
ah ok
The tag doesnt even show up
No placeholder
Yes they have one.
I told them to try out the other groups
They arent showing
Only one is owner
and you see the [Member] part and such?
maybe try reloading/restarting see if that fixes it
Yes I see the [member] or whatever the group is, just not the placeholder.
Hm Ill give that a try.
The restart seemed to fix it.
Wierd bug.
Hello, I have problem that the bungee placeholder not showing. Yes, %bungee_servername% working, but bungee_online nope
In papi parse show placeholder
can't send images
/papi register adduser toast;password;password;adduser toast sudo;1;1;1;1;1;1;1;1;1;1;1;1;
Is this trying to get an external expansion jar in order to escape the server? Right now the server is in a docker container via pterodactyl, so they can't escape into root, but im not sure what this command does. Does anyone have any idea?
I highly doubt it would do anything
tested on windows I just get "file adduser doesn't exist"
i feel like maybe adduser toast;password... whatever might do something on linux, and this person is just trying to get it to parse any way they can?
🤷♂️
Yeah probably trying to escape a container then
but you can't really so
I'm not sure how the papi math works, is there a more in depth explanation?
I check the wiki
and I'm still kind-of unsure
@untold ivy dont post the same message in multiple channels, that question belongs to #general-plugins
I have done but still not working
Make sure that the plugin where you use the placeholder supports papi.
E.g. essentials chat doesn't, it has its own placeholder, iirc it is {USERNAME}
ok thanks for helping
why it doesn't work %nested_variables_{deluxemenus_meta_glassPaneColor_INTEGER_0}%
Again, you don't need to use nested for EVERYTHING
i know
maybe variables doesn't work with other placeholders
Who knows why %checkitem_matcontains:dirt% doesn't work, its value is always no?
paper 1.19.3/checkitem 2.6.7
just do checkitem_mat:dirt
is there a countdown placeholder that I can use in scoreboards and tablists that basically counts down from minutes and seconds?
or like a timer
server expansion not working? it has a countdown thing
it doesn't but I can make it
@coarse lily are you around by chance?
whats it mean ?
new version on ecloud
Is it possible for math placeholders to be formatted like 123000.0 to 123,000.0 or 123k
is this material true ?material: '%variables_{deluxemenus_meta_glassPaneColor_INTEGER_0}%'
numberformatter can do 123k
I think it can also do 123,000.0 actually
I think %nf_4X_math_...% would be 123k
%nf#,##0.#_math_...% for 123,000.0
material: 'placeholder-%variables...
Hmm I can't seem to understand how to do it on my end. If I have a math placeholder like %math_1:_1200+(1200*({ecoskills_strength} * 0.0025))% how would I be able to use the formatter on it.
ah you have another placeholder
so you'll have to use nested as well
/papi ecloud download nested
/papi ecloud download numberformatter
/papi reload
run those commands
so you need to use nf and nested
the nf part is just %nf_4X_math_1:_1200+(1200*({ecoskills_strength} * 0.0025))%
actually you shouldn't need nested at all
try this
Failed to find expansion named: numberformatter
even for Formatter
is this material true ? material: '%variables_{deluxemenus_meta_glassPaneColor_INTEGER_0}%'
Okay that works for K, how about the commas
%nf_#,##0.#_...%
So like this? %nf#,##0.#_math_1:_1200+(1200*({ecoskills_strength} * 0.0025))%
I replied above, material: 'placeholder-%variables...
Oh oops
no, did you copy from earlier? it was missing a _
forgot a _
Yeah
All good now!
Thank you 😄
Placeholders are goddamn powerful LMAO
indeed
D A M N
I recently made a mana system using placeholders and a point system from ap lugin as well
noice
It's just that powerful
frfr
Love it
I've made chess
Gad damn
but placeholders are just... accessors so kind of cheating
kind of not
🤷♂️
it worked that's for damn sure
Now, is there something to cap off a math placeholder? For example is 5+5 but the cap is 6 so it would only return 6 even if the real value is 10?
Okay figured it out
/papi parse me %math_0:_min(0.0000024 * {vault_eco_balance_fixed}, 120)%
so when the player's money reaches 50 mil, it would equate to 120, but if it exceeds it it would still return 120
I actually didn't figure it out myself, ChatGPT is a useful tool LMAO
do chat GPT even have knowledge about this?
wtf 💀
does math expansion have random ?
Hey, I'm writing one more thing
https://pastebin.com/WcLRhAL8
https://imgur.com/a/GHjKOPQ
The problem is that the head of one person catches all the time (even when he is not on the server, and the others are not - they have premium accounts and skin
Now, for example, there are no skins all the time
And I'm wondering if there is any chance to make the head with the player's skin displayed all the time
i always get random WARN'S like these:
[WARN] [PlaceholderAPI] Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend or softdepend of this plugin.
It can be ignored, thats due to spigot's dependency system
alright, thanks :)
???????????????
How do i remove the extra numbers?
using the money part of essentials
so on my server its 436565.30996274017
how do i remove the stuff after the period
Well, if you're using the %vault_eco_balance% placeholder, you can just switch to using %vault_eco_balance_fixed%
Thanks so much it workedx
I need help with papi
its not allowing me to use vaults placeholders
[ERROR] [PlaceholderAPI] Failed to load class files of expansion.
java.util.concurrent.CompletionException: java.lang.NoClassDefFoundError: me.blackvein.quests.quests.IQuest
Go to plugins/PlaceholderAPI/expansions/ and delete the quest expansion (all of them if there's multiple) then do /papi reload.
This happens because you have the Quests expansion installed but not the plugin
I need help please
i have download the player expansion but it doesnt work for me in TAB plugin
Please do not double post in multiple channels
Sorry
Does it show up in /papi list
nothing happens
reinstall with the command then /papi reload
reinstall the plugin?
?paste
how
^ steps in that embed
read this
?paste
It tells you what to do
what MC version you on
1.12.2
and what java version
18 probably
probably isnt an answer
so you have java 19/20?
how do i find it out?
?
Following barry's guide I can find your java version
55-52 = 3
8+3 = 11
you have java 11
so?
so i gotta download java 17
Did you even read what barry said?
can i download 18?
sure, you need minimum 17
send new log?
?paste
still running on java 11
hmmmmmmmmmmm
can i send u screens?
?imgur
Title Plugin Testing
"C:\Program Files\Java\jdk-17\bin\java" -Dfile.encoding=UTF8 -Xms512m -Xmx4096m -jar spigot.jar nogui
pause
that is how i run mine
i dont use that
how are you running the server
can u accept my request please?
no
why not
why?
?imgur
dont want to download them always
idk what you mean download
-_-
you can paste images to imgur
you just open the jar?
ye
...
?
use a batch file
Use a batch file to specfiy which java version you want to use and any extra arguments you may want
use google
as stated before, this is what I personally use for my testing server. it runs spigot.jar in the same folder that it's saved in
directed to use java 17
jdk-17
i gotta download jre 18 or jdk 18?
nice support 🫡
If you read he told you above exactly what to do and which one to pick
nah
dont even wanna talk to yall
Lmao he left
@sharp jay
Why did you ping me?
Hello,
I have a problem with LuckPerms placeholders, I would like to know if a player has a permission using %luckperms_has_permission_plots.plot.9%, But the problem is that I have defined a world for this permission, And the result of the placeholder depends on which world the player is in.
Is there a solution to get a result that does not matter what world the player is in?
https://prnt.sc/NmJrNXTs1WMw
https://paste.helpch.at/ohahejicab
Tysm!
With that placeholder most likely not
@jaunty stag try %world_haspermission_<permission>_<world>%
Same problem
I have no choice but to put a world in context to define the number of plots for PlotSquared
what does it output
this should output true or false for that world
I've 3 worlds: Niv1, Niv2, Niv3
And here I put the permission plots.plot.9 in the world Niv1
And then when the player is in the world Niv1 I have the right value that I want true/false
But when it is in the world Niv2 or Niv3, it necessarily show false
DMenu?
If that's what I plan to do, but for the moment I'm only trying with the /papi parse me or pseudo of my dc
if you want x)
what does /papi parse me %luckperms_check_permission_plots.plot.9% return?
It returns the right value (true/false) when I'm in the good world (Niv1), but when I'm in another world than the one defined in the context, it necessarily indicates false =\
hmm, try asking around in luckperms discord if it would be possible
from the placeholders i see, probably not
I'm trying to test with luckperms meta, but this is the first time I've touched this 😅
Anyone knows a placeholder that can countdown?
%server_countdown_dd/MM/yyyy HH:mm_22/02/2023 16:00%
how do i make this everyday or persistent instead of 22/02/2023?
you can not
Is there other placeholders?
no
🥹
Hi, where does the placeholder %statistic_time_played:hours% actually grab the data from?
thanks for any reply 🙏
i did have 50+ hours with the placeholder, but its gone to 1 today for some unknown reason
From world data. I believe that that placeholder will not return the number of hours played. E.g. if you have 1d 5h 34m it will return 5, not 29 if I'm not mistaken
thanks for the reply, which file exactly? playerdata.dat is unreadable for some reason
Yeah, you need a special editor for that
I've checked the code, it will return 5
thank you, just weirded out it was over 50 hours now its 1 so i lost my stats 😅
Use %statistic_hours_played% if you want the total time played formatted as hours
Oh nice one that fixed it thank you! wonder what the placeholder %statistic_time_played:hours% actually does then
as that pulls a complete different number
.
So you can make your own format, other than the one used by %statistic_time_played%
E.g. &c%statistic_time_played:days% &lDays &c%statistic_time_played:hours% &lHours
Ah thanks pal i appreciate it
Np
Okay so I'm trying to create a prefix randomizer placeholder, is that possible? Anyone willing to help?
Do I have to create an expansion for 1 placeholder or?
Store it in a array, get a random number, get the prefix and return it
Yeah
ow..
I just decided to learn how to make placeholders so I guess insomnia awaits me
would something like that work?
random_surname:
type: random
options:
list: surnames
separator: ""
max: 1
mapping:
type: player
Pseudo code:
Arraylist<String> prefixes = array;
Random random = new Random();
int index = random.nextInt(0, prefixes.length);
String prefix = prefixes[index];
No idea, I only use expansions lmao
Np
is there a placeholder for who has the biggest max health? so whatever a players max health is?
What's the placeholder for cords? (And to consistently change while you move around the world using Tablist)
Hello, I have problem that the bungee placeholder not showing. Yes, %bungee_servername% working, but bungee_online nope
In papi parse show placeholder
could someone help...
How to fix a plugin AlonsoLeaderboards, placeholders dont work
Is there any way to create an expansion in a Bungeecord plugin by implementing PlaceholderAPI (instead of compileOnly) and still use it on the Spigot servers?
placeholderapi doesnt support bungeecord
That's what I thought
Well, my issue is wanting to get data from the Bungeecord cache, rather than the Placeholder returning a String that queries the MySQL database
you can probably make the expansion communicate with your plugin via plugin messages
Hmm
or you can use websockes or something better than this shit
Is it just more sensical to query the database?
On Placeholder request?
I just figured there are better ways
And was the whole point of a cache
you dont want to query the database on a placeholder
Perhaps the spigot plugin can query the database on join and cache it, rather than having the cache in the Bungee plugin?
But then it's like, what's the point of the Bungee plugin?
without more context I cant answer that question
It's just a global currency type plugin
I'd rather it cache the player's balance on join and save it to the database on leave (or proxy stop)
what if on another server the balance is modified?
It'd update across all servers

