LogoLogo
SupportServer Hosting
  • Sonoran CAD
  • 📱Download The App
    • Steam Browser - Workaround
    • Web Browser - Clear Cache
    • Desktop App - Clear Cache
    • GTA RP Tablet - Clear Cache
    • Steam Browser - Clear Cache
  • Why Choose Sonoran CAD?
    • 🏆Why Choose Sonoran CAD?
  • Other Products
    • 🖥️FiveM Hosting
    • 📝Sonoran CMS
    • 📡Sonoran Radio
  • Tutorials
    • Getting Started
      • Registering Your Account
      • Registering Your Community
      • Inviting Users to Your CAD
      • Granting Account Permissions
      • View Your Limits
      • Community ID and API Keys
      • Troubleshooting
    • Customization
      • Custom Domain & Login Page
      • Customizing Your Layout
      • Community Branding and Settings
      • Creating Custom Record and Report Types
      • Sharing Custom Records
      • Custom Search Types
      • Geographical Settings
      • Penal Codes
      • 10-Codes
      • Addresses and Street Names
      • Unit Status Codes
      • Tone Board
      • Custom Audio Notifications
      • Custom Emails
      • Quick Links
      • Custom Page Colors
      • User Account Restrictions
      • Configuring Multiple Servers
      • Advanced Query Strings
    • Dispatching
      • Creating a Call
      • Self Dispatch
      • Timers
      • Command Line Interface (CLI)
    • Records Management
      • Record Lookups
      • Adding a Record
      • PDF Records
      • Scene Diagram Builder
    • Administration
      • System Logs
      • Remove User Account
      • Deleting or Transferring your CAD
    • Other Features
      • Configurable Hotkeys
      • Voice Commands
      • Volume and Language
  • Integration Capabilities
    • 🗃️Paid Integration Resources
      • Mobile Command Center
      • ATM Robbery
      • In-Vehicle Radar
      • Evidence Camera
      • Power Grid
      • Speed Cameras
      • Shot Spotter
    • 🛠️Integrated Vendors
    • 📺Twitch Bodycam, Bot, & Lighting Integration
    • Database Sync and Merge
      • Database Sync Credentials
      • QB Core Mapping Tutorial
      • Troubleshooting
    • Discord Bot Integration
    • Discord Rich Presence
    • Discord Webhooks
    • TeamSpeak 3 Integration
    • Stream Deck Integration
    • 🎮FiveM
      • FiveM Installation
        • Submodule Configuration
          • Submodule Troubleshooting
          • Submodule Configuration Updates
        • FiveM Submodules
          • Body Camera
          • Call Commands
          • Check API ID
          • Civilian Integration
          • Dispatch Notify
          • Emergency Response Simulator (ERS)
          • Framework Support (ESX/QBCore) and Auto Fines
          • FivePD
          • ForceReg
          • Kick
          • Locations
          • Live Map
          • Lookups
          • Postals
          • Smart Signs
          • Sonoran Radio (sonrad)
          • Station Alert
          • Tablet & Mini-CAD
          • TeamSpeak 3
          • Traffic Stop
          • Unit Status
          • VehReg
          • WraithV2
      • FiveM Development Documentation
        • Client Functions
        • Shared Functions
        • Server Functions
        • Server Events
        • HTTP Request Handling
      • Error Codes
    • 🎮Roblox ER:LC
  • Developer API Documentation
    • 📖API Integration
      • Getting Started
        • Retrieving Your Credentials
        • Integration API ID
        • Account Secret ID
      • Push Events
        • Event Restrictions
        • Record Events
          • Record Added
          • Record Edited
          • Record Removed
        • Unit Events
          • Unit Panic
          • Unit Login
          • Unit Logoff
          • Unit Status Update
          • Unit Group Name Change
          • Unit Group Add
          • Unit Group Remove
        • Dispatch Events
          • New Dispatch
          • Modified Dispatch
          • Closed Dispatch
          • Dispatch Note
          • Attach Unit
          • Detach Unit
          • Toggle Bodycam
        • Event 911
        • Remove 911
        • Sign Updated
        • Tone Played
        • Civilian
          • Character Selected
        • ERS
          • New Callout
        • Station Alert
          • New Station Alert
      • API Endpoints
        • API Restrictions
        • Emergency
          • Identifiers
            • Get Identifiers
            • Modify Identifier
            • Set Identifier
            • Unit Panic
            • Kick Unit
            • Unit Status
            • Get Active Units
            • Update Unit Location
          • Dispatch and Emergency Calls
            • Get Calls
            • New Dispatch
            • Attach Unit
            • Detach Unit
            • Update Call Postal
            • Add Call Note
            • Update Call Primary
            • Close Dispatch
            • New 911 Call
            • Remove 911
          • Custom Blips
            • Get Map Blips
            • Add Blip
            • Modify Blip
            • Remove Blip
          • Street Signs
            • Set Street Sign Config
            • Update Street Sign
          • ERS
            • Set Available Callouts
          • Station Alert
            • Set Stations
        • Civilian
          • Set Character
          • Get Characters
          • New Character
          • Edit Character
          • Remove Character
          • DB Sync: Get Character Links
          • DB Sync: Link Character
        • General
          • Get Servers
          • Set Servers
          • Get Version
          • Set Penal Codes
          • Set API IDs
          • Custom Records
            • API Options for Adding and Modifying Records
            • Get Record Templates
            • New Record
            • Edit Record
            • Remove Record
          • Lookup By Value
          • Lookup Name or Plate
          • Get Account
          • Get Accounts
          • Check API ID
          • Apply Permission Key
          • Modify Account Permissions
          • Kick or Ban User
          • Verify Secret
          • Auth Street Signs
          • Set Postal Config
          • Set Clock Time
          • Send Photo
          • Leave Community
          • Join Community
        • Local Endpoints
          • Smart Lighting
        • Internal
          • FiveM Download
      • API Examples
        • Emergency
          • LUA Examples
            • Dispatch and Emergency Calls
              • New 911 Call
              • Remove 911
              • Add Call Note
              • Set Call Postal
            • Custom Blips
              • Add Blip
              • Add Blips
              • Add Temp Blip
              • Get Map Blips
              • Remove Blip
              • Remove Blip With Subtype
            • General
              • Lookup Name or Plate
          • JavaScript Examples
            • Dispatch and Emergency Calls
              • New 911 Call
              • Remove 911
              • Add Call Note
              • Set Call Postal
            • Custom Blips
              • Add Blip
              • Add Blips
              • Add Temp Blip
              • Get Map Blips
              • Remove Blip
              • Remove Blip With Subtype
            • General
              • Lookup Name or Plate
      • Development Branch
    • 💵Developer Bounties
    • 🌎Translation Support
  • Pricing
    • Pricing FAQ
      • Military and First Responder Discount
      • Expert Installation
      • Accessing the Payment Center
      • Create and Manage a Subscription
      • Request Discord Role
    • View and Compare Plans
  • Roadmap
    • 📋Changelog
  • Other
    • AI QA
    • Contact Us
    • Policy
      • Rocket CAD Closure
      • Terms of Service
      • Privacy Policy
      • Refund and Purchase Policy
      • Discord Bot
    • Archive
      • Fire Siren
