QBCore Configuration
QBCore Crafting System Installation Guide
Prerequisites
Before installing the crafting system, ensure you have:
QBCore Framework (latest version)
One of the following inventory systems:
qb-inventory (default)
ox_inventory
qs-inventory
MySQL or MariaDB database
qb-target (comes with QB core)
Step 1: Resource Installation
Download the resource
Extract to your resources folder
Rename the folder to
b2-craftingImport the provided SQL:
Add to your server.cfg:
Step 2: Item Setup
Add these items to your qb-core/shared/items.lua:
Step 3: Configuration
Basic Configuration (config/main.lua)
Table Configuration (config/tables.lua)
Recipe Configuration (config/recipes.lua)
Step 4: QB-Target Integration
The system automatically integrates with QB-Target. The following options are registered automatically:
Crafting interaction
Table pickup
Recycling (if enabled)
Table repair
No additional configuration is needed for targeting to work.
Optional Enhancements
Custom Categories
Add custom categories in config/tables.lua:
Durability System
Tables can have durability that decreases with use:
Testing Your Setup
Spawn necessary items:
Place the table using the item from your inventory
Approach the table and use QB-Target
Try crafting an item!
Common Issues & Solutions
Tables not spawning:
Verify item is registered in QB-Core items.lua
Check prop name in TableTypes
Ensure coordinates are accessible
Can't craft items:
Double-check item names match QB-Core items.lua exactly
Verify you have required materials
Check job requirements if set
Confirm blueprint requirements
QB-Target not working:
Ensure qb-target is started before b2-crafting
Check targeting configuration
Verify table entity exists
Inventory errors:
Check item weights in QB-Core config
Verify item names match exactly
Ensure inventory slots are available
Support
For additional support:
Join our Discord
Enable debug mode in config
Check server/client console for errors
Upgrading
When upgrading:
Backup your configs
Update the resource
Compare and merge your configs
Run any new SQL queries
Clear server cache
Need more help? Check our Discord or GitHub issues!
Last updated