wrenchSetup and Items

Real setup flow, database behavior, localization, optional camp fire object note, and item installation for 0r-craft-v2

This page covers the setup parts you should finish before editing benches or recipes: dependencies, server.cfg order, database behavior, localization, inventory items, image paths, and the optional camp fire object note.

Required Dependencies

start oxmysql
start ox_lib
start framework -- es_extended, qb-core, or qbx_core
-- other resources
start 0r_lib
start 0r-craft-v2

Database

You do not need to import SQL manually for this script.

The real resource creates the profile table automatically in modules/mysql/server.lua:

Localization

This script follows the server locale from ox_lib.

Set your server language in server.cfg:

Then make sure the matching file exists inside:

Camp Fire Object Note

3fe_campfire is not listed as a hard dependency in fxmanifest.lua.

However, the default bench config includes a Camp Fire bench with:

That means you have two valid choices:

  • keep that bench only if your server already has that object available

  • disable or replace the Camp Fire bench in escrow/bench/config.lua

Ready To Paste Item Tables

If you want to install the default source recipes fast, use the blocks below directly in your inventory files.

These blocks focus on the default craft ingredients, food outputs, and attachment items used by the recipe and component config.

Weapon outputs such as WEAPON_ASSAULTRIFLE, WEAPON_PISTOL, WEAPON_KNIFE, and similar names are normal weapon entries and should already exist in the weapon system used by your server.

OX Inventory

QB Core

If your image path is different, update Config.InventoryImagesFolder in config.lua.

Final Checklist

  • 0r_lib starts without errors

  • 0r-craft-v2 starts without errors

  • Your recipe items exist in the inventory system

  • Your item images load from the folder set in Config.InventoryImagesFolder

  • The profile table is created automatically in MySQL

  • The Camp Fire bench is either supported by your server object setup or disabled

Last updated