#placeholder-api

1 messages Β· Page 172 of 1

turbid tide
#

oh.

#

@neon nymph

#

I found the problem

#

you're using the ecloud expansion

#

I think at least

#

can you do /papi dump and send the link here?

neon nymph
#

Yeah I'm dealing with my own "papi dump" right now but I'll get back to you in a few 😝

tender vaporBOT
#
Hey!

Please respect the rules, be patient and don't ping staff members!

neon nymph
#

And yes it's the one I found on the ecloud website, not from the direct command though

turbid tide
#

and that's for a reason.

#

imagine making a call to the database

#

every time the placeholder is parsed

#

jeeezz

#

like having it in a scoreboard that refreshes every tick with 50 players also in tab as well

#

that's 100 requests per tick.

#

ugh. offline color?

#

what's that

#

like how do you want this to work

#

what's a vault color

#

you really have to explain this to me

#

bcz I've got no idea what you're talking about rn

#

ugh

#

just use javascript to remove the space?

#

I mean you have to show me what the placeholder actually works

#

and what you want

#

well show me the space

#

where does the space show?

#

like show me

#

a screenshot or something

#

ok. that's what I wanted. xD

#
var color = "%vault_prefix_color%";
color.trim();```
#

use this ^

#

fixed oops

turbid tide
#

should fix

#

you don't need an external expansion

neon nymph
#

Oh okay

#

Alright, thank you!

austere hawk
#

im having an issue where the luck perms prefixes are shown twice

#

for example it says [dev] [dev] Mcdonaldsafrica

#

it wasnt like that before and im pretty sure one of the admins in the server im staff on messed around and didnt know what they were doing

sharp jay
#

You asked me before and I told you its possible

wind panther
#

Is there a placeholder to get the amount of players from an Bungeecord (Sub-)server?

turbid tide
#

@wind panther ^^

wind panther
#

ty

turbid tide
# austere hawk .

luckperms config. something like meta-settings or something like that

#

check that out

austere hawk
#

ok thank you

#

meta formatting?

#

meta-formatting: prefix: format: - "highest" duplicates: first-only start-spacer: "" middle-spacer: " " end-spacer: "" suffix: format: - "highest" duplicates: first-only start-spacer: "" middle-spacer: " " end-spacer: ""

turbid tide
#

hmm

#

yeah. that's the one

#

but don't see why it would duplicate

austere hawk
#

so there is nothing i can do?

turbid tide
#

hmm. there must be something you can do.

turbid tide
junior musk
#

if you use EssentialsXChat, you probably have both the displayname and prefix placeholders while having the change-displayname and add-prefix-suffix options set to true

turbid tide
#

@humble radish seems like your server expansion might be corrupted.

humble radish
#

and what should i do?

turbid tide
#

try manually redownloading it

humble radish
#

and how do I do that xD?

austere hawk
tender vaporBOT
# austere hawk luck perms
Hey!

Please respect the rules, be patient and don't ping staff members!

austere hawk
#

my bad

turbid tide
austere hawk
#

i dont know

#

i literally have never used place holder api

turbid tide
#

wait. so it shows in chat?

#

or where does it show double?

austere hawk
#

in the minecraft chat

turbid tide
#

oh. what chat plugin u got?

austere hawk
#

essentials chat

turbid tide
#

oh. well then it might be what tanguy said.

#

can you check essentials's config for the chat format?

austere hawk
#

this? format: '&7{PREFIX}&r {DISPLAYNAME}&r: &f{MESSAGE}'

turbid tide
#

yes.

#

so what tanguy said is probably true then

#

you have 2 options now.

#

either remove the {PREFIX} part since it is not needed, or make it needed from config.yml

austere hawk
#

okay

#

it worked thank you so much

rain echo
#

So I am using sponge forge for a Pixelmon server and I currently have TabManager to add ranks to the scoreboard. They're all set up correctly with the weights on Luckperms but they're not displaying on the Tab menu Via ranking order they're being listed from alphabetical order based on player name. Is there any way of fixing this?

magic rock
#

wrong channel ig

silk canopy
#

MineResetLite placeholders not working

austere hawk
#

hello

#

who can help me with something?

thorn thunder
#

The wizard of oz

austere hawk
#

?

#

can you help me or not

turbid tide
#

share your problems and maybe then we'll try

austere hawk
#

i can't send photo

tender vaporBOT
austere hawk
#

ok so

#

i changed here and i restarted the server but nothing happend

turbid tide
#

ugh. do you know what those values do?

austere hawk
#

i think

#

i saw this on a forum

turbid tide
#

they change the output of placeholders that usually return yes/no or true/false. forgot what the default i

#

is*

#

so now

#

for example: %player_has_permission_PERM.NODE% will return Good or Not good instead of yes or no

austere hawk
#

oh i got it

meager vault
#

Hello,

I try to make a javascript but I always got an error.
The code :

  if (%superior_island_exists% == "No") { return ""; }
  else {
    if (%superior_island_top_level_position% <= 100 && %superior_island_top_level_position% >10) return "#%superior_island_top_level_position%";
    if (%superior_island_top_level_position% == 10) return "βž‰";
    if (%superior_island_top_level_position% == 9) return "➈";
    if (%superior_island_top_level_position% == 8) return "βž‡";
    if (%superior_island_top_level_position% == 7) return "βž†";
    if (%superior_island_top_level_position% == 6) return "βž…";
    if (%superior_island_top_level_position% == 5) return "βž„";
    if (%superior_island_top_level_position% == 4) return "βžƒ";
    if (%superior_island_top_level_position% == 3) return "β‘’";
    if (%superior_island_top_level_position% == 2) return "β‘‘";
    if (%superior_island_top_level_position% == 1) return "β‘ ";
  }  

}
positionTopLevel();```

Error :
>         <eval>:4:9 Expected an operand but found <=
>     if ( <= 100 &&  >10) return "#";
>          ^ in <eval> at line number 4 at column number 9

I tried everything but still errors
turbid tide
#

if ( <= 100 && >10) this is what it sees

meager vault
#

That's why I want to make a condition before, so for example

if (%superior_island_exists% == "No") { return ""; }
else {

#

but I don't know how to make that if %superior_island_exists% == "No", it doesn't check for %superior_island_top_level_position%

turbid tide
meager vault
#

It returns "No" if you don't get one, and "Yes" if you get one (without any color code etc.)

turbid tide
meager vault
#

It works perfectly ! thanks a lot πŸ˜„

bronze pike
#

Is there a way to nest placeholders? E.g. %placeholder1_{placeholder2_{placeholder3}}%

#

I know you can do it for placeholder 1 and 2, but I'm not sure about beyond that

sly spear
#

guys someone advised me to use PlayerTime for the playtime of the player.... but my console gets flooded with the same warning everytime .... is there a alternative for this one?
https://paste.helpch.at/wipuqujiwa.sql

mortal wind
#

Any reason why the Player expansion %player_current_exp% placeholder doesn't update when a player's exp is modified directly from a plugin (other than essentials?) most of the time it does not update the placeholder https://i.riftmc.co/bfeZ42lmR1.png I just tried updating it (2.0.2) but the issue still persists

verbal lintel
#

whats the command for showing players online

austere hawk
#

Can I somehow shorten a placeholder? Or add an alias to one?

austere hawk
torn forge
#

So I'm using CMI chat, didn't update anything other than my paper version (build 253) 1.17.1.
When I logged in after restart I noticed something odd.

#

I get %%luckperms_prefix%% in chat. I tried reinstalling the luckperms expansion and reloading papi, but no change. I checked the CMI config, but it shows %luckperms_prefix%

#

No errors or warnings (other than depend/softdepend warnings) in console.

torn forge
#

I think I found the issue.

visual smelt
#

in my on enabled class i have this: new CodesPlaceholder(this).register();

#

but its giving me a error on "this"

#

but thats what it sats to do on the wiki

#

and if i remove "this" then it Doesn’t work

turbid tide
visual smelt
tender vaporBOT
#
πŸ“‹ Paste Converted!
https://paste.helpch.at/kojejiqode

A member of staff has requested I move your pastebin.com paste to our paste.helpch.at!

turbid tide
#

you have no public constructor

visual smelt
#

i need one?

turbid tide
#

well if you want to create an object with the new keyword then yes. you need a public constructor

#

I believe at least.

visual smelt
#

ahh ok thx

austere hawk
turbid tide
#

javascript? itdk

queen garden
#

Evening, I was wondering if anyone knew how to set a countdown to a certain date or from a certain amount of time with Placeholders in DeluxeMenu server selector. I can't seem to get it to work.

junior musk
silk canopy
#

MineResetLite placeholders is not Working

austere hawk
#

Loaded class net.milkbowl.vault.economy.Economy from Vault v1.7.3-b131 which is not a depend, softdepend or loadbefore of this plugin.

#

why am i getting that warn?

silver minnow
#

it's just a warning, since you can configure spigot (from the plugin's code) to either:

  • require Vault
  • make Vault load before your plugin
  • make Vault load after your plugin
