0r Craft
0r Craft - professional ESX script with custom features and optimized performance for FiveM servers Compatible with ESX framework.
Aperçu vidéo
Click to load video from YouTube. By watching, you agree to their privacy policy.
0r Craft - Weapon Attachments and Crafting System
Crafting systems can make or break server economy. This one handles both item crafting and weapon attachments, so players can build their own gear instead of buying everything from shops. Works with ESX and QBCore, integrates with ox_inventory and qb-inventory, and uses the 0r-lib framework for clean performance.
What's Included
You get two separate crafting systems in one script: a general crafting table for items and a dedicated attachment table for weapon customization. Both use the same framework but serve different purposes. The attachment system lets players craft scopes, grips, magazines, and other weapon mods. The crafting table handles everything else—tools, components, consumables, whatever you configure.
Key Features
- Dual Crafting Tables - Separate interfaces for general crafting and weapon attachments. Makes it intuitive—players know where to go for what they need.
- Framework Flexibility - Supports both ESX and QBCore. The script detects your framework automatically and adapts.
- Inventory Integration - Pre-configured for ox_inventory and qb-inventory. If you're using something else, there's a utils file where you can add custom functions.
- Component System - Items require specific materials to craft. Set up realistic crafting chains where players need to gather resources before building end products.
- Multiple Crafting Stations - Place as many crafting tables as you want around the map. Configure each one with different recipes, so certain items can only be crafted in specific locations.
- Customizable UI Design - Change interface colors from the config to match your server's theme. No need to edit HTML/CSS files.
- 0r-lib Dependency - Uses the 0r-lib framework for optimized performance. Make sure to start 0r-lib before this script in server.cfg.
Perfect For
- Servers that want players to earn their gear instead of buying it
- Weapon shops that require players to customize guns themselves
- Gang territories with exclusive crafting locations (gang-controlled attachment benches)
- Economy-focused servers where materials have real value
- Mechanic or gunsmith job roleplay (players craft for others)
Technical Details
- Framework Compatibility: ESX and QBCore (auto-detects your framework)
- Inventory Support: ox_inventory and qb-inventory (pre-configured). Custom inventories supported via shared/utils.lua
- Dependencies: Requires 0r-lib (included with download). Make sure to start it before 0r-craft in server.cfg
- Database: Uses MySQL. Includes database.sql file for automatic setup
- Localization: Multi-language support via locales folder
Installation
- Install 0r-lib dependency (included in download)
- Add
ensure 0r-libto server.cfg BEFOREensure 0r-craft - Import database.sql to your MySQL database
- Add crafting items to your inventory (ox_inventory/data/items.lua or qb-core/shared/items.lua)
- Configure recipes in shared/config.lua
- Set up language preferences in locales folder
- Customize UI colors if needed (all config-based)
- Place crafting tables around the map using config coordinates
Framework-Specific Setup
For ox_inventory users: Add items to ox_inventory/data/items.lua, NOT qb-core. The script uses inventory-specific item registration.
For custom inventories: Edit shared/utils.lua and complete the inventory bridge functions. The script provides templates for adding/removing items and checking inventory slots.
What Makes It Stand Out
This isn't just another crafting script—it's built specifically for weapon attachment gameplay. Most crafting systems treat gun mods like any other item, but this separates attachments into their own interface. That means players can customize weapons without cluttering the main crafting menu. The multiple crafting station feature lets you create gameplay around locations: maybe only the gang hideout has an attachment bench, or maybe mechanics have exclusive access to certain recipes. And because it uses 0r-lib, performance stays solid even with heavy usage.





