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

# anox-mining

### ✨ Overview

<figure><img src="/files/bWOuY7nRw5bm7Egikkx0" alt=""><figcaption></figcaption></figure>

> **anox-mining** is a mining system with multi-ore deposits, loop mining.

### ✨ Features

* [ ] **⛏️ Mining System**

- Five ore types: Iron, Copper, Tin, Silver, and Gold
- Configurable mining time per ore type
- Loop mining mode for continuous mining&#x20;
- Deposit depletion system with percentage-based resource drain

* [ ] 🪨 **Ore Deposits & Rare Drops**

- Configurable spawn count limits per ore type
- Standard reward items with min/max quantity ranges
- Rare extra drops with percentage-based chance rolls
- Five pre-configured mining regions across the map

* [ ] **🏪 NPC Mining Shop**

- Dedicated NPC shop keeper with dialogue system
- Buy pickaxes: Copper, Iron, Silver, Tin, and Gold tiers
- Sell mined ores and rare gems for profit
- Shop map blip with configurable appearance

* [ ] **🔨 Pickaxe System**

- Ore-specific pickaxe requirements
- Pickaxe breaking mechanic with configurable chance percentage
- Pickaxe prop attachment to player hand bone during mining
- Automatic pickaxe removal and cleanup after mining

* [ ] 🔧 **Framework Support**

- Works with ESX, QBCore, and QBox frameworks
- Smart bridge system handles framework differences
- Multi language support

### ✨ Requirements

* [ ] One of the following frameworks:

- `ESX`
- `QBCore`
- `Qbox`

* [ ] **Must have dependencies:**

- [community\_bridge](https://github.com/TheOrderFivem/community_bridge)

### ✨ Installation Guide

* [ ] **Step 1: Download the** [**Resource**](https://www.anoxstudio.com/scripts/7287297)
* [ ] Download the resource from our Website
* [ ] Extract the files to your server's `resources` folder
* [ ] **Step 2: Configure Your server.cfg**
* [ ] Add the following line to your `server.cfg` file:

```
ensure community_bridge
ensure anox-mining
```

### ✨ Preview

{% embed url="<https://www.youtube.com/watch?v=v7HrobHsIO8>" %}
