Class IndexCommand
java.lang.Object
org.bukkit.command.Command
me.wolfyscript.customcrafting.commands.IndexCommand
- Direct Known Subclasses:
CommandCC,CommandRecipe
public abstract class IndexCommand
extends org.bukkit.command.Command
-
Field Summary
Fields inherited from class org.bukkit.command.Command
description, timings, usageMessage -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIndexCommand(@NotNull String name)protectedIndexCommand(@NotNull String name, @NotNull String description, @NotNull String usageMessage, @NotNull List<String> aliases) -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecute(@NotNull org.bukkit.command.CommandSender sender, @NotNull String s, @NotNull String[] args)voidregisterSubCommand(AbstractSubCommand subCommand)tabComplete(@NotNull org.bukkit.command.CommandSender sender, @NotNull String alias, @NotNull String[] strings)toString()Methods inherited from class org.bukkit.command.Command
broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, unregister
-
Constructor Details
-
IndexCommand
-
IndexCommand
-
-
Method Details
-
registerSubCommand
-
execute
public boolean execute(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull String s, @NotNull @NotNull String[] args)- Specified by:
executein classorg.bukkit.command.Command
-
tabComplete
@NotNull public @NotNull List<String> tabComplete(@NotNull @NotNull org.bukkit.command.CommandSender sender, @NotNull @NotNull String alias, @NotNull @NotNull String[] strings) throws IllegalArgumentException- Overrides:
tabCompletein classorg.bukkit.command.Command- Throws:
IllegalArgumentException
-
getSubCommands
-
toString
- Overrides:
toStringin classorg.bukkit.command.Command
-