Cube Game - Procedural Hacking Minigame

Cube Game - Procedural Hacking Minigame

$20.00

Add to Basket

A standalone, client-side hacking minigame for FiveM. Players navigate a cube avatar through a procedurally generated node grid, solving timed challenges to unlock paths and reach the goal. Every puzzle is unique, no two games are ever the same.

Drop it into your server, call one export, and you have a working hack minigame for heists, robberies, laptop hacks, door panels, or anything else you need a success condition for.

What's Included:

  • 5 difficulty tiers with 40+ tuneable parameters each (grid size, node count, QTE length and speed, memory grid dimensions, password digit count, firewall speed, and more)

  • 13 named presets for common RP scenarios, phone, laptop, fleeca, paleto, bank vault, pacific standard, thermite, casino, and more

  • Two minigame types: arrow-key QTE sequences and memory grid challenges, with weighted random selection so you control how often each appears

  • Password system: collectible number nodes scattered across the grid that must be remembered and entered at a password gate to proceed

  • Firewall mechanic: a spreading fire that chases the player through the graph at configurable speed, move fast or get caught

  • Lives system with configurable starting lives per difficulty or preset

  • Dynamic timer calculated from actual puzzle complexity, with manual override support

  • Full color theming: override any of 11 UI colors with hex values, red for a gang heist, blue for police systems, whatever fits your server

  • Display options: control screen size (40–100%) and choose between no border, a solid neon border, or a tablet device frame

  • Hacker console: animated terminal overlay with flavour text during gameplay, fully toggleable with every message category customisable

  • Sound effects: 17 event types with configurable volume and toggle, drop in your own .ogg files to customize

  • 14 game lifecycle events for external script hooks (movement, QTE results, firewall triggers, password attempts, and more)

  • Difficulty overrides: tweak individual generation parameters per call without creating a new difficulty level

  • Seeded generation: pass the same seed to reproduce the exact same puzzle for testing or synchronised gameplay

  • Crash recovery: built-in failsafe timeout prevents permanent NUI focus locks if anything goes wrong

  • Neon cyberpunk UI with animated glow effects, scanline overlays, and smooth transitions

Clean Export API:

One function call, one callback. Returns success/failure, reason, duration, lives remaining, interaction stats, and custom metadata passthrough. Integrates in minutes.

Open-Source Lua — Full Customisation:

All Lua files (config, client logic, utilities) are unencrypted and fully editable. Customise difficulty parameters, create your own presets, modify the export API, or integrate with any framework. The protected NUI application handles all game logic, the Lua layer is your interface to it.

Zero Dependencies:

No external libraries required. No framework dependency. Works with QB-Core, ESX, or any standalone setup out of the box. Debug mode included for testing before integration.