Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- EGGWARS
- COMPONENTS COMPLETED:
- - Initial preperation
- - Queue
- - Countdown
- - 2nd preparation
- - Map Reset
- - Team Split
- - Seeing if beacon is destroyed or not
- - Respawns
- - 'Non-Respawns'
- - Death Messages
- - Villager Shop
- WORK STILL NEEDED TO BE DONE:
- - Generators
- - Spectator mode
- - Queue signs
- - Some more I can't think of eggs dee
- Note:
- ** denotes comment
- /* */ denotes command/commands to be done in chat. (like adding teams)
- /scoreboard players test *Q fegg 4
- /scoreboard players test *G fegg 0 0
- /tellraw @a "\u00a78\u00bb \u00a7eEggWars \u00a77is starting in \u00a7a10 seconds!"
- /playsound minecraft:entity.wither.spawn master @a ~ ~ ~ 1000 0.1
- /scoreboard players set *T fegg 1
- /scoreboard players set *G fegg 1
- /scoreboard players test *T fegg 1 200
- /scoreboard players add *T fegg 1
- /scoreboard players test *T fegg 140 140
- /tellraw @a[team=qegg] "\u00a78\u00bb \u00a7eEggWars \u00a77is starting in \u00a7a3 seconds!"
- /playsound minecraft:block.note.pling master @a[team=qegg] ~ ~ ~ 1000 1.3
- /scoreboard players test *T fegg 160 160
- /tellraw @a[team=qegg] "\u00a78\u00bb \u00a7eEggWars \u00a77is starting in \u00a7a2 seconds!"
- /playsound minecraft:block.note.pling master @a[team=qegg] ~ ~ ~ 1000 1.6
- /scoreboard players test *T fegg 180 180
- /tellraw @a[team=qegg] "\u00a78\u00bb \u00a7eEggWars \u00a77is starting in \u00a7a1 second!"
- /playsound minecraft:block.note.pling master @a[team=qegg] ~ ~ ~ 1000 1.8
- /scoreboard players test *T fegg 200 200
- /tellraw @a[team=qegg] "\u00a78\u00bb \u00a7eEggWars \u00a77is \u00a79preparing"
- /playsound entity.player.levelup master @a[team=qegg] ~ ~ ~ 1000 0.1
- /blockdata (coords) {auto:1}
- /blockdata ~ ~ ~ {auto:0}
- /scoreboard teams join eggsplit @a[team=qegg]
- /*
- /scoreboard teams add eggsplit
- /scoreboard teams option eggsplit color gray
- /scoreboard teams option eggsplit collisionRule never
- /scoreboard teams option eggsplit friendlyfire false
- */
- /scoreboard players tag @a[tag=pegg] remove pegg
- /scoreboard players tag @a[team=eggsplit] add pegg
- /minecraft:clear @a[tag=pegg]
- /minecraft:gamemode adventure @a[tag=pegg]
- /effect @a[tag=pegg] instant_health 1 120 true
- /setblock (coords of map reset) {auto:1}
- /scoreboard players set *G fegg 2
- (map reset stuff)
- (sends a blockdata to an impulse)
- /blockdata ~ ~ ~ {auto:0}
- /tellraw @a[tag=pegg] "\u00a78\u00bb \u00a77Map \u00a7asuccessfully reset!"
- /playsound minecraft:block.note.pling master @a ~ ~ ~ 1000 2
- /blockdata (coords of team splitter) {auto:1}
- /*
- /stats the @a[team=eggsplit] to *Split at fegg on a repeat
- */
- /scoreboard players test *Split fegg 1
- /scoreboard teams join ered @r[team=eggsplit]
- /scoreboard teams join eblue @r[team=eggsplit]
- /scoreboard teams join egreen @r[team=eggsplit]
- /scoreboard teams join eyellow @r[team=eggsplit]
- /*
- /scoreboard teams add ered
- /scoreboard teams option ered color red
- /scoreboard teams option ered collisionRule never
- /scoreboard teams option ered friendlyfire false
- /scoreboard teams add eblue
- /scoreboard teams option eblue color blue
- /scoreboard teams option eblue collisionRule never
- /scoreboard teams option eblue friendlyfire false
- /scoreboard teams add egreen
- /scoreboard teams option egreen color green
- /scoreboard teams option egreen collisionRule never
- /scoreboard teams option egreen friendlyfire false
- /scoreboard teams add eyellow
- /scoreboard teams option eyellow color yellow
- /scoreboard teams option eyellow collisionRule never
- /scoreboard teams option eyellow friendlyfire false
- /scoreboard objectives add BCON dummy
- /scoreboard players add *Red BCON 0
- /scoreboard players add *Blue BCON 0
- /scoreboard players add *Yellow BCON 0
- /scoreboard players add *Green BCON 0
- */
- /scoreboard players test *Split fegg 0 0
- /blockdata (coords of an imp) {auto:1}
- /blockdata (coords of this chain) {auto:0}
- /blockdata ~ ~ ~ {auto:0}
- **
- Set to 1 if chunk load fails, serves as backup basically eggs dee
- **
- /scoreboard players set *Red BCON 1
- /scoreboard players set *Blue BCON 1
- /scoreboard players set *Yellow BCON 1
- /scoreboard players set *Green BCON 1
- /minecraft:tp @a[team=ered] (coords)
- /minecraft:tp @a[team=eblue] (coords)
- /minecraft:tp @a[team=eyellow] (coords)
- /minecraft:tp @a[team=egreen] (coords)
- **
- Remember, this gamemode requires the player to be in ADVENTURE MODE
- At this point, we must give the player tools that will:
- a.) Be able to break the beacon
- b.) Break standard blocks (whatever blocks you get to build with)
- As this is for another time, I will do this later.
- **
- /scoreboard players set *G fegg 3
- /*
- /scoreboard objectives add edie deathCount
- /scoreboard objectives add etdie dummy
- */
- /scoreboard players test *Red BCON 1
- **
- lead to RCA chain
- **
- /scoreboard players tag @a[score_edie_min=1,team=ered] add eresp
- /scoreboard players set @a[score_edie_min=1,team=ered] edie 0
- /scoreboard players test *Blue BCON 1
- **
- lead to RCA chain
- **
- /scoreboard players tag @a[score_edie_min=1,team=eblue] add eresp
- /scoreboard players set @a[score_edie_min=1,team=eblue] edie 0
- /scoreboard players test *Green BCON 1
- **
- lead to RCA chain
- **
- /scoreboard players tag @a[score_edie_min=1,team=egreen] add eresp
- /scoreboard players set @a[score_edie_min=1,team=egreen] edie 0
- /scoreboard players test *Yellow BCON 1
- **
- lead to RCA chain
- **
- /scoreboard players tag @a[score_edie_min=1,team=eyellow] add eresp
- /scoreboard players set @a[score_edie_min=1,team=eyellow] edie 0
- /scoreboard players add @a[score_edie_min=1] etdie 1
- /scoreboard players set @a[score_etdie_min=2] edie 0
- /scoreboard players set @a[score_edie=0,score_etdie_min=1] etdie 0
- /testforblock (coord of red beacon) beacon
- comparator
- if true: /scoreboard players set *Red BCON 1
- if false: /scoreboard players set *Red BCON 0
- /testforblock (coord of blue beacon) beacon
- comparator
- if true: /scoreboard players set *Blue BCON 1
- if false: /scoreboard players set *Blue BCON 0
- /testforblock (coord of green beacon) beacon
- comparator
- if true: /scoreboard players set *Green BCON 1
- if false: /scoreboard players set *Green BCON 0
- /testforblock (coord of yellow beacon) beacon
- comparator
- if true: /scoreboard players set *Yellow BCON 1
- if false: /scoreboard players set *Yellow BCON 0
- /scoreboard players test *Red BCON 0 0
- /scoreboard players tag @a[score_edie_min=1,team=ered] add efail
- /scoreboard players set @a[score_edie_min=1,team=ered] edie 0
- /scoreboard players test *Blue BCON 0 0
- /scoreboard players tag @a[score_edie_min=1,team=eblue] add efail
- /scoreboard players set @a[score_edie_min=1,team=eblue] edie 0
- /scoreboard players test *Green BCON 0 0
- /scoreboard players tag @a[score_edie_min=1,team=egreen] add efail
- /scoreboard players set @a[score_edie_min=1,team=egreen] edie 0
- /scoreboard players test *Yellow BCON 0 0
- /scoreboard players tag @a[score_edie_min=1,team=eyellow] add efail
- /scoreboard players set @a[score_edie_min=1,team=eyellow] edie 0
- /minecraft:clear @a[tag=efail]
- /scoreboard teams leave @a[tag=efail]
- /scoreboard players tag @a[tag=efail] remove pegg
- /scoreboard players tag @a[tag=efail] remove efail
- /*
- /scoreboard objectives add edd deathCount
- /scoreboard objectives add edk playerKillCount
- /scoreboard objectives add eisk dummy
- */
- /scoreboard players add @a eisk 0
- /execute @a[tag=pegg,score_edk_min=1] ~ ~ ~ scoreboard players set @a[tag=pegg,score_edd_min=1] eisk 1
- /execute @a[score_eisk_min=1] ~ ~ ~ tellraw @a[tag=pegg] ["",{"text":"\u00a78\u00bb ",},{"selector":"@s"},{"text":" \u00a77has been slain by "},{"selector":"@a[tag=pegg,score_edk_min=1]"}]
- /execute @a[score_eisk=0,score_edd_min=1,tag=pegg] ~ ~ ~ tellraw @a[tag=pegg] ["",{"text":"\u00a78\u00bb "},{"selector":"@s"},{"text":" \u00a77died!"}]
- /execute @a[score_edd_min=1,tag=pegg] ~ ~ ~ playsound minecraft:entity.blaze.death master @a[tag=pegg] ~ ~ ~ 1000 2
- /scoreboard players set @a[score_eisk_min=1] eisk 0
- /scoreboard players set @a[score_edd_min=1] edd 0
- /scoreboard players set @a[score_edk_min=1] edk 0
- /*
- /scoreboard objectives add etalk stat.talkedToVillager
- */
- **
- Summon villagers at da places. (add NoGravity to them to they don't fall during mapreset)
- Tag them with eshop
- **
- /execute @e[type=villager,tag=eshop] ~ ~ ~ menu open @a[score_etalk_min=1,r=5] (menuname)
- /scoreboard players set @a[score_etalk_min=1] etalk 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement