Skip to content

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 seeCauseFix
config validation FAILED (N problem(s)); cc_crafting is DISABLEDa config mistakeread 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 listpaste 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_craftingensure cc_lib before ensure cc_crafting; use cc_lib 1.6.0 or newer
oxmysql errors / MySQL is niloxmysql not started first, or no mysql_connection_stringensure oxmysql first and set the connection string
Config.Preset = 'x' but no presets/x.lua applied itselfthe preset file is missing or its first line checks another nameeach 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.Recipesa recipe in one file but not the otheradd it to both; ids must match
ROLLBACK FAILED (security log)an inventory refused to give items back during an undocheck the player's inventory/weight; refund by hand from the logged items
job N could not be reopened after ...; parked as stucka 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 resourcestop acc_crafting / acc_manufacturing, then import

F8 (client)

You seeCauseFix
No option at a stationno target resource and the [E] prompt is off-screen, or the feature for that kind is offwalk into the zone; check Config.Features; Config.Debug = true draws the zones
"Still starting up" on every stationboot validation failed on the serversee the server console above
Panel opens blankweb/ files missing (a partial upload)re-upload the whole folder
Cursor stuck over the gameNUI focus left on after an error in F8press Esc; the panel also closes on death, ragdoll and distance; restart cc_crafting releases focus
Teleported under the map at the facilityyour server does not load the GTA Online small warehouseload it (bob74_ipl), move the facility in Config.Facility, or set teleport = false
Gang bench never showsESX / ox_core have no gangs, or the gang name differsgang benches need Qbox / QBCore; names must match the framework's gang names
"Too worn" on a new toolyour shop gives tools no durability and Tools.nilIsFull = falseset ServerConfig.Tools.nilIsFull = true
No "job ready" phone messageno supported phone, or Features.readyNotices = falsea toast is sent instead; check the phone list in COMPATIBILITY

From the original README

You seeDo
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 nilensure cc_lib before cc_crafting, and use cc_lib 1.6.0+
Nothing happens at a station, no promptno 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 facilityyour server does not load that interior: move the facility (see Placeholders) or set teleport = false
Tools say "too worn" on a fresh kityour shop hands kits out with no durability and Tools.nilIsFull = false; set it to true
Gang benches never opengangs 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().