# Installation

## Follow the steps below to complete the installation of Battle Royale

* Read all the information carefully and pay close attention to the details described about our Battle Royale script.

## Key points of the installation

1º - When downloading the script, you must identify your framework.

2º - When identifying your framework, if your server is not vRP, comment out the vRP import code in `fxmanifest.lua`

3º - Go to `Shared.lua` and start the configurations. Add your framework along with the spanw event from your server.

<figure><img src="https://2012973112-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlA1DdiXgFSscwcWkO0rz%2Fuploads%2FxlenffAzh13bdTsWWn09%2Fconfig_framework.png?alt=media&#x26;token=9f5a6e54-0179-4a73-b1bd-fc2d0d213fc2" alt=""><figcaption></figcaption></figure>

4º - Configure the minimap according to your server. By default, every server has a minimap texture type. You must add the name of your texture inside `replace = 'circleminimap'`.  If you don't make this configuration, the minimap will be invisible.

<figure><img src="https://2012973112-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlA1DdiXgFSscwcWkO0rz%2Fuploads%2F0jeHUqo4I3LtURNzEH0N%2Fstylegroup_battle_config_minimap.png?alt=media&#x26;token=1f0fe858-7a1f-4291-80cb-bf888de43d34" alt=""><figcaption></figcaption></figure>

5º - Add the links to the complete Battle Royale log submissions.

<figure><img src="https://2012973112-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlA1DdiXgFSscwcWkO0rz%2Fuploads%2FLeBGqARohDVAe53nBD0s%2Fstylegroup_battle_logs.png?alt=media&#x26;token=ea5b8bbc-97c9-4a76-94a4-5152a9b26a7e" alt=""><figcaption></figcaption></figure>

6º - By default, our team has already configured all the information within the Frameworks folder. However, each server has its own resources, and modifications may be necessary. Simply check your added framework file and adjust as needed.

<figure><img src="https://2012973112-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlA1DdiXgFSscwcWkO0rz%2Fuploads%2FDorUm2tqTpXIQ0O29Hn3%2Fconfigframsd.png?alt=media&#x26;token=87ebedbf-4d98-44d6-aa5d-21909250ebec" alt=""><figcaption></figcaption></figure>

7º - Download the necessary dependencies if your server does not already have them.&#x20;

{% embed url="<https://github.com/overextended/oxmysql?tab=readme-ov-file>" %}

8º - Go to the CFX portal and download the Stream resources.

{% embed url="<https://portal.cfx.re/assets/granted-assets>" %}

9º - Add the resources to your `server.cfg`  file. We recommend creating a dedicated folder called \[stylegroup] and adding the two available resources inside:

* stylegroup\_battleroyale&#x20;
* stylegroup\_stream\_battleroyale

Go to your server.cfg file and add  `ensure [stylegroup]`

## ATTENTION

After completing all the steps above, proceed to the next step. **Export blocks.**
