Requirements
What your FiveM server needs to run Patrolink: OneSync, ox_lib, ox_inventory, oxmysql and pma-voice. Tested on Qbox, with a bridge for QBCore and ESX.
Dependencies
Patrolink won't start if any of these is missing. All of them are free.
| Resource | Used for |
|---|---|
| OneSync | Required on the server (/onesync in the manifest). Turn it on with set onesync on or in txAdmin's settings. |
ox_lib | Menus, notifications, commands and the decryptor minigame. |
ox_inventory | Radio items and their data (tuning, serial number, alias). |
oxmysql | Stores serial numbers, locks and private channels. |
pma-voice | Radio audio. Stock 7.x works. |
Framework
Detected automatically (Config.Framework = 'auto'):
| Framework | Resource it looks for |
|---|---|
| Qbox | qbx_core |
| QBCore | qb-core |
| ESX | es_extended |
Note
Tested on Qbox; it includes a bridge for QBCore and ESX, which hasn't been tested on a live server yet.
Your framework must start before eleven_radio in server.cfg: Patrolink only detects a core that's already running. If detection fails, set the framework by hand in Config.Framework (config/config.lua). If your core uses a different resource name, open a ticket on our Discord.
Note
ESX has no built-in on-duty flag. Patrolink treats any player whose job.onDuty isn't false as on duty. If your server tracks duty another way, open a ticket on our Discord.
If you already run qbx_radio
Patrolink takes its place: it declares provide 'qbx_radio', so scripts that call exports.qbx_radio:* or listen to qbx_radio:client:* end up talking to Patrolink.
- Remove qbx_radio from the server before starting Patrolink. Never run both.
- If you really need to keep qbx_radio, delete the
provide 'qbx_radio'line fromfxmanifest.lua.
The step-by-step guide is in Replace qbx_radio.
Free frequency range
Players tune from 1 to 500 (Config.Dial.maxFrequency). If other scripts of yours put players on pma-voice channels (job radios, phone calls…), have them use channels above that range, or the server watchdog will kick them off. There's another option in Integration.