Frkn Crafting v2 is a crafting script for FiveM QBCore servers. Players craft weapons, items and vehicles at a crafting NPC, sorted into categories, and need the right level, items and money for each recipe.
Features
- Test drive vehicles before crafting them (time and test area are configurable)
- View weapons in 3D before crafting
- Timed crafting: start the craft, come back later and collect the item
- Optional job lock: only a set job (default
crafter) can open the menu - Category system for weapons, items and cars, each with price, required items, level, crafting time and XP
- Level system: players earn XP by crafting and level up to reach better recipes
- Give XP from other scripts with the server event
frkn-craftv2:givexp, for example when a job is finished (example inreadme.md) - Editable notification texts and garage insert function in
config.lua
Requirements
- QBCore (the SQL adds columns to the
playerstable and crafted cars go toplayer_vehicles) mysql-async
Installation
- Run
frkn-craftv2.sql; it addsfrkn_craftxpandfrkn_craftlevelto theplayerstable. - Copy
frkn-craftv2into your resources folder and addensure frkn-craftv2to your server.cfg. - Set up categories, recipes and XP values in
config.lua; XP values must be multiples of 20.