Features
New Year lottery and countdown
uniqers-christmasPage 14 of 233 topicsUpdated recently

01Tickets
In the Lottery tab players buy a six-digit paper ticket for TicketPrice (500 cookies, 0 = free). One ticket per player per season; sales close when the draw starts.
02The draw
At New Year (Config.EventResetTime) the studio draw plays for everyone at the same time: the ball machine spins and draws the six digits one by one. Winners are paid by how many digits of their ticket match the winning number:
lua
Config.Lottery = { TicketPrice = 500, Jackpot = 200000000, -- shown on the TV (visual) RealRewardCandy = 50000, -- full prize in cookies RealRewardMoney = 1000000, -- full prize in money GuaranteedWinner = true, -- the winning number is one of the sold tickets}- The draw also runs if the server was offline at New Year.
- Winners who are offline get their prize when they join.
- Tickets are reset every season.
03Countdown and finale
The New Year tab counts down to Config.EventResetTime. Ten seconds before midnight every player sees the global countdown, then Santa's sleigh and the fireworks.
Still stuck? Send us your server log on Discord and we will sort it out with you.
Ask on Discord