Skip to content

Troubleshooting

Common Cuxial Gardener problems, with their cause and fix.

The most frequent problems after installing Cuxial Gardener, with the cause and the fix for each one.

The resource does not start

Cause. A dependency is missing or starts later than the job. Cuxial Gardener needs OneSync, ox_lib, oxmysql, cuxial_bridge, cuxial_jobs, sleepless_interact and cuxial_gardener_assets.

Fix. Enable OneSync and start the dependencies first:

server.cfg
cfg
ensure ox_lib
ensure oxmysql
ensure cuxial_bridge
ensure sleepless_interact
ensure cuxial_jobs
ensure cuxial_gardener_assets
ensure cuxial_gardener
The console shows an error reading a module of cuxial_jobs

Cause. cuxial_jobs is not started, was renamed, or is an incomplete copy. The job loads its shared code from that folder.

Fix. Copy cuxial_jobs again from the package, keep the folder name, and start it before cuxial_gardener.

A red line in the console says the job asks for another version of the library

Cause. The cuxial_jobs folder on the server is older or newer than the one this job was built for. This happens when several Cuxial jobs are installed and one of them overwrote the library.

Fix. Keep the most recent cuxial_jobs of all your packages and update the jobs that ask for an older one.

The NPC or its blip does not appear

Cause. The NPC only exists near its position, and npc.coords may point to a place that does not fit your map. The blip is hidden with npc.blip.enabled = false.

Fix. Check npc.coords and npc.blip in shared/config.lua. If the console warns that the NPC model could not be loaded, set a valid ped in npc.model.

The NPC is there but there is no option to interact

Cause. sleepless_interact is not running, or it started after the job.

Fix. Start sleepless_interact before cuxial_gardener and restart the job.

"You can't do this job"

Cause. The job option of the config lists framework jobs and the player, or one crew member, has none of them.

Fix. Give the player one of those jobs, add theirs to the list, or set job = 'all'.

"Your gardener profile is not ready yet"

Cause. The profile could not be loaded from the database. Either oxmysql has no connection, or the tables could not be created on start.

Fix. Check the oxmysql connection and its errors in the console, then restart cuxial_gardener. The tables cuxial_jobs_players, cuxial_jobs_runs, cuxial_jobs_run_members and cuxial_jobs_audit must exist after the start.

"There are vehicles at the truck spawn"

Cause. There is a vehicle within run.spawnFreeRadius metres of every spawn point of the region.

Fix. Clear the area. If it happens often, add more spawn points to trucks and mowers in data/regions.lua, or move them to a quieter place.

"The vehicles could not be spawned"

Cause. The truck model is not loaded, or the server did not create the vehicle in time. cuxial_gardener_assets is missing, or it was installed without restarting the server.

Fix. Start cuxial_gardener_assets before the job and restart the server. On a loaded server, raise vehicles.spawnTimeoutMs.

The truck is locked or the crew has no keys

Cause. Keys are only given through cuxial_garages. Without that resource, or with vehicles.keys = false, the job hands out no keys.

Fix. Start cuxial_garages before the job and keep vehicles.keys = true. If you use another key system, exempt the plates that start with the vehicles.plate prefix in that system.

The ladder is short and the console warns that it is not in this build

Cause. The tall ladder is a game model added in game build 2944. On an older build the job uses a shorter one.

Fix. Set the game build to 2944 or higher:

server.cfg
cfg
sv_enforceGameBuild 2944
The trucks cannot be delivered

Cause. One of the delivery rules is not met. The message on screen says which one: tasks still pending, the player is not at the wheel of a job truck, a truck is outside deliver.radius, or a truck is destroyed.

Fix. Bring every truck to the delivery point and deliver from the driver seat. If a destroyed second truck should not block the payment, set deliver.requireAll = false. If the main truck is lost, the owner resets the job with /gardreset.

Flowers cannot be planted anywhere

Cause. Flowers go inside the flower area of the region, away from the job truck, and with a gap between them. With plant.allowUnknown = false, only the surfaces in plant.materials are valid.

Fix. Move the truck away, plant inside the marked area and leave room between flowers. Set plant.allowUnknown = true to accept any surface.

The Discord log receives nothing

Cause. The webhook convar is empty, has another name, or was set after the resource started.

Fix. Set it with set above the ensure line, with the name in logs.convar, and restart the job:

server.cfg
cfg
set cuxial_gardener_webhook "https://discord.com/api/webhooks/..."
Item rewards are not given

Cause. An item of reward.items does not exist in your inventory, or the player cannot carry it. On start, the console lists the items that do not exist.

Fix. Use item names that exist in your inventory. The item is skipped when the player has no room for it.

The staff commands say you have no permission

Cause. The player does not belong to the group in commands.<id>.restricted.

Fix. Add the player to the group, group.admin by default. See Commands & permissions.

/gardfast does nothing

Cause. The command only works with debug on, and debug is read when the resource starts.

Fix. Set debug = true in the config, or setr cuxial_gardener_debug 1 above the ensure line, and restart the job. Turn it off again on a live server.

The panel does not open or stays blank

Cause. The interface files are missing or incomplete. The interface comes already built inside web/dist.

Fix. Copy the cuxial_gardener folder again from the package, keeping your shared/config.lua and data/ files.

The texts are in the wrong language

Cause. The job follows the language of ox_lib.

Fix. Set setr ox:locale "en" or "es" in server.cfg. The texts are in locales/en.json and locales/es.json and can be edited.

© Cuxial