Lookups
Implements name and plate lookups via the CAD.
Last updated
Was this helpful?
Implements name and plate lookups via the CAD.
Last updated
Was this helpful?
This submodule utilizes API endpoints that require the plus version of Sonoran CAD or higher. For more information, view our page.
This submodule is currently only used as a dependency for other submodules , and does not have any in-game commands for general player usage.
Looking for VPS, web, or dedicated hosting? Check out our official !
This submodule Implements name and plate lookups via the CAD.
Click to view our .
If you haven't already, be sure to install and configure the first.
Follow the for the required submodules.
Don't forget to set your account to properly link your in-game user to the CAD.
Do not set the cache timer too low or you may run into rate limiting.
Option
Description
Default
maxCacheTime
How long to cache a looked-up plate.
120 seconds
stalePurgeTimer
How long between "stale" plate cleanups (keep unscanned plates)
600 seconds (10 minutes)
Function
Arguments
Description
Returns
cadNameLookup
FirstName, MiddleInitial, LastName, callback
Looks up a character based on the arguments specified.
Objects containing character data and all associated objects.
cadPlateLookup
plate, basicFlag, callback, autoLookup
Looks up a vehicle based on specified plate number.
Objects containing vehicle data and all associated objects.
This plugin also adds the commands namefind
and platefind
which takes the above arguments and prints the returned JSON object to the console.
NOTE: For return object definitions, see the .