
Codem xLabgame — A labyrinth hacking minigame for FiveM roleplay servers.
A plug-and-play hacking minigame built for developers. xLabgame presents players with a labyrinth puzzle under a countdown timer — navigate the indicator through the maze before time runs out. Trigger it from any script with a single event call, pass in a callback, and handle the success or failure result however you like.
FEATURES
-
Labyrinth Hacking Minigame — Players navigate a moving indicator through a maze-style labyrinth under a countdown timer. Complete the path before time runs out to succeed. Fail and the callback returns false.
-
Multiple Difficulty Levels — The game supports multiple labyrinth levels (e.g. level-1, level-2, level-3). Each level uses a different maze layout. Pass the level into the event trigger to control difficulty.
-
Configurable Countdown Timer — Set how many seconds the player has to complete the labyrinth. Adjust per use case — longer for relaxed scenarios, shorter for high-pressure hacking sequences.
-
Configurable Indicator Speed — Set the movement speed of the indicator directly from the config. Increase it to raise the difficulty, decrease it for more forgiving gameplay. Also overridable at trigger time.
-
Custom Labyrinth Layouts — The barrier configuration is fully editable. Modify the existing maze structure or use the provided template to design entirely new labyrinth schemes from scratch.
-
Opening Sequence Text — The game opens with a loading screen animation. The text displayed during this sequence is fully customizable from the config to match your server's theme or scenario.
-
Callback System — A callback function receives the result when the minigame ends. Check success or failure and trigger whatever consequence you want — give items, open doors, fail a job, alert police. Fully up to you.
-
Developer Event API — Trigger the minigame from any client-side script with a single event. Pass in the callback function, level, time, and move speed as parameters. No UI wiring required on your end.
-
Notification System — All minigame notifications are configurable from config.lua. Edit messages to fit your server's language and style.
FRAMEWORK SUPPORT
- STANDALONE - works on any FiveM server setup




