Gaming32 / bingo

A multiloader bingo mod
https://modrinth.com/mod/bingo-mod
MIT License
4 stars 2 forks source link

add optional time limit #28

Open RasmusAntons opened 2 months ago

RasmusAntons commented 2 months ago

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.

image image

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