Vending Machines
Machines placed around the city hold real stock, sell to passers-by and bank the money for their owner.
AK4Y's Vending Machines turn snack and drink machines into small player businesses on a FiveM server. Each machine holds actual stock, sells to whoever walks up, and keeps the cash until its owner returns to collect. AK4Y released it in August 2025.
How it plays
A player walks up to a machine, opens its menu and buys something. That item leaves the machine's stock and the money goes into the machine's balance. The owner comes back later, sees what is left and how much is waiting, restocks and takes the money, all from the same screen. Once a machine runs dry it stops selling, so machines on busy corners need an owner who keeps them filled.
For server owners
- Place machines at any coordinates and assign each a category (drinks, snacks and so on).
- Set prices per machine. Stock has to match the machine's category, so food cannot go into a drinks machine.
- Define machine types in the config with their allowed items, markers, interaction range and interface options.
Before you install
- ESX, QBCore and Qbox
- ak4y-core, which comes with the machines
- AK4Y's docs list the item definitions to add for QBCore, ox_inventory and ESX
Also by AK4Y
Pair it with Spawn Selector V2 for a map-based arrival screen, or see the rest of AK4Y's resources.
Write a review
Reviews are moderated before appearing. Purchased the product? Your review gets a VERIFIED badge automatically.
Included with this resource
- The ak4y-vending resource with buy, restock and collect menus
- ak4y-core, packaged alongside so nothing else is needed
- Config for machine types, allowed stock, prices, map markers and interaction range
- Sample drinks machine and food machine ready to copy
- SQL file and language files
- Client and server utility files you can edit