General questions that apply to every script. For a specific script, open its Troubleshooting page.
Licensing
How are the scripts licensed?
Cuxial scripts are delivered through the Cfx.re asset escrow system. The purchase is linked to the Cfx.re account that made it, and the script only runs on a server whose license key belongs to that same account.
You do not enter any key in the script. The check is done by FiveM when the resource starts.
Which files can I edit?
The files left open by the escrow system:
| File | What it holds |
|---|---|
shared/config.lua | The script's options. |
data/*.lua | Editable data, in scripts that have this folder. |
locales/*.json | Interface and notification texts. |
install/ | SQL and item definitions, in scripts that have this folder. |
The rest of the code is protected and cannot be read or modified.
Cuxial Bridge is the exception: it is free and open source, and you download it from GitHub.
The console says "You lack the required entitlement"
Cause. The server's license key does not belong to the Cfx.re account that owns the script, or the purchase has not reached that account yet.
Fix. Check that sv_licenseKey in your server configuration was generated by the account that bought the script, then restart the server. If the purchase was made minutes ago, wait a little and restart again.
Can I move the script to another server?
Yes, as long as the other server uses a license key from the same Cfx.re account.
Installation
The server says "Could not find dependency"
Cause. The resource named in the message is not installed, has a different folder name, or does not start before the script.
Fix. Install it, keep its original folder name and add its ensure line above the script. The full list is in Requirements.
If the dependency named is /onesync, the missing piece is OneSync: enable it in txAdmin or with set onesync on.
In what order do I start everything?
oxmysql and ox_lib, then your framework, inventory and target, then cuxial_bridge, then the Cuxial scripts.
ensure oxmysql
ensure ox_lib
ensure qbx_core
ensure ox_inventory
ensure ox_target
ensure cuxial_bridge
ensure cuxial_chatReplace the framework, inventory and target lines with the ones your server uses. The order matters: Cuxial Bridge detects them when each script loads and cannot see what starts later.
Can I rename a script's folder?
Do not rename cuxial_bridge: every script loads it by that exact name. Keep the original folder name of the scripts too, since other resources refer to them by name.
Does it work with my framework?
Cuxial Bridge supports QBox, QBCore and ESX, with ox_inventory or qb-inventory, and sleepless_interact, ox_target or qb-target.
Some scripts require a specific framework. The script-by-script table is in Requirements.
How the detection works is in Cuxial Bridge.
Interface
The interface does not appear
Go through these in order:
- The script is not running. Look for errors when it starts in the server console. A missing dependency or a wrong start order stops it before the interface loads.
- The interface files are missing. The interface ships already built inside the script's
webfolder. If that folder was deleted or the upload was incomplete, copy the script again from the original download. - There is an error in the F8 console. Open it right after the interface should have appeared and read the last lines.
- Only one player is affected, and the cursor shows but the interface does not. Their Windows clock is probably wrong. See Common errors.
How do I change the language?
The scripts use the language set for ox_lib:
setr ox:locale "en"A file with that name must exist in the script's locales folder. The scripts ship with en.json and es.json.
How do I change a text?
Edit the text in locales/<language>.json and restart the script. Change only the text on the right of each line, never the key on the left.
The file must remain valid JSON. A missing comma or quote leaves the script without texts.
Updates
Will I lose my configuration when I update?
Not if you follow Updating a script. Your options, data and texts live in files that are yours; the guide explains how to carry them to the new version.
