#scoreboard placeholders display
1 messages · Page 1 of 1 (latest)
Define “doesnt work”
the placeholder doesn't display what it should display and instead displays the litteral name of the placeholder like %placeholder%
Well, are you connecting to the other stuff?
how 💀
@signal raven
You can't use placeholders in default skript
You need Skript-placeholders
yes I have that
then use
how
%placeholder "placeholder_no_percentages" from player%
obv check docs
thats just what I remember
so u cant use the placeholder itself in skript u have to use skript-placeholder addon
#then uh %{_pholder}% in ur sidebar```
@sand arch
skript:
hey
hey
uhh
do I have to download something?
yes
0
command /ping <player>:
trigger:
set {_ping} to placeholder "player_ping" from arg-1
send "Ping of %arg-1%: %{_ping}%" to player```
try this
replace arg to player
like this?
that gives this if I do /ping Blokking02
@sand arch 🙄
ur placeholder is {next} and u are sending {_ping}
yup
displays this which is right i think cause I havent set a time for it yet.
why is it not working on the scoreboard tho
know uhh
try
set {next} to placeholder "ikoth_next" from player
then use %{next}% in ur scorebaord```
maybe using a time formatting function
just use skbee's hours/minutes of
where do I put that in the skript?
The line of the scoreboard you want to edit
its koth plugin not custom so i dont think it will work as they want it to work
I don't understand where/how to add that part lol
inside the text
in percents cause its an expression
broadcast "it has been %hours of 10 days% hours since aliens invaded Earth"
hours of 10 days -> 240
inside the % ?
you really like that vid huh
why is there a "/" and you can only pick one
hours or minutes
or you can check if its < 1 hour, then switch to minutes
i want it to display in hours:minutes:seconds
is next a timespan, or is it a time
if its a time use the difference between it and now
what is that and how do I make that sir
you can make it will the same skbee expression, or theres a bunch of snippets already
you send that video to everyone
yes i do
set {_KothM} to 10
set {KothTrue} to false
every 1 seconds:
if {KothTrue} is true:
remove 1 from {_KothS}
else if {_KothS} < 1:
remove 1 from {_KothM}
add 60 to {_KothS}
else if {_KothM} < 1:
add 1 to {KothMaybe}
else if {_KothS} < 1:
add 1 to {KothMaybe}
else if {KothMaybe} > 1
broadcast "&6KOTH EVENT HAPPENING NOW!" # You can edit this to something else
teleport loop-player to location "# Location" in world "# world"
set {_KothS} to 600
set {KothTrue} to True
command viewkoth:
# You can add a permission etc here
trigger:
send "&6• &7KOTH in: &e%{_KothM}%: %{_KothS}%"
else if {KothTrue} is true:
send "&6What you waiting for the koth event is live RN!" # You can edit this message as well
wait 5 minutes: # Edit the '5' to the number of minutes the Koth Event should last
if {KothTrue} is true:
send "&6&lThe Koth Event is over!" # You can edit this message as well
set {KothTrue} to false:```
Keep in mind @signal raven That you may need to indent it further as I'm not the best at indenting
@full turtle You could probably indent it to make it work completely
Oh and don't say 🥣
why did you ping x8ight?
for no reason
yeah, don't do that
y not
Did you just ask me to… improve your spoon-feeding?
Why did you ping me again?? Im right here
lol
You literally created the code for them, yes it is
That just means its more important they can do it themselves
I'm alright with sharing code with ppl if they need it
Hes been waiting for 12 days now
Well you giving them the solution prevents then from coming up with their own and growing as a result
And besides, there are a few flaws in it, and they are using a placeholder not a variable
varibles work
I use varibles in my code most of the time
its basically like custom placeholders
Yes, but they are getting the time until the next from another plugin
Not a variable
u havent read their ticket correctly they are using a koth plugin so making custom variables / skript wont fix their problem
yea i've been starving
The plugin itself also has no option to configurate this, does that mean no solution? (using skript)