#

so it's just saying, "Hey, the author of PAPI didn't mention Vault anywhere! Maybe they forgot? Here's a warning"

odd valve
#

Hi is there a problem with the Statz Expansion in ecloud?

turbid tide
#

why?

odd valve
#

i tried downloading it and it says
Failed to load expansion class StatzExpansion - One of its properties is null which is not allowed!

turbid tide
#

oh. might be a corrupted download

odd valve
round wing
#

I have an error that says that the expansion version is null with vault and server ecloud expansions, what can I do

#

?

austere hawk
#

doesnt crash the server but its so annoying seeing a big warning like that

queen garden
#

I was wondering if anyone knew how to set a countdown to a certain date or from a certain amount of time with Placeholders in DeluxeMenu server selector. I can't seem to get it to work.

turbid tide
queen garden
#

%server_countdown_<08.11.2021>% I used it like this, maybe I am completely doing it wrong. I would like it to countdown every 2 months so from now until the 1st of November and then from the 1st of November until the 1st of January

#

doesn't show the underscore here

turbid tide
#

well. you can make it count until november 1st. you can't really give it 2 dates to count to

queen garden
#

Oh yeah i understand but then I just adjust it to the 1st of January

turbid tide
#

%server_countdown_dd.MM.yyyy_01.10.2021%

#

so this would count until November 1st

queen garden
#

ah I see so the dd.mm.yyyy stays there

silk canopy
#

@turbid tide MineResetLite placeholders is not working

queen garden
#

That is the actual countdown I see now

turbid tide
turbid tide
silk canopy
#

okey

queen garden
#

Hmm does not seem to be working

turbid tide
queen garden
#

Yep

silk canopy
turbid tide
# queen garden Yep

can you test it with /papi parse me %placeholder%? change placeholder to whatever you use

queen garden
#

I am using deluxehub and it's for the server selector, maybe that doesn't link to it?

turbid tide
#

idk @silk canopy from that screenshot it looks to me like the expansion registered just fine

queen garden
#

Yeah in the chat it works

#

but in the server selector it doesn't

turbid tide
#

then wherever you use it, doesn't support PAPI probably

queen garden
#

Unlucky, suppose I could talk to the dev and get it sorted.

turbid tide
queen garden
#

Deluxehub 3

turbid tide
#

I thought it did support PAPI. strange

queen garden
#

That's that I thought too

turbid tide
#

@silk canopy have you tried the placeholder with /papi parse?

silk canopy
turbid tide
#

/papi parse me %placholder% and you replace placeholder with the one you sent a screenshot of

silk canopy
#

Im Send dm

turbid tide
#

change it with lapis or whatever

#

and execute it

silk canopy
#

Not Working

turbid tide
turbid tide
#

ugh. are you sure? this plugin hasn't been updated in 4 years my friend. I Don't see any placeholderapi support there

#

where did you even get the expansion from?

silk canopy
#

ecloud

#

papi ecloud download MineResetLite

turbid tide
silk canopy
#

