#placeholder-api

150650 messages · Page 68 of 151

tight veldt
#

And how could I do that then, can I download it with the same command?

mint fable
#

I think you can do /papi download javascript <version>

#

@tight veldt this

tight veldt
#

Yes Yes 😄

#

thx

mint fable
#

you'll have to use it in a spot that supports it

#

So in the chat where you would normally put %rel_factionsuuid_relation_color%

#

you put this instead %changeoutput_equals_{rel_factionsuuid_relation_color}_<match>_<output-if-matched>_<output-if-not-matched>%

#

and replace the last 3 options with your needs of course

#

can you send the placeholder again from config? discord messed it up a bit

valid nacelle
#

cj89898 help my plz :x

warm topaz
#

by any chance are ur relational placeholders returning an underscore @austere hawk

mint fable
#

the whole thing

#

because this is a broken one

#

it wasn't escaped in `` when you first sent it

warm topaz
#

what does that return exactly

#

both idk

valid nacelle
#

I have a question ? can't you create a ticket system? because it's a mess to navigate I still have my problem: /

warm topaz
mint fable
#

the other issue I was already a part of trying to help :L

#

makes sense

#

what does it return though

warm topaz
#

i just need to know if that placeholder individually has an _ in it because theres a bug in changeoutput

mint fable
#

because all options are separated by _ so it ends up bugging it

#

oh fuck I forgot it's just a color like &a @warm topaz

warm topaz
#

hm

#

maybe its because of the color doesnt equals an empty string

mint fable
#

what is the changeoutput placeholder you're using again @austere hawk ?

warm topaz
#

try adding ignorecolor to the options

#

so changeoutput_equals,ignorecolor_

warm topaz
#

yea im not sure whats happening here

turbid tide
warm topaz
#

idk

turbid tide
#

nvm. there is no bracket rel method

#

but I believe that's why it breaks anyways. bcz of the relational placeholders.

warm topaz
#

do u really need the relational placeholders anyway @austere hawk? to me it sounds like u could just use the normal placeholders

turbid tide
#

I mean I might be completely wrong but doesn't this palceholder just check if rel is empty then it puts empty otherwise it puts the placeholder?

#

like why?

#

the whole thing sounds very useless

#

ah. default color

#

Ic

warm plover
#

Anyone have an idea about this?

balmy vale
#

is there a deluxe menu placeholder of the name of the player who clicks the menu item?

tender vaporBOT
prime totem
#

do you have any idea if there is any solution so that when i have more than 1q money it still formats the money?

#

and doesnt get stuck?

prime totem
plain sequoia
prime totem
plain sequoia
#

Ahh, what economy plugin do you use

prime totem
plain sequoia
prime totem
#

thats what im asking

#

is there a fix that when you reach 1000Q it still formats

#

when i gave myself more than 1000Q it stopped formatting

#

it didnt continued

prime totem
plain sequoia
prime totem
plain sequoia
prime totem
#

i was looking in the messages, they said the format wasnt added or smth like that from what i understood

plain sequoia
#

I gave my self 10,000,000,000.00 and it's showing only 100M

#

So that's the maximum maybe

tender vaporBOT
limber ice
#

javascript expansion don't seem to work on Paper 1.12.2 and PlaceholderAPI-2.10.10-DEV-132

fervent spire
vivid sparrow
#

You need java 15 or smth iirc

fervent spire
#

Pretty sure it's Java 16 for the latest javascript version

turbid tide
#

man I love discord..

#

it disables the ping

#

but doesn't actually disable it

fossil lark
#

Hey i have a problem while hooking the placeholderapi to my plugin (Maven build)
Dependency 'me.clip:placeholderapi:2.10.10' not found
Dependency 'me.clip:placeholderapi:2.10.10' not found
Dependency 'me.clip:placeholderapi:2.10.10' not found

my code : https://paste.helpch.at/anuyebijuk.http

fringe root
#

Helllo

#

[12:53:55 INFO]: [Systém] Hráč nebyl nalezen! (money -> %player_name%)
[12:53:55 INFO]: GoldenCrates » Error while get data for %player_name%.
[12:53:55 INFO]: [Systém] Hráč nebyl nalezen! (money -> %player_name%)
[12:53:55 INFO]: GoldenCrates » Error while get data for %player_name%.
[12:53:55 INFO]: GoldenCrates » Error while get data for %player%.
[12:53:55 INFO]: GoldenCrates » Error while get data for %player%.

#

I have this problem

#

%player_name% and %player% dont work

fossil lark
fringe root
#

reward_commands:
enabled: true
max_possible: 10
commands:
- chance: 50
command:
- crate givekey %player_name% votekey 3
- chance: 40
command:
- crate givekey %player_name% moneyklic 3
- chance: 5
command:
- crate givekey %player_name% spawner 1

#

Papi or placeholderAPI ?

fossil lark
#

some placeholders are not standalone

#

so if you want to use them you should type
/papi ecloud download name
then
/papi reload

fringe root
#

papi ecloud download Player
[13:04:54 INFO]: Successfully downloaded expansion Player [2.0.2] to file: Expansion-player.jar
Make sure to type /papi reload to enable your new expansion!

#

this ?

fossil lark
fringe root
#

yes i make

fossil lark
fringe root
#

13:05:58 INFO]: [Peníze] Zůstatek na účtě hráče Zivotna je 75440.28 Kč
[13:05:58 INFO]: GoldenCrates » Dal x2 Votekey klíč(e) to Zivotna
[13:05:58 INFO]: [Peníze] Zůstatek na účtě hráče kajix je 142042.71 Kč
[13:05:58 INFO]: GoldenCrates » Dal x2 Votekey klíč(e) to kajix
[13:05:58 INFO]: GoldenCrates » Dal x3 Moneyklic Key klíč(e) to Zivotna
[13:05:58 INFO]: GoldenCrates » Dal x3 Votekey klíč(e) to kajix

#

Nice work bro

#

Very thanks

#

For help

#

I have next question

#

Check log

#

[13:05:58 INFO]: GoldenCrates » Dal x2 Votekey klíč(e) to kajix
This is voteparty garanted
[13:05:58 INFO]: GoldenCrates » Dal x3 Votekey klíč(e) to kajix
This is Chance reward

#

How to make it work in one log in console

#

Pattern -Dal jsi 5x votekey klic to kajix

fossil lark
#

i think this must be related to the plugin you use not placeholder api

fringe root
#

ok ok

#

Thank you very much PAPI for that

fossil lark
plain sequoia
fossil lark
fossil lark
plain sequoia
#

Do you have on your right side Maven?

fossil lark
#

gootcha

#

thanks

plain sequoia
#

np

fossil lark
# plain sequoia np

also will it work in configuration files without adding something?
Im just newbie in placeholder's api api

plain sequoia
#

It won't work until you added into your code

#

You just added api which allows you to use placeholders in your plugin

fossil lark
limber ice
#

@fervent spirewhen I parse the placeholder i made it returns the place holder, only does this on one server

fervent spire
#

This with your own plugin or?

limber ice
#

will not work if I use parse command or dchat

fervent spire
#

How did you make the placeholder?

limber ice
#

it works on 6 other servers

#

but I can show you code if you need to see it

fervent spire
#

Do any errors come up?

limber ice
#

no errors, it is latest papi on paper 1.12.2

#

running java 8

#

trying working combo from my Spigot 1.12.2 again

vivid sparrow
#

download an older version of js expansion

