#placeholder-api

150650 messages · Page 133 of 151

warm plover
#

Search for a tellraw generator

#

It’ll have options for that kind of stuff

urban trench
warm plover
#

No probs

dense sequoia
#

hi, anyone know where can I get regionplaceholder??

warm plover
#

For world guard?

dense sequoia
#

yes

warm plover
#

Yeah download the WorldGuard papi expansion, %worldguard_region_name%

#

It should work with /papi ecloud download worldguard

dense sequoia
#

mhmm

#

it has config?

#

like:

no-region: '&cNone'
SuperioSkyblock2:
  YourIsland: "Your Island"
  OtherIsland: "{owner}'s island"
WorldGuard:
  spawn:
    name: '&c&lTEST'
  test1:
    name: '&b&lTEST1'```
warm plover
#

Nope I don’t think it can be configured

dense sequoia
#

mhmm because I saw a plugin that has that config and when you use a specific placeholder it change to the name: you put but I wasn't able to find it

urban trench
#

always show offline

warm plover
urban trench
#

and this one to show the server is online or offline

#

and its always show offline and i did correctly idk where is the issue

warm plover
#

I know what it does I just dunno why it doesn’t work you

urban trench
#

like forums and announcents and like that

warm plover
#

NamelessMC I believe does forums

tribal tusk
#

I need help please

#

wait is this a minecraft server?

warm plover
devout otter
#

I wonder if you could help me? My problem is, I have 2 worlds, the first one is lobby and the second one is survival, I used math to show the players in them (- person playing) but instead of 1 or 0, it shows 1.000 or 0.000. How do I solve this?

#

@slow crystal

#

@idle coral

tender vaporBOT
devout otter
junior musk
#

%math_0_...%

devout otter
devout otter
hollow delta
#

Hello!

I use a plugin that executes commands and parses placeholders itself.
(I'm using there command to change the line in DecentHolograms)
But the problem is that I need this plugin not to parse the placeholder, but to simply write text with the placeholder into the hologram and for the hologram itself to parse the placeholder.

The developer of that plugin is not very active and I think he will not soon implement my idea.
Tell me what can be done?
I think you can use another placeholder that will replace my symbols, for example | (|player_name|) by % (%player_name%)
there are such?

junior musk
#

/papi ecloud download Utils
/papi reload
%utils_escape_player_name%

hollow delta
#

wow!! ❤️

high cairn
#

Hi, I am trying to create a configuration menu, and I would like to know if there is a placeholder to indicate the status of the msg with essentials, because I would like to add a status or if it can be done with a ChangeOutPut.

hollow delta
#

Help, as in %formatter_number_
make a pattern through a dot? for example 1.000.000

#

%formatter_number_format_it:_1000000%

hollow delta
junior musk
#

parseplaceholder:[{player_displayname}]

#

though you probably want player_name instead

slate thunder
#

Hi, I want to put a variable inside a variable, but I don't know how to do it.
For example, I want to make 1 a variable in %img_level_1%.
However, if you use %img_level_%player_level%% there is no output.
Sorry I'm using Google Translator.

junior musk
#

/papi ecloud download Utils
/papi reload
%utils_parse_img_level_{player_level}%

slate thunder
#

thank you!
Additionally, if the level variable is a script, how should this be done?
skript_playerData::{uuid}::level

junior musk
#

same thing, but either use {player_uuid} or \\{uuid\\}

#

can either be \\ or \ depending on where you use the placeholder, try both in case one doesn't work, or just try with {player_uuid} if none work for some reason

slate thunder
#

thank you so much!

hollow delta
junior musk
#

that's not what I said

#

I said parseplaceholder, not parseother

hollow delta
#

and where to insert a variable with a nickname?

#

%utils_parseplaceholder:[{utils_parseother:[{score_variables_nick}]_player_displayname}]% ??? :d

#

😦

junior musk
#

...

#

%utils_parseplaceholder:[{score_variables_nick}]_player_displayname%

#

parseplaceholder = parseother with placeholders

hollow delta
#

ok :d

#

Is there any placeholder to return the nickname in text (from score_variables_nick) if the player is offline?

junior musk
#

no idea

hollow delta
#

_try & _trycatch its what?

junior musk
#

when placeholders throw errors

#

try prevents the error from throwing, and trycatch returns a default value instead

sharp geode
#

guys anyone have a placeholder have divide math ?
for example i mean
320 divide 64 = 5
and placeholder return 5

junior musk
#

what?
I just gave you the placeholder

sharp geode
junior musk
#

😐

#

%math_320/64%

#

/papi ecloud download Math
/papi reload

sharp geode
#

oh oh oh xD sorry thanks

merry jasper
#

Can I get a full list of NBT on an item in player's hand with checkitem expansion?

mint fable
merry jasper
#

Cheers, and would you recommend any plugins for adding nbt? or would a small skript suffice?

#

I'm trying to apply nbt to an item if it does not exist using ConditionalEvents

mint fable
#

not really sure, but I feel it might be able to be done within conditionalevents? idrk

#

never used it

merry jasper
mint fable
#

i think you could use the /data command and merge it

#

but idk how exactly

#

/papi parse me %checkitem_getinfo:mainhand_nbtstrings:s%

#

what about that

#

prob not

#

hmm

#

can you hold the item and type /data get entity @s SelectedItem @merry jasper

#

send picture

tender vaporBOT
mint fable
#

oh wait

#

the first time you parsed it you forgot the :

merry jasper
#

ahh ok

mint fable
#

with the :

merry jasper
#

got it cheers

mint fable
#

nice

#

no problem 😊

merry jasper
#

nbtstrings has nothing but nbtints has stuff

#

hm, was looking for the tag that vk's omnitool uses.

#

but dont see it thonking1

mint fable
#

hmm

#

i thought I had it to where if you had strings or ints it shows all

merry jasper
#

want to make every tool one by default instead of issuing a command to give a player one

mint fable
#

ic i changed it

merry jasper
#

actually strings does show, i spelled wrong again lol

#

but strings and ints is same output

mint fable
#

oh ok

#

yeah

#

I thought they would be

#

hmm actually they shouldn't be it looks like

#

idk

#

🤷‍♀️

merry jasper
#

Do you know what 1b means as an nbt value or is that plugin specific

mint fable
merry jasper
#

ah so 1b likely means true

mint fable
#

uh

#

depends on what it is I guess? nbt has boolean values so there wouldn't be a need to store a true/false as a byte value

hallow tiger
#

Any expansion with more placeholders for bungee/velocity?
BungeeExpansion just have 2 basic placeholders...

onyx blaze
junior musk
#

you're missing the PlaceholderAPI plugin

onyx blaze
#

But there is no way of canceling the placeholderapi thing when the plugin isnt loaded?

short herald
#

My scoreboard doesn't really work, my money system shows all players the same balance and %player% doesn't work either. It just doesn't load, what can I do??? I need support quickly

junior musk
onyx blaze
#

alr did that

junior musk
#

Bukkit.getPluginManager().isPluginEnabled("PlaceholderAPI")

tender vaporBOT
onyx blaze
#

        Plugin PlaceHolderAPIPlugin = Bukkit.getPluginManager().getPlugin("PlaceHolderAPI");
        if (PlaceHolderAPIPlugin != null && PlaceHolderAPIPlugin.isEnabled()) {
            DatabaseManager databaseManager = DatabaseManager.getInstance();
            me.clip.placeholderapi.PlaceholderAPI.registerExpansion(new PlaceHolder(this, databaseManager));
            return;
        }
short herald
#

Okay

#

But cmi is bugging around and that's not your fault from cmi, what can I do?

onyx blaze
short herald
#

??

junior musk
onyx blaze
junior musk
#

can you send your logs?

onyx blaze
junior musk
#

your logger info isn't even showing in console

#

so there's something wrong in your code

#

can you send the full onEnable method?

onyx blaze
junior musk
#

are you using Gradle or Maven?

onyx blaze
#

Maven

junior musk
#

send your pom.xml

onyx blaze
junior musk
#

seems fine

onyx blaze
#

yeah haha

#

i tried so many things

junior musk
#

I'm not sure what's wrong, none of the messages in your onEnable show in console, even the ones before you load your PAPI expansion

onyx blaze
#

yup

junior musk
#

what if you delete the method?

#

or the class

onyx blaze
#

the PlaceholderAPI method?

junior musk
#

the loadPlaceholderAPI yeah

onyx blaze
#

Exactly the same error

junior musk
#

what if you delete your entire Placeholder class?

onyx blaze
junior musk
#

yeah

onyx blaze
#

Plugin enabled without the class

junior musk
#

it seems to be trying to load the class regardless of whether you create a new instance or not

#

can you send your jar in DMs?

onyx blaze
#

yupp

onyx blaze
#

okay idfk how i did it

#

But i fixed it

junior musk
#

what changed from what you originally had?

#

oh

#

nvm

#

well that's a good solution as well I guess 😅

onyx blaze
#

I think it was a outdated version

junior musk
#

idk

onyx blaze
#

yeah hahah

#

but gonna follow the #1 rule of coding rn, never gonna touch that again

austere hawk
#

helo

#

@sharp jayHelp

tender vaporBOT
austere hawk
#

mb

#

Hello i need help

tender vaporBOT
urban marsh
#

@violence.amk#0000 I need help

#

Aw he left

grim light
#

Hello doesn't placeholderapi have bskyblock support? I'm trying to connect another plugin via ecloud, but it doesn't work

wet basinBOT
#

@mint fable Unknown expansion.

bright copper
#

hi

raven parcel
#

Is there a placeholder to display the exact number of the player you were when you joined the server?

compact dagger
#

idk why but the progress bar expansion not return the value that i want, heres the screenshot no error console https://ibb.co/D5mB0Mb. But when placing the placeholder in TAB's scoreboard it works, but not with others https://ibb.co/6N8QSzW

#

ohh solved it, sorry

tired star
#

i need this fixed if u can help in my tab list and when i type my username comes up as %assentialnick% it also says %afk% all the time

#

im not sure if this is a placeholder thing or not

agile sorrel
#

hello, i am looking for some way of returning a custom value for a plugin placeholder like:
%simpleclans_is_member% displays only yes or no
but i want to use this placeholder to display No as "No clan" for example,

#

is this possible?

half bobcat
#

Is PlaceholderAPI compatible with Velocity?

agile sorrel
agile sorrel
#

any help appreciateed

bronze shell
#

you want it so that if player is not in clan it show no clan, if they are in clan it shows simpleclans_clan_name ?

#

if that so, then %changeoutput_equals_input:{simpleclans_is_member}_matcher:no_ifmatch:No Clan_else:{simpleclans_clan_name}%)

agile sorrel
#

will try tomorrow tysm

agile sorrel
bronze shell
#

Ah yes

#

Copy pasted your text lol

lyric drum
#

i can change the variable of a placeholder? of %essentials_afk%

sharp jay
#

^ yes use changeoutput pretty sure

lyric drum
#

okay

#

thanks

bronze shell
#

as in, error?

#

ah it's possible you cannot have a space at "No Clan", or you have to do something extra so it doesnt break

#

%changeoutput_equals_input:{simpleclans_is_member}_matcher:no_ifmatch:NoClan_else:{simpleclans_clan_name}%
try this

agile sorrel
#

nope

#

Only showing No clan

bronze shell
agile sorrel
#

i mean, it displays "no"

bronze shell
#

🤨

merry jasper
#

If i have a placeholder which returns a list of things, can i dynamically create these as items in a DM menu? So that the items themselves are not hard coded but instead dynamically read?

#

e.g. for a menu of player's homes, for example. Or a menu of valid enchants for player's current tool.

stable forge
#

Hi, sorry for late reply! When running this It also mentions 'default' not the X.

sweet terrace
#

Is it possible to show placeholders on the new display entity things? I've just tried and it just shows the placeholder text instead of parsing but not sure if there's something special that needs to be done

junior musk
#

if you're using a plugin that spawns those display entities and supports PAPI, then yes

#

otherswise, no

stable forge
#

anyone?

pliant ember
#

I want that in tab if some player is in a clan it would show their clan name and if theyre not it would show no clan instead of just blank. I know that i should be using changeoutput placeholder but I can't manage to do this. Clans placeholder is %fc_player_clan_name%

merry jasper
#

/papi parse me %checkitem_inhand:main_nbtstrings:"OmniTool"=1b,strict% is returning yes no matter what i am holding thonking1

merry jasper
#

Solved with /papi parse me %checkitem_inhand:main,nbtints:OmniTool=1,strict%

mint fable
#

sorry for ping :L

merry jasper
#

its ok

#

can i use a placeholder for slot # haha

#

Trying to figure a way to dynamically load different items based on player's hand, without tons of view requirements

mint fable
#

lol i think i put it on deluxemenus

#

funny

merry jasper
#

work well?

mint fable
#

i remember updating it

#

sorry, i mean the slots

merry jasper
#

oh in the dev builds?

mint fable
#

it works well though

merry jasper
#

Ah fair

mint fable
#

if you wanted to build it

merry jasper
#

Might be mistaking it, does this let me specify a placeholder value in slot:?

mint fable
#

i just read

#

wait

#

no

#

no no

#

i am very high

#

my mistakes

#

lol

#

420

merry jasper
#

lol no worries

mint fable
#

so

#

how I did it

#

was this

merry jasper
#

trying to condense like 6 diff menus into one

mint fable
#

hmm

#

can you send a few

#

maybe I can think of an idea

#

🤷‍♀️

merry jasper
#

enchanter that has diff items depending on a string constant i.e. the material name in hand

merry jasper
mint fable
#

?dm-multireq

tender vaporBOT
mint fable
#

@merry jasper

rotund sequoia
#

Is there a way to have PlaceholderAPI ignore a specific percentage %? For example, "96% %player_name%", I'd like to ignore the first % as currently it's causing "% %" to be parsed instead of %player_name%.

junior musk
#

use %ascii_37% instead of %

#

/papi ecloud download Ascii
/papi reload

rotund sequoia
junior musk
#

or if you're using that in TAB, you can use %%

pliant ember
#

And would you mind helping me?

junior musk
#

sure, what's the issue?

junior musk
#

what does the placeholder return currently when you don't have any clan?

#

/papi parse me %fc_player_clan_name%

pliant ember
#

It just shows blank

rotund sequoia
junior musk
#

%changeoutput_equals_input:{fc_player_clan_name}_matcher:_ifmatch:No Clan_else:{fc_player_clan_name}%

pliant ember
#

Ty

junior musk
#

/papi ecloud download ChangeOutput
/papi reload

pliant ember
#

I'll try it when i'll get back home.

merry jasper
#

Can I have three condition checks in changeoutput/are there other placeholders i can use to do multiple conditions?

Without using JS?

I want to get rid of this JS placeholder.

https://paste.helpch.at/iruhezecap.csharp

#

I guess I could wrap a 3 changeoutput inside a changeoutput 😂

a changeoutput for each conditions returning yes/no, and then replace yesyesyes with my valid text 😂

merry jasper
#

What's up with this math expression wrapped in a changeoutput?

Parsing the math expression itself, works fine and returns 1 or 0. But the changeoutput always only shows the 'else' text.

https://paste.helpch.at/jesiqetolo.bash

junior musk
#

%utils_parse_changeoutput_equals_input:{math_0_{tokenenchant_token_long} >= {tokenenchant_repair_cost_long} && {player_item_in_hand_data} > 0}_matcher:1_ifmatch:&e→ Click to repair_else:&c❌ &mClick to repair%

merry jasper
#

what's the utils expansion for?

junior musk
#

too many nested placeholders

merry jasper
#

ah

#

is utils even an expansion or is it built into papi

junior musk
#

it's an expansion you have to download

merry jasper
#

nice one, works thanks. i'm replacing a js placeholder with that for performance, shame because js is much cleaner 😂

merry jasper
#

If I have a JS Placeholder, and use it multiple times in one menu, does only one js engine run, or does a js engine run every time the placeholder appears somewhere?

sick saffron
#

when i use /papi ecloud download Math and /papi reload this error appears

#

21:27:38 INFO]: FunadosDuper issued server command: /papi ecloud download Math
[21:27:39 INFO]: [PlaceholderAPI] Fetching available expansion information...
[21:27:41 INFO]: FunadosDuper issued server command: /papi reload
[21:27:41 INFO]: [PlaceholderAPI] Placeholder expansion registration initializing...
[21:27:41 INFO]: [PlaceholderAPI] Fetching available expansion information...
[21:27:41 ERROR]: [PlaceholderAPI] Failed to load class files of expansion.
java.util.concurrent.CompletionException: java.lang.UnsupportedClassVersionError: com/ezylang/evalex/EvaluationException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source) ~[?:1.8.0_401]
at java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source) ~[?:1.8.0_401]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source)

sick saffron
#

[?:1.8.0_401]
at java.util.concurrent.CompletableFuture$AsyncSupply.exec(Unknown Source) ~[?:1.8.0_401]
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) ~[?:1.8.0_401]
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) ~[?:1.8.0_401]
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) ~[?:1.8.0_401]
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) ~[?:1.8.0_401]
Caused by: java.lang.UnsupportedClassVersionError: com/ezylang/evalex/EvaluationException has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_401]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_401]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_401]
at java.net.URLClassLoader.defineClass(Unknown Source) ~[?:1.8.0_401]
at java.net.URLClassLoader.access$100(Unknown Source) ~[?:1.8.0_401]
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_401]
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_401]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_401]
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_401]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_401]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_401]
at me.clip.placeholderapi.util.FileUtil.findClass(FileUtil.java:62) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$findExpansionInFile$7(LocalExpansionManager.java:421) ~[?:?]
... 6 more

junior musk
mint fable
#

meaning multiple js engine instances

merry jasper
#

Ah ok, all good I’ve took out most of my js ones

rugged apex
#

How do I show the total number of players in 3 worlds(survival, survival nether and the end)?
I was using something called playerlist expansion, but seems like it has been removed lately.

I tried something:

%world_players_survival+survival_nether+survival_the_end%' but seems like it's not the perfect way to do it :P

only %world_players_survival% works

junior musk
#

%math_0_{server_online_survival}+{server_online_survival_nether}+{server_online_survival_the_end}%

#

/papi ecloud download Math
/papi ecloud download Server
/papi reload

eternal plinth
#

Anyone help? hologram vanished idk what happened

manic badge
#

provide more info

dusky gale
#

hey papi isn't being loaded by my server. It's fabric and 1.20.4.

junior musk
#

PlaceholderAPI isn't a Fabric mod

#

it's a Spigot plugin

dusky gale
#

ohh wait. I'm using some other mod called text placeholder api mb

proper sparrow
#

Hello ! I made a mob so it send a player a placeholder when a player comes near to the boss but the placeholder doesn't exist before it is sent (that's how the plugin works I guess). And I would like to check the value of this placeholder, however, as it doesn't exist yet, it send "An internal error ...". Is there a way with PAPI to get a "default" value for a placeholder that doesn't have any value yet (or even exist) like a failsafe system ? I try with changeoutput and this wasn't working :/

junior musk
#

%utils_trycatch:<defaultValue>_placeholder%

#

/papi ecloud download Utils
/papi reload

proper sparrow
white apex
#

My phone number is tied to an old account. I deleted the account but won’t let me use my number with this one?

real parrot
#

How to get list of players inventory items in javascript expansion?

wicked tartan
#

with the player expansion and the %player_ping% placeholder, is there anyway to make your server ping more often, right now it updates your ping really slow

green plaza
#

I cannot find the config.yml file for PlaceholderAPI even though I have restarted the server a few times.

#

I checked the PlaceholderAPI folder inside the plugins folder and every folder I had on my server.

wise lark
#

I found this in a very old thread but I'm trying to list the item's enchantments in a list format and if the item doesn't have any enchantments then to show "No enchantments". Here is the javascript that I found, is there an easier way to do this?

var player = BukkitPlayer;
var material = '%player_item_in_hand%';

var line = ' ';


function itemlore() {
   if ( material !== 'AIR' ) {
       var has = player.getInventory().getItemInHand().getItemMeta().hasLore();
       var linelore = player.getInventory().getItemInHand().getItemMeta().getLore();
   }

   if ( material !== 'AIR' && has === true ) {
       var lore = player.getInventory().getItemInHand().getItemMeta().getLore().toString();
   }

   if ( material !== 'AIR' && has === true && lore.indexOf(', ,') !== -1 ) {
       lore = lore.replace(/, ,/g, ',  ,');
   }

   if ( args.length == 1 ) {
       line = args[0];
   }

   if ( material === 'AIR' ) {
   // return 'AIR' when you aren't holding an item (You can change it to whatever you want)
       return '';
   } else if ( has && line === ' ' ) {
       return lore.replace(/^\[/, "").replace(/.$/,"").replace(/, /g, '\n');
   } else if ( has && line !== ' ' ) {
       if (linelore.length >= line) {
         line = parseInt(line) - 1;
         return linelore[line];
       }
       // return ' ' (Nothing/blank line) when the item you're holding doesn't has the requested line (You can change it to whatever you want)
       return '&b• &f&nNo Enchantments';
   } else {
   // return ' ' (Nothing/blank line) when the item you're holding doesn't has lore (You can change it to whatever you want)
       return '&b• &f&nNo Enchantments';
   }

}
itemlore();
waxen forge
#

is there a way to make a custom placeholder with this value {levels::%player's uuid%}

#

for custom leaderboard using ajleaderboards

junior musk
#

%skript_levels::{uuid}%

waxen forge
#

Thanks alot

#

okay i added the expansion

#

and now?

junior musk
waxen forge
#

How?

junior musk
#

wdym?

#

didn't you want to use your skript variable in other plugins?

waxen forge
#

Yeah i want to use the skript for our player levels in a ajleaderboard but how do i add the place holder %skript_levels::{uuid}%

junior musk
#

first make sure the placeholder works with /papi parse me %skript_levels::{uuid}%

#

it should output the result in chat

waxen forge
#

Does work

junior musk
waxen forge
#

Thanks

real parrot
#

How to count amount of players in x blocks radius?

neat nova
#

Hello, somebody know if there's a placeholder for check ítem tags?

urban jolt
#

Is there a magic syntax setup I'm missing to try and use objective score in a math expression:
%math_{objective_score_{OBJECTIVETITLE}_{Timer}}/20%

tawny hamlet
#

Does anyone know how to output the value at a specific position from an array like "aa,bb,cc,dd,ee,ff"? Please help

dusty pike
tawny hamlet
rustic cypress
#

Good morning how are you? I would like help on how to reset these 3 options in the image below 👇 - '&f➽ &fKill: &#11FFFF%statistic_player_kills%'
- '&f➽ &fMortes: &#11FFFF%statistic_deaths%'
- '&f➽ &fKDR: &#11FFFF%javascript_requlogiakd%'

#

@gleaming charm

manic badge
#

did you mean resetting the data? the values returned by them?

manic badge
#

for Statistic placeholders i guess its inside <server directory>/<world folder>/stats/

rustic cypress
manic badge
#

restarted server?

rustic cypress
#

yes

manic badge
#

do you have multiple worlds?

rustic cypress
manic badge
#

no worries :)

marsh moss
#

Hello, what i can do check left_click_requirement, example if %luckperms_suffix% != "", say "Done"

manic badge
#

what are you trying to implement, also consider moving your question to #general-plugins

#

oh nvm, already answered

tranquil lantern
#

how to change the %ping% placeholder update delay?

warm plover
#

But when I use this placeholder in a plugin, it doesn't work, it just says the image (from the chat image plugin) doesn't exist: %utils_parse:4_formatter_text_replace_\n_{ascii_10}_{chatimage_image: {servervariables_globalvalue_donor} 0 0 8 8}%

#

Any idea why it parses fine in game but doesn't parse in the plugin?

manic badge
#

Probably most probably

iron quest
#

how do i make it show placeholders from another server?
i have my servers linked with velocity

manic badge
#

PAPI doesn't allow you to show the output of a placeholder from another server as far as I know

manic badge
#

they use the placeholder provided by their proxy ig

iron quest
manic badge
#

no, i never tried proxy

spring cloud
#

Hi, i'm testing what plugins of my server work on 1.20.5
PlaceholderAPI doesnt work, it gets disbabled
What is the ETA of support for 1.20.5?
console: https://mclo.gs/OpNYwWO#L293

vivid sparrow
#

1.20.5 was just released 🙂 have some patience

graceful forum
trim mist
#

Nah it isn't, but they changed the mapping on a method we used. There's already a PR that I guess fixes it back in February. Going to see if we can get it merged today.

graceful forum
#

fair enough

deep hollow
#

Hey, someone knows a fix or have a version with %static_blocks_mined% fixed? Is always count double when breaking a block, thanks 🙂

vivid sparrow
#

it won't get fixed, you should find another way

deep hollow
#

I'm trying to update in TAB every 50 miliseconds for a prison server, but doing %math_ /2% each time will be have perfomance issues I guess 😢

#

there is a well known alternative to do that or nope? 🤔

warm topaz
#

does it actually have performance issues or are u just guessing it will?

deep hollow
idle girder
#

Based on bungee cord
I'm trying to create a placeholder.

Obtain the API and create a plugin
After applying it to the proxy server, turn on the server.

It says there is no placeholder API plugin.

Is there no way?

#

I've been struggling with this for a week.

I would appreciate it if someone could help.

#

Did you solve it?

broken wren
merry jasper
#

Is there a nice way of making a placeholder behave like this, without using JS? Trying to think about performance.

- Else %prisonranksx_prestige_name% is not 15, return /prestige
- Else if %prisonranksx_rebirth_name% is not 3, return /rebirth
- Else return Done
junior musk
#

you can't return commands

merry jasper
#

Nah i mean as a string

junior musk
#

ah

#

alr

merry jasper
#

im displaying it in a scoreboard as progress

junior musk
#

well it could be possible with ChangeOutput & Utils, but I feel like the performances would be the same than JS with smth like this

merry jasper
#

i had a look at changeoutput but theres only one condition check

junior musk
#

and JS would be much easier and cleaner

merry jasper
#

i agree

#

if that is in a scoreboard for all users, would that cause issues

warm topaz
#

just have a longer update time for that line in the scoreboard

merry jasper
#

I'm using TAB, is that possible?

junior musk
#

yeah

#

you can change the refresh interval for specific placeholders

warm topaz
#

as long as its not being updated like every tick i dont think you would really see an issue with js

junior musk
#

placeholder-refresh-intervals

#

by default it's 1000ms so 1s

merry jasper
junior musk
merry jasper
#

nvm

junior musk
#

which version are you on?

#

ah

merry jasper
#

i searche wrong lol

#

or it was on the wrong file i have them split

junior musk
#

ah it's placeholderapi-refresh-intervals

merry jasper
#

and i can just add my placeholder to that list

junior musk
#

yeah, if you want to change the refresh interval

merry jasper
#

nice one

merry jasper
#

woopsl eft a comment from my last script lol

normal vigil
#

can i get a placeholder for scoreboard which showd date in format like- thu, april 25

merry jasper
normal vigil
merry jasper
#

you didnt supply your simple date foramt

normal vigil
#

thank you for help! ☺️

merry jasper
#

%localtime_time_MMM dd%

this returns Apr 28 for me

normal vigil
#

thanks

merry jasper
#

yours would be:
%localtime_time_EEE, MMM dd%

#

EEE = day of week
MMM = 3 letter month
dd = date

junior musk
#

%server_time_dd/MM/yyyy%

merry jasper
#

for format Sun, Apr 28

junior musk
#

ah

junior musk
#

mb

steep arch
#

%math_[precision]:[rounding]_<expression>% what values can [precision] be, is there a suggested value?

junior musk
#

precision is a number

#

the amount of decimals that will be shown

steep arch
#

oh

#

thought that was the rounding

#

then whats rounding 💀

junior musk
#

does 2.1 gets round up or down to 3 or 2

steep arch
#

2

junior musk
#

no I mean that's what rounding does

#

it decides which action to do

steep arch
#

ah

#

and whats its values?

steep arch
#

oh thank you tanguygab c:

junior musk
#

rip my username

#

once again

#

;-;

merry jasper
#

how is it pronounced

#

is it 2 seprate words

steep arch
#

oh mb

#

forgot the g

junior musk
#

🥲

junior musk
#

it's my name Tanguy & gab

merry jasper
#

where is the <br>

#

ahh ok

#

make the g a capital in ur discord if ppl keep missing it 🤣

steep arch
#

fr

#

😭

junior musk
#

I'll never ever touch my username

#

ever

#

XD

#

I haven't changed my username or skin ever since I made my MC account lol

merry jasper
#

i aint ever touching my mc one i got Aaron hahah

junior musk
#

gg

steep arch
#

i always changed my username 💀

#

well i kept this one for 1/2 years :p

merry jasper
#

Are there any placeholderapi extensions where I can compare strings logically?

E.g. if A > B would be true because B is after A.

#

or if i can convert an a-z letter to its number equivalent, a being 1, z being 26. easily without the worry of JS performance.

idle girder
#

Is there a way to enable placeholders to be used in bungeecode like a tab plugin?

manic badge
#

you can do like plugins such as BTLP or TAB did and make a bridge, an extra plugin for Spigot servers that, forward placeholder data to your Bungee plugin

idle girder
manic badge
#

i dont know how to make plugins.

idle girder
#

but why are you answering?

manic badge
#

you asked a how to question ig

mint fable
#

lol, wrong channel

#

Also, wasn't really phrased as asking "how to implement/create this feauture"

manic badge
#

thanks for understanding 🙏

mint fable
#

language barriers are so tough

#

translations and what not

manic badge
#

true

idle girder
manic badge
normal vigil
#

whats the place holder for playtime wich doesnot shows seconds
i am using %statistic_time_played% this one wich is also showing seconds which i dont want

junior musk
#

%statistic_time_played:days%%statistic_time_played:hours%%statistic_time_played:minutes%

normal vigil
junior musk
#

uh

#

idk

kind tide
#

Hello. I have a problem and maybe someone can give me some advice or solution.

I use protection stones and I use a PAPI that shows a complete list of all protections separated by " ," (https://i.imgur.com/WpDYfsz.png)

I'm looking for a way to get a separate list of each home. I tried to use PAPI https://wiki.placeholderapi.com/users/placeholder-list/#formatter and it worked but another problem arose and that is that sometimes the home pages have a different length (The name is generated based on the coordinates )

I understand that what I'm looking for may be somewhat complicated, sorry :(. Any suggestions? Thank you

iron quest
#

worldguard placeholders dont show (when replying @ me or i wont see it)

#

how do i fix it

jaunty wing
#

Question does placeholderAPI show luckperms ranks or is it vault or essentials

iron quest
jaunty wing
#

how do i hide the role and username when i press F1 because everything disappears but not your rank and username

manic badge
#

prob because you're using unlimited-nametag

#

no nvm, thats a minecraft bug ig

manic badge
jaunty wing
#

huh

civic lintel
#

Hello!!

#

How I make it to use PAPI as a depend for my custom plugin, but I want so if the server doesn't have PAPI it will work okay

#

Because its custom messages, so the user can configure the messages he want and use whatever placeholder he wants from PAPI if it's installrd

#

My first plugin sorry if it's stupid question

oak field
#

The following problem: I have a plugin that runs on Bungeecord and I want to include placeholders there (luckperms) but how do I make it work?

manic badge
#

PAPI doesn't allow you to show the output of a placeholder from another server as far as I know

#

you can do like plugins such as BTLP or TAB did and make a bridge, an extra plugin for Spigot servers that, forward placeholder data to your Bungee plugin

oak field
#

I have already tried to do this on all subservers, it only shows what the placheholder is but not the prefix of the role that the user has

manic badge
delicate tangle
#

cant some1 help me with javascript

manic badge
delicate tangle
#

javascript expansion

manic badge
#

alright go ahead

#

someone will reply to you if they have answers

delicate tangle
#

my javascript isnt working

#

[21:52:24 WARN]: [PAPI] [Javascript-Expansion] Failed to set ScriptEngine for javascript placeholder: tokens

steep arch
#

which is the papi font changer expansion? (do you guys know if it works with internal placeholders?)

gaunt jasper
#

%parseother_{playerlist_online-menu_0}_{alonsoplus_rank_prefix}% %playerlist_online-menu_0%
that gives me a error how can I fix that

iron quest
#

yes

mint fable
#

follow up: what does /papi parse <insert user from previous placeholder here> %alonsoplus_rank_prefix% return?

mint fable
#

that's your issue then

#

presumably it should be saying a username, right?

gaunt jasper
#

/papi parse me %parseother_{playerlist_online-menu_0}_{alonsoplus_rank_prefix}% %playerlist_online-menu_0%
thaths gonna work

#

but thats not
/papi parse me %parseother_{playerlist_online-menu_0}_{%alonsoplus_rank_prefix%}% %playerlist_online-menu_0%

mint fable
#

it should not include the %% around the alonsoplus placeholder

gaunt jasper
#

but that way it doesnotwork too

mint fable
#

if %playerlist_online-menu_0% returns yes, that is where your issue stems from

#

i just said

mint fable
#

it shouldn't say yes

gaunt jasper
#

I want to see [VIP] _raksodnus

#

but I see

mint fable
#

the user's name is not yes

gaunt jasper
#

alonsoplus_rank_prefix _raksodnus

gaunt jasper
#

it returns _raksodnus

mint fable
#

what does /papi parse _raksodnus %alonsoplus_rank_prefix% return?

#

oh wait you need to use unsafe

gaunt jasper
#

it returns &6[VIP]

#

and that is;
/papi parse me %parseother_{playerlist_online-menu_0}_{%alonsoplus_rank_prefix%}%
giving an error

mint fable
gaunt jasper
#

Hmm

#

luckperms don't work too :d

#

OWW

#

I must be a blind :D

#

Thanks for help

mint fable
#

yep, no problem

tender vaporBOT
sharp jay
#

??

tender vaporBOT
delicate tangle
#

how i can make javascript work on the lastest java

neat nova
#

Hello, somebody know if there's a placeholder for check ítem NBTtags?

cold kraken
#

how do i make a timer

tacit rivet
#

okay i have a huge project im doing

#

but i dont know how to make it i was told to use javascript to make said system

tender vaporBOT
mint fable
#

Yes, info linked@neat nova this

neat nova
tender vaporBOT
neat nova
#

Oops :<

orchid token
#

hello i just wanted help on how i can add papi for betterteams

#

can someone help me?

manic badge
#

theres no download command mentioned in the placeholderapi page, could you specify what problems you're facing?

orchid token
#

i dont know how to add the team top leaderboard

#

with ajleaderboard

#

do you think you can help me

manic badge
shell charm
#

qq all. hint what placeholder is responsible for getting what day it is on the server? like time query day

manic badge
#

try %tm_currentday%

strong pollen
#

Hello, I have a question about the Pinger extension. How does the plugin check if a server is active or not? make ping requests to an external server?

verbal spruce
#

I need a help.......

#

I can not make a 'stage' voice chat....on my server

#

@manic badge

#

...

#

Help

#

@gleaming charm

shell charm
manic badge
verbal spruce
#

Stage .,

#

Like the one you have

#

the stage

gleaming charm
#

This is minecraft help not discord

#

And please don’t randomly @ staff

sturdy terrace
#

Hello there i need a bit of help

#

my girlfriend got accound hacked can i get it back ?

#

@gleaming charm

low flax
#

no

mint fable
#

smh

#

tags the staff that just said this is not discord help

#

and to not @ staff

tender vaporBOT
dim nimbus
austere hawk
#

why %checkitem_% doesn't see my slots

#

if i set %checkitem_inhand% - papi will check my hand, but if i set %checkitem_inhand:main% - it will check all my inventory (fixed)

spice reef
#

on one of my servers, i have chat format as follows, within essentials;

&r{deluxetags_tag}&r{DISPLAYNAME}

how would i replicate this in velocity? i've found huskchat to handle cross-server communication, but im unsure if this is the best plugin for what i want

sacred grail
#

good afternoon.
I need help, I hope I didn’t make a mistake with the section.
It's in the tab - '&aStatus:&6 %luckperms_highest_group_by_weight%&2%luckperms_inherited_group_expiry_time_vip%' I can’t find where and how to change the translation so that the month, day, minutes and seconds are displayed in another language

dense tinsel
#

Hi. I need help with using placeholders inside of placeholders. I want a placeholder that outputs the number of players online in the world that the player is in, so I tried %server_online_{player_world}% but it didn't work, the output was 0. Then I tried it with my world name - %server_online_spawn% and this time it output 1, which is the correct number. How do I make it work? Thanks!

junior musk
fierce shoal
#

When i type /papi ecloud download Luckperms it works and tells me to reload, when i do that it kind of ignores the command and does nothing

#

Also both my servers running on the same panel do not show placeholders anymore

zenith bane
#

how can i actually get value of offline player?

#

ohh accourding to Tanguygab not all placeholder support offline player

reef fossil
#

is there any way to change placeholder plugin assignment like i have %vault_eco_balance_formatted% and i have e.g. plugin 1 and plugin 2. plugin 1 uses this placeholder but i want it to be used by plugin 2. is it possible?

junior musk
manic badge
junior musk
#

oh

#

you want the money to be taken from the other plugin?

#

check which economy plugin Vault chose in /vault-info

manic badge
#

i like how people post the same question to different servers for a fast response

reef fossil
junior musk
#

what?

reef fossil
#

i can't send picture to show

tender vaporBOT
reef fossil
junior musk
#

/vault-info

#

and which menu is that?

reef fossil
junior musk
#

send your plugin list

#

also check /rediseconomy:balance

reef fossil
reef fossil
#

okay it was problem with rediseco, anyway thank you for help!

haughty cairn
#

Hello, is there a placeholder that gives you a "true" if you meet either of the two options?

haughty cairn
haughty cairn
#

Oh thanks

manic badge
#

👍

jaunty barn
#

is there a way to display placeholders using /title command?

for example I want to display %player_health% in action bar to nearest player to a command block:
title @p actionbar "%player_health%"

but somehow it doesn't work

junior musk
#

/papi cmdparse title @p actionbar "%player_health%"

jaunty barn
#

"Failed to find player: title"

junior musk
#

ah right

#

uh, try papi cmdparse @p title @p actionbar "%player_health%"
though I don't think that'll work

jaunty barn
#

yay it works ^^

#

thanks

bronze shell
#

hey there, i have a client who got a very weird issue concerning the math expansion, i'm not sure what's going on, it's the first time i see that kind of stuff, ive never received bug report concerning that before
i have a hud with this placeholder : %math_0_{player_health_rounded}+{player_absorption}%, and it's not working for my client because he get the error "'+' is not a valid math expression", implying there's nothing around the + sign
but both %player_health_rounded% and %player_absorption% works on their own for him when they parse them
sooooo i'm confused
my only possible lead is that they're using an offline mode server, could this have any impact?

mint fable
#

if your client types /papi parse <user> %math_0_{player_health_rounded}+{player_absorption}% : %player_health_rounded% : %player_absorption%
What does it return with?

#

@bronze shell

#

I have to leave right now but will be back in a few hours

bronze shell
#

im transfering the info

junior musk
#

are they using it in HappyHUD with the {text=%math_0...%} syntax or smth?

#

could be the {} breaking everything

#

wait actually, that couldn't be the case since the + was detected as part of the math placeholder thonking1

bronze shell
#

yeah it's in happyhud, but it's only doing that to them

#

no other client is having this issue

#

text is written like this in happyhud text: "<#ffea00>%math_0_{player_health_rounded}+{player_absorption}%"

junior musk
#

that seems fine

sand furnace
#

help placeholders api placeholders dont work

#

in chat

#

but if do "/papi parse me %betterteams_name%" it shows the placeholders but in chat dont do it

#

help

wicked crownBOT
sand furnace
#

@glad glen

tender vaporBOT
sand furnace
#

sorry

#

and in dont shows any errors

mint fable
#

What chat plugin are you using @sand furnace

sharp bloom
#

what's gonna happen w the checkitem expansion in 1.20.5+OKK

vivid sparrow
#

If you are talking about the new tags system, we need an api first

sand furnace
#

Fixed

rapid plinth
#

Can it be correct that placeholderapi is not working in 1.20.6?

junior musk
#

it hasn't been updated for 1.20.6 yet

rapid plinth
#

Alright thank you. A few of my plugins depend on it so i was curious. Good luck updating!

manic badge
#

andre_601

calm tundra
#

@sharp bloom Any chance you can help me out?

          type: javascript
          expression: '%statistic_craft_item:coal_block% >= 50'```

