๐Ÿ”ง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

Config.Inventory = "ox_inventory"

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

Config.Target = "ox_target"

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

  • "ox_target"

  • "qb-target"


โณ Progress Bar

Config.ProgressBar = "ox_lib"

Sets which progress bar system is used. Options:

  • "ox_lib"

  • "qb-core"


๐Ÿšจ Dispatch System

Config.Dispatch = "none"

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

Config.InventoryImagePath = "ox_inventory/web/images"

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


๐Ÿงพ Webhooks

Config.WebHooks = false
Config.WebHookURL = "PLACE_YOUR_WEBHOOK_HERE"
  • Set WebHooks to true to enable Discord logging.

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


๐Ÿ’ฐ Fine System

Config.FineSystem = true

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:

Config.RequireOfficerNearbyToJail = true
Config.RequireOfficerNearbyToRelease = true
Config.RequireOfficerNearbyToEditSentence = true

๐Ÿ‘ฎ Allowed Jobs

Config.RequiredJobs = { "police" }

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


โฑ๏ธ Sentence Timing

Config.PrisonTickInterval = 60
Config.SentenceReduction = 1
  • PrisonTickInterval = how often sentence time is reduced (in seconds)

  • SentenceReduction = how many minutes are subtracted per tick

Last updated