limber ice
#

papi will not reload with version 1.4.1 with papi 2.10.0

turbid tide
#

use version 1.6.0

#

of javascript expansion

#

or whgat 1.4.1?

warm plover
#

Does Minecraft time update while people are offline?

#

Like the placeholders

warm plover
#

What time format is the join date in?

turbid tide
#

you mean the %player_first_join_date% ?

#

then it just uses the format from your config.yml

spice tapir
#

Sorry to keep bringing this up. Thanks again for the support thus far, this is as far as the issue has gotten resolved. Still PAPI isn't working with factions, nor is it liking featherboard (except when it comes to towny, elitemobs, and autorank)

meager vault
trim mist
#

If you're using EssX, disable the baltop in Vault expansion and use the dev version of EssX. The baltop in Vault is being removed at some point in time for that exact reason.

meager vault
#

disable the baltop in Vault expansion
how do I disable it ?

trim mist
#

In the config

meager vault
#

ok yes I found it

#

Thanks for your help I'll now try to optimise also other things 🙂

spice tapir
limber ice
#

@spice tapirwhat version of Autorank?

limber ice
#

latest Autorank has built it expansion, so make sure you don't have one in the expansion folder

spice tapir
limber ice
#

@spice tapirno version of autorank not the expansion

spice tapir
#

4.5.1

#

that's the latest

limber ice
#

and no expansion is required, since it is in the autorank jar

spice tapir
#

.... hmmm I'll have to double check the placeholders, cause it is not doing that for me rn, but has before (as in less than 2 months ago)

limber ice
spice tapir
#

%autorank_active_paths%
%autorank_total_time_of_player%
ummmm... ya those are on the list

limber ice
#

some placeholders were changed

#

when clip made the expansion, and when Staartvin built it into his plugin

spice tapir
#

..... idk what's going. Because I just replaced the placeholders with the ones from the list. Maybe its the parenthesis?
- '&a┃ &7Name: &f%player_name%'
line4:
frames:
- '&a┃ &7Rank: &f%autorank_completed_paths%'
line3:
frames:
- '&a┃ &7Play Time: &f%autorank_total_time_of_player%'
line10:
frames:

#

nope tried {autorank_completed_paths} and {autorank_total_time_of_player} and still natta

limber ice
#

did you make sure there is no autorank expansion in the expansion folder

spice tapir
#

yep, manually deleted anything regarding autorank

limber ice
#

reboot server?

#

since two expansions can break papi

spice tapir
#

that may be it! Ik in the past when I do /papi reload it will break the autorank placeholders and requires a restart. Idk why.

I'll do a restart in a sec, any chance you can put me on the right path for factions placeholders? I'm using the latest version of UUID

limber ice
#

which faction plugin?

spice tapir
limber ice
#

I have not set that one up, but I belive it should work the same as the ones I have done

spice tapir
#

Well when I try FactionsUpdated 2.14.0 papi expansion it breaks the others

limber ice
#

does featherboard still use mvdwplaceholder

spice tapir
#

AHA! Figured it out actually. So the placeholders they list on that wiki don't work, only on a seperate wiki I found.
Ironic you have been a tremendous help getting me to figure out which papi expansions were breaking the plugin! thank you so much!!!

limber ice
#

If the command itself isn't there and NO DOWNLOAD COMMAND instead is shown, then it means, that the plugin actually has the placeholders hard-coded into them and doesn't require a manual download of any expansion.

#

factionUUID has the expansion built into the plugin also

spice tapir
#

soooooo..... problem not entirely gone :/ did the restart, expectedly that fixed the autorank, but when I went to change worlds, it broke again

fossil lark
#

how can i register my plugins placeholders to the ecloud?

fervent spire
#

Just send a message to Barry and cube will help you with it

fossil lark
fervent spire
fossil lark
deft crest
#

I created a placeholder for the color of the tps
but I didn't put another one in it
there was just a color swap.
The one on the left works fine, the one on the right creates another one.
why?

deft crest
#

help pls

turbid tide
#

what did you create again? and why? There's already a colored tps placeholder I believe

#

why not use that one?

fervent spire
#

Yeah, there are placeholders for it,

%server_tps_1_colored%
%server_tps_5_colored%
%server_tps_15_colored%
deft crest
deft crest
#

sorry

deft crest
#

and is it possible to adjust it by numbers somehow?

#
var tps = "%server_tps_1%";
 
function PlaceholderCheck() {

   if (tps >= "19.0") {
       return "&a%server_tps_1%";
   }
   if (tps >= "17.0") {
       return "&e%server_tps_1%";
   }
   if (tps >= "15.0") {
       return "&c%server_tps_1%";
   }
   if (tps >= "10.0") {
       return "&4%server_tps_1%";
   }

}
PlaceholderCheck();
#

I made a placeholder like this

#

or do the tps colors need to be changed in the config plugin?

turbid tide
deft crest
#

Now everything seems to be working fine, why is that?

turbid tide
#

you can't change the values at which color changes for the other placeholder

deft crest
#

I'm going to try it now, too.

turbid tide
#

hm. not sure.

#

btw

turbid tide
#

so fixed that in mine

#

the rest is the same

deft crest
#

I'm going to try yours now.

#

what you discounted also works♥

abstract quiver
#

Hi

#

I do have a placeholder with skript

#

referencing a variable which uses player's name in it's name

#

%skript_<Player's name>.deaths%

#

but I don't know if it's posible to reference the name of the player inside the placeholder

fossil lark
#

hey there is there a wiki for setting up plugins placeholders and uploading in ecloud?

full rain
#

hey is there a placeholder for essentials/vault that shows how much money a player have?

fossil lark
abstract quiver
#

Hi, I do have this place holder %skript_{player}.deaths%"

#

it is working

#

but I also want to use Math placeholder in it

#

%math_{skript_{player}.deaths}%"

#

like so

turbid tide
#

that won't work

abstract quiver
#

"_" is not appearing but I'm using them

abstract quiver
turbid tide
#

you can't. it breaks because it finds {{}

#

so it doesn't know what to do

#

in that case

#

since {player} is also not a PAPI placeholder. but even if it was it wouldn't have worked

abstract quiver
#

Yeah I understand that

full rain
abstract quiver
#

but %skript_% is referencing a skript variable which includes in it's name the name of the player

#

so i need the player's name there

turbid tide
#

well if you want to add stuff up you could try using the javascript placeholder

#

expansion*

abstract quiver
#

how would it work?

tender vaporBOT
turbid tide
#

you'll have to read up on the javascript expansion @abstract quiver

#

you do need to have some javascript knowledge

abstract quiver
#

I will have to chek

fossil lark
#

%vault_eco_balance%

fossil lark
full rain
turbid tide
#

will parse placeholders for that player

full rain
#

Okay im making this on Holo plugin how can i make it show up on there?

#

nvm found out how to do with the ParseOther expansion

warm plover
#

Hi there I’m using a plug-in and it doesn’t seem to parse placeholders if no one is online. Is there a way to parse placeholders with no one online?

orchid sedge
#

Hey is there any reason as to why the expansion-quests is not working?

cosmic shale
#

please don’t tag random people, someone will help you eventually.

turbid tide
#

works just fine for me

#

what version of the expansion you got?

#

try getting the 2.1.0 version

#

what's the command you're using?

#

are you using it ingame?

#

I'm looking at the code itself and can't seem to find anything wrong with the code

#

not sure what they have to do with each other?

#

