> For the complete documentation index, see [llms.txt](https://docs.l2s.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.l2s.dev/assets-and-guides/hotels-v2/configuration/config.md).

# Config

## # Framework

QBCore :

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

ESX:

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

## # Webhooks

{% embed url="<https://l2s.gitbook.io/l2s-docs/coding-information/webhook-system>" %}

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

## # UI Settings

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

## # Inventory

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

## # Target

```lua
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&#x20;

QBCore :&#x20;

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

ESX:

<pre class="language-lua"><code class="lang-lua"><strong>ManagementScript = 'esx_addonaccount', --  change Functions name from sv_editab
</strong></code></pre>

## # Hotel Settings

```lua
-- << 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 
```
