v2.17.4
Oxide
5.9K downloads

Fixed for upcoming Rust update

Previous versions
v2.17.3
Oxide
3.6K downloads

Fixed compilation error for upcoming Rust update. This update is safe to install now.

v2.17.2
Oxide
5.7K downloads

Fixed compilation error for upcoming July force wipe. This version is SAFE to install before the Rust update.

v2.17.1
Oxide
3.3K downloads

Fixed regression with the Economics and Server Rewards currency integration which resulted in players needing to have the equivalent item in their inventory to complete a purchase (when the config specified a custom skin)

v2.17.0
Oxide
594 downloads
  • Added optional feature for liquid currency (vending machines can charge you liquids, which will be taken from containers in your inventory)
  • Removed skin overlay config options, in favor of new vanilla Rust capabilities to display the correct skin
  • Fixed players sometimes receiving the incorrect amount of scrap when factoring in dynamic prices (incorrect rounding)
  • Fixed vending machine map markers potentially displaying incorrect stock immediately after an admin edits the vending machine
  • Fixed dynamic prices sometimes moving in the reverse direction depending on the vending machine's original configuration
  • Fixed the position of the Edit and Reset buttons visible to admins since the latest Rust update
v2.16.0
Oxide
2.3K downloads

Added support for saving item text in custom vending offers, since some plugins like to use that to store important data

v2.15.1
Oxide
1.5K downloads

Fixed regression with Economics and Server Rewards integration where players could not sell items to a vending machine in exchange for those currency types (would get the configured item/skin instead)

v2.15.0
Oxide
585 downloads

Added support for persisting deep sea vendor customizations

v2.14.6
Oxide
6.9K downloads

Fixed for May Rust update

v2.14.5
Oxide
811 downloads

Fixed issue where armor items purchased from customized vending machines would be missing insert slots. Previously saved insert slot data will now be correctly applied.

v2.14.4
Oxide
422 downloads

Fixed issue where item ownership wasn't being set correctly when players purchase items from vending machines

v2.14.3
Oxide
3.4K downloads

Fixed issue where attempting to purchase a large amount of scrap in bulk would cancel the transaction (i.e., do nothing) when it should have been allowed, due to dynamic pricing not being factored in until a later phase of the transaction

v2.14.2
Oxide
1.7K downloads

Fixed compatibility issue with the Carbon compiler

v2.14.1
Oxide
640 downloads

Fixed for upcoming Rust update.

This update also fixes an issue where customized water well vendors would have their customizations undone periodically whenever stock rotates. Stock will no longer rotate for water well vendors that have been customized.

v2.14.0
Oxide
2.7K downloads

Sales data for customized vending machines is now saved in a data file. This fixes an issue where dynamic price changes were lost on server restart. This solution will work as long as the vending machine is not respawned or its position does not change throughout the wipe.

Fixed issue where map data providers would not work correctly on server reboot until the plugin was reloaded.

v2.13.0
Oxide
2.9K downloads
  • Added support for customizing the travelling vendor, but note that this does not support random stock or random prices like in vanilla
  • Added option per vending machine to bypass dynamic pricing, in the note at the bottom right of the edit panel
  • Fixed issue where dynamic prices were not counting sales correctly
v2.12.3
Oxide
613 downloads

Fixed Economics and Server Rewards integration issue caused by the latest Rust update

v2.12.2
Oxide
696 downloads

Added support for the new dynamic price capability for July Rust update.

Support for customizing traveling vendor vending machines will be added in a future version within the next few days.

Please report any issues that you find with this Rust update in the help section.

v2.12.1
Oxide
1.1K downloads

Fixed compatibility regression for olders versions of some plugins that function as data providers (Monument Addons and Talking Npc Vendors)

