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 when loading player saved prices config.
Fixed a bug where IA config wasn't being generated.
Added a new VM (ModelEngine):
(for real this time)
Fixed bug of plugin hanging up on some servers startup.
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)
Added the following VMs and UIs. They are created automatically!
Changed RP link to a non encypted one.
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.
To download config files, go to the official discord.
Fixed a bug with "vendingmachines.place" permission.
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!!
New messages where added to the editor menu.
Fixed bug where if an item used buy and sell prices didnt showed up.
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.
Now you can disable buying (set price to 0)
Added 3 new messages for item info.
ExtraItemInfo_OnlySell: §7§iShift click to sell
ExtraItemInfo_OnlyBuy: §7§iClick to buy
ExtraItemInfo_Both: §7§iClick to buy, shift click to sell
Now if you are using an old version of MEG, plugin will still load.
Added a new VM!
Changed IA contents folder organization to make it compatible with older versions.
(Make a backup of your config before updating)
This version requieres Java 16
A code rework has been done, now entities could be VMs and not only blocks.
Added support with ModelEngine, you could use any MEG model as a VM.
If you have MEG installed (including free demo version) you will have this new VM.
Added HexColor support to messages.
Added LightApi support. Up to 1.19, until they update.