For some reason this check does not work it just overlooks it.
frail peak
#

Hello, does placeholderapi not work on 1.20.6?

rapid plinth
#

Crashes before it can start

vivid sparrow
#

send the log

rapid plinth
#

My ba

#

d. It crashed on a papi linked other plugin which isnt updates to 1.20.6 yet (essentialsx)

#

sorry for the mistake

plucky bridge
#

can i add 500 to a placeholder?

muted rain
tender vaporBOT
manic badge
#

too late 🤔

velvet ore
#

Hi. Is it possible to add a placeholder to the item lore? e.g. /itemlore add &a%player_name%

manic badge
#

Is that a command from different plugin 🤔

open coral
open coral
#

well /itemlore is not from itemedit

#

use /ie lore

velvet ore
#

I know but placeholder dont work in lore

open coral
#

use /si

#

while holding the item you want, with all the placeholders set do /si save <id> and then /si give <id> <amount> <player (Same player that will parse all the placeholders)>

velvet ore
#

thanks

velvet ore
open coral
#

placeholders in items in general are not good to be updated

odd ruin
#

heya all, could someone help me with parsing what items are placed in specific slots in the player's currently open chest? making a GUI

manic badge
#

provide more info

odd ruin
# manic badge provide more info

I'm using deluxemenus and was hoping i could parse GUI slots for their contents after allowing players to put items into the menu, but I've switched to commandpanels which seems more geared towards doing this and less towards clickable menus

