DMV System

LumaNode Studios DMV System is a DMV (Department of Motor Vehicles) script tailored for Qbox framework. It provides a complete, dynamic system for managing driver licenses, vehicle registrations, and physical ID issuance with full integration into ox_inventory, ox_target, and qbx_core.

License Management System

  • Types of Licenses:

    • Supports multiple license types (e.g., driver, truck_ variations), configured via the Settings.Licenses table.
  • Purchase Logic:

    • Requires full driver license before purchasing provisional or truck-related licenses.
  • Provisional Phase

    • Users can specify whether each license starts with a Provisional Phase.
    • Provisional licensing with timed expiration and upgrades when conditions are met.
  • Point System:

    • Licenses have point values; licenses with 0 points become disqualified.
    • Admins or systems can set demerit points via command (/setdemerits) or programmatically.
  • Upgrade Flow:

    • Provisional licenses can be upgraded to full licenses after expiration and if the driver has remaining points.
  • Renewal System:

    • Licenses can be renewed if expired and not provisional or disqualified.
  • Physical License Issuance:

    • Generates a license card item (ox_inventory) with metadata such as name, expiry date, and license type.
      • Prevents duplicate issuance if the player already owns one.

Vehicle Registration System

  • Register and Renew:

    • Players can register their vehicles for a set period and renew them upon expiry.
  • Ownership Validation:

    • Ensures the vehicle belongs to the citizen ID requesting registration.
  • Notifications:

    • Real-time alerts for upcoming (within 10 minutes) or expired vehicle registrations and licenses.
  • Police Integration:

    • Law enforcement officers can check vehicle registration status via ox_target vehicle interaction.

Links

Code is accessible Config Only
Subscription-based No
Lines (approximately) 600+
Requirements qbx_core, ox_inventory, ox_lib, ox_target, oxmysql
Support Yes
1 Like