Skip to content

Choose a tag to compare

@By1337 By1337 released this 25 Jul 12:02
· 2 commits to master since this release

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 file database type.
    • Temporarily removed support for the mysql database type.

Commands

  • Renamed Command: /bv clearDb has been renamed to /bv drop.
  • New Command: Added /bv exportBalTop which 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 BEconomy service now registers in onLoad. 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.