L2S Documentation
DiscordTebex
  • Documentation
  • Information
    • Discord Roles
    • How to update your asset
    • FiveM Asset Escrow System
  • Coding Information
    • Webhook System
    • Register Key Mapping
    • Translation System
  • ASSETS & GUIDES
    • 🚨Dispatch
      • ⤵️Installation
      • ⚙️Configuration
        • Settings
        • API
        • Hub
        • CCTV
        • Dispatch
        • UI
      • 💻Integration
        • Exports
          • Client
          • Server
        • Police Alerts
        • Radio Channel
        • Duty System
    • 🏨Hotels V2
      • ⤵️Installation
      • ⚙️Configuration
        • Config
        • Elevators
        • Hotels
      • 💻Exports
    • 👮Police Hub
      • ⤵️Installation
      • ⚙️Configuration
      • 💻Events & Alerts
    • 💀Gangs Turf
      • ⤵️Installation
      • ⚙️Configuration
        • Settings
        • Gangs
      • 💻Exports
      • 📚Tutorial
    • 🔫Paint Ball
      • ⤵️Installation
      • ⚙️Configuration
        • Settings
        • Clothes
        • Locations
      • 💻Exports
Powered by GitBook
On this page
  • # Framework
  • # Webhooks
  • # UI Settings
  • # Inventory
  • # Target
  • # Managment
  • # Hotel Settings
  1. ASSETS & GUIDES
  2. Hotels V2
  3. Configuration

Config

PreviousConfigurationNextElevators

Last updated 2 months ago

# Framework

QBCore :

FrameworkFolder = 'qb-core', -- QBCore Folder
OnPlayerLoaded = 'QBCore:Client:OnPlayerLoaded', 

ESX:

FrameworkFolder = 'es_extended', -- ESX Folder
OnPlayerLoaded = 'esx:playerLoade', 

# Webhooks

Webhooks = {
	['rentRoom'] = '',
	['takeItems'] = '' ,
	['Managment'] = '' ,
	['Job'] = '' ,
},

# UI Settings

Color = '#21b7a2',
SoundsEffects = true,

# Inventory

Inventory = 'new_qb_inventory', -- new_qb_inventory, qb_inventory ,  qs_inventory, ox_inventory  (Change Resource name for server/ sv_editable.lua)

# Target

TargetSystem = 'qbtarget', --  qbtarget, oxtarget (change script name from Config.Settings) , this for shop , stash
TargetExport = 'qb-target', -- ox_target , qb-target (Your Target Resource Name)
TargetDebug = false,
TargetZone = {
    qb = {
        Stash = {l = 1.7,  w = 0.5},
        Clothing = {l = 0.5,  w = 1.5},
    },
    ox = {
        Stash = vec3(1.3, 0.5, 0.5),
        Clothing = vec3(1.1, 1.5, 0.7),
    },
},

TargetRange = 1.5, -- For Outfits, Stash, Elevators
ReciptionTargetRange = 2.0, -- For Peds in Reciption 

# Managment

QBCore :

ManagementScript = 'qb-management', --  change Functions name from sv_editable

ESX:

ManagementScript = 'esx_addonaccount', --  change Functions name from sv_editab

# Hotel Settings

-- << Return Items Settings >> 
DeleteTimeout = 5 * 60000,
    
-- << Security Settings  >>
NewCardPrice = 500,
SerialChange = 1000, -- Change card serial number + new card (Price)
    
-- << Script Settings >> --
LoopTimeout = 60 * ( 60 * 1000), -- Loop Time Out to update rooms
MaxRooms = 3,-- Max Rooms of Each hotel
EnableStealing = false, -- True: Open stash without key, False : anyone can open the stash 
🏨
⚙️
Webhook System | L2S Documentation
Logo