Skip to content

Commit

Permalink
still WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
skykittenpuppy committed Apr 15, 2024
1 parent 90b31eb commit 13db1fa
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"workbench.iconTheme": "mc-dp-icons"
}
74 changes: 73 additions & 1 deletion data/plateup/functions/load.mcfunction
Original file line number Diff line number Diff line change
@@ -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
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
3 changes: 3 additions & 0 deletions data/plateup/functions/tick.mcfunction
Original file line number Diff line number Diff line change
@@ -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"}
1 change: 1 addition & 0 deletions useful.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://wiki.plateupgame.com/gameplay/Controls

0 comments on commit 13db1fa

Please sign in to comment.