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
Script
Step 1: Download the Script
Download the script from keymaster.
Step 2: Place the Files
Open the downloaded
.zip
, copy the[police]
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.
Step 5: Define Items (Deployer or Manual)
To define items in the RCore Prison script, you can either use the Deployer command or edit the configuration manually.
Step 5: Define ace permissions
Add to bottom of server.cfg permission part (script need this permission to use properly ACE permission)
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
Step 6: Enjoy
Start your server and enjoy RCore Prison.
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
Was this helpful?