Main Config
Welcome to the main configuration file of the RCore Prison
General Settings
Debug
Debug
DebugType:
booleanDefault:
falseDescription: Enables or disables overall debugging for
rcore_prison.
DebugInventory
DebugInventoryType:
booleanDefault:
falseDescription: Enables debugging related to the inventory module.
DebugClothing
DebugClothingType:
booleanDefault:
falseDescription: Enables debugging related to the clothing module.
DebugAPI
DebugAPIType:
booleanDefault:
falseDescription: Enables debugging related to the API system.
DebugEnviroment
DebugEnviromentType:
booleanDefault:
falseDescription: Enables debugging related to the environment.
ErrorDebug
ErrorDebugType:
booleanDefault:
falseDescription: Makes error tracking easier.
DebugLevel
DebugLevelType:
tableDefault:
{ 'NETWORK', 'INFO', 'CRITICAL', 'SUCCESS', 'ERROR', 'API', 'DEBUG', 'MENU', }Description: Defines the levels of debugging information to be displayed.
Locale
Type:
stringDefault:
'en'Options:
['en'](additional languages may be supported)Description: Sets the language for the system.
Time
Type:
enumDefault:
TIMES.MINOptions:
['SEC', 'MIN', 'HOURS', 'DAYS', 'WEEK', 'MONTHS']Description: Defines the time unit for jail durations.
Integrations / Framework settings
Framework
Type:
enumDefault:
AUTO_DETECTExample:
Note: Leave it on AUTO_DETECT, if you one of supported frameworks (recommended).
Framework = AUTO_DETECT -- Will automatically pick up supported framework(s) from list if found on server.
Framework.ESX -- Will try to load ESX if failed to pick up, it will switch to standalone.Inventories
Type:
enumDefault:
AUTO_DETECTSupported Inventories:
AUTO_DETECT: Auto-detect inventory [Only detecting supported inventories below]
Inventories.ESX:
es_extended(GitHub)Inventories.QB:
qb-inventory(GitHub)Inventories.PS:
ps-inventory(GitHub)Inventories.QS:
qs-inventoryInventories.LJ:
lj-inventoryInventories.MF:
mf-inventoryInventories.OX:
ox-inventoryInventories.CHEEZA:
inventoryInventories.CODEM:
codem-inventoryInventories.TGIANN:
tgiann-inventoryInventories.ORIGEN:
origen-inventoryInventories.CORE:
core_inventorySTANDALONE: No inventory found; you will need to integrate it.
Example:
Note: Leave it on AUTO_DETECT, if you one of supported inventories (recommended).
Map
Type:
enumDefault:
AUTO_DETECTSupported Prison Maps:
AUTO_DETECT: Auto-detect prison map [Only detecting supported maps below]
Map.RCORE
Map.PROMPT
Map.UNCLE
Map.ALCATRAZ
Map.YBN
Map.DESERTOS
Map.GABZ
STANDALONE: No prison map found; loading standalone preset (
data/presets/standalone.lua)
Note: Leave it on AUTO_DETECT, if you one of supported inventories (recommended).
Interactions
Type:
enumDefault:
AUTO_DETECTSupported Interactions:
AUTO_DETECT: Auto-detect interactions [Only detecting supported interactions below]
Interactions.OX:
ox_targetInteractions.QB:
qb-targetInteractions.MV:
ps-inventoryInteractions.NONE: Distance interaction using [E]
STANDALONE: No target interaction found; distance interaction using [E] will be used
Note: Leave it on AUTO_DETECT, if you one of supported inventories (recommended).
Database
Type:
enumDefault:
AUTO_DETECTSupported Database Connectors:
AUTO_DETECT: Auto-detect DB connector
Database.OX:
oxmysqlDatabase.MYSQL_ASYNC:
mysql-asyncDatabase.GHMATTI:
ghmattimysqlSTANDALONE: No DB connector found
Note: Leave it on AUTO_DETECT, if you one of supported databases (recommended).
Cloth
Type:
enumDefault:
AUTO_DETECTSupported Clothing Systems:
AUTO_DETECT: Auto-detect clothing [Only detecting supported clothing below]
Cloth.RCORE:
rcore_clothing(Store)Cloth.ESX:
skinchanger(GitHub)Cloth.QB:
qb-clothing(GitHub)Cloth.IAPPEARANCE:
illenium-appearance(GitHub)Cloth.CODEM:
codem-appearance(Experimental)Cloth.CRM:
crm-appearance(Experimental)Cloth.TGIANN:
tgiann-clothing(Experimental)Cloth.WASABI:
fivem-appearance - wasabi fork(Experimental)
Note: Leave it on AUTO_DETECT, if you one of supported clothing system (recommended).
Phones
Type:
enumDefault:
AUTO_DETECTSupported Phone Resources:
AUTO_DETECT: Auto-detect phone resource
Phones.LB:
lb_phoneSTANDALONE: Phone booths will not be usable.
Note: Leave it on AUTO_DETECT, if you one of supported phone system (recommended).
Notifies
Type:
enumDefault:
AUTO_DETECTSupported Notify Resources:
AUTO_DETECT: Auto-detect Notify resource
Notifies.BRUTAL:
brutal_notifyNotifies.PNOTIFY:
qb-pNotifyNotifies.OX:
ox_libNotifies.ESX_NOTIFY:
esx_notifyNotifies.QBCORE:
qb-coreNotifies.ESX:
es_extendedNotifies.MYTHIC:
mythic_notifyNotifies.OKOK:
okokNotifySTANDALONE: Will use native notifications included in the resource
Note: Leave it on AUTO_DETECT, if you one of supported notifies system (recommended).
TextUI
Type:
enumDefault:
AUTO_DETECTSupported TextUI Resources:
AUTO_DETECT: Auto-detect TextUI resource
TextUI.RCORE:
rcore_prisonTextUI.OX:
ox_libTextUI.QBCORE:
qb-coreTextUI.ESX:
esx_textuiSTANDALONE: No TextUI resource found
Note: Leave it on AUTO_DETECT, if you one of supported Text UI system (recommended).
Menus
Type:
enumDefault:
AUTO_DETECTSupported Menus:
AUTO_DETECT: Auto-detect menu
Menus.RCORE:
rcore_prisonMenus.ESX_CONTEXT:
esx_contextMenus.OX:
ox_lib - contextMenus.QB:
qb-menuSTANDALONE: Defaults to
rcore_prison
Note: Leave it on AUTO_DETECT, if you one of supported Menu system (recommended).
Dispatches
Type:
enumDefault:
AUTO_DETECTSupported Dispatch Resources:
AUTO_DETECT: Auto-detect dispatch resources
Dispatches.RCORE:
rcore_dispatchDispatches.QS:
qs-dispatchDispatches.PS:
ps-dispatchDispatches.CD:
cd_dispatchDispatches.CORE:
core_dispatchDispatches.CODEM:
codem_dispatchDispatches.LOVE_SCRIPTS:
emergency_dispatchDispatches.ORIGEN:
origen_policeDispatches.TK:
tk_dispatchDispatches.DUSA:
dusa_DispatchSTANDALONE: No dispatch resource found; you will need to integrate it
Note: Leave it on AUTO_DETECT, if you one of supported Dispatches system (recommended).
Other
AllowAdminGroupsUseJailCommands
Type:
booleanDescription: This is used for allowing admin groups to use prison commands which are restricted to police/sheriff jobs
RestrictCommandsForDistance
Type:
booleanDescription: This is used for restricting commands for distance to inmates.
RegisterChatSuggestions
Type:
booleanDescription: Allow to register chat suggestions (enable/disable)
Jobs / Companion system
Type:
tableDescription: This allows to handle companion for specific jobs and remove new prisoner jobs based off the job list.
ReduceSentenceType
Type:
enumDefault:
SentenceTypes.ONLINEOptions:
SentenceTypes.ONLINE, SentenceTypes.OFFLINEDescription: [OFFLINE - Prisoners are not required to be on server for sentence reduce, ONLINE - Prisoners are required to be on server for sentence reducing!]
CanPrisonerBeReleasedWhenOnSolitary
Type:
booleanDefault:
trueDescription: This is used for enabling prisoner to be released when they are on solitary
RenderJailTime
Type:
booleanDefault:
trueDescription: This is used for rendering jail time on the screen
RenderNPCBlips
Type:
booleanDefault:
trueDescription: This is used for rendering blips on map (only for prisoners)
Prison break
Dispatch settings
Type:
tableDescription: This is settings for the dispatch allows to call dispatch when destroyed wall/escaped from prison.
Escape.RequiredPolice
Type:
numberDefault value:
3Description: How many police officers needs to be online for Prison break start.
Escape.PoliceCheck
Type:
booleanDefault value:
falseDescription: This is used for enabling checking if there is enough Police officers to start Prison break
Escape.Enable
Type:
booleanDefault value:
trueDescription: This is used for enabling prison break system
Escape.MarkerColor
Type:
vec4Default value:
{ r = 255, g = 0, b = 0, a = 100 }Description: This is the color of the marker for interaction with wall
Escape.WallLodSyncDistance
Type:
numberDefault value:
300Description: This is the distance for syncing walls (recommended value)
Escape.AutoCatch
Type:
booleanDefault value:
trueDescription: This is used for auto catching the prisoners are escaping with guards to put them in solitary
Escape.SolitaryTime
Type:
numberDefault value:
5Description: This is the time for solitary (default in min) when prisoner is caught
Escape.DisableBugEscape
Type:
booleanDefault value:
trueDescription: Player are only allowed to escape through included Prison break system!
Escape.WhenEscapeRemoveInmateStash
Type:
booleanDefault value:
falseDescription: This is used for removing inmates stash when they are escaping
Escape.BugEscapeCycleTime
Type:
numberDefault value:
1Description: This is the time for checking if prisoner is in area (default in minutes)
Escape.ViewNPCDistance
Type:
numberDefault value:
30Description: This is the distance for viewing NPC
Escape.RepairWallTime
Type:
numberDefault value:
10Description: This is the time for repairing the wall (default in seconds)
Escape.RepairWallKey
Type:
stringDefault value:
'E'Description: This is the interaction key for repairing wall
Escape.ResetTime
Type:
numberDefault value:
30Description: This is the time for resetting the escape (default in min)
Escape.EnableAutomaticReset
Type:
booleanDefault value:
trueDescription: This is the time for resetting the escape (default in min)
Escape.NeedItem
Type:
booleanDefault value:
trueDescription: This is used for needing item to escape from the prison
Escape.ItemName
Type:
stringDefault value:
wire_cutterDescription: This is the item name for escaping from the prison
Escape.NotifyJobs
Type:
arrayDefault value:
{ 'police', 'leo' }Description: This is the list of the jobs which are going to be notified when prisoner is escaping when using supported dispatch system
Escape.DisablePatrollingGuards
Type:
booleanDefault value:
falseDescription: This allows to enable/disable spawning of patrolling NPC guards.
Escape.Experimental.RemoveCuttersAfterWallDestroyed
Type:
booleanDefault value:
falseDescription: This will enable removing wire_cutter (ItemName) from player inventory when destroying wall
Escape.Experimental.CuttingSequence
Type:
booleanDefault value:
falseDescription: This will enable/disable cutting sequence
Escape.Experimental.CuttingSequenceTime
Type:
numberDefault value:
15Description: How much the cutting should take before wall breaks (in seconds)
Escape.Experimental.ClearPlayerInventoryWhenEscape
Type:
booleanDefault value:
falseDescription: This will enable/disable clearing of player inventory if he escaped
Guards
Guards.EnableJailAllCitizensWhenAttackedGuard
Type:
booleanDefault value:
trueDescription: This is used for jailing all citizens when guard is attacked
Guards.JailTime
Type:
numberDefault value:
20Description: This is the jail time for attacking guard (default in min)
Solitary
Solitary.DistanceCheck
Type:
numberDefault value:
10Description: This is the distance for checking if player is in his solitary cell.
Solitary.GuardDistanceCheck
Type:
numberDefault value:
10Description: This is the distance for checking if player is in the guard area.
Solitary.Time
Type:
numberDefault value:
3Description: This is the time for solitary (default in min) - when guard is attacked by prisoner
Release checkpoint
Release.AtCheckpoint
Type:
booleanDefault value:
falseDescription: This is used for releasing prisoner at the checkpoint, if disabled prisoner will be released at the prison.
Circuit
Circuit.Difficulty
Type:
numberDefault value:
1Description: 1, 2, 3, 4, 5, 6 --> This is ignored when EachJobLevelIncreaseDifficulty is enabled
Circuit.Keybinds
Type:
tableDefault value:
{ ['ARROW_UP'] = 172, ['ARROW_DOWN'] = 173, ['LEFT_ARROW'] = 174, ['RIGHT_ARROW'] = 175, ['BACKSPACE'] = 177, }Description: Default keys used for the circuit minigame.
Commands
Commands.Keybinds
Type:
tableDefault value:
Description: This is list of commands that are used in prison.
UI Configuration
Menu.Position
Type:
stringDefault value:
top-rightDescription: This is the position of the menu ['top-left', 'top-right', 'bottom-left', 'bottom-right']
Helpkeys.Position
Type:
stringDefault value:
top-leftDescription: This is the position of the help keys ['top-left', 'top-right', 'bottom-left', 'bottom-right']
Text.Position
Type:
stringDefault value:
bottom-rightDescription: This is the position of the text ['top-left', 'top-right', 'bottom-left', 'bottom-right']
Subtitles.Position
Type:
stringDefault value:
bottom-centerDescription: This is the position of the subtitles ['top-left', 'top-right', 'bottom-left', 'bottom-center', 'bottom-right']
Zone interaction
Jobs
Jobs
Type:
tableDefault value:
Description: Table of jobs which are allowed to perform RCore Prison commands
Prison Jobs
General
DisplayPrisonMap
Type:
booleanDefault value:
trueDescription: This is used for displaying prison map on the game map! (The map consumes 0.02ms to render!)
PrisonYardAnnoucement
Type:
booleanDefault value:
falseDescription: This is used for announcing prisoners about the yard time!
BroadcastNewPrisoner
Type:
booleanDefault value:
falseDescription: This is used for broadcasting new prisoner to all players on server.
AutoUncuffNewPrisoner
Type:
booleanDefault value:
trueDescription: This is used for auto uncuffing new prisoner when they are jailed.
Phone Booths
PhoneBooth.Enabled
Type:
booleanDefault value:
trueDescription: This allow to enable/disable phone booths
PhoneBooth.Lenght
Type:
numberDefault value:
7Description: This is the lenght of the phone number [7 - lb-phone]
PhoneBooth.Format
Type:
{phone-format}Default value:
{3}-{4}Description: This is the format of the phone number [{3}-{4}: lb-phone]
Chairs
Chairs.RaycastDistCheck
Type:
numberDefault value:
5Description: This is the distance for checking if player is near the chair
Chairs.SeatDistCheck
Type:
floatDefault value:
1.5Description: This is the distance for checking if player is near the chair
Chairs.DebugSeatPos
Type:
booleanDefault value:
falseDescription: This is used for debugging the chair positions
Chairs.HealLayingPlayers
Type:
booleanDefault value:
trueDescription: This is used for healing players when they are laying on the bed
Chairs.HealModifier
Type:
floatDefault value:
0.5Description: This is the heal modifier for laying players
Chairs.HealLayingPlayersTimeCycle
Type:
numberDefault value:
1Description: This is the time in minutes for healing laying players (default in 1 min)
Prison GYM
Supported stats resources: [RTX_GYM]
Can be added in rcore_prison/modules/base/client/client/api/cl-gym.lua
UI
UI.DisableAddSentencePlayerId
Type:
booleanDefault value:
falseDescription: This will allow to define if AddSentence via playerId is enabled/disabled
UI.AddSentenceReasonRequired
Type:
booleanDefault value:
falseDescription: This will define Add Sentence - sentence reason is required
Outfits
Outfits.RestorePlayerOutfitOnRelease
Type:
booleanDefault value:
trueDescription: This is used for setting outfit on release
Economy Item
Prison Accounts
Accounts.Enable
Type:
booleanDefault value:
trueDescription: This is used for enabling prisoner accounts system
Accounts.DeleteAccountWhenReleased
Type:
booleanDefault value:
falseDescription: This is used for deleting account when prisoner is released
Prolog
Prolog.ResetCache
Type:
booleanDefault value:
falseDescription: This is used for resetting cache when prolog is started
COMS (Community Service)
COMS.RenderPerollTime
Type:
booleanDefault value:
falseDescription: This is used for rendering peroll time on the screen
COMS.RenderAreaOnlyForCOMSCitizens
Type:
booleanDefault value:
falseDescription: This is used for rendering area only for coms citizens.
COMS.DisableGameControls
Type:
booleanDefault value:
trueDescription: This is used for disabling game controls when player is cleaning. (recommend to keep it)
COMS.InteractKey
Type:
stringDefault value:
EDescription: Interaction key for cleaning trash on street.
COMS.CleaningAnimTime
Type:
numberDefault value:
10 * 1000Description: The duration of animation how long it will take to clean a trash on ground
COMS.RenderDistance
Type:
floatDefault value:
150.0Description: This is the distance for rendering coms area
COMS.InRadius
Type:
floatDefault value:
100.0Description: This is the distance for checking if player is in radius
COMS.InRadius
Type:
tableDefault value:
Description: This is list of props which are used for the COMS area that are spawned as "trash"
COMS.Outline.color
Type:
vec3Default value:
x = 250, y = 149, z = 68Description: This allows to define outline colorfor props
Image paths
ImagePath
Type:
tableDefault value:
Description: This is list inventory and their image paths to load images for our UI (canteen, trade with inmates..)
Alcatraz
Alcatraz.BackToLosSantosPos
Type:
vec4Default value:
vector4(13.7, -2784.97, 2.53, 359.96)Description: This is location where player will be returned via "Boat" when interacting with NPC on Alcatraz at boat dock.
Canteen
Canteen.FreeFoodPackage
Type:
booleanDefault value:
trueDescription: This is used for enabling free food package system
Canteen.FreeFoodPackageCooldown
Type:
numberDefault value:
5Description: This is the cooldown for free food package system (5 min)
Canteen.FreeFoodPackageItems
Type:
arrayDefault value:
Description: This is list of items that will be gaven to player when taking free package!
Stash
Stash.EnableStashing
Type:
booleanDefault value:
trueDescription: This is used for enabling stashing system of citizen items
Stash.ReturnItemsOnRelease
Type:
booleanDefault value:
trueDescription: This is used for returning items when citizen is released from prison
Stash.AntiExploit
Type:
booleanDefault value:
trueDescription: This will block many attempt for getting items from stash
Stash.KeepItemsState
Type:
booleanDefault value:
trueDescription: This is used for keeping items when citizen is jailed into prison.
Stash.KeepItems
Type:
tableDefault value:
Description: List of items that will be kept in players inventory when Stash.KeepItemsState is true.
Jail
Jail.FetchClosestPlayer
Type:
floatDefault value:
10.0Description: This is the distance for fetching closest player around player ./jailcp - Add Sentence
Cigar Production
CigarProduction.RewardCooldown
Type:
numberDefault value:
5Description: This is the reward cooldown for minigame (default in minutes)
CigarProduction.RewardMin
Type:
numberDefault value:
1Description: This is the reward amount for minigame (min)
CigarProduction.RewardMax
Type:
numberDefault value:
10Description: This is the reward amount for minigame (max)
CigarProduction.RewardMax
Type:
stringDefault value:
cigarreteDescription: This is the reward item for minigame when finished
Minigame settings
Type:
tableDefault value:
Description: This is list inventory and their image paths to load images for our UI (canteen, trade with inmates..)
NPC Settings
EnableSpawnNPCInsidePrison
Type:
booleanDefault value:
falseDescription: This is used for enabling spawn NPC inside the prison
Teleport
Last updated
Was this helpful?