10 lines
671 B
Mcfunction
10 lines
671 B
Mcfunction
scoreboard objectives setdisplay sidebar
|
|
scoreboard players reset Remaining mt_vote_balance
|
|
execute as @a run clear @s written_book{certified:votebook}
|
|
tellraw @a ["",{"text":"Vote >>","bold":true,"color":"dark_green"},{"text":" AYES: ","bold":true,"color":"dark_green"},{"score":{"name":"AYE","objective":"mt_vote_balance"},"bold":true,"color":"white"},{"text":" "},{"text":" NOES: ","bold":true,"color":"red"},{"score":{"name":"NO","objective":"mt_vote_balance"},"bold":true,"color":"white"}]
|
|
scoreboard players reset * mt_vote_balance
|
|
scoreboard players reset * mt_vote_trigger
|
|
team remove green
|
|
team remove red
|
|
team remove yellow
|
|
schedule function tct:notes/down_0 1t |