Installation
Install STG Multiplayer Demining Job on your FiveM server in five steps, including the database table.

STG Multiplayer Demining Job
Download the script
Sign in to the Cfx.re portal with the account you used at checkout and download stg-demining from Granted Assets.
Move the resource
Extract the zip and place the stg-demining folder inside the [STG] category folder in your resources directory. Keep the folder name stg-demining, the script warns in the console when it is renamed.
resources/
└── [STG]/
├── stg_lib/
└── stg-demining/Install the dependencies
The Demining Job needs ox_lib, oxmysql and stg_lib. Skip this step if your server already runs them.
Import the database table
Run [SETUP]/stg_demining.sql from the zip on your server database, for example with HeidiSQL or phpMyAdmin. It creates the stg_demining table that holds every player's level, XP and leaderboard stats.
CREATE TABLE IF NOT EXISTS `stg_demining` (
`identifier` VARCHAR(60) NOT NULL,
`name` VARCHAR(100) DEFAULT 'Unknown',
`xp` INT(11) NOT NULL DEFAULT 0,
`level` INT(11) NOT NULL DEFAULT 1,
`stats` LONGTEXT DEFAULT '{"mines_defused":0,"missions_completed":0}',
PRIMARY KEY (`identifier`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;The table is not created automatically. Until it exists, the server console repeats a message asking you to import stg_demining.sql.
Start the script
Make sure [STG] starts after your framework, oxmysql and ox_lib in server.cfg:
ensure oxmysql
ensure ox_lib
# your framework: es_extended, qb-core or qbx_core
ensure stg_lib
ensure [STG]Then restart the whole server.
Nothing happens or the console shows an error? See Common Errors.
Next steps
Configuration
Tasks, mines, levels, lobby, vehicles and outfits
Dependencies
What needs to start before the Demining Job
Still having trouble?
Open a ticket on our Discord. Our team answers around 15 hours a day.
Multiplayer Demining Job
A team job for up to 4 players. Sweep minefields with a metal detector, dig up and defuse mines through minigames, clear underwater sea mines by boat and climb the leaderboard.
Configuration
Every option in STG Multiplayer Demining Job config/config.lua, from tasks, mine types and levels to the lobby, work vehicle, boat, armor outfit and diving gear.