1

Can I use a command block to say a message at a certain time every day?

melennui's Avatar melennui9/22/19 9:06 pm
1 emeralds 1.3k 8
9/24/2019 8:46 pm
melennui's Avatar melennui
I'm not sure if command blocks count as redstone, but I need help regardless, because I'm sure redstone is involved. Anyways, I'm pretty nooby when it comes to command blocks and redstone. I'd like (at 12000) every minecraft day for a command block to say "You best be heading to bed... ", but obviously, I can't execute that. I found an old forum post about this, but the commands were a bit outdated, so it wasn't working. I hope somebody can help, and if they have additional questions on the specifics of what I want, I'll be sure to respond.
Posted by melennui's Avatar
melennui
Level 1 : New Miner
0

Create an account or sign in to comment.

8

2
09/23/2019 2:37 am
Level 51 : Grandmaster Blob
HoboMaggot
HoboMaggot's Avatar
/scoreboard objectives add time.message dummy

Repeating command block, active: /execute store result score @a time run time query daytime

Then repeating/chain command block,active: /execute as @a[scores={time.message=12000}] run tellraw @s {"text":"You best be heading to bed..."}
1
09/23/2019 6:13 pm
Level 1 : New Miner
melennui
melennui's Avatar
What do you mean by "repeating/chain"?
3
09/24/2019 4:08 am
Level 51 : Grandmaster Blob
HoboMaggot
HoboMaggot's Avatar
command blocks have 2 other options.
One that repeats infinitely as long as it is powered and the other executes the command after the first has been executed
1
09/24/2019 8:46 pm
Level 1 : New Miner
melennui
melennui's Avatar
I get what you mean. Thanks for the help
1
09/23/2019 6:04 pm
Level 1 : New Miner
melennui
melennui's Avatar
thank you! i'll go try it now c:
1
2
09/23/2019 2:33 am
Level 51 : Grandmaster Blob
HoboMaggot
HoboMaggot's Avatar
Thats outdated to only 1.12
1
09/23/2019 6:04 pm
Level 1 : New Miner
melennui
melennui's Avatar
yea, i saw that one, but it wasn't working. i soon later found out it was outdated.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome