![⚡ RoyaleEconomy ⚡ [1.8-1.21] icon](https://images.polymart.org/product/113/thumbnail.png?t=1&v=3)
⚡ RoyaleEconomy ⚡ [1.8-1.21] 2.4.6
An economy plugin that hooks into vault, manages the economy and offers extra features.
Updated NBTAPI for 1.20.4 support
Fixed tab complete proposals
Internally modified the MySQL driver for exceptional cases where it would not load.
Removing a console message spam
AnvilGUI updated for 1.20
Fixed a bug for item switching in the shop manager gui.
Fixing eco plugin's NullPointerException
Made placeholders that are not dependent of player work instead of returning empty text
Chat inputs should now filter automatically the invalid characters that resulted in problems when using fancy chat formatters
Modified lots of shop internal mechanics.
Prevents item dupes in shops caused by some inventory mods.
Modified the shop buy with items internal mechanic that was causing an issue where more items would be taken if special conditions were met.
Updated the NBTAPI so the plugin works with 1.20.2.
Should work with 1.20.2 but without sign guis (ProtocolLib incompatible at the moment)
Moved shop sell limits completely to SQL, also fixed a bug regarding their reset date.
Fixed an error triggered at shop creation that was not affecting the action, just polluting the console.
The sign gui should now work on 1.20 as well.
Shops can now have an open-commands section in their config. For existing shops it won't be generating the settings but shops you create with this version onward will. The section looks like this:
open-commands:
use: true
permission: rec.command.king
permission-message: '&cYou don''t have permission to open this shop!'
commands:
- custom_shop_open_command
Readded the reload command for messages only.
When the sign gui is unavailable it will be replaced by an anvil gui, this can be overriden as well by a chat selection type specified in the config. (The sign gui is still unavailable for 1.20)
ShopSellEvent is now cancellable
You can disable purchasing directly in the main menu shop now.
The currency API was moved in the API folder but I kept a copy in the MultiCurrency package as well for legacy purpouses (it might disappear in the future).
You can enable a balance top for each currency now. It displays a maximum of 10 people and refreshes every 5 minutes, it is accessible via /currency balancetop, it can be forcefully refreshed via /currency balancetop refresh (only by ops).
To have it accessible for a currency you need to add use-balance-top and balance-top settings in the config section of the currency, as shown below:
currencies:
#This is a currency id
tokens:
use-balance-top: true
balance-top:
header: '&7&m---------[-&f &eTop Tokens &7&m-]--------'
top-player-structure: '&e#%top-position% &f%player-name% &7- &e%amount% tokens'
footer: '&7&m---------[-&f &eTop Tokens &7&m-]--------'
coins-value: 5
#Can have fractions of currency? like 2.1, 3.4 etc
decimals: true
Added multi currency to the blackmarket (BETA)
Fix issues with the currency command (caused by the dynamic commands update)
Removed most of the commands from plugin.yml, you can now customize them inside commands.yml.
You can add extra permissions, you can setup aliases, you can completely disable a command (like bank, which was not a command you could disable).
Implemented the same dynamic commands system for registering currencies, so they should appear in tab complete now! NOTICE: old config included the '/' inside the command, YOU SHOULD REMOVE THAT NOW! (example: from '/gems' to 'gems')
Added config settings for mysql (useSSL & allowPublicKeyRetrieval)
Made sell wands unstackable if generated via command
Added use-bank-logs setting in config.yml
Added 1 second cooldown to deposit and withdraw menu to prevent menu spamming.
You can now create custom items for most menus of RoyaleEconomy that can trigger different actions. Check customMenuItems.yml!
Added %item-count% placeholder for shop menus
Fixed SharedBankDepositEvent synced trigger.
Modified the multi-currency shops to prevent a currency bug.
Added an option on most messages so when set to '', the chat will not display anything. (if you do need an empty output 'space' should work)
Fixed an issue on my side with the AbstractEconomy implementation that would not let FactionsUUID properly integrate.