Package net.ME1312.SubServers.Velocity
Class SubCommand.BungeeServer
java.lang.Object
net.ME1312.SubServers.Velocity.SubCommand.BungeeServer
- All Implemented Interfaces:
Command
,InvocableCommand<SimpleCommand.Invocation>
,SimpleCommand
- Enclosing class:
- SubCommand
BungeeCord /server
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.velocitypowered.api.command.SimpleCommand
SimpleCommand.Invocation
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(SimpleCommand.Invocation invocation) Override /serversuggest
(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
Override /server- Specified by:
execute
in interfaceInvocableCommand<SimpleCommand.Invocation>
- Parameters:
invocation
- Command 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
-