Looking for FiveM hosting? View our current hosting offer.
Activation Video
Click to view our locations and postal install video.Activation Guide
Download and Install the Core
If you haven’t already, be sure to install and configure the SonoranCAD Core first.Activate the Submodule and all Dependencies
Open Admin > Integrations > FiveM, select the server, then open Postals. Enable the plugin with the header toggle and review the settings below. Changes save automatically. When saved, runexec @sonorancad/sonorancad.cfg in your server console to apply them.
See Submodule Configuration for requirements, reset, and migration details.
Configure Postal Script and Exports
Choose Mode below, then follow the matching resource, file, or event instructions in Usage.Configuration
Postal source
Postal source
Location updates
Location updates
Usage
If the configured postal resource or custom postal data is unavailable at runtime, SonoranCAD will now continue sending regular street names and coordinate-based location updates without a postal prefix. Check the troubleshooting error codes
ERR-LOC-104, ERR-LOC-105, and ERR-LOC-106 if postal data is missing or failing.Using Nearest-Postal
If you’re using the publicly available nearest-postal script, some minor configuration is required.Set the Resource Name
Set Mode to Nearest postal resource. Enter the exact installed resource folder name in Nearest postal resource name, such asnearest-postal. The resource must provide the getPostal export; entering an unrelated HUD name will not work.
Ensure Proper Startup Order
Be sure that you are starting the nearest-postals addon/resource before/above where youensure sonorancad in your server.cfg.
Be sure to restart both the Sonoran CAD resource and the nearest-postal script, or restart your server entirely to apply the changes made.
Custom Postal Codes File
Set Mode to Custom postal file. Place your JSON file insonorancad/submodules/postals and enter its filename, including .json, in Custom postal codes file. The current resource already includes JSON files in this folder in its manifest.
Each entry needs a postal code and numeric map coordinates:
exec @sonorancad/sonorancad.cfg in your server console to apply them.
Custom Postal Events
Set Mode to Resource event and enter the event name in Nearest postal event. Your postal resource must trigger that client-side event with the player’s current postal whenever it changes. For example, if the field ismy_postals:changed:
Troubleshooting
If postal lookup fails, location updates for units will still continue using normal street/location data. Postal-specific failures now surface through the troubleshooting codes below instead of stopping all location updates:ERR-LOC-104: postal resource unavailableERR-LOC-105: configured postal file missing or invalidERR-LOC-106: postal lookup failed at runtime
The configured postals file (postals_file.json) was not found
Confirm the JSON file is insonorancad/submodules/postals, its filename matches Custom postal codes file, and each entry contains code, x, and y. Use the current resource manifest, which includes submodules/postals/*.json, then restart the resource.
