
30% OFF|✨ VENDING MACHINES ✨ 1.5.8.5
A new way of creating shops! (Compatible with ItemsAdder and Oraxen)
Changed IA API version to "3.6.3-beta-14".
Fixed 2 bugs related to item buy/sell to other players
Now VMs entities will be all called "VendinMachine-Entity" to make them easier to find.
On some server there was a bug where entities where not being killed properly. Now you have a
a config "ForceEntityKill" that if set to true will handle the entity killing by position, killing all in a .5 radious from vm. This should help to fix that issue.
now players cant place VMs if they can't build on a region.
Fixed a bug where IA config wasn't being generated.
Added a new VM (ModelEngine):
Changed "/vm" command permission to "vendingmachines.menu", also fixed a bug with "reload" command permissions.
Fixed an important bug when selling items to a VM.
Added a new message "SellerNoMoney" that is executed when you try selling to a VM and the owner of the vm doesn't have the money to buy the item.
Changed "vendingmachines.sell" permission to "vendingmachines.sellstocktomax" to make it less confusing. (if a player has this permission the stock of what they are selling is set to max automatically, use only for admins)
Sell and buy prices are saved in a file named UserSavedPrices as the following:
a56a5112-a907-3acb-86b5-a238491b1a14:
'77401197': 123.0
'77401198': 111.0
USER UUID. ITEM BUY PRICE. ITEM SELL PRICE.
Then plugin will now "automatically" assign prices if they were assigned previously.
Now you can add buy and sell commands to be executed byu the console when an user buys or sells.
You can use %player% variable or any placeholderapi variable!
Added Halloween VM models and UI. Config files are not included, they are available in discord, just enter, get verified and download them.
Now if you are using 1.19.4 up display entites are used and not armor stands.
This should be faster, and now blocks look fine inside VMs!!
A new feature was added that allows vending machine stock management.
Now only authorized users can place "vendingmachines.place", reload and modify the vending machines.
Messages were added for low stock condition and inability to place machines due to permissions.
The default stock for the vending machine items was set to maximum for players with selling permission and zero otherwise.
The stock now lowers when items are bought and increases when items are sold.
'Stock' and 'OwnerName' fields were added to vending machine instances and are stored in the config files.