Kartik Scripts

Complaints

This module provides a complete system for civilian incident reporting and rank-restricted officer internal misconduct investigations.

1. Overview

  • Civilian Incident Reporting (Standalone Document Overlay & Front Desk):
    • Civilians/citizens can file formal complaints against officers or department incidents via /filecomplaint or by interacting with the Police Station Reception Desk.
    • Opens a standalone NUI paper document overlay styled like an official incident sheet.
    • No Police MDT Tablet frame or internal officer tools are exposed to civilians.
  • Internal Misconduct Reporting (Internal Affairs):
    • Active officers can log internal reports against other officers for policy violations or misconduct via /iareport or the MDT Tablet Complaints & IA module.
  • Rank & Permission Restricted Access:
    • complaints_view: Supervisory ranks can view and manage civilian complaints inside the MDT Tablet.
    • complaints_ia: Internal Affairs / High Command ranks (e.g. Captain, Chief) can view and manage both civilian and confidential internal officer-on-officer misconduct reports.
  • Status Tracking:
    • Complaints transition through statuses: Pending ➔ Investigating ➔ Resolved / Dismissed, recording the assigned supervisor/IA officer.

2. Database Schema

Stored in table police_complaints:

ColumnTypeDescription
idINT (AI PK)Unique complaint reference ID
jobVARCHAR(50)Target department job (e.g. police)
typeVARCHAR(20)civilian or officer (IA internal report)
complainant_nameVARCHAR(128)Name of person filing report
complainant_idVARCHAR(64)Citizen ID of complainant
target_officerVARCHAR(128)Accused officer name / callsign
subjectVARCHAR(128)Title/subject of violation
detailsTEXTDetailed incident description / evidence
statusVARCHAR(32)pending, investigating, resolved, dismissed
assigned_iaVARCHAR(128)Supervisor / IA officer handling case
created_atTIMESTAMPSubmission timestamp

3. In-Game Usage & Commands

Filing a Civilian Complaint (Civilians):

  1. Run /filecomplaint in chat or interact with the Police Station Reception Desk.
  2. Fill out the standalone NUI Citizen Incident Report document:
    • Target Officer Name / Badge (Optional)
    • Incident Subject / Title (Required)
    • Detailed Incident Description & Statement (Required)
  3. Click Submit Report. An animated FILED stamp seals the document and notifies online supervisors.

Filing an Internal Officer Report (Officers Only):

  1. Run /iareport or open the MDT Police Tablet ➔ Complaints & IA app.
  2. Fill out the internal report form:
    • Accused Officer Name / Callsign
    • Allegation Subject / Violation Type
    • Detailed Allegation & Evidence Notes

Managing Complaints (Supervisors / IA):

  1. Open the MDT Police Tablet and select Complaints & IA (or run /viewcomplaints).
  2. View active complaint cards filtered strictly by permission:
    • Supervisory officers (complaints_view) see civilian reports.
    • Internal Affairs / High Command ranks (complaints_ia) see all civilian & internal officer reports.
  3. Search and filter by status (Pending, Investigating, Resolved, Dismissed).
  4. Click any report to view full details, assign an IA investigator, or update investigation status.

On this page