# ‌⛓️ rcore\_prison

## rcore\_prison V2

[**Buy Here**](https://store.rcore.cz/package/5341769)

[**Forum Post**](https://forum.cfx.re/t/prison-all-in-one-system/4958758)

### Description

{% hint style="warning" %}
This script does **NOT REQUIRE** any sql files.
{% endhint %}

{% hint style="danger" %}
This script **REQUIRES** artifact version **4752** or **newer** and **OneSync** enabled.
{% endhint %}

{% hint style="danger" %}
Map "New York" does not work with this resource.
{% endhint %}

{% hint style="danger" %}
Prison Break is not supported for Molo's Alcatraz Prison!
{% endhint %}

### Plug and Play

* This resource is ready to use immediately after putting the resource in the resources folder on your server.
* Database stuff is handled automatically and requires no configuration whatsoever.
* It is recommended to delete the server cache for this resource if you're transferring over from the older version.

### API

* If you wish to connect your resources with this resource we have made a list of all the available client and server side events and exports.
* Missing some API event/export that you would like to be added? Reach us out on our discord - create ticket with the request.
* More detailed instructions about this topic are listed on this page:

[API](/paid-resources/rcore_prison/api.md)

### Integration

* In the default this resource is integrated with multiple resources listed below.
* Other resources can easily communicate with this resource.
* You may integrate virtually any inventory/Framework with this resource. More detailed instructions about this topic are listed on this page:

[Integrations](/paid-resources/rcore_prison/integrations.md)

### Deployer

* The Deployer is our tool that allows customers to manage their server resources effortlessly.
* Without needing to touch any files on the server, you can define inventory items, inventory images, and other third-party resources simply by typing one command.
* For more detailed instructions on how to use the Deployer, we have created a specific guide.
* This guide includes step-by-step instructions, examples, and troubleshooting tips to help you get the most out of the Deployer tool.
* More detailed instructions about this topic are listed on this page:

[Deployer](/paid-resources/rcore_prison/guides/deployer.md)

### Why dispatch is not being called?

1. **When police units received dispatch call**:

* When Guards see broken wall, alarm will be started and dispatch is called (`Prison break active`)
* When Guards see Prisoner cutting through wall, alarm will be started and dispatch is called (`Prison break active`)
* Guards can see only 180 view angle to see/report anything that occurs.
* See full feature how it works there:

[Prison Break](/paid-resources/rcore_prison/features/prison-break.md)

#### Chat Commands

| Command                    | Description                               |
| -------------------------- | ----------------------------------------- |
| /jailcp                    | Use this to manage prisoners in your city |
| /jail playerId time reason | For jailing citizens                      |
| /startcs playerId amount   | For setting citizens into COMS            |
| /unjail playerId           | For unjailing target citizen              |
| /removescs playerId        | For removing citizen COMS                 |
| /stopalarm                 | Stop current active alarm                 |
| /solitary playerId time    | For setting prisoners to solitary         |
| /rsolitary playerId        | For removing player from solitary         |

## Supported Maps

* RCore Prison (`rcore_prison_map`)
* GABZ Prison (`cfx-gabz-prison`)
* Desertos Prison (`Prisonmainblock`)
* Molo's Alcatraz Prison (`molo_alcatraz`)
* Prompt's Prison (`cfx_prompt_Bolingbroke_Prison_Interiors`)
* YBN Prison (`YBNPrison`)
* Uncle Just Prison (`int_prison`)

{% hint style="warning" %}
Prison Break is not supported for Molo's Alcatraz Prison!
{% endhint %}

## Supported Resources

List of all resources we currently support out of the box. More resources can easily be integrated.

### Other

* RCore Stats (`rcore_stats`)

### Frameworks

* ESX (`es_extended`)
* QBCore (`qb-core`)
* QBBox (`qbx_core`)
* NDCore (`ND_Core`)
* Standalone (`no-framework`)

### Inventories

* QBCore Inventory (`qb-inventory`)
* OverExtended Inventory (`ox_inventory`)
* Quasar Inventory (`qs-inventory`)
* Chezza Inventory (`inventory`)
* ESX Inventory (`es_extended`)
* Core Inventory (`core_inventory`)
* ModFreakz Inventory (`mf-inventory`)
* TGIANN Inventory (`tgiann-inventory`)
* LJ Inventory (`lj_inventory`)
* CodeM Inventory (`codem_inventory`)
* Origen Inventory (`origen_inventory`)
* Project Sloth Inventory (`ps-inventory`)

### Dispatches

* Codesign Dispatch (`cd_dispatch`)
* ProjectSloth Dispatch (`ps_dispatch`)
* Core Dispatch (`core_dispatch`)
* Quasar Dispatch (`qs-dispatch`)
* RCore Dispatch (`rcore_dispatch`)

### Clothing

* ESX skinchanger (`skinchanger`)
* QBCore clothing (`qb-clothing`)
* Fivem Appearance (`fivem-appearance`)
* Illenium Appearance (`illenium-appearance`)
* CodeM Appearance (`codem-appearance`)
* CRM Appearance (`crm-appearance`)

### MDT

* Project Sloth MDT (`ps_mdt`)
* Redutzu MDT (`redutzu_mdt`)

### Menus

* RCore Menu (`rcore_prison`)
* OverExtended Context (`ox_lib`)
* QB Menu (`qb-menu`)
* ESX Menu (`esx_menu_list`)

### Text UI

* RCore Text UI (`rcore_prison`)
* OverExtended Text UI (`ox_lib`)
* QBCore Text UI (`qb-core`)
* ESX Text UI (`esx_textui`)

### Notifies

* QBCore Notify (`qb-core`)
* ESX Notify (`es_extended`)
* Mythic Notify (`mythic_notify`)
* OKOK Notify (`okOkNotify`)
* OverExtended Notify (`ox_lib`)
* pNotify (`pNotify`)
* Brutal Notify (`brutal_notify`)

### Stats for Prison GYM

* RTX GYM (`rtx_gym`)
* Brutal GYM

### Booths

* LB Phone (`lb_phone`)

### Consumables

* QBCore Consumables (`qb_smallresources`)
* ESX Consuambles (`esx_basicneeds`)

### Targets

* QBCore Target (`qb-target`)
* OverExtended Target (`ox_target`)


---

# 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.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.
