โ Time#
#bs.time:help
Get system time information effortlessly.
Enable Command Blocks
This module uses a command block to get the system time. For the time to be displayed as intended, be sure that both the command_blocks_work and send_command_feedback game rules are set to true.
๐ง Functions#
You can find below all functions available in this module.
System Time#
- #bs.time:get
Get the system time corresponding to the real hours, minutes, and seconds.
- Outputs:
Score
$time.hours bs.out: System time hours.Score
$time.minutes bs.out: System time minutes.Score
$time.seconds bs.out: System time seconds.
Example: The moment we all dread:
function #bs.time:get
tellraw @a [{"text":"It is "},{"score":{"name":"$time.hours","objective":"bs.out"}},{"text":"h, "},{"score":{"name":"$time.minutes","objective":"bs.out"}},{"text":"m and "},{"score":{"name":"$time.seconds","objective":"bs.out"}},{"text":"s. Time to wake up!"}]
Credits: Aksiome
๐ฌ Did it help you?
Feel free to leave your questions and feedback below!