Lottery

Members buy tickets with the Economy module currency (per-member cap), the jackpot grows, and Robert draws the winners at the scheduled time: every day, week, month or on demand. The draw is reproducible (the seed is kept in the history), the cut is adjustable, the jackpot carries over when there are not enough players, and the announcement is customisable. The next draw survives a restart.

Free Disabled by default Scheduled, reproducible drawTicket cap per memberJackpot carried over, adjustable cut

Configure in the dashboard

On this page GuideQuick startGood to knowSettings Commands Limits per plan

Guide

Quick start

  1. Enable the Economy module, then the lottery: a draw takes place every week, on Sunday at 8 pm (server time zone), adjustable in Frequency, Draw day and Draw time.
  2. Members buy tickets with /lottery buy (at the Ticket price) and check the jackpot with /lottery info.
  3. Pick an Announcement channel: Robert reminds everyone about the draw there, then announces the winners.

Good to know

  • Per-member cap: “Tickets per member per draw”, itself capped by the server plan. You can also limit the total number of tickets and close sales a few minutes before the draw.
  • Jackpot: a cut (10% by default) is taken and leaves the economy; another share can carry over to the next round. With too few players, the jackpot carries over (or tickets are refunded if you turn carrying over off).
  • Reproducible draw: Robert draws a random seed, keeps it in /lottery history and picks the winners only from that seed, the round number and the tickets: the result can be replayed and checked.
  • The next draw survives restarts; a draw left overdue after an outage is caught up. A double click or two simultaneous purchases never debit twice, and a draw never pays twice.
  • Without the Economy module, sales are suspended with a clear message.
  • /lottery draw (immediate draw) and /lottery cancel (round cancelled, tickets refunded) need the Manage Server permission, checked again on every click, and a confirmation.
  • Messages can be customised with {winners}, {prize}, {pot}, {round}, {next}… See the variables.
  • Plan limit: number of tickets per member.

Settings

SettingTypeDefault
Tickets
Ticket price Number (coins)1 – 1000000 100
Tickets per member per drawCapped by the server's plan. Number (tickets)1 – 10000 10
Maximum tickets sold per draw0: unlimited. Number (tickets)0 – 1000000 0
Sales close before the draw0: until the last moment. Number (minutes)0 – 1440 0
Roles allowed to playEmpty: all members. Roles —
Channels where tickets can be bought (empty: all) Channels —
Draw
Frequency Choice Every week
Draw time Time 20:00
Draw day Choice Sunday
Day of the month Number1 – 28 1
Number of winnersThe prize is shared equally. Number (winners)1 – 10 1
Players needed to draw Number (players)1 – 1000 2
Jackpot
Cut taken from the jackpot Number (%)0 – 90 10
Share of the jackpot carried to the next roundEven when there is a winner. Number (%)0 – 90 0
Carry the jackpot over when there are not enough playersOtherwise, tickets are refunded. Toggle Yes
Starting jackpot added each round Number (coins)0 – 100000000 0
Announcements
Announcement channel Channel —
Draw message Message —
Role mentioned in announcements Role —
Announce a postponed draw Toggle Yes
Warn winners by private message Toggle No
Reminder before the draw0: no reminder. Number (minutes)0 – 10080 60
Reminder message Message —

Commands

/lottery buy

Buy lottery tickets

Everyone
/lottery buy count:3
/lottery info

See the jackpot, the draw and your tickets

Everyone
/lottery info
/lottery history

See the latest draws

Everyone
/lottery history
/lottery draw

Run the draw now

Manage Server
/lottery draw
/lottery cancel

Cancel the round and refund the tickets

Manage Server
/lottery cancel

Limits per plan

FreePremiumProNetwork
Lottery tickets per member10502001,000