Overview
Cafe Cool Beans is a coffee shop job script. Employees craft coffee, bakery items, juice, and soup from raw ingredients and sell them to customers; a music box sets the mood and guests can sit at the tables.
coolbeans · Framework: QBCore / QBox / ESXFeatures
Crafting Stations
Coffee Machine, Oven, Bakery, Juice, Material prep. Recipe-based menus, animation + sound per station.
Customer Sale
Customers order from the stand; sold from stand stock when an employee is on duty, otherwise at config price.
Music Box
Jukebox + Boss room music device (xsound) — play by URL, volume/loop control, paid.
Sit System
Sittable chairs across the cafe (ox_target / qb-target box zones).
Stock + Stand
Raw material purchase (freezer shop), worker stand stash, ice from the IceBreaker.
Consumables
Every crafted drink/food is usable — plays a drinking/eating animation and removes one from the inventory.
File Structure
wentus-coolbeans/
├── fxmanifest.lua
├── config.lua # Config.Base + Config.Settings
├── shared/bridge.lua # global Core (QBCore/QBox/ESX)
├── client/
│ ├── utils.lua # CoreGeneral (client) + helpers
│ ├── client.lua # zones, customer, blip
│ ├── menu.lua # menus
│ ├── animations.lua
│ ├── consumables.lua # item → animation reference
│ └── sit.lua # chair sitting
├── server/
│ ├── server.lua # CoreGeneral (server) + callbacks
│ ├── consumables.lua # usable item registration
│ └── music.lua
├── locales/ en.lua · tr.lua
├── items.lua # QBCore format
└── items-qbox.lua # ox_inventory format