Package net.ME1312.SubServers.Velocity
Class SubCommand
java.lang.Object
net.ME1312.SubServers.Velocity.SubCommand
- All Implemented Interfaces:
Command
,InvocableCommand<SimpleCommand.Invocation>
,SimpleCommand
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
BungeeCord /gliststatic final class
BungeeCord /serverNested classes/interfaces inherited from interface com.velocitypowered.api.command.SimpleCommand
SimpleCommand.Invocation
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(SimpleCommand.Invocation invocation) suggest
(SimpleCommand.Invocation invocation) Suggest command argumentsMethods 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.InvocableCommand
hasPermission, suggestAsync
-
Method Details
-
execute
- Specified by:
execute
in interfaceInvocableCommand<SimpleCommand.Invocation>
-
suggest
Suggest command arguments- Specified by:
suggest
in interfaceInvocableCommand<SimpleCommand.Invocation>
- Parameters:
invocation
- Command invocation- Returns:
- The validator's response and list of possible arguments
-