> For the complete documentation index, see [llms.txt](https://mamang-irgi-scrips.gitbook.io/mamang-irgi-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mamang-irgi-scrips.gitbook.io/mamang-irgi-scripts/mining/installation.md).

# Installation

## Follow the steps below to setup your script:

1. Unzip the downloaded package and open the **Mining** folder. You will need to upload these files to your hosting server using FTP or localhost in order to use it on your server.
2. Below is dependency that you must have on your server:
   * [Ox Lib](https://github.com/overextended/ox_lib)
   * [mysql-async](https://github.com/brouznouf/fivem-mysql-async) or [oxmysql](https://github.com/overextended/oxmysql)
   * `Target Script` - ox\_target (Optional if you want better performance)
3. You must run script on server.cfg like this:
   * `ensure/start qbx_core/esx_core/qb_core`- Run the framework
   * `ensure/start ox_lib`
   * `ensure/start ox_target` - (Optional if you want better performance)
   * `ensure/start Mining`- Run the script after 3 dependency above started
