# Script Install

**Dependencies**&#x20;

* One Sync Infinity
* [\[ox\_lib\]](https://github.com/overextended/ox_lib/releases)
* \[mk\_utils] (Provided with script)
* Targeting Resource
  * [\[qb-target\]](https://github.com/qbcore-framework/qb-target/releases)
  * [\[ox\_target\]](https://github.com/overextended/ox_target/releases)
  * Setup custom inside \[mk\_utils] `cl_target.lua`
* Supported Framework
  * QBCORE
    * qb-inventory (or scripts integrated into qb-core)
    * ox\_inventory
    * Setup custom inventory inside \[mk\_utils] bridge files
  * QBX
    * ox\_inventory
    * Setup custom inventory inside \[mk\_utils] bridge files
  * ESX
    * ox\_inventory
    * Setup custom inventory inside \[mk\_utils] bridge files
  * Custom (Setup inside \[mk\_utils] bridge files)

**Install Steps**

* Install Dependencies
* Download \[mk\_utils] from Keymaster (access provided with script purchase)
  * ![](https://51694285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSadY5GIZVZCGCeog04Gq%2Fuploads%2FU5gkLPTZnoumv95rS1Tj%2Fmk_utils_download.png?alt=media\&token=099d5518-04ee-48a1-ad6a-ac37a56b9d4a)
* add `mk_utils` to resource folder
* Add `mk_mining` to resource folder
* add `ensure mk_utils` into server.cfg (It must be added **BEFORE** mk\_mining)
* Add `ensure mk_mining` to server.cfg
* Make sure `ox_lib` ace permissions are in `server.cfg`

```lua
add_ace resource.ox_lib command.add_ace allow
add_ace resource.ox_lib command.remove_ace allow
add_ace resource.ox_lib command.add_principal allow
add_ace resource.ox_lib command.remove_principal allow
```

Your server.cfg should look similar to this when finished

<div align="left"><figure><img src="https://51694285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSadY5GIZVZCGCeog04Gq%2Fuploads%2FVxXrZoKjlned93jzSr8I%2Fcfg_mining.png?alt=media&#x26;token=d14f9163-c3c2-4f86-a4c0-26512d55ad75" alt=""><figcaption></figcaption></figure></div>

* Setup [Framework](https://mankind-scripts.gitbook.io/documentation/scripts/mining/installation/framework-integration) and [Inventory](https://mankind-scripts.gitbook.io/documentation/scripts/mining/installation/inventory-integration) Integration
