Modified some database events to improve performance. (BETA - was tested on 2 servers, performance was indeed improved but I can't tell what happens when huge amounts of players are involved)
Added the possibility to use /rec purse add * amount to give every player online an amount of coins.
Added two new messages for banks - you will not be able to open the deposit menu when the bank is full and also the withdraw menu when the bank is empty.
Fixed » Clicking a chest that you can't open while having wands enabled will show the wand cancel message even if you don't have a wand in your hand.
Fixed » Anvil GUI displays 'Paper' when opened, it now displays an empty space.
Fixed » I am sure I fixed something else but can't remember what, oh well, as long as it is fixed it doesn't matter.
Fixed » Vault Hook changes that were made broke the withdrawal function for personal banks in update 1.4.2.1
Added » For people that use custom textures in versions below custom model data, you can now add unbreakable at the end of the item id (example: '276:1 unbreakable' - diamond sword with 1 durability and unbreakable).
Enabled bank support in Vault Hook which will allow some plugins to hook and create virtual banks inside RoyaleEconomy.
Fixed compatibility with SuperiorSkyBlock » On quit you would be removed from your shared bank.
Due to a prison server insisting that 10^20 is not a big enough number, the maximum amount of coins the plugin can handle has been raised. Servers that use SQLite can have numbers up to 10^300 (very big number). Servers that use MySQL will need to execute a command in console (/rec_extend_coins_maximum_value [amount_of_digits]) which will update the maximum value to the amount of digits specified.
Short format units modified to allow you to add as many number formats as you want. (You specify the number of zeros and what you want to be displayed instead of them).
Sell All Command and Wands can now have a cooldown. For a wand to have a cooldown just add 'cooldown: number of seconds' in the wand's section.
Boosters now apply for sell all command and wands too.
Created a RoyaleEconomyAPI jar which allows developers to hook to the plugin's api without having a copy of the main plugin. (The api does nothing for normal users, useful for developers only). You can download it from a link specified in the plugin's page.
Fixed » The Player Cache added in recent updates doesn't support non-existing player balances with longer names than 16 characters
Added 3 functions in the shops' api:
- openShopToPlayer(Player player, String shopName) (Opens a shop to a player)
- getPriceOfItem(ItemStack item) (returns the global sell price of an item)
- getPriceOfItem(ItemStack item, Shop shop) (returns the sell price of an item for a specific shop only)
Added volume modifications on sounds and also decimal support: soundTypeitch:volume
Pay command requires a minimum of 0.01 now.