manic badge
#

👍

restive sun
#

Is there a chance to show the <delay=1000> time given in the DeluxeMenus plugin with a placeholder?

manic badge
#

didnt get it

#

you want to show the delay time to other players when they click or hover through the item?

restive sun
#

I want to give that item to the player 10 minutes after the player makes the purchase, I want the remaining time to be displayed.

manic badge
#

oh

#

let me think 🤔

#

well you cant update the message in chat but you can try adding the timer inside the menu and add actions which would send a timed message.
for example:
"you will recieve the item after 10 mins"
"you will recieve the item after 5 mins:
"you will recieve the item after 1 min"
"item recieved!"

#

looks like a dumb approach tho 🥲

restive sun
#

I will try thank you 😄

manic badge
#

👍

mellow tapir
#

and then im using this player.sendMessage(PlaceholderAPI.setPlaceholders(player, "%a_version%")); to send the message

#

ive registered the placeholder and ofc got papi on the server but when i send the message, i just recieve "%a_version%" instead of the version

junior musk
#

/papi parse me %a_version%

#

and /papi dump

#

and send your placeholder expansion class

mellow tapir
#

import me.clip.placeholderapi.expansion.PlaceholderExpansion;
import me.mintytc.azapi.AzAPI;
import org.bukkit.ChatColor;
import org.bukkit.OfflinePlayer;
import org.bukkit.entity.Player;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public class PluginVersion extends PlaceholderExpansion {

    @Override
    public @NotNull String getIdentifier() {
        return "a_version";
    }

    @Override
    public @NotNull String getAuthor() {
        return String.join(", ", AzAPI.getInstance().getDescription().getAuthors());
    }

    @Override
    public @NotNull String getVersion() {
        return AzAPI.getInstance().getDescription().getVersion();
    }

    @Override
    public boolean persist() {
        return true;
    }

    @Override
    public @Nullable String onPlaceholderRequest(Player player, @NotNull String params) {
        if (params.equals("a_version")) return ChatColor.GRAY + AzAPI.getInstance().getDescription().getVersion();
        return null;
    }

    @Override
    public @Nullable String onRequest(OfflinePlayer player, @NotNull String params) {
        if (params.equals("a_version")) return ChatColor.GRAY + AzAPI.getInstance().getDescription().getVersion();
        return null;
    }
}
mellow tapir
junior musk
#

