QB BeanMachine (m-BeanMachine) is a job script for the BeanMachine café on QBCore servers. Employees make juices, coffee and food at target points in the café and bill customers.
Features
- Make juices and food: target points for coffee, natural juices, juices, fruits, donuts and chocolate
- Drinks such as Ice-Tea, Sumol and Compal flavors, natural juices and Coca-Cola variants; food such as donuts and Milka chocolate (item images included)
- Billing players with target or with a command (default
/billingbean) - On/off duty point and boss menu
- Job stash (weight and slots configurable)
- Extra interactions such as washing hands and managing the temperature
- Map blip and optional custom sounds
- Config for new or old QBCore and for the names of your core, target, input and inventory resources
Requirements
- qb-core
- qb-target
- qb-input
- qb-menu
- PolyZone
- InteractSound (for the custom sounds)
Installation
- Add the items from
README.mdtoqb-core/shared/items.luaand copy the item images into your inventory. - Copy the
m-BeanMachinefolder into your resources folder. - Set the job name (default
beanmachine) and locations inconfig.lua. - Add
ensure m-BeanMachineto yourserver.cfg.
Note: the item labels in the README are in Portuguese (for example “Ice-Tea Limão”); you can rename them in your items file.