# Container Stashes

Enhance your FiveM server with the **Container Stashes Script**, allowing players to store, transport, and manage containers around the map. This script offers a unique and immersive experience for roleplaying, logistics, and storage management.

⚡ **Key Features**:

* **Transportable Containers**: Containers can be attached to trucks and trailers, allowing players to transport them around the map with ease.
* **Configurable Containers**: Customize the types of containers available on your server, including small, medium, and large options with different weight limits and slot capacities.
* **Database Logging**: Every action is logged to the database, tracking container creation, movement, attachment, detachment, opening, and deletion. This ensures complete transparency and auditability.
* **Discord Integration**: Use Discord webhooks to send container event notifications directly to your Discord server, including details like who interacted with the container and its location.
* **NPC Shop**: Players can purchase containers and vehicles from an NPC shop, adding an extra level of immersion and economy management.
* **Attach and Detach**: Players can easily attach containers to vehicles and detach them when needed, making it perfect for logistics and roleplay scenarios.

📋 **Requirements**:

* **QBCore Framework**: Seamlessly integrates with QBCore for item handling, database management, and interactions.

🔧 **Setup & Configuration**:

1. **Installation**: Place the script in your server’s resources folder and add it to your server.cfg.
2. **Customization**: Use the config file to define available container types, vehicle attachments, logging settings, and Discord webhook details.
3. **NPC Shop Setup**: Customize the shop location, container prices, and available vehicles for renting or purchasing.


---

# 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://docs.tzmc.dev/docs/qb-core/container-stashes.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.
