Rebel Brewery | Advanced Brewery Job [QB / ESX / QBOX / CUSTOM]

A script by Blue_Rebel

No reviews yet.
Rebel Brewery | Advanced Brewery Job [QB / ESX / QBOX / CUSTOM] main image

Full Description

Watch Preview Video

Grab The QBCore Version

Grab The ESX Version

Grab the MLO Here
Junior’s Interiors Brewery MLO

Introduction:

Rebel Brewery was created for Junior’s Interiors Brewery MLO, you can of course change the locations of everything in the config, but support on how to do that will not be provided.

So why would you buy this script?

This script will give your community many new roleplay possibilities. The script is very unique and has never been done before, which will give your server a professional and unique feel. The script is also made with all the best practices which makes it 100% optimized for use in a live environment. You won’t find any errors as we have tested the script on a live server with 32+ players for over 2 weeks without any errors reported. We have integrated 7 different Discord Webhook logs so the business owners and the server staff will have full control. So what are you waiting for?

Features

  • 100% Unencrypted
  • Original Code
  • You can easily add more recipes through the config
  • Fully rigged with Discord Webhooks
  • Clean Menus
  • Pretty much everything you can think of is editable in the config

Config

Config = {}

Config.img = "qb-inventory/html/images/" -- Set this to your inventory

-- Webhooks
Config.Webhooks = {
    Purchases = {
        "example webook1",
        "example webook2"
    },
    Recipe_Selected = {
        "example webook1",
        "example webook2"
    },
    Added_Ingredients = {
        "example webook1",
        "example webook2"
    },
    Mashing_Started = {
        "example webook1",
        "example webook2"
    },
    Fermenting_Started = {
        "example webook1",
        "example webook2"
    },
    Brew_Stored = {
        "example webook1",
        "example webook2"
    },
    Beer_Made = {
        "example webook1",
        "example webook2"
    },
}

-- Ped Options --
Config.Ped_Hash = "mp_m_g_vagfun_01"
Config.Ped_Location = vector4(-1379.32, -307.67, 39.88, 181.32)

-- Shop Settings
Config.Shop_Settings = {
    Label = "Brewer Shop",
    Description = "All the essential ingredients to make the perfect brew...",

    Shop_Items = {
        [1] = {
            item = "grain",
            price = 50,
            required_grade = 0
        },
        [2] = {
            item = "yeast",
            price = 250,
            required_grade = 0
        },
        [3] = {
            item = "grape",
            price = 4,
            required_grade = 0
        },
        [4] = {
            item = "apple",
            price = 12,
            required_grade = 0
        },
        [5] = {
            item = "empty_beer_bottle",
            price = 12,
            required_grade = 0
        },
        [6] = {
            item = "honey",
            price = 10,
            required_grade = 0
        },
        [7] = {
            item = "pear",
            price = 4,
            required_grade = 0
        },
        [8] = {
            item = "banana",
            price = 4,
            required_grade = 0
        },
        [9] = {
            item = "citrus",
            price = 4,
            required_grade = 0
        },
    }
}

-- Blip Options --
Config.Blip_Options = {
    Blip_Location = vector3(-1386.16, -306.58, 43.82),
    Blip_Sprite = 536, -- You can find blip sprites here https://docs.fivem.net/docs/game-references/blips/#blips
    Blip_Color = 5, -- You can find blip colors here https://docs.fivem.net/docs/game-references/blips/#blips
    Blip_Scale = 0.6, -- Size of the blip, normally 0.6
    Blip_Text = "The Brewery Co"
}

-- QB Target Options --
Config.QBTarget_Poly_Zones = {
    Boss_Menu = { location = vector3(-1378.64, -311.36, 43.81), heading = 352, length = 0.6, width = 0.35, minZ=43.55, maxZ= 43.6, distance = 2.0, debugPoly = false },

    Barrels = {
        -- Box Zones
        { location = vector3(-1377.26, -308.52, 39.88), heading = 42, length = 2.3, width = 0.5, minZ=39.0, maxZ= 41.0, distance = 2.0, debugPoly = false },
        { location = vector3(-1375.26, -310.8, 39.88), heading = 42, length = 2.3, width = 0.5, minZ=39.0, maxZ= 41.0, distance = 2.0, debugPoly = false },
        { location = vector3(-1380.75, -311.65, 39.88), heading = 42, length = 2.3, width = 0.5, minZ=39.0, maxZ= 41.0, distance = 2.0, debugPoly = false },
        { location = vector3(-1378.76, -313.9, 39.88), heading = 42, length = 2.3, width = 0.5, minZ=39.0, maxZ= 41.0, distance = 2.0, debugPoly = false },
        { location = vector3(-1381.87, -312.62, 39.88), heading = 42, length = 2.3, width = 0.5, minZ=39.0, maxZ= 41.0, distance = 2.0, debugPoly = false },
        { location = vector3(-1379.89, -314.86, 39.88), heading = 42, length = 2.3, width = 0.5, minZ=39.0, maxZ= 41.0, distance = 2.0, debugPoly = false },
        { location = vector3(-1383.37, -317.98, 39.88), heading = 42, length = 2.3, width = 0.5, minZ=39.0, maxZ= 41.0, distance = 2.0, debugPoly = false },
        { location = vector3(-1385.37, -315.73, 39.88), heading = 42, length = 2.3, width = 0.5, minZ=39.0, maxZ= 41.0, distance = 2.0, debugPoly = false },
    },

    Vats = {
        -- Circle Zones
        { location = vector3(-1387.86, -310.35, 39.88), radius = 2.3, minZ=39.0, maxZ= 41.0, distance = 2.0, debugPoly = false },
        { location = vector3(-1391.2, -306.77, 39.88), radius = 2.3, minZ=39.0, maxZ= 41.0, distance = 2.0, debugPoly = false },
        { location = vector3(-1381.82, -305.67, 39.88), radius = 2.3, minZ=39.0, maxZ= 41.0, distance = 2.0, debugPoly = false },
        { location = vector3(-1385.29, -302.04, 39.88), radius = 2.3, minZ=39.0, maxZ= 41.0, distance = 2.0, debugPoly = false },
    }
}

