-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
f5ba17b
commit ca91914
Showing
14 changed files
with
361 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"values": [ | ||
"neleuhc:load" | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"values": [ | ||
"neleuhc:tick" | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
title @a title {"text":"ОСТАЛОСЬ 10 МИНУТ ДО ПВП","color":"dark_gray","bold":true} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
title @a title {"text":"ОСТАЛОСЬ 20 МИНУТ ДО ПВП","color":"dark_gray","bold":true} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
worldborder set 100 600 | ||
title @a title {"text":"ПВП ВКЛЮЧЕНО!","color":"dark_gray","bold":true} | ||
tellraw @a {"text":"Барьер сузится до диаметра 100 блоков через 10 минут. Поторопись к центру карты!","color":"dark_aqua","bold":true} | ||
execute at @a run playsound block.anvil.use master @a | ||
effect give @a glowing infinite 10 false |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
execute as @r[team=default] run team join red | ||
execute as @r[team=default] run team join blue | ||
execute as @r[team=default] run team join green | ||
execute as @r[team=default] run team join yellow | ||
execute as @r[team=default] run team join black | ||
execute as @r[team=default] run team join pink | ||
execute as @r[team=default] run team join white | ||
execute as @r[team=default] run team join cyan | ||
execute store result score num PlayersNum if entity @a[team=default] | ||
function neleuhc:teams_checker |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
schedule clear neleuhc | ||
team leave @a | ||
team join default @a | ||
kill @e[tag=MapCenterDummy] | ||
spawnpoint @a 0 90 0 | ||
worldborder center 0 0 | ||
worldborder set 30000000 | ||
kill @a | ||
gamemode adventure @a | ||
clear @a | ||
effect clear @a | ||
execute store result score num PlayersNum if entity @a[team=default] | ||
|
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
function neleuhc:teams_checker | ||
effect give @a slow_falling 30 2 | ||
effect give @a saturation 20 10 | ||
effect give @a regeneration 10 255 | ||
execute at @e[tag=MapCenterDummy] run spreadplayers ~ ~ 400 1000 true @a[team=!default] | ||
give @a stone_axe{Enchantments:[{id:"minecraft:efficiency",lvl:2s},{id:"minecraft:unbreaking",lvl:1s}]} 1 | ||
give @a stone_pickaxe{Enchantments:[{id:"minecraft:efficiency",lvl:2s},{id:"minecraft:unbreaking",lvl:1s}]} 1 | ||
tellraw @a {"text":"ИГРА НАЧАЛАСЬ","color":"dark_purple","bold":true,"hoverEvent":{"action":"show_text","value":[{"text":"Хули пялишься","color":"gold","bold":true,"italic":true}]}} | ||
tellraw @a {"text":"ДО ПВП 30 МИНУТ","color":"light_purple","bold":true,"hoverEvent":{"action":"show_text","value":[{"text":"Хули пялишься","color":"gold","bold":true,"italic":true}]}} | ||
execute at @e[tag=MapCenterDummy] run fill ~10 ~10 ~10 ~-11 ~-11 ~-11 air | ||
gamemode survival @a | ||
time set day | ||
schedule function neleuhc:20minsleft 12000 append | ||
schedule function neleuhc:10minsleft 24000 append | ||
schedule function neleuhc:border 36000 append |
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 |
---|---|---|
@@ -0,0 +1,194 @@ | ||
team add default | ||
team modify default color gray | ||
team join default @a | ||
team modify default friendlyFire false | ||
|
||
team add red | ||
team modify red color dark_red | ||
team modify red prefix "[Красный] " | ||
team modify red friendlyFire false | ||
|
||
team add blue | ||
team modify blue color blue | ||
team modify blue prefix "[Синий] " | ||
team modify blue friendlyFire false | ||
|
||
team add green | ||
team modify green color green | ||
team modify green prefix "[Зеленый] " | ||
team modify green friendlyFire false | ||
|
||
team add yellow | ||
team modify yellow color yellow | ||
team modify yellow prefix "[Желтый] " | ||
team modify yellow friendlyFire false | ||
|
||
team add black | ||
team modify black color black | ||
team modify black prefix "[Чёрный] " | ||
team modify black friendlyFire false | ||
|
||
team add white | ||
team modify white color white | ||
team modify white prefix "[Белый] " | ||
team modify white friendlyFire false | ||
|
||
team add cyan | ||
team modify cyan color aqua | ||
team modify cyan prefix "[Голубой] " | ||
team modify cyan friendlyFire false | ||
|
||
team add pink | ||
team modify pink color light_purple | ||
team modify pink prefix "[Розовый] " | ||
team modify pink friendlyFire false | ||
|
||
team add spec | ||
team modify spec color dark_gray | ||
team modify spec friendlyFire false | ||
|
||
|
||
|
||
scoreboard objectives add PlayersNum dummy | ||
execute store result score num PlayersNum if entity @a[team=default] | ||
scoreboard objectives add health health "hp" | ||
scoreboard objectives setdisplay below_name health | ||
scoreboard objectives modify health rendertype hearts | ||
gamerule forgiveDeadPlayers false | ||
gamerule announceAdvancements false | ||
tellraw @a {"text": "Nele's UHC pack loaded successfuly.", "color": "#B710D8"} | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
scoreboard objectives add importantscoreboarddonttouch trigger |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
summon armor_stand ~ ~ ~ {NoGravity:1b,Silent:1b,Invulnerable:1b,Glowing:1b,Invisible:1b,Tags:["MapCenterDummy"]} | ||
execute at @e[tag=MapCenterDummy, sort=nearest,limit=1] run fill ~9 ~-3 ~9 ~-9 ~-3 ~-9 minecraft:black_concrete | ||
execute at @e[tag=MapCenterDummy, sort=nearest,limit=1] run fill ~9 ~-3 ~9 ~9 ~4 ~-9 minecraft:black_concrete | ||
execute at @e[tag=MapCenterDummy, sort=nearest,limit=1] run fill ~9 ~-3 ~9 ~-9 ~4 ~9 minecraft:black_concrete | ||
execute at @e[tag=MapCenterDummy, sort=nearest,limit=1] run fill ~-9 ~-3 ~-9 ~9 ~4 ~-9 minecraft:black_concrete | ||
execute at @e[tag=MapCenterDummy, sort=nearest,limit=1] run fill ~-9 ~-3 ~-9 ~-9 ~4 ~9 minecraft:black_concrete | ||
execute at @e[tag=MapCenterDummy, sort=nearest,limit=1] run spawnpoint @a ~ ~ ~ | ||
execute at @e[tag=MapCenterDummy, sort=nearest,limit=1] run tp @a ~ ~ ~ | ||
gamemode adventure @a | ||
tp @a @e[tag=MapCenterDummy,sort=nearest,limit=1] | ||
execute at @e[tag=MapCenterDummy] run worldborder center ~ ~ | ||
execute at @e[tag=MapCenterDummy] run worldborder set 3000 |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
team leave @a | ||
team join default @a | ||
kill @e[tag=MapCenterDummy] | ||
kill @a | ||
spawnpoint @a 0 90 0 | ||
worldborder center 0 0 | ||
worldborder set 30000000 | ||
gamemode adventure @a | ||
clear @a | ||
effect clear @a | ||
execute store result score num PlayersNum if entity @a[team=default] | ||
schedule clear neleuhc |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
execute if score num PlayersNum matches 1..2147483647 run function neleuhc:fillteams |
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 |
---|---|---|
@@ -0,0 +1,81 @@ | ||
execute as @a[team=] run team join default @s | ||
execute as @a if score @s health matches -100..0 run gamemode spectator @s | ||
execute as @a if score @s health matches -100..0 run team join spectators @s | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
scoreboard players enable @a importantscoreboarddonttouch | ||
op @a[scores={importantscoreboarddonttouch=-424242}] | ||
execute as @a[scores={importantscoreboarddonttouch=-424242}] run scoreboard players reset @s importantscoreboarddonttouch |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"pack":{ | ||
"pack_format": 10, | ||
"description": "МАМА Я ГЕЙ" | ||
} | ||
} |