/** * Method to get remaining time to draw. * * @return Remaining time, or null if round is not running. */ (int) LotteryAPI.
get().
getRemainingTime();
/** * Method to get parsed remaining time to draw to digital format. * Format: HH:MM:SS. Where HH represents Hours, MM minutes and SS seconds. * * @return Parsed remaining time, or null if round is not running. */ (String) LotteryAPI.
get().
getDigitalFormatOfRemainingTime();
/** * Method to get parsed remaining time to draw to described format. * E.g.: * 1 Hour, 23 Minutes and 10 Seconds * 1 Hour and 10 Minutes * 1 Hour * 10 Minutes * 30 Seconds * * @return Parsed remaining time, or null if round is not running. */ (String) LotteryAPI.
get().
getDescribedFormatOfRemainingTime();
/** * Creates LotteryGUI. There player can see current round status, purchase tickets or look at personal/summary stats. * * @param player Target, whom to open GUI. */ (void) LotteryAPI.
get().
openLotteryGUI(target
);