![⚡ 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.5
An economy plugin that hooks into vault, manages the economy and offers extra features.
Modifications to prevent cases in which items are taken from menus on extreme lag.
IMPORTANT MODIFICATION on no-economy setting.
For future users, the plugin will not handle the economy by default! It will provide all the features but will not store the money inside it unless no-economy is set to false.
This decision has been taken after noticing that advanced versions of EssentialsX have a somehow agressive economy that collides with RoyaleEconomy and can produce data losses on latest versions of minecraft. I REPEAT, you can still have the economy maintained by RoyaleEconomy by setting no-economy to false, it is also required for bungeecord usage. Since a lot of servers use CMI or EssentialsX, I am trying to avoid future inconveniences this way.
Fix of the pay command for offline players on MySQL Non Bungee.
Fixed some issues with menus settings.
The Banks and Shared Banks will be cached on MySQL to improve performance. (BETA)
You can now use placeholders in shop names.
An issue regarding coin bags should be fixed.
Only updates the channel name for the latest bungeecord addon update
Added a ShopBuyEvent to the API
Added a /rec bank/sharedbank setUpgrade command
Made /pay work for offline players too
Implemented plugin messaging for bungeecord (will require RoyaleEconomyBungeeAddon, read more about it on the addon's page)
The Sign GUI should now work on 1.17 (doesn't work on 1.18 though)
Chat GUI was modified to try to remove chat formatting
Modified database transfer functions which had some problems
While testing the bank found a no-economy bug which I fixed (no need of it being mentioned)
Fixed some placeholders not behaving.
Attempted some modifications that would allow RoyaleEconomy and EssentialsX's Economy to coexist better.
Essentials' Files changed in more recent update without me noticing which could have caused some issues on import. (Modified the /rec_importessentials command)
Modified some BentoBox functions
Added /killcoins messages - which will toggle the messages you get from killcoins
Time Rewards reset command: /rerewards reset
Modified the shop mechanics, added some extra restrictions to prevent the creativity of some people that find ways to bug the shop.
You can now have enchanted items in the menus by adding " enchanted" at the end of the id (example: item-id: '158 enchanted').
%royaleeconomy_purse_death_amount% and %royaleeconomy_purse_death_amount_no_commas% placeholders were added on request of a buyer, they display the default amount you can lose, depending on the talismans you have on you and the default lose percent defined in the config.
The balance top now has a page load limit to prevent usage of unecessary memory.
The balance top function is now available even on no-economy: true. It will try to hook to Essentials or CMI for the purse top, in case it does not succeed it will just display the top with the players online at the moment of it's refresh.
Added boosters based on permissions for the command /rec purse add player amount -applyBooster. If used without -applyBooster it works normally but with -applyBooster it will check if the player (if online) has the permission to get an extra percent of the amount.
Config added:
command-boosters:
#The order you define them will also mean their priority
#Higher permissions should be put first
#They only apply on the /rec purse add player amount -applyBooster
#These boosters are not displayed in the /boosters command because they are for admin usage
booster-1:
permission: 'mvp'
percent-boost: 20
booster-2:
permission: 'vip'
percent-boost: 10
You can have a separate name for the detailed shop menu if in it's file you add detailed-title: 'name'
- performance was improved
- IridiumSkyBlock & GalacticSkyBlock compatibility added (keep in mind was not able to test every plugin hooked that I modified because I don't have friends to test with *sad face*, if you encounter any problem with a hook plugin contact me asap)
- while hooked, shared banks are no longer based on players, it will hook to the island itself (allowing it to generate banks even for islands created before the plugin was added)
- all hooked shared bank data will be reset due to the plugin creating a new table for the hook plugin instead of using the old shared bank table, shared bank data for non-hooks remains.
Fixed a critical bug regarding shared banks which allowed two players who have the deposit/withdraw menu open at the same time execute the transaction twice, which could bypass bank limits or create negative amounts.
Added a toggle option for the /pay command which lets users not receive coins through that command.
Placeholder Handling was modified a bit to stop an error that was thrown from the TAB plugin.