[PAID] [Standalone | QBCore | ESX] CaseFile — Persistent Case Management & Testimony System

Direct link to CaseFile

[RELEASE] CaseFile — Persistent Case Management & Testimony System | Standalone / QBCore / ESX


Build real case files. Charge suspects. Record verdicts. Nothing disappears on restart.

CaseFile gives your detectives, lawyers, judges, and law enforcement a full case management panel built for serious roleplay. Every case, witness, statement, charge, and verdict is stored permanently in your database — no spreadsheets, no Discord threads, no lost evidence.


:clipboard: Features

Case Management

  • Auto-generated case numbers (CF-2026-0001) with configurable format
  • Case types, location, and full description fields
  • Three statuses: Open, Closed, and Cold
  • Full audit log — every action on every case is tracked

:balance_scale: Charges & Verdicts

  • Assign a primary charge at case creation
  • Add unlimited additional charges at any time
  • Set individual verdicts per charge: Guilty / Innocent / Dismissed
  • Verdict summary shown directly on the case list card
  • Document official ruling and sentence when closing a case

:busts_in_silhouette: Parties

  • Assign Judge, Defendant, and Prosecution to any case
  • Add by nearby player picker or manual name entry

:speaking_head: Witnesses & Testimony

  • Add witnesses from a proximity picker or by name
  • Three statement modes: self-submit, staff-only, or both
  • Full revision history — nothing is silently overwritten
  • Statement history viewer for managers

:file_folder: Exhibits

  • Attach evidence with labels, notes, and source tags
  • External bridge: other resources (MDT, fire systems, etc.) can attach exhibits without coupling


:wrench: Technical Details

Framework Standalone, QBCore, ESX
Database MySQL / MariaDB via oxmysql
Setup Zero — tables auto-create on first start
Permissions Ace permission OR job-based (configurable)
Lua Lua 5.4

:package: Requirements

  • oxmysql (free)
  • MySQL 5.7+ or MariaDB 10.2+

:rocket: Installation

  1. Drop the CaseFile folder into your resources/ directory
  2. Add to server.cfg:
ensure oxmysql
ensure CaseFile
  1. Add ace permission (standalone):
add_ace group.admin casefile.manager allow
  1. Start your server — tables create automatically

:gear: Configuration (config.lua)

Setting Default Description
Config.Framework 'standalone' 'standalone', 'qbcore', or 'esx'
Config.ManagerJobs police / lawyer / judge Jobs that grant manager access
Config.ManagerAce 'casefile.manager' Ace permission for access
Config.StatementMode 'both' 'self', 'staff', or 'both'
Config.CaseTypes see config Customise case categories
Config.CaseNumberFormat 'CF-%Y-%04d' Case number format
Config.MaxOpenCases 0 Open case cap (0 = unlimited)

:speech_balloon: Commands

Command Who Description
/casefile Manager Open full case management panel
/casefile Player View cases you’re listed on as a witness
/mycases All Dedicated player view command
casefile_list Console/RCON List all cases with status

:electric_plug: External Resource Integration

Any resource can attach an exhibit to a case server-side — no dependency required:

exports['CaseFile']:AttachExternalExhibit(caseId, {
    sourceSystem = 'YourResource',
    referenceId  = tostring(evidenceId),
    label        = 'Evidence label here',
    note         = 'Optional note',
    addedBy      = GetPlayerName(source) or 'System',
})
Code is accessible Yes
Subscription-based No
Lines (approximately) ~2,400
Requirements oxmysql (free, cfx.re), MySQL 5.7+ or MariaDB 10.2+
Support Yes — via Tebex ticket

1 Like

I don’t agree with this being a PAID resource when it’s clear as day that it’s all just been generated by Claude

2 Likes

Everything here is AI-generated: the topic, banner image, script, and pretty much everything else. I think it’s time for Cfx to add a “Made with AI” tag.

At least use AI properly. I look at your UI and see emojis everywhere, misaligned text, and crooked buttons.

Edit: What you mean with “Yes — via Tebex ticket” another AI :rofl:

3 Likes

Made with AI tag honestly would be a great idea, and let it be applied by non posters too. (meaning people who didnt create the release)

Yeah agreed. I’m not against using AI for developing resources but charging $30 when it’s so obviously done with Claude seems wrong. A tag needs to be added or at least the Moderators that approve the releases need to add it themselves when reviewing posts.

Nobody at Cfx seems to want to do anything about this. At this rate, people could probably start posting 18+ content here and it would still get approved. Meanwhile, if I accidentally forget to include one image when five are expected, my topic gets rejected.

Another interesting thing about this script/creator is how Tebex even approved a store like this. There’s not a single Discord link for support, their homepage only talks about the one script they have, and their Privacy Policy still says “Barry Good Games.” What’s going on here?

2 Likes

I agree that Cfx should do something about this! At least force an AI tag and that people should mention that is was made by AI…