diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..fd2bf1e --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "workbench.iconTheme": "mc-dp-icons" +} \ No newline at end of file diff --git a/data/plateup/functions/load.mcfunction b/data/plateup/functions/load.mcfunction index cca6989..6fa8b88 100644 --- a/data/plateup/functions/load.mcfunction +++ b/data/plateup/functions/load.mcfunction @@ -1,5 +1,77 @@ +scoreboard objectives remove ready +scoreboard objectives add ready dummy [{"text":"Ready up!", "color":"yellow", "bold":true}] +scoreboard objectives setdisplay sidebar ready +scoreboard players set @a ready 0 + +scoreboard objectives remove noready +scoreboard objectives add noready dummy "You shouldn't see this..." +scoreboard players set generic noready 0 + bossbar remove ready bossbar add ready [{"text":"Ready up with ", "color":"yellow", "bold":true, "underlined":false}, {"text":"/trigger ready", "color":"aqua", "bold":false, "underlined":true}, {"text":" !", "color":"yellow", "bold":true, "underlined":false}] bossbar set ready players @a bossbar set ready color yellow -bossbar set ready visible true \ No newline at end of file +bossbar set ready visible true + +bossbar remove noready +bossbar add noready [{"text":"There are unopened packages!", "color":"red", "bold":true}] +bossbar set noready players @a +bossbar set noready color red +bossbar set noready visible true +bossbar set noready max 1 +bossbar set noready value 1 + +bossbar remove timer +bossbar add timer [{"text":"⏳", "color":"aqua", "bold":false}, {"text":" Time Remaining ", "color":"yellow", "bold":true}, {"text":"⏳", "color":"aqua", "bold":false}] +bossbar set timer players @a +bossbar set timer color yellow +bossbar set timer visible true + +team add aqua "aqua" +team modify aqua color aqua +team modify aqua nametagVisibility never +team add black "black" +team modify black color black +team modify black nametagVisibility never +team add blue "blue" +team modify blue color blue +team modify blue nametagVisibility never +team add dark_aqua "dark_aqua" +team modify dark_aqua color dark_aqua +team modify dark_aqua nametagVisibility never +team add dark_blue "dark_blue" +team modify dark_blue color dark_blue +team modify dark_blue nametagVisibility never +team add dark_gray "dark_gray" +team modify dark_gray color dark_gray +team modify dark_gray nametagVisibility never +team add dark_green "dark_green" +team modify dark_green color dark_green +team modify dark_green nametagVisibility never +team add dark_purple "dark_purple" +team modify dark_purple color dark_purple +team modify dark_purple nametagVisibility never +team add dark_red "dark_red" +team modify dark_red color dark_red +team modify dark_red nametagVisibility never +team add gold "gold" +team modify gold color gold +team modify gold nametagVisibility never +team add gray "gray" +team modify gray color gray +team modify gray nametagVisibility never +team add green "green" +team modify green color green +team modify green nametagVisibility never +team add light_purple "light_purple" +team modify light_purple color light_purple +team modify light_purple nametagVisibility never +team add red "red" +team modify red color red +team modify red nametagVisibility never +team add white "white" +team modify white color white +team modify white nametagVisibility never +team add yellow "yellow" +team modify yellow color yellow +team modify yellow nametagVisibility never \ No newline at end of file diff --git a/data/plateup/functions/tick.mcfunction b/data/plateup/functions/tick.mcfunction index e69de29..9f8705f 100644 --- a/data/plateup/functions/tick.mcfunction +++ b/data/plateup/functions/tick.mcfunction @@ -0,0 +1,3 @@ +execute as @a if score @s ready matches 0 run scoreboard players display numberformat @s ready fixed {"text":"❌", "color":"red"} +execute as @a unless score @s ready matches 0 run scoreboard players display numberformat @s ready fixed {"text":"✔", "color":"green"} +execute unless score generic noready matches 0 run scoreboard players display numberformat @a ready fixed {"text":"⚠", "color":"red"} \ No newline at end of file diff --git a/useful.txt b/useful.txt new file mode 100644 index 0000000..479efe2 --- /dev/null +++ b/useful.txt @@ -0,0 +1 @@ +https://wiki.plateupgame.com/gameplay/Controls \ No newline at end of file