- From now on, all tables from database have been altered to contain the player's name as well. This is because, before I would keep doing Bukkit.getOfflinePlayer() which would iterate through all offline players in order to get the data and call to yggdrsl (I hope I got it right, basically minecraft api to get the player's data), so if you had too many orders, it would stop working. Now orders contain the player names as well, the orders will be updated one by one every 10 seconds to not risk the SQLITE_BUSY or SQLITE_LOCKED errors. This improves performance by A LOT more than before if you had a big server! Now even thousands can be handled at exceptional performance.
[+] not_enough_money message for when a player tries to put an order but doesn't have enough money
[+] order.use (by default it can be used by everyone), but if you make it false, people won't be able to use /order
[+] /order admin opengui <username>, opens the order gui for the specified user
[~] Fixed name & material indexing to be async so it doesn't cause lag when loading (now it's A LOT faster)
[~] Fixed reload
[+] New prices format, now automatically migrated into pricesv2.yml, supports custom keywords & aliases
[+] Added new compression algorithm for order storage (works 5x faster & requires much less space)
[+] Added new PlayerQueryItemEvent (which is called whenever someone searches anything), you can also change the results of it
[+] Added new PlayerOrderItemEvent (which is cancellable), called whenever someone orders anything
[+] Added indexing to search, now it's A LOT faster than before
[~] All admin commands are now accessed through /order admin
[~] Auto Data Migration to the new compression algorithm
[~] Database operations are now faster
[~] Fixed max order limit permission parsing
[~] Fixed the ability to put negative values into new orders
[~] Fixed max order permission limit
[-] Removed DonutDatabase Support
- Added permissions (for max orders & admin)
- Fixed error for 'Cannot copy null itemstack'
- After delivering items, if cancelled, you would get back the items according to the max itemstack
