Class VelocityCommandRegistry.CommandWrapper
java.lang.Object
com.gamersafer.minecraft.bans.velocity.command.VelocityCommandRegistry.CommandWrapper
- All Implemented Interfaces:
com.velocitypowered.api.command.Command
,com.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>
,com.velocitypowered.api.command.SimpleCommand
- Enclosing class:
- VelocityCommandRegistry
public static final class VelocityCommandRegistry.CommandWrapper
extends Object
implements com.velocitypowered.api.command.SimpleCommand
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.velocitypowered.api.command.SimpleCommand
com.velocitypowered.api.command.SimpleCommand.Invocation
-
Constructor Summary
ModifierConstructorDescriptionprotected
CommandWrapper
(GSBansVelocity plugin, com.gamersafer.minecraft.bans.common.commands.ICommand command) -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(com.velocitypowered.api.command.SimpleCommand.Invocation invocation) boolean
hasPermission
(com.velocitypowered.api.command.SimpleCommand.Invocation invocation) suggest
(com.velocitypowered.api.command.SimpleCommand.Invocation invocation) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.velocitypowered.api.command.Command
execute, hasPermission, suggest, suggestAsync
Methods inherited from interface com.velocitypowered.api.command.InvocableCommand
suggestAsync
-
Constructor Details
-
CommandWrapper
protected CommandWrapper(GSBansVelocity plugin, com.gamersafer.minecraft.bans.common.commands.ICommand command)
-
-
Method Details
-
execute
public void execute(com.velocitypowered.api.command.SimpleCommand.Invocation invocation) - Specified by:
execute
in interfacecom.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>
-
suggest
- Specified by:
suggest
in interfacecom.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>
-
hasPermission
public boolean hasPermission(com.velocitypowered.api.command.SimpleCommand.Invocation invocation) - Specified by:
hasPermission
in interfacecom.velocitypowered.api.command.InvocableCommand<com.velocitypowered.api.command.SimpleCommand.Invocation>
-