For the complete documentation index, see llms.txt. This page is also available as Markdown.

📥 Installation

1. Requirements

17mov_VendingMachines requires oxmysql.

Make sure oxmysql is installed and started before Vending Machines.

The resource automatically detects supported frameworks, inventories and interaction systems, so your framework, inventory and target resource should also start before Vending Machines.

2. Add the resource

Place the 17mov_VendingMachines folder inside your server's resources/ directory.

Then add this line to your server.cfg:

ensure 17mov_VendingMachines

We recommend keeping it at the end of server.cfg, after your framework, inventory and target resources.

3. Database setup

The database is installed automatically by default when:

Config.InstallDatabaseAutomatically = true

4. Add the required items

Vending Machines uses two items:

Item
Purpose

vending_machine

Used to place a new vending machine

vending_tablet

Used to open the management tablet when tablet access is configured to use an item

Choose your inventory below and copy the provided code into the indicated file or database table.

Add the following entries to:

If you use the default ESX database item system, run:

Add the following entries to:

5. Add item images

Copy the included item images to the image folder used by your inventory:

6. Restart and verify

Restart your server after completing the installation.

If the resource reports that no supported framework or inventory was detected, check your resource start order and make sure 17mov_VendingMachines starts after them.

If automatic detection does not match your setup, bridge selection can be configured manually in shared/bridge.lua using Config.Framework, Config.Inventory and Config.Interaction.

Next steps

Once Vending Machines is installed and running correctly, you can customize products, placement rules, the wholesaler, interactions and other behavior in the configuration.

⚙️ Continue to Configuration →

Last updated