# 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="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-21f4cdc16e887f1e8839e5a5b66856ec5a61234b%2Fprison_deployer.png?alt=media" 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.
