Class SubCommand
java.lang.Object
de.themoep.connectorplugin.limbo.commands.SubCommand
- All Implemented Interfaces:
com.loohp.limbo.commands.CommandExecutor,com.loohp.limbo.commands.TabCompletor
- Direct Known Subclasses:
ConnectorCommand,ProxyConsoleCommand,ProxyPlayerCommand,ServerConsoleCommand,TeleportCommand,TeleportToPlayerCommand
public abstract class SubCommand
extends Object
implements com.loohp.limbo.commands.CommandExecutor, com.loohp.limbo.commands.TabCompletor
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSubCommand(LimboConnectorPlugin plugin, ConnectorCommand parent, String usage, String permission, String... aliases) SubCommand(LimboConnectorPlugin plugin, String usage, String permission, String... aliases) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetName()getSubCommand(String name) getUsage()voidregisterSubCommand(SubCommand subCommand) tabComplete(com.loohp.limbo.commands.CommandSender sender, String[] args)
-
Field Details
-
plugin
-
-
Constructor Details
-
SubCommand
-
SubCommand
public SubCommand(LimboConnectorPlugin plugin, ConnectorCommand parent, String usage, String permission, String... aliases)
-
-
Method Details
-
registerSubCommand
-
getSubCommand
-
execute
- Specified by:
executein interfacecom.loohp.limbo.commands.CommandExecutor
-
tabComplete
- Specified by:
tabCompletein interfacecom.loohp.limbo.commands.TabCompletor
-
getName
-
getUsage
-
getFullUsage
-
getPermission
-
getAliases
-
getPlugin
-
getSubCommands
-