> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_prison/v1.md).

# V1 Docs

## rcore\_prison

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

## Installation

#### Script

1. Download the script from [keymaster](https://keymaster.fivem.net).
2. Open downloaded zip, copy `[prison]` folder and put it in resources folder to your server files (resources/\[prison]).
3. Go to your server.cfg and add `ensure [prison]`.
4. Add to bottom of server.cfg permission part (script need this permission to use properly ACE permission) & map setup which are going to use.

```lua
add_ace resource.rcore_prison command.add_ace allow
add_ace resource.rcore_prison command.remove_ace allow
add_ace resource.rcore_prison command.add_principal allow
add_ace resource.rcore_prison command.remove_principal allow
```

\[GABZ]

* ensure cfx-gabz-mapdata
* ensure cfx-gabz-prison
* ensure rcore\_prison\_gabz\_models
* ensure rcore\_prison

\[RCORE]

* ensure rcore\_prison\_models
* ensure rcore\_prison\_map
* ensure rcore\_prison

\[QBCORE]

* ensure \[defaultmaps]
* ensure rcore\_prison

5. Restart your server, have fun.

#### Chat commands

| Command    |        Params        |                                  Description |
| ---------- | :------------------: | -------------------------------------------: |
| /jail      |       serverId       |                                         time |
| /unjail    |       serverId       |                               Unjail command |
| /jaillcp   |         None         |                  Show dashboard app for LSPD |
| /stopzone  |       serverId       | Stop community service for specific CS user. |
| /clearzone |       serverId       |    Clear area around specific user (target). |
| /cancelcs  |         None         |   Cancel current mission (task) for CS only. |
| /startcs   | serverId perollCount |   Start community service for specific user. |
