Skip to content

10% off shop orders, applied at checkoutBlack Friday: 30% off until Dec 1Server templatesServer templates

RPScripts

FiveM Crafting Scripts

okokCraffting

okokCrafting (QBCore)

okok ScriptsBought 10 times
Frameworks:
  • QBCore

Checked by the RPScripts Lab

  • Static check: 1 resource read
What was checked
Check compatibility with your server

Details

Frameworks
QBCore
Dependencies
oxmysql
File size
14.8 kB
Creator
okok Scripts
Licence and support terms
  • Licence: for your own server or project. No resale or sharing.
  • Updates: when a newer file is available, it appears in your account downloads.
  • Support: download access and product-specific setup questions.
Licence and support terms

Description

okokCrafting is a crafting system for QBCore with its own crafting menu. You place crafting tables anywhere on the map and decide per table which items can be crafted, by whom and with which components.

How it works

  • Crafting queue: players can start several crafts and wait near the table until the queue is done.
  • Add as many items to a crafting table as you want, each with as many required components as you want.
  • If a player leaves the crafting radius, the countdown stops until they come back.
  • If a player dies, the components of all items in the queue go back to their inventory.
  • The crafting menu cannot be opened inside a vehicle.
  • Server-side checks against players who try to get items by calling events.
  • Discord logs when a craft starts, finishes, when a player dies while crafting and when someone tries to call an event illegally.

XP system

  • Can be turned on or off.
  • Set the max level (20 by default), the XP for the first level and a level multiplier that makes levelling harder or easier.
  • Choose whether players get XP when a craft fails.
  • Players keep collecting XP after the max level, so raising the max level later updates their level.

Per crafting table and item

  • Table: coordinates, interaction radius, max craft radius, blip and floor marker, marker distance, table name and a unique table ID.
  • Item: item name, amount, success chance, item or weapon, crafting time, required level, XP per craft, components with amount and whether they are kept, and which jobs may craft it (empty = everyone).
  • General: open key (E by default), hide the minimap while the menu is open, use okokTextUI or the default help notification.

Requirements

  • QBCore
  • oxmysql
  • okokTextUI (optional)

Installation

  • Copy okokCrafting into your resources folder.
  • Put your item images (PNG, named exactly like the items in your database) into okokCrafting/web/icons.
  • For the XP system run ALTER TABLE players ADD COLUMN xp INT(255) NOT NULL default 0;
  • Set your tables and recipes in config.lua and your Discord webhook in server.lua.
  • Add ensure okokCrafting to your server config.

Server setup

Step-by-step guide: how to install a FiveM script

Checked: the only resource of this download.

okokCrafting (QBCore)

In your downloads
  • LS Inventory V2 FiveM resource preview
    • ESX
    • QBCore
    Not for your framework

    LS Inventory V2

    LquenS

    $39.99$27.99
  • FiveM GFX Crafting
    • ESX
    • Standalone, QBCore

    GFX Crafting

    GFX Scripts

    $27.00$18.90
  • Advanced RepoJob FiveM resource preview
    • ESX
    • QBCore
    Not for your framework

    Advanced RepoJob

    Pug

    $23.99$16.79
  • codem craft
    • ESX
    • QBCore
    Not for your framework

    CodeM Craft — Advanced Crafting System

    CodeM

    $8.49$5.94
  • Aty Crafting FiveM resource preview
    • ESX
    • QBCore
    Not for your framework

    Aty Crafting

    $27.00$18.90
  • Skill System for FiveM
    • QBCore
    Not for your framework

    OT Skill System

    $23.00$16.10
  • FiveM Mechanic Job
    • ESX
    • QBCore
    Not for your framework

    FiveM Mechanic System [ESX/QB]

    K4MB1

    $33.00$23.10
  • NP 4.0 Crafting
    • ESX
    • QBCore
    Not for your framework

    0r Craft (NoPixel 4.0 inspired)

    0Resmon

    $44.00$30.80