they're different commands

#

and they don't need to be fixed. I've checked it and it works. my assumption is that you maybe have a plugin messing up with it or something. idk

#

its exactly the same my friend

#

I guess not. it makes the checks it does for the other players for this one as well.

#

which are to check if the player has played before and if the player has a name

tender vaporBOT
turbid tide
#

lol

#

use any other image uploading website then

#

like imgbb

turbid tide
#

no. probably not.

#

@thorn thunder ?

turbid tide
#

not sure. that's why I pinged yugi. so he can help. he's the one that added the checks

thorn thunder
#

What checks?

turbid tide
# thorn thunder What checks?

you added the player has played before and player name != null checks when using /jsexp parse me and somehow apparently it breaks for him

#

and he was wondering if they can be removed when using /papi parse me

thorn thunder
#

Oh does hasPlayedBefore return false if they just joined?

turbid tide
#

I believe it does

thorn thunder
#

Ah, wasnt aware of that behavior, ill make that change asap

turbid tide
#

not sure why it existed in the first place

thorn thunder
#

The check?

turbid tide
#

bcz thien added it for /jsexp parse <player-name>

#

as well

thorn thunder
#

Wdym?

#

The hasPlayedBefore check?

turbid tide
#

yeah.

#

dk why it was added in the first place

thorn thunder
#

Wait

#

Is the issue on the older version or the newer one?

#

One sec lemme get on pc

#

ah I see

turbid tide
# thorn thunder One sec lemme get on pc

he only tested the /jsexp parse me command. it probably would happen on 1.6.0 with the /jsexp parse <player-name> command. since in 1.6.0 the check was only for that command but after that you made it check when using the me command as well

thorn thunder
#

My bad

thorn thunder
#

Yes?

#

Not yet, I wont be able to until tonight

#

Busy with studies

thorn thunder
#

Yes

warm plover
#

Do world time placeholders while no one is online?

sharp jay
#

yes @warm plover

warm plover
# sharp jay yes <@!579038191277834240>

I was using another plug-in for checking time placeholders and they only work when someone is online. The events the plug-in uses run in the server. They told me it should work but to ask the developers

sharp jay
#

the world time it all depended on the server not players as far as I know

warm plover
#

Yeah I don’t really know what this is caused by so I just requested for them to make a %world_time% built in

austere hawk
#

please help me

tender vaporBOT
stable mist
#

@mint fable hey got small problem not sure how to use gradient placeholder

stable mist
#

%gradient_{#hex1}{#hex2}{percentage:0..100}%

#

can some one make example

#

should I remove {}

#

I am using 2.0 version

limber ice
tender vaporBOT
limber ice
#

well Barry don't know all, this works on 7 out of 8 servers just fine. This is a warning I get at bootup

ivory widget
#

Hello, today i find little issue. When i download placeholders for server (papi ecloud download Server) and restart server. All gui form deluxe menu stop working at all. And it happends only with this server papi.

Version deluxemenu + papi = lates build
Version 1.17.1 lates build
Paper spigot
Paste bin : https://pastebin.com/81Lpw7eU

On 1.16.5 is all good

novel wave
limber ice
#

@novel waveuse latest version of papi might fix your problem

turbid tide
turbid tide
#

yes yes. the ecloud download command downloads it from the ecloud. but you need to check what version of the expansion you have.

#

do /papi dump and send the generated link over

ivory widget
turbid tide
#

hmm. it downloads the latest. that's strange.

ivory widget
#

this issue i have only 1.17.1

turbid tide
#

so I'm not sure why it happens but I know how to kinda fix it. you'll have to remove the usage of %server_entities% from all your menus

ivory widget
#

yes i see it now and it work but the issue is strange

#

anyway thx

turbid tide
#

its just that deluxemenus might be parsing the placeholder async. which is not supported when getting the entities

ivory widget
#

hmmm

#

yea iam ok with delete this part of menu is only design think 🙂

wide agate
#

Hi I have a little problem and I have the game time of the player in my scoreboard with the placeholder% playertime%. But somehow the correct playing time is not displayed to me, something is displayed but what that is I cannot say. Because it says that I have been on the server for 144 minutes although firstly I have been on the server for a longer time and secondly it is not even minutes because after 1 minuite nothing changes there only after what feels like 10 minutes

thorn canyon
#

Is it possible to use wildcards for servernames, like this? %bungee_arena-*%
and have that get player counts for all servers prefixed with %bungee_arena-1, %bungee_arena-2, %bungee_arena-3, etc

silver minnow
#

i think

#

hmm

#

or you might have to use js expansion

limber ice
#

@thorn canyonyou can use custom placeholders that will add them up for you

late cloak
#

My Placeholders does not work i installed everything i need for the plugin Scoreboard-revision and it does not work, and if i type /papi reload this error comes up.

[Sa., 6. Nov. 2021 10:08:44 MEZ INFO] Vinnipapi issued server command: /papi reload
[Sa., 6. Nov. 2021 10:08:44 MEZ INFO] [PlaceholderAPI] Placeholder expansion registration initializing...
[Sa., 6. Nov. 2021 10:08:44 MEZ INFO] [PlaceholderAPI] Fetching available expansion information...
[Sa., 6. Nov. 2021 10:08:44 MEZ ERROR] [PlaceholderAPI] failed to load class files of expansions

austere hawk
#

Hello, you can download Expansion-Script somehow
because w / papi ecloud doesn't have it

vivid sparrow
#

@late cloak is that all?

tender vaporBOT
prime totem
#

Does anyone knows how to have more money formats for vault?

late cloak
tender vaporBOT
plain sequoia
prime totem
prime totem
tender vaporBOT
glacial maple
#

dont know if this is the right place to put this, but how does one put placeholders in item lore?

turbid tide
silver minnow
#

yugi?

warm plover
#

Hey there, I am trying to use %statistic_mine_block:CARROTS% but it always shows as 0 even if I mine a carrot

turbid tide
#

image not working

#

and please stop DMing people

glacial maple
hasty iris
#

&7☛ &d%statistic_player_kills%/%statistic_deaths%' I did something like this for K/D, but when I kill 1 man, 20 points come in, is that normal? 1 is not necessary to arrive?

tender vaporBOT
twin prawn
#

Wow that is cool

#

You can search spigot from discord

#

scours GitHub to copy and paste

turbid tide
#

but I don't believe is that hard to use spigot's api to do something like this

#

use one of the unnofficial ones

clear gorge
#

does placeholderAPI only work for 1 plugin at a time?

fervent spire
#

It works for any plugins at one time. Depends how many different placeholders you use

clear gorge
#

sorry for the basic questions

fervent spire
#

Depends what placeholders you're wanting

peak oar
#

hey, i0m having a problem creating a baltop hologram.

#

the placeholder will cound only online players

#

%vault_eco_top_player_1% i'm using this

keen mica
#

Is there a vault placeholder that checks for permissions

warm flax
#

where is the development builds for deluxemenus

tender vaporBOT
turbid tide
#

@warm flax

warm flax
#

ty

turbid tide
keen mica
#

Sucks it doesn't work offline 😦

warm flax
#

yea bukkit Player#hasPermision doesn't allow that

keen mica
warm flax
#

vault integrates it straight into your permissions plugin

#

Player#hasPermission uses ur permissions plugin but its very limited due to how bukkit wants you to do it

keen mica
#

Oh ok, so why is it that vault can list ranks but LP can't then? O.o

warm flax
#

Vault isn't a ranks plugin, its a bridge to your rank/eco/chat plugins

keen mica
#

I understand that much, but if it uses LuckPerms to list the ranks, why can't luckperms do that by itself?

turbid tide
#

for offline players//

warm flax
#

You can do it, but like i said its a bridge

keen mica
#

Yeah

turbid tide
#

?

#

bcz that's' bad

warm flax
#

LuckPerms can list it, but its easier for developers to hook into vault as its one dependency and then luckperms hooks into vault

turbid tide
warm flax
#

you can

#

I've done it before

turbid tide
keen mica
#

You can?!

turbid tide
#

not with the placeholders

warm flax
#

not with placeholders yeah

#

bc that placeholder uses bukkits permission iirc

keen mica
#

Oh 😔

turbid tide
#

techno accessing the database sync once every ms would be insane

warm flax
#

not vault

#

yea

turbid tide
#

doesnt allow it either

warm flax
#

i mean they could cache

elder palm
#

%luckperms_has_permission% doesnt work on offline players?

keen mica
#

Nope

turbid tide
#

what's the point???

#

maybe thousands

elder palm
#

Lol

keen mica
#

Hmm, I wonder what can be done, I really just want to reskin /lp user Username parent info to be player friendly basically

warm flax
elder palm
#

Wait, what's the objective exactly

turbid tide
#

he want to check ranks and permission using the luckperms expansion but for offline players

elder palm
#

That's nuts

#

I mean, for a reasonable amount of users, ok i guess but eh yea

warm flax
#

i mean as its a command it aint accessing it every 1ms

keen mica
#

It's for a deluxemenu

warm flax
#

ah nvm

turbid tide
#

doesnt matter techno. just adding that to placeholder would be crazy. lucko clearly said it won't be added

keen mica
#

I want a menu to show all the jobs a player has

#

Oof

warm flax
elder palm
#

Hold up

keen mica
#

:o. 👀

#

Oh hold on you are a rep at a development group 🤔

elder palm
#

A menu that shows jobs. For.. offline players who cannot even view the menu while offline... or ... am I dumb rn

keen mica
keen mica
#

oops

#

edit

elder palm
#

So the objective is to get player names for job x, job y and so on and list them or the amount of players in jobs

peak oar
#

hey, i'm having a problem creating a baltop hologram.
the placeholder will count only online players
%vault_eco_top_player_1% i'm using this placeholder.

tried to parse it and it count only online players

undone socket
#

Hi, I have a problem with the plugin PlaceholderAPI plugin I do not want to start when I try to load it manually, it says that the plugin is turned on even though it is not there (There are no expansionów) after starting the plugin server as the first I initialize the start with an error, I read as if the plugin was already loaded when the plugin is alone without other plugins, everything normally flashes about this is the list of my plugins that are on the server (2 are my authorship but do not use the plugin API) this is the first time I encounter such an error, please quickly help
PS: sorry for poor english

solar gazelle
#

i need help displaying a skript variable in the tab reborn, neznamy told me to come here for help

#

basically i need to parse a variable, call it {var::%uuid of player%} but idk how

#

i tried using /papi parse me %skript_var::\%uuid of player%\% but it didnt work

undone socket
solar gazelle
#

yes but i dont get a single thing

#

god dammit you seriously cant post screenshots in a support channel?

solar gazelle
#

ok well no thank you

#

Skript
/papi ecloud download skript

%skript_<variable name>%

#

how do i do this

#

%skript_variable::%uuid of player%%

solar gazelle
#

this is such a waste of time

#

i've parsed the variable using /papi parse %skript_variable::{uuid}%

#

and it still doesn't show in tab

turbid tide
#

have you tested the placeholder using /papi parse?

turbid tide
#

ugh. you need to parse it for someone

solar gazelle
#

oh i forgot i did papi parse me ...

#

yeah my bad

turbid tide
#

do /papi dump and send the generated link over please

solar gazelle
turbid tide
#

ok. seems like the skript expansion isn't registered at all. can you please restart your server and send the startup log over?

tender vaporBOT
solar gazelle
#
[19:45:47 INFO]: [Skript] Loaded 7 scripts with a total of 11 triggers and 7 commands in 16.86 seconds
[19:45:47 INFO]: [Skript] Finished loading.
[19:45:47 WARN]: [PlaceholderAPI] Loaded class ch.njol.skript.Skript from Skript v2.6 which is not a depend, softdepend or loadbefore of this plugin.
[19:45:47 WARN]: [PlaceholderAPI] skript is attempting to register placeholders via a PlaceholderHook class which is no longer supported!
[19:45:47 INFO]: [PlaceholderAPI] Successfully registered expansion: player
[19:45:47 INFO]: 1 placeholder hooks successfully registered!
#

ill upload the whole log in a sec

solar gazelle
#

oh..

#

well i've restarted my server but ok

turbid tide
#

so you got an outdated expansion. what you need to do is go to plugins/PlaceholderAPI/expansion and delete the skript expansion you got rn. then you need to go here https://github.com/Altruiis/skript-expansion/releases/ and download the expansion from there. after that put what you just downloaded in the expansions folder and then do a /papi reload

solar gazelle
#

alrighttt

#

oh my god thank you :D

turbid tide
#

👍

honest spruce
stark palm
#

Could anyone help me, ive been trying to update a few plugins on the server and been staring at the error log for too long and im spacing out. It seems like discordSRV is causing an issue when i try to do my papi reload command, I cant seem to find the error spot though

lone dove
#

Hello, I'm looking for help with the MATERIAL NAMES of potions. I can't put them in the following placeholder:% statistic_craft_item: <Item Material>%

turbid tide
turbid tide
turbid tide
#

idk if minecraft even keeps track of different potions at all

honest spruce
lone dove
#

Hm thank’s

peak oar
#

hey, i'm having a problem creating a baltop hologram.
the placeholder will count only online players
%vault_eco_top_player_1% i'm using this placeholder.

tried to parse it and it count only online players

sullen bluff
#
[07:53:20 ERROR]: [PlaceholderAPI] 
java.lang.NullPointerException: The expansion version is null!
        at java.util.Objects.requireNonNull(Objects.java:233) ~[?:?]
        at me.clip.placeholderapi.expansion.manager.LocalExpansionManager.register(LocalExpansionManager.java:166) ~[PlaceholderAPI-2.10.10.jar:?]```
#

is this normal?

balmy vale
#

Is there a way that when I click on an item it sends commands with the name of a player that I post in the chat?

#

(deluxe menu)

sullen bluff
#

%essentials_nickname%

turbid tide
turbid tide
silver radish
#

/papi parse DonKolia% world_nearbyEntities_200%
it does not work

#

%world_nearbyEntities_<radius>%

sullen bluff
tender vaporBOT
turbid tide
turbid tide
sullen bluff
#

nah doesnt work

silver radish
fluid flint
#

I need to create a Math but everything i do fails it's placeholders from statistics...
%math_22[prc]{server_online}% This works
%math_22[prc]%statistic_pig_one_cm%/100)% - This doesn't work

junior musk
#

you forgot to replace the inner %% by {}

fluid flint
#

./papi parse me %math_22[prc]{statistic_pig_one_cm}/100)%
Fails

turbid tide
#

fails in what way?

fluid flint
#

Well there is just a thing that i can't use, but now it works

#

[20:19:09 WARN]: [PlaceholderAPI] [Math] Invalid Placeholder detected!
[20:19:09 WARN]: [PlaceholderAPI] [Math] Placeholder: %math_(precision:0/60)%
[20:19:09 WARN]: [PlaceholderAPI] [Math] '(precision:0/60)' is not a valid Math Expression.

turbid tide
#

precision was changed

fluid flint
#

I know

fluid flint
#

How can i Round this number? - %math_({quests_category:killinghostile_completed}/9*100)%

turbid tide
#

%math_0_(...%

#

you add the 0_ there

fluid flint
#

Thank you 🙂

vivid sparrow
#

@turbid tide wasn't it :0_?

fluid flint
#

It was 🙂

turbid tide
thick kindle
#

how do you get the expansion for factions mcore now?

#

it doesn't find factions as an expansion even though it was one before

austere hawk
#

For some reason in deluxmenus, the placeholder for player (%player%) is not working

sharp jay
#

@thick kindle Think it was built into the plugin or discontinued

thick kindle
#

and no it is not built into factions mcore

#

but I got it solved anyways by just manually downloading it

sharp jay
#

Kk

prime spire
#

how to create ecloud account? the registration is lock

fervent spire
tender vaporBOT
turbid tide
#

@austere hawk read this ^

edgy thunder
#

hi there, im trying to use this placeholder provided by the plugin playerkits but its no working, it said that it works through papi, so im here to ask if someone know why ( im not able to post pics here)

edgy thunder
turbid tide
#

jsexp works

rapid shore
#

Papi giving lots of warns when start server (too long message) i have two images but i cant send those

turbid tide
turbid tide
slow crystal
#

hi, can i make a JS placeholder that doesnt depend on a player

#

i guess not because of this

#

which is a pain

turbid tide
#

it works for offline players

slow crystal
#

but discordsrv doesn't pass a player at all ;-;

turbid tide
#

ah Ic

slow crystal
#

cringe plugin

turbid tide
#

just an extra check in evaluate when adding the offline player bindings

#

and removing the null checks

#

but yeah the other papi placeholders that you parse in javascript will not be parsed unless they support null

slow crystal
#

i would rather just make a plugin tbh

#

bit of a pain but ty

turbid tide
#

👍

turbid tide
slow crystal
#

good idea

turbid tide
#

man I love my job. just giving myself a pat on the back

thorn thunder
#

Anyway, good point. You can probably temporarily use a OfflinePlayer with an impossible name

#

Assuming there are characters in the username that mojang doesnt allow

slow crystal
#

absolutely not

#

i fixed it now anyway

#

with a plugin

thorn thunder
#

ah alrighty

#

lol

wary epoch
#

Is it possible to get papi expansions removed from ecloud?

We regularly have users who installed an unofficial expansion for our plugin called IridiumExpansion which wasn't updated for about 9 months and completely breaks when being installed. It's just annoying because apparently, many people believe that it's an official expansion and complain in our support about it. I believe that the expansion in its current, outdated state is absolutely useless.

sharp jay
#

@wary epoch whats the name of the expansion?

#

nvm

#

@wary epoch Do you have one to replace it with?

limber ice
#

PlaceholderAPI-2.10.10-DEV-132 running on Magma/Paper 1.12.2

#

the expansion I'm using is Expansion-Javascript-QJS

limber ice
#

I figured out this error, but still can't get the JavaScript placeholders to work, only change now running PlaceholderAPI-2.10.10-DEV-133 now

#

which helped me figure out the error better

limber ice
#

[22:14:38] [Server thread/ERROR] [me.clip.placeholderapi.PlaceholderAPIPlugin]: [PlaceholderAPI] Failed to load expansion class VaultExpansion - One of its properties is null which is not allowed!

calm fiber
#

anyone there ?

#

i need help

tender vaporBOT
#

There is no time to wait! Ask your question @calm fiber!

calm fiber
#

does your plugin stp us from placing armour stands

#

@vivid sparrow please tell im in a bit of hurry

vivid sparrow
#

what

calm fiber
#

cuz i cant place armour stands in my server

vivid sparrow
#

"your plugin" this is a server where people ask for help with many plugins, be more precise

#

none of clip's plugins does that

calm fiber
#

does your plugin placeholder-api stop us from placing armour stands

vivid sparrow
#

Why would it do that? No

calm fiber
#

ok thanks

sharp jay
#

lol

wary epoch
sharp jay
#

removed it

wary epoch
#

I don't know what "ping if you're not actively involved in a conversation" is supposed to mean, sorry if it was bad

#

Thank you

sharp jay
wary epoch
#

What do you mean with that? :D

I know that it states that it's an unofficial expansion, but as I mentioned, many people just don't read that text, they probably just search "iridium" and install the first expansion. The issue is that IridiumSkyblock 2.6.7 was published on January 7 2021 and is completely incompatible with IridiumSkyblock 3.0.0 - 3.1.6 (every version after 2.6.7). The functionality is integrated in the plugin now.

sharp jay
#

@wary epoch as an admin set it it will be stayed that way but pretty much it was set as unverified @balmy marten (does this mean the command will not work?)

#

As this isn't a verified expansion you can only install this expansion manually.

#

@wary epoch ^

#

via the ecloud website

wary epoch
#

Oh, I see, that helps a lot

sharp jay
#

Ye

limber ice
#

the vault and JavaScript expansion throw null errors

turbid tide
limber ice
turbid tide
#

I've seen this quite a lot lately, from what I've understood the problem could come from plugins that mess with the class loader. Such a plugin is ChatControl. Not sure which others can do this.

limber ice
#

I don;t use chatcontrol, I use dchat

turbid tide
#

yeah but there might be other plugins

limber ice
#

and if I don't run the latest papi dchat will not work

turbid tide
#

that mess with the class loader

#

doesn't need to be a chat plugin

#

what I can recommend is remove your plugins 50/50 until it stops to figure out which one it is.

limber ice
#

ok, all plugins on this server run on another server with no issues, difference is bukkit and paper

#

vault worked on PlaceholderAPI-2.10.10-DEV-132, I get null error on PlaceholderAPI-2.10.10-DEV-133

turbid tide
#

@carmine veldt any comment on this? they get the null version error on PAPI 2.10.10-133 (so latest) but not on build 132.

limber ice
#

javascripts gets null on both

turbid tide
#

oh...

carmine veldt
#

can you send the javascript jar

turbid tide
#

which one stops on 132 then?

limber ice
#

I even have tried running one at a time

#

vault has no error on 132 but don't work

carmine veldt
#

pls send your javascript expansion jar

limber ice
#

I have tried the one from cloud and the javascript one I got from here

carmine veldt
#

what server ver?

limber ice
#

these expansions https://paste.helpch.at/asigopobog.css run fine on Spigot 1.12.2 with PlaceholderAPI-2.10.10-DEV-111, I have tried this same combo on Magma/Paper 1.12.2 and no combo seems to work

#

vault might of been me delete vault from plugins by mistake reboot server now to test

carmine veldt
#

using that jar u sent

#

paper 1.12.2

#

and the latest papi

#

javascript works

limber ice
carmine veldt
#

can u send ur vault jar & vault expansion

limber ice
#

I'm not running normal paper, it's magma/paper

carmine veldt
#

can you link that or send me the jar for it please

limber ice
#

magma allows me to run forge mods

carmine veldt
#

yep magma is the problem

#

when I used magma it broke

limber ice
#

I can make a temp server and pull one mob out at a time to see one of those are my problem, mods can't be removed as easy as plugins without causing issues to the map since they add new blocks

#

you had no mods

carmine veldt
#

yeah no mods

#

just papi plugin and javascript expansion

#

and I got the same null error

#

issue is magma

limber ice
#

I know when I reboot server with someone still connected it may not start back up

#

guess I will have to not use JavaScript placeholders and vault, I can see is ess works

#

javascript just allowed chat colors I'm sure I can figure out another way

#

essentails expansion will not load either, guess I will remove balance from dchat

turbid tide
limber ice
#

I know, I have 4 working and no need to add more yet

#

I see it as use dchat on all servers is more important then a few placeholders

austere hawk
#

Someone can help me ?

turbid tide
austere hawk
#

1.8.8

turbid tide
#

welp. deluxemenus doesnt support that anymore

tender vaporBOT
austere hawk
#

What was the error if not?

turbid tide
#

yes you have to use version 1.10.5

austere hawk
#
    material: INK_SACK
    data: 10
    slot: 11
    display_name: '%javascript_rankColor_getStatus,10%Gold Rank Color'
    lore:
    - '&7Changes the color of the plus in %javascript_rankColor_getRank%'
    - '&7to gold, turning it into %javascript_rankColor_getRankPreview,&6%&7.'
    - '&7'
    - '&7Shown in tablist and also when chatting.'
    - '&7'
    - '&e%javascript_rankColor_getMessage,10%'
    hide_attributes: true
    hide_enchantments: true
    hide_effects: true
    hide_unbreakable: true
    priority: 1
    view_requirement:
      requirements:
        permission:
          type: string equals ignorecase
          input: "%luckperms_inherits_group_mvp+%"
          output: "yes"
    left_click_requirement:
      requirements:
        hours:
          type: '>='
          input: '%statistic_hours_played%'
          output: '10'
          deny_commands:
          - '[sound] ITEM_CHORUS_FRUIT_TELEPORT 1 0.1'
    right_click_requirement:
      requirements:
        hours:
          type: '>='
          input: '%statistic_hours_played%'
          output: '10'
          deny_commands:
          - '[sound] ITEM_CHORUS_FRUIT_TELEPORT 1 0.1'
    left_click_commands:
    - '[console] lp user %player_name% meta setprefix %javascript_rankColor_getMeta,&6%'
    - '[message] &a&lPREFIX &8» &7Changed your prefix to %javascript_rankColor_getRankPreview,&6%&7!'
    - '[sound] BLOCK_NOTE_BLOCK_GUITAR'
    - '[close]'
    right_click_commands:
    - '[console] lp user %player_name% meta setprefix %javascript_rankColor_getMeta,&6%'
    - '[message] &a&lPREFIX &8» &7Changed your prefix to %javascript_rankColor_getRankPreview,&6%&7!'
    - '[sound] BLOCK_NOTE_BLOCK_GUITAR'
    - '[close]'```
#

The menu does not want to open and that puts errors in the console! Do you think it must come from the JavaScript expansion?

turbid tide
#

oh yes @austere hawk the error can show up from the javascript expansion as well. if your server is 1.8 then your java version must be 8 right? you'll probably have to downgrade the javascript expansion as well

limber ice
#

ok pinger expansion has no errors when I parse this it says offline when it is online %pinger_online_127.0.0.1:25450%

#

should I try and downgrade pinger on 1.12.2

austere hawk
turbid tide
austere hawk
#

On the web site there are no javascript versions

turbid tide
simple nova
#

wtf

turbid tide
#

yes?

simple nova
#

after papi reload

#

everything broke

#

😄

#

even restart server

#

some of the placeholders are working

#

but those are not

#

wtf

turbid tide
#

@simple nova do /papi dump and send over the generated link please. also a very useful thing could be your full startup log

simple nova
#

this might help

#

ok

#

it was /papi ecload download quest

#

now i deleted expansion

#

everything is fixed

#

weird

turbid tide
simple nova
#

its mb

#

sry

pulsar cipher
#

%statistic_player_kills% is that wrong?

turbid tide
#

I believe

#

wait let me double check

pulsar cipher
#

le me try

#

nope

#

new message

turbid tide
#

oh nvm. it should be %statistic_player_kills%

pulsar cipher
turbid tide
#

hmm. that's strange

pulsar cipher
#

This server is running Tuinity version git-Tuinity-"4c31ea1" (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 4c31ea1 on HEAD)
You are running the latest version

turbid tide
#

btw. just so you know. tuinity now comes inside paper. so maybe try latest paper build

pulsar cipher
#

I thought it hadn't passed yet? Are they integrated?

turbid tide
#

oh. did they not? I might misremember.

#

tuinity is archived so it must have passed

pulsar cipher
#

ow, thanks for information. Whatever how about player_kills xd

turbid tide
#

well I'm saying try paper just in case

#

something is messed up with the server jar

#

tho I doubt it

pulsar cipher
#

le me sec

turbid tide
#

if it still doesn't work for some reason, test %statistic_PLAYER_KILLS% maybe it doesnt like the lowercase

#

and make sure you have the latest version of the statistic expansion

pulsar cipher
#

i have just installed the expension

#

now, im waiting the server

#

okey
This server is running Paper version git-Paper-378 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: cc2ecbc)
You are running the latest version
Previous version: git-Tuinity-"4c31ea1" (MC: 1.17.1)

