#Placeholder within a placeholder?

1 messages · Page 1 of 1 (latest)

unkempt gulch
#

Is it possible to have a placeholder within a placeholder and have it work corrently without giving any issues?
Something like
%%party_member_1%health%

manic flax
#

%utils_parse_party_member_1{player_health}%

#

/papi ecloud download Utils
/papi reload

#

not sure if that placeholder is valid tho

#

but essentially, it's %utils_parse_placeholder1_{placeholder2}%

unkempt gulch
#

Ahh

#

Ty

unkempt gulch
#

I can't test this because my lonely ass got no friends who can help test

shrewd karma
#

as long as the MD expansion sets bracket placeholders, yes you can do that

unkempt gulch
unkempt gulch
#

I need the username from the 1st placeholder to go as the input for the 2nd placeholder

unkempt gulch
#

I changed the order and get this

unkempt gulch
#

Please ping when you reply

manic flax
#

you want the health of the player returned in the other placeholder?

unkempt gulch
manic flax
#

oki

#

%utils_parseplaceholder:[{md_party_member_1}]_player_health%

#

though it may not work, idk why but your party member placeholder returns a color with the player name

#

so it may not detect the player correctly

#

you'll probably need to find another placeholder that returns the name without colors, or ask the dev to make one

unkempt gulch
#

because I got essentials

manic flax
#

try disabling change-displayname in your Ess config

unkempt gulch
unkempt gulch
#

Oh well

#

I made an issue at their git

#

@manic flax seems like none of their placeholders work anymore

manic flax
unkempt gulch
#

ok they finally fixed it @manic flax

unkempt gulch
#

@manic flax anything wrong I am doing ?

#

Am trying to take player name and display it's health

#

Player name comes from %md_party_member_#%
and I want that to pass into a %Player_health% to get their health

#

and display that on a scoreboard

manic flax
#

use parseplaceholder, not parserelplaceholder

#

and remove the <>

#

and you need {} around the md placeholder (inside the [])

manic flax
unkempt gulch
#

@manic flax none of them work for some reason

#

wait nvm

#

I forgot to download utils expansion on new server

cerulean dust
unkempt gulch
#

@manic flax might be of interest to you.

cerulean dust
#

I haven't found one that is useful yet, something is wrong with your placeholder because it does give me back the life of each member but it causes a lot of lag

manic flax
#

though this seems weird because the error is thrown after I try parsing placeholders within the utils placeholder, though it worked fine when AnimatedScoreboard parsed placeholders with the same method

#

can you send your server startup logs?

unkempt gulch
unkempt gulch
#

The scoreboard plugin works fine if we don't use PAPI

#

it's not an issue with the scoreboard plugin I think

manic flax
#

I see a different error though I don't think I can do anything about that

unkempt gulch
#

I config , not make plugins so I have no idea

manic flax
#

idk either

unkempt gulch
manic flax
#

I don't know ;-;

unkempt gulch
#

What else u need?

manic flax
#

I don't know either ;-;

unkempt gulch
#

What does htis message mean

#

then

cerulean dust
unkempt gulch
cerulean dust
unkempt gulch
#

Any chance that you know how to use it?

split zinc
#

utils also has parseother if you're already using that @unkempt gulch

#

%utils_parseother:[name]_<placeholder>%

#

%utils_parseother:[cj89898]_player_name%

unkempt gulch
#

Utils does that but is heavy on the server

split zinc
#

utils is the only expansion that allows nesting of placeholders

#

most support one internally with {}, but with parseother that might break because it uses {}