Coffee machines [FREE]

coffemachine

Coffee Machine Script for FiveM

This is a comprehensive coffee machine script for FiveM servers that allows players to interact with coffee machines placed throughout the map to craft various types of coffee beverages.

Key Features

:wrench: Framework Compatibility

  • Dual Framework Support: Works seamlessly with both ESX and QBCore frameworks
  • Automatic Detection: Automatically detects which framework is running on your server

:coffee: Coffee Machine System

  • Multiple Locations: Support for unlimited coffee machines across the map
  • Interactive Props: Spawns realistic coffee machine props at configured locations
  • Map Blips: Optional blip system to help players locate coffee machines

:performing_arts: Job Integration

  • Job Requirements: Optional job restriction system (disabled by default)
  • Multiple Job Support: Configure multiple allowed jobs (cafe, restaurant, chef)
  • Flexible Configuration: Easy to enable/disable job requirements

:beer: Crafting System

  • Recipe-Based Crafting: Each coffee type requires specific ingredients
  • Server-Side Validation: All item checks are performed server-side for security
  • Realistic Animation: Players perform coffee-making animations during crafting
  • Visual Feedback: Modern NUI interface shows crafting progress

:art: User Interface

  • Modern NUI: Clean, responsive web-based interface
  • Coffee Gallery: Visual display of available coffee types with images
  • Smooth Animations: 6-second crafting animation with visual feedback

:coffee: Coffee Types Included

The script comes with 6 pre-configured coffee types:

  1. Espresso - Coffee beans + Water
  2. Cappuccino - Coffee beans + Milk + Water
  3. Latte - Coffee beans + Milk (2x) + Water
  4. Americano - Coffee beans + Water (2x)
  5. Mocha - Coffee beans + Milk + Chocolate + Water
  6. Macchiato - Coffee beans + Milk + Caramel + Water

:film_strip: VIDEO PREVIEW

:key: Download Link [GITHUB]

[MY OTHER RELEASES]
:gift: Battle Royale
:gift: Prop Hunt
:gift: Bedwars
:gift: Gym + Skills Script
:gift: Weapon Throwing
:gift: Kill Effects
:gift: Temperature/Immunity
:gift: Dungeons
:gift: Team Deathmatch
:gift: Hunger Games

Code is accessible Yes
Subscription-based No
Lines (approximately) ~400
Requirements ESX/QBCore
Support Yes
5 Likes

Ox Inventory items.lua does not like your items list and it stops ox inventory from working at all.

Are there syntax changes I need to make?

Hi, there should not be an error, when adding the items to the inventory from the items.md file, if you still have the error contact me on my discord.

Thank you! This is awesome

1 Like

Would have been great if you included all the images for the items.

There are 6 coffees by default, and i included all the images for them.

Hello, this is a great script. I have a question: is it possible to omit the test and use existing machines, e.g., in an MLO?

I tried it this way, but the machine is still displayed.

coords = vector4(280.7, -974.54, 29.42, 183.13), – Bean Maschine Würfelpark
label = ‘Coffee Machine’,
showBlip = false

you would need to make edits to the client file, to use existing coffee machine props.