Forumskeyboard_arrow_right Communities keyboard_arrow_right Redstone

Create Forum Thread
1

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

1 emeralds8 replies84 views
created 09/22/2019 9:06 pm by melennui
last reply 09/24/2019 8:46 pm
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 avatar
melennui
Level 1 : New Miner
0

comment Login or register to post a reply.

8 replies

2
09/23/2019 2:37 am
Level 10 : Journeyman Modder
HoboMaggot
/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
What do you mean by "repeating/chain"?
2
09/24/2019 4:08 am
Level 10 : Journeyman Modder
HoboMaggot
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
I get what you mean. Thanks for the help
1
09/23/2019 6:04 pm
Level 1 : New Miner
melennui
thank you! i'll go try it now c:
1
1
09/23/2019 2:33 am
Level 10 : Journeyman Modder
HoboMaggot
Thats outdated to only 1.12
1
09/23/2019 6:04 pm
Level 1 : New Miner
melennui
yea, i saw that one, but it wasn't working. i soon later found out it was outdated.

Planet Minecraft

Browse

Site

© 2010 - 2019
www.planetminecraft.com

Welcome