👨⚖️Court System
Licenses & Legal Roles
Take various types of exams: Bar, Mechanic, Attorney, Judge (or additional exams configured via Config.Exams).
Apply for legal roles (Attorney or Judge).
Request a physical copy of an existing license (adds the license item to inventory if approved).
Manage player licenses: Approve or revoke specific licenses (e.g., driving, weapons) for nearby citizens.
Exam System:
Menu with configurable questions for each exam type.
Automatic score calculation.
Licenses are granted only if the player passes the exam.
Different license items (bar_license, mechanic_license, attorney_license, judge_license) are handled dynamically.
Optional email system to notify players of approval or rejection. (lb-phone)
Optional judge elections: View candidates, vote for judges, and track total votes (enabled via Config.VoteJudgeCandidates).
Appointments Management
Manage consultation and court hearing appointments.
Appointment statuses: Pending, Approved, Rejected.
Status can be changed via menu:
Requires attorney name and new time if approved.
Full overview of all appointments.
Schedule new appointments for services like consultation, license requests, or name changes.
View personal attorney appointments in legal status overview, including specialization, hourly rate, date, and status.
Exam Certification
Manage all exam results:
View all pending exams by type.
Approve or deny exams directly from the menu.
Enter notes and set license expiration dates.
Automatically determines exam type to grant the correct license item.
View exam scores, player names, and current status (e.g., pending, approved, denied) with color-coded icons.
Criminal Record System
Add and view player criminal records.
Point system associated with each record.
View full criminal history via menu.
Add new records directly for nearby players or via archives, including reason and points.
Integration with personal legal status: Players can view their own criminal records.
Court Cases
Create and manage court cases:
Detailed fields: case name, defendant, defense attorney, settlement fee, public/private status, date/time.
View all cases in a structured menu.
Evidence management: Add new evidence (image, video, document) with URL and description; view evidence lists; delete evidence; copy evidence URLs to clipboard.
Update case verdicts directly from the menu.
View public cases only (filtered by status and date) from reception.
Sign up as a witness or observer for public cases, with type selection (witness/observer) and optional notes.
Fines & Penalties
Issue fines to players:
Define reason and amount.
View all issued fines.
Optional forced payment (Config.ForcePayment).
Payment status displayed in the menu.
Issue fines to nearby players directly.
Players can view and pay their own unpaid fines from personal legal status menu.
Force payment option for unpaid fines in courthouse view.
Tax System (Optional)
Manage taxes for:
Items, vehicles, properties, or additional categories (Config.TaxSettings.available).
Configurable minimum and maximum tax rates (min_tax / max_tax).
Add or edit tax categories directly from the menu.
Automatic validation of tax rates within allowed ranges.
View tax details: Rate, last updated date, and description.
Delete tax categories with confirmation.
Jail System (Optional)
Allows enabling or disabling the jail feature directly through the configuration file.
Compatible with different prison scripts such as default, xt-prison, rcore_prison, or pickle_prisons, giving flexibility for server preferences.
Automatically manages jail entry and release depending on sentence duration.
Integrates with the court and criminal record systems for consistent punishment handling.
Jail nearby players with configurable max duration (Config.JailSystem.max_jail_time) and reason.
Business Licenses Management
Create new business licenses: Define name, owner name, owner identifier, and tax rate (0-100%).
Approve or revoke existing business licenses.
Edit business details: Name, owner, tax rate.
Delete businesses permanently with confirmation.
View business overviews: Owner, status (approved/not approved), tax rate, total tax collected, and business income.
Color-coded status icons for quick reference.
Citizen Management
Manage nearby players: View list with names, IDs, and distances.
Optional name change: Update player name with badwords filter (Config.NameChange.badwords).
Issue fines, add criminal records (with points), or jail players directly.
Toggle licenses: Approve or revoke individual licenses with color-coded status.
Personal Legal Status
Players can view their own legal information: Fines (unpaid/paid, with payment option), court cases (status and date), criminal records (reason and points), attorney appointments (details and status), and licenses (type and status).
Attorney Requests
Request a list of available attorneys online.
View attorney details: Name, specialization, hourly rate.
Schedule appointments with selected attorneys, including date and reason/notes.
General Features
All menus use ox_lib for context menus, inputs, and notifications.
Framework detection: Auto-detects QBCore, QBX, or ESX.
Notifications for all actions (success, error, info) using configurable titles and types.
Integration with nearby players for citizen management.
Configurable options like name changes, jail system, tax system, and judge voting.
Last updated