-- Config.Recipes  
Config.Recipes = {
    [1] = {
        Label = "Apple Lager",
        Description = "The Rebel Lager needs to ferment for a long time, but it is worth the wait",
        Image = "drink1.png",

        Mashing_Time = 300, -- seconds
        Mashing_Ingredients = { -- In this table you add all required items to start the mashing process.
            [1] = {
                item = 'grain',
                amount = 35
            }
        },

        Fermenting_Time = 600, -- seconds
        Fermenting_Ingredients = { -- In this table you add all required items to start the Fermenting process.
            [1] = {
                item = 'yeast',
                amount = 4
            },
            [2] = {
                item = 'apple',
                amount = 25
            }
        },

        ---------- Bottle making process
        Required_Bottle_Item = "empty_beer_bottle",
        Finished_Bottle_Item = "apple_lager_beer",

        Bottle_Amount = 60, -- How many beer bottles you can make from one brew
    },
    [2] = {
        Label = "Fruity Porter",
        Description = "Tasty and refreshing beer made with love and a bunch of fruits",
        Image = "drink1.png",

        Mashing_Time = 300, -- seconds
        Mashing_Ingredients = { -- In this table you add all required items to start the mashing process.
            [1] = {
               item = 'grain',
               amount = 50
            }
        },

        Fermenting_Time = 300, -- seconds
        Fermenting_Ingredients = {
            [1] = {
                item = 'yeast',
                amount = 1
            },
            [2] = {
                item = 'grape',
                amount = 20
            },
            [3] = {
                item = 'apple',
                amount = 20
            },
            [4] = {
                item = 'pear',
                amount = 20
            },
            [5] = {
                item = 'banana',
                amount = 20
            },
        },

        ---------- Bottle making process
        Required_Bottle_Item = "empty_beer_bottle",
        Finished_Bottle_Item = "fruity_porter_beer",

        Bottle_Amount = 60, -- How many beer bottles you can make from one brew
    },
    [3] = {
        Label = "Neineken",
        Description = "Cheap knock-off Heineken made in Germany.",
        Image = "drink1.png",

        Mashing_Time = 300, -- seconds
        Mashing_Ingredients = { -- In this table you add all required items to start the mashing process.
            [1] = {
                item = 'grain',
                amount = 35
            }
        },

        Fermenting_Time = 600, -- seconds
        Fermenting_Ingredients = { -- In this table you add all required items to start the Fermenting process.
            [1] = {
                item = 'yeast',
                amount = 4
            },
            [2] = {
                item = 'citrus',
                amount = 30
            },
            [3] = {
                item = 'honey',
                amount = 15
            }
        },

        ---------- Bottle making process
        Required_Bottle_Item = "empty_beer_bottle",
        Finished_Bottle_Item = "neineken_beer",

        Bottle_Amount = 60, -- How many beer bottles you can make from one brew
    },
}

Config.Usable_Items = {
    ["fruity_porter_beer"] = {
        Thirst = math.random(35, 55),

        ------- Effects  -------
        TrevorEffect  = false,
        AlienEffect = true,
    },
    ["apple_lager_beer"] = {
        Thirst = math.random(35, 55),

        ------- Effects  -------
        TrevorEffect  = false,
        AlienEffect = true,
    },
    ["neineken_beer"] = {
        Thirst = math.random(35, 55),

        ------- Effects  -------
        TrevorEffect  = false,
        AlienEffect = true,
    },
}

QBCore Requirements:

  • qb-core
  • qb-target
  • qb-menu
  • qb-input
  • dpemotes
  • PolyZone
  • oxmysql

ESX Requirements:

  • es_extended
  • qtarget
  • progressBars
  • nh-keyboard
  • nh-context
  • oxmysql
    I’ve only tested the esx version on esx legacy, but it probably works on other versions as well.

Other Resources From Us:

Code is accessible Yes
Subscription-based No
Lines (approximately) 1300
Requirements View Above
Support Yes