This adds another start parameter --time <total time in minutes> and a new command bingo time set <remaining time in minutes> to set a countdown that will end the game when it reaches 0.
For modded clients, the countdown is shown below the board, for vanilla clients it's shown as a boss bar.
I don't know if the command syntax is ideal, i thought about having a more elaborate command like --time <value> <time unit>.
I had to convert the ClientGame record into a class which might be a bit messy.
This adds another start parameter
--time <total time in minutes>
and a new commandbingo time set <remaining time in minutes>
to set a countdown that will end the game when it reaches 0.For modded clients, the countdown is shown below the board, for vanilla clients it's shown as a boss bar.
I don't know if the command syntax is ideal, i thought about having a more elaborate command like
--time <value> <time unit>
.I had to convert the
ClientGame
record into a class which might be a bit messy.closes #27