Interface MoneyService


public interface MoneyService
Manages player money balances with full Cause tracking and Vault integration status.
  • Method Details

    • getStartingBalance

      double getStartingBalance()
    • getBalance

      double getBalance(@NotNull @NotNull UUID playerId)
    • has

      boolean has(@NotNull @NotNull UUID playerId, double amount)
    • deposit

      @NotNull @NotNull TransactionResult deposit(@NotNull @NotNull UUID playerId, double amount, @NotNull @NotNull Cause cause)
    • withdraw

      @NotNull @NotNull TransactionResult withdraw(@NotNull @NotNull UUID playerId, double amount, @NotNull @NotNull Cause cause)
    • setBalance

      @NotNull @NotNull TransactionResult setBalance(@NotNull @NotNull UUID playerId, double amount, @NotNull @NotNull Cause cause)
    • isVaultBridgeActive

      boolean isVaultBridgeActive()