UnLuckyL

Playtime in one command! (for minehut)

Apr 13th, 2017
503
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.51 KB | None | 0 0
  1. summon falling_block ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:falling_block,Block:redstone_block,Time:1,Passengers:[{id:falling_block,Block:activator_rail,Time:1,Passengers:[{id:commandblock_minecart,Command:gamerule commandBlockOutput false},{id:commandblock_minecart,Command:fill ~2 ~-3 ~-1 ~7 ~-1 ~1 stained_hardened_clay 4 hollow},{id:commandblock_minecart,Command:fill ~2 ~-2 ~-1 ~7 ~-2 ~1 stained_glass 4 0 stained_hardened_clay},{id:commandblock_minecart,Command:"/tellraw @a [\"\",{\"text\":\"\\n\\n \"},{\"text\":\"Info\",\"bold\":true,\"color\":\"gold\"},{\"text\":\"\\n \",\"bold\":true},{\"text\":\"Playtime in 1 command!\",\"bold\":true,\"color\":\"gold\"},{\"text\":\"\\n \",\"bold\":true},{\"text\":\"Created for minehut servers!\\n keep in mind!\\n\\n dont use this without credit to UnLuckyL!(Put machine in spawn chunks!!!)\",\"italic\":true,\"color\":\"yellow\"},{\"text\":\"\\n\\n\\n \"}]"},{id:commandblock_minecart,Command:/scoreboard objectives add PlaytimeMILL dummy},{id:commandblock_minecart,Command:/scoreboard objectives add PlaytimeMIN dummy},{id:commandblock_minecart,Command:/scoreboard objectives setdisplay list PlaytimeMIN},{id:commandblock_minecart,Command:setblock ~1 ~-3 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/killall all world\\\"}}",Text2:"{\\\"text\\\":\\\"Remove minecarts\\\",\\\"color\\\":\\\"gray\\\",\\\"italic\\\":true}",Text3:"{\\\"text\\\":\\\"\\\"}",Text4:"{\\\"text\\\":\\\"\\\"}"}},{id:commandblock_minecart,Command:setblock ~1 ~-2 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/tellraw @a [\\\\\\\"\\\\\\\",{\\\\\\\"text\\\\\\\":\\\\\\\"\\\\\\\\n\\\\\\\\n\\\\\\\\n\\\\\\\\n\\\\\\\"},{\\\\\\\"text\\\\\\\":\\\\\\\" Just look on TAB list!\\\\\\\\n the 0 stands for 0 mins!....\\\\\\\",\\\\\\\"italic\\\\\\\":true,\\\\\\\"color\\\\\\\":\\\\\\\"yellow\\\\\\\"},{\\\\\\\"text\\\\\\\":\\\\\\\"\\\\\\\\n\\\\\\\\n\\\\\\\\n \\\\\\\"}]\\\"}}",Text2:"{\\\"text\\\":\\\"How to know\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true}",Text3:"{\\\"text\\\":\\\"the time?\\\",\\\"color\\\":\\\"yellow\\\",\\\"italic\\\":true}",Text4:"{\\\"text\\\":\\\"\\\"}"}},{id:commandblock_minecart,Command:setblock ~1 ~-1 ~ wall_sign 4 0 {Text1:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/scoreboard objectives remove PlaytimeMILL\\\"}}",Text2:"{\\\"text\\\":\\\"Delete\\\",\\\"color\\\":\\\"gold\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/scoreboard objectives remove PlaytimeMIN\\\"},\\\"bold\\\":true}",Text3:"{\\\"text\\\":\\\"Machine\\\",\\\"color\\\":\\\"yellow\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/tellraw @a [\\\\\\\"\\\\\\\",{\\\\\\\"text\\\\\\\":\\\\\\\"\\\\\\\\n\\\\\\\\n\\\\\\\\n\\\\\\\\n\\\\\\\"},{\\\\\\\"text\\\\\\\":\\\\\\\" Thanks for using my machine!\\\\\\\\n Much love ~UnLuckyL\\\\\\\\n \\\\\\\",\\\\\\\"italic\\\\\\\":true,\\\\\\\"color\\\\\\\":\\\\\\\"yellow\\\\\\\"},{\\\\\\\"text\\\\\\\":\\\\\\\"\\\\\\\\n\\\\\\\\n \\\\\\\"}]\\\"},\\\"italic\\\":true}",Text4:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-2 ~-1 ~6 ~ ~1 air\\\"}}"}},{id:commandblock_minecart,Command:summon armor_stand ~3 ~-2 ~ {CustomName:TogAct,Marker:1,NoGravity:1,Invisible:1}},{id:commandblock_minecart,Command:scoreboard objectives add OL5Pt7_A dummy},{id:commandblock_minecart,Command:fill ~3 ~-2 ~ ~6 ~-2 ~ chain_command_block 5},{id:commandblock_minecart,Command:fill ~5 ~-2 ~ ~6 ~-2 ~ chain_command_block 13},{id:commandblock_minecart,Command:setblock ~3 ~-2 ~ repeating_command_block 5},{id:commandblock_minecart,Command:blockdata ~6 ~-2 ~ {auto:1,Command:/scoreboard players set @a[score_PlaytimeMILL_min=6000] PlaytimeMILL 0}},{id:commandblock_minecart,Command:blockdata ~5 ~-2 ~ {auto:1,Command:/scoreboard players add @a[score_PlaytimeMILL_min=6000] PlaytimeMIN 1}},{id:commandblock_minecart,Command:blockdata ~4 ~-2 ~ {auto:1,Command:/testfor @a[score_PlaytimeMILL_min=6000]}},{id:commandblock_minecart,Command:blockdata ~3 ~-2 ~ {auto:1,Command:/scoreboard players add @a PlaytimeMILL 5}},{id:commandblock_minecart,Command:setblock ~ ~ ~1 command_block 0 0 {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:commandblock_minecart,Command:setblock ~ ~-1 ~1 redstone_block},{id:commandblock_minecart,Command:kill @e[type=commandblock_minecart,r=1]}]}]}]}
Advertisement
Add Comment
Please, Sign In to add comment