Powered by GitBook
On this page
  • Showcase Video
  • Installation Video
  • Installation Guide
  • 1. Download and Install the Framework
  • 2. Download the Plugin and Dependencies
  • 3. Install the Plugin and all Dependencies
  • 4. Configuration
  • 5. Custom Record Handling
  • 6. Set Your API ID
  • Usage
  • Sonoran wk_wars2x
  • Additional Features
  • Realistic Plate Scanning
  • Troubleshooting
  • AI Cars are Spamming the Reader
  • Vehicles Aren't Being Flagged
  • Error: attempt to index a nil value (local 'vehicle')

Was this helpful?

Edit on GitHub
  1. Roadmap
  2. v2.X.X - Legacy
  3. Available Plugins

WraithV2

Implements the Wraith ARS 2X plate reader for automated plate reading.

Last updated 5 months ago

Was this helpful?

This plugin utilizes API endpoints that require the Plus version of SonoranCAD or higher. For more information, view our page.

Looking for VPS, web, or dedicated hosting? Check out our official !

This plugin is for sending plate reads to other plugins.

Showcase Video

View our !

Installation Video

Click to view our .

Be sure you have already installed our !

Installation Guide

1. Download and Install the Framework

If you haven't already, be sure to install and configure the first.

2. Download the Plugin and Dependencies

  1. Clickto download the WraithV2 plugin .zip file.

  2. Download and install the plugin.

  3. Ensure the third-party addon is installed.

