Interface MoneyService
public interface MoneyService
Manages player money balances with full
Cause tracking and Vault integration status.-
Method Summary
Modifier and TypeMethodDescription@NotNull TransactionResultdoublegetBalance(@NotNull UUID playerId) doublebooleanboolean@NotNull TransactionResultsetBalance(@NotNull UUID playerId, double amount, @NotNull Cause cause) @NotNull TransactionResult
-
Method Details
-
getStartingBalance
double getStartingBalance() -
getBalance
-
has
-
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()
-