Problems you can fix from your server, with their cause and the fix.
The resource does not start
Cause. A dependency is missing, starts after the script, or OneSync is off.
Fix. Enable OneSync and start the dependencies first:
ensure ox_lib
ensure oxmysql
# your framework here
ensure cuxial_bridge
ensure cuxial_cmservicesThe commands do not exist or answer that I have no permission
Cause. The player is not in the ACE group of restricted, or does not hold the bridge permission in admin.permission.
Fix. Add the staff member to the group and give the group the permission, as shown in Commands & permissions. On ESX, set admin.permission to the staff group (for example admin).
The [E] prompt does not show next to the task
Cause. The prompt appears at comserv.interactDistance from the edge of the object and within comserv.taskHeight in height. If object.coords in data/tasks.lua does not match the object in the world, the prompt is measured from an empty spot.
Fix. Aim at the object with /taskcoords, press G and replace the coords and object of that task with the copied values. To show the prompt from further away, raise interactDistance.
Pressing E answers "You are too far from the task"
Cause. The server measures from the task coords, with comserv.taskRadius + 1.5 m. Either coords and object.coords point to different places, or interactDistance / interactMaxReach let the prompt show further away than the server accepts.
Fix. Use the same position in coords and object.coords. If you raised the interaction distance, raise taskRadius too.
The panel shows "Waiting for a task…" and no task appears
Cause. Every category in zones of data/tasks.lua is empty, or the file has a syntax error.
Fix. Add at least one task to one category. Check the server console for errors when the resource starts.
The player is sent back to the zone entry while working
Cause. The task, or the path to it, is outside the polygon in zone.points. The client and the server check send back anyone outside it.
Fix. Set comserv.zoneDebug = true, restart and walk the walls. Move the corners so every task and zone.entry are inside, then set it back to false.
A jailed player keeps being sent back to the cell
Cause. The player is further than jail.distance from their cell, for example because the cells in data/jail.lua are far from the area they can walk.
Fix. Check the cell positions and raise jail.distance if the jail area is large.
The Discord webhook does not send anything
Cause. The convar is missing or misspelled, it was added after the resource started, or logs.enabled is false.
Fix. Add the convar to server.cfg with set and the name in logs.convar, then restart cuxial_cmservices:
set cuxial_cmservices_webhook "https://your-webhook-url"A table named cuxial_cmservices_legacy_… appeared in the database
Cause. The resource found a table from version 1.x and migrated it. The old table is kept as a copy with that name.
Fix. Nothing to fix. Check your sanctions in /sanciones, then delete the legacy table if you no longer need it.
My old sanctions are gone after updating
Cause. The old records were in a table with another name, so the migration did not find them.
Fix. Stop the resource, rename your old table to cuxial_cmservices (renaming the new empty one out of the way first), and start the resource again. It is migrated on start.
Sanctions are not announced in the chat
Cause. Cuxial Chat is not running, chat.enabled is false, or chat.resource does not match the name of the chat folder.
Fix. Start cuxial_chat before cuxial_cmservices and check the chat block of the config. Notifications to staff and to the player do not depend on the chat.
A task shows its key, such as zone_new, instead of a name
Cause. The name or progress.label keys of that task are not in the locale files.
Fix. Add them to locales/en.json and locales/es.json and restart the resource.
/sanciones does nothing, or the on-screen panels never show
Cause. The interface files are missing or incomplete.
Fix. Copy the cuxial_cmservices folder again from the package, whole, and restart the resource.
