Class AccountCommandHandler

java.lang.Object
dev.satyrn.papermc.api.commands.v1.CommandHandler
dev.satyrn.xpeconomy.api.commands.VaultCommandHandler
dev.satyrn.xpeconomy.api.commands.AccountCommandHandler
All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.command.TabCompleter
Direct Known Subclasses:
AddCommandHandler, BalanceCommandHandler, DeductCommandHandler, PayCommandHandler, SetCommandHandler, SyncCommandHandler, TransferCommandHandler

public abstract class AccountCommandHandler extends VaultCommandHandler
Represents a command handler which manages accounts.
Since:
1.0-SNAPSHOT
Author:
Isabel Maskrey
  • Constructor Details

    • AccountCommandHandler

      protected AccountCommandHandler(@NotNull @NotNull org.bukkit.plugin.Plugin plugin, @NotNull @NotNull net.milkbowl.vault.permission.Permission permission, @NotNull @NotNull AccountManager accountManager, @NotNull @NotNull Configuration configuration)
      Represents a command which manages accounts or account balances.
      Parameters:
      plugin - The plugin instance.
      permission - The permission instance.
      accountManager - The account manager.
      configuration - The configuration instance.
  • Method Details

    • getAccountManager

      @NotNull public @NotNull AccountManager getAccountManager()
      Gets the account manager instance.
      Returns:
      The account manager instance.
    • getEconomyMethod

      @NotNull public @NotNull EconomyMethod getEconomyMethod()
      Gets the economy method.
      Returns:
      The economy method.
    • getConfiguration

      @NotNull public @NotNull Configuration getConfiguration()
      Gets the configuration.
      Returns:
      The configuration.