pulsar cipher
#

thanks ^^, it must be cause of lowercase

turbid tide
#

yeah. strange tho. I'm 100% sure that it should make it uppercase

#

before trying to get the statistics from paper

#

yeah. the code is there

tired arch
#

Hi I need help with placeholderAPI not noticing that the essentials Expansion is not downloaded. I am also using Magma 1.12.2 so idk if that has anything to do with it but i just would like to have my nicknames working in chat

turbid tide
tired arch
turbid tide
#

you can try the player expansion with the %player_displayname% placeholder

tired arch
turbid tide
#

yeah. /papi ecloud download player then /papi reload

tired arch
#

ah perfect!

#

it works

austere hawk
#

does anyone know where i can download an older version of placeholderapi that supports 1.7?

tender vaporBOT
turbid tide
sick mauve
sharp jay
#

You cant

sick mauve
#

Maybe there is a similar placeholder that I do not know about?

sharp jay
#

havent seen any that supports bold its open src so you can always add it yourself

sick mauve
#

Okay, thanks

austere turtle
#

What's wrong with PlaceholderAPI.setPlaceholders (player, text); In text there are several placeholders in% ...%

#

But nothing happens. Only the placeholder% ...% is output

mint fable
#

several placeholders? do you have an example of the text

limber ice
warm topaz
#