Oh come on, I got confused because they have the same name :(

austere hawk
#

" If this problem hasn't already been reported, please open a ticket"

junior musk
#

that's ProtocolLib? not PlaceholderAPI?

magic rock
hazy flax
#

Hello,

I have a problem with Statistic Expansion on version 1.12.2 with a Magma Hybrid Server (Bukkit/Forge). It does not load the extension.

PlaceholderAPI:
PlaceholderAPI-2.10.10
Statistic [2.0.1]

Server Type:
Magma Hybrid Server 1.12.2 (Bukkit/Forge)

Server Version:
Magma Version 761933c-STABLE
API Version Spigot 1.12.2-R0.1-SNAPSHOT

Error:
https://pastebin.com/ad1TdKZc

queen garden
#

Welp fixed it blitz. Turns out it cannot be in a lore with something else in it. It has to have its own separate lore, can't add colour to it either.

mellow urchin
#

Is there a debug command for PAPI?

#

Do I need to update something like the extensions?

safe oriole
#

Help guys how can I reset all placeholders values or data

mellow urchin
#

omg.. The extension was downloaded as Extension-server and Extension-Server

#

I had to delete them both and redownload to work.

#

Is this filename change intentional?

austere hawk
#

i have a problem /papi reload doesen't work

snow tinsel
#

how to fix this

silver minnow
snow tinsel
silver minnow
#

ur not coding this

#

right?

snow tinsel
#

nope

silver minnow
#

oops

#

ignore what i said above then πŸ₯²

#

hmm

snow tinsel
#

tbh idk

silver minnow
#

when does this happen?

#

when you send a chat message?

snow tinsel
#

nope

silver minnow
#

does it just spam when u join?

snow tinsel
#

nope

silver minnow
#

whens it show the error?

snow tinsel
#

look at this

silver minnow
#

so it happens when you join?

#

since that's the support server for InteractiveChat

#

(which is what's causing this error)

snow tinsel
#

wait so it comes from interativechat plugin?

silver minnow
#

yes

snow tinsel
#

well in their config they got

UseAccurateSenderParser: true

Whether to parse PlaceholderAPI placeholders on the main thread

ParsePAPIOnMainThread: false

silver minnow
#

ah

#

try putting that as true

snow tinsel
#

done now we wait I guess

#

I will let you know if it happens

silver minnow
#

ok

silver minnow
#

it depends on the expansion

#

for example %player_name% you can't reset a player's name

snow tinsel
silver minnow
#

nice πŸ‘

safe oriole
# silver minnow wdym by that?

I want to reset all values for exemple jobs points placeholder when I set it to 0 the placeholder still show the old value

silver minnow
safe oriole
odd valve
#

Hi I’m still having trouble with the Statz Ecloud file, it seems to be not working

austere hawk
#

Having a weird issue here. I made a command using the commands.yml file with a few placeholders in it

#
  - papi parse $$1 %changeoutput_equals_{commandpanels_data-aggroup$$2leader}_Offline_cpdata set $$1 aggroupnum empty {commandpanels_data-aggroup$$2leader}_no%
#

So this is kind of what it is right? It's supposed to be a cmdparse, but I'm parsing it to debug

#

Now this section:

cpdata set $$1 aggroupnum empty {commandpanels_data-aggroup$$2leader}

#

Outputs to this:

cpdata set Maroon28 aggroupnum empty {commandpanel

#

Why's the rest of it cut off? Any ideas? Am I missing anything?

sonic trellis
#

Do we still set the scriptengine to Nashorn? Or is there a different one we need to use?

finite plank
#

Is there a way to add a placeholder that shows custom biomes from a datapack?
The biomes from datapack are showing as "custom" but on F3 debug they have original name.

modern lynx
#

How can I list players in a world with test.test permission with PlayerList? I believe I can only do it for world or permission, not both?

junior musk
junior musk
modern lynx
#

then

#

does PlayerList only support PlaceholderAPI placeholders? a plugin have placeholders inside of that plugin and they are not for PAPI, but they are working with %. I tried a world placeholder with [] but it didn't work

#

is it because it is not a PAPI placeholder?

junior musk
#

otherwise it's probably on the Js-Expansion's wiki

modern lynx
#

I mean I want the world subtype

#

the placeholder is %world_from% and I'm trying to get how many players there are in the world we came from

#

but it says 0 even there is my alt

junior musk
#

I don't get it

#

(sorry I didn't reply, I was in a bus πŸ˜…)

#

%playerlist_online,placeholder,yes,amount,world_from||{world_from}%

#

this will check for all players that have the same placeholder output

#

so if %world_from% returns world1 for you, it will check for every other player if that same placeholder also returns world1

#

you can also change it to something like world_from||world1 so it will check for every player if %world_from% returns world1 specifically

modern lynx
#

yes, it should work but it doesn't work and I don't know why. I don't know if it is caused by PAPI or my plugin, probably mine

junior musk
#

/papi parse me %world_from%

#

what does it return

modern lynx
#

it is not a PAPI placeholder

junior musk
#

then obviously it won't work

modern lynx
#

yes

#

is that problem of that plugin or PAPI?

junior musk
#

...

#

it's not a problem

modern lynx
#

it is

junior musk
#

it's just that it's not a placeholder

modern lynx
#

so it is a problem

junior musk
#

well if it doesn't exist then yeah if you want

#

but you would have to create it

modern lynx
#

then I'll have to contact to dev

junior musk
#

which dev?

modern lynx
#

that plugin's dev

junior musk
#

what plugin

modern lynx
#

conditionalevents

junior musk
#

what does it have to do here?

modern lynx
#

what do you mean?

junior musk
#

what does ConditionalEvents have to do with the playerlist placeholder?

modern lynx
#

I want to unload Multiverse worlds when there is no player

#

I'm using PlayerList to get how many players in that world together with %world_from%

#

when a player changes world, it triggers the event

junior musk
#

oh

modern lynx
#

but it always equals 0

junior musk
#

try to use %playerlist_online,world,yes,amount,%world_from%%

#

see if that works

modern lynx
#

I did and it make it %playerlist_online_world,yes,amount,world%, I mean PlayerList placeholder didn't work

junior musk
#

okay

#

then yeah you're right, I guess you have to go ask the author of ConditionnalEvents

modern lynx
#

yep

#

thanks

warm crypt
#

question is there a placeholder that measures the amount fo items you might have because i need it to say you have () many diamond blocks or diamonds

warm crypt
#

thanks

sterile crown
#

Hey guys, how can i use PlaceholderAPI with bungeecord? Because i tried adding it to my server but it ran into this error

java.lang.NoClassDefFoundError: org/bukkit/plugin/java/JavaPlugin
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    at net.md_5.bungee.api.plugin.PluginClassloader.findClass(PluginClassloader.java:146)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
    at net.md_5.bungee.api.plugin.PluginClassloader.loadClass0(PluginClassloader.java:66)
    at net.md_5.bungee.api.plugin.PluginClassloader.loadClass(PluginClassloader.java:59)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
    at net.md_5.bungee.api.plugin.PluginManager.enablePlugin(PluginManager.java:340)
    at net.md_5.bungee.api.plugin.PluginManager.loadPlugins(PluginManager.java:250)
    at net.md_5.bungee.BungeeCord.start(BungeeCord.java:273)
    at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:67)
    at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
Caused by: java.lang.ClassNotFoundException: org.bukkit.plugin.java.JavaPlugin
    at net.md_5.bungee.api.plugin.PluginClassloader.loadClass0(PluginClassloader.java:97)
    at net.md_5.bungee.api.plugin.PluginClassloader.loadClass(PluginClassloader.java:59)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
    ... 13 more```
sterile crown
#

I can't?

#

Is there anything i could use instead? I'm trying to use VentureChat and it doesn't seem to be working properly

turbid tide
#

ugh. idk. there's still some time until bungee support will be added. and doesn't venture work on the spigot side as well?

sterile crown
#

I'm not sure, because it seems to be fine (there aren't any errors) but when you send a message it sends [Global] {vault_prefix}{player_displayname}: message

#

and i cannot figure out what is causing it to be like that

turbid tide
#

well. ugh. the fact that you don't have PAPI. clearly.

sterile crown
#

oh, would that fix it?

turbid tide
#

Simply drag the VentureChat.jar into your plugins folder.
To use the cross server messaging, simply drag the VentureChat.jar into the BungeeCord plugins folder as well.
After installing the .jar files, restart the server(s)/proxy.

turbid tide
#

if you have it on both spigot and bungee, then make sure you have PlaceholderAPI on spigot

sterile crown
#

hmm, i'll check my servers to make sure

turbid tide
#

then install the vault and player expansions:
/papi ecloud download vault
/papi ecloud download player
/papi reload

sterile crown
#

alright, i'll give it a try, thanks

#

do i use those commands in all the servers?

turbid tide
#

yeah. on the spigot ones only tho

#

where you have placeholderapi installed

sterile crown
#

ahhhh alright, thanks

#

Thank you so much! It worked πŸ™‚

rugged fossil
#

generally how do i use these variables in placeholders?

turbid tide
#

more updated

rugged fossil
#

works even for multiple worlds?

turbid tide
#

yes.

#

do you want the number of players? or a list?

#

I can give you an example

rugged fossil
#

number for each world

#

which for me are 4

rugged fossil
turbid tide
#

%playerlist_online_world_yes_amount_world_nether% will return the number of players in the world called world_nether

%playerlist_online_world_yes_amount_world_nether+world_the_end% will return the number of players in world_nether + world_the_end

rugged fossil
#

dayum this complex

turbid tide
#

it has a lot of features

#

like list of players, the x player from the list, amount, list of offline players, online, with permission, without permission, nearby, whitelisted etc.

#

a lot

rugged fossil
#

damn

#

i pasted this %playerlist_online_world_yes_amount_world_nether% but didn't work. looking on docs maybe i can figure it out

#

thanks for the help tho

turbid tide
rugged fossil
#

did

#

just that after online _ should be , like this %playerlist_online,world,yes,amount,first_spawn%

#

πŸ˜„

turbid tide
#

oh. you're right.

#

my bad

rugged fossil
#

Thanks a lot again. This looks with a lot of potential

south ember
#

Hi. If I found a small bug in one of the official PAPI expansion from clip, how can I report it?

silver minnow
south ember
#

"java.lang.ClassNotFoundException: net.minecraft.server.v1_17_R1.EntityPlayer"

silver minnow
#

which expansion?

south ember
#

"Pinger"

silver minnow
#

yep that's a bug, due to 1.17 changes in the internal code :/

#

(before it was net.minecraft.server.VERSION.Something but now it's net.minecraft.server.Something, so the error just means that it cannot find net.minecraft.server.VERSION.Something)

silver minnow
#

oh

#

πŸ‘€

#

yep might want to report it there

south ember
#

ok, thanks

true latch
#

Hello all, I need some help

#

I'm getting an error when I try and download from ecloud I have already re-installed the .jar file and have installed the dev version, the server version is 1.16.5

#

The error says

#

Failed to find an expansion named:

#

Please help

slow crystal
#

WHOM PINGED ME

forest tendon
#

Check deleted messages

dire raven
junior musk
#

make sure you added PlaceholderAPI as softdependency in your plugin.yml

junior musk
#

is PAPI loading before or after your plugin?

dire raven
#

PAPI, some other plugin and then my plugin

junior musk
#

also your PlaceholderExpansion class is missing some methods to override

turbid tide
#

can you show the full StreamingDropsPlaceholderAPI class and also the full error

dire raven
silver minnow
#

iirc

dire raven
turbid tide
#

No. that is only needed if its an external placeholder class

junior musk
#

I've got a papi class and it works without canRegister

silver minnow
#

oh

#

alr

turbid tide
#

and requires a plugin

#

@dire raven try only overriding one class onRequest or onPlaceholderRequest instead of both

silver minnow
#

if you override onRequest

#

it won't call onPlaceholderRequest

#

unless you call onPlaceholderRequest in onRequest

dire raven
#

@turbid tide & @silver minnow I found my problem / error. I did something wrong with the lib....

Thanks for your help πŸ™‚

desert spoke
#

Hello! want to ask something about placeholder.

The worldborder is giving me decimal values, any way to use absolute number?

im using: - '%worldborder_size%'

And I get like 2550.123123123

Because I shrink the border with decimal values
So.. any way to display it without decimals?

turbid tide
desert spoke
#

do you know other way?

turbid tide
#

did you download the math expansion?

desert spoke
#

oh, no

#

I need the command so

#

I download it

turbid tide
#

/papi ecloud download math
/papi reload

desert spoke
#

yeah

#

it works, thanks you πŸ™‚ @turbid tide

#

Btw: do you know why /papi reload disables the custom placeholders of my plugin?

#

the others works

#

I had to restart server

turbid tide
desert spoke
#

Oh

elder stump
#

Hey, is there a way to get the nbt of the held item?

turbid tide
lime slate
#

to reset the data from the statistic expansion I should just erase the stats folder from the world folder right?

turbid tide
#

Yeah

lime slate
#

okay, thanks 🧑

left matrix
#

hello, how do i create a custom level placeholder?

i wanna create a custom menu using deluxemenus where player can rankup using Money/Vault. but do you guys have an idea how do i create a custom placeholder to able to get something like "Level 1" or "1" when they rankup. maybe something like %customplaceholder_level%... i am thinking that placeholder could identify if the place is on next placeholder using permission maybe? please give me tip what is best way to make this happen

left matrix
#

please ping me

#

really need this πŸ˜„

shut shale
#

Hello!

magic rock
#

Hello, cool but wrong channel ig

shut shale
#

a

shut shale
magic rock
shut shale
#

%player_nameplayer%

#

?

magic rock
shut shale
#

ok

#

OtherPlayer?

magic rock
shut shale
#

yes

#

%vault_prefix_player% %player_is_name%

#

?

#

not %player_name%

magic rock
#

what /papi parse me %player_displayname% gives you?
I think you can do %vault_prefix% %player_name%

shut shale
#

not players %player_name%

#

" [MOD] Magicboys"

magic rock
#

I see, but it depends how you setuped ranks and prefixes

shut shale
#

%vault_prefix% %player_name%
add %vault_prefix_is_player% %player_is_name%?

magic rock
#

like if you create prefix &2[MOD]
%vault_prefix% %player_name% will you give same thing like on screen (and %player_displayname% too)

shut shale
#

and console player

magic rock
#

confusion

shut shale
#

?

magic rock
#

i dont understand bro

#

do you wanna prefix, or name, or both

shut shale
#

yes "[MOD] Console"

magic rock
#

mhm

#

"[MOD] Console"
when? when it gives you console or you or everytime

shut shale
#

console

magic rock
#

umm and it says your name when it gives console?

shut shale
#

yes

magic rock
#

ooooh okay

shut shale
#

%%?

magic rock
#

idk how to get name of thing who gifted it

smoky aspen
#

how can i change the /tpr command from essentialsx into /rtp ?

austere hawk
#

I need help with the plotsquared variables I want to show the range and color of the name of the owner of the plot I am in https://ibb.co/MR84chv

#

with the variable %plotsquared_currentplot_owner% it only shows the name without range or color

arctic narwhal
stray nest
#

Question: If I want to set up a menu looking up someone elses rank. How do I use placeholders to do that?

#

For instant I wish to look up bobs ranks he has. I could do /info <bob> // Would open a gui that would display bobs ranks.

rare wave
#

Placeholder PAPI question.

Could someone explain this placeholder please?
%statistic_item_enchanted%

So if I want to count how many times a player enchanted any item with efficiency 5, how do I write it?
%statistic_item_enchanted:efficiency_5%

???

junior musk
#

/papi ecloud download PlayerList
/papi ecloud download ParseOther
/papi ecloud download LuckPerms
/papi reload
%parseother_{playerlist_....}_{luckperms_prefix}%%playerlist_....%

austere hawk
#

Just make an alias to the tpr command

#

having a issue

junior musk
#

?player

tender vaporBOT
#
FAQ Answer:

Player placeholder not working? If you are using a plugin which supports PlaceholderAPI, and the %player% placeholder doesn't work, then change it to %player_name% and download the player expansion.
Commands:
/papi ecloud download player
/papi reload

junior musk
#

-papi vault

austere hawk
#

Ty!

junior musk
#

try to put everything after the - inside quotes

#
  - "papi parse $$1 %changeoutput_equals_{commandpanels_data-aggroup$$2leader}_Offline_cpdata set $$1 aggroupnum empty {commandpanels_data-aggroup$$2leader}_no%"
#

not sure if it'll fix anything but maybe

austere hawk
#

Oh yeah, it could be new lines or something

austere hawk
#

So deluxe chat isnt priotizing in chat and keeps showing this

#

figured it out xD

turbid tide
#

no. you would need a plugin for that. like a custom one

magic rock
#

hello guys, how to fix that statistic time played placeholder is returning over 24 hours?

vivid sparrow
#

I'm pretty sure that was fixed

dusk delta
#

can make a top 10 player kill enderdragon ?

warm plover
#

Has support for placeholder use in the enchant level in CheckItem been added yet? If not will it be?

smoky aspen
#

how can i make in luckperms so that ranks that have /fly enabled is automatically disabled upon getting hurt or being in combat?

warm plover
#

Probably a plugin like CombatLogX I'm not sure

smoky aspen
#

oh

#

and also, how can i make /rtp or /tpr be used once 30 minutes?

warm plover
#

in essentials right?

smoky aspen
#

yeah

warm plover
#

Essentials > config.yml press CTRL+F and search for command-cooldowns:

smoky aspen
#

still cannot find it

#

or do i need to manually type a command?

#

@warm plover

warm plover
#

Its in the config file for essentials

#

about line 593

smoky aspen
#

whats it named? 😦 :))

#

# The delay, in seconds, required between /home, /tp, etc. teleport-cooldown: 0

#

is this the one?

storm phoenix
#

Hi, papi vault placeholder not loading for me for 1.12.2 spigot for some reason. not personally using it but client wants it to be working. any idea why? I tried with many legacy versions for Vault and PAPI vault expansions
and also with legacy PAPI versions.
Vault 1.7.3 / Vault 1.6.6 / Vault 1.6.7

PAPI vault expansion ( https://api.extendedclip.com/expansions/vault/versions/ ) 1.4.0 ~ 1.7.0 all tried , and of course /papi ecloud download Vault which seems to be 1.7.0

Spigot 1.12.2 built with buildtool , so should be latest .

not even seem to "loading" from papi however - no error or anything.
Manually trying to register via /papi register ..jar fails as well.

warm plover
smoky aspen
warm plover
#

should have an example there

#

not really sure

smoky aspen
#

it says:

#
# For example, to target commands starting with ban and not banip the following would be used:
#  '^ban([^ip])( .*)?': 60 # 60 seconds /ban cooldown.
# Note: If you have a command that starts with ^, then you can escape it using backslash (\). e.g. \^command: 123
command-cooldowns:
#  feed: 100 # 100 second cooldown on /feed command
#  '*': 5 # 5 Second cooldown on all commands```
warm plover
#

yeah you can put your commands below

smoky aspen
#

well thats what i'm asking

#

what should i write?

austere hawk
#

rtp: 1800

#

@smoky aspen

smoky aspen
# austere hawk rtp: 1800
# For example, to target commands starting with ban and not banip the following would be used:
#  '^ban([^ip])( .*)?': 60 # 60 seconds /ban cooldown.
# Note: If you have a command that starts with ^, then you can escape it using backslash (\). e.g. \^command: 123
command-cooldowns:
#  feed: 100 # 100 second cooldown on /feed command
#  '*': 5 # 5 Second cooldown on all commands
rtp: 1800```
#

still not working :/

austere hawk
#

it's not indented correctly

smoky aspen
#

like how it should be written there

untold wyvern
#

Nadien habla espaΓ±ol .-.?

austere hawk
#

I need help with the plotsquared variables I want to show the range and color of the name of the owner of the plot I am in https://ibb.co/MR84chv
with the variable
%plotsquared_currentplot_owner%
it only shows the name without range or color
I would also like it to be applied in the ranges of other users https://ibb.co/J5WmQTB

stone edge
ivory brook
smoky aspen
#

need a block particle plugin that lets u run a command and get the block in hand. anyone know of such thing?

latent cargo
#

any staff i can message? (to make a use rreport)

turbid tide
latent cargo
rare wave
#

Placeholder PAPI question.

Could someone explain this placeholder please?
%statistic_item_enchanted%

So if I want to count how many times a player enchanted any item with efficiency 5, how do I write it?
%statistic_item_enchanted:efficiency_5%

???

turbid tide
rare wave
turbid tide
#

enchanted items

#

like in total

#

the statistics expansion only takes info from spigot/minecraft

#

whatever they keep track of

rare wave
#

ohh

hasty escarp
#

Anyone here knows the Date placeholder? It basically makes it show what day, month, and year

#

nvm found it, its %server_time_MM/dd/yyyy HH:mm%

dusk delta
#

Hav a placeholder that show top player kill enetity?

shrewd stream
#

hopefully when registering accounts are able to be fixed I can upload it to the ecloud

#

speaking of witch @mint fable any idea when that will be fixed?

tender vaporBOT
tender vaporBOT
mint fable
#

You can message @balmy marten to make an account @shrewd stream

dusk delta
shrewd stream
#

thank you!

#

Could I please create an account for the ecloud so I can upload my placeholder expansion?

tender vaporBOT
mint fable
#

I already pinged him

shrewd stream
#

oh my bad sorry

#

oh duh

eager swallow
#

Hi

#

i'm using redisbungee and i have some problems with placeholders

#

the placeholders are not working for some server

#

first i used the redisbungee placeholder for Survival Redstone server

#

and it shows 0

#

then i tried bungee placeholder and it worked, it showed the correct amount of players

#

also i have 3 lobbies, same configurations

#

and sometimes the redisbungee placeholders doesn't work for every server

#

also almost everytime i get an error for javascripts (i'm using javascript to calculate players on gamemods or minigames)

#

everytime it shows an error for a different javascript

#

i double checked the name of the servers and also i copied from bungee config so it can't be wrong

balmy marten
shrewd stream
#

Cool

indigo grail
#

hi, exist a placeholder to know how many absorption have the player?

#

i mean, the golden hearts

tender vaporBOT
half galleon
#

How could I use JS Papi to compare placeholders?

junior musk
#

if ("%placeholder%" =="output")?

half galleon
#

Such as %var_1% return a,%var_2% return b,%var_3% return c,and a JS placeholder result the amount of these placeholders whose value is bigger than X

junior musk
half galleon
#

Thanks,but is there Chinese version?

junior musk
#

of the wiki? I don't think so

half galleon
#

Oh I will try to understand though.

split swift
junior musk
#

your Server expansion is outdated, those commands will redownload and update it

half galleon
#

Hm, is there any way to get the vault of a placeholder in JS?

junior musk
#

use the placeholders in the script

#

%placeholder%

#

%vault_eco_balance% for example

half galleon
junior musk
#

yes

half galleon
#

Oh that would be good.

junior musk
#

the Javascript expansion parses placeholders automatically

split swift
indigo grail
junior musk
#

(it's script)
and I don't think you can do it with commands, only placeholders

#

or otherwise use the /papi parse me
command followed by a js placeholder which uses the data script

indigo grail
#

hmmmmmm ok, let me try

indigo grail
#

exist a placeholder to know how many absorption have the player? the golden hearts

signal knot
#

Hello, I am coming to you to find a solution. I do not understand this is the line of error if someone could enlighten me and help me solve it would be very appreciated thank you to you

https://pastebin.com/QipeeDQT

turbid tide
#

/papi ecloud download server
/papi reload

signal knot
turbid tide
signal knot
turbid tide
signal knot
austere hawk
#

Hi! Sorry to bother, I have a problem with placeholders with hex colors
When i use a placeholder that have hex colors, for example, %vault_prefix%, the placeholder gives the entire color code, instead of the colored text
Placeholderapi extensions in my server:
Animations, Essentials, Formatter, LocalTime, LuckPerms, Parkour, Player, Server, Vault
Plugins and Examples:
https://imgur.com/a/BppKZhl

tardy kite
#

It’s due to the fact the colour formatting is done on the side of the plugin

#

So if you put that in a plugin which formats hex chat colours it should In theory work

sonic trellis
trim mist
#

Update your server expansion.

sonic trellis
#

Do you mean /papi ecloud update all?

#

Or delete them all and redownload?

trim mist
#

No, just the server expansion.

tight veldt
#

Why that error?

vivid sparrow
tight veldt
#

Ok

sinful anvil
vivid sparrow
sinful anvil
#

nvm

#

I don't have discordsrv expansion

restive bramble
#

I want to know how to use Formatter Placeholders.

#

Who can help me out?

restive bramble
#

%luckperms_group_expiry_time_default% I want to change the time unit of this placeholder to Korean, not English. Is there any way?

modern lynx
#

Is there a way to use placeholders inside of WorldGuard placeholders? I want to use a world placeholder

#

yes? but I want to use world placeholder instead of world name

#

actually I find what I want: %worldguard_region_has_flag_deny-message:2,62,30%

#

but it shows empty message for some reason

#

not an error I believe

lofty trellis
#

Hello how can i register my plugin to PlaceholderAPI??

austere hawk
austere hawk
#

@balmy marten ^

tender vaporBOT
austere hawk
#

I know I know

#

Just wait for funnycube to register you on the ecloud

modern lynx
#

%worldguard_region_has_flag_deny-message:2,62,30% I'm using this and it shows empty message, what would be the reason?

tender vaporBOT
charred mason
#

sender is btw the Player.

visual turtle
#

hello

#

i have an issue with placeolderapi plugin

#

when i download an expansion

#

and i reload the plugin

#

an error ocurres

sharp jay
#

show the error

#

and what expansion?

visual turtle
#

[21:08:28] [Server thread/ERROR] [me.clip.placeholderapi.PlaceholderAPIPlugin]: [PlaceholderAPI] Failed to load expansion class EssentialsExpansion - One of its properties is null which is not allowed!
[21:08:28] [Server thread/ERROR] [me.clip.placeholderapi.PlaceholderAPIPlugin]: [PlaceholderAPI]
java.lang.NullPointerException: The expansion version is null!

tender vaporBOT
#
πŸ“‹ Your paste: 7X Morenozzzツ
https://paste.helpch.at/amogilozij

A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.

#
πŸ“‹ Your paste: 7X Morenozzzツ
https://paste.helpch.at/oxinanugup

A member of staff has requested I move your message to a paste,
Most likely because it contains a config/error/code snippet.

warm topaz
#

make sure ur using the latest version of essentialsx

visual turtle
#

yes

#

but no only occures with essentials

#

with server expansion too

#

the same error

#

i have a magma server

#

@warm topaz

modern lynx
#

%worldguard_region_has_flag_deny-message:2,62,30% I'm using this and it shows empty message, what would be the reason?

austere hawk
#

How can I unregister a placeholder?

balmy marten
lofty trellis
tender vaporBOT
restive bramble
#

Waht??

#

Is there a link?

restive bramble
#

/papi ecloud javascript ??

#

Yes, that's it. What should we do now?

analog pilot
#

Hello, I have a question, how can I set that you can see the ranks in the tab and then make the link to the domain away

#

And how can I adjust that I can be at the top as the owner

#

i have TAB,Vault,PlaceholderPlugin,Powerranks Plugins on my Server If I can't do ranks in the tab, is there a plugin that works? I have 1.17 spigot

magic rock
#

you can setup it manually or with vault rank/luckperms prefix placeholder
i dont understand the domain part πŸ˜”

magic rock
analog pilot
magic rock
#

config

#

just ctrl + f to search the text

#

or it could be animation

analog pilot
#

And the fact that I don't see my self-created trickery in the tab is also annoying because I don't understand at all because I don't know about the conifigs at all and I don't want to do anything wrong because then I would have to reinstall the plugin again

modern lynx
#

%worldguard_region_has_flag_deny-message:2,62,30% I'm using this and it shows empty message, what would be the reason?

analog pilot
#

How i can show the Ranks on TAB

#

i have Powerrank and Vault

placid light
#

is it possible to use math placeholder in changeoutput placeholder?

#

and if yes, how

placid light
#

it won't work, i will give you example here

placid light
# turbid tide {} instead of %%

executed:

/papi parse me %changeoutput_equals_{math_0:_{bungee_hub}+{bungee_ee}}_1_&7&oYes_&c&oNo&r%

output:

hub}+0}

console says: [18:18:07 WARN]: [PlaceholderAPI] [Math] Invalid Placeholder detected! [18:18:07 WARN]: [PlaceholderAPI] [Math] Placeholder: %math_0:_{bungee_hub% [18:18:07 WARN]: [PlaceholderAPI] [Math] Cause: '{bungee_hub' is not a valid Math-Expression.

#

probably because of double { & }'s

turbid tide
#

oh. placeholder in placeholder in placeholder.

#

that's not really possible

placid light
#

ok so math with placeholder in it can't be used in changeoutput

#

alright

#

confirmed

#

however, that's sad

turbid tide
#

use javascript instead maybe.

placid light
#

that would be fun if i know how to use js

high swift
#

VotingPlugin placeholders not working

#

Server version: 1.17.1
Plugin version: latest

#

Please @ me

glad gyro
#

(just now realizing I used Trivia.melotakuScore for two of them, oops, but that isn't the problem because it does it for Trivia.gameFarmerScore too)

turbid tide
#

ugh. have you tried them with /papi parse?

glad gyro
turbid tide
#

can you try sending debug messages in the onRequest method? because I'm pretty sure PAPI doesn't cache anything.

glad gyro
#

gave up, coded the holograms myself without holographicdisplays or papi lol

lofty trellis
#

a

#

XD

keen garden
#

Is it possible to change the number of zeros for a specific math function and not all?

turbid tide
#

ye.

#

%math_PRECISION:_math-here%

#

you can also change the rounding type the same way.

#

%math_PRECISION:ROUNDING_math-here%

#

if you want just rounding:
%math_:ROUNDING_math-here%

austere hawk
#

Having some issues with the string expansion

#

The random placeholder doesn't appear to be working?

#

This command:
/papi parse me %string_random_1_2_3_4_5_6_7%
Outputs this
1_2_3_4_5_6_7

turbid tide
#

so %string_random_1,2,3,4,5,6,7%

#

will fix it in a sec

native crystal
#

hey there i am trying to work out how to get the date and time placeholder to look like Fri, September 17 But i have not had any luck yet, anyone know how to make this?

native crystal
#

You're an absolute legend @austere hawk Thank you!

turbid tide
native crystal
#

Oh crap

#

Sorry

#

Thanks Blitz

silver minnow
#

lmao

native crystal
#

❀️

turbid tide
#

there's a last join.
If you want, you can use the LastLoginAPI plugin to get its %lastloginapi_last_logout_date% placeholder. There is no placeholder for this in a standalone expansion.

olive fjord
#

Hello, i have trouble finding the download placeholders for ProtectionStones. i have been trying to install it from the ecloud website and ingame but i cant find it is it cancelled or smth

#

I saw in the wiki thats implemented buti couldnt find a way to install it in my server

turbid tide
#

oh. time since. ugh. don't know any placeholder for that.

#

you could maybe make a custom javascript and use the last logout date from LLAPI but idk how that would really work

olive fjord
turbid tide
olive fjord
#

Ah, great. But do i have to activate it or something..?

#

before use

turbid tide
#
if (CONDITION) {
  // CODE
} else {
  // CODE
}```
eager swallow
tender vaporBOT
austere hawk
#

Maaaaybe try changeoutput? It’s an expansion

hushed lichen
#

Hey guys is it possible to have server place holders into a mod ?

#

to have for instance in a gui the number of players online or the name of your faction

clear dust
#

what would cause a javascript placeholder to always come back blank? It was working last night but not now. literally all that's changed is the server its on.

I moved over the javascript config file and the folder containing the script and ran papi reload.

#

turns out i screwed up the definition in the javascript_placeholders file. and was using an invalid javascript placholder when trying to parse

uneven shard
#

So, I integrated a PlaceholderAPI into a plugin of mine and made an extension for to that end. But registration for the eCloud is locked. When will I be able to upload my extension?

balmy marten
modern lynx
#

Is there a way to do something like that with Formatter or another expansion? If a parsed placeholder will include text artwart, it will just show artwart or yes, no etc.

bleak perch
#

hello, I have a server in 1.17 I wanted to put placeholder in a scoreboard but it is not displayed while its working very well in the menus ect ..
I have checked everything everything is up to date placeholder, scoreboard ect ...

#

can you help me i am really blocking

sturdy perch
#

I want to ask
parties_list_rank_member_online_2
I currently use this placeholder to output the player’s ID CGHB_GOD
But I apply this placeholder %changeoutput_contains_{playerlist_online,nearby,yes,list,30}_{parties_list_rank_member_online_2}_true_false%, I want it to detect whether this player is within 30 blocks nearby, and if so, It returns true, if it is not within 30 blocks, it returns false, but this placeholder returns GOD, maybe this ID contains the underline?
Want to ask if there is any solution?

chrome thunder
#

What is the placeholder to display the players head in a GUI?

rigid wharf
#

?faq deluxemenus

#

sad

#

?dm-heads

tender vaporBOT
#
FAQ Answer:

How to use custom heads in DeluxeMenus:
a) A player name material: head-extended_clip
b) The player's head material: head-%player_name%
c) The base64 code of a head material: basehead-<code>:
- Go to https://minecraft-heads.com and find a head.
- Copy the head Value code (from the page bottom)
d) The minecraft texture url material: texture-<id>
- Only put what's after https://textures.minecraft.net/texture/
e) EpicHeads material: heads-<id>:
- Require https://www.spigotmc.org/resources/13402/
f) HeadDatabase material: hdb-<id>:
- Require https://www.spigotmc.org/resources/14280/