3. Install the Plugin and all Dependencies

4. Configuration

In the config_wraithv2.luafile, set isPluginEnabled in the to true.

Config Option

Description

useExpires

use vehicle registration expirations, or not

useMiddleInitial

use middle initials?

alertNoRegistration

alert if no registration was found on scan?

statusUid

Custom record field UID containing the status

expiresUid

Custom record field UID containing the expiration date

flagOnStatuses

List of statuses to flag/alert on

vehTypeFilter

List of Classes that will NOT get ran through CAD

5. Custom Record Handling

If you wish to have the plugin alert when the vehicle is not registered, is marked as stolen, etc. you will need to ensure you have set the custom record field's UID in your config.

Find your custom record field's UID

In the CAD navigate to Admin > Customization > Custom Records > select your custom Vehicle Registration record.

The very last column of the field containing your status and expiration dates will have the Field Mapping ID.

Set the UID in your Config

By default, the statusUid is status and expiresUid is expiration for the default record. If you have customized these, you will need to update the UID in your config.

Set Statuses to be Flagged

The flagOnStatuses array contains a list of values that will result in a flag being displayed on the radar popup if they're found in the corresponding statusUid field.

Ex: flagOnStatuses = {"STOLEN", "EXPIRED", "PENDING", "SUSPENDED"}

6. Set Your API ID

Usage

Sonoran wk_wars2x

Additional Features

  • Added the ability to blacklist certain vehicle classes via the config.lua, these blacklisted vehicles will show on the plate reader as the CONFIG.noPlateValue value (default: "NO PLATE").

  • Added the feature CONFIG.realisticPlateScanning. This feature is disabled by default due to certain vehicles having incorrect metadata causing this feature to display CONFIG.noPlateValue falsely. Behavior when enabled: when you are traveling toward/away from a vehicle that does not have a front/back plate the plate reader will not be able to scan it and will display the CONFIG.noPlateValue value.

Realistic Plate Scanning

Set CONFIG.realisticPlateScanning to true to enable only scanning vehicles with the ALPR when they have a plate.

Note: Some vehicles may show a plate due to missing vehicle metadata or being able to remove the plate with extras.

Troubleshooting

AI Cars are Spamming the Reader

The framework ships with the wk_wars2x plate reader included. This will have the config.use_sonorancad set to true. When enabled, the plate reader will not run a lookup on any AI vehicle.

Vehicles Aren't Being Flagged

Status

Keep in mind that AI vehicles won't display or be ran unless there's a vehicle registration record added to the CAD with that plate.

Ensure that the flagOnStatuses array has the exact string/text values that match the options in your custom record template.

BOLO and Warrant

Ensure that your custom BOLO and Warrant records have a field with the type set to status. Otherwise, there's no way to determine if the BOLO/Warrant is active, closed, etc. The plate reader will warn of any active BOLO or Warrant records with the vehicle plate attached and the status type field set to active/open.

Error: attempt to index a nil value (local 'vehicle')

Some servers will see this error in their server console:

sv_wraithv2.lua:112 - attempt to index a nil value (local 'vehicle')

To fix this, navigate to your [sonorancad]/wk_wars2x folder, and rename config.dist.lua to just config.lua

Follow the for the WraithV2 plugin and the lookups plugins.

Use of this plugin requires the Sonoran version of radar and plate reader to function. This resource is bundled with the latest SonoranCAD release as wk_wars2x.

You also need , a third party resource that is not bundled by default.

In order to have locked plate results sent back to your CAD, don't forget to set your account .

For more information on using the in-game UI, please view the Sonoran version of the release information. Results are sent directly to your CAD when a license plate is locked.

These features are not found in the original wk_wars2x resource, and only come packaged with our version found .

Ensure that you've correctly followed and the statusUid and expirationUid fields have been set correctly, both in the CAD record template and the plugin config.

The config not being renamed is the most common cause of this error, however, if for some reason that doesn't fix it, feel free to open a with us.

pricing
server hosting
WraithV2 showcase video
WraithV2 plate reader and lookup installation video
plugin framework
plugin framework
HERE
lookups
pNotify
standard plugin installation guide
Wraith ARS 2X
pNotify
API ID
Wraith ARS 2X
here
support ticket
step 5
Custom Records - Field UID
Wraith ARS 2X Controls
Sonoran wk_wars2x - Additional Config Options
Wraith - Use Sonoran CAD Config Option