syntax is %<identifier>_<params>%

mellow tapir
#

ah

junior musk
#

so your identifier should be a, and the params should check for version

mellow tapir
#

so %a_version_a_version% is it

junior musk
#

yeah

#

😅

mellow tapir
#

ok ty

#

xd

nimble snow
#

%math_1+25[prc]% doesn’t work, am I phrasing it wrong?

shell dagger
#

https://paste.helpch.at/iribesoquw.yaml some1 pls explain me why this isnt working? the priority showing its working but the click-requirement isnt working, when i click does nothing (already have 50+ points from playerpoints), and when 0 points does nothing too, doesnt show the message

stoic helm
#

Question:

I have a server network with this configuration:

Proxy (Velocity Newest Version)

Lobby Server (Paper 1.20 Java 17)

2 Backend Servers (1.8.9 running Java 8)

and I'm trying to configure TAB and TAB Bridge with PlaceholderAPI to work on scoreboards but all extensions get an error message when attempting to use any of the expansions

[PlaceholderAPI] Failed to load class files of expansion. java.util.concurrent.CompletionException: java.lang.UnsupportedClassVersionError: at/helpch/placeholderapi/expansion/server/ServerExpansion has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0

I assume this is due to all of the expansions being complied at the lobby server and passed to the backend nodes but I'm not sure how to resolve this

