cc_crafting: troubleshooting
Back to the overview. Turn on Config.Debug = true for zone outlines and extra console lines while you look.
Back to the overview. Turn on Config.Debug = true for zone outlines and extra console lines while you look.
Server console
| You see | Cause | Fix |
|---|---|---|
config validation FAILED (N problem(s)); cc_crafting is DISABLED | a config mistake | read the config: lines above it; each names the key and what it expects. Fix, restart |
N recipe item(s) are not defined in your inventory: ... | recipe items missing from your item list | paste them from install/items/ or change the recipes |
No such export ... in resource cc_lib / attempt to index a nil value (global 'CC') | cc_lib missing, too old, or started after cc_crafting | ensure cc_lib before ensure cc_crafting; use cc_lib 1.6.0 or newer |
oxmysql errors / MySQL is nil | oxmysql not started first, or no mysql_connection_string | ensure oxmysql first and set the connection string |
Config.Preset = 'x' but no presets/x.lua applied itself | the preset file is missing or its first line checks another name | each preset starts with if Config.Preset ~= 'x' then return end |
Config.Recipes[N] x has no ServerConfig.Recipes entry / ServerConfig.Recipes.x is not in Config.Recipes | a recipe in one file but not the other | add it to both; ids must match |
ROLLBACK FAILED (security log) | an inventory refused to give items back during an undo | check the player's inventory/weight; refund by hand from the logged items |
job N could not be reopened after ...; parked as stuck | a collect could not finish nor be undone | /cc_crafting_reopen N or /cc_crafting_refund N |
refused: acc_crafting is running. Stop it ... | the importer never runs beside the old resource | stop acc_crafting / acc_manufacturing, then import |
F8 (client)
| You see | Cause | Fix |
|---|---|---|
| No option at a station | no target resource and the [E] prompt is off-screen, or the feature for that kind is off | walk into the zone; check Config.Features; Config.Debug = true draws the zones |
| "Still starting up" on every station | boot validation failed on the server | see the server console above |
| Panel opens blank | web/ files missing (a partial upload) | re-upload the whole folder |
| Cursor stuck over the game | NUI focus left on after an error in F8 | press Esc; the panel also closes on death, ragdoll and distance; restart cc_crafting releases focus |
| Teleported under the map at the facility | your server does not load the GTA Online small warehouse | load it (bob74_ipl), move the facility in Config.Facility, or set teleport = false |
| Gang bench never shows | ESX / ox_core have no gangs, or the gang name differs | gang benches need Qbox / QBCore; names must match the framework's gang names |
| "Too worn" on a new tool | your shop gives tools no durability and Tools.nilIsFull = false | set ServerConfig.Tools.nilIsFull = true |
| No "job ready" phone message | no supported phone, or Features.readyNotices = false | a toast is sent instead; check the phone list in COMPATIBILITY |
From the original README
| You see | Do |
|---|---|
config validation FAILED ... cc_crafting is DISABLED and stations answer "still starting up" | read the config: lines above it; each names the key. Fix, restart |
N recipe item(s) are not defined in your inventory: ... | paste those items from install/items/, or change the recipes |
No such export ... in resource cc_lib / CC is nil | ensure cc_lib before cc_crafting, and use cc_lib 1.6.0+ |
| Nothing happens at a station, no prompt | no target resource and the [E] prompt is off-screen: walk into the zone; with Config.Debug = true the zones draw |
| Teleported under the map at the facility | your server does not load that interior: move the facility (see Placeholders) or set teleport = false |
| Tools say "too worn" on a fresh kit | your shop hands kits out with no durability and Tools.nilIsFull = false; set it to true |
| Gang benches never open | gangs exist on Qbox / QBCore only; check the gang name matches the framework's |
Still stuck
Open a ticket in the Code Cartel Discord with your server.cfg start order, the console lines from boot and the result of exports.cc_crafting:getVersion().