[QBCore/QBox] [FREE] Advanced Crafting

[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.


:star2: 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.


:wrench: Features

  • :hammer: Multiple crafting tables with unique recipes
  • :necktie: Job-based restrictions for table access
  • :closed_lock_with_key: Layered permission system (table-wide + per-item)
  • :money_with_wings: Optional pricing with business account support
  • :dart: Supports both prop-based and target-based interactions
  • :world_map: Configurable map blips
  • :toolbox: Automatic weapon attachment support
  • :test_tube: Developer/debug modes for testing and admin access

:package: Dependencies


:jigsaw: Installation

  1. Download the resource
  2. Place it in your resources folder
  3. Add ensure sg-anycraft to your server.cfg
  4. Configure config.lua to match your server setup
  5. Restart your server

:gear: 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
}

:hammer_and_wrench: 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"]

:receipt: Recipe Structure

{
    item = "weapon_pistol",
    label = "Pistol",
    price = 1000,
    permissions = { "license:CitizenID", "DEV" },
    requiredItems = {
        { item = "steel", amount = 50 },
        { item = "plastic", amount = 30 }
    }
}

:brain: Advanced Features

:lock: 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

:briefcase: Business Integration

Crafting payments can go directly to business accounts:

business = "vagos",
price = 1000

:gun: Automatic Attachments

Weapons can be auto-equipped with attachments upon crafting.

:world_map: Blips

blip = {
    enabled = true,
    sprite = 566,
    color = 1,
    scale = 0.8,
    label = "Crafting Table"
}

:film_projector: Video Showcase

YouTube Preview


:hammer_and_wrench: Support

Join my Discord for support or custom tweaks:
Discord server: sgMAGLERA


:inbox_tray: Download

Tebex Store Link (Free):
:link: https://sgmaglerascripts.co.za/store/6952392


:information_source: Resource Info

Code is accessible yes
Subscription-based :x: No
Lines (approximate) ~1900
Requirements FiveM Server
Support :white_check_mark: Yes

Script and support maintained by me.

2 Likes

I have updated this resource to add the item box of the inventory when items are added or removed

I also added Lation-UI support for the menu

1 Like

looks great for a first release! I’ll have to test it soon!

1 Like

Thanks, please suggest most commonly used banking scripts I can add support for and also maybe for ox-target

1 Like

okokbanking is probably one of the biggest even though I don’t support that group anymore.
quasar bank probably even bigger.

I use codem banking personally, (qb-banking essentially)

I’ll look into integrating all the mentioned, watch the space for more updates

I also have a garage script which I’m releasing in a day, will take some time for CFX to approve but can be purchased as of tomorrow on my Tebex store for $15.99

1 Like

I added 1 default table which you can work on or duplicate, I noticed most ignored the notice that the tables in the config were examples

i waiting for ox becouse i use qbox

Please note this script has been updated to support both QBox and QBCore Frameworks

- Inventory support is now limited to qb-inventory and ox_inventory
- Added Multicraft for crafting mutltiple items at once
- Added ox_lib if you dont want to use qb-menu/input
- Improved the perfomance of the script
- Removed support for lation_ui, its better to use ox_lib fork by lation if you need lation_ui features

Enjoy

Done and also more things updated

thanks a lot man, maybe you could also share the progress bar design you’re using?

That was a long time ago but I think its No Pixel inspired progressbar, I just changed the colour to blue from green

I nolonger use it