rigid wharf
#

@chrome thunder

chrome thunder
#

I tried head-%player_name% as a material and it didnt work.

#

Unless I used it wrong...

sharp jay
#

@chrome thunder Did you install /papi ecloud download player ?

ruby apex
#

hello I need help, with the %player_name% since it does not work for me in the holographics displays plugin and I have already done /papi ecloud download Player

#

any solution?

dusk musk
#

hey so i have question how can i set 2 server online player in 1 placeholder? like server1 have 10 players and server2 have 12 player i want the placeholder say its 22 players online

sharp jay
#

using this

#

and

dusk musk
#

can you give me example for this?

#

%math_{server1_online}+{server2_online}%

#

right?

maiden cape
#

Is it possible to display plugin placeholder in other plugin that not in ecloud ?

hushed lichen
#

Hey guys is it possible to have server place holders into a mod ?
to have for instance in a gui the number of players online or the name of your faction

junior musk
#

if you have a server software that allows plugins+mods and you've got a mod that hooks into PAPI, then I guess it should work

silver minnow
#

😬

junior musk
#

?

silver minnow
#

not many people recommend it

junior musk
#

yeah I know, Bukkit+Forge isn't the best but eh

#

it's still fun

signal rock
#

Hi i have a problem with some placeholders in deluxemenu https://i.imgur.com/0U7HJpK.png in the line Tiempo Jugado (Time Played) the placeholder didnt show anything and with other placeholders like &f%statistic_kill_entity:PIG% when i kill a pig the placeholder didnt update

