# 📦Private Employee Stash

To setup a private stash for your employees you can create new stashes here.

```lua
-- Shared Between Employees

-- If you have numerous for the same job the items will be shared across
Config.EmployeeStash = {
    [1] = {
        uniqueid = "bsestash1", -- Make sure this is unique or you will be cross sharing stashes and targets (This is a unique identifier used by QB-Core)
        job = "taxi",
        maxweight = 50000,
        slots = 50,
        stashlabel = "Employee Stash",
        target_label = "Employee Stash",
        target_icon = "far fa-clipboard",
	location = vector3(-1196.1, -902.27, 13.89),
        width = 2,
        depth = 1,
        heading = 216.61,
        minz = 13.6,
        maxz = 14.0,
        distance = 2,
    }
}

```

### For those note on QB-Inventory (Latest Version)

You will need to edit the function in HapticLib/server/functions/stash.lua

```lua
RegisterServerEvent("HapticLib:Server:EmployeeStash")
RegisterNetEvent('HapticLib:Server:EmployeeStash', function(id, slots, weight, label)
	local src = source
	local Player = QBCore.Functions.GetPlayer(src)
	local cid = Player.PlayerData.citizenid
	local stashid = id .. "_" .. cid
	local datas = { label = label, maxweight = weight, slots = slots }
	exports['qb-inventory']:OpenInventory(source, stashid, datas)
end)
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lcdevdocs.gitbook.io/docs/remastered-scripts/lc-businesses/private-employee-stash.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
