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
ModifierConstructorDescriptionprotected
AccountCommandHandler
(@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 AccountManager
Gets the account manager instance.@NotNull Configuration
Gets the configuration.@NotNull EconomyMethod
Gets the economy method.Methods inherited from class dev.satyrn.xpeconomy.api.commands.VaultCommandHandler
getPermission
Methods inherited from class dev.satyrn.papermc.api.commands.v1.CommandHandler
getPlugin, getUsage, setupCommand, setupCommand, setUsage
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bukkit.command.CommandExecutor
onCommand
Methods 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.
-