This release adds some miscellaneous improvements to the plugin, some to correct potential issues that may occur in rare situations.
Auction File Improvements
Changed the way listings are loaded on startup so that in the event of an I/O exception, it will now disable the plugin rather that continue with empty listings that might be saved back to file.
Changed the way listings are loaded on startup such that it creates a backup of the auctions.dat file. It overwrites this file on startup, so if you lose your auction data for some reason, stop the server (don't restart it), then restore from the backup, then restart.
Transaction Processing
Improved the way that transactions are processed to prevent an issue where an item would be received if the economy transaction actually fails for reasons other than lack of funds such as an exception.
Announcements
Added a message to all users when a player purchases an item in the auction that is enabled when auctions.announce is set in the config.yml.
Discord Integration
Added a setting in the config.yml for auction.discord that will send both listing announcements and transaction announcements to a DiscordSRV enabled server (requires DiscordSRV plugin).
Better Max Listings
Changed the way the plugin determines the max listings value to use. Instead of meta taking precedence over permissions taking precedence over the config.yml setting, it now will consider all three and take the highest setting. So if you are only using permissions, it would take the higher of a players auctionhouse.auctions.# permission and their rank group's auctionhouse.auctions.# permission. This makes it easier to use temporary permissions to add a higher max listings for a player, including timed permissions (since there is no timed meta).
NBT UUID Replacement
Added a setting in the config.yml for auction.replaceUUIDs that will change any Seller UUIDs inside the NBT data to that of the Buyer upon purchase of an item. This feature is useful for some plugins that store Owner related UUID values as Strings inside the NBT of an item (i.e. vbackpack).
Updated config.yml version to 14. Updated locale file en_us.json to 18. Locale file additions include:
"message.sell.player.item_sold": "&e{0} &6sold &e{1}x &f{2} &6to &e{3} for &b${4} &6on the auction house!",
NOTE: As with and update, please backup your data before the upgrade in case you run into problems.