A Minecraft inspired crafting system for FiveM ESX framework



Features

  • Crafting items
  • Custom crafting recipe
  • Optimized

Installation

Using Git

git clone https://github.com/kasuganosoras/esx_minecraft_crafting

Manually

  • Download from Github Releases
  • Extract the file to your server resources directory
  • Add ensure esx_minecraft_crafting to your server.cfg file.
  • Restart your FiveM server

Using

For default configuration, you can press F10 or type command /craft to open the crafting table.

You can change the key in the config.lua.


Configuration


Crafting recipe

Example recipe:

{
    -- Items to input
    input = {
        nil,                          -- Grid 1-1, use nil for no item
        {name = "scrap", amount = 1}, -- Grid 1-2, item name and amount
        nil,                          -- Grid 1-3
        {name = "scrap", amount = 1}, -- Grid 2-1
        {name = "scrap", amount = 1}, -- Grid 2-2
        {name = "scrap", amount = 1}, -- Grid 2-3
        nil,                          -- Grid 3-1
        {name = "scrap", amount = 1}, -- Grid 3-2
        nil,                          -- Grid 3-3
    },
    -- Crafting result
    output = {
        item = "fixkit", -- Item name
        amount = 1,      -- Item amount
    }
}

Have fun : D

5 Likes



Looking for paid scripts? Click here