dense tinsel
#

Hi, I'm working on a javascript placeholder, here's the source code:

function fn() {
    var position = 1;
    var totalPlayers = "%server_unique_joins%";

    for (let i = 1; i <= totalPlayers; i++) {
        var name = "%kixschatgames_lb_topname_" + position + "%";
        if (name == "%player_name%") { return i; }
    }
    return -1;
}

fn();

The placeholder %kixschatgames_lb_topname_<position> returns the player's name in the specified position. The code is not working and is throwing error. I'm new to Js and placeholder programming in general. What am I doing wrong here?

blissful crystal
#

i can't enable placeholder api

frosty sleet
#

Is there a papi version which support 1.20.5?

blissful crystal
#

Is there a papi version for 1.20.6 too?

deep hollow
#

Hey, I've a leaderboard that it resets each week "Sunday at 0:00h", there's an expansion to make a countdown to Sunday at 0:00h on every week?

deep hollow
#

nvm just made it with javascript, I don't think there is an expansion for this xd

misty lance
#

hello
i need to make a animated "material"
it is possible?
im asking bcs my placeholder is working correct, but "deluxemenus" is not refreshing corecctly

tepid hamlet
#

Hey, do you know how to "reset" or set any value to a placeholderAPI, like in the Expansion "statistic" to 0