flint nacelle
#

I has a question, How I sort out placeholders inside a string?

#

I guess placeholder api canΒ΄t tho this for mee

chrome thunder
tender vaporBOT
cold temple
#

How can I make a placeholder that goes down on some timer? I have servers restarting on a timer and wanted to show that on a deluxemenus GUI

warm plover
#

Would anyone know how I can edit a PlaceholderAPI Expansion?

covert yarrow
#
    material: DEEPSLATE_REDSTONE_ORE
    amount: 1
    slot: 11
    priority: 3
    enchantments:
    - durability;10
    hide_enchantments: true
    display_name: '&cLevel 1'
    lore:
    - '&7These ranks are an alternative'
    - '&7way of getting extra perks'
    - '&7without spending any IRL money.'
    - ''
    - '&cRequirements:'
    - '&c⚑ &f$50,000 (Cost)'
    - '&c⚑ &f10 Votes'
    - ''
    - '&aPerks:'
    - '&aβœ“ &f4 /AH Slots'
    - '&aβœ“ &f2 Player Warps'
    - '&aβœ“ &f15 Chest Shops'
    - '&aβœ“ &f2 Vote Keys'
    - '&aβœ“ &f+1,000 Claim Blocks'
    - ''
    - '&a&l➜ CLICK TO UPGRADE'
    left_click_commands:
    - '[console] eco take %player_name% 50000'
    - '[console] lp user %player_name% parent add 1'
    - '[console] lp user %player_name% perm set ranks.01'
    - '[console] crazycrates give p vote 2 %player_name%'
    - '[console] acb %player_name% 1000'
    - '[close]' 
    left_click_requirement:
      requirements:
        name1:
          type: javascript
          expression: '%VotingPlugin_alltimetotal% >=10'
          deny_commands:
          - '[message] &#ff74fb&lCOSMIC &8&lΒ» &7You do not meet the vote requirement for this rankup.'
          - '[close]' 
        name2:
          type: has money
          amount: 50000
          deny_commands:
          - '[message] &#ff74fb&lCOSMIC &8&lΒ» &7You do not meet the money requirement for this rankup.'
          - '[close]' ```
#

why does this tell players "you dont meet the requirements"

#

when they do

#

if they relog and click it like 20 times it works

#

is something wrong?

warm plover
#

yes

covert yarrow
#

wat wrong

warm plover
#

well for starters you can't have multiple deny commands I'm pretty sure

#

they have to be indented with requirements, not the name of the requirement

#

also using javascript there is unnecessary

covert yarrow
#

oh, what would better way to do be then

warm plover
#

type: '>=' input: '%VotingPlugin_alltimetotal%' output: '10'

covert yarrow
#

i see i see lemme try that

#

well now i think doing that fixed it?

#

everytime i rankup now, it works first try

#

and it checks my money & vote balances

warm plover
#

awesome, everything works?

covert yarrow
#

think so, will see if any players complain about it not working. Thank you in advance πŸ™‚

warm plover
#

No problem

covert yarrow
#

hmm actually you still have to click it twice

warm plover
#

could you send that part of the menu?

covert yarrow
#
      requirements:
        name1:
          type: '>='
          input: '%VotingPlugin_alltimetotal%'
          output: '10'
          deny_commands:
          - '[message] &#ff74fb&lCOSMIC &8&lΒ» &7You do not meet the vote requirement for this rankup.'
          - '[close]' 
        name2:
          type: has money
          amount: 50000
          deny_commands:
          - '[message] &#ff74fb&lCOSMIC &8&lΒ» &7You do not meet the money requirement for this rankup.'
          - '[close]' ```
