This plugin implements the logic of NPC vending machines in user vending machines located inside the specified zone. There is support for items with skins.
Remove payment item - Flag to delete payment item. If set to false, the payment item will not be deleted.
Called when trying to remove a payment item from a vending machine inside the zone. Returning a non-null value overrides default behavior.
Configuration
The settings and options can be configured in the ZoneVending file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.Default Configuration
List zones - The list of zones in which the plugin will work.Remove payment item - Flag to delete payment item. If set to false, the payment item will not be deleted.
Hooks
Called when a product is purchased at a vending machine located inside the zone. Returning a non-null value overrides default behavior.Called when trying to remove a payment item from a vending machine inside the zone. Returning a non-null value overrides default behavior.