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
Represents a command handler which manages accounts.
- Since:
- 1.0-SNAPSHOT
- Author:
- Isabel Maskrey
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAccountCommandHandler(@NotNull org.bukkit.plugin.Plugin plugin, @NotNull net.milkbowl.vault.permission.Permission permission, @NotNull AccountManager accountManager, @NotNull Configuration configuration) Represents a command which manages accounts or account balances. -
Method Summary
Modifier and TypeMethodDescription@NotNull AccountManagerGets the account manager instance.@NotNull ConfigurationGets the configuration.@NotNull EconomyMethodGets the economy method.Methods inherited from class dev.satyrn.xpeconomy.api.commands.VaultCommandHandler
getPermissionMethods inherited from class dev.satyrn.papermc.api.commands.v1.CommandHandler
getPlugin, getUsage, setupCommand, setupCommand, setUsageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.command.CommandExecutor
onCommandMethods inherited from interface org.bukkit.command.TabCompleter
onTabComplete
-
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
Gets the account manager instance.- Returns:
- The account manager instance.
-
getEconomyMethod
Gets the economy method.- Returns:
- The economy method.
-
getConfiguration
Gets the configuration.- Returns:
- The configuration.
-