delicate horizon
#

why my tab still %server_tps_1%, i am already download server

austere hawk
delicate horizon
#

but server_tps not working

#

wait try re install config

misty lance
#

@sudden slate hello
i need to make a animated "material"
it is possible?
im asking bcs my placeholder is working correct, but "deluxemenus" is not refreshing corecctly

misty lance
#

hello
i need to make a animated "material"
it is possible?
im asking bcs my placeholder is working correct, but "deluxemenus" is not refreshing corecctly

austere hawk
#

Hello, how can I add luckperm variables to %plotsquared_currentplot_owner% and have it only be directed to the player who owns the plot?

rocky geyser
stark plinth
#

good to know

#

i see there is some dev version, will try it

#

oh that one worked

#

nice

warped dragon
#

hello im new to this plugin, is there a jar for it that works for a 1.20.6 paper/spigot server? wanting to run rdq plugin but it has placeholderAPI as a dependency

warped dragon
#

oo do i need all 3 jars installed in the plugins folder of the server?

#

PlaceholderAPI-2.11.6-DEV-193-javadoc.jar 243.47 KiB
PlaceholderAPI-2.11.6-DEV-193-sources.jar 79.84 KiB
PlaceholderAPI-2.11.6-DEV-193.jar 911.00 KiB

static mauve
#

