NEXO DOCSv1 · ENES
docs / scripts / nexo-minigames

Nexo Minigames

55 free minigames for heists and jobs: locks, hacking, memory and more, with server validation and practice mode.

v1.0.0ESXQBCoreQBoxStandalone

What's included

55 minigames in one script, free. Use them from any script with one line, chain them for your heists, validate them on the server and let players train in practice mode. Works with ESX, QBCore, Qbox or no framework, with no database or items.

  • 3 difficulties (easy, normal, hard) and a time limit per minigame. You can change the time and allowed mistakes when calling it.
  • Chains and presets: several minigames in a row for a heist, defined in the config or in the in-game editor.
  • Server validation: one-time code, time measured by the server and rejection of impossible results.
  • Practice mode with /minigames: a gallery with all 55 minigames, selectable difficulty and personal records.
  • 3 styles (nexo, terminal and metal), accent colour, countdown, sounds, sound hints and vibration.
  • 8 languages and an optional Discord log.
Version 1.0It's been tested with simulations (server and client with mocked natives, and all 55 minigames in the browser), not on a live server. Try it on your development server first.

The 55 minigames

Each one's id is what you use when calling it:

CategoryMinigames (id)
Locks (10)Pin tumbler pins, Skill circle circle, Safe safe, Drill drill, Lockpick sweet, Padlock padlock, Glass cutting glass, Car lockpick slimjim, Disc lock discs, Lasers lasers
Hacking (14)Circuit circuit, Code hunt symbols, Frequency freq, Terminal terminal, Binary binary, Firewall firewall, Data stream stream, Card cloning card, Fingerprint prints, Clue password mastermind, Connect nodes nodes, Retina scanner retina, Code injection inject, Decrypt decrypt
Memory (7)Thermite thermite, Sequence simon, Pairs pairs, Keypad keypad, Lights out lights, Remember the route route, Security cameras cams
Skill (10)Bomb defusal bomb, Cut wires wires, Balance balance, Fishing fishing, Sliding puzzle slider, Pickpocket pickpocket, Rhythm rhythm, Welding weld, Stencil painting stencil, Break glass smash
Reflexes (8)Key sequence keys, Mash mash, Hold and release hold, Quick math math, Colour or word stroop, Odd one out odd, Duel duel, Dodge dodge
Jobs (6)Stack boxes stack, Harvest harvest, Scrapyard scrap, Chemistry chem, Repair engine repair, Cooking cook

Installation

  1. Copy the resource Get it for free from the store, download it from keymaster.fivem.net → Granted Assets and put nexo_minigames in resources.
  2. Add it to your server.cfg No database or items needed. The framework is only used for admin groups.
    ensure nexo_minigames
    add_ace group.admin nexominigames.admin allow

For admins, the groups and identifiers in config_server.lua also work.

Using it from your scripts

Calls wait until the minigame ends, so use them inside a thread (CreateThread) or an event or command.

-- one minigame: returns true / false
local ok = exports.nexo_minigames:Start('circuit', { difficulty = 'hard', time = 25, lives = 2 })

-- several in a row: returns false if one fails
local ok = exports.nexo_minigames:Chain({
    { 'thermite' },
    { 'circuit', { difficulty = 'hard' } },
})

-- a preset from the config or the editor
local ok = exports.nexo_minigames:Preset('fleeca_vault')

exports.nexo_minigames:IsBusy()   -- true while playing
exports.nexo_minigames:Cancel()   -- cancels (returns false)

Server-validated

Recommended when there's a reward. The server creates a one-time code, measures the time itself and rejects impossible results (too fast, too slow or from another minigame). There's a per-minute limit.

-- starts the minigame for the player and waits for the result
local ok = exports.nexo_minigames:StartFor(source, 'safe', { difficulty = 'normal' })
local ok = exports.nexo_minigames:StartFor(source, 'fleeca_vault')          -- preset

-- without waiting
exports.nexo_minigames:StartFor(source, 'drill', nil, function(ok, reason) end)

-- event with every result
AddEventHandler('nexo_minigames:onResult', function(src, ok, label, reason) end)
Option (`config_server.lua`)What it does
Validation.MinSeconds · MinPerGameMinimum time to accept a result, global and per minigame
Validation.GraceExtra seconds over the minigame time (network and countdown)
Validation.MaxPerMinuteServer-started minigames per player per minute
Records.EnabledKeep practice mode records (data/records.json)
DiscordWebhook for validated results, with a fails-only option

Practice mode and preset editor

/minigames opens a gallery with all 55 minigames, selectable difficulty and each player's personal records. In Config.Practice you set the command and whether it's for everyone or admins only (Everyone).

Preset editor (admins): from /minigames → Preset editor you create, order and test minigame chains. Saving applies instantly server-wide, with no restart (data/presets.json). Once that file exists, it's the list that counts.

Config.Presets = {
    fleeca_vault  = { { 'thermite' }, { 'circuit', { difficulty = 'hard', time = 35 } } },
    jewelry_case  = { { 'glass' } },
    atm_skimmer   = { { 'card' }, { 'symbols', { difficulty = 'hard' } } },
    car_lockpick  = { { 'pins', { difficulty = 'easy', time = 18 } } },
    house_door    = { { 'sweet' } },
    bomb_squad    = { { 'bomb', { difficulty = 'hard' } } },
}

Styles and options

Option (`config.lua`)What it does
Config.Locale · Config.FrameworkLanguage (es, en, pt, fr, de, it, pl, tr) and framework (auto detects it)
Config.UI.Theme · Config.UI.AccentDefault style (nexo, terminal or metal) and accent colour
Config.UISounds, volume, 3-2-1 countdown, sound hints and vibration
Config.ThemesIts own style per minigame (for example, safe = 'metal')
Config.Defaults.DifficultyDifficulty when a script doesn't pass one
  • Several minigames are played with the mouse (welding, stencil, nodes, retina, glass, card…). During the minigame the cursor is active and the player can't move.
  • If the player dies during a minigame, it's cancelled (returns false).
  • Minigame translations are automatic: if a sentence looks odd in your language, change it in web/i18n/.

Editable files

FileWhat for
config.luaLanguage, framework, styles, sounds, practice mode, presets and default difficulty.
config_server.luaAdmin permissions, validation, records and Discord webhook.
locales/ · web/i18n/Texts in 8 languages.

FAQ

How do I use it in my heists?

With one line: exports.nexo_minigames:Start('thermite') returns true or false. For several in a row use Chain or a preset, and when there's a reward use StartFor from the server so it's validated.

Does it need a database or items?

No. Editor presets and records are saved in the resource's data/ folder.

Is the code encrypted?

The core is protected with Cfx.re escrow. Config, translations and integration points stay open.

Do I get updates?

Yes, for free. New versions appear in your Keymaster and we announce them on Discord.

What if something doesn't work?

Open a ticket on our Discord with the console error and we'll help you.