For the complete documentation index, see llms.txt. This page is also available as Markdown.

Leaderboards

Leaderboards let your customers compete for prizes by earning points through Instant Wins. Here's how to set up and manage leaderboards on your competitions.


How Leaderboards Work

Leaderboards add a competitive layer to your competitions. When enabled, select Instant Wins can award points to players each time they are revealed. Points are tallied on a live leaderboard visible on the competition page, and top players win prizes when the leaderboard period ends.

Here's the flow:

  1. You enable a leaderboard on a competition and choose your settings.

  2. You configure which Instant Wins award points (and how many).

  3. You add prizes for the top positions.

  4. As customers buy tickets and reveal Instant Wins, they earn points.

  5. Rankings update on the competition page (refreshed every 30 seconds).

  6. When the period ends, winners are determined and prizes are awarded automatically.

Points are awarded the moment a customer reveals an Instant Win, not when they purchase the ticket. Each individual Instant Win reveal creates one point entry.


Enable a Leaderboard

  1. Go to Competitions in the admin panel.

  2. Select the competition you want to add a leaderboard to.

  3. Scroll down to the Leaderboard section.

  4. Toggle Enable Leaderboard on.

  5. Configure the duration, tiebreaker, and prizes (see below).

  6. Click Save.


Choose a Duration

The duration controls how long each leaderboard period runs before resetting. Choose one of the following:

Duration
How It Works

Match Competition

A single leaderboard runs for the entire competition (start to end). There are no resets, no countdown timer, and no period selector. This is the simplest option.

Daily

The leaderboard period runs from the start of day to end of day. Results are archived automatically overnight, and a new period begins the next day.

Weekly

The leaderboard period runs Monday through Sunday. Results are archived automatically on Monday morning, and a new period begins.

Daily and Weekly leaderboards display a countdown timer on the competition page so customers know exactly when the current period ends. Customers can also browse up to 5 recent archived periods using the period selector.

Archived periods preserve all data permanently. Nothing is deleted. Winners are determined and prizes are awarded at the moment a period is finalised.


Set the Tiebreaker

When two or more players have the same number of points, the tiebreaker determines who ranks higher. The tiebreaker always produces a definitive order, so every position on the leaderboard is unique. Customers will never see two players sharing the same rank.

Tiebreaker
How It Works

First to Score

The player who revealed their first scoring Instant Win earliest ranks higher. If Player A scored their first points at 8am and Player B scored at 9am, Player A ranks above Player B. This rewards players who engage with the competition early.

Most Tickets

The player with the most completed tickets for the competition ranks higher. If Player A has 10 completed tickets and Player B has 3, Player A ranks above Player B. This rewards players who have purchased more tickets overall.

When prizes are awarded, they follow the tiebreaker ordering. If three players are tied on points, the tiebreaker determines who finishes 1st, 2nd, and 3rd, and each receives the corresponding prize.


Add Prizes

Prizes are defined once per competition and reused for each leaderboard period. The same prize set applies whether the leaderboard runs daily, weekly, or for the full competition. Only the top N players receive prizes, where N is the number of prizes you have created.

  1. In the Leaderboard section of your competition, click Add Prize.

  2. Set the Rank (1 for 1st place, 2 for 2nd place, etc.).

  3. Enter a Prize Description (e.g. "£100 Cash Prize" or "50 Free Tickets").

  4. Upload a Prize Image (optional, PNG or JPG, max 512KB).

  5. Toggle Site Credit if you want the prize paid as wallet credit (see Site Credit & Wallets).

  6. If Site Credit is enabled, enter the Payout Amount to be credited automatically.

  7. Click Save.

Prizes are displayed on the competition page so customers can see what they're competing for. The top 3 prizes are shown by default, with the option to expand and see more.

If a period has fewer participants than prizes, the extra prizes simply go unawarded for that period.


Configure Instant Win Points

