Agency Docs
QBESX

Agency-Minerjob Installation

Enhanced mining job for FiveM with multi-framework and multi-inventory auto-detection.

v1.2.0Paid4 Pages

01Installation

  1. 1Download and extract to resources folder
  2. 2Add items to framework item configuration
  3. 3Import mining_skills.sql to database
  4. 4Add ensure agency-minerjob to server.cfg
  5. 5Configure config.lua

02Dependencies

  • ox_lib (required)
  • QBCore or ESX (auto-detected)
  • ox_inventory (optional)
  • Agency-Notify (optional)

03SQL File

Import this SQL file into your database before starting the resource:

-- Mining Skills System Database Table -- Execute this SQL query in your database to create the mining skills table CREATE TABLE IF NOT EXISTS `player_mining_skills` ( `id` int(11) NOT NULL AUTO_INCREMENT, `citizenid` varchar(50) NOT NULL, `level` int(11) NOT NULL DEFAULT 1, `xp` int(11) NOT NULL DEFAULT 0, `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `citizenid` (`citizenid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

Still stuck after this page? Our support team takes it from here.