> For the complete documentation index, see [llms.txt](https://help.smartico.ai/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.smartico.ai/welcome/products/gamification-basics/tournaments/tournament-setup.md). Agents can also search and read this documentation through its [MCP server](https://help.smartico.ai/welcome/~gitbook/mcp).

# Tournament Setup

This document explains the configuration specifics when creating a tournament using the Smartico BO.

Two types of tournaments can be created in the Smartico Back-Office:

1. **Tournaments with Simple Logic** (**Tournament with legacy logic** in the creation wizard)**:** These tournaments use predefined scoring rules. You select from the available options, and the system handles the rest.
2. **Tournaments with Formula-Based Logic** (**Tournament with formula-based logic** in the creation wizard)**:** These tournaments allow you to create custom scoring rules using a formula that you design.

The only difference between these two types is how the scoring logic is applied. All other tournament settings remain the same.

{% hint style="info" %}
If multiple runs overlap, the user’s progress is counted only for the oldest active run.\
For example, if a run starts every day and lasts 5 days, there will be 5 runs active simultaneously. Even so, the user’s progress will apply only to the first (oldest) active run - not to the newer ones.
{% endhint %}

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-aa40138c93c509a5f30327fb11144025d434e8bd%2FScreenshot_23.png?alt=media&amp;token=d50945f4-d18c-4be0-93d6-2bd20550528d" alt=""><figcaption><p>BO: Create menu with the two tournament types</p></figcaption></figure></div>

### Tournaments with Simple Logic

Tournament configurations are located in the ‘Gamification > Tournaments’ section within the Smartico Back Office. The Simple Logic Tournament configuration screen consists of the following main tabs:

* **General** - the tab with the main configurations of a given tournament, like who can see the tournament, scoring rules (pre-defined), name, description, image, image for the tournament lobby, etc.
* **Scoring Formulas** - only in formula-based tournaments, see [Formula-based scoring logic](https://help.smartico.ai/welcome/products/gamification-basics/tournaments/tournament-setup#formula-based-scoring-logic) below
* **Prize Pool** - used to define the prizes that will be issued to the winners of the tournament
* **Related Games** - used to add related games to the tournament
* **Runs** - showing the list of tournament 'runs' (instances) with a list of participants in every run. The concept of the 'run' is easy to understand in the example of recurring tournaments. If you have a recurring tournament that starts every Monday, you will find all instances of this tournament, with a specific list of participants and winners, in the 'Runs' tab.
* **Tests log** - the score calculation details written while **Enable testing mode** is on
* **Analytics** - a report with the results of the tournament
* **History** - this tab shows the history of changes in the tournament configuration

#### **Tournament status**

As part of the General setup, you can define the following statuses:

* **Archived** - the tournament is not active or displayed in the gamification widget, and further changes of status are locked
* **Draft** - the tournament is not active or displayed in the gamification widget
* **Paused** - the tournament's future runs will be skipped, new players will not be able to join the tournament, current players will continue to progress in the current run, and prizes will be distributed
* **Published** - the tournament is active and displayed in the gamification widget (based on segmented criteria)

<details>

<summary>Status flow</summary>

1. When creating a new Tournament template, the default status will be **Draft.**
2. You can change **Draft** → **Published** or **Draft** → **Archived.**
3. Once Published you can change **Published** → **Paused** or **Published** → **Archived.**
4. Once Paused you can change **Paused** → **Published.**
5. You can switch between **Paused** and **Published** continuously.
6. Once **Archived** further status change will be disabled, because this status is **final.**

{% hint style="info" %}
*Archiving a tournament won't stop its active runs. To cancel them, you need to navigate to the Runs tab. Otherwise, they will finish as setup.*
{% endhint %}

</details>

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-f034fe4e3241ea0d5961c9666ba4cb0f7b2cb307%2FScreenshot_70.png?alt=media" alt=""><figcaption></figcaption></figure></div>

### Formula-based scoring logic

You can create custom scoring logic using the new ‘Formula-based’ tournament type. This option is accessible through the Creation Wizard. Once selected, you'll have access to the Formula Builder, where you can design your own scoring rules based on specific events and properties.

#### How It Works:

**Step 1.** Create a Formula-Based Tournament:\
When creating the tournament, select **Tournament with formula-based logic** from the wizard.

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-f49e8a19fea3653f3600081440cf519cc2cf722c%2FScreenshot_24.png?alt=media" alt=""><figcaption></figcaption></figure></div>

**Step 2.** Create a Scoring Formula:\
After saving the template, go to the ‘Scoring Formulas’ tab and click on the ‘Create’ button to start creating the scoring formula.

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-da5c0302494846e6d5477deeda9012e10bbd6ed3%2FScreenshot_25.png?alt=media" alt=""><figcaption></figcaption></figure></div>

**Step 3.** Define Your Formula:\
Give your formula a name, and select the event and the conditions on which it will be based.

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-9cbbc4a6c159f6daf273532366b614e7c8efb4f1%2FScreenshot_26.png?alt=media" alt=""><figcaption></figcaption></figure></div>

**Step 4.** Open the Formula Builder:\
Use the Formula Builder to construct your formula using the properties related to the chosen event.

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-5f6aaaf3f9d19ca5dffa97052db23958625aa65a%2FScreenshot_27.png?alt=media&amp;token=1f0cb007-d70c-4d1a-ac1a-6408a165773e" alt=""><figcaption></figcaption></figure></div>

**Step 5.** Save Your Formula:\
Save the formula once you're satisfied with the logic.

{% hint style="success" %}
In an **Auto (all users will participate)** tournament with formula-based logic: if a player's score is non-zero (including negative values) and they meet all the conditions, they will be successfully registered for the tournament. However, if the score is exactly 0, the player will not be registered, even if all other conditions are met.
{% endhint %}

#### Managing Multiple Formulas:

You can create multiple formulas and assign a priority level to each. The formula with the highest priority (1 being the highest) is checked first, then the lower-priority formulas (2, 3, 4, etc.). Each action is scored by one formula only: the first formula of that event whose conditions match. Formulas based on different events each score their own events.

For example, let's say you create a formula based on a ‘Deposit’ event that awards 10 points for every deposit over 100 EUR. You then create a second formula based on a ‘Casino Bet’ event, awarding 5 points for every bet over 10 EUR, and here is what will happen:

\- If a player deposits more than 100 EUR, they receive 10 points.

\- If a player places a casino bet of over 10 EUR, they receive 5 points.

\- If both actions are performed, the player receives a total of 15 points.

<div><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-d48b6b6f85b09b6d468d8144dbd1e8c43a7763bf%2FScreenshot_31.png?alt=media" alt=""><figcaption></figcaption></figure> <figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-71edc1c0adb7684c71585f769fe4795afd8bc40b%2FScreenshot_30.png?alt=media" alt=""><figcaption></figcaption></figure></div>

{% hint style="danger" %}
If there are overlapping formulas, the one with the highest priority will be executed. Overlapping could happen if you create 2 formulas with the same event and conditions.
{% endhint %}

### Score accumulation and visualization rules

Beyond how individual scores are calculated, tournament templates provide options for accumulation and leaderboard formatting:

* **Score accumulation rule:**
  * **Default:** Scores accumulate additively on each qualifying event and can include negative values.
  * **No negatives:** Scores accumulate additively, but total scores cannot drop below 0.
  * **Take Max value:** Non-additive scoring where only the player's single highest achieved score is recorded on the leaderboard.
* **Score visualization function type:** Allows formatting displayed scores on the leaderboard using **Floor** (the score is divided by the number set in **Score rounding rule** and rounded down) or **Square root**. The shown score, and the order of players who show the same score, can change; prizes are always given by the exact score.
* **Tie-breaking:** When two or more players achieve the exact same score, rank priority is given to the player who reached that score first (earliest update timestamp).

### Players with different currencies

If your players bet in different currencies, turn on the **Convert bet and win amounts to the label currency** setting in **Label settings**. Then the bet and win amounts of casino and sport events are converted from the player's wallet currency to the label's default currency before the score is counted, so players are ranked fairly. The setting is off by default; ask your Success manager to change it.

### Players who are allowed to register and see the tournament

You can define two segments of players:

* **Who can see the tournament** - will define the segment of users who will see the tournament
* **Who can register in the tournament** - segment of users who can register. If the user can see but cannot register for the tournament, they will see an error message. You can write this message in **Message, if player doesn't match registration segment** (in **Entry Mode**).

### Ranking Type (Individual vs Clan Tournaments)

By default, tournaments rank **Individual Players**. When the Clans product is enabled, operators can configure **Clan Tournaments** where players compete collectively, scores are aggregated per clan, and prizes are distributed to winning clans and their members. For detailed setup, see the [Clans & Clan Tournaments](https://help.smartico.ai/welcome/products/gamification-basics/tournaments/clans-and-clan-tournaments.md) guide.

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-13a634f655f3488c6c4d34178d95ab92c8147e07%2FScreenshot_58.png?alt=media" alt=""><figcaption></figcaption></figure></div>

### Registration rules and tournament time

There are also settings that define the main rules for entering the tournament.

1. **Registration type:**

* Free opt-in - Players can join the tournament free of charge
* Buy-in with Points - the player is paying for opt-in with gamification points
* Optin & Manual Approval - the player can opt in to the tournament, but must be approved by the operator in the Smartico back office. This opt-in logic can be used for closed tournaments, where, behind the scenes, the operator deducts real money from the user's balance. A money deduction can also be automatic if the operator's platform provides an integration API to the wallet.
* Requires Qualification - the qualification rule (**Qualification action**) itself can be any event happening for the end-user, and can also include restrictions on the event's attributes. In the case of "Requires qualification", the user must complete the qualification action; after that, he will be able to register and participate in the tournament.\
  \
  **Note:** the system will handle 2 cases: the user can first register and then complete the qualification action, or he can complete the qualification action and then confirm registration.

  A message for non-matching registration conditions will inform the user of the required action.
* Auto (all users will participate) - Players are automatically entered on their first qualifying activity after the tournament starts, without needing manual opt-in. This option is shown only when the **Allow 'Auto' registration in tournaments** setting in **Label settings** is on; ask your Success manager to change it.
* Buy-in with Gems / Buy-in with Diamonds - Players pay gamification gems or diamonds to enter (available when Gems & Diamonds are enabled for the label).

In 'Optin & Manual Approval' and 'Requires Qualification' tournaments, players who are still waiting for approval or qualification are shown on the leaderboard while the **Show pending registrations on the tournament leaderboard** setting in **Label settings** is on (default). Turn it off to show only approved players.

2. **Allow late registration** - if allowed, players can register after the tournament is already in progress. Auto tournaments do not have this option.
3. **When to run** - is defining if it's a one-time tournament, starting on a specific date/time or the tournament is repeating according to a defined schedule. For a repeating schedule you can choose a time zone (UTC by default), and the start time follows Daylight Saving Time changes. The 'Tournament duration' can be up to the **Max tournament duration, days** setting in **Label settings** (default 90 days); ask your Success manager to change it.
4. **Minimum and maximum number of players:** if the tournament does not get enough players, it will be canceled automatically. In such a case, the buy-in amount (points, gems or diamonds) will be returned to the player. Auto tournaments are not canceled: they always start. Once the maximum number of players is reached, new player registrations are no longer allowed. It’s recommended to have at least 2 users, so if only 1 user joins a tournament, he will be the only participant and the only winner. Neither number can be higher than the **Max players per tournament** setting in **Label settings** (default 200,000); ask your Success manager to change it.

<div><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-872b0678af6279229f00398a4a69c842f4eb48e2%2FScreenshot_71.png?alt=media" alt=""><figcaption></figcaption></figure> <figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-25a3c7aa1140c4612763f6ee844bd4c0cc092083%2FScreenshot_72.png?alt=media" alt=""><figcaption></figcaption></figure> <figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-7c17251c812093b0f169bdc4a051eef38149a933%2FScreenshot_73.png?alt=media" alt=""><figcaption></figcaption></figure></div>

### Tournament visibility before starting and after finishing

You can also define when a tournament becomes visible and how long it remains visible after it finishes. For recurring tournaments, it's important to properly configure 3 parameters: tournament duration, visibility before the start, and visibility after the finish. For example:

* The tournament is set to start every Monday at 10 AM and last for 5 days, finishing at 10 AM on Saturday.
* Visibility before the start can be set to 1 day, which means that the tournament will be announced and become visible at 10 AM on Sunday
* The visibility 'after finishing' can be set to 2 days. This means that the finished tournament will be visible till 10 AM on Monday

In such a scenario, there will be an overlapping period from 10 AM Sunday to 10 AM Monday, during which players will see 2 instances of the tournament.

Players can opt in from the moment a run becomes visible in the lobby (Auto tournaments register players only after the start). If 'Show tournament in lobby, before start' is 0, the run becomes visible 5 minutes before the start.

The 'Keep showing in lobby, after finishing' value cannot be more than the **Max days to show a finished tournament** setting in **Label settings** (default 10 days); ask your Success manager to change it.

{% hint style="info" %}
If a Tournament is moved to 'Archived' status while there is an ongoing run, the current (ongoing) run will be completed, and the prizes will be issued.
{% endhint %}

### Prize pool configuration

The prize pool can be defined per place (e.g., 1st, 2nd ) or for a range of places (e.g., 5-10). Prizes can be of these types:

* Gamification points (you can also deduct or reset points)
* Bonus (in case the operators' platform is providing an API for issuing the bonus)
* Tangible prize
* Gems & Diamonds (available when Gems & Diamonds are enabled on the label; you can also deduct or reset them)
* Mini Game attempts (such as Spin the Wheel, Lootbox, or MatchX)
* Prize Drops and Raffle Tickets
* Avatar rewards (one or several avatars in one prize) and Level progression changes (**Change level**, available only for labels using Level Logic with manual control of level upgrades and downgrades)

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-3d14454be8931e80c81f1502ff28feaca6cb44d6%2FScreenshot_74.png?alt=media&amp;token=41408dc7-ce7e-414e-8dfa-b2ec4aca7fc8" alt=""><figcaption></figcaption></figure></div>

At the end of the tournament, all players may receive (if configured) marketing communications informing them of the tournament name, their winning position, and the prize.

The leaderboard shows the top players up to the **Max number of tournament places** setting in **Label settings** (default 20). Players outside this top still see their own place. If prizes go to more places than this, all winners still get their prizes, but not all of them are shown on the leaderboard. Ask your Success manager to raise the setting.

### Hide users who did not meet the minimum score from the leaderboard

**Minimum score to qualify for reward** - a player with a lower score gets no prize, even when there are fewer players than prize places.

You can hide users who haven't met the minimum score required to qualify for the Tournament from the leaderboard. By default, this feature is disabled, meaning all users, regardless of their score, will appear on the leaderboard. When enabled, only players who meet the minimum score will be displayed, along with the current player. If the current player hasn’t reached the minimum score, their rank will not be shown. This option is not available in Clan tournaments.

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-4397672f1269641ec23648881d9772ba46b63e59%2FScreenshot_74.png?alt=media" alt=""><figcaption></figcaption></figure></div>

### Happy hours

Happy Hours allow you to award players extra points on specific days and during specific hours, using UTC time as the standard. You can define which days the bonus applies and set a multiplier to increase the points earned. If you specify a day but omit the hours, the multiplier will apply for the entire day. If you include both the day and a time range, the multiplier will apply only during that window. This gives you flexibility to create full-day events or short bursts of bonus activity, depending on your goals.

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-1288bf637556cdd00cce3eff8ccd924746d8e585%2Fimage.png?alt=media" alt=""><figcaption><p>BO: Happy hours setup in Tournaments</p></figcaption></figure></div>

### Limiting Player Actions in a Tournament

To restrict player actions in a tournament, use the **Limit player's action in Tournament** option and specify the desired limit value. Note that in Formula-Based tournaments, the limit is enforced as soon as additional conditions are met, even if the player hasn’t fulfilled the formula's calculation criteria.

**Example Scenario:**

* Tournament Setup:
  * Limit: Casino Bet Count = 3
  * Additional Condition: Last game played = Game A
  * Formula calculation: If the player’s bet amount ≥ 10, award 10 points
* Use Case:\
  A player places three bets on Game A. Regardless of whether the bet amount is greater than, less than, or equal to 10, the player reaches the set limit. Their status changes to ‘Finished’, preventing further progress in the leaderboard.

<div><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-02082ffaea2f9a3c48d400cb5c7f60805cf15384%2FScreenshot_17.png?alt=media" alt=""><figcaption></figcaption></figure> <figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-e56dbd5a90dab9ccd72ea3ec59da59a3df7a1f7c%2FScreenshot_18.png?alt=media" alt=""><figcaption></figcaption></figure></div>

### Finalizing a tournament

After finishing, every tournament has a 'finalization' status. The need for this status stems from the delayed delivery of events from the casino/sports platform. Even with real-time delivery of events from the platform to the Smartico system, there could be small delays that will lead to the following situations:

* The player makes a bet at 10:59 PM, and it is not delivered to Smartico at that minute
* The tournament is finishing at 11:00 PM and doesn't count the place bet
* The placed bet is finally delivered to Smartico at 11:01 PM, but the tournament is already over and the winners have been announced.

To mitigate this problem, tournaments have a 'Finalization' status, which lasts for the period specific to the integrated platform. The length of this period is chosen to ensure that all events are delivered to Smartico and to enable a fair selection of winners. For most integrations it is set by the **Delay tournament finalization, minutes** setting in **Label settings** (default 0: the run finishes at its end time).

{% hint style="info" %}
Please contact your Customer Success Manager regarding the finalization period defined for your integration
{% endhint %}

### Multiple ‘Happy hours’ per day in Tournaments

You can set multiple Happy Hours per day in Tournaments.\
For example, you can configure a Happy Hour on Monday from 10:00–16:00 (x2 multiplier) and another from 16:00–22:00 (x3 multiplier).

{% hint style="success" %}
Time periods of the same day cannot overlap: the BO shows **Date or time is overlapping!** and does not save them. Periods that only touch (10:00–16:00 and 16:00–22:00) are allowed.\
Example:

* Tue 00:00–12:00 → x5
* Tue 12:00–18:00 → x10

Between 00:00–12:00, the system will use x5; between 12:00–18:00, x10; and after 18:00, x1.
{% endhint %}

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-4c6fbb299ef51316739afb0f068174df3e8ae942%2FScreenshot_3.png?alt=media" alt=""><figcaption><p>BO: Happy hours in Tournaments</p></figcaption></figure></div>

### Activity period for scoring formula

You can set an Activity Period for tournament scoring formulas. It’s disabled by default. When enabled, you can add a start and end date, and the formula will be applied only within this time window. Any actions made outside the selected period won’t count; players will not be able to progress in the tournament and earn points.

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-d9822a17d160b6f0c4e6016dd6d8464cdb8cdb70%2FScreenshot_13.png?alt=media" alt=""><figcaption></figcaption></figure></div>

### Inform players about their positions in the middle of the tournament

Set a schedule in **Send 'Tournament position' event by schedule** to send the special event "**Tournament: leaderboard update**" (tournament\_leaderboard\_update) to the top players of the running tournament.

<div data-with-frame="true"><figure><img src="https://77049817-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfS5hl0PiysHtKAKMsQTe%2Fuploads%2Fgit-blob-acb765982670aad7f0ee777c0c94da17f558d933%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure></div>

This is ideal for targeted campaigns, such as telling the top 10 players their current standing to drive late-stage competition, or nudging a player who has just lost places to play and win them back. You can choose from these schedule options:

* **Hourly**: sends the event every hour.
* **Daily**: sends the event at a set time each day.
* **Days of week**: choose specific days and a time (for example, weekends only).
* **A few times: On specific dates and time**: set one or more specific dates and times.

In **Send event to X top users**, set how many top-ranked players get the event. For example, the event can go only to the top 20 players by their standing at the scheduled time.

#### Send only when the position changed

With **Send only when the position changed** on, a player whose place is the same as at their previous event in this run does not get the event again. A player who enters the top N for the first time still gets it. The option is off by default.

Use it to avoid sending the same "you are in place 5" message again and again, especially with the **Hourly** schedule.

#### Also send to players who drop out of the top N

With **Also send to players who drop out of the top N** on, a player who was in the top N at their previous event and is now below it gets the event once, with their real current place and **tournament\_leaderboard\_left\_top** = true. They get it again only if they come back into the top N and drop out again. The option is off by default.

{% hint style="info" %}
Both options appear once a schedule is selected. With the second option on, more players may get messages: at most N extra players per run, when the whole top N changes.
{% endhint %}

#### Event properties

The event carries these properties, which you can use in campaign conditions and as `{{event.…}}` tags in messages:

| Property                                    | Meaning                                                                                                                                                                 |
| ------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| tournament\_leaderboard\_position           | The player's current place                                                                                                                                              |
| tournament\_leaderboard\_previous\_position | The player's place at their previous event in this run. **0** on the player's first event (places start at 1)                                                           |
| tournament\_leaderboard\_position\_change   | Previous place minus current place: **3** = moved up 3 places, **-2** = dropped 2 places. **0** on the first event and when the place did not change                    |
| tournament\_leaderboard\_left\_top          | **true** on the event sent to a player who dropped out of the top N, otherwise **false** (always false while **Also send to players who drop out of the top N** is off) |

The event also carries the tournament and run IDs and the run's start and end time.

#### Example: win back players who lost places

Create a campaign triggered by **Tournament: leaderboard update** with the condition **tournament\_leaderboard\_position\_change** less than 0. Use "less than or equal to -3" to skip one-place moves. A player's first event has a change of 0, so it does not match.

```soy
You dropped from place {{event.tournament_leaderboard_previous_position}} to place {{event.tournament_leaderboard_position}}. Play now to win your place back!
```

For players who left the top N, use the condition **tournament\_leaderboard\_left\_top** is true:

```soy
You are now in place {{event.tournament_leaderboard_position}} and out of the top prizes. There is still time to get back in!
```

### Frequently Asked Questions (FAQ)

**Q: How do I notify tournament winners with automated messages or CRM journeys?**\
**A:** When a tournament instance finishes, the system automatically triggers the **Tournament: win** event for all winning participants (and the **Tournament: lose** event for non-winning participants while the **Send 'Tournament: lose' event to players who did not win** setting in **Label settings** is on, default on). You can create CRM Automation Rules or Journeys triggered by the "Tournament: Win" event to automatically send private inbox messages, emails, or push notifications to winners.

**Q: Which dynamic tags are available for tournament communication templates?**\
**A:** In communications triggered by tournament lifecycle events, you can include dynamic tags to display the player's winning position, the prize awarded, the tournament name, description, and end time.

**Q: Why are some players who performed actions not appearing as registered in Auto tournaments?**\
**A:** In Auto-registration tournaments with formula-based logic, a player is only registered upon earning a non-zero score. If a player's initial qualifying action results in exactly 0 points, the system does not register them until an action producing points occurs.

**Q: Why is tournament\_leaderboard\_position\_change 0 for some players?**\
**A:** It is 0 on a player's first event in the run (tournament\_leaderboard\_previous\_position is also 0), and when the player's place did not change since their previous event. With **Send only when the position changed** on, players with an unchanged place do not get the event at all.

**Q: Will a player who dropped out of the top N get a message on every run?**\
**A:** No. With **Also send to players who drop out of the top N** on, they get the event once. They get it again only after they come back into the top N and drop out again.

**Q: Does "Send only when the position changed" block players who just entered the top N?**\
**A:** No. A player who appears in the top N for the first time always gets the event.

**Q: Can the widget show our biggest winners?**\
**A:** There is no live "big winners" ticker in the widget, but you can build a big-wins leaderboard with a tournament:

1. Create a tournament with formula-based scoring and score the win amount (or the win multiplier) of a win event, for example **Casino: Win**. Use a win event, not a bet event.
2. Set **Score accumulation rule** to **Max value**. Each player's score is then their single biggest win, not the sum of their wins.
3. To show only wins of at least X, add a win-amount condition to the scoring, or set **Minimum score to qualify for reward** to X and turn on **Hide users who don't meet the min. score from Leaderboard**.
4. Set **Registration type** to **Auto (all users will participate)**, so every player is tracked without opting in. Prizes are optional.

The leaderboard shows the top places (20 by default, the **Max number of tournament places** label setting) with each player's place, avatar, public name and score. It does not show the player's first name or the game played.

**Q: Many players register but have 0 points. How do we get them to play?**\
**A:** Players can opt in as soon as a run shows in the lobby. With a long **Show tournament in lobby, before start** (for example 20 hours before a 1-hour tournament), many players register the day before and do not come back. You can:

* Shorten **Show tournament in lobby, before start** (in the **General** tab) and turn on **Allow late registration**, so players who arrive during the tournament can still join.
* Remind registered players before the start. Build a segment with the condition **Users who registered in specific tournament**: choose the **Tournament**, set **Select Instance** to **Current Run**, **Select users by points or by position** to **Had minimum score points**, and **Minimum score points** to 0 (so players with no points yet are included). Use the segment in a scheduled campaign. Schedule it after the run appears in the lobby: before that, the **Current Run** does not exist.

**Q: A tournament set to run every 3 days started a new run on the 1st of the month, while the last run was still going. Why?**\
**A:** An "every N days" schedule counts from the 1st day of each month. With every 3 days, runs start on the 1st, 4th, 7th … 28th and 31st, and then again on the 1st of the next month. So at the change of month the gap can be shorter than 3 days, and two runs can overlap. This cannot be changed. For regular gaps, run the tournament on fixed weekdays instead, for example every Monday and Thursday.

**Q: Can a tournament rank players by number of spins?**\
**A:** Yes, with formula-based scoring:

1. Save the tournament, open the **Scoring Formulas** tab and click **New Formula**.
2. As **Event**, choose the event of your casino feed (**Casino: Bet** or **Casino: Bet-Win**), and set **Formula definition** to 1, so each spin gives 1 point.
3. Keep **Score accumulation rule** on **Default** (or **No negatives**), so the points add up.
4. Optionally, add conditions, for example on the game, the provider, the game type or a minimum bet amount, so only those spins count.

**Q: Why can't I see the runs of an old tournament in the Back Office?**\
**A:** The **Runs** tab keeps a run for 60 days after it ends; older runs are removed from it. A tournament that did not run in the last 60 days shows no runs there. The results stay in the analytics: open the **Analytics** tab of the tournament, or the [Tournaments Dashboard](https://help.smartico.ai/welcome/products/bi-and-reporting/tournaments-dashboard), and set the dates to the period of the run.

**Q: What happens when a player loses the JS marker that the tournament's segment needs?**\
**A:** If the marker is part of the segment of players who can see the tournament, the player no longer sees the tournament in the widget. What else happens depends on the registration:

* **Already registered:** the player stays registered and keeps scoring until the run ends, even without seeing the tournament. Points and place are kept, and a prize is given at the end if the place wins one.
* **Not registered yet:** if the marker is also part of the segment of players who can register, the player can no longer opt in, and an Auto tournament does not register them.

**Q: What does "Score visualization function type" change?**\
**A:** Only the number shown on the leaderboard. Prizes and **Minimum score to qualify for reward** always use the real score.

* **Floor:** the score is divided by **Score rounding rule** (1 to 100,000) and rounded down. With 100, a score of 10,000 shows as 100.
* **Square root:** the leaderboard shows the square root of the score, rounded down: 10,000 shows as 100, 250,000 as 500 and 4,000,000 as 2,000. It keeps the gap between the top players and the rest small on screen, so more players keep playing in long tournaments or tournaments with very large scores.

Players who show the same number are listed by who reached it first, so the order on screen can differ from the order of the real scores. Prizes always follow the real score.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.smartico.ai/welcome/products/gamification-basics/tournaments/tournament-setup.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