Not every Instant Win needs to award leaderboard points. You choose which ones contribute and how many points each is worth.

  1. Go to Competitions and select your competition.

  2. Open the Instant Wins tab at the bottom of the page.

  3. Click on the Instant Win you want to configure.

  4. Toggle Award Leaderboard Points on.

  5. Enter a Points Value (1 to 10,000).

  6. Click Save.

Repeat for each Instant Win you want to include in the leaderboard.

You can assign different point values to different Instant Wins. For example, a high value prize could award 100 points while a smaller prize awards 10. This lets you create a more strategic leaderboard where certain Instant Wins are worth chasing.

If a customer's order is cancelled, any leaderboard points they earned from that order's Instant Wins are automatically removed.


What Your Customers See

When a leaderboard is enabled, the competition page displays:

  • Leaderboard Table showing rank, player display name, and total points. Gold, silver, and bronze medal badges highlight the top 3 positions. The logged in customer's own row is highlighted with a coloured border and a "You" label.

  • Prize Showcase showing the prizes available, including images and descriptions. On mobile, prizes scroll horizontally. On desktop, the top 3 are shown in a grid with an option to expand and view all.

  • Countdown Timer (Daily and Weekly only) counting down days, hours, minutes, and seconds until the current period ends.

  • Your Rank Card (logged in users only) showing the customer's current position and total points for the active period. This card is hidden when viewing archived periods.

  • Period Selector (Daily and Weekly only) with buttons to switch between the current period and up to 5 recent archived periods.

  • Load More button to view more entries beyond the initial 10 (loads 10 more each click, up to a maximum of 100).

  • Last Updated timestamp at the bottom showing when the rankings were last refreshed.

Customers do not need to be logged in to view the leaderboard. However, the "Your Rank" card and the "You" row highlight only appear for logged in users who have scored points.

When viewing an archived (finalised) period, each winner's prize is displayed next to their name in the table.


Managing Leaderboard Winners

After a leaderboard period ends, you can view and manage winners from the admin panel.

  1. Go to Competitions and select the competition.

  2. Click the Leaderboard Winners tab at the bottom of the page.

From here you can:

  • View all winners across all periods, with their rank, points, prize, and period dates.

  • Filter by paid or unpaid to track which prizes still need fulfilling.

  • Mark as Paid individually or in bulk for prizes you've fulfilled manually.

  • Mark as Unpaid to reverse the paid status if needed.

  • View the winner's profile by clicking their name.

For Daily and Weekly leaderboards, you can manually trigger Archive Previous Period from the actions button if you need to finalise a period before the automated schedule runs. This is safe to run multiple times as it will not duplicate prizes or winners.


Automatic Prize Payouts

For Daily and Weekly leaderboards, prizes are paid automatically when the period is archived by the scheduled task (overnight for daily, Monday morning for weekly). The system checks for any missed periods (up to 7 days for daily, 4 weeks for weekly) so prizes are still awarded if the task was delayed.

When a period is finalised:

  1. Users are ranked by total points, then by the tiebreaker.

  2. Each ranked user is matched to the next available prize in order (1st place prize, 2nd place prize, etc.).

  3. If the prize is marked as Site Credit with a payout amount, the amount is deposited into the winner's wallet immediately.

  4. The winner record is marked as paid. Non-credit prizes must be marked paid manually.

Competition duration leaderboards are not archived automatically. You must finalise them manually from the admin panel.

Payouts are protected by database locking. Running the archive process multiple times will never duplicate a payment.


How Ties Work

When two or more players have the same number of points, the tiebreaker setting fully resolves the ordering. Every position on the leaderboard is unique, there are no shared ranks.

For example, if Player A and Player B both have 500 points and the tiebreaker is "First to Score", the player who scored first is ranked higher. One finishes 1st and the other finishes 2nd, each receiving the corresponding prize.

The tiebreaker always produces a definitive order. Customers will never see two players sharing the same position.

Last updated