#creating placeholder

1 messages · Page 1 of 1 (latest)

worthy field
#

does anyone know how to make a placeholder. Cause I have a boosting skript to boost the amount of blocks you get when mining a block, and I want it to be shown on the scoreboard.

wild kestrel
#

Just make a variable

#

and display that on the scoreboard

worthy field
#

how?

worthy field
# wild kestrel Just make a variable

command /zcboost2:
permission: boostboxc.use
permission message: &c&LYou do not have permsission for this command!
trigger:
execute console command "/discordsrv broadcast 2x Box boost enabled for 300 seconds!"
execute console command "/sk enable 2xboost.sk"
broadcast ""
wait 150 seconds
broadcast ""
broadcast ""
broadcast ""
broadcast "&6&l2x Box boost disabling in 150 seconds."
broadcast ""
broadcast ""
wait 150 seconds
execute console command "/sk disable 2xboost.sk"
broadcast ""
broadcast ""
broadcast "&c&l2x Box boost disabled."
broadcast ""
broadcast ""
broadcast ""

this is the skript, i want to make it so on the scoreboard it shows if the boost is active

wild kestrel
#

So

#

You can set a global {variable} to whatever boost you want it to have

worthy field
#

can you send the skript line cause im really lost

#

like what i need to put in

wild kestrel
#

So just set that variable to true, wait those 300 seconds, delete the variable

#

And in the scoreboard,

#

then just check if the variable is set

#

if so, set the line to something

#

else, don't set the line or set it to something like No current boosts active.

worthy field
#

i just started skripting

wild kestrel
#

set the variable to true

#

so set {variable} to true

#

and then after you've waited 300 seconds, which is already implemented in your skript, you can just delete that variable

#

Wait...

#

Are you making the scoreboard with skript?

worthy field
#

no

#

im using the TAB plugin

#

is that ok/

wild kestrel
#

to make a scoreboard?

worthy field
#

yes

worthy field
wild kestrel
#

well

#

now you have a random indentation

#

...

worthy field
#

oh

wild kestrel
#

But also, you can't use the TAB plugin to make a scoreboard.

#

A scoreboard is on the side of the player's screen

worthy field
#

i did

wild kestrel
#

Show me a screenshot?

#

I never knew you could

worthy field
#

the config or the scoreboard/

#

?*

wild kestrel
#

The scoreboard

worthy field
wild kestrel
#

wow, nice

#

Never knew you could

#

Yeah, you'll have to make a placeholder

#

I'm not exactly experienced in that, somebody else may be...

worthy field
#

ok

wild kestrel
#

Or you could make the scoreboard with skript

worthy field
#

ill see if anyone else can help