The most frequent problems after installing Cuxial Gas Stations, with the cause and the fix for each one.
The resource does not start
Cause. A dependency is missing or starts later. Cuxial Gas Stations needs OneSync, ox_lib, oxmysql, cuxial_bridge, sleepless_interact and cuxial_gas_assets.
Fix. Enable OneSync and start the dependencies first:
ensure ox_lib
ensure oxmysql
ensure cuxial_bridge
ensure sleepless_interact
ensure cuxial_gas_assets
ensure cuxial_gasstationsThe pressure gun disappears as soon as I take it
Cause. ox_inventory removes any weapon in the hands that is not an inventory item. The client console (F8) shows a warning about WEAPON_PRESSURE1.
Fix. Add it to the ignore list and restart the server:
setr inventory:ignoreweapons ["WEAPON_PRESSURE1"]If the convar already exists, add the entry to its list.
Pressure washers, the detailing van or the gun are invisible or missing
Cause. cuxial_gas_assets is not running, or it started after the script.
Fix. Check that the folder is in resources and that ensure cuxial_gas_assets comes before ensure cuxial_gasstations. Restart the server: streamed assets do not load with a resource restart alone.
/gasadmin says I do not have permission
Cause. Your account is missing the group in commands.admin.restricted (group.admin by default) or the permission in admin.permission (admin by default), checked through Cuxial Bridge. Both are needed. If only Fuel and Pumps fail, Cuxial Fuel's admin.permission is missing.
Fix. Put your account in the group.admin group and check that it has the admin permission in your framework, or change admin.permission to the permission your staff uses. Restart the resource if you change the command.
The panel or the admin panel does not open, or opens blank
Cause. The interface files are missing or incomplete, usually after a partial upload of web/dist.
Fix. Copy the resource again from the package you downloaded and restart it.
The admin panel map is blue, with no streets
Cause. cuxial_maptiles is not running, or it was added while the server was on without refresh. The panel cannot find the map images.
Fix. Copy the cuxial_maptiles folder from the package, run refresh in the console and start it before cuxial_gasstations:
ensure cuxial_maptiles
ensure cuxial_gasstationsThen restart cuxial_gasstations and open the panel again.
"Place" does nothing in the station editor
Cause. object_gizmo is not running. The panel shows an error when you press Place.
Fix. Start object_gizmo, or take each point with Here from the exact spot.
Texts appear in the wrong language
Cause. The language follows the ox:locale convar. English and Spanish are included.
Fix. Set setr ox:locale "en" in server.cfg and restart the server. The texts are in locales/en.json and locales/es.json.
Fuel is sold but the station stock and cash box do not change
Cause. The fuel script is not reporting sales to the station, or the pump is outside the station's pumps sphere.
Fix. Use Cuxial Fuel, or call SellFuel from your own fuel script as shown in Exports & events. If only some pumps fail, widen the radius (fourth value) of pumps for that station in data/stations.lua.
A contract says "No destination found within that distance"
Cause. There is no enabled destination within the maxDistance of that contract size, or the factory locations were never loaded. In the second case the server console warns that cuxial_gasstations_points has no factory locations.
Fix. Open /gasadmin → Points and check that destinations exist and are enabled. If the list is empty, make sure install/seed_points.sql is in the resource folder and restart it, or create destinations with New location here.
The run vehicle disappears as soon as it appears
Cause. A model blacklist on your server deletes it. The client console warns that the vehicle vanished right after being created.
Fix. Remove the fleet models from the blacklist, or change the model of those entries in fleet.catalog. On QBox, check the list of qbx_entitiesblacklist.
The driver cannot start the run vehicle or the van
Cause. Keys are handed out through Cuxial Garages. Without it, the script gives no keys.
Fix. Start cuxial_garages, or configure your key system so vehicles with the plate prefixes GS and GW can be driven.
The Wash page says no pressure washers have been placed
Cause. Wash slots are placed by an admin. The upgrade only turns on slots that already exist.
Fix. Open /gasadmin → Washing, stand at the station and use New slot here, then adjust it with the editor. The owner then buys the Pressure washers upgrade.
NPC customers never arrive
Cause. One of the conditions is not met:
- the
npcmodule andnpc.enabledare on, and the owner has enabled customers on the Wash page; - an employee is on shift within
npc.presenceRadiusof the bay; - at least one active wash slot has a bay, and the bay is free;
- the station has soap and water for an enabled service;
- no hourly, daily or server-wide cap has been reached.
Fix. Check each point. The Wash page of the owner panel shows which cap or condition is blocking. Caps can be raised in /gasadmin → Rules and upgrades → Global limits and in Business → Settings → NPC customers.
A change in config.lua has no effect on a station
Cause. What is saved in the admin panel wins over the file: a customised settings section, a rule for that station or a field changed in the station editor.
Fix. In /gasadmin, press Reset on the matching Settings section, on the rule in Rules and upgrades or on the field in the Gas stations Editor. It follows the file again at once.
An owner lost their station
Cause. The total stock stayed below abandon.minStockPct for abandon.hours in a row. The event is recorded in /gasadmin → System → Audit.
Fix. Give it back with Grant to a player in the station detail if needed. To relax or remove the rule, change abandon in the config.
Notices do not arrive on the phone
Cause. The phone integration only works with a phone supported by cuxial_bridge, and the player must have a phone. Otherwise notices fall back to the standard notification.
Fix. Nothing is lost: notices are also stored in the panel inbox. Check that notices.phone is true and that the phone resource is started.
Discord logs do not arrive
Cause. The webhook convar is empty or has another name. It is read once, when the resource starts.
Fix. Set set cuxial_gasstations_webhook "..." in server.cfg, with the name in logs.convar, and restart the resource.
Cuxial Fuel does not start
Cause. One of its dependencies is missing or starts later: ox_inventory, sleepless_interact or cuxial_gas_assets.
Fix. Install the missing resource and start cuxial_gas_assets, sleepless_interact and ox_inventory before cuxial_fuel. See the order in Installation.