Hello there, just want to ask if it's possible to allow people to use placeholders in the messages file that my plugin has by just hooking my plugin with the placeholerapi using maven and that's it or what else needs to be done?

tepid hamlet
static mauve
tepid hamlet
#

placerholderapi.parse

#

you set that perm in the group you've create for the members

static mauve
static mauve
charred fog
#

я русский

candid prawn
#

is this plugin working with folia? if not are there alternatives?

jolly field
#

oh wait

#

sorry, its the placeholder api channel

obsidian kraken
#

One message removed from a suspended account.

warm topaz
#

change your discord in your spigot profile, the username doesnt match

obsidian kraken
#

One message removed from a suspended account.

warm topaz
obsidian kraken
#

One message removed from a suspended account.

warm topaz
#

invidia3312

obsidian kraken
karmic cliff
#

What placeholders could I use to get the current date in this format Thu, May 9, 2024

obsidian kraken
#

One message removed from a suspended account.

warm topaz
#

when did you purchase?

obsidian kraken
warm topaz
#

it's possible you could've missed our update window, I will inform glare to update it

obsidian kraken
merry jasper
#

PAPI expansions recommended for making readable biome names?

minecraft:forest should be:
Forest

I need to:

  • Remove all test before :
  • Replace _ with a space
  • Capitalise the first letter of each word.
#

ideally no JS for performance

mint fable
#

nesting of formatter/string placeholders

#

using utils expansion

merry jasper
#

👍

#

i dont see no splice

#

would it be a different one

mint fable
#

substring

merry jasper
#

replace minecraft:

#

replace _

#

and capitalize

mint fable
#

actually might need regex

merry jasper
#

that might make it cleaner

mint fable
#

substring would include the :

#

i meant regex instead of substring

merry jasper
#

couldn't i just nest replaces

mint fable
#

yes

#

that's what I said earlier

#

oh ya sorry, replace minecraft:

merry jasper
#

how do i specify an _ as the target within the formatter_text_replace placeholder without confusing it haha

merry jasper
#

ahh

#

utils thinks {{u}} is a placeholder because of curly brackets haha

