# Installation

1. After purchasing the resource on our store, log in to Fivem's KeyMaster site (<https://keymaster.fivem.net/>).
2. In the menu on the left, go to **Granted Assets** located in the **Server Owners** section.

<figure><img src="https://1860794455-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCvAynUdbw9243yqwmbdR%2Fuploads%2FjM6oL53eHMEFrtH0DiUO%2FSans%20titre.png?alt=media&#x26;token=1de01fb5-ca37-40c6-aa67-6a74fa7d5d3e" alt=""><figcaption></figcaption></figure>

3. In the list of resources, select the Download button corresponding to MadonnePVP. This will download you a .zip file.

<figure><img src="https://1860794455-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCvAynUdbw9243yqwmbdR%2Fuploads%2FnKt1aPO3cvGyWmdUGYX5%2Fimage.png?alt=media&#x26;token=c68fac13-0860-4fd8-a301-623c253e0ef0" alt=""><figcaption></figcaption></figure>

4. Open the archive you just downloaded. There you will find two folders named **MS\_Madonne\_PVP** and **oxmysql**.
5. Drag this folders into your server's resources folder.
6. Since the resource is already configured and ready to use, all you have to do is edit your server's configuration file (often caller *server.cfg*) and add ensure *ensure oxmysql* and *MS\_Madonne\_PVP* at the bottom of it.

<figure><img src="https://1860794455-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCvAynUdbw9243yqwmbdR%2Fuploads%2F9AqGLJVWd1IhVVuYiNqc%2FSans%20titre.png?alt=media&#x26;token=55b9cf56-6ade-45f6-92ab-00e437177310" alt=""><figcaption></figcaption></figure>

7. If it's not already done, add this line at the top of your server.cfg, and replace each XXX by your database server informations.

```properties
set mysql_connection_string "server=XXX;port=XXX;userid=XXX;password=XXX;database=XXX"
```

8. Start your server and enjoy your new script !
