Security Cameras

Commands to run once:

Impulse Command Block, command block, Minecraft, cmd, Cimap, one command, Command Blocks

summon ArmorStand ~ ~-1.75 ~ {Tags:[Tcmra],Invisible:1,Marker:1,NoGravity:1,Passengers:[{id:Villager,Age:-1000000,Invulnerable:1,NoAI:1,ArmorItems:[{},{},{},{id:skull,Damage:3,Count:1,tag:{SkullOwner:{Id:"441d0de8-29ee-4f0c-a202-a03c22198d1a",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2RiODM1ODY1NDI5MzRmOGMzMjMxYTUyODRmMjQ4OWI4NzY3ODQ3ODQ1NGZjYTY5MzU5NDQ3NTY5ZjE1N2QxNCJ9fX0="}]}}}}],Silent:1,ActiveEffects:[{Id:14,Duration:9999999,ShowParticles:false}],Tags:[Tcmra,TcmraV]}]}

Impulse Command Block, command block, Minecraft, cmd, Cimap, one command, Command Blocks

summon ArmorStand ~ ~-1.45 ~ {Tags:[mntrA,mntrC],NoGravity:1b,Marker:1b,Invisible:1,Passengers:[{id:"Skeleton",Tags:[mntrA],NoGravity:1b,SkeletonType:1,ArmorItems:[{},{},{},{id:skull,Damage:3,Count:1,tag:{SkullOwner:{Id:"8686afe6-e01a-46b3-9b37-3c740964b637",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzc0MTcwYzY2YmYzMTQwZjIzNGIzMjJhZGQ3MjRjNWRmNjk0OWE5MjA5ZjgwN2ViZjg2ZDRmOWM4YzFlMTc4In19fQ=="}]}}}}],Invulnerable:1,PersistenceRequired:1,NoAI:1,Silent:1,ActiveEffects:[{Id:14,Amplifier:1,Duration:199999980,ShowParticles:0b}]}]}

Impulse Command Block, command block, Minecraft, cmd, Cimap, one command, Command Blocks

scoreboard objectives add spyOBJ4 dummy

COLUMN 1

tellraw @a[tag=camGUI] ["",{"text":"\n\n\n\n\n\n\n\n\n\n\n\n\nWelcome to the Security Cameras Monitor!\n\n\n","color":"gold","bold":true},{"text":"           [Enter Camera View]\n\n","color":"dark_green","bold":true,"clickEvent":{"action":"run_command","value":"/scoreboard players set @p spyOBJ4 1"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"See through one of the cameras you placed."}]}}},{"text":"\n                           [EXIT]","color":"red","bold":true,"clickEvent":{"action":"run_command","value":"/scoreboard players set @p spyOBJ4 0"},"hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Exit Camera View"}]}}}]

execute @e[tag=mntrC] ~-1 ~ ~ scoreboard players tag @a[r=1] add camGUI

execute @e[tag=mntrC] ~ ~-1 ~1 scoreboard players tag @a[dx=-2,dy=2,dz=-2] remove camGUI

Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Repeat Command Block, Blue Command Block, Minecraft, cmd, Cimap, one command, Command Blocks

COLUMN 2

execute @a[score_spyOBJ4_min=2] ~ ~ ~ tp @p @e[tag=TcmraV,c=1,r=1]

/scoreboard players set @a[score_spyOBJ4_min=1,score_spyOBJ4=1] spyOBJ4 2

execute @a[score_spyOBJ4_min=1,score_spyOBJ4=1] ~ ~ ~ playsound entity.experience_orb.touch master @p ~ ~ ~ 1 1.5

execute @a[score_spyOBJ4_min=1,score_spyOBJ4=1] ~ ~ ~ tp @p @r[type=Villager,tag=TcmraV,rm=1]

execute @a[score_spyOBJ4_min=1,score_spyOBJ4=1] ~ ~ ~ gamemode 3 @p

Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Repeat Command Block, Blue Command Block, Minecraft, cmd, Cimap, one command, Command Blocks

COLUMN 3

scoreboard players reset @a[score_spyOBJ4_min=0,score_spyOBJ4=0] spyOBJ4

execute @a[score_spyOBJ4_min=0,score_spyOBJ4=0] ~ ~ ~ playsound entity.experience_orb.touch master @p ~ ~ ~ 1 0

execute @a[score_spyOBJ4_min=0,score_spyOBJ4=0] ~ ~ ~ gamemode 0 @p

tp @a[score_spyOBJ4_min=0,score_spyOBJ4=0] ~-1 ~1 ~ -90 20

execute @a[score_spyOBJ4_min=0,score_spyOBJ4=0] ~ ~ ~ tp @p @e[tag=mntrC,c=1]

Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Chain Command Block, Green Command Block, Minecraft, cmd, Cimap, one command, Command Blocks
Repeat Command Block, Blue Command Block, Minecraft, cmd, Cimap, one command, Command Blocks

How it works:

See what's inside of each command block!

COPYRIGHT © CIMAP. ALL RIGHTS RESERVED.

This website is not endorsed, associated or affiliated with Mojang AB.

Contact me for business enquiries.

Impulse Command Block, command block, Minecraft, cmd, Cimap, one command, Command Blocks
Impulse Command Block, command block, Minecraft, cmd, Cimap, one command, Command Blocks
Impulse Command Block, command block, Minecraft, cmd, Cimap, one command, Command Blocks