Installation
Step by step documentation how to properly install script.
Script
Download the script from keymaster.
Open downloaded zip, copy
[prison]
folder and put it in resources folder to your server files.Go to your server.cfg and add
ensure [prison]
as last ensured resource in your server.cfg!When using any prison map, make sure that in server.cfg your map is ensured
ensure your_prison_map
before[prison]
When you dont have prison map, extract our map folders from
[prison]/rcore_prison/includedMaps/rcore_prison_map and rcore_prison_models
intoresources/../
RCore map (server.cfg) example
Third party prison map (server.cfg) example
Add to bottom of server.cfg permission part (script need this permission to use properly ACE permission)
Permissions (server.cfg) example
Now, let’s automatically set up the Prison resources (like inventory items and images) and other scripts using our Deployer tool:
Install every suggested deployer with server command
prisonsetup resourceName
as seen on image below in your server console.For example, if the console suggests deploying qb-doorlock, you would type
prisonsetup qb-doorlock
in your server console.
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:
Commands
You can adjust all command names in config.lua
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 |
Discord log
Go to rcore_prison/sconfig.lua
Change SConfig.LogWebhook value
Last updated