> For the complete documentation index, see [llms.txt](https://dynyx-scripts.gitbook.io/dynyx-scripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dynyx-scripts.gitbook.io/dynyx-scripts/cards/installation-and-configuration.md). Agents can also search and read this documentation through its [MCP server](https://dynyx-scripts.gitbook.io/dynyx-scripts/~gitbook/mcp).

# Installation & Configuration

{% stepper %}
{% step %}

### Add the resource

Drag the `dynyx_cards` folder into your `resources` directory.

Make sure to rename the script from `dynyx_cards-main` to `dynyx_cards` or it will not work. Then make sure its in the correct location so the server can access it. Once done, add `ensure dynyx_cards` to your `server.cfg` to activate the script.&#x20;
{% endstep %}

{% step %}

### Install Dependencies

**Ensure all required dependencies for the script are installed and up to date.**&#x20;

Dependencies usually include core resources like a framework (QBCore, QBox, or ESX), a target system (`ox_target` or `qb-target`), and an inventory (`ox_inventory`, `qb-inventory`, `ps-inventory`, `origen_inventory`, `core_inventory`, or `tgiann-`inventory). You'll also need `ox_lib` for the notifications, progress bars, and menus, plus `screencapture` for the photo system. Missing dependencies may prevent the script from working properly.
{% endstep %}

{% step %}

### Import the SQL File

**Open your database (like HeidiSQL or phpMyAdmin) and import the provided SQL file.**\
This step adds the necessary tables and data structure to your database, ensuring that the prison system can store and retrieve relevant information such as inmate records, escape flags, and confiscated items.
{% endstep %}

{% step %}

### Configure Inventory Integration

**Navigate to your `inventory` folder.**

Choose the correct guide for your inventory system. Each guide has specific instructions and images for setting up item images and ensuring full compatibility with your chosen inventory.

* [ox\_inventory](https://dynyx-scripts.gitbook.io/dynyx-scripts/cards/installation-and-configuration/ox_inventory.md)
* [qb-inventory / ps-inventory](https://dynyx-scripts.gitbook.io/dynyx-scripts/cards/installation-and-configuration/qb-inventory-ps-inventory.md)
* [tgiann-inventory](https://dynyx-scripts.gitbook.io/dynyx-scripts/cards/installation-and-configuration/tgiann-inventory.md)
* origen\_inventory
* core\_inventory

{% endstep %}
{% endstepper %}
