-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
178 changed files
with
1,648 additions
and
810 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,4 +75,4 @@ | |
"bit6" | ||
] | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
scoreboard players set #count var 0 | ||
execute if entity @a[team=red,scores={playerId=0..}] run scoreboard players add #count var 1 | ||
execute if entity @a[team=blue,scores={playerId=0..}] run scoreboard players add #count var 1 | ||
execute if entity @a[team=green,scores={playerId=0..}] run scoreboard players add #count var 1 | ||
execute if entity @a[team=yellow,scores={playerId=0..}] run scoreboard players add #count var 1 | ||
execute if entity @a[team=red,scores={player_id=0..}] run scoreboard players add #count var 1 | ||
execute if entity @a[team=blue,scores={player_id=0..}] run scoreboard players add #count var 1 | ||
execute if entity @a[team=green,scores={player_id=0..}] run scoreboard players add #count var 1 | ||
execute if entity @a[team=yellow,scores={player_id=0..}] run scoreboard players add #count var 1 | ||
|
||
execute if score #count var matches ..1 as @a[scores={playerId=0..}] unless score @s confirm matches 0.. run tellraw @s [{"storage":"game:lang","nbt":"stop.prompt.text","color":"red"},{"text":" [","color":"gold","extra":[{"storage":"game:lang","nbt":"stop.prompt.action"},{"text":"]"}],"hoverEvent":{"action":"show_text","contents":[{"storage":"game:lang","nbt":"stop.prompt.hover"}]},"clickEvent":{"action":"run_command","value":"/trigger confirm set 1"}}] | ||
execute if score #count var matches ..1 as @a[scores={playerId=0..}] unless score @s confirm matches 0.. run scoreboard players set @a confirm 0 | ||
execute if score #count var matches ..1 run scoreboard players enable @a[scores={playerId=0..}] confirm | ||
execute if score #count var matches ..1 as @a[scores={player_id=0..}] unless score @s confirm matches 0.. run tellraw @s [{"storage":"game:lang","nbt":"stop.prompt.text","color":"red"},{"text":" [","color":"gold","extra":[{"storage":"game:lang","nbt":"stop.prompt.action"},{"text":"]"}],"hoverEvent":{"action":"show_text","contents":[{"storage":"game:lang","nbt":"stop.prompt.hover"}]},"clickEvent":{"action":"run_command","value":"/trigger confirm set 1"}}] | ||
execute if score #count var matches ..1 as @a[scores={player_id=0..}] unless score @s confirm matches 0.. run scoreboard players set @a confirm 0 | ||
execute if score #count var matches ..1 run scoreboard players enable @a[scores={player_id=0..}] confirm | ||
|
||
execute if score $status var matches 2 run schedule function #game:events/check_teams 5s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
execute at @s run particle block redstone_block ~ ~.6 ~ .15 .3 .15 0 15 normal @a | ||
execute if entity @s[nbt={Health:0f}] run function #game:events/player_death | ||
execute at @s run particle block{block_state:{Name:"redstone_block"}} ~ ~.6 ~ .15 .3 .15 0 15 normal @a | ||
execute if entity @s[nbt={Health:0.0f}] run function #game:events/player_death |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
scoreboard players reset @s connect | ||
|
||
scoreboard players enable @s rules | ||
execute unless score @s playerId matches 0.. run function game:managers/players/connect | ||
execute if score @s playerId matches 0.. run function game:managers/players/resume | ||
execute unless score @s player_id matches 0.. run function game:managers/players/connect | ||
execute if score @s player_id matches 0.. run function game:managers/players/resume |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.