Repository navigation
BVault 1.1
Database Improvements
- Database Overhaul: The entire database system has been rewritten for improved performance and efficiency.
- Balance Top Storage: Balance top data is no longer stored on disk.
- Database Types:
- Completely removed support for the
filedatabase type. - Temporarily removed support for the
mysqldatabase type.
- Completely removed support for the
Commands
- Renamed Command:
/bv clearDbhas been renamed to/bv drop. - New Command: Added
/bv exportBalTopwhich creates a JSON file with the balance tops for all banks. - Improved Command Suggestions: All commands now provide accurate suggestions for existing banks.
- Balance Top Enhancements: Balance top now supports additional balance formats.
Note: It is strongly recommended to back up your data before updating.
API Changes
- Bank Name Length: The maximum length for bank names is now 16 characters.
- New Methods:
BEconomy#getKnownBanks(): Returns a list of all known banks.BEconomy#getTopByBank(): Returns the balance top for a specific bank.
- Service Registration:
- The
BEconomyservice now registers inonLoad. This change should fix issues with accessing the economy before BVault is fully initialized. However, be aware that although the economy can be accessed, it will not be functional until BVault is fully launched.
- The