Class VaultCommandHandler
java.lang.Object
dev.satyrn.papermc.api.commands.v1.CommandHandler
dev.satyrn.xpeconomy.api.commands.VaultCommandHandler
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor,org.bukkit.command.TabCompleter
- Direct Known Subclasses:
AboutCommandHandler,AccountCommandHandler,ExperienceCommandHandler,HelpCommandHandler,ReloadCommandHandler,XPEconomyCommandHandler
public abstract class VaultCommandHandler
extends dev.satyrn.papermc.api.commands.v1.CommandHandler
Handles commands that require access to the vault configuration instance.
- Since:
- 1.0-SNAPSHOT
- Author:
- Isabel Maskrey
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedVaultCommandHandler(@NotNull org.bukkit.plugin.Plugin plugin, @NotNull net.milkbowl.vault.permission.Permission permission) Initializes a new command handler with the permission manager instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected final @NotNull net.milkbowl.vault.permission.PermissionGets the permission manager instance.Methods 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
-
VaultCommandHandler
protected VaultCommandHandler(@NotNull @NotNull org.bukkit.plugin.Plugin plugin, @NotNull @NotNull net.milkbowl.vault.permission.Permission permission) Initializes a new command handler with the permission manager instance.- Parameters:
permission- The permission manager instance.
-
-
Method Details
-
getPermission
@NotNull protected final @NotNull net.milkbowl.vault.permission.Permission getPermission()Gets the permission manager instance.- Returns:
- The permission manager instance.
-