Package org.core.eco
Interface CurrencyManager
public interface CurrencyManager
-
Method Summary
Modifier and TypeMethodDescriptionboolean
@NotNull Collection<Currency>
@NotNull Currency
@NotNull CompletableFuture<Optional<NamedAccount>>
getSourceFor(@NotNull String accountName)
@NotNull CompletableFuture<Optional<PlayerAccount>>
getSourceFor(@NotNull UUID uuid)
default @NotNull CompletableFuture<Optional<PlayerAccount>>
getSourceFor(@NotNull User user)
boolean
-
Method Details
-
areCurrenciesSupported
boolean areCurrenciesSupported() -
isEconomyEnabled
boolean isEconomyEnabled() -
getDefaultCurrency
-
getCurrencies
-
getSourceFor
@NotNull @NotNull CompletableFuture<Optional<NamedAccount>> getSourceFor(@NotNull @NotNull String accountName) -
getSourceFor
@NotNull @NotNull CompletableFuture<Optional<PlayerAccount>> getSourceFor(@NotNull @NotNull UUID uuid) -
getSourceFor
@NotNull default @NotNull CompletableFuture<Optional<PlayerAccount>> getSourceFor(@NotNull @NotNull User user)
-