Craftin System
# TrollCrafting - Advanced Crafting System for FiveM
## Overview
TrollCrafting is a feature-rich, customizable crafting system designed for FiveM roleplay servers running QBCore or QBox frameworks. This script allows players to craft weapons, tools, and items at interactive workbenches placed throughout your server world.
## Key Features
### 🎮 Multi-Framework Support
- Compatible with **QBCore** and **QBox** **ESX** frameworks
- Supports multiple inventory systems: QB-Inventory, QB-Inventory-Old, and OX Inventory
- Flexible notification system with support for UI, QBCore, QBox, and OX_Lib
### 🎯 Interactive Workbenches
- Physical crafting benches placed at custom locations
- Uses `gr_prop_gr_bench_02b` model for immersive experience
- Configurable interaction distance and render distance
- Support for **QB-Target**, **OX Target**, or **Key-based** interaction
### 🔧 Crafting Categories
- **Pistols** - Craft handguns and combat pistols
- **SMGs** - Create submachine guns like Micro SMG
- **Melee Weapons** - Forge knives, baseball bats, and machetes
- **Shotguns** - Craft sawn-off and pump shotguns
- **Rifles** - Build assault rifles and carbine rifles
- **Tools** - Make lockpicks, advanced lockpicks, and thermal charges
### 📈 Level System (Optional)
- Configurable XP-based progression system
- 20 levels with customizable XP requirements
- Higher-level items require more experience
- Earn XP with each successful craft
### 🎨 Modern User Interface
- Clean, responsive NUI (HTML/CSS/JS) interface
- Item images from your inventory system
- Real-time progress bars during crafting
- Color-coded categories for easy navigation
- Locale support (English & Arabic included)
### ⚙️ Fully Configurable
- Add unlimited crafting benches across the map
- Define custom categories and items per bench
- Configure crafting times and required materials
- Set level requirements for advanced items
- Customize bench colors and labels
## Example Recipes
- **Pistol**: 1 Steel (6.5s craft time)
- **Assault Rifle**: 280 Metal Scrap, 150 Steel, 100 Rubber, 50 Plastic (20s craft time)
- **Lockpick**: 10 Metal Scrap, 5 Plastic (2.5s craft time)
- **Thermal Charge**: 100 Metal Scrap, 50 Steel, 40 Plastic, 30 Rubber (25s craft time)
## Requirements
- FiveM server with QBCore or QBox
- One of the supported inventory systems
- OXMySQL for database operations
## Installation
1. Place the `TrollCrafting` folder in your `resources` directory
2. Import `crafting.sql` into your database
3. Configure `config/config.lua` to match your server setup
4. Add `ensure TrollCrafting` to your server.cfg
## Version
Current Version: **1.0.0**
---
*Perfect for servers looking to add depth to their economy and provide players with meaningful progression through crafting.*
SHOWCASE
$30.00