Class VaultCommandHandler
java.lang.Object
dev.satyrn.papermc.api.commands.v1.CommandHandler
dev.satyrn.sowwhatyoureap.commands.VaultCommandHandler
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor,org.bukkit.command.TabCompleter
public abstract class VaultCommandHandler
extends dev.satyrn.papermc.api.commands.v1.CommandHandler
Handles commands that require access to the Vault permissions manager.
- Since:
- 0.0.0-SNAPSHOT
- Author:
- Isabel Maskrey
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedVaultCommandHandler(@NotNull org.bukkit.plugin.Plugin plugin, @NotNull net.milkbowl.vault.permission.Permission permission) Initializes the command handler with the permission manager. -
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 the command handler with the permission manager.- Parameters:
permission- The perrmission manager.
-
-
Method Details
-
getPermission
@NotNull protected final @NotNull net.milkbowl.vault.permission.Permission getPermission()Gets the permission manager instance.- Returns:
- The permission manager.
-