Configuration

NN Garages Configuration Documentation

This document provides a comprehensive overview of the configuration options available for the NN Garages system.

General Settings

Framework & Core Settings

  • Config.Debug (boolean): Enable/disable debug mode. Default: false

  • Config.Framework (string): Framework type. Options: "qb" or "esx" or "qbx". Default: "qb"

  • Config.Inventory (string): Inventory system type. Options: "qb", "ox", or "qs". Default: "qb"

Feature Toggles

  • Config.UseNnInteraction (boolean): Enable/disable NN Interaction system. Default: true

  • Config.needRealEstateToBuy (boolean): Whether real estate is required to sell garages to other players. Default: false

  • Config.VisuallyDamageCars (boolean): Enable/disable visual damage on vehicles. Default: true

  • Config.EnterGarageWhenStoringVehicle (boolean): Whether vehicles are stored when entering garage. Default: true

External Resources

  • Config.FuelResource (string): Fuel resource name. Default: "LegacyFuel"

  • Config.RealestateJob (string): Job name for real estate workers. Default: "realestate"

System Settings

  • Config.PreviewDuration (number): Preview duration in seconds for garage customization. Default: 10

Rent System

  • Config.RentCron (table): Cron job settings for rent expiration

    • hour (number): Hour when rent duration is reduced. Default: 6

    • minute (number): Minute when rent duration is reduced. Default: 0

Garage Types

The system supports 5 different garage types, each with different capacities and features:

1. Small Garage (2places)

  • Label: SMALL GARAGE

  • Capacity: 2 vehicles

  • Features:

    • CCTV installation: ✅

    • Auto repair: ❌

    • Stash installation: ✅

    • Customizable: ❌

2. Medium Garage (6places)

  • Label: MEDIUM GARAGE

  • Capacity: 6 vehicles

  • Features:

    • CCTV installation: ✅

    • Auto repair: ✅ (2 days)

    • Stash installation: ✅

    • Customizable: ❌

3. Premium Garage (10places)

  • Label: PREMIUM GARAGE

  • Capacity: 10 vehicles

  • Features:

    • CCTV installation: ✅

    • Auto repair: ✅ (2 days)

    • Stash installation: ✅

    • Customizable: ✅ (Index: 1)

4. Luxury Garage (25places)

  • Label: LUXURY GARAGE

  • Capacity: 25 vehicles

  • Features:

    • CCTV installation: ✅

    • Auto repair: ✅ (2 days)

    • Stash installation: ✅

    • Customizable: ✅

5. Enterprise Garage (entreprise)

  • Label: ENTERPRISE GARAGE

  • Capacity: 22 vehicles

  • Features:

    • CCTV installation: ✅

    • Auto repair: ✅ (2 days)

    • Stash installation: ✅

    • Customizable: ❌

Garage Upgrade System

All garages support a common upgrade system with the following options:

CCTV Cameras

  • Description: Install CCTV cameras at your garage door to check the entrance

Auto Repair (when supported)

  • Description: Automatically repair vehicles if they stay in garage for 2 days

50KG Stash

  • Description: Add 50KG to your current stash

Last updated