Bunch of changes, adding functionality requested.
- Added bunch of achievements for democracy - Added currency exchanges - Made voting algorithm more efficient - Added standard meeting hall functionality to the datapack
This commit is contained in:
@@ -21,7 +21,7 @@ summon minecraft:armor_stand ~ ~ ~ {NoGravity:1b,Invulnerable:1b,Small:1b,Marker
|
||||
scoreboard players set @e[tag=mt_votestand] mt_countdown 20
|
||||
|
||||
# Announce the vote
|
||||
tellraw @a ["",{"text":"Vote >>","bold":true,"color":"dark_green"},{"text":" Vote using the voting book now!","bold":true,"color":"white"}]
|
||||
tellraw @a[scores={mt_vote_eligible=1}] ["",{"text":"Vote >>","bold":true,"color":"dark_green"},{"text":" Vote using the voting book now!","bold":true,"color":"white"}]
|
||||
|
||||
# Enable the trigger
|
||||
scoreboard players enable @a[scores={mt_vote_eligible=1}] mt_vote_trigger
|
||||
@@ -38,4 +38,7 @@ schedule function tctvote:notes/up_0 1t
|
||||
function tctvote:countdownstart
|
||||
|
||||
# And start the countdown
|
||||
schedule function tctvote:halt 20s
|
||||
schedule function tctvote:halt 20s
|
||||
|
||||
# Give everyone advancements
|
||||
advancement grant @a[scores={mt_vote_eligible=1},advancements={craftytable:joinmeeting=true}] only craftytable:vote
|
||||
Reference in New Issue
Block a user