π§Bubble Cafe!
Installation Guide!

π¦ Dependencies
Make sure these dependencies are installed before using this script:
dependencies {
'ox_lib', -- Required
'xmmx_bridge', -- Required
'gcom_bubblecafe', -- Required - Contains the MLO and some props
'cfx-djs-uwu', -- Required
}
π§ Configuration
config.lua
config.lua
Version: Enable update/version checking.
Images: Inventory image path for your item icons.
Receipts: Enable customers receive a receipt item.
Menu Options:
ui
: built-in UIox
: ox_libqb
: qb-menuxm
: xm_menu
Customize crafting menus, color schemes, HUD toggles, and cashier items here.
πΊ Location
location.lua
location.lua
Enables all the interactive crafting spots. Modify the coordinates, prop spawning, blips, and zone definitions such as:
Customer Menus
Boss Menus
Cash Registers
Sinks & Workstations: Juicer, Griddle, Oven, Brewer, Stove, etc.
Trays & Storage
Each entry includes:
{ name = "example_name", coords = vector3(x, y, z), heading = 110.0, width = 1.0, length = 1.0, height = 1.0 }
Adjust for your MLO as needed.
π½ Recipes
recipes.lua
recipes.lua
Define crafting recipes based on stations (Stove, Oven, Brewer, etc.). Each entry includes:
{ ['output_item'] = { ['ingredient1'] = count, ['ingredient2'] = count }, ["amount"] = 10 }
You can create custom categories such as:
CafΓ© Stove
CafΓ© Griddle
CafΓ© Frozen
CafΓ© Chopping
CafΓ© Supplies
Example:
["CafΓ© Stove"] = {
{ ['bub_chikramen'] = { ['bub_rawchik'] = 1, ['bub_ramen'] = 1 }, ["amount"] = 10 }
}
πΊ Chairs
seats.lua
seats.lua
Enables player seating interactions using xmmx_bridge
. Types include:
chair
booth
couch
barstool
toilet
Each seat entry includes:
{ x = 0.0, y = 0.0, z = 0.0, rot = 110.0, type = "barstool" }
Use CancelKey
(default: X
) to exit the seat.
π Metadata
metadata.lua
metadata.lua
Sets hunger and thirst restoration values for food/drink items. This works automatically for qb-core
or es_extended
.
Example:
FoodMeta = {
["bub_pancakes"] = math.random(30, 50),
}
DrinkMeta = {
["bub_lattebrew"] = math.random(30, 50),
}
Edit values to match your needs or server balance.
β
Final Steps
Ensure all dependencies are installed and started.
Add all items to your inventory system (
qb-core/shared/items.lua
,ox_inventory/data/items.lua
, etc.)Verify crafting station placement aligns with your MLO layout.
Restart the server or resource after changes.
Last updated