Configuration

House Robbery System - Configuration Guide

This document explains all configuration options available in config.lua and how they are used throughout the House Robbery System. Use this as a reference for customizing the script to your server's needs.


General Settings

Config.Cooldown = 900000 -- Global cooldown in ms (15 minutes)
Config.MissionCooldown = 30000 -- Mission start cooldown in ms (30 seconds)
Config.EnableProgress = true -- Enable progress bars for actions
Config.EnableSounds = true -- Enable/disable mission soundtracks
Config.SoundVolume = 0.02 -- Volume level (0.0 to 1.0)
  • Cooldown (number): Global cooldown between house robberies (in milliseconds).

  • MissionCooldown (number): Cooldown between starting new missions (in milliseconds).

  • EnableProgress (boolean): Enable/disable progress bars for robbery actions.

  • EnableSounds (boolean): Enable/disable mission soundtracks during robberies.

  • SoundVolume (number): Volume level for mission soundtracks (0.0 to 1.0).


Mission System

Mission Timer Configuration

  • enabled (boolean): Enable/disable the mission timer system.

  • duration (number): Mission duration in milliseconds.

  • warningTime (number): Time before mission ends to show warning notification.

  • autoEndMission (boolean): Automatically end mission when timer expires.

  • clearInteractions (boolean): Clear all interactions except exit when mission ends.

  • teleportPlayers (boolean): Teleport all players outside when mission ends.

  • resetBucket (boolean): Reset routing bucket to 0 when mission ends.

Mission Definitions

Mission Properties:

  • id (string): Unique mission identifier.

  • name (string): Display name for the mission.

  • type (string): Mission rarity (COMMON, RARE, LEGENDARY).

  • difficulty (string): Risk level (LOW_RISK, MEDIUM_RISK, HIGH_RISK, EXTREME_RISK, MAXIMUM_RISK).

  • reward (number): Cash reward amount.

  • players (number): Required number of players.

  • description (string): Mission description.

  • category (string): Mission category.

  • status (string): Mission availability status.

  • requiredItems (table): Items needed to start the mission.

  • requirements (table): Level and skill requirements.

Customization Example:


House Entry System

Entry Method Configuration

  • UseHackingFor (table): Define which house tiers require hacking instead of lockpicking.

  • RequiredItems (table): Required items for each entry method.

Lockpick System Configuration

Available Lockpick Systems:

  • "t3_lockpick": T3 Lockpick resource

  • "qb-lock": QB-Lock resource

  • "qb-keyminigame": QB Key Minigame

  • "custom": Custom lockpick event

  • "none": No lockpick required


Black Market System

Black Market Configuration

Item Properties:

  • name (string): Item identifier in inventory system.

  • displayName (string): Display name in black market UI.

  • description (string): Item description.

  • sellPrice (number): Selling price (can be percentage for cash items).

  • category (string): Item category for UI organization.

  • rarity (string): Item rarity (common, rare, legendary).

Customization Example:


Police System

Police Configuration

  • BlipRemovalTime (number): Time in milliseconds after which police blip auto-removes.

  • EnableBlipTimeout (boolean): Enable/disable automatic blip removal.

  • BreachEnabled (boolean): Enable/disable police breach system.

  • BreachDetectionRadius (number): Distance for police to see breach option.

  • BreachRequireAlert (boolean): Only allow breach on alerted robberies.

  • BreachShowDistance (boolean): Show distance to robbery in breach text.

  • BreachNotificationTime (number): How long breach notification shows.

Police Alert Function

  • Custom function for police alerts - replace with your police system.


House Configuration

House Structure

House Components

Objects

Searchable objects that give random items:

  • Coords (vector3): Object position.

  • Text (string): Interaction text.

  • Items (table): Array of possible items to find.

Props

Robable props that can be carried:

  • Coords (vector3): Prop position.

  • Text (string): Interaction text.

  • PropModel (string): GTA V prop model name.

  • SearchRadius (number): Search radius for the prop.

  • Item (table): Item received when robbed.

  • RequireProgressBar (boolean): Whether to show progress bar.

  • ProgressTime (number): Progress bar duration in ms.

  • Animation (table): Animation to play during robbery.

  • Carry (boolean): Whether the prop needs to be carried.

  • CarryProp (string): Prop model to carry.

  • CarryAnimation (table): Animation while carrying.

Safe

Safes that can be cracked:

  • enabled (boolean): Whether safe is enabled.

  • model (string): Safe prop model.

  • coords (vector3): Safe position.

  • rotation (table): Safe rotation.

  • interactionCoords (vector3): Where player stands to interact.

  • requireDrill (boolean): Whether drill is required.

  • items (table): Items found in safe.

Display Cases

Glass cases with diamonds:

  • model (string): Case prop model.

  • coords (table): Case position.

  • diamondCoords (table): Diamond position.

  • playerPosition (table): Where player stands to cut.

  • requiredItem (string): Item needed to cut glass.

  • removeAfterUse (boolean): Whether to remove required item after use.

  • items (table): Items in the case.

  • cutTime (number): Time to cut glass in ms.

  • animation (table): Cutting animation.

Paintings

Robable paintings:

  • id (number): Painting ID.

  • model (string): Painting prop model.

  • scenePos (vector3): Scene position.

  • sceneRot (vector3): Scene rotation.

  • objectPos (vector3): Object position.

  • intPos (vector3): Interaction position.

  • objHeading (number): Object heading.

  • name (string): Item name when robbed.

  • Robbed (boolean): Whether already robbed.

Entrances

Multiple entrance points for the same interior:

  • name (string): Entrance name.

  • coords (vector3): Entrance coordinates.


Tools Shop

Tools Shop Configuration

Item Properties:

  • id (string): Unique item ID.

  • name (string): Item name in inventory.

  • label (string): Display name.

  • price (number): Item price.

  • description (string): Item description.

  • category (string): Item category.

  • status (string): Item availability status.

  • quantity (number): Default quantity.

  • image (string): Base64 encoded image.


Advanced Features

Tablet Commands

  • TabletOpenBlackMarketCommand (string): Command to open black market from tablet.

  • TabletOpenMissionCommand (string): Command to open mission UI from tablet.

Global Paintings Configuration

  • enabled (boolean): Enable/disable painting system.

  • rewards (table): Rewards for cutting paintings.


Crew System

Crew Management

The House Robbery System includes a comprehensive crew system that allows players to:

  • Create and manage crews

  • Invite players to crews

  • Start missions as crew leaders

  • Share GPS coordinates with crew members

  • Synchronize robbery progress across crew members

Crew Commands


Commands

Available Commands


Customization Examples

Add a New House

Add a New Mission

Add New Black Market Item

Change Police Requirement

Adjust Mission Timer

Last updated