Closed Andre601 closed 3 years ago
Yes, that would be very cool, I have the same issue.
Spaces: Put them where you need a space anyway, for some reason a space has been necessary to trigger the hologram to update.
Colors: Put codes after refresh placeholders {slow}&b%server_online%
instead of &b{slow}%server_online%
Thanks for nothing... It's not like I mentioned this before. -_-
...and I need colour from the previous placeholder...
Should be able to do the same
{slow}%placeholder_with_colour%Some text
lmao, I need colour from the first placeholder on the second placeholder.
Can this not be handled through like commands? I mean HD itself also has updates for like server placeholder and something, so perhaps something similar rather than a dedicated placeholder would be better.
@MaximMaximS How are you arranging the placeholders currently?
Can this not be handled through like commands? I mean HD itself also has updates for like server placeholder and something, so perhaps something similar rather than a dedicated placeholder would be better.
I am open for any ideas that can improve/overhaul the current "refresh holder" method. Holographic extension is also open sourced. PRs are welcome if you feel up to it.
@MaximMaximS How are you arranging the placeholders currently?
Can this not be handled through like commands? I mean HD itself also has updates for like server placeholder and something, so perhaps something similar rather than a dedicated placeholder would be better.
I am open for any ideas that can improve/overhaul the current "refresh holder" method. Holographic extension is also open sourced. PRs are welcome if you feel up to it.
&6{medium}%parseother_{parkour_leaderboard_svarta_player1}{luckperms_prefix}%{medium}%parkour_leaderboard_svarta_player_1% &e- {medium}%parkour_leaderboard_svarta_time_1% - Smrti: {medium}%parkour_leaderboard_svarta_deaths_1%'
Or just like {medium}%parseother_{parkour_leaderboard_svarta_player1}{luckperms_prefix}%{medium}%parkour_leaderboard_svarta_player_1%
You only need 1x{medium}, can use:
&6%parseother_{parkour_leaderboard_svarta_player_1}_{luckperms_prefix}% %parkour_leaderboard_svarta_player_1% &e- %parkour_leaderboard_svarta_time_1% - Smrti:{medium}%parkour_leaderboard_svarta_deaths_1%'
Or move the {medium} somewhere else, if it interfere with colours
Can it be after placeholder?
When you set a line like
/hd addline test Currently Online: &b{slow}%server_online%
does the extension remove any color code whatsoever set before the{slow}
placeholder.This doesn't happen when setting the color/formatting code after it, but it's still annoying.
Additionally does the placeholder add an extra space, which would be nice, if it could be removed in some way.