---
description: >-
  This guide will show you how to properly install this script for your
  framework.
---

# Installation

{% tabs %}
{% tab title="ESX" %}
1. Download the [dependencies](dependencies) and make sure they are properly installed.
2. Download `lunar_cryptomining` from your [keymaster](https://keymaster.fivem.net/asset-grants), extract it to the resources folder and ensure it inside server.cfg after all of the dependencies.
3. Install all of the items inside `lunar_cryptomining/install/items`
   * ESX inventory - Import the SQL file to your database.
   * ox\_inventory - Add the items inside `ox_inventory/data/items.lua` and the images inside `ox_inventory/web/build/images`
4. Configure the script to your liking.
5. Use this in server.cfg to change the locale: `setr ox:locale en`
6. Restart your server and enjoy!
{% endtab %}

{% tab title="QBCore/QBox" %}
1. Download the [dependencies](../lunar_jobscreator/dependencies) and make sure they are properly installed.
2. Download `lunar_cryptomining` from your [keymaster](https://keymaster.fivem.net/asset-grants), extract it to the resources folder and ensure it inside server.cfg after all of the dependencies.
3. Install all of the items inside `lunar_cryptomining/install/items`
   * QBCore inventory - Add the items inside `qb-core/shared/items.lua` and the images inside `qb-inventory/html/images`
   * ox\_inventory - Add the items inside `ox_inventory/data/items.lua` and the images inside `ox_inventory/web/build/images`
4. Configure the script to your liking.
5. Use this in server.cfg to change the locale: `setr ox:locale en`
6. Restart your server and enjoy!
{% endtab %}
{% endtabs %}

