FAQ
Your job is not picked as a DOJ job. Open /dojadmin → Jobs and select it. Job names must match your framework exactly.
Most tools need duty. Click Go on duty on the profile card in the tablet, or clock in at a duty clock. Set Config.RequireDuty = false to allow everything off duty.
That is the DOJ app inside Kartik MDT (Config.Tablet.mdt = 'auto'). Use 'app' to keep the DOJ's own tablet on /doj while still listing the app in the MDT, or false to turn the MDT app off. See The DOJ Tablet.
- Kartik MDT must be 2.4.0 or newer.
Config.MdtResourcemust be the name your MDT runs under.- The player's job must be a department in the MDT, and the player must be DOJ staff.
Config.Tablet.mdtmust not befalse.
Config.Tablet.item is set and the player has no doj_tablet. Give them the item, or set item = false.
Ensure kartik-doj-props before kartik-dojjob and restart the whole server once (a .ytyp is not picked up by a resource restart). For other TV models, line the picture up with /dojtvadjust.
With Kartik MDT, use Config.CaseStore = 'auto' or 'mdt' and start the MDT before kartik-dojjob. With another MDT, use 'standalone' and read the data with the exports.
Jail uses rcore_prison, dynyx_prison, tk_jail, xt-prison, qb-prison or esx_jail, whichever is started. Without one of them the sentence is recorded but nobody is jailed. Defendants sentenced in the courtroom are remanded first: the sentence starts at the prison intake (Sentencing).
The judge's bench needs the sessions permission and the clerk's seat casesView (Config.Courtroom.roles). Check the grade in /dojadmin → Permissions.
Links must be https and on a host in Config.Evidence.allowedHosts. Add your image host there, or empty the list to allow any https host.
Add the two key events to p_vehiclekeys/server.lua and start p_vehiclekeys before this script. Keys are then given as the car_key item in ox_inventory. See Physical Keys (p_vehiclekeys).