Crafting System | Fully Customizable Crafting Stations & Recipes!

Preview: Click

Tebex: Buy for 23.99€ + VAT

Config

_4p = {
    Framework = "esx", -- Framework you are using (esx, qbcore)

    lang = "de", -- Language

    stations = {
        ["point1"] = {
            coords = vector4(1307.1234, 4320.4824, 38.0143, 143.2839), -- x, y, z, heading
            ped = { -- Ped that will be spawned at the station
                model = "s_m_m_autoshop_01",
            },
            blip = { -- Blip that will be created for the station
                visible = true, -- If the blip should be visible
                sprite = 402, -- Blip sprite
                color = 5, -- Blip color
                label = "Crafting Station", -- Blip label
            },
        },
        ["point2"] = { -- You can add multiple crafting stations
            coords = vector4(1309.6396, 4317.4277, 37.9722, 82.4783), -- x, y, z, heading
            ped = { -- Ped that will be spawned at the station
                model = "s_m_m_autoshop_01", -- Ped model
            },
            blip = {
                visible = true, -- If the blip should be visible
                sprite = 402, -- Blip sprite
                color = 5, -- Blip color
                label = "Crafting Station 2", -- Blip label
            },
        }
    },

    recipes = { -- Crafting recipes
        {
            stations = {"point1", "point2"}, -- Crafting stations where the recipe can be crafted example: {"point1", "point2"}, or {"point1"} if you want to use only one station
            item_name = "fixkit", -- Item name
            neededItems = {
                {
                    item_name = "welder", -- Item name
                    amount = 4, -- Amount needed
                },
                {
                    item_name = "iron",
                    amount = 2,
                },
                {
                    item_name = "bread",
                    amount = 1,
                },
            }
        },
    },
}

_4p.helpNotification = function()
    -- function is getting called in a thread,
    -- if u are using a specific ui help notify, then you cann add you trigger here.
    -- if you are just using standard esx use this: Framework.object.ShowHelpNotification("Press ~INPUT_CONTEXT~ to open crafting menu")
end

_4p.notify = function(message, source)
    if IsDuplicityVersion() then
        if _4p.Framework == "esx" then
            TriggerClientEvent("esx:showNotification", source, message)
        elseif _4p.Framework == "qbcore" then
            TriggerClientEvent("QBCore:Notify", source, message)
        else
            print("^1[4p-FishingScript] ^3You are using a custom framework, please add a notification function to the config.lua^7")
        end
    else
        if _4p.Framework == "esx" then
            Framework.object.ShowNotification(message)
        elseif _4p.Framework == "qbcore" then
            Framework.object.Functions.Notify(message)
        else
            print("^1[4p-FishingScript] ^3You are using a custom framework, please add a notification function to the config.lua^7")
        end
    end
end

_4p.language = {
    ["en"] = {
        craft = "Craft",
        not_enough_items = "You don't have enough items",
        not_in_time = "You did not click in time, your progress has been reset!",
        how_to_craft = "How to craft: You have to click on the grayed out items",
        done = "DONE!",
    },
    ["de"] = {
        craft = "Herstellen",
        not_enough_items = "Du hast nicht genügend Gegenstände",
        not_in_time = "Du hast nicht rechtzeitig geklickt, dein Fortschritt wurde zurückgesetzt!",
        how_to_craft = "Wie man herstellt: Du musst auf die ausgegrauten Gegenstände klicken",
        done = "FERTIG!",
    },
}

NOW WITH QB SUPPORT!
you need qb-inventory for this script

If you’re experiencing any issues, don’t worry! We’ve got you covered. Simply open a ticket in our Discord, and our team will work hard to assist you.

Discover our simple yet fun FiveM Repairkit Script:

Key Features:

🡂 Add Custom Recipies
🡂 Multiple Crafting Stations
🡂 Interactive Crafting Process
🡂 Real-Time Feedback
🡂 Easy Config
🡂 Personalize: Change the theme color to your own.

This system is perfect for both casual players and serious roleplay servers. Enhance your server’s crafting experience today!

Upgrade your FiveM server now with the crafting system!






4p-fishing: click
4p-repairkit: click
4p-pausemenu: click
4p-dice: click

|-------------------------------------|----------------------------|
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | 800 |
| Requirements | es_extended/qbcore, QB-INVENTORY |
| Support | Yes |

7 Likes

also a very nice idea!

4 Likes

By any change qb will not be supportet in any time in the future or?

like all of your scripts but im using qb.

6 Likes

we can try to implement it

5 Likes

You have to implement these for qbcore I really need it.

5 Likes

As my other comment says. I’ve joined their discord. They said it should be available the next days, the other scripts are already in qb.

3 Likes

added qbcore support!

5 Likes

we´ve added qbcore support!

6 Likes