update the server expansion

limber ice
#

thanks, I updated the rest of the expansions, a few show they need update but they are built into the plugin, how do I fix those?

untold tinsel
#

how can i get stsats from offline players like with this for ex %statistic_mob_kills% how can i make that with offline players?

simple nova
#

if %essentialsnick% not working what cause it

#

it worked tho but now it shows the placeholder not the name

austere turtle
tender vaporBOT
austere turtle
#

?

turbid tide
mint fable
turbid tide
#

also what plugin does this clan placeholder come from? can you link

#

?

austere turtle
#

This Plugin use PAPI

turbid tide
#

do /papi parse me %clan_name% while youre on the server and tell me what it says

warm plover
#

Is there a placeholder for a player's name in all lowercase letters?

turbid tide
#

it should be just one line

#
BukkitPlayer.getName().toLowerCase();```
#

literally just this in a js placeholder

warm plover
#

hmm don't really know too much about them but ty

tender vaporBOT
turbid tide
#

here's the wiki for it ^^

warm plover
#

works! ty!

turbid tide
#

👍

turbid tide
# austere turtle %clan_name%

yeah. that means that either that placeholder is not a PlaceholderAPI placeholder, or your expansion is missing or just broken.

#

you'll have to ask the developer of that plugin to see what's going on

austere turtle
#

Ok

#

Thanks

austere hawk
#

Hi!

#

How do i activate placeholder?

sharp jay
#

wym

tender cliff
#

Hi

#

I try to install placeholderapi skript extension but its not working

plain sequoia
snow whale
#

hey.. so when i change the group/rank prefix to hex codes in luckperms it looks fine in tab (using bungeetabplus) but in chat it keeps the '&' for some reason, using deluxechat.. tried all different placeholders.. vault, luckperms etc.. all keep the '&'
any ideas? xd

tender cliff
#

But i thinking i am using a old version of skript. Can that be the problem?

tender cliff
#

i tried

hasty iris
#

When you kill 1 person, it should write 1 kill, but it writes 20 kills, what is the reason? https://prnt.sc/1zkd76e I use "d%statistic_player_kills%"

turbid tide
turbid tide
obtuse tulip
#

hey folks, im trying to get a command working in skript and its doing my head in. I had everything right up until the point where i realised that luckperms doesnt play nicely with skript. so ive setup placeholderapi and downloaded the luckperms and skript extensions and im still struggling.

can someone please have a quick look at this code and let me know what im doing wrong? Thanks so much

every 10 minutes:
    loop all players:
        if {play::%loop-player%::time} is greater than or equal to 10 minutes:
            if loop-player %player_has_permission_<discord.nolink>% contains "yes":
                send "You need to link your account" to loop-player
                send "Go to blah blah" to loop-player
        else:
            stop
sharp jay
#

why skript 😭

obtuse tulip
#

lol i asked the guys over in the skript discord the same question and they said why luckperms and then pointed me to the placeholderapi link

sharp jay
#

skript aint good

obtuse tulip
#

what would you suggest instead that can achieve what im trying to do?

sharp jay
#

making an actual plugin

obtuse tulip
#

i wouldnt even know where to start

fervent spire
vague crane
#

[06:19:39 ERROR]: [PlaceholderAPI] failed to load class files of expansions
java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot invoke "java.lang.Class.getClassLoader()" because "result" is null
why does this happen on startup sometimes?

#

it fixes with a reboot but comes back randomly

stoic grove
obtuse tulip
#

tried that with no luck. i think its an issue with skript not reading %player_has_permission_discord.nolink%

i thought skquery allowed skript to use placeholderapi variables but i dont think thats the case

stoic grove
#

ah

obtuse tulip
#

Yeah. So I’ve just installed Ersatz which I think is going to solve the issue but I’m giving up for the night. Thanks for the suggestion though

turbid tide
shut mountain
#

Hey guys, i need someone to help me, i use %player_first_join_date% as first join date BUT some players even me have bug, where the first join date resets randomly. For me my first played was 9.3.2021 and now its 14.11.2021 - the exact time matches with time that was "disconnect by myself"

#

Need to mention i use ForceResourcepacks, if player declines it, it kicks them (dont know if it can be doing something with papi or not)

elder palm
shut mountain
#

UUID is same

#

thats the weird part

#

new UUID would case item delete

turbid tide
# shut mountain UUID is same

well not sure this is fixable from PlaceholderAPI either way. The Player expansion just takes the time from spigot itself which takes it from the world/playerdata/<player-uuid>.json file.

#

as Zeromaniac said, either you have plugins messing with uuids, either you have plugins messing directly with the data file or your uuid changed

scarlet compass
#

Who to find a scoreboard plugins that does not need PlaceHodlerAPI or if you can find version 1.7.10

craggy ravine
#

Hello, it say failed to load class file expansion how do i fix this

turbid tide
craggy ravine
#

oh sorry, i already fix it, turn out there is one expansion that is not working(?)

smoky spoke
turbid tide
smoky spoke
#

actually im just asking questions on behalf of another person
that person downloaded the math placeholder with the /papi ecloud download Math command
and that error appeared

royal latch
#

and that person is me.

#

so you can aske me here.

royal latch
turbid tide
#

also is that the entire error?

royal latch
#

1.12.2 with java 8

turbid tide
#

ah. that might explain it. the Math expansion will require java 11 to work properly

royal latch
#

i see, so there is no way to fix it right?

turbid tide
#

you could possibly go down a few versions and use that. but it will be using a different format and could have some bugs

modern lynx
#

how can I use RelCon expansion? none of the placeholders work

swift ravine
#

can i have some help?

turbid tide
swift ravine
#

I got a new extended storage devise for my computer and I have set it up and it appears on my files and it works as I have tried installing a game on it but there is an application I'm trying to download on there but it download on my normal storage which is full and cant download it is there any way to make it to download it on the extended storage device?

turbid tide
swift ravine
#

ok

#

thanks

modern lynx
#

how can I use RelCon expansion? none of the placeholders work

austere hawk
#

Can someone help me? I'm having these errors when I try to display some information.

#

[23:54:54] [Craft Scheduler Thread - 43/WARN]: [PlaceholderAPI] [Math] Invalid Placeholder detected!
[23:54:54] [Craft Scheduler Thread - 43/WARN]: [PlaceholderAPI] [Math] Placeholder: %math_([precision:0]{statistic_minecart_one_cm}/100)%
[23:54:54] [Craft Scheduler Thread - 43/WARN]: [PlaceholderAPI] [Math] '([precision:0]0/100)' is not a valid Math Expression.

vivid sparrow
#

%math_0:_{statistic_minecart_one_cm}/100%

#

@austere hawk

modern lynx
#

Is there a way to learn a player's name from their UUID with a placeholder?

turbid tide
#

if you know javascript you could use the javsacript expansion to make it

#

to make a placeholder that does that*

#

actually. not sure its possible with the js expansion

modern lynx
#

nah I don't

#

thanks

turbid tide
#

you might need a custom expansion for that

modern lynx
#

ok

junior musk
turbid tide
#

welll

#

you see

junior musk
#

well, that would only work with online player though

turbid tide
#

no

#

bcz

#

getPlayer requires UUID

#

not a string

junior musk
#

oh I see, and I guess there isn't a way to get an UUID from a string within JS ?

#

or at least, the Java UUID class

turbid tide
#

Yeah

vivid sparrow
#

You can call java stuff from js

#

for nashorn you use Java.type("") or smth

turbid tide
vivid sparrow
#

🙂

turbid tide
#

gaby any chance you know what it is for quick js? been looking around and I found something about JavaClass.forName but doesn't work. it doesnt exist basically

vivid sparrow
#

no clue

elder flax
#

I've tried this placeholder: %rel_relcon_player_group.default_&a%%rel_relcon_viewer_group.default_&c%
and it gives red on both player and viewer
why?

sterile vigil
#

I get package me.clip.placeholderapi does not exist when I try to compile my plugin, I'm just trying to hook into PlaceHolderAPI
I added this to my pom.xml

            <repository>
                <id>placeholderapi</id>
                <url>https://repo.extendedclip.com/content/repositories/placeholderapi/</url>
            </repository>

and

        <dependency>
        <groupId>me.clip</groupId>
        <artifactId>placeholderapi</artifactId>
        <version>2.10.0</version>
        <scope>provied</scope>
        </dependency>

When I import import me.clip.placeholderapi.PlaceholderAPI; it's blue (the normal color) and its not grayed out.

Don't exactly know how to fix this... pointers?

austere hawk
sterile vigil
#

anyone?

warm topaz
#

also, did u mean 2.10.10 version? because 2.10.0 is like 2 years out of date

sterile vigil
sterile vigil
warm topaz
#

that is what is weird, but my guess is that the IDE doesnt read the scope value, so it works, but when compiling it will error on mavens end (just a random guess)
could also be a cache issue thats causing the inconsistency between maven and IDE

#

also, what wiki are u looking at? because on github its fine, which is the latest wiki

sterile vigil
#

Okay I think I see the issue

#

Let me try something

sterile vigil
#

thank you very much!

elder flax
#

I've tried this placeholder: %rel_relcon_player_group.default_&a%%rel_relcon_viewer_group.default_&c%
and it gives red on both player and viewer
why?

austere hawk
#

I have a problem with the variable vault in papi

sharp jay
#

?help

tender vaporBOT
sharp jay
#

@elder flax what plugin

hoary elm
#

Hi, i'm having this problem when i use /papi ecloud download Vault, and then /papi reload. I'm using a magma server.
https://pastebin.com/FpRD6WyS

warm topaz
#

i think the issue here is magma

#

other people have reported this issue, all with magma

hoary elm
#

Thanks

hard wolf
#

Is it possible to run place holder API with mohist?

turbid tide
#

so you can run only a few expansions

elder flax
tender vaporBOT
turbid tide
#

because plugins need to specifically support relational placeholders otherwise they won't be parsed right

elder flax
#

I used /papi parserel to test it, and I was using it on TAB

#

Also I think TAB supports it because owner told me to ask it there

turbid tide
#

ok. just to make sure. have you read the wiki for the relcon expansion to see how it works?

elder flax
#

Yes.

turbid tide
#

sad

thorn thunder
#

We could add our own api if needed

#

If there any specific use-case where thats needed?

turbid tide
#

if you want. but I personally wouldn't use it anyways

thorn thunder
#

ah, nvm then

turbid tide
#

and to do that I would've needed the UUID class

thorn thunder
#

hmm

turbid tide
thorn thunder
#

I think its possible with some reflection

#
BukkitServer

provides Server, which has the getOfflinePlayer method

#

if you reflectively try to get the first argument, you should get the UUID class

elder flax
#

/papi parserel PlayerOne PlayerTwo %rel_relcon_player_group.default_&a%%rel_relcon_viewer_group.default_&c%

thorn thunder
#
const a = BukkitServer.getClass().getMethods()
var uuidClass

for (i : a) {
  if (i.getName() != "getOfflinePlayer") continue;
  uuidClass = i.getParameterTypes()[0] 
}
turbid tide
#

alr

turbid tide
elder flax
#

/papi parserel PlayerOne PlayerTwo %rel_relcon_player_group.default_&aasdasd%%rel_relcon_viewer_group.default_&casdasd%

turbid tide
#

so finally got minecraft to run.

turbid tide
#

is that what youre trying to do?

elder flax
#

Actually I just want every player to see their name green and red for others. I don't know why this thing require permission

#

So I entered a random permission which is everyone has

turbid tide
#

oh

#

I don't think you can use the relcon expansion for that

#

you might need a custom expansion for that as I don't think there is one that does what you need or can do what you need

elder flax
#

😦

turbid tide
#

yeah. the problem is that this expansion checks for permissions. not something else. if it would let to check for name for example, we could do that but it doesn't

elder flax
#

okay

turbid tide
#

printing a I get [Ljava.lang.reflect.Method;@21e06d3a

#

its not an array

olive frigate
#

Heyo! Im trying to parse 2 placeholders into one, i only dont know how. I am trying to get the world time of the world that the player is in with %world_time24_<world>*, only the <world> differs between players and i dont know how i can make it take the %player_world% value

turbid tide
olive frigate
#

that indeed works! i dont know why i didnt see them. Thanks!

hard wolf
#

Its the core one too :(

turbid tide
#

so basically { instead of % for the inner placeholders

turbid tide
hard wolf
#

Alright I will go over there Thanks :)

finite bluff
#

Hey guys so im trying out PAPI for the first time and i've run into this issue i cant figure out how to solve

I have a scoreboard dummy objective called sidebarcountdown that holds a number

when i parse this for myself with sidebarcountdown = 120
%changeoutput_equals_{objective_score_sidebarcountdown}_-1_Waiting..._{formatter_number_time_{objective_score_sidebarcountdown}}%
It outputs {formatter
I expected it to output 2m

when i parse this for myself with sidebarcountdown = 120
%formatter_number_time_{objective_score_sidebarcountdown}%
Its outputs 2m as expected

and if i replace {objective_score_sidebarcountdown} in the main placeholder with 120 literally, it works just fine

Is there a limit on how much you can nest placeholders? How can i make this work?

junior musk
#

unfortunately you can't parse nested placeholders within nested placeholders

#

so your method won't work

finite bluff
#

:(

#

is there any other quick way to do what im doing?

junior musk
#

though you could use the JavaScript expansion to do that

finite bluff
#

hm okay i will try that

#

thank you:)

junior musk
#

/papi ecloud download Javascript
/papi reload
go in /plugins/PlaceholderAPI/ and open javascript_placeholders.yml, add

objective:
  file: objective.js

in it
then go in /plugins/PlaceholderAPI/javascripts/ and create a file called objective.js

open that file and put this in it:

function objective() {
    var obj = PlaceholderAPI.static.setPlaceholders(BukkitPlayer,"%objective_score_sidebarcountdown%")
    return obj == -1 ? "Waiting..." : PlaceholderAPI.static.setPlaceholders(BukkitPlayer,"%formatter_number_time_"+obj+"%")
}
objective()

/papi reload
and then you can use %javascript_objective%

#

@finite bluff

turbid tide
junior musk
#

oops

#

forgot to change from the old msg 😅

#

thx

turbid tide
#

👍

finite bluff
thorn thunder
tender vaporBOT
thorn thunder
#

You can use .forEach

#

Man barry ffs

tender vaporBOT
timid fox
#

guys

#

how to unregister my expansion when plugin is disabled

#

i see no unregister method

#

(api)

#

or does it do it auto?

turbid tide
# timid fox or does it do it auto?

I mean your plugin should only be disabled when the server stops anyways. And yeah I believe it auto unregisters. there's no unregister method that's for sure

#

actually. there might be some but you're not meant to use it

timid fox
#

(simply when using a plugin manager)

turbid tide
#

yeah. people should not use those.

#

you should not bother fixing your plugin for people that use those

grand cosmos
#

Hello,

I get an error message with PAPI: https://pastebin.com/G84ke8Pm

I am in 1.12.2, I have the latest version of PAPI (I tried 2.10.9) & the latest version of SaberFaction.

Do you have an idea?

ancient marsh
junior musk
#

try to redownload the Player and Mvdw expansions

#

/papi ecloud download Server
/papi ecloud download Mvdw
/papi reload

#

if it keeps happening, check in your Expansions folder in your PlaceholderAPI folder if you don't have the expansion files 2 times

ancient marsh
#

Okay

#

As on featherboard all my placeholders are coming up empty l

junior musk