# Deployer

## Overview

* The Deployer is our tool designed to simplify the installation and management of third-party scripts.
* It automates actions that require specific resource items in the player's inventory or framework. Inventory items are deployed only for mf-inventory and es\_extended, while inventory images are deployed for all inventory systems.
* This tool streamlines the process for our customers, making it easier and more efficient.

## How to Use the Deployer

1. **Monitor Server Console Messages**
   * Keep an eye on your server console for messages similar to the ones shown in the screenshot.
2. **Execute Deployment Commands**
   * To perform a specific action, type the command in the format: `(prisonsetup resourceName)` in your server console.
   * Replace `resourceName` with the appropriate resource from the console message.

## Example

Based on the provided screenshot, here’s how to use the deployer:

<figure><img src="/files/MqMNDAwpnMRJrodGlvUT" alt=""><figcaption><p>List of third party resources, which allow to start installation.</p></figcaption></figure>

* **Message in Console:** `[script:rcore_prison] [asset-deployer:load] Resource qb-doorlock is present on server. Suggested 1 deploys: doors (/prisonsetup qb-doorlock)`
* **Action:** Type `prisonsetup qb-doorlock` in your server console to deploy the `qb-doorlock` resource.

This process ensures that the necessary scripts and resources are correctly installed and ready for use.

## Additional Tips

* **Check Deploy Status:** The console will indicate if a resource is already deployed or if additional steps are required.
* **Reset Commands:** If you need to reset a deployment, use the suggested reset command from the console message.

By following these steps, you can efficiently manage your server resources using the Deployer tool, ensuring a smooth and hassle-free experience.


---

# 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://documentation.rcore.cz/paid-resources/rcore_prison/guides/deployer.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.