#

requires clicking it twice

#

but that might be because my double requirements?

warm plover
#
      requirements:
        name1:
          type: '>='
          input: '%VotingPlugin_alltimetotal%'
          output: '10'
        name2:
          type: has money
          amount: 50000
       deny_commands:
          - '[message] &#ff74fb&lCOSMIC &8&lΒ» &7You do not meet the vote requirement for this rankup.'
          - '[close]' ```
covert yarrow
#

i have

#
      requirements:
        name1:
          type: '>='
          input: '%VotingPlugin_alltimetotal%'
          output: '10'
        name2:
          type: has money
          amount: 50000
      deny_commands:
         - '[message] &#ff74fb&lCOSMIC &8&lΒ» &7You do not meet the requirements for this rankup.'
         - '[close]' ```
#

still requires clicking it twice

hushed lichen
#

@junior musk I tried while using a working PAPI, and the text won't show up

warm plover
#

Would anyone know how I can edit a PlaceholderAPI Expansion?

junior musk
junior musk
warm plover
#

oof

lone dove
#

Hi, someone can tell me how create countdown for 24h?

sharp jay
flint nacelle
#

Do I has to guess how to use placeholder api or is it on git-hub I can ask questions?

turbid tide
#

You don't have to guess anything. That's why the wiki exists.

