# Inside Track

### Main Settings

All the settings are stored in **config.lua**.

```
IT_STARTING_SOON_TIME = 0
```

Duration in seconds. For how long to show a \*standby\* picture on the big screen. It's disabled by default, but you may find it useful :)

```
IT_MAIN_EVENT_ENABLED = true
```

Whether to enable the Main Event, when disabled, the big screen turns off.

```
IT_MAIN_EVENT_BETTING_TIME = 60 * 5
```

Duration in seconds. How much time players have to bet on the Main Event.

```
IT_MAIN_EVENT_RACE_DURATION = 33
```

Duration in seconds. How much does it take for the horses to finish the race in Main Event.

```
IT_MAIN_EVENT_MIN_PLAYERS = 1
```

Minimum amount of players that are needed in the room, for the Main Event to start.

```
IT_MAIN_EVENT_RACE_MAX_BET = 10000
```

Maximum bet for Main Event.

```
IT_MAIN_EVENT_RACE_MIN_BET = 10
```

Minimum bet for the Main Event.

```
IT_LOCAL_RACE_DURATION = 30
```

Duration in seconds. How much does it take for the horses to finish the race in the single player mode.

```
IT_LOCAL_RACE_MAX_BET = 10000
```

Maximum bet for the single player mode.

```
IT_LOCAL_RACE_MIN_BET = 10
```

Minimum bet for the single player mode.

### Changing Horse Odds

![](https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-0749eaa367bdc2ef7355605fb39990babebfe420%2FScreenshot_9.png?alt=media)

By default, horses are generated randomly for each race.\
Each race will consist of two Favorites (Evens - 5 to 1), two Middle-of-the-Pack (6 to 1 - 15 to 1), and two Outliers (16 to 1 - 30 to 1).

The configs are made separately for MAin Event and single player mode.

```
IT_MAIN_EVENT_HORSE_ODDS = {1, 5, 6, 15, 16, 30}
IT_LOCAL_RACE_HORSE_ODDS = {1, 5, 6, 15, 16, 30}
```

If it's too bad for your server economy to win big (high odds, such as 30:1..) you can set the odds differently.\
This exampe picks two Favorites (Evens - 4 to 1), two Middle-of-the-Pack (5 to 1 - 8to 1), and two Outliers (9to 1 - 12to 1):

```
IT_MAIN_EVENT_HORSE_ODDS = {1, 4, 5, 8, 9, 12}
IT_LOCAL_RACE_HORSE_ODDS = {1, 4, 5, 8, 9, 12}
```

{% hint style="warning" %}
The numbers have to be in range 1-30, in order, and can't be used more than once.
{% endhint %}

### Big Screen Not Turning On

If your Inside Track big screen doesn't turn on, some of your other resources block it. Double-check if you're not using multiple IPLs, MLOs for casino.
