13: Using a timer to run commands [Minecraft Map Making]
Ep13: Running a sequence of commands using a timer.
Originally for Udemy, but uploaded here.
Commands, builds and ideas for people making their own Minecraft maps.
Check out my collabs on Coppit's channel: https://www.youtube.com/c/CoppitJ
Join the server I play on and the Discord where I hang out.
Server IP: 51.81.246.145:25588
Discord: https://discord.gg/KNSmPWdnfG
Udemy notes. YouTube formatting may make some of these wrong. :)
Commands used:
Create the scoreboard objective:
scoreboard objectives add demoTimer dummy "Demo Timer"
Increment any players score:
scoreboard players add fakePlayer demoTimer 1
execute if score fakePlayer demoTimer matches 20 run say 1
execute if score fakePlayer demoTimer matches 40 run say 2
execute if score fakePlayer demoTimer matches 60 run say 3
execute if score fakePlayer demoTimer matches 80 run say 4
execute if score fakePlayer demoTimer matches 100 run say 5
execute if score fakePlayer demoTimer matches 120 run setblock 22 56 5 white_wool replace
execute if score fakePlayer demoTimer matches 120.. run scoreboard players set fakePlayer demoTimer 0
To add the scoreboard objective to the sidebar:
scoreboard objectives setdisplay sidebar demoTimer
To remove the scoreboard objective from the sidebar:
scoreboard objectives setdisplay sidebar
Other Videos By Infernal Device
Other Statistics
Minecraft Statistics For Infernal Device
At present, Infernal Device has 184,447 views spread across 877 videos for Minecraft, accounting for over 10 days of watchable video on his channel. This is 94.82% of the total watchable video for Minecraft on Infernal Device's YouTube channel.