2.10.0
API Changes
- Implemented set api methods, which can be used to set the balance for accounts.
EconomyResponse set(@NotNull final String pluginName, @NotNull final UUID accountID, @NotNull final BigDecimal amount);
EconomyResponse set(@NotNull final String pluginName, @NotNull final UUID accountID, @NotNull final String worldName, @NotNull final BigDecimal amount);
EconomyResponse set(@NotNull final String pluginName, @NotNull final UUID accountID, @NotNull final String worldName, @NotNull final String currency, @NotNull final BigDecimal amount);
2.9.0
API Changes
- Added standards for minimum Vault Unlocked Support. Projects that meet these standards may request a review to use the badge associated with the API type(economy, etc) that they use. Request review here.
- Added balance methods in same format as the old getBalance methods.
Deprecations
- Deprecated getBalance methods, these are marked for removal in 3 releases. Use balance methods instead.
- Deprecated createAccount methods without nonPlayer. Use the methods that include the nonPlayer parameter.
Added two new API methods to replace the current createAccount methods. The old methods have been deprecated for removal in a later release.
- boolean createAccount(final UUID accountID, final String name, final boolean player)
- boolean createAccount(final UUID accountID, final String name, final String worldName, final boolean player)