> For the complete documentation index, see [llms.txt](https://giftspackaging.killstore.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://giftspackaging.killstore.net/installation/framework.md).

# Framework

Our **Ks Gift Packaging** script is designed to work seamlessly with **ESX** and **QB-Core** frameworks without requiring additional modifications, unless specifically needed.

For those not using either of these frameworks, you can configure it to work in a standalone mode. Simply select **Standalone** in the `config.lua` file by setting:

```lua
Config.Framework = 'standalone'
```

If modifications are required, they can be made within the `Ks_Gift_Packaging/Framework/*_Custom.lua` directory.

* In **`sh_Custom.lua`** \[*shared*], you’ll find the **Framework Initialization for Object Retrieval**, where the core framework object is initialized and inventory detection
* In **`cl_Custom.lua`** \[*client*], you’ll find **server callback triggers** and the **notification system** setup.
* In **`sv_Custom.lua`** \[*server*], there are functions for `UsePlayerItem`, `RemovePlayerItem`, `GivePlayerItem`, and `RegisterCallback`, which manage item usage and player interactions.
