ESX Configuration
ESX Crafting System Installation Guide
Prerequisites
Before installing the crafting system, ensure you have:
ESX Legacy (1.6.0 or newer)
One of the following inventory systems:
ox_inventory (recommended)
qs-inventory
ESX default inventory
MySQL or MariaDB database
ox_lib (if you want enhanced UI features)
Step 1: Resource Installation
Download the resource
Extract to your resources folder
Rename the folder to
b2-crafting
Import the provided SQL:
Add to your server.cfg:
Step 2: Item Setup Example
Add items to your ox_inventory/data/items.lua (or your ESX items table):
Step 3: Configuration
Basic Configuration (config/main.lua)
Table Configuration (config/tables.lua)
Recipe Configuration (config/recipes.lua)
Step 4: ox_target Setup (Optional but Recommended)
If using ox_target, ensure it's properly configured in your server.cfg:
Then set in your config/main.lua:
Optional Enhancements
ox_lib Integration
If using ox_lib, you get:
Enhanced progress bars
Better skill checks
Improved notifications
Custom Categories
Add custom categories in config/tables.lua:
Testing Your Setup
Spawn a crafting table:
/giveitem table_crafting 1
Give yourself materials:
/giveitem iron 10
Give yourself a blueprint:
/giveitem blueprint_pistol 1
Place the table and try crafting!
Common Issues & Solutions
Tables not spawning:
Check your vector4 coordinates
Ensure props are streamed
Verify targeting system configuration
Can't craft items:
Check inventory integration
Verify item names match exactly
Confirm blueprint requirements
Inventory errors:
Ensure items are properly registered
Check weight/limit configurations
Verify inventory system compatibility
Support
For additional support:
Join our Discord
Review debug logs (enable debug mode in config)
Upgrading
When upgrading:
Backup your configs
Update the resource
Compare and merge your configs
Run any new SQL queries
Clear server cache (not normally needed but may be if issues persist)
Need more help? Feel free to ask!
Last updated