Skip to main content
The server lottery is a periodic event that any admin can kick off. Once a lottery is running, members spend coins on tickets to enter. When the timer runs out Percy picks a single winner using a weighted random draw — the more tickets you hold, the better your odds. The jackpot is funded entirely by ticket sales, so the pot grows as more people buy in.

How It Works

1

Admin starts the lottery

An admin runs /lottery start with a duration and a ticket price. A public announcement is posted in the channel so members know a lottery is open.
2

Members buy tickets

Anyone can run /lottery buy to spend coins on tickets. Tickets cost cash from your wallet — make sure you’ve withdrawn enough before buying. You can buy up to 1,000 tickets in a single command.
3

The jackpot grows

Every ticket purchased adds that ticket’s price to the jackpot. The more people who enter (or the more tickets one person buys), the bigger the prize.
4

Drawing

When the timer expires Percy draws a winner. The selection is weighted by ticket count — holding more tickets gives you a proportionally better chance. The winner receives the full jackpot directly into their cash balance and a winner announcement is posted.

Commands

Checking Your Odds

Run /lottery status at any time to see:
  • The current jackpot total
  • The ticket price per entry
  • The total number of tickets sold so far
  • Your ticket count and your current win percentage
  • The drawing time (relative timestamp)
Your displayed odds update in real time as more tickets are sold, so you can decide whether buying more is worth it.

Admin: Starting a Lottery

Only one lottery can run at a time per server. Starting a new one while one is already active will fail — wait for the current lottery to draw before launching another.
Starting a lottery requires the Administrator permission.

Winner Selection

Percy uses a weighted random draw: every ticket you hold is effectively one entry in the draw. If 100 tickets are sold and you hold 20 of them, you have a 20% chance of winning. If no tickets are sold before the timer ends, the lottery closes with no winner and no coins change hands.