🛠️ Advanced Crafting System v2
A modern, multi-framework crafting solution designed for serious roleplay servers.
This script completely overhauls the crafting experience with a sleek UI, physical blueprint progression, and persistent workbench placement. It automatically adapts to your server's framework and inventory, making installation instant.
🌟 Key Features
-
⚡ Auto-Detect Everything:
- Works out-of-the-box with QBox, QBCore, and ESX.
- Auto-detects Ox Inventory, QB-Inventory, and QS-Inventory.
- No manual framework configuration required.
-
📜 Blueprint Progression System:
-
Physical Items: Players must buy and "Use" actual blueprint items (e.g.,
blueprint_pistol) to learn recipes permanently. - Persistent Unlocks: Learned recipes are saved to the database and remembered forever.
- Locked Recipes: High-tier items appear as "Locked" in the workbench until the blueprint is learned.
-
Physical Items: Players must buy and "Use" actual blueprint items (e.g.,
-
🛒 NPC Blueprint Vendor:
- Includes a dedicated Blueprint Shop UI (separate from the crafting UI).
- The vendor only sells blueprints you don't currently own.
- Fully configurable prices and locations.
-
🎨 Modern & Sleek UI:
- Horizontal Categories: Clean, pill-shaped navigation bar for filtering items (Weapons, Medical, Tools, etc.).
- Dynamic Ingredients: Real-time checking of required items with red/green indicators.
- Custom Notifications: Built-in, high-quality HTML notifications for crafting success/failure (independent of framework notifies).
-
🔨 Placeable Workbenches:
- Players can place a workbench anywhere using an item.
- Persistent Spawning: Benches save to the database and stay through server restarts.
- Anti-Exploit Pickup: Includes distance checks to prevent players from stealing benches from far away.
-
🎮 Skill-Based Crafting:
- Integrated Ox Lib skill checks.
- Passing the minigame crafts the item; failing cancels it to prevent AFK mass-crafting.
-
🔫 Tiered Weapon Config:
- Pre-configured with 5 tiers of weapon crafting (Pistol → Sniper Rifle).
- Balanced economy: Higher tier weapons cost significantly more materials and expensive blueprints.
📋 Dependencies
-
ox_lib(Required for Skill Checks & Context Menu) -
ox_targetORqb-target(Auto-detected) -
oxmysql(For database saving)