⛏️ From the first swing to the last ingot sold
A complete, animated quarry job. Break ore, feed a conveyor, haul the load, smelt the ingots and sell them, or track down a hidden buyer who pays more.
Why it hits different
- 🏭 A production line, not a teleport: every rock visibly travels from rock face to smelter.
- 🕵️ A reason to explore: the best prices are hidden, and you only get rumours.
- 🛡️ Server-authoritative: crits, loot, pay, items and XP are decided on the server.
What you get
- The
rd_mining resource (v1.0) with NUI panels for the buyer, smelter, generator and minigames. config.lua, plus config_server.lua with the hidden buyers' locations (server only).- Items for ox_inventory and qb-core with icons, SQL file, and English and Spanish locales.
Features
⛏️ Mining and carrying
- Take a free pickaxe from the locker and strike ore nodes. Critical hits, rolled by the server and boosted by level, break rocks faster.
- 5 ores: coal, iron, copper, quartz and gold, each with its own chance, yield and price. Nodes run out and respawn.
- Carry up to 3 rocks of the same ore to the belt.
🏭 Generator, conveyor and truck
- The belt runs only while its generator is fuelled and on. Start-up and refuelling are server-checked minigames; fuel comes from a jerry can or the
rd_fuel_can item. - Rocks drop into a truck under the belt end, pile up with physics and spill if it tips over.
- Rent the truck by the hour from the foreman (up to 4 hours per rental, 8 in total). Keys and fuel go through rd_bridge.
🔥 Smelter and sales
- Unload onto a pallet that a forklift carries inside, wait for the batch, cool the ingots in a minigame and collect them.
- Sell to the public buyer or find the hidden ones: one per ore, paying 2× for it. The public buyer only gives rumours (direction and rough distance).
🧭 In-game calibration
/mina_admin moves the belt, truck drop zone, generator, smelter, NPCs, dig points and the tool and rock grips.- A ghost previews every move. Saved changes apply live for everyone, survive restarts and come out as a ready-to-paste config.lua block.
📈 Progression and control
- XP and levels (can be turned off) raise crit chance, yield and sale price.
- Optional job restriction, locker uniform (off by default) and Discord webhook. Rate limits on every callback.
Numbers are defaults, all editable.
How it works
- 1. Mine ore and carry the rocks to the belt.
- 2. Fuel and start the generator; the belt fills your rented truck.
- 3. Drive to the smelter, unload, then cool and collect the ingots.
- 4. Sell them, or follow a rumour to a hidden buyer.
Configuration
Config.Ores / Mine: chance, yield and price per ore; hits, crits, carry limit, respawn.Config.Site / Layout / Smelter / Generator: positions, belts, tank, fuel use, minigames.Config.Rental, Market + config_server.lua, XP, Jobs, Uniform, keys and command names.
Requirements
- Required: ox_lib, oxmysql and rd_bridge (rd_bridge must start first).
- Optional: ox_inventory (recommended), ox_target or qb-target, and clothing, fuel and keys resources supported by rd_bridge.
- Optional: floating holograms with rd_holo, sold separately (
Config.UseHolograms). Default: a clean info card and ground ring.
Install in 5 steps
- 1. Put
rd_mining in your resources folder; ox_lib, oxmysql and rd_bridge must start before it. - 2. Add the items from
items/ox_inventory.lua or items/qb-core.lua and copy items/images to your inventory images folder. - 3. The tables
rd_mining_players, rd_mining_state and rd_mining_overrides are created automatically, or import sql/install.sql. - 4.
ensure rd_bridge, then ensure rd_mining in server.cfg. - 5. Go to the quarry and fit
Config.Site and Config.Smelter to your map with /mina_pos and /mina_admin. Default coordinates are approximate.
Compatibility
QBCore · Qbox · ESX · standalone through rd_bridge (adapters reviewed against each resource's official documentation). Vanilla GTA V props, vehicles and peds only.
Protected with Cfx.re Asset Escrow; config.lua, config_server.lua, locales, SQL and items stay editable.
First release — report any issue and we fix it.
Exports & events
- Server exports:
isTruckAtLoadingPoint(beltIdx) returns a boolean and the vehicle; sellBonus(src) returns the level sale bonus. - Item event
rd_mining:client:usePickaxe equips and stows the pickaxe. - Commands (renamable):
/mina_nivel for everyone; admin /mina_admin, /mina_pos, /mina_extras, /mina_fundicion.
FAQ
The default coordinates don't match my map.
They are approximate. Read your position with /mina_pos and move everything with /mina_admin. If rocks miss the truck bed, tune Config.Site.truckDims and endOffset.
The belt doesn't move.
The generator needs fuel and both the generator and the belt must be on. Set Config.Generator.enabled = false and the belt always runs.
Does it work without an inventory?
No. Tools and ingots are items, so use ox_inventory or another inventory rd_bridge supports.
Is it ready to go live?
It has not run on live servers yet. Coordinates, truck bed sizes and animations may need tuning: try it on a test server first.
🇪🇸 En español
⛏️ Del primer golpe al último lingote vendido
Un empleo de cantera completo y animado. Rompe mineral, carga la cinta, lleva el camión, funde los lingotes y véndelos, o busca a un comprador oculto que paga más.
Por qué marca la diferencia
- 🏭 Una cadena de producción, no un teletransporte: cada roca viaja a la vista de la cantera a la fundición.
- 🕵️ Un motivo para explorar: los mejores precios están escondidos y solo hay rumores.
- 🛡️ Autoridad del servidor: críticos, botín, pagos, ítems y XP se deciden en el servidor.
Qué incluye
- El recurso
rd_mining (v1.0) con NUI para el comprador, la fundición, el generador y los minijuegos. config.lua y config_server.lua con la ubicación de los compradores ocultos (solo servidor).- Ítems para ox_inventory y qb-core con iconos, archivo SQL y textos en español e inglés.
Funciones
⛏️ Minería y transporte
- Coge un pico gratis en la taquilla y golpea las menas. Los golpes críticos, que decide el servidor y mejoran con el nivel, rompen la roca antes.
- 5 minerales: carbón, hierro, cobre, cuarzo y oro, cada uno con su probabilidad, cantidad y precio. Las menas se agotan y reaparecen.
- Lleva hasta 3 rocas del mismo mineral a la cinta.
🏭 Generador, cinta y camión
- La cinta solo funciona con el generador encendido y con combustible. Arrancar y repostar son minijuegos validados por el servidor; el combustible sale de un bidón o del ítem
rd_fuel_can. - Las rocas caen en un camión bajo el final de la cinta, se apilan con físicas y se derraman si vuelca.
- Alquila el camión por horas al capataz (hasta 4 horas por alquiler y 8 en total). Llaves y combustible van por rd_bridge.
🔥 Fundición y ventas
- Descarga en un palé que una carretilla mete dentro, espera la tanda, enfría los lingotes con un minijuego y recógelos.
- Vende al comprador público o encuentra a los ocultos: uno por mineral, que solo compran el suyo y pagan el doble. El público solo da rumores (dirección y distancia aproximada).
🧭 Calibración en el juego
/mina_admin mueve la cinta, la zona de caída al camión, el generador, la fundición, los NPC, los puntos de excavación y el agarre del pico y de la roca.- Un fantasma muestra cada cambio. Lo guardado se aplica en vivo para todos, se conserva tras reiniciar y sale como bloque listo para pegar en config.lua.
📈 Progresión y control
- XP y niveles (se pueden desactivar) que mejoran el crítico, el rendimiento y el precio de venta.
- Restricción por empleo, uniforme en la taquilla (desactivado por defecto) y webhook de Discord opcionales. Límite de peticiones en cada callback.
Las cifras son valores por defecto; cámbialas en config.lua.
Cómo funciona
- 1. Pica mineral y lleva las rocas a la cinta.
- 2. Echa combustible y arranca el generador; la cinta llena el camión alquilado.
- 3. Ve a la fundición, descarga, enfría y recoge los lingotes.
- 4. Véndelos o sigue un rumor hasta un comprador oculto.
Configuración
Config.Ores / Mine: probabilidad, cantidad y precio por mineral; golpes, críticos, carga y reaparición.Config.Site / Layout / Smelter / Generator: posiciones, cintas, depósito, consumo y minijuegos.Config.Rental, Market + config_server.lua, XP, Jobs, Uniform, teclas y nombres de comandos.
Requisitos
- Obligatorios: ox_lib, oxmysql y rd_bridge (rd_bridge debe arrancar antes).
- Opcionales: ox_inventory (recomendado), ox_target o qb-target y recursos de ropa, combustible y llaves compatibles con rd_bridge.
- Opcional: hologramas flotantes con rd_holo, a la venta por separado (
Config.UseHolograms). Por defecto: tarjeta informativa sobria y anillo en el suelo.
Instalación en 5 pasos
- 1. Copia
rd_mining a tu carpeta de recursos; ox_lib, oxmysql y rd_bridge deben arrancar antes. - 2. Añade los ítems de
items/ox_inventory.lua o items/qb-core.lua y copia items/images a la carpeta de imágenes de tu inventario. - 3. Las tablas
rd_mining_players, rd_mining_state y rd_mining_overrides se crean solas, o importa sql/install.sql. - 4.
ensure rd_bridge y después ensure rd_mining en server.cfg. - 5. Ve a la cantera y ajusta
Config.Site y Config.Smelter a tu mapa con /mina_pos y /mina_admin. Las coordenadas por defecto son aproximadas.
Compatibilidad
QBCore · Qbox · ESX · standalone mediante rd_bridge (adaptadores revisados contra la documentación oficial de cada recurso). Solo props, vehículos y peds vanilla de GTA V.
Protegido con Cfx.re Asset Escrow; config.lua, config_server.lua, locales, SQL e ítems quedan editables.
Primera versión: si encuentras cualquier fallo, avísanos y lo corregimos.
Exports y eventos
- Exports de servidor:
isTruckAtLoadingPoint(beltIdx) devuelve un booleano y el vehículo; sellBonus(src) devuelve el bonus de venta por nivel. - Evento de ítem
rd_mining:client:usePickaxe: equipa y guarda el pico. - Comandos (renombrables):
/mina_nivel para todos; de admin /mina_admin, /mina_pos, /mina_extras, /mina_fundicion.
Preguntas frecuentes
Las coordenadas no encajan con mi mapa.
Son aproximadas. Mira tu posición con /mina_pos y muévelo todo con /mina_admin. Si las rocas no caen en la caja del camión, ajusta Config.Site.truckDims y endOffset.
La cinta no se mueve.
El generador necesita combustible y tanto el generador como la cinta deben estar encendidos. Con Config.Generator.enabled = false la cinta funciona siempre.
¿Funciona sin inventario?
No. Las herramientas y los lingotes son ítems: usa ox_inventory u otro inventario compatible con rd_bridge.
¿Está listo para producción?
Aún no ha funcionado en servidores en vivo. Las coordenadas, la caja del camión y las animaciones pueden necesitar ajustes: pruébalo antes en un servidor de pruebas.