The most frequent problems after installing Cuxial Admin, with the cause and the fix for each one. Console messages are quoted as the resource prints them.
The resource does not start
Cause. A dependency is missing or starts later than the panel. Cuxial Admin needs a framework (QBox, QBCore or ESX), ox_lib, oxmysql, an inventory and cuxial_bridge 2.19.1 or later.
Fix. Start the dependencies first:
ensure oxmysql
ensure ox_lib
# your framework and inventory
ensure cuxial_bridge
ensure cuxial_adminThe exact lines for each framework are in Installation.
Revive, heal, glovebox or trunk show an error in the server console
Cause. Cuxial Bridge is older than 2.19.1. The panel calls functions added in that version.
Fix. Update Cuxial Bridge to 2.19.1 or later and restart the server.
On ESX the vehicle list for giving a vehicle is empty
Cause. On ESX the catalogue is read from the vehicles table of esx_vehicleshop, and that table does not exist.
Fix. Install esx_vehicleshop with its SQL, then restart the server.
On ESX hunger and thirst always read 0 in the profile
Cause. esx_status is not running.
Fix. Start esx_status before Cuxial Bridge.
On ESX giving a gang fails
Cause. The gang or the grade is not in esx.gangs in cuxial_bridge/shared/config.lua. ESX has no gangs of its own.
Fix. Add the gang and its grades to that list. See Gangs on ESX.
The console shows "CONSULTA FALLIDA" when the resource starts
Cause. A database query failed. Usually the database user lacks permission to create or alter tables, or the MariaDB/MySQL version is not supported.
Fix. Read the lines under the message: they show the query, its parameters and the reason given by the database. Fix the permission and restart the resource, or run install/cuxial_admin.sql by hand.
/admin answers that I am not part of the staff
Cause. One of these:
- There is no row for you in
cuxial_admin_staff. - The row uses
scope = 'discord'and you do not have Discord linked to FiveM. - The row was added while the server was running and has not been loaded yet.
- The row points to a rank that does not exist. The console then shows a warning ending in "apuntan a un rango o ámbito que no existe".
- You have not loaded a character yet.
Fix. Check the row, link Discord, and type staffreload in the server console. See Installation.
The cursor appears but the panel does not
Cause. The interface is not loading. The folder web/build is missing or incomplete, usually after a partial upload.
Fix. Copy the resource again from the original package and restart the server.
I changed a key in the config but the old one still works
Cause. keybinds only sets the default. Once a player has joined, FiveM remembers their binding.
Fix. Each player changes it in the GTA key settings, under FiveM. New players get the new default.
The interface is in one language and the notifications in another
Cause. There are two settings. The interface follows locale in shared/config.lua. Notifications and key names follow the ox:locale convar.
Fix. Set both to the same language. en and es are included:
setr ox:locale "en"I want the permission names in another language
Cause. Permission names come from the label fields in data/permissions.lua.
Fix. Translate the label fields in data/permissions.lua. Rank names are edited from the panel.
The screen view is not available
Cause. One of these:
cuxial_admin_screen_ownersis empty. The console shows a warning about it when the resource starts.- Your Discord ID is not in that list.
- Your rank lacks
player.screen. - The convar was changed without restarting the resource.
Fix. Add your Discord ID to the convar and restart the resource:
set cuxial_admin_screen_owners "DISCORD_ID_1,DISCORD_ID_2"The screen view works in game but not from the web panel
Cause. Outside the game the video can only arrive through the relay, and the relay is not configured or its values are rejected.
Fix. Set both convars. The address must start with ws:// or wss://, and the key must be exactly 64 lowercase hexadecimal characters:
set sd_phone_relay_url "wss://YOUR_RELAY_HOST/PATH"
set sd_phone_relay_key "YOUR_64_CHARACTER_HEX_KEY"The screen view does not open for a player others are already watching
Cause. screen.maxWatchers staff members are already watching that player from inside the game.
Fix. Wait for one to stop, or raise screen.maxWatchers. Each viewer adds upload load.
The microphone button does nothing during the screen view
Cause. screen.audio is false.
Fix. Set screen.audio = true in shared/config.lua.
The console warns that the remote panel convars are missing
Cause. remote.enabled is true but cuxial_admin_remote_url or cuxial_admin_remote_secret is not set. The remote panel stays off; the in-game panel is not affected.
Fix. If you do not use the web panel, set remote.enabled = false. If you do, add both convars before the resource starts.
A staff member cannot enter the web panel
Cause. Their rank has remote access disabled, or they are not in the staff table. The console says which one. A rank given to a character only works from outside after that character has joined the server once with Discord linked.
Fix. Enable remote access on the rank from the panel, or have the staff member join once with that character.
A rank given to a Discord role is not applied
Cause. Role ranks need the external web panel service, which reports who holds each role.
Fix. Connect the web panel service, or give the rank by Discord account or by character.
I cannot grant, edit or delete a rank
Cause. One of these:
- The rank has a permission you do not hold yourself.
- The person already holds a rank with permissions you do not hold.
- You are trying to remove your own rank.
- You are deleting a rank that someone still has.
Fix. Ask someone with a higher rank, or remove the rank from its members before deleting it.
I edited the ranks in data/permissions.lua and nothing changed
Cause. seed is only used the first time the resource starts, when the ranks table is empty.
Fix. Edit ranks from the panel.
Where do I ban a player?
Cause. The panel issues warnings and kicks. Bans belong to txAdmin.
Fix. Ban from txAdmin. The ban is then listed in the sanctions history.
Taking keys says the key system is not running
Cause. cuxial_garages is not started, or you use another key system and the hook does not know it.
Fix. Start cuxial_garages. With another key system, edit HasKeys and GiveKeys in hooks/client.lua (see Hooks). Without keys, vehicles spawned from the panel still appear, but without keys.
The appearance editor does not open
Cause. cuxial_appearance is not started.
Fix. Start cuxial_appearance.
Community service actions fail
Cause. cuxial_cmservices is not started.
Fix. Start cuxial_cmservices.
There is no zone selector for the weather
Cause. Weather by zones only exists with av_weather. With prim_climatime, or with no weather resource, the weather is the same for the whole map.
Fix. Use av_weather to set the weather by zones.
A report disappeared
Cause. Open reports live in memory. A report is discarded when its player disconnects, returns to character selection, or when the resource restarts. Only closed reports are stored.
Fix. Close a report to keep its transcript. Transcripts are deleted after reportRetentionDays.
A player cannot send more messages in their report
Cause. They reached limits.messagesPerReport, or they are writing faster than limits.messageCooldown.
Fix. Reply to or close the report. Raise the limit in shared/config.lua if it is too low for your server.
Names above players do not show at long distance
Cause. Players beyond the network radius are not loaded on the staff member's client.
Fix. Raise nameplates.cullingRadius and nameplates.range. A larger radius uses more bandwidth for that staff member while names are on.
Giving cash adds nothing to the framework balance
Cause. With ox_inventory, moneyItems = 'auto' gives cash as an item: cash on QBox and QBCore, money on ESX. A table that lists cash does the same.
Fix. Set moneyItems to a table without cash to give it as a balance, or make sure the item exists in your inventory. See Money.
