# Installation

Step by step documentation how to properly install script.

## Database

The database will be imported automatically for you when you start the resource for the first time.

## Step-by-step

### Step 1: Download the script

Download the script from [keymaster](https://keymaster.fivem.net) or [portal](https://portal.cfx.re).

### Step 2: Place files

Place all files from `rcore_formula.pack.zip` into your server files.

### Step 3: Ensure script

Go to your server.cfg and add ensure rcore\_formula.

## Commands

All commands names can be changed in `configs/config.lua`.

{% hint style="info" %}
**All commands** are also displayed in the `/fcommands` **menu**, where you will find **a list of all commands available to players**.
{% endhint %}

##

| Command                | Description                                                                  |
| ---------------------- | ---------------------------------------------------------------------------- |
| /fcommands             | Main UI displaying all commands                                              |
| /trackcreate           | Create a new racing track.                                                   |
| /tracklist             | View a list of all available tracks on the server, edit or teleport to them. |
| /teamcreate            | Create your own racing team.                                                 |
| /team                  | Manage your current team (balance, members, settings).                       |
| /raceforcestart        | Force start a race without waiting for countdown or players.                 |
| /raceforcestop         | Force stop a race without waiting for countdown or players.                  |
| /races                 | Show a list of past races and results.                                       |
| /teamsleaderboard      | View the ranking of all racing teams.                                        |
| /driversleaderboard    | View the ranking of top drivers.                                             |
| /tracktimesleaderboard | See best lap times for each track.                                           |
| /acceptteaminvite      | Accept a pending team invitation.                                            |
| /denyteaminvite        | Decline a pending team invitation.                                           |

## Discord Logs

All configuration for discord logs are located in `configs/config.logs.lua`. You change URL and format.

## Debug

If you have any issue with script and you don't know how to solve it, set `Debug = true` in configuration file to see additional informations printed to client console *(F8)* and server console. Screenshots will help our support to solve faster and better your problem in ticket.

{% hint style="info" %}
For beter communication and faster solving your issue, please send a screenshot of the console when the script starts to the ticket to get information about the status of the script.
{% endhint %}