v2.12.0
Oxide
264 downloads
  • The Monument Finder plugin is now an optional dependency, only necessary if you want the plugin to remember vending machine settings relative to monuments (which is probably most use cases, so don't uninstall MF unless you are sure). The main advantage to this change is that you can now customize vending machines that are not at monuments.
  • The admin panel for vending machines now says what "data provider" the vending machine uses, to help you in troubleshooting. The data provider determines how/where the plugin will save and load data for the vending machine. More information is available in the plugin documentation.
  • Added OnCustomVendingSetupGiveSoldItem hook to assist other plugin developers with observing vending machine transactions. An example of using it can be found in the plugin documentation.
v2.11.1
Oxide
2.7K downloads

Improved compabitility with Monument Addons (recommended to install v0.16.1 of that plugin if you are using it)

v2.11.0
Oxide
604 downloads

Added feature to customize vending machine skins, in the same note where the vending machine name is configured

v2.10.3
Oxide
2.7K downloads
  • Fixed the stack size configuration feature not working due to a Rust update
  • Slightly updated position of UI to match recent Rust changes
  • Enable skin overlays by default for first-time installations
v2.10.2
Oxide
6.9K downloads

Fixed for May Rust update

v2.10.1
Oxide
1.0K downloads

Updated for Rust update, to replace the old saddle item with the new saddle items.

For any vending machines that you have customized, if they are currently configured to sell the old saddle item (which is no longer usable), they will be updated to sell the new "single" saddle item instead (same price, same currency, etc.), and a new "double" saddle offer will be added to the vending machine if there is space, using the same price ratio as vanilla (+20% cost compared to the "single" saddle).

v2.10.0
Oxide
721 downloads

New features

  • Added support for Economics and Server Rewards

Bug fixes

  • Fixed a visual bug where skin overlays would be hidden after making a transaction, while using the Harmony mod "Instant Vending Process" (it's an alternative to the "Instant Buy" plugin)

How to set up Economics / Server Rewards currency

First you need to edit the config to designate a specific item & skin combination that corresponds to Economics or Server Rewards currency. Second, edit a vending machine to buy or sell that item with that skin. When a player does that transaction, they will spend or receive Economics or Server Rewards currency.

Noted limitation: Players cannot spend Economics or Server Rewards currency from a drone marketplace. They must do the transaction in person.

FAQ

Q: Can I use both Economics and Server Rewards at the same time?

Yes, but you need to designate different skin IDs for them.

Q: Can I use a vending machine to exchange Economics and Server Reward currency (if using both)?

Yes, you can exchange both ways. Just sell the Economics item for the Server Rewards item or vice versa.

v2.9.0
Oxide
2.0K downloads
  • Fixed compatibility issue with Vending In Stock
  • Added support for Item Retriever
v2.8.0
Oxide
1.6K downloads

New features

  • You can now configure whether delivery drones can access vending machines, by clicking the drone button while editing a vending machine.
v2.7.1
Oxide
1.0K downloads

Bug fixes

  • Sort Button and other plugin UIs will no longer be displayed in the edit view
  • Fixed UI positioning in edit container which was off since a recent Rust update
  • Fixed issue where vending machines could overstock when a player sells an item that the vending machine also sells
  • Fixed compatibility issue with artifacts from the Enchanted Items plugin (also requires an Enchanted Items update which hasn't been released yet)

FYI: A recent Rust update appears to be causing an issue where when a vending machine restocks, if a player had typed in the amount they want to buy, that amount will be reset. If you want to avoid players being disrupted by restocks, we suggest you avoid low restock delays. For example, instead of a 1 second delay (which some servers are using), simply use a 0 second delay for instant restock. Alternatively, raise the restock delay to greater than 10 seconds, and increase the restock amount to compensate.

v2.7.0
Oxide
3.6K downloads

New features

  • Added ability to overlay skin icons in the shop view. To opt-in to this feature, set Shop UI settings > Enable skin overlays to true in the config. While that option is enabled, skinned items in the "Cost" column will always show the skin overlay, and items in the "For Sale" column will show the skin overlay if the vending machines sells more than one skin of that item.

Improvements

  • When a player sells a loaded weapon to a vending machine, the weapon's ammo will automatically be returned to the player's inventory instead of being deleted.
  • Players may no longer sell items that have child items (e.g., weapons that have attachments) to vending machines, since that would cause the child items to be deleted. Now, the player must first remove the child items.
  • Admins with the customvendingsetup.use permission will no longer see the administration buttons (Edit & Reset) while the vending machine is processing their transaction (not applicable if using Instant Buy).
  • When saving a vending machine, its monument-relative position will also be updated in the data file, in case the vending machine had been moved since it spawned or since it was last saved. You may now move vending machines as often as you like, as long as you resave them afterward.
v2.6.0
Oxide
1.0K downloads

New features

  • Vending machines can now sell items with a designated ammo type and amount. To use this feature, simply load a weapon with the desired ammo, and save it in the vending machine.
  • Vending machines can now sell weapons with attachments. To use this feature, simply save a weapon in the vending machine with the attachments inside. This feature also applies broadly to any item that can have other items inside it, including the fog machine, snow machine, candle hat, miner hat, lantern, tuna can lamp, bota bag, water bottle, water jug, chinese lantern, water gun, water pistol, wrapped gift, wrapping paper, fishing rod, portable boombox, and cassette recorder.

Improvements

  • Improved the responsiveness of the UI when saving or resetting vending machine settings.
  • Replaced OnOpenVendingShop hook with OnVendingShopOpened to avoid logging warnings.
v2.5.0
Oxide
1.5K downloads

Improvements

  • Players can now spend skinned currency when the vending machine wants unskinned currency. For example, if a vending machine asks for an unskinned rifle as currency, players are permitted to spend a skinned rifle instead. This does not apply in reverse, meaning that if a vending machine asks for skinned paper as currency, the player must have paper with that exact skin.

For developers

  • Added API_RefreshDataProvider(NPCVendingMachine) method which removes a vending machine's current data provider and calls the OnCustomVendingSetupDataProvider hook again. This is intended for situations where a data provider plugin reloads and needs to replace the old data provider with a new one, without respawning the vending machine.
v2.4.0
Oxide
1.4K downloads

New features

  • Vending machines can now sell plant seeds with their genetics information. Note: Players won't be able to see the genetics information in the shop UI, but I plan to address that in a future update. Other items that use the same backing property for storing numeric information, such as keys, will also benefit from this update.

Bug fixes

  • Fixed compatibility issue with VendingInStock v1.1.0 where configuring that plugin to ignore certain items or vending machines would not be respected for vending machines customized by CustomVendingSetup.
v2.3.0
Oxide
425 downloads

New features

  • Added support for skinning currency. Previously, you could save a skinned currency item, but players could spend unskinned items. Now, players can only spend items that match the configured skin. Note: The UI won't display the skin, but I plan to address that in a future update.
  • You can now sell the same item with multiple skins in a single vending machine. Previously, all transactions would only give the player one of the skins. Now, players will get the correct skin they payed for. Note: The UI will only display one of the skins, but I plan to address that in a future update.
  • Added config option "Override item max stack sizes (shortname: amount)" which allows you to increase the max stack size of items given to players from vending machines purchases. This only applies to vending machines that you have modified with this plugin.

Improvements

  • Setting refill delay to 0 will now cause the item to be instantly restocked instead of taking a second.
  • Editing an unmodified vending machine will now detect the vanilla refill delay instead of assuming it's always 10 seconds. This is relevant to the Produce Exchange at Bandit Camp which has a refill delay of 60 seconds for all items.
  • Purchasing an item in bulk can no longer give you an item that exceeds the server's configured stack size (unless you opt-in to that behavior in the config). This is a vanilla bug that primarily happens after server restart. This fix only applies to vending machines that you have modified with this plugin.
  • Configuring a vending machine to stock more than numerically possible (2,147,483,647) will now log an informative error to help you understand the problem.
  • Configuring a high restock amount will no longer fill the vending machine's internal storage to the point where other items cannot be stocked.
  • Removed integration with UI Scale Manager since that functionality is now present in vanilla as of the February Rust update.

For developers

  • Added OnCustomVendingSetupDataProvider hook to allow other plugins to control where CustomVendingSetup retrieves data from and saves data to, on an individual vending machine basis. See the documentation for details. This is intended to be used by plugins that spawn vending machines, to allow those plugins to store vending machine settings in their own data files. For example, Monument Addons will soon use this feature to store vending machine settings in the same profile data file that defines the vending machine, which will make it possible to easily share both the vending machine and its customizations.
v2.2.0
Oxide
984 downloads

New features

  • You can now edit the stock settings of each sold item in the edit screen via notes.

Improvements

  • Currency is no longer capped at 10000 per sale offer.
v2.1.0
Oxide
510 downloads

Fixes and improvements

  • Fixed an issue where opening the container view on an unedited vending machine would prefill incorrect stacks sizes of certain items.
  • Added API_IsCustomized method so that other plugins can determine if a vending machine is customized by this plugin.

Public service announcement

Multiple people have reported issues where unedited vending machines are selling the wrong amount of certain items. That is not caused by this plugin. Some issues are caused by using the Stack Modifier plugin, and some are caused by a combination of modified stack sizes and a vanilla issue where the vending machine manifests having incorrect values. If you are seeing these issues, the current recommendation is to use this plugin to edit the vending machines to sell the correct amounts.

v2.0.1
Oxide
618 downloads

Fixed bug causing stock to increase with no bounds on customized vending machines

Huge thanks to @Rockefeller for provide a clear bug report.

v2.0.0
Oxide
613 downloads

Redesigned for new features

Backwards incompatible changes
  • Now requires Monument Finder 3.0 to be installed. No configuration needed.
  • The data file format has changed slightly, but it should be migrated automatically. You may want to back it up before updating, just in case.
New features
  • New fancy UI for easily editing vending machine orders in-game (screenshots in the documentation). You no longer need to edit the data file.
  • Now allows editing vending machine shop names.
  • Now allows toggling vending machine map markers.
  • Now supports NPC vending machines at custom monuments, train tunnels and underwater labs. For example, you can use Monument Addons to add vending machines at those locations, and this plugin will work with them.
Bug fixes

The plugin has been rewritten from scratch, so old bugs should be gone.

  • No more lag spikes every 60 seconds.