Advertisement
hagee

哈記黑科技 - 空島無雙

Sep 8th, 2016
25,408
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.95 KB | None | 0 0
  1. summon FallingSand ~ ~1.5 ~ {Time:1,Block:activator_rail,Passengers:[{id:MinecartCommandBlock,Command:tellraw @a {"text":" | ","color":"gray","extra":[{"text":"哈記黑科技","color":"gold"},{"text":" | 空島無雙 | "},{"text":"安裝成功","color":"green"},{"text":" | "}]}},{id:MinecartCommandBlock,Command:tellraw @a ["地圖規則設定..."]},{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false},{id:MinecartCommandBlock,Command:gamerule sendCommandFeedback false},{id:MinecartCommandBlock,Command:gamerule doFireTick false},{id:MinecartCommandBlock,Command:gamerule doMobSpawning false},{id:MinecartCommandBlock,Command:difficulty 3},{id:MinecartCommandBlock,Command:setworldspawn ~ 102 ~},{id:MinecartCommandBlock,Command:tellraw @a ["盔甲架設定..."]},{id:MinecartCommandBlock,Command:summon ArmorStand ~ 100.0625 ~ {Tags:[L,AS],NoGravity:1,Small:1,Invisible:1,UUIDLeast:0,UUIDMost:3,Marker:1,CustomName:"空島⚔無雙",CustomNameVisible:1}},{id:MinecartCommandBlock,Command:summon ArmorStand ~ 230.0625 ~ {Tags:[HG,AS],NoGravity:1,Small:1,Invisible:1,UUIDLeast:0,UUIDMost:0,Marker:1,CustomName:"哈記黑科技",CustomNameVisible:1}},{id:MinecartCommandBlock,Command:summon ArmorStand ~ 0 ~ {Tags:[T,AS],UUIDLeast:0,UUIDMost:1,Invisible:1,NoGravity:1,CustomName:"◆",Team:c}},{id:MinecartCommandBlock,Command:summon ArmorStand ~ 0 ~ {Tags:[F,AS],UUIDLeast:0,UUIDMost:2,Invisible:1,NoGravity:1,CustomName:"◇",Team:a}},{id:MinecartCommandBlock,Command:tellraw @a ["指令處設定..."]},{id:MinecartCommandBlock,Command:execute @e[tag=HG] ~ ~ ~ fill ~-1 ~ ~-1 ~1 ~-3 ~1 barrier},{id:MinecartCommandBlock,Command:execute @e[tag=HG] ~ ~ ~ setblock ~ ~-2 ~ redstone_block},{id:MinecartCommandBlock,Command:execute @e[tag=HG] ~ ~ ~ setblock ~ ~-1 ~ activator_rail},{id:MinecartCommandBlock,Command:execute @e[tag=HG] ~ ~ ~ setblock ~ ~-4 ~ command_block 0 0 {Command:execute @p ~ ~ ~ trigger book set 1000}},{id:MinecartCommandBlock,Command:tellraw @a ["記分板設定"]},{id:MinecartCommandBlock,Command:scoreboard objectives add death deathCount},{id:MinecartCommandBlock,Command:scoreboard objectives add health health},{id:MinecartCommandBlock,Command:scoreboard objectives add second dummy},{id:MinecartCommandBlock,Command:scoreboard objectives add microsecond dummy},{id:MinecartCommandBlock,Command:scoreboard objectives add start dummy},{id:MinecartCommandBlock,Command:scoreboard objectives add site dummy},{id:MinecartCommandBlock,Command:tellraw @a ["隊伍設定..."]},{id:MinecartCommandBlock,Command:scoreboard teams add 0},{id:MinecartCommandBlock,Command:scoreboard teams add 1},{id:MinecartCommandBlock,Command:scoreboard teams add a},{id:MinecartCommandBlock,Command:scoreboard teams add b},{id:MinecartCommandBlock,Command:scoreboard teams add c},{id:MinecartCommandBlock,Command:scoreboard teams add d},{id:MinecartCommandBlock,Command:scoreboard teams option 0 color white},{id:MinecartCommandBlock,Command:scoreboard teams option 1 color gray},{id:MinecartCommandBlock,Command:scoreboard teams option a color red},{id:MinecartCommandBlock,Command:scoreboard teams option b color blue},{id:MinecartCommandBlock,Command:scoreboard teams option c color green},{id:MinecartCommandBlock,Command:scoreboard teams option d color gold},{id:MinecartCommandBlock,Command:scoreboard teams option 0 friendlyfire true},{id:MinecartCommandBlock,Command:scoreboard teams option 1 friendlyfire true},{id:MinecartCommandBlock,Command:scoreboard teams option a friendlyfire false},{id:MinecartCommandBlock,Command:scoreboard teams option b friendlyfire false},{id:MinecartCommandBlock,Command:scoreboard teams option c friendlyfire false},{id:MinecartCommandBlock,Command:scoreboard teams option d friendlyfire false},{id:MinecartCommandBlock,Command:tellraw @a ["書本記分板設定"]},{id:MinecartCommandBlock,Command:scoreboard objectives add book trigger},{id:MinecartCommandBlock,Command:scoreboard objectives add chooseTeam trigger},{id:MinecartCommandBlock,Command:scoreboard objectives add random dummy},{id:MinecartCommandBlock,Command:scoreboard objectives add randomcheck dummy},{id:MinecartCommandBlock,Command:scoreboard objectives add joinTeam dummy},{id:MinecartCommandBlock,Command:scoreboard objectives add healthTab dummy},{id:MinecartCommandBlock,Command:scoreboard objectives add healthName dummy},{id:MinecartCommandBlock,Command:tellraw @a ["書本初始值設定"]},{id:MinecartCommandBlock,Command:scoreboard players set @e[tag=HG] random 4},{id:MinecartCommandBlock,Command:scoreboard players set @e[tag=T] joinTeam 1},{id:MinecartCommandBlock,Command:scoreboard players set @e[tag=F] healthTab 1},{id:MinecartCommandBlock,Command:scoreboard players set @e[tag=F] healthName 1},{id:MinecartCommandBlock,Command:scoreboard players set @e[tag=HG] start 0},{id:MinecartCommandBlock,Command:scoreboard players set @e[tag=HG] site 1},{id:MinecartCommandBlock,Command:execute @e[tag=HG] ~ ~-1 ~ summon MinecartCommandBlock ~ ~ ~ {Command:,Passengers:[{id:MinecartCommandBlock,Tags:[show],Command:title @a[team=] title {"text":"空島","color":"red","extra":[{"text":"⚔","color":"white"},{"text":"無雙","color":"red"}]}},{id:MinecartCommandBlock,Tags:[show],Command:title @a[team=] subtitle {"text":"by 哈記Hagee","color":"blue"}},{id:MinecartCommandBlock,Tags:[show],Command:effect @a[team=] blindness 5 0 true},{id:MinecartCommandBlock,Tags:[show],Command:scoreboard teams join 0 @a[team=]},{id:MinecartCommandBlock,Tags:[bookEnable],Command:scoreboard players enable @a[m=1] book},{id:MinecartCommandBlock,Tags:[bookEnable],Command:scoreboard players reset @a[m=0] book},{id:MinecartCommandBlock,Tags:[teamEnable],Command:execute @e[tag=T,score_joinTeam_min=1] ~ ~ ~ scoreboard players enable @a chooseTeam},{id:MinecartCommandBlock,Tags:[teamEnable],Command:execute @e[tag=F,score_joinTeam_min=1] ~ ~ ~ scoreboard players reset @a chooseTeam},{id:MinecartCommandBlock,Tags:[deathChange],Command:execute @p[score_death_min=1] ~ ~ ~ playsound entity.zombie_villager.cure voice @a ~ ~ ~ .5 2 .5},{id:MinecartCommandBlock,Tags:[deathChange],Command:execute @e[score_start_min=1] ~ ~ ~ gamemode sp @a[team=0]},{id:MinecartCommandBlock,Tags:[deathChange],Command:execute @e[score_start_min=1] ~ ~ ~ gamemode sp @a[team=1]},{id:MinecartCommandBlock,Tags:[deathChange],Command:execute @e[tag=HG,score_start_min=1] ~ ~ ~ gamemode sp @a[score_death_min=1]},{id:MinecartCommandBlock,Tags:[deathChange],Command:scoreboard players reset @a[score_death_min=1] death},{id:MinecartCommandBlock,Tags:[clearItem],Command:execute @e[tag=HG,score_start=0] ~ ~ ~ effect @a saturation 3 0 true},{id:MinecartCommandBlock,Tags:[clearItem],Command:execute @e[tag=HG,score_start=0] ~ ~ ~ kill @e[type=Item]},{id:MinecartCommandBlock,Tags:[always],Command:execute @e[tag=L] ~ ~4 ~ fill ~30 ~ ~30 ~-30 ~ ~-30 air}]}},{id:MinecartCommandBlock,Command:execute @e[tag=HG] ~ ~-1 ~ summon MinecartCommandBlock ~ ~ ~ {Command:execute @e[score_site_min=1] ~ ~ ~ execute @e[tag=HG] ~ ~-1 ~ summon MinecartCommandBlock ~ ~ ~ {Tags:[site],Command:,Passengers:[{id:MinecartCommandBlock,Tags:[site],Command:tellraw @a ["場地設定..."]},{id:MinecartCommandBlock,Tags:[site],Command:scoreboard players set @e[tag=HG] start 0},{id:MinecartCommandBlock,Tags:[site],Command:scoreboard teams leave @a},{id:MinecartCommandBlock,Tags:[site],Command:time set day},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ kill @e[tag=resetAS]},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~-10 ~-2 ~-10 ~10 ~3 ~10 barrier},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~-9 ~-1 ~-9 ~9 ~5 ~9 air},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~20 ~-18 ~20 ~15 ~-18 ~15 grass},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~20 ~-20 ~20 ~15 ~-19 ~15 dirt},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~17 ~-20 ~17 ~15 ~-18 ~15 air},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~21 ~-14 ~21 ~17 ~-13 ~17 leaves},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~19 ~-12 ~18 ~19 ~-11 ~20 leaves},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~18 ~-12 ~19 ~20 ~-11 ~19 leaves},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~19 ~-17 ~19 ~19 ~-13 ~19 log},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ setblock ~19 ~-17 ~15 chest 3 replace {Items:[{id:lava_bucket,Slot:0,Count:1},{id:ice,Slot:1,Count:2},{id:sapling,Slot:2,Count:1},{id:bone,Slot:3,Count:3},{id:bread,Slot:4,Count:3},{id:fishing_rod,Slot:5,Count:1}]}},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ setblock ~19 ~-16 ~15 wool 14},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~-20 ~-18 ~20 ~-15 ~-18 ~15 grass},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~-20 ~-20 ~20 ~-15 ~-19 ~15 dirt},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~-17 ~-20 ~17 ~-15 ~-18 ~15 air},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~-21 ~-14 ~21 ~-17 ~-13 ~17 leaves},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~-19 ~-12 ~18 ~-19 ~-11 ~20 leaves},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~-18 ~-12 ~19 ~-20 ~-11 ~19 leaves},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~-19 ~-17 ~19 ~-19 ~-13 ~19 log},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ setblock ~-15 ~-17 ~19 chest 4 replace {Items:[{id:lava_bucket,Slot:0,Count:1},{id:ice,Slot:1,Count:2},{id:sapling,Slot:2,Count:1},{id:bone,Slot:3,Count:3},{id:bread,Slot:4,Count:3},{id:fishing_rod,Slot:5,Count:1}]}},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ setblock ~-15 ~-16 ~19 wool 3},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~20 ~-18 ~-20 ~15 ~-18 ~-15 grass},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~20 ~-20 ~-20 ~15 ~-19 ~-15 dirt},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~17 ~-20 ~-17 ~15 ~-18 ~-15 air},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~21 ~-14 ~-21 ~17 ~-13 ~-17 leaves},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~19 ~-12 ~-18 ~19 ~-11 ~-20 leaves},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~18 ~-12 ~-19 ~20 ~-11 ~-19 leaves},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~19 ~-17 ~-19 ~19 ~-13 ~-19 log},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ setblock ~15 ~-17 ~-19 chest 5 replace {Items:[{id:lava_bucket,Slot:0,Count:1},{id:ice,Slot:1,Count:2},{id:sapling,Slot:2,Count:1},{id:bone,Slot:3,Count:3},{id:bread,Slot:4,Count:3},{id:fishing_rod,Slot:5,Count:1}]}},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ setblock ~15 ~-16 ~-19 wool 5},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~-20 ~-18 ~-20 ~-15 ~-18 ~-15 grass},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~-20 ~-20 ~-20 ~-15 ~-19 ~-15 dirt},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~-17 ~-20 ~-17 ~-15 ~-18 ~-15 air},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~-21 ~-14 ~-21 ~-17 ~-13 ~-17 leaves},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~-19 ~-12 ~-18 ~-19 ~-11 ~-20 leaves},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~-18 ~-12 ~-19 ~-20 ~-11 ~-19 leaves},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~-19 ~-17 ~-19 ~-19 ~-13 ~-19 log},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ setblock ~-19 ~-17 ~-15 chest 0 replace {Items:[{id:lava_bucket,Slot:0,Count:1},{id:ice,Slot:1,Count:2},{id:sapling,Slot:2,Count:1},{id:bone,Slot:3,Count:3},{id:bread,Slot:4,Count:3},{id:fishing_rod,Slot:5,Count:1}]}},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ setblock ~-19 ~-16 ~-15 wool 4},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ setblock ~20 ~-15 ~ chest 4 replace {Items:[{id:web,Slot:0,Count:2},{id:arrow,Slot:1,Count:4},{id:bucket,Slot:2,Count:1},{id:bone,Slot:3,Count:3},{id:cooked_beef,Slot:4,Count:2},{id:golden_apple,Slot:5,Count:1},{id:chainmail_chestplate,Slot:6,Count:1}]}},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ setblock ~-20 ~-15 ~ chest 5 replace {Items:[{id:web,Slot:0,Count:2},{id:arrow,Slot:1,Count:4},{id:bucket,Slot:2,Count:1},{id:bone,Slot:3,Count:3},{id:cooked_beef,Slot:4,Count:2},{id:golden_apple,Slot:5,Count:1},{id:chainmail_chestplate,Slot:6,Count:1}]}},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ setblock ~ ~-15 ~20 chest 0 replace {Items:[{id:web,Slot:0,Count:2},{id:arrow,Slot:1,Count:4},{id:bucket,Slot:2,Count:1},{id:bone,Slot:3,Count:3},{id:cooked_beef,Slot:4,Count:2},{id:golden_apple,Slot:5,Count:1},{id:chainmail_chestplate,Slot:6,Count:1}]}},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ setblock ~ ~-15 ~-20 chest 3 replace {Items:[{id:web,Slot:0,Count:2},{id:arrow,Slot:1,Count:4},{id:bucket,Slot:2,Count:1},{id:bone,Slot:3,Count:3},{id:cooked_beef,Slot:4,Count:2},{id:golden_apple,Slot:5,Count:1},{id:chainmail_chestplate,Slot:6,Count:1}]}},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ setblock ~20 ~-16 ~ iron_ore},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ setblock ~-20 ~-16 ~ iron_ore},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ setblock ~ ~-16 ~20 iron_ore},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ setblock ~ ~-16 ~-20 iron_ore},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~20 ~-19 ~20 ~-20 ~-19 ~-20 sand 0 replace dirt},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ fill ~39 4 ~39 ~-39 0 ~-39 air},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ tp @a @e[tag=L]},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=L] ~ ~ ~ gamemode s @a[m=3]},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=HG] ~ ~ ~ setblock ~ ~-5 ~ stone_button},{id:MinecartCommandBlock,Tags:[site],Command:execute @e[tag=HG] ~ ~-0.9 ~ summon MinecartCommandBlock ~ ~ ~ {Tags:[site],Command:kill @e[tag=site]}},{id:MinecartCommandBlock,Tags:[site],Command:scoreboard players set @e[score_site_min=1] site 0}]}}},{id:MinecartCommandBlock,Command:execute @e[tag=HG] ~ ~-1 ~ summon MinecartCommandBlock ~ ~ ~ {Command:execute @e[score_chooseTeam_min=1] ~ ~ ~ execute @e[tag=HG] ~ ~-1 ~ summon MinecartCommandBlock ~ ~ ~ {Tags:[chooseTeam],Command:execute @a[score_chooseTeam_min=1] ~ ~ ~ playsound entity.experience_orb.touch voice @p ~ ~ ~ .25 2 .25,Passengers:[{id:MinecartCommandBlock,Tags:[chooseTeam],Command:execute @p[score_chooseTeam_min=1,score_chooseTeam=1] ~ ~ ~ scoreboard teams join a @p[score_chooseTeam_min=1,score_chooseTeam=1]},{id:MinecartCommandBlock,Tags:[chooseTeam],Command:execute @p[score_chooseTeam_min=2,score_chooseTeam=2] ~ ~ ~ scoreboard teams join b @p[score_chooseTeam_min=2,score_chooseTeam=2]},{id:MinecartCommandBlock,Tags:[chooseTeam],Command:execute @p[score_chooseTeam_min=3,score_chooseTeam=3] ~ ~ ~ scoreboard teams join c @p[score_chooseTeam_min=3,score_chooseTeam=3]},{id:MinecartCommandBlock,Tags:[chooseTeam],Command:execute @p[score_chooseTeam_min=4,score_chooseTeam=4] ~ ~ ~ scoreboard teams join d @p[score_chooseTeam_min=4,score_chooseTeam=4]},{id:MinecartCommandBlock,Tags:[chooseTeam],Command:execute @p[score_chooseTeam_min=5,score_chooseTeam=5] ~ ~ ~ scoreboard teams join 0 @p[score_chooseTeam_min=5,score_chooseTeam=5]},{id:MinecartCommandBlock,Tags:[chooseTeam],Command:execute @p[score_chooseTeam_min=6,score_chooseTeam=6] ~ ~ ~ scoreboard teams join 1 @p[score_chooseTeam_min=6,score_chooseTeam=6]},{id:MinecartCommandBlock,Tags:[chooseTeam],Command:execute @e[tag=HG] ~ ~-0.9 ~ summon MinecartCommandBlock ~ ~ ~ {Tags:[chooseTeam],Command:kill @e[tag=chooseTeam]}},{id:MinecartCommandBlock,Tags:[chooseTeam],Command:scoreboard players reset @a chooseTeam}]}}},{id:MinecartCommandBlock,Command:execute @e[tag=HG] ~ ~-1 ~ summon MinecartCommandBlock ~ ~ ~ {Command:execute @e[score_book_min=1] ~ ~ ~ execute @e[tag=HG] ~ ~-1 ~ summon MinecartCommandBlock ~ ~ ~ {Tags:[bookOptions],Command:execute @a[score_book_min=1,score_book=999] ~ ~ ~ playsound entity.experience_orb.touch voice @p ~ ~ ~ .25 2 .25,Passengers:[{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @p[score_book_min=1,score_book=1] ~ ~ ~ execute @e[tag=HG] ~ ~-1 ~ summon MinecartCommandBlock ~ ~ ~ {Tags:[bookOptions],Command:title @a title ["隨機分隊"],Passengers:[{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard players set @e[tag=T] joinTeam 0},{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard players set @e[tag=F] joinTeam 1},{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard players reset @a chooseTeam},{id:MinecartCommandBlock,Tags:[random],Command:execute @e[tag=HG,score_random_min=2] ~ ~ ~ scoreboard teams join a @r[team=0]},{id:MinecartCommandBlock,Tags:[random],Command:execute @e[tag=HG,score_random_min=2] ~ ~ ~ scoreboard teams join b @r[team=0]},{id:MinecartCommandBlock,Tags:[random],Command:execute @e[tag=HG,score_random_min=3] ~ ~ ~ scoreboard teams join c @r[team=0]},{id:MinecartCommandBlock,Tags:[random],Command:execute @e[tag=HG,score_random_min=4] ~ ~ ~ scoreboard teams join d @r[team=0]},{id:MinecartCommandBlock,Tags:[random],Command:scoreboard players set @e[tag=HG] randomcheck 0},{id:MinecartCommandBlock,Tags:[random],Command:execute @p[team=0] ~ ~ ~ scoreboard players set @e[tag=HG] randomcheck 1},{id:MinecartCommandBlock,Tags:[random],Command:execute @e[tag=HG,score_randomcheck=0] ~ ~ ~ execute @e[tag=HG,score_random_min=2] ~ ~ ~ tellraw @a ["",{"text":"紅色隊伍 : ","color":"red"},{"selector":"@a[team=a]","color":"red"}]},{id:MinecartCommandBlock,Tags:[random],Command:execute @e[tag=HG,score_randomcheck=0] ~ ~ ~ execute @e[tag=HG,score_random_min=2] ~ ~ ~ tellraw @a ["",{"text":"藍色隊伍 : ","color":"blue"},{"selector":"@a[team=b]","color":"blue"}]},{id:MinecartCommandBlock,Tags:[random],Command:execute @e[tag=HG,score_randomcheck=0] ~ ~ ~ execute @e[tag=HG,score_random_min=3] ~ ~ ~ tellraw @a ["",{"text":"綠色隊伍 : ","color":"dark_green"},{"selector":"@a[team=c]","color":"dark_green"}]},{id:MinecartCommandBlock,Tags:[random],Command:execute @e[tag=HG,score_randomcheck=0] ~ ~ ~ execute @e[tag=HG,score_random_min=4] ~ ~ ~ tellraw @a ["",{"text":"橘色隊伍 : ","color":"gold"},{"selector":"@a[team=d]","color":"gold"}]},{id:MinecartCommandBlock,Tags:[random],Command:execute @e[tag=HG,score_randomcheck=0] ~ ~ ~ kill @e[tag=random]}]}},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @p[score_book_min=2,score_book=2] ~ ~ ~ execute @e[tag=HG] ~ ~-1 ~ summon MinecartCommandBlock ~ ~ ~ {Tags:[bookOptions],Command:scoreboard players remove @e[tag=HG] random 1,Passengers:[{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard players set @e[tag=HG,score_random=1] random 4}]}},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @p[score_book_min=3,score_book=3] ~ ~ ~ execute @e[tag=HG] ~ ~-1 ~ summon MinecartCommandBlock ~ ~ ~ {Tags:[bookOptions],Command:scoreboard players add @e[tag=HG] random 1,Passengers:[{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard players set @e[tag=HG,score_random_min=5] random 2}]}},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @p[score_book_min=4,score_book=4] ~ ~ ~ execute @e[tag=HG] ~ ~-1 ~ summon MinecartCommandBlock ~ ~ ~ {Tags:[bookOptions],Command:scoreboard teams join 0 @a}},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @p[score_book_min=5,score_book=5] ~ ~ ~ execute @e[tag=HG] ~ ~-1 ~ summon MinecartCommandBlock ~ ~ ~ {Tags:[bookOptions],Command:scoreboard players add @e[tag=T] joinTeam 1,Passengers:[{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard players set @e[tag=T,score_joinTeam_min=2] joinTeam 0},{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard players set @e[tag=F] joinTeam 0},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @e[tag=T,score_joinTeam=0] ~ ~ ~ scoreboard players set @e[tag=F] joinTeam 1},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @e[tag=T,score_joinTeam=1] ~ ~ ~ scoreboard players enable @a chooseTeam},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @e[tag=F,score_joinTeam=1] ~ ~ ~ scoreboard players reset @a chooseTeam}]}},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @p[score_book_min=6,score_book=6] ~ ~ ~ execute @e[tag=HG] ~ ~-1 ~ summon MinecartCommandBlock ~ ~ ~ {Tags:[bookOptions],Command:scoreboard players add @e[tag=T] healthTab 1,Passengers:[{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard players set @e[tag=T,score_healthTab_min=2] healthTab 0},{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard players set @e[tag=F] healthTab 0},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @e[tag=T,score_healthTab=0] ~ ~ ~ scoreboard players set @e[tag=F] healthTab 1},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @e[tag=T,score_healthTab_min=1] ~ ~ ~ scoreboard objectives setdisplay list health},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @e[tag=F,score_healthTab_min=1] ~ ~ ~ scoreboard objectives setdisplay list}]}},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @p[score_book_min=7,score_book=7] ~ ~ ~ execute @e[tag=HG] ~ ~-1 ~ summon MinecartCommandBlock ~ ~ ~ {Tags:[bookOptions],Command:scoreboard players add @e[tag=T] healthName 1,Passengers:[{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard players set @e[tag=T,score_healthName_min=2] healthName 0},{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard players set @e[tag=F] healthName 0},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @e[tag=T,score_healthName=0] ~ ~ ~ scoreboard players set @e[tag=F] healthName 1},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @e[tag=T,score_healthName_min=1] ~ ~ ~ scoreboard objectives setdisplay belowName health},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @e[tag=F,score_healthName_min=1] ~ ~ ~ scoreboard objectives setdisplay belowName}]}},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @p[score_book_min=8,score_book=8] ~ ~ ~ execute @e[tag=HG] ~ ~-1 ~ summon MinecartCommandBlock ~ ~ ~ {Tags:[bookOptions],Command:title @a title {"text":"","color":"gray","extra":[{"text":"","color":"white"},{"text":" | 空島無雙 | "},{"text":"準備開始","color":"green"},{"text":" | "}]},Passengers:[{id:MinecartCommandBlock,Tags:[bookOptions],Command:gamemode s @a[team=a]},{id:MinecartCommandBlock,Tags:[bookOptions],Command:gamemode s @a[team=b]},{id:MinecartCommandBlock,Tags:[bookOptions],Command:gamemode s @a[team=c]},{id:MinecartCommandBlock,Tags:[bookOptions],Command:gamemode s @a[team=d]},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @e[tag=L] ~19 ~-16 ~17 summon ArmorStand ~ ~ ~ {Invisible:1,Tags:[a,O]}},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @e[tag=L] ~-17 ~-16 ~19 summon ArmorStand ~ ~ ~ {Invisible:1,Tags:[b,O]}},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @e[tag=L] ~17 ~-16 ~-19 summon ArmorStand ~ ~ ~ {Invisible:1,Tags:[c,O]}},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @e[tag=L] ~-19 ~-16 ~-17 summon ArmorStand ~ ~ ~ {Invisible:1,Tags:[d,O]}},{id:MinecartCommandBlock,Tags:[bookOptions],Command:tp @a[team=a] @e[tag=a]},{id:MinecartCommandBlock,Tags:[bookOptions],Command:tp @a[team=b] @e[tag=b]},{id:MinecartCommandBlock,Tags:[bookOptions],Command:tp @a[team=c] @e[tag=c]},{id:MinecartCommandBlock,Tags:[bookOptions],Command:tp @a[team=d] @e[tag=d]},{id:MinecartCommandBlock,Tags:[bookOptions],Command:effect @a[m=0] blindness 9 0},{id:MinecartCommandBlock,Tags:[bookOptions],Command:effect @a[m=0] slowness 8 10},{id:MinecartCommandBlock,Tags:[bookOptions],Command:effect @a[m=0] jump_boost 8 128},{id:MinecartCommandBlock,Tags:[bookOptions],Command:effect @a[m=0] mining_fatigue 8 255},{id:MinecartCommandBlock,Tags:[bookOptions],Command:effect @a[m=0] saturation 8 0},{id:MinecartCommandBlock,Tags:[bookOptions],Command:clear @a},{id:MinecartCommandBlock,Tags:[bookOptions],Command:time set day},{id:MinecartCommandBlock,Tags:[bookOptions],Command:xp -99999L @a},{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard players set @e[tag=HG] start 1},{id:MinecartCommandBlock,Tags:[bookOptions],Command:replaceitem entity @a slot.hotbar.0 air},{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard players set @e[tag=HG] second 8},{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard players set @e[tag=HG] microsecond 5},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @e[tag=HG] ~ ~-1 ~ summon MinecartCommandBlock ~ ~ ~ {Tags:[count],Command:scoreboard players remove @e[tag=HG] microsecond 1,Passengers:[{id:MinecartCommandBlock,Tags:[count],Command:execute @e[tag=HG,score_microsecond=0] ~ ~ ~ scoreboard players remove @e[tag=HG] second 1},{id:MinecartCommandBlock,Tags:[count],Command:execute @e[tag=HG,score_microsecond=0,score_second=5,score_second_min=1] ~ ~ ~ title @a title {"text":"倒數開始 ","color":"gold","italic":"true","extra":[{"score":{"name":"00000000-0000-0000-0000-000000000000","objective":"second"},"color":"red","bold":"true","italic":"false"},{"text":" 秒"}]}},{id:MinecartCommandBlock,Tags:[count],Command:execute @e[tag=HG,score_microsecond=0,score_second=5,score_second_min=1] ~ ~ ~ execute @a ~ ~ ~ playsound block.note.pling voice @p ~ ~ ~ 1 1 1},{id:MinecartCommandBlock,Tags:[count],Command:execute @e[tag=HG,score_microsecond=0,score_second=0] ~ ~ ~ title @a title {"text":"遊戲開始 ","color":"green","italic":"true"}},{id:MinecartCommandBlock,Tags:[count],Command:execute @e[tag=HG,score_microsecond=0,score_second=0] ~ ~ ~ execute @a ~ ~ ~ playsound block.note.pling voice @p ~ ~ ~ 1 2 1},{id:MinecartCommandBlock,Tags:[count],Command:execute @e[tag=HG,score_microsecond=0] ~ ~ ~ scoreboard players set @e[tag=HG] microsecond 5},{id:MinecartCommandBlock,Tags:[count],Command:execute @e[tag=HG,score_second=0] ~ ~ ~ kill @e[tag=O]},{id:MinecartCommandBlock,Tags:[count],Command:execute @e[tag=HG,score_second=0] ~ ~ ~ kill @e[tag=count]}]}},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @e[tag=L] ~ ~ ~ fill ~-10 ~-2 ~-10 ~10 ~5 ~10 air}]}},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @p[score_book_min=1000,score_book=1000] ~ ~ ~ execute @e[tag=HG] ~ ~-1 ~ summon MinecartCommandBlock ~ ~ ~ {Tags:[bookOptions],Command:execute @e[tag=HG] ~ ~-6 ~ summon ArmorStand ~ ~ ~ {Tags:[resetAS],NoGravity:1,CustomName:"清除中..",CustomNameVisible:1},Passengers:[{id:MinecartCommandBlock,Tags:[bookOptions],Command:gamemode sp @a},{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard objectives add rsH dummy},{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard objectives add rsS dummy},{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard objectives setdisplay sidebar rsH},{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard players set @e[tag=resetAS] rsH 225},{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard players set @e[tag=resetAS] rsS 5},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @a ~ ~ ~ playsound minecraft:entity.enderdragon.death voice @p ~ ~ ~ 1 .5 1},{id:MinecartCommandBlock,Tags:[reset],Command:title @a times 0 60 40},{id:MinecartCommandBlock,Tags:[reset],Command:title @a title ["地圖重置中 請稍後..."]},{id:MinecartCommandBlock,Tags:[reset],Command:scoreboard players remove @e[tag=resetAS] rsS 1},{id:MinecartCommandBlock,Tags:[reset],Command:execute @e[score_rsS=0] ~ ~ ~ scoreboard players remove @e[tag=resetAS] rsH 3},{id:MinecartCommandBlock,Tags:[reset],Command:execute @e[score_rsS=0] ~ ~ ~ fill ~-30 ~1 ~-30 ~30 ~-1 ~30 air},{id:MinecartCommandBlock,Tags:[reset],Command:execute @e[score_rsS=0] ~ ~ ~ tp @e[score_rsS=0] ~ ~-3 ~},{id:MinecartCommandBlock,Tags:[reset],Command:execute @e[score_rsS=0] ~ ~ ~ scoreboard players set @e[score_rsS=0] rsS 5},{id:MinecartCommandBlock,Tags:[reset],Command:execute @e[score_rsH=0] ~ ~ ~ scoreboard players set @e[tag=HG] site 1},{id:MinecartCommandBlock,Tags:[reset],Command:execute @e[score_rsH=0] ~ ~ ~ kill @e[tag=reset]}]}},{id:MinecartCommandBlock,Tags:[bookOptions],Command:execute @e[tag=HG] ~ ~-1 ~ summon MinecartCommandBlock ~ ~ ~ {Tags:[bookOptions],Command:kill @e[tag=bookOptions]}},{id:MinecartCommandBlock,Tags:[bookOptions],Command:scoreboard players reset @a book}]}}},{id:MinecartCommandBlock,Command:execute @e[tag=HG] ~ ~-1 ~ summon MinecartCommandBlock ~ ~ ~ {Tags:[book],Command:execute @e[score_start=0] ~ ~ ~ replaceitem entity @a slot.hotbar.0 written_book 1 0 {title:"空島無雙",author:"hageeshow",display:{Lore:["by 哈記Hagee"]},HideFlags:32,pages:["[{'text':'','color':'dark_gray','extra':[{'text':' 【空島無雙】','color':'blue'},{'text':'\n\n '},{'text':' ● ','color':'red','hoverEvent':{'action':'show_text','value':'加入紅隊'},'clickEvent':{'action':'run_command','value':'/trigger chooseTeam set 1'}},{'text':' ● ','color':'blue','hoverEvent':{'action':'show_text','value':'加入藍隊'},'clickEvent':{'action':'run_command','value':'/trigger chooseTeam set 2'}},{'text':' ● ','color':'green','hoverEvent':{'action':'show_text','value':'加入綠隊'},'clickEvent':{'action':'run_command','value':'/trigger chooseTeam set 3'}},{'text':' ● ','color':'gold','hoverEvent':{'action':'show_text','value':'加入橘隊'},'clickEvent':{'action':'run_command','value':'/trigger chooseTeam set 4'}},{'text':' ○ ','color':'black','hoverEvent':{'action':'show_text','value':'離開隊伍'},'clickEvent':{'action':'run_command','value':'/trigger chooseTeam set 5'}},{'text':' ● ','color':'black','hoverEvent':{'action':'show_text','value':'(觀察者)'},'clickEvent':{'action':'run_command','value':'/trigger chooseTeam set 6'}},{'text':'\n\n'},{'text':' [隨機分配] ','color':'dark_purple','hoverEvent':{'action':'show_text','value':'隨機分配玩家\n到指定數量隊伍。\n\n點選執行\n\n會忽略單人隊伍'},'clickEvent':{'action':'run_command','value':'/trigger book set 1'}},{'text':'❰ ','color':'red','hoverEvent':{'action':'show_text','value':'-1 隊伍'},'clickEvent':{'action':'run_command','value':'/trigger book set 2'}},{'score':{'name':'00000000-0000-0000-0000-000000000000','objective':'random'},'color':'gray'},{'text':' ❱','color':'dark_green','hoverEvent':{'action':'show_text','value':'+1 隊伍'},'clickEvent':{'action':'run_command','value':'/trigger book set 3'}},{'text':'\n\n'},{'text':' [所有人離開隊伍] ','color':'gray','hoverEvent':{'action':'show_text','value':'將所有玩家的隊伍移除'},'clickEvent':{'action':'run_command','value':'/trigger book set 4'}},{'text':'\n\n'},{'text':' ','hoverEvent':{'action':'show_text','value':'如果 ◇\n玩家不可以變更隊伍。'},'clickEvent':{'action':'run_command','value':'/trigger book set 5'},'extra':[{'selector':'@e[score_joinTeam_min=1]'},{'text':' 加入隊伍權限'}]},{'text':'\n\n'},{'text':' ','hoverEvent':{'action':'show_text','value':'如果 ◆\n血量會顯示在Tab 伺服器列表'},'clickEvent':{'action':'run_command','value':'/trigger book set 6'},'extra':[{'selector':'@e[score_healthTab_min=1]'},{'text':' 血量顯示TAB'}]},{'text':'\n'},{'text':' ','hoverEvent':{'action':'show_text','value':'如果 ◆\n血量會顯示在名條下方'},'clickEvent':{'action':'run_command','value':'/trigger book set 7'},'extra':[{'selector':'@e[score_healthName_min=1]'},{'text':' 血量顯示名條'}]},{'text':'\n\n '},{'text':'► 遊戲開始 ◄','color':'red','hoverEvent':{'action':'show_text','value':'點選之後\n將會移除書本\n\n玩家將會被傳送至各個島嶼\n並且倒數5秒鐘後\n遊戲開始'},'clickEvent':{'action':'run_command','value':'/trigger book set 8'}}]}]"]}}},{id:MinecartCommandBlock,Command:spawnpoint @a ~ 102 ~},{id:MinecartCommandBlock,Command:setblock ~ ~1 ~ command_block 0 replace {Command:fill ~ ~-3 ~ ~ ~ ~ air,auto:1}},{id:MinecartCommandBlock,Command:kill @e[r=0]}]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement