Installation

Step by step documentation how to properly install script.

Script

  1. Download the script from keymaster.

  2. Open downloaded zip, copy [prison] folder and put it in resources folder to your server files.

  3. 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 into resources/../

RCore map (server.cfg) example

ensure rcore_prison_models
ensure rcore_prison_map
ensure [prison]

Third party prison map (server.cfg) example

ensure your_prison_map
ensure [prison]
  1. Add to bottom of server.cfg permission part (script need this permission to use properly ACE permission)

Permissions (server.cfg) example

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
  1. 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:

Deployer

Commands

You can adjust all command names in config.lua

Discord log

  1. Go to rcore_prison/sconfig.lua

  2. Change SConfig.LogWebhook value

Last updated