flint nacelle
#

Yes but that wiki not explanation how to implement it in the code. I if i not miss something.

#

I mean I has placeholder api installed and working. But the part I donΒ΄t know abut are to difference placeholders from normal text.

#

I think only use split will not fix that issue. maybe use index to find first and last if not placeholder api self has methods for this.

#

But with out any info, I can only guess.

turbid tide
#

you'll really have to explain better

flint nacelle
turbid tide
#

and you want to parse placeholders?

flint nacelle
#

yes (sry if you get piniged)

turbid tide
#
        String joinText = "%player_name% &ajoined the server! They are rank &f%vault_rank%";

        /*
         * We parse the placeholders using "setPlaceholders"
         * This would turn %vault_rank% into the name of the Group, that the
         * joining player has.
         */
        joinText = PlaceholderAPI.setPlaceholders(event.getPlayer(), joinText);```
flint nacelle
#

aaa I has miss that 🀦

#

Yeah That I think explain what i needed.

turbid tide
#

πŸ‘

crystal wave
#

hello, guys

I need your help!! I have errors in console, please help me how to resolve it?

tender vaporBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
β€’ HelpChat Paste - How To Use

turbid tide
#

send the errors in a paste bin please

crystal wave
#

oh

#

got it

flint nacelle
crystal wave
turbid tide
flint nacelle
#

that are not much of a warn that msg πŸ™‚

crystal wave
#

nothing critical about that?

flint nacelle
#

no only a way to notis devs to set this in plugin.yml

turbid tide
#

you could add it to PlaceholderAPI's plugin.yml but if you can live with it there then just let it be.

crystal wave
#

Hmmm, guys tell me what to add to this PlaceholderAPI's plugin.yml to keep everything safe?

turbid tide
#

just to not get the warning in console anymore.

crystal wave
#

yeah, i mean that...

flint nacelle
#

is safe to ignore πŸ™‚ if not your plugin most load before an other plugin or are depend on other plugin you need to set it.

turbid tide
#

imo you shouldn't add it at all but if you really don't like the error

#

then go for it I guess

crystal wave
#

xddd

#

lol, good, thanks anyway broooss

wicked lava
#

comeone help me with this? thanks

sharp jay
#

you try to reinstall player extension? @wicked lava

turbid tide
sharp jay
#

Oh ya

#

didnt read the full dir

#

lmao

peak sky
#

So I created a placeholder in my plugin right (a modified factions plugin), and well when I do: /papi list It says 1 Placeholder hooks registered:\n factionsone. But my placeholder doesnt work... has anyone here ever added placeholders to a plugin?

marsh furnace
#

hi, can someone help me with this error ?
""
[14:05:37 ERROR]: [PlaceholderAPI] Failed to load expansion class StatzExpansion - One of its properties is null which is not allowed!
[14:05:37 ERROR]: [PlaceholderAPI]
java.lang.NullPointerException: The expansion version is null!
at java.util.Objects.requireNonNull(Objects.java:246) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:166) ~[?:?]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ~[?:?]
at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) ~[?:?]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) ~[?:?]
at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:257) ~[?:?]
at java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:248) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:605) ~[?:?]
at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.lambda$registerAll$3(LocalExpansionManager.java:327) ~[?:?]
at me.clip.placeholderapi.util.Futures.lambda$null$0(Futures.java:46) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:98) ~[forge:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:462) ~[forge:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:1060) ~[?:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334) ~[?:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:1006) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:821) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:269) ~[?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
[14:05:37 INFO]: [PlaceholderAPI] Successfully registered expansion: player
""

rain monolith
#

Any idea how I would add two placeholders together for example the bungee total on one server and the bungee total on another serrver

mystic marlin
#

How do you do this: %formatter_text_lowercase_%player_biome%%
It gives: formatter_text_lowercase_player_biome%

junior musk
#

use {} for nestedp laceholders

orchid fog
#

Hey, Is there any Premium Vanish placeholders

#

or any extention that hooks with it?

safe vault
#

hello, why does %server_tps% return 0.0?

junior musk
#

update the servers expansion

#

/papi ecloud download Server
/papi reload

frozen cargo
#

help, pls

#

i'm using Purpur 1.17.1, EssentialsX and PlaceholderAPI

#

constantly when players connects the server, the same error pops up

#

associated with EssentialsX and PAPI and Vault

tender vaporBOT
#
FAQ Answer:
Β» Give the helpers some details
Β» Ask suitable questions
Β» Be polite
Β» Wait

Source

onyx mauve
turbid tide
onyx mauve
#

Ohh okay, i did that before and now i noticed i had 2 of each expansion in my Expansion folder

#

Its working now! Thanks

turbid tide
#

πŸ‘

turbid tide
tender vaporBOT
sturdy perch
#

%changeoutput_<_{parseother_{parties_list_rank_member_online_1}_{player_level}}_5_false_true%

#

Why can't this be used?

#

%parseother_{parties_list_rank_member_online_1}_{player_level}%
Can correctly return 12

#

But when I use changeoutput these error messages will appear

austere hawk
glacial comet
turbid tide
#

also check the console for errors, etc.

vestal glacier
#

Hey guys!

#

Just updated to Java 16

#

and 1.17.1

#

from 1.16.5

#

New papi, vault, and essentials

#

cannot parse any placeholders at all?

#

Papi parse wearenoobs %player% just returns %player%

#

with papi ecloud download player

#

and reloaded.

sharp jay
#

its player_name

vestal glacier
#

Interesting that works

#

but uh

#

all my other placeholders have.. gone

#

Like vault ones

#

Actually..

#

i think they are just failing in featherboard.

tender vaporBOT
vestal glacier
#

Yeah it must be featherboard

#

as they parse fine

turbid tide
#

if you can't update then use an older version of the expansion

vestal juniper
#

i want a dummy placeholder, that is i need it to be changed using ingame commands, preferably tied to the /team command in minecraft, (i want to add points to certain teams listed in sidebar)

vestal juniper
vestal glacier
#

So here me out

#

I cant attach a pic fml

tender vaporBOT
vestal glacier
#

ah

#

So see the locy placeholder?

#

thats from the 'player expansion' and it doesn't seem to work after updating to 1.17.1

#

Player is in my papi list

#

I got it they changed it lmao

#

sorry

turbid tide
#

that's not from any expansions

#

PAPI placeholders all follow a pattern

#

and that is %identifier_OTHER-STUFF%

frozen cargo
#

Blitz, I repeat, I wrote above, will you help me?

brisk patio
trim mist
#

Update your server expansion.

brisk patio
trim mist
#

The server expansion in PlaceholderAPI.

brisk patio
#

how do i do that?

silver minnow
#

/papi ecloud download Server
/papi reload

brisk patio
#

ok ty

stiff zodiac
#

Hi, does PlaceHolderAPI support PermissionEx plugin?

errant iron
#

Uh well it depends on what you mean by that

#

but I'd recommend LuckPerms any day over PEX

dreamy halo
#

I need help

tender vaporBOT
#

There is no time to wait! Ask your question @dreamy halo!

dreamy halo
#

I am trying to use holographic displays and its not working

#

The placeholder I want to use

#

%discordsrv_guild_members_total%

turbid tide
worldly fjord
#

you need to use holographic extension to support Placeholders

turbid tide
#

if you want to use placeholders in HD you will need to install ProtocolLib and HolographicPlaceholders.

turbid tide
# frozen cargo Blitz, I repeat, I wrote above, will you help me?

Idk if you're aware but the TOP placeholders were moved to the essentials expansion.

You can find a development build in the pinned messages.

I recommend you:

  • Stop the server
  • Update EssentialsX
  • Update the EssentialsX expansion (Go to plugins/PlaceholderAPI/expansions) and delete any EssentialsX jars you find there then download the one that is pinned in this channel and put it in there
  • Go to plugins/PlaceholderAPI/config.yml and disable the expansions.vault.baltop option (by setting enable: to false)
  • Start server.
  • Now use the placeholders that are listed in the pinned message instead of the vault baltop ones.
dreamy halo
worldly fjord
#

πŸ™‚

earnest moth
#

Hi can anybody help me to solve this?

#

the placeholder ... does not give a numerical value. Make sure that the placeholder returns a number that is not formatted