Installation
Step by step documentation how to properly install script.
Database
The database will be imported automatically for you when you start the resource for the first time.
General information
🗺️ Note about the RCore Prison Map:
The included RCORE Prison map does not have a visitation room, and the canteen is located in a different section of the prison (marked as a C on the map).
If you are migrating from QBOX or QBCore, those frameworks may come with a different prison map that includes a visitation area.
Our MLO is located at vector3(1691.44, 2568.25, 45.56).
🗺️ Note about the Community service:
The locations are set only to Los Santos (City) not outside of it.
It cannot be changed to different location.
🗺️ Note about the prisoners not being teleported back to prison
The Prison check by default in 1 minute cycle if prisoner run from prison, when not doing prison break way and teleport him back.
The area is polyzone, its not distance based
🗺️ A Quick Note About Doors
Just a heads-up: the prison doesn't come with specific door locations on the map. If you need doors for your prison setup, feel free to add them wherever you like—they’re completely up to you!
Script
Step 1: Download the Script
Download the script from keymaster.
Step 2: Place the Files
Open the downloaded
.zip, copy the[prison]folder, and put it in your resources folder.
Step 3: Edit server.cfg
Go to your server.cfg and add ensure [prison].
Step 4: Define Your Prison Map
To configure your prison map, ensure the correct map resources are included in your server.cfg.
Below are configuration examples for Standalone, Custom Prison Map, and RCORE setups.
Note: If an unsupported map is loaded, a Standalone configuration will be applied by default, using the standard prison yard.
RCORE
Description: Configures the RCORE Prison map that comes included with the
[prison]resource.Path to Map Files:
You can find the RCORE prison map and models in the following locations:
Map folder:
resources/[prison]/rcore_prison/includedMaps/rcore_prison_mapModels folder:
resources/[prison]/rcore_prison/includedMaps/rcore_prison_models
🛠️ How to Extract:
To use the map and models directly in your server's resource system, follow these steps:
Navigate to: resources/[prison]/rcore_prison/includedMaps/
Copy the folders:
rcore_prison_maprcore_prison_models
Paste both folders directly into your main
resources/directory.
🗺️ Note about the RCore Prison Map:
The included RCORE Prison map does not have a visitation room, and the canteen is located in a different section of the prison (marked as a C on the map).
If you are migrating from QBOX or QBCore, those frameworks may come with a different prison map that includes a visitation area.
Step 5: Define Items
To define items in the RCore Prison script, you can either use the Deployer command or edit the configuration manually.
Item definitions can be found at
rcore_prison/inventory_items.luaItem images are located in
rcore_prison/assets/inventoryImages
Using the Deployer command
Full guide at this page Inventory
Start the server.
Open the server console (
txAdmin - Live console)Type the following command to automatically define items:
Note:
inventory_nameshould correspond to the name of your inventory system. Ensure it matches your configuration to avoid errors.
Note: The deployer supports: mf-inventory and es_extended. For other inventories, please follow the manual setup guide.
Manually Adding Items
Follow this guide at this page Inventory
Step 5: Define ace permissions
Add to bottom of server.cfg permission part (script need this permission to use properly ACE permission)
Step 6: Enjoy
Start your server and enjoy RCore Prison.
🔄 Server items If you’ve made any changes to your items (or just defined them for the first time), don’t forget to restart your server. This ensures all your custom items get properly registered into the system and everything works smoothly.
Commands
You can adjust all command names in config.lua
/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
Discord logs
Go to rcore_prison/sconfig.lua
Change SConfig.LogWebhook value
Last updated
