Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

Civilian Job Scripts

ESX Miningjob

Simple ESX Mining Job

Frameworks:
  • ESX

Checked by the RPScripts Lab

  • Static check: 1 resource read
What was checked
Check compatibility with your server

Details

Frameworks
ESX
Dependencies
mysql-async
File size
3.3 kB
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

Description

A small, easy-to-edit mining job for ESX servers. Players go to the quarry, mine rock with a pickaxe animation and sell what they find. There is no washing or smelting step.

Features

  • Three mining spots at the quarry, set in Config.MiningPositions
  • Pickaxe prop and swing animation while mining
  • Each swing has a chance to give an item (ChanceToGetItem, default 20%)
  • Weighted item pool: steel, iron, copper, diamond and emerald (Config.Items)
  • One sell point that sells all mined items at once, with a min/max price range per item (Config.Prices)
  • Check that stops mining when another player is too close
  • All on-screen texts in the Strings table for easy translation

Requirements

  • ESX with the classic items table (with a limit column)
  • mysql-async

Installation

  • The ZIP contains the files without a parent folder. Create a folder such as esx_miningjob in your resources and put the files in it.
  • Import database.sql to add the items. Note: the file ends with a comma before the semicolon; remove that comma before importing.
  • Add ensure esx_miningjob to your server.cfg.

Server setup

Step-by-step guide: how to install a FiveM script

Checked: the only resource of this download.

In your downloads
  • CodeM mTaxiJob — Advanced Taxi Script FiveM preview
    • ESX
    • QBCore
    Not for your framework

    CodeM mTaxiJob — Advanced Taxi Script

    CodeM

    $17.99$12.59
  • Electrician Job FiveM resource preview 2
    • ESX
    • QBCore
    Not for your framework

    Electrician Job

    tworst-script

    $23.00$16.10
  • TowTruck
    • ESX
    • QBCore
    Not for your framework

    0r TowTruck

    0Resmon

    $33.00$23.10
  • CodeM mHunting — Hunting & Wildlife System FiveM resource preview 2
    • ESX
    • QBCore
    Not for your framework

    CodeM mHunting — Hunting & Wildlife System

    CodeM

    $17.99$12.59
  • 0R Trucker FiveM resource preview
    • ESX
    • QBCore
    Not for your framework

    0R Trucker

    0Resmon

    $36.00$25.20
  • Dusa Driving School
    • ESX
    Not for your framework

    Dusa Driving School

    Dusa

    $31.00$21.70
  • FiveM Landscaping Job
    • ESX
    • QBCore
    Not for your framework

    Pickle's Landscaping Job

    Pickle Mods

    $31.00$21.70
  • [ESX/QB] VMS_tattooshop – ADVANCED TATTOO SHOPS FiveM resource preview
    • ESX
    • QBCore
    Not for your framework

    [ESX/QB] VMS_tattooshop - Advanced Tattoo Shops

    VMS

    $19.99$13.99