#Question on Bossbars/functions
1 messages · Page 1 of 1 (latest)
make a bossbar with skbee with title "5:00" and progress 100
then in a while loop set the title of that bossbar to the time left on your timer
and set the bar progress to (remaining time/total time)*100
then how would i check when its done?
and then what are the functions for events during that?
i usually use (player) for everything
sure
and then it will be a command that would do it
but when do you want it to start
to force it to happen
and most likely a timer
ik i did that
okay
now make a bossbar in that command
Create your own custom BossBar.
NOTE: Progress is a number between 0-100.
NOTE: This just creates a new custom bossbar. It will by default not be visible to anyone
until you actually add players to it. See examples!!!
NOTE: The ID is optional. If excluded, the BossBar will not save to the server.
Consider increasing someone's reputation with </reputation increase:1458495875985969212> if you found them to be helpful!
ok
then set some var to like 5 mins from now
and make a while loop that runs while that var > now
and then you can have a new value inside the loop that is the difference between the var and now
which will tell you how much time is left
so you can set the bossbar title to that
and then calculate the bar progress
sure
ok good
Question rq
its not based on the titles but its jst on the message
bc rn it says 1 thing like double money
but then it gives something else completely