mint fable
#

\?

#

hmm

merry jasper
#

%utils_parse_formatter_text_replace_{{u}}_ _minecraft:dark_forest%

it's in utils because im gonna parse more in that, but just removing the underscore currently

output is %u%%_ _minecraft:dark_forest%

mint fable
#

\{\{u\}\}

#

?

merry jasper
#

ahh working

mint fable
#

nice!

merry jasper
#

/papi parse me %utils_parse_formatter_text_capitalize_{formatter_text_replace_minecraft:__{formatter_text_replace_\{\{u\}\}_ _minecraft:dark_forest}}%

is working nicely, it outputs Dark forest

Is there a way to capitalize char 1 of both words instead of first char of first word?

mint fable
#

ah, hmm

#

just curious, where will minecraft:dark_forest be coming from?

merry jasper
#

plotsquared, ill slot its placeholder in

#

but im a tit

#

%player_biome_capitalized%

#

lol

thorn mist
#

whenever i do /papi ecloud download [any extension] it says if cant be found and it doesnt exist

thorn mist
#

ok

thorn mist
#

2.11.5

thorn mist
manic badge
#

?ecloudblock

tender vaporBOT
manic badge
#

try downloading the expansion manually

glad oxide
#

Papi 1.20.6 out yet?

manic badge
#

try with dev build

glad oxide
#

How to get that

glad oxide
#

Ok

thorn mist
manic badge
#

👍

austere hawk
#

Thank you noblur, you have just saved my server from going downhill for 1.20.6 lmao

manic badge
#

no worries :)

austere hawk
#

was looking for that stupid link for ages haha

manic badge
#

you talking about dev build?

austere hawk
#

yeah

#

the dev build LOL

manic badge
austere hawk
#

❤️

#

freaking legend

#

Im faving that

manic badge
#

lol nah, i just indexed it

austere hawk
#

oh fr!?

#

my god Im a dumbass

#

WHY DIDNt I do that!?

manic badge
#

its literally the best thing to do when you need help urgently

austere hawk
#

fr

glacial crystal
#

Anyone know whats the issue with %server_tps% ? seems to be wonky atm, spewing out errors when i try to have it parsed, or get my tab to load it

#

part of the SERVER extention

sharp jay
glacial crystal
tender vaporBOT
tender vaporBOT
dense tinsel
#

But all other Server placeholders seem to be fine

manic badge
karmic cliff
#

What placeholders could I use to get the current date in this format Fri, May 10, 2024?

manic badge
#

try this %localtime_time_EEE, MMM dd%
EEE = day of week
MMM = 3 letter month
dd = date

/papi ecloud download localtime
/papi reload

dense tinsel
vivid sparrow
#

@glacial crystal @mighty viper send the error, I can't tell much from that error because it comes from TAB too

mighty viper
vivid sparrow
#

Just that error

mighty viper
tender vaporBOT
vivid sparrow
#

Thats because errors are not sent as pictures

mighty viper
vivid sparrow
#

The error from console..

mighty viper
mighty viper
vivid sparrow
#

If you get that message in chat, there is an error

#

Restart the server and try to parse the tps placeholder

mighty viper
#

this

tender vaporBOT
vivid sparrow
#

I dont open random links

mighty viper
#

okey

mighty viper
#

Other server placeholders work

#

only tps not

vivid sparrow
#

Do a /papi dump and send the link @mighty viper

tender vaporBOT
vivid sparrow
#

Is this a spigot server? @mighty viper

mighty viper
vivid sparrow
#

Did the expansion work before?

#

@glacial crystal @dense tinsel are your servers modded too?

mighty viper
vivid sparrow
#

Yes

mighty viper
#

no

vivid sparrow
#

Ok, case closed then.

#

We offer no support for modded servers, if any of our plugins happen to work, cool.

mighty viper
vast crystal
#

Could smbdy help me out? whenever i do /papi ecloud download,it doesn't show up any expansions and my expansion folder is empty.

dense tinsel
tender vaporBOT
dense tinsel
#

And I’m running Paper 1.20.4

#

It broke after a recent update

vivid sparrow
#

Restart the server and parse the tps placeholder, then send the error over

#

And also /papi dump

vivid sparrow
#

Download them manually

vast crystal
#

how?

#

i mean like it doesn't show anything it says exapansion folder is empty, for example /papi ecloud download Player

dense tinsel
vivid sparrow
#

You sent the same link twice

#

It is weird how TAB has something to do with the parse command

#

Does the previous version of the server expansion work?

vast crystal
dense tinsel
#

My bad, updated the second link. Yes, one of the previous versions worked.

#

I was using old versions until recently when I noticed TAB is throwing placeholder errors, and I updated the expansions using /papi ecloud update all.

vast crystal
#

Could smbdy help me out? whenever i do /papi ecloud download,it doesn't show up any expansions and my expansion folder is empty.

prisma sonnet
#

Hey!

#

How do relational placeholders work?

vestal shuttle
#

Hello, why is the placeholderapi of my Essentials not working?
I did /papi ecloud download Essentials then /papi reload the placeholderapi %essentials_baltop_rank% does not work

balmy bear
#

Im a little confused about how this placeholder is used %math_[precision]:[rounding]_<expression>% what do i put in precision and rounding?

steep arch
junior musk
#

it's th other way around

#

precision is the amount of deccimals and rounding is the rounding method

#

the link you sent literally says Rounding Mode

balmy bear
#

Ahhh okay thanks 🙂

proper orchid
#

hello, do you know how this variant works? %worldguard_<Any WG Placeholder>:<World>,<X>,<Y>,<Z>%

#

@idle coral

tender vaporBOT
vivid sparrow
#

@proper orchid ??

proper orchid
#

do you know how I can display the x y z coordinates in the scoreboard?

mint fable
#
%player_x%
%player_y%
%player_z%
#

@proper orchid this

proper orchid
#

Oh yeah, it works great thank you

#

on the other hand when I set animated to true, everything returns to the one at the bottom, mine disappears

vivid sparrow
#

@glacial crystal@dense tinsel download the latest version manually, it will take around 2h until it is accessible in-game with the download command

heady lance
#

/papi parse me %server_countdown_dd.MM.yyyy_01.01.2025%

sends me invalid date

#

/papi parse me %server_countdown_dd/MM/yyyy HH_{server_time_dd/MM/yyyy} 12%

return 0 my time is 11 PM

#

i just can do /papi parse me %server_countdown_hh_12%

#

but it says invalid date too

vivid sparrow
#

can you see if you get the same outcome with version 2.6.2 of the expansion?

heady lance
#

its 2.7.1

#

how i install 2.6.2

vivid sparrow
#

/papi ecloud download server 2.6.2

heady lance
#

its says 0

vivid sparrow
#

the placeholder?

heady lance
#

yes

vivid sparrow
heady lance
#

):

vivid sparrow
#

I will look into this @heady lance

#

can you send the error you get from /papi parse me %server_countdown_dd.MM.yyyy_01.01.2025%?

heady lance
#

sure

#

its worked wtf

#

but /papi parse me %server_countdown_HH_12% not working

vivid sparrow
#

upgrade to version 2.7.1 and try again

vivid sparrow
violet cave
#

Is Placeholder-api available for 1.20.6?

vivid sparrow
#

yes

violet cave
#

ty

glacial crystal