🔧General Configuration

This guide covers the essential configuration settings located at the top of the config.lua file. These options control how the prison system behaves—from framework integration to officer requirements and sentence reduction intervals.


🌐 Language

Config.Lan = 'en'

Sets the language used in notifications and menus. Available options:

  • 'en' – English

  • 'es' – Spanish

  • 'de' – German

  • 'fr' – French


🔔 Notifications

Config.Notifications = "ox_lib"

Controls which system is used for showing notifications to players. Options:

  • "ox_lib" – Uses ox_lib notification system

  • "qb-core" – Uses QBCore's native notification system


🎒 Inventory System

Sets which inventory system is being used. Supported options:

  • "ox_inventory"

  • "qb-inventory"

  • "ps-inventory"

  • "qs-inventory"

Make sure this matches your server’s inventory script.


🎯 Target System

Specifies which target system is used for ped/object interactions. Options:

  • "ox_target"

  • "qb-target"


⏳ Progress Bar

Sets which progress bar system is used. Options:

  • "ox_lib"

  • "qb-core"


🚨 Dispatch System

Used to determine what dispatch system (if any) alerts police when needed. Options:

  • "ps-dispatch"

  • "cd_dispatch"

  • "qs-dispatch"

  • "tk_dispatch"

  • "rcore_dispatch"

  • "none" – disables dispatch integration


🖼️ Inventory Image Path

Specifies the path where your item icons are stored. Update this if you're using a different inventory system like qb or qs.


🧾 Webhooks

  • Set WebHooks to true to enable Discord logging.

  • Provide a valid WebHookURL to receive jail, escape, or item confiscation logs.


💰 Fine System

If enabled, fines will be automatically issued when jailing a player (requires fine amount to be passed in jail event).


👮 Officer Restrictions

These three settings control if a nearby officer is required for key actions:


👮 Allowed Jobs

List of job names allowed to handle jail-related actions (jailing, editing, releasing).


⏱️ Sentence Timing

  • PrisonTickInterval = how often sentence time is reduced (in seconds)

  • SentenceReduction = how many minutes are subtracted per tick

Last updated