[FREE][QBCore/QBox] SG-ANYCRAFT – Versatile Crafting System
This is my first release – please be patient if you encounter any issues (although I haven’t experienced any). This system was initially developed for my server, but I’m sharing it for free with the community.
Introduction
SG-ANYCRAFT is a powerful and modular crafting system designed for FiveM servers using the QBCore and Qbox framework. It allows server owners to create multiple crafting tables with custom recipes, item requirements, job and permission restrictions, optional pricing, and more.
Whether you’re running a business-focused RP server or want to restrict certain crafts to VIPs or jobs — this system gives you the tools to do that with ease.
Features
Multiple crafting tables with unique recipes
Job-based restrictions for table access
Layered permission system (table-wide + per-item)
Optional pricing with business account support
Supports both prop-based and target-based interactions
Configurable map blips
Automatic weapon attachment support
Developer/debug modes for testing and admin access
Dependencies
qb-coreorqbx_coreqb-targetorox_targetqb-menuorox_libqb-inventoryorox_inventoryqb-bankingorRenewed-Banking
Installation
- Download the resource
- Place it in your
resourcesfolder - Add
ensure sg-anycraftto yourserver.cfg - Configure
config.luato match your server setup - Restart your server
Configuration Overview
Main Config (config.lua)
Config.Debug = false
Config.EnableBlips = true
Config.ImageBasePath = "nui://qb-inventory/html/images/"
Config.DeveloperMode = false
Config.BypassLicenseChecks = false
Config.CraftingDuration = {
Min = 7000,
Max = 15000
}
Crafting Table Properties
| Property | Type | Description | Example |
|---|---|---|---|
| id | string | Unique ID for the table | “weapon_bench” |
| label | string | Table name | “Weapons Crafting” |
| prop | string/hash | Prop model (optional) | prop_tool_bench02_ld |
| useTarget | boolean | Use qb-target/ox_target for interaction |
true |
| coords | vector4 | Location & heading | vector4(x, y, z, h) |
| job | string/nil | Required job | “police” |
| permissions | array | License or group restrictions | ["license:XXX", "DEV"] |
| business | string/nil | Business account (for payments) | “gunshop” |
| attachments | array | Weapon attachments (auto-given) | ["scope", "grip"] |
Recipe Structure
{
item = "weapon_pistol",
label = "Pistol",
price = 1000,
permissions = { "license:CitizenID", "DEV" },
requiredItems = {
{ item = "steel", amount = 50 },
{ item = "plastic", amount = 30 }
}
}
Advanced Features
Permission System Types
- Table-wide: Only certain licenses or roles can access a whole table
- Job-based: Only certain jobs (e.g., police) can use the table
- Per-Item: Restrict specific recipes per license or dev
Business Integration
Crafting payments can go directly to business accounts:
business = "vagos",
price = 1000
Automatic Attachments
Weapons can be auto-equipped with attachments upon crafting.
Blips
blip = {
enabled = true,
sprite = 566,
color = 1,
scale = 0.8,
label = "Crafting Table"
}
Video Showcase
Support
Join my Discord for support or custom tweaks:
Discord server: sgMAGLERA
Download
Tebex Store Link (Free):
https://sgmaglerascripts.co.za/store/6952392
Resource Info
| Code is accessible | yes |
| Subscription-based | |
| Lines (approximate) | ~1900 |
| Requirements | FiveM Server |
| Support |
Script and support maintained by me.




