A lot of code changes happened in this update. It is now a lot cleaner, more optimised, and follows better practice than it previously did.
It is pretty much
ESSENTIAL that you delete your current config.yml file if you already have one and let the plugin generate a new one.
While most changes were just under-the-hood code improvements, there were some that users will probably care about. These are:
- The /balancetop command now also shows the combined total balances of all players.
- Added PlayerPayPlayerEvent for developers. You will have to add the TheosisEconomy jar to your plugin in order to listen for it.
- Switched from the legacy colour code format (e.g. &4Hello world!) to the MiniMessage format (e.g. <red>Hello world!</red>). This allows users to have way more customisability over their messages, including click events, hover text, etc. Read more about the MiniMessage format here: https://docs.advntr.dev/minimessage/format.html.
- Changed the include-banned-players configuration option to exclude-banned-players. It just makes more sense to have it this way in my brain. This setting also doesn't cause the server to appear to hang on startup anymore (see previous update).
- Removed the /economy reload command. I did this because it wasn't really thorough enough for my liking. I may re-add it back in the future, in a more complete state.
- The data.yml file now also stores the last known username of each player.
- Fixed some typos in comments in the config.yml file, and changed some default values. Once again, you pretty much NEED